@itcase/ui 1.8.90 → 1.8.92
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/{Avatar_cjs_CoDaXDKy.js → Avatar_cjs_Dh7c9RmS.js} +2 -2
- package/dist/{Avatar_es_DUtgRVQ7.js → Avatar_es_D4xUwAOB.js} +2 -2
- package/dist/{Button_cjs_Crmtn084.js → Button_cjs_CQzbBsB0.js} +3 -3
- package/dist/{Button_es_BTidGO25.js → Button_es_Bj8CZ_bh.js} +3 -3
- package/dist/{ChipsGroup_cjs_BfzeDpwM.js → ChipsGroup_cjs_7mHtHzNh.js} +5 -5
- package/dist/{ChipsGroup_es_tfEKBIc4.js → ChipsGroup_es_Cz_gDYsw.js} +5 -5
- package/dist/{DatePicker_cjs_DGlgp1Oj.js → DatePicker_cjs_CnFVTsC1.js} +4 -4
- package/dist/{DatePicker_es_6j1FwGTI.js → DatePicker_es_DTSHtynU.js} +4 -4
- package/dist/{DropdownItem_cjs_eiWqrFRW.js → DropdownItem_cjs_DrMFaKh6.js} +2 -2
- package/dist/{DropdownItem_es_CHGCRZt0.js → DropdownItem_es_Dp7-DGkV.js} +2 -2
- package/dist/{Icon_cjs_CdFkbmKN.js → Icon_cjs_CDMtlf1A.js} +1 -1
- package/dist/{Icon_es_BpZIoe9M.js → Icon_es_MOmiy9nF.js} +1 -1
- package/dist/{Label_cjs_CFzGH1Ah.js → Label_cjs_BTLhlnJW.js} +2 -2
- package/dist/{Label_es_D-tO6hy7.js → Label_es_DBPp2ots.js} +2 -2
- package/dist/{Loader_cjs_DlnM5Vzb.js → Loader_cjs_mB_UCgBG.js} +1 -1
- package/dist/{Loader_es_DhNCKZ8Y.js → Loader_es_Dfs_VYxV.js} +1 -1
- package/dist/{Text_cjs_B8nNXWBA.js → Text_cjs_DmuzuKFj.js} +15 -8
- package/dist/{Text_es_BvmOR4nv.js → Text_es_DIU5ySvf.js} +15 -8
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +3 -3
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +2 -2
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +3 -3
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +3 -3
- package/dist/cjs/components/CookiesWarning.js +4 -4
- package/dist/cjs/components/DatePeriod.js +7 -7
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Drawer.js +2 -2
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/HeroTitle.js +2 -2
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/Response.js +5 -5
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Segmented.js +2 -2
- package/dist/cjs/components/Select/stories/__mock__.js +64 -0
- package/dist/cjs/components/Select.js +333 -41
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +2 -2
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +2 -2
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Warning.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +3 -3
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +3 -3
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +3 -3
- package/dist/components/CookiesWarning.js +4 -4
- package/dist/components/DatePeriod.js +7 -7
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Drawer.js +2 -2
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/HeroTitle.js +2 -2
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/Label.js +3 -3
- package/dist/components/Loader.js +2 -2
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +3 -3
- package/dist/components/Notification.js +2 -2
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Radio.js +1 -1
- package/dist/components/Response.js +5 -5
- package/dist/components/Search.js +2 -2
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Select/stories/__mock__.js +62 -0
- package/dist/components/Select.js +334 -42
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +2 -2
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +2 -2
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Warning.js +2 -2
- package/dist/css/components/Select/Select.css +15 -111
- package/dist/css/components/Select/css/__menu/select__menu.css +0 -4
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +1 -3
- package/dist/css/components/Select/css/__option/select__option.css +0 -50
- package/dist/css/components/Select/css/__single-value/select__single-value.css +0 -1
- package/dist/types/components/Select/SelectLoadingIndicator.d.ts +1 -2
- package/dist/types/components/Select/SelectLoadingMessage.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectDefault.d.ts +21 -3
- package/dist/types/components/Select/appearance/selectDisabled.d.ts +31 -0
- package/dist/types/components/Select/appearance/selectError.d.ts +31 -0
- package/dist/types/components/Select/appearance/selectRequire.d.ts +31 -0
- package/dist/types/components/Select/appearance/selectShape.d.ts +22 -0
- package/dist/types/components/Select/appearance/selectSize.d.ts +101 -0
- package/dist/types/components/Select/appearance/selectStyle.d.ts +16 -0
- package/dist/types/components/Select/appearance/selectSuccess.d.ts +33 -0
- package/package.json +7 -7
- package/dist/css/components/Select/css/__control/select__control_fill.css +0 -17
- package/dist/css/components/Select/css/__control/select__control_shape.css +0 -12
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
^^&__option {
|
|
41
41
|
padding: var(--select-$(size)-padding);
|
|
42
42
|
}
|
|
43
|
+
^^&__multi-value-item {
|
|
44
|
+
padding: var(--select-multi-item-$(size)-padding);
|
|
45
|
+
}
|
|
43
46
|
^^&__menu {
|
|
44
47
|
&-notice {
|
|
45
48
|
padding: var(--select-$(size)-padding);
|
|
@@ -117,37 +120,6 @@
|
|
|
117
120
|
}
|
|
118
121
|
}
|
|
119
122
|
|
|
120
|
-
.select {
|
|
121
|
-
&__control {
|
|
122
|
-
&_fill {
|
|
123
|
-
@each $type in accent, primary, secondary, tertiary, surface, success,
|
|
124
|
-
error {
|
|
125
|
-
&_$(type) {
|
|
126
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
|
127
|
-
senary, accent, disabled, hover {
|
|
128
|
-
&-$(color) {
|
|
129
|
-
background: var(--color-$(type)-fill-$(color));
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.select {
|
|
139
|
-
&__control {
|
|
140
|
-
&_shape {
|
|
141
|
-
&_rounded {
|
|
142
|
-
border-radius: var(--select-control-shape-rounded);
|
|
143
|
-
}
|
|
144
|
-
&_circular {
|
|
145
|
-
border-radius: 50%;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
123
|
.select {
|
|
152
124
|
&__placeholder {
|
|
153
125
|
position: absolute;
|
|
@@ -230,10 +202,7 @@
|
|
|
230
202
|
.select {
|
|
231
203
|
&__menu {
|
|
232
204
|
width: 100%;
|
|
233
|
-
background: var(--color-surface-fill-primary);
|
|
234
205
|
padding: 12px 0;
|
|
235
|
-
margin: var(--select-menu-margin);
|
|
236
|
-
border-radius: var(--select-menu-border-radius);
|
|
237
206
|
border-top: none;
|
|
238
207
|
position: absolute;
|
|
239
208
|
left: 0;
|
|
@@ -269,7 +238,6 @@
|
|
|
269
238
|
bottom: 0;
|
|
270
239
|
}
|
|
271
240
|
}
|
|
272
|
-
|
|
273
241
|
&--is-multi {
|
|
274
242
|
^^^&__option {
|
|
275
243
|
&--is-selected {
|
|
@@ -289,9 +257,7 @@
|
|
|
289
257
|
}
|
|
290
258
|
|
|
291
259
|
.select__multi-value {
|
|
292
|
-
&-
|
|
293
|
-
padding: var(--select-multi-value-padding);
|
|
294
|
-
border-radius: var(--select-multi-value-border-radius);
|
|
260
|
+
&-item {
|
|
295
261
|
^&__label {
|
|
296
262
|
display: flex;
|
|
297
263
|
}
|
|
@@ -302,63 +268,12 @@
|
|
|
302
268
|
&__option {
|
|
303
269
|
display: flex;
|
|
304
270
|
cursor: pointer;
|
|
305
|
-
/* &-label {
|
|
306
|
-
width: 100%;
|
|
307
|
-
position: relative;
|
|
308
|
-
display: block;
|
|
309
|
-
z-index: 100;
|
|
310
|
-
cursor: pointer;
|
|
311
|
-
}
|
|
312
|
-
&-checkbox {
|
|
313
|
-
opacity: 0%;
|
|
314
|
-
&:checked {
|
|
315
|
-
& + .form-select {
|
|
316
|
-
&__option-state {
|
|
317
|
-
&::before {
|
|
318
|
-
width: 8px;
|
|
319
|
-
height: 8px;
|
|
320
|
-
border-radius: 50%;
|
|
321
|
-
position: absolute;
|
|
322
|
-
content: '';
|
|
323
|
-
display: block;
|
|
324
|
-
left: 2px;
|
|
325
|
-
top: 2px;
|
|
326
|
-
z-index: 2;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
&-state {
|
|
333
|
-
width: 14px;
|
|
334
|
-
height: 14px;
|
|
335
|
-
background: none;
|
|
336
|
-
border-radius: 2px;
|
|
337
|
-
position: absolute;
|
|
338
|
-
content: '';
|
|
339
|
-
display: block;
|
|
340
|
-
left: 0;
|
|
341
|
-
top: 2px;
|
|
342
|
-
z-index: 1;
|
|
343
|
-
}
|
|
344
|
-
&-text {
|
|
345
|
-
padding: 0 0 0 8px;
|
|
346
|
-
} */
|
|
347
|
-
&--is-selected {
|
|
348
|
-
/* color: var(--color-surface-text-primary);
|
|
349
|
-
background: var(--color-surface-primary-hover); */
|
|
350
|
-
}
|
|
351
|
-
&--is-focused {
|
|
352
|
-
/* color: var(--color-surface-text-primary);
|
|
353
|
-
background: var(--color-surface-primary-hover); */
|
|
354
|
-
}
|
|
355
271
|
}
|
|
356
272
|
}
|
|
357
273
|
|
|
358
274
|
.select {
|
|
359
275
|
&__single-value {
|
|
360
276
|
display: flex;
|
|
361
|
-
/* position: absolute; */
|
|
362
277
|
}
|
|
363
278
|
}
|
|
364
279
|
|
|
@@ -385,26 +300,18 @@
|
|
|
385
300
|
}
|
|
386
301
|
|
|
387
302
|
:root {
|
|
388
|
-
--select-xxl-padding:
|
|
389
|
-
--select-xl-padding:
|
|
390
|
-
--select-
|
|
391
|
-
--select-
|
|
392
|
-
--select-
|
|
393
|
-
--select-l-padding: 7px 15px;
|
|
394
|
-
|
|
395
|
-
--select-menu-border-radius: 12px;
|
|
396
|
-
--select-menu-margin: 0;
|
|
303
|
+
--select-xxl-padding: 16px 12px;
|
|
304
|
+
--select-xl-padding: 12px 12px;
|
|
305
|
+
--select-m-padding: 8px 12px;
|
|
306
|
+
--select-s-padding: 2px 12px;
|
|
307
|
+
--select-xs-padding: 2px 12px;
|
|
397
308
|
|
|
398
|
-
--select-
|
|
399
|
-
|
|
400
|
-
--select-
|
|
401
|
-
--select-
|
|
402
|
-
--select-
|
|
403
|
-
--select-
|
|
404
|
-
--select-success-border: var(--color-success-border-secondary);
|
|
405
|
-
--select-success-border-hover: var(--color-surface-border-quaternary);
|
|
406
|
-
--select-error-border: var(--color-error-border-secondary);
|
|
407
|
-
--select-error-hover: var(--color-error-border-secondary);
|
|
309
|
+
--select-multi-item-xxl-padding: 5px;
|
|
310
|
+
--select-multi-item-xl-padding: 5px;
|
|
311
|
+
--select-multi-item-l-padding: 5px;
|
|
312
|
+
--select-multi-item-m-padding: 5px;
|
|
313
|
+
--select-multi-item-s-padding: 5px;
|
|
314
|
+
--select-multi-item-xs-padding: 5px;
|
|
408
315
|
|
|
409
316
|
--select-menu-list-item-xxl-padding: 18px 25px;
|
|
410
317
|
--select-menu-list-item-xl-padding: 14px 20px;
|
|
@@ -412,7 +319,4 @@
|
|
|
412
319
|
--select-menu-list-item-m-padding: 8px 12px;
|
|
413
320
|
--select-menu-list-item-s-padding: 6px 10px;
|
|
414
321
|
--select-menu-list-item-xs-padding: 2px 8px;
|
|
415
|
-
|
|
416
|
-
--select-multi-value-padding: 2px 6px;
|
|
417
|
-
--select-multi-value-border-radius: 0;
|
|
418
322
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
.select {
|
|
2
2
|
&__menu {
|
|
3
3
|
width: 100%;
|
|
4
|
-
background: var(--color-surface-fill-primary);
|
|
5
4
|
padding: 12px 0;
|
|
6
|
-
margin: var(--select-menu-margin);
|
|
7
|
-
border-radius: var(--select-menu-border-radius);
|
|
8
5
|
border-top: none;
|
|
9
6
|
position: absolute;
|
|
10
7
|
left: 0;
|
|
@@ -40,7 +37,6 @@
|
|
|
40
37
|
bottom: 0;
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
|
-
|
|
44
40
|
&--is-multi {
|
|
45
41
|
^^^&__option {
|
|
46
42
|
&--is-selected {
|
|
@@ -2,55 +2,5 @@
|
|
|
2
2
|
&__option {
|
|
3
3
|
display: flex;
|
|
4
4
|
cursor: pointer;
|
|
5
|
-
/* &-label {
|
|
6
|
-
width: 100%;
|
|
7
|
-
position: relative;
|
|
8
|
-
display: block;
|
|
9
|
-
z-index: 100;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
}
|
|
12
|
-
&-checkbox {
|
|
13
|
-
opacity: 0%;
|
|
14
|
-
&:checked {
|
|
15
|
-
& + .form-select {
|
|
16
|
-
&__option-state {
|
|
17
|
-
&::before {
|
|
18
|
-
width: 8px;
|
|
19
|
-
height: 8px;
|
|
20
|
-
border-radius: 50%;
|
|
21
|
-
position: absolute;
|
|
22
|
-
content: '';
|
|
23
|
-
display: block;
|
|
24
|
-
left: 2px;
|
|
25
|
-
top: 2px;
|
|
26
|
-
z-index: 2;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
&-state {
|
|
33
|
-
width: 14px;
|
|
34
|
-
height: 14px;
|
|
35
|
-
background: none;
|
|
36
|
-
border-radius: 2px;
|
|
37
|
-
position: absolute;
|
|
38
|
-
content: '';
|
|
39
|
-
display: block;
|
|
40
|
-
left: 0;
|
|
41
|
-
top: 2px;
|
|
42
|
-
z-index: 1;
|
|
43
|
-
}
|
|
44
|
-
&-text {
|
|
45
|
-
padding: 0 0 0 8px;
|
|
46
|
-
} */
|
|
47
|
-
&--is-selected {
|
|
48
|
-
/* color: var(--color-surface-text-primary);
|
|
49
|
-
background: var(--color-surface-primary-hover); */
|
|
50
|
-
}
|
|
51
|
-
&--is-focused {
|
|
52
|
-
/* color: var(--color-surface-text-primary);
|
|
53
|
-
background: var(--color-surface-primary-hover); */
|
|
54
|
-
}
|
|
55
5
|
}
|
|
56
6
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { GroupBase, LoadingIndicatorProps } from 'react-select';
|
|
3
|
-
declare const SelectLoadingIndicator: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: LoadingIndicatorProps<Option, IsMulti, Group>) =>
|
|
2
|
+
declare const SelectLoadingIndicator: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: LoadingIndicatorProps<Option, IsMulti, Group>) => false | import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export { SelectLoadingIndicator };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { GroupBase, NoticeProps } from 'react-select';
|
|
2
|
+
declare const SelectLoadingMessage: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: NoticeProps<Option, IsMulti, Group>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { SelectLoadingMessage };
|
|
@@ -1,21 +1,39 @@
|
|
|
1
1
|
declare const selectAppearanceDefault: {
|
|
2
2
|
defaultPrimary: {
|
|
3
3
|
elevation: number;
|
|
4
|
+
errorInputBorderColor: string;
|
|
5
|
+
optionFillDisabled: string;
|
|
6
|
+
optionTextColorDisabled: string;
|
|
7
|
+
badgeAppearance: string;
|
|
8
|
+
clearIconFill: string;
|
|
9
|
+
dropdownIconFill: string;
|
|
10
|
+
groupFill: string;
|
|
11
|
+
groupTextColor: string;
|
|
12
|
+
groupTextWeight: string;
|
|
4
13
|
inputBorderColor: string;
|
|
5
14
|
inputBorderColorHover: string;
|
|
15
|
+
inputCaretColor: string;
|
|
6
16
|
inputFill: string;
|
|
7
|
-
inputShape: string;
|
|
8
17
|
inputTextColor: string;
|
|
18
|
+
loaderAppearance: string;
|
|
19
|
+
loadingMessageTextColor: string;
|
|
20
|
+
menuFill: string;
|
|
9
21
|
multipleItemFill: string;
|
|
10
22
|
multipleItemFillHover: string;
|
|
23
|
+
multipleItemIconFill: string;
|
|
24
|
+
multipleItemTextColor: string;
|
|
11
25
|
multipleTextColor: string;
|
|
12
|
-
noOptionsText: string;
|
|
13
26
|
noOptionsTextColor: string;
|
|
27
|
+
optionBorder: string;
|
|
14
28
|
optionFill: string;
|
|
29
|
+
optionFillActive: string;
|
|
30
|
+
optionFillActiveHover: string;
|
|
15
31
|
optionFillHover: string;
|
|
32
|
+
optionSelectedIconFillIcon: string;
|
|
16
33
|
optionTextColor: string;
|
|
17
|
-
|
|
34
|
+
optionTextColorActive: string;
|
|
18
35
|
placeholderTextColor: string;
|
|
36
|
+
requiredInputBorderColor: string;
|
|
19
37
|
};
|
|
20
38
|
};
|
|
21
39
|
export { selectAppearanceDefault };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const selectAppearanceDisabled: {
|
|
2
|
+
disabledPrimary: {
|
|
3
|
+
elevation: number;
|
|
4
|
+
errorInputBorderColor: string;
|
|
5
|
+
badgeAppearance: string;
|
|
6
|
+
clearIconFill: string;
|
|
7
|
+
dropdownIconFill: string;
|
|
8
|
+
headingFill: string;
|
|
9
|
+
headingTextColor: string;
|
|
10
|
+
inputBorderColor: string;
|
|
11
|
+
inputBorderColorHover: string;
|
|
12
|
+
inputCaretColor: string;
|
|
13
|
+
inputFill: string;
|
|
14
|
+
inputShape: string;
|
|
15
|
+
inputTextColor: string;
|
|
16
|
+
multipleItemFill: string;
|
|
17
|
+
multipleItemFillHover: string;
|
|
18
|
+
multipleItemIconFill: string;
|
|
19
|
+
multipleItemTextColor: string;
|
|
20
|
+
multipleTextColor: string;
|
|
21
|
+
noOptionsTextColor: string;
|
|
22
|
+
optionBorder: string;
|
|
23
|
+
optionFill: string;
|
|
24
|
+
optionFillHover: string;
|
|
25
|
+
optionShape: string;
|
|
26
|
+
optionTextColor: string;
|
|
27
|
+
placeholderTextColor: string;
|
|
28
|
+
requiredInputBorderColor: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export { selectAppearanceDisabled };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const selectAppearanceError: {
|
|
2
|
+
errorPrimary: {
|
|
3
|
+
elevation: number;
|
|
4
|
+
errorInputBorderColor: string;
|
|
5
|
+
badgeAppearance: string;
|
|
6
|
+
clearIconFill: string;
|
|
7
|
+
dropdownIconFill: string;
|
|
8
|
+
headingFill: string;
|
|
9
|
+
headingTextColor: string;
|
|
10
|
+
inputBorderColor: string;
|
|
11
|
+
inputBorderColorHover: string;
|
|
12
|
+
inputCaretColor: string;
|
|
13
|
+
inputFill: string;
|
|
14
|
+
inputShape: string;
|
|
15
|
+
inputTextColor: string;
|
|
16
|
+
multipleItemFill: string;
|
|
17
|
+
multipleItemFillHover: string;
|
|
18
|
+
multipleItemIconFill: string;
|
|
19
|
+
multipleItemTextColor: string;
|
|
20
|
+
multipleTextColor: string;
|
|
21
|
+
noOptionsTextColor: string;
|
|
22
|
+
optionBorder: string;
|
|
23
|
+
optionFill: string;
|
|
24
|
+
optionFillHover: string;
|
|
25
|
+
optionShape: string;
|
|
26
|
+
optionTextColor: string;
|
|
27
|
+
placeholderTextColor: string;
|
|
28
|
+
requiredInputBorderColor: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export { selectAppearanceError };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const selectAppearanceRequire: {
|
|
2
|
+
requirePrimary: {
|
|
3
|
+
elevation: number;
|
|
4
|
+
errorInputBorderColor: string;
|
|
5
|
+
badgeAppearance: string;
|
|
6
|
+
clearIconFill: string;
|
|
7
|
+
dropdownIconFill: string;
|
|
8
|
+
headingFill: string;
|
|
9
|
+
headingTextColor: string;
|
|
10
|
+
inputBorderColor: string;
|
|
11
|
+
inputBorderColorHover: string;
|
|
12
|
+
inputCaretColor: string;
|
|
13
|
+
inputFill: string;
|
|
14
|
+
inputShape: string;
|
|
15
|
+
inputTextColor: string;
|
|
16
|
+
multipleItemFill: string;
|
|
17
|
+
multipleItemFillHover: string;
|
|
18
|
+
multipleItemIconFill: string;
|
|
19
|
+
multipleItemTextColor: string;
|
|
20
|
+
multipleTextColor: string;
|
|
21
|
+
noOptionsTextColor: string;
|
|
22
|
+
optionBorder: string;
|
|
23
|
+
optionFill: string;
|
|
24
|
+
optionFillHover: string;
|
|
25
|
+
optionShape: string;
|
|
26
|
+
optionTextColor: string;
|
|
27
|
+
placeholderTextColor: string;
|
|
28
|
+
requiredInputBorderColor: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export { selectAppearanceRequire };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const selectAppearanceShape: {
|
|
2
|
+
rounded: {
|
|
3
|
+
shape: string;
|
|
4
|
+
};
|
|
5
|
+
roundedS: {
|
|
6
|
+
shape: string;
|
|
7
|
+
shapeStrength: string;
|
|
8
|
+
};
|
|
9
|
+
roundedM: {
|
|
10
|
+
shape: string;
|
|
11
|
+
shapeStrength: string;
|
|
12
|
+
};
|
|
13
|
+
roundedL: {
|
|
14
|
+
shape: string;
|
|
15
|
+
shapeStrength: string;
|
|
16
|
+
};
|
|
17
|
+
roundedXL: {
|
|
18
|
+
shape: string;
|
|
19
|
+
shapeStrength: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export { selectAppearanceShape };
|
|
@@ -1,7 +1,108 @@
|
|
|
1
1
|
declare const selectAppearanceSize: {
|
|
2
|
+
sizeXXL: {
|
|
3
|
+
size: string;
|
|
4
|
+
textLoadingMessageAppearance: string;
|
|
5
|
+
badgeSize: string;
|
|
6
|
+
badgeTextSize: string;
|
|
7
|
+
clearIcon: string;
|
|
8
|
+
dividerSize: string;
|
|
9
|
+
dropdownIcon: string;
|
|
10
|
+
groupTextSize: string;
|
|
11
|
+
headingTextWeight: string;
|
|
12
|
+
inputTextSize: string;
|
|
13
|
+
menuItemSize: string;
|
|
14
|
+
multipleItemIcon: string;
|
|
15
|
+
multipleItemTextSize: string;
|
|
16
|
+
noOptionsTextSize: string;
|
|
17
|
+
optionTextSize: string;
|
|
18
|
+
placeholderTextSize: string;
|
|
19
|
+
};
|
|
20
|
+
sizeXL: {
|
|
21
|
+
size: string;
|
|
22
|
+
textLoadingMessageAppearance: string;
|
|
23
|
+
badgeSize: string;
|
|
24
|
+
badgeTextSize: string;
|
|
25
|
+
clearIcon: string;
|
|
26
|
+
dividerSize: string;
|
|
27
|
+
dropdownIcon: string;
|
|
28
|
+
groupTextSize: string;
|
|
29
|
+
headingTextWeight: string;
|
|
30
|
+
inputTextSize: string;
|
|
31
|
+
menuItemSize: string;
|
|
32
|
+
multipleItemIcon: string;
|
|
33
|
+
multipleItemTextSize: string;
|
|
34
|
+
noOptionsTextSize: string;
|
|
35
|
+
optionTextSize: string;
|
|
36
|
+
placeholderTextSize: string;
|
|
37
|
+
};
|
|
2
38
|
sizeM: {
|
|
3
39
|
size: string;
|
|
40
|
+
textLoadingMessageAppearance: string;
|
|
41
|
+
badgeSize: string;
|
|
42
|
+
badgeTextSize: string;
|
|
43
|
+
clearIcon: string;
|
|
44
|
+
dividerSize: string;
|
|
45
|
+
dropdownIcon: string;
|
|
46
|
+
groupTextSize: string;
|
|
47
|
+
inputTextSize: string;
|
|
48
|
+
loadingMessageTextSize: string;
|
|
49
|
+
menuItemSize: string;
|
|
50
|
+
multipleItemIcon: string;
|
|
51
|
+
multipleItemTextSize: string;
|
|
52
|
+
noOptionsTextSize: string;
|
|
53
|
+
optionSelectedIcon: string;
|
|
54
|
+
optionTextSize: string;
|
|
55
|
+
placeholderTextSize: string;
|
|
56
|
+
};
|
|
57
|
+
sizeS: {
|
|
58
|
+
size: string;
|
|
59
|
+
textLoadingMessageAppearance: string;
|
|
60
|
+
badgeSize: string;
|
|
61
|
+
badgeTextSize: string;
|
|
62
|
+
clearIcon: string;
|
|
63
|
+
dividerSize: string;
|
|
64
|
+
dropdownIcon: string;
|
|
65
|
+
groupTextSize: string;
|
|
66
|
+
headingTextWeight: string;
|
|
67
|
+
inputTextSize: string;
|
|
68
|
+
menuItemSize: string;
|
|
69
|
+
multipleItemIcon: string;
|
|
70
|
+
multipleItemTextSize: string;
|
|
71
|
+
noOptionsTextSize: string;
|
|
72
|
+
optionTextSize: string;
|
|
73
|
+
placeholderTextSize: string;
|
|
74
|
+
};
|
|
75
|
+
sizeXS: {
|
|
76
|
+
size: string;
|
|
77
|
+
textLoadingMessageAppearance: string;
|
|
78
|
+
badgeSize: string;
|
|
79
|
+
badgeTextSize: string;
|
|
80
|
+
clearIcon: string;
|
|
81
|
+
dividerSize: string;
|
|
82
|
+
dropdownIcon: string;
|
|
83
|
+
groupTextSize: string;
|
|
84
|
+
headingTextWeight: string;
|
|
85
|
+
inputTextSize: string;
|
|
86
|
+
menuItemSize: string;
|
|
87
|
+
multipleItemIcon: string;
|
|
88
|
+
multipleItemTextSize: string;
|
|
89
|
+
noOptionsTextSize: string;
|
|
90
|
+
optionTextSize: string;
|
|
91
|
+
placeholderTextSize: string;
|
|
92
|
+
};
|
|
93
|
+
sizeXXS: {
|
|
94
|
+
size: string;
|
|
95
|
+
textLoadingMessageAppearance: string;
|
|
96
|
+
badgeSize: string;
|
|
97
|
+
badgeTextSize: string;
|
|
98
|
+
clearIcon: string;
|
|
99
|
+
dividerSize: string;
|
|
100
|
+
dropdownIcon: string;
|
|
101
|
+
groupTextSize: string;
|
|
102
|
+
headingTextWeight: string;
|
|
4
103
|
inputTextSize: string;
|
|
104
|
+
menuItemSize: string;
|
|
105
|
+
multipleItemIcon: string;
|
|
5
106
|
multipleItemTextSize: string;
|
|
6
107
|
noOptionsTextSize: string;
|
|
7
108
|
optionTextSize: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const selectAppearanceStyle: {
|
|
2
|
+
solid: {
|
|
3
|
+
inputBorderColor: string;
|
|
4
|
+
inputBorderColorHover: string;
|
|
5
|
+
};
|
|
6
|
+
outlined: {
|
|
7
|
+
fill: string;
|
|
8
|
+
};
|
|
9
|
+
full: {};
|
|
10
|
+
ghost: {
|
|
11
|
+
fill: string;
|
|
12
|
+
inputBorderColor: string;
|
|
13
|
+
inputBorderColorHover: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export { selectAppearanceStyle };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const selectAppearanceSuccess: {
|
|
2
|
+
successPrimary: {
|
|
3
|
+
elevation: number;
|
|
4
|
+
errorInputBorderColor: string;
|
|
5
|
+
badgeAppearance: string;
|
|
6
|
+
clearIconFill: string;
|
|
7
|
+
dropdownIconFill: string;
|
|
8
|
+
headingFill: string;
|
|
9
|
+
headingTextColor: string;
|
|
10
|
+
inputBorderColor: string;
|
|
11
|
+
inputBorderColorHover: string;
|
|
12
|
+
inputCaretColor: string;
|
|
13
|
+
inputFill: string;
|
|
14
|
+
inputShape: string;
|
|
15
|
+
inputTextColor: string;
|
|
16
|
+
multipleItemFill: string;
|
|
17
|
+
multipleItemFillHover: string;
|
|
18
|
+
multipleItemIconFill: string;
|
|
19
|
+
multipleItemTextColor: string;
|
|
20
|
+
multipleTextColor: string;
|
|
21
|
+
noOptionsText: string;
|
|
22
|
+
noOptionsTextColor: string;
|
|
23
|
+
optionBorder: string;
|
|
24
|
+
optionFill: string;
|
|
25
|
+
optionFillHover: string;
|
|
26
|
+
optionShape: string;
|
|
27
|
+
optionTextColor: string;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
placeholderTextColor: string;
|
|
30
|
+
requiredInputBorderColor: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export { selectAppearanceSuccess };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.92",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
104
|
-
"@itcase/common": "^1.2.
|
|
104
|
+
"@itcase/common": "^1.2.29",
|
|
105
105
|
"@itcase/icons": "^1.2.19",
|
|
106
|
-
"@itcase/storybook-config": "^1.1.
|
|
106
|
+
"@itcase/storybook-config": "^1.1.91",
|
|
107
107
|
"@itcase/tokens-am": "^1.1.19",
|
|
108
108
|
"@itcase/tokens-baikal": "^1.1.17",
|
|
109
109
|
"@itcase/tokens-palette": "^1.1.11",
|
|
@@ -168,9 +168,9 @@
|
|
|
168
168
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
169
169
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
170
170
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
171
|
-
"eslint": "9.
|
|
171
|
+
"eslint": "9.33.0",
|
|
172
172
|
"husky": "^9.1.7",
|
|
173
|
-
"lint-staged": "^16.1.
|
|
173
|
+
"lint-staged": "^16.1.5",
|
|
174
174
|
"prettier": "^3.6.2",
|
|
175
175
|
"react-docgen-typescript": "^2.4.0",
|
|
176
176
|
"rollup": "^4.46.2",
|
|
@@ -179,8 +179,8 @@
|
|
|
179
179
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
180
180
|
"rollup-preserve-directives": "^1.1.3",
|
|
181
181
|
"semantic-release": "^24.2.7",
|
|
182
|
-
"storybook": "^9.1.
|
|
183
|
-
"stylelint": "^16.23.
|
|
182
|
+
"storybook": "^9.1.2",
|
|
183
|
+
"stylelint": "^16.23.1",
|
|
184
184
|
"typescript": "^5.9.2"
|
|
185
185
|
}
|
|
186
186
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.select {
|
|
2
|
-
&__control {
|
|
3
|
-
&_fill {
|
|
4
|
-
@each $type in accent, primary, secondary, tertiary, surface, success,
|
|
5
|
-
error {
|
|
6
|
-
&_$(type) {
|
|
7
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
|
8
|
-
senary, accent, disabled, hover {
|
|
9
|
-
&-$(color) {
|
|
10
|
-
background: var(--color-$(type)-fill-$(color));
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|