@coreui/coreui 4.2.5 → 5.0.0-alpha.0

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 (205) hide show
  1. package/LICENSE +1 -2
  2. package/README.md +1 -1
  3. package/dist/css/coreui-grid.css +134 -23
  4. package/dist/css/coreui-grid.css.map +1 -1
  5. package/dist/css/coreui-grid.min.css +3 -5
  6. package/dist/css/coreui-grid.min.css.map +1 -1
  7. package/dist/css/coreui-grid.rtl.css +217 -114
  8. package/dist/css/coreui-grid.rtl.css.map +1 -1
  9. package/dist/css/coreui-grid.rtl.min.css +3 -11
  10. package/dist/css/coreui-grid.rtl.min.css.map +1 -1
  11. package/dist/css/coreui-reboot.css +152 -37
  12. package/dist/css/coreui-reboot.css.map +1 -1
  13. package/dist/css/coreui-reboot.min.css +3 -5
  14. package/dist/css/coreui-reboot.min.css.map +1 -1
  15. package/dist/css/coreui-reboot.rtl.css +160 -48
  16. package/dist/css/coreui-reboot.rtl.css.map +1 -1
  17. package/dist/css/coreui-reboot.rtl.min.css +3 -11
  18. package/dist/css/coreui-reboot.rtl.min.css.map +1 -1
  19. package/dist/css/coreui-utilities.css +1117 -105
  20. package/dist/css/coreui-utilities.css.map +1 -1
  21. package/dist/css/coreui-utilities.min.css +3 -5
  22. package/dist/css/coreui-utilities.min.css.map +1 -1
  23. package/dist/css/coreui-utilities.rtl.css +1262 -247
  24. package/dist/css/coreui-utilities.rtl.css.map +1 -1
  25. package/dist/css/coreui-utilities.rtl.min.css +3 -11
  26. package/dist/css/coreui-utilities.rtl.min.css.map +1 -1
  27. package/dist/css/coreui.css +2415 -1223
  28. package/dist/css/coreui.css.map +1 -1
  29. package/dist/css/coreui.min.css +3 -5
  30. package/dist/css/coreui.min.css.map +1 -1
  31. package/dist/css/coreui.rtl.css +2822 -1575
  32. package/dist/css/coreui.rtl.css.map +1 -1
  33. package/dist/css/coreui.rtl.min.css +3 -11
  34. package/dist/css/coreui.rtl.min.css.map +1 -1
  35. package/dist/js/coreui.bundle.js +80 -80
  36. package/dist/js/coreui.bundle.js.map +1 -1
  37. package/dist/js/coreui.bundle.min.js +4 -4
  38. package/dist/js/coreui.bundle.min.js.map +1 -1
  39. package/dist/js/coreui.esm.js +78 -78
  40. package/dist/js/coreui.esm.js.map +1 -1
  41. package/dist/js/coreui.esm.min.js +4 -4
  42. package/dist/js/coreui.esm.min.js.map +1 -1
  43. package/dist/js/coreui.js +80 -80
  44. package/dist/js/coreui.js.map +1 -1
  45. package/dist/js/coreui.min.js +4 -4
  46. package/dist/js/coreui.min.js.map +1 -1
  47. package/js/dist/alert.js +5 -5
  48. package/js/dist/alert.js.map +1 -1
  49. package/js/dist/base-component.js +6 -6
  50. package/js/dist/base-component.js.map +1 -1
  51. package/js/dist/button.js +5 -5
  52. package/js/dist/button.js.map +1 -1
  53. package/js/dist/carousel.js +5 -5
  54. package/js/dist/carousel.js.map +1 -1
  55. package/js/dist/collapse.js +5 -5
  56. package/js/dist/collapse.js.map +1 -1
  57. package/js/dist/dom/data.js +6 -6
  58. package/js/dist/dom/data.js.map +1 -1
  59. package/js/dist/dom/event-handler.js +6 -6
  60. package/js/dist/dom/event-handler.js.map +1 -1
  61. package/js/dist/dom/manipulator.js +7 -7
  62. package/js/dist/dom/manipulator.js.map +1 -1
  63. package/js/dist/dom/selector-engine.js +6 -6
  64. package/js/dist/dom/selector-engine.js.map +1 -1
  65. package/js/dist/dropdown.js +7 -7
  66. package/js/dist/dropdown.js.map +1 -1
  67. package/js/dist/modal.js +5 -5
  68. package/js/dist/modal.js.map +1 -1
  69. package/js/dist/navigation.js +5 -5
  70. package/js/dist/navigation.js.map +1 -1
  71. package/js/dist/offcanvas.js +6 -6
  72. package/js/dist/offcanvas.js.map +1 -1
  73. package/js/dist/popover.js +5 -5
  74. package/js/dist/popover.js.map +1 -1
  75. package/js/dist/scrollspy.js +12 -12
  76. package/js/dist/scrollspy.js.map +1 -1
  77. package/js/dist/sidebar.js +5 -5
  78. package/js/dist/sidebar.js.map +1 -1
  79. package/js/dist/tab.js +5 -5
  80. package/js/dist/tab.js.map +1 -1
  81. package/js/dist/toast.js +5 -5
  82. package/js/dist/toast.js.map +1 -1
  83. package/js/dist/tooltip.js +6 -6
  84. package/js/dist/tooltip.js.map +1 -1
  85. package/js/dist/util/backdrop.js +6 -6
  86. package/js/dist/util/backdrop.js.map +1 -1
  87. package/js/dist/util/component-functions.js +6 -6
  88. package/js/dist/util/component-functions.js.map +1 -1
  89. package/js/dist/util/config.js +6 -6
  90. package/js/dist/util/config.js.map +1 -1
  91. package/js/dist/util/focustrap.js +6 -6
  92. package/js/dist/util/focustrap.js.map +1 -1
  93. package/js/dist/util/index.js +6 -6
  94. package/js/dist/util/index.js.map +1 -1
  95. package/js/dist/util/sanitizer.js +6 -6
  96. package/js/dist/util/sanitizer.js.map +1 -1
  97. package/js/dist/util/scrollbar.js +6 -6
  98. package/js/dist/util/scrollbar.js.map +1 -1
  99. package/js/dist/util/swipe.js +6 -6
  100. package/js/dist/util/swipe.js.map +1 -1
  101. package/js/dist/util/template-factory.js +6 -6
  102. package/js/dist/util/template-factory.js.map +1 -1
  103. package/js/src/alert.js +2 -2
  104. package/js/src/base-component.js +3 -3
  105. package/js/src/button.js +2 -3
  106. package/js/src/carousel.js +2 -2
  107. package/js/src/collapse.js +2 -2
  108. package/js/src/dom/data.js +3 -3
  109. package/js/src/dom/event-handler.js +3 -3
  110. package/js/src/dom/manipulator.js +4 -4
  111. package/js/src/dom/selector-engine.js +3 -3
  112. package/js/src/dropdown.js +4 -4
  113. package/js/src/modal.js +2 -2
  114. package/js/src/navigation.js +2 -2
  115. package/js/src/offcanvas.js +3 -3
  116. package/js/src/popover.js +2 -2
  117. package/js/src/scrollspy.js +6 -6
  118. package/js/src/sidebar.js +2 -2
  119. package/js/src/tab.js +2 -2
  120. package/js/src/toast.js +2 -2
  121. package/js/src/tooltip.js +3 -3
  122. package/js/src/util/backdrop.js +3 -3
  123. package/js/src/util/component-functions.js +3 -3
  124. package/js/src/util/config.js +3 -3
  125. package/js/src/util/focustrap.js +3 -3
  126. package/js/src/util/index.js +3 -3
  127. package/js/src/util/sanitizer.js +3 -3
  128. package/js/src/util/scrollbar.js +3 -3
  129. package/js/src/util/swipe.js +3 -3
  130. package/js/src/util/template-factory.js +4 -3
  131. package/package.json +9 -6
  132. package/scss/_accordion.scss +9 -1
  133. package/scss/_alert.scss +9 -13
  134. package/scss/_avatar.scss +4 -4
  135. package/scss/_badge.scss +1 -10
  136. package/scss/_breadcrumb.scss +4 -9
  137. package/scss/_button-group.scss +4 -4
  138. package/scss/_buttons.scss +70 -15
  139. package/scss/_callout.scss +2 -2
  140. package/scss/_card.scss +7 -3
  141. package/scss/_carousel.scss +17 -7
  142. package/scss/_close.scss +30 -9
  143. package/scss/_dropdown.scss +9 -9
  144. package/scss/_functions.scss +6 -81
  145. package/scss/_images.scss +3 -3
  146. package/scss/_list-group.scss +22 -6
  147. package/scss/_maps.scss +71 -0
  148. package/scss/_mixins.scss +4 -9
  149. package/scss/_modal.scss +2 -2
  150. package/scss/_nav.scss +41 -4
  151. package/scss/_navbar.scss +14 -3
  152. package/scss/_offcanvas.scss +12 -10
  153. package/scss/_pagination.scss +2 -2
  154. package/scss/_progress.scss +10 -44
  155. package/scss/_reboot.scss +22 -21
  156. package/scss/_root.scss +134 -7
  157. package/scss/_sidebar.scss +11 -0
  158. package/scss/_tables.scss +1 -5
  159. package/scss/_toasts.scss +2 -2
  160. package/scss/_tooltip.scss +10 -10
  161. package/scss/_type.scss +3 -1
  162. package/scss/_utilities.scss +160 -53
  163. package/scss/_variables-dark.scss +109 -0
  164. package/scss/_variables.scss +402 -538
  165. package/scss/coreui-grid.scss +4 -8
  166. package/scss/coreui-reboot.scss +4 -7
  167. package/scss/coreui-utilities.scss +3 -7
  168. package/scss/coreui.scss +5 -10
  169. package/scss/forms/_floating-labels.scss +16 -1
  170. package/scss/forms/_form-check.scss +30 -53
  171. package/scss/forms/_form-control.scss +18 -11
  172. package/scss/forms/_form-range.scss +8 -8
  173. package/scss/forms/_form-select.scss +24 -14
  174. package/scss/forms/_form-text.scss +1 -1
  175. package/scss/forms/_input-group.scss +5 -5
  176. package/scss/forms/_labels.scss +2 -2
  177. package/scss/helpers/_colored-links.scss +2 -2
  178. package/scss/helpers/_ratio.scss +1 -1
  179. package/scss/helpers/_vr.scss +0 -1
  180. package/scss/mixins/_alert.scss +4 -1
  181. package/scss/mixins/_banner.scss +7 -0
  182. package/scss/mixins/_border-radius.scss +7 -7
  183. package/scss/mixins/_breakpoints.scss +0 -13
  184. package/scss/mixins/_buttons.scss +49 -53
  185. package/scss/mixins/_caret.scss +31 -26
  186. package/scss/mixins/_color-mode.scss +21 -0
  187. package/scss/mixins/_forms.scss +15 -14
  188. package/scss/mixins/_grid.scss +2 -2
  189. package/scss/mixins/_list-group.scss +22 -11
  190. package/scss/mixins/_lists.scss +1 -1
  191. package/scss/mixins/_utilities.scss +29 -14
  192. package/scss/sidebar/_sidebar-narrow.scss +6 -6
  193. package/scss/sidebar/_sidebar-nav.scss +4 -4
  194. package/scss/sidebar/_sidebar.scss +20 -20
  195. package/scss/tests/mixins/_color-modes.test.scss +69 -0
  196. package/scss/tests/mixins/_utilities.test.scss +393 -0
  197. package/scss/tests/utilities/_api.test.scss +75 -0
  198. package/scss/_header.scss +0 -195
  199. package/scss/_subheader.scss +0 -72
  200. package/scss/coreui-grid.rtl.scss +0 -12
  201. package/scss/coreui-reboot.rtl.scss +0 -12
  202. package/scss/coreui-utilities.rtl.scss +0 -12
  203. package/scss/coreui.rtl.scss +0 -12
  204. package/scss/mixins/_css-vars.scss +0 -87
  205. package/scss/mixins/_ltr-rtl.scss +0 -87
