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

backbone:
  remote: https://github.com/jashkenas/backbone
5
  version: "1.4.0"
6 7
  license:
    name: MIT
8
    url: https://github.com/jashkenas/backbone/blob/1.4.0/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.14.1"
18 19
  license:
    name: GNU-GPL-2.0-or-later
20
    url: https://github.com/ckeditor/ckeditor4/blob/4.14.1/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
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.ajax
    - core/jquery.ui.autocomplete

98 99 100 101 102
drupal.array.find:
  version: VERSION
  js:
    misc/polyfills/array.find.js: { weight: -20 }

103 104 105 106 107 108 109 110 111 112 113 114
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

115 116 117 118 119 120 121
drupal.checkbox:
  version: VERSION
  js:
    misc/checkbox.js: {}
  dependencies:
    - core/drupal

122 123 124
drupal.collapse:
  version: VERSION
  js:
125
    misc/details-aria.js: {}
126 127 128 129 130 131 132 133
    misc/collapse.js: {}
  dependencies:
    - core/jquery
    - core/modernizr
    - core/drupal
    - core/drupal.form
    - core/jquery.once

134 135 136 137 138 139 140
drupal.date:
  version: VERSION
  js:
    misc/date.js: {}
  dependencies:
    - core/drupal
    - core/modernizr
141
    - core/jquery.once
142

143 144 145 146 147 148 149 150 151 152 153
drupal.debounce:
  version: VERSION
  js:
    misc/debounce.js: {}
  dependencies:
    # @todo Remove Drupal dependency.
    - core/drupal

drupal.dialog:
  version: VERSION
  js:
154 155 156
    misc/dialog/dialog.js: {}
    misc/dialog/dialog.position.js: {}
    misc/dialog/dialog.jquery-ui.js: {}
157 158 159 160 161 162 163 164 165 166 167
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/drupal.debounce
    - core/drupal.displace
    - core/jquery.ui.dialog

drupal.dialog.ajax:
  version: VERSION
  js:
168
    misc/dialog/dialog.ajax.js: {}
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
  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

198 199 200 201 202 203 204
drupal.entity-form:
  version: VERSION
  js:
    misc/entity-form.js: {}
  dependencies:
    - core/drupal.form

205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
drupal.form:
  version: VERSION
  js:
    misc/form.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.debounce
    - core/jquery.once

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

226 227 228 229 230 231 232 233
drupal.message:
  version: VERSION
  js:
    misc/message.js: {}
  dependencies:
    - core/drupal
    - core/drupal.announce

234 235 236 237 238
drupal.object.assign:
  version: VERSION
  js:
    misc/polyfills/object.assign.js: { weight: -20 }

239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
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:
271
    misc/tabledrag.js: { weight: -1 }
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/jquery.once

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
304
    - core/drupal.checkbox
305
    - core/jquery
306
    - core/jquery.once
307 308 309 310 311 312 313

drupal.timezone:
  version: VERSION
  js:
    misc/timezone.js: {}
  dependencies:
    - core/jquery
314
    - core/jquery.once
315 316 317 318 319 320
    - core/drupal

drupal.vertical-tabs:
  version: VERSION
  js:
    # Load before core/drupal.collapse.
321
    misc/vertical-tabs.js: { weight: -1 }
322 323 324 325 326
  css:
    component:
      misc/vertical-tabs.css: {}
  dependencies:
    - core/jquery
327
    - core/jquery.once
328 329 330 331
    - core/drupal
    - core/drupalSettings
    - core/drupal.form

332 333 334 335 336 337 338 339 340
es6-promise:
  version: "4.2.8"
  license:
    name: MIT
    url: https://github.com/stefanpenner/es6-promise/blob/v4.2.8/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/es6-promise/es6-promise.auto.min.js: { weight: -20, minified: true }

341 342
jquery:
  remote: https://github.com/jquery/jquery
343
  version: "3.5.1"
344 345
  license:
    name: MIT
346
    url: https://github.com/jquery/jquery/blob/3.5.1/LICENSE.txt
347
    gpl-compatible: true
348
  js:
349
    assets/vendor/jquery/jquery.min.js: { minified: true, weight: -20 }
350 351

jquery.cookie:
352
  version: VERSION
353
  js:
354
    misc/jquery.cookie.shim.js: {}
355 356
  dependencies:
    - core/jquery
357 358 359
    - core/drupal
    - core/js-cookie
  deprecated: The %library_id% asset library is deprecated in Drupal 9.0.0 and will be removed in Drupal 10.0.0. Use the core/js-cookie library instead. See https://www.drupal.org/node/3104677
