bootstrap 5.3.1 → 5.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +11 -5
  3. data/CHANGELOG.md +4 -0
  4. data/Gemfile +1 -0
  5. data/README.md +8 -2
  6. data/Rakefile +17 -4
  7. data/assets/javascripts/bootstrap/alert.js +2 -2
  8. data/assets/javascripts/bootstrap/base-component.js +3 -3
  9. data/assets/javascripts/bootstrap/button.js +2 -2
  10. data/assets/javascripts/bootstrap/carousel.js +2 -2
  11. data/assets/javascripts/bootstrap/collapse.js +2 -2
  12. data/assets/javascripts/bootstrap/dom/data.js +2 -2
  13. data/assets/javascripts/bootstrap/dom/event-handler.js +2 -2
  14. data/assets/javascripts/bootstrap/dom/manipulator.js +2 -2
  15. data/assets/javascripts/bootstrap/dom/selector-engine.js +3 -3
  16. data/assets/javascripts/bootstrap/dropdown.js +2 -2
  17. data/assets/javascripts/bootstrap/modal.js +2 -2
  18. data/assets/javascripts/bootstrap/offcanvas.js +2 -2
  19. data/assets/javascripts/bootstrap/popover.js +2 -2
  20. data/assets/javascripts/bootstrap/scrollspy.js +2 -2
  21. data/assets/javascripts/bootstrap/tab.js +3 -3
  22. data/assets/javascripts/bootstrap/toast.js +2 -2
  23. data/assets/javascripts/bootstrap/tooltip.js +2 -2
  24. data/assets/javascripts/bootstrap/util/backdrop.js +2 -3
  25. data/assets/javascripts/bootstrap/util/component-functions.js +2 -2
  26. data/assets/javascripts/bootstrap/util/config.js +2 -2
  27. data/assets/javascripts/bootstrap/util/focustrap.js +2 -3
  28. data/assets/javascripts/bootstrap/util/index.js +2 -3
  29. data/assets/javascripts/bootstrap/util/sanitizer.js +5 -2
  30. data/assets/javascripts/bootstrap/util/scrollbar.js +2 -2
  31. data/assets/javascripts/bootstrap/util/swipe.js +2 -2
  32. data/assets/javascripts/bootstrap/util/template-factory.js +2 -2
  33. data/assets/javascripts/bootstrap-sprockets.js +11 -11
  34. data/assets/javascripts/bootstrap.js +8 -8
  35. data/assets/javascripts/bootstrap.min.js +3 -3
  36. data/assets/stylesheets/_bootstrap-utilities.scss +19 -0
  37. data/assets/stylesheets/bootstrap/_accordion.scss +11 -11
  38. data/assets/stylesheets/bootstrap/_buttons.scss +10 -1
  39. data/assets/stylesheets/bootstrap/_carousel.scss +2 -10
  40. data/assets/stylesheets/bootstrap/_modal.scss +0 -1
  41. data/assets/stylesheets/bootstrap/_offcanvas.scss +1 -4
  42. data/assets/stylesheets/bootstrap/_reboot.scss +1 -0
  43. data/assets/stylesheets/bootstrap/_root.scss +3 -0
  44. data/assets/stylesheets/bootstrap/_tables.scss +1 -1
  45. data/assets/stylesheets/bootstrap/_utilities.scss +3 -3
  46. data/assets/stylesheets/bootstrap/_variables-dark.scss +2 -0
  47. data/assets/stylesheets/bootstrap/_variables.scss +22 -16
  48. data/assets/stylesheets/bootstrap/forms/_form-check.scss +2 -1
  49. data/assets/stylesheets/bootstrap/mixins/_banner.scss +2 -2
  50. data/assets/stylesheets/bootstrap/mixins/_forms.scss +12 -2
  51. data/assets/stylesheets/bootstrap/mixins/_grid.scss +2 -2
  52. data/bootstrap.gemspec +3 -2
  53. data/lib/bootstrap/engine.rb +17 -1
  54. data/lib/bootstrap/version.rb +2 -2
  55. data/tasks/updater/scss.rb +1 -1
  56. data/test/gemfiles/rails_4_2.gemfile +2 -1
  57. data/test/gemfiles/rails_5_0.gemfile +1 -1
  58. data/test/gemfiles/rails_5_1.gemfile +1 -1
  59. data/test/gemfiles/rails_5_2.gemfile +1 -1
  60. data/test/gemfiles/rails_6_0.gemfile +1 -0
  61. data/test/gemfiles/rails_6_1.gemfile +1 -0
  62. data/test/gemfiles/rails_7_0_dartsass.gemfile +8 -0
  63. data/test/gemfiles/{rails_7_0.gemfile → rails_7_0_sassc.gemfile} +1 -0
  64. data/test/test_helper.rb +2 -2
  65. metadata +29 -13
  66. data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +0 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fd9f8cb7a704fd15eb16fedda143f4baf37f6c9dee896123f917b43745cd7f8
