@dynamic-framework/ui-react 1.5.0 → 1.7.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 (226) hide show
  1. package/LICENSE +223 -21
  2. package/README.md +3 -15
  3. package/dist/css/dynamic-root.css +286 -0
  4. package/dist/css/dynamic-root.min.css +1 -0
  5. package/dist/css/dynamic-ui.css +17279 -1
  6. package/dist/css/dynamic-ui.min.css +1 -0
  7. package/dist/index.esm.js +918 -549
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +966 -590
  10. package/dist/index.js.map +1 -1
  11. package/dist/types/components/DAlert.d.ts +16 -0
  12. package/dist/types/components/DBadge.d.ts +11 -0
  13. package/dist/types/components/DBoxFile.d.ts +3 -4
  14. package/dist/types/components/DButton.d.ts +21 -0
  15. package/dist/types/components/DCard.d.ts +2 -2
  16. package/dist/types/components/DCardAccount.d.ts +3 -3
  17. package/dist/types/components/DCardBody.d.ts +2 -2
  18. package/dist/types/components/DCardFooter.d.ts +2 -2
  19. package/dist/types/components/DCardHeader.d.ts +2 -2
  20. package/dist/types/components/DCarousel.d.ts +3 -3
  21. package/dist/types/components/DCarouselSlide.d.ts +1 -1
  22. package/dist/types/components/DChip.d.ts +10 -0
  23. package/dist/types/components/DCollapse.d.ts +4 -4
  24. package/dist/types/components/DCollapseIconText.d.ts +3 -4
  25. package/dist/types/components/DCurrencyText.d.ts +1 -1
  26. package/dist/types/components/DDatePicker.d.ts +5 -5
  27. package/dist/types/components/DDatePickerHeader.d.ts +4 -4
  28. package/dist/types/components/DDatePickerInput.d.ts +7 -7
  29. package/dist/types/components/DDatePickerTime.d.ts +6 -6
  30. package/dist/types/components/DFormikInput.d.ts +2 -2
  31. package/dist/types/components/DFormikInputCurrency.d.ts +1 -1
  32. package/dist/types/components/DFormikInputSelect.d.ts +3 -6
  33. package/dist/types/components/DIcon.d.ts +16 -0
  34. package/dist/types/components/DInput.d.ts +32 -0
  35. package/dist/types/components/DInputCheck.d.ts +15 -0
  36. package/dist/types/components/DInputCounter.d.ts +22 -0
  37. package/dist/types/components/DInputCurrency.d.ts +4 -8
  38. package/dist/types/components/DInputCurrencyBase.d.ts +24 -0
  39. package/dist/types/components/DInputPassword.d.ts +17 -0
  40. package/dist/types/components/DInputPin.d.ts +19 -0
  41. package/dist/types/components/DInputSearch.d.ts +19 -0
  42. package/dist/types/components/DInputSelect.d.ts +23 -0
  43. package/dist/types/components/DInputSwitch.d.ts +11 -0
  44. package/dist/types/components/DList.d.ts +4 -3
  45. package/dist/types/components/DListItem.d.ts +4 -4
  46. package/dist/types/components/DListItemMovement.d.ts +2 -2
  47. package/dist/types/components/DModal.d.ts +14 -0
  48. package/dist/types/components/DModalBody.d.ts +6 -0
  49. package/dist/types/components/DModalFooter.d.ts +6 -0
  50. package/dist/types/components/DModalHeader.d.ts +7 -0
  51. package/dist/types/components/DMonthPicker.d.ts +4 -4
  52. package/dist/types/components/DOffcanvas.d.ts +10 -0
  53. package/dist/types/components/DOffcanvasBody.d.ts +6 -0
  54. package/dist/types/components/DOffcanvasFooter.d.ts +6 -0
  55. package/dist/types/components/DOffcanvasHeader.d.ts +7 -0
  56. package/dist/types/components/DPaginator.d.ts +4 -4
  57. package/dist/types/components/DPopover.d.ts +3 -2
  58. package/dist/types/components/DProgress.d.ts +9 -0
  59. package/dist/types/components/DQuickActionButton.d.ts +22 -0
  60. package/dist/types/components/DQuickActionCheck.d.ts +13 -0
  61. package/dist/types/components/DQuickActionSelect.d.ts +12 -0
  62. package/dist/types/components/DQuickActionSwitch.d.ts +11 -0
  63. package/dist/types/components/DSkeleton.d.ts +2 -2
  64. package/dist/types/components/DStepper.d.ts +6 -3
  65. package/dist/types/components/DStepperDesktop.d.ts +12 -0
  66. package/dist/types/components/DStepperMobile.d.ts +11 -0
  67. package/dist/types/components/DTabContent.d.ts +1 -1
  68. package/dist/types/components/DTabs.d.ts +5 -5
  69. package/dist/types/components/DToastContainer.d.ts +2 -3
  70. package/dist/types/components/DTooltip.d.ts +2 -2
  71. package/dist/types/components/banking/{MPermissionGroup.d.ts → DPermissionGroup.d.ts} +2 -2
  72. package/dist/types/components/banking/DPermissionItem.d.ts +1 -1
  73. package/dist/types/components/banking/{MSummaryCard.d.ts → DSummaryCard.d.ts} +2 -2
  74. package/dist/types/components/banking/index.d.ts +2 -2
  75. package/dist/types/components/banking/interface.d.ts +1 -1
  76. package/dist/types/components/config.d.ts +5 -0
  77. package/dist/types/components/index.d.ts +48 -20
  78. package/dist/types/components/interface.d.ts +44 -0
  79. package/dist/types/contexts/ModalContext.d.ts +12 -12
  80. package/dist/types/contexts/OffcanvasContext.d.ts +12 -12
  81. package/dist/types/hooks/useScreenshot.d.ts +1 -1
  82. package/dist/types/hooks/useToast.d.ts +3 -3
  83. package/dist/types/stories/components/DBadge.stories.d.ts +1 -1
  84. package/dist/types/stories/components/DBoxFile.stories.d.ts +1 -1
  85. package/dist/types/stories/components/DButton.stories.d.ts +1 -1
  86. package/dist/types/stories/components/DChip.stories.d.ts +1 -1
  87. package/dist/types/stories/components/DCurrencyText.stories.d.ts +1 -1
  88. package/dist/types/stories/components/DDatePicker.stories.d.ts +1 -1
  89. package/dist/types/stories/components/DFormikInput.stories.d.ts +1 -1
  90. package/dist/types/stories/components/DFormikInputCurrency.stories.d.ts +1 -1
  91. package/dist/types/stories/components/DFormikInputSelect.stories.d.ts +1 -1
  92. package/dist/types/stories/components/DIcon.stories.d.ts +1 -1
  93. package/dist/types/stories/components/DInput.stories.d.ts +1 -1
  94. package/dist/types/stories/components/DInputCheck.stories.d.ts +1 -1
  95. package/dist/types/stories/components/DInputCounter.stories.d.ts +1 -1
  96. package/dist/types/stories/components/DInputCurrency.stories.d.ts +1 -1
  97. package/dist/types/stories/components/DInputCurrencyBase.stories.d.ts +1 -1
  98. package/dist/types/stories/components/DInputPassword.stories.d.ts +1 -1
  99. package/dist/types/stories/components/DInputPin.stories.d.ts +1 -1
  100. package/dist/types/stories/components/DInputSearch.stories.d.ts +1 -1
  101. package/dist/types/stories/components/DInputSelect.stories.d.ts +7 -3
  102. package/dist/types/stories/components/DInputSwitch.stories.d.ts +1 -1
  103. package/dist/types/stories/components/DList.stories.d.ts +1 -1
  104. package/dist/types/stories/components/DListItem.stories.d.ts +1 -1
  105. package/dist/types/stories/components/DListItemMovement.stories.d.ts +1 -1
  106. package/dist/types/stories/components/DPaginator.stories.d.ts +1 -1
  107. package/dist/types/stories/components/DProgress.stories.d.ts +1 -1
  108. package/dist/types/stories/components/DQuickActionButton.stories.d.ts +1 -1
  109. package/dist/types/stories/components/DQuickActionCheck.stories.d.ts +1 -1
  110. package/dist/types/stories/components/DQuickActionSelect.stories.d.ts +1 -1
  111. package/dist/types/stories/components/DQuickActionSwitch.stories.d.ts +1 -1
  112. package/dist/types/stories/components/DSkeleton.stories.d.ts +1 -1
  113. package/dist/types/stories/components/DStepper.stories.d.ts +1 -1
  114. package/dist/types/stories/components/DStepperDesktop.stories.d.ts +7 -0
  115. package/dist/types/stories/components/DStepperMobile.stories.d.ts +6 -0
  116. package/dist/types/stories/components/DTooltip.stories.d.ts +1 -1
  117. package/dist/types/stories/hooks/useFormatCurrency.stories.d.ts +1 -1
  118. package/dist/types/stories/hooks/useModalContext.stories.d.ts +1 -1
  119. package/dist/types/stories/hooks/useOffcanvasContext.stories.d.ts +1 -1
  120. package/dist/types/stories/hooks/useToast.stories.d.ts +2 -2
  121. package/dist/types/stories/patterns/DAlert.stories.d.ts +1 -1
  122. package/dist/types/stories/{components → patterns}/DCard.stories.d.ts +1 -1
  123. package/dist/types/stories/{components → patterns}/DCardAccount.stories.d.ts +1 -1
  124. package/dist/types/stories/patterns/DCarousel.stories.d.ts +1 -1
  125. package/dist/types/stories/patterns/DCollapse.stories.d.ts +1 -1
  126. package/dist/types/stories/patterns/DCollapseIconText.stories.d.ts +1 -1
  127. package/dist/types/stories/patterns/DModal.stories.d.ts +1 -1
  128. package/dist/types/stories/patterns/DOffcanvas.stories.d.ts +1 -1
  129. package/dist/types/stories/patterns/DPopover.stories.d.ts +2 -1
  130. package/dist/types/stories/patterns/DTabs.stories.d.ts +1 -1
  131. package/dist/types/utils/format-currency.d.ts +2 -0
  132. package/dist/types/utils/index.d.ts +2 -1
  133. package/dist/types/utils/liquid-parser.d.ts +20 -0
  134. package/package.json +64 -54
  135. package/src/style/_shame.scss +4 -0
  136. package/src/style/abstracts/_+import.scss +14 -2
  137. package/src/style/abstracts/_funcions.scss +55 -0
  138. package/src/style/abstracts/_maps.scss +1 -0
  139. package/src/style/abstracts/_mixins.scss +133 -0
  140. package/src/style/abstracts/_utilities.scss +78 -0
  141. package/src/style/abstracts/variables/_+import.scss +159 -0
  142. package/src/style/abstracts/variables/_accordion.scss +35 -0
  143. package/src/style/abstracts/variables/_alerts.scss +27 -0
  144. package/src/style/abstracts/variables/_badges.scss +15 -0
  145. package/src/style/abstracts/variables/_body.scss +52 -0
  146. package/src/style/abstracts/variables/_border.scss +29 -0
  147. package/src/style/abstracts/variables/_box-file.scss +4 -4
  148. package/src/style/abstracts/variables/_box-shadow.scss +6 -0
  149. package/src/style/abstracts/variables/_breadcrumb.scss +15 -0
  150. package/src/style/abstracts/variables/_buttons.scss +55 -0
  151. package/src/style/abstracts/variables/_cards.scss +23 -0
  152. package/src/style/abstracts/variables/_carousel.scss +37 -0
  153. package/src/style/abstracts/variables/_chips.scss +13 -0
  154. package/src/style/abstracts/variables/_close.scss +16 -0
  155. package/src/style/abstracts/variables/_code.scss +16 -0
  156. package/src/style/abstracts/variables/_collapse-icon-text.scss +3 -3
  157. package/src/style/abstracts/variables/_colors.scss +515 -0
  158. package/src/style/abstracts/variables/_cursors.scss +32 -0
  159. package/src/style/abstracts/variables/_dropdowns.scss +54 -0
  160. package/src/style/abstracts/variables/_figures.scss +6 -0
  161. package/src/style/abstracts/variables/_forms.scss +313 -0
  162. package/src/style/abstracts/variables/_grid.scss +41 -0
  163. package/src/style/abstracts/variables/_list-group.scss +43 -0
  164. package/src/style/abstracts/variables/_modals.scss +58 -0
  165. package/src/style/abstracts/variables/_navbar.scss +43 -0
  166. package/src/style/abstracts/variables/_navs.scss +44 -0
  167. package/src/style/abstracts/variables/_offcanvas.scss +20 -0
  168. package/src/style/abstracts/variables/_options.scss +24 -0
  169. package/src/style/abstracts/variables/_pagination.scss +41 -0
  170. package/src/style/abstracts/variables/_popovers.scss +31 -0
  171. package/src/style/abstracts/variables/_progress.scss +17 -0
  172. package/src/style/abstracts/variables/_quick-action-button.scss +31 -0
  173. package/src/style/abstracts/variables/_quick-action-check.scss +22 -0
  174. package/src/style/abstracts/variables/_quick-action-select.scss +16 -0
  175. package/src/style/abstracts/variables/_quick-action-switch.scss +21 -0
  176. package/src/style/abstracts/variables/_spacers.scss +28 -0
  177. package/src/style/abstracts/variables/_spinners.scss +13 -0
  178. package/src/style/abstracts/variables/_tables.scss +57 -0
  179. package/src/style/abstracts/variables/_thumbnails.scss +10 -0
  180. package/src/style/abstracts/variables/_toasts.scss +19 -0
  181. package/src/style/abstracts/variables/_tooltips.scss +29 -0
  182. package/src/style/abstracts/variables/_typography.scss +122 -0
  183. package/src/style/abstracts/variables/_z-index.scss +28 -0
  184. package/src/style/base/_+import.scss +15 -0
  185. package/src/style/base/_root.scss +248 -0
  186. package/src/style/base/_tables.scss +171 -0
  187. package/src/style/components/_+import.scss +46 -1
  188. package/src/style/components/_d-alert.scss +45 -0
  189. package/src/style/components/_d-badge.scss +26 -0
  190. package/src/style/components/_d-button.scss +191 -0
  191. package/src/style/components/_d-card-account.scss +3 -3
  192. package/src/style/components/_d-chip.scss +52 -0
  193. package/src/style/components/_d-icon.scss +32 -0
  194. package/src/style/components/_d-input-check.scss +20 -0
  195. package/src/style/components/_d-input-pin.scss +121 -0
  196. package/src/style/components/_d-input-select.scss +20 -0
  197. package/src/style/components/_d-input-switch.scss +58 -0
  198. package/src/style/components/_d-input.scss +168 -0
  199. package/src/style/components/_d-modal.scss +55 -0
  200. package/src/style/components/_d-offcanvas.scss +45 -0
  201. package/src/style/components/_d-popover.scss +4 -1
  202. package/src/style/components/_d-progress.scss +9 -0
  203. package/src/style/components/_d-quick-action-button.scss +111 -0
  204. package/src/style/components/_d-quick-action-check.scss +74 -0
  205. package/src/style/components/_d-quick-action-select.scss +56 -0
  206. package/src/style/components/_d-quick-action-switch.scss +71 -0
  207. package/src/style/components/{_d-stepper.scss → _d-stepper-desktop.scss} +1 -1
  208. package/src/style/components/_d-stepper-mobile.scss +69 -0
  209. package/src/style/dynamic-root.scss +6 -0
  210. package/src/style/dynamic-ui.scss +13 -1
  211. package/src/style/helpers/_+import.scss +13 -0
  212. package/src/style/helpers/_color-bg.scss +7 -0
  213. package/dist/css/dynamic-ui-all.css +0 -1
  214. package/dist/css/dynamic-ui-react.css +0 -1
  215. package/dist/types/components/proxies.d.ts +0 -23
  216. package/dist/types/components/react-component-lib/createComponent.d.ts +0 -10
  217. package/dist/types/components/react-component-lib/createOverlayComponent.d.ts +0 -21
  218. package/dist/types/components/react-component-lib/index.d.ts +0 -2
  219. package/dist/types/components/react-component-lib/interfaces.d.ts +0 -29
  220. package/dist/types/components/react-component-lib/utils/attachProps.d.ts +0 -16
  221. package/dist/types/components/react-component-lib/utils/case.d.ts +0 -2
  222. package/dist/types/components/react-component-lib/utils/dev.d.ts +0 -2
  223. package/dist/types/components/react-component-lib/utils/index.d.ts +0 -10
  224. package/src/style/dynamic-ui-all.scss +0 -3
  225. package/src/style/dynamic-ui-react.scss +0 -7
  226. /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
