bootstrap.libraries.yml 2.76 KB
Newer Older
1
attributes:
2
  js:
3
    js/attributes.js: {}
4
  dependencies:
5
    - core/jquery
6
    - core/underscore
7

8 9 10 11 12 13 14 15 16
# This is automatically extended with JavaScript and CSS for CDN based themes.
# If sub-theme uses a starterkit like LESS or SASS, then it should extend this
# library to add in the compiled CSS and JavaScript sources.
framework:
  css: {}
  js: {}
  dependencies:
    - core/jquery

17 18 19 20
drupal.bootstrap:
  js:
    js/drupal.bootstrap.js: {}
  dependencies:
21 22 23
    - core/jquery
    - core/drupal
    - core/drupalSettings
24
    - bootstrap/framework
25

26 27 28 29 30 31 32
# Create a library placeholder for livereload.
# This is altered dynamically based on the set URL.
# @see \Drupal\bootstrap\Plugin\Alter\LibraryInfo::alter
livereload:
  js:
    livereload.js: {}

33 34 35 36 37 38 39
theme:
  js:
    js/theme.js: {}
  dependencies:
    - bootstrap/drupal.bootstrap
    - bootstrap/attributes

40
theme-settings:
41
  js:
42
    js/theme-settings.js: {}
43 44 45 46 47 48
  dependencies:
    - core/jquery
    - core/jquery.once
    - core/drupal
    - core/drupalSettings

49 50 51 52
dropdown:
  js:
    js/dropdown.js: {}
  dependencies:
53
    - bootstrap/theme
54

55 56 57 58
modal:
  js:
    js/modal.js: {}
  dependencies:
59
    - bootstrap/theme
60

61 62 63 64 65 66 67 68 69 70 71 72
modal.jquery.ui.bridge:
  js:
    js/modal.jquery.ui.bridge.js: {}
  dependencies:
    - bootstrap/modal
    - core/jquery.ui
    - core/jquery.ui.widget
    - core/jquery.ui.draggable
    - core/jquery.ui.mouse
    - core/jquery.ui.position
    - core/jquery.ui.resizable

73
popover:
74
  js:
75
    js/popover.js: {}
76
  dependencies:
77
    - bootstrap/theme
78

79
tooltip:
80
  js:
81
    js/tooltip.js: {}
82
  dependencies:
83
    - bootstrap/theme
84 85 86 87 88 89

# libraries-extend
drupal.ajax:
  js:
    js/misc/ajax.js: {}

90 91 92 93
drupal.autocomplete:
  js:
    js/misc/autocomplete.js: {}

94 95 96 97
drupal.dialog.ajax:
  js:
    js/misc/dialog.ajax.js: {}

98 99 100 101
drupal.form:
  js:
    js/misc/form.js: {}
  dependencies:
102
    - bootstrap/theme
103 104 105 106 107 108 109 110 111 112 113 114 115

drupal.progress:
  js:
    js/misc/progress.js: {}

drupal.states:
  js:
    js/misc/states.js: {}

drupal.tabledrag:
  js:
    js/misc/tabledrag.js: {}

116 117 118 119
drupal.tableheader:
  js:
    js/misc/tableheader.js: {}

120 121 122 123
image_widget_crop:
  js:
    js/modules/image_widget_crop/ImageWidgetCrop.js: {}

124 125 126 127
views.ajax:
  js:
    js/modules/views/ajax_view.js: {}

128
# libraries-override
129 130 131 132 133 134 135 136 137
drupal.batch:
  js:
    js/misc/batch.js: { cache: false }
  dependencies:
    - bootstrap/theme
    - core/drupal.ajax
    - core/drupal.progress
    - core/jquery.once

138 139 140 141 142 143 144 145 146
drupal.filter:
  version: VERSION
  js:
    js/modules/filter/filter.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/jquery.once

147 148 149 150 151 152 153 154
drupal.text:
  js:
    js/text/text.js: {}
  dependencies:
    - core/jquery
    - core/jquery.once
    - core/drupal

155 156
drupal.vertical-tabs:
  js:
157
    js/misc/vertical-tabs.js: {}
158
  dependencies:
159
    - bootstrap/theme
160 161 162
    - core/jquery.once
    - core/drupal.form
    - core/matchmedia