@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.
- package/LICENSE +1 -2
- package/README.md +1 -1
- package/dist/css/coreui-grid.css +134 -23
- package/dist/css/coreui-grid.css.map +1 -1
- package/dist/css/coreui-grid.min.css +3 -5
- package/dist/css/coreui-grid.min.css.map +1 -1
- package/dist/css/coreui-grid.rtl.css +217 -114
- package/dist/css/coreui-grid.rtl.css.map +1 -1
- package/dist/css/coreui-grid.rtl.min.css +3 -11
- package/dist/css/coreui-grid.rtl.min.css.map +1 -1
- package/dist/css/coreui-reboot.css +152 -37
- package/dist/css/coreui-reboot.css.map +1 -1
- package/dist/css/coreui-reboot.min.css +3 -5
- package/dist/css/coreui-reboot.min.css.map +1 -1
- package/dist/css/coreui-reboot.rtl.css +160 -48
- package/dist/css/coreui-reboot.rtl.css.map +1 -1
- package/dist/css/coreui-reboot.rtl.min.css +3 -11
- package/dist/css/coreui-reboot.rtl.min.css.map +1 -1
- package/dist/css/coreui-utilities.css +1117 -105
- package/dist/css/coreui-utilities.css.map +1 -1
- package/dist/css/coreui-utilities.min.css +3 -5
- package/dist/css/coreui-utilities.min.css.map +1 -1
- package/dist/css/coreui-utilities.rtl.css +1262 -247
- package/dist/css/coreui-utilities.rtl.css.map +1 -1
- package/dist/css/coreui-utilities.rtl.min.css +3 -11
- package/dist/css/coreui-utilities.rtl.min.css.map +1 -1
- package/dist/css/coreui.css +2415 -1223
- package/dist/css/coreui.css.map +1 -1
- package/dist/css/coreui.min.css +3 -5
- package/dist/css/coreui.min.css.map +1 -1
- package/dist/css/coreui.rtl.css +2822 -1575
- package/dist/css/coreui.rtl.css.map +1 -1
- package/dist/css/coreui.rtl.min.css +3 -11
- package/dist/css/coreui.rtl.min.css.map +1 -1
- package/dist/js/coreui.bundle.js +80 -80
- package/dist/js/coreui.bundle.js.map +1 -1
- package/dist/js/coreui.bundle.min.js +4 -4
- package/dist/js/coreui.bundle.min.js.map +1 -1
- package/dist/js/coreui.esm.js +78 -78
- package/dist/js/coreui.esm.js.map +1 -1
- package/dist/js/coreui.esm.min.js +4 -4
- package/dist/js/coreui.esm.min.js.map +1 -1
- package/dist/js/coreui.js +80 -80
- package/dist/js/coreui.js.map +1 -1
- package/dist/js/coreui.min.js +4 -4
- package/dist/js/coreui.min.js.map +1 -1
- package/js/dist/alert.js +5 -5
- package/js/dist/alert.js.map +1 -1
- package/js/dist/base-component.js +6 -6
- package/js/dist/base-component.js.map +1 -1
- package/js/dist/button.js +5 -5
- package/js/dist/button.js.map +1 -1
- package/js/dist/carousel.js +5 -5
- package/js/dist/carousel.js.map +1 -1
- package/js/dist/collapse.js +5 -5
- package/js/dist/collapse.js.map +1 -1
- package/js/dist/dom/data.js +6 -6
- package/js/dist/dom/data.js.map +1 -1
- package/js/dist/dom/event-handler.js +6 -6
- package/js/dist/dom/event-handler.js.map +1 -1
- package/js/dist/dom/manipulator.js +7 -7
- package/js/dist/dom/manipulator.js.map +1 -1
- package/js/dist/dom/selector-engine.js +6 -6
- package/js/dist/dom/selector-engine.js.map +1 -1
- package/js/dist/dropdown.js +7 -7
- package/js/dist/dropdown.js.map +1 -1
- package/js/dist/modal.js +5 -5
- package/js/dist/modal.js.map +1 -1
- package/js/dist/navigation.js +5 -5
- package/js/dist/navigation.js.map +1 -1
- package/js/dist/offcanvas.js +6 -6
- package/js/dist/offcanvas.js.map +1 -1
- package/js/dist/popover.js +5 -5
- package/js/dist/popover.js.map +1 -1
- package/js/dist/scrollspy.js +12 -12
- package/js/dist/scrollspy.js.map +1 -1
- package/js/dist/sidebar.js +5 -5
- package/js/dist/sidebar.js.map +1 -1
- package/js/dist/tab.js +5 -5
- package/js/dist/tab.js.map +1 -1
- package/js/dist/toast.js +5 -5
- package/js/dist/toast.js.map +1 -1
- package/js/dist/tooltip.js +6 -6
- package/js/dist/tooltip.js.map +1 -1
- package/js/dist/util/backdrop.js +6 -6
- package/js/dist/util/backdrop.js.map +1 -1
- package/js/dist/util/component-functions.js +6 -6
- package/js/dist/util/component-functions.js.map +1 -1
- package/js/dist/util/config.js +6 -6
- package/js/dist/util/config.js.map +1 -1
- package/js/dist/util/focustrap.js +6 -6
- package/js/dist/util/focustrap.js.map +1 -1
- package/js/dist/util/index.js +6 -6
- package/js/dist/util/index.js.map +1 -1
- package/js/dist/util/sanitizer.js +6 -6
- package/js/dist/util/sanitizer.js.map +1 -1
- package/js/dist/util/scrollbar.js +6 -6
- package/js/dist/util/scrollbar.js.map +1 -1
- package/js/dist/util/swipe.js +6 -6
- package/js/dist/util/swipe.js.map +1 -1
- package/js/dist/util/template-factory.js +6 -6
- package/js/dist/util/template-factory.js.map +1 -1
- package/js/src/alert.js +2 -2
- package/js/src/base-component.js +3 -3
- package/js/src/button.js +2 -3
- package/js/src/carousel.js +2 -2
- package/js/src/collapse.js +2 -2
- package/js/src/dom/data.js +3 -3
- package/js/src/dom/event-handler.js +3 -3
- package/js/src/dom/manipulator.js +4 -4
- package/js/src/dom/selector-engine.js +3 -3
- package/js/src/dropdown.js +4 -4
- package/js/src/modal.js +2 -2
- package/js/src/navigation.js +2 -2
- package/js/src/offcanvas.js +3 -3
- package/js/src/popover.js +2 -2
- package/js/src/scrollspy.js +6 -6
- package/js/src/sidebar.js +2 -2
- package/js/src/tab.js +2 -2
- package/js/src/toast.js +2 -2
- package/js/src/tooltip.js +3 -3
- package/js/src/util/backdrop.js +3 -3
- package/js/src/util/component-functions.js +3 -3
- package/js/src/util/config.js +3 -3
- package/js/src/util/focustrap.js +3 -3
- package/js/src/util/index.js +3 -3
- package/js/src/util/sanitizer.js +3 -3
- package/js/src/util/scrollbar.js +3 -3
- package/js/src/util/swipe.js +3 -3
- package/js/src/util/template-factory.js +4 -3
- package/package.json +9 -6
- package/scss/_accordion.scss +9 -1
- package/scss/_alert.scss +9 -13
- package/scss/_avatar.scss +4 -4
- package/scss/_badge.scss +1 -10
- package/scss/_breadcrumb.scss +4 -9
- package/scss/_button-group.scss +4 -4
- package/scss/_buttons.scss +70 -15
- package/scss/_callout.scss +2 -2
- package/scss/_card.scss +7 -3
- package/scss/_carousel.scss +17 -7
- package/scss/_close.scss +30 -9
- package/scss/_dropdown.scss +9 -9
- package/scss/_functions.scss +6 -81
- package/scss/_images.scss +3 -3
- package/scss/_list-group.scss +22 -6
- package/scss/_maps.scss +71 -0
- package/scss/_mixins.scss +4 -9
- package/scss/_modal.scss +2 -2
- package/scss/_nav.scss +41 -4
- package/scss/_navbar.scss +14 -3
- package/scss/_offcanvas.scss +12 -10
- package/scss/_pagination.scss +2 -2
- package/scss/_progress.scss +10 -44
- package/scss/_reboot.scss +22 -21
- package/scss/_root.scss +134 -7
- package/scss/_sidebar.scss +11 -0
- package/scss/_tables.scss +1 -5
- package/scss/_toasts.scss +2 -2
- package/scss/_tooltip.scss +10 -10
- package/scss/_type.scss +3 -1
- package/scss/_utilities.scss +160 -53
- package/scss/_variables-dark.scss +109 -0
- package/scss/_variables.scss +402 -538
- package/scss/coreui-grid.scss +4 -8
- package/scss/coreui-reboot.scss +4 -7
- package/scss/coreui-utilities.scss +3 -7
- package/scss/coreui.scss +5 -10
- package/scss/forms/_floating-labels.scss +16 -1
- package/scss/forms/_form-check.scss +30 -53
- package/scss/forms/_form-control.scss +18 -11
- package/scss/forms/_form-range.scss +8 -8
- package/scss/forms/_form-select.scss +24 -14
- package/scss/forms/_form-text.scss +1 -1
- package/scss/forms/_input-group.scss +5 -5
- package/scss/forms/_labels.scss +2 -2
- package/scss/helpers/_colored-links.scss +2 -2
- package/scss/helpers/_ratio.scss +1 -1
- package/scss/helpers/_vr.scss +0 -1
- package/scss/mixins/_alert.scss +4 -1
- package/scss/mixins/_banner.scss +7 -0
- package/scss/mixins/_border-radius.scss +7 -7
- package/scss/mixins/_breakpoints.scss +0 -13
- package/scss/mixins/_buttons.scss +49 -53
- package/scss/mixins/_caret.scss +31 -26
- package/scss/mixins/_color-mode.scss +21 -0
- package/scss/mixins/_forms.scss +15 -14
- package/scss/mixins/_grid.scss +2 -2
- package/scss/mixins/_list-group.scss +22 -11
- package/scss/mixins/_lists.scss +1 -1
- package/scss/mixins/_utilities.scss +29 -14
- package/scss/sidebar/_sidebar-narrow.scss +6 -6
- package/scss/sidebar/_sidebar-nav.scss +4 -4
- package/scss/sidebar/_sidebar.scss +20 -20
- package/scss/tests/mixins/_color-modes.test.scss +69 -0
- package/scss/tests/mixins/_utilities.test.scss +393 -0
- package/scss/tests/utilities/_api.test.scss +75 -0
- package/scss/_header.scss +0 -195
- package/scss/_subheader.scss +0 -72
- package/scss/coreui-grid.rtl.scss +0 -12
- package/scss/coreui-reboot.rtl.scss +0 -12
- package/scss/coreui-utilities.rtl.scss +0 -12
- package/scss/coreui.rtl.scss +0 -12
- package/scss/mixins/_css-vars.scss +0 -87
- package/scss/mixins/_ltr-rtl.scss +0 -87
package/dist/js/coreui.bundle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI
|
|
3
|
-
* Copyright
|
|
4
|
-
* Licensed under MIT (https://coreui
|
|
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() :
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* --------------------------------------------------------------------------
|
|
14
|
-
* CoreUI (
|
|
15
|
-
* Licensed under MIT (https://
|
|
14
|
+
* CoreUI (v5.0.0-alpha.0): util/index.js
|
|
15
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
16
16
|
*
|
|
17
|
-
* This is a modified version of the Bootstrap's util/index.js
|
|
17
|
+
* This component is a modified version of the Bootstrap's util/index.js
|
|
18
18
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
19
19
|
* --------------------------------------------------------------------------
|
|
20
20
|
*/
|
|
@@ -261,10 +261,10 @@
|
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* --------------------------------------------------------------------------
|
|
264
|
-
* CoreUI (
|
|
265
|
-
* Licensed under MIT (https://
|
|
264
|
+
* CoreUI (v5.0.0-alpha.0): dom/event-handler.js
|
|
265
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
266
266
|
*
|
|
267
|
-
* This is a modified version of the Bootstrap's dom/event-handler.js
|
|
267
|
+
* This component is a modified version of the Bootstrap's dom/event-handler.js
|
|
268
268
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
269
269
|
* --------------------------------------------------------------------------
|
|
270
270
|
*/
|
|
@@ -486,10 +486,10 @@
|
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* --------------------------------------------------------------------------
|
|
489
|
-
* CoreUI (
|
|
490
|
-
* Licensed under MIT (https://
|
|
489
|
+
* CoreUI (v5.0.0-alpha.0): dom/data.js
|
|
490
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
491
491
|
*
|
|
492
|
-
* This is a modified version of the Bootstrap's dom/data.js
|
|
492
|
+
* This component is a modified version of the Bootstrap's dom/data.js
|
|
493
493
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
494
494
|
* --------------------------------------------------------------------------
|
|
495
495
|
*/
|
|
@@ -537,10 +537,10 @@
|
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
539
|
* --------------------------------------------------------------------------
|
|
540
|
-
* CoreUI (
|
|
541
|
-
* Licensed under MIT (https://
|
|
540
|
+
* CoreUI (v5.0.0-alpha.0): dom/manipulator.js
|
|
541
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
542
542
|
*
|
|
543
|
-
* This is a modified version of the Bootstrap's dom/manipulator.js
|
|
543
|
+
* This component is a modified version of the Bootstrap's dom/manipulator.js
|
|
544
544
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
545
545
|
* --------------------------------------------------------------------------
|
|
546
546
|
*/
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
return {};
|
|
583
583
|
}
|
|
584
584
|
const attributes = {};
|
|
585
|
-
const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('
|
|
585
|
+
const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('coreu') && !key.startsWith('coreuiConfig'));
|
|
586
586
|
for (const key of coreuiKeys) {
|
|
587
587
|
let pureKey = key.replace(/^coreui/, '');
|
|
588
588
|
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);
|
|
@@ -597,10 +597,10 @@
|
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
599
|
* --------------------------------------------------------------------------
|
|
600
|
-
* CoreUI (
|
|
601
|
-
* Licensed under MIT (https://
|
|
600
|
+
* CoreUI (v5.0.0-alpha.0): util/config.js
|
|
601
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
602
602
|
*
|
|
603
|
-
* This is a modified version of the Bootstrap's util/config.js
|
|
603
|
+
* This component is a modified version of the Bootstrap's util/config.js
|
|
604
604
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
605
605
|
* --------------------------------------------------------------------------
|
|
606
606
|
*/
|
|
@@ -652,8 +652,8 @@
|
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
654
|
* --------------------------------------------------------------------------
|
|
655
|
-
* CoreUI (
|
|
656
|
-
* Licensed under MIT (https://
|
|
655
|
+
* CoreUI (v5.0.0-alpha.0): base-component.js
|
|
656
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
657
657
|
*
|
|
658
658
|
* This component is a modified version of the Bootstrap's base-component.js
|
|
659
659
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
* Constants
|
|
665
665
|
*/
|
|
666
666
|
|
|
667
|
-
const VERSION = '
|
|
667
|
+
const VERSION = '5.0.0-alpha.0';
|
|
668
668
|
|
|
669
669
|
/**
|
|
670
670
|
* Class definition
|
|
@@ -723,10 +723,10 @@
|
|
|
723
723
|
|
|
724
724
|
/**
|
|
725
725
|
* --------------------------------------------------------------------------
|
|
726
|
-
* CoreUI (
|
|
727
|
-
* Licensed under MIT (https://
|
|
726
|
+
* CoreUI (v5.0.0-alpha.0): dom/selector-engine.js
|
|
727
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
728
728
|
*
|
|
729
|
-
* This is a modified version of the Bootstrap's dom/selector-engine.js
|
|
729
|
+
* This component is a modified version of the Bootstrap's dom/selector-engine.js
|
|
730
730
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
731
731
|
* --------------------------------------------------------------------------
|
|
732
732
|
*/
|
|
@@ -814,10 +814,10 @@
|
|
|
814
814
|
|
|
815
815
|
/**
|
|
816
816
|
* --------------------------------------------------------------------------
|
|
817
|
-
* CoreUI (
|
|
818
|
-
* Licensed under MIT (https://
|
|
817
|
+
* CoreUI (v5.0.0-alpha.0): util/component-functions.js
|
|
818
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
819
819
|
*
|
|
820
|
-
* This is a modified version of the Bootstrap's util/component-functions.js
|
|
820
|
+
* This component is a modified version of the Bootstrap's util/component-functions.js
|
|
821
821
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
822
822
|
* --------------------------------------------------------------------------
|
|
823
823
|
*/
|
|
@@ -841,8 +841,8 @@
|
|
|
841
841
|
|
|
842
842
|
/**
|
|
843
843
|
* --------------------------------------------------------------------------
|
|
844
|
-
* CoreUI (
|
|
845
|
-
* Licensed under MIT (https://
|
|
844
|
+
* CoreUI (v5.0.0-alpha.0): alert.js
|
|
845
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
846
846
|
*
|
|
847
847
|
* This component is a modified version of the Bootstrap's alert.js
|
|
848
848
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -918,8 +918,8 @@
|
|
|
918
918
|
|
|
919
919
|
/**
|
|
920
920
|
* --------------------------------------------------------------------------
|
|
921
|
-
* CoreUI (
|
|
922
|
-
* Licensed under MIT (https://
|
|
921
|
+
* CoreUI (v5.0.0-alpha.0): button.js
|
|
922
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
923
923
|
*
|
|
924
924
|
* This component is a modified version of the Bootstrap's button.js
|
|
925
925
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -984,10 +984,10 @@
|
|
|
984
984
|
|
|
985
985
|
/**
|
|
986
986
|
* --------------------------------------------------------------------------
|
|
987
|
-
* CoreUI (
|
|
988
|
-
* Licensed under MIT (https://
|
|
987
|
+
* CoreUI (v5.0.0-alpha.0): util/swipe.js
|
|
988
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
989
989
|
*
|
|
990
|
-
* This is a modified version of the Bootstrap's util/swipe.js
|
|
990
|
+
* This component is a modified version of the Bootstrap's util/swipe.js
|
|
991
991
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
992
992
|
* --------------------------------------------------------------------------
|
|
993
993
|
*/
|
|
@@ -1106,8 +1106,8 @@
|
|
|
1106
1106
|
|
|
1107
1107
|
/**
|
|
1108
1108
|
* --------------------------------------------------------------------------
|
|
1109
|
-
* CoreUI (
|
|
1110
|
-
* Licensed under MIT (https://
|
|
1109
|
+
* CoreUI (v5.0.0-alpha.0): carousel.js
|
|
1110
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
1111
1111
|
*
|
|
1112
1112
|
* This component is a modified version of the Bootstrap's carousel.js
|
|
1113
1113
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -1481,8 +1481,8 @@
|
|
|
1481
1481
|
|
|
1482
1482
|
/**
|
|
1483
1483
|
* --------------------------------------------------------------------------
|
|
1484
|
-
* CoreUI (
|
|
1485
|
-
* Licensed under MIT (https://
|
|
1484
|
+
* CoreUI (v5.0.0-alpha.0): collapse.js
|
|
1485
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
1486
1486
|
*
|
|
1487
1487
|
* This component is a modified version of the Bootstrap's collapse.js
|
|
1488
1488
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -3563,8 +3563,8 @@
|
|
|
3563
3563
|
|
|
3564
3564
|
/**
|
|
3565
3565
|
* --------------------------------------------------------------------------
|
|
3566
|
-
* CoreUI (
|
|
3567
|
-
* Licensed under MIT (https://
|
|
3566
|
+
* CoreUI (v5.0.0-alpha.0): dropdown.js
|
|
3567
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
3568
3568
|
*
|
|
3569
3569
|
* This component is a modified version of the Bootstrap's dropdown.js
|
|
3570
3570
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -3638,7 +3638,7 @@
|
|
|
3638
3638
|
super(element, config);
|
|
3639
3639
|
this._popper = null;
|
|
3640
3640
|
this._parent = this._element.parentNode; // dropdown wrapper
|
|
3641
|
-
// todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.
|
|
3641
|
+
// todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/
|
|
3642
3642
|
this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);
|
|
3643
3643
|
this._inNavbar = this._detectNavbar();
|
|
3644
3644
|
}
|
|
@@ -3894,7 +3894,7 @@
|
|
|
3894
3894
|
}
|
|
3895
3895
|
event.preventDefault();
|
|
3896
3896
|
|
|
3897
|
-
// todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.
|
|
3897
|
+
// todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/
|
|
3898
3898
|
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);
|
|
3899
3899
|
const instance = Dropdown.getOrCreateInstance(getToggleButton);
|
|
3900
3900
|
if (isUpOrDownEvent) {
|
|
@@ -3933,10 +3933,10 @@
|
|
|
3933
3933
|
|
|
3934
3934
|
/**
|
|
3935
3935
|
* --------------------------------------------------------------------------
|
|
3936
|
-
* CoreUI (
|
|
3937
|
-
* Licensed under MIT (https://
|
|
3936
|
+
* CoreUI (v5.0.0-alpha.0): util/scrollBar.js
|
|
3937
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
3938
3938
|
*
|
|
3939
|
-
* This is a modified version of the Bootstrap's
|
|
3939
|
+
* This component is a modified version of the Bootstrap's util/scrollBar.js
|
|
3940
3940
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
3941
3941
|
* --------------------------------------------------------------------------
|
|
3942
3942
|
*/
|
|
@@ -4033,10 +4033,10 @@
|
|
|
4033
4033
|
|
|
4034
4034
|
/**
|
|
4035
4035
|
* --------------------------------------------------------------------------
|
|
4036
|
-
* CoreUI (
|
|
4037
|
-
* Licensed under MIT (https://
|
|
4036
|
+
* CoreUI (v5.0.0-alpha.0): util/backdrop.js
|
|
4037
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
4038
4038
|
*
|
|
4039
|
-
* This is a modified version of the Bootstrap's util/backdrop.js
|
|
4039
|
+
* This component is a modified version of the Bootstrap's util/backdrop.js
|
|
4040
4040
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4041
4041
|
* --------------------------------------------------------------------------
|
|
4042
4042
|
*/
|
|
@@ -4160,10 +4160,10 @@
|
|
|
4160
4160
|
|
|
4161
4161
|
/**
|
|
4162
4162
|
* --------------------------------------------------------------------------
|
|
4163
|
-
* CoreUI (
|
|
4164
|
-
* Licensed under MIT (https://
|
|
4163
|
+
* CoreUI (v5.0.0-alpha.0): util/focustrap.js
|
|
4164
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
4165
4165
|
*
|
|
4166
|
-
* This is a modified version of the Bootstrap's util/focustrap.js
|
|
4166
|
+
* This component is a modified version of the Bootstrap's util/focustrap.js
|
|
4167
4167
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4168
4168
|
* --------------------------------------------------------------------------
|
|
4169
4169
|
*/
|
|
@@ -4261,8 +4261,8 @@
|
|
|
4261
4261
|
|
|
4262
4262
|
/**
|
|
4263
4263
|
* --------------------------------------------------------------------------
|
|
4264
|
-
* CoreUI (
|
|
4265
|
-
* Licensed under MIT (https://
|
|
4264
|
+
* CoreUI (v5.0.0-alpha.0): modal.js
|
|
4265
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
4266
4266
|
*
|
|
4267
4267
|
* This component is a modified version of the Bootstrap's modal.js
|
|
4268
4268
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -4570,8 +4570,8 @@
|
|
|
4570
4570
|
|
|
4571
4571
|
/**
|
|
4572
4572
|
* --------------------------------------------------------------------------
|
|
4573
|
-
* CoreUI (
|
|
4574
|
-
* Licensed under MIT (https://
|
|
4573
|
+
* CoreUI (v5.0.0-alpha.0): navigation.js
|
|
4574
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
4575
4575
|
* --------------------------------------------------------------------------
|
|
4576
4576
|
*/
|
|
4577
4577
|
|
|
@@ -4824,11 +4824,11 @@
|
|
|
4824
4824
|
|
|
4825
4825
|
/**
|
|
4826
4826
|
* --------------------------------------------------------------------------
|
|
4827
|
-
* CoreUI (
|
|
4828
|
-
* Licensed under MIT (https://
|
|
4827
|
+
* CoreUI (v5.0.0-alpha.0): offcanvas.js
|
|
4828
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
4829
4829
|
*
|
|
4830
4830
|
* This component is a modified version of the Bootstrap's offcanvas.js
|
|
4831
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/
|
|
4831
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4832
4832
|
* --------------------------------------------------------------------------
|
|
4833
4833
|
*/
|
|
4834
4834
|
|
|
@@ -5057,10 +5057,10 @@
|
|
|
5057
5057
|
|
|
5058
5058
|
/**
|
|
5059
5059
|
* --------------------------------------------------------------------------
|
|
5060
|
-
* CoreUI (
|
|
5061
|
-
* Licensed under MIT (https://
|
|
5060
|
+
* CoreUI (v5.0.0-alpha.0): util/sanitizer.js
|
|
5061
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
5062
5062
|
*
|
|
5063
|
-
* This is a modified version of the Bootstrap's util/sanitizer.js
|
|
5063
|
+
* This component is a modified version of the Bootstrap's util/sanitizer.js
|
|
5064
5064
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5065
5065
|
* --------------------------------------------------------------------------
|
|
5066
5066
|
*/
|
|
@@ -5155,10 +5155,10 @@
|
|
|
5155
5155
|
|
|
5156
5156
|
/**
|
|
5157
5157
|
* --------------------------------------------------------------------------
|
|
5158
|
-
* CoreUI (
|
|
5159
|
-
* Licensed under MIT (https://
|
|
5158
|
+
* CoreUI (v5.0.0-alpha.0): util/template-factory.js
|
|
5159
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
5160
5160
|
*
|
|
5161
|
-
* This is a modified version of the Bootstrap's util/template-factory.js
|
|
5161
|
+
* This component is a modified version of the Bootstrap's util/template-factory.js
|
|
5162
5162
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5163
5163
|
* --------------------------------------------------------------------------
|
|
5164
5164
|
*/
|
|
@@ -5293,8 +5293,8 @@
|
|
|
5293
5293
|
|
|
5294
5294
|
/**
|
|
5295
5295
|
* --------------------------------------------------------------------------
|
|
5296
|
-
* CoreUI (
|
|
5297
|
-
* Licensed under MIT (https://
|
|
5296
|
+
* CoreUI (v5.0.0-alpha.0): tooltip.js
|
|
5297
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
5298
5298
|
*
|
|
5299
5299
|
* This component is a modified version of the Bootstrap's tooltip.js
|
|
5300
5300
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -5548,7 +5548,7 @@
|
|
|
5548
5548
|
}
|
|
5549
5549
|
tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$3);
|
|
5550
5550
|
// todo: on v6 the following can be achieved with CSS only
|
|
5551
|
-
tip.classList.add(`
|
|
5551
|
+
tip.classList.add(`cui-${this.constructor.NAME}-auto`);
|
|
5552
5552
|
const tipId = getUID(this.constructor.NAME).toString();
|
|
5553
5553
|
tip.setAttribute('id', tipId);
|
|
5554
5554
|
if (this._isAnimated()) {
|
|
@@ -5807,8 +5807,8 @@
|
|
|
5807
5807
|
|
|
5808
5808
|
/**
|
|
5809
5809
|
* --------------------------------------------------------------------------
|
|
5810
|
-
* CoreUI (
|
|
5811
|
-
* Licensed under MIT (https://
|
|
5810
|
+
* CoreUI (v5.0.0-alpha.0): popover.js
|
|
5811
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
5812
5812
|
*
|
|
5813
5813
|
* This component is a modified version of the Bootstrap's popover.js
|
|
5814
5814
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -5890,8 +5890,8 @@
|
|
|
5890
5890
|
|
|
5891
5891
|
/**
|
|
5892
5892
|
* --------------------------------------------------------------------------
|
|
5893
|
-
* CoreUI (
|
|
5894
|
-
* Licensed under MIT (https://
|
|
5893
|
+
* CoreUI (v5.0.0-alpha.0): scrollspy.js
|
|
5894
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
5895
5895
|
*
|
|
5896
5896
|
* This component is a modified version of the Bootstrap's scrollspy.js
|
|
5897
5897
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -6152,8 +6152,8 @@
|
|
|
6152
6152
|
|
|
6153
6153
|
/**
|
|
6154
6154
|
* --------------------------------------------------------------------------
|
|
6155
|
-
* CoreUI (
|
|
6156
|
-
* Licensed under MIT (https://
|
|
6155
|
+
* CoreUI (v5.0.0-alpha.0): sidebar.js
|
|
6156
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
6157
6157
|
* --------------------------------------------------------------------------
|
|
6158
6158
|
*/
|
|
6159
6159
|
|
|
@@ -6432,8 +6432,8 @@
|
|
|
6432
6432
|
|
|
6433
6433
|
/**
|
|
6434
6434
|
* --------------------------------------------------------------------------
|
|
6435
|
-
* CoreUI (
|
|
6436
|
-
* Licensed under MIT (https://
|
|
6435
|
+
* CoreUI (v5.0.0-alpha.0): tab.js
|
|
6436
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
6437
6437
|
*
|
|
6438
6438
|
* This component is a modified version of the Bootstrap's tab.js
|
|
6439
6439
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -6696,8 +6696,8 @@
|
|
|
6696
6696
|
|
|
6697
6697
|
/**
|
|
6698
6698
|
* --------------------------------------------------------------------------
|
|
6699
|
-
* CoreUI (
|
|
6700
|
-
* Licensed under MIT (https://
|
|
6699
|
+
* CoreUI (v5.0.0-alpha.0): toast.js
|
|
6700
|
+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
|
|
6701
6701
|
*
|
|
6702
6702
|
* This component is a modified version of the Bootstrap's toast.js
|
|
6703
6703
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -6882,8 +6882,8 @@
|
|
|
6882
6882
|
|
|
6883
6883
|
/**
|
|
6884
6884
|
* --------------------------------------------------------------------------
|
|
6885
|
-
* CoreUI (
|
|
6886
|
-
*
|
|
6885
|
+
* CoreUI (v5.0.0-alpha.0): index.esm.js
|
|
6886
|
+
* https://github.com/coreui/coreui/blob/main/LICENSE
|
|
6887
6887
|
* --------------------------------------------------------------------------
|
|
6888
6888
|
*/
|
|
6889
6889
|
const index_umd = {
|