- width: 100%;
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,9 @@
1
+ .progress {
2
+ --#{$prefix}progress-bar-font-weight: #{$progress-font-weight};
3
+
4
+ font-weight: var(--#{$prefix}progress-bar-font-weight);
5
+
6
+ .progress-bar:not(:empty) {
7
+ min-width: 4ch;
8
+ }
9
+ }
@@ -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,4 +1,4 @@
1
- .d-stepper {
1
+ .d-stepper-desktop {
2
2
  /* Icon container */
3
3
  --#{$prefix}step-icon-container-color: var(--#{$prefix}secondary);
4
4
  --#{$prefix}step-icon-container-background-color: var(--#{$prefix}white);
@@ -0,0 +1,69 @@
1
+ .d-stepper {
2
+ /* Container */
3
+ --#{$prefix}step-container-gap: var(--#{$prefix}ref-spacer-3);
4
+
5
+ /* Outter circle */
6
+ --#{$prefix}step-progress-outter-size: 62px;
7
+ --#{$prefix}step-progress-outter-z-index: 1;
8
+ --#{$prefix}step-progress-outter-fill-background-color: var(--#{$prefix}secondary-500);
9
+ --#{$prefix}step-progress-outter-background-color: var(--#{$prefix}gray-300);
10
+
11
+ /* Inner circle */
12
+ --#{$prefix}step-progress-inner-size: 50px;
13
+ --#{$prefix}step-progress-inner-z-index: 2;
14
+ --#{$prefix}step-progress-inner-background-color: var(--#{$prefix}white);
15
+
16
+ /* Current step */
17
+ --#{$prefix}step-current-step-z-index: 3;
18
+ --#{$prefix}step-current-step-font-weight: var(--#{$prefix}ref-fw-bold);
19
+ --#{$prefix}step-current-step-color: var(--#{$prefix}gray-700);
20
+
21
+ /* Info circle */
22
+ --#{$prefix}step-info-max-width: 12rem;
23
+ --#{$prefix}step-info-label-font-size: var(--#{$prefix}ref-fs-6);
24
+ --#{$prefix}step-info-description-font-size: var(--#{$prefix}ref-fs-small);
25
+ --#{$prefix}step-info-description-color: var(--#{$prefix}gray-500);
26
+
27
+
28
+ display: flex;
29
+ gap: var(--#{$prefix}step-container-gap);
30
+ align-items: center;
31
+ justify-content: center;
32
+
33
+ .d-step-bar {
34
+ position: relative;
35
+ z-index: var(--#{$prefix}step-progress-outter-z-index);
36
+ display: flex;
37
+ align-items: center;
38
+ justify-content: center;
39
+ width: var(--#{$prefix}step-progress-outter-size);
40
+ height: var(--#{$prefix}step-progress-outter-size);
41
+ border-radius: var(--#{$prefix}step-progress-outter-size);
42
+ }
43
+ .d-step-bar::after {
44
+ position: absolute;
45
+ z-index: var(--#{$prefix}step-progress-inner-z-index);
46
+ width: var(--#{$prefix}step-progress-inner-size);
47
+ height: var(--#{$prefix}step-progress-inner-size);
48
+ content: "";
49
+ background-color: var(--#{$prefix}step-progress-inner-background-color);
50
+ border-radius: var(--#{$prefix}step-progress-inner-size);
51
+ }
52
+ .d-step-number {
53
+ z-index: var(--#{$prefix}step-current-step-z-index);
54
+ font-weight: var(--#{$prefix}step-current-step-font-weight);
55
+ color: var(--#{$prefix}step-current-step-color);
56
+ }
57
+ .d-step-info {
58
+ display: flex;
59
+ flex-direction: column;
60
+ max-width: var(--#{$prefix}step-info-max-width);
61
+ }
62
+ .d-step-label {
63
+ font-size: var(--#{$prefix}step-info-label-font-size);
64
+ }
65
+ .d-step-description {
66
+ font-size: var(--#{$prefix}step-info-description-font-size);
67
+ color: var(--#{$prefix}step-info-description-color);
68
+ }
69
+ }
@@ -0,0 +1,6 @@
1
+ @charset "utf-8";
2
+
3
+ @import "abstracts/+import";
4
+
5
+ // @import "bootstrap/scss/root";
6
+ @import "base/root";
@@ -1 +1,13 @@
1
- @import "@dynamic-framework/ui/src/style/dynamic-ui";
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
+ }