bootstrap 5.3.1 → 5.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +11 -5
  3. data/Gemfile +1 -0
  4. data/README.md +6 -2
  5. data/Rakefile +10 -1
  6. data/assets/javascripts/bootstrap/alert.js +1 -1
  7. data/assets/javascripts/bootstrap/base-component.js +2 -2
  8. data/assets/javascripts/bootstrap/button.js +1 -1
  9. data/assets/javascripts/bootstrap/carousel.js +1 -1
  10. data/assets/javascripts/bootstrap/collapse.js +1 -1
  11. data/assets/javascripts/bootstrap/dom/data.js +1 -1
  12. data/assets/javascripts/bootstrap/dom/event-handler.js +1 -1
  13. data/assets/javascripts/bootstrap/dom/manipulator.js +1 -1
  14. data/assets/javascripts/bootstrap/dom/selector-engine.js +3 -3
  15. data/assets/javascripts/bootstrap/dropdown.js +1 -1
  16. data/assets/javascripts/bootstrap/modal.js +1 -1
  17. data/assets/javascripts/bootstrap/offcanvas.js +1 -1
  18. data/assets/javascripts/bootstrap/popover.js +1 -1
  19. data/assets/javascripts/bootstrap/scrollspy.js +1 -1
  20. data/assets/javascripts/bootstrap/tab.js +2 -2
  21. data/assets/javascripts/bootstrap/toast.js +1 -1
  22. data/assets/javascripts/bootstrap/tooltip.js +1 -1
  23. data/assets/javascripts/bootstrap/util/backdrop.js +1 -1
  24. data/assets/javascripts/bootstrap/util/component-functions.js +1 -1
  25. data/assets/javascripts/bootstrap/util/config.js +1 -1
  26. data/assets/javascripts/bootstrap/util/focustrap.js +1 -1
  27. data/assets/javascripts/bootstrap/util/index.js +1 -1
  28. data/assets/javascripts/bootstrap/util/sanitizer.js +1 -1
  29. data/assets/javascripts/bootstrap/util/scrollbar.js +1 -1
  30. data/assets/javascripts/bootstrap/util/swipe.js +1 -1
  31. data/assets/javascripts/bootstrap/util/template-factory.js +1 -1
  32. data/assets/javascripts/bootstrap-sprockets.js +11 -11
  33. data/assets/javascripts/bootstrap.js +5 -5
  34. data/assets/javascripts/bootstrap.min.js +2 -2
  35. data/assets/stylesheets/_bootstrap-utilities.scss +19 -0
  36. data/assets/stylesheets/bootstrap/_buttons.scss +1 -1
  37. data/assets/stylesheets/bootstrap/_reboot.scss +1 -0
  38. data/assets/stylesheets/bootstrap/_root.scss +3 -0
  39. data/assets/stylesheets/bootstrap/_utilities.scss +3 -3
  40. data/assets/stylesheets/bootstrap/_variables-dark.scss +2 -0
  41. data/assets/stylesheets/bootstrap/_variables.scss +15 -13
  42. data/assets/stylesheets/bootstrap/forms/_form-check.scss +1 -0
  43. data/assets/stylesheets/bootstrap/mixins/_banner.scss +1 -1
  44. data/assets/stylesheets/bootstrap/mixins/_grid.scss +1 -1
  45. data/bootstrap.gemspec +3 -2
  46. data/lib/bootstrap/engine.rb +7 -1
  47. data/lib/bootstrap/version.rb +2 -2
  48. data/tasks/updater/scss.rb +1 -1
  49. data/test/gemfiles/rails_4_2.gemfile +1 -1
  50. data/test/gemfiles/rails_5_0.gemfile +1 -1
  51. data/test/gemfiles/rails_5_1.gemfile +1 -1
  52. data/test/gemfiles/rails_5_2.gemfile +1 -1
  53. data/test/gemfiles/rails_6_0.gemfile +1 -0
  54. data/test/gemfiles/rails_6_1.gemfile +1 -0
  55. data/test/gemfiles/rails_7_0_dartsass.gemfile +8 -0
  56. data/test/gemfiles/{rails_7_0.gemfile → rails_7_0_sassc.gemfile} +1 -0
  57. metadata +33 -17
  58. 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: 9cc8c9361e6004e1f33ea619081fc68672a49d7f20e8a6bcf53ac8ec12e4c662
4
+ data.tar.gz: e65b879fec0203e16027ed41093bc20d276e202168abec214b9295a04ac0b3a8
5
5
  SHA512:
