core.libraries.yml 16.4 KB
Newer Older
1 2 3 4
# All libraries are defined in alphabetical order.

backbone:
  remote: https://github.com/jashkenas/backbone
5
  version: "1.2.3"
6 7
  license:
    name: MIT
8
    url: https://github.com/jashkenas/backbone/blob/1.2.3/LICENSE
9
    gpl-compatible: true
10
  js:
11
    assets/vendor/backbone/backbone-min.js: { weight: -19, minified: true }
12 13 14 15 16
  dependencies:
    - core/underscore

ckeditor:
  remote: https://github.com/ckeditor/ckeditor-dev
17
  version: "4.13.0"
18 19
  license:
    name: GNU-GPL-2.0-or-later
20
    url: https://github.com/ckeditor/ckeditor-dev/blob/4.13/LICENSE.md
21
    gpl-compatible: true
22
  js:
23
    assets/vendor/ckeditor/ckeditor.js: { preprocess: false, minified: true }
24 25 26 27

drupal:
  version: VERSION
  js:
28
    misc/drupal.js: { weight: -18 }
29
    misc/drupal.init.js: { weight: -17 }
30
  dependencies:
31
    - core/drupalSettings
32 33
  drupalSettings:
    suppressDeprecationErrors: true
34 35 36

drupalSettings:
  version: VERSION
37 38 39 40
  js:
    # Need to specify a negative weight like drupal.js until
    # https://www.drupal.org/node/1945262 is resolved.
    misc/drupalSettingsLoader.js: { weight: -18 }
41 42 43 44 45 46 47 48 49 50
  drupalSettings:
    # These placeholder values will be set by system_js_settings_alter().
    path:
      baseUrl: null
      scriptPath: null
      pathPrefix: null
      currentPath: null
      currentPathIsAdmin: null
      isFront: null
      currentLanguage: null
51
    pluralDelimiter: null
52 53 54 55 56 57 58 59 60 61 62 63 64

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

drupal.ajax:
  version: VERSION
  js:
    misc/ajax.js: {}
65 66 67 68 69 70
  drupalSettings:
    # These placeholder values will be set by system_js_settings_alter().
    ajaxPageState:
      libraries: null
      theme: null
      theme_token: null
71
    ajaxTrustedUrl: {}
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.progress
    - core/jquery.once

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

drupal.autocomplete:
  version: VERSION
  js:
90
    misc/autocomplete.js: { weight: -1 }
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.ajax
    - core/jquery.ui.autocomplete

drupal.batch:
  version: VERSION
  js:
    misc/batch.js: { cache: false }
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.ajax
    - core/drupal.progress
    - core/jquery.once

110 111 112 113 114 115 116
drupal.checkbox:
  version: VERSION
  js:
    misc/checkbox.js: {}
  dependencies:
    - core/drupal

117 118 119
drupal.collapse:
  version: VERSION
  js:
120
    misc/details-aria.js: {}
121 122 123 124 125 126 127 128
    misc/collapse.js: {}
  dependencies:
    - core/jquery
    - core/modernizr
    - core/drupal
    - core/drupal.form
    - core/jquery.once

129 130 131 132 133 134 135
drupal.date:
  version: VERSION
  js:
    misc/date.js: {}
  dependencies:
    - core/drupal
    - core/modernizr
136
    - core/jquery.once
137

138 139 140 141 142 143 144 145 146 147 148
drupal.debounce:
  version: VERSION
  js:
    misc/debounce.js: {}
  dependencies:
    # @todo Remove Drupal dependency.
    - core/drupal

drupal.dialog:
  version: VERSION
  js:
149 150 151
    misc/dialog/dialog.js: {}
    misc/dialog/dialog.position.js: {}
    misc/dialog/dialog.jquery-ui.js: {}
152 153 154 155 156 157 158 159 160 161 162
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.debounce
    - core/drupal.displace
    - core/jquery.ui.dialog

drupal.dialog.ajax:
  version: VERSION
  js:
163
    misc/dialog/dialog.ajax.js: {}
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
  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
    - core/jquery.once

193 194 195 196 197 198 199
drupal.entity-form:
  version: VERSION
  js:
    misc/entity-form.js: {}
  dependencies:
    - core/drupal.form

200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
drupal.form:
  version: VERSION
  js:
    misc/form.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.debounce
    - core/jquery.cookie
    - core/jquery.once

drupal.machine-name:
  version: VERSION
  js:
    misc/machine-name.js: {}
  dependencies:
    - core/jquery
    - core/jquery.once
    - core/drupal
    - core/drupalSettings
220
    - core/drupal.form
221

222 223 224 225 226 227 228 229
drupal.message:
  version: VERSION
  js:
    misc/message.js: {}
  dependencies:
    - core/drupal
    - core/drupal.announce

