@dynamic-framework/ui-react 1.6.0 → 1.7.1
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 +223 -21
- package/README.md +3 -15
- package/dist/css/dynamic-ui.css +3888 -1310
- package/dist/css/dynamic-ui.min.css +1 -1
- package/dist/index.esm.js +889 -555
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +943 -604
- package/dist/index.js.map +1 -1
- package/dist/types/components/DAlert.d.ts +16 -0
- package/dist/types/components/DBadge.d.ts +11 -0
- package/dist/types/components/DBoxFile.d.ts +3 -4
- package/dist/types/components/DButton.d.ts +21 -0
- package/dist/types/components/DCard.d.ts +2 -2
- package/dist/types/components/DCardAccount.d.ts +3 -3
- package/dist/types/components/DCardBody.d.ts +2 -2
- package/dist/types/components/DCardFooter.d.ts +2 -2
- package/dist/types/components/DCardHeader.d.ts +2 -2
- package/dist/types/components/DCarousel.d.ts +3 -3
- package/dist/types/components/DCarouselSlide.d.ts +1 -1
- package/dist/types/components/DChip.d.ts +10 -0
- package/dist/types/components/DCollapse.d.ts +4 -4
- package/dist/types/components/DCollapseIconText.d.ts +3 -4
- package/dist/types/components/DCurrencyText.d.ts +1 -1
- package/dist/types/components/DDatePicker.d.ts +5 -5
- package/dist/types/components/DDatePickerHeader.d.ts +4 -4
- package/dist/types/components/DDatePickerInput.d.ts +7 -7
- package/dist/types/components/DDatePickerTime.d.ts +6 -6
- package/dist/types/components/DFormikInput.d.ts +2 -2
- package/dist/types/components/DFormikInputCurrency.d.ts +1 -1
- package/dist/types/components/DFormikInputSelect.d.ts +3 -6
- package/dist/types/components/DIcon.d.ts +16 -0
- package/dist/types/components/DInput.d.ts +32 -0
- package/dist/types/components/DInputCheck.d.ts +15 -0
- package/dist/types/components/DInputCounter.d.ts +22 -0
- package/dist/types/components/DInputCurrency.d.ts +4 -8
- package/dist/types/components/DInputCurrencyBase.d.ts +24 -0
- package/dist/types/components/DInputPassword.d.ts +17 -0
- package/dist/types/components/DInputPin.d.ts +19 -0
- package/dist/types/components/DInputSearch.d.ts +19 -0
- package/dist/types/components/DInputSelect.d.ts +24 -0
- package/dist/types/components/DInputSwitch.d.ts +11 -0
- package/dist/types/components/DList.d.ts +4 -3
- package/dist/types/components/DListItem.d.ts +4 -4
- package/dist/types/components/DListItemMovement.d.ts +2 -2
- package/dist/types/components/DModal.d.ts +14 -0
- package/dist/types/components/DModalBody.d.ts +6 -0
- package/dist/types/components/DModalFooter.d.ts +6 -0
- package/dist/types/components/DModalHeader.d.ts +7 -0
- package/dist/types/components/DMonthPicker.d.ts +4 -4
- package/dist/types/components/DOffcanvas.d.ts +11 -0
- package/dist/types/components/DOffcanvasBody.d.ts +6 -0
- package/dist/types/components/DOffcanvasFooter.d.ts +6 -0
- package/dist/types/components/DOffcanvasHeader.d.ts +7 -0
- package/dist/types/components/DPaginator.d.ts +4 -4
- package/dist/types/components/DPopover.d.ts +3 -2
- package/dist/types/components/DProgress.d.ts +9 -0
- package/dist/types/components/DQuickActionButton.d.ts +22 -0
- package/dist/types/components/DQuickActionCheck.d.ts +13 -0
- package/dist/types/components/DQuickActionSelect.d.ts +12 -0
- package/dist/types/components/DQuickActionSwitch.d.ts +11 -0
- package/dist/types/components/DSkeleton.d.ts +2 -2
- package/dist/types/components/DStepper.d.ts +3 -3
- package/dist/types/components/DStepperDesktop.d.ts +2 -2
- package/dist/types/components/DStepperMobile.d.ts +2 -2
- package/dist/types/components/DTabContent.d.ts +1 -1
- package/dist/types/components/DTabs.d.ts +5 -5
- package/dist/types/components/DToastContainer.d.ts +2 -3
- package/dist/types/components/DTooltip.d.ts +2 -2
- package/dist/types/components/banking/{MPermissionGroup.d.ts → DPermissionGroup.d.ts} +2 -2
- package/dist/types/components/banking/DPermissionItem.d.ts +1 -1
- package/dist/types/components/banking/{MSummaryCard.d.ts → DSummaryCard.d.ts} +2 -2
- package/dist/types/components/banking/index.d.ts +2 -2
- package/dist/types/components/banking/interface.d.ts +1 -1
- package/dist/types/components/config.d.ts +5 -0
- package/dist/types/components/index.d.ts +46 -20
- package/dist/types/components/interface.d.ts +44 -0
- package/dist/types/contexts/ModalContext.d.ts +12 -12
- package/dist/types/contexts/OffcanvasContext.d.ts +12 -12
- package/dist/types/hooks/useScreenshot.d.ts +1 -1
- package/dist/types/hooks/useToast.d.ts +3 -3
- package/dist/types/stories/components/DBadge.stories.d.ts +1 -1
- package/dist/types/stories/components/DBoxFile.stories.d.ts +1 -1
- package/dist/types/stories/components/DButton.stories.d.ts +1 -1
- package/dist/types/stories/components/DChip.stories.d.ts +1 -1
- package/dist/types/stories/components/DCurrencyText.stories.d.ts +1 -1
- package/dist/types/stories/components/DDatePicker.stories.d.ts +1 -1
- package/dist/types/stories/components/DFormikInput.stories.d.ts +1 -1
- package/dist/types/stories/components/DFormikInputCurrency.stories.d.ts +1 -1
- package/dist/types/stories/components/DFormikInputSelect.stories.d.ts +1 -1
- package/dist/types/stories/components/DIcon.stories.d.ts +1 -1
- package/dist/types/stories/components/DInput.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCheck.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCounter.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCurrency.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCurrencyBase.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputPassword.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputPin.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputSearch.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputSelect.stories.d.ts +7 -3
- package/dist/types/stories/components/DInputSwitch.stories.d.ts +1 -1
- package/dist/types/stories/components/DList.stories.d.ts +1 -1
- package/dist/types/stories/components/DListItem.stories.d.ts +1 -1
- package/dist/types/stories/components/DListItemMovement.stories.d.ts +1 -1
- package/dist/types/stories/components/DPaginator.stories.d.ts +1 -1
- package/dist/types/stories/components/DProgress.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionButton.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionCheck.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionSelect.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionSwitch.stories.d.ts +1 -1
- package/dist/types/stories/components/DSkeleton.stories.d.ts +1 -1
- package/dist/types/stories/components/DStepper.stories.d.ts +1 -1
- package/dist/types/stories/components/DStepperDesktop.stories.d.ts +1 -1
- package/dist/types/stories/components/DStepperMobile.stories.d.ts +1 -1
- package/dist/types/stories/components/DTooltip.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useFormatCurrency.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useModalContext.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useOffcanvasContext.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useToast.stories.d.ts +2 -2
- package/dist/types/stories/patterns/DAlert.stories.d.ts +1 -1
- package/dist/types/stories/{components → patterns}/DCard.stories.d.ts +1 -1
- package/dist/types/stories/{components → patterns}/DCardAccount.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DCarousel.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DCollapse.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DCollapseIconText.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DModal.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DOffcanvas.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DPopover.stories.d.ts +2 -1
- package/dist/types/stories/patterns/DTabs.stories.d.ts +1 -1
- package/dist/types/utils/format-currency.d.ts +2 -0
- package/dist/types/utils/index.d.ts +2 -1
- package/dist/types/utils/liquid-parser.d.ts +20 -0
- package/package.json +62 -49
- package/src/style/_shame.scss +4 -0
- package/src/style/abstracts/_+import.scss +14 -2
- package/src/style/abstracts/_funcions.scss +55 -0
- package/src/style/abstracts/_maps.scss +1 -0
- package/src/style/abstracts/_mixins.scss +133 -0
- package/src/style/abstracts/_utilities.scss +78 -0
- package/src/style/abstracts/variables/_+import.scss +159 -0
- package/src/style/abstracts/variables/_accordion.scss +35 -0
- package/src/style/abstracts/variables/_alerts.scss +27 -0
- package/src/style/abstracts/variables/_badges.scss +15 -0
- package/src/style/abstracts/variables/_body.scss +52 -0
- package/src/style/abstracts/variables/_border.scss +29 -0
- package/src/style/abstracts/variables/_box-shadow.scss +6 -0
- package/src/style/abstracts/variables/_breadcrumb.scss +15 -0
- package/src/style/abstracts/variables/_buttons.scss +55 -0
- package/src/style/abstracts/variables/_cards.scss +23 -0
- package/src/style/abstracts/variables/_carousel.scss +37 -0
- package/src/style/abstracts/variables/_chips.scss +13 -0
- package/src/style/abstracts/variables/_close.scss +16 -0
- package/src/style/abstracts/variables/_code.scss +16 -0
- package/src/style/abstracts/variables/_colors.scss +515 -0
- package/src/style/abstracts/variables/_cursors.scss +32 -0
- package/src/style/abstracts/variables/_dropdowns.scss +54 -0
- package/src/style/abstracts/variables/_figures.scss +6 -0
- package/src/style/abstracts/variables/_forms.scss +313 -0
- package/src/style/abstracts/variables/_grid.scss +41 -0
- package/src/style/abstracts/variables/_list-group.scss +43 -0
- package/src/style/abstracts/variables/_modals.scss +58 -0
- package/src/style/abstracts/variables/_navbar.scss +43 -0
- package/src/style/abstracts/variables/_navs.scss +44 -0
- package/src/style/abstracts/variables/_offcanvas.scss +20 -0
- package/src/style/abstracts/variables/_options.scss +24 -0
- package/src/style/abstracts/variables/_pagination.scss +41 -0
- package/src/style/abstracts/variables/_popovers.scss +31 -0
- package/src/style/abstracts/variables/_progress.scss +17 -0
- package/src/style/abstracts/variables/_quick-action-button.scss +31 -0
- package/src/style/abstracts/variables/_quick-action-check.scss +22 -0
- package/src/style/abstracts/variables/_quick-action-select.scss +16 -0
- package/src/style/abstracts/variables/_quick-action-switch.scss +21 -0
- package/src/style/abstracts/variables/_spacers.scss +28 -0
- package/src/style/abstracts/variables/_spinners.scss +13 -0
- package/src/style/abstracts/variables/_tables.scss +57 -0
- package/src/style/abstracts/variables/_thumbnails.scss +10 -0
- package/src/style/abstracts/variables/_toasts.scss +19 -0
- package/src/style/abstracts/variables/_tooltips.scss +29 -0
- package/src/style/abstracts/variables/_typography.scss +122 -0
- package/src/style/abstracts/variables/_z-index.scss +28 -0
- package/src/style/base/_+import.scss +15 -0
- package/src/style/base/_root.scss +248 -0
- package/src/style/base/_tables.scss +171 -0
- package/src/style/components/_+import.scss +44 -0
- package/src/style/components/_d-alert.scss +45 -0
- package/src/style/components/_d-badge.scss +26 -0
- package/src/style/components/_d-button.scss +191 -0
- package/src/style/components/_d-card-account.scss +1 -1
- package/src/style/components/_d-chip.scss +52 -0
- package/src/style/components/_d-icon.scss +32 -0
- package/src/style/components/_d-input-check.scss +20 -0
- package/src/style/components/_d-input-pin.scss +121 -0
- package/src/style/components/_d-input-select.scss +20 -0
- package/src/style/components/_d-input-switch.scss +58 -0
- package/src/style/components/_d-input.scss +168 -0
- package/src/style/components/_d-modal.scss +55 -0
- package/src/style/components/_d-offcanvas.scss +45 -0
- package/src/style/components/_d-popover.scss +4 -1
- package/src/style/components/_d-progress.scss +9 -0
- package/src/style/components/_d-quick-action-button.scss +111 -0
- package/src/style/components/_d-quick-action-check.scss +74 -0
- package/src/style/components/_d-quick-action-select.scss +56 -0
- package/src/style/components/_d-quick-action-switch.scss +71 -0
- package/src/style/dynamic-root.scss +5 -1
- package/src/style/dynamic-ui.scss +13 -1
- package/src/style/helpers/_+import.scss +13 -0
- package/src/style/helpers/_color-bg.scss +7 -0
- package/dist/css/dynamic-ui-all.css +0 -16620
- package/dist/css/dynamic-ui-all.min.css +0 -1
- package/dist/css/dynamic-ui-react.css +0 -1919
- package/dist/css/dynamic-ui-react.min.css +0 -1
- package/dist/types/components/proxies.d.ts +0 -23
- package/dist/types/components/react-component-lib/createComponent.d.ts +0 -10
- package/dist/types/components/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/dist/types/components/react-component-lib/index.d.ts +0 -2
- package/dist/types/components/react-component-lib/interfaces.d.ts +0 -29
- package/dist/types/components/react-component-lib/utils/attachProps.d.ts +0 -16
- package/dist/types/components/react-component-lib/utils/case.d.ts +0 -2
- package/dist/types/components/react-component-lib/utils/dev.d.ts +0 -2
- package/dist/types/components/react-component-lib/utils/index.d.ts +0 -10
- package/src/style/dynamic-ui-all.scss +0 -3
- package/src/style/dynamic-ui-react.scss +0 -7
- /package/dist/types/stories/{constants.d.ts → config/constants.d.ts} +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.modal {
|
|
2
|
+
--#{$prefix}modal-body-padding: #{$modal-body-padding};
|
|
3
|
+
--#{$prefix}modal-footer-padding: #{$modal-footer-padding};
|
|
4
|
+
--#{$prefix}modal-separator-margin-x: #{$modal-separator-margin-x};
|
|
5
|
+
--#{$prefix}modal-separator-height: #{$modal-separator-height};
|
|
6
|
+
--#{$prefix}modal-separator-bg: #{$modal-separator-bg};
|
|
7
|
+
|
|
8
|
+
.modal-header {
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: flex-start;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.d-modal-close {
|
|
14
|
+
align-self: flex-end;
|
|
15
|
+
padding: 0;
|
|
16
|
+
margin-bottom: $spacer-3;
|
|
17
|
+
background: transparent;
|
|
18
|
+
border: 0;
|
|
19
|
+
|
|
20
|
+
.d-icon {
|
|
21
|
+
--#{$prefix}icon-size: #{$spacer-3};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.modal-body {
|
|
26
|
+
padding: var(--#{$prefix}modal-body-padding);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.d-modal-separator {
|
|
30
|
+
height: var(--#{$prefix}modal-separator-height);
|
|
31
|
+
margin: 0 var(--#{$prefix}modal-separator-margin-x);
|
|
32
|
+
background: var(--#{$prefix}modal-separator-bg);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.modal-footer {
|
|
36
|
+
gap: var(--#{$prefix}modal-footer-gap);
|
|
37
|
+
padding: var(--#{$prefix}modal-footer-padding);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.d-modal-action-fill > * {
|
|
41
|
+
flex: 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.d-modal-action-start {
|
|
45
|
+
justify-content: flex-start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.d-modal-action-center {
|
|
49
|
+
justify-content: center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.d-modal-action-end {
|
|
53
|
+
justify-content: flex-end;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.offcanvas {
|
|
2
|
+
--#{$prefix}offcanvas-footer-gap: #{$offcanvas-footer-gap};
|
|
3
|
+
|
|
4
|
+
.offcanvas-header {
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
|
|
9
|
+
&:has(.d-offcanvas-close:only-child) {
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.offcanvas-body {
|
|
15
|
+
padding: 0 var(--#{$prefix}offcanvas-padding-x);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.d-offcanvas-footer {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: var(--#{$prefix}offcanvas-footer-gap);
|
|
21
|
+
padding: var(--#{$prefix}offcanvas-padding-y) var(--#{$prefix}offcanvas-padding-x);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.d-offcanvas-close {
|
|
25
|
+
padding: 0;
|
|
26
|
+
background: transparent;
|
|
27
|
+
border: 0;
|
|
28
|
+
|
|
29
|
+
.d-icon {
|
|
30
|
+
--#{$prefix}icon-size: #{$spacer-3};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.d-offcanvas-action-fill > * {
|
|
35
|
+
flex: 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.d-offcanvas-action-start {
|
|
39
|
+
justify-content: flex-start;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.d-offcanvas-action-end {
|
|
43
|
+
justify-content: flex-end;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
.d-popover {
|
|
2
|
+
--#{$prefix}popover-min-width: max-content;
|
|
3
|
+
--#{$prefix}popover-z-index: 1;
|
|
2
4
|
position: relative;
|
|
3
5
|
width: 100%;
|
|
4
6
|
|
|
5
7
|
.d-popover-content {
|
|
6
|
-
|
|
8
|
+
z-index: var(--#{$prefix}popover-z-index);
|
|
9
|
+
min-width: var(--#{$prefix}popover-min-width);
|
|
7
10
|
|
|
8
11
|
&:focus-visible {
|
|
9
12
|
outline: 0;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.d-quick-action-button {
|
|
2
|
+
--#{$prefix}quick-action-button-gap: #{$quick-action-button-gap};
|
|
3
|
+
--#{$prefix}quick-action-button-padding: #{$quick-action-button-padding};
|
|
4
|
+
--#{$prefix}quick-action-button-bg: #{$quick-action-button-bg};
|
|
5
|
+
--#{$prefix}quick-action-button-border-radius: var(--#{$prefix}quick-action-button-component-border-radius, #{$quick-action-button-border-radius});
|
|
6
|
+
--#{$prefix}quick-action-button-border: #{$quick-action-button-border};
|
|
7
|
+
--#{$prefix}quick-action-button-box-shadow: #{$quick-action-button-box-shadow};
|
|
8
|
+
|
|
9
|
+
--#{$prefix}quick-action-button-border-top: var(--#{$prefix}quick-action-button-component-border-top, var(--#{$prefix}quick-action-button-border));
|
|
10
|
+
--#{$prefix}quick-action-button-border-right: var(--#{$prefix}quick-action-button-component-border-right, var(--#{$prefix}quick-action-button-border));
|
|
11
|
+
--#{$prefix}quick-action-button-border-bottom: var(--#{$prefix}quick-action-button-component-border-bottom, var(--#{$prefix}quick-action-button-border));
|
|
12
|
+
--#{$prefix}quick-action-button-border-left: var(--#{$prefix}quick-action-button-component-border-left, var(--#{$prefix}quick-action-button-border));
|
|
13
|
+
|
|
14
|
+
--#{$prefix}quick-action-button-line1-font-size: #{$quick-action-button-line1-font-size};
|
|
15
|
+
--#{$prefix}quick-action-button-line1-font-weight: #{$quick-action-button-line1-font-weight};
|
|
16
|
+
--#{$prefix}quick-action-button-line1-color: #{$quick-action-button-line1-color};
|
|
17
|
+
|
|
18
|
+
--#{$prefix}quick-action-button-line2-font-size: #{$quick-action-button-line2-font-size};
|
|
19
|
+
--#{$prefix}quick-action-button-line2-font-weight: #{$quick-action-button-line2-font-weight};
|
|
20
|
+
--#{$prefix}quick-action-button-line2-color: #{$quick-action-button-line2-color};
|
|
21
|
+
|
|
22
|
+
--#{$prefix}quick-action-button-representative-image-size: #{$quick-action-button-representative-image-size};
|
|
23
|
+
--#{$prefix}quick-action-button-representative-image-border-radius: #{$quick-action-button-representative-image-border-radius};
|
|
24
|
+
--#{$prefix}quick-action-button-representative-icon-size: #{$quick-action-button-representative-icon-size};
|
|
25
|
+
|
|
26
|
+
--#{$prefix}quick-action-button-action-icon-color: #{$quick-action-button-action-icon-color};
|
|
27
|
+
--#{$prefix}quick-action-button-action-icon-size: #{$quick-action-button-action-icon-size};
|
|
28
|
+
|
|
29
|
+
--#{$prefix}quick-action-button-hover-bg: #{$quick-action-button-hover-bg};
|
|
30
|
+
--#{$prefix}quick-action-button-hover-border-color: #{$quick-action-button-hover-border-color};
|
|
31
|
+
--#{$prefix}quick-action-button-hover-action-icon-color: #{$quick-action-button-hover-action-icon-color};
|
|
32
|
+
--#{$prefix}quick-action-button-hover-box-shadow: #{$quick-action-button-hover-box-shadow};
|
|
33
|
+
|
|
34
|
+
--#{$prefix}quick-action-button-active-bg: #{$quick-action-button-active-bg};
|
|
35
|
+
--#{$prefix}quick-action-button-active-border-color: #{$quick-action-button-active-border-color};
|
|
36
|
+
--#{$prefix}quick-action-button-active-action-icon-color: #{$quick-action-button-active-action-icon-color};
|
|
37
|
+
--#{$prefix}quick-action-button-active-box-shadow: #{$quick-action-button-active-box-shadow};
|
|
38
|
+
|
|
39
|
+
display: flex;
|
|
40
|
+
gap: var(--#{$prefix}quick-action-button-gap);
|
|
41
|
+
align-items: center;
|
|
42
|
+
width: 100%;
|
|
43
|
+
padding: var(--#{$prefix}quick-action-button-padding);
|
|
44
|
+
text-align: left;
|
|
45
|
+
background-color: var(--#{$prefix}quick-action-button-bg);
|
|
46
|
+
background-position: center;
|
|
47
|
+
border-top: var(--#{$prefix}quick-action-button-border-top);
|
|
48
|
+
border-right: var(--#{$prefix}quick-action-button-border-right);
|
|
49
|
+
border-bottom: var(--#{$prefix}quick-action-button-border-bottom);
|
|
50
|
+
border-left: var(--#{$prefix}quick-action-button-border-left);
|
|
51
|
+
border-radius: var(--#{$prefix}quick-action-button-border-radius);
|
|
52
|
+
box-shadow: var(--#{$prefix}quick-action-button-box-shadow);
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
background: var(--#{$prefix}quick-action-button-hover-bg);
|
|
56
|
+
border-color: var(--#{$prefix}quick-action-button-hover-border-color);
|
|
57
|
+
box-shadow: var(--#{$prefix}quick-action-button-hover-box-shadow);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:active {
|
|
61
|
+
background: var(--#{$prefix}quick-action-button-active-bg);
|
|
62
|
+
border-color: var(--#{$prefix}quick-action-button-active-border-color);
|
|
63
|
+
box-shadow: var(--#{$prefix}quick-action-button-active-box-shadow);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.d-quick-action-button-representative-image {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
width: var(--#{$prefix}quick-action-button-representative-image-size);
|
|
71
|
+
height: var(--#{$prefix}quick-action-button-representative-image-size);
|
|
72
|
+
background-color: var(--#{$prefix}quick-action-button-action-icon-color);
|
|
73
|
+
border-radius: var(--#{$prefix}quick-action-button-representative-image-border-radius);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.d-quick-action-button-content {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex: 1;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.d-quick-action-button-text {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
flex-grow: 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.d-quick-action-button-line1 {
|
|
89
|
+
font-size: var(--#{$prefix}quick-action-button-line1-font-size);
|
|
90
|
+
font-weight: var(--#{$prefix}quick-action-button-line1-font-weight);
|
|
91
|
+
color: var(--#{$prefix}quick-action-button-line1-color);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.d-quick-action-button-line2 {
|
|
95
|
+
font-size: var(--#{$prefix}quick-action-button-line2-font-size);
|
|
96
|
+
font-weight: var(--#{$prefix}quick-action-button-line2-font-weight);
|
|
97
|
+
color: var(--#{$prefix}quick-action-button-line2-color);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.d-quick-action-button-action-icon {
|
|
101
|
+
color: var(--#{$prefix}quick-action-button-action-icon-color);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:hover .d-quick-action-button-action-icon {
|
|
105
|
+
color: var(--#{$prefix}quick-action-button-active-action-icon-color);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:active .d-quick-action-button-action-icon {
|
|
109
|
+
color: var(--#{$prefix}quick-action-button-active-action-icon-color);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.d-quick-action-check {
|
|
2
|
+
--#{$prefix}quick-action-check-gap: #{$quick-action-check-gap};
|
|
3
|
+
--#{$prefix}quick-action-check-padding: #{$quick-action-check-padding};
|
|
4
|
+
--#{$prefix}quick-action-check-bg: #{$quick-action-check-bg};
|
|
5
|
+
--#{$prefix}quick-action-check-border-radius: #{$quick-action-check-border-radius};
|
|
6
|
+
|
|
7
|
+
--#{$prefix}quick-action-check-line1-font-size: #{$quick-action-check-line1-font-size};
|
|
8
|
+
--#{$prefix}quick-action-check-line1-font-weight: #{$quick-action-check-line1-font-weight};
|
|
9
|
+
--#{$prefix}quick-action-check-line1-color: #{$quick-action-check-line1-color};
|
|
10
|
+
|
|
11
|
+
--#{$prefix}quick-action-check-line2-font-size: #{$quick-action-check-line2-font-size};
|
|
12
|
+
--#{$prefix}quick-action-check-line2-font-weight: #{$quick-action-check-line2-font-weight};
|
|
13
|
+
--#{$prefix}quick-action-check-line2-color: #{$quick-action-check-line2-color};
|
|
14
|
+
|
|
15
|
+
--#{$prefix}quick-action-check-line3-font-size: #{$quick-action-check-line3-font-size};
|
|
16
|
+
--#{$prefix}quick-action-check-line3-font-weight: #{$quick-action-check-line3-font-weight};
|
|
17
|
+
--#{$prefix}quick-action-check-line3-color: #{$quick-action-check-line3-color};
|
|
18
|
+
|
|
19
|
+
--#{$prefix}quick-action-check-hover-bg: #{$quick-action-check-hover-bg};
|
|
20
|
+
|
|
21
|
+
--#{$prefix}quick-action-check-checked-bg: #{$quick-action-check-checked-bg};
|
|
22
|
+
--#{$prefix}quick-action-check-checked-color: #{$quick-action-check-checked-color};
|
|
23
|
+
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: row;
|
|
26
|
+
gap: var(--#{$prefix}quick-action-check-gap);
|
|
27
|
+
align-items: center;
|
|
28
|
+
width: 100%;
|
|
29
|
+
padding: var(--#{$prefix}quick-action-check-padding);
|
|
30
|
+
text-align: left;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
background-color: var(--#{$prefix}quick-action-check-bg);
|
|
33
|
+
border-radius: var(--#{$prefix}quick-action-check-border-radius);
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
background: var(--#{$prefix}quick-action-check-hover-bg);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:has(input:checked) {
|
|
40
|
+
background: var(--#{$prefix}quick-action-check-checked-bg);
|
|
41
|
+
|
|
42
|
+
.d-quick-action-check-line3 {
|
|
43
|
+
color: var(--#{$prefix}quick-action-check-checked-color);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.d-quick-action-check-detail {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
flex-grow: 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.d-quick-action-check-line1 {
|
|
54
|
+
font-size: var(--#{$prefix}quick-action-check-line1-font-size);
|
|
55
|
+
font-weight: var(--#{$prefix}quick-action-check-line1-font-weight);
|
|
56
|
+
color: var(--#{$prefix}quick-action-check-line1-color);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.d-quick-action-check-line2 {
|
|
60
|
+
font-size: var(--#{$prefix}quick-action-check-line2-font-size);
|
|
61
|
+
font-weight: var(--#{$prefix}quick-action-check-line2-font-weight);
|
|
62
|
+
color: var(--#{$prefix}quick-action-check-line2-color);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.d-quick-action-check-line3 {
|
|
66
|
+
font-size: var(--#{$prefix}quick-action-check-line3-font-size);
|
|
67
|
+
font-weight: var(--#{$prefix}quick-action-check-line3-font-weight);
|
|
68
|
+
color: var(--#{$prefix}quick-action-check-line3-color);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.form-check-input:focus {
|
|
72
|
+
outline: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.d-quick-action-select {
|
|
2
|
+
--#{$prefix}quick-action-select-padding: #{$quick-action-select-padding};
|
|
3
|
+
--#{$prefix}quick-action-select-bg: #{$quick-action-select-bg};
|
|
4
|
+
--#{$prefix}quick-action-select-border-radius: #{$quick-action-select-border-radius};
|
|
5
|
+
|
|
6
|
+
--#{$prefix}quick-action-select-line1-font-size: #{$quick-action-select-line1-font-size};
|
|
7
|
+
--#{$prefix}quick-action-select-line1-font-weight: #{$quick-action-select-line1-font-weight};
|
|
8
|
+
--#{$prefix}quick-action-select-line1-color: #{$quick-action-select-line1-color};
|
|
9
|
+
|
|
10
|
+
--#{$prefix}quick-action-select-line2-font-size: #{$quick-action-select-line2-font-size};
|
|
11
|
+
--#{$prefix}quick-action-select-line2-font-weight: #{$quick-action-select-line2-font-weight};
|
|
12
|
+
--#{$prefix}quick-action-select-line2-color: #{$quick-action-select-line2-color};
|
|
13
|
+
|
|
14
|
+
--#{$prefix}quick-action-select-hover-bg: #{$quick-action-select-hover-bg};
|
|
15
|
+
|
|
16
|
+
--#{$prefix}quick-action-select-checked-bg: #{$quick-action-select-checked-bg};
|
|
17
|
+
--#{$prefix}quick-action-select-checked-color: #{$quick-action-select-checked-color};
|
|
18
|
+
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
width: 100%;
|
|
22
|
+
padding: var(--#{$prefix}quick-action-select-padding);
|
|
23
|
+
text-align: left;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
background-color: var(--#{$prefix}quick-action-select-bg);
|
|
26
|
+
border-radius: var(--#{$prefix}quick-action-select-border-radius);
|
|
27
|
+
|
|
28
|
+
input {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
background: var(--#{$prefix}quick-action-select-hover-bg);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:has(input:checked) {
|
|
37
|
+
background: var(--#{$prefix}quick-action-select-checked-bg);
|
|
38
|
+
|
|
39
|
+
.d-quick-action-select-line1,
|
|
40
|
+
.d-quick-action-select-line2 {
|
|
41
|
+
color: var(--#{$prefix}quick-action-select-checked-color);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.d-quick-action-select-line1 {
|
|
46
|
+
font-size: var(--#{$prefix}quick-action-select-line1-font-size);
|
|
47
|
+
font-weight: var(--#{$prefix}quick-action-select-line1-font-weight);
|
|
48
|
+
color: var(--#{$prefix}quick-action-select-line1-color);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.d-quick-action-select-line2 {
|
|
52
|
+
font-size: var(--#{$prefix}quick-action-select-line2-font-size);
|
|
53
|
+
font-weight: var(--#{$prefix}quick-action-select-line2-font-weight);
|
|
54
|
+
color: var(--#{$prefix}quick-action-select-line2-color);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
.d-quick-action-switch {
|
|
2
|
+
--#{$prefix}quick-action-switch-gap: #{$quick-action-switch-gap};
|
|
3
|
+
--#{$prefix}quick-action-switch-padding: #{$quick-action-switch-padding};
|
|
4
|
+
--#{$prefix}quick-action-switch-bg: #{$quick-action-switch-bg};
|
|
5
|
+
--#{$prefix}quick-action-switch-border-radius: #{$quick-action-switch-border-radius};
|
|
6
|
+
|
|
7
|
+
--#{$prefix}quick-action-switch-content-gap: #{$quick-action-switch-content-gap};
|
|
8
|
+
|
|
9
|
+
--#{$prefix}quick-action-switch-label-font-size: #{$quick-action-switch-label-font-size};
|
|
10
|
+
--#{$prefix}quick-action-switch-label-font-weight: #{$quick-action-switch-label-font-weight};
|
|
11
|
+
--#{$prefix}quick-action-switch-label-color: #{$quick-action-switch-label-color};
|
|
12
|
+
|
|
13
|
+
--#{$prefix}quick-action-switch-hint-font-size: #{$quick-action-switch-hint-font-size};
|
|
14
|
+
--#{$prefix}quick-action-switch-hint-font-weight: #{$quick-action-switch-hint-font-weight};
|
|
15
|
+
--#{$prefix}quick-action-switch-hint-color: #{$quick-action-switch-hint-color};
|
|
16
|
+
|
|
17
|
+
--#{$prefix}quick-action-switch-hover-bg: #{$quick-action-switch-hover-bg};
|
|
18
|
+
|
|
19
|
+
--#{$prefix}quick-action-switch-checked-bg: #{$quick-action-switch-checked-bg};
|
|
20
|
+
--#{$prefix}quick-action-switch-checked-label-color: #{$quick-action-switch-checked-label-color};
|
|
21
|
+
--#{$prefix}quick-action-switch-checked-hint-color: #{$quick-action-switch-checked-hint-color};
|
|
22
|
+
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: var(--#{$prefix}quick-action-switch-gap);
|
|
26
|
+
width: 100%;
|
|
27
|
+
padding: var(--#{$prefix}quick-action-switch-padding);
|
|
28
|
+
text-align: left;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
background-color: var(--#{$prefix}quick-action-switch-bg);
|
|
31
|
+
border: 0;
|
|
32
|
+
border-radius: var(--#{$prefix}quick-action-switch-border-radius);
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
background: var(--#{$prefix}quick-action-switch-hover-bg);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:has(input:checked) {
|
|
39
|
+
background: var(--#{$prefix}quick-action-switch-checked-bg);
|
|
40
|
+
|
|
41
|
+
.d-quick-action-switch-label {
|
|
42
|
+
color: var(--#{$prefix}quick-action-switch-checked-label-color);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.d-quick-action-switch-hint {
|
|
46
|
+
color: var(--#{$prefix}quick-action-switch-checked-hint-color);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.d-quick-action-switch-content {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: row;
|
|
53
|
+
gap: var(--#{$prefix}quick-action-switch-content-gap);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.d-quick-action-switch-label {
|
|
57
|
+
font-size: var(--#{$prefix}quick-action-switch-label-font-size);
|
|
58
|
+
font-weight: var(--#{$prefix}quick-action-switch-label-font-weight);
|
|
59
|
+
color: var(--#{$prefix}quick-action-switch-label-color);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.d-quick-action-switch-hint {
|
|
63
|
+
font-size: var(--#{$prefix}quick-action-switch-hint-font-size);
|
|
64
|
+
font-weight: var(--#{$prefix}quick-action-switch-hint-font-weight);
|
|
65
|
+
color: var(--#{$prefix}quick-action-switch-hint-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.d-input-switch:focus-within.form-switch .form-check-input {
|
|
69
|
+
outline: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
@
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
|
|
3
|
+
@import "abstracts/+import";
|
|
4
|
+
|
|
5
|
+
@import "base/+import";
|
|
6
|
+
|
|
7
|
+
@import "components/+import";
|
|
8
|
+
|
|
9
|
+
@import "helpers/+import";
|
|
10
|
+
|
|
11
|
+
@import "bootstrap/scss/utilities/api";
|
|
12
|
+
|
|
13
|
+
@import "shame";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import "bootstrap/scss/helpers/clearfix";
|
|
2
|
+
// @import "bootstrap/scss/helpers/color-bg";
|
|
3
|
+
@import "color-bg";
|
|
4
|
+
@import "bootstrap/scss/helpers/colored-links";
|
|
5
|
+
@import "bootstrap/scss/helpers/focus-ring";
|
|
6
|
+
@import "bootstrap/scss/helpers/icon-link";
|
|
7
|
+
@import "bootstrap/scss/helpers/ratio";
|
|
8
|
+
@import "bootstrap/scss/helpers/position";
|
|
9
|
+
@import "bootstrap/scss/helpers/stacks";
|
|
10
|
+
@import "bootstrap/scss/helpers/visually-hidden";
|
|
11
|
+
@import "bootstrap/scss/helpers/stretched-link";
|
|
12
|
+
@import "bootstrap/scss/helpers/text-truncation";
|
|
13
|
+
@import "bootstrap/scss/helpers/vr";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251
|
|
2
|
+
@each $color, $value in $theme-colors {
|
|
3
|
+
.text-bg-#{$color} {
|
|
4
|
+
color: color-contrast-var($value) if($enable-important-utilities, !important, null);
|
|
5
|
+
background-color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
6
|
+
}
|
|
7
|
+
}
|