plugin-ui-for-kzt 0.0.22 → 0.0.25
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/assets/0e28e37419c99ac65b12.png +0 -0
- package/dist/assets/264165b2b0e8a6840eb0.png +0 -0
- package/dist/components/BaseBadge/BaseBadge.vue.d.ts +1 -1
- package/dist/components/BaseButton/BaseButton.vue.d.ts +3 -3
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +4 -4
- package/dist/components/{Spinner/Spinner.vue.d.ts → BaseDefaultPages/BaseDefaultPages.vue.d.ts} +9 -15
- package/dist/components/BaseDropdown/BaseDropdown.vue.d.ts +3 -3
- package/dist/components/BaseField/BaseField.vue.d.ts +2 -2
- package/dist/components/BaseInput/BaseInput.vue.d.ts +7 -7
- package/dist/components/BaseInputCalendar/BaseInputCalendar.vue.d.ts +5 -5
- package/dist/components/BaseInputCurrency/BaseInputCurrency.vue.d.ts +6 -6
- package/dist/components/BaseInputEmail/BaseInputEmail.vue.d.ts +5 -5
- package/dist/components/BaseInputPhone/BaseInputPhone.vue.d.ts +5 -5
- package/dist/components/BaseOpenedListItem/BaseOpenedListItem.vue.d.ts +3 -3
- package/dist/components/{Tooltip/Tooltip.vue.d.ts → BasePageLoader/BasePageLoader.vue.d.ts} +24 -11
- package/dist/components/BasePagination/BasePagination.vue.d.ts +1 -1
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +4 -4
- package/dist/components/BaseSegmentedButtons/BaseSegmentedButtons.vue.d.ts +3 -3
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +4 -4
- package/dist/components/BaseTable/BaseTable.vue.d.ts +44 -0
- package/dist/components/BaseTabs/BaseTabs.vue.d.ts +25 -0
- package/dist/components/BaseTag/BaseTag.vue.d.ts +1 -1
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +5 -5
- package/dist/components/BaseToast/BaseToast.vue.d.ts +69 -0
- package/dist/components/BaseToggle/BaseToggle.vue.d.ts +4 -4
- package/dist/components/BaseUpload/BaseUpload.vue.d.ts +11 -0
- package/dist/components/{DataTable/DataTable.vue.d.ts → BaseUpload/CropModal.vue.d.ts} +3 -6
- package/dist/composables/useToast.d.ts +2 -0
- package/dist/index.d.ts +7 -5
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +15 -0
- package/dist/plugins/toastPlugin.d.ts +4 -0
- package/dist/sprite.svg +1 -1
- package/dist/store/toast.d.ts +8 -0
- package/example/App.vue +201 -28
- package/example/TestImage.vue +6 -0
- package/package.json +2 -1
- package/src/assets/404.png +0 -0
- package/src/assets/icons/arrow-down-stick.svg +4 -0
- package/src/assets/icons/edit-table.svg +5 -0
- package/src/assets/icons/ellipsis.svg +5 -0
- package/src/assets/icons/loading-page-default.svg +4 -0
- package/src/assets/icons/loading-page-error.svg +6 -0
- package/src/assets/icons/loading-page-success.svg +5 -0
- package/src/assets/icons/loading-page-warning.svg +6 -0
- package/src/assets/icons/more-dots.svg +5 -0
- package/src/assets/icons/time-table.svg +7 -0
- package/src/assets/icons/toast-error.svg +3 -0
- package/src/assets/icons/toast-info.svg +3 -0
- package/src/assets/icons/toast-success.svg +3 -0
- package/src/assets/icons/toast-warning.svg +3 -0
- package/src/assets/icons/trash-table.svg +7 -0
- package/src/assets/tech-work.png +0 -0
- package/src/components/BaseCheckbox/BaseCheckbox.vue +76 -46
- package/src/components/BaseChips/BaseChips.vue +3 -1
- package/src/components/BaseDefaultPages/BaseDefaultPages.vue +140 -0
- package/src/components/BaseDefaultPages/README.md +128 -0
- package/src/components/BaseOpenedListItem/BaseOpenedListItem.vue +3 -3
- package/src/components/BasePageLoader/BasePageLoader.vue +211 -0
- package/src/components/BasePageLoader/README.md +80 -0
- package/src/components/BaseRadio/BaseRadio.vue +266 -233
- package/src/components/BaseSelect/BaseSelect.vue +7 -3
- package/src/components/BaseTable/BaseTable.vue +411 -0
- package/src/components/BaseTable/README.md +294 -0
- package/src/components/BaseTabs/BaseTabs.vue +193 -0
- package/src/components/BaseToast/BaseToast.vue +200 -0
- package/src/components/BaseToast/README.md +103 -0
- package/src/components/BaseTooltip/BaseTooltip.vue +1 -0
- package/src/components/BaseUpload/BaseUpload.vue +36 -2
- package/src/components/BaseUpload/CropModal.vue +210 -0
- package/src/composables/useToast.ts +10 -0
- package/src/index.ts +20 -13
- package/src/plugins/toastPlugin.ts +100 -0
- package/src/store/toast.ts +59 -0
- package/src/styles/root.scss +2 -0
- package/src/styles/toast.scss +36 -0
- package/src/types/default-pages.d.ts +6 -0
- package/src/types/loading-page.d.ts +12 -0
- package/src/types/pagination.d.ts +1 -0
- package/src/types/tab.d.ts +17 -0
- package/src/types/table.d.ts +33 -0
- package/src/types/toast.d.ts +25 -0
- package/src/types/uploadedFile.d.ts +7 -0
- package/webpack.config.js +12 -0
- package/dist/components/Toaster/Toaster.vue.d.ts +0 -80
- package/dist/components/Toaster/timer.d.ts +0 -12
- package/dist/plugins/toasterPlugin.d.ts +0 -26
- package/src/components/DataTable/DataTable.vue +0 -169
- package/src/components/DataTable/README.md +0 -57
- package/src/components/Spinner/README.md +0 -35
- package/src/components/Spinner/Spinner.vue +0 -60
- package/src/components/Toaster/README.md +0 -70
- package/src/components/Toaster/Toaster.vue +0 -235
- package/src/components/Toaster/timer.ts +0 -45
- package/src/components/Tooltip/README.md +0 -37
- package/src/components/Tooltip/Tooltip.vue +0 -96
- package/src/components/icons/CloseIcon.vue +0 -5
- package/src/components/icons/ErrorIcon.vue +0 -7
- package/src/components/icons/InfoIcon.vue +0 -7
- package/src/components/icons/SuccessIcon.vue +0 -6
- package/src/components/icons/WarningIcon.vue +0 -7
- package/src/plugins/toasterPlugin.ts +0 -179
|
@@ -4,27 +4,23 @@
|
|
|
4
4
|
:class="classList"
|
|
5
5
|
>
|
|
6
6
|
<div class="base-radio__wrapper" @click="handleToggle">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<div class="base-radio__icon" />
|
|
18
|
-
|
|
7
|
+
<div class="base-radio__input-wrapper">
|
|
8
|
+
<input
|
|
9
|
+
v-model="model"
|
|
10
|
+
v-bind="inputAttrs"
|
|
11
|
+
type="radio"
|
|
12
|
+
class="base-radio__input"
|
|
13
|
+
/>
|
|
14
|
+
<div class="base-radio__icon" />
|
|
15
|
+
</div>
|
|
19
16
|
<div class="base-radio__label-wrapper">
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</div>
|
|
17
|
+
<span v-if="label" class="base-radio__label">{{ label }}</span>
|
|
18
|
+
<span v-if="subLabel" class="base-radio__sublabel">{{ subLabel }}</span>
|
|
19
|
+
</div>
|
|
24
20
|
</div>
|
|
25
21
|
</div>
|
|
26
22
|
</template>
|
|
27
|
-
|
|
23
|
+
|
|
28
24
|
<script setup lang="ts">
|
|
29
25
|
import { computed, useAttrs } from 'vue';
|
|
30
26
|
import type { IBaseRadioProps } from '../../types/checkbox-radio';
|
|
@@ -32,19 +28,19 @@ import { useKitSize } from '../../composables/kit/size'
|
|
|
32
28
|
import { useKitState } from '../../composables/kit/state'
|
|
33
29
|
|
|
34
30
|
const props = withDefaults(defineProps<IBaseRadioProps>(), {
|
|
35
|
-
size: 'medium',
|
|
31
|
+
size: 'medium',
|
|
36
32
|
});
|
|
37
33
|
|
|
38
34
|
const emit = defineEmits<{
|
|
39
|
-
|
|
35
|
+
(e: 'update:modelValue', value: boolean): void;
|
|
40
36
|
}>();
|
|
41
37
|
|
|
42
38
|
const { sizeClassList } = useKitSize(props);
|
|
43
39
|
const { stateClassList, stateAttrs } = useKitState(props);
|
|
44
40
|
|
|
45
41
|
const model = computed({
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
get: () => props.modelValue,
|
|
43
|
+
set: (val) => emit('update:modelValue', val),
|
|
48
44
|
});
|
|
49
45
|
|
|
50
46
|
const attrs = useAttrs();
|
|
@@ -58,226 +54,263 @@ return {
|
|
|
58
54
|
});
|
|
59
55
|
|
|
60
56
|
function handleToggle() {
|
|
61
|
-
model.value = !model.value;
|
|
57
|
+
model.value = !model.value;
|
|
62
58
|
}
|
|
63
59
|
|
|
64
60
|
const classList = computed(() => [
|
|
65
|
-
sizeClassList.value,
|
|
66
|
-
stateClassList.value,
|
|
67
|
-
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
},
|
|
61
|
+
sizeClassList.value,
|
|
62
|
+
stateClassList.value,
|
|
63
|
+
{
|
|
64
|
+
'--is-active': model.value,
|
|
65
|
+
'--is-readonly': props.readonly,
|
|
66
|
+
},
|
|
71
67
|
]);
|
|
72
68
|
</script>
|
|
73
|
-
|
|
69
|
+
|
|
74
70
|
<style scoped lang="scss">
|
|
75
71
|
@import '../../styles/variables';
|
|
76
72
|
@import '../../styles/root';
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
&__label-wrapper {
|
|
227
|
-
display: flex;
|
|
228
|
-
flex-direction: column;
|
|
229
|
-
justify-content: center;
|
|
230
|
-
cursor: pointer;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
&__label {
|
|
234
|
-
color: var(--primary-text-primary);
|
|
235
|
-
user-select: none;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
&__sublabel {
|
|
239
|
-
color: var(--primary-text-tertiary);
|
|
240
|
-
user-select: none;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
@include hover {
|
|
244
|
-
#{$item} {
|
|
73
|
+
|
|
74
|
+
.base-radio {
|
|
75
|
+
$item: &;
|
|
76
|
+
|
|
77
|
+
&__wrapper {
|
|
78
|
+
display: flex;
|
|
79
|
+
column-gap: 10px;
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: 100%;
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&__icon {
|
|
86
|
+
position: relative;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-shrink: 0;
|
|
89
|
+
background: var(--primary-black-white);
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
transition:
|
|
92
|
+
border-color 0.3s ease,
|
|
93
|
+
background-color 0.3s ease;
|
|
94
|
+
|
|
95
|
+
@include focused {
|
|
96
|
+
outline: 2px solid var(--effects-primary-focus);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&::before,
|
|
100
|
+
&::after {
|
|
101
|
+
position: absolute;
|
|
102
|
+
top: 50%;
|
|
103
|
+
left: 50%;
|
|
104
|
+
width: 100%;
|
|
105
|
+
height: 100%;
|
|
106
|
+
content: '';
|
|
107
|
+
border-radius: 50%;
|
|
108
|
+
transform: translate3d(-50%, -50%, 0);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&::before {
|
|
112
|
+
background: var(--primary-blue-50);
|
|
113
|
+
opacity: 0;
|
|
114
|
+
transition: opacity 0.3s ease;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&::after {
|
|
118
|
+
background: var(--primary-blue);
|
|
119
|
+
opacity: 0;
|
|
120
|
+
transition:
|
|
121
|
+
opacity 0.3s ease,
|
|
122
|
+
transform 0.3s ease;
|
|
123
|
+
transform: translate3d(-50%, -50%, 0) scale(0.4);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&.--is-readonly {
|
|
128
|
+
pointer-events: none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.--small-size {
|
|
132
|
+
#{$item} {
|
|
133
|
+
&__wrapper {
|
|
134
|
+
column-gap: var(--spacing-s);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&__label {
|
|
138
|
+
font: var(--typography-text-s-medium);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&__sublabel {
|
|
142
|
+
font: var(--typography-text-xs-regular);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&__icon {
|
|
146
|
+
width: 20px;
|
|
147
|
+
height: 20px;
|
|
148
|
+
border: 1.5px solid var(--primary-black-400);
|
|
149
|
+
|
|
150
|
+
&::before {
|
|
151
|
+
width: calc(100% - 2px);
|
|
152
|
+
height: calc(100% - 2px);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.--is-active {
|
|
158
|
+
#{$item} {
|
|
159
|
+
&__icon {
|
|
160
|
+
&::after {
|
|
161
|
+
width: 7.5px;
|
|
162
|
+
height: 7.5px;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&.--medium-size {
|
|
170
|
+
#{$item} {
|
|
171
|
+
&__wrapper {
|
|
172
|
+
column-gap: var(--spacing-m);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&__label {
|
|
176
|
+
font: var(--typography-text-s-medium);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&__sublabel {
|
|
180
|
+
font: var(--typography-text-xs-regular);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&__icon {
|
|
184
|
+
width: 24px;
|
|
185
|
+
height: 24px;
|
|
186
|
+
border: 1.5px solid var(--primary-black-400);
|
|
187
|
+
|
|
188
|
+
&::before {
|
|
189
|
+
width: calc(100% - 4px);
|
|
190
|
+
height: calc(100% - 4px);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&.--is-active {
|
|
196
|
+
#{$item} {
|
|
197
|
+
&__icon {
|
|
198
|
+
&::after {
|
|
199
|
+
width: 9px;
|
|
200
|
+
height: 9px;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.--large-size {
|
|
208
|
+
#{$item} {
|
|
209
|
+
&__wrapper {
|
|
210
|
+
column-gap: var(--spacing-l);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
&__label {
|
|
214
|
+
font: var(--typography-text-m-medium);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&__sublabel {
|
|
218
|
+
font: var(--typography-text-s-regular);
|
|
219
|
+
}
|
|
220
|
+
|
|
245
221
|
&__icon {
|
|
246
|
-
|
|
222
|
+
width: 32px;
|
|
223
|
+
height: 32px;
|
|
224
|
+
border: 2px solid var(--primary-black-400);
|
|
225
|
+
|
|
226
|
+
&::before {
|
|
227
|
+
width: calc(100% - 2px);
|
|
228
|
+
height: calc(100% - 2px);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&.--is-active {
|
|
234
|
+
#{$item} {
|
|
235
|
+
&__icon {
|
|
236
|
+
&::after {
|
|
237
|
+
width: 12.8px;
|
|
238
|
+
height: 12.8px;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&__input-wrapper {
|
|
246
|
+
position: relative;
|
|
247
|
+
cursor: pointer;
|
|
248
|
+
transition: all 0.25s ease-out;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&__input {
|
|
252
|
+
position: absolute;
|
|
253
|
+
inset: 0;
|
|
254
|
+
width: 100%;
|
|
255
|
+
height: 100%;
|
|
256
|
+
cursor: pointer;
|
|
257
|
+
opacity: 0 !important;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&__label-wrapper {
|
|
261
|
+
display: flex;
|
|
262
|
+
flex-direction: column;
|
|
263
|
+
justify-content: center;
|
|
264
|
+
cursor: pointer;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&__label {
|
|
268
|
+
color: var(--primary-text-primary);
|
|
269
|
+
user-select: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&__sublabel {
|
|
273
|
+
color: var(--primary-text-tertiary);
|
|
274
|
+
user-select: none;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@include hover {
|
|
278
|
+
#{$item} {
|
|
279
|
+
&__icon {
|
|
280
|
+
background-color: var(--primary-blue-100);
|
|
247
281
|
border-color: var(--primary-blue-deep);
|
|
248
282
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&.--is-active {
|
|
287
|
+
#{$item} {
|
|
288
|
+
&__icon {
|
|
289
|
+
border: 2px solid var(--primary-blue);
|
|
290
|
+
|
|
291
|
+
&::before {
|
|
292
|
+
opacity: 1;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&::after {
|
|
296
|
+
opacity: 1;
|
|
297
|
+
transform: translate3d(-50%, -50%, 0) scale(1);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@include is-disabled-state {
|
|
304
|
+
#{$item} {
|
|
305
|
+
&__icon {
|
|
306
|
+
background: var(--primary-black-50);
|
|
307
|
+
border: 1px solid var(--primary-black-300);
|
|
308
|
+
|
|
309
|
+
&::after {
|
|
310
|
+
background: var(--primary-black-300);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
</style>
|
|
@@ -222,6 +222,10 @@ defineSlots<{
|
|
|
222
222
|
border-radius: var(--corner-radius-m);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
+
&__header_value {
|
|
226
|
+
color: var(--primary-text-primary);
|
|
227
|
+
}
|
|
228
|
+
|
|
225
229
|
&__placeholder {
|
|
226
230
|
@include text-clamp(1);
|
|
227
231
|
|
|
@@ -257,7 +261,7 @@ defineSlots<{
|
|
|
257
261
|
|
|
258
262
|
&.--small-size {
|
|
259
263
|
#{$select} {
|
|
260
|
-
&__header_value {
|
|
264
|
+
&__header_value, &__placeholder {
|
|
261
265
|
font: var(--typography-text-m-regular);
|
|
262
266
|
}
|
|
263
267
|
|
|
@@ -280,7 +284,7 @@ defineSlots<{
|
|
|
280
284
|
|
|
281
285
|
&.--medium-size {
|
|
282
286
|
#{$select} {
|
|
283
|
-
&__header_value {
|
|
287
|
+
&__header_value, &__placeholder {
|
|
284
288
|
font: var(--typography-text-m-regular);
|
|
285
289
|
}
|
|
286
290
|
|
|
@@ -298,7 +302,7 @@ defineSlots<{
|
|
|
298
302
|
|
|
299
303
|
&.--large-size {
|
|
300
304
|
#{$select} {
|
|
301
|
-
&__header_value {
|
|
305
|
+
&__header_value, &__placeholder {
|
|
302
306
|
font: var(--typography-text-l-regular);
|
|
303
307
|
}
|
|
304
308
|
|