4
- data.tar.gz: ad04dbdab20c3c2c24fc3def8dc565d93649329a367d2ded1ab9ecdaa36afc76
3
+ metadata.gz: f5f0f95cef4c5b6abf9fd7a3b2721493ed6c929c1a757823f405270124573f6b
4
+ data.tar.gz: c3d89d1a7fa09745690ebd7cc1bf258af83bb58eec85ce3dbaf2a0792d9cd9d6
5
5
  SHA512:
6
- metadata.gz: 1778455e9a08f322a881f41b1ebc5735bb0b3d8ceba123d31013c786475b018ef2ca5acb2f314aaffb67db0e857ab3f7add44b1689f7df05e77045256b4a2d26
7
- data.tar.gz: b5af7ae313ea00f05c021dd502627b53df69f6b70d34d1590b2bb1600d5a5fc2366bc7edc7efec7b938d7d120b87f9e66c563515ad4dfbe8666868b32144da99
6
+ metadata.gz: 03f9c9d2a23faa83d108854e73320bb480c6c6298d3d79fe5c5306ec14d9f67efd82c12a1bc5d9c4458edeef8fc119d61cda59347c660c8e1a3b9cbcc5142a26
7
+ data.tar.gz: 37a91ba786b9f36a1a446f3fa5a70abed611a41b37bc55d9992ccbf6c685d61a93d15341423a3114bf7aa18140537b6dd9890105f57bbd196c6dfb9366044967
@@ -1,8 +1,9 @@
1
1
  name: CI
2
2
 
3
3
  on:
4
- push:
5
- pull_request:
4
+ - push
5
+ - pull_request
6
+ - workflow_dispatch
6
7
 
7
8
  jobs:
8
9
  test:
@@ -18,7 +19,8 @@ jobs:
18
19
  - test/gemfiles/rails_5_2.gemfile
19
20
  - test/gemfiles/rails_6_0.gemfile
20
21
  - test/gemfiles/rails_6_1.gemfile
21
- - test/gemfiles/rails_7_0.gemfile
22
+ - test/gemfiles/rails_7_0_sassc.gemfile
23
+ - test/gemfiles/rails_7_0_dartsass.gemfile
22
24
  include:
23
25
  - ruby_version: '2.5'
24
26
  gemfile: test/gemfiles/rails_4_2.gemfile
@@ -26,9 +28,13 @@ jobs:
26
28
  gemfile: test/gemfiles/rails_4_2.gemfile
27
29
  exclude:
28
30
  - ruby_version: '2.5'
29
- gemfile: test/gemfiles/rails_7_0.gemfile
31
+ gemfile: test/gemfiles/rails_7_0_sassc.gemfile
32
+ - ruby_version: '2.5'
33
+ gemfile: test/gemfiles/rails_7_0_dartsass.gemfile
34
+ - ruby_version: '2.6'
35
+ gemfile: test/gemfiles/rails_7_0_sassc.gemfile
30
36
  - ruby_version: '2.6'
31
- gemfile: test/gemfiles/rails_7_0.gemfile
37
+ gemfile: test/gemfiles/rails_7_0_dartsass.gemfile
32
38
  - ruby_version: '3.0'
33
39
  gemfile: test/gemfiles/rails_5_0.gemfile