230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
drupal.progress:
  version: VERSION
  js:
    misc/progress.js: {}
  dependencies:
    - core/drupal
    - core/jquery
    - core/drupalSettings

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

drupal.tabbingmanager:
  version: VERSION
  js:
    misc/tabbingmanager.js: {}
  dependencies:
    - core/jquery
    # Supplies the ':tabbable' pseudo selector.
    - core/jquery.ui
    - core/drupal

drupal.tabledrag:
  version: VERSION
  js:
262
    misc/tabledrag.js: { weight: -1 }
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/jquery.once
    - core/jquery.cookie

drupal.tableheader:
  version: VERSION
  js:
    misc/tableheader.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/jquery.once
    - core/drupal.displace

drupal.tableresponsive:
  version: VERSION
  js:
    misc/tableresponsive.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/jquery.once

drupal.tableselect:
  version: VERSION
  js:
    misc/tableselect.js: {}
  dependencies:
    - core/drupal
296
    - core/drupal.checkbox
297
    - core/jquery
298
    - core/jquery.once
299 300 301 302 303 304 305

drupal.timezone:
  version: VERSION
  js:
    misc/timezone.js: {}
  dependencies:
    - core/jquery
306
    - core/jquery.once
307 308 309 310 311 312
    - core/drupal

drupal.vertical-tabs:
  version: VERSION
  js:
    # Load before core/drupal.collapse.
313
    misc/vertical-tabs.js: { weight: -1 }
314 315 316 317 318
  css:
    component:
      misc/vertical-tabs.css: {}
  dependencies:
    - core/jquery
319
    - core/jquery.once
320 321 322 323 324 325
    - core/drupal
    - core/drupalSettings
    - core/drupal.form

jquery:
  remote: https://github.com/jquery/jquery
326
  version: "3.4.1"
327 328
  license:
    name: MIT
329
    url: https://github.com/jquery/jquery/blob/3.4.1/LICENSE.txt
330
    gpl-compatible: true
331
  js:
332
    assets/vendor/jquery/jquery.min.js: { minified: true, weight: -20 }
333 334 335

jquery.cookie:
  remote: https://github.com/carhartl/jquery-cookie
336
  version: "v1.4.1"
337 338
  license:
    name: MIT
339
    url: https://github.com/carhartl/jquery-cookie/blob/v1.4.1/MIT-LICENSE.txt
340
    gpl-compatible: true
341
  js:
342
    assets/vendor/jquery.cookie/jquery.cookie.min.js: { minified: true }
343 344 345 346 347 348
  dependencies:
    - core/jquery

jquery.farbtastic:
  remote: https://github.com/mattfarina/farbtastic
  # @todo Ping @robloach or @mattfarina to retroactively create this release.
349
  version: "1.2"
350 351 352 353
  license:
    name: GNU-GPL-2.0-or-later
    url: https://github.com/mattfarina/farbtastic/blob/master/LICENSE.txt
    gpl-compatible: true
354
  js:
355
    assets/vendor/farbtastic/farbtastic.js: { minified: true }
356 357 358 359 360 361 362
  css:
    component:
      assets/vendor/farbtastic/farbtastic.css: {}
  dependencies:
    - core/jquery

jquery.form:
363 364
  remote: https://github.com/jquery-form/form
  version: "4.22"
365 366
  license:
    name: GNU-GPL-2.0-or-later
367
    url: https://raw.githubusercontent.com/jquery-form/form/master/LICENSE-LGPLv3
368
    gpl-compatible: true
369
  js:
370
    assets/vendor/jquery-form/jquery.form.min.js: { minified: true }
371 372 373
  dependencies:
    - core/jquery

374 375
jquery.joyride:
  remote: https://github.com/zurb/joyride
376 377 378 379 380 381
  # We rely on a fix (commit c2b3866) that occurred after 2.1.0 was released.
  # @see https://www.drupal.org/node/2898808.
  # @todo Update to 2.1.1 or later when that's released.
  # Version is set at 2.1.0.1 allowing version_compare to consider this lower
  # than 2.1.1 however greater than 2.1.0
  version: "2.1.0.1"
382 383
  license:
    name: MIT
384
    url: https://github.com/zurb/joyride/blob/v2.1.0/README.markdown
385
    gpl-compatible: true
386
  js:
387
    assets/vendor/jquery-joyride/jquery.joyride-2.1.js: { }
388 389 390 391
  dependencies:
    - core/jquery
    - core/jquery.cookie

392 393
jquery.once:
  remote: https://github.com/RobLoach/jquery-once
394
  version: "2.2.3"
