@lucca-front/ng 20.2.0-rc.4 → 20.3.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/fesm2022/lucca-front-ng-a11y.mjs +2 -2
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +6 -6
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +2 -2
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +2 -2
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +2 -2
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +2 -2
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +10 -10
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +2 -2
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +2 -2
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +4 -4
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +6 -6
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +2 -2
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +5 -5
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +2 -2
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +2 -2
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +4 -4
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +6 -6
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +2 -2
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +8 -8
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +2 -2
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +3 -3
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +34 -34
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +2 -2
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +5 -5
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +10 -10
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +2 -2
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +2 -2
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +2 -2
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +2 -2
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +2 -2
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +2 -2
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +2 -2
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +2 -2
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +2 -2
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +2 -2
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +2 -2
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +10 -10
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +2 -2
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +2 -2
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +14 -14
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +2 -2
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +2 -2
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +2 -2
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scrollBox.mjs +2 -2
- package/fesm2022/lucca-front-ng-scrollBox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +4 -4
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +12 -12
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-statusBadge.mjs +2 -2
- package/fesm2022/lucca-front-ng-statusBadge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +2 -2
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +4 -4
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +2 -2
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +2 -2
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +8 -8
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/formly/style/_components.scss +16 -12
- package/formly/style/main.scss +0 -1
- package/package.json +24 -24
- package/src/components/_calendar.scss +4 -2
- package/src/components/_input.scss +38 -36
- package/src/components/_picker.scss +112 -110
- package/src/components/_popover.scss +40 -30
- package/src/components/_popup.scss +134 -126
- package/src/components/_sidepanel.scss +50 -40
- package/src/components/cdk/_dragDrop.scss +47 -45
- package/src/components/cdk/_global.scss +16 -14
- package/src/components/cdk/_misc.scss +12 -10
- package/src/components/cdk/_overlay.scss +53 -51
- package/src/components/cdk/_textarea.scss +21 -19
- package/src/definitions/option/_option-item.scss +147 -124
- package/src/definitions/option/_option-placeholder.scss +8 -6
- package/src/definitions/option/_option-searcher.scss +14 -12
- package/src/definitions/option/_option-selector.scss +8 -6
- package/src/definitions/select/_select-clearer.scss +11 -8
- package/src/definitions/select/_select-input.scss +223 -185
- package/src/components/_dropdown.scss +0 -0
|
@@ -4,88 +4,102 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin selectInputStyle {
|
|
6
6
|
:host {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
7
|
+
@layer components {
|
|
8
|
+
--components-select-input-padding-horizontal: var(--pr-t-spacings-100);
|
|
9
|
+
--components-select-input-padding-vertical: var(--pr-t-spacings-100);
|
|
10
|
+
--components-select-framed-color: var(--palettes-neutral-500);
|
|
11
|
+
--components-select-framed-color50: var(--palettes-neutral-50);
|
|
12
|
+
--components-select-framed-see-through: var(--palettes-neutral-50);
|
|
13
|
+
--components-select-framed-text: var(--pr-t-color-text);
|
|
14
|
+
--components-select-framed-placeholder: #cccccc;
|
|
15
|
+
--components-select-framed-side-padding: var(--pr-t-spacings-200);
|
|
16
|
+
--components-select-framed-top-padding: var(--pr-t-spacings-400);
|
|
17
|
+
--components-select-framed-bottom-padding: var(--pr-t-spacings-200);
|
|
18
|
+
--components-select-framed-label-top-offset: var(--pr-t-spacings-100);
|
|
19
|
+
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
outline: none;
|
|
22
|
+
padding: 0;
|
|
23
|
+
gap: 0;
|
|
24
|
+
|
|
25
|
+
&::after {
|
|
26
|
+
@include icon.generate('arrow_chevron_bottom');
|
|
27
|
+
|
|
28
|
+
color: var(--palettes-neutral-600);
|
|
29
|
+
inset-block-end: var(--components-select-input-padding-vertical);
|
|
30
|
+
font-size: var(--pr-t-font-body-M-lineHeight);
|
|
31
|
+
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
position: absolute;
|
|
34
|
+
inset-inline-end: var(--components-select-input-padding-horizontal);
|
|
35
|
+
transition: transform var(--commons-animations-durations-standard) ease;
|
|
36
|
+
}
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
@layer states {
|
|
40
|
+
&[disabled],
|
|
41
|
+
&.is-disabled {
|
|
42
|
+
cursor: not-allowed; // disabled token candidate
|
|
43
|
+
pointer-events: all;
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
.lu-select-display-wrapper {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
@layer components {
|
|
50
|
+
display: block;
|
|
51
|
+
inline-size: 100%;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
}
|
|
50
56
|
}
|
|
51
57
|
|
|
52
58
|
.lu-select-value {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
@layer components {
|
|
60
|
+
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
61
|
+
min-block-size: calc(var(--components-select-framed-bottom-padding) + var(--pr-t-font-body-M-lineHeight));
|
|
62
|
+
padding-block: var(--components-select-input-padding-vertical);
|
|
63
|
+
padding-inline: var(--components-select-input-padding-horizontal) 3.5rem;
|
|
64
|
+
transition: all var(--commons-animations-durations-standard);
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
59
67
|
}
|
|
60
68
|
|
|
61
69
|
.lu-select-placeholder {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
@layer components {
|
|
71
|
+
color: var(--palettes-neutral-400);
|
|
72
|
+
line-height: var(--pr-t-font-body-M-lineHeight);
|
|
73
|
+
min-block-size: calc(var(--components-select-framed-bottom-padding) + var(--pr-t-font-body-M-lineHeight));
|
|
74
|
+
padding-block: var(--components-select-input-padding-vertical);
|
|
75
|
+
padding-inline: var(--components-select-input-padding-horizontal) 3.5rem;
|
|
76
|
+
transition: all var(--commons-animations-durations-standard);
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
text-overflow: ellipsis;
|
|
79
|
+
white-space: nowrap;
|
|
80
|
+
}
|
|
71
81
|
}
|
|
72
82
|
|
|
73
83
|
.lu-select-suffix,
|
|
74
84
|
.lu-select-clearer {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
85
|
+
@layer components {
|
|
86
|
+
position: absolute;
|
|
87
|
+
inset-block-end: var(--pr-t-spacings-150);
|
|
88
|
+
inset-inline-end: 2.5rem;
|
|
89
|
+
}
|
|
78
90
|
}
|
|
79
91
|
|
|
80
92
|
::ng-deep .lu-select-value {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
93
|
+
@layer components {
|
|
94
|
+
.chip {
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
max-inline-size: 100%;
|
|
97
|
+
margin-block: 0 var(--pr-t-spacings-50);
|
|
98
|
+
margin-inline: 0 var(--pr-t-spacings-50);
|
|
99
|
+
text-overflow: ellipsis;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
}
|
|
89
103
|
}
|
|
90
104
|
}
|
|
91
105
|
|
|
@@ -94,160 +108,174 @@
|
|
|
94
108
|
|
|
95
109
|
// Small
|
|
96
110
|
:host-context(.textfield.mod-S) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
.lu-select-value,
|
|
100
|
-
.lu-select-placeholder {
|
|
101
|
-
font-size: var(--pr-t-font-body-S-fontSize);
|
|
102
|
-
line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
103
|
-
min-block-size: calc(var(--components-select-framed-bottom-padding) + var(--pr-t-font-body-XS-lineHeight));
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.lu-select-clearer {
|
|
107
|
-
inset-block-end: var(--pr-t-spacings-100);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&::after {
|
|
111
|
-
line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
112
|
-
font-size: var(--pr-t-font-body-S-lineHeight);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.lu-select-suffix {
|
|
116
|
-
inset-block-end: 0.5rem;
|
|
117
|
-
inset-inline-end: 2rem;
|
|
118
|
-
}
|
|
111
|
+
@layer mods {
|
|
112
|
+
padding: 0;
|
|
119
113
|
|
|
120
|
-
|
|
121
|
-
.
|
|
122
|
-
|
|
114
|
+
.lu-select-value,
|
|
115
|
+
.lu-select-placeholder {
|
|
116
|
+
font-size: var(--pr-t-font-body-S-fontSize);
|
|
123
117
|
line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
124
|
-
|
|
125
|
-
padding-inline: var(--pr-t-spacings-50);
|
|
126
|
-
gap: var(--pr-t-spacings-50);
|
|
118
|
+
min-block-size: calc(var(--components-select-framed-bottom-padding) + var(--pr-t-font-body-XS-lineHeight));
|
|
127
119
|
}
|
|
128
120
|
|
|
129
|
-
.
|
|
130
|
-
|
|
121
|
+
.lu-select-clearer {
|
|
122
|
+
inset-block-end: var(--pr-t-spacings-100);
|
|
131
123
|
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Framed
|
|
136
|
-
:host-context(.textfield.mod-framed),
|
|
137
|
-
:host-context(.form.mod-framed) {
|
|
138
|
-
&.textfield-input {
|
|
139
|
-
padding-block: var(--components-select-framed-top-padding) 0;
|
|
140
|
-
padding-inline: 0;
|
|
141
124
|
|
|
142
125
|
&::after {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
inset-inline-end: var(--pr-t-spacings-100);
|
|
126
|
+
line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
127
|
+
font-size: var(--pr-t-font-body-S-lineHeight);
|
|
146
128
|
}
|
|
147
129
|
|
|
148
|
-
.lu-select-
|
|
149
|
-
|
|
150
|
-
|
|
130
|
+
.lu-select-suffix {
|
|
131
|
+
inset-block-end: 0.5rem;
|
|
132
|
+
inset-inline-end: 2rem;
|
|
151
133
|
}
|
|
152
134
|
|
|
153
|
-
.lu-select-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
135
|
+
::ng-deep .lu-select-value {
|
|
136
|
+
.chip {
|
|
137
|
+
block-size: var(--pr-t-font-body-XS-lineHeight);
|
|
138
|
+
line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
139
|
+
font-size: var(--pr-t-font-body-XS-fontSize);
|
|
140
|
+
padding-inline: var(--pr-t-spacings-50);
|
|
141
|
+
gap: var(--pr-t-spacings-50);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.numericBadge {
|
|
145
|
+
@include numericBadge.S;
|
|
146
|
+
}
|
|
157
147
|
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
158
150
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
151
|
+
// Framed
|
|
152
|
+
:host-context(.textfield.mod-framed),
|
|
153
|
+
:host-context(.form.mod-framed) {
|
|
154
|
+
@layer mods {
|
|
155
|
+
&.textfield-input {
|
|
156
|
+
padding-block: var(--components-select-framed-top-padding) 0;
|
|
157
|
+
padding-inline: 0;
|
|
158
|
+
|
|
159
|
+
&::after {
|
|
160
|
+
color: var(--palettes-neutral-500);
|
|
161
|
+
inset-block-end: var(--components-select-framed-bottom-padding);
|
|
162
|
+
inset-inline-end: var(--pr-t-spacings-100);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.lu-select-value {
|
|
166
|
+
padding-block: 0 var(--components-select-framed-bottom-padding);
|
|
167
|
+
padding-inline: var(--components-select-framed-side-padding) calc(var(--components-select-framed-side-padding) * 3);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.lu-select-placeholder {
|
|
171
|
+
color: var(--palettes-neutral-400);
|
|
172
|
+
padding-block: 0 var(--components-select-framed-bottom-padding);
|
|
173
|
+
padding-inline: var(--components-select-framed-side-padding) calc(var(--components-select-framed-side-padding) * 3);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.lu-select-suffix {
|
|
177
|
+
inset-block-end: var(--components-select-framed-bottom-padding);
|
|
178
|
+
inset-inline-end: 1.7rem;
|
|
179
|
+
}
|
|
162
180
|
}
|
|
163
181
|
}
|
|
164
182
|
}
|
|
165
183
|
|
|
166
184
|
// Filter
|
|
167
185
|
:host-context(.textfield.mod-filter) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
186
|
+
@layer mods {
|
|
187
|
+
.lu-select-value,
|
|
188
|
+
.lu-select-placeholder {
|
|
189
|
+
padding: 0;
|
|
190
|
+
block-size: auto;
|
|
191
|
+
padding-block-start: var(--pr-t-spacings-200);
|
|
192
|
+
color: var(--pr-t-color-text);
|
|
193
|
+
}
|
|
174
194
|
}
|
|
175
195
|
}
|
|
176
196
|
|
|
177
197
|
// Material
|
|
178
198
|
:host-context(.textfield.mod-material) {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
.lu-select-value,
|
|
186
|
-
.lu-select-placeholder {
|
|
187
|
-
padding-inline: 0 0.8rem;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.lu-select-suffix {
|
|
191
|
-
inset-inline-end: calc(2 * var(--components-select-input-padding-horizontal));
|
|
192
|
-
}
|
|
199
|
+
@layer mods {
|
|
200
|
+
&::after {
|
|
201
|
+
color: var(--palettes-neutral-500);
|
|
202
|
+
inset-block-end: 0.6rem;
|
|
203
|
+
inset-inline-end: 0;
|
|
204
|
+
}
|
|
193
205
|
|
|
194
|
-
|
|
206
|
+
.lu-select-value,
|
|
195
207
|
.lu-select-placeholder {
|
|
196
|
-
|
|
208
|
+
padding-inline: 0 0.8rem;
|
|
197
209
|
}
|
|
198
|
-
}
|
|
199
210
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
inset-block-end: 0;
|
|
211
|
+
.lu-select-suffix {
|
|
212
|
+
inset-inline-end: calc(2 * var(--components-select-input-padding-horizontal));
|
|
203
213
|
}
|
|
204
214
|
|
|
205
|
-
|
|
206
|
-
|
|
215
|
+
&.is-select {
|
|
216
|
+
.lu-select-placeholder {
|
|
217
|
+
display: none;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&.mod-search {
|
|
222
|
+
&::after {
|
|
223
|
+
inset-block-end: 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.lu-select-suffix {
|
|
227
|
+
inset-inline-end: calc(2.75 * var(--components-select-input-padding-horizontal));
|
|
228
|
+
}
|
|
207
229
|
}
|
|
208
230
|
}
|
|
209
231
|
}
|
|
210
232
|
|
|
211
233
|
:host-context(.textfield.mod-material .textfield-input.is-focused) {
|
|
212
|
-
|
|
213
|
-
|
|
234
|
+
@layer mods {
|
|
235
|
+
.lu-select-placeholder {
|
|
236
|
+
display: none;
|
|
237
|
+
}
|
|
214
238
|
}
|
|
215
239
|
}
|
|
216
240
|
|
|
217
241
|
// Multiple
|
|
218
242
|
:host(.mod-multiple) {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
243
|
+
@layer mods {
|
|
244
|
+
.lu-select-value {
|
|
245
|
+
block-size: auto;
|
|
246
|
+
align-items: center;
|
|
247
|
+
}
|
|
223
248
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
249
|
+
.lu-select-display-wrapper {
|
|
250
|
+
overflow: visible;
|
|
251
|
+
white-space: normal;
|
|
252
|
+
margin-block-end: calc(var(--pr-t-spacings-50) * -1);
|
|
253
|
+
}
|
|
228
254
|
}
|
|
229
255
|
}
|
|
230
256
|
|
|
231
257
|
// Outlined
|
|
232
258
|
:host-context(.textfield.mod-outlined) {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
259
|
+
@layer mods {
|
|
260
|
+
&.textfield-input {
|
|
261
|
+
&::after {
|
|
262
|
+
color: var(--palettes-neutral-600);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.lu-select-placeholder {
|
|
266
|
+
color: var(--palettes-neutral-400);
|
|
267
|
+
}
|
|
236
268
|
}
|
|
237
269
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
// Error
|
|
244
|
-
:host-context(.textfield-input.is-error) {
|
|
245
|
-
&::after {
|
|
246
|
-
color: var(--palettes-error-600);
|
|
247
|
-
}
|
|
270
|
+
// Error
|
|
271
|
+
:host-context(.textfield-input.is-error) {
|
|
272
|
+
&::after {
|
|
273
|
+
color: var(--palettes-error-600);
|
|
274
|
+
}
|
|
248
275
|
|
|
249
|
-
|
|
250
|
-
|
|
276
|
+
.lu-select-placeholder {
|
|
277
|
+
color: var(--palettes-error-400);
|
|
278
|
+
}
|
|
251
279
|
}
|
|
252
280
|
}
|
|
253
281
|
}
|
|
@@ -257,45 +285,55 @@
|
|
|
257
285
|
|
|
258
286
|
// Filled
|
|
259
287
|
:host-context(.textfield-input.is-filled) {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
288
|
+
@layer states {
|
|
289
|
+
.lu-select-placeholder {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
263
292
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
293
|
+
.lu-select-value {
|
|
294
|
+
display: flex;
|
|
295
|
+
align-items: flex-start;
|
|
296
|
+
}
|
|
267
297
|
}
|
|
268
298
|
}
|
|
269
299
|
|
|
270
300
|
// Focused
|
|
271
301
|
:host-context(.textfield .textfield-input.is-focused) {
|
|
272
|
-
|
|
273
|
-
|
|
302
|
+
@layer states {
|
|
303
|
+
&::after {
|
|
304
|
+
transform: rotate(-180deg);
|
|
305
|
+
}
|
|
274
306
|
}
|
|
275
307
|
}
|
|
276
308
|
|
|
277
309
|
// Clearable
|
|
278
310
|
:host-context(.textfield-input.is-clearable) {
|
|
279
|
-
|
|
280
|
-
|
|
311
|
+
@layer states {
|
|
312
|
+
.lu-select-value {
|
|
313
|
+
padding-inline-end: 3.5rem;
|
|
314
|
+
}
|
|
281
315
|
}
|
|
282
316
|
}
|
|
283
317
|
|
|
284
318
|
// Error
|
|
285
319
|
:host-context(.textfield-input.is-error, .textfield-input.is-invalid, .textfield-input.ng-invalid.ng-touched) {
|
|
286
|
-
|
|
287
|
-
|
|
320
|
+
@layer states {
|
|
321
|
+
.lu-select-placeholder {
|
|
322
|
+
color: var(--palettes-error-400);
|
|
323
|
+
}
|
|
288
324
|
}
|
|
289
325
|
}
|
|
290
326
|
|
|
291
327
|
// Disabled
|
|
292
328
|
:host-context(.textfield-input.is-disabled, .textfield-input[disabled]) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
329
|
+
@layer states {
|
|
330
|
+
&::after {
|
|
331
|
+
color: var(--commons-disabled-color);
|
|
332
|
+
}
|
|
296
333
|
|
|
297
|
-
|
|
298
|
-
|
|
334
|
+
.lu-select-placeholder {
|
|
335
|
+
color: var(--commons-disabled-placeholder);
|
|
336
|
+
}
|
|
299
337
|
}
|
|
300
338
|
}
|
|
301
339
|
}
|
|
File without changes
|