@dynamic-framework/ui-react 1.18.0 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/dynamic-ui-non-root.css +1634 -1019
- package/dist/css/dynamic-ui-non-root.min.css +2 -2
- package/dist/css/dynamic-ui-root.css +493 -29
- package/dist/css/dynamic-ui-root.min.css +2 -2
- package/dist/css/dynamic-ui.css +2126 -1047
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/index.esm.js +290 -318
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +288 -321
- package/dist/index.js.map +1 -1
- package/dist/types/components/DAvatar/DAvatar.d.ts +9 -0
- package/dist/types/components/DAvatar/index.d.ts +2 -0
- package/dist/types/components/DCarousel/DCarousel.d.ts +5 -4
- package/dist/types/components/DDatePicker/DDatePicker.d.ts +5 -4
- package/dist/types/components/DDatePickerHeader/DDatePickerHeader.d.ts +5 -4
- package/dist/types/components/DDatePickerInput/DDatePickerInput.d.ts +1 -0
- package/dist/types/components/DToastContainer/DToastContainer.d.ts +9 -7
- package/dist/types/components/DToastContainer/index.d.ts +1 -1
- package/dist/types/components/DToastContainer/{useToast.d.ts → useDToast.d.ts} +7 -4
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/interface.d.ts +1 -0
- package/dist/types/contexts/DContext.d.ts +8 -7
- package/dist/types/contexts/DPortalContext.d.ts +29 -0
- package/dist/types/contexts/index.d.ts +1 -2
- package/dist/types/hooks/useStackState.d.ts +1 -1
- package/package.json +3 -3
- package/src/style/abstracts/_mixins.scss +110 -94
- package/src/style/abstracts/_utilities.scss +46 -1
- package/src/style/abstracts/variables/_+import.scss +2 -0
- package/src/style/abstracts/variables/_accordion.scss +2 -2
- package/src/style/abstracts/variables/_alerts.scss +1 -1
- package/src/style/abstracts/variables/_cards.scss +2 -0
- package/src/style/abstracts/variables/_collapse-icon-text.scss +2 -2
- package/src/style/abstracts/variables/_forms.scss +7 -8
- package/src/style/abstracts/variables/_navs.scss +2 -2
- package/src/style/abstracts/variables/_pagination.scss +4 -4
- package/src/style/abstracts/variables/_progress.scss +2 -2
- package/src/style/abstracts/variables/_quick-action-button.scss +4 -4
- package/src/style/abstracts/variables/_quick-action-check.scss +4 -4
- package/src/style/abstracts/variables/_quick-action-select.scss +3 -3
- package/src/style/abstracts/variables/_quick-action-switch.scss +2 -2
- package/src/style/abstracts/variables/_tooltip.scss +16 -0
- package/src/style/abstracts/variables/_typography.scss +76 -20
- package/src/style/abstracts/variables/_z-index.scss +11 -0
- package/src/style/base/_+import.scss +7 -2
- package/src/style/base/_avatar.scss +61 -0
- package/src/style/base/_backdrop.scss +9 -0
- package/src/style/base/_button-group.scss +13 -0
- package/src/style/base/{_button.scss → _buttons.scss} +14 -48
- package/src/style/base/_form-check.scss +2 -1
- package/src/style/base/_input-group.scss +11 -6
- package/src/style/base/_tooltip.scss +23 -0
- package/src/style/base/_type.scss +104 -0
- package/src/style/components/_+import.scss +0 -2
- package/src/style/components/_d-datepicker.scss +95 -45
- package/src/style/components/_d-icon.scss +1 -1
- package/src/style/components/_d-input-pin.scss +5 -0
- package/src/style/components/_d-quick-action-button.scss +8 -0
- package/src/style/components/_d-quick-action-select.scss +2 -0
- package/src/style/components/_d-quick-action-switch.scss +4 -4
- package/src/style/components/_d-select.scss +1 -1
- package/src/style/components/_d-stepper-mobile.scss +3 -3
- package/src/style/helpers/_+import.scss +3 -1
- package/src/style/helpers/_colored-links.scss +70 -0
- package/src/style/helpers/_text-truncate.scss +8 -0
- package/src/style/root/_root.scss +98 -21
- package/dist/types/components/DMonthPicker/DMonthPicker.d.ts +0 -12
- package/dist/types/components/DMonthPicker/index.d.ts +0 -2
- package/dist/types/contexts/DModalContext.d.ts +0 -31
- package/dist/types/contexts/DOffcanvasContext.d.ts +0 -31
- package/src/style/components/_d-monthpicker.scss +0 -98
- package/src/style/components/_d-tooltip.scss +0 -35
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Headings
|
|
3
|
+
//
|
|
4
|
+
.h1 {
|
|
5
|
+
@extend h1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.h2 {
|
|
9
|
+
@extend h2;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.h3 {
|
|
13
|
+
@extend h3;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.h4 {
|
|
17
|
+
@extend h4;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.h5 {
|
|
21
|
+
@extend h5;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.h6 {
|
|
25
|
+
@extend h6;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
.lead {
|
|
30
|
+
@include font-size($lead-font-size);
|
|
31
|
+
font-weight: $lead-font-weight;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Type display classes
|
|
35
|
+
[class*="display-"] {
|
|
36
|
+
font-family: $display-font-family;
|
|
37
|
+
font-size: var(--#{$prefix}display-font-size);
|
|
38
|
+
font-style: $display-font-style;
|
|
39
|
+
font-weight: $display-font-weight;
|
|
40
|
+
line-height: $display-line-height;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//
|
|
44
|
+
// Emphasis
|
|
45
|
+
//
|
|
46
|
+
.small {
|
|
47
|
+
@extend small;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.mark {
|
|
51
|
+
@extend mark;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
//
|
|
55
|
+
// Lists
|
|
56
|
+
//
|
|
57
|
+
|
|
58
|
+
.list-unstyled {
|
|
59
|
+
@include list-unstyled();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Inline turns list items into inline-block
|
|
63
|
+
.list-inline {
|
|
64
|
+
@include list-unstyled();
|
|
65
|
+
}
|
|
66
|
+
.list-inline-item {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
|
|
69
|
+
&:not(:last-child) {
|
|
70
|
+
margin-right: $list-inline-padding;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
//
|
|
76
|
+
// Misc
|
|
77
|
+
//
|
|
78
|
+
|
|
79
|
+
// Builds on `abbr`
|
|
80
|
+
.initialism {
|
|
81
|
+
@include font-size($initialism-font-size);
|
|
82
|
+
text-transform: uppercase;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Blockquotes
|
|
86
|
+
.blockquote {
|
|
87
|
+
margin-bottom: $blockquote-margin-y;
|
|
88
|
+
@include font-size($blockquote-font-size);
|
|
89
|
+
|
|
90
|
+
> :last-child {
|
|
91
|
+
margin-bottom: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.blockquote-footer {
|
|
96
|
+
margin-top: -$blockquote-margin-y;
|
|
97
|
+
margin-bottom: $blockquote-margin-y;
|
|
98
|
+
@include font-size($blockquote-footer-font-size);
|
|
99
|
+
color: $blockquote-footer-color;
|
|
100
|
+
|
|
101
|
+
&::before {
|
|
102
|
+
content: "\2014\00A0"; // em dash, nbsp
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
@import "d-collapse-icon-text";
|
|
13
13
|
@import "d-datepicker";
|
|
14
14
|
@import "d-timepicker";
|
|
15
|
-
@import "d-monthpicker";
|
|
16
15
|
@import "d-tabs";
|
|
17
16
|
@import "d-popover";
|
|
18
17
|
@import "d-box-file";
|
|
@@ -20,5 +19,4 @@
|
|
|
20
19
|
@import "d-stepper-desktop";
|
|
21
20
|
@import "d-stepper-mobile";
|
|
22
21
|
@import "d-card-account";
|
|
23
|
-
@import "d-tooltip";
|
|
24
22
|
@import "d-select";
|
|
@@ -10,36 +10,43 @@
|
|
|
10
10
|
|
|
11
11
|
// Header variables
|
|
12
12
|
--#{$prefix}datepicker-header-gap: var(--#{$prefix}ref-spacer-4);
|
|
13
|
-
--#{$prefix}datepicker-header-padding: var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-
|
|
13
|
+
--#{$prefix}datepicker-header-padding: var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-7);
|
|
14
14
|
--#{$prefix}datepicker-header-background-color: var(--#{$prefix}secondary-soft);
|
|
15
15
|
--#{$prefix}datepicker-header-border: 0;
|
|
16
|
-
--#{$prefix}datepicker-header-font-size: var(--#{$prefix}
|
|
16
|
+
--#{$prefix}datepicker-header-font-size: var(--#{$prefix}fs-6);
|
|
17
|
+
--#{$prefix}datepicker-header-button-padding: 0;
|
|
18
|
+
--#{$prefix}datepicker-header-select-padding: 0 var(--#{$prefix}ref-spacer-1);
|
|
19
|
+
--#{$prefix}datepicker-header-select-font-weight: var(--#{$prefix}fw-bold);
|
|
20
|
+
--#{$prefix}datepicker-header-select-menu-width: fit-content;
|
|
17
21
|
|
|
18
22
|
--#{$prefix}datepicker-day-names-margin: 0;
|
|
19
23
|
--#{$prefix}datepicker-day-names-font-size: var(--#{$prefix}ref-spacer-4);
|
|
20
24
|
|
|
21
|
-
--#{$prefix}datepicker-day-name-weight: var(--#{$prefix}
|
|
25
|
+
--#{$prefix}datepicker-day-name-weight: var(--#{$prefix}fw-bold);
|
|
22
26
|
--#{$prefix}datepicker-day-name-margin: 0;
|
|
23
|
-
--#{$prefix}datepicker-day-name-
|
|
27
|
+
--#{$prefix}datepicker-day-name-padding: 0;
|
|
28
|
+
--#{$prefix}datepicker-day-name-size: var(--#{$prefix}ref-spacer-5);
|
|
24
29
|
--#{$prefix}datepicker-day-name-color: var(--#{$prefix}gray-500);
|
|
25
30
|
|
|
26
31
|
// Calendar variables
|
|
27
|
-
--#{$prefix}datepicker-month-gap:
|
|
28
|
-
--#{$prefix}datepicker-month-padding: var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-
|
|
32
|
+
--#{$prefix}datepicker-month-gap: .875rem;
|
|
33
|
+
--#{$prefix}datepicker-month-padding: var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-7) var(--#{$prefix}ref-spacer-6);
|
|
29
34
|
--#{$prefix}datepicker-month-margin: 0;
|
|
30
35
|
--#{$prefix}datepicker-month-color: var(--#{$prefix}white);
|
|
31
36
|
|
|
32
|
-
--#{$prefix}datepicker-week-gap: var(--#{$prefix}ref-spacer-
|
|
37
|
+
--#{$prefix}datepicker-week-gap: var(--#{$prefix}ref-spacer-8);
|
|
33
38
|
|
|
34
39
|
// Day variables
|
|
35
40
|
--#{$prefix}datepicker-day-margin: 0;
|
|
36
|
-
--#{$prefix}datepicker-day-font-size: var(--#{$prefix}
|
|
37
|
-
--#{$prefix}datepicker-day-size: var(--#{$prefix}ref-spacer-
|
|
38
|
-
--#{$prefix}datepicker-day-padding:
|
|
41
|
+
--#{$prefix}datepicker-day-font-size: var(--#{$prefix}fs-small);
|
|
42
|
+
--#{$prefix}datepicker-day-size: var(--#{$prefix}ref-spacer-5);
|
|
43
|
+
--#{$prefix}datepicker-day-padding: 0;
|
|
39
44
|
--#{$prefix}datepicker-day-radius: 100%;
|
|
45
|
+
--#{$prefix}datepicker-day-color: var(--#{$prefix}gray-900);
|
|
46
|
+
--#{$prefix}datepicker-day-disabled-color: var(--#{$prefix}gray-300);
|
|
40
47
|
|
|
41
|
-
--#{$prefix}datepicker-day-
|
|
42
|
-
--#{$prefix}datepicker-day-
|
|
48
|
+
--#{$prefix}datepicker-day-color-hover: var(--#{$prefix}gray-900);
|
|
49
|
+
--#{$prefix}datepicker-day-bg-hover: var(--#{$prefix}info-100);
|
|
43
50
|
|
|
44
51
|
--#{$prefix}datepicker-day-selected-color: var(--#{$prefix}white);
|
|
45
52
|
--#{$prefix}datepicker-day-selected-bg: var(--#{$prefix}secondary-500);
|
|
@@ -49,8 +56,8 @@
|
|
|
49
56
|
|
|
50
57
|
--#{$prefix}datepicker-day-outside-month-color: var(--#{$prefix}gray-400);
|
|
51
58
|
|
|
52
|
-
--#{$prefix}datepicker-day-today-font-weight: var(--#{$prefix}
|
|
53
|
-
--#{$prefix}datepicker-day-today-box-shadow: 0 0 0 2px
|
|
59
|
+
--#{$prefix}datepicker-day-today-font-weight: var(--#{$prefix}fw-normal);
|
|
60
|
+
--#{$prefix}datepicker-day-today-box-shadow: 0 0 0 2px var(--#{$prefix}secondary);
|
|
54
61
|
|
|
55
62
|
// Time variables
|
|
56
63
|
--#{$prefix}datepicker-time-container-margin: 0;
|
|
@@ -61,9 +68,9 @@
|
|
|
61
68
|
|
|
62
69
|
--#{$prefix}datepicker-time-input-padding: var(--#{$prefix}ref-spacer-4);
|
|
63
70
|
--#{$prefix}datepicker-time-input-gap: var(--#{$prefix}ref-spacer-2);
|
|
64
|
-
--#{$prefix}datepicker-time-input-label-weight: var(--#{$prefix}
|
|
71
|
+
--#{$prefix}datepicker-time-input-label-weight: var(--#{$prefix}fw-bold);
|
|
65
72
|
--#{$prefix}datepicker-time-input-label-color: var(--#{$prefix}gray-700);
|
|
66
|
-
--#{$prefix}datepicker-time-input-label-size: var(--#{$prefix}
|
|
73
|
+
--#{$prefix}datepicker-time-input-label-size: var(--#{$prefix}fs-small);
|
|
67
74
|
|
|
68
75
|
font-family: var(--#{$prefix}datepicker-font-family);
|
|
69
76
|
font-size: var(--#{$prefix}datepicker-font-size);
|
|
@@ -81,17 +88,14 @@
|
|
|
81
88
|
|
|
82
89
|
.react-datepicker__day-names {
|
|
83
90
|
display: flex;
|
|
84
|
-
gap: var(--#{$prefix}ref-spacer-
|
|
91
|
+
gap: var(--#{$prefix}ref-spacer-8);
|
|
85
92
|
margin: var(--#{$prefix}datepicker-day-names-margin);
|
|
86
93
|
font-size: var(--#{$prefix}datepicker-day-names-font-size);
|
|
87
94
|
}
|
|
88
95
|
.react-datepicker__day-name {
|
|
89
|
-
display: flex;
|
|
90
|
-
align-items: center;
|
|
91
|
-
justify-content: center;
|
|
92
96
|
width: var(--#{$prefix}datepicker-day-name-size);
|
|
93
97
|
height: var(--#{$prefix}datepicker-day-name-size);
|
|
94
|
-
padding: var(--#{$prefix}datepicker-day-padding);
|
|
98
|
+
padding: var(--#{$prefix}datepicker-day-name-padding);
|
|
95
99
|
margin: var(--#{$prefix}datepicker-day-name-margin);
|
|
96
100
|
font-weight: var(--#{$prefix}datepicker-day-name-weight);
|
|
97
101
|
line-height: var(--#{$prefix}datepicker-day-name-size);
|
|
@@ -114,21 +118,29 @@
|
|
|
114
118
|
padding: var(--#{$prefix}datepicker-month-padding);
|
|
115
119
|
margin: var(--#{$prefix}datepicker-month-margin);
|
|
116
120
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
+
}
|
|
122
|
+
.react-datepicker__week {
|
|
123
|
+
display: flex;
|
|
124
|
+
gap: var(--#{$prefix}datepicker-week-gap);
|
|
125
|
+
}
|
|
121
126
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
.react-datepicker__day {
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
width: var(--#{$prefix}datepicker-day-size);
|
|
132
|
+
height: var(--#{$prefix}datepicker-day-size);
|
|
133
|
+
padding: var(--#{$prefix}datepicker-day-padding);
|
|
134
|
+
margin: var(--#{$prefix}datepicker-day-margin);
|
|
135
|
+
font-size: var(--#{$prefix}datepicker-day-font-size);
|
|
136
|
+
line-height: var(--#{$prefix}datepicker-day-size);
|
|
137
|
+
color: var(--#{$prefix}datepicker-day-color);
|
|
138
|
+
|
|
139
|
+
&.react-datepicker__day--in-range.react-datepicker__day--range-end,
|
|
140
|
+
&.react-datepicker__day--in-selecting-range.react-datepicker__day--selecting-range-end {
|
|
141
|
+
color: var(--#{$prefix}datepicker-day-selected-color);
|
|
142
|
+
background-color: var(--#{$prefix}datepicker-day-selected-bg);
|
|
143
|
+
box-shadow: 0 0 0 2px var(--#{$prefix}datepicker-day-selected-bg);
|
|
132
144
|
}
|
|
133
145
|
}
|
|
134
146
|
|
|
@@ -142,12 +154,17 @@
|
|
|
142
154
|
.react-datepicker__month-text--selected,
|
|
143
155
|
.react-datepicker__quarter-text--selected,
|
|
144
156
|
.react-datepicker__year-text--selected):hover {
|
|
145
|
-
color: var(--#{$prefix}datepicker-day-
|
|
146
|
-
background-color: var(--#{$prefix}datepicker-day-
|
|
157
|
+
color: var(--#{$prefix}datepicker-day-color-hover);
|
|
158
|
+
background-color: var(--#{$prefix}datepicker-day-bg-hover);
|
|
147
159
|
border-radius: var(--#{$prefix}datepicker-day-radius);
|
|
160
|
+
box-shadow: 0 0 0 2px var(--#{$prefix}datepicker-day-bg-hover);
|
|
148
161
|
}
|
|
149
162
|
}
|
|
150
163
|
|
|
164
|
+
.react-datepicker__day--disabled {
|
|
165
|
+
color: var(--#{$prefix}datepicker-day-disabled-color);
|
|
166
|
+
}
|
|
167
|
+
|
|
151
168
|
// Selected single item
|
|
152
169
|
.react-datepicker__day--selected,
|
|
153
170
|
.react-datepicker__month--selected,
|
|
@@ -156,6 +173,7 @@
|
|
|
156
173
|
color: var(--#{$prefix}datepicker-day-selected-color);
|
|
157
174
|
background-color: var(--#{$prefix}datepicker-day-selected-bg);
|
|
158
175
|
border-radius: var(--#{$prefix}datepicker-day-radius);
|
|
176
|
+
box-shadow: 0 0 0 2px var(--#{$prefix}datepicker-day-selected-bg);
|
|
159
177
|
}
|
|
160
178
|
|
|
161
179
|
.react-datepicker__day--selected {
|
|
@@ -163,13 +181,7 @@
|
|
|
163
181
|
&.react-datepicker__day--in-selecting-range.react-datepicker__day--selecting-range-start {
|
|
164
182
|
color: var(--#{$prefix}datepicker-day-selected-color);
|
|
165
183
|
background-color: var(--#{$prefix}datepicker-day-selected-bg);
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
.react-datepicker__day {
|
|
169
|
-
&.react-datepicker__day--in-range.react-datepicker__day--range-end,
|
|
170
|
-
&.react-datepicker__day--in-selecting-range.react-datepicker__day--selecting-range-end {
|
|
171
|
-
color: var(--#{$prefix}datepicker-day-selected-color);
|
|
172
|
-
background-color: var(--#{$prefix}datepicker-day-selected-bg);
|
|
184
|
+
box-shadow: 0 0 0 2px var(--#{$prefix}datepicker-day-selected-bg);
|
|
173
185
|
}
|
|
174
186
|
}
|
|
175
187
|
|
|
@@ -239,7 +251,45 @@
|
|
|
239
251
|
}
|
|
240
252
|
}
|
|
241
253
|
.d-datepicker-header {
|
|
242
|
-
font-size: var(--#{$prefix}
|
|
254
|
+
font-size: var(--#{$prefix}datepicker-header-font-size);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.header-button {
|
|
258
|
+
--#{$prefix}btn-padding-y: var(--#{$prefix}datepicker-header-button-padding);
|
|
259
|
+
--#{$prefix}btn-padding-x: var(--#{$prefix}datepicker-header-button-padding);
|
|
260
|
+
&:hover,
|
|
261
|
+
&:active {
|
|
262
|
+
color: inherit;
|
|
263
|
+
background-color: inherit;
|
|
264
|
+
}
|
|
265
|
+
&:focus {
|
|
266
|
+
--#{$prefix}btn-focus-outline-offset: 8px;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.d-select {
|
|
271
|
+
&:focus-within .input-group {
|
|
272
|
+
border-color: transparent;
|
|
273
|
+
box-shadow: none;
|
|
274
|
+
}
|
|
275
|
+
.input-group {
|
|
276
|
+
--#{$prefix}input-border-width: 0;
|
|
277
|
+
}
|
|
278
|
+
.d-select__indicators {
|
|
279
|
+
display: none;
|
|
280
|
+
}
|
|
281
|
+
.d-select__control {
|
|
282
|
+
padding: var(--#{$prefix}datepicker-header-select-padding);
|
|
283
|
+
background-color: transparent;
|
|
284
|
+
}
|
|
285
|
+
.d-select__single-value {
|
|
286
|
+
font-weight: var(--#{$prefix}datepicker-header-select-font-weight);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
.d-select__menu {
|
|
290
|
+
left: 50%;
|
|
291
|
+
min-width: var(--#{$prefix}datepicker-header-select-menu-width);
|
|
292
|
+
translate: -50%;
|
|
243
293
|
}
|
|
244
294
|
}
|
|
245
295
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.d-icon {
|
|
2
2
|
--#{$prefix}icon-color: var(--#{$prefix}icon-component-color, inherit);
|
|
3
3
|
--#{$prefix}icon-bg-color: var(--#{$prefix}icon-component-bg-color, inherit);
|
|
4
|
-
--#{$prefix}icon-size: var(--#{$prefix}icon-component-size, $spacer-6);
|
|
4
|
+
--#{$prefix}icon-size: var(--#{$prefix}icon-component-size, var(--#{$prefix}ref-spacer-6));
|
|
5
5
|
--#{$prefix}icon-padding: var(--#{$prefix}icon-component-padding, 0);
|
|
6
6
|
--#{$prefix}icon-loading-duration: var(--#{$prefix}icon-component-loading-duration, 1.8);
|
|
7
7
|
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
height: var(--#{$prefix}input-pin-form-control-size);
|
|
22
22
|
text-align: center;
|
|
23
23
|
box-shadow: none;
|
|
24
|
+
|
|
25
|
+
&:has(~ .input-group-text) {
|
|
26
|
+
padding: var(--#{$prefix}ref-spacer-3) var(--#{$prefix}ref-spacer-4);
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
.form-control::-webkit-inner-spin-button,
|
|
@@ -64,5 +68,6 @@
|
|
|
64
68
|
|
|
65
69
|
.input-group-text {
|
|
66
70
|
padding-left: var(--#{$prefix}input-pin-form-gap);
|
|
71
|
+
background-color: transparent;
|
|
67
72
|
}
|
|
68
73
|
}
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
|
|
26
26
|
--#{$prefix}quick-action-button-action-icon-color: #{$quick-action-button-action-icon-color};
|
|
27
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);
|
|
28
30
|
|
|
29
31
|
--#{$prefix}quick-action-button-hover-bg: #{$quick-action-button-hover-bg};
|
|
30
32
|
--#{$prefix}quick-action-button-hover-border-color: #{$quick-action-button-hover-border-color};
|
|
@@ -85,6 +87,12 @@
|
|
|
85
87
|
flex-grow: 1;
|
|
86
88
|
}
|
|
87
89
|
|
|
90
|
+
.d-quick-action-button-action-link,
|
|
91
|
+
.d-quick-action-button-secondary-action-link {
|
|
92
|
+
--#{$prefix}btn-padding-x: var(--#{$prefix}quick-action-button-action-link-padding-x);
|
|
93
|
+
--#{$prefix}btn-padding-y: var(--#{$prefix}quick-action-button-action-link-padding-y);
|
|
94
|
+
}
|
|
95
|
+
|
|
88
96
|
.d-quick-action-button-line1 {
|
|
89
97
|
font-size: var(--#{$prefix}quick-action-button-line1-font-size);
|
|
90
98
|
font-weight: var(--#{$prefix}quick-action-button-line1-font-weight);
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
gap: var(--#{$prefix}quick-action-switch-content-gap);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
|
|
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);
|
|
56
|
+
label {
|
|
57
|
+
--#{$prefix}label-font-size: var(--#{$prefix}quick-action-switch-label-font-size);
|
|
58
|
+
--#{$prefix}label-font-weight: var(--#{$prefix}quick-action-switch-label-font-weight);
|
|
59
|
+
--#{$prefix}label-color: var(--#{$prefix}quick-action-switch-label-color);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.d-quick-action-switch-hint {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--#{$prefix}select-option-selected-color: var(--#{$prefix}secondary);
|
|
10
10
|
--#{$prefix}select-option-selected-bg: var(--#{$prefix}gray-100);
|
|
11
11
|
--#{$prefix}select-option-is-checkbox-font-size: var(--#{$prefix}body-font-size);
|
|
12
|
-
--#{$prefix}select-option-is-checkbox-font-weight: var(--#{$prefix}
|
|
12
|
+
--#{$prefix}select-option-is-checkbox-font-weight: var(--#{$prefix}fw-normal);
|
|
13
13
|
--#{$prefix}select-option-is-checkbox-color: var(--#{$prefix}gray-900);
|
|
14
14
|
--#{$prefix}select-option-has-icon-icon-size: var(--#{$prefix}ref-spacer-4);
|
|
15
15
|
--#{$prefix}select-multi-value-padding-x: var(--#{$prefix}select-gap);
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
|
|
16
16
|
/* Current step */
|
|
17
17
|
--#{$prefix}step-current-step-z-index: 3;
|
|
18
|
-
--#{$prefix}step-current-step-font-weight: var(--#{$prefix}
|
|
18
|
+
--#{$prefix}step-current-step-font-weight: var(--#{$prefix}fw-bold);
|
|
19
19
|
--#{$prefix}step-current-step-color: var(--#{$prefix}gray-700);
|
|
20
20
|
|
|
21
21
|
/* Info circle */
|
|
22
22
|
--#{$prefix}step-info-max-width: 12rem;
|
|
23
|
-
--#{$prefix}step-info-label-font-size: var(--#{$prefix}
|
|
24
|
-
--#{$prefix}step-info-description-font-size: var(--#{$prefix}
|
|
23
|
+
--#{$prefix}step-info-label-font-size: var(--#{$prefix}fs-6);
|
|
24
|
+
--#{$prefix}step-info-description-font-size: var(--#{$prefix}fs-small);
|
|
25
25
|
--#{$prefix}step-info-description-color: var(--#{$prefix}gray-500);
|
|
26
26
|
|
|
27
27
|
display: flex;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@import "bootstrap/scss/helpers/clearfix";
|
|
2
2
|
// @import "bootstrap/scss/helpers/color-bg";
|
|
3
3
|
@import "color-bg";
|
|
4
|
-
|
|
4
|
+
//@import "bootstrap/scss/helpers/colored-links";
|
|
5
|
+
@import "colored-links";
|
|
5
6
|
@import "bootstrap/scss/helpers/focus-ring";
|
|
6
7
|
@import "bootstrap/scss/helpers/icon-link";
|
|
7
8
|
@import "bootstrap/scss/helpers/ratio";
|
|
@@ -13,3 +14,4 @@
|
|
|
13
14
|
@import "bootstrap/scss/helpers/vr";
|
|
14
15
|
|
|
15
16
|
@import "overlay";
|
|
17
|
+
@import "text-truncate";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251
|
|
2
|
+
@each $color-name, $value in map-remove($theme-colors, "light", "dark") {
|
|
3
|
+
$color: rgba(var(--#{$prefix}#{$color-name}-500-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
4
|
+
$text-underline-color: rgba(var(--#{$prefix}#{$color-name}-500-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
5
|
+
$hover-color: rgba(var(--#{$prefix}#{$color-name}-600-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
6
|
+
$hover-text-decoration-color: rgba(var(--#{$prefix}#{$color-name}-600-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
7
|
+
|
|
8
|
+
.link-#{$color-name} {
|
|
9
|
+
color: $color;
|
|
10
|
+
text-decoration-color: $text-underline-color;
|
|
11
|
+
|
|
12
|
+
@if $link-shade-percentage != 0 {
|
|
13
|
+
&:hover,
|
|
14
|
+
&:focus {
|
|
15
|
+
color: $hover-color;
|
|
16
|
+
text-decoration-color: $hover-text-decoration-color;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.link-light {
|
|
23
|
+
$color: rgba(var(--#{$prefix}light-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
24
|
+
$text-underline-color: rgba(var(--#{$prefix}light-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
25
|
+
$hover-color: rgba(var(--#{$prefix}gray-300-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
26
|
+
$hover-text-decoration-color: rgba(var(--#{$prefix}gray-300-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
27
|
+
|
|
28
|
+
color: $color;
|
|
29
|
+
text-decoration-color: $text-underline-color;
|
|
30
|
+
|
|
31
|
+
@if $link-shade-percentage != 0 {
|
|
32
|
+
&:hover,
|
|
33
|
+
&:focus {
|
|
34
|
+
color: $hover-color;
|
|
35
|
+
text-decoration-color: $hover-text-decoration-color;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.link-dark {
|
|
41
|
+
$color: rgba(var(--#{$prefix}dark-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
42
|
+
$text-underline-color: rgba(var(--#{$prefix}dark-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
43
|
+
$hover-color: rgba(var(--#{$prefix}gray-700-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
44
|
+
$hover-text-decoration-color: rgba(var(--#{$prefix}gray-700-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
45
|
+
|
|
46
|
+
color: $color;
|
|
47
|
+
text-decoration-color: $text-underline-color;
|
|
48
|
+
|
|
49
|
+
@if $link-shade-percentage != 0 {
|
|
50
|
+
&:hover,
|
|
51
|
+
&:focus {
|
|
52
|
+
color: $hover-color;
|
|
53
|
+
text-decoration-color: $hover-text-decoration-color;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// One-off special link helper as a bridge until v6
|
|
59
|
+
.link-body-emphasis {
|
|
60
|
+
color: rgba(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
61
|
+
text-decoration-color: rgba(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
62
|
+
|
|
63
|
+
@if $link-shade-percentage != 0 {
|
|
64
|
+
&:hover,
|
|
65
|
+
&:focus {
|
|
66
|
+
color: rgba(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-opacity, .75)) if($enable-important-utilities, !important, null);
|
|
67
|
+
text-decoration-color: rgba(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-underline-opacity, .75)) if($enable-important-utilities, !important, null);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|