360 361 362 363

jquery.farbtastic:
  remote: https://github.com/mattfarina/farbtastic
  # @todo Ping @robloach or @mattfarina to retroactively create this release.
364
  version: "1.2"
365 366 367 368
  license:
    name: GNU-GPL-2.0-or-later
    url: https://github.com/mattfarina/farbtastic/blob/master/LICENSE.txt
    gpl-compatible: true
369
  js:
370
    assets/vendor/farbtastic/farbtastic.js: { minified: true }
371 372 373 374 375 376 377
  css:
    component:
      assets/vendor/farbtastic/farbtastic.css: {}
  dependencies:
    - core/jquery

jquery.form:
378 379
  remote: https://github.com/jquery-form/form
  version: "4.22"
380 381
  license:
    name: GNU-GPL-2.0-or-later
382
    url: https://raw.githubusercontent.com/jquery-form/form/master/LICENSE-LGPLv3
383
    gpl-compatible: true
384
  js:
385
    assets/vendor/jquery-form/jquery.form.min.js: { minified: true }
386 387 388
  dependencies:
    - core/jquery

389 390
jquery.joyride:
  remote: https://github.com/zurb/joyride
391 392 393 394 395 396
  # 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"
397 398
  license:
    name: MIT
399
    url: https://github.com/zurb/joyride/blob/v2.1.0/README.markdown
400
    gpl-compatible: true
401
  js:
402
    assets/vendor/jquery-joyride/jquery.joyride-2.1.js: { }
403 404 405
  dependencies:
    - core/jquery

406 407
jquery.once:
  remote: https://github.com/RobLoach/jquery-once
408
  version: "2.2.3"
409 410
  license:
    name: GNU-GPL-2.0-or-later
411
    url: https://github.com/RobLoach/jquery-once/blob/2.2.3/LICENSE.md
412
    gpl-compatible: true
413
  js:
414
    assets/vendor/jquery-once/jquery.once.min.js: { weight: -19, minified: true }
415 416 417 418
  dependencies:
    - core/jquery

jquery.ui:
419
  version: &jquery_ui_version 1.12.1
420
  license: &jquery_ui_license
421
    name: Public Domain
422
    url: https://github.com/jquery/jquery-ui/blob/1.12.1/LICENSE.txt
423
    gpl-compatible: true
424
  js:
425 426 427 428 429 430 431 432 433
    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 }
434
    assets/vendor/jquery.ui/ui/escape-selector-min.js: { weight: -11, minified: true }
435 436 437 438 439 440
    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 }
441 442
  css:
    component:
443
      assets/vendor/jquery.ui/themes/base/core.css: {}
444
    theme:
445
      assets/vendor/jquery.ui/themes/base/theme.css: {}
446 447 448 449
  dependencies:
    - core/jquery

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

jquery.ui.button:
464 465
  version: *jquery_ui_version
  license: *jquery_ui_license
466
  js:
467 468
    assets/vendor/jquery.ui/ui/widgets/checkboxradio-min.js: { minified: true }
    assets/vendor/jquery.ui/ui/widgets/controlgroup-min.js: { minified: true }
469
    assets/vendor/jquery.ui/ui/widgets/button-min.js: { minified: true }
470 471
  css:
    component:
472 473
      assets/vendor/jquery.ui/themes/base/checkboxradio.css: {}
      assets/vendor/jquery.ui/themes/base/controlgroup.css: {}
474
      assets/vendor/jquery.ui/themes/base/button.css: {}
475 476 477 478
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget

479
jquery.ui.dialog:
480 481 482
  version: *jquery_ui_version
  license: *jquery_ui_license
  js:
483
    assets/vendor/jquery.ui/ui/form-reset-mixin-min.js: { minified: true }
484 485
    assets/vendor/jquery.ui/ui/widgets/checkboxradio-min.js: { minified: true }
    assets/vendor/jquery.ui/ui/widgets/controlgroup-min.js: { minified: true }
486
    assets/vendor/jquery.ui/ui/widgets/button-min.js: { minified: true }
487
    assets/vendor/jquery.ui/ui/widgets/dialog-min.js: { minified: true }
488 489
  css:
    component:
490 491 492
      assets/vendor/jquery.ui/themes/base/checkboxradio.css: {}
      assets/vendor/jquery.ui/themes/base/controlgroup.css: {}
      assets/vendor/jquery.ui/themes/base/button.css: {}
493
      assets/vendor/jquery.ui/themes/base/dialog.css: {}
494 495 496 497 498 499 500 501 502
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
    - core/jquery.ui.draggable
    - core/jquery.ui.mouse
    - core/jquery.ui.position
    - core/jquery.ui.resizable

