@coreui/coreui 4.2.6 → 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 +133 -22
  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 +216 -113
  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 +151 -36
  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 +159 -47
  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 +1116 -104
  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 +1261 -246
  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 +2412 -1220
  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 +2821 -1574
  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 +133 -6
  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
package/dist/js/coreui.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * CoreUI [object Object] v4.2.6 (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
  (function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@popperjs/core')) :
@@ -30,10 +30,10 @@
30
30
 
31
31
  /**
32
32
  * --------------------------------------------------------------------------
33
- * CoreUI (v4.2.6): tab.js
34
- * Licensed under MIT (https://coreui.io/license)
33
+ * CoreUI (v5.0.0-alpha.0): util/index.js
34
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
35
35
  *
36
- * This is a modified version of the Bootstrap's util/index.js
36
+ * This component is a modified version of the Bootstrap's util/index.js
37
37
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
38
38
  * --------------------------------------------------------------------------
39
39
  */
@@ -280,10 +280,10 @@
280
280
 
281
281
  /**
282
282
  * --------------------------------------------------------------------------
283
- * CoreUI (v4.2.6): dom/selector-engine.js
284
- * Licensed under MIT (https://coreui.io/license)
283
+ * CoreUI (v5.0.0-alpha.0): dom/event-handler.js
284
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
285
285
  *
286
- * This is a modified version of the Bootstrap's dom/event-handler.js
286
+ * This component is a modified version of the Bootstrap's dom/event-handler.js
287
287
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
288
288
  * --------------------------------------------------------------------------
289
289
  */
@@ -505,10 +505,10 @@
505
505
 
506
506
  /**
507
507
  * --------------------------------------------------------------------------
508
- * CoreUI (v4.2.6): dom/selector-engine.js
509
- * Licensed under MIT (https://coreui.io/license)
508
+ * CoreUI (v5.0.0-alpha.0): dom/data.js
509
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
510
510
  *
511
- * This is a modified version of the Bootstrap's dom/data.js
511
+ * This component is a modified version of the Bootstrap's dom/data.js
512
512
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
513
513
  * --------------------------------------------------------------------------
514
514
  */
@@ -556,10 +556,10 @@
556
556
 
557
557
  /**
558
558
  * --------------------------------------------------------------------------
559
- * CoreUI (v4.2.6): dom/selector-engine.js
560
- * Licensed under MIT (https://coreui.io/license)
559
+ * CoreUI (v5.0.0-alpha.0): dom/manipulator.js
560
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
561
561
  *
562
- * This is a modified version of the Bootstrap's dom/manipulator.js
562
+ * This component is a modified version of the Bootstrap's dom/manipulator.js
563
563
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
564
564
  * --------------------------------------------------------------------------
565
565
  */
@@ -601,7 +601,7 @@
601
601
  return {};
602
602
  }
603
603
  const attributes = {};
604
- const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('coreui') && !key.startsWith('coreuiConfig'));
604
+ const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('coreu') && !key.startsWith('coreuiConfig'));
605
605
  for (const key of coreuiKeys) {
606
606
  let pureKey = key.replace(/^coreui/, '');
607
607
  pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);
@@ -616,10 +616,10 @@
616
616
 
617
617
  /**
618
618
  * --------------------------------------------------------------------------
619
- * CoreUI (v4.2.6): tab.js
620
- * Licensed under MIT (https://coreui.io/license)
619
+ * CoreUI (v5.0.0-alpha.0): util/config.js
620
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
621
621
  *
622
- * This is a modified version of the Bootstrap's util/config.js
622
+ * This component is a modified version of the Bootstrap's util/config.js
623
623
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
624
624
  * --------------------------------------------------------------------------
625
625
  */
@@ -671,8 +671,8 @@
671
671
 
672
672
  /**
673
673
  * --------------------------------------------------------------------------
674
- * CoreUI (v4.2.6): alert.js
675
- * Licensed under MIT (https://coreui.io/license)
674
+ * CoreUI (v5.0.0-alpha.0): base-component.js
675
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
676
676
  *
677
677
  * This component is a modified version of the Bootstrap's base-component.js
678
678
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -683,7 +683,7 @@
683
683
  * Constants
684
684
  */
685
685
 
686
- const VERSION = '4.2.6';
686
+ const VERSION = '5.0.0-alpha.0';
687
687
 
