@lucca-front/scss 22.0.0-rc.2 → 22.0.0-rc.4
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/lucca-front.min.css +1 -1
- package/package.json +3 -3
- package/src/commons/config.scss +26 -27
- package/src/commons/utils/a11y.scss +2 -2
- package/src/commons/utils/color.scss +15 -6
- package/src/commons/utils/highlight-prisme.scss +6 -2
- package/src/commons/utils/index.scss +4 -0
- package/src/commons/vars.scss +20 -5
- package/src/components/activityFeed/component.scss +33 -6
- package/src/components/activityFeed/index.scss +4 -4
- package/src/components/activityFeed/states.scss +2 -2
- package/src/components/activityFeed/vars.scss +2 -2
- package/src/components/appLayout/component.scss +6 -3
- package/src/components/avatar/component.scss +2 -0
- package/src/components/avatar/index.scss +31 -3
- package/src/components/avatar/mods.scss +28 -0
- package/src/components/box/index.scss +1 -3
- package/src/components/box/mods.scss +1 -3
- package/src/components/bubbleIcon/index.scss +4 -0
- package/src/components/bubbleIcon/mods.scss +9 -1
- package/src/components/button/mods.scss +8 -6
- package/src/components/button/states.scss +5 -1
- package/src/components/calendar/component.scss +33 -20
- package/src/components/calendar/index.scss +48 -0
- package/src/components/calendar/mods.scss +6 -0
- package/src/components/calendar/states.scss +77 -0
- package/src/components/calendar/vars.scss +4 -1
- package/src/components/callout/mods.scss +1 -1
- package/src/components/card/index.scss +1 -3
- package/src/components/checkbox/states.scss +1 -1
- package/src/components/checkboxField/states.scss +1 -1
- package/src/components/code/component.scss +1 -0
- package/src/components/color/component.scss +3 -1
- package/src/components/color/index.scss +1 -2
- package/src/components/comment/component.scss +1 -1
- package/src/components/dataTable/component.scss +6 -1
- package/src/components/dataTable/index.scss +6 -0
- package/src/components/dataTable/mods.scss +4 -0
- package/src/components/dateField/index.scss +8 -0
- package/src/components/dateField/mods.scss +8 -0
- package/src/components/dateField/vars.scss +2 -0
- package/src/components/dialog/component.scss +7 -4
- package/src/components/dialog/index.scss +8 -2
- package/src/components/dialog/mods.scss +11 -3
- package/src/components/dialog/vars.scss +3 -0
- package/src/components/fieldset/index.scss +4 -0
- package/src/components/fieldset/mods.scss +10 -0
- package/src/components/fieldset/vars.scss +1 -1
- package/src/components/fileEntry/component.scss +2 -2
- package/src/components/fileUpload/component.scss +1 -1
- package/src/components/filterPill/component.scss +29 -5
- package/src/components/filterPill/index.scss +14 -11
- package/src/components/filterPill/states.scss +7 -8
- package/src/components/filterPill/vars.scss +2 -1
- package/src/components/footer/component.scss +1 -0
- package/src/components/footer/mods.scss +1 -0
- package/src/components/footer/vars.scss +1 -0
- package/src/components/form/component.scss +6 -0
- package/src/components/form/mods.scss +1 -1
- package/src/components/form/vars.scss +1 -1
- package/src/components/grid/mods.scss +1 -1
- package/src/components/highlightText/component.scss +30 -0
- package/src/components/highlightText/exports.scss +4 -0
- package/src/components/highlightText/index.scss +8 -0
- package/src/components/highlightText/mods.scss +0 -0
- package/src/components/highlightText/states.scss +0 -0
- package/src/components/highlightText/vars.scss +9 -0
- package/src/components/horizontalNavigation/component.scss +23 -1
- package/src/components/horizontalNavigation/index.scss +27 -1
- package/src/components/horizontalNavigation/mods.scss +14 -0
- package/src/components/horizontalNavigation/vars.scss +7 -0
- package/src/components/impersonation/component.scss +58 -0
- package/src/components/impersonation/exports.scss +4 -0
- package/src/components/impersonation/index.scss +22 -0
- package/src/components/impersonation/mods.scss +0 -0
- package/src/components/impersonation/states.scss +18 -0
- package/src/components/impersonation/vars.scss +10 -0
- package/src/components/index.scss +2 -0
- package/src/components/indexTable/component.scss +4 -0
- package/src/components/link/component.scss +3 -0
- package/src/components/link/index.scss +9 -0
- package/src/components/link/mods.scss +4 -0
- package/src/components/link/vars.scss +1 -0
- package/src/components/listing/component.scss +2 -2
- package/src/components/mobilePush/component.scss +1 -1
- package/src/components/multiSelect/component.scss +11 -0
- package/src/components/multiSelect/index.scss +8 -2
- package/src/components/multiSelect/mods.scss +2 -0
- package/src/components/multiSelect/states.scss +10 -2
- package/src/components/multiSelect/vars.scss +1 -0
- package/src/components/numericBadge/component.scss +0 -2
- package/src/components/numericBadge/mods.scss +0 -12
- package/src/components/numericBadge/vars.scss +0 -4
- package/src/components/popover/component.scss +10 -0
- package/src/components/popover/vars.scss +2 -0
- package/src/components/presentation/component.scss +1 -0
- package/src/components/radio/states.scss +3 -3
- package/src/components/radioField/states.scss +3 -3
- package/src/components/richText/vars.scss +1 -1
- package/src/components/scrollBox/component.scss +2 -0
- package/src/components/section/index.scss +1 -3
- package/src/components/simpleSelect/index.scss +1 -0
- package/src/components/skeleton/component.scss +30 -0
- package/src/components/skeleton/mods.scss +2 -2
- package/src/components/skeleton/states.scss +3 -3
- package/src/components/skeleton/vars.scss +2 -2
- package/src/components/skipLinks/component.scss +9 -0
- package/src/components/statusBadge/component.scss +1 -1
- package/src/components/tableStickedDeprecated/mods.scss +3 -3
- package/src/components/tag/component.scss +6 -0
- package/src/components/tag/index.scss +5 -0
- package/src/components/tag/mods.scss +9 -1
- package/src/components/tag/vars.scss +1 -0
- package/src/components/textField/component.scss +16 -0
- package/src/components/textField/index.scss +12 -0
- package/src/components/textField/mods.scss +23 -0
- package/src/components/textField/states.scss +6 -0
- package/src/components/textFlow/component.scss +2 -0
- package/src/components/timepicker/component.scss +32 -8
- package/src/components/timepicker/mods.scss +24 -3
- package/src/components/timepicker/vars.scss +6 -3
- package/src/components/toast/component.scss +1 -0
- package/src/components/userPopover/component.scss +1 -1
|
@@ -195,9 +195,9 @@
|
|
|
195
195
|
color: var(--palettes-neutral-700);
|
|
196
196
|
|
|
197
197
|
&::before {
|
|
198
|
-
background-color: var(--
|
|
198
|
+
background-color: var(--components-calendar-table-body-row-cellSelectedBeforeBackgroundColor);
|
|
199
199
|
position: absolute;
|
|
200
|
-
inset: var(--
|
|
200
|
+
inset: var(--components-calendar-table-body-row-cellSelectedBeforeInset);
|
|
201
201
|
content: var(--components-calendar-table-body-row-cellSelectedBeforeContent);
|
|
202
202
|
border-radius: var(--components-calendar-table-body-row-cellSelectedBeforeBorderRadius);
|
|
203
203
|
}
|
|
@@ -217,7 +217,8 @@
|
|
|
217
217
|
display: var(--components-calendar-table-body-row-cell-actionDisplay);
|
|
218
218
|
block-size: 100%;
|
|
219
219
|
text-transform: lowercase;
|
|
220
|
-
|
|
220
|
+
place-items: center;
|
|
221
|
+
cursor: default;
|
|
221
222
|
|
|
222
223
|
/* autoprefixer: off */
|
|
223
224
|
text-decoration: var(--components-calendar-table-body-row-cell-actionTextDecoration);
|
|
@@ -225,31 +226,43 @@
|
|
|
225
226
|
0 0 0 1px var(--components-calendar-table-body-row-cell-actionHighlight),
|
|
226
227
|
0 0 0 1px var(--components-calendar-table-body-row-cell-actionHighlight) inset;
|
|
227
228
|
|
|
228
|
-
&:not(
|
|
229
|
-
|
|
230
|
-
@include a11y.focusVisible;
|
|
229
|
+
&:not(.mod-week) {
|
|
230
|
+
cursor: var(--components-calendar-table-body-row-cell-actionCursor);
|
|
231
231
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
232
|
+
&:not(:disabled, [aria-disabled='true']) {
|
|
233
|
+
&:hover {
|
|
234
|
+
@include a11y.focusVisible($offset: var(--components-calendar-table-body-row-cell-actionOutlineOffset), $color: var(--palettes-700, var(--palettes-product-700)), $width: var(--components-calendar-table-body-row-cell-actionOutlineWidth));
|
|
235
|
+
}
|
|
236
236
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
&:active {
|
|
238
|
+
outline: 2px solid var(--palettes-800, var(--palettes-product-800));
|
|
239
|
+
background-color: var(--palettes-800, var(--palettes-product-800));
|
|
240
|
+
color: var(--palettes-0, var(--palettes-product-0));
|
|
241
|
+
}
|
|
241
242
|
}
|
|
242
|
-
}
|
|
243
243
|
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
&:focus-visible {
|
|
245
|
+
&:not(:has(.calendar-table-body-row-cell-action-week)) {
|
|
246
|
+
@include a11y.focusVisible($offset: var(--components-calendar-table-body-row-cell-actionOutlineOffset), $color: var(--palettes-700, var(--palettes-product-700)), $width: var(--components-calendar-table-body-row-cell-actionOutlineWidth));
|
|
247
|
+
}
|
|
246
248
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
249
|
+
&:has(.calendar-table-body-row-cell-action-week) {
|
|
250
|
+
outline: none;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
250
253
|
}
|
|
251
254
|
}
|
|
252
255
|
|
|
256
|
+
.calendar-table-body-row-cell-action-week {
|
|
257
|
+
outline: 1px solid var(--components-calendar-table-body-row-cell-action-week-outlineColor);
|
|
258
|
+
line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
259
|
+
border-radius: var(--pr-t-border-radius-small);
|
|
260
|
+
min-inline-size: calc(var(--pr-t-spacings-250) + var(--pr-t-spacings-25));
|
|
261
|
+
aspect-ratio: 1;
|
|
262
|
+
display: grid;
|
|
263
|
+
place-items: center;
|
|
264
|
+
}
|
|
265
|
+
|
|
253
266
|
.calendar-table-body-row-cell-action-stripes {
|
|
254
267
|
position: absolute;
|
|
255
268
|
inset-block-start: 0;
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
&.mod-daysOverflowingHidden {
|
|
15
15
|
@include daysOverflowingHidden;
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
&:has(.calendar-table-body-row-cell-action-week) {
|
|
19
|
+
@include week;
|
|
20
|
+
}
|
|
17
21
|
}
|
|
18
22
|
}
|
|
19
23
|
|
|
@@ -28,6 +32,50 @@
|
|
|
28
32
|
&:has(.calendar-table-body-row-cell:nth-child(3):last-child) {
|
|
29
33
|
@include third;
|
|
30
34
|
}
|
|
35
|
+
|
|
36
|
+
// if rows have height columns (display for weeks)
|
|
37
|
+
&:has(.calendar-table-body-row-cell:nth-child(8):last-child) {
|
|
38
|
+
@include week;
|
|
39
|
+
|
|
40
|
+
.calendar-table-body-row-cell {
|
|
41
|
+
&.is-selected {
|
|
42
|
+
@include selected;
|
|
43
|
+
@include weekSelected;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.calendar-table-body-row {
|
|
48
|
+
&:has(.calendar-table-body-row-cell-action:focus-visible) {
|
|
49
|
+
@include weekFocusVisible;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.calendar-table-body-row {
|
|
54
|
+
&:not(:has(.calendar-table-body-row-cell.is-selected), :has(.calendar-table-body-row-cell:nth-child(7):empty)) {
|
|
55
|
+
&:hover {
|
|
56
|
+
@include weekHover;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:active {
|
|
60
|
+
@include weekActive;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:has(.calendar-table-body-row-cell.is-selected) {
|
|
65
|
+
&:hover {
|
|
66
|
+
@include weekSelectedHover;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:active {
|
|
70
|
+
@include weekSelectedActive;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:has(.calendar-table-body-row-cell-action:focus-visible) {
|
|
74
|
+
@include weekSelectedFocusVisible;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
31
79
|
}
|
|
32
80
|
}
|
|
33
81
|
|
|
@@ -17,3 +17,9 @@
|
|
|
17
17
|
@mixin third {
|
|
18
18
|
--components-calendarBorderSpacing: 0 var(--pr-t-spacings-200);
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
@mixin week {
|
|
22
|
+
--components-calendarWrapperWidth: 19.5rem;
|
|
23
|
+
--components-calendar-table-body-row-cellSelectedBeforeBackgroundColor: var(--palettes-700, var(--palettes-product-700));
|
|
24
|
+
--components-calendar-table-body-row-cellSelectedBeforeInset: 1px 0;
|
|
25
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
|
+
|
|
1
3
|
@mixin daysOff {
|
|
2
4
|
.calendar-table-body-row-cell-action {
|
|
3
5
|
&:not(:disabled, [aria-disabled='true']) {
|
|
@@ -44,6 +46,10 @@
|
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
@mixin extremity {
|
|
49
|
+
.calendar-table-body-row-cell-action-week {
|
|
50
|
+
--components-calendar-table-body-row-cell-action-week-outlineColor: var(--palettes-neutral-0);
|
|
51
|
+
}
|
|
52
|
+
|
|
47
53
|
.calendar-table-body-row-cell-action {
|
|
48
54
|
--components-calendar-table-body-row-cell-actionColor: var(--palettes-0, var(--palettes-product-0));
|
|
49
55
|
--components-calendar-table-body-row-cell-actionHighlight: var(--palettes-700, var(--palettes-product-700));
|
|
@@ -174,3 +180,74 @@
|
|
|
174
180
|
--components-calendar-table-body-row-cell-actionTextDecoration: line-through;
|
|
175
181
|
--components-calendar-table-body-row-cell-actionCursor: default;
|
|
176
182
|
}
|
|
183
|
+
|
|
184
|
+
@mixin weekFocusVisible {
|
|
185
|
+
@include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-structure), $offset: -2px);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@mixin weekSelectedFocusVisible {
|
|
189
|
+
@include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-default), $offset: -0);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@mixin weekSelected {
|
|
193
|
+
.calendar-table-body-row-cell-action {
|
|
194
|
+
--components-calendar-table-body-row-cell-actionColor: var(--palettes-0, var(--palettes-product-0));
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@mixin weekSelectedHover {
|
|
199
|
+
--components-calendar-table-body-row-cellSelectedBeforeBackgroundColor: var(--palettes-600, var(--palettes-product-600));
|
|
200
|
+
|
|
201
|
+
.calendar-table-body-row-cell-action {
|
|
202
|
+
--components-calendar-table-body-row-cell-actionHighlight: var(--components-calendar-table-body-row-cellSelectedBeforeBackgroundColor);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&,
|
|
206
|
+
.calendar-table-body-row-cell-action {
|
|
207
|
+
cursor: pointer;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@mixin weekSelectedActive {
|
|
212
|
+
--components-calendar-table-body-row-cellSelectedBeforeBackgroundColor: var(--palettes-800, var(--palettes-product-800));
|
|
213
|
+
|
|
214
|
+
.calendar-table-body-row-cell-action {
|
|
215
|
+
--components-calendar-table-body-row-cell-action-stripesColor: var(--palettes-900, var(--palettes-product-900));
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@mixin weekHover {
|
|
220
|
+
@include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-structure), $offset: -2px);
|
|
221
|
+
|
|
222
|
+
&,
|
|
223
|
+
.calendar-table-body-row-cell-action {
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.calendar-table-body-row-cell-action {
|
|
228
|
+
outline: none;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@mixin weekActive {
|
|
233
|
+
.calendar-table-body-row-cell {
|
|
234
|
+
@include selected;
|
|
235
|
+
|
|
236
|
+
&:first-child {
|
|
237
|
+
@include start;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&:last-child {
|
|
241
|
+
@include end;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.calendar-table-body-row-cell-action {
|
|
246
|
+
--components-calendar-table-body-row-cell-actionColor: var(--palettes-0, var(--palettes-product-0));
|
|
247
|
+
--components-calendar-table-body-row-cell-actionHighlight: var(--components-calendar-table-body-row-cellSelectedBeforeBackgroundColor) !important;
|
|
248
|
+
--components-calendar-table-body-row-cell-action-stripesColor: var(--palettes-900, var(--palettes-product-900)) !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@include weekSelected;
|
|
252
|
+
@include weekSelectedActive;
|
|
253
|
+
}
|
|
@@ -15,9 +15,12 @@
|
|
|
15
15
|
--components-calendar-table-body-row-cell-actionTextDecoration: none;
|
|
16
16
|
--components-calendar-table-body-row-cellSelectedBeforeContent: none;
|
|
17
17
|
--components-calendar-table-body-row-cellSelectedBeforeBorderRadius: 0;
|
|
18
|
-
--components-calendar-table-body-row-
|
|
18
|
+
--components-calendar-table-body-row-cellSelectedBeforeBackgroundColor: var(--palettes-50, var(--palettes-product-50));
|
|
19
|
+
--components-calendar-table-body-row-cellSelectedBeforeInset: var(--pr-t-spacings-25) 0;
|
|
20
|
+
--components-calendar-table-body-row-cell-actionDisplay: grid;
|
|
19
21
|
--components-calendar-table-body-row-cell-action-stripesDisplay: block;
|
|
20
22
|
--components-calendarBackground: var(--components-calendarWrapperBackground, var(--palettes-neutral-0));
|
|
21
23
|
--components-calendarWidth: var(--components-calendarWrapperWidth, 17.25rem);
|
|
22
24
|
--components-calendarBorderSpacing: 0;
|
|
25
|
+
--components-calendar-table-body-row-cell-action-week-outlineColor: var(--palettes-neutral-200);
|
|
23
26
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
--components-callout-boxShadow: var(--pr-t-elevation-shadow-button);
|
|
35
35
|
--components-callout-backgroundColor: var(--pr-t-elevation-surface-raised);
|
|
36
36
|
|
|
37
|
-
@include color.borderGradient(
|
|
37
|
+
@include color.borderGradient($gradient: var(--pr-t-color-border-ai));
|
|
38
38
|
|
|
39
39
|
.callout-icon {
|
|
40
40
|
.lucca-icon {
|
|
@@ -92,11 +92,16 @@
|
|
|
92
92
|
|
|
93
93
|
&:first-child {
|
|
94
94
|
inline-size: var(--components-dataTable-cellFirst-width);
|
|
95
|
+
inset-inline-start: 0;
|
|
95
96
|
|
|
96
97
|
.checkboxField {
|
|
97
98
|
--component-checkboxField-top: 0;
|
|
98
99
|
}
|
|
99
100
|
}
|
|
101
|
+
|
|
102
|
+
&:last-child {
|
|
103
|
+
inset-inline-end: 0;
|
|
104
|
+
}
|
|
100
105
|
}
|
|
101
106
|
|
|
102
107
|
.dataTable-body-row-cell,
|
|
@@ -131,7 +136,7 @@
|
|
|
131
136
|
|
|
132
137
|
.dataTable-body-row-cell-expand-button.button {
|
|
133
138
|
vertical-align: top;
|
|
134
|
-
margin-
|
|
139
|
+
margin-inline-start: calc(var(--pr-t-spacings-25) * -1);
|
|
135
140
|
|
|
136
141
|
.lucca-icon {
|
|
137
142
|
transform: rotate(var(--components-dataTable-expand-rotation));
|
|
@@ -108,6 +108,10 @@
|
|
|
108
108
|
--components-dataTable-cell-paddingInlineStart: var(--pr-t-spacings-50);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
@mixin cellBorderEditable {
|
|
112
|
+
--components-dataTable-cell-paddingInlineStart: var(--pr-t-spacings-100);
|
|
113
|
+
}
|
|
114
|
+
|
|
111
115
|
@mixin actions {
|
|
112
116
|
padding-block: 0;
|
|
113
117
|
padding-inline: var(--pr-t-spacings-50);
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
--components-dateField-maxWidth: var(--components-dateField-maxWidthDay);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
@mixin week {
|
|
6
|
+
--components-dateField-maxWidth: var(--components-dateField-maxWidthWeek);
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
@mixin month {
|
|
6
10
|
--components-dateField-maxWidth: var(--components-dateField-maxWidthMonth);
|
|
7
11
|
}
|
|
@@ -14,6 +18,10 @@
|
|
|
14
18
|
--components-dateField-maxWidth: var(--components-dateField-maxWidthDayS);
|
|
15
19
|
}
|
|
16
20
|
|
|
21
|
+
@mixin weekS {
|
|
22
|
+
--components-dateField-maxWidth: var(--components-dateField-maxWidthWeekS);
|
|
23
|
+
}
|
|
24
|
+
|
|
17
25
|
@mixin monthS {
|
|
18
26
|
--components-dateField-maxWidth: var(--components-dateField-maxWidthMonthS);
|
|
19
27
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-dateField-maxWidth: auto;
|
|
3
3
|
--components-dateField-maxWidthDay: 10rem;
|
|
4
|
+
--components-dateField-maxWidthWeek: var(--components-dateField-maxWidthDay);
|
|
4
5
|
--components-dateField-maxWidthMonth: var(--components-dateField-maxWidthDay);
|
|
5
6
|
--components-dateField-maxWidthYear: var(--components-dateField-maxWidthDay);
|
|
6
7
|
|
|
7
8
|
--components-dateField-maxWidthDayS: 9rem;
|
|
9
|
+
--components-dateField-maxWidthWeekS: var(--components-dateField-maxWidthDayS);
|
|
8
10
|
--components-dateField-maxWidthMonthS: var(--components-dateField-maxWidthDayS);
|
|
9
11
|
--components-dateField-maxWidthYearS: var(--components-dateField-maxWidthDayS);
|
|
10
12
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
@at-root ($atRoot) {
|
|
36
36
|
.dialog-inside {
|
|
37
|
-
&:has(.dialog-inside-formOptional, .dialog-formOptional, .dialog-form) {
|
|
37
|
+
&:has(> .dialog-inside-formOptional, > .dialog-formOptional, > .dialog-form) {
|
|
38
38
|
display: contents;
|
|
39
39
|
|
|
40
40
|
.dialog-formOptional, // stylelint-disable-line selector-disallowed-list -- .dialog-formOptional is deprecated
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
&:not(:has(.dialog-inside-formOptional, .dialog-formOptional, .dialog-form)) {
|
|
65
|
+
&:not(:has(> .dialog-inside-formOptional, > .dialog-formOptional, > .dialog-form)) {
|
|
66
66
|
display: grid;
|
|
67
67
|
grid-template-areas:
|
|
68
68
|
'header '
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.dialog-inside-header-actionOptional {
|
|
111
|
-
margin-
|
|
111
|
+
margin-inline-end: calc(var(--pr-t-spacings-100) * -1);
|
|
112
112
|
|
|
113
113
|
&:empty {
|
|
114
114
|
display: none;
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
|
|
118
118
|
.dialog-inside-footer {
|
|
119
119
|
grid-area: footer;
|
|
120
|
+
margin-block: var(--components-dialog-inside-footer-marginBlock);
|
|
120
121
|
|
|
121
122
|
&.footer {
|
|
122
123
|
@include footer.insideDialog;
|
|
@@ -125,6 +126,7 @@
|
|
|
125
126
|
|
|
126
127
|
.dialog-inside-header {
|
|
127
128
|
display: grid;
|
|
129
|
+
margin-block: var(--components-dialog-inside-header-marginBlock);
|
|
128
130
|
padding-block: var(--components-dialog-inside-header-paddingBlock);
|
|
129
131
|
padding-inline: var(--components-dialog-inside-header-paddingInline);
|
|
130
132
|
grid-template-areas: var(--components-dialog-insideHeaderAreas);
|
|
@@ -155,7 +157,8 @@
|
|
|
155
157
|
padding-block: var(--components-dialog-insideContent-paddingBlock);
|
|
156
158
|
padding-inline: var(--components-dialog-insideContent-paddingInline);
|
|
157
159
|
grid-area: overflow;
|
|
158
|
-
overflow:
|
|
160
|
+
overflow: var(--components-dialog-insideContent-overflow);
|
|
161
|
+
display: block;
|
|
159
162
|
outline: none;
|
|
160
163
|
}
|
|
161
164
|
|
|
@@ -37,8 +37,10 @@
|
|
|
37
37
|
@include XXL;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
// neutralBackground is deprecated
|
|
41
|
+
&.mod-neutralBackground,
|
|
42
|
+
&.mod-surfaceDefault {
|
|
43
|
+
@include surfaceDefault;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
&:where(.mod-drawer) {
|
|
@@ -62,6 +64,10 @@
|
|
|
62
64
|
@include withAction;
|
|
63
65
|
}
|
|
64
66
|
|
|
67
|
+
&:has(.horizontalNavigation) {
|
|
68
|
+
@include withHorizontalNavigation;
|
|
69
|
+
}
|
|
70
|
+
|
|
65
71
|
&.mod-fancy {
|
|
66
72
|
@include fancy;
|
|
67
73
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
--components-dialog-inset: 0;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
@mixin
|
|
78
|
+
@mixin surfaceDefault {
|
|
79
79
|
--components-dialog-insideContent-background: var(--pr-t-elevation-surface-default);
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -109,16 +109,18 @@
|
|
|
109
109
|
--components-dialog-inside-header-button-position: absolute;
|
|
110
110
|
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-100);
|
|
111
111
|
--components-dialog-inside-header-button-insetInlineEnd: var(--pr-t-spacings-100);
|
|
112
|
-
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-50)
|
|
112
|
+
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-50) 0;
|
|
113
113
|
--components-dialog-inside-header-paddingInline: var(--pr-t-spacings-700) var(--pr-t-spacings-400);
|
|
114
114
|
--components-dialog-insideContent-paddingInline: var(--pr-t-spacings-700) var(--pr-t-spacings-400);
|
|
115
|
+
--components-dialog-inside-header-marginBlock: var(--pr-t-spacings-500) 0;
|
|
116
|
+
--components-dialog-inside-footer-marginBlock: 0 var(--pr-t-spacings-500);
|
|
115
117
|
|
|
116
118
|
.dialog-inside-footer {
|
|
117
119
|
--components-footer-actions-margin: 0;
|
|
118
120
|
--components-footer-boxShadow: none;
|
|
119
|
-
--components-footer-paddingBlock: 0 var(--pr-t-spacings-150);
|
|
120
121
|
--components-footer-overflow: visible;
|
|
121
122
|
--components-footer-paddingInline: var(--pr-t-spacings-700) var(--pr-t-spacings-400);
|
|
123
|
+
--components-footer-paddingBlock: var(--pr-t-spacings-300) var(--pr-t-spacings-150);
|
|
122
124
|
}
|
|
123
125
|
|
|
124
126
|
.dialog-inside-header {
|
|
@@ -150,3 +152,9 @@
|
|
|
150
152
|
--components-footer-paddingInline: var(--pr-t-spacings-150);
|
|
151
153
|
}
|
|
152
154
|
}
|
|
155
|
+
|
|
156
|
+
@mixin withHorizontalNavigation {
|
|
157
|
+
--components-dialog-insideContent-overflow: none;
|
|
158
|
+
--components-dialog-inside-header-boxShadow: none;
|
|
159
|
+
--components-dialog-inside-header-paddingBlock: var(--pr-t-spacings-200) 0;
|
|
160
|
+
}
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
--components-dialog-insideContent-background: transparent;
|
|
20
20
|
--components-dialog-insideContent-paddingInline: var(--pr-t-spacings-300);
|
|
21
21
|
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-200);
|
|
22
|
+
--components-dialog-insideContent-overflow: auto;
|
|
22
23
|
--components-dialog-level: 0;
|
|
23
24
|
--components-dialog-translate-spacing: var(--pr-t-spacings-500);
|
|
24
25
|
--components-dialog-translate: calc(var(--components-dialog-translate-spacing) * var(--components-dialog-level) * -1);
|
|
@@ -38,4 +39,6 @@
|
|
|
38
39
|
--components-dialog-inside-fancyIllustrations-inlineSize: var(--components-dialog-inside-paddingInlineEnd);
|
|
39
40
|
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-200);
|
|
40
41
|
--components-dialog-inside-header-button-insetInlineEnd: var(--pr-t-spacings-300);
|
|
42
|
+
--components-dialog-inside-header-marginBlock: 0px;
|
|
43
|
+
--components-dialog-inside-footer-marginBlock: 0px;
|
|
41
44
|
}
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
@mixin horizontal {
|
|
9
9
|
grid-template-columns: 1fr auto;
|
|
10
|
+
|
|
11
|
+
--components-form-maxWidth: initial;
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
@mixin expandable {
|
|
@@ -33,3 +35,11 @@
|
|
|
33
35
|
@mixin narrow {
|
|
34
36
|
--components-fieldset-title-content-flexWrap: wrap;
|
|
35
37
|
}
|
|
38
|
+
|
|
39
|
+
@mixin hiddenLegend {
|
|
40
|
+
--components-fieldset-gap: 0;
|
|
41
|
+
|
|
42
|
+
.fieldset-title-content-text {
|
|
43
|
+
@include a11y.mask;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-fieldset-title: var(--pr-t-font-heading-3);
|
|
3
3
|
--components-fieldset-gap: var(--pr-t-spacings-100);
|
|
4
|
-
--components-fieldset-contentMaxWidth:
|
|
4
|
+
--components-fieldset-contentMaxWidth: var(--components-form-maxWidth, 50rem);
|
|
5
5
|
--components-fieldset-title-iconRotation: 0deg;
|
|
6
6
|
--components-fieldset-title-content-flexWrap: nowrap;
|
|
7
7
|
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.form-field:has(.fileUpload) + & {
|
|
51
|
-
margin-
|
|
51
|
+
margin-block-start: var(--pr-t-spacings-100);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
.fileEntry_box.box {
|
|
183
|
-
margin-
|
|
183
|
+
margin-block-start: var(--pr-t-spacings-150);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.fileEntry_box-field {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
.fileUpload-instruction-action {
|
|
74
74
|
display: block;
|
|
75
|
-
margin-
|
|
75
|
+
margin-block-end: var(--fileUpload-instruction-action-marginBottom);
|
|
76
76
|
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
77
77
|
|
|
78
78
|
span {
|