@lucca-front/scss 22.0.0-rc.5 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lucca-front.min.css +1 -1
- package/package.json +3 -3
- package/src/commons/utils/highlight-prisme.scss +2 -0
- package/src/commons/utils/index.scss +1 -9
- package/src/commons/vars.scss +3 -2
- package/src/components/appLayout/vars.scss +1 -1
- package/src/components/approbationInbox/component.scss +457 -0
- package/src/components/approbationInbox/exports.scss +4 -0
- package/src/components/approbationInbox/index.scss +119 -0
- package/src/components/approbationInbox/mods.scss +78 -0
- package/src/components/approbationInbox/states.scss +20 -0
- package/src/components/approbationInbox/vars.scss +29 -0
- package/src/components/button/states.scss +6 -2
- package/src/components/calloutPopover/component.scss +1 -1
- package/src/components/color/component.scss +5 -4
- package/src/components/color/index.scss +3 -1
- package/src/components/color/mods.scss +1 -1
- package/src/components/comment/component.scss +10 -7
- package/src/components/comment/index.scss +4 -0
- package/src/components/comment/mods.scss +4 -0
- package/src/components/comment/vars.scss +1 -0
- package/src/components/container/mods.scss +1 -1
- package/src/components/dataTable/mods.scss +5 -0
- package/src/components/dateRangeField/mods.scss +1 -1
- package/src/components/dialog/component.scss +10 -1
- package/src/components/dialog/index.scss +18 -3
- package/src/components/dialog/mods.scss +28 -2
- package/src/components/dialog/vars.scss +5 -2
- package/src/components/divider/component.scss +1 -1
- package/src/components/divider/vars.scss +1 -0
- package/src/components/dropdown/component.scss +2 -2
- package/src/components/dropdown/states.scss +0 -1
- package/src/components/dropdown/vars.scss +1 -2
- package/src/components/emptyState/vars.scss +1 -1
- package/src/components/errorPage/component.scss +6 -6
- package/src/components/errorPage/index.scss +2 -2
- package/src/components/errorPage/mods.scss +1 -1
- package/src/components/fancyBox/component.scss +3 -3
- package/src/components/field/vars.scss +1 -1
- package/src/components/filterBar/component.scss +5 -1
- package/src/components/filterPill/component.scss +25 -8
- package/src/components/filterPill/index.scss +8 -0
- package/src/components/filterPill/states.scss +4 -1
- package/src/components/filterPill/vars.scss +4 -0
- package/src/components/footer/component.scss +5 -0
- package/src/components/form/vars.scss +1 -1
- package/src/components/grid/component.scss +1 -0
- package/src/components/highlightData/component.scss +1 -1
- package/src/components/highlightSection/component.scss +48 -0
- package/src/components/highlightSection/exports.scss +4 -0
- package/src/components/highlightSection/index.scss +23 -0
- package/src/components/highlightSection/mods.scss +14 -0
- package/src/components/highlightSection/states.scss +0 -0
- package/src/components/highlightSection/vars.scss +10 -0
- package/src/components/horizontalNavigation/component.scss +2 -1
- package/src/components/horizontalNavigation/mods.scss +1 -0
- package/src/components/horizontalNavigation/vars.scss +1 -0
- package/src/components/index.scss +2 -0
- package/src/components/indexTable/mods.scss +5 -0
- package/src/components/layout/component.scss +3 -3
- package/src/components/layout/states.scss +1 -1
- package/src/components/link/component.scss +1 -1
- package/src/components/listboxOption/component.scss +13 -2
- package/src/components/listboxOption/index.scss +46 -17
- package/src/components/listboxOption/mods.scss +0 -1
- package/src/components/listboxOption/states.scss +8 -7
- package/src/components/listboxOption/vars.scss +1 -1
- package/src/components/loading/mods.scss +2 -0
- package/src/components/main/states.scss +1 -1
- package/src/components/mainLayout/component.scss +50 -2
- package/src/components/mainLayout/index.scss +14 -2
- package/src/components/mainLayout/mods.scss +9 -0
- package/src/components/mainLayout/vars.scss +12 -0
- package/src/components/multiSelect/mods.scss +2 -2
- package/src/components/multiSelect/states.scss +1 -1
- package/src/components/navside/states.scss +2 -2
- package/src/components/popover/component.scss +2 -2
- package/src/components/progress/component.scss +1 -1
- package/src/components/readMore/component.scss +2 -0
- package/src/components/readMore/index.scss +4 -0
- package/src/components/readMore/mods.scss +4 -0
- package/src/components/readMore/vars.scss +1 -0
- package/src/components/resourceCard/component.scss +11 -1
- package/src/components/richText/vars.scss +1 -1
- package/src/components/segmentedControl/component.scss +12 -0
- package/src/components/simpleSelect/mods.scss +1 -1
- package/src/components/switchField/component.scss +1 -1
- package/src/components/textField/component.scss +21 -7
- package/src/components/textField/mods.scss +15 -0
- package/src/components/textField/vars.scss +3 -1
- package/src/components/toast/vars.scss +1 -1
- package/src/components/tooltip/component.scss +1 -1
- package/src/components/userPopover/component.scss +1 -1
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: var(--components-mainLayout-flexDirection);
|
|
9
9
|
block-size: 100%;
|
|
10
|
+
position: relative;
|
|
10
11
|
|
|
11
12
|
&:focus-visible {
|
|
12
|
-
position: relative;
|
|
13
|
-
|
|
14
13
|
&::after {
|
|
15
14
|
content: '';
|
|
16
15
|
position: absolute;
|
|
@@ -28,6 +27,7 @@
|
|
|
28
27
|
overflow-y: auto;
|
|
29
28
|
flex-shrink: 0;
|
|
30
29
|
inline-size: var(--components-mainLayout-sidebar-inlineSize);
|
|
30
|
+
position: relative;
|
|
31
31
|
|
|
32
32
|
&:focus-visible {
|
|
33
33
|
@include a11y.focusVisible($offset: -4px);
|
|
@@ -113,5 +113,53 @@
|
|
|
113
113
|
display: none;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
+
|
|
117
|
+
.mainLayout-bubblesEndStart {
|
|
118
|
+
position: absolute;
|
|
119
|
+
inset-block-end: 0;
|
|
120
|
+
inset-inline-start: 0;
|
|
121
|
+
display: flex;
|
|
122
|
+
block-size: var(--components-mainLayout-bubblesEndStartBlockSize);
|
|
123
|
+
|
|
124
|
+
svg {
|
|
125
|
+
display: block;
|
|
126
|
+
inline-size: var(--components-mainLayout-bubblesEndStartSvgInlineSize);
|
|
127
|
+
block-size: var(--components-mainLayout-bubblesEndStartBlockSize);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.mainLayout-bubblesStartEnd {
|
|
132
|
+
position: absolute;
|
|
133
|
+
inset-block-start: 0;
|
|
134
|
+
inset-inline-start: var(--components-mainLayout-bubblesStartEndInsetInlineStart);
|
|
135
|
+
inline-size: var(--components-mainLayout-bubblesStartEndInlineSize);
|
|
136
|
+
block-size: var(--components-mainLayout-bubblesStartEndBlockSize);
|
|
137
|
+
pointer-events: none;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
|
|
140
|
+
svg {
|
|
141
|
+
display: block;
|
|
142
|
+
position: relative;
|
|
143
|
+
inset-inline-end: var(--components-mainLayout-bubblesStartEndSvgInsetInlineEnd);
|
|
144
|
+
inline-size: var(--components-mainLayout-bubblesStartEndSvgInlineSize);
|
|
145
|
+
block-size: var(--components-mainLayout-bubblesStartEndBlockSize);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.mainLayout-bubblesEndStart-illustration,
|
|
150
|
+
.mainLayout-bubblesStartEnd-illustration {
|
|
151
|
+
position: absolute;
|
|
152
|
+
block-size: auto;
|
|
153
|
+
inset-block-start: 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.mainLayout-bubblesEndStart-illustration {
|
|
157
|
+
inline-size: var(--components-mainLayout-bubblesEndStartSvgInlineSize);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.mainLayout-bubblesStartEnd-illustration {
|
|
161
|
+
inline-size: var(--components-mainLayout-bubblesStartEndSvgInlineSize);
|
|
162
|
+
inset-inline-start: calc(var(--components-mainLayout-bubblesStartEndSvgInsetInlineEnd) * -1);
|
|
163
|
+
}
|
|
116
164
|
}
|
|
117
165
|
}
|
|
@@ -6,8 +6,20 @@
|
|
|
6
6
|
@include vars;
|
|
7
7
|
@include component;
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
@include
|
|
9
|
+
&:not(.mod-wideM) {
|
|
10
|
+
@include media.min('S') {
|
|
11
|
+
@include wide;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.mod-wideM {
|
|
16
|
+
@include media.min('M') {
|
|
17
|
+
@include wide;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@include media.max('S') {
|
|
22
|
+
@include narrow;
|
|
11
23
|
}
|
|
12
24
|
}
|
|
13
25
|
|
|
@@ -25,3 +25,12 @@
|
|
|
25
25
|
@mixin stickyBlock {
|
|
26
26
|
--components-mainLayout-content-inside-block-position: sticky;
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
@mixin narrow {
|
|
30
|
+
// ratio: 0.75
|
|
31
|
+
--components-mainLayout-bubblesStartEndSvgInlineSize: 162px;
|
|
32
|
+
--components-mainLayout-bubblesEndStartSvgInlineSize: 186px;
|
|
33
|
+
--components-mainLayout-bubblesStartEndBlockSize: 174px;
|
|
34
|
+
--components-mainLayout-bubblesEndStartBlockSize: 174px;
|
|
35
|
+
--components-mainLayout-bubblesStartEndSvgInsetInlineEnd: -1.5rem;
|
|
36
|
+
}
|
|
@@ -9,4 +9,16 @@
|
|
|
9
9
|
--components-mainLayout-content-inside-block-firstLastOfType-marginBlock: var(--pr-t-spacings-200);
|
|
10
10
|
--components-mainLayout-content-inside-header-backgroundColor: transparent;
|
|
11
11
|
--components-mainLayout-content-inside-footer-backgroundColor: transparent;
|
|
12
|
+
--components-mainLayout-bubblesStartEndSvgInlineSize: 216px;
|
|
13
|
+
--components-mainLayout-bubblesEndStartSvgInlineSize: 248px;
|
|
14
|
+
--components-mainLayout-bubblesStartEndBlockSize: 232px;
|
|
15
|
+
--components-mainLayout-bubblesEndStartBlockSize: 232px;
|
|
16
|
+
--components-mainLayout-bubblesStartEndInsetInlineStart:
|
|
17
|
+
min(
|
|
18
|
+
calc(100% + var(--commons-container-paddingInline) * 2 - var(--components-mainLayout-bubblesStartEndSvgInlineSize)),
|
|
19
|
+
calc(var(--commons-container-maxWidth) + var(--commons-container-paddingInline) * 2 - var(--components-mainLayout-bubblesStartEndSvgInlineSize))
|
|
20
|
+
);
|
|
21
|
+
--components-mainLayout-bubblesStartEndInlineSize: calc(100% - var(--components-mainLayout-bubblesStartEndInsetInlineStart));
|
|
22
|
+
--components-mainLayout-bubblesStartEndSvgInsetInlineEnd: -1rem;
|
|
23
|
+
--components-mainLayout-backgroundImage: none;
|
|
12
24
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
padding: 0;
|
|
46
46
|
gap: 0;
|
|
47
47
|
inline-size: 26.5rem;
|
|
48
|
-
max-inline-size: calc(
|
|
48
|
+
max-inline-size: calc(100vi - 2.5rem);
|
|
49
49
|
|
|
50
50
|
.multipleSelect-displayer {
|
|
51
51
|
box-shadow: 0 0 0 1px var(--components-multiSelect-border-color);
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
padding: var(--components-multiSelect-padding);
|
|
54
54
|
z-index: 1;
|
|
55
55
|
position: relative;
|
|
56
|
-
max-block-size: min(14rem,
|
|
56
|
+
max-block-size: min(14rem, 80vb);
|
|
57
57
|
overflow: auto;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@mixin disabled {
|
|
15
|
-
--components-multiSelect-background: var(--
|
|
15
|
+
--components-multiSelect-background: var(--pr-t-color-input-background-disabled);
|
|
16
16
|
--components-multiSelect-placeholder: var(--commons-disabled-placeholder);
|
|
17
17
|
--components-multiSelect-arrow-color: var(--pr-t-color-input-icon-disabled);
|
|
18
18
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@mixin mobileOpen {
|
|
33
|
-
block-size:
|
|
33
|
+
block-size: 100vb;
|
|
34
34
|
overflow-x: hidden;
|
|
35
35
|
overflow-y: auto;
|
|
36
36
|
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
@mixin mobileOpenBanner {
|
|
44
|
-
block-size: calc(
|
|
44
|
+
block-size: calc(100vb - var(--commons-banner-height));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@mixin mobileHidden {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
@at-root ($atRoot) {
|
|
36
36
|
.popover-content {
|
|
37
37
|
overflow: auto;
|
|
38
|
-
max-block-size: min(var(--components-popover-content-maxBlockSize), calc(
|
|
39
|
-
max-inline-size: min(var(--components-popover-content-maxInlineSize), calc(
|
|
38
|
+
max-block-size: min(var(--components-popover-content-maxBlockSize), calc(100dvb - var(--pr-t-spacings-200)));
|
|
39
|
+
max-inline-size: min(var(--components-popover-content-maxInlineSize), calc(100dvi - var(--pr-t-spacings-400)));
|
|
40
40
|
|
|
41
41
|
&:focus-visible {
|
|
42
42
|
@include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-default));
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.progress-bar {
|
|
27
27
|
background-color: var(--palettes-700, var(--components-progress-bar-background));
|
|
28
28
|
transition-duration: var(--commons-animations-durations-fast);
|
|
29
|
-
transition-property: background-color,
|
|
29
|
+
transition-property: background-color, inline-size;
|
|
30
30
|
inset-block: 0;
|
|
31
31
|
inset-inline-start: 0;
|
|
32
32
|
position: absolute;
|
|
@@ -3,4 +3,5 @@
|
|
|
3
3
|
--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);
|
|
4
4
|
--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);
|
|
5
5
|
--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);
|
|
6
|
+
--components-readMore-content-whiteSpace: normal;
|
|
6
7
|
}
|
|
@@ -22,7 +22,17 @@
|
|
|
22
22
|
|
|
23
23
|
@at-root ($atRoot) {
|
|
24
24
|
.resourceCardWrapper {
|
|
25
|
-
grid-template-columns:
|
|
25
|
+
grid-template-columns:
|
|
26
|
+
repeat(
|
|
27
|
+
auto-fill,
|
|
28
|
+
minmax(
|
|
29
|
+
min(
|
|
30
|
+
var(--components-resourceCardWrapper-gridTemplateColumnsMin),
|
|
31
|
+
100%
|
|
32
|
+
),
|
|
33
|
+
1fr
|
|
34
|
+
)
|
|
35
|
+
);
|
|
26
36
|
display: var(--components-resourceCardWrapper-display);
|
|
27
37
|
flex-direction: column;
|
|
28
38
|
gap: var(--pr-t-spacings-100);
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
--components-richTextField-content-resize: var(--components-richTextField-resize, vertical);
|
|
11
11
|
--components-richTextField-content-height: var(--components-richTextField-height, calc(3lh + var(--pr-t-spacings-200)));
|
|
12
12
|
--components-richTextField-content-minHeight: var(--components-richTextField-minHeight, calc(2lh + var(--pr-t-spacings-200)));
|
|
13
|
-
--components-richTextField-content-maxHeight: var(--components-richTextField-maxHeight,
|
|
13
|
+
--components-richTextField-content-maxHeight: var(--components-richTextField-maxHeight, 90dvb);
|
|
14
14
|
}
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
gap: var(--commons-divider-width);
|
|
16
16
|
white-space: var(--components-segmentedControl-whiteSpace);
|
|
17
17
|
|
|
18
|
+
.button.mod-disclosure {
|
|
19
|
+
margin-block: calc(var(--pr-t-spacings-25) * -1);
|
|
20
|
+
|
|
21
|
+
&:focus-visible {
|
|
22
|
+
@include a11y.focusVisible($offset: 0);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:last-child {
|
|
26
|
+
margin-inline-end: calc(var(--pr-t-spacings-100) * -1);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
18
30
|
@at-root ($atRoot) {
|
|
19
31
|
.segmentedControl-item-input {
|
|
20
32
|
@include a11y.mask;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
border-radius: var(--pr-t-border-radius-full);
|
|
38
38
|
inset-inline-start: 0;
|
|
39
39
|
inset-block-start: 0;
|
|
40
|
-
transition-property:
|
|
40
|
+
transition-property: inset-inline-start;
|
|
41
41
|
transition-duration: var(--commons-animations-durations-fast);
|
|
42
42
|
transition-timing-function: cubic-bezier(0.5, 1, 0.5, 1.5);
|
|
43
43
|
box-shadow: var(--pr-t-elevation-shadow-overflow);
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
&:is(textarea, div) {
|
|
72
72
|
max-block-size: var(--component-textField-maxHeight);
|
|
73
73
|
|
|
74
|
-
@supports not (height:
|
|
74
|
+
@supports not (height: 1dvb) {
|
|
75
75
|
--component-textField-maxHeight: var(--component-textField-maxHeightFallback);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -131,18 +131,32 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.textField-prefix-lang {
|
|
134
|
-
min-inline-size:
|
|
134
|
+
min-inline-size: var(--component-textField-prefix-lang-minInlineSize);
|
|
135
|
+
padding-inline-end: var(--pr-t-spacings-100);
|
|
135
136
|
position: relative;
|
|
137
|
+
text-align: end;
|
|
138
|
+
|
|
139
|
+
&:not(.mod-withCulture) {
|
|
140
|
+
text-transform: uppercase;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:has(.formLabel-required) {
|
|
144
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.mod-withCulture {
|
|
148
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-600) + var(--pr-t-spacings-50));
|
|
149
|
+
|
|
150
|
+
&:has(.formLabel-required) {
|
|
151
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-700) + var(--pr-t-spacings-50));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
136
154
|
|
|
137
155
|
&::after {
|
|
138
156
|
content: '';
|
|
139
157
|
position: absolute;
|
|
140
158
|
inset: var(--pr-t-spacings-25) 0;
|
|
141
|
-
border-
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&:has(.formLabel-required) {
|
|
145
|
-
min-inline-size: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
|
|
159
|
+
border-inline-end: 1px solid var(--palettes-neutral-200);
|
|
146
160
|
}
|
|
147
161
|
}
|
|
148
162
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--component-textField-font: var(--pr-t-font-body-S);
|
|
7
7
|
--component-textField-padding: var(--pr-t-spacings-75);
|
|
8
8
|
--component-textField-affix-size: 1.5rem;
|
|
9
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
9
10
|
|
|
10
11
|
.textField-input-affix-toggle {
|
|
11
12
|
@include icon.S;
|
|
@@ -23,6 +24,20 @@
|
|
|
23
24
|
.textField-input-affix-icon {
|
|
24
25
|
@include icon.S;
|
|
25
26
|
}
|
|
27
|
+
|
|
28
|
+
.textField-prefix-lang {
|
|
29
|
+
&:has(.formLabel-required) {
|
|
30
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.mod-withCulture {
|
|
34
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-500) + var(--pr-t-spacings-50));
|
|
35
|
+
|
|
36
|
+
&:has(.formLabel-required) {
|
|
37
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-600) + var(--pr-t-spacings-50));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
26
41
|
}
|
|
27
42
|
|
|
28
43
|
@mixin XS {
|
|
@@ -10,10 +10,12 @@
|
|
|
10
10
|
--component-textField-affix-padding: var(--component-textField-padding);
|
|
11
11
|
--component-textField-affix-size: 1.75rem;
|
|
12
12
|
--component-textField-scrollMargin: 88rem; // un nombre arbitraire suffit pour scrollIntoView
|
|
13
|
-
--component-textField-maxHeight:
|
|
13
|
+
--component-textField-maxHeight: 90dvb;
|
|
14
|
+
// stylelint-disable-next-line unit-layout-mappings -- Physical fallback: browsers without `dvb` do not support `vb` either.
|
|
14
15
|
--component-textField-maxHeightFallback: 90vh;
|
|
15
16
|
--component-textField-borderRadius: var(--pr-t-border-radius-input);
|
|
16
17
|
--component-textField-width: auto;
|
|
18
|
+
--component-textField-prefix-lang-minInlineSize: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
17
19
|
|
|
18
20
|
// Deprecated
|
|
19
21
|
--component-textField-fontSize: var(--pr-t-font-body-M-fontSize);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--components-toasts-left: var(--pr-t-spacings-300);
|
|
6
6
|
--components-toasts-bottom: var(--pr-t-spacings-300);
|
|
7
7
|
--components-toasts-margin-bottom: var(--pr-t-spacings-50);
|
|
8
|
-
--components-toasts-maxwidth: min(22.5rem, calc(
|
|
8
|
+
--components-toasts-maxwidth: min(22.5rem, calc(100dvi - (var(--components-toasts-right) * 2)));
|
|
9
9
|
--components-toasts-inset: var(--components-toasts-top) var(--components-toasts-right) auto auto;
|
|
10
10
|
--components-toasts-footerHeight: 4.5rem;
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
7
7
|
inline-size: 23.5rem;
|
|
8
|
-
max-inline-size: calc(
|
|
8
|
+
max-inline-size: calc(100vi - var(--pr-t-spacings-200) * 2);
|
|
9
9
|
padding: var(--pr-t-spacings-200) !important;
|
|
10
10
|
|
|
11
11
|
@at-root ($atRoot) {
|