395 396
  license:
    name: GNU-GPL-2.0-or-later
397
    url: https://github.com/RobLoach/jquery-once/blob/2.2.3/LICENSE.md
398
    gpl-compatible: true
399
  js:
400
    assets/vendor/jquery-once/jquery.once.min.js: { weight: -19, minified: true }
401 402 403 404
  dependencies:
    - core/jquery

jquery.ui:
405
  version: &jquery_ui_version 1.12.1
406
  license: &jquery_ui_license
407
    name: Public Domain
408
    url: https://github.com/jquery/jquery-ui/blob/1.12.1/LICENSE.txt
409
    gpl-compatible: true
410
  js:
411 412 413 414 415 416 417 418 419
    assets/vendor/jquery.ui/ui/data-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/disable-selection-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/form-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/labels-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/jquery-1-7-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/scroll-parent-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/tabbable-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/unique-id-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/version-min.js: { weight: -11, minified: true }
420
    assets/vendor/jquery.ui/ui/escape-selector-min.js: { weight: -11, minified: true }
421 422 423 424 425 426
    assets/vendor/jquery.ui/ui/focusable-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/ie-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/keycode-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/plugin-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/safe-active-element-min.js: { weight: -11, minified: true }
    assets/vendor/jquery.ui/ui/safe-blur-min.js: { weight: -11, minified: true }
427 428
  css:
    component:
429
      assets/vendor/jquery.ui/themes/base/core.css: {}
430
    theme:
431
      assets/vendor/jquery.ui/themes/base/theme.css: {}
432 433 434 435
  dependencies:
    - core/jquery

jquery.ui.autocomplete:
436 437
  version: *jquery_ui_version
  license: *jquery_ui_license
438
  js:
439
    assets/vendor/jquery.ui/ui/widgets/autocomplete-min.js: { minified: true }
440 441
  css:
    component:
442
      assets/vendor/jquery.ui/themes/base/autocomplete.css: {}
443 444 445 446 447 448 449
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
    - core/jquery.ui.position
    - core/jquery.ui.menu

jquery.ui.button:
450 451
  version: *jquery_ui_version
  license: *jquery_ui_license
452
  js:
453
    assets/vendor/jquery.ui/ui/widgets/button-min.js: { minified: true }
454 455
  css:
    component:
456
      assets/vendor/jquery.ui/themes/base/button.css: {}
457 458 459
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
460 461
    - core/jquery.ui.checkboxradio
    - core/jquery.ui.controlgroup
462

463 464 465 466
jquery.ui.checkboxradio:
  version: *jquery_ui_version
  license: *jquery_ui_license
  js:
467
    assets/vendor/jquery.ui/ui/form-reset-mixin-min.js: { minified: true }
468 469 470 471
    assets/vendor/jquery.ui/ui/widgets/checkboxradio-min.js: { minified: true }
  css:
    component:
      assets/vendor/jquery.ui/themes/base/checkboxradio.css: {}
472
      assets/vendor/jquery.ui/themes/base/button.css: {}
473 474 475
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
476
  deprecated: &jquery_ui_unused_deprecated The "%library_id%" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3067969
477 478 479 480 481 482 483 484 485 486 487 488

jquery.ui.controlgroup:
  version: *jquery_ui_version
  license: *jquery_ui_license
  js:
    assets/vendor/jquery.ui/ui/widgets/controlgroup-min.js: { minified: true }
  css:
    component:
      assets/vendor/jquery.ui/themes/base/controlgroup.css: {}
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
489
  deprecated: *jquery_ui_unused_deprecated
490

491
jquery.ui.dialog:
492 493
  version: *jquery_ui_version
  license: *jquery_ui_license
494
  js:
495
    assets/vendor/jquery.ui/ui/widgets/dialog-min.js: { minified: true }
496 497
  css:
    component:
498
      assets/vendor/jquery.ui/themes/base/dialog.css: {}
499 500 501 502 503 504 505 506 507 508
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
    - core/jquery.ui.button
    - core/jquery.ui.draggable
    - core/jquery.ui.mouse
    - core/jquery.ui.position
    - core/jquery.ui.resizable

jquery.ui.draggable:
509 510
  version: *jquery_ui_version
  license: *jquery_ui_license
511
  js:
512
    assets/vendor/jquery.ui/ui/widgets/draggable-min.js: { minified: true }
513 514 515 516 517 518
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.mouse
    - core/jquery.ui.widget

jquery.ui.menu:
519 520
  version: *jquery_ui_version
  license: *jquery_ui_license
521
  js:
522
    assets/vendor/jquery.ui/ui/widgets/menu-min.js: { minified: true }
523 524
  css:
    component:
525
      assets/vendor/jquery.ui/themes/base/menu.css: {}