jquery.ui.draggable:
503 504
  version: *jquery_ui_version
  license: *jquery_ui_license
505
  js:
506
    assets/vendor/jquery.ui/ui/widgets/draggable-min.js: { minified: true }
507 508 509 510 511 512
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.mouse
    - core/jquery.ui.widget

jquery.ui.menu:
513 514
  version: *jquery_ui_version
  license: *jquery_ui_license
515
  js:
516
    assets/vendor/jquery.ui/ui/widgets/menu-min.js: { minified: true }
517 518
  css:
    component:
519
      assets/vendor/jquery.ui/themes/base/menu.css: {}
520 521
  dependencies:
    - core/jquery.ui
522
    - core/jquery.ui.position
523 524 525
    - core/jquery.ui.widget

jquery.ui.mouse:
526 527
  version: *jquery_ui_version
  license: *jquery_ui_license
528
  js:
529
    assets/vendor/jquery.ui/ui/ie-min.js: { minified: true }
530
    assets/vendor/jquery.ui/ui/widgets/mouse-min.js: { minified: true }
531 532 533 534
  dependencies:
    - core/jquery.ui.widget

jquery.ui.position:
535 536
  version: *jquery_ui_version
  license: *jquery_ui_license
537
  js:
538
    assets/vendor/jquery.ui/ui/position-min.js: { minified: true }
539 540
  dependencies:
    - core/jquery.ui
541 542

jquery.ui.resizable:
543 544
  version: *jquery_ui_version
  license: *jquery_ui_license
545
  js:
546
    assets/vendor/jquery.ui/ui/widgets/resizable-min.js: { minified: true }
547 548
  css:
    component:
549
      assets/vendor/jquery.ui/themes/base/resizable.css: {}
550 551 552 553 554 555
  dependencies:
    - core/jquery.ui
    - core/jquery.ui.widget
    - core/jquery.ui.mouse

jquery.ui.widget:
556 557
  version: *jquery_ui_version
  license: *jquery_ui_license
558
  js:
559
    assets/vendor/jquery.ui/ui/widget-min.js: { weight: -10, minified: true }
560 561 562 563
  dependencies:
    - core/jquery.ui

modernizr:
564 565
  # Block the page from being loaded until Modernizr is initialized.
  header: true
566
  remote: https://github.com/Modernizr/Modernizr
567 568 569 570
  license:
    name: MIT
    url: http://modernizr.com/license/
    gpl-compatible: true
571
  version: "3.8.0"
572
  js:
573
    assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true }
574
    misc/modernizr-additional-tests.js: { preprocess: 0, weight: -20 }
575 576 577

normalize:
  remote: https://github.com/necolas/normalize.css
578
  version: "8.0.1"
579 580
  license:
    name: MIT
581
    url: https://github.com/necolas/normalize.css/blob/8.0.1/LICENSE.md
582
    gpl-compatible: true
583 584
  css:
    base:
585
      assets/vendor/normalize-css/normalize.css: { weight: -20 }
586
      misc/normalize-fixes.css: { weight: -19 }
587

588 589
picturefill:
  remote: https://github.com/scottjehl/picturefill
590
  version: "3.0.3"
591 592
  license:
    name: MIT
593
    url: https://github.com/scottjehl/picturefill/blob/3.0.3/LICENSE
594
    gpl-compatible: true
595
  js:
596
    assets/vendor/picturefill/picturefill.min.js: { weight: -10, minified: true }
597

598
popperjs:
599
  version: "2.0.6"
600 601
  license:
    name: MIT
602
    url: https://github.com/popperjs/popper-core/blob/v2.0.6/LICENSE.md
603 604 605
    gpl-compatible: true
  js:
    assets/vendor/popperjs/popper.min.js: { minified: true }
606 607 608 609
  dependencies:
    - core/drupal.array.find
    - core/es6-promise
    - core/drupal.object.assign
610

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

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

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: {}
651
      misc/dialog/off-canvas.layout.css: {}
652 653 654 655 656 657 658
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.ajax
    - core/drupal.announce
    - core/drupal.dialog
    - core/drupal.dialog.ajax
659 660 661

js-cookie:
  remote: https://github.com/js-cookie/js-cookie
662
  version: "v3.0.0-rc0"
663 664
  license:
    name: MIT
665
    url: https://github.com/js-cookie/js-cookie/blob/v3.0.0-rc.0/LICENSE
666 667 668
    gpl-compatible: true
  js:
    assets/vendor/js-cookie/js.cookie.min.js: {}