@lucca-front/scss 21.1.2 → 21.2.0-rc.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/lucca-front.min.css +1 -1
- package/package.json +3 -3
- package/src/commons/base.scss +25 -1
- package/src/commons/config.scss +30 -21
- package/src/commons/index.scss +2 -2
- package/src/commons/utils/a11y.scss +1 -1
- package/src/commons/utils/highlight-prisme.scss +4 -1
- package/src/commons/utils/index.scss +7 -8
- package/src/commons/utils/media.scss +9 -9
- package/src/commons/utils/namespace.scss +1 -0
- package/src/commons/utils/overflow.scss +2 -3
- package/src/commons/utils/reset.scss +0 -1
- package/src/commons/vars.scss +24 -10
- package/src/components/activityFeed/component.scss +76 -0
- package/src/components/activityFeed/exports.scss +4 -0
- package/src/components/activityFeed/index.scss +29 -0
- package/src/components/activityFeed/mods.scss +0 -0
- package/src/components/activityFeed/states.scss +7 -0
- package/src/components/activityFeed/vars.scss +4 -0
- package/src/components/appLayout/component.scss +0 -1
- package/src/components/appLayout/mods.scss +8 -8
- package/src/components/appLayout/vars.scss +5 -5
- package/src/components/avatar/mods.scss +0 -1
- package/src/components/breadcrumbs/component.scss +2 -1
- package/src/components/breadcrumbs/index.scss +3 -2
- package/src/components/breadcrumbs/mods.scss +2 -1
- package/src/components/bubbleIcon/index.scss +0 -2
- package/src/components/bubbleIllustration/component.scss +0 -1
- package/src/components/bubbleIllustration/states.scss +0 -1
- package/src/components/button/index.scss +19 -18
- package/src/components/button/mods.scss +24 -6
- package/src/components/button/states.scss +3 -1
- package/src/components/calendar/component.scss +4 -5
- package/src/components/calendar/index.scss +0 -1
- package/src/components/callout/index.scss +0 -1
- package/src/components/calloutAccordion/states.scss +3 -3
- package/src/components/calloutDisclosure/mods.scss +1 -1
- package/src/components/calloutDisclosure/states.scss +3 -3
- package/src/components/calloutDisclosure/vars.scss +2 -2
- package/src/components/calloutFeedbackList/vars.scss +2 -2
- package/src/components/calloutPopover/component.scss +0 -1
- package/src/components/checkboxField/component.scss +1 -1
- package/src/components/checkboxField/mods.scss +4 -3
- package/src/components/checkboxField/states.scss +0 -1
- package/src/components/color/component.scss +1 -1
- package/src/components/color/index.scss +2 -2
- package/src/components/color/states.scss +1 -1
- package/src/components/color/vars.scss +1 -1
- package/src/components/comment/component.scss +4 -1
- package/src/components/comment/index.scss +4 -2
- package/src/components/comment/mods.scss +4 -1
- package/src/components/dataTable/index.scss +1 -1
- package/src/components/dataTable/mods.scss +6 -4
- package/src/components/dataTableSticked/mods.scss +3 -1
- package/src/components/dialog/component.scss +48 -17
- package/src/components/dialog/index.scss +12 -3
- package/src/components/dialog/mods.scss +46 -7
- package/src/components/dialog/vars.scss +16 -2
- package/src/components/dropdown/component.scss +9 -9
- package/src/components/dropdown/index.scss +6 -6
- package/src/components/emptyState/component.scss +21 -6
- package/src/components/emptyState/index.scss +15 -0
- package/src/components/emptyState/mods.scss +20 -2
- package/src/components/emptyState/vars.scss +16 -16
- package/src/components/fancyBox/vars.scss +3 -3
- package/src/components/field/mods.scss +6 -4
- package/src/components/fieldset/index.scss +0 -1
- package/src/components/filterBarDeprecated/component.scss +1 -0
- package/src/components/filterBarDeprecated/index.scss +1 -0
- package/src/components/filterPill/component.scss +1 -1
- package/src/components/footer/component.scss +4 -3
- package/src/components/footer/mods.scss +8 -0
- package/src/components/footer/vars.scss +4 -0
- package/src/components/form/index.scss +5 -8
- package/src/components/form/mods.scss +10 -11
- package/src/components/gauge/vars.scss +2 -3
- package/src/components/header/component.scss +1 -1
- package/src/components/header/mods.scss +5 -0
- package/src/components/header/vars.scss +1 -0
- package/src/components/highlightData/mods.scss +4 -3
- package/src/components/highlightData/vars.scss +4 -3
- package/src/components/horizontalNavigation/component.scss +14 -16
- package/src/components/horizontalNavigation/index.scss +14 -18
- package/src/components/horizontalNavigation/mods.scss +30 -28
- package/src/components/horizontalNavigation/states.scss +4 -4
- package/src/components/horizontalNavigation/vars.scss +2 -1
- package/src/components/index.scss +1 -1
- package/src/components/indexTable/component.scss +21 -10
- package/src/components/indexTable/mods.scss +21 -13
- package/src/components/indexTable/states.scss +3 -3
- package/src/components/indexTable/vars.scss +4 -3
- package/src/components/inputFramed/index.scss +1 -1
- package/src/components/inputFramed/states.scss +0 -1
- package/src/components/label/index.scss +1 -0
- package/src/components/layout/component.scss +6 -6
- package/src/components/layout/mods.scss +2 -2
- package/src/components/link/component.scss +30 -6
- package/src/components/link/index.scss +16 -4
- package/src/components/link/mods.scss +11 -54
- package/src/components/link/states.scss +10 -2
- package/src/components/link/vars.scss +6 -0
- package/src/components/listboxOption/index.scss +15 -15
- package/src/components/listboxOption/mods.scss +3 -4
- package/src/components/listboxOption/states.scss +12 -13
- package/src/components/listing/component.scss +24 -1
- package/src/components/listing/index.scss +4 -0
- package/src/components/listing/mods.scss +18 -7
- package/src/components/listing/vars.scss +5 -1
- package/src/components/mobilePush/component.scss +1 -1
- package/src/components/navside/index.scss +3 -0
- package/src/components/navside/states.scss +2 -1
- package/src/components/notchBox/component.scss +30 -26
- package/src/components/notchBox/mods.scss +119 -77
- package/src/components/numericBadge/component.scss +0 -1
- package/src/components/numericBadge/mods.scss +10 -0
- package/src/components/pageHeader/mods.scss +4 -4
- package/src/components/pagination/mods.scss +2 -2
- package/src/components/presentation/index.scss +0 -1
- package/src/components/progress/vars.scss +6 -5
- package/src/components/readMore/component.scss +6 -5
- package/src/components/resourceCard/mods.scss +20 -18
- package/src/components/resourceCard/states.scss +2 -3
- package/src/components/resourceCard/vars.scss +4 -3
- package/src/components/richText/index.scss +0 -1
- package/src/components/scrollBox/component.scss +4 -2
- package/src/components/segmentedControl/component.scss +4 -2
- package/src/components/segmentedControl/index.scss +1 -0
- package/src/components/segmentedControl/states.scss +0 -2
- package/src/components/skeleton/mods.scss +15 -8
- package/src/components/skeleton/states.scss +15 -21
- package/src/components/softwareIcon/component.scss +0 -1
- package/src/components/sortableList/index.scss +3 -3
- package/src/components/sortableList/vars.scss +4 -4
- package/src/components/statusBadge/component.scss +0 -1
- package/src/components/switch/states.scss +6 -3
- package/src/components/switchField/vars.scss +4 -4
- package/src/components/tableOfContent/component.scss +2 -1
- package/src/components/tableOfContent/index.scss +2 -1
- package/src/components/tableSortable/index.scss +1 -1
- package/src/components/tableSticked/mods.scss +16 -9
- package/src/components/tableStickedDeprecated/mods.scss +12 -6
- package/src/components/tag/component.scss +4 -0
- package/src/components/textField/component.scss +2 -0
- package/src/components/textField/mods.scss +0 -1
- package/src/components/textfields/index.scss +0 -1
- package/src/components/textfields/mods.scss +12 -7
- package/src/components/textfields/states.scss +6 -5
- package/src/components/timeline/mods.scss +35 -31
- package/src/components/timepicker/component.scss +1 -1
- package/src/components/timepickerDeprecated/vars.scss +3 -3
- package/src/components/title/mods.scss +2 -2
- package/src/components/titleSection/component.scss +2 -2
- package/src/components/toast/vars.scss +1 -1
- package/src/components/userTile/mods.scss +25 -25
- package/src/components/userTile/vars.scss +5 -5
- package/src/components/verticalNavigation/vars.scss +3 -3
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// .mod-outline is deprecated
|
|
45
|
-
&.mod-
|
|
46
|
-
&.mod-
|
|
45
|
+
&.mod-outline,
|
|
46
|
+
&.mod-outlined {
|
|
47
47
|
&:where(:not(.is-success, .is-error)) {
|
|
48
48
|
@include outlined;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// .mod-link .mod-text deprecated
|
|
53
|
-
&.mod-text,
|
|
54
53
|
&.mod-link,
|
|
54
|
+
&.mod-text,
|
|
55
55
|
&.mod-ghost {
|
|
56
56
|
&:where(:not(.is-success, .is-error)) {
|
|
57
57
|
@include ghost;
|
|
@@ -109,25 +109,26 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// .mod-delete is deprecated
|
|
112
|
-
&.mod-
|
|
112
|
+
&.mod-delete,
|
|
113
|
+
&.mod-critical {
|
|
113
114
|
@include critical;
|
|
114
115
|
|
|
115
116
|
// .mod-link is deprecated
|
|
116
|
-
&.mod-
|
|
117
|
-
&.mod-
|
|
117
|
+
&.mod-link,
|
|
118
|
+
&.mod-text {
|
|
118
119
|
@include criticalGhost;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
// .mod-outline is deprecated
|
|
122
|
-
&.mod-
|
|
123
|
-
&.mod-
|
|
123
|
+
&.mod-outline,
|
|
124
|
+
&.mod-outlined {
|
|
124
125
|
@include criticalOutlined;
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
// .mod-invert is deprecated
|
|
129
|
-
&.mod-
|
|
130
|
-
&.mod-
|
|
130
|
+
&.mod-invert,
|
|
131
|
+
&.mod-inverted {
|
|
131
132
|
@include inverted;
|
|
132
133
|
}
|
|
133
134
|
|
|
@@ -144,8 +145,8 @@
|
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
// .loading is deprecated
|
|
147
|
-
&.
|
|
148
|
-
&.loading {
|
|
148
|
+
&.loading,
|
|
149
|
+
&.is-loading {
|
|
149
150
|
@include loading;
|
|
150
151
|
|
|
151
152
|
&.mod-S {
|
|
@@ -166,14 +167,14 @@
|
|
|
166
167
|
}
|
|
167
168
|
|
|
168
169
|
// .error is deprecated
|
|
169
|
-
&.
|
|
170
|
-
&.error {
|
|
170
|
+
&.error,
|
|
171
|
+
&.is-error {
|
|
171
172
|
@include error;
|
|
172
173
|
}
|
|
173
174
|
|
|
174
175
|
// .success is deprecated
|
|
175
|
-
&.
|
|
176
|
-
&.success {
|
|
176
|
+
&.success,
|
|
177
|
+
&.is-success {
|
|
177
178
|
@include success;
|
|
178
179
|
|
|
179
180
|
&.mod-AI,
|
|
@@ -195,9 +196,9 @@
|
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
// .disabled is deprecated
|
|
198
|
-
&.is-disabled,
|
|
199
199
|
&.disabled,
|
|
200
|
-
|
|
200
|
+
&.is-disabled,
|
|
201
|
+
&[aria-disabled='true'] {
|
|
201
202
|
@include disabled;
|
|
202
203
|
}
|
|
203
204
|
}
|
|
@@ -4,6 +4,23 @@
|
|
|
4
4
|
@use '@lucca-front/scss/src/commons/utils/color';
|
|
5
5
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
6
6
|
|
|
7
|
+
@mixin M {
|
|
8
|
+
@include icons.M;
|
|
9
|
+
|
|
10
|
+
--components-button-font: var(--pr-t-font-body-M);
|
|
11
|
+
--components-button-paddingBlock: var(--pr-t-spacings-100);
|
|
12
|
+
--components-button-paddingInline: var(--pr-t-spacings-150);
|
|
13
|
+
--components-button-gap: var(--pr-t-spacings-100);
|
|
14
|
+
|
|
15
|
+
.numericBadge {
|
|
16
|
+
@include numericBadge.M;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Deprecated
|
|
20
|
+
--components-button-font-size: var(--pr-t-font-body-M-fontSize);
|
|
21
|
+
--components-button-line-height: var(--pr-t-font-body-M-lineHeight);
|
|
22
|
+
}
|
|
23
|
+
|
|
7
24
|
@mixin S {
|
|
8
25
|
@include icons.S;
|
|
9
26
|
|
|
@@ -63,7 +80,7 @@
|
|
|
63
80
|
&:hover {
|
|
64
81
|
--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-300, var(--palettes-neutral-300));
|
|
65
82
|
--components-button-color: var(--palettes-700, var(--palettes-neutral-700));
|
|
66
|
-
--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))
|
|
83
|
+
--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50));
|
|
67
84
|
}
|
|
68
85
|
|
|
69
86
|
&:active {
|
|
@@ -263,11 +280,12 @@
|
|
|
263
280
|
--components-button-backgroundColor: transparent;
|
|
264
281
|
--components-button-color: var(--palettes-neutral-0);
|
|
265
282
|
|
|
266
|
-
background-image:
|
|
267
|
-
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
283
|
+
background-image:
|
|
284
|
+
linear-gradient(
|
|
285
|
+
-135deg,
|
|
286
|
+
color-mix(in srgb, var(--palettes-AI-500) var(--components-button-AI-background-opacity), transparent),
|
|
287
|
+
color-mix(in srgb, var(--palettes-brand-400) var(--components-button-AI-background-opacity), transparent)
|
|
288
|
+
);
|
|
271
289
|
|
|
272
290
|
&:hover,
|
|
273
291
|
&:focus-visible {
|
|
@@ -41,9 +41,12 @@
|
|
|
41
41
|
@mixin loadingXS {
|
|
42
42
|
@include loading.spinner(var(--pr-t-font-body-XS-lineHeight));
|
|
43
43
|
|
|
44
|
+
// stylelint-disable block-no-redundant-nested-style-rules -- Prevent issues with mixed declarations.
|
|
45
|
+
// SEE: https://sass-lang.com/documentation/breaking-changes/mixed-decls/
|
|
44
46
|
& {
|
|
45
47
|
--commons-loading-borderWidth: 2px;
|
|
46
48
|
}
|
|
49
|
+
// stylelint-enable
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
@mixin loadingOutlined {
|
|
@@ -140,7 +143,6 @@
|
|
|
140
143
|
}
|
|
141
144
|
}
|
|
142
145
|
|
|
143
|
-
|
|
144
146
|
@mixin error {
|
|
145
147
|
animation-name: shake;
|
|
146
148
|
animation-iteration-count: 1;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/overflow';
|
|
3
4
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
4
5
|
@use '@lucca-front/scss/src/components/link/exports' as link;
|
|
5
6
|
|
|
@@ -82,12 +83,8 @@
|
|
|
82
83
|
overflow: auto;
|
|
83
84
|
scroll-behavior: smooth;
|
|
84
85
|
scroll-snap-type: x mandatory;
|
|
85
|
-
-ms-overflow-style: none;
|
|
86
|
-
scrollbar-width: none;
|
|
87
86
|
|
|
88
|
-
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
87
|
+
@include overflow.hide;
|
|
91
88
|
|
|
92
89
|
&:focus-visible {
|
|
93
90
|
@include a11y.focusVisible;
|
|
@@ -221,6 +218,8 @@
|
|
|
221
218
|
block-size: 100%;
|
|
222
219
|
text-transform: lowercase;
|
|
223
220
|
cursor: var(--components-calendar-table-body-row-cell-actionCursor);
|
|
221
|
+
|
|
222
|
+
/* autoprefixer: off */
|
|
224
223
|
text-decoration: var(--components-calendar-table-body-row-cell-actionTextDecoration);
|
|
225
224
|
box-shadow:
|
|
226
225
|
0 0 0 1px var(--components-calendar-table-body-row-cell-actionHighlight),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
@mixin S {
|
|
5
5
|
--components-calloutDisclosure-paddingHorizontal: var(--pr-t-spacings-100);
|
|
6
|
-
|
|
6
|
+
--components-calloutDisclosure-paddingVertical: var(--pr-t-spacings-75);
|
|
7
7
|
--components-calloutDisclosure-gap: var(--pr-t-spacings-100);
|
|
8
8
|
|
|
9
9
|
.calloutDisclosure-summary-title {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-calloutDisclosure-padding: var(--components-calloutDisclosure-paddingVertical) var(--components-calloutDisclosure-paddingHorizontal);
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
--components-calloutDisclosure-paddingHorizontal: var(--pr-t-spacings-150);
|
|
4
|
+
--components-calloutDisclosure-paddingVertical: var(--pr-t-spacings-100);
|
|
5
5
|
--components-calloutDisclosure-gap: var(--pr-t-spacings-150);
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
--components-calloutFeedbackList-font: var(--pr-t-font-body-M);
|
|
3
|
+
--components-calloutFeedbackList-gap: var(--pr-t-spacings-150);
|
|
4
4
|
|
|
5
5
|
// Deprecated
|
|
6
6
|
--components-calloutFeedbackList-fontSize: var(--pr-t-font-body-M-fontSize);
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@mixin checklist {
|
|
10
|
+
// stylelint-disable-next-line declaration-property-value-disallowed-list -- --commons-borderRadius-full is deprecated
|
|
10
11
|
--component-checkboxField-borderRadius: var(--commons-borderRadius-full);
|
|
11
12
|
--component-checkboxField-borderColor: var(--palettes-neutral-300);
|
|
12
13
|
--component-checkboxField-icon-color: var(--palettes-neutral-300);
|
|
@@ -18,15 +19,15 @@
|
|
|
18
19
|
|
|
19
20
|
@keyframes checklist-bounce {
|
|
20
21
|
0% {
|
|
21
|
-
|
|
22
|
+
transform: scale(1);
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
55% {
|
|
25
|
-
|
|
26
|
+
transform: scale(1.3);
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
100% {
|
|
29
|
-
|
|
30
|
+
transform: scale(1);
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
@include XL;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
[aria-selected=
|
|
22
|
+
[aria-selected='true'] & {
|
|
23
23
|
@include selected;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.optionItem.is-highlighted &,
|
|
27
|
-
[role=
|
|
27
|
+
[role='listbox'] .optionItem:hover & {
|
|
28
28
|
@include highlighted;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--components-color-value-inlineSize: var(--pr-t-spacings-250);
|
|
5
5
|
--components-color-value-boxShadowColor: transparent;
|
|
6
6
|
--components-color-value-backgroundColor: transparent;
|
|
7
|
-
--components-color-value-channel: clamp(0, (((r * .299) + (g * .587) + (b * .114)) - 128) * -1000, 255);
|
|
7
|
+
--components-color-value-channel: clamp(0, (((r * 0.299) + (g * 0.587) + (b * 0.114)) - 128) * -1000, 255);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@mixin varsPicker {
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
4
4
|
|
|
5
5
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
6
|
-
container: comment / inline-size;
|
|
7
6
|
display: flex;
|
|
8
7
|
flex-direction: column;
|
|
9
8
|
gap: var(--pr-t-spacings-50);
|
|
@@ -11,6 +10,10 @@
|
|
|
11
10
|
align-items: var(--components-comment-align);
|
|
12
11
|
margin-inline-start: var(--components-comment-margin);
|
|
13
12
|
|
|
13
|
+
&:has(.comment-infos) {
|
|
14
|
+
container: comment / inline-size;
|
|
15
|
+
}
|
|
16
|
+
|
|
14
17
|
.avatar {
|
|
15
18
|
@include avatar.XS;
|
|
16
19
|
}
|
|
@@ -45,7 +45,10 @@
|
|
|
45
45
|
--components-comment-background-color: var(--palettes-product-50);
|
|
46
46
|
--components-comment-align: end;
|
|
47
47
|
--components-comment-margin: auto;
|
|
48
|
-
--components-comment-border-radius:
|
|
48
|
+
--components-comment-border-radius:
|
|
49
|
+
var(--pr-t-border-radius-default)
|
|
50
|
+
var(--pr-t-border-radius-small)
|
|
51
|
+
var(--pr-t-border-radius-default)
|
|
49
52
|
var(--pr-t-border-radius-default);
|
|
50
53
|
}
|
|
51
54
|
|
|
@@ -95,10 +95,12 @@
|
|
|
95
95
|
@mixin tree {
|
|
96
96
|
@include buttonExpand;
|
|
97
97
|
|
|
98
|
-
--components-dataTable-cell-paddingInlineStart:
|
|
99
|
-
|
|
100
|
-
var(--components-dataTable-
|
|
101
|
-
|
|
98
|
+
--components-dataTable-cell-paddingInlineStart:
|
|
99
|
+
calc(
|
|
100
|
+
var(--components-dataTable-cell-padding-inline)
|
|
101
|
+
+ var(--pr-t-spacings-300) * calc(var(--components-dataTable-treeLevel) - 1)
|
|
102
|
+
+ var(--components-dataTable-tree-extraPadding)
|
|
103
|
+
);
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
@mixin editable {
|
|
@@ -163,7 +163,9 @@
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
&:last-child {
|
|
166
|
-
--components-dataTable-cell-shadow:
|
|
166
|
+
--components-dataTable-cell-shadow:
|
|
167
|
+
0 1px inset var(--commons-border-200),
|
|
168
|
+
1px 0 inset var(--commons-border-200),
|
|
167
169
|
1px 0 var(--palettes-neutral-0); // white shadow is for Chrome
|
|
168
170
|
}
|
|
169
171
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
inset: var(--components-dialog-inset);
|
|
11
11
|
inline-size: var(--components-dialog-width);
|
|
12
12
|
block-size: var(--components-dialog-height);
|
|
13
|
+
min-block-size: var(--components-dialog-minBlockSize);
|
|
13
14
|
background-color: var(--palettes-neutral-0);
|
|
14
15
|
border-radius: var(--components-dialog-borderRadius);
|
|
15
16
|
box-shadow: var(--pr-t-elevation-shadow-overlay);
|
|
@@ -36,15 +37,17 @@
|
|
|
36
37
|
&:has(.dialog-inside-formOptional, .dialog-formOptional, .dialog-form) {
|
|
37
38
|
display: contents;
|
|
38
39
|
|
|
39
|
-
.dialog-
|
|
40
|
-
.dialog-
|
|
41
|
-
.dialog-
|
|
40
|
+
.dialog-formOptional, // stylelint-disable-line selector-disallowed-list -- .dialog-formOptional is deprecated
|
|
41
|
+
.dialog-form, // stylelint-disable-line selector-disallowed-list -- .dialog-form is deprecated
|
|
42
|
+
.dialog-inside-formOptional {
|
|
43
|
+
padding-inline-end: var(--components-dialog-inside-paddingInlineEnd);
|
|
42
44
|
display: grid;
|
|
43
45
|
grid-template-areas:
|
|
44
|
-
'header'
|
|
46
|
+
'header '
|
|
45
47
|
'overflow'
|
|
46
|
-
'footer';
|
|
47
|
-
|
|
48
|
+
'footer ';
|
|
49
|
+
align-content: var(--components-dialog-inside-alignContent);
|
|
50
|
+
grid-template-rows: var(--components-dialog-inside-gridTemplateRows);
|
|
48
51
|
flex-grow: 1;
|
|
49
52
|
min-block-size: 0;
|
|
50
53
|
|
|
@@ -62,12 +65,14 @@
|
|
|
62
65
|
&:not(:has(.dialog-inside-formOptional, .dialog-formOptional, .dialog-form)) {
|
|
63
66
|
display: grid;
|
|
64
67
|
grid-template-areas:
|
|
65
|
-
'header'
|
|
68
|
+
'header '
|
|
66
69
|
'overflow'
|
|
67
|
-
'footer';
|
|
68
|
-
|
|
70
|
+
'footer ';
|
|
71
|
+
align-content: var(--components-dialog-inside-alignContent);
|
|
72
|
+
grid-template-rows: var(--components-dialog-inside-gridTemplateRows);
|
|
69
73
|
flex-grow: 1;
|
|
70
74
|
min-block-size: 0;
|
|
75
|
+
padding-inline-end: var(--components-dialog-inside-paddingInlineEnd);
|
|
71
76
|
|
|
72
77
|
&:has(.dialog-inside-content:focus-visible) {
|
|
73
78
|
&::after {
|
|
@@ -80,6 +85,28 @@
|
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
|
|
88
|
+
.dialog-inside-fancyIllustrations {
|
|
89
|
+
position: absolute;
|
|
90
|
+
inset-block-start: 0;
|
|
91
|
+
inset-inline-end: 0;
|
|
92
|
+
inline-size: var(--components-dialog-inside-fancyIllustrations-inlineSize);
|
|
93
|
+
display: flex;
|
|
94
|
+
|
|
95
|
+
// to target the SVG injected into the page
|
|
96
|
+
> * {
|
|
97
|
+
inline-size: 100%;
|
|
98
|
+
block-size: auto;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&::after {
|
|
102
|
+
content: '';
|
|
103
|
+
position: absolute;
|
|
104
|
+
inset: 0;
|
|
105
|
+
background-image: var(--components-dialog-inside-backgroundImage);
|
|
106
|
+
background-size: cover;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
83
110
|
.dialog-inside-header-actionOptional {
|
|
84
111
|
margin-right: calc(var(--pr-t-spacings-100) * -1);
|
|
85
112
|
|
|
@@ -92,28 +119,32 @@
|
|
|
92
119
|
grid-area: footer;
|
|
93
120
|
|
|
94
121
|
&.footer {
|
|
95
|
-
|
|
96
|
-
position: relative;
|
|
97
|
-
overflow: hidden;
|
|
122
|
+
@include footer.insideDialog;
|
|
98
123
|
}
|
|
99
124
|
}
|
|
100
125
|
|
|
101
126
|
.dialog-inside-header {
|
|
102
127
|
display: grid;
|
|
103
|
-
padding-block: var(--
|
|
104
|
-
padding-inline: var(--
|
|
128
|
+
padding-block: var(--components-dialog-inside-header-paddingBlock);
|
|
129
|
+
padding-inline: var(--components-dialog-inside-header-paddingInline);
|
|
105
130
|
grid-template-areas: var(--components-dialog-insideHeaderAreas);
|
|
106
131
|
grid-template-columns: var(--components-dialog-insideHeaderColumns);
|
|
107
|
-
box-shadow:
|
|
132
|
+
box-shadow: var(--components-dialog-inside-header-boxShadow);
|
|
108
133
|
gap: var(--pr-t-spacings-200);
|
|
109
|
-
position:
|
|
134
|
+
position: var(--components-dialog-inside-header-position);
|
|
110
135
|
z-index: 1;
|
|
111
136
|
grid-area: header;
|
|
112
137
|
}
|
|
113
138
|
|
|
139
|
+
.dialog-inside-header-button {
|
|
140
|
+
position: var(--components-dialog-inside-header-button-position);
|
|
141
|
+
inset-block-start: var(--components-dialog-inside-header-button-insetBlockStart);
|
|
142
|
+
inset-inline-end: var(--components-dialog-inside-header-button-insetBlockEnd);
|
|
143
|
+
}
|
|
144
|
+
|
|
114
145
|
.dialog-inside-content {
|
|
115
146
|
background-color: var(--components-dialog-insideContent-background);
|
|
116
|
-
padding-block: var(--
|
|
147
|
+
padding-block: var(--components-dialog-insideContent-paddingBlock);
|
|
117
148
|
padding-inline: var(--pr-t-spacings-300);
|
|
118
149
|
grid-area: overflow;
|
|
119
150
|
overflow: auto;
|
|
@@ -48,8 +48,9 @@
|
|
|
48
48
|
@include fromBottom;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
@include media.max('
|
|
51
|
+
@include media.max('S') {
|
|
52
52
|
@include fromBottom;
|
|
53
|
+
@include maxContent;
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
56
|
|
|
@@ -65,8 +66,16 @@
|
|
|
65
66
|
@include withAction;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
&.mod-
|
|
69
|
-
@include
|
|
69
|
+
&.mod-fancy {
|
|
70
|
+
@include fancy;
|
|
71
|
+
|
|
72
|
+
@include media.max('XS') {
|
|
73
|
+
@include fancySmall;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@include media.max('XXS') {
|
|
77
|
+
@include fancyNarrow;
|
|
78
|
+
}
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
81
|
}
|