526 527
  dependencies:
    - core/jquery.ui
528
    - core/jquery.ui.position
529 530 531
    - core/jquery.ui.widget

jquery.ui.mouse:
532 533
  version: *jquery_ui_version
  license: *jquery_ui_license
534
  js:
535
    assets/vendor/jquery.ui/ui/ie-min.js: { minified: true }
536
    assets/vendor/jquery.ui/ui/widgets/mouse-min.js: { minified: true }
537 538 539 540
  dependencies:
    - core/jquery.ui.widget

jquery.ui.position:
541 542
  version: *jquery_ui_version
  license: *jquery_ui_license
543
  js:
544
    assets/vendor/jquery.ui/ui/position-min.js: { minified: true }
545 546
  dependencies:
    - core/jquery.ui
547 548

jquery.ui.resizable:
549 550
  version: *jquery_ui_version
  license: *jquery_ui_license
551
  js:
552
    assets/vendor/jquery.ui/ui/widgets/resizable-min.js: { minified: true }
553 554
  css:
    component:
555
      assets/vendor/jquery.ui/themes/base/resizable.css: {}
556 557 558 559 560 561
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
    - core/jquery.ui.mouse

jquery.ui.widget:
562 563
  version: *jquery_ui_version
  license: *jquery_ui_license
564
  js:
565
    assets/vendor/jquery.ui/ui/widget-min.js: { weight: -10, minified: true }
566 567 568 569
  dependencies:
    - core/jquery.ui

modernizr:
570 571
  # Block the page from being loaded until Modernizr is initialized.
  header: true
572
  remote: https://github.com/Modernizr/Modernizr
573 574 575 576
  license:
    name: MIT
    url: http://modernizr.com/license/
    gpl-compatible: true
577
  version: "v3.3.1"
578
  js:
579
    assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true }
580 581 582

normalize:
  remote: https://github.com/necolas/normalize.css
583
  version: "3.0.3"
584 585 586 587
  license:
    name: MIT
    url: https://github.com/necolas/normalize.css/blob/master/LICENSE.md
    gpl-compatible: true
588 589
  css:
    base:
590
      assets/vendor/normalize-css/normalize.css: { weight: -20 }
591
      misc/normalize-fixes.css: { weight: -19 }
592

593 594
picturefill:
  remote: https://github.com/scottjehl/picturefill
595
  version: "3.0.1"
596 597
  license:
    name: MIT
598
    url: https://github.com/scottjehl/picturefill/blob/3.0.1/LICENSE
599
    gpl-compatible: true
600
  js:
601
    assets/vendor/picturefill/picturefill.min.js: { weight: -10, minified: true }
602

603 604 605 606 607 608 609 610 611
popperjs:
  version: "1.15.0"
  license:
    name: MIT
    url: https://github.com/FezVrasta/popper.js/blob/v1.15.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/popperjs/popper.min.js: { minified: true }

612 613
sortable:
  remote: https://github.com/SortableJS/Sortable
614
  version: "1.10.1"
615 616
  license:
    name: MIT
617
    url: https://github.com/SortableJS/Sortable/tree/1.10.1#mit-license
618 619 620 621
    gpl-compatible: true
  js:
    assets/vendor/sortable/Sortable.min.js: { minified: true }

622 623
underscore:
  remote: https://github.com/jashkenas/underscore
624
  version: "1.8.3"
625 626
  license:
    name: MIT
627
    url: https://github.com/jashkenas/underscore/blob/1.8.3/LICENSE
628
    gpl-compatible: true
629
  js:
630
    assets/vendor/underscore/underscore-min.js: { weight: -20, minified: true }
631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651

drupal.dialog.off_canvas:
  version: VERSION
  js:
    misc/dialog/off-canvas.js: {}
  css:
    base:
      misc/dialog/off-canvas.reset.css: {}
      misc/dialog/off-canvas.base.css: {}
      misc/dialog/off-canvas.css: {}
      # Add group setting to make sure this CSS load before any jQuery UI Dialog
      # CSS.
      misc/dialog/off-canvas.theme.css: { group: 200 }
    component:
      misc/dialog/off-canvas.motion.css: {}
      misc/dialog/off-canvas.button.css: {}
      misc/dialog/off-canvas.form.css: {}
      misc/dialog/off-canvas.table.css: {}
      misc/dialog/off-canvas.details.css: {}
      misc/dialog/off-canvas.tabledrag.css: {}
      misc/dialog/off-canvas.dropbutton.css: {}
652
      misc/dialog/off-canvas.layout.css: {}
653 654 655 656 657 658 659
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.ajax
    - core/drupal.announce
    - core/drupal.dialog
    - core/drupal.dialog.ajax