toolbar:
  version: VERSION
  js:
    # Core.
    js/toolbar.js: {}
    # Models.
    js/models/MenuModel.js: {}
    js/models/ToolbarModel.js: {}
    # Views.
    js/views/BodyVisualView.js: {}
    js/views/MenuVisualView.js: {}
    js/views/ToolbarAuralView.js: {}
    js/views/ToolbarVisualView.js: {}
  css:
    component:
      css/toolbar.module.css: {}
    theme:
      css/toolbar.theme.css: {}
      css/toolbar.icons.theme.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.ajax
    - core/drupal.announce
    # @todo Remove this in https://www.drupal.org/project/drupal/issues/3204015
    - core/internal.backbone
    - core/once
    - core/drupal.displace
    - toolbar/toolbar.menu
    - toolbar/toolbar.anti-flicker

toolbar.menu:
  version: VERSION
  js:
    js/toolbar.menu.js: {}
  css:
    state:
      css/toolbar.menu.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/once

toolbar.escapeAdmin:
  version: VERSION
  js:
    js/escapeAdmin.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/once
toolbar.anti-flicker:
  # Block the page from being loaded until anti-flicker is initialized.
  version: VERSION
  header: true
  js:
    js/toolbar.anti-flicker.js: {}