6
- metadata.gz: 1778455e9a08f322a881f41b1ebc5735bb0b3d8ceba123d31013c786475b018ef2ca5acb2f314aaffb67db0e857ab3f7add44b1689f7df05e77045256b4a2d26
7
- data.tar.gz: b5af7ae313ea00f05c021dd502627b53df69f6b70d34d1590b2bb1600d5a5fc2366bc7edc7efec7b938d7d120b87f9e66c563515ad4dfbe8666868b32144da99
6
+ metadata.gz: 94d62cb6112a90a4a97ae631e3895f18650217e67f872565b26efa6a5a3228d223782e0f82a722efc8f0881b60f409c7ba320b2069962436952eeaf0c6b2431d
7
+ data.tar.gz: 8e0c37862c25003c9ba9a8892614050b4d8e82bdb4b902060f3aeb7f7af1dbcb89f89934e43a3f724a672b29eac7c87d2f789435283f9068c238719692159f2d
@@ -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/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,14 @@ 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.2'
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
+ - [`sassc-rails`](https://github.com/sass/sassc-rails): SassC engine, deprecated but compatible with Ruby 2.3+ and Rails 4
30
+
31
+ Also ensure that `sprockets-rails` is at least v2.3.2.
28
32
 
29
33
  `bundle install` and restart your server to make the files available through the pipeline.
30
34
 
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,12 +46,20 @@ 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 'dartsass-ruby'
51
+ rescue LoadError
52
+ require 'sassc'
53
+ rescue LoadError
54
+ raise LoadError.new("bootstrap-rubygem requires a Sass engine. Please add dartsass-sprockets or sassc-rails to your dependencies.")
55
+ end
49
56
  require './lib/bootstrap'
50
57
  require 'term/ansicolor'
51
58
  require 'autoprefixer-rails'
52
59
  path = Bootstrap.stylesheets_path
53
60
  %w(_bootstrap _bootstrap-reboot _bootstrap-grid).each do |file|
61
+ # For ease of upgrading, the root namespace ::SassC is still used by dartsass-sprockets.
62
+ # This is planned to be renamed in a future major version release.
54
63
  engine = SassC::Engine.new(File.read("#{path}/#{file}.scss"), syntax: :scss, load_paths: [path])
55
64
  out = File.join('tmp', "#{file[1..-1]}.css")
56
65
  css = engine.render
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap alert.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap alert.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap base-component.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap base-component.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -21,7 +21,7 @@
21
21
  * Constants
22
22
  */
23
23
 
24
- const VERSION = '5.3.1';
24
+ const VERSION = '5.3.2';
25
25
 
26
26
  /**
27
27
  * Class definition
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap button.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap button.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap carousel.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap carousel.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap collapse.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap collapse.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap data.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap data.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap event-handler.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap event-handler.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap manipulator.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap manipulator.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap selector-engine.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap selector-engine.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -33,9 +33,9 @@
33
33
  if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
34
34
  hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
35
35
  }
36
- selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
36
+ selector = hrefAttribute && hrefAttribute !== '#' ? index_js.parseSelector(hrefAttribute.trim()) : null;
37
37
  }
38
- return index_js.parseSelector(selector);
38
+ return selector;
39
39
  };
40
40
  const SelectorEngine = {
41
41
  find(selector, element = document.documentElement) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap dropdown.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap dropdown.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap modal.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap modal.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap offcanvas.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap offcanvas.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap popover.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap popover.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap scrollspy.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap scrollspy.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap tab.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap tab.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -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,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap toast.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap toast.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap tooltip.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap tooltip.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap backdrop.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap backdrop.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap component-functions.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap component-functions.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap config.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap config.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap focustrap.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap focustrap.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap index.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap index.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap sanitizer.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap sanitizer.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap scrollbar.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap scrollbar.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap swipe.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap swipe.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap template-factory.js v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap template-factory.js v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -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
9
  //= require ./bootstrap/collapse
10
+ //= require ./bootstrap/util/sanitizer
14
11
  //= require ./bootstrap/util/backdrop
15
- //= require ./bootstrap/dropdown
12
+ //= require ./bootstrap/util/scrollbar
16
13
  //= require ./bootstrap/util/component-functions
17
- //= require ./bootstrap/alert
18
14
  //= require ./bootstrap/util/focustrap
19
- //= require ./bootstrap/util/scrollbar
20
15
  //= require ./bootstrap/modal
21
- //= require ./bootstrap/carousel
22
- //= require ./bootstrap/scrollspy
23
- //= require ./bootstrap/offcanvas
16
+ //= require ./bootstrap/util/template-factory
24
17
  //= require ./bootstrap/tooltip
25
- //= require ./bootstrap/popover
18
+ //= require ./bootstrap/offcanvas
19
+ //= require ./bootstrap/util/swipe
26
20
  //= require ./bootstrap/toast
21
+ //= require ./bootstrap/button
22
+ //= require ./bootstrap/alert
23
+ //= require ./bootstrap/popover
24
+ //= require ./bootstrap/scrollspy
25
+ //= require ./bootstrap/dropdown
27
26
  //= require ./bootstrap/tab
27
+ //= require ./bootstrap/carousel
28
28
  //= require ./bootstrap-global-this-undefine
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v5.3.1 (https://getbootstrap.com/)
2
+ * Bootstrap v5.3.2 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2023 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
  */
@@ -667,7 +667,7 @@
667
667
  * Constants
668
668
  */
669
669
 
670
- const VERSION = '5.3.1';
670
+ const VERSION = '5.3.2';
671
671
 
672
672
  /**
673
673
  * Class definition
@@ -748,9 +748,9 @@
748
748
  if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
749
749
  hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
750
750
  }
751
- selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
751
+ selector = hrefAttribute && hrefAttribute !== '#' ? parseSelector(hrefAttribute.trim()) : null;
752
752
  }
753
- return parseSelector(selector);
753
+ return selector;
754
754
  };
755
755
  const SelectorEngine = {
756
756
  find(selector, element = document.documentElement) {
@@ -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}`;