@lucca-front/scss 21.3.0-rc.5 → 22.0.0-rc.2
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 +4 -26
- package/src/commons/utils/color.scss +2 -2
- package/src/commons/utils/index.scss +0 -4
- package/src/commons/vars.scss +0 -14
- package/src/components/avatar/index.scss +3 -31
- package/src/components/avatar/mods.scss +0 -28
- package/src/components/button/mods.scss +6 -8
- package/src/components/callout/mods.scss +1 -1
- package/src/components/code/component.scss +0 -1
- package/src/components/comment/component.scss +1 -1
- package/src/components/dataTable/component.scss +1 -6
- package/src/components/dialog/component.scss +2 -3
- package/src/components/dialog/index.scss +0 -4
- package/src/components/dialog/mods.scss +0 -6
- package/src/components/dialog/vars.scss +0 -1
- package/src/components/fieldset/mods.scss +0 -6
- package/src/components/fieldset/vars.scss +1 -1
- package/src/components/fileEntry/component.scss +15 -7
- package/src/components/fileEntry/index.scss +18 -10
- package/src/components/fileEntry/mods.scss +21 -16
- package/src/components/fileEntry/states.scss +9 -4
- package/src/components/fileEntry/vars.scss +10 -13
- package/src/components/fileToolbar/component.scss +0 -2
- package/src/components/fileToolbar/index.scss +2 -2
- package/src/components/fileToolbar/mods.scss +13 -8
- package/src/components/fileUpload/component.scss +3 -2
- package/src/components/fileUpload/index.scss +2 -10
- package/src/components/fileUpload/mods.scss +25 -20
- package/src/components/fileUpload/states.scss +0 -9
- package/src/components/fileUpload/vars.scss +20 -17
- package/src/components/filterPill/component.scss +5 -29
- package/src/components/filterPill/index.scss +11 -14
- package/src/components/filterPill/states.scss +8 -7
- package/src/components/filterPill/vars.scss +1 -2
- package/src/components/form/component.scss +0 -6
- 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/horizontalNavigation/component.scss +1 -23
- package/src/components/horizontalNavigation/index.scss +1 -19
- package/src/components/horizontalNavigation/mods.scss +0 -14
- package/src/components/horizontalNavigation/vars.scss +0 -7
- package/src/components/index.scss +0 -2
- package/src/components/indexTable/component.scss +0 -4
- package/src/components/listing/component.scss +2 -2
- package/src/components/loading/mods.scss +4 -0
- package/src/components/mobilePush/component.scss +1 -1
- package/src/components/multiSelect/component.scss +0 -10
- package/src/components/presentation/component.scss +0 -1
- package/src/components/simpleSelect/index.scss +0 -1
- package/src/components/tag/mods.scss +1 -1
- package/src/components/textFlow/component.scss +0 -2
- package/src/components/timepicker/component.scss +4 -28
- package/src/components/timepicker/mods.scss +3 -24
- package/src/components/timepicker/vars.scss +3 -6
- package/src/components/toast/component.scss +0 -1
- package/src/components/highlightText/component.scss +0 -30
- package/src/components/highlightText/exports.scss +0 -4
- package/src/components/highlightText/index.scss +0 -8
- package/src/components/highlightText/mods.scss +0 -0
- package/src/components/highlightText/states.scss +0 -0
- package/src/components/highlightText/vars.scss +0 -9
- package/src/components/impersonation/component.scss +0 -59
- package/src/components/impersonation/exports.scss +0 -4
- package/src/components/impersonation/index.scss +0 -22
- package/src/components/impersonation/mods.scss +0 -0
- package/src/components/impersonation/states.scss +0 -18
- package/src/components/impersonation/vars.scss +0 -11
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
2
2
|
|
|
3
|
-
@mixin disablePositioning {
|
|
4
|
-
--components-fileToolbar-display: contents;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@mixin disablePositioningS {
|
|
8
|
-
--components-fileToolbar-list-padding: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
3
|
@mixin button {
|
|
12
4
|
@include button.ghost;
|
|
13
5
|
@include button.S;
|
|
14
6
|
|
|
15
7
|
--components-button-borderRadius: 4px;
|
|
16
8
|
--components-button-padding: var(--pr-t-spacings-75);
|
|
9
|
+
|
|
10
|
+
&:has(.icon-trashDelete) {
|
|
11
|
+
@include button.critical;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin disablePositioning {
|
|
16
|
+
--components-fileToolbar-display: contents;
|
|
17
|
+
--components-fileToolbar-list-padding: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@mixin disablePositioningL {
|
|
21
|
+
--components-fileToolbar-list-padding: var(--pr-t-spacings-50);
|
|
17
22
|
}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
6
6
|
|
|
7
7
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
8
|
-
position:
|
|
8
|
+
position: var(--components-fileUpload-position);
|
|
9
|
+
inset: var(--components-fileUpload-inset);
|
|
9
10
|
border: 1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);
|
|
10
11
|
overflow: hidden;
|
|
11
12
|
border-radius: var(--components-fileUpload-borderRadius);
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
|
|
72
73
|
.fileUpload-instruction-action {
|
|
73
74
|
display: block;
|
|
74
|
-
margin-
|
|
75
|
+
margin-bottom: var(--fileUpload-instruction-action-marginBottom);
|
|
75
76
|
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
76
77
|
|
|
77
78
|
span {
|
|
@@ -15,22 +15,14 @@
|
|
|
15
15
|
@include structure;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
&.mod-
|
|
19
|
-
@include
|
|
20
|
-
|
|
21
|
-
&.is-loading {
|
|
22
|
-
@include loadingS;
|
|
23
|
-
}
|
|
18
|
+
&.mod-L {
|
|
19
|
+
@include L;
|
|
24
20
|
}
|
|
25
21
|
|
|
26
22
|
&:hover {
|
|
27
23
|
@include hover;
|
|
28
24
|
}
|
|
29
25
|
|
|
30
|
-
&.is-loading {
|
|
31
|
-
@include loading;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
26
|
&.is-hidden {
|
|
35
27
|
@include hidden;
|
|
36
28
|
}
|
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
@mixin
|
|
2
|
-
--components-fileUpload-button-display:
|
|
3
|
-
--components-fileUpload-padding: var(--pr-t-spacings-
|
|
4
|
-
--components-fileUpload-textAlign:
|
|
5
|
-
--components-fileUpload-flexDirection:
|
|
6
|
-
--components-fileUpload-instruction-alignItems:
|
|
7
|
-
--components-fileUpload-instruction-display:
|
|
8
|
-
--components-fileUpload-instruction-maxWidth:
|
|
9
|
-
--components-fileUpload-instruction-action-fontWeight:
|
|
10
|
-
--fileUpload-instruction-action-marginBottom:
|
|
11
|
-
--components-fileUpload-instruction-action-color:
|
|
12
|
-
--components-fileUpload-alignItems:
|
|
13
|
-
--components-fileUpload-minHeight:
|
|
14
|
-
--components-fileUpload-instruction-filename-position:
|
|
15
|
-
--components-fileUpload-instruction-filename-marginTop:
|
|
16
|
-
--components-fileUpload-justifyContent:
|
|
17
|
-
--components-fileUpload-status-img-inset:
|
|
18
|
-
--components-fileUpload-status-img-size: var(--pr-t-spacings-
|
|
1
|
+
@mixin L {
|
|
2
|
+
--components-fileUpload-button-display: block;
|
|
3
|
+
--components-fileUpload-padding: var(--pr-t-spacings-300);
|
|
4
|
+
--components-fileUpload-textAlign: center;
|
|
5
|
+
--components-fileUpload-flexDirection: column;
|
|
6
|
+
--components-fileUpload-instruction-alignItems: center;
|
|
7
|
+
--components-fileUpload-instruction-display: flex;
|
|
8
|
+
--components-fileUpload-instruction-maxWidth: 30rem;
|
|
9
|
+
--components-fileUpload-instruction-action-fontWeight: 400;
|
|
10
|
+
--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);
|
|
11
|
+
--components-fileUpload-instruction-action-color: inherit;
|
|
12
|
+
--components-fileUpload-alignItems: center;
|
|
13
|
+
--components-fileUpload-minHeight: 21.5rem;
|
|
14
|
+
--components-fileUpload-instruction-filename-position: relative;
|
|
15
|
+
--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);
|
|
16
|
+
--components-fileUpload-justifyContent: center;
|
|
17
|
+
--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);
|
|
18
|
+
--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
@mixin dropzone {
|
|
22
|
-
position: fixed;
|
|
23
|
-
|
|
22
|
+
--components-fileUpload-position: fixed;
|
|
23
|
+
--components-fileUpload-flexDirection: column;
|
|
24
|
+
--components-fileUpload-alignItems: center;
|
|
25
|
+
--components-fileUpload-justifyContent: center;
|
|
26
|
+
--components-fileUpload-instruction-display: flex;
|
|
27
|
+
--components-fileUpload-instruction-alignItems: center;
|
|
28
|
+
--components-fileUpload-inset: var(--pr-t-spacings-200);
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
@mixin structure {
|
|
@@ -23,15 +23,6 @@
|
|
|
23
23
|
--components-fileUpload-borderColor: var(--palettes-critical-600);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
@mixin loading {
|
|
27
|
-
--components-fileUpload-instruction-display: none;
|
|
28
|
-
--components-fileUpload-button-display: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@mixin loadingS {
|
|
32
|
-
--components-fileUpload-instruction-display: block;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
26
|
@mixin hidden {
|
|
36
27
|
--components-fileUpload-display: none;
|
|
37
28
|
}
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
-
--components-fileUpload-
|
|
2
|
+
--components-fileUpload-inset: auto;
|
|
3
|
+
--components-fileUpload-position: relative;
|
|
3
4
|
--components-fileUpload-button-visibility: visible;
|
|
4
|
-
--components-fileUpload-padding: var(--pr-t-spacings-300);
|
|
5
|
-
--components-fileUpload-textAlign: center;
|
|
6
|
-
--components-fileUpload-flexDirection: column;
|
|
7
5
|
--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);
|
|
8
|
-
--components-fileUpload-instruction-display: flex;
|
|
9
|
-
--components-fileUpload-instruction-alignItems: center;
|
|
10
|
-
--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);
|
|
11
6
|
--components-fileUpload-width: auto;
|
|
12
7
|
--components-fileUpload-display: flex;
|
|
13
|
-
--components-fileUpload-instruction-maxWidth: 30rem;
|
|
14
|
-
--components-fileUpload-instruction-action-fontWeight: 400;
|
|
15
|
-
--components-fileUpload-instruction-action-color: inherit;
|
|
16
8
|
--components-fileUpload-borderColor: var(--palettes-neutral-300);
|
|
17
9
|
--components-fileUpload-borderStyle: dashed;
|
|
18
10
|
--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);
|
|
19
|
-
--components-fileUpload-alignItems: center;
|
|
20
11
|
--components-fileUpload-instruction-filename-color: inherit;
|
|
21
|
-
|
|
22
|
-
--components-fileUpload-
|
|
23
|
-
--components-fileUpload-
|
|
24
|
-
--components-fileUpload-
|
|
25
|
-
--components-fileUpload-
|
|
26
|
-
--components-fileUpload-
|
|
12
|
+
|
|
13
|
+
--components-fileUpload-button-display: none;
|
|
14
|
+
--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);
|
|
15
|
+
--components-fileUpload-textAlign: left;
|
|
16
|
+
--components-fileUpload-flexDirection: row;
|
|
17
|
+
--components-fileUpload-instruction-alignItems: stretch;
|
|
18
|
+
--components-fileUpload-instruction-display: block;
|
|
19
|
+
--components-fileUpload-instruction-maxWidth: none;
|
|
20
|
+
--components-fileUpload-instruction-action-fontWeight: 600;
|
|
21
|
+
--fileUpload-instruction-action-marginBottom: 0;
|
|
22
|
+
--components-fileUpload-instruction-action-color: var(--palettes-product-700);
|
|
23
|
+
--components-fileUpload-alignItems: flex-start;
|
|
24
|
+
--components-fileUpload-minHeight: none;
|
|
25
|
+
--components-fileUpload-instruction-filename-position: static;
|
|
26
|
+
--components-fileUpload-instruction-filename-marginTop: 0;
|
|
27
|
+
--components-fileUpload-justifyContent: flex-start;
|
|
28
|
+
--components-fileUpload-status-img-inset: 0;
|
|
29
|
+
--components-fileUpload-status-img-size: var(--pr-t-spacings-600);
|
|
27
30
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@use '@lucca-front/scss/src/components/textField/exports' as textField;
|
|
11
11
|
|
|
12
12
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
13
|
-
display:
|
|
13
|
+
display: var(--components-filterPill-display);
|
|
14
14
|
gap: var(--components-filterPill-gap);
|
|
15
15
|
align-items: center;
|
|
16
16
|
background-color: var(--components-filterPill-backgroundColor);
|
|
@@ -24,15 +24,8 @@
|
|
|
24
24
|
white-space: nowrap;
|
|
25
25
|
transition-property: box-shadow;
|
|
26
26
|
transition-duration: var(--commons-animations-durations-fast);
|
|
27
|
-
border: 0;
|
|
28
27
|
|
|
29
28
|
@at-root ($atRoot) {
|
|
30
|
-
.filterPillWrapper {
|
|
31
|
-
position: relative;
|
|
32
|
-
inline-size: fit-content;
|
|
33
|
-
display: var(--components-filterPillWrapper-display);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
29
|
.filterPill_popover-content.popover-contentOptional {
|
|
37
30
|
--components-dateInput-width: none;
|
|
38
31
|
|
|
@@ -103,7 +96,6 @@
|
|
|
103
96
|
@include reset.button;
|
|
104
97
|
|
|
105
98
|
display: flex;
|
|
106
|
-
margin-block-start: -1px;
|
|
107
99
|
margin-inline-start: var(--pr-t-spacings-50);
|
|
108
100
|
inline-size: calc(var(--pr-t-spacings-50) + var(--pr-t-spacings-200));
|
|
109
101
|
flex-shrink: 0;
|
|
@@ -116,10 +108,6 @@
|
|
|
116
108
|
transition-duration: var(--commons-animations-durations-fast);
|
|
117
109
|
transform: rotate(var(--components-filterPill-toggle-rotation));
|
|
118
110
|
}
|
|
119
|
-
|
|
120
|
-
.filterPill-value + & {
|
|
121
|
-
margin-inline-start: var(--components-filterPill-toggle-marginInlineStart);
|
|
122
|
-
}
|
|
123
111
|
}
|
|
124
112
|
|
|
125
113
|
.filterPill-clear.clear {
|
|
@@ -131,16 +119,7 @@
|
|
|
131
119
|
@include clear.product;
|
|
132
120
|
}
|
|
133
121
|
|
|
134
|
-
.
|
|
135
|
-
position: absolute;
|
|
136
|
-
z-index: 1;
|
|
137
|
-
inset-inline-end: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-25));
|
|
138
|
-
inset-block-start: var(--pr-t-spacings-100);
|
|
139
|
-
|
|
140
|
-
@include clear.product;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.filterPill-value {
|
|
122
|
+
.filterPill-combobox {
|
|
144
123
|
@include reset.button;
|
|
145
124
|
|
|
146
125
|
font-weight: var(--components-filterPill-label-fontWeightChecked);
|
|
@@ -151,6 +130,9 @@
|
|
|
151
130
|
overflow: hidden;
|
|
152
131
|
text-overflow: ellipsis;
|
|
153
132
|
cursor: var(--components-filterPill-label-cursor);
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: var(--pr-t-spacings-50);
|
|
154
136
|
max-inline-size: 15rem;
|
|
155
137
|
|
|
156
138
|
&:focus-visible {
|
|
@@ -160,12 +142,6 @@
|
|
|
160
142
|
.lucca-icon {
|
|
161
143
|
color: var(--components-filterPill-arrowColor);
|
|
162
144
|
}
|
|
163
|
-
|
|
164
|
-
&:has(.lucca-icon) {
|
|
165
|
-
display: flex;
|
|
166
|
-
align-items: center;
|
|
167
|
-
gap: var(--pr-t-spacings-50);
|
|
168
|
-
}
|
|
169
145
|
}
|
|
170
146
|
|
|
171
147
|
.filterPill-label-placeholder {
|
|
@@ -15,16 +15,20 @@
|
|
|
15
15
|
@include hover;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
&:active
|
|
18
|
+
&:active,
|
|
19
|
+
&:has(:active) {
|
|
19
20
|
@include active;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
&.is-comboboxHidden {
|
|
24
|
+
@include comboboxHidden;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:has(.filterPill-combobox:focus-visible) {
|
|
24
28
|
@include focusVisible;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
&:has(.filterPill-combobox[aria-expanded='true']) {
|
|
28
32
|
@include opened;
|
|
29
33
|
}
|
|
30
34
|
|
|
@@ -35,7 +39,7 @@
|
|
|
35
39
|
@include filledHover;
|
|
36
40
|
}
|
|
37
41
|
|
|
38
|
-
&:active {
|
|
42
|
+
&:has(.filterPill-combobox:active) {
|
|
39
43
|
@include filledActive;
|
|
40
44
|
}
|
|
41
45
|
}
|
|
@@ -47,7 +51,6 @@
|
|
|
47
51
|
@include focusVisible;
|
|
48
52
|
}
|
|
49
53
|
|
|
50
|
-
&[aria-pressed='true'],
|
|
51
54
|
&:has(.filterPill-checkbox-input:checked) {
|
|
52
55
|
@include checkboxChecked;
|
|
53
56
|
|
|
@@ -55,16 +58,14 @@
|
|
|
55
58
|
@include filledHover;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
|
-
&:active {
|
|
61
|
+
&:has(.filterPill-combobox:active) {
|
|
59
62
|
@include filledActive;
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
65
|
|
|
63
|
-
&[disabled],
|
|
64
66
|
&:has(.filterPill-checkbox-input:disabled) {
|
|
65
67
|
@include checkboxDisabled;
|
|
66
68
|
|
|
67
|
-
&[aria-pressed='true'],
|
|
68
69
|
&:has(.filterPill-checkbox-input:checked) {
|
|
69
70
|
@include checkboxCheckedDisabled;
|
|
70
71
|
}
|
|
@@ -75,14 +76,10 @@
|
|
|
75
76
|
@include button;
|
|
76
77
|
}
|
|
77
78
|
|
|
78
|
-
|
|
79
|
+
&:has(.filterPill-combobox:disabled) {
|
|
79
80
|
@include disabled;
|
|
80
81
|
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
82
|
|
|
84
|
-
.filterPillWrapper {
|
|
85
|
-
@layer mods {
|
|
86
83
|
&.is-hidden {
|
|
87
84
|
@include hidden;
|
|
88
85
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@mixin focusVisible {
|
|
16
|
-
@include a11y.focusVisible($offset:
|
|
16
|
+
@include a11y.focusVisible($offset: 3px);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@mixin hover {
|
|
@@ -67,17 +67,15 @@
|
|
|
67
67
|
--components-filterPill-backgroundColor: var(--palettes-product-50);
|
|
68
68
|
--components-filterPill-color: var(--palettes-product-800);
|
|
69
69
|
--components-filterPill-toggle-iconColor: var(--palettes-product-700);
|
|
70
|
-
--components-filterPill-toggle-marginInlineStart: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
@mixin notFilled {
|
|
74
|
-
.filterPill-
|
|
73
|
+
.filterPill-combobox {
|
|
75
74
|
@include a11y.mask;
|
|
76
75
|
}
|
|
76
|
+
}
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
@include clear.hidden;
|
|
80
|
-
}
|
|
78
|
+
@mixin comboboxHidden {
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
@mixin opened {
|
|
@@ -104,8 +102,11 @@
|
|
|
104
102
|
box-shadow: var(--components-filterPill-shadow);
|
|
105
103
|
|
|
106
104
|
@include clear.hidden;
|
|
105
|
+
|
|
106
|
+
// TODO
|
|
107
|
+
// --components-filterPill-checkbox-borderColor: var(--palettes-neutral-600);
|
|
107
108
|
}
|
|
108
109
|
|
|
109
110
|
@mixin hidden {
|
|
110
|
-
--components-
|
|
111
|
+
--components-filterPill-display: none;
|
|
111
112
|
}
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
--components-filterPill-toggle-rotation: 0deg;
|
|
16
16
|
--components-filterPill-toggle-iconColor: var(--palettes-neutral-600);
|
|
17
17
|
--components-filterPill-shadow: 0 0 0 1px var(--components-filterPill-borderColor);
|
|
18
|
+
--components-filterPill-display: flex;
|
|
18
19
|
--components-filterPill-arrowColor: var(--palettes-product-700);
|
|
19
20
|
--components-filterPill-label-maxInlineSize: none;
|
|
20
|
-
--components-filterPill-toggle-marginInlineStart: var(--pr-t-spacings-50);
|
|
21
|
-
--components-filterPillWrapper-display: block;
|
|
22
21
|
}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
7
7
|
display: block;
|
|
8
|
-
max-inline-size: var(--components-form-maxWidth);
|
|
9
8
|
|
|
10
9
|
.divider:not(.mod-vertical) {
|
|
11
10
|
margin-block: var(--pr-t-spacings-300);
|
|
@@ -151,10 +150,5 @@
|
|
|
151
150
|
}
|
|
152
151
|
}
|
|
153
152
|
}
|
|
154
|
-
|
|
155
|
-
.option-additional {
|
|
156
|
-
font: var(--pr-t-font-body-S);
|
|
157
|
-
color: var(--pr-t-color-text-subtle);
|
|
158
|
-
}
|
|
159
153
|
}
|
|
160
154
|
}
|
|
@@ -28,18 +28,11 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
@at-root ($atRoot) {
|
|
31
|
-
.horizontalNavigationWrapper {
|
|
32
|
-
grid-area: overflow;
|
|
33
|
-
min-block-size: 0;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
31
|
// stylelint-disable-next-line selector-disallowed-list -- .menu-containerOptional is deprecated
|
|
39
32
|
.menu-containerOptional,
|
|
40
33
|
.horizontalNavigation-containerOptional {
|
|
41
34
|
max-inline-size: var(--commons-container-maxWidth);
|
|
42
|
-
padding: var(--
|
|
35
|
+
padding: var(--commons-container-padding);
|
|
43
36
|
}
|
|
44
37
|
|
|
45
38
|
// stylelint-disable-next-line selector-disallowed-list -- .menu-list is deprecated
|
|
@@ -145,20 +138,5 @@
|
|
|
145
138
|
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
146
139
|
}
|
|
147
140
|
}
|
|
148
|
-
|
|
149
|
-
.horizontalNavigation_panel {
|
|
150
|
-
display: var(--components-horizontalNavigation-panel-display);
|
|
151
|
-
overflow: var(--components-horizontalNavigation-panel-overflow);
|
|
152
|
-
min-height: 0;
|
|
153
|
-
flex-direction: column;
|
|
154
|
-
|
|
155
|
-
&:focus-visible {
|
|
156
|
-
@include a11y.focusVisible($offset: -2px, $borderRadius: var(--pr-t-border-radius-small));
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&:not(.is-active) {
|
|
160
|
-
display: none;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
141
|
}
|
|
164
142
|
}
|
|
@@ -21,10 +21,6 @@
|
|
|
21
21
|
@include noBorder;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.dialog & {
|
|
25
|
-
@include insideDialog;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
24
|
&.mod-vertical {
|
|
29
25
|
@include vertical;
|
|
30
26
|
|
|
@@ -32,7 +28,6 @@
|
|
|
32
28
|
.menu-list-item-action,
|
|
33
29
|
.horizontalNavigation-list-item-action {
|
|
34
30
|
&[aria-current='page'],
|
|
35
|
-
&[aria-selected='true'],
|
|
36
31
|
&.is-active {
|
|
37
32
|
@include activeVertical;
|
|
38
33
|
}
|
|
@@ -45,18 +40,6 @@
|
|
|
45
40
|
}
|
|
46
41
|
}
|
|
47
42
|
|
|
48
|
-
.horizontalNavigation_panel {
|
|
49
|
-
@layer components {
|
|
50
|
-
@include varsPanel;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@layer mods {
|
|
54
|
-
.dialog & {
|
|
55
|
-
@include insideDialogPanel;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
43
|
.menu-link, // stylelint-disable-line selector-disallowed-list -- .menu-link is deprecated
|
|
61
44
|
.menu-list-item-action, // stylelint-disable-line selector-disallowed-list -- .menu-list-item-action is deprecated
|
|
62
45
|
.horizontalNavigation-list-item-action {
|
|
@@ -64,13 +47,12 @@
|
|
|
64
47
|
// .active is deprecated
|
|
65
48
|
&.active,
|
|
66
49
|
&[aria-current='page'],
|
|
67
|
-
&[aria-selected='true'],
|
|
68
50
|
&.is-active {
|
|
69
51
|
@include active;
|
|
70
52
|
}
|
|
71
53
|
|
|
72
54
|
&.disabled, // .disabled is deprecated
|
|
73
|
-
&[disabled],
|
|
55
|
+
&[disabled], // [disabled] is deprecated
|
|
74
56
|
&.is-disabled {
|
|
75
57
|
@include disabled;
|
|
76
58
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
2
|
-
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
2
|
|
|
4
3
|
@mixin header {
|
|
5
4
|
--components-horizontalNavigation-listPadding: 0 var(--pr-t-spacings-500);
|
|
@@ -107,16 +106,3 @@
|
|
|
107
106
|
}
|
|
108
107
|
}
|
|
109
108
|
}
|
|
110
|
-
|
|
111
|
-
@mixin insideDialog {
|
|
112
|
-
--components-horizontalNavigation-containerOptional-padding: 0 var(--components-dialog-insideContent-paddingInline);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@mixin insideDialogPanel {
|
|
116
|
-
--components-horizontalNavigation-panel-display: flex;
|
|
117
|
-
--components-horizontalNavigation-panel-overflow: auto;
|
|
118
|
-
|
|
119
|
-
&:focus-visible {
|
|
120
|
-
@include a11y.focusVisible($offset: -4px, $borderRadius: var(--pr-t-border-radius-structure));
|
|
121
|
-
}
|
|
122
|
-
}
|
|
@@ -18,11 +18,4 @@
|
|
|
18
18
|
--components-horizontalNavigation-listItemActionRadius: var(--pr-t-border-radius-default) var(--pr-t-border-radius-default) 0 0;
|
|
19
19
|
--components-horizontalNavigation-listItemActionRadiusWidth: auto;
|
|
20
20
|
--components-horizontalNavigation-listItemActionRadiusHeight: var(--components-horizontalNavigation-listItemActionSize);
|
|
21
|
-
|
|
22
|
-
--components-horizontalNavigation-containerOptional-padding: var(--commons-container-padding);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin varsPanel {
|
|
26
|
-
--components-horizontalNavigation-panel-display: block;
|
|
27
|
-
--components-horizontalNavigation-panel-overflow: visible;
|
|
28
21
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
&::before {
|
|
31
31
|
content: var(--components-listing-item-before-content);
|
|
32
32
|
border-inline-start: var(--commons-divider-border);
|
|
33
|
-
|
|
33
|
+
height: 0.75lh;
|
|
34
34
|
align-self: center;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
.listing-item-icon {
|
|
60
60
|
inline-size: var(--pr-t-spacings-250);
|
|
61
61
|
aspect-ratio: 1;
|
|
62
|
-
margin-
|
|
62
|
+
margin-top: var(--pr-t-spacings-25);
|
|
63
63
|
background-color: var(--components-listing-item-icon-backgroundColor);
|
|
64
64
|
color: var(--palettes-700, var(--palettes-neutral-700));
|
|
65
65
|
border-radius: var(--pr-t-border-radius-full);
|
|
@@ -32,12 +32,6 @@
|
|
|
32
32
|
flex: 1;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.multipleSelect-displayer-value {
|
|
36
|
-
display: flex;
|
|
37
|
-
gap: var(--pr-t-spacings-50);
|
|
38
|
-
flex-wrap: wrap;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
35
|
.multipleSelect-displayer-chip.chip {
|
|
42
36
|
min-inline-size: 0;
|
|
43
37
|
|
|
@@ -98,9 +92,5 @@
|
|
|
98
92
|
.multipleSelect-pill-displayer-label {
|
|
99
93
|
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
100
94
|
}
|
|
101
|
-
|
|
102
|
-
.multiSelect-field-icon {
|
|
103
|
-
order: 1;
|
|
104
|
-
}
|
|
105
95
|
}
|
|
106
96
|
}
|