688
688
  /**
689
689
  * Class definition
@@ -742,10 +742,10 @@
742
742
 
743
743
  /**
744
744
  * --------------------------------------------------------------------------
745
- * CoreUI (v4.2.6): dom/selector-engine.js
746
- * Licensed under MIT (https://coreui.io/license)
745
+ * CoreUI (v5.0.0-alpha.0): dom/selector-engine.js
746
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
747
747
  *
748
- * This is a modified version of the Bootstrap's dom/selector-engine.js
748
+ * This component is a modified version of the Bootstrap's dom/selector-engine.js
749
749
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
750
750
  * --------------------------------------------------------------------------
751
751
  */
@@ -833,10 +833,10 @@
833
833
 
834
834
  /**
835
835
  * --------------------------------------------------------------------------
836
- * CoreUI (v4.2.6): tab.js
837
- * Licensed under MIT (https://coreui.io/license)
836
+ * CoreUI (v5.0.0-alpha.0): util/component-functions.js
837
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
838
838
  *
839
- * This is a modified version of the Bootstrap's util/component-functions.js
839
+ * This component is a modified version of the Bootstrap's util/component-functions.js
840
840
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
841
841
  * --------------------------------------------------------------------------
842
842
  */
@@ -860,8 +860,8 @@
860
860
 
861
861
  /**
862
862
  * --------------------------------------------------------------------------
863
- * CoreUI (v4.2.6): alert.js
864
- * Licensed under MIT (https://coreui.io/license)
863
+ * CoreUI (v5.0.0-alpha.0): alert.js
864
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
865
865
  *
866
866
  * This component is a modified version of the Bootstrap's alert.js
867
867
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -937,8 +937,8 @@
937
937
 
938
938
  /**
939
939
  * --------------------------------------------------------------------------
940
- * CoreUI (v4.2.6): alert.js
941
- * Licensed under MIT (https://coreui.io/license)
940
+ * CoreUI (v5.0.0-alpha.0): button.js
941
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
942
942
  *
943
943
  * This component is a modified version of the Bootstrap's button.js
944
944
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1003,10 +1003,10 @@
1003
1003
 
1004
1004
  /**
1005
1005
  * --------------------------------------------------------------------------
1006
- * CoreUI (v4.2.6): tab.js
1007
- * Licensed under MIT (https://coreui.io/license)
1006
+ * CoreUI (v5.0.0-alpha.0): util/swipe.js
1007
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
1008
1008
  *
1009
- * This is a modified version of the Bootstrap's util/swipe.js
1009
+ * This component is a modified version of the Bootstrap's util/swipe.js
1010
1010
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
1011
1011
  * --------------------------------------------------------------------------
1012
1012
  */
@@ -1125,8 +1125,8 @@
1125
1125
 
1126
1126
  /**
1127
1127
  * --------------------------------------------------------------------------
1128
- * CoreUI (v4.2.6): carousel.js
1129
- * Licensed under MIT (https://coreui.io/license)
1128
+ * CoreUI (v5.0.0-alpha.0): carousel.js
1129
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
1130
1130
  *
1131
1131
  * This component is a modified version of the Bootstrap's carousel.js
1132
1132
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1500,8 +1500,8 @@
1500
1500
 
1501
1501
  /**
1502
1502
  * --------------------------------------------------------------------------
1503
- * CoreUI (v4.2.6): collapse.js
1504
- * Licensed under MIT (https://coreui.io/license)
1503
+ * CoreUI (v5.0.0-alpha.0): collapse.js
1504
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
1505
1505
  *
1506
1506
  * This component is a modified version of the Bootstrap's collapse.js
1507
1507
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1736,8 +1736,8 @@
1736
1736
 
1737
1737
  /**
1738
1738
  * --------------------------------------------------------------------------
1739
- * CoreUI (v4.2.6): dropdown.js
1740
- * Licensed under MIT (https://coreui.io/license)
1739
+ * CoreUI (v5.0.0-alpha.0): dropdown.js
1740
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
1741
1741
  *
1742
1742
  * This component is a modified version of the Bootstrap's dropdown.js
1743
1743
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1811,7 +1811,7 @@
1811
1811
  super(element, config);
1812
1812
  this._popper = null;
1813
1813
  this._parent = this._element.parentNode; // dropdown wrapper
1814
- // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/
1814
+ // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/
1815
1815
  this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);
1816
1816
  this._inNavbar = this._detectNavbar();
1817
1817
  }
@@ -2067,7 +2067,7 @@
2067
2067
  }
2068
2068
  event.preventDefault();
2069
2069
 
2070
- // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/
2070
+ // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/
2071
2071
  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);
2072
2072
  const instance = Dropdown.getOrCreateInstance(getToggleButton);
2073
2073
  if (isUpOrDownEvent) {
@@ -2106,10 +2106,10 @@
2106
2106
 
2107
2107
  /**
2108
2108
  * --------------------------------------------------------------------------
2109
- * CoreUI (v4.2.6): tab.js
2110
- * Licensed under MIT (https://coreui.io/license)
2109
+ * CoreUI (v5.0.0-alpha.0): util/scrollBar.js
2110
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2111
2111
  *
2112
- * This is a modified version of the Bootstrap's util/scrollBar.js
2112
+ * This component is a modified version of the Bootstrap's util/scrollBar.js
2113
2113
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
2114
2114
  * --------------------------------------------------------------------------
2115
2115
  */
