@mptw/skylens-ui 1.5.16 → 1.5.18
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/app/components/SLAlertModal.vue +18 -18
- package/app/components/SLButton.vue +108 -148
- package/app/components/SLCalendarButton.vue +24 -24
- package/app/components/SLCard.vue +44 -44
- package/app/components/SLCheckbox.vue +45 -46
- package/app/components/SLCircleButton.vue +13 -13
- package/app/components/SLCollapsableBlock.vue +15 -15
- package/app/components/SLCollapsableMulitPillSelect.vue +9 -9
- package/app/components/SLContextMenu.vue +9 -9
- package/app/components/SLDateInput.vue +41 -48
- package/app/components/SLDownloadButton.vue +12 -12
- package/app/components/SLDropdown.vue +21 -21
- package/app/components/SLDropdownItem.vue +3 -3
- package/app/components/SLElementWithTitle.vue +3 -3
- package/app/components/SLEyeCheckbox.vue +36 -36
- package/app/components/SLFileInput.vue +16 -16
- package/app/components/SLGenderAgeSelect.vue +39 -39
- package/app/components/SLHourRangeInput.vue +19 -20
- package/app/components/SLIOSSwitch.vue +72 -73
- package/app/components/SLIconButton.vue +29 -21
- package/app/components/SLInfoTip.vue +35 -36
- package/app/components/SLLegend.vue +9 -9
- package/app/components/SLLink.vue +3 -3
- package/app/components/SLLoading.vue +25 -25
- package/app/components/SLModal.vue +79 -79
- package/app/components/SLMonthCalendarButton.vue +46 -46
- package/app/components/SLMonthPicker.vue +28 -30
- package/app/components/SLMultiEmailInput.vue +72 -72
- package/app/components/SLMultiSelect.vue +27 -29
- package/app/components/SLPageModal.vue +5 -5
- package/app/components/SLPagination.vue +31 -31
- package/app/components/SLPillCheckbox.vue +42 -42
- package/app/components/SLPillLabel.vue +36 -36
- package/app/components/SLPopupMenuButton.vue +16 -16
- package/app/components/SLProfileButton.vue +17 -17
- package/app/components/SLProjectShareItem.vue +18 -17
- package/app/components/SLRadioButton.vue +33 -33
- package/app/components/SLRadioButtonGroup.vue +6 -6
- package/app/components/SLRadioGroup.vue +93 -93
- package/app/components/SLRangeInput.vue +17 -19
- package/app/components/SLRightSider.vue +19 -20
- package/app/components/SLSearchInput.vue +7 -7
- package/app/components/SLSelect.vue +90 -92
- package/app/components/SLSelectAllToggle.vue +45 -45
- package/app/components/SLSidebarNav.vue +148 -151
- package/app/components/SLSidebarNavGroupItemSection.vue +70 -78
- package/app/components/SLSidebarNavLinkItem.vue +51 -53
- package/app/components/SLSitePage.vue +6 -6
- package/app/components/SLSortByDropdown.vue +18 -18
- package/app/components/SLStayRangeInput.vue +40 -40
- package/app/components/SLTable.vue +56 -59
- package/app/components/SLTableTooltip.vue +31 -33
- package/app/components/SLTabs.vue +220 -220
- package/app/components/SLTextInput.vue +64 -74
- package/app/components/SLTextarea.vue +9 -9
- package/app/components/SLToast.vue +1 -2
- package/app/components/SLToggleButton.vue +12 -12
- package/app/components/SLTwoLayerMultiSelect.vue +56 -56
- package/app/components/SLTwoLayerSelect.vue +39 -39
- package/app/components/SLTwoLayerSingleSelect.vue +21 -21
- package/app/components/SLWarnModal.vue +3 -3
- package/package.json +1 -1
|
@@ -109,133 +109,133 @@ export default defineComponent({
|
|
|
109
109
|
|
|
110
110
|
.radio-group {
|
|
111
111
|
@apply inline-flex p-0.5 bg-primary-100 border border-primary-200 rounded;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.radio-group.radio-group--sm .radio label {
|
|
115
|
-
@apply px-2 py-1.5;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.radio-group.radio-group--xs .radio label {
|
|
119
|
-
@apply px-4 py-0.5 text-sm;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.radio-group.radio-group--xxs {
|
|
123
|
-
@apply p-0.75;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.radio-group.radio-group--xxs .radio label {
|
|
127
|
-
@apply px-2 py-0.75 text-sm;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.radio-group.radio-group--3xs {
|
|
131
|
-
@apply p-0.75;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.radio-group.radio-group--3xs .radio label {
|
|
135
|
-
@apply px-2 py-px text-sm;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.radio-group.radio-group--third-600 {
|
|
139
|
-
@apply bg-third-600 border-third-500;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.radio-group.radio-group--third-600 .radio label {
|
|
143
|
-
@apply bg-third-600 text-white;
|
|
144
|
-
}
|
|
145
112
|
|
|
146
|
-
|
|
113
|
+
&.radio-group--insight-title
|
|
147
114
|
.radio
|
|
148
115
|
input:checked
|
|
149
116
|
+ .element-with-title
|
|
150
117
|
label {
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.radio-group.radio-group--edit {
|
|
155
|
-
@apply bg-edit border-primary;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.radio-group.radio-group--edit.color-invert {
|
|
159
|
-
@apply bg-card-lightpr-bg border-primary-300;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.radio-group.radio-group--edit.color-invert .radio label {
|
|
163
|
-
@apply bg-card-lightpr-bg text-primary-600;
|
|
164
|
-
}
|
|
118
|
+
@apply bg-insight-title text-white;
|
|
119
|
+
}
|
|
165
120
|
|
|
166
|
-
|
|
121
|
+
&.radio-group--third-600
|
|
167
122
|
.radio
|
|
168
123
|
input:checked
|
|
169
124
|
+ .element-with-title
|
|
170
125
|
label {
|
|
171
|
-
|
|
172
|
-
}
|
|
126
|
+
@apply text-third;
|
|
127
|
+
}
|
|
173
128
|
|
|
174
|
-
|
|
175
|
-
@apply bg-edit text-white;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.radio-group.radio-group--edit
|
|
129
|
+
&.radio-group--edit
|
|
179
130
|
.radio
|
|
180
131
|
input:checked
|
|
181
132
|
+ .element-with-title
|
|
182
133
|
label {
|
|
183
|
-
|
|
184
|
-
}
|
|
134
|
+
@apply text-primary;
|
|
135
|
+
}
|
|
185
136
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
137
|
+
&.radio-group--sm .radio label {
|
|
138
|
+
@apply px-2 py-1.5;
|
|
139
|
+
}
|
|
189
140
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
141
|
+
&.radio-group--xs .radio label {
|
|
142
|
+
@apply px-4 py-0.5 text-sm;
|
|
143
|
+
}
|
|
193
144
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
145
|
+
&.radio-group--insight-title {
|
|
146
|
+
@apply bg-primary-100 border-primary-100;
|
|
197
147
|
|
|
198
|
-
|
|
148
|
+
&.color-invert
|
|
199
149
|
.radio
|
|
200
150
|
input:checked
|
|
201
151
|
+ .element-with-title
|
|
202
152
|
label {
|
|
203
|
-
|
|
204
|
-
}
|
|
153
|
+
@apply bg-edit text-white;
|
|
154
|
+
}
|
|
205
155
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
156
|
+
&.color-invert {
|
|
157
|
+
@apply bg-card-lightpr-bg border-primary-300;
|
|
158
|
+
|
|
159
|
+
.radio label {
|
|
160
|
+
@apply bg-card-lightpr-bg text-primary-600;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.radio label {
|
|
165
|
+
@apply bg-primary-100 text-primary;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&.radio-group--third-600 {
|
|
170
|
+
@apply bg-third-600 border-third-500;
|
|
171
|
+
|
|
172
|
+
.radio label {
|
|
173
|
+
@apply bg-third-600 text-white;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
209
176
|
|
|
210
|
-
|
|
177
|
+
&.radio-group--edit {
|
|
178
|
+
@apply bg-edit border-primary;
|
|
179
|
+
|
|
180
|
+
&.color-invert
|
|
211
181
|
.radio
|
|
212
182
|
input:checked
|
|
213
183
|
+ .element-with-title
|
|
214
184
|
label {
|
|
215
|
-
|
|
216
|
-
}
|
|
185
|
+
@apply bg-edit text-white;
|
|
186
|
+
}
|
|
217
187
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
188
|
+
&.color-invert {
|
|
189
|
+
@apply bg-card-lightpr-bg border-primary-300;
|
|
221
190
|
|
|
222
|
-
.radio
|
|
223
|
-
|
|
224
|
-
}
|
|
191
|
+
.radio label {
|
|
192
|
+
@apply bg-card-lightpr-bg text-primary-600;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
225
195
|
|
|
226
|
-
.radio
|
|
227
|
-
|
|
228
|
-
}
|
|
196
|
+
.radio label {
|
|
197
|
+
@apply bg-edit text-white;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
229
200
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
201
|
+
&.radio-group--xxs {
|
|
202
|
+
@apply p-0.75;
|
|
233
203
|
|
|
234
|
-
.radio
|
|
235
|
-
|
|
236
|
-
}
|
|
204
|
+
.radio label {
|
|
205
|
+
@apply px-2 py-0.75 text-sm;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&.radio-group--3xs {
|
|
210
|
+
@apply p-0.75;
|
|
211
|
+
|
|
212
|
+
.radio label {
|
|
213
|
+
@apply px-2 py-px text-sm;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&.disabled {
|
|
218
|
+
@apply bg-pgray-6 border-pgray-6;
|
|
219
|
+
}
|
|
237
220
|
|
|
238
|
-
.radio
|
|
239
|
-
|
|
221
|
+
.radio {
|
|
222
|
+
@apply relative inline-flex;
|
|
223
|
+
|
|
224
|
+
input {
|
|
225
|
+
@apply absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2;
|
|
226
|
+
|
|
227
|
+
&:disabled + .element-with-title label {
|
|
228
|
+
@apply bg-pgray-6 text-pgray-4 cursor-default;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&:checked + .element-with-title label {
|
|
232
|
+
@apply bg-white text-primary shadow-default;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
label {
|
|
237
|
+
@apply inline-flex justify-center items-center relative px-3 py-1.25 bg-primary-100 rounded text-base leading-[1.3125] text-primary-600 cursor-pointer transition;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
240
|
}
|
|
241
241
|
</style>
|
|
@@ -168,29 +168,27 @@ export default defineComponent({
|
|
|
168
168
|
|
|
169
169
|
.range-input.inline {
|
|
170
170
|
@apply flex;
|
|
171
|
-
}
|
|
172
171
|
|
|
173
|
-
.
|
|
174
|
-
|
|
175
|
-
}
|
|
172
|
+
.form-control {
|
|
173
|
+
@apply grow;
|
|
174
|
+
}
|
|
176
175
|
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
> label {
|
|
177
|
+
@apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
|
|
178
|
+
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
.range-input.disabled
|
|
182
182
|
.input-group
|
|
183
183
|
.input-range-group
|
|
184
|
-
.range-input-accept-values,
|
|
185
|
-
.range-input.readonly
|
|
184
|
+
.range-input-accept-values, .range-input.readonly
|
|
186
185
|
.input-group
|
|
187
186
|
.input-range-group
|
|
188
187
|
.range-input-accept-values {
|
|
189
188
|
@apply text-pgray-4;
|
|
190
189
|
}
|
|
191
190
|
|
|
192
|
-
.range-input.disabled .input-group input[type="text"],
|
|
193
|
-
.range-input.readonly .input-group input[type="text"] {
|
|
191
|
+
.range-input.disabled .input-group input[type="text"], .range-input.readonly .input-group input[type="text"] {
|
|
194
192
|
@apply border-primary-600 bg-primary-100;
|
|
195
193
|
}
|
|
196
194
|
|
|
@@ -204,18 +202,18 @@ export default defineComponent({
|
|
|
204
202
|
|
|
205
203
|
.range-input .input-group {
|
|
206
204
|
@apply flex flex-nowrap text-base leading-[1.3125] space-x-4;
|
|
207
|
-
}
|
|
208
205
|
|
|
209
|
-
.
|
|
210
|
-
|
|
211
|
-
}
|
|
206
|
+
.input-range-group {
|
|
207
|
+
@apply grow;
|
|
212
208
|
|
|
213
|
-
.range-input
|
|
214
|
-
|
|
215
|
-
}
|
|
209
|
+
.range-input-accept-values {
|
|
210
|
+
@apply flex justify-between mb-1 text-sm text-pgray-3;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
216
213
|
|
|
217
|
-
|
|
218
|
-
|
|
214
|
+
input[type="text"] {
|
|
215
|
+
@apply grow-0 shrink-0 w-11 bg-white border border-primary-600 rounded text-base text-center text-pgray-2 focus:outline-none;
|
|
216
|
+
}
|
|
219
217
|
}
|
|
220
218
|
|
|
221
219
|
.range-input .invalid-feedback {
|
|
@@ -204,15 +204,14 @@ export default defineComponent({
|
|
|
204
204
|
|
|
205
205
|
.right-sider {
|
|
206
206
|
@apply z-9 fixed top-0 right-0 h-full;
|
|
207
|
-
}
|
|
208
207
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
208
|
+
&.show, &.hover {
|
|
209
|
+
@apply z-50;
|
|
210
|
+
}
|
|
213
211
|
|
|
214
|
-
|
|
215
|
-
|
|
212
|
+
&.show .right-sider-modal {
|
|
213
|
+
@apply block;
|
|
214
|
+
}
|
|
216
215
|
}
|
|
217
216
|
|
|
218
217
|
.right-sider-modal {
|
|
@@ -223,28 +222,28 @@ export default defineComponent({
|
|
|
223
222
|
@apply absolute top-4 left-0 flex p-6 bg-white border-t border-l border-b border-primary-600 rounded-l-lg shadow-popup-lg transition-[margin];
|
|
224
223
|
max-width: calc(100vw - var(--spacing) * 4);
|
|
225
224
|
max-height: calc(100% - var(--spacing) * 8);
|
|
226
|
-
}
|
|
227
225
|
|
|
228
|
-
.
|
|
229
|
-
|
|
230
|
-
}
|
|
226
|
+
.sider-close-button {
|
|
227
|
+
@apply absolute top-0 right-0 inline-flex mt-6 mr-6 text-base text-primary;
|
|
228
|
+
}
|
|
231
229
|
|
|
232
|
-
.
|
|
233
|
-
|
|
234
|
-
}
|
|
230
|
+
.sider-toggle {
|
|
231
|
+
@apply absolute top-0 left-0 inline-flex mt-30.75 -ml-11 p-3 rounded-l-full text-lg text-white;
|
|
235
232
|
|
|
236
|
-
|
|
237
|
-
|
|
233
|
+
&.sider-toggle-purple {
|
|
234
|
+
@apply bg-edit;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.sider-toggle-third {
|
|
238
|
+
@apply bg-third-600;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
238
241
|
}
|
|
239
242
|
|
|
240
243
|
.right-sider-content-wrapper {
|
|
241
244
|
@apply flex max-w-full overflow-hidden;
|
|
242
245
|
}
|
|
243
246
|
|
|
244
|
-
.right-sider-content .sider-close-button {
|
|
245
|
-
@apply absolute top-0 right-0 inline-flex mt-6 mr-6 text-base text-primary;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
247
|
.right-sider-addition-content {
|
|
249
248
|
@apply absolute top-4 right-0 flex bg-white border border-primary-600 rounded-lg overflow-hidden shadow-popup-lg transition-[margin];
|
|
250
249
|
max-height: calc(100% - var(--spacing) * 8);
|
|
@@ -80,10 +80,10 @@ export default defineComponent({
|
|
|
80
80
|
|
|
81
81
|
.search-input.search-input--sm .button-group {
|
|
82
82
|
@apply py-0.75;
|
|
83
|
-
}
|
|
84
83
|
|
|
85
|
-
.
|
|
86
|
-
|
|
84
|
+
.btn {
|
|
85
|
+
@apply text-sm;
|
|
86
|
+
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.search-input .input-group-append {
|
|
@@ -92,13 +92,13 @@ export default defineComponent({
|
|
|
92
92
|
|
|
93
93
|
.search-input .button-group {
|
|
94
94
|
@apply inline-flex items-center py-1.75 pr-1.75 space-x-1.75;
|
|
95
|
+
|
|
96
|
+
.btn {
|
|
97
|
+
@apply p-0 border-0 text-pgray-3 focus:outline-none active:outline-none;
|
|
98
|
+
}
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
.search-input .button-group-divider {
|
|
98
102
|
@apply w-px h-full my-px bg-primary-600;
|
|
99
103
|
}
|
|
100
|
-
|
|
101
|
-
.search-input .button-group .btn {
|
|
102
|
-
@apply p-0 border-0 text-pgray-3 focus:outline-none active:outline-none;
|
|
103
|
-
}
|
|
104
104
|
</style>
|
|
@@ -459,131 +459,129 @@ export default defineComponent({
|
|
|
459
459
|
|
|
460
460
|
.custom-select {
|
|
461
461
|
@apply relative;
|
|
462
|
-
}
|
|
463
462
|
|
|
464
|
-
.
|
|
465
|
-
|
|
466
|
-
}
|
|
463
|
+
&.disabled .form-control label, &.readonly .form-control label {
|
|
464
|
+
@apply border-primary-600 bg-primary-100 text-pgray-4 cursor-default;
|
|
467
465
|
|
|
468
|
-
.
|
|
469
|
-
|
|
470
|
-
}
|
|
466
|
+
.icon, .icon {
|
|
467
|
+
@apply text-pgray-4;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
471
470
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}
|
|
471
|
+
&.custom-select-xs .form-control label {
|
|
472
|
+
@apply py-px px-0.75 text-xs;
|
|
473
|
+
}
|
|
475
474
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
}
|
|
475
|
+
&.custom-select-sm .form-control label {
|
|
476
|
+
@apply py-0.75 text-sm;
|
|
477
|
+
}
|
|
479
478
|
|
|
480
|
-
.
|
|
481
|
-
|
|
482
|
-
}
|
|
479
|
+
.invalid-feedback {
|
|
480
|
+
@apply hidden text-danger text-xs;
|
|
481
|
+
}
|
|
483
482
|
|
|
484
|
-
.
|
|
485
|
-
|
|
486
|
-
@apply border-primary-600 bg-primary-100 text-pgray-4 cursor-default;
|
|
487
|
-
}
|
|
483
|
+
.form-control {
|
|
484
|
+
@apply relative block overflow-hidden;
|
|
488
485
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
}
|
|
486
|
+
&.is-invalid .invalid-feedback {
|
|
487
|
+
@apply block;
|
|
488
|
+
}
|
|
493
489
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
}
|
|
490
|
+
&.is-invalid .toggle-button {
|
|
491
|
+
@apply border-danger-light;
|
|
492
|
+
}
|
|
497
493
|
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
}
|
|
494
|
+
select {
|
|
495
|
+
@apply absolute outline-none;
|
|
496
|
+
}
|
|
501
497
|
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
}
|
|
498
|
+
label {
|
|
499
|
+
@apply relative flex items-center p-1.75 bg-white border border-primary-600 rounded text-base leading-[1.3125] text-pgray-4 space-x-2 cursor-pointer;
|
|
505
500
|
|
|
506
|
-
.
|
|
507
|
-
|
|
508
|
-
}
|
|
501
|
+
.button-title {
|
|
502
|
+
@apply grow truncate;
|
|
503
|
+
}
|
|
509
504
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
}
|
|
505
|
+
&.selected {
|
|
506
|
+
@apply text-pgray-2;
|
|
507
|
+
}
|
|
513
508
|
|
|
514
|
-
.
|
|
515
|
-
|
|
516
|
-
}
|
|
509
|
+
.icon {
|
|
510
|
+
@apply grow-0 shrink-0 text-xs text-pgray-2;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
517
514
|
|
|
518
|
-
.
|
|
519
|
-
|
|
520
|
-
}
|
|
515
|
+
.input-label {
|
|
516
|
+
@apply mb-2 text-base leading-[1.3125] text-pgray-2;
|
|
517
|
+
}
|
|
521
518
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
}
|
|
519
|
+
&.inline {
|
|
520
|
+
@apply flex;
|
|
525
521
|
|
|
526
|
-
.
|
|
527
|
-
|
|
528
|
-
}
|
|
522
|
+
.form-control {
|
|
523
|
+
@apply grow;
|
|
524
|
+
}
|
|
529
525
|
|
|
530
|
-
.
|
|
531
|
-
|
|
526
|
+
.input-label {
|
|
527
|
+
@apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
532
530
|
}
|
|
533
531
|
|
|
534
532
|
.select-options {
|
|
535
533
|
@apply flex flex-col z-60 absolute invisible border border-primary-600 rounded bg-white overflow-hidden pointer-events-none;
|
|
536
|
-
}
|
|
537
534
|
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}
|
|
535
|
+
&.select-options--xs .option-list .option-button {
|
|
536
|
+
@apply py-1 text-xs;
|
|
537
|
+
}
|
|
541
538
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
}
|
|
539
|
+
&.select-options--sm .option-list .option-button {
|
|
540
|
+
@apply py-1 text-sm;
|
|
541
|
+
}
|
|
545
542
|
|
|
546
|
-
.
|
|
547
|
-
|
|
548
|
-
}
|
|
543
|
+
.options-wrapper {
|
|
544
|
+
@apply relative w-full max-h-[11.6875rem] rounded overflow-auto;
|
|
545
|
+
}
|
|
549
546
|
|
|
550
|
-
.
|
|
551
|
-
|
|
552
|
-
}
|
|
547
|
+
.options-header {
|
|
548
|
+
@apply p-1;
|
|
549
|
+
}
|
|
553
550
|
|
|
554
|
-
.
|
|
555
|
-
|
|
556
|
-
}
|
|
551
|
+
.option-list {
|
|
552
|
+
@apply flex flex-col;
|
|
557
553
|
|
|
558
|
-
.
|
|
559
|
-
|
|
560
|
-
}
|
|
554
|
+
.option-button {
|
|
555
|
+
@apply block min-w-[10.125rem] p-1.75 bg-white text-base leading-[1.3125] text-pgray-3 hover:bg-primary-100 hover:text-primary;
|
|
561
556
|
|
|
562
|
-
.
|
|
563
|
-
|
|
564
|
-
}
|
|
557
|
+
.icon-check-square {
|
|
558
|
+
@apply hidden;
|
|
559
|
+
}
|
|
565
560
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}
|
|
561
|
+
&.selected {
|
|
562
|
+
@apply bg-primary-100 text-primary;
|
|
569
563
|
|
|
570
|
-
.
|
|
571
|
-
|
|
572
|
-
}
|
|
564
|
+
.icon-check-square {
|
|
565
|
+
@apply inline-block;
|
|
566
|
+
}
|
|
573
567
|
|
|
574
|
-
.
|
|
575
|
-
|
|
576
|
-
}
|
|
568
|
+
.icon-square {
|
|
569
|
+
@apply hidden;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
577
572
|
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
}
|
|
573
|
+
&.disabled {
|
|
574
|
+
@apply cursor-default hover:bg-white hover:text-pgray-3;
|
|
575
|
+
}
|
|
581
576
|
|
|
582
|
-
.
|
|
583
|
-
|
|
584
|
-
}
|
|
577
|
+
.icon {
|
|
578
|
+
@apply mr-2;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
585
582
|
|
|
586
|
-
|
|
587
|
-
|
|
583
|
+
&[data-show] {
|
|
584
|
+
@apply visible pointer-events-auto;
|
|
585
|
+
}
|
|
588
586
|
}
|
|
589
587
|
</style>
|