@dynamic-framework/ui-react 2.1.1 → 2.3.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 (77) hide show
  1. package/README.md +8 -0
  2. package/dist/css/dynamic-ui.css +15518 -1105
  3. package/dist/css/dynamic-ui.min.css +3 -3
  4. package/dist/index.esm.js +338 -137
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.js +345 -135
  7. package/dist/index.js.map +1 -1
  8. package/dist/types/components/DBadge/DBadge.d.ts +3 -2
  9. package/dist/types/components/DButton/DButton.d.ts +7 -3
  10. package/dist/types/components/DButtonIcon/DButtonIcon.d.ts +7 -8
  11. package/dist/types/components/DCollapse/DCollapse.d.ts +1 -2
  12. package/dist/types/components/DCreditCard/DCreditCard.d.ts +2 -1
  13. package/dist/types/components/DDataStateWrapper/DDataStateWrapper.d.ts +14 -0
  14. package/dist/types/components/DDataStateWrapper/components/EmptyState.d.ts +8 -0
  15. package/dist/types/components/DDataStateWrapper/components/ErrorState.d.ts +8 -0
  16. package/dist/types/components/DDataStateWrapper/components/LoadingState.d.ts +6 -0
  17. package/dist/types/components/DDataStateWrapper/index.d.ts +2 -0
  18. package/dist/types/components/DDatePicker/DDatePicker.d.ts +2 -1
  19. package/dist/types/components/DDatePicker/components/DDatePickerTime.d.ts +4 -6
  20. package/dist/types/components/DErrorBoundary/DErrorBoundary.d.ts +11 -0
  21. package/dist/types/components/DErrorBoundary/components/DefaultErrorBoundary.d.ts +6 -0
  22. package/dist/types/components/DErrorBoundary/index.d.ts +3 -0
  23. package/dist/types/components/DInputPin/DInputPin.d.ts +2 -1
  24. package/dist/types/components/DPopover/DPopover.d.ts +2 -7
  25. package/dist/types/components/DSelect/DSelect.d.ts +2 -1
  26. package/dist/types/components/DSelect/components/DSelectOptionCheck.d.ts +1 -1
  27. package/dist/types/components/DTabs/DTabs.d.ts +3 -1
  28. package/dist/types/components/DVoucher/DVoucher.d.ts +5 -4
  29. package/dist/types/components/index.d.ts +2 -0
  30. package/package.json +18 -21
  31. package/src/style/_shame.scss +2 -2
  32. package/src/style/abstracts/_mixins.scss +4 -4
  33. package/src/style/abstracts/_utilities-dark.scss +72 -0
  34. package/src/style/abstracts/_utilities.scss +76 -8
  35. package/src/style/abstracts/variables/_+import.scss +2 -6
  36. package/src/style/abstracts/variables/_alerts.scss +1 -1
  37. package/src/style/abstracts/variables/_border.scss +9 -0
  38. package/src/style/abstracts/variables/_buttons.scss +1 -1
  39. package/src/style/abstracts/variables/_carousel.scss +13 -1
  40. package/src/style/abstracts/variables/_colors.scss +2 -2
  41. package/src/style/abstracts/variables/_input-phone.scss +1 -1
  42. package/src/style/abstracts/variables/_navs.scss +23 -27
  43. package/src/style/abstracts/variables/_tooltip.scss +2 -2
  44. package/src/style/abstracts/variables/_typography.scss +0 -40
  45. package/src/style/base/_+import.scss +1 -0
  46. package/src/style/base/_badge.scss +2 -2
  47. package/src/style/base/_carousel.scss +44 -0
  48. package/src/style/base/_collapse.scss +21 -8
  49. package/src/style/base/_nav.scss +10 -59
  50. package/src/style/base/_type.scss +7 -6
  51. package/src/style/components/_+import.scss +0 -1
  52. package/src/style/components/_d-avatar.scss +2 -2
  53. package/src/style/components/_d-carousel.scss +26 -4
  54. package/src/style/components/_d-chip.scss +13 -3
  55. package/src/style/components/_d-credit-card.scss +22 -12
  56. package/src/style/components/_d-icon.scss +17 -0
  57. package/src/style/components/_d-select.scss +59 -25
  58. package/src/style/components/_d-stepper-desktop.scss +2 -2
  59. package/src/style/components/_d-tabs.scss +7 -18
  60. package/src/style/components/_d-timeline.scss +6 -5
  61. package/src/style/components/_d-voucher.scss +2 -1
  62. package/src/style/dynamic-ui.scss +2 -0
  63. package/src/style/helpers/_+import.scss +1 -0
  64. package/src/style/helpers/_animations.scss +13 -0
  65. package/src/style/helpers/_color-bg.scss +1 -3
  66. package/src/style/root/_root.scss +8 -9
  67. package/dist/css/dynamic-ui-non-root.css +0 -37666
  68. package/dist/css/dynamic-ui-non-root.min.css +0 -6
  69. package/dist/css/dynamic-ui-root.css +0 -1132
  70. package/dist/css/dynamic-ui-root.min.css +0 -6
  71. package/src/style/abstracts/variables/_quick-action-button.scss +0 -31
  72. package/src/style/abstracts/variables/_quick-action-check.scss +0 -22
  73. package/src/style/abstracts/variables/_quick-action-select.scss +0 -16
  74. package/src/style/abstracts/variables/_quick-action-switch.scss +0 -19
  75. package/src/style/components/_d-collapse-icon-text.scss +0 -16
  76. package/src/style/dynamic-ui-non-root.scss +0 -15
  77. package/src/style/dynamic-ui-root.scss +0 -5