@@ -1,16 +1,16 @@
1
1
  /*!
2
- * CoreUI [object Object] v4.2.5 (https://coreui.io)
3
- * Copyright 2022 The CoreUI Team (https://github.com/orgs/coreui/people)
4
- * Licensed under MIT (https://coreui.io)
2
+ * CoreUI v5.0.0-alpha.0 (https://coreui.io)
3
+ * Copyright 2023 The CoreUI Team (https://github.com/orgs/coreui/people)
4
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
6
6
  import * as Popper from '@popperjs/core';
7
7
 
8
8
  /**
9
9
  * --------------------------------------------------------------------------
10
- * CoreUI (v4.2.5): tab.js
11
- * Licensed under MIT (https://coreui.io/license)
10
+ * CoreUI (v5.0.0-alpha.0): util/index.js
11
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
12
12
  *
13
- * This is a modified version of the Bootstrap's util/index.js
13
+ * This component is a modified version of the Bootstrap's util/index.js
14
14
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
15
15
  * --------------------------------------------------------------------------
16
16
  */
@@ -257,10 +257,10 @@ const getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed
257
257
 
258
258
  /**
259
259
  * --------------------------------------------------------------------------
260
- * CoreUI (v4.2.5): dom/selector-engine.js
261
- * Licensed under MIT (https://coreui.io/license)
260
+ * CoreUI (v5.0.0-alpha.0): dom/event-handler.js
261
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
262
262
  *
263
- * This is a modified version of the Bootstrap's dom/event-handler.js
263
+ * This component is a modified version of the Bootstrap's dom/event-handler.js
264
264
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
265
265
  * --------------------------------------------------------------------------
266
266
  */
