Skip to content
Snippets Groups Projects
core.libraries.yml 25.3 KiB
Newer Older
# All libraries are defined in alphabetical order.

internal.backbone:
  # Internal library. Do not depend on it outside core nor add new core usage.
  # The library will be removed as soon as the following issues are fixed:
  #  - https://www.drupal.org/project/drupal/issues/3203920
  #  - https://www.drupal.org/project/drupal/issues/3204011
  #  - https://www.drupal.org/project/drupal/issues/3204015
  remote: https://github.com/jashkenas/backbone
    url: https://raw.githubusercontent.com/jashkenas/backbone/1.6.0/LICENSE
    assets/vendor/backbone/backbone-min.js: { weight: -19, minified: true }
ckeditor5:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    # This file is not aggregated to force the creation of a new aggregate file
    # containing all files between this one and the next non-aggregated file
    # (if it exists). The files loaded after this one will include CKEditor 5
    # translations, enabled plugins, and the rest of the JavaScript needed on
    # the page.
    assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js: { preprocess: false, minified: true }
  dependencies:
    - core/ckeditor5.translations

ckeditor5.editorClassic:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/editor-classic/editor-classic.js: { minified: true }
  dependencies:
    - core/ckeditor5

ckeditor5.editorDecoupled:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.htmlSupport

  remote: https://github.com/ckeditor/ckeditor5
    url: https://github.com/ckeditor/ckeditor5/blob/v35.1.0/LICENSE.md
    assets/vendor/ckeditor5/essentials/essentials.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.heading

ckeditor5.heading:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/heading/heading.js: { minified: true }

ckeditor5.basic:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/basic-styles/basic-styles.js: { minified: true }

ckeditor5.specialCharacters:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/special-characters/special-characters.js: { minified: true }

ckeditor5.blockquote:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/block-quote/block-quote.js: { minified: true }

ckeditor5.image:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/image/image.js: { minified: true }

ckeditor5.link:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/link/link.js: { minified: true }

ckeditor5.list:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/list/list.js: { minified: true }

ckeditor5.horizontalLine:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/horizontal-line/horizontal-line.js: { minified: true }

ckeditor5.htmlSupport:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/html-support/html-support.js: { minified: true }

ckeditor5.alignment:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/alignment/alignment.js: { minified: true }

ckeditor5.removeFormat:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/remove-format/remove-format.js: { minified: true }

ckeditor5.pasteFromOffice:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/paste-from-office/paste-from-office.js: { minified: true }

ckeditor5.indent:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/indent/indent.js: { minified: true }

ckeditor5.sourceEditing:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/source-editing/source-editing.js: { minified: true }

ckeditor5.table:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/table/table.js: { minified: true }

ckeditor5.language:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    assets/vendor/ckeditor5/language/language.js: { minified: true }
ckeditor5.codeBlock:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/code-block/code-block.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations

ckeditor5.showBlocks:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v37.1.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/show-blocks/show-blocks.js: { minified: true }
  dependencies:
    - core/ckeditor5
ckeditor5.style:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/style/style.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations

ckeditor5.translations:
  # No sensible version can be specified, since the translations may change at
  # any time.
  js:
    # This file does not actually exist; it's a placeholder file that will be
    # overridden by ckeditor5_js_alter(), and is here because empty libraries
    # are not allowed.
    assets/vendor/ckeditor5/translation.js: {}
ckeditor5.autoformat:
  remote: https://github.com/ckeditor/ckeditor5
    url: https://raw.githubusercontent.com/ckeditor/ckeditor5/v43.1.1/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/autoformat/autoformat.js: { minified: true }
  dependencies:
    - core/ckeditor5

    misc/drupal.init.js: { weight: -17 }
  drupalSettings:
    suppressDeprecationErrors: true
  js:
    # Need to specify a negative weight like drupal.js until
    # https://www.drupal.org/node/1945262 is resolved.
    misc/drupalSettingsLoader.js: { weight: -18 }
  drupalSettings:
    # These placeholder values will be set by system_js_settings_alter().
    path:
      baseUrl: null
      pathPrefix: null
      currentPath: null
      currentPathIsAdmin: null
      isFront: null
      currentLanguage: null

drupal.active-link:
  version: VERSION
  js:
    misc/active-link.js: {}
  dependencies:
    - core/drupal
    - core/drupalSettings

drupal.ajax:
  version: VERSION
  js:
    misc/ajax.js: {}
  css:
    component:
      misc/components/ajax-progress.module.css: { weight: -10 }

  drupalSettings:
    # These placeholder values will be set by system_js_settings_alter().
    ajaxPageState:
      libraries: null
      theme: null
      theme_token: null
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.progress

drupal.announce:
  version: VERSION
  js:
    misc/announce.js: {}
  dependencies:
    - core/drupal
    - core/drupal.debounce

loadjs:
  remote: https://github.com/muicss/loadjs
    url: https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt
    gpl-compatible: true
  js:
    assets/vendor/loadjs/loadjs.min.js: { minified: true }

# Common files for libraries that still rely on jQuery UI components.
# @todo Remove when no longer required by drupal.autocomplete and drupal.dialog.
internal.jquery_ui:
    # All weights are based on the requirements defined within each file.
    assets/vendor/jquery.ui/ui/labels-min.js: { weight: -11.7, minified: true }
    assets/vendor/jquery.ui/ui/data-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/disable-selection-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/jquery-patch-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/scroll-parent-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/unique-id-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/focusable-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/keycode-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/plugin-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/widget-min.js: { weight: -11.8, minified: true }
    assets/vendor/jquery.ui/ui/version-min.js: { weight: -11.9, minified: true }
  css:
    component:
      assets/vendor/jquery.ui/themes/base/core.css: { weight: -11.8 }
    theme:
      assets/vendor/jquery.ui/themes/base/theme.css: { weight: -11.8 }
  dependencies:
    - core/jquery

drupal.autocomplete:
  version: VERSION
  js:
    misc/autocomplete.js: { weight: -1 }
    # The remaining JavaScript assets previously came from core/jquery.ui, a
    # deprecated library.
    # All weights are based on the requirements defined within each file.
    # @todo replace with solution in https://drupal.org/node/3076171
    assets/vendor/jquery.ui/ui/widgets/autocomplete-min.js: { weight: -11.7, minified: true }
    assets/vendor/jquery.ui/ui/widgets/menu-min.js: { weight: -11.7, minified: true }
  # All CSS assets previously came from core/jquery.ui, a deprecated library.
  # @todo replace with solution found in https://drupal.org/node/3076171
  css:
    component:
      assets/vendor/jquery.ui/themes/base/autocomplete.css: { weight: -11.7 }
      assets/vendor/jquery.ui/themes/base/menu.css: { weight: -11.7 }
      misc/components/autocomplete-loading.module.css: { weight: -10 }
    - core/drupal
    - core/drupalSettings
    - core/drupal.ajax
drupal.batch:
  version: VERSION
  js:
    misc/batch.js: { cache: false }
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.ajax
    - core/drupal.progress
drupal.checkbox:
  version: VERSION
  js:
    misc/checkbox.js: {}
  dependencies:
    - core/drupal

  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.form

drupal.debounce:
  version: VERSION
  js:
    misc/debounce.js: {}
  dependencies:
    # @todo Remove Drupal dependency.
    - core/drupal

