@dynamic-framework/ui-react 2.0.0-dev.1 → 2.0.0-dev.3

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 (126) hide show
  1. package/dist/css/dynamic-ui-non-root.css +7153 -3699
  2. package/dist/css/dynamic-ui-non-root.min.css +2 -2
  3. package/dist/css/dynamic-ui-root.css +799 -127
  4. package/dist/css/dynamic-ui-root.min.css +2 -2
  5. package/dist/css/dynamic-ui.css +7950 -3824
  6. package/dist/css/dynamic-ui.min.css +2 -2
  7. package/dist/index.esm.js +255 -301
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +280 -310
  10. package/dist/index.js.map +1 -1
  11. package/dist/types/components/DAlert/DAlert.d.ts +3 -3
  12. package/dist/types/components/DAvatar/DAvatar.d.ts +1 -3
  13. package/dist/types/components/DBadge/DBadge.d.ts +4 -3
  14. package/dist/types/components/DBarChart/DBarChart.d.ts +9 -0
  15. package/dist/types/components/DBox/DBox.d.ts +5 -0
  16. package/dist/types/components/DBox/index.d.ts +2 -0
  17. package/dist/types/components/DButton/DButton.d.ts +6 -5
  18. package/dist/types/components/DButtonIcon/DButtonIcon.d.ts +3 -3
  19. package/dist/types/components/DChip/DChip.d.ts +3 -3
  20. package/dist/types/components/DCollapse/DCollapse.d.ts +1 -1
  21. package/dist/types/components/DCreditCard/DCreditCard.d.ts +12 -0
  22. package/dist/types/components/DCreditCard/index.d.ts +2 -0
  23. package/dist/types/components/DDatePicker/DDatePicker.d.ts +3 -3
  24. package/dist/types/components/DDatePicker/components/DDatePickerHeaderSelector.d.ts +2 -4
  25. package/dist/types/components/DDropdown/DDropdown.d.ts +20 -0
  26. package/dist/types/components/DDropdown/index.d.ts +2 -0
  27. package/dist/types/components/DIconBase/DIconBase.d.ts +4 -8
  28. package/dist/types/components/DInput/DInput.d.ts +2 -2
  29. package/dist/types/components/DInputCounter/DInputCounter.d.ts +2 -2
  30. package/dist/types/components/DInputCurrency/DInputCurrency.d.ts +3 -3
  31. package/dist/types/components/DInputMask/DInputMask.d.ts +1 -1
  32. package/dist/types/components/DInputPhone/DInputPhone.d.ts +2 -2
  33. package/dist/types/components/DInputPin/DInputPin.d.ts +3 -3
  34. package/dist/types/components/DInputRange/DInputRange.d.ts +2 -2
  35. package/dist/types/components/DInputSelect/DInputSelect.d.ts +3 -3
  36. package/dist/types/components/DLayout/DLayout.d.ts +21 -0
  37. package/dist/types/components/DLayout/components/DLayoutPane.d.ts +13 -0
  38. package/dist/types/components/DLayout/index.d.ts +3 -0
  39. package/dist/types/components/DListGroup/components/DListGroupItem.d.ts +4 -4
  40. package/dist/types/components/DMinimalLineChart/DMinimalLineChart.d.ts +9 -0
  41. package/dist/types/components/DMultiLineChart/DMultiLineChart.d.ts +9 -0
  42. package/dist/types/components/DOtp/DOtp.d.ts +16 -0
  43. package/dist/types/components/DOtp/DOtpspec.d.ts +0 -0
  44. package/dist/types/components/DOtp/components/OtpCountdown.d.ts +7 -0
  45. package/dist/types/components/DOtp/hooks/useCountdown.d.ts +4 -0
  46. package/dist/types/components/DOtp/index.d.ts +2 -0
  47. package/dist/types/components/DPaginator/DPaginator.d.ts +2 -27
  48. package/dist/types/components/DPieChart/DPieChart.d.ts +9 -0
  49. package/dist/types/components/DProgress/DProgress.d.ts +2 -1
  50. package/dist/types/components/DRadialBarChart/DRadialBarChart.d.ts +6 -0
  51. package/dist/types/components/DSelect/DSelect.d.ts +3 -3
  52. package/dist/types/components/DTabs/DTabs.d.ts +2 -2
  53. package/dist/types/components/DTimeline/DTimeline.d.ts +15 -0
  54. package/dist/types/components/DTimeline/index.d.ts +2 -0
  55. package/dist/types/components/DToastContainer/useDToast.d.ts +2 -2
  56. package/dist/types/components/DTooltip/DTooltip.d.ts +1 -2
  57. package/dist/types/components/index.d.ts +5 -8
  58. package/dist/types/components/interface.d.ts +3 -8
  59. package/package.json +8 -3
  60. package/src/style/_shame.scss +42 -1
  61. package/src/style/abstracts/_mixins.scss +1 -7
  62. package/src/style/abstracts/_utilities.scss +51 -1
  63. package/src/style/abstracts/variables/_+import.scss +3 -2
  64. package/src/style/abstracts/variables/_alerts.scss +2 -0
  65. package/src/style/abstracts/variables/_body.scss +10 -3
  66. package/src/style/abstracts/variables/_border.scss +5 -5
  67. package/src/style/abstracts/variables/_buttons.scss +17 -11
  68. package/src/style/abstracts/variables/_cards.scss +6 -4
  69. package/src/style/abstracts/variables/_chips.scss +2 -2
  70. package/src/style/abstracts/variables/_colors.scss +140 -69
  71. package/src/style/abstracts/variables/_datepicker.scss +10 -9
  72. package/src/style/abstracts/variables/_dropdowns.scss +6 -4
  73. package/src/style/abstracts/variables/_forms.scss +4 -4
  74. package/src/style/abstracts/variables/_list-group.scss +2 -2
  75. package/src/style/abstracts/variables/_modals.scss +4 -3
  76. package/src/style/abstracts/variables/_offcanvas.scss +1 -0
  77. package/src/style/abstracts/variables/_pagination.scss +4 -4
  78. package/src/style/abstracts/variables/_shadow.scss +1 -0
  79. package/src/style/abstracts/variables/_tables.scss +8 -3
  80. package/src/style/abstracts/variables/_tooltip.scss +1 -1
  81. package/src/style/abstracts/variables/_typography.scss +7 -7
  82. package/src/style/base/_+import.scss +1 -0
  83. package/src/style/base/_alert.scss +1 -27
  84. package/src/style/base/_badge.scss +50 -12
  85. package/src/style/base/_buttons.scss +148 -22
  86. package/src/style/base/_dropdown.scss +18 -0
  87. package/src/style/base/_input-group.scss +5 -0
  88. package/src/style/base/_list-group.scss +6 -0
  89. package/src/style/base/_pagination.scss +2 -0
  90. package/src/style/base/_tables.scss +4 -0
  91. package/src/style/base/_tooltip.scss +1 -10
  92. package/src/style/components/_+import.scss +4 -4
  93. package/src/style/components/_d-avatar.scss +2 -20
  94. package/src/style/components/_d-box.scss +13 -0
  95. package/src/style/components/_d-carousel.scss +19 -1
  96. package/src/style/components/_d-credit-card.scss +67 -0
  97. package/src/style/components/_d-datepicker.scss +64 -26
  98. package/src/style/components/_d-icon.scss +10 -3
  99. package/src/style/components/_d-modal.scss +3 -0
  100. package/src/style/components/_d-stepper-desktop.scss +61 -65
  101. package/src/style/components/_d-stepper-mobile.scss +2 -2
  102. package/src/style/components/_d-tabs.scss +37 -0
  103. package/src/style/components/_d-timeline.scss +108 -0
  104. package/src/style/helpers/_color-bg.scss +13 -3
  105. package/src/style/root/_root.scss +35 -18
  106. package/dist/types/components/DInputCurrencyBase/DInputCurrencyBase.d.ts +0 -26
  107. package/dist/types/components/DInputCurrencyBase/index.d.ts +0 -2
  108. package/dist/types/components/DInputSearch/DInputSearch.d.ts +0 -17
  109. package/dist/types/components/DInputSearch/index.d.ts +0 -2
  110. package/dist/types/components/DList/DList.d.ts +0 -17
  111. package/dist/types/components/DList/components/DListItem.d.ts +0 -13
  112. package/dist/types/components/DList/index.d.ts +0 -3
  113. package/dist/types/components/DQuickActionButton/DQuickActionButton.d.ts +0 -20
  114. package/dist/types/components/DQuickActionButton/index.d.ts +0 -2
  115. package/dist/types/components/DQuickActionCheck/DQuickActionCheck.d.ts +0 -17
  116. package/dist/types/components/DQuickActionCheck/index.d.ts +0 -2
  117. package/dist/types/components/DQuickActionSelect/DQuickActionSelect.d.ts +0 -13
  118. package/dist/types/components/DQuickActionSelect/index.d.ts +0 -2
  119. package/dist/types/components/DQuickActionSwitch/DQuickActionSwitch.d.ts +0 -15
  120. package/dist/types/components/DQuickActionSwitch/index.d.ts +0 -2
  121. package/dist/types/components/DSkeleton/DSkeleton.d.ts +0 -11
  122. package/dist/types/components/DSkeleton/index.d.ts +0 -2
  123. package/src/style/components/_d-quick-action-button.scss +0 -121
  124. package/src/style/components/_d-quick-action-check.scss +0 -74
  125. package/src/style/components/_d-quick-action-select.scss +0 -58
  126. package/src/style/components/_d-quick-action-switch.scss +0 -64