@@ -482,10 +482,10 @@ function hydrateObj(obj, meta = {}) {
482
482
 
483
483
  /**
484
484
  * --------------------------------------------------------------------------
485
- * CoreUI (v4.2.5): dom/selector-engine.js
486
- * Licensed under MIT (https://coreui.io/license)
485
+ * CoreUI (v5.0.0-alpha.0): dom/data.js
486
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
487
487
  *
488
- * This is a modified version of the Bootstrap's dom/data.js
488
+ * This component is a modified version of the Bootstrap's dom/data.js
489
489
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
490
490
  * --------------------------------------------------------------------------
491
491
  */
@@ -533,10 +533,10 @@ const Data = {
533
533
 
534
534
  /**
535
535
  * --------------------------------------------------------------------------
536
- * CoreUI (v4.2.5): dom/selector-engine.js
537
- * Licensed under MIT (https://coreui.io/license)
536
+ * CoreUI (v5.0.0-alpha.0): dom/manipulator.js
537
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
538
538
  *
539
- * This is a modified version of the Bootstrap's dom/manipulator.js
539
+ * This component is a modified version of the Bootstrap's dom/manipulator.js
540
540
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
541
541
  * --------------------------------------------------------------------------
542
542
  */
@@ -578,7 +578,7 @@ const Manipulator = {
578
578
  return {};
579
579
  }
580
580
  const attributes = {};
581
- const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('coreui') && !key.startsWith('coreuiConfig'));
581
+ const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('coreu') && !key.startsWith('coreuiConfig'));
582
582
  for (const key of coreuiKeys) {
583
583
  let pureKey = key.replace(/^coreui/, '');
584
584
  pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);
