'$schema': 'https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json'
name: Notice
status: stable
libraryDependencies:
  - core/drupalSettings

libraryOverrides:
  js:
    js.cookie.min.js: { attributes: { defer: true } }
    notice.js: { attributes: { defer: true } }

props:
  type: object
  properties:
    label_display:
      type: string
      title: Show label
    utility_classes:
      type: array
      title: Utility classes
    title_attributes:
      type: Drupal\Core\Template\Attribute
    attributes:
      type: Drupal\Core\Template\Attribute
    content_attributes:
      type: Drupal\Core\Template\Attribute
    notice_level:
      type: string

slots:
  content:
    title: Block Content
  label:
    title: Block Label