@@ -1,6 +1,6 @@
1
1
  // Alerts
2
2
  // scss-docs-start alert-variables
3
- $alert-border-radius: var(--#{$prefix}border-radius-sm) !default;
3
+ $alert-border-radius: var(--#{$prefix}border-radius) !default;
4
4
  $alert-link-font-weight: var(--#{$prefix}fw-bold) !default;
5
5
  // scss-docs-end alert-variables
6
6
 
@@ -15,3 +15,12 @@ $border-radius-xl: 1.5rem !default;
15
15
  $border-radius-xxl: 2rem !default;
16
16
  $border-radius-pill: 50rem !default;
17
17
  // scss-docs-end border-radius-variables
18
+
19
+ $border-widths: (
20
+ 1: var(--#{$prefix}border-width),
21
+ 2: calc(var(--#{$prefix}border-width) * 2),
22
+ 3: calc(var(--#{$prefix}border-width) * 3),
23
+ 4: calc(var(--#{$prefix}border-width) * 4),
24
+ 5: calc(var(--#{$prefix}border-width) * 5),
25
+ 6: calc(var(--#{$prefix}border-width) * 6)
26
+ ) !default;
@@ -7,7 +7,7 @@ $btn-color: var(--#{$prefix}body-color) !default;
7
7
  $btn-padding-y: $spacer-2 !default;
8
8
  $btn-padding-x: $spacer-4 !default;
9
9
  $btn-line-height: 1.5 !default;
10
- $btn-font-weight: $font-weight-semibold !default;
10
+ $btn-font-weight: $font-weight-normal !default;
11
11
 
12
12
  $btn-padding-y-sm: $spacer-1 !default;
13
13
  $btn-padding-x-sm: $spacer-3 !default;
@@ -2,7 +2,19 @@
2
2
 
3
3
  // scss-docs-start carousel-variables
4
4
  $carousel-control-color: var(--#{$prefix}white) !default;
5
- $carousel-indicator-active-bg: var(--#{$prefix}white) !default;
5
+ $carousel-indicator-bg: var(--#{$prefix}primary-100) !default;
6
+ $carousel-indicator-border: 1px solid var(--#{$prefix}primary-200) !default;
7
+ $carousel-indicator-width: 16px !default;
8
+ $carousel-indicator-height: 16px !default;
9
+ $carousel-indicator-radius: 100px !default;
10
+ $carousel-indicator-active-width: 26px !default;
11
+ $carousel-indicator-active-bg: var(--#{$prefix}primary) !default;
12
+ $carousel-indicator-active-border: var(--#{$prefix}primary) !default;
13
+ $carousel-indicator-hover-bg: var(--#{$prefix}primary-200) !default;
14
+ $carousel-control-bg: var(--#{$prefix}primary) !default;
15
+ $carousel-control-width: 24px !default;
16
+ $carousel-control-height: 24px !default;
17
+ $carousel-control-radius: 48px !default;
6
18
  $carousel-caption-color: var(--#{$prefix}white) !default;
7
19
  // scss-docs-end carousel-variables
8
20
 
@@ -41,7 +41,7 @@ $purple: #4848b7 !default;
41
41
  $pink: #d81b60 !default;
42
42
  $red: #dc3545 !default;
43
43
  $orange: #fd7e14 !default;
44
- $yellow: #ffc107 !default;
44
+ $yellow: #ffb300 !default;
45
45
  $green: #198754 !default;
46
46
  $teal: #20c997 !default;
47
47
  $cyan: #0dcaf0 !default;
@@ -404,7 +404,7 @@ $info-text-emphasis: var(--#{$prefix}info-600) !default;
404
404
  $warning-text-emphasis: var(--#{$prefix}warning-800) !default;
405
405
  $danger-text-emphasis: var(--#{$prefix}danger-600) !default;
406
406
  $light-text-emphasis: var(--#{$prefix}gray-600) !default;
407
- $dark-text-emphasis: var(--#{$prefix}gray-600) !default;
407
+ $dark-text-emphasis: var(--#{$prefix}gray-25) !default;
408
408
  // scss-docs-end theme-text-variables
409
409
 
410
410
  // scss-docs-start theme-bg-subtle-variables
@@ -36,7 +36,7 @@ $input-phone-dropdown-item-text-color: $input-phone-text-color !default;
36
36
  $input-phone-dropdown-item-dial-code-color: var(--#{$prefix}gray-500) !default;
37
37
  $input-phone-dropdown-item-height: 28px !default;
38
38
  $input-phone-dropdown-item-padding: var(--#{$prefix}ref-spacer-3) var(--#{$prefix}ref-spacer-3) !default;
39
- $input-phone-dropdown-item-font-size: var(--#{$prefix}fs-body-small) !default;
39
+ $input-phone-dropdown-item-font-size: var(--#{$prefix}font-size-sm) !default;
40
40
  $input-phone-dropdown-item-font-weight: var(--#{$prefix}fw-normal) !default;
41
41
 
42
42
  // Selected / hover items
@@ -1,34 +1,30 @@
1
1
  // Navs
2
2
 
3
3
  // scss-docs-start nav-variables
4
- $nav-link-padding-y: $spacer-2 !default;
5
- $nav-link-padding-x: $spacer-4 !default;
6
- $nav-link-font-size: var(--#{$prefix}body-font-size) !default;
7
- $nav-link-font-weight: var(--#{$prefix}fw-normal) !default;
8
- $nav-link-color: var(--#{$prefix}gray-900) !default;
9
- $nav-link-hover-color: var(--#{$prefix}primary-600) !default;
10
- $nav-link-hover-bg: transparent !default; // Custom
11
- $nav-link-disabled-color: var(--#{$prefix}gray-300) !default;
4
+ $nav-link-padding-y: $spacer-2 !default;
5
+ $nav-link-padding-x: $spacer-4 !default;
6
+ $nav-link-font-size: var(--#{$prefix}body-font-size) !default;
7
+ $nav-link-font-weight: var(--#{$prefix}fw-normal) !default;
8
+ $nav-link-color: var(--#{$prefix}gray-900) !default;
9
+ $nav-link-hover-color: var(--#{$prefix}primary-600) !default;
10
+ $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
11
+ $nav-link-disabled-color: var(--#{$prefix}gray-300) !default;
12
+ $nav-link-focus-box-shadow: $focus-ring-box-shadow !default;
12
13
 
13
- // custom
14
- $nav-link-border-active-font-weight: var(--#{$prefix}fw-bold) !default;
15
- // end custom
14
+ $nav-tabs-border-color: var(--#{$prefix}gray-100) !default;
15
+ $nav-tabs-border-width: var(--#{$prefix}border-width) !default;
16
+ $nav-tabs-border-radius: var(--#{$prefix}border-radius-sm) !default;
17
+ $nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
18
+ $nav-tabs-link-active-color: var(--#{$prefix}primary) !default;
19
+ $nav-tabs-link-active-bg: var(--#{$prefix}white) !default;
20
+ $nav-tabs-link-active-border-color: var(--#{$prefix}nav-tabs-border-color) !default;
16
21
 
17
- $nav-tabs-border-radius: var(--#{$prefix}border-radius-sm) !default;
18
- $nav-tabs-link-active-color: var(--#{$prefix}primary) !default;
19
- $nav-tabs-link-active-bg: var(--#{$prefix}white) !default;
20
- $nav-tabs-link-active-border-color: var(--#{$prefix}gray-300) !default;
21
- $nav-tabs-border-color: var(--#{$prefix}gray-300) !default;
22
+ $nav-pills-border-radius: var(--#{$prefix}border-radius-sm) !default;
23
+ $nav-pills-link-active-color: var(--#{$prefix}primary-500) !default;
24
+ $nav-pills-link-active-bg: var(--#{$prefix}gray-50) !default;
22
25
 
23
- // custom
24
- $nav-nav-gap: var(--#{$prefix}ref-spacer-0) !default;
25
- // end custom
26
-
27
- $nav-pills-border-radius: var(--#{$prefix}border-radius-sm) !default;
28
- $nav-pills-link-active-color: var(--#{$prefix}white) !default;
29
- $nav-pills-link-active-bg: var(--#{$prefix}primary) !default;
26
+ $nav-underline-gap: 1rem !default;
27
+ $nav-underline-border-width: 2px !default;
28
+ $nav-underline-link-active-color: var(--#{$prefix}primary) !default;
29
+ $nav-underline-font-weight: var(--#{$prefix}fw-normal) !default; // custom
30
30
  // scss-docs-end nav-variables
31
-
32
- $nav-underline-link-active-color: var(--#{$prefix}primary) !default;
33
- $nav-underline-border-width: 2px !default;
34
- $nav-underline-border-color: transparent !default;
@@ -9,8 +9,8 @@ $tooltip-padding-y: var(--#{$prefix}ref-spacer-2) !default;
9
9
  $tooltip-padding-x: var(--#{$prefix}ref-spacer-1) !default;
10
10
 
11
11
  // custom
12
- $tooltip-font-size-sm: var(--#{$prefix}fs-body-small) !default;
13
- $tooltip-font-size-lg: var(--#{$prefix}fs-body-medium) !default;
12
+ $tooltip-font-size-sm: var(--#{$prefix}fs-small) !default;
13
+ $tooltip-font-size-lg: var(--#{$prefix}fs-5) !default;
14
14
  // end custom
15
15
 
16
16
  // scss-docs-end tooltip-variables
@@ -15,8 +15,6 @@ $font-size-sm: var(--#{$prefix}fs-small) !default;
15
15
  $font-size-sm-value: .875em !default;
16
16
  // end custom
17
17
 
18
- $font-size-lg: $font-size-base * 1.125 !default; // 18px
19
-
20
18
  // custom
21
19
  $font-weight-lighter-value: lighter !default;
22
20
  $font-weight-light-value: 200 !default;
@@ -39,40 +37,6 @@ $line-height-base: 1.5 !default;
39
37
  $line-height-sm: 1.25 !default;
40
38
  $line-height-lg: 2 !default;
41
39
 
42
- // custom
43
- $body-large-font-size-value: $font-size-base * 1.5 !default; // 24px - 21.525px
44
- $body-medium-font-size-value: $font-size-base * 1.25 !default; // 20px - 20px
45
- $body-normal-font-size-value: $font-size-base * 1 !default; // 16px - 16px
46
- $body-small-font-size-value: $font-size-base * .875 !default; // 14px - 14px
47
- $body-tiny-font-size-value: $font-size-base * .8125 !default; // 13px - 13px
48
-
49
- $body-large-font-size: var(--#{$prefix}fs-body-large) !default;
50
- $body-medium-font-size: var(--#{$prefix}fs-body-medium) !default;
51
- $body-normal-font-size: var(--#{$prefix}fs-body-normal) !default;
52
- $body-small-font-size: var(--#{$prefix}fs-body-small) !default;
53
- $body-tiny-font-size: var(--#{$prefix}fs-body-tiny) !default;
54
- // end custom
55
- // scss-docs-end font-variables
56
-
57
- // scss-docs-start body-font-sizes
58
- // custom
59
- $body-font-sizes-value: (
60
- large: $body-large-font-size-value,
61
- medium: $body-medium-font-size-value,
62
- normal: $body-normal-font-size-value,
63
- small: $body-small-font-size-value,
64
- tiny: $body-tiny-font-size-value,
65
- ) !default;
66
-
67
- $body-font-sizes: (
68
- large: $body-large-font-size,
69
- medium: $body-medium-font-size,
70
- normal: $body-normal-font-size,
71
- small: $body-small-font-size,
72
- tiny: $body-tiny-font-size,
73
- ) !default;
74
- // end custom
75
- // scss-docs-end body-font-sizes
76
40
 
77
41
  // custom
78
42
  $h1-font-size-value: $font-size-base * 3 !default; // 48px - 30.675px
@@ -169,10 +133,6 @@ $small-font-size-value: $font-size-sm-value !default;
169
133
 
170
134
  $sub-sup-font-size: .75em !default;
171
135
 
172
- // // fusv-disable
173
- // $text-muted: var(--#{$prefix}gray-400) !default;
174
- // // fusv-enable
175
-
176
136
  $blockquote-margin-y: var(--#{$prefix}ref-spacer-4) !default;
177
137
  $blockquote-footer-color: var(--#{$prefix}gray-600) !default;
178
138
 
@@ -59,3 +59,4 @@
59
59
  @import "tooltip";
60
60
  @import "placeholder";
61
61
  @import "nav";
62
+ @import "carousel"
@@ -3,8 +3,8 @@
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
+ --#{$prefix}badge-sm-font-size: var(--#{$prefix}fs-small);
7
+ --#{$prefix}badge-lg-font-size: var(--#{$prefix}fs-5);
8
8
 
9
9
  display: inline-flex;
10
10
  gap: var(--#{$prefix}badge-gap);
@@ -0,0 +1,44 @@
1
+ .carousel-indicators {
2
+ position: relative;
3
+ [data-bs-target] {
4
+ width: $carousel-indicator-width;
5
+ height: $carousel-indicator-height;
6
+ text-align: left;
7
+ text-indent: 0;
8
+ background: $carousel-indicator-bg;
9
+ border: $carousel-indicator-border;
10
+ border-radius: $carousel-indicator-radius;
11
+ opacity: 1;
12
+ transition: .3s;
13
+ &.active {
14
+ width: $carousel-indicator-active-width;
15
+ background: $carousel-indicator-active-bg;
16
+ border-color: $carousel-indicator-active-border;
17
+ transition: .3s;
18
+ &:hover {
19
+ background: $carousel-indicator-active-bg;
20
+ }
21
+ }
22
+ &:hover {
23
+ background: $carousel-indicator-hover-bg;
24
+ }
25
+ }
26
+ }
27
+
28
+ .carousel-control-prev,
29
+ .carousel-control-next {
30
+ top: calc(50% - 20px);
31
+ bottom: auto;
32
+ width: $carousel-control-width;
33
+ height: $carousel-control-height;
34
+ padding: var(--#{$prefix}ref-spacer-1);
35
+ margin-inline: var(--#{$prefix}ref-spacer-1);
36
+ background: $carousel-control-bg;
37
+ border-radius: $carousel-control-radius;
38
+ opacity: .85;
39
+ }
40
+
41
+ .carousel-control-next-icon,
42
+ .carousel-control-prev-icon {
43
+ filter: invert(1);
44
+ }
@@ -14,6 +14,8 @@
14
14
  --#{$prefix}collapse-separator-display: none;
15
15
  --#{$prefix}collapse-separator-height: 1px;
16
16
  --#{$prefix}collapse-separator-bg: var(--#{$prefix}gray-200);
17
+ --#{$prefix}collapse-interpolate-size: allow-keywords;
18
+ --#{$prefix}collapse-transition: all ease-in-out .3s allow-discrete;
17
19
 
18
20
  background-color: var(--#{$prefix}collapse-bg);
19
21
  border-radius: var(--#{$prefix}collapse-border-radius);
@@ -40,15 +42,26 @@
40
42
  position: relative;
41
43
  padding: var(--#{$prefix}collapse-body-padding-y) var(--#{$prefix}collapse-body-padding-x);
42
44
  padding-top: 0;
45
+ }
43
46
 
44
- &::before {
45
- position: absolute;
46
- top: 0;
47
- display: var(--#{$prefix}collapse-separator-display);
48
- width: calc(100% - (var(--#{$prefix}collapse-body-padding-x) * 2));
49
- height: var(--#{$prefix}collapse-separator-height);
50
- content: " ";
51
- background-color: var(--#{$prefix}collapse-separator-bg);
47
+ .collapse-body-wrapper {
48
+ height: 0;
49
+ overflow: hidden;
50
+ opacity: 0;
51
+ transition: var(--#{$prefix}collapse-transition);
52
+ interpolate-size: var(--#{$prefix}collapse-interpolate-size);
53
+ &.show {
54
+ display: block;
55
+ height: auto;
56
+ opacity: 1;
52
57
  }
53
58
  }
59
+
60
+ @starting-style {
61
+ .collapse-body-wrapper.show {
62
+ height: 0;
63
+ opacity: 0;
64
+ }
65
+ }
66
+
54
67
  }
@@ -1,69 +1,20 @@
1
- .nav-pills,
2
- .nav-tabs,
3
- .nav-underline {
4
- --#{$prefix}nav-tabs-border-color: #{$nav-tabs-border-color};
5
- --#{$prefix}nav-tabs-nav-gap: #{$nav-nav-gap};
6
- --#{$prefix}nav-link-padding-x: #{$nav-link-padding-x};
7
- --#{$prefix}nav-link-padding-y: #{$nav-link-padding-y};
8
- --#{$prefix}nav-tabs-link-border-active-font-weight: #{$nav-link-border-active-font-weight};
9
- --#{$prefix}nav-link-hover-bg: #{$nav-link-hover-bg};
10
- --#{$prefix}nav-link-hover-color: #{$nav-link-hover-color};
11
-
12
- .nav-link {
13
- &:hover:not(.active, .disabled, :disabled) {
14
- background-color: var(--#{$prefix}nav-link-hover-bg);
15
- }
16
- }
17
- }
18
-
19
- .nav-pills,
20
- .nav-underline {
21
- gap: var(--#{$prefix}nav-tabs-nav-gap);
22
-
23
- &.flex-column {
24
- flex: 1 0 auto;
25
-
26
- .nav-link {
27
- width: 100%;
28
- }
1
+ .nav-tabs {
2
+ .nav-link.active,
3
+ .nav-item.show .nav-link {
4
+ border-bottom-color: transparent;
29
5
  }
30
6
  }
31
7
 
32
8
  .nav-underline {
33
- --#{$prefix}nav-underline-border-width: #{$nav-underline-border-width};
34
- --#{$prefix}nav-underline-border-color: #{$nav-underline-border-color};
35
-
36
- &.flex-column {
37
- .nav-link {
38
- border-right: var(--#{$prefix}nav-underline-border-width) solid var(--#{$prefix}nav-underline-border-color);
39
- border-bottom-width: 0;
40
- }
41
-
42
- .nav-link.active {
43
- background-color: var(--#{$prefix}nav-link-hover-bg);
44
- border-right: var(--#{$prefix}nav-underline-border-width) solid currentcolor;
45
- }
46
- }
9
+ --#{$prefix}nav-underline-font-weight: #{$nav-underline-font-weight};
47
10
 
48
- .nav-link {
49
- padding: var(--#{$prefix}nav-link-padding-y) var(--#{$prefix}nav-link-padding-x);
50
- border-bottom: var(--#{$prefix}nav-underline-border-width) solid var(--#{$prefix}nav-underline-border-color);
11
+ .nav-link.active,
12
+ .show > .nav-link {
13
+ font-weight: var(--#{$prefix}nav-underline-font-weight);
51
14
  }
52
15
  }
53
16
 
54
- .nav-tabs {
55
- .nav-link {
56
- &.active {
57
- border-bottom-color: transparent;
58
- }
59
-
60
- &:not(.active):is(:hover, :focus) {
61
- border-color: transparent;
62
- }
63
- }
64
- }
65
17
 
66
- .nav-link:focus-visible {
67
- --#{$prefix}focus-ring-opacity: .25;
68
- --#{$prefix}focus-ring-color: rgba(var(--#{$prefix}secondary-rgb), var(--#{$prefix}focus-ring-opacity));
18
+ .tab-content {
19
+ margin-bottom: var(--#{$prefix}ref-spacer-4);
69
20
  }
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable declaration-no-important */
2
+
1
3
  //
2
4
  // Headings
3
5
  //
@@ -34,17 +36,12 @@
34
36
  // Type display classes
35
37
  [class*="display-"] {
36
38
  font-family: $display-font-family;
37
- font-size: var(--#{$prefix}display-font-size);
39
+ font-size: var(--#{$prefix}display-font-size) !important;
38
40
  font-style: $display-font-style;
39
41
  font-weight: $display-font-weight;
40
42
  line-height: $display-line-height;
41
43
  }
42
44
 
43
- // Body display classes
44
- [class*="fs-body-"] {
45
- font-size: var(--#{$prefix}fs-body-font-size);
46
- }
47
-
48
45
  //
49
46
  // Emphasis
50
47
  //
@@ -107,3 +104,7 @@
107
104
  content: "\2014\00A0"; // em dash, nbsp
108
105
  }
109
106
  }
107
+
108
+ [class*="link-underline"] {
109
+ text-decoration: underline;
110
+ }
@@ -8,7 +8,6 @@
8
8
  @import "d-timeline";
9
9
  @import "d-box";
10
10
  @import "d-offcanvas";
11
- @import "d-collapse-icon-text";
12
11
  @import "d-datepicker";
13
12
  @import "d-timepicker";
14
13
  @import "d-voucher";
@@ -1,8 +1,8 @@
1
1
  .d-avatar {
2
2
  --#{$prefix}avatar-border: 1px solid var(--#{$prefix}avatar-bg);
3
3
  --#{$prefix}avatar-size: var(--#{$prefix}ref-spacer-12);
4
- --#{$prefix}avatar-bg: var(--#{$prefix}gray-100);
5
- --#{$prefix}avatar-color: var(--#{$prefix}gray-500);
4
+ --#{$prefix}avatar-bg: var(--#{$prefix}gray-50);
5
+ --#{$prefix}avatar-color: var(--#{$prefix}gray-600);
6
6
  --#{$prefix}avatar-font-weight: var(--#{$prefix}fw-bold);
7
7
  --#{$prefix}avatar-border-radius: var(--#{$prefix}border-radius-pill);
8
8
 
@@ -5,8 +5,8 @@
5
5
  --#{$prefix}carousel-arrow-space: calc(var(--#{$prefix}ref-spacer-4) * -1);
6
6
  // Pagination
7
7
  --#{$prefix}carousel-pagination-bottom: auto;
8
- --#{$prefix}carousel-pagination-page-bg: var(--#{$prefix}secondary-100);
9
- --#{$prefix}carousel-pagination-active-page-bg: var(--#{$prefix}secondary);
8
+ --#{$prefix}carousel-pagination-page-bg: var(--#{$prefix}primary-100);
9
+ --#{$prefix}carousel-pagination-active-page-bg: var(--#{$prefix}primary);
10
10
  // :focus
11
11
  --#{$prefix}carousel-focus-outline-color: var(--#{$prefix}focus-ring-color);
12
12
 
@@ -22,14 +22,36 @@
22
22
  // stylelint-disable
23
23
  .splide__pagination__page {
24
24
  margin: 0;
25
+ border: $carousel-indicator-border;
26
+ width: $carousel-indicator-width;
27
+ height: $carousel-indicator-width;
28
+ border-radius: $carousel-indicator-radius;
29
+ opacity: 1;
30
+ transition: 0.3s;
31
+ }
32
+
33
+ .splide__pagination__page.is-active {
34
+ background: $carousel-indicator-active-width;
35
+ width: $carousel-indicator-active-width;
36
+ border-color: $carousel-indicator-active-bg;
37
+ transform: none;
38
+ }
39
+
40
+ .splide__arrow {
41
+ width: $carousel-control-height;
42
+ height: $carousel-control-height;
43
+ background: var(--#{$prefix}primary);
44
+ padding: var(--#{$prefix}ref-spacer-1);
45
+ svg {
46
+ filter: invert(1);
47
+ }
25
48
  }
26
49
 
27
50
  .d-carousel-pagination {
28
51
  bottom: var(--#{$prefix}carousel-pagination-bottom);
29
52
  position: relative;
30
- top: -0.5rem;
53
+ margin-top: var(--#{$prefix}--#{$prefix}ref-spacer-4);
31
54
  width: fit-content;
32
- background: var(--#{$prefix}gray-25);
33
55
  padding: var(--#{$prefix}ref-spacer-2) var(--#{$prefix}ref-spacer-4);
34
56
  border-radius: var(--#{$prefix}border-radius-lg);
35
57
  margin: auto;
@@ -37,7 +37,7 @@
37
37
  border: 0;
38
38
  }
39
39
 
40
- @each $theme, $value in map-remove($theme-colors, "light", "dark") {
40
+ @each $theme, $value in map-remove($theme-colors, "light", "dark", "warning") {
41
41
  $color: color-contrast($value);
42
42
  &.d-chip-#{$theme} {
43
43
  --#{$prefix}chip-color: var(--#{$prefix}#{$theme}-700);
@@ -45,8 +45,18 @@
45
45
  }
46
46
  }
47
47
 
48
+ &.d-chip-warning {
49
+ --#{$prefix}chip-color: var(--#{$prefix}warning-800);
50
+ --#{$prefix}chip-bg: var(--#{$prefix}warning-100);
51
+ }
52
+
48
53
  &.d-chip-light {
49
- --#{$prefix}chip-color: var(--#{$prefix}gray);
50
- --#{$prefix}chip-bg: var(--#{$prefix}gray-100);
54
+ --#{$prefix}chip-color: var(--#{$prefix}gray-800);
55
+ --#{$prefix}chip-bg: var(--#{$prefix}gray-25);
56
+ }
57
+
58
+ &.d-chip-dark {
59
+ --#{$prefix}chip-color: var(--#{$prefix}white);
60
+ --#{$prefix}chip-bg: var(--#{$prefix}black);
51
61
  }
52
62
  }
@@ -14,25 +14,26 @@
14
14
  --#{$prefix}d-credit-card-padding: var(--#{$prefix}ref-spacer-4);
15
15
  --#{$prefix}d-credit-card-number-size: inherit;
16
16
  --#{$prefix}d-credit-card-chip-size: 30px;
17
- flex-direction: column;
17
+ --#{$prefix}d-credit-card-color: var(--#{$prefix}white);
18
+ --#{$prefix}d-credit-card-logo-size: 22%;
18
19
 
20
+ position: relative;
21
+ display: flex;
22
+ flex-direction: column;
19
23
  aspect-ratio: var(--#{$prefix}d-credit-card-aspect-ratio);
20
24
  padding: var(--#{$prefix}d-credit-card-padding);
25
+ overflow: hidden;
26
+ color: var(--#{$prefix}d-credit-card-color);
21
27
  background: var(--#{$prefix}d-credit-card-bg);
22
- --#{$prefix}d-credit-card-logo-size: 22%;
28
+ border-radius: var(--#{$prefix}border-radius-lg);
23
29
 
24
- > * {
25
- display: flex;
26
- align-items: center;
30
+ .d-credit-card-details {
31
+ display: block;
32
+ margin-top: auto;
27
33
  }
28
34
 
29
- .d-credit-card-details {
30
- .name {
31
- font-size: var(--#{$prefix}ref-fs-6);
32
- }
33
- .date {
34
- font-size: var(--#{$prefix}ref-fs-6);
35
- }
35
+ .d-credit-card-name {
36
+ font-size: var(--#{$prefix}ref-fs-6);
36
37
  }
37
38
 
38
39
  .d-credit-card-logo {
@@ -40,7 +41,9 @@
40
41
  }
41
42
 
42
43
  .d-credit-card-chip {
44
+ padding: var(--#{$prefix}ref-spacer-1);
43
45
  background: var(--#{$prefix}d-credit-card-chip-bg);
46
+ border-radius: var(--#{$prefix}border-radius-sm);
44
47
  }
45
48
 
46
49
  .d-credit-card-chip-image {
@@ -48,6 +51,7 @@
48
51
  }
49
52
 
50
53
  .d-credit-card-number {
54
+ margin-bottom: var(--#{$prefix}ref-spacer-4);
51
55
  font-family: var(--#{$prefix}d-credit-card-font-family-number);
52
56
  font-size: var(--#{$prefix}d-credit-card-number-size);
53
57
  }
@@ -59,9 +63,15 @@
59
63
  }
60
64
 
61
65
  .d-credit-card-header {
66
+ display: flex;
62
67
  align-items: center;
63
68
  justify-content: space-between;
64
69
  min-height: 45px;
65
70
  }
66
71
 
72
+ .d-credit-card-holder-text {
73
+ display: block;
74
+ opacity: .5;
75
+ }
76
+
67
77
  }
@@ -24,6 +24,23 @@
24
24
  }
25
25
  }
26
26
 
27
+ // Circle background defaults and opacity variable
28
+ .d-icon-has-circle {
29
+ --#{$prefix}icon-component-bg-opacity: .1;
30
+ --#{$prefix}icon-component-bg-color: rgba(var(--#{$prefix}body-color-rgb), var(--#{$prefix}icon-component-bg-opacity));
31
+ }
32
+
33
+ // Generate color classes for icon color and circle background
34
+ @each $theme, $value in $theme-colors {
35
+ .d-icon-color-#{$theme} {
36
+ --#{$prefix}icon-component-color: var(--#{$prefix}#{$theme});
37
+ }
38
+
39
+ .d-icon-color-#{$theme}.d-icon-has-circle {
40
+ --#{$prefix}icon-component-bg-color: rgba(var(--#{$prefix}#{$theme}-rgb), var(--#{$prefix}icon-component-bg-opacity));
41
+ }
42
+ }
43
+
27
44
  .d-icon-loading {
28
45
  animation: loading-icon var(--#{$prefix}icon-loading-duration) infinite linear;
29
46
  }