@@ -593,10 +593,10 @@ const Manipulator = {
593
593
 
594
594
  /**
595
595
  * --------------------------------------------------------------------------
596
- * CoreUI (v4.2.5): tab.js
597
- * Licensed under MIT (https://coreui.io/license)
596
+ * CoreUI (v5.0.0-alpha.0): util/config.js
597
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
598
598
  *
599
- * This is a modified version of the Bootstrap's util/config.js
599
+ * This component is a modified version of the Bootstrap's util/config.js
600
600
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
601
601
  * --------------------------------------------------------------------------
602
602
  */
@@ -648,8 +648,8 @@ class Config {
648
648
 
649
649
  /**
650
650
  * --------------------------------------------------------------------------
651
- * CoreUI (v4.2.5): alert.js
652
- * Licensed under MIT (https://coreui.io/license)
651
+ * CoreUI (v5.0.0-alpha.0): base-component.js
652
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
653
653
  *
654
654
  * This component is a modified version of the Bootstrap's base-component.js
655
655
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -660,7 +660,7 @@ class Config {
660
660
  * Constants
661
661
  */
662
662
 
663
- const VERSION = '4.2.5';
663
+ const VERSION = '5.0.0-alpha.0';
664
664
 
665
665
  /**
666
666
  * Class definition
@@ -719,10 +719,10 @@ class BaseComponent extends Config {
719
719
 
720
720
  /**
721
721
  * --------------------------------------------------------------------------
722
- * CoreUI (v4.2.5): dom/selector-engine.js
723
- * Licensed under MIT (https://coreui.io/license)
722
+ * CoreUI (v5.0.0-alpha.0): dom/selector-engine.js
723
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
724
724
  *
725
- * This is a modified version of the Bootstrap's dom/selector-engine.js
725
+ * This component is a modified version of the Bootstrap's dom/selector-engine.js
726
726
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
727
727
  * --------------------------------------------------------------------------
728
728
  */
@@ -810,10 +810,10 @@ const SelectorEngine = {
810
810
 
811
811
  /**
812
812
  * --------------------------------------------------------------------------
813
- * CoreUI (v4.2.5): tab.js
814
- * Licensed under MIT (https://coreui.io/license)
813
+ * CoreUI (v5.0.0-alpha.0): util/component-functions.js
814
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
815
815
  *
816
- * This is a modified version of the Bootstrap's util/component-functions.js
816
+ * This component is a modified version of the Bootstrap's util/component-functions.js
817
817
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
818
818
  * --------------------------------------------------------------------------
819
819
  */
@@ -837,8 +837,8 @@ const enableDismissTrigger = (component, method = 'hide') => {
837
837
 
838
838
  /**
839
839
  * --------------------------------------------------------------------------
840
- * CoreUI (v4.2.5): alert.js
841
- * Licensed under MIT (https://coreui.io/license)
840
+ * CoreUI (v5.0.0-alpha.0): alert.js
841
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
842
842
  *
843
843
  * This component is a modified version of the Bootstrap's alert.js
844
844
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -914,8 +914,8 @@ defineJQueryPlugin(Alert);
914
914
 
915
915
  /**
916
916
  * --------------------------------------------------------------------------
917
- * CoreUI (v4.2.5): alert.js
918
- * Licensed under MIT (https://coreui.io/license)
917
+ * CoreUI (v5.0.0-alpha.0): button.js
918
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
919
919
  *
920
920
  * This component is a modified version of the Bootstrap's button.js
921
921
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -980,10 +980,10 @@ defineJQueryPlugin(Button);
980
980
 
981
981
  /**
982
982
  * --------------------------------------------------------------------------
983
- * CoreUI (v4.2.5): tab.js
984
- * Licensed under MIT (https://coreui.io/license)
983
+ * CoreUI (v5.0.0-alpha.0): util/swipe.js
984
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
985
985
  *
986
- * This is a modified version of the Bootstrap's util/swipe.js
986
+ * This component is a modified version of the Bootstrap's util/swipe.js
987
987
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
988
988
  * --------------------------------------------------------------------------
989
989
  */
@@ -1102,8 +1102,8 @@ class Swipe extends Config {
1102
1102
 
1103
1103
  /**
1104
1104
  * --------------------------------------------------------------------------
1105
- * CoreUI (v4.2.5): carousel.js
1106
- * Licensed under MIT (https://coreui.io/license)
1105
+ * CoreUI (v5.0.0-alpha.0): carousel.js
1106
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
1107
1107
  *
1108
1108
  * This component is a modified version of the Bootstrap's carousel.js
1109
1109
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1477,8 +1477,8 @@ defineJQueryPlugin(Carousel);
1477
1477
 
1478
1478
  /**
1479
1479
  * --------------------------------------------------------------------------
1480
- * CoreUI (v4.2.5): collapse.js
1481
- * Licensed under MIT (https://coreui.io/license)
1480
+ * CoreUI (v5.0.0-alpha.0): collapse.js
1481
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
1482
1482
  *
1483
1483
  * This component is a modified version of the Bootstrap's collapse.js
1484
1484
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1713,8 +1713,8 @@ defineJQueryPlugin(Collapse);
1713
1713
 
1714
1714
  /**
1715
1715
  * --------------------------------------------------------------------------
1716
- * CoreUI (v4.2.5): dropdown.js
1717
- * Licensed under MIT (https://coreui.io/license)
1716
+ * CoreUI (v5.0.0-alpha.0): dropdown.js
1717
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
1718
1718
  *
1719
1719
  * This component is a modified version of the Bootstrap's dropdown.js
1720
1720
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1788,7 +1788,7 @@ class Dropdown extends BaseComponent {
1788
1788
  super(element, config);
1789
1789
  this._popper = null;
1790
1790
  this._parent = this._element.parentNode; // dropdown wrapper
1791
- // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/
1791
+ // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/
1792
1792
  this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);
1793
1793
  this._inNavbar = this._detectNavbar();
1794
1794
  }
@@ -2044,7 +2044,7 @@ class Dropdown extends BaseComponent {
2044
2044
  }
2045
2045
  event.preventDefault();
2046
2046
 
2047
- // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/
2047
+ // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/
2048
2048
  const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE$4) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$4)[0] || SelectorEngine.next(this, SELECTOR_DATA_TOGGLE$4)[0] || SelectorEngine.findOne(SELECTOR_DATA_TOGGLE$4, event.delegateTarget.parentNode);
2049
2049
  const instance = Dropdown.getOrCreateInstance(getToggleButton);
2050
2050
  if (isUpOrDownEvent) {
@@ -2083,10 +2083,10 @@ defineJQueryPlugin(Dropdown);
2083
2083
 
2084
2084
  /**
2085
2085
  * --------------------------------------------------------------------------
2086
- * CoreUI (v4.2.5): tab.js
2087
- * Licensed under MIT (https://coreui.io/license)
2086
+ * CoreUI (v5.0.0-alpha.0): util/scrollBar.js
2087
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2088
2088
  *
2089
- * This is a modified version of the Bootstrap's util/scrollBar.js
2089
+ * This component is a modified version of the Bootstrap's util/scrollBar.js
2090
2090
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
2091
2091
  * --------------------------------------------------------------------------
2092
2092
  */
@@ -2183,10 +2183,10 @@ class ScrollBarHelper {
2183
2183
 
2184
2184
  /**
2185
2185
  * --------------------------------------------------------------------------
2186
- * CoreUI (v4.2.5): tab.js
2187
- * Licensed under MIT (https://coreui.io/license)
2186
+ * CoreUI (v5.0.0-alpha.0): util/backdrop.js
2187
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2188
2188
  *
2189
- * This is a modified version of the Bootstrap's util/backdrop.js
2189
+ * This component is a modified version of the Bootstrap's util/backdrop.js
2190
2190
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
2191
2191
  * --------------------------------------------------------------------------
2192
2192
  */
@@ -2310,10 +2310,10 @@ class Backdrop extends Config {
2310
2310
 
2311
2311
  /**
2312
2312
  * --------------------------------------------------------------------------
2313
- * CoreUI (v4.2.5): tab.js
2314
- * Licensed under MIT (https://coreui.io/license)
2313
+ * CoreUI (v5.0.0-alpha.0): util/focustrap.js
2314
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2315
2315
  *
2316
- * This is a modified version of the Bootstrap's util/focustrap.js
2316
+ * This component is a modified version of the Bootstrap's util/focustrap.js
2317
2317
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
2318
2318
  * --------------------------------------------------------------------------
2319
2319
  */
@@ -2411,8 +2411,8 @@ class FocusTrap extends Config {
2411
2411
 
2412
2412
  /**
2413
2413
  * --------------------------------------------------------------------------
2414
- * CoreUI (v4.2.5): modal.js
2415
- * Licensed under MIT (https://coreui.io/license)
2414
+ * CoreUI (v5.0.0-alpha.0): modal.js
2415
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2416
2416
  *
2417
2417
  * This component is a modified version of the Bootstrap's modal.js
2418
2418
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -2720,8 +2720,8 @@ defineJQueryPlugin(Modal);
2720
2720
 
2721
2721
  /**
2722
2722
  * --------------------------------------------------------------------------
2723
- * CoreUI (v4.2.5): navigation.js
2724
- * Licensed under MIT (https://coreui.io/license)
2723
+ * CoreUI (v5.0.0-alpha.0): navigation.js
2724
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2725
2725
  * --------------------------------------------------------------------------
2726
2726
  */
2727
2727
 
@@ -2974,11 +2974,11 @@ defineJQueryPlugin(Navigation);
2974
2974
 
2975
2975
  /**
2976
2976
  * --------------------------------------------------------------------------
2977
- * CoreUI (v4.2.5): dropdown.js
2978
- * Licensed under MIT (https://coreui.io/license)
2977
+ * CoreUI (v5.0.0-alpha.0): offcanvas.js
2978
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2979
2979
  *
2980
2980
  * This component is a modified version of the Bootstrap's offcanvas.js
2981
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2981
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
2982
2982
  * --------------------------------------------------------------------------
2983
2983
  */
2984
2984
 
@@ -3207,10 +3207,10 @@ defineJQueryPlugin(Offcanvas);
3207
3207
 
3208
3208
  /**
3209
3209
  * --------------------------------------------------------------------------
3210
- * CoreUI (v4.2.5): tab.js
3211
- * Licensed under MIT (https://coreui.io/license)
3210
+ * CoreUI (v5.0.0-alpha.0): util/sanitizer.js
3211
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3212
3212
  *
3213
- * This is a modified version of the Bootstrap's util/sanitizer.js
3213
+ * This component is a modified version of the Bootstrap's util/sanitizer.js
3214
3214
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
3215
3215
  * --------------------------------------------------------------------------
3216
3216
  */
@@ -3305,10 +3305,10 @@ function sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) {
3305
3305
 
3306
3306
  /**
3307
3307
  * --------------------------------------------------------------------------
3308
- * CoreUI (v4.2.5): tab.js
3309
- * Licensed under MIT (https://coreui.io/license)
3308
+ * CoreUI (v5.0.0-alpha.0): util/template-factory.js
3309
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3310
3310
  *
3311
- * This is a modified version of the Bootstrap's util/template-factory.js
3311
+ * This component is a modified version of the Bootstrap's util/template-factory.js
3312
3312
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
3313
3313
  * --------------------------------------------------------------------------
3314
3314
  */
@@ -3443,8 +3443,8 @@ class TemplateFactory extends Config {
3443
3443
 
3444
3444
  /**
3445
3445
  * --------------------------------------------------------------------------
3446
- * CoreUI (v4.2.5): tooltip.js
3447
- * Licensed under MIT (https://coreui.io/license)
3446
+ * CoreUI (v5.0.0-alpha.0): tooltip.js
3447
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3448
3448
  *
3449
3449
  * This component is a modified version of the Bootstrap's tooltip.js
3450
3450
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -3698,7 +3698,7 @@ class Tooltip extends BaseComponent {
3698
3698
  }
3699
3699
  tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$3);
3700
3700
  // todo: on v6 the following can be achieved with CSS only
3701
- tip.classList.add(`bs-${this.constructor.NAME}-auto`);
3701
+ tip.classList.add(`cui-${this.constructor.NAME}-auto`);
3702
3702
  const tipId = getUID(this.constructor.NAME).toString();
3703
3703
  tip.setAttribute('id', tipId);
3704
3704
  if (this._isAnimated()) {
@@ -3957,8 +3957,8 @@ defineJQueryPlugin(Tooltip);
3957
3957
 
3958
3958
  /**
3959
3959
  * --------------------------------------------------------------------------
3960
- * CoreUI (v4.2.5): popover.js
3961
- * Licensed under MIT (https://coreui.io/license)
3960
+ * CoreUI (v5.0.0-alpha.0): popover.js
3961
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3962
3962
  *
3963
3963
  * This component is a modified version of the Bootstrap's popover.js
3964
3964
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -4040,8 +4040,8 @@ defineJQueryPlugin(Popover);
4040
4040
 
4041
4041
  /**
4042
4042
  * --------------------------------------------------------------------------
4043
- * CoreUI (v4.2.5): scrollspy.js
4044
- * Licensed under MIT (https://coreui.io/license)
4043
+ * CoreUI (v5.0.0-alpha.0): scrollspy.js
4044
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4045
4045
  *
4046
4046
  * This component is a modified version of the Bootstrap's scrollspy.js
4047
4047
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -4302,8 +4302,8 @@ defineJQueryPlugin(ScrollSpy);
4302
4302
 
4303
4303
  /**
4304
4304
  * --------------------------------------------------------------------------
4305
- * CoreUI (v4.2.5): sidebar.js
4306
- * Licensed under MIT (https://coreui.io/license)
4305
+ * CoreUI (v5.0.0-alpha.0): sidebar.js
4306
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4307
4307
  * --------------------------------------------------------------------------
4308
4308
  */
4309
4309
 
@@ -4582,8 +4582,8 @@ defineJQueryPlugin(Sidebar);
4582
4582
 
4583
4583
  /**
4584
4584
  * --------------------------------------------------------------------------
4585
- * CoreUI (v4.2.5): tab.js
4586
- * Licensed under MIT (https://coreui.io/license)
4585
+ * CoreUI (v5.0.0-alpha.0): tab.js
4586
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4587
4587
  *
4588
4588
  * This component is a modified version of the Bootstrap's tab.js
4589
4589
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -4846,8 +4846,8 @@ defineJQueryPlugin(Tab);
4846
4846
 
4847
4847
  /**
4848
4848
  * --------------------------------------------------------------------------
4849
- * CoreUI (v4.2.5): toast.js
4850
- * Licensed under MIT (https://coreui.io/license)
4849
+ * CoreUI (v5.0.0-alpha.0): toast.js
4850
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4851
4851
  *
4852
4852
  * This component is a modified version of the Bootstrap's toast.js
4853
4853
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)