@@ -2206,10 +2206,10 @@
2206
2206
 
2207
2207
  /**
2208
2208
  * --------------------------------------------------------------------------
2209
- * CoreUI (v4.2.6): tab.js
2210
- * Licensed under MIT (https://coreui.io/license)
2209
+ * CoreUI (v5.0.0-alpha.0): util/backdrop.js
2210
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2211
2211
  *
2212
- * This is a modified version of the Bootstrap's util/backdrop.js
2212
+ * This component is a modified version of the Bootstrap's util/backdrop.js
2213
2213
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
2214
2214
  * --------------------------------------------------------------------------
2215
2215
  */
@@ -2333,10 +2333,10 @@
2333
2333
 
2334
2334
  /**
2335
2335
  * --------------------------------------------------------------------------
2336
- * CoreUI (v4.2.6): tab.js
2337
- * Licensed under MIT (https://coreui.io/license)
2336
+ * CoreUI (v5.0.0-alpha.0): util/focustrap.js
2337
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2338
2338
  *
2339
- * This is a modified version of the Bootstrap's util/focustrap.js
2339
+ * This component is a modified version of the Bootstrap's util/focustrap.js
2340
2340
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
2341
2341
  * --------------------------------------------------------------------------
2342
2342
  */
@@ -2434,8 +2434,8 @@
2434
2434
 
2435
2435
  /**
2436
2436
  * --------------------------------------------------------------------------
2437
- * CoreUI (v4.2.6): modal.js
2438
- * Licensed under MIT (https://coreui.io/license)
2437
+ * CoreUI (v5.0.0-alpha.0): modal.js
2438
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2439
2439
  *
2440
2440
  * This component is a modified version of the Bootstrap's modal.js
2441
2441
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -2743,8 +2743,8 @@
2743
2743
 
2744
2744
  /**
2745
2745
  * --------------------------------------------------------------------------
2746
- * CoreUI (v4.2.6): navigation.js
2747
- * Licensed under MIT (https://coreui.io/license)
2746
+ * CoreUI (v5.0.0-alpha.0): navigation.js
2747
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
2748
2748
  * --------------------------------------------------------------------------
2749
2749
  */
2750
2750
 
@@ -2997,11 +2997,11 @@
2997
2997
 
2998
2998
  /**
2999
2999
  * --------------------------------------------------------------------------
3000
- * CoreUI (v4.2.6): dropdown.js
3001
- * Licensed under MIT (https://coreui.io/license)
3000
+ * CoreUI (v5.0.0-alpha.0): offcanvas.js
3001
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3002
3002
  *
3003
3003
  * This component is a modified version of the Bootstrap's offcanvas.js
3004
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
3004
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
3005
3005
  * --------------------------------------------------------------------------
3006
3006
  */
3007
3007
 
@@ -3230,10 +3230,10 @@
3230
3230
 
3231
3231
  /**
3232
3232
  * --------------------------------------------------------------------------
3233
- * CoreUI (v4.2.6): tab.js
3234
- * Licensed under MIT (https://coreui.io/license)
3233
+ * CoreUI (v5.0.0-alpha.0): util/sanitizer.js
3234
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3235
3235
  *
3236
- * This is a modified version of the Bootstrap's util/sanitizer.js
3236
+ * This component is a modified version of the Bootstrap's util/sanitizer.js
3237
3237
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
3238
3238
  * --------------------------------------------------------------------------
3239
3239
  */
@@ -3328,10 +3328,10 @@
3328
3328
 
