Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / themes / contrib / bootstrap / bootstrap.libraries.yml
index b98efe03df1d7f1c306ec9799d990a2ebf6fdef0..5a62ad00c51f66fc55e271ff322a322c643bbb2f 100644 (file)
@@ -5,6 +5,15 @@ attributes:
     - core/jquery
     - core/underscore
 
+# 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
+
 drupal.bootstrap:
   js:
     js/drupal.bootstrap.js: {}
@@ -12,6 +21,7 @@ drupal.bootstrap:
     - core/jquery
     - core/drupal
     - core/drupalSettings
+    - bootstrap/framework
 
 # Create a library placeholder for livereload.
 # This is altered dynamically based on the set URL.
@@ -48,6 +58,18 @@ modal:
   dependencies:
     - bootstrap/theme
 
+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
+
 popover:
   js:
     js/popover.js: {}
@@ -69,6 +91,10 @@ drupal.autocomplete:
   js:
     js/misc/autocomplete.js: {}
 
+drupal.dialog.ajax:
+  js:
+    js/misc/dialog.ajax.js: {}
+
 drupal.form:
   js:
     js/misc/form.js: {}
@@ -105,19 +131,6 @@ drupal.batch:
     - core/drupal.progress
     - core/jquery.once
 
-drupal.dialog:
-  js:
-    js/misc/dialog.js: {}
-  dependencies:
-    - bootstrap/modal
-
-drupal.dialog.ajax:
-  js:
-    js/misc/dialog.ajax.js: {}
-  dependencies:
-    - core/drupal.ajax
-    - bootstrap/drupal.dialog
-
 drupal.filter:
   version: VERSION
   js: