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