3329
3329
  /**
3330
3330
  * --------------------------------------------------------------------------
3331
- * CoreUI (v4.2.6): tab.js
3332
- * Licensed under MIT (https://coreui.io/license)
3331
+ * CoreUI (v5.0.0-alpha.0): util/template-factory.js
3332
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3333
3333
  *
3334
- * This is a modified version of the Bootstrap's util/template-factory.js
3334
+ * This component is a modified version of the Bootstrap's util/template-factory.js
3335
3335
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
3336
3336
  * --------------------------------------------------------------------------
3337
3337
  */
@@ -3466,8 +3466,8 @@
3466
3466
 
3467
3467
  /**
3468
3468
  * --------------------------------------------------------------------------
3469
- * CoreUI (v4.2.6): tooltip.js
3470
- * Licensed under MIT (https://coreui.io/license)
3469
+ * CoreUI (v5.0.0-alpha.0): tooltip.js
3470
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3471
3471
  *
3472
3472
  * This component is a modified version of the Bootstrap's tooltip.js
3473
3473
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -3721,7 +3721,7 @@
3721
3721
  }
3722
3722
  tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$3);
3723
3723
  // todo: on v6 the following can be achieved with CSS only
3724
- tip.classList.add(`bs-${this.constructor.NAME}-auto`);
3724
+ tip.classList.add(`cui-${this.constructor.NAME}-auto`);
3725
3725
  const tipId = getUID(this.constructor.NAME).toString();
3726
3726
  tip.setAttribute('id', tipId);
3727
3727
  if (this._isAnimated()) {
@@ -3980,8 +3980,8 @@
3980
3980
 
3981
3981
  /**
3982
3982
  * --------------------------------------------------------------------------
3983
- * CoreUI (v4.2.6): popover.js
3984
- * Licensed under MIT (https://coreui.io/license)
3983
+ * CoreUI (v5.0.0-alpha.0): popover.js
3984
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
3985
3985
  *
3986
3986
  * This component is a modified version of the Bootstrap's popover.js
3987
3987
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -4063,8 +4063,8 @@
4063
4063
 
4064
4064
  /**
4065
4065
  * --------------------------------------------------------------------------
4066
- * CoreUI (v4.2.6): scrollspy.js
4067
- * Licensed under MIT (https://coreui.io/license)
4066
+ * CoreUI (v5.0.0-alpha.0): scrollspy.js
4067
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4068
4068
  *
4069
4069
  * This component is a modified version of the Bootstrap's scrollspy.js
4070
4070
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -4325,8 +4325,8 @@
4325
4325
 
4326
4326
  /**
4327
4327
  * --------------------------------------------------------------------------
4328
- * CoreUI (v4.2.6): sidebar.js
4329
- * Licensed under MIT (https://coreui.io/license)
4328
+ * CoreUI (v5.0.0-alpha.0): sidebar.js
4329
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4330
4330
  * --------------------------------------------------------------------------
4331
4331
  */
4332
4332
 
@@ -4605,8 +4605,8 @@
4605
4605
 
4606
4606
  /**
4607
4607
  * --------------------------------------------------------------------------
4608
- * CoreUI (v4.2.6): tab.js
4609
- * Licensed under MIT (https://coreui.io/license)
4608
+ * CoreUI (v5.0.0-alpha.0): tab.js
4609
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4610
4610
  *
4611
4611
  * This component is a modified version of the Bootstrap's tab.js
4612
4612
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -4869,8 +4869,8 @@
4869
4869
 
4870
4870
  /**
4871
4871
  * --------------------------------------------------------------------------
4872
- * CoreUI (v4.2.6): toast.js
4873
- * Licensed under MIT (https://coreui.io/license)
4872
+ * CoreUI (v5.0.0-alpha.0): toast.js
4873
+ * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
4874
4874
  *
4875
4875
  * This component is a modified version of the Bootstrap's toast.js
4876
4876
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -5055,8 +5055,8 @@
5055
5055
 
5056
5056
  /**
5057
5057
  * --------------------------------------------------------------------------
5058
- * CoreUI (v4.2.6): index.esm.js
5059
- * Licensed under MIT (https://coreui.io/license)
5058
+ * CoreUI (v5.0.0-alpha.0): index.esm.js
5059
+ * https://github.com/coreui/coreui/blob/main/LICENSE
5060
5060
  * --------------------------------------------------------------------------
5061
5061
  */
5062
5062
  const index_umd = {