34
40
  - ruby_version: '3.0'
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ The changelog only includes changes specific to the RubyGem.
6
6
  The Bootstrap framework changes can be found in [the Releases section of twbs/bootstrap](https://github.com/twbs/bootstrap/releases).
7
7
  Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release of Bootstrap.
8
8
 
9
+ # 5.3.3
10
+
11
+ * Adds support for other Sass engines: dartsass-sprockets, dartsass-rails, and cssbundling-rails.
12
+
9
13
  # 4.2.1
10
14
 
11
15
  * Bootstrap rubygem now depends on SassC instead of Sass.
data/Gemfile CHANGED
@@ -4,6 +4,7 @@ gemspec
4
4
 
5
5
  group :development do
6
6
  gem 'popper_js', '>= 1.12.3'
7
+ gem 'dartsass-sprockets'
7
8
  end
8
9
 
9
10
  group :debug do
data/README.md CHANGED
@@ -21,10 +21,16 @@ Please see the appropriate guide for your environment of choice:
21
21
  Add `bootstrap` to your Gemfile:
22
22
 
23
23
  ```ruby
24
- gem 'bootstrap', '~> 5.3.1'
24
+ gem 'bootstrap', '~> 5.3.3'
25
25
  ```
26
26
 
27
- Ensure that `sprockets-rails` is at least v2.3.2.
27
+ This gem requires a Sass engine, so make sure you have **one** of these two gems in your Gemfile:
28
+ - [`dartsass-sprockets`](https://github.com/tablecheck/dartsass-sprockets): Dart Sass engine, recommended but only works for Ruby 2.6+ and Rails 5+
29
+ - [`dartsass-rails`](https://github.com/rails/dartsass-rails): Dart Sass engine, recommended for Rails projects that use Propshaft
30
+ - [`cssbundling-rails`](https://github.com/rails/cssbundling-rails): External Sass engine
31
+ - [`sassc-rails`](https://github.com/sass/sassc-rails): SassC engine, deprecated but compatible with Ruby 2.3+ and Rails 4
32
+
33
+ Also ensure that `sprockets-rails` is at least v2.3.2.
28
34
 
29
35
  `bundle install` and restart your server to make the files available through the pipeline.
30
36
 
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'bundler/gem_tasks'
2
+ require 'bundler/setup'
2
3
 
3
4
  lib_path = File.join(File.dirname(__FILE__), 'lib')
4
5
  $:.unshift(lib_path) unless $:.include?(lib_path)
@@ -45,16 +46,28 @@ end
45
46
 
46
47
  desc 'Dumps output to a CSS file for testing'
47
48
  task :debug do
48
- require 'sassc'
49
+ begin
50
+ require 'sass-embedded'
51
+ rescue LoadError
52
+ begin
53
+ require 'sassc'
54
+ rescue LoadError
55
+ raise LoadError.new("bootstrap-rubygem requires a Sass engine. Please add dartsass-sprockets or sassc-rails to your dependencies.")
56
+ end
57
+ end
49
58
  require './lib/bootstrap'
50
59
  require 'term/ansicolor'
51
60
  require 'autoprefixer-rails'
52
61
  path = Bootstrap.stylesheets_path
53
62
  %w(_bootstrap _bootstrap-reboot _bootstrap-grid).each do |file|
54
- engine = SassC::Engine.new(File.read("#{path}/#{file}.scss"), syntax: :scss, load_paths: [path])
55
- out = File.join('tmp', "#{file[1..-1]}.css")
56
- css = engine.render
63
+ filename = "#{path}/#{file}.scss"
64
+ css = if defined?(SassC::Engine)
65
+ SassC::Engine.new(File.read(filename), filename: filename, syntax: :scss).render
66
+ else
67
+ Sass.compile(filename).css
68
+ end
57
69
  css = AutoprefixerRails.process(css)
70
+ out = File.join('tmp', "#{file[1..-1]}.css")
58
71
  File.write(out, css)
59
72
  $stderr.puts Term::ANSIColor.green "Compiled #{out}"
60
73
  end
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap alert.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap alert.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap base-component.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap base-component.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -21,7 +21,7 @@
21
21
  * Constants
22
22
  */
23
23
 
24
- const VERSION = '5.3.1';
24
+ const VERSION = '5.3.3';
25
25
 
26
26
  /**
27
27
  * Class definition
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap button.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap button.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap carousel.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap carousel.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap collapse.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap collapse.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap data.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap data.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap event-handler.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap event-handler.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap manipulator.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap manipulator.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap selector-engine.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap selector-engine.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -35,7 +35,7 @@
35
35
  }
36
36
  selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
37
37
  }
38
- return index_js.parseSelector(selector);
38
+ return selector ? selector.split(',').map(sel => index_js.parseSelector(sel)).join(',') : null;
39
39
  };
40
40
  const SelectorEngine = {
41
41
  find(selector, element = document.documentElement) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap dropdown.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap dropdown.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap modal.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap modal.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap offcanvas.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap offcanvas.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap popover.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap popover.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap scrollspy.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap scrollspy.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap tab.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap tab.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -43,7 +43,7 @@
43
43
  const CLASS_DROPDOWN = 'dropdown';
44
44
  const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';
45
45
  const SELECTOR_DROPDOWN_MENU = '.dropdown-menu';
46
- const NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';
46
+ const NOT_SELECTOR_DROPDOWN_TOGGLE = `:not(${SELECTOR_DROPDOWN_TOGGLE})`;
47
47
  const SELECTOR_TAB_PANEL = '.list-group, .nav, [role="tablist"]';
48
48
  const SELECTOR_OUTER = '.nav-item, .list-group-item';
49
49
  const SELECTOR_INNER = `.nav-link${NOT_SELECTOR_DROPDOWN_TOGGLE}, .list-group-item${NOT_SELECTOR_DROPDOWN_TOGGLE}, [role="tab"]${NOT_SELECTOR_DROPDOWN_TOGGLE}`;
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap toast.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap toast.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap tooltip.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap tooltip.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap backdrop.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap backdrop.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -33,7 +33,6 @@
33
33
  // if false, we use the backdrop helper without adding any element to the dom
34
34
  rootElement: 'body' // give the choice to place backdrop under different elements
35
35
  };
36
-
37
36
  const DefaultType = {
38
37
  className: 'string',
39
38
  clickCallback: '(function|null)',
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap component-functions.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap component-functions.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap config.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap config.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap focustrap.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap focustrap.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -33,7 +33,6 @@
33
33
  autofocus: true,
34
34
  trapElement: null // The element to trap focus inside of
35
35
  };
36
-
37
36
  const DefaultType = {
38
37
  autofocus: 'boolean',
39
38
  trapElement: 'element'
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap index.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap index.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -162,7 +162,6 @@
162
162
  const reflow = element => {
163
163
  element.offsetHeight; // eslint-disable-line no-unused-expressions
164
164
  };
165
-
166
165
  const getjQuery = () => {
167
166
  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
168
167
  return window.jQuery;
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap sanitizer.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap sanitizer.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -27,7 +27,10 @@
27
27
  br: [],
28
28
  col: [],
29
29
  code: [],
30
+ dd: [],
30
31
  div: [],
32
+ dl: [],
33
+ dt: [],
31
34
  em: [],
32
35
  hr: [],
33
36
  h1: [],
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap scrollbar.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap scrollbar.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap swipe.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap swipe.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap template-factory.js v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap template-factory.js v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -5,24 +5,24 @@
5
5
  //= require ./bootstrap/dom/manipulator
6
6
  //= require ./bootstrap/util/config
7
7
  //= require ./bootstrap/base-component
8
- //= require ./bootstrap/util/swipe
9
8
  //= require ./bootstrap/dom/selector-engine
10
- //= require ./bootstrap/util/sanitizer
11
- //= require ./bootstrap/util/template-factory
12
- //= require ./bootstrap/button
13
- //= require ./bootstrap/collapse
14
9
  //= require ./bootstrap/util/backdrop
15
- //= require ./bootstrap/dropdown
16
10
  //= require ./bootstrap/util/component-functions
17
- //= require ./bootstrap/alert
18
11
  //= require ./bootstrap/util/focustrap
19
12
  //= require ./bootstrap/util/scrollbar
20
- //= require ./bootstrap/modal
21
- //= require ./bootstrap/carousel
22
- //= require ./bootstrap/scrollspy
23
13
  //= require ./bootstrap/offcanvas
14
+ //= require ./bootstrap/dropdown
15
+ //= require ./bootstrap/util/sanitizer
16
+ //= require ./bootstrap/util/template-factory
24
17
  //= require ./bootstrap/tooltip
25
- //= require ./bootstrap/popover
26
18
  //= require ./bootstrap/toast
19
+ //= require ./bootstrap/popover
20
+ //= require ./bootstrap/util/swipe
21
+ //= require ./bootstrap/alert
22
+ //= require ./bootstrap/button
23
+ //= require ./bootstrap/carousel
24
+ //= require ./bootstrap/modal
25
+ //= require ./bootstrap/collapse
26
+ //= require ./bootstrap/scrollspy
27
27
  //= require ./bootstrap/tab
28
28
  //= require ./bootstrap-global-this-undefine
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap v5.3.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -229,7 +229,6 @@
229
229
  const reflow = element => {
230
230
  element.offsetHeight; // eslint-disable-line no-unused-expressions
231
231
  };
232
-
233
232
  const getjQuery = () => {
234
233
  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
235
234
  return window.jQuery;
@@ -667,7 +666,7 @@
667
666
  * Constants
668
667
  */
669
668
 
670
- const VERSION = '5.3.1';
669
+ const VERSION = '5.3.3';
671
670
 
672
671
  /**
673
672
  * Class definition
@@ -750,7 +749,7 @@
750
749
  }
751
750
  selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
752
751
  }
753
- return parseSelector(selector);
752
+ return selector ? selector.split(',').map(sel => parseSelector(sel)).join(',') : null;
754
753
  };
755
754
  const SelectorEngine = {
756
755
  find(selector, element = document.documentElement) {
@@ -2096,7 +2095,6 @@
2096
2095
  // if false, we use the backdrop helper without adding any element to the dom
2097
2096
  rootElement: 'body' // give the choice to place backdrop under different elements
2098
2097
  };
2099
-
2100
2098
  const DefaultType$8 = {
2101
2099
  className: 'string',
2102
2100
  clickCallback: '(function|null)',
@@ -2221,7 +2219,6 @@
2221
2219
  autofocus: true,
2222
2220
  trapElement: null // The element to trap focus inside of
2223
2221
  };
2224
-
2225
2222
  const DefaultType$7 = {
2226
2223
  autofocus: 'boolean',
2227
2224
  trapElement: 'element'
@@ -2948,7 +2945,10 @@
2948
2945
  br: [],
2949
2946
  col: [],
2950
2947
  code: [],
2948
+ dd: [],
2951
2949
  div: [],
2950
+ dl: [],
2951
+ dt: [],
2952
2952
  em: [],
2953
2953
  hr: [],
2954
2954
  h1: [],
@@ -4046,7 +4046,7 @@
4046
4046
  const CLASS_DROPDOWN = 'dropdown';
4047
4047
  const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';
4048
4048
  const SELECTOR_DROPDOWN_MENU = '.dropdown-menu';
4049
- const NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';
4049
+ const NOT_SELECTOR_DROPDOWN_TOGGLE = `:not(${SELECTOR_DROPDOWN_TOGGLE})`;
4050
4050
  const SELECTOR_TAB_PANEL = '.list-group, .nav, [role="tablist"]';
4051
4051
  const SELECTOR_OUTER = '.nav-item, .list-group-item';
4052
4052
  const SELECTOR_INNER = `.nav-link${NOT_SELECTOR_DROPDOWN_TOGGLE}, .list-group-item${NOT_SELECTOR_DROPDOWN_TOGGLE}, [role="tab"]${NOT_SELECTOR_DROPDOWN_TOGGLE}`;