drupal.dialog:
  version: VERSION
  js:
    misc/dialog/dialog.js: {}
    misc/dialog/dialog.position.js: {}
    misc/dialog/dialog.jquery-ui.js: {}
    # The remaining JavaScript assets previously came from core/jquery.ui, a
    # deprecated library.
    # All weights are based on the requirements defined within each file.
    # @todo replace with solution in https://drupal.org/node/2158943
    assets/vendor/jquery.ui/ui/widgets/dialog-min.js: { weight: -11.4, minified: true }
    assets/vendor/jquery.ui/ui/widgets/button-min.js: { weight: -11.5, minified: true }
    assets/vendor/jquery.ui/ui/widgets/checkboxradio-min.js: { weight: -11.6, minified: true }
    assets/vendor/jquery.ui/ui/widgets/draggable-min.js: { weight: -11.6, minified: true }
    assets/vendor/jquery.ui/ui/widgets/resizable-min.js: { weight: -11.6, minified: true }
    assets/vendor/jquery.ui/ui/widgets/controlgroup-min.js: { weight: -11.7, minified: true }
    assets/vendor/jquery.ui/ui/form-reset-mixin-min.js: { weight: -11.7, minified: true }
    assets/vendor/jquery.ui/ui/widgets/mouse-min.js: { weight: -11.7, minified: true }
    assets/vendor/tua-body-scroll-lock/tua-bsl.umd.min.js: { weight: -1,  minified: true }
  # All CSS assets previously came from core/jquery.ui, a deprecated library.
  # @todo replace with solution found in https://drupal.org/node/2158943
  css:
    component:
      assets/vendor/jquery.ui/themes/base/dialog.css: { weight: -11.4 }
      assets/vendor/jquery.ui/themes/base/button.css: { weight: -11.5 }
      assets/vendor/jquery.ui/themes/base/checkboxradio.css: { weight: -11.6 }
      assets/vendor/jquery.ui/themes/base/resizable.css: { weight: -11.6 }
      assets/vendor/jquery.ui/themes/base/controlgroup.css: { weight: -11.7 }
    - core/drupal
    - core/drupalSettings
    - core/drupal.debounce
    - core/drupal.displace
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.ajax
    - core/drupal.dialog

drupal.displace:
  version: VERSION
  js:
    misc/displace.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.debounce

drupal.dropbutton:
  version: VERSION
  js:
    misc/dropbutton/dropbutton.js: {}
  css:
    component:
      misc/dropbutton/dropbutton.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
drupal.entity-form:
  version: VERSION
  js:
    misc/entity-form.js: {}
  dependencies:
    - core/drupal.form

drupal.form:
  version: VERSION
  js:
    misc/form.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.debounce

drupal.machine-name:
  version: VERSION
  js:
    misc/machine-name.js: {}
  dependencies:
    - core/jquery
drupal.message:
  version: VERSION
  js:
    misc/message.js: {}
  dependencies:
    - core/drupal
    - core/drupal.announce

drupal.progress:
  version: VERSION
  js:
    misc/progress.js: {}
  css:
    component:
      misc/components/progress.module.css: { weight: -10 }
  dependencies:
    - core/drupal
    - core/jquery
    - core/drupalSettings

drupal.states:
  version: VERSION
  js:
    misc/states.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings

drupal.tabbingmanager:
  version: VERSION
  js:
    misc/tabbingmanager.js: {}
  dependencies:
    - core/jquery
    - core/drupal
  css:
    component:
      misc/components/tabledrag.module.css: { weight: -10 }
      misc/components/tree-child.module.css: { weight: -10 }
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
drupal.tabledrag.ajax:
  version: VERSION
  js:
    misc/tabledrag-ajax.js: { }
  dependencies:
    - core/ajax
    - core/tabledrag

  css:
    component:
      misc/components/sticky-header.module.css: { weight: -10 }
drupal.tableresponsive:
  version: VERSION
  js:
    misc/tableresponsive.js: {}
  dependencies:
    - core/jquery
    - core/drupal

drupal.tableselect:
  version: VERSION
  js:
    misc/tableselect.js: {}
  dependencies:
    - core/drupal
drupal.time-diff:
  version: VERSION
  js:
    misc/time-diff.js: {}
  dependencies:
    - core/drupal
    - core/once

drupal.timezone:
  version: VERSION
  js:
    misc/timezone.js: {}
  dependencies:
    - core/jquery
drupal.touchevents-test:
  header: true
  version: VERSION
  js:
    misc/touchevents-test.js: { weight: -21 }

  css:
    component:
      misc/vertical-tabs.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.form

internal.floating-ui:
  remote: https://github.com/floating-ui/floating-ui
    url: https://github.com/floating-ui/floating-ui/blob/@floating-ui/dom@1.6.8/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/floating-ui/floating-ui.core.umd.min.js: { minified: true }
    assets/vendor/floating-ui/floating-ui.dom.umd.min.js: { minified: true }

jquery:
  remote: https://github.com/jquery/jquery
  version: "4.0.0-beta.2"
    url: https://raw.githubusercontent.com/jquery/jquery/4.0.0-beta.2/LICENSE.txt
    assets/vendor/jquery/jquery.min.js: { minified: true, weight: -20 }
internal.jquery.form:
  # Internal library. Do not depend on it outside core nor add new core usage.
    url: https://raw.githubusercontent.com/jquery-form/form/master/LICENSE
  # This is a modified version of jQuery UI position for that does not require
  # any jQuery UI assets, only jQuery. It is provided by core for use with
  # pre-existing libraries that expect the jQuery UI position API.
  version: VERSION
  js:
    misc/position.js: {}
  dependencies:
    - core/jquery

normalize:
  remote: https://github.com/necolas/normalize.css
    url: https://raw.githubusercontent.com/necolas/normalize.css/8.0.1/LICENSE.md
      assets/vendor/normalize-css/normalize.css: { weight: -20 }
once:
  remote: https://git.drupalcode.org/project/once
    url: https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/once/once.min.js: { weight: -19, minified: true }
sortable:
  remote: https://github.com/SortableJS/Sortable
    url: https://raw.githubusercontent.com/SortableJS/Sortable/1.15.2/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/sortable/Sortable.min.js: { minified: true }

tabbable:
  remote: https://github.com/focus-trap/tabbable
    url: https://raw.githubusercontent.com/focus-trap/tabbable/v6.2.0/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/tabbable/index.umd.min.js: { weight: -1, minified: true }

transliteration:
  remote: https://github.com/dzcpy/transliteration
  version: "2.3.5"
  license:
    name: MIT
    url: https://raw.githubusercontent.com/dzcpy/transliteration/1.6.5/LICENSE.txt
    gpl-compatible: true
  js:
    assets/vendor/transliteration/bundle.umd.min.js: { minified: true }

  # Internal library. Do not depend on it outside core nor add new core usage.
  # The library will be removed as soon as the following issues are fixed:
  #  - https://www.drupal.org/project/drupal/issues/3270395
  #  - https://www.drupal.org/project/drupal/issues/3203920
  #  - https://www.drupal.org/project/drupal/issues/3204011
  #  - https://www.drupal.org/project/drupal/issues/3204015
  remote: https://github.com/jashkenas/underscore
    url: https://raw.githubusercontent.com/jashkenas/underscore/1.13.7/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/underscore/underscore-min.js: { weight: -20, minified: true }

    misc/dialog/off-canvas/js/off-canvas.js: {}
      misc/dialog/off-canvas/css/reset.css: {}
      misc/dialog/off-canvas/css/base.css: {}
      misc/dialog/off-canvas/css/utility.css: {}
      misc/dialog/off-canvas/css/button.css: {}
      misc/dialog/off-canvas/css/drupal.css: {}
      misc/dialog/off-canvas/css/form.css: {}
      misc/dialog/off-canvas/css/table.css: {}
      misc/dialog/off-canvas/css/details.css: {}
      misc/dialog/off-canvas/css/messages.css: {}
      misc/dialog/off-canvas/css/tabledrag.css: {}
      misc/dialog/off-canvas/css/throbber.css: {}
      misc/dialog/off-canvas/css/dropbutton.css: {}
      misc/dialog/off-canvas/css/titlebar.css: {}
      misc/dialog/off-canvas/css/wrapper.css: {}
    - core/drupal
    - core/drupal.ajax
    - core/drupal.announce
    - core/drupal.dialog
    - core/drupal.dialog.ajax

js-cookie:
  remote: https://github.com/js-cookie/js-cookie
    url: https://raw.githubusercontent.com/js-cookie/js-cookie/v3.0.5/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/js-cookie/js.cookie.min.js: {}
  deprecated: The %library_id% asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. There is no replacement. See https://www.drupal.org/node/3322720

drupal.fieldListKeyboardNavigation:
  version: VERSION
  js:
    misc/field-list-keyboard-navigation.js: {}
  dependencies:
    - core/drupal
    - core/tabbable