@dynamic-framework/ui-react 1.36.2 → 2.0.0-dev.10

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 (182) hide show
  1. package/dist/css/dynamic-ui-non-root.css +7051 -3728
  2. package/dist/css/dynamic-ui-non-root.min.css +3 -3
  3. package/dist/css/dynamic-ui-root.css +339 -161
  4. package/dist/css/dynamic-ui-root.min.css +3 -3
  5. package/dist/css/dynamic-ui.css +7392 -3891
  6. package/dist/css/dynamic-ui.min.css +3 -3
  7. package/dist/index.esm.js +643 -410
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +687 -437
  10. package/dist/index.js.map +1 -1
  11. package/dist/js/bootstrap.bundle.js +3 -6
  12. package/dist/js/bootstrap.bundle.min.js +2 -2
  13. package/dist/js/bootstrap.esm.js +3 -6
  14. package/dist/js/bootstrap.esm.min.js +2 -2
  15. package/dist/js/bootstrap.js +3 -6
  16. package/dist/js/bootstrap.min.js +2 -2
  17. package/dist/types/components/DAlert/DAlert.d.ts +3 -3
  18. package/dist/types/components/DAvatar/DAvatar.d.ts +1 -3
  19. package/dist/types/components/DBadge/DBadge.d.ts +4 -3
  20. package/dist/types/components/DBox/DBox.d.ts +5 -0
  21. package/dist/types/components/DBox/index.d.ts +2 -0
  22. package/dist/types/components/DBoxFile/DBoxFile.d.ts +1 -1
  23. package/dist/types/components/DBoxFile/useDBoxFile.d.ts +2 -2
  24. package/dist/types/components/DButton/DButton.d.ts +8 -17
  25. package/dist/types/components/DButtonIcon/DButtonIcon.d.ts +3 -3
  26. package/dist/types/components/DCarousel/components/DCarouselSlide.d.ts +3 -1
  27. package/dist/types/components/DChip/DChip.d.ts +3 -3
  28. package/dist/types/components/DCollapse/DCollapse.d.ts +2 -2
  29. package/dist/types/components/DCreditCard/DCreditCard.d.ts +12 -0
  30. package/dist/types/components/DCreditCard/index.d.ts +2 -0
  31. package/dist/types/components/DDatePicker/DDatePicker.d.ts +3 -3
  32. package/dist/types/components/DDatePicker/components/DDatePickerHeaderSelector.d.ts +2 -4
  33. package/dist/types/components/DDropdown/DDropdown.d.ts +20 -0
  34. package/dist/types/components/DDropdown/index.d.ts +2 -0
  35. package/dist/types/components/DIconBase/DIconBase.d.ts +13 -9
  36. package/dist/types/components/DInput/DInput.d.ts +3 -2
  37. package/dist/types/components/DInputCheck/DInputCheck.d.ts +2 -1
  38. package/dist/types/components/DInputCounter/DInputCounter.d.ts +3 -2
  39. package/dist/types/components/DInputCurrency/DInputCurrency.d.ts +4 -3
  40. package/dist/types/components/DInputMask/DInputMask.d.ts +7 -17
  41. package/dist/types/components/DInputPhone/DInputPhone.d.ts +2 -2
  42. package/dist/types/components/DInputPin/DInputPin.d.ts +3 -3
  43. package/dist/types/components/DInputRange/DInputRange.d.ts +2 -2
  44. package/dist/types/components/DInputSelect/DInputSelect.d.ts +3 -3
  45. package/dist/types/components/DInputSwitch/DInputSwitch.d.ts +2 -1
  46. package/dist/types/components/DLayout/DLayout.d.ts +22 -0
  47. package/dist/types/components/DLayout/components/DLayoutPane.d.ts +13 -0
  48. package/dist/types/components/DLayout/index.d.ts +3 -0
  49. package/dist/types/components/DListGroup/components/DListGroupItem.d.ts +4 -4
  50. package/dist/types/components/DModal/DModal.d.ts +3 -1
  51. package/dist/types/components/DOffcanvas/DOffcanvas.d.ts +3 -1
  52. package/dist/types/components/DOtp/DOtp.d.ts +16 -0
  53. package/dist/types/components/DOtp/DOtpspec.d.ts +0 -0
  54. package/dist/types/components/DOtp/components/OtpCountdown.d.ts +7 -0
  55. package/dist/types/components/DOtp/hooks/useCountdown.d.ts +4 -0
  56. package/dist/types/components/DOtp/index.d.ts +2 -0
  57. package/dist/types/components/DPaginator/DPaginator.d.ts +2 -27
  58. package/dist/types/components/DPasswordStrengthMeter/DPasswordStrengthMeter.d.ts +23 -0
  59. package/dist/types/components/DPasswordStrengthMeter/PasswordCheckItem.d.ts +7 -0
  60. package/dist/types/components/DPasswordStrengthMeter/PasswordCheckList.d.ts +14 -0
  61. package/dist/types/components/DPasswordStrengthMeter/PasswordStrength.d.ts +6 -0
  62. package/dist/types/components/DPasswordStrengthMeter/index.d.ts +3 -0
  63. package/dist/types/components/DPopover/DPopover.d.ts +1 -1
  64. package/dist/types/components/DProgress/DProgress.d.ts +2 -1
  65. package/dist/types/components/DSelect/DSelect.d.ts +3 -3
  66. package/dist/types/components/DTabs/DTabs.d.ts +2 -2
  67. package/dist/types/components/DTimeline/DTimeline.d.ts +15 -0
  68. package/dist/types/components/DTimeline/index.d.ts +2 -0
  69. package/dist/types/components/DToastContainer/useDToast.d.ts +2 -2
  70. package/dist/types/components/DTooltip/DTooltip.d.ts +1 -2
  71. package/dist/types/components/DVoucher/DVoucher.d.ts +14 -0
  72. package/dist/types/components/DVoucher/hooks/useScreenshot.d.ts +5 -0
  73. package/dist/types/components/DVoucher/hooks/useScreenshotDownload.d.ts +5 -0
  74. package/dist/types/components/DVoucher/hooks/useScreenshotWebShare.d.ts +5 -0
  75. package/dist/types/components/DVoucher/index.d.ts +2 -0
  76. package/dist/types/components/config.d.ts +0 -2
  77. package/dist/types/components/index.d.ts +8 -9
  78. package/dist/types/components/interface.d.ts +3 -8
  79. package/dist/types/contexts/DContext.d.ts +0 -2
  80. package/dist/types/hooks/tests/useDisableBodyScrollEffect.spec.d.ts +1 -0
  81. package/dist/types/hooks/tests/useDisableInputWheel.spec.d.ts +1 -0
  82. package/dist/types/hooks/tests/useFormatCurrency.spec.d.ts +1 -0
  83. package/dist/types/hooks/tests/useInputCurrency.spec.d.ts +1 -0
  84. package/dist/types/hooks/tests/useItemSelection.spec.d.ts +1 -0
  85. package/dist/types/hooks/tests/useMediaBreakpointUp.spec.d.ts +1 -0
  86. package/dist/types/hooks/tests/useMediaQuery.spec.d.ts +1 -0
  87. package/dist/types/hooks/tests/usePortal.spec.d.ts +1 -0
  88. package/dist/types/hooks/tests/useProvidedRefOrCreate.spec.d.ts +1 -0
  89. package/dist/types/hooks/tests/useStackState.spec.d.ts +1 -0
  90. package/dist/types/hooks/useInputCurrency.d.ts +1 -1
  91. package/dist/types/hooks/useProvidedRefOrCreate.d.ts +1 -1
  92. package/dist/types/hooks/useResponsiveProp.d.ts +35 -0
  93. package/dist/types/types/polymorphic.d.ts +3 -3
  94. package/dist/types/utils/tests/attr-accept.spec.d.ts +1 -0
  95. package/dist/types/utils/tests/changeQueryString.spec.d.ts +1 -0
  96. package/dist/types/utils/tests/configureI18n.spec.d.ts +1 -0
  97. package/dist/types/utils/tests/formatCurrency.spec.d.ts +1 -0
  98. package/dist/types/utils/tests/getCssVariable.spec.d.ts +1 -0
  99. package/dist/types/utils/tests/getKeyboardFocusableElements.spec.d.ts +1 -0
  100. package/dist/types/utils/tests/getQueryString.spec.d.ts +1 -0
  101. package/dist/types/utils/tests/mediaQuery.spec.d.ts +1 -0
  102. package/dist/types/utils/tests/validatePhoneNumber.spec.d.ts +1 -0
  103. package/jest/setup.js +93 -2
  104. package/package.json +57 -57
  105. package/src/style/_shame.scss +42 -1
  106. package/src/style/abstracts/_mixins.scss +35 -23
  107. package/src/style/abstracts/_utilities.scss +70 -1
  108. package/src/style/abstracts/variables/_+import.scss +3 -2
  109. package/src/style/abstracts/variables/_alerts.scss +2 -0
  110. package/src/style/abstracts/variables/_body.scss +10 -3
  111. package/src/style/abstracts/variables/_border.scss +5 -5
  112. package/src/style/abstracts/variables/_buttons.scss +19 -11
  113. package/src/style/abstracts/variables/_cards.scss +6 -4
  114. package/src/style/abstracts/variables/_chips.scss +2 -2
  115. package/src/style/abstracts/variables/_colors.scss +147 -70
  116. package/src/style/abstracts/variables/_datepicker.scss +10 -9
  117. package/src/style/abstracts/variables/_dropdowns.scss +6 -4
  118. package/src/style/abstracts/variables/_forms.scss +4 -4
  119. package/src/style/abstracts/variables/_list-group.scss +2 -2
  120. package/src/style/abstracts/variables/_modals.scss +4 -3
  121. package/src/style/abstracts/variables/_offcanvas.scss +1 -0
  122. package/src/style/abstracts/variables/_pagination.scss +4 -4
  123. package/src/style/abstracts/variables/_shadow.scss +1 -0
  124. package/src/style/abstracts/variables/_tables.scss +8 -3
  125. package/src/style/abstracts/variables/_tooltip.scss +1 -1
  126. package/src/style/abstracts/variables/_typography.scss +7 -7
  127. package/src/style/base/_+import.scss +1 -0
  128. package/src/style/base/_alert.scss +1 -27
  129. package/src/style/base/_badge.scss +50 -12
  130. package/src/style/base/_buttons.scss +33 -30
  131. package/src/style/base/_dropdown.scss +18 -0
  132. package/src/style/base/_input-group.scss +5 -0
  133. package/src/style/base/_label.scss +0 -4
  134. package/src/style/base/_list-group.scss +6 -0
  135. package/src/style/base/_pagination.scss +2 -0
  136. package/src/style/base/_tables.scss +4 -0
  137. package/src/style/base/_tooltip.scss +1 -10
  138. package/src/style/components/_+import.scss +5 -4
  139. package/src/style/components/_d-avatar.scss +2 -20
  140. package/src/style/components/_d-box-file.scss +1 -1
  141. package/src/style/components/_d-box.scss +13 -0
  142. package/src/style/components/_d-carousel.scss +19 -1
  143. package/src/style/components/_d-credit-card.scss +67 -0
  144. package/src/style/components/_d-datepicker.scss +83 -26
  145. package/src/style/components/_d-icon.scss +10 -3
  146. package/src/style/components/_d-modal.scss +3 -0
  147. package/src/style/components/_d-stepper-desktop.scss +61 -65
  148. package/src/style/components/_d-stepper-mobile.scss +2 -2
  149. package/src/style/components/_d-tabs.scss +37 -0
  150. package/src/style/components/_d-timeline.scss +108 -0
  151. package/src/style/components/_d-voucher.scss +29 -0
  152. package/src/style/helpers/_color-bg.scss +13 -3
  153. package/src/style/root/_root.scss +109 -86
  154. package/dist/css/bootstrap-icons.css +0 -2106
  155. package/dist/css/bootstrap-icons.json +0 -2080
  156. package/dist/css/bootstrap-icons.min.css +0 -5
  157. package/dist/css/bootstrap-icons.scss +0 -2118
  158. package/dist/css/fonts/bootstrap-icons.woff +0 -0
  159. package/dist/css/fonts/bootstrap-icons.woff2 +0 -0
  160. package/dist/types/components/DInputCurrencyBase/DInputCurrencyBase.d.ts +0 -26
  161. package/dist/types/components/DInputCurrencyBase/index.d.ts +0 -2
  162. package/dist/types/components/DInputSearch/DInputSearch.d.ts +0 -17
  163. package/dist/types/components/DInputSearch/index.d.ts +0 -2
  164. package/dist/types/components/DList/DList.d.ts +0 -17
  165. package/dist/types/components/DList/components/DListItem.d.ts +0 -13
  166. package/dist/types/components/DList/index.d.ts +0 -3
  167. package/dist/types/components/DQuickActionButton/DQuickActionButton.d.ts +0 -20
  168. package/dist/types/components/DQuickActionButton/index.d.ts +0 -2
  169. package/dist/types/components/DQuickActionCheck/DQuickActionCheck.d.ts +0 -17
  170. package/dist/types/components/DQuickActionCheck/index.d.ts +0 -2
  171. package/dist/types/components/DQuickActionSelect/DQuickActionSelect.d.ts +0 -13
  172. package/dist/types/components/DQuickActionSelect/index.d.ts +0 -2
  173. package/dist/types/components/DQuickActionSwitch/DQuickActionSwitch.d.ts +0 -15
  174. package/dist/types/components/DQuickActionSwitch/index.d.ts +0 -2
  175. package/dist/types/components/DSkeleton/DSkeleton.d.ts +0 -11
  176. package/dist/types/components/DSkeleton/index.d.ts +0 -2
  177. package/dist/types/components/DTableHead/DTableHead.d.ts +0 -9
  178. package/dist/types/components/DTableHead/index.d.ts +0 -2
  179. package/src/style/components/_d-quick-action-button.scss +0 -121
  180. package/src/style/components/_d-quick-action-check.scss +0 -74
  181. package/src/style/components/_d-quick-action-select.scss +0 -58
  182. package/src/style/components/_d-quick-action-switch.scss +0 -64