@@ -1,2 +0,0 @@
1
- import DQuickActionSwitch from './DQuickActionSwitch';
2
- export default DQuickActionSwitch;
@@ -1,11 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- export type Props = PropsWithChildren<{
3
- speed?: number;
4
- viewBox?: string;
5
- backgroundColor?: string;
6
- foregroundColor?: string;
7
- }>;
8
- /**
9
- * @deprecated Please use https://getbootstrap.com/docs/5.3/components/placeholders/ instead
10
- */
11
- export default function DSkeleton({ speed, viewBox, backgroundColor, foregroundColor, children, }: Props): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import DSkeleton from './DSkeleton';
2
- export default DSkeleton;
@@ -1,121 +0,0 @@
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
- --#{$prefix}quick-action-button-action-link-padding-x: var(--#{$prefix}ref-spacer-3);
29
- --#{$prefix}quick-action-button-action-link-padding-y: var(--#{$prefix}ref-spacer-2);
30
-
31
- --#{$prefix}quick-action-button-hover-bg: #{$quick-action-button-hover-bg};
32
- --#{$prefix}quick-action-button-hover-border-color: #{$quick-action-button-hover-border-color};
33
- --#{$prefix}quick-action-button-hover-action-icon-color: #{$quick-action-button-hover-action-icon-color};
34
- --#{$prefix}quick-action-button-hover-box-shadow: #{$quick-action-button-hover-box-shadow};
35
-
36
- --#{$prefix}quick-action-button-active-bg: #{$quick-action-button-active-bg};
37
- --#{$prefix}quick-action-button-active-border-color: #{$quick-action-button-active-border-color};
38
- --#{$prefix}quick-action-button-active-action-icon-color: #{$quick-action-button-active-action-icon-color};
39
- --#{$prefix}quick-action-button-active-box-shadow: #{$quick-action-button-active-box-shadow};
40
-
41
- display: flex;
42
- gap: var(--#{$prefix}quick-action-button-gap);
43
- align-items: center;
44
- width: 100%;
45
- padding: var(--#{$prefix}quick-action-button-padding);
46
- text-align: left;
47
- background-color: var(--#{$prefix}quick-action-button-bg);
48
- background-position: center;
49
- border-top: var(--#{$prefix}quick-action-button-border-top);
50
- border-right: var(--#{$prefix}quick-action-button-border-right);
51
- border-bottom: var(--#{$prefix}quick-action-button-border-bottom);
52
- border-left: var(--#{$prefix}quick-action-button-border-left);
53
- border-radius: var(--#{$prefix}quick-action-button-border-radius);
54
- box-shadow: var(--#{$prefix}quick-action-button-box-shadow);
55
-
56
- &.d-quick-action-button-feedback:hover {
57
- text-decoration: none;
58
- background: var(--#{$prefix}quick-action-button-hover-bg);
59
- border-color: var(--#{$prefix}quick-action-button-hover-border-color);
60
- box-shadow: var(--#{$prefix}quick-action-button-hover-box-shadow);
61
- }
62
-
63
- &.d-quick-action-button-feedback:active {
64
- text-decoration: none;
65
- background: var(--#{$prefix}quick-action-button-active-bg);
66
- border-color: var(--#{$prefix}quick-action-button-active-border-color);
67
- box-shadow: var(--#{$prefix}quick-action-button-active-box-shadow);
68
- }
69
-
70
- .d-quick-action-button-representative-image {
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- width: var(--#{$prefix}quick-action-button-representative-image-size);
75
- height: var(--#{$prefix}quick-action-button-representative-image-size);
76
- background-color: var(--#{$prefix}quick-action-button-action-icon-color);
77
- border-radius: var(--#{$prefix}quick-action-button-representative-image-border-radius);
78
- }
79
-
80
- .d-quick-action-button-content {
81
- display: flex;
82
- flex: 1;
83
- justify-content: center;
84
- }
85
-
86
- .d-quick-action-button-text {
87
- display: flex;
88
- flex-grow: 1;
89
- flex-direction: column;
90
- }
91
-
92
- .d-quick-action-button-action-link,
93
- .d-quick-action-button-secondary-action-link {
94
- --#{$prefix}btn-padding-x: var(--#{$prefix}quick-action-button-action-link-padding-x);
95
- --#{$prefix}btn-padding-y: var(--#{$prefix}quick-action-button-action-link-padding-y);
96
- }
97
-
98
- .d-quick-action-button-line1 {
99
- font-size: var(--#{$prefix}quick-action-button-line1-font-size);
100
- font-weight: var(--#{$prefix}quick-action-button-line1-font-weight);
101
- color: var(--#{$prefix}quick-action-button-line1-color);
102
- }
103
-
104
- .d-quick-action-button-line2 {
105
- font-size: var(--#{$prefix}quick-action-button-line2-font-size);
106
- font-weight: var(--#{$prefix}quick-action-button-line2-font-weight);
107
- color: var(--#{$prefix}quick-action-button-line2-color);
108
- }
109
-
110
- .d-quick-action-button-action-icon {
111
- color: var(--#{$prefix}quick-action-button-action-icon-color);
112
- }
113
-
114
- &:hover .d-quick-action-button-action-icon {
115
- color: var(--#{$prefix}quick-action-button-active-action-icon-color);
116
- }
117
-
118
- &:active .d-quick-action-button-action-icon {
119
- color: var(--#{$prefix}quick-action-button-active-action-icon-color);
120
- }
121
- }
@@ -1,74 +0,0 @@
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-grow: 1;
50
- flex-direction: column;
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
- }
@@ -1,58 +0,0 @@
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
- gap: 0;
22
- align-items: flex-start;
23
- width: 100%;
24
- padding: var(--#{$prefix}quick-action-select-padding);
25
- text-align: left;
26
- cursor: pointer;
27
- background-color: var(--#{$prefix}quick-action-select-bg);
28
- border-radius: var(--#{$prefix}quick-action-select-border-radius);
29
-
30
- input {
31
- display: none;
32
- }
33
-
34
- &:hover {
35
- background: var(--#{$prefix}quick-action-select-hover-bg);
36
- }
37
-
38
- &:has(input:checked) {
39
- background: var(--#{$prefix}quick-action-select-checked-bg);
40
-
41
- .d-quick-action-select-line1,
42
- .d-quick-action-select-line2 {
43
- color: var(--#{$prefix}quick-action-select-checked-color);
44
- }
45
- }
46
-
47
- .d-quick-action-select-line1 {
48
- font-size: var(--#{$prefix}quick-action-select-line1-font-size);
49
- font-weight: var(--#{$prefix}quick-action-select-line1-font-weight);
50
- color: var(--#{$prefix}quick-action-select-line1-color);
51
- }
52
-
53
- .d-quick-action-select-line2 {
54
- font-size: var(--#{$prefix}quick-action-select-line2-font-size);
55
- font-weight: var(--#{$prefix}quick-action-select-line2-font-weight);
56
- color: var(--#{$prefix}quick-action-select-line2-color);
57
- }
58
- }
@@ -1,64 +0,0 @@
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
-
12
- --#{$prefix}quick-action-switch-hint-font-size: #{$quick-action-switch-hint-font-size};
13
- --#{$prefix}quick-action-switch-hint-font-weight: #{$quick-action-switch-hint-font-weight};
14
- --#{$prefix}quick-action-switch-hint-color: #{$quick-action-switch-hint-color};
15
-
16
- --#{$prefix}quick-action-switch-hover-bg: #{$quick-action-switch-hover-bg};
17
-
18
- --#{$prefix}quick-action-switch-checked-bg: #{$quick-action-switch-checked-bg};
19
- --#{$prefix}quick-action-switch-checked-hint-color: #{$quick-action-switch-checked-hint-color};
20
-
21
- display: flex;
22
- flex-direction: column;
23
- gap: var(--#{$prefix}quick-action-switch-gap);
24
- width: 100%;
25
- padding: var(--#{$prefix}quick-action-switch-padding);
26
- text-align: left;
27
- cursor: pointer;
28
- background-color: var(--#{$prefix}quick-action-switch-bg);
29
- border: 0;
30
- border-radius: var(--#{$prefix}quick-action-switch-border-radius);
31
-
32
- &:hover {
33
- background: var(--#{$prefix}quick-action-switch-hover-bg);
34
- }
35
-
36
- &:has(input:checked) {
37
- background: var(--#{$prefix}quick-action-switch-checked-bg);
38
-
39
- .d-quick-action-switch-hint {
40
- color: var(--#{$prefix}quick-action-switch-checked-hint-color);
41
- }
42
- }
43
-
44
- .d-quick-action-switch-content {
45
- display: flex;
46
- flex-direction: row;
47
- gap: var(--#{$prefix}quick-action-switch-content-gap);
48
- }
49
-
50
- label {
51
- --#{$prefix}label-font-size: var(--#{$prefix}quick-action-switch-label-font-size);
52
- --#{$prefix}label-font-weight: var(--#{$prefix}quick-action-switch-label-font-weight);
53
- }
54
-
55
- .d-quick-action-switch-hint {
56
- font-size: var(--#{$prefix}quick-action-switch-hint-font-size);
57
- font-weight: var(--#{$prefix}quick-action-switch-hint-font-weight);
58
- color: var(--#{$prefix}quick-action-switch-hint-color);
59
- }
60
-
61
- .d-input-switch:focus-within.form-switch .form-check-input {
62
- outline: 0;
63
- }
64
- }