@itcase/ui 1.8.42 → 1.8.44
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_BbeDJ-No.js → Avatar_cjs_Bp8wjwGw.js} +8 -10
- package/dist/{Avatar_es_B1Ao9Im_.js → Avatar_es_BIKf0hNV.js} +7 -9
- package/dist/{Button_cjs_Bzx1GdT5.js → Button_cjs_Chn18eOU.js} +104 -10
- package/dist/{Button_es_DhCLxWhq.js → Button_es_XnWb2XF3.js} +103 -9
- package/dist/{ChipsGroup_cjs_p99H-9a8.js → ChipsGroup_cjs_Deoz_rju.js} +9 -9
- package/dist/{ChipsGroup_es_CWq3TR_1.js → ChipsGroup_es_C1Qi_5A1.js} +8 -8
- package/dist/{DatePicker_cjs_Cq8vqj3E.js → DatePicker_cjs_B24qHiks.js} +13 -16
- package/dist/{DatePicker_es_DYs71cnU.js → DatePicker_es_BuC8mEcK.js} +10 -13
- package/dist/{Divider_cjs_BmCJj3TN.js → Divider_cjs_rxMMBfLC.js} +3 -5
- package/dist/{Divider_es_kY-30pft.js → Divider_es_CiRU0sTz.js} +3 -5
- package/dist/{DropdownItem_cjs_B1gGciTB.js → DropdownItem_cjs_DuqySfbd.js} +6 -8
- package/dist/{DropdownItem_es_JVT4f6Nb.js → DropdownItem_es_BBxfR35q.js} +5 -7
- package/dist/{Group_cjs_Cwt0gWk4.js → Group_cjs_CDLfU5D2.js} +5 -8
- package/dist/{Group_es_CYW2Hquh.js → Group_es_DSZxyI1e.js} +5 -8
- package/dist/{Tooltip_cjs_BBwH8sjA.js → Icon_cjs_DRZih-pc.js} +588 -599
- package/dist/{Tooltip_es_Y2aoFQW7.js → Icon_es_k9bHSLyL.js} +588 -599
- package/dist/{Input_cjs_CPmXkQGd.js → Input_cjs_BGLd0EQu.js} +3 -5
- package/dist/{Input_es_D9Y1Rj5Y.js → Input_es_D2mNCqiH.js} +3 -5
- package/dist/{Label_cjs_Mb8j2bLu.js → Label_cjs_D70CHJDE.js} +6 -8
- package/dist/{Label_es_CIDBUVgO.js → Label_es_HXrap3A4.js} +5 -7
- package/dist/{Link_cjs_DbRGq2Yk.js → Link_cjs_BqT6eVl6.js} +2 -4
- package/dist/{Link_es_DxtZLeKY.js → Link_es_BnUIX0QT.js} +2 -4
- package/dist/{Loader_cjs_Ca4i0sER.js → Loader_cjs_BShrE-Nb.js} +5 -7
- package/dist/{Loader_es_GYOr0UTX.js → Loader_es_BDb87cdb.js} +5 -7
- package/dist/{Overlay_cjs_CFOtnzDU.js → Overlay_cjs_BMrkRg7M.js} +3 -5
- package/dist/{Overlay_es_DczPjVL9.js → Overlay_es_D_izIIUB.js} +3 -5
- package/dist/{Text_cjs_C9fOm0nd.js → Text_cjs_BlNeIm_v.js} +5 -7
- package/dist/{Text_es_BfLRfj-5.js → Text_es_Ffjr5J1k.js} +5 -7
- package/dist/cjs/components/Accordion.js +7 -9
- package/dist/cjs/components/Avatar.js +9 -8
- package/dist/cjs/components/AvatarStack.js +8 -10
- package/dist/cjs/components/Badge.js +11 -10
- package/dist/cjs/components/Breadcrumbs.js +6 -8
- package/dist/cjs/components/Button.js +11 -10
- package/dist/cjs/components/Cell.js +8 -10
- package/dist/cjs/components/Checkbox.js +4 -6
- package/dist/cjs/components/Checkmark.js +3 -5
- package/dist/cjs/components/Chips.js +4 -4
- package/dist/cjs/components/Choice.js +9 -11
- package/dist/cjs/components/Code.js +3 -5
- package/dist/cjs/components/CookiesWarning.js +12 -14
- package/dist/cjs/components/Dadata.js +2 -1
- package/dist/cjs/components/DatePeriod.js +12 -15
- package/dist/cjs/components/DatePicker.js +9 -8
- package/dist/cjs/components/Divider.js +4 -3
- package/dist/cjs/components/Drawer.js +13 -15
- package/dist/cjs/components/Dropdown.js +6 -5
- package/dist/cjs/components/Group.js +3 -2
- package/dist/cjs/components/HeroTitle.js +7 -9
- package/dist/cjs/components/Icon.js +11 -10
- package/dist/cjs/components/Input.js +3 -2
- package/dist/cjs/components/InputPassword.js +9 -11
- package/dist/cjs/components/Label.js +6 -5
- package/dist/cjs/components/Link.js +2 -1
- package/dist/cjs/components/List.js +4 -6
- package/dist/cjs/components/Loader.js +5 -4
- package/dist/cjs/components/Logo.js +4 -6
- package/dist/cjs/components/MenuItem.js +31 -10
- package/dist/cjs/components/Modal.js +10 -12
- package/dist/cjs/components/Notification.js +7 -9
- package/dist/cjs/components/Overlay.js +4 -3
- package/dist/cjs/components/Pagination.js +10 -12
- package/dist/cjs/components/Radio.js +4 -6
- package/dist/cjs/components/Response.js +8 -10
- package/dist/cjs/components/Search.js +7 -9
- package/dist/cjs/components/Segmented.js +12 -14
- package/dist/cjs/components/Select.js +15 -22
- package/dist/cjs/components/Swiper.js +5 -4
- package/dist/cjs/components/Switch.js +4 -6
- package/dist/cjs/components/Tab.js +8 -10
- package/dist/cjs/components/Text.js +4 -3
- package/dist/cjs/components/Textarea.js +3 -5
- package/dist/cjs/components/Tile.js +7 -9
- package/dist/cjs/components/Title.js +11 -10
- package/dist/cjs/components/Tooltip.js +11 -10
- package/dist/cjs/components/Warning.js +168 -0
- package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +4 -6
- package/dist/components/Accordion.js +6 -8
- package/dist/components/Avatar.js +9 -8
- package/dist/components/AvatarStack.js +8 -10
- package/dist/components/Badge.js +8 -7
- package/dist/components/Breadcrumbs.js +5 -7
- package/dist/components/Button.js +11 -10
- package/dist/components/Cell.js +7 -9
- package/dist/components/Checkbox.js +4 -6
- package/dist/components/Checkmark.js +3 -5
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice.js +7 -9
- package/dist/components/Code.js +3 -5
- package/dist/components/CookiesWarning.js +12 -14
- package/dist/components/Dadata.js +2 -1
- package/dist/components/DatePeriod.js +12 -15
- package/dist/components/DatePicker.js +9 -8
- package/dist/components/Divider.js +4 -3
- package/dist/components/Drawer.js +12 -14
- package/dist/components/Dropdown.js +6 -5
- package/dist/components/Group.js +3 -2
- package/dist/components/HeroTitle.js +6 -8
- package/dist/components/Icon.js +8 -7
- package/dist/components/Input.js +3 -2
- package/dist/components/InputPassword.js +8 -10
- package/dist/components/Label.js +6 -5
- package/dist/components/Link.js +2 -1
- package/dist/components/List.js +4 -6
- package/dist/components/Loader.js +5 -4
- package/dist/components/Logo.js +4 -6
- package/dist/components/MenuItem.js +29 -8
- package/dist/components/Modal.js +9 -11
- package/dist/components/Notification.js +6 -8
- package/dist/components/Overlay.js +4 -3
- package/dist/components/Pagination.js +8 -10
- package/dist/components/Radio.js +4 -6
- package/dist/components/Response.js +8 -10
- package/dist/components/Search.js +5 -7
- package/dist/components/Segmented.js +10 -12
- package/dist/components/Select.js +11 -18
- package/dist/components/Swiper.js +4 -3
- package/dist/components/Switch.js +4 -6
- package/dist/components/Tab.js +7 -9
- package/dist/components/Text.js +4 -3
- package/dist/components/Textarea.js +3 -5
- package/dist/components/Tile.js +6 -8
- package/dist/components/Title.js +8 -7
- package/dist/components/Tooltip.js +8 -7
- package/dist/components/Warning.js +164 -0
- package/dist/css/components/MenuItem/MenuItem.css +2 -2
- package/dist/css/components/Warning/Warning.css +52 -0
- package/dist/css/mixins/mixin_utils.css +16 -0
- package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +4 -6
- package/dist/stories/Overview.mdx +6 -6
- package/dist/stories/Playground.mdx +5 -5
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +7 -7
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonError.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonPrimary.d.ts +10 -0
- package/dist/types/components/Button/appearance/buttonSecondary.d.ts +10 -0
- package/dist/types/components/Button/appearance/buttonSuccess.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +10 -0
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +11 -0
- package/dist/types/components/Chips/stories/__mock__/index.d.ts +1 -1
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +3 -3
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +1 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +6 -6
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +6 -6
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +1 -1
- package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +6 -6
- package/dist/types/components/MenuItem/appearance/menuItemAccent.d.ts +8 -0
- package/dist/types/components/MenuItem/appearance/menuItemError.d.ts +7 -0
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +8 -0
- package/dist/types/components/Notification/appearance/notificationDefault.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationError.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationInfo.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationWarning.d.ts +1 -1
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +16 -16
- package/dist/types/components/Search/appearance/searchSize.d.ts +12 -12
- package/dist/types/components/Segmented/stories/__mock__/index.d.ts +8 -8
- package/dist/types/components/Tab/stories/__mock__/index.d.ts +1 -1
- package/dist/types/components/Warning/Warning.appearance.d.ts +101 -0
- package/dist/types/components/Warning/Warning.d.ts +4 -0
- package/dist/types/components/Warning/Warning.interface.d.ts +41 -0
- package/dist/types/components/Warning/appearance/warningAccent.d.ts +23 -0
- package/dist/types/components/Warning/appearance/warningError.d.ts +23 -0
- package/dist/types/components/Warning/appearance/warningInfo.d.ts +23 -0
- package/dist/types/components/Warning/appearance/warningSize.d.ts +11 -0
- package/dist/types/components/Warning/appearance/warningStyle.d.ts +14 -0
- package/dist/types/components/Warning/appearance/warningWarning.d.ts +23 -0
- package/dist/types/components/Warning/index.d.ts +2 -0
- package/dist/types/hooks/useAppearanceConfig/useAppearanceConfig.d.ts +1 -3
- package/package.json +13 -12
|
@@ -4,8 +4,8 @@ declare const choiceListMock: {
|
|
|
4
4
|
};
|
|
5
5
|
choices: {
|
|
6
6
|
label: string;
|
|
7
|
-
iconAfter:
|
|
8
|
-
iconBefore:
|
|
7
|
+
iconAfter: string;
|
|
8
|
+
iconBefore: string;
|
|
9
9
|
value: number;
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
@@ -14,7 +14,7 @@ declare const choiceListIconMock: {
|
|
|
14
14
|
value: number;
|
|
15
15
|
};
|
|
16
16
|
choices: {
|
|
17
|
-
icon:
|
|
17
|
+
icon: string;
|
|
18
18
|
value: number;
|
|
19
19
|
}[];
|
|
20
20
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LabelConfig } from 'src/components/Label/Label.interface';
|
|
1
2
|
import type { CookiesWarningProps } from './CookiesWarning.interface';
|
|
2
3
|
declare const cookiesWarningConfig: LabelConfig;
|
|
3
4
|
declare function CookiesWarning(props: CookiesWarningProps): false | import("react/jsx-runtime").JSX.Element;
|
|
@@ -21,16 +21,16 @@ export declare const datePickerAppearance: {
|
|
|
21
21
|
daySize: string;
|
|
22
22
|
dayTextSize: string;
|
|
23
23
|
iconFillSize: number;
|
|
24
|
-
iconLeft:
|
|
25
|
-
iconRight:
|
|
24
|
+
iconLeft: string;
|
|
25
|
+
iconRight: string;
|
|
26
26
|
};
|
|
27
27
|
sizeM: {
|
|
28
28
|
size: string;
|
|
29
29
|
daySize: string;
|
|
30
30
|
dayTextSize: string;
|
|
31
31
|
iconFillSize: number;
|
|
32
|
-
iconLeft:
|
|
33
|
-
iconRight:
|
|
32
|
+
iconLeft: string;
|
|
33
|
+
iconRight: string;
|
|
34
34
|
iconSize: number;
|
|
35
35
|
monthTextSize: string;
|
|
36
36
|
yearTextSize: string;
|
|
@@ -40,8 +40,8 @@ export declare const datePickerAppearance: {
|
|
|
40
40
|
daySize: string;
|
|
41
41
|
dayTextSize: string;
|
|
42
42
|
iconFillSize: number;
|
|
43
|
-
iconLeft:
|
|
44
|
-
iconRight:
|
|
43
|
+
iconLeft: string;
|
|
44
|
+
iconRight: string;
|
|
45
45
|
};
|
|
46
46
|
surfacePrimary: {
|
|
47
47
|
dayTextColor: string;
|
|
@@ -4,16 +4,16 @@ declare const datePickerSize: {
|
|
|
4
4
|
daySize: string;
|
|
5
5
|
dayTextSize: string;
|
|
6
6
|
iconFillSize: number;
|
|
7
|
-
iconLeft:
|
|
8
|
-
iconRight:
|
|
7
|
+
iconLeft: string;
|
|
8
|
+
iconRight: string;
|
|
9
9
|
};
|
|
10
10
|
sizeM: {
|
|
11
11
|
size: string;
|
|
12
12
|
daySize: string;
|
|
13
13
|
dayTextSize: string;
|
|
14
14
|
iconFillSize: number;
|
|
15
|
-
iconLeft:
|
|
16
|
-
iconRight:
|
|
15
|
+
iconLeft: string;
|
|
16
|
+
iconRight: string;
|
|
17
17
|
iconSize: number;
|
|
18
18
|
monthTextSize: string;
|
|
19
19
|
yearTextSize: string;
|
|
@@ -23,8 +23,8 @@ declare const datePickerSize: {
|
|
|
23
23
|
daySize: string;
|
|
24
24
|
dayTextSize: string;
|
|
25
25
|
iconFillSize: number;
|
|
26
|
-
iconLeft:
|
|
27
|
-
iconRight:
|
|
26
|
+
iconLeft: string;
|
|
27
|
+
iconRight: string;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export { datePickerSize };
|
|
@@ -15,14 +15,14 @@ declare const dropdownListMock: ({
|
|
|
15
15
|
} | {
|
|
16
16
|
key: number;
|
|
17
17
|
label: string;
|
|
18
|
-
iconBefore:
|
|
18
|
+
iconBefore: string;
|
|
19
19
|
isActive: boolean;
|
|
20
20
|
badgeValue?: undefined;
|
|
21
21
|
iconAfter?: undefined;
|
|
22
22
|
} | {
|
|
23
23
|
key: number;
|
|
24
24
|
label: string;
|
|
25
|
-
iconAfter:
|
|
25
|
+
iconAfter: string;
|
|
26
26
|
isActive: boolean;
|
|
27
27
|
badgeValue?: undefined;
|
|
28
28
|
iconBefore?: undefined;
|
|
@@ -58,27 +58,27 @@ declare const dropdownListSimpleMock: ({
|
|
|
58
58
|
declare const dropdownListBeforeMock: ({
|
|
59
59
|
key: number;
|
|
60
60
|
label: string;
|
|
61
|
-
iconBefore:
|
|
61
|
+
iconBefore: string;
|
|
62
62
|
isActive: boolean;
|
|
63
63
|
badgeValue?: undefined;
|
|
64
64
|
} | {
|
|
65
65
|
key: number;
|
|
66
66
|
label: string;
|
|
67
67
|
badgeValue: number;
|
|
68
|
-
iconBefore:
|
|
68
|
+
iconBefore: string;
|
|
69
69
|
isActive: boolean;
|
|
70
70
|
})[];
|
|
71
71
|
declare const dropdownListAfterMock: ({
|
|
72
72
|
key: number;
|
|
73
73
|
label: string;
|
|
74
|
-
iconAfter:
|
|
74
|
+
iconAfter: string;
|
|
75
75
|
isActive: boolean;
|
|
76
76
|
badgeValue?: undefined;
|
|
77
77
|
} | {
|
|
78
78
|
key: number;
|
|
79
79
|
label: string;
|
|
80
80
|
badgeValue: number;
|
|
81
|
-
iconAfter:
|
|
81
|
+
iconAfter: string;
|
|
82
82
|
isActive: boolean;
|
|
83
83
|
})[];
|
|
84
84
|
export { dropdownListMock, dropdownListSimpleMock, dropdownListBeforeMock, dropdownListAfterMock, dropdownListMessageMock, dropdownListBadgeMock, };
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const menuItemAppearanceAccent: {
|
|
2
|
+
accentMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillHover: string;
|
|
5
|
+
labelTextColor: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
iconAfterFillIcon: string;
|
|
8
|
+
iconBeforeFillIcon: string;
|
|
9
|
+
};
|
|
2
10
|
accentPrimary: {
|
|
3
11
|
fill: string;
|
|
4
12
|
fillHover: string;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const menuItemAppearanceSurface: {
|
|
2
|
+
surfaceMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillActive: string;
|
|
5
|
+
fillActiveHover: string;
|
|
6
|
+
labelTextColor: string;
|
|
7
|
+
iconAfterFillIcon: string;
|
|
8
|
+
iconBeforeFillIcon: string;
|
|
9
|
+
};
|
|
2
10
|
surfacePrimary: {
|
|
3
11
|
fill: string;
|
|
4
12
|
fillActive: string;
|
|
@@ -3,74 +3,74 @@ declare const paginationAppearanceSize: {
|
|
|
3
3
|
size: string;
|
|
4
4
|
labelTextSize: string;
|
|
5
5
|
textSize: string;
|
|
6
|
-
builderIcon:
|
|
6
|
+
builderIcon: string;
|
|
7
7
|
iconAfterFillSize: string;
|
|
8
8
|
iconAfterSize: string;
|
|
9
9
|
iconBeforeFillSize: string;
|
|
10
10
|
iconBeforeSize: string;
|
|
11
|
-
nextIcon:
|
|
11
|
+
nextIcon: string;
|
|
12
12
|
pageCountDescTextSize: string;
|
|
13
13
|
pageCountDropdownItemDividerSize: string;
|
|
14
14
|
pageCountDropdownItemLabelSize: string;
|
|
15
15
|
pageCountDropdownItemSize: string;
|
|
16
16
|
pageCountDropdownItemWidth: string;
|
|
17
|
-
pageCountInputIcon:
|
|
17
|
+
pageCountInputIcon: string;
|
|
18
18
|
pageCountInputIconFillSize: string;
|
|
19
19
|
pageCountInputTextSize: string;
|
|
20
|
-
previousIcon:
|
|
20
|
+
previousIcon: string;
|
|
21
21
|
};
|
|
22
22
|
sizeM: {
|
|
23
23
|
size: string;
|
|
24
24
|
labelTextSize: string;
|
|
25
25
|
textSize: string;
|
|
26
|
-
builderIcon:
|
|
26
|
+
builderIcon: string;
|
|
27
27
|
iconAfterFillSize: string;
|
|
28
28
|
iconAfterSize: string;
|
|
29
29
|
iconBeforeFillSize: string;
|
|
30
30
|
iconBeforeSize: string;
|
|
31
|
-
nextIcon:
|
|
31
|
+
nextIcon: string;
|
|
32
32
|
pageCountDescTextSize: string;
|
|
33
33
|
pageCountDropdownItemDividerSize: string;
|
|
34
34
|
pageCountDropdownItemLabelSize: string;
|
|
35
35
|
pageCountDropdownItemSize: string;
|
|
36
|
-
pageCountInputIcon:
|
|
36
|
+
pageCountInputIcon: string;
|
|
37
37
|
pageCountInputIconFillSize: string;
|
|
38
38
|
pageCountInputTextSize: string;
|
|
39
|
-
previousIcon:
|
|
39
|
+
previousIcon: string;
|
|
40
40
|
};
|
|
41
41
|
sizeS: {
|
|
42
42
|
size: string;
|
|
43
43
|
labelTextSize: string;
|
|
44
44
|
textSize: string;
|
|
45
|
-
builderIcon:
|
|
45
|
+
builderIcon: string;
|
|
46
46
|
iconAfterFillSize: string;
|
|
47
47
|
iconAfterSize: string;
|
|
48
48
|
iconBeforeFillSize: string;
|
|
49
49
|
iconBeforeSize: string;
|
|
50
|
-
nextIcon:
|
|
50
|
+
nextIcon: string;
|
|
51
51
|
pageCountDescTextSize: string;
|
|
52
52
|
pageCountDropdownItemDividerSize: string;
|
|
53
53
|
pageCountDropdownItemLabelSize: string;
|
|
54
54
|
pageCountDropdownItemSize: string;
|
|
55
|
-
pageCountInputIcon:
|
|
55
|
+
pageCountInputIcon: string;
|
|
56
56
|
pageCountInputTextSize: string;
|
|
57
|
-
previousIcon:
|
|
57
|
+
previousIcon: string;
|
|
58
58
|
};
|
|
59
59
|
sizeXS: {
|
|
60
60
|
size: string;
|
|
61
61
|
labelTextSize: string;
|
|
62
62
|
textSize: string;
|
|
63
63
|
beforeSize: string;
|
|
64
|
-
builderIcon:
|
|
64
|
+
builderIcon: string;
|
|
65
65
|
iconAfterFillSize: string;
|
|
66
|
-
nextIcon:
|
|
66
|
+
nextIcon: string;
|
|
67
67
|
pageCountDescTextSize: string;
|
|
68
68
|
pageCountDropdownItemDividerSize: string;
|
|
69
69
|
pageCountDropdownItemLabelSize: string;
|
|
70
70
|
pageCountDropdownItemSize: string;
|
|
71
|
-
pageCountInputIcon:
|
|
71
|
+
pageCountInputIcon: string;
|
|
72
72
|
pageCountInputTextSize: string;
|
|
73
|
-
previousIcon:
|
|
73
|
+
previousIcon: string;
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
76
|
export { paginationAppearanceSize };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
declare const searchAppearanceSize: {
|
|
2
2
|
sizeXXL: {
|
|
3
3
|
size: string;
|
|
4
|
-
iconBefore:
|
|
5
|
-
iconClear:
|
|
4
|
+
iconBefore: string;
|
|
5
|
+
iconClear: string;
|
|
6
6
|
inputTextSize: string;
|
|
7
7
|
placeholderTextSize: string;
|
|
8
8
|
};
|
|
9
9
|
sizeXL: {
|
|
10
10
|
size: string;
|
|
11
|
-
iconBefore:
|
|
12
|
-
iconClear:
|
|
11
|
+
iconBefore: string;
|
|
12
|
+
iconClear: string;
|
|
13
13
|
inputTextSize: string;
|
|
14
14
|
placeholderTextSize: string;
|
|
15
15
|
};
|
|
16
16
|
sizeL: {
|
|
17
17
|
size: string;
|
|
18
|
-
iconBefore:
|
|
19
|
-
iconClear:
|
|
18
|
+
iconBefore: string;
|
|
19
|
+
iconClear: string;
|
|
20
20
|
inputTextSize: string;
|
|
21
21
|
placeholderTextSize: string;
|
|
22
22
|
};
|
|
23
23
|
sizeM: {
|
|
24
24
|
size: string;
|
|
25
|
-
iconBefore:
|
|
26
|
-
iconClear:
|
|
25
|
+
iconBefore: string;
|
|
26
|
+
iconClear: string;
|
|
27
27
|
inputTextSize: string;
|
|
28
28
|
placeholderTextSize: string;
|
|
29
29
|
};
|
|
30
30
|
sizeS: {
|
|
31
31
|
size: string;
|
|
32
|
-
iconBefore:
|
|
33
|
-
iconClear:
|
|
32
|
+
iconBefore: string;
|
|
33
|
+
iconClear: string;
|
|
34
34
|
inputTextSize: string;
|
|
35
35
|
placeholderTextSize: string;
|
|
36
36
|
};
|
|
37
37
|
sizeXS: {
|
|
38
38
|
size: string;
|
|
39
|
-
iconBefore:
|
|
40
|
-
iconClear:
|
|
39
|
+
iconBefore: string;
|
|
40
|
+
iconClear: string;
|
|
41
41
|
inputTextSize: string;
|
|
42
42
|
placeholderTextSize: string;
|
|
43
43
|
};
|
|
@@ -4,8 +4,8 @@ declare const segmentedMock: {
|
|
|
4
4
|
};
|
|
5
5
|
segments: {
|
|
6
6
|
label: string;
|
|
7
|
-
iconAfter:
|
|
8
|
-
iconBefore:
|
|
7
|
+
iconAfter: string;
|
|
8
|
+
iconBefore: string;
|
|
9
9
|
value: number;
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
@@ -18,20 +18,20 @@ declare const segmentedIconMock: {
|
|
|
18
18
|
}[];
|
|
19
19
|
declare const segmentedMockSize: {
|
|
20
20
|
14: {
|
|
21
|
-
iconAfter:
|
|
22
|
-
iconBefore:
|
|
21
|
+
iconAfter: string;
|
|
22
|
+
iconBefore: string;
|
|
23
23
|
label: string;
|
|
24
24
|
value: number;
|
|
25
25
|
}[];
|
|
26
26
|
16: {
|
|
27
|
-
iconAfter:
|
|
28
|
-
iconBefore:
|
|
27
|
+
iconAfter: string;
|
|
28
|
+
iconBefore: string;
|
|
29
29
|
label: string;
|
|
30
30
|
value: number;
|
|
31
31
|
}[];
|
|
32
32
|
20: {
|
|
33
|
-
iconAfter:
|
|
34
|
-
iconBefore:
|
|
33
|
+
iconAfter: string;
|
|
34
|
+
iconBefore: string;
|
|
35
35
|
label: string;
|
|
36
36
|
value: number;
|
|
37
37
|
}[];
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export declare const warningAppearance: {
|
|
2
|
+
sizeL: {
|
|
3
|
+
size: string;
|
|
4
|
+
labelTextSize: string;
|
|
5
|
+
labelTextWeight: string;
|
|
6
|
+
descriptionTextSize: string;
|
|
7
|
+
iconAfterSize: string;
|
|
8
|
+
iconBeforeSize: string;
|
|
9
|
+
};
|
|
10
|
+
solid: {
|
|
11
|
+
borderColor: string;
|
|
12
|
+
};
|
|
13
|
+
outlined: {
|
|
14
|
+
fill: string;
|
|
15
|
+
};
|
|
16
|
+
full: {};
|
|
17
|
+
ghost: {
|
|
18
|
+
fill: string;
|
|
19
|
+
borderColor: string;
|
|
20
|
+
};
|
|
21
|
+
infoMutedPrimary: {
|
|
22
|
+
fill: string;
|
|
23
|
+
labelTextColor: string;
|
|
24
|
+
descriptionTextColor: string;
|
|
25
|
+
borderColor: string;
|
|
26
|
+
iconAfter: string;
|
|
27
|
+
iconAfterFillIcon: string;
|
|
28
|
+
iconBefore: string;
|
|
29
|
+
iconBeforeFillIcon: string;
|
|
30
|
+
};
|
|
31
|
+
infoPrimary: {
|
|
32
|
+
fill: string;
|
|
33
|
+
labelTextColor: string;
|
|
34
|
+
descriptionTextColor: string;
|
|
35
|
+
borderColor: string;
|
|
36
|
+
iconAfter: string;
|
|
37
|
+
iconAfterFillIcon: string;
|
|
38
|
+
iconBefore: string;
|
|
39
|
+
iconBeforeFillIcon: string;
|
|
40
|
+
};
|
|
41
|
+
errorMutedPrimary: {
|
|
42
|
+
fill: string;
|
|
43
|
+
labelTextColor: string;
|
|
44
|
+
descriptionTextColor: string;
|
|
45
|
+
borderColor: string;
|
|
46
|
+
iconAfter: string;
|
|
47
|
+
iconAfterFillIcon: string;
|
|
48
|
+
iconBefore: string;
|
|
49
|
+
iconBeforeFillIcon: string;
|
|
50
|
+
};
|
|
51
|
+
errorPrimary: {
|
|
52
|
+
fill: string;
|
|
53
|
+
labelTextColor: string;
|
|
54
|
+
descriptionTextColor: string;
|
|
55
|
+
borderColor: string;
|
|
56
|
+
iconAfter: string;
|
|
57
|
+
iconAfterFillIcon: string;
|
|
58
|
+
iconBefore: string;
|
|
59
|
+
iconBeforeFillIcon: string;
|
|
60
|
+
};
|
|
61
|
+
warningMutedPrimary: {
|
|
62
|
+
fill: string;
|
|
63
|
+
labelTextColor: string;
|
|
64
|
+
descriptionTextColor: string;
|
|
65
|
+
borderColor: string;
|
|
66
|
+
iconAfter: string;
|
|
67
|
+
iconAfterFillIcon: string;
|
|
68
|
+
iconBefore: string;
|
|
69
|
+
iconBeforeFillIcon: string;
|
|
70
|
+
};
|
|
71
|
+
warningPrimary: {
|
|
72
|
+
fill: string;
|
|
73
|
+
labelTextColor: string;
|
|
74
|
+
descriptionTextColor: string;
|
|
75
|
+
borderColor: string;
|
|
76
|
+
iconAfter: string;
|
|
77
|
+
iconAfterFillIcon: string;
|
|
78
|
+
iconBefore: string;
|
|
79
|
+
iconBeforeFillIcon: string;
|
|
80
|
+
};
|
|
81
|
+
accentMutedPrimary: {
|
|
82
|
+
fill: string;
|
|
83
|
+
labelTextColor: string;
|
|
84
|
+
descriptionTextColor: string;
|
|
85
|
+
borderColor: string;
|
|
86
|
+
iconAfter: string;
|
|
87
|
+
iconAfterFillIcon: string;
|
|
88
|
+
iconBefore: string;
|
|
89
|
+
iconBeforeFillIcon: string;
|
|
90
|
+
};
|
|
91
|
+
accentPrimary: {
|
|
92
|
+
fill: string;
|
|
93
|
+
labelTextColor: string;
|
|
94
|
+
descriptionTextColor: string;
|
|
95
|
+
borderColor: string;
|
|
96
|
+
iconAfter: string;
|
|
97
|
+
iconAfterFillIcon: string;
|
|
98
|
+
iconBefore: string;
|
|
99
|
+
iconBeforeFillIcon: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { CSSProperties, ElementType } from 'react';
|
|
2
|
+
import { AppearanceKeysDefault, BorderColorProps, FillProps, ItemColorProps, ShapeProps, SizePXProps, TextColorProps, TextSizeProps, TextWeightProps } from '@itcase/types';
|
|
3
|
+
interface WarningThemeColor {
|
|
4
|
+
borderColor?: BorderColorProps;
|
|
5
|
+
descriptionTextColor: TextColorProps;
|
|
6
|
+
descriptionTextSize: TextSizeProps;
|
|
7
|
+
fill?: FillProps;
|
|
8
|
+
iconAfter: ElementType;
|
|
9
|
+
iconAfterFillIcon: ItemColorProps;
|
|
10
|
+
iconAfterSize: SizePXProps;
|
|
11
|
+
iconAfterSrc: string;
|
|
12
|
+
iconBefore: ElementType;
|
|
13
|
+
iconBeforeFill: FillProps;
|
|
14
|
+
iconBeforeFillIcon: ItemColorProps;
|
|
15
|
+
iconBeforeSize: SizePXProps;
|
|
16
|
+
iconBeforeSrc: string;
|
|
17
|
+
labelTextColor?: TextColorProps;
|
|
18
|
+
labelTextSize?: TextSizeProps;
|
|
19
|
+
labelTextWeight: TextWeightProps;
|
|
20
|
+
size: TextSizeProps;
|
|
21
|
+
}
|
|
22
|
+
type WarningAppearance = {
|
|
23
|
+
[key in AppearanceKeysDefault]?: WarningThemeColor;
|
|
24
|
+
};
|
|
25
|
+
interface WarningConfig {
|
|
26
|
+
[key: number | string | symbol]: any;
|
|
27
|
+
appearance: WarningAppearance | undefined;
|
|
28
|
+
setAppearance: (newComponent: WarningAppearance) => void;
|
|
29
|
+
}
|
|
30
|
+
interface WarningProps {
|
|
31
|
+
appearance?: string;
|
|
32
|
+
className: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
iconAfterSrc?: string;
|
|
35
|
+
iconBeforeSrc?: string;
|
|
36
|
+
label?: string;
|
|
37
|
+
shape?: ShapeProps;
|
|
38
|
+
style?: CSSProperties;
|
|
39
|
+
isSkeleton?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export { WarningProps, WarningConfig };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const warningAppearanceAccent: {
|
|
2
|
+
accentMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
descriptionTextColor: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
iconAfter: string;
|
|
8
|
+
iconAfterFillIcon: string;
|
|
9
|
+
iconBefore: string;
|
|
10
|
+
iconBeforeFillIcon: string;
|
|
11
|
+
};
|
|
12
|
+
accentPrimary: {
|
|
13
|
+
fill: string;
|
|
14
|
+
labelTextColor: string;
|
|
15
|
+
descriptionTextColor: string;
|
|
16
|
+
borderColor: string;
|
|
17
|
+
iconAfter: string;
|
|
18
|
+
iconAfterFillIcon: string;
|
|
19
|
+
iconBefore: string;
|
|
20
|
+
iconBeforeFillIcon: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export { warningAppearanceAccent };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const warningAppearanceError: {
|
|
2
|
+
errorMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
descriptionTextColor: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
iconAfter: string;
|
|
8
|
+
iconAfterFillIcon: string;
|
|
9
|
+
iconBefore: string;
|
|
10
|
+
iconBeforeFillIcon: string;
|
|
11
|
+
};
|
|
12
|
+
errorPrimary: {
|
|
13
|
+
fill: string;
|
|
14
|
+
labelTextColor: string;
|
|
15
|
+
descriptionTextColor: string;
|
|
16
|
+
borderColor: string;
|
|
17
|
+
iconAfter: string;
|
|
18
|
+
iconAfterFillIcon: string;
|
|
19
|
+
iconBefore: string;
|
|
20
|
+
iconBeforeFillIcon: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export { warningAppearanceError };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const warningAppearanceInfo: {
|
|
2
|
+
infoMutedPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
labelTextColor: string;
|
|
5
|
+
descriptionTextColor: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
iconAfter: string;
|
|
8
|
+
iconAfterFillIcon: string;
|
|
9
|
+
iconBefore: string;
|
|
10
|
+
iconBeforeFillIcon: string;
|
|
11
|
+
};
|
|
12
|
+
infoPrimary: {
|
|
13
|
+
fill: string;
|
|
14
|
+
labelTextColor: string;
|
|
15
|
+
descriptionTextColor: string;
|
|
16
|
+
borderColor: string;
|
|
17
|
+
iconAfter: string;
|
|
18
|
+
iconAfterFillIcon: string;
|
|
19
|
+
iconBefore: string;
|
|
20
|
+
iconBeforeFillIcon: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export { warningAppearanceInfo };
|