@lucca-front/scss 20.3.0-rc.1 → 20.3.0-rc.11
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 +2 -2
- package/src/commons/base.scss +4 -2
- package/src/commons/config.scss +8 -2
- package/src/commons/core.scss +1 -1
- package/src/commons/utils/color.scss +14 -0
- package/src/commons/utils/index.scss +2 -2
- package/src/commons/vars.scss +12 -12
- package/src/components/_sample/index.scss +0 -2
- package/src/components/avatar/component.scss +4 -3
- package/src/components/avatar/index.scss +4 -0
- package/src/components/avatar/mods.scss +18 -3
- package/src/components/avatar/vars.scss +4 -0
- package/src/components/box/component.scss +1 -1
- package/src/components/box/mods.scss +1 -0
- package/src/components/box/vars.scss +1 -0
- package/src/components/breadcrumbs/index.scss +1 -1
- package/src/components/breadcrumbs/states.scss +1 -1
- package/src/components/button/component.scss +0 -1
- package/src/components/button/index.scss +16 -3
- package/src/components/button/mods.scss +17 -2
- package/src/components/button/states.scss +41 -12
- package/src/components/button/vars.scss +1 -1
- package/src/components/calendar/component.scss +1 -1
- package/src/components/calendar/index.scss +1 -1
- package/src/components/callout/component.scss +14 -5
- package/src/components/callout/index.scss +9 -0
- package/src/components/callout/mods.scss +30 -2
- package/src/components/callout/vars.scss +5 -0
- package/src/components/calloutAccordion/component.scss +1 -1
- package/src/components/calloutDisclosure/component.scss +1 -1
- package/src/components/calloutDisclosure/index.scss +1 -3
- package/src/components/card/component.scss +1 -0
- package/src/components/card/index.scss +4 -2
- package/src/components/card/mods.scss +31 -0
- package/src/components/checkbox/index.scss +0 -2
- package/src/components/checkboxField/component.scss +1 -1
- package/src/components/checkboxField/index.scss +4 -8
- package/src/components/chip/index.scss +0 -2
- package/src/components/clear/index.scss +0 -2
- package/src/components/collapse/index.scss +1 -1
- package/src/components/dataTable/component.scss +4 -2
- package/src/components/dataTable/index.scss +25 -11
- package/src/components/dataTable/mods.scss +5 -6
- package/src/components/dataTable/states.scss +12 -0
- package/src/components/dataTableSticked/index.scss +0 -4
- package/src/components/dialog/component.scss +6 -6
- package/src/components/dialog/index.scss +4 -0
- package/src/components/dialog/mods.scss +4 -0
- package/src/components/dropdown/component.scss +43 -17
- package/src/components/dropdown/index.scss +5 -4
- package/src/components/dropdown/mods.scss +4 -4
- package/src/components/dropdown/states.scss +4 -3
- package/src/components/dropdown/vars.scss +8 -6
- package/src/components/field/index.scss +8 -30
- package/src/components/fieldset/component.scss +1 -1
- package/src/components/fieldset/index.scss +0 -2
- package/src/components/file/component.scss +1 -1
- package/src/components/file/index.scss +2 -4
- package/src/components/file/states.scss +1 -1
- package/src/components/fileEntry/index.scss +0 -2
- package/src/components/fileUpload/component.scss +1 -1
- package/src/components/fileUpload/index.scss +0 -2
- package/src/components/filterPill/component.scss +1 -1
- package/src/components/filterPill/index.scss +1 -5
- package/src/components/footer/component.scss +0 -1
- package/src/components/form/component.scss +11 -1
- package/src/components/form/index.scss +18 -36
- package/src/components/form/mods.scss +1 -1
- package/src/components/formLabel/component.scss +1 -1
- package/src/components/formLabel/index.scss +0 -2
- package/src/components/gauge/component.scss +73 -14
- package/src/components/gauge/index.scss +19 -0
- package/src/components/gauge/mods.scss +21 -7
- package/src/components/gauge/states.scss +8 -0
- package/src/components/gauge/vars.scss +16 -1
- package/src/components/header/index.scss +0 -2
- package/src/components/horizontalNavigation/component.scss +1 -1
- package/src/components/horizontalNavigation/index.scss +1 -1
- package/src/components/index.scss +1 -0
- package/src/components/indexTable/component.scss +2 -2
- package/src/components/indexTable/index.scss +0 -2
- package/src/components/indexTable/mods.scss +1 -1
- package/src/components/inlineMessage/index.scss +0 -2
- package/src/components/inputFramed/component.scss +2 -1
- package/src/components/inputFramed/index.scss +5 -1
- package/src/components/inputFramed/mods.scss +3 -0
- package/src/components/inputFramed/vars.scss +1 -0
- package/src/components/label/component.scss +1 -1
- package/src/components/layout/index.scss +1 -1
- package/src/components/link/index.scss +2 -4
- package/src/components/listboxOption/index.scss +2 -6
- package/src/components/main/index.scss +1 -1
- package/src/components/mainLayout/index.scss +2 -2
- package/src/components/mobileNavigation/component.scss +1 -1
- package/src/components/multiSelect/component.scss +1 -1
- package/src/components/multiSelect/index.scss +14 -6
- package/src/components/multiSelect/mods.scss +0 -8
- package/src/components/multiSelect/states.scss +8 -0
- package/src/components/navside/component.scss +2 -2
- package/src/components/navside/index.scss +5 -17
- package/src/components/newBadge/component.scss +1 -1
- package/src/components/numericBadge/component.scss +1 -1
- package/src/components/numericBadge/index.scss +0 -2
- package/src/components/numericBadge/states.scss +5 -0
- package/src/components/pagination/index.scss +1 -1
- package/src/components/plgPush/component.scss +1 -1
- package/src/components/popover/component.scss +0 -17
- package/src/components/progress/index.scss +0 -2
- package/src/components/radio/index.scss +1 -1
- package/src/components/radioButtons/index.scss +2 -2
- package/src/components/radioField/index.scss +1 -1
- package/src/components/readMore/component.scss +22 -6
- package/src/components/readMore/index.scss +1 -3
- package/src/components/readMore/states.scss +2 -0
- package/src/components/richText/component.scss +1 -3
- package/src/components/richText/index.scss +1 -3
- package/src/components/scrollBox/index.scss +1 -1
- package/src/components/segmentedControl/component.scss +1 -0
- package/src/components/segmentedControl/index.scss +9 -13
- package/src/components/simpleSelect/index.scss +1 -5
- package/src/components/skeleton/index.scss +0 -2
- package/src/components/skeleton/mods.scss +1 -1
- package/src/components/skipLinks/component.scss +1 -1
- package/src/components/statusBadge/component.scss +1 -1
- package/src/components/suggestion/component.scss +19 -0
- package/src/components/suggestion/exports.scss +4 -0
- package/src/components/suggestion/index.scss +16 -0
- package/src/components/suggestion/mods.scss +0 -0
- package/src/components/suggestion/states.scss +12 -0
- package/src/components/suggestion/vars.scss +4 -0
- package/src/components/switch/index.scss +1 -1
- package/src/components/switchField/index.scss +1 -1
- package/src/components/table/component.scss +1 -1
- package/src/components/table/index.scss +12 -20
- package/src/components/table/mods.scss +4 -4
- package/src/components/tableOfContent/index.scss +1 -1
- package/src/components/tableSortable/index.scss +0 -2
- package/src/components/tag/component.scss +4 -1
- package/src/components/tag/index.scss +12 -2
- package/src/components/tag/mods.scss +30 -3
- package/src/components/tag/states.scss +6 -0
- package/src/components/tag/vars.scss +2 -0
- package/src/components/textField/component.scss +1 -0
- package/src/components/textField/index.scss +4 -4
- package/src/components/textField/states.scss +5 -0
- package/src/components/textField/vars.scss +1 -0
- package/src/components/textFlow/component.scss +6 -0
- package/src/components/textfields/index.scss +2 -19
- package/src/components/textfields/mods.scss +3 -3
- package/src/components/timeline/component.scss +1 -1
- package/src/components/timeline/index.scss +1 -1
- package/src/components/timeline/mods.scss +3 -3
- package/src/components/timepicker/index.scss +0 -2
- package/src/components/title/index.scss +11 -0
- package/src/components/title/mods.scss +6 -0
- package/src/components/titleSection/component.scss +1 -1
- package/src/components/tooltip/index.scss +1 -1
- package/src/components/userPopover/component.scss +1 -0
- package/src/components/verticalNavigation/component.scss +1 -1
- package/src/components/verticalNavigation/index.scss +4 -8
- package/src/components/verticalNavigation/mods.scss +1 -1
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
margin: 0;
|
|
18
18
|
border-radius: var(--pr-t-border-radius-default);
|
|
19
19
|
font: var(--pr-t-font-body-XS);
|
|
20
|
-
font-weight:
|
|
20
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
21
21
|
padding-block: var(--pr-t-spacings-50);
|
|
22
22
|
padding-inline: var(--pr-t-spacings-100);
|
|
23
23
|
transition: all var(--commons-animations-durations-fast);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
padding-block: calc(var(--pr-t-spacings-50) / 2);
|
|
12
12
|
padding-inline: var(--pr-t-spacings-75) var(--pr-t-spacings-100);
|
|
13
13
|
white-space: nowrap;
|
|
14
|
-
font-weight:
|
|
14
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
15
15
|
|
|
16
16
|
&::before {
|
|
17
17
|
background-color: var(--palettes-700, var(--palettes-product-700));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: var(--pr-t-spacings-50);
|
|
7
|
+
|
|
8
|
+
@at-root ($atRoot) {
|
|
9
|
+
.suggestion-form-field {
|
|
10
|
+
z-index: 1;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.suggestion-callout-text {
|
|
15
|
+
text-decoration: var(--components-suggestion-textDecoration);
|
|
16
|
+
color: var(--components-suggestion-color);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use 'exports' as *;
|
|
2
|
+
|
|
3
|
+
.suggestion {
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
6
|
+
|
|
7
|
+
&:has(.suggestion-callout-accept:hover),
|
|
8
|
+
&:has(.suggestion-callout-accept:focus-visible) {
|
|
9
|
+
@include accept;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:has(.suggestion-callout-reject:hover),
|
|
13
|
+
&:has(.suggestion-callout-reject:focus-visible) {
|
|
14
|
+
@include reject;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/components/textField/exports' as textField;
|
|
2
|
+
|
|
3
|
+
@mixin reject {
|
|
4
|
+
--components-suggestion-textDecoration: line-through;
|
|
5
|
+
--components-suggestion-color: var(--pr-t-color-text-subtle);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin accept {
|
|
9
|
+
.textField {
|
|
10
|
+
@include textField.lineThrough;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
.table-
|
|
57
|
-
|
|
55
|
+
@layer mods {
|
|
56
|
+
.table-body-row,
|
|
57
|
+
.table-foot-row {
|
|
58
58
|
&.mod-header {
|
|
59
59
|
@include header;
|
|
60
60
|
}
|
|
@@ -71,12 +71,10 @@
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
}
|
|
75
74
|
|
|
76
|
-
.table-head-row,
|
|
77
|
-
.table-body-row,
|
|
78
|
-
.table-foot-row {
|
|
79
|
-
@layer mods {
|
|
75
|
+
.table-head-row,
|
|
76
|
+
.table-body-row,
|
|
77
|
+
.table-foot-row {
|
|
80
78
|
&.mod-selectable {
|
|
81
79
|
@include selectable;
|
|
82
80
|
}
|
|
@@ -85,29 +83,23 @@
|
|
|
85
83
|
@include draggable;
|
|
86
84
|
}
|
|
87
85
|
}
|
|
88
|
-
}
|
|
89
86
|
|
|
90
|
-
.table-head-row {
|
|
91
|
-
@layer mods {
|
|
87
|
+
.table-head-row {
|
|
92
88
|
&.mod-twoLines {
|
|
93
89
|
@include twoLines;
|
|
94
90
|
}
|
|
95
91
|
}
|
|
96
|
-
}
|
|
97
92
|
|
|
98
|
-
.table-body-row-cell,
|
|
99
|
-
.table-foot-row-cell {
|
|
100
|
-
@layer mods {
|
|
93
|
+
.table-body-row-cell,
|
|
94
|
+
.table-foot-row-cell {
|
|
101
95
|
&.mod-avatar {
|
|
102
96
|
@include avatar;
|
|
103
97
|
}
|
|
104
98
|
}
|
|
105
|
-
}
|
|
106
99
|
|
|
107
|
-
.table-head-row-cell,
|
|
108
|
-
.table-body-row-cell,
|
|
109
|
-
.table-foot-row-cell {
|
|
110
|
-
@layer mods {
|
|
100
|
+
.table-head-row-cell,
|
|
101
|
+
.table-body-row-cell,
|
|
102
|
+
.table-foot-row-cell {
|
|
111
103
|
&.mod-actions {
|
|
112
104
|
@include actions;
|
|
113
105
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
background-color: var(--palettes-neutral-50);
|
|
148
148
|
font-size: var(--pr-t-font-body-S-fontSize);
|
|
149
149
|
line-height: var(--pr-t-font-body-S-lineHeight);
|
|
150
|
-
font-weight:
|
|
150
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
@include icon.generate('arrow_chevron_top');
|
|
172
172
|
|
|
173
173
|
font-size: var(--pr-t-font-body-M-lineHeight);
|
|
174
|
-
font-weight:
|
|
174
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
175
175
|
margin-inline-end: var(--pr-t-spacings-100);
|
|
176
176
|
transition-duration: var(--commons-animations-durations-fast);
|
|
177
177
|
transition-property: transform;
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
.table-head-row-cell-secondLine {
|
|
268
268
|
margin-block-start: var(--pr-t-spacings-50);
|
|
269
269
|
display: block;
|
|
270
|
-
font-weight:
|
|
270
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
.table-head-row-cell-secondLine {
|
|
285
285
|
margin-block-start: var(--pr-t-spacings-50);
|
|
286
286
|
display: block;
|
|
287
|
-
font-weight:
|
|
287
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
padding-inline: var(--pr-t-spacings-50);
|
|
9
9
|
text-decoration: var(--components-tag-decoration);
|
|
10
10
|
box-shadow: 0 0 0 1px var(--components-tag-shadow);
|
|
11
|
-
gap: var(--
|
|
11
|
+
gap: var(--components-tag-gap);
|
|
12
12
|
cursor: var(--components-tag-cursor);
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
align-items: center;
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
font: var(--components-tag-font);
|
|
20
20
|
font-size: var(--components-tag-fontSize); // Deprecated
|
|
21
21
|
line-height: var(--components-tag-lineHeight); // Deprecated
|
|
22
|
+
max-inline-size: 100%;
|
|
23
|
+
position: relative;
|
|
22
24
|
|
|
23
25
|
&,
|
|
24
26
|
&:is(a, button) {
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
|
|
32
34
|
@at-root ($atRoot) {
|
|
33
35
|
.tag-content {
|
|
36
|
+
outline: none;
|
|
34
37
|
text-decoration: var(--components-tag-decoration);
|
|
35
38
|
}
|
|
36
39
|
}
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
&.mod-L {
|
|
11
15
|
@include L;
|
|
12
16
|
}
|
|
@@ -20,11 +24,17 @@
|
|
|
20
24
|
&.mod-outlined {
|
|
21
25
|
@include outlined;
|
|
22
26
|
}
|
|
23
|
-
}
|
|
24
27
|
|
|
25
|
-
|
|
28
|
+
&.mod-AI {
|
|
29
|
+
@include AI;
|
|
30
|
+
}
|
|
31
|
+
|
|
26
32
|
&.mod-disabled {
|
|
27
33
|
@include disabled;
|
|
28
34
|
}
|
|
35
|
+
|
|
36
|
+
&:has(.tag-content:focus-visible) {
|
|
37
|
+
@include focusVisible;
|
|
38
|
+
}
|
|
29
39
|
}
|
|
30
40
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@use '@lucca-front/icons/src/icon/exports' as
|
|
1
|
+
@use '@lucca-front/icons/src/icon/exports' as icons;
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/color';
|
|
2
3
|
|
|
3
4
|
@mixin clickable {
|
|
4
5
|
--components-tag-cursor: pointer;
|
|
@@ -20,12 +21,24 @@
|
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
@mixin S {
|
|
25
|
+
--components-tag-font: var(--pr-t-font-body-XS);
|
|
26
|
+
--components-tag-gap: var(--pr-t-spacings-25);
|
|
27
|
+
|
|
28
|
+
.lucca-icon {
|
|
29
|
+
@include icons.XXS;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Deprecated
|
|
33
|
+
--components-tag-fontSize: var(--pr-t-font-body-XS-fontSize);
|
|
34
|
+
--components-tag-lineHeight: var(--pr-t-font-body-XS-lineHeight);
|
|
35
|
+
}
|
|
36
|
+
|
|
23
37
|
@mixin L {
|
|
24
38
|
--components-tag-font: var(--pr-t-font-body-M);
|
|
25
|
-
--components-tag-iconBottom: 0;
|
|
26
39
|
|
|
27
40
|
.lucca-icon {
|
|
28
|
-
@include
|
|
41
|
+
@include icons.S;
|
|
29
42
|
}
|
|
30
43
|
|
|
31
44
|
// Deprecated
|
|
@@ -42,3 +55,17 @@
|
|
|
42
55
|
--components-tag-background: var(--palettes-100, var(--palettes-product-100));
|
|
43
56
|
--components-tag-color: var(--palettes-800, var(--palettes-product-800));
|
|
44
57
|
}
|
|
58
|
+
|
|
59
|
+
@mixin AI {
|
|
60
|
+
@include outlined;
|
|
61
|
+
|
|
62
|
+
&:not(:disabled) {
|
|
63
|
+
--components-tag-boxShadow: none;
|
|
64
|
+
|
|
65
|
+
@include color.borderGradient(135deg, var(--palettes-brand-400), var(--palettes-AI-500), var(--pr-t-border-radius-small));
|
|
66
|
+
|
|
67
|
+
.lucca-icon {
|
|
68
|
+
@include icons.AI;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
--components-tag-color: var(--palettes-800, var(--palettes-neutral-800));
|
|
4
4
|
--components-tag-shadow: transparent;
|
|
5
5
|
--components-tag-font: var(--pr-t-font-body-S);
|
|
6
|
+
--components-tag-gap: var(--pr-t-spacings-50);
|
|
6
7
|
--components-tag-decoration: none;
|
|
7
8
|
--components-tag-cursor: inherit;
|
|
9
|
+
--components-tag-boxShadow: 0 0 0 1px var(--components-tag-shadow);
|
|
8
10
|
|
|
9
11
|
// Deprecated
|
|
10
12
|
--components-tag-fontSize: var(--pr-t-font-body-S-fontSize);
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
padding-inline: var(--component-textField-padding) var(--component-textField-affix-padding);
|
|
68
68
|
background-color: transparent;
|
|
69
69
|
color: var(--component-textField-color);
|
|
70
|
+
text-decoration: var(--component-textField-textDecoration);
|
|
70
71
|
text-overflow: ellipsis;
|
|
71
72
|
|
|
72
73
|
&:is(textarea, div) {
|
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
&.mod-valueAlignRight {
|
|
19
19
|
@include valueAlignRight;
|
|
20
20
|
}
|
|
21
|
-
}
|
|
22
21
|
|
|
23
|
-
@layer states {
|
|
24
22
|
&.is-invalid,
|
|
25
23
|
&:has(.textField-input-value[aria-invalid='true']) {
|
|
26
24
|
@include invalid;
|
|
@@ -30,9 +28,7 @@
|
|
|
30
28
|
&:has(.textField-input-value:disabled) {
|
|
31
29
|
@include disabled;
|
|
32
30
|
}
|
|
33
|
-
}
|
|
34
31
|
|
|
35
|
-
@layer mods {
|
|
36
32
|
&.mod-autoResize {
|
|
37
33
|
@include autoResize;
|
|
38
34
|
}
|
|
@@ -41,4 +37,8 @@
|
|
|
41
37
|
@include filterPill;
|
|
42
38
|
}
|
|
43
39
|
}
|
|
40
|
+
|
|
41
|
+
&.is-lineThrough {
|
|
42
|
+
@include lineThrough;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
@@ -12,3 +12,8 @@
|
|
|
12
12
|
--component-textField-background: var(--pr-t-color-input-background-disabled);
|
|
13
13
|
--component-textField-color: var(--pr-t-color-input-text-disabled);
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
@mixin lineThrough {
|
|
17
|
+
--component-textField-color: var(--pr-t-color-text-subtle);
|
|
18
|
+
--component-textField-textDecoration: line-through;
|
|
19
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--component-textField-border: var(--pr-t-color-input-border);
|
|
6
6
|
--component-textField-borderHover: var(--pr-t-color-input-border-hover);
|
|
7
7
|
--component-textField-color: var(--pr-t-color-input-text);
|
|
8
|
+
--component-textField-textDecoration: none;
|
|
8
9
|
--component-textField-padding: var(--pr-t-spacings-100);
|
|
9
10
|
--component-textField-affix-padding: var(--component-textField-padding);
|
|
10
11
|
--component-textField-affix-size: 1.75rem;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@include component;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
@layer
|
|
9
|
+
@layer mods {
|
|
10
10
|
.textfield-input {
|
|
11
11
|
&:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
|
|
12
12
|
@include inputDisabled;
|
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
&:is(.is-open, .open) {
|
|
18
18
|
@include open;
|
|
19
19
|
}
|
|
20
|
-
}
|
|
21
20
|
|
|
22
|
-
@layer mods {
|
|
23
21
|
&.mod-password {
|
|
24
22
|
@include password;
|
|
25
23
|
|
|
@@ -190,9 +188,7 @@
|
|
|
190
188
|
@include compactSize('longest');
|
|
191
189
|
}
|
|
192
190
|
}
|
|
193
|
-
}
|
|
194
191
|
|
|
195
|
-
@layer mods {
|
|
196
192
|
&.mod-material {
|
|
197
193
|
@include material;
|
|
198
194
|
|
|
@@ -224,11 +220,7 @@
|
|
|
224
220
|
&.mod-radio {
|
|
225
221
|
@include materialRadio;
|
|
226
222
|
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
223
|
|
|
230
|
-
@layer states {
|
|
231
|
-
&.mod-material {
|
|
232
224
|
.textfield-input {
|
|
233
225
|
&:is(:focus, .is-focused, .focused) {
|
|
234
226
|
@include materialInputFocus;
|
|
@@ -266,7 +258,7 @@
|
|
|
266
258
|
}
|
|
267
259
|
}
|
|
268
260
|
|
|
269
|
-
@layer
|
|
261
|
+
@layer mods {
|
|
270
262
|
.textfield-input {
|
|
271
263
|
&:is(:hover) {
|
|
272
264
|
@include inputHover;
|
|
@@ -282,17 +274,13 @@
|
|
|
282
274
|
@include entryHover;
|
|
283
275
|
}
|
|
284
276
|
}
|
|
285
|
-
}
|
|
286
277
|
|
|
287
|
-
@layer mods {
|
|
288
278
|
.textfield-suffix {
|
|
289
279
|
&.mod-icon {
|
|
290
280
|
@include suffixIcon;
|
|
291
281
|
}
|
|
292
282
|
}
|
|
293
|
-
}
|
|
294
283
|
|
|
295
|
-
@layer mods {
|
|
296
284
|
.textfield.mod-framed,
|
|
297
285
|
.form.mod-framed .textfield {
|
|
298
286
|
@include framed;
|
|
@@ -308,12 +296,7 @@
|
|
|
308
296
|
&.mod-search {
|
|
309
297
|
@include framedSearch;
|
|
310
298
|
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
299
|
|
|
314
|
-
@layer states {
|
|
315
|
-
.textfield.mod-framed,
|
|
316
|
-
.form.mod-framed .textfield {
|
|
317
300
|
&:is(.is-error, .error) {
|
|
318
301
|
@include framedState('error');
|
|
319
302
|
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
color: var(--palettes-neutral-600);
|
|
289
289
|
inset-inline-start: var(--pr-t-spacings-200);
|
|
290
290
|
font-size: var(--pr-t-font-body-S-fontSize);
|
|
291
|
-
font-weight:
|
|
291
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
292
292
|
line-height: var(--pr-t-font-body-S-lineHeight);
|
|
293
293
|
pointer-events: none;
|
|
294
294
|
position: absolute;
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
&::after {
|
|
309
309
|
inset-block-end: var(--pr-t-spacings-100);
|
|
310
310
|
color: var(--palettes-neutral-600);
|
|
311
|
-
font-weight:
|
|
311
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
font-size: var(--components-textfield-material-label-font-size);
|
|
501
501
|
position: absolute;
|
|
502
502
|
pointer-events: none;
|
|
503
|
-
font-weight:
|
|
503
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
504
504
|
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
505
505
|
inline-size: 100%;
|
|
506
506
|
inset-block-start: var(--pr-t-spacings-300);
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
position: relative;
|
|
36
36
|
display: block;
|
|
37
37
|
color: var(--palettes-product-700);
|
|
38
|
-
font-weight:
|
|
38
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
39
39
|
margin: 0;
|
|
40
40
|
font-size: var(--components-timeline-title-fontSize);
|
|
41
41
|
line-height: var(--components-timeline-title-lineHeight);
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.timeline-step-description {
|
|
88
|
-
padding-inline-start: var(--pr-t-spacings-
|
|
88
|
+
padding-inline-start: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.timeline-stepAddBetweenStep {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.timeline-step-description {
|
|
120
|
-
padding-inline-start: var(--pr-t-spacings-
|
|
120
|
+
padding-inline-start: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.timeline-step-description {
|
|
140
|
-
padding-inline-start:
|
|
140
|
+
padding-inline-start: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
|
|
141
141
|
min-block-size: var(--pr-t-spacings-400);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -33,3 +33,9 @@
|
|
|
33
33
|
--components-title-font: 600 var(--pr-t-font-fontSize-150)/var(--pr-t-font-lineHeight-200) var(--pr-t-font-family);
|
|
34
34
|
--sizes-verticalPadding: var(--sizes-XS-verticalPadding);
|
|
35
35
|
}
|
|
36
|
+
|
|
37
|
+
@mixin elementAfterText {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-wrap: wrap;
|
|
40
|
+
column-gap: var(--pr-t-spacings-100);
|
|
41
|
+
}
|