@itcase/ui 1.8.34 → 1.8.36
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_kADy_b4o.js → Avatar_cjs_DBoMi2WA.js} +1 -1
- package/dist/{Avatar_es_DbGpnL99.js → Avatar_es_DHREqfOD.js} +1 -1
- package/dist/{Button_cjs_CW6ENTbm.js → Button_cjs_djJUZATX.js} +2 -2
- package/dist/{Button_es_DTUagqgU.js → Button_es_X1DzVhok.js} +2 -2
- package/dist/ChipsGroup_cjs_5xsEchPo.js +314 -0
- package/dist/ChipsGroup_es_4TOkv-fm.js +309 -0
- package/dist/{DatePicker_cjs_C-VbK2J4.js → DatePicker_cjs_DffhgUnQ.js} +26 -30
- package/dist/{DatePicker_es_CIEHQyHC.js → DatePicker_es_GmkagjKf.js} +27 -31
- package/dist/{DropdownItem_cjs_D-zoX7Ik.js → DropdownItem_cjs_DxBpJAi9.js} +5 -3
- package/dist/{DropdownItem_es_BMnIhUSe.js → DropdownItem_es_Loneq6M7.js} +5 -3
- package/dist/{Input_cjs_arr_wxD2.js → Input_cjs_CPmXkQGd.js} +1 -0
- package/dist/{Input_es_BW6cZThr.js → Input_es_D9Y1Rj5Y.js} +1 -0
- package/dist/{Label_cjs_BWbVsB-u.js → Label_cjs_C88e2CIP.js} +59 -131
- package/dist/{Label_es_ouC2i_iI.js → Label_es_Bn2aRjLl.js} +59 -131
- package/dist/{Loader_cjs_CCrbD8Em.js → Loader_cjs_Ca4i0sER.js} +4 -2
- package/dist/{Loader_es_B2auu_rc.js → Loader_es_GYOr0UTX.js} +4 -2
- package/dist/{Tooltip_cjs_DinScDnC.js → Tooltip_cjs_oS1iOamX.js} +4 -2
- package/dist/{Tooltip_es_B0nm9irO.js → Tooltip_es_LV5ZNg3B.js} +4 -2
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +13 -6
- package/dist/cjs/components/Breadcrumbs.js +17 -18
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips/stories/__mock__.js +31 -0
- package/dist/cjs/components/Chips.js +4 -4
- package/dist/cjs/components/Choice/stories/__mock__.js +15 -15
- package/dist/cjs/components/Choice.js +7 -7
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/Dadata.js +1 -1
- package/dist/cjs/components/DatePeriod.js +10 -8
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown/stories/__mock__.js +3 -2
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/MenuItem.js +12 -5
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -4
- package/dist/cjs/components/Response.js +3 -3
- package/dist/cjs/components/ScrollOnDrag.js +5 -3
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented/stories/__mock__.js +24 -9
- package/dist/cjs/components/Segmented.js +80 -51
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Textarea.js +8 -9
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs/stories/__mock__.js +13 -7
- package/dist/components/Breadcrumbs.js +17 -18
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips/stories/__mock__.js +29 -0
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice/stories/__mock__.js +15 -15
- package/dist/components/Choice.js +7 -7
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/Dadata.js +1 -1
- package/dist/components/DatePeriod.js +10 -8
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown/stories/__mock__.js +3 -2
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/Loader.js +1 -1
- package/dist/components/MenuItem.js +12 -5
- package/dist/components/Modal.js +2 -2
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +3 -5
- package/dist/components/Response.js +3 -3
- package/dist/components/ScrollOnDrag.js +7 -5
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented/stories/__mock__.js +23 -11
- package/dist/components/Segmented.js +80 -51
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Textarea.js +8 -9
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/css/components/Breadcrumbs/Breadcrumbs.css +15 -6
- package/dist/css/components/Chips/Chips.css +40 -14
- package/dist/css/components/Dropdown/Dropdown.css +7 -14
- package/dist/css/components/Loader/Loader.css +1 -19
- package/dist/css/components/MenuItem/MenuItem.css +22 -30
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +230 -4
- package/dist/css/components/Segmented/Segmented.css +53 -6
- package/dist/css/components/Segmented/css/__item/segmaented__item.css +31 -0
- package/dist/css/styles/centering/centering.css +17 -0
- package/dist/css/styles/shape-strength/shape-strength.css +10 -9
- package/dist/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/stories/ChipsOverview.mdx +26 -14
- package/dist/stories/ChipsPlayground.mdx +3 -3
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +5 -5
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +24 -1
- package/dist/types/components/Chips/Chips.interface.d.ts +1 -0
- package/dist/types/components/Chips/appearance/chipsAccent.d.ts +9 -1
- package/dist/types/components/Chips/appearance/chipsDanger.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsError.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsInfo.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +11 -2
- package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +10 -2
- package/dist/types/components/Chips/appearance/chipsSize.d.ts +34 -0
- package/dist/types/components/Chips/appearance/chipsStyle.d.ts +9 -9
- package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +11 -1
- package/dist/types/components/Chips/appearance/chipsWarning.d.ts +16 -1
- package/dist/types/components/Chips/stories/__mock__/index.d.ts +14 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +5 -5
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +3 -9
- package/dist/types/components/Input/appearance/inputDefault.d.ts +1 -0
- package/dist/types/components/Label/appearance/labelAccent.d.ts +0 -8
- package/dist/types/components/Label/appearance/labelDanger.d.ts +0 -12
- package/dist/types/components/Label/appearance/labelDisable.d.ts +2 -4
- package/dist/types/components/Label/appearance/labelError.d.ts +0 -8
- package/dist/types/components/Label/appearance/labelInfo.d.ts +0 -5
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +0 -10
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +0 -10
- package/dist/types/components/Label/appearance/labelSize.d.ts +6 -0
- package/dist/types/components/Label/appearance/labelStyle.d.ts +4 -4
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +0 -8
- package/dist/types/components/Label/appearance/labelSurface.d.ts +0 -6
- package/dist/types/components/Label/appearance/labelWarning.d.ts +0 -9
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +5 -0
- package/dist/types/components/Segmented/Segmented.interface.d.ts +5 -2
- package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +8 -11
- package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +9 -11
- package/dist/types/components/Segmented/appearance/segmentedError.d.ts +9 -2
- package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +5 -0
- package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +5 -3
- package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +8 -0
- package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +9 -1
- package/dist/types/components/Segmented/stories/__mock__/index.d.ts +30 -8
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +1 -0
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +4 -4
- package/dist/types/context/UIContext.d.ts +3 -5
- package/package.json +3 -2
- package/dist/ChipsGroup_cjs_DdWjvr_S.js +0 -168
- package/dist/ChipsGroup_es_CXS0aeon.js +0 -163
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
declare const chipsAppearanceError: {
|
|
1
|
+
declare const chipsAppearanceError: {
|
|
2
|
+
errorMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
9
|
+
errorPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
iconAfterFillIcon: string;
|
|
14
|
+
iconBeforeFillIcon: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
2
17
|
export { chipsAppearanceError };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
declare const chipsAppearanceInfo: {
|
|
1
|
+
declare const chipsAppearanceInfo: {
|
|
2
|
+
infoMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
9
|
+
infoPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
iconAfterFillIcon: string;
|
|
14
|
+
iconBeforeFillIcon: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
2
17
|
export { chipsAppearanceInfo };
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
declare const chipsAppearancePrimary: {
|
|
2
|
-
|
|
2
|
+
primaryMutedPrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
4
|
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
9
|
+
primaryPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
iconAfterFillIcon: string;
|
|
14
|
+
iconBeforeFillIcon: string;
|
|
6
15
|
};
|
|
7
16
|
};
|
|
8
17
|
export { chipsAppearancePrimary };
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
declare const chipsAppearanceSecondary: {
|
|
2
|
-
|
|
2
|
+
secondaryMutedPrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
4
|
labelTextColor: string;
|
|
6
5
|
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
9
|
+
secondaryPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
iconAfterFillIcon: string;
|
|
14
|
+
iconBeforeFillIcon: string;
|
|
7
15
|
};
|
|
8
16
|
};
|
|
9
17
|
export { chipsAppearanceSecondary };
|
|
@@ -1,11 +1,45 @@
|
|
|
1
1
|
declare const chipsAppearanceSize: {
|
|
2
|
+
sizeXXL: {
|
|
3
|
+
size: string;
|
|
4
|
+
labelTextSize: string;
|
|
5
|
+
iconAfterSize: number;
|
|
6
|
+
iconBeforeSize: number;
|
|
7
|
+
};
|
|
8
|
+
sizeXL: {
|
|
9
|
+
size: string;
|
|
10
|
+
labelTextSize: string;
|
|
11
|
+
iconAfterSize: number;
|
|
12
|
+
iconBeforeSize: number;
|
|
13
|
+
};
|
|
2
14
|
sizeL: {
|
|
3
15
|
size: string;
|
|
4
16
|
labelTextSize: string;
|
|
17
|
+
iconAfterSize: number;
|
|
18
|
+
iconBeforeSize: number;
|
|
5
19
|
};
|
|
6
20
|
sizeM: {
|
|
7
21
|
size: string;
|
|
8
22
|
labelTextSize: string;
|
|
23
|
+
iconAfterSize: number;
|
|
24
|
+
iconBeforeSize: number;
|
|
25
|
+
};
|
|
26
|
+
sizeS: {
|
|
27
|
+
size: string;
|
|
28
|
+
labelTextSize: string;
|
|
29
|
+
iconAfterSize: number;
|
|
30
|
+
iconBeforeSize: number;
|
|
31
|
+
};
|
|
32
|
+
sizeXS: {
|
|
33
|
+
size: string;
|
|
34
|
+
labelTextSize: string;
|
|
35
|
+
iconAfterSize: number;
|
|
36
|
+
iconBeforeSize: number;
|
|
37
|
+
};
|
|
38
|
+
sizeXXS: {
|
|
39
|
+
size: string;
|
|
40
|
+
labelTextSize: string;
|
|
41
|
+
iconAfterSize: number;
|
|
42
|
+
iconBeforeSize: number;
|
|
9
43
|
};
|
|
10
44
|
};
|
|
11
45
|
export { chipsAppearanceSize };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const chipsAppearanceStyle: {
|
|
2
|
-
|
|
3
|
-
borderColor:
|
|
4
|
-
};
|
|
5
|
-
ghost: {
|
|
6
|
-
fill: null;
|
|
7
|
-
borderColor: null;
|
|
2
|
+
solid: {
|
|
3
|
+
borderColor: string;
|
|
8
4
|
};
|
|
9
5
|
outlined: {
|
|
10
|
-
fill:
|
|
6
|
+
fill: string;
|
|
11
7
|
};
|
|
12
|
-
|
|
13
|
-
borderColor:
|
|
8
|
+
full: {
|
|
9
|
+
borderColor: string;
|
|
10
|
+
};
|
|
11
|
+
ghost: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export { chipsAppearanceStyle };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
declare const chipsAppearanceSuccess: {
|
|
1
|
+
declare const chipsAppearanceSuccess: {
|
|
2
|
+
successMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
9
|
+
successPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
iconAfterFillIcon: string;
|
|
14
|
+
iconBeforeFillIcon: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
2
17
|
export { chipsAppearanceSuccess };
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
declare const chipsAppearanceSurface: {
|
|
2
|
+
surfaceMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
2
9
|
surfacePrimary: {
|
|
3
10
|
fill: string;
|
|
4
11
|
fillActive: string;
|
|
@@ -9,8 +16,11 @@ declare const chipsAppearanceSurface: {
|
|
|
9
16
|
labelTextHoverColor: string;
|
|
10
17
|
borderColor: string;
|
|
11
18
|
activeIconItemFill: string;
|
|
12
|
-
iconBeforeFillIcon: string;
|
|
13
19
|
badgeAppearance: string;
|
|
20
|
+
iconAfterFillActiveIcon: string;
|
|
21
|
+
iconAfterFillIcon: string;
|
|
22
|
+
iconBeforeFillActiveIcon: string;
|
|
23
|
+
iconBeforeFillIcon: string;
|
|
14
24
|
};
|
|
15
25
|
surfaceSecondary: {
|
|
16
26
|
fill: string;
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
declare const chipsAppearanceWarning: {
|
|
1
|
+
declare const chipsAppearanceWarning: {
|
|
2
|
+
warningMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
8
|
+
};
|
|
9
|
+
warningPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
iconAfterFillIcon: string;
|
|
14
|
+
iconBeforeFillIcon: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
2
17
|
export { chipsAppearanceWarning };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
declare const choiceAppearanceStyle: {
|
|
2
|
-
|
|
2
|
+
solid: {
|
|
3
3
|
borderColor: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
outlined: {
|
|
6
6
|
fill: string;
|
|
7
7
|
fillItem: string;
|
|
8
8
|
fillItemActive: string;
|
|
9
|
+
};
|
|
10
|
+
full: {
|
|
9
11
|
borderColor: string;
|
|
10
12
|
};
|
|
11
|
-
|
|
13
|
+
ghost: {
|
|
12
14
|
fill: string;
|
|
13
15
|
fillItem: string;
|
|
14
16
|
fillItemActive: string;
|
|
15
|
-
};
|
|
16
|
-
solid: {
|
|
17
17
|
borderColor: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -4,12 +4,8 @@ declare const choiceListMock: {
|
|
|
4
4
|
};
|
|
5
5
|
choices: {
|
|
6
6
|
label: string;
|
|
7
|
-
iconAfter:
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
iconBefore: {
|
|
11
|
-
Default: any;
|
|
12
|
-
};
|
|
7
|
+
iconAfter: any;
|
|
8
|
+
iconBefore: any;
|
|
13
9
|
value: number;
|
|
14
10
|
}[];
|
|
15
11
|
};
|
|
@@ -18,9 +14,7 @@ declare const choiceListIconMock: {
|
|
|
18
14
|
value: number;
|
|
19
15
|
};
|
|
20
16
|
choices: {
|
|
21
|
-
icon:
|
|
22
|
-
Default: any;
|
|
23
|
-
};
|
|
17
|
+
icon: any;
|
|
24
18
|
value: number;
|
|
25
19
|
}[];
|
|
26
20
|
};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
declare const labelAppearanceAccent: {
|
|
2
|
-
accent: {
|
|
3
|
-
fill: string;
|
|
4
|
-
labelTextColor: string;
|
|
5
|
-
labelTextColorHover: string;
|
|
6
|
-
};
|
|
7
2
|
accentMutedPrimary: {
|
|
8
3
|
fill: string;
|
|
9
4
|
labelTextColor: string;
|
|
10
|
-
labelTextColorHover: string;
|
|
11
5
|
borderColor: string;
|
|
12
6
|
iconAfterFillIcon: string;
|
|
13
7
|
iconBeforeFillIcon: string;
|
|
@@ -15,7 +9,6 @@ declare const labelAppearanceAccent: {
|
|
|
15
9
|
accentPrimary: {
|
|
16
10
|
fill: string;
|
|
17
11
|
labelTextColor: string;
|
|
18
|
-
labelTextColorHover: string;
|
|
19
12
|
borderColor: string;
|
|
20
13
|
iconAfterFillIcon: string;
|
|
21
14
|
iconBeforeFillIcon: string;
|
|
@@ -23,7 +16,6 @@ declare const labelAppearanceAccent: {
|
|
|
23
16
|
accentTertiary: {
|
|
24
17
|
fill: string;
|
|
25
18
|
labelTextColor: string;
|
|
26
|
-
labelTextColorHover: string;
|
|
27
19
|
};
|
|
28
20
|
};
|
|
29
21
|
export { labelAppearanceAccent };
|
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
declare const labelAppearanceDanger: {
|
|
2
|
-
danger: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
borderColor: string;
|
|
8
|
-
iconAfterFillIcon: string;
|
|
9
|
-
iconBeforeFillIcon: string;
|
|
10
|
-
};
|
|
11
2
|
dangerMutedPrimary: {
|
|
12
3
|
fill: string;
|
|
13
4
|
labelTextColor: string;
|
|
14
|
-
labelTextColorHover: string;
|
|
15
5
|
borderColor: string;
|
|
16
6
|
iconAfterFillIcon: string;
|
|
17
7
|
iconBeforeFillIcon: string;
|
|
18
8
|
};
|
|
19
9
|
dangerPrimary: {
|
|
20
10
|
fill: string;
|
|
21
|
-
fillHover: string;
|
|
22
11
|
labelTextColor: string;
|
|
23
|
-
labelTextColorHover: string;
|
|
24
12
|
borderColor: string;
|
|
25
13
|
iconAfterFillIcon: string;
|
|
26
14
|
iconBeforeFillIcon: string;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
declare const labelAppearanceDisable: {
|
|
2
|
-
|
|
2
|
+
disableMutedPrimary: {
|
|
3
3
|
fill: string;
|
|
4
4
|
labelTextColor: string;
|
|
5
|
-
labelTextColorHover: string;
|
|
6
5
|
borderColor: string;
|
|
7
6
|
iconAfterFillIcon: string;
|
|
8
7
|
iconBeforeFillIcon: string;
|
|
9
8
|
};
|
|
10
|
-
|
|
9
|
+
disablePrimary: {
|
|
11
10
|
fill: string;
|
|
12
11
|
labelTextColor: string;
|
|
13
|
-
labelTextColorHover: string;
|
|
14
12
|
borderColor: string;
|
|
15
13
|
iconAfterFillIcon: string;
|
|
16
14
|
iconBeforeFillIcon: string;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
declare const labelAppearanceError: {
|
|
2
|
-
error: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
};
|
|
8
2
|
errorMutedPrimary: {
|
|
9
3
|
fill: string;
|
|
10
4
|
labelTextColor: string;
|
|
11
|
-
labelTextColorHover: string;
|
|
12
5
|
borderColor: string;
|
|
13
6
|
iconAfterFillIcon: string;
|
|
14
7
|
iconBeforeFillIcon: string;
|
|
@@ -17,7 +10,6 @@ declare const labelAppearanceError: {
|
|
|
17
10
|
fill: string;
|
|
18
11
|
fillHover: string;
|
|
19
12
|
labelTextColor: string;
|
|
20
|
-
labelTextColorHover: string;
|
|
21
13
|
borderColor: string;
|
|
22
14
|
iconAfterFillIcon: string;
|
|
23
15
|
iconBeforeFillIcon: string;
|
|
@@ -2,25 +2,20 @@ declare const labelAppearanceInfo: {
|
|
|
2
2
|
infoMutedPrimary: {
|
|
3
3
|
fill: string;
|
|
4
4
|
labelTextColor: string;
|
|
5
|
-
labelTextColorHover: string;
|
|
6
5
|
borderColor: string;
|
|
7
6
|
iconAfterFillIcon: string;
|
|
8
7
|
iconBeforeFillIcon: string;
|
|
9
8
|
};
|
|
10
9
|
infoPrimary: {
|
|
11
10
|
fill: string;
|
|
12
|
-
fillHover: string;
|
|
13
11
|
labelTextColor: string;
|
|
14
|
-
labelTextColorHover: string;
|
|
15
12
|
borderColor: string;
|
|
16
13
|
iconAfterFillIcon: string;
|
|
17
14
|
iconBeforeFillIcon: string;
|
|
18
15
|
};
|
|
19
16
|
infoSecondary: {
|
|
20
17
|
fill: string;
|
|
21
|
-
fillHover: string;
|
|
22
18
|
labelTextColor: string;
|
|
23
|
-
labelTextColorHover: string;
|
|
24
19
|
borderColor: string;
|
|
25
20
|
iconAfterFillIcon: string;
|
|
26
21
|
iconBeforeFillIcon: string;
|
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
declare const labelAppearancePrimary: {
|
|
2
|
-
primary: {
|
|
3
|
-
fill: string;
|
|
4
|
-
labelTextColor: string;
|
|
5
|
-
labelTextColorHover: string;
|
|
6
|
-
borderColor: string;
|
|
7
|
-
iconAfterFillIcon: string;
|
|
8
|
-
iconBeforeFillIcon: string;
|
|
9
|
-
};
|
|
10
2
|
primaryMutedPrimary: {
|
|
11
3
|
fill: string;
|
|
12
4
|
labelTextColor: string;
|
|
13
|
-
labelTextColorHover: string;
|
|
14
5
|
borderColor: string;
|
|
15
6
|
iconAfterFillIcon: string;
|
|
16
7
|
iconBeforeFillIcon: string;
|
|
@@ -18,7 +9,6 @@ declare const labelAppearancePrimary: {
|
|
|
18
9
|
primaryPrimary: {
|
|
19
10
|
fill: string;
|
|
20
11
|
labelTextColor: string;
|
|
21
|
-
labelTextColorHover: string;
|
|
22
12
|
borderColor: string;
|
|
23
13
|
iconAfterFillIcon: string;
|
|
24
14
|
iconBeforeFillIcon: string;
|
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
declare const labelAppearanceSecondary: {
|
|
2
|
-
secondary: {
|
|
3
|
-
fill: string;
|
|
4
|
-
labelTextColor: string;
|
|
5
|
-
labelTextColorHover: string;
|
|
6
|
-
borderColor: string;
|
|
7
|
-
iconAfterFillIcon: string;
|
|
8
|
-
iconBeforeFillIcon: string;
|
|
9
|
-
};
|
|
10
2
|
secondaryMutedPrimary: {
|
|
11
3
|
fill: string;
|
|
12
4
|
labelTextColor: string;
|
|
13
|
-
labelTextColorHover: string;
|
|
14
5
|
borderColor: string;
|
|
15
6
|
iconAfterFillIcon: string;
|
|
16
7
|
iconBeforeFillIcon: string;
|
|
@@ -18,7 +9,6 @@ declare const labelAppearanceSecondary: {
|
|
|
18
9
|
secondaryPrimary: {
|
|
19
10
|
fill: string;
|
|
20
11
|
labelTextColor: string;
|
|
21
|
-
labelTextColorHover: string;
|
|
22
12
|
borderColor: string;
|
|
23
13
|
iconAfterFillIcon: string;
|
|
24
14
|
iconBeforeFillIcon: string;
|
|
@@ -8,6 +8,7 @@ declare const labelAppearanceSize: {
|
|
|
8
8
|
iconBeforeSize: number;
|
|
9
9
|
};
|
|
10
10
|
sizeXL: {
|
|
11
|
+
size: string;
|
|
11
12
|
labelTextSize: string;
|
|
12
13
|
iconAfterFillSize: number;
|
|
13
14
|
iconAfterSize: number;
|
|
@@ -15,6 +16,7 @@ declare const labelAppearanceSize: {
|
|
|
15
16
|
iconBeforeSize: number;
|
|
16
17
|
};
|
|
17
18
|
sizeL: {
|
|
19
|
+
size: string;
|
|
18
20
|
labelTextSize: string;
|
|
19
21
|
iconAfterFillSize: number;
|
|
20
22
|
iconAfterSize: number;
|
|
@@ -22,6 +24,7 @@ declare const labelAppearanceSize: {
|
|
|
22
24
|
iconBeforeSize: number;
|
|
23
25
|
};
|
|
24
26
|
sizeM: {
|
|
27
|
+
size: string;
|
|
25
28
|
labelTextSize: string;
|
|
26
29
|
iconAfterFillSize: number;
|
|
27
30
|
iconAfterSize: number;
|
|
@@ -29,6 +32,7 @@ declare const labelAppearanceSize: {
|
|
|
29
32
|
iconBeforeSize: number;
|
|
30
33
|
};
|
|
31
34
|
sizeS: {
|
|
35
|
+
size: string;
|
|
32
36
|
labelTextSize: string;
|
|
33
37
|
iconAfterFillSize: number;
|
|
34
38
|
iconAfterSize: number;
|
|
@@ -36,6 +40,7 @@ declare const labelAppearanceSize: {
|
|
|
36
40
|
iconBeforeSize: number;
|
|
37
41
|
};
|
|
38
42
|
sizeXS: {
|
|
43
|
+
size: string;
|
|
39
44
|
labelTextSize: string;
|
|
40
45
|
iconAfterFillSize: number;
|
|
41
46
|
iconAfterSize: number;
|
|
@@ -43,6 +48,7 @@ declare const labelAppearanceSize: {
|
|
|
43
48
|
iconBeforeSize: number;
|
|
44
49
|
};
|
|
45
50
|
sizeXXS: {
|
|
51
|
+
size: string;
|
|
46
52
|
labelTextSize: string;
|
|
47
53
|
iconAfterFillSize: number;
|
|
48
54
|
iconAfterSize: number;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
declare const labelAppearanceSuccess: {
|
|
2
|
-
success: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
};
|
|
8
2
|
successMutedPrimary: {
|
|
9
3
|
fill: string;
|
|
10
4
|
labelTextColor: string;
|
|
11
|
-
labelTextColorHover: string;
|
|
12
5
|
borderColor: string;
|
|
13
6
|
iconAfterFillIcon: string;
|
|
14
7
|
iconBeforeFillIcon: string;
|
|
@@ -17,7 +10,6 @@ declare const labelAppearanceSuccess: {
|
|
|
17
10
|
fill: string;
|
|
18
11
|
fillHover: string;
|
|
19
12
|
labelTextColor: string;
|
|
20
|
-
labelTextColorHover: string;
|
|
21
13
|
borderColor: string;
|
|
22
14
|
iconAfterFillIcon: string;
|
|
23
15
|
iconBeforeFillIcon: string;
|
|
@@ -2,16 +2,13 @@ declare const labelAppearanceSurface: {
|
|
|
2
2
|
surfaceMutedPrimary: {
|
|
3
3
|
fill: string;
|
|
4
4
|
labelTextColor: string;
|
|
5
|
-
labelTextColorHover: string;
|
|
6
5
|
borderColor: string;
|
|
7
6
|
iconAfterFillIcon: string;
|
|
8
7
|
iconBeforeFillIcon: string;
|
|
9
8
|
};
|
|
10
9
|
surfacePrimary: {
|
|
11
10
|
fill: string;
|
|
12
|
-
fillHover: string;
|
|
13
11
|
labelTextColor: string;
|
|
14
|
-
labelTextColorHover: string;
|
|
15
12
|
borderColor: string;
|
|
16
13
|
iconAfterFillIcon: string;
|
|
17
14
|
iconBeforeFillIcon: string;
|
|
@@ -19,17 +16,14 @@ declare const labelAppearanceSurface: {
|
|
|
19
16
|
surfaceSecondary: {
|
|
20
17
|
fill: string;
|
|
21
18
|
labelTextColor: string;
|
|
22
|
-
labelTextColorHover: string;
|
|
23
19
|
};
|
|
24
20
|
surfaceTertiary: {
|
|
25
21
|
fill: string;
|
|
26
22
|
labelTextColor: string;
|
|
27
|
-
labelTextColorHover: string;
|
|
28
23
|
};
|
|
29
24
|
surfaceQuaternary: {
|
|
30
25
|
fill: string;
|
|
31
26
|
labelTextColor: string;
|
|
32
|
-
labelTextColorHover: string;
|
|
33
27
|
};
|
|
34
28
|
};
|
|
35
29
|
export { labelAppearanceSurface };
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
declare const labelAppearanceWarning: {
|
|
2
|
-
warning: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
};
|
|
8
2
|
warningMutedPrimary: {
|
|
9
3
|
fill: string;
|
|
10
4
|
labelTextColor: string;
|
|
11
|
-
labelTextColorHover: string;
|
|
12
5
|
borderColor: string;
|
|
13
6
|
iconAfterFillIcon: string;
|
|
14
7
|
iconBeforeFillIcon: string;
|
|
15
8
|
};
|
|
16
9
|
warningPrimary: {
|
|
17
10
|
fill: string;
|
|
18
|
-
fillHover: string;
|
|
19
11
|
labelTextColor: string;
|
|
20
|
-
labelTextColorHover: string;
|
|
21
12
|
borderColor: string;
|
|
22
13
|
iconAfterFillIcon: string;
|
|
23
14
|
iconBeforeFillIcon: string;
|
|
@@ -11,8 +11,13 @@ declare const menuItemAppearanceSurface: {
|
|
|
11
11
|
};
|
|
12
12
|
surfaceSecondary: {
|
|
13
13
|
fill: string;
|
|
14
|
+
fillActive: string;
|
|
15
|
+
fillActiveHover: string;
|
|
14
16
|
fillHover: string;
|
|
15
17
|
labelTextColor: string;
|
|
18
|
+
borderColor: string;
|
|
19
|
+
iconAfterFillIcon: string;
|
|
20
|
+
iconBeforeFillIcon: string;
|
|
16
21
|
};
|
|
17
22
|
surfaceTertiary: {
|
|
18
23
|
fill: string;
|
|
@@ -26,9 +26,11 @@ export interface SegmentedConfig {
|
|
|
26
26
|
appearance: SegmentedAppearanceType | undefined;
|
|
27
27
|
setAppearance: (newComponent: SegmentedAppearanceType) => void;
|
|
28
28
|
}
|
|
29
|
-
interface Segment {
|
|
29
|
+
export interface Segment {
|
|
30
|
+
iconAfter?: string;
|
|
31
|
+
iconBefore?: string;
|
|
30
32
|
label: string;
|
|
31
|
-
value:
|
|
33
|
+
value: number;
|
|
32
34
|
}
|
|
33
35
|
export interface SegmentedProps extends SegmentedThemeColor, StyleAttributes {
|
|
34
36
|
[key: number | string | symbol]: any;
|
|
@@ -40,6 +42,7 @@ export interface SegmentedProps extends SegmentedThemeColor, StyleAttributes {
|
|
|
40
42
|
size?: string;
|
|
41
43
|
type?: string;
|
|
42
44
|
value?: string;
|
|
45
|
+
isActive?: boolean;
|
|
43
46
|
isDisabled?: boolean;
|
|
44
47
|
isSkeleton: boolean;
|
|
45
48
|
onChange?: (value: string, name?: string) => void;
|