@@ -3,7 +3,7 @@
3
3
  // Dropdown menu container and contents.
4
4
 
5
5
  // scss-docs-start dropdown-variables
6
- $dropdown-padding-x: var(--#{$prefix}--#{$prefix}ref-spacer-2) !default;
6
+ $dropdown-padding-x: var(--#{$prefix}ref-spacer-2) !default;
7
7
  $dropdown-bg: var(--#{$prefix}white) !default;
8
8
  $dropdown-border-radius: var(--#{$prefix}border-radius-sm) !default;
9
9
  $dropdown-border-width: 0 !default;
@@ -11,8 +11,10 @@ $dropdown-border-width: 0 !default;
11
11
  $dropdown-divider-margin-y: var(--#{$prefix}ref-spacer-2) !default;
12
12
  $dropdown-box-shadow: var(--#{$prefix}box-shadow-sm) !default;
13
13
 
14
- $dropdown-link-color: rgb(var(--#{$prefix}gray-500-rgb)) !default;
15
- $dropdown-link-hover-bg: rgb(var(--#{$prefix}gray-100-rgb)) !default;
14
+ $dropdown-link-color: rgb(var(--#{$prefix}gray-700-rgb)) !default;
15
+ $dropdown-link-hover-color: rgb(var(--#{$prefix}gray-700-rgb)) !default;
16
+ $dropdown-link-hover-bg: rgb(var(--#{$prefix}gray-25-rgb)) !default;
17
+ $dropdown-link-active-bg: rgb(var(--#{$prefix}gray-50-rgb)) !default;
16
18
 
17
19
  $dropdown-item-padding-y: var(--#{$prefix}ref-spacer-2) !default;
18
20
  $dropdown-item-padding-x: var(--#{$prefix}ref-spacer-4) !default;
@@ -28,7 +30,7 @@ $dropdown-header-color: var(--#{$prefix}gray-600) !default;
28
30
  $dropdown-dark-color: var(--#{$prefix}gray-300) !default;
29
31
  $dropdown-dark-bg: var(--#{$prefix}gray-800) !default;
30
32
  $dropdown-dark-link-hover-color: var(--#{$prefix}white) !default;
31
- $dropdown-dark-link-hover-bg: rgba(var(--#{$prefix}white-rgb), .15) !default;
33
+ $dropdown-dark-link-hover-bg: var(--#{$prefix}gray-50) !default;
32
34
  $dropdown-dark-link-disabled-color: var(--#{$prefix}gray-500) !default;
33
35
  $dropdown-dark-header-color: var(--#{$prefix}gray-500) !default;
34
36
  // scss-docs-end dropdown-dark-variables
@@ -1,6 +1,6 @@
1
1
  // scss-docs-start form-text-variables
2
2
  $form-text-margin-top: var(--#{$prefix}ref-spacer-1) !default;
3
- $form-text-color: var(--#{$prefix}body-color) !default;
3
+ $form-text-color: var(--#{$prefix}bs-gray-400) !default;
4
4
  // scss-docs-end form-text-variables
5
5
 
6
6
  // scss-docs-start form-label-variables
@@ -11,8 +11,8 @@ $form-label-color: var(--#{$prefix}label-color) !default;
11
11
  // scss-docs-end form-label-variables
12
12
 
13
13
  // scss-docs-start form-input-variables
14
- $input-padding-y: $spacer-3 !default;
15
- $input-padding-x: $spacer-4 !default;
14
+ $input-padding-y: $spacer-2 !default;
15
+ $input-padding-x: $spacer-3 !default;
16
16
 
17
17
  $input-padding-x-sm: $spacer-2 !default;
18
18
  $input-padding-y-sm: $spacer-1 !default;
@@ -35,7 +35,7 @@ $input-border-radius: var(--#{$prefix}border-radius-sm) !default;
35
35
  $input-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
36
36
  $input-border-radius-lg: var(--#{$prefix}border-radius-sm) !default;
37
37
 
38
- $input-focus-border-color: $component-focus-border-color !default; // unused
38
+ $input-focus-border-color: var(--#{$prefix}gray-200) !default;
39
39
  $input-focus-width: $input-btn-focus-width !default;
40
40
 
41
41
  $input-placeholder-color: var(--#{$prefix}border-color) !default;
@@ -3,7 +3,7 @@
3
3
  // scss-docs-start list-group-variables
4
4
  $list-group-color: var(--#{$prefix}dark) !default;
5
5
  $list-group-bg: transparent !default;
6
- $list-group-border-color: var(--#{$prefix}gray-300) !default;
6
+ $list-group-border-color: var(--#{$prefix}gray-100) !default;
7
7
  $list-group-border-radius: var(--#{$prefix}border-radius-sm) !default;
8
8
 
9
9
  $list-group-item-padding-y: var(--#{$prefix}ref-spacer-3) !default;
@@ -14,7 +14,7 @@ $list-group-item-bg-scale: 0% !default;
14
14
  $list-group-item-color-scale: 40% !default;
15
15
  // fusv-enable
16
16
 
17
- $list-group-hover-bg: var(--#{$prefix}surface-primary) !default;
17
+ $list-group-hover-bg: var(--#{$prefix}subtle-primary) !default;
18
18
 
19
19
  $list-group-disabled-color: var(--#{$prefix}gray-600) !default;
20
20
 
@@ -19,19 +19,20 @@ $modal-backdrop-bg: var(--#{$prefix}black) !default;
19
19
  $modal-backdrop-opacity: .3 !default;
20
20
 
21
21
  $modal-header-border-color: transparent !default;
22
- $modal-header-padding-y: var(--#{$prefix}ref-spacer-4) !default;
22
+ $modal-header-padding-y: var(--#{$prefix}ref-spacer-6) !default;
23
23
  $modal-header-padding-x: var(--#{$prefix}ref-spacer-4) !default;
24
24
  $modal-header-padding: var(--#{$prefix}ref-spacer-4) !default; // Keep this for backwards compatibility
25
+ $modal-body-padding: var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-6) !default;
25
26
 
26
27
  $modal-footer-border-color: transparent !default;
27
28
 
28
29
  // custom
29
30
  $modal-separator-bg: var(--#{$prefix}gray-100) !default;
30
31
  $modal-separator-height: 1px !default;
31
- $modal-separator-margin-x: var(--#{$prefix}ref-spacer-4) !default;
32
+ $modal-separator-margin-x: 0 !default;
32
33
  // end custom
33
34
 
34
35
  // custom
35
- $modal-footer-padding: var(--#{$prefix}ref-spacer-4) !default;
36
+ $modal-footer-padding: var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-6) !default;
36
37
  // end custom
37
38
  // scss-docs-end modal-variables
@@ -3,6 +3,7 @@
3
3
  // scss-docs-start offcanvas-variables
4
4
  $offcanvas-padding-y: var(--#{$prefix}ref-spacer-4) !default;
5
5
  $offcanvas-padding-x: var(--#{$prefix}ref-spacer-4) !default;
6
+ $offcanvas-box-shadow: var(--#{$prefix}box-shadow-lg) !default;
6
7
 
7
8
  // custom
8
9
  $offcanvas-header-gap: var(--#{$prefix}ref-spacer-4) !default;
@@ -12,7 +12,7 @@ $pagination-padding-x-lg: var(--#{$prefix}ref-spacer-1) !default;
12
12
  $pagination-page-item-size: $spacer-8 !default;
13
13
  $pagination-page-item-size-lg: $spacer-10 !default;
14
14
  $pagination-page-item-size-sm: $spacer-6 !default;
15
- $pagination-page-border-radius: $pagination-page-item-size !default;
15
+ $pagination-page-border-radius: var(--#{$prefix}border-radius) !default;
16
16
  $pagination-page-control-color: var(--#{$prefix}primary) !default;
17
17
  $pagination-page-control-disabled-color: var(--#{$prefix}primary-200) !default;
18
18
  // end custom
@@ -22,7 +22,7 @@ $pagination-bg: transparent !default;
22
22
  $pagination-border-width: 0 !default;
23
23
 
24
24
  $pagination-hover-color: var(--#{$prefix}body-color) !default;
25
- $pagination-hover-bg: var(--#{$prefix}primary-50) !default;
25
+ $pagination-hover-bg: var(--#{$prefix}gray-50) !default;
26
26
  $pagination-hover-border-color: 0 !default; // Todo in v6: remove this?
27
27
 
28
28
  $pagination-focus-color: #{$pagination-hover-color} !default;
@@ -33,6 +33,6 @@ $pagination-focus-outline: 0 !default;
33
33
  $pagination-disabled-color: var(--#{$prefix}body-color) !default;
34
34
  $pagination-disabled-bg: var(--#{$prefix}transparent) !default;
35
35
 
36
- $pagination-border-radius-sm: $pagination-page-item-size-sm !default;
37
- $pagination-border-radius-lg: $pagination-page-item-size-lg !default;
36
+ // $pagination-border-radius-sm: $pagination-page-item-size-sm !default;
37
+ // $pagination-border-radius-lg: $pagination-page-item-size-lg !default;
38
38
  // scss-docs-end pagination-variables
@@ -0,0 +1 @@
1
+ $box-shadow-lg: 0 10px 10px rgba(0, 0, 0, .02) !default;
@@ -10,17 +10,22 @@ $table-bg-scale: -100% !default;
10
10
 
11
11
  $table-striped-color: $table-color !default;
12
12
  $table-striped-bg-factor: .05 !default;
13
- $table-striped-bg: unquote("color-mix(in srgb, var(--#{$prefix}white), var(--#{$prefix}black) #{(100% - $table-bg-scale) * $table-striped-bg-factor})") !default;
14
13
 
15
14
  $table-active-color: $table-color !default;
16
15
  $table-active-bg-factor: .1 !default;
17
- $table-active-bg: unquote("color-mix(in srgb, var(--#{$prefix}white), var(--#{$prefix}black) #{(100% - $table-bg-scale) * $table-active-bg-factor})") !default;
18
16
 
19
17
  $table-hover-color: $table-color !default;
20
18
  $table-hover-bg-factor: .075 !default;
21
- $table-hover-bg: unquote("color-mix(in srgb, var(--#{$prefix}white), var(--#{$prefix}black) #{(100% - $table-bg-scale) * $table-hover-bg-factor})") !default;
19
+
20
+
21
+ $table-bg-color-default: var(--#{$prefix}gray-25) !default;
22
+
23
+ $table-hover-bg: $table-bg-color-default !default;
24
+ $table-striped-bg: $table-bg-color-default !default;
25
+ $table-active-bg: $table-bg-color-default !default;
22
26
 
23
27
  $table-border-factor: .1 !default;
28
+ $table-border-color: var(--#{$prefix}gray-50) !default;
24
29
 
25
30
 
26
31
  // scss-docs-end table-variables
@@ -1,7 +1,7 @@
1
1
  // scss-docs-start tooltip-variables
2
2
  $tooltip-font-size: var(--#{$prefix}body-font-size) !default;
3
3
  $tooltip-max-width: 300px !default;
4
- $tooltip-color: var(--#{$prefix}body-bg) !default;
4
+ $tooltip-color: var(--#{$prefix}body-bg) !default;
5
5
  $tooltip-bg: var(--#{$prefix}emphasis-color) !default;
6
6
  $tooltip-border-radius: var(--#{$prefix}ref-spacer-1) !default;
7
7
  $tooltip-opacity: 1 !default;
@@ -3,7 +3,7 @@
3
3
  // Font, line-height, and color for body text, headings, and more.
4
4
 
5
5
  // scss-docs-start font-variables
6
- $font-family-sans-serif: "Source Sans 3", sans-serif !default;
6
+ $font-family-sans-serif: "Jost", sans-serif !default;
7
7
 
8
8
  // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
9
9
  // $font-size-base affects the font size of the body text
@@ -21,9 +21,9 @@ $font-size-lg: $font-size-base * 1.125 !default; // 18px
21
21
  $font-weight-lighter-value: lighter !default;
22
22
  $font-weight-light-value: 200 !default;
23
23
  $font-weight-normal-value: 400 !default;
24
- $font-weight-semibold-value: 600 !default;
25
- $font-weight-bold-value: 700 !default;
26
- $font-weight-bolder-value: 800 !default;
24
+ $font-weight-semibold-value: 500 !default;
25
+ $font-weight-bold-value: 600 !default;
26
+ $font-weight-bolder-value: 600 !default;
27
27
 
28
28
  $font-weight-lighter: var(--#{$prefix}fw-lighter) !default;
29
29
  $font-weight-light: var(--#{$prefix}fw-light) !default;
@@ -169,9 +169,9 @@ $small-font-size-value: $font-size-sm-value !default;
169
169
 
170
170
  $sub-sup-font-size: .75em !default;
171
171
 
172
- // fusv-disable
173
- $text-muted: var(--#{$prefix}gray) !default;
174
- // fusv-enable
172
+ // // fusv-disable
173
+ // $text-muted: var(--#{$prefix}gray-400) !default;
174
+ // // fusv-enable
175
175
 
176
176
  $blockquote-margin-y: var(--#{$prefix}ref-spacer-4) !default;
177
177
  $blockquote-footer-color: var(--#{$prefix}gray-600) !default;
@@ -42,6 +42,7 @@
42
42
  @import "form-check";
43
43
  @import "form-control";
44
44
  @import "form-range";
45
+ @import "list-group";
45
46
  @import "form-text";
46
47
  @import "input-group";
47
48
  @import "buttons";
@@ -1,7 +1,7 @@
1
1
  .alert {
2
2
  --#{$prefix}alert-gap: #{$alert-gap};
3
3
  --#{$prefix}alert-close-icon-size: #{$alert-close-icon-size};
4
- --#{$prefix}alert-icon-size: var(--#{$prefix}ref-spacer-5);
4
+ --#{$prefix}alert-icon-size: var(--#{$prefix}ref-spacer-6);
5
5
 
6
6
  display: flex;
7
7
  flex-direction: row;
@@ -20,30 +20,4 @@
20
20
  color: var(--#{$prefix}icon-color);
21
21
  }
22
22
  }
23
-
24
- @each $theme, $value in map-remove($theme-colors, "light", "dark") {
25
- &.alert-#{$theme} {
26
- --#{$prefix}alert-icon-color: var(--#{$prefix}#{$theme}-500);
27
- --#{$prefix}alert-color: var(--#{$prefix}body-color);
28
-
29
- --#{$prefix}alert-bg: var(--#{$prefix}surface-#{$theme});
30
- --#{$prefix}alert-border-color: var(--#{$prefix}surface-#{$theme});
31
- }
32
- }
33
-
34
- &.alert-light {
35
- --#{$prefix}alert-icon-color: var(--#{$prefix}gray-500);
36
- --#{$prefix}alert-color: var(--#{$prefix}body-color);
37
-
38
- --#{$prefix}alert-bg: var(--#{$prefix}surface-gray);
39
- --#{$prefix}alert-border-color: var(--#{$prefix}surface-gray);
40
- }
41
-
42
- &.alert-dark {
43
- --#{$prefix}alert-icon-color: var(--#{$prefix}light);
44
- --#{$prefix}alert-color: var(--#{$prefix}white);
45
-
46
- --#{$prefix}alert-bg: var(--#{$prefix}gray-500);
47
- --#{$prefix}alert-border-color: var(--#{$prefix}gray-500);
48
- }
49
23
  }
@@ -3,15 +3,17 @@
3
3
  --#{$prefix}badge-icon-size: #{$badge-font-size};
4
4
  --#{$prefix}badge-bg: #{$badge-bg};
5
5
  --#{$prefix}badge-color: #{$badge-color};
6
+ --#{$prefix}badge-sm-font-size: var(--#{$prefix}fs-body-small);
7
+ --#{$prefix}badge-lg-font-size: var(--#{$prefix}fs-body-large);
6
8
 
7
9
  display: inline-flex;
8
10
  gap: var(--#{$prefix}badge-gap);
11
+ align-items: center;
9
12
  color: var(--#{$prefix}badge-color);
10
-
11
13
  background-color: var(--#{$prefix}badge-bg);
12
14
 
13
15
  .d-icon {
14
- --#{$prefix}icon-size: var(--#{$prefix}badge-icon-size);
16
+ --#{$prefix}icon-size: .75rem;
15
17
  }
16
18
 
17
19
  @each $theme, $value in map-remove($theme-colors, "light") {
@@ -23,23 +25,58 @@
23
25
  }
24
26
  }
25
27
 
26
- &.badge-light {
27
- --#{$prefix}badge-bg: var(--#{$prefix}gray-200);
28
+
29
+ &.badge-sm {
30
+ --#{$prefix}badge-font-size: var(--#{$prefix}badge-sm-font-size);
31
+ }
32
+
33
+ &.badge-lg {
34
+ --#{$prefix}badge-font-size: var(--#{$prefix}badge-lg-font-size);
35
+ }
36
+
37
+ &.badge-secondary {
38
+ --#{$prefix}badge-bg: var(--#{$prefix}gray-100);
28
39
  --#{$prefix}badge-color: var(--#{$prefix}gray-900);
29
40
  }
30
41
 
31
- @each $theme, $value in map-remove($theme-colors, "light", "dark") {
32
- $color: color-contrast-var($value);
42
+ &.badge-light {
43
+ --#{$prefix}badge-bg: var(--#{$prefix}gray-25);
44
+ --#{$prefix}badge-color: var(--#{$prefix}gray-700);
45
+ }
33
46
 
34
- &.badge-soft-#{$theme} {
35
- --#{$prefix}badge-bg: var(--#{$prefix}surface-#{$theme});
36
- --#{$prefix}badge-color: var(--#{$prefix}body-color);
37
- }
47
+ &.badge-soft-primary {
48
+ --#{$prefix}badge-bg: var(--#{$prefix}primary-50);
49
+ --#{$prefix}badge-color: var(--#{$prefix}primary-700);
50
+ }
51
+
52
+ &.badge-soft-secondary {
53
+ --#{$prefix}badge-bg: var(--#{$prefix}gray-50);
54
+ --#{$prefix}badge-color: var(--#{$prefix}gray-700);
55
+ }
56
+
57
+ &.badge-soft-success {
58
+ --#{$prefix}badge-bg: var(--#{$prefix}success-50);
59
+ --#{$prefix}badge-color: var(--#{$prefix}success-700);
60
+ }
61
+
62
+ &.badge-soft-warning {
63
+ --#{$prefix}badge-bg: var(--#{$prefix}warning-50);
64
+ --#{$prefix}badge-color: var(--#{$prefix}warning-800);
65
+ }
66
+
67
+ &.badge-soft-info {
68
+ --#{$prefix}badge-bg: var(--#{$prefix}info-50);
69
+ --#{$prefix}badge-color: var(--#{$prefix}info-700);
70
+ }
71
+
72
+ &.badge-soft-danger {
73
+ --#{$prefix}badge-bg: var(--#{$prefix}danger-50);
74
+ --#{$prefix}badge-color: var(--#{$prefix}danger-700);
38
75
  }
39
76
 
40
77
  &.badge-soft-light {
41
- --#{$prefix}badge-bg: var(--#{$prefix}gray-700);
42
- --#{$prefix}badge-color: var(--#{$prefix}white);
78
+ --#{$prefix}badge-bg: var(--#{$prefix}gray-25);
79
+ --#{$prefix}badge-color: var(--#{$prefix}gray-500);
43
80
  }
44
81
 
45
82
  &.badge-soft-dark {
@@ -47,3 +84,4 @@
47
84
  --#{$prefix}badge-color: var(--#{$prefix}body-color);
48
85
  }
49
86
  }
87
+
@@ -16,11 +16,14 @@
16
16
  --#{$prefix}btn–text-decoration: #{if($link-decoration == none, null, none)};
17
17
  --#{$prefix}btn-lg-padding-y: #{$btn-padding-y-lg};
18
18
  --#{$prefix}btn-lg-padding-x: #{$btn-padding-x-lg};
19
- --#{$prefix}btn-lg-font-size: #{$btn-font-size-lg};
19
+ --#{$prefix}btn-lg-font-size: #{$btn-lg-font-size};
20
20
  --#{$prefix}btn-sm-padding-y: #{$btn-padding-y-sm};
21
21
  --#{$prefix}btn-sm-padding-x: #{$btn-padding-x-sm};
22
22
  --#{$prefix}btn-sm-font-size: #{$btn-font-size-sm};
23
+ --#{$prefix}btn-box-shadow: #{btn-box-shadow};
24
+ --#{$prefix}btn-loading-gap: #{$btn-loading-gap};
23
25
 
26
+ position: relative;
24
27
  display: inline-flex;
25
28
  flex-direction: row;
26
29
  gap: var(--#{$prefix}btn-gap, $spacer-2);
@@ -28,7 +31,6 @@
28
31
  justify-content: center;
29
32
  padding: var(--#{$prefix}btn-padding-y) var(--#{$prefix}btn-padding-x);
30
33
  font-family: var(--#{$prefix}btn-font-family);
31
- @include font-size(var(--#{$prefix}btn-font-size));
32
34
  font-weight: var(--#{$prefix}btn-font-weight);
33
35
  line-height: var(--#{$prefix}btn-line-height);
34
36
  color: var(--#{$prefix}btn-color);
@@ -40,14 +42,12 @@
40
42
  user-select: none;
41
43
  border: var(--#{$prefix}btn-border-width) solid var(--#{$prefix}btn-border-color);
42
44
  border-radius: var(--#{$prefix}btn-border-radius);
45
+ box-shadow: var(--#{$prefix}btn-box-shadow);
46
+ @include font-size(var(--#{$prefix}btn-font-size));
43
47
  @include gradient-bg(var(--#{$prefix}btn-bg));
44
48
  @include box-shadow(var(--#{$prefix}btn-box-shadow));
45
49
  @include transition($btn-transition);
46
50
 
47
- > span {
48
- text-decoration: var(--#{$prefix}btn-text-decoration);
49
- }
50
-
51
51
  // hover selectors
52
52
  &.hover,
53
53
  &:hover {
@@ -79,6 +79,16 @@
79
79
  box-shadow: var(--#{$prefix}btn-focus-box-shadow);
80
80
  }
81
81
  }
82
+ /* stylelint-disable-next-line scss/selector-no-union-class-name */
83
+ &-loading {
84
+ position: relative;
85
+ display: inline-flex;
86
+ gap: var(--#{$prefix}btn-loading-gap);
87
+ align-items: center;
88
+ justify-content: center;
89
+ width: 100%;
90
+ height: 100%;
91
+ }
82
92
 
83
93
  .btn-check.focus-visible + &,
84
94
  .btn-check:focus-visible + & {
@@ -128,11 +138,13 @@
128
138
  &.disabled,
129
139
  &:disabled,
130
140
  fieldset:disabled & {
141
+
131
142
  color: var(--#{$prefix}btn-disabled-color);
132
143
  pointer-events: none;
133
144
  background-color: var(--#{$prefix}btn-disabled-bg);
134
145
  background-image: if($enable-gradients, none, null);
135
146
  border-color: var(--#{$prefix}btn-disabled-border-color);
147
+
136
148
  opacity: var(--#{$prefix}btn-disabled-opacity);
137
149
  @include box-shadow(none);
138
150
  }
@@ -143,16 +155,18 @@
143
155
  }
144
156
 
145
157
  @each $color, $value in $theme-colors {
146
- .btn-#{$color} {
147
- @include df-button-variant-mapper($color);
148
- }
158
+ @if not map-has-key($theme-colors-extra, $color) {
159
+ .btn-#{$color} {
160
+ @include df-button-variant-mapper($color);
161
+ }
149
162
 
150
- .btn-outline-#{$color} {
151
- @include df-button-variant-mapper($color, "outline");
152
- }
163
+ .btn-link-#{$color} {
164
+ @include df-button-variant-mapper($color, "link");
165
+ }
153
166
 
154
- .btn-link-#{$color} {
155
- @include df-button-variant-mapper($color, "link");
167
+ .btn-outline-#{$color} {
168
+ @include df-button-variant-outline-mapper($color);
169
+ }
156
170
  }
157
171
  }
158
172
 
@@ -177,8 +191,9 @@
177
191
  [class*="btn-link-"] {
178
192
  --#{$prefix}btn-text-decoration: var(--#{$prefix}link-decoration);
179
193
 
194
+ &.hover,
180
195
  &:hover {
181
- --#{$prefix}btn-text-decoration: underline;
196
+ background: rgba(0, 0, 0, .03);
182
197
  }
183
198
 
184
199
  @if $enable-gradients {
@@ -192,40 +207,28 @@
192
207
 
193
208
  // Make a button look and behave like a link
194
209
  .btn-link {
195
- --#{$prefix}btn-font-weight: #{$font-weight-normal};
196
210
  --#{$prefix}btn-color: #{$btn-link-color};
197
211
  --#{$prefix}btn-bg: transparent;
198
212
  --#{$prefix}btn-border-color: transparent;
199
- --#{$prefix}btn-hover-color: #{$btn-link-hover-color};
213
+ --#{$prefix}btn-hover-color: #{$btn-link-color};
200
214
  --#{$prefix}btn-hover-border-color: transparent;
201
- --#{$prefix}btn-active-color: #{$btn-link-hover-color};
215
+ --#{$prefix}btn-active-color: #{$btn-link-color};
202
216
  --#{$prefix}btn-active-border-color: transparent;
203
217
  --#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};
204
218
  --#{$prefix}btn-disabled-border-color: transparent;
205
219
  --#{$prefix}btn-box-shadow: 0 0 0 #000; // Can't use `none` as keyword negates all values when used with multiple shadows
206
220
  --#{$prefix}btn-focus-shadow-rgb: #{$btn-link-focus-shadow-rgb};
221
+ --#{$prefix}btn-box-shadow: none;
207
222
 
208
223
  text-decoration: $link-decoration;
209
224
  @if $enable-gradients {
210
225
  background-image: none;
211
226
  }
212
227
 
213
- &.hover,
214
- &:hover,
215
- &.focus-visible,
216
- &:focus-visible {
217
- text-decoration: $link-hover-decoration;
218
- }
219
-
220
228
  &.focus-visible,
221
229
  &:focus-visible {
222
230
  color: var(--#{$prefix}btn-color);
223
231
  }
224
232
 
225
- &.hover,
226
- &:hover {
227
- color: var(--#{$prefix}btn-hover-color);
228
- }
229
-
230
233
  // No need for an active state here
231
234
  }
@@ -1,3 +1,21 @@
1
+ // .dropdown-item {
2
+ // --#{$prefix}dropdown-item-border-radius: #{$dropdown-item-border-radius};
3
+ // }
4
+
1
5
  .dropdown-item {
2
6
  --#{$prefix}dropdown-item-border-radius: #{$dropdown-item-border-radius};
7
+ --#{$prefix}dropdown-item-active-bg: var(--#{$prefix}gray-25);
8
+ --#{$prefix}dropdown-item-active-color: inherit;
9
+ &:active {
10
+ color: var(--#{$prefix}dropdown-item-active-color);
11
+ background-color: var(--#{$prefix}dropdown-item-active-bg);
12
+ }
13
+ &.dropdown-item-danger {
14
+ color: var(--#{$prefix}danger-500);
15
+ &:hover,
16
+ &:active,
17
+ &:focus {
18
+ background-color: var(--#{$prefix}danger-25);
19
+ }
20
+ }
3
21
  }
@@ -65,6 +65,7 @@
65
65
  --#{$prefix}input-disabled-border-color: #{$input-disabled-border-color};
66
66
  --#{$prefix}input-disabled-bg: #{$input-disabled-bg};
67
67
  --#{$prefix}input-disabled-color: #{$input-disabled-color};
68
+ --#{$prefix}btn-group-text-color: #{$gray-400};
68
69
 
69
70
  // input group icon sizes
70
71
  --#{$prefix}input-group-sm-icon-size: #{$input-group-sm-icon-size};
@@ -137,3 +138,7 @@
137
138
  margin: -1px;
138
139
  }
139
140
  }
141
+
142
+ .input-group-text {
143
+ color: var(--#{$prefix}btn-group-text-color);
144
+ }
@@ -9,8 +9,4 @@ label {
9
9
  font-size: var(--#{$prefix}label-font-size);
10
10
  font-weight: var(--#{$prefix}label-font-weight);
11
11
  color: var(--#{$prefix}label-color);
12
-
13
- .d-icon {
14
- --#{$prefix}icon-color: var(--#{$prefix}focus-ring-color);
15
- }
16
12
  }
@@ -0,0 +1,6 @@
1
+ .list-group-item {
2
+ --#{$prefix}list-group-item-gap: .75rem;
3
+ display: flex;
4
+ gap: var(--#{$prefix}list-group-item-gap);
5
+ align-items: center;
6
+ }
@@ -3,6 +3,7 @@
3
3
  --#{$prefix}pagination-border-radius: #{$pagination-page-border-radius};
4
4
  --#{$prefix}pagination-page-control-color: #{$pagination-page-control-color};
5
5
  --#{$prefix}pagination-page-control-disabled-color: #{$pagination-page-control-disabled-color};
6
+ gap: var(--#{$prefix}ref-spacer-1);
6
7
  margin: 0;
7
8
 
8
9
  .page-item {
@@ -26,6 +27,7 @@
26
27
  justify-content: center;
27
28
  width: 100%;
28
29
  height: 100%;
30
+ padding-inline: .5rem;
29
31
  border-radius: var(--#{$prefix}pagination-border-radius);
30
32
  }
31
33
 
@@ -52,6 +52,10 @@
52
52
  border-top: calc(#{$table-border-width} * 2) solid $table-group-separator-color;
53
53
  }
54
54
 
55
+ th {
56
+ font-weight: var(--#{$prefix}fw-semibold);
57
+ }
58
+
55
59
  //
56
60
  // Change placement of captions with a class
57
61
  //
@@ -2,7 +2,7 @@
2
2
  --#{$prefix}tooltip-sm-font-size: #{$tooltip-font-size-sm};
3
3
  --#{$prefix}tooltip-lg-font-size: #{$tooltip-font-size-lg};
4
4
 
5
- fill: var(--#{$prefix}tooltip-bg);
5
+ // fill: var(--#{$prefix}tooltip-bg);
6
6
 
7
7
  &.tooltip-sm {
8
8
  --#{$prefix}tooltip-font-size: var(--#{$prefix}tooltip-sm-font-size);
@@ -11,13 +11,4 @@
11
11
  &.tooltip-lg {
12
12
  --#{$prefix}tooltip-font-size: var(--#{$prefix}tooltip-lg-font-size);
13
13
  }
14
-
15
- @each $theme, $value in $theme-colors {
16
- $color: color-contrast-var($value);
17
-
18
- &.tooltip-#{$theme} {
19
- --#{$prefix}tooltip-color: #{$color};
20
- --#{$prefix}tooltip-bg: var(--#{$prefix}#{$theme});
21
- }
22
- }
23
14
  }
@@ -2,16 +2,16 @@
2
2
  @import "d-icon";
3
3
  @import "d-input-pin";
4
4
  @import "d-button-icon";
5
- @import "d-quick-action-button";
6
- @import "d-quick-action-select";
7
- @import "d-quick-action-check";
8
- @import "d-quick-action-switch";
9
5
  @import "d-chip";
6
+ @import "d-tabs";
10
7
  @import "d-modal";
8
+ @import "d-timeline";
9
+ @import "d-box";
11
10
  @import "d-offcanvas";
12
11
  @import "d-collapse-icon-text";
13
12
  @import "d-datepicker";
14
13
  @import "d-timepicker";
14
+ @import "d-voucher";
15
15
  @import "d-close";
16
16
  @import "d-popover";
17
17
  @import "d-box-file";
@@ -22,3 +22,4 @@
22
22
  @import "d-select";
23
23
  @import "d-table-head";
24
24
  @import "d-input-phone";
25
+ @import "d-credit-card";