@itcase/ui 1.8.1 → 1.8.3
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/{Badge-Df7Zxjnk.js → Badge_cjs_DrG2tUjI.js} +12 -34
- package/dist/{Badge-BY030Mwm.js → Badge_es_Bx0NsdST.js} +12 -34
- package/dist/{Button-CWPTzaG2.js → Button_cjs_B7OmqizJ.js} +26 -25
- package/dist/{Button-DHOZJDHv.js → Button_es_CBbHMy1v.js} +26 -25
- package/dist/{Divider-BQIfjvPR.js → Divider_cjs_DakITdTv.js} +1 -1
- package/dist/{Divider-CUFKsm-9.js → Divider_es_CWsDM2Rm.js} +1 -1
- package/dist/{DropdownItem-_bKQxzEZ.js → DropdownItem_cjs_TdJHpFgg.js} +3 -3
- package/dist/{DropdownItem-Cl1pYnVf.js → DropdownItem_es_CdYP5BQN.js} +3 -3
- package/dist/{Group-utjnjUDZ.js → Group_cjs_DFmNT5Mq.js} +8 -4
- package/dist/{Group-C8NUU6k5.js → Group_es_CRGwi5XI.js} +8 -4
- package/dist/{Icon-D_BDlSSb.js → Icon_cjs_DSzfNqif.js} +3 -3
- package/dist/{Icon-BF7i3XdQ.js → Icon_es_BBmoZ7_3.js} +3 -3
- package/dist/{Input-BRhHPsGM.js → Input_cjs_DkQh0Utd.js} +1 -1
- package/dist/{Input-BH6rNRqZ.js → Input_es_Bs0gEq3L.js} +1 -1
- package/dist/{Label-DsNZ-asS.js → Label_cjs_BCjB-mxC.js} +5 -5
- package/dist/{Label-brG78nLi.js → Label_es_CZpanSdR.js} +5 -5
- package/dist/{Link-CZ8o5lGW.js → Link_cjs_yht44xJv.js} +1 -1
- package/dist/{Link-Cn7hiWmM.js → Link_es_DkW06IM-.js} +1 -1
- package/dist/{Loader-CjT6-r3I.js → Loader_cjs_D753D3li.js} +2 -2
- package/dist/{Loader-Dquhwxz4.js → Loader_es_BE4nyzXi.js} +2 -2
- package/dist/{Overlay-BoIJ-g58.js → Overlay_cjs_BTSfcGrM.js} +1 -2
- package/dist/{Overlay-Be9UCtR9.js → Overlay_es_CR7d-ISF.js} +1 -2
- package/dist/{Text-DwIx33-P.js → Text_cjs_D4xG0cKD.js} +3 -3
- package/dist/{Text-aaWArShm.js → Text_es_FJGduy7Z.js} +3 -3
- package/dist/{Title-ByfOyy-n.js → Title_cjs_iuyln-ab.js} +1 -1
- package/dist/{Title--_epIXkC.js → Title_es_ke3YylFm.js} +1 -1
- package/dist/{Tooltip-hznDyLwa.js → Tooltip_cjs_CTwksdFk.js} +3 -3
- package/dist/{Tooltip-DP32J5V6.js → Tooltip_es_H976MIb7.js} +3 -3
- package/dist/cjs/components/Accordion.js +7 -7
- package/dist/cjs/components/Avatar.js +9 -9
- package/dist/cjs/components/Badge.js +7 -7
- package/dist/cjs/components/Breadcrumbs.js +6 -6
- package/dist/cjs/components/Button.js +8 -8
- package/dist/cjs/components/Cell.js +7 -7
- package/dist/cjs/components/Checkbox.js +2 -2
- package/dist/cjs/components/Checkmark.js +1 -1
- package/dist/cjs/components/Chips.js +9 -9
- package/dist/cjs/components/Choice.js +55 -19
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +9 -9
- package/dist/cjs/components/DadataHintField.js +4 -4
- package/dist/cjs/components/DatePicker.js +113 -46
- package/dist/cjs/components/Divider.js +2 -2
- package/dist/cjs/components/Dot.js +1 -1
- package/dist/cjs/components/Dropdown.js +4 -4
- package/dist/cjs/components/Flex.js +1 -1
- package/dist/cjs/components/Grid.js +1 -1
- package/dist/cjs/components/Group.js +2 -2
- package/dist/cjs/components/HTMLContent.js +1 -1
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +6 -6
- package/dist/cjs/components/Image.js +2 -2
- package/dist/cjs/components/Input.js +2 -2
- package/dist/cjs/components/InputMask.js +3 -3
- package/dist/cjs/components/InputPassword.js +6 -6
- package/dist/cjs/components/Label.js +5 -5
- package/dist/cjs/components/Link.js +2 -2
- package/dist/cjs/components/List.js +2 -2
- package/dist/cjs/components/Loader.js +3 -3
- package/dist/cjs/components/Logo.js +2 -2
- package/dist/cjs/components/MenuItem.js +3 -3
- package/dist/cjs/components/Modal.js +5 -5
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Overlay.js +2 -2
- package/dist/cjs/components/Pagination.js +14 -10
- package/dist/cjs/components/Panel.js +3 -3
- package/dist/cjs/components/Radio.js +2 -2
- package/dist/cjs/components/RangeSlider.js +1 -1
- package/dist/cjs/components/Response.js +9 -9
- package/dist/cjs/components/SVGContent.js +1 -1
- package/dist/cjs/components/ScrollOnDrag.js +3 -3
- package/dist/cjs/components/ScrollToView.js +1 -1
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +59 -16
- package/dist/cjs/components/Segmented.js +30 -18
- package/dist/cjs/components/Select.js +10 -10
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +2 -2
- package/dist/cjs/components/Tab.js +50 -70
- package/dist/cjs/components/Text.js +2 -2
- package/dist/cjs/components/Textarea.js +132 -51
- package/dist/cjs/components/Tile.js +7 -7
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +4 -4
- package/dist/cjs/components/Video.js +1 -1
- package/dist/cjs/context/Notifications.js +2 -2
- package/dist/cjs/context/UIContext.js +4 -4
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
- package/dist/cjs/hooks/useStyles.js +1 -1
- package/dist/components/Accordion.js +7 -7
- package/dist/components/Avatar.js +9 -9
- package/dist/components/Badge.js +7 -7
- package/dist/components/Breadcrumbs.js +6 -6
- package/dist/components/Button.js +8 -8
- package/dist/components/Cell.js +7 -7
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/Checkmark.js +1 -1
- package/dist/components/Chips.js +9 -9
- package/dist/components/Choice.js +55 -19
- package/dist/components/Code.js +1 -1
- package/dist/components/CookiesWarning.js +9 -9
- package/dist/components/DadataHintField.js +4 -4
- package/dist/components/DatePicker.js +113 -46
- package/dist/components/Divider.js +2 -2
- package/dist/components/Dot.js +1 -1
- package/dist/components/Dropdown.js +4 -4
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group.js +2 -2
- package/dist/components/HTMLContent.js +1 -1
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +6 -6
- package/dist/components/Image.js +2 -2
- package/dist/components/Input.js +2 -2
- package/dist/components/InputMask.js +3 -3
- package/dist/components/InputPassword.js +6 -6
- package/dist/components/Label.js +5 -5
- package/dist/components/Link.js +2 -2
- package/dist/components/List.js +2 -2
- package/dist/components/Loader.js +3 -3
- package/dist/components/Logo.js +2 -2
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/Modal.js +5 -5
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +2 -2
- package/dist/components/Overlay.js +2 -2
- package/dist/components/Pagination.js +15 -11
- package/dist/components/Panel.js +3 -3
- package/dist/components/Radio.js +2 -2
- package/dist/components/RangeSlider.js +1 -1
- package/dist/components/Response.js +9 -9
- package/dist/components/SVGContent.js +1 -1
- package/dist/components/ScrollOnDrag.js +2 -2
- package/dist/components/ScrollToView.js +1 -1
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +59 -16
- package/dist/components/Segmented.js +30 -18
- package/dist/components/Select.js +10 -10
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +2 -2
- package/dist/components/Tab.js +50 -70
- package/dist/components/Text.js +2 -2
- package/dist/components/Textarea.js +133 -51
- package/dist/components/Tile.js +7 -7
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +4 -4
- package/dist/components/Video.js +1 -1
- package/dist/context/Notifications.js +2 -2
- package/dist/context/UIContext.js +4 -4
- package/dist/css/components/Accordion/Accordion.css +2 -0
- package/dist/css/components/Avatar/Avatar.css +15 -14
- package/dist/css/components/Badge/Badge.css +1 -0
- package/dist/css/components/Button/Button.css +8 -2
- package/dist/css/components/Cell/Cell.css +10 -9
- package/dist/css/components/Chips/Chips.css +12 -0
- package/dist/css/components/Choice/Choice.css +47 -14
- package/dist/css/components/Choice/css/__item/choice__item.css +3 -0
- package/dist/css/components/Choice/css/__item/choice__item_size.css +10 -0
- package/dist/css/components/Code/Code.css +9 -11
- package/dist/css/components/CookiesWarning/CookiesWarning.token.css +2 -0
- package/dist/css/components/DatePicker/DatePicker.css +112 -24
- package/dist/css/components/Divider/Divider.css +3 -4
- package/dist/css/components/Dot/Dot.css +1 -0
- package/dist/css/components/Drawer/Drawer.css +4 -7
- package/dist/css/components/Dropdown/Dropdown.css +18 -3
- package/dist/css/components/Grid/Grid.css +12 -3
- package/dist/css/components/Group/Group.css +1 -1
- package/dist/css/components/Icon/Icon.css +6 -0
- package/dist/css/components/Input/Input.css +7 -9
- package/dist/css/components/InputMask/{Input.css → InputMask.css} +4 -4
- package/dist/css/components/InputPassword/InputPassword.css +1 -0
- package/dist/css/components/Loader/Loader.css +6 -0
- package/dist/css/components/Modal/Modal.css +1 -0
- package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +6 -0
- package/dist/css/components/Pagination/Pagination.css +7 -5
- package/dist/css/components/Pagination/css/__item/pagination__item.css +1 -1
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +1 -4
- package/dist/css/components/Radio/Radio.css +2 -0
- package/dist/css/components/Search/Search.css +5 -2
- package/dist/css/components/Search/css/search-input/search-input_size.css +1 -0
- package/dist/css/components/Segmented/Segmented.css +3 -0
- package/dist/css/components/Select/Select.css +2 -0
- package/dist/css/components/Swiper/Swiper.css +3 -3
- package/dist/css/components/Tab/Tab.css +2 -2
- package/dist/css/components/Text/Text.css +15 -12
- package/dist/css/components/Textarea/Textarea.css +38 -26
- package/dist/css/components/Tile/Tile.css +9 -0
- package/dist/css/components/Tooltip/Tooltip.css +7 -0
- package/dist/css/styles/border-color/border-color.css +6 -6
- package/dist/css/styles/border-color/border-color_focus.css +7 -5
- package/dist/css/styles/border-color/border-color_hover.css +13 -9
- package/dist/css/styles/border-width/border-width.css +2 -1
- package/dist/css/styles/caret-color/caret-color.css +6 -4
- package/dist/css/styles/fill/fill.css +19 -34
- package/dist/css/styles/fill/fill_active.css +14 -25
- package/dist/css/styles/fill/fill_active_hover.css +23 -27
- package/dist/css/styles/fill/fill_hover.css +27 -33
- package/dist/css/styles/opacity/opacity.css +3 -2
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +6 -4
- package/dist/css/styles/svg-color/svg_fill.css +6 -9
- package/dist/css/styles/svg-color/svg_fill_hover.css +6 -4
- package/dist/css/styles/svg-color/svg_path_fill.css +6 -5
- package/dist/css/styles/text-color/text-color.css +6 -6
- package/dist/css/styles/text-color/text-color_active.css +7 -6
- package/dist/css/styles/text-color/text-color_hover.css +7 -6
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDeviceTargetClass.js +1 -1
- package/dist/hooks/useStyles/useStyles.js +1 -1
- package/dist/hooks/useStyles.js +1 -1
- package/dist/stories/Breadcrumbs.mdx +15 -0
- package/dist/stories/BreadcrumbsItem.mdx +17 -0
- package/dist/stories/Image.mdx +2 -2
- package/dist/stories/ListItem.mdx +11 -0
- package/dist/stories/Overview.mdx +15 -5
- package/dist/stories/Playground.mdx +4 -4
- package/dist/stories/Playgroynd.mdx +11 -0
- package/dist/stories/Plsyground.mdx +14 -0
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +0 -20
- package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -7
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +6 -5
- package/dist/types/components/Choice/appearance/choiceAccent.d.ts +1 -2
- package/dist/types/components/Choice/appearance/choiceSize.d.ts +18 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +14 -0
- package/dist/types/components/Choice/appearance/choiceSurface.d.ts +5 -2
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +4 -2
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +80 -12
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +51 -0
- package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +26 -0
- package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +8 -11
- package/dist/types/components/InputMask/InputMask.d.ts +5 -0
- package/dist/types/components/InputMask/index.d.ts +1 -1
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +3 -0
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchSize.d.ts +17 -0
- package/dist/types/components/Search/appearance/searchStyle.d.ts +14 -0
- package/dist/types/components/Search/appearance/searchSurface.d.ts +18 -0
- package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +15 -0
- package/dist/types/components/Segmented/appearance/segmentedSurface.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSize.d.ts +10 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +14 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +51 -0
- package/dist/types/components/Textarea/Textarea.appearance.d.ts +1 -2
- package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -8
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +18 -0
- package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaError.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaSize.d.ts +31 -0
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +14 -0
- package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +20 -0
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/Video/Video.interface.d.ts +3 -1
- package/dist/types/components/Video/stories/mocks/videoSources.d.ts +6 -0
- package/dist/types/context/Notifications.d.ts +2 -2
- package/dist/types/context/UIContext.d.ts +1 -1
- package/package.json +15 -15
- package/dist/css/styles/fill/fill_disabled.css +0 -33
- package/dist/stories/Avatar.mdx +0 -23
- package/dist/stories/Badge.mdx +0 -13
- package/dist/stories/Button.mdx +0 -12
- package/dist/stories/Cell.mdx +0 -7
- package/dist/stories/Checkbox.mdx +0 -12
- package/dist/stories/Checkmark.mdx +0 -10
- package/dist/stories/Chips.mdx +0 -37
- package/dist/stories/Choice.mdx +0 -11
- package/dist/stories/Code.mdx +0 -11
- package/dist/stories/DatePicker.mdx +0 -31
- package/dist/stories/HeroTitle.mdx +0 -31
- package/dist/stories/Textarea.mdx +0 -15
- package/dist/stories/Title.mdx +0 -31
- package/dist/stories/Tooltip.mdx +0 -19
- package/dist/types/components/InputMask/Input.d.ts +0 -5
- /package/dist/{Image-DuIBtUq5.js → Image_cjs_DuIBtUq5.js} +0 -0
- /package/dist/{Image-CSzHhlA1.js → Image_es_CSzHhlA1.js} +0 -0
- /package/dist/{Scrollbar-DcKOfcNp.js → Scrollbar_cjs_DcKOfcNp.js} +0 -0
- /package/dist/{Scrollbar-CThJeCLF.js → Scrollbar_es_CThJeCLF.js} +0 -0
- /package/dist/{tslib.es6-CCZ3TN_7.js → tslib.es6_cjs_CCZ3TN_7.js} +0 -0
- /package/dist/{tslib.es6-Bwu1Cn-t.js → tslib.es6_es_Bwu1Cn-t.js} +0 -0
- /package/dist/types/components/InputMask/{Input.interface.d.ts → InputMask.interface.d.ts} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
declare const buttonAppearanceSize: {
|
|
2
2
|
sizeXXL: {
|
|
3
|
-
labelTextSize: string;
|
|
4
3
|
size: string;
|
|
4
|
+
labelTextSize: string;
|
|
5
5
|
iconAfterFillSize: number;
|
|
6
6
|
iconAfterSize: number;
|
|
7
7
|
iconBeforeFillSize: number;
|
|
8
8
|
iconBeforeSize: number;
|
|
9
9
|
};
|
|
10
10
|
sizeXL: {
|
|
11
|
+
size: string;
|
|
11
12
|
labelTextSize: string;
|
|
12
13
|
iconAfterFillSize: number;
|
|
13
14
|
iconAfterSize: number;
|
|
14
15
|
iconBeforeFillSize: number;
|
|
15
16
|
iconBeforeSize: number;
|
|
16
|
-
size: string;
|
|
17
17
|
};
|
|
18
18
|
sizeL: {
|
|
19
|
+
size: string;
|
|
19
20
|
labelTextSize: string;
|
|
20
21
|
iconAfterFillSize: number;
|
|
21
22
|
iconAfterSize: number;
|
|
22
23
|
iconBeforeFillSize: number;
|
|
23
24
|
iconBeforeSize: number;
|
|
24
|
-
size: string;
|
|
25
25
|
};
|
|
26
26
|
sizeM: {
|
|
27
|
+
size: string;
|
|
27
28
|
labelTextSize: string;
|
|
28
29
|
iconAfterFillSize: number;
|
|
29
30
|
iconAfterSize: number;
|
|
30
31
|
iconBeforeFillSize: number;
|
|
31
32
|
iconBeforeSize: number;
|
|
32
|
-
size: string;
|
|
33
33
|
};
|
|
34
34
|
sizeS: {
|
|
35
|
+
size: string;
|
|
35
36
|
labelTextSize: string;
|
|
36
37
|
iconAfterFillSize: number;
|
|
37
38
|
iconAfterSize: number;
|
|
38
39
|
iconBeforeFillSize: number;
|
|
39
40
|
iconBeforeSize: number;
|
|
40
|
-
size: string;
|
|
41
41
|
};
|
|
42
42
|
sizeXS: {
|
|
43
|
+
size: string;
|
|
43
44
|
labelTextSize: string;
|
|
44
45
|
iconAfterFillSize: number;
|
|
45
46
|
iconAfterSize: number;
|
|
46
47
|
iconBeforeFillSize: number;
|
|
47
48
|
iconBeforeSize: number;
|
|
48
|
-
size: string;
|
|
49
49
|
};
|
|
50
50
|
sizeXXS: {
|
|
51
|
+
size: string;
|
|
51
52
|
labelTextSize: string;
|
|
52
53
|
iconAfterFillSize: number;
|
|
53
54
|
iconAfterSize: number;
|
|
54
55
|
iconBeforeFillSize: number;
|
|
55
56
|
iconBeforeSize: number;
|
|
56
|
-
size: string;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
export { buttonAppearanceSize };
|
|
@@ -3,20 +3,21 @@ declare const buttonAppearanceSurface: {
|
|
|
3
3
|
fill: string;
|
|
4
4
|
fillHover: string;
|
|
5
5
|
labelTextColor: string;
|
|
6
|
+
iconFillIcon: string;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
+
surfaceQuaternary: {
|
|
8
9
|
fill: string;
|
|
9
10
|
fillHover: string;
|
|
10
11
|
labelTextColor: string;
|
|
11
|
-
loaderFill: string;
|
|
12
|
-
loaderItemFill: string;
|
|
13
12
|
};
|
|
14
|
-
|
|
13
|
+
surfaceSecondary: {
|
|
15
14
|
fill: string;
|
|
16
15
|
fillHover: string;
|
|
17
16
|
labelTextColor: string;
|
|
17
|
+
loaderFill: string;
|
|
18
|
+
loaderItemFill: string;
|
|
18
19
|
};
|
|
19
|
-
|
|
20
|
+
surfaceTertiary: {
|
|
20
21
|
fill: string;
|
|
21
22
|
fillHover: string;
|
|
22
23
|
labelTextColor: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const choiceAppearanceSize: {
|
|
2
|
+
sizeL: {
|
|
3
|
+
size: string;
|
|
4
|
+
labelTextSize: string;
|
|
5
|
+
iconSize: string;
|
|
6
|
+
};
|
|
7
|
+
sizeM: {
|
|
8
|
+
size: string;
|
|
9
|
+
labelTextSize: string;
|
|
10
|
+
iconSize: string;
|
|
11
|
+
};
|
|
12
|
+
sizeS: {
|
|
13
|
+
size: string;
|
|
14
|
+
labelTextSize: string;
|
|
15
|
+
iconSize: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export { choiceAppearanceSize };
|
|
@@ -7,7 +7,10 @@ declare const choiceAppearanceSurface: {
|
|
|
7
7
|
fillItemHover: string;
|
|
8
8
|
labelTextActiveColor: string;
|
|
9
9
|
labelTextColor: string;
|
|
10
|
-
|
|
10
|
+
labelTextWrap: string;
|
|
11
|
+
borderColor: string;
|
|
12
|
+
iconBeforeFill: string;
|
|
13
|
+
iconBeforeFillActive: string;
|
|
11
14
|
};
|
|
12
15
|
surfaceSecondary: {
|
|
13
16
|
fill: string;
|
|
@@ -16,7 +19,7 @@ declare const choiceAppearanceSurface: {
|
|
|
16
19
|
fillItemHover: string;
|
|
17
20
|
labelTextActiveColor: string;
|
|
18
21
|
labelTextColor: string;
|
|
19
|
-
|
|
22
|
+
labelTextWrap: string;
|
|
20
23
|
};
|
|
21
24
|
};
|
|
22
25
|
export { choiceAppearanceSurface };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
|
+
import { DaDataSuggestion } from 'react-dadata';
|
|
3
|
+
import { DaDataParty } from 'react-dadata/dist/variants/party_russia/party-russia-types';
|
|
2
4
|
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
3
5
|
export interface DadataHintFieldProps extends StyleAttributes {
|
|
4
6
|
delay?: number;
|
|
@@ -6,8 +8,8 @@ export interface DadataHintFieldProps extends StyleAttributes {
|
|
|
6
8
|
inputProps?: HTMLProps<HTMLInputElement>;
|
|
7
9
|
meta?: any;
|
|
8
10
|
token: string;
|
|
9
|
-
setValue?: () => void;
|
|
11
|
+
setValue?: (suggestion?: DaDataSuggestion<DaDataParty>) => void;
|
|
10
12
|
}
|
|
11
|
-
export interface
|
|
13
|
+
export interface DadataCustomInputProps extends StyleAttributes {
|
|
12
14
|
inputValue?: string;
|
|
13
15
|
}
|
|
@@ -1,29 +1,97 @@
|
|
|
1
1
|
export declare const datePickerAppearance: {
|
|
2
|
+
solid: {
|
|
3
|
+
datePickerProps: {};
|
|
4
|
+
inputProps: {
|
|
5
|
+
borderWidth: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
outlined: {
|
|
9
|
+
datePickerProps: {};
|
|
10
|
+
inputProps: {
|
|
11
|
+
fill: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
ghost: {
|
|
15
|
+
datePickerProps: {};
|
|
16
|
+
inputProps: {
|
|
17
|
+
fill: string;
|
|
18
|
+
borderWidth: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
full: {
|
|
22
|
+
datePickerProps: {};
|
|
23
|
+
inputProps: {};
|
|
24
|
+
};
|
|
25
|
+
sizeS: {
|
|
26
|
+
datePickerProps: {
|
|
27
|
+
daySize: string;
|
|
28
|
+
dayTextSize: string;
|
|
29
|
+
iconFillSize: number;
|
|
30
|
+
iconLeft: any;
|
|
31
|
+
iconRight: any;
|
|
32
|
+
};
|
|
33
|
+
inputProps: {
|
|
34
|
+
size: string;
|
|
35
|
+
textSize: string;
|
|
36
|
+
clearIcon: any;
|
|
37
|
+
clearIconSize: number;
|
|
38
|
+
clearLabelTextSize: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
sizeM: {
|
|
42
|
+
datePickerProps: {
|
|
43
|
+
daySize: string;
|
|
44
|
+
dayTextSize: string;
|
|
45
|
+
iconFillSize: number;
|
|
46
|
+
iconLeft: any;
|
|
47
|
+
iconRight: any;
|
|
48
|
+
};
|
|
49
|
+
inputProps: {
|
|
50
|
+
size: string;
|
|
51
|
+
textSize: string;
|
|
52
|
+
clearIcon: any;
|
|
53
|
+
clearIconSize: number;
|
|
54
|
+
clearLabelTextSize: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
sizeL: {
|
|
58
|
+
datePickerProps: {
|
|
59
|
+
daySize: string;
|
|
60
|
+
dayTextSize: string;
|
|
61
|
+
iconFillSize: number;
|
|
62
|
+
iconLeft: any;
|
|
63
|
+
iconRight: any;
|
|
64
|
+
};
|
|
65
|
+
inputProps: {
|
|
66
|
+
size: string;
|
|
67
|
+
textSize: string;
|
|
68
|
+
clearIcon: any;
|
|
69
|
+
clearIconSize: number;
|
|
70
|
+
clearLabelTextSize: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
2
73
|
surfacePrimary: {
|
|
3
|
-
|
|
74
|
+
datePickerProps: {
|
|
4
75
|
daySize: string;
|
|
5
76
|
dayTextColor: string;
|
|
6
77
|
dayTextShape: string;
|
|
7
78
|
dayTextSize: string;
|
|
79
|
+
iconFillHover: string;
|
|
8
80
|
iconItemFill: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
yearTextColor: string;
|
|
13
|
-
yearTextSize: string;
|
|
14
|
-
yearTextWeight: string;
|
|
15
|
-
};
|
|
16
|
-
input: {
|
|
81
|
+
iconShape: string;
|
|
82
|
+
};
|
|
83
|
+
inputProps: {
|
|
17
84
|
width: string;
|
|
18
|
-
size: string;
|
|
19
85
|
fill: string;
|
|
20
86
|
fillHover: string;
|
|
21
87
|
borderColor: string;
|
|
22
88
|
textColor: string;
|
|
23
|
-
textSize: string;
|
|
24
89
|
caret: string;
|
|
90
|
+
clearIconItemFill: string;
|
|
91
|
+
clearIconItemFillHover: string;
|
|
92
|
+
clearLabelTextColor: string;
|
|
93
|
+
clearLabelTextColorHover: string;
|
|
25
94
|
placeholderTextColor: string;
|
|
26
|
-
shape: string;
|
|
27
95
|
};
|
|
28
96
|
};
|
|
29
97
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const datePickerSize: {
|
|
2
|
+
sizeS: {
|
|
3
|
+
datePickerProps: {
|
|
4
|
+
daySize: string;
|
|
5
|
+
dayTextSize: string;
|
|
6
|
+
iconFillSize: number;
|
|
7
|
+
iconLeft: any;
|
|
8
|
+
iconRight: any;
|
|
9
|
+
};
|
|
10
|
+
inputProps: {
|
|
11
|
+
size: string;
|
|
12
|
+
textSize: string;
|
|
13
|
+
clearIcon: any;
|
|
14
|
+
clearIconSize: number;
|
|
15
|
+
clearLabelTextSize: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
sizeM: {
|
|
19
|
+
datePickerProps: {
|
|
20
|
+
daySize: string;
|
|
21
|
+
dayTextSize: string;
|
|
22
|
+
iconFillSize: number;
|
|
23
|
+
iconLeft: any;
|
|
24
|
+
iconRight: any;
|
|
25
|
+
};
|
|
26
|
+
inputProps: {
|
|
27
|
+
size: string;
|
|
28
|
+
textSize: string;
|
|
29
|
+
clearIcon: any;
|
|
30
|
+
clearIconSize: number;
|
|
31
|
+
clearLabelTextSize: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
sizeL: {
|
|
35
|
+
datePickerProps: {
|
|
36
|
+
daySize: string;
|
|
37
|
+
dayTextSize: string;
|
|
38
|
+
iconFillSize: number;
|
|
39
|
+
iconLeft: any;
|
|
40
|
+
iconRight: any;
|
|
41
|
+
};
|
|
42
|
+
inputProps: {
|
|
43
|
+
size: string;
|
|
44
|
+
textSize: string;
|
|
45
|
+
clearIcon: any;
|
|
46
|
+
clearIconSize: number;
|
|
47
|
+
clearLabelTextSize: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export { datePickerSize };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const datePickerStyle: {
|
|
2
|
+
solid: {
|
|
3
|
+
datePickerProps: {};
|
|
4
|
+
inputProps: {
|
|
5
|
+
borderWidth: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
outlined: {
|
|
9
|
+
datePickerProps: {};
|
|
10
|
+
inputProps: {
|
|
11
|
+
fill: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
ghost: {
|
|
15
|
+
datePickerProps: {};
|
|
16
|
+
inputProps: {
|
|
17
|
+
fill: string;
|
|
18
|
+
borderWidth: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
full: {
|
|
22
|
+
datePickerProps: {};
|
|
23
|
+
inputProps: {};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export { datePickerStyle };
|
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
declare const datePickerAppearanceSurface: {
|
|
2
2
|
surfacePrimary: {
|
|
3
|
-
|
|
3
|
+
datePickerProps: {
|
|
4
4
|
daySize: string;
|
|
5
5
|
dayTextColor: string;
|
|
6
6
|
dayTextShape: string;
|
|
7
7
|
dayTextSize: string;
|
|
8
|
+
iconFillHover: string;
|
|
8
9
|
iconItemFill: string;
|
|
9
|
-
|
|
10
|
-
monthTextSize: string;
|
|
11
|
-
monthTextWeight: string;
|
|
12
|
-
yearTextColor: string;
|
|
13
|
-
yearTextSize: string;
|
|
14
|
-
yearTextWeight: string;
|
|
10
|
+
iconShape: string;
|
|
15
11
|
};
|
|
16
|
-
|
|
12
|
+
inputProps: {
|
|
17
13
|
width: string;
|
|
18
|
-
size: string;
|
|
19
14
|
fill: string;
|
|
20
15
|
fillHover: string;
|
|
21
16
|
borderColor: string;
|
|
22
17
|
textColor: string;
|
|
23
|
-
textSize: string;
|
|
24
18
|
caret: string;
|
|
19
|
+
clearIconItemFill: string;
|
|
20
|
+
clearIconItemFillHover: string;
|
|
21
|
+
clearLabelTextColor: string;
|
|
22
|
+
clearLabelTextColorHover: string;
|
|
25
23
|
placeholderTextColor: string;
|
|
26
|
-
shape: string;
|
|
27
24
|
};
|
|
28
25
|
};
|
|
29
26
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { InputMaskConfig } from './InputMask.interface';
|
|
3
|
+
declare const inputMaskConfig: InputMaskConfig;
|
|
4
|
+
declare const InputMask: React.ForwardRefExoticComponent<Omit<InputMaskProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export { InputMask, inputMaskConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { InputMask, inputMaskConfig } from './InputMask';
|
|
@@ -4,6 +4,7 @@ declare const paginationAppearanceSurface: {
|
|
|
4
4
|
fillHover: string;
|
|
5
5
|
gap: string;
|
|
6
6
|
marginPagesDisplayed: number;
|
|
7
|
+
nextLabel: import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
pageCountDesc: string;
|
|
8
9
|
pageCountDescTextColor: string;
|
|
9
10
|
pageCountDescTextSize: string;
|
|
@@ -24,11 +25,13 @@ declare const paginationAppearanceSurface: {
|
|
|
24
25
|
pageCountDropdownItemSize: string;
|
|
25
26
|
pageCountDropdownItemWidth: string;
|
|
26
27
|
pageCountDropdownShape: string;
|
|
28
|
+
pageCountInputIcon: any;
|
|
27
29
|
pageCountInputIconColor: string;
|
|
28
30
|
pageCountInputIconFillSize: string;
|
|
29
31
|
pageCountInputTextColor: string;
|
|
30
32
|
pageCountInputTextSize: string;
|
|
31
33
|
pageRangeDisplayed: number;
|
|
34
|
+
previousLabel: import("react/jsx-runtime").JSX.Element;
|
|
32
35
|
};
|
|
33
36
|
};
|
|
34
37
|
export { paginationAppearanceSurface };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
2
|
+
import { ScrollContainer } from 'react-indiana-drag-scroll';
|
|
3
3
|
import { BorderColorProps, BorderTypeProps, BorderWidthProps, ElevationProps, FillHoverProps, FillProps, HeightProps, WidthProps } from '@itcase/types';
|
|
4
4
|
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
5
5
|
export interface ScrollOnDragProps extends StyleAttributes {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const searchAppearanceSize: {
|
|
2
|
+
sizeS: {
|
|
3
|
+
size: string;
|
|
4
|
+
iconBefore: any;
|
|
5
|
+
iconBeforeSize: string;
|
|
6
|
+
iconClear: any;
|
|
7
|
+
iconClearSize: string;
|
|
8
|
+
};
|
|
9
|
+
sizeXS: {
|
|
10
|
+
size: string;
|
|
11
|
+
iconBefore: any;
|
|
12
|
+
iconBeforeSize: string;
|
|
13
|
+
iconClear: any;
|
|
14
|
+
iconClearSize: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export { searchAppearanceSize };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const searchAppearanceSurface: {
|
|
2
|
+
surfacePrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
iconBeforeFill: string;
|
|
7
|
+
iconClearFill: string;
|
|
8
|
+
};
|
|
9
|
+
surfaceSecondary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
borderColor: string;
|
|
12
|
+
borderHover: string;
|
|
13
|
+
iconBeforeFill: string;
|
|
14
|
+
iconClearFill: string;
|
|
15
|
+
placeholderTextColor: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export { searchAppearanceSurface };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const segmentedAppearanceSize: {
|
|
2
|
+
sizeS: {
|
|
3
|
+
size: string;
|
|
4
|
+
labelTextSize: string;
|
|
5
|
+
};
|
|
6
|
+
sizeM: {
|
|
7
|
+
size: string;
|
|
8
|
+
labelTextSize: string;
|
|
9
|
+
};
|
|
10
|
+
sizeL: {
|
|
11
|
+
size: string;
|
|
12
|
+
labelTextSize: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export { segmentedAppearanceSize };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const segmentedAppearanceSurface: {
|
|
2
|
+
surfacePrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillActive: string;
|
|
5
|
+
fillActiveHover: string;
|
|
6
|
+
fillHover: string;
|
|
7
|
+
labelTextActiveColor: string;
|
|
8
|
+
labelTextColor: string;
|
|
9
|
+
indicatorFill: string;
|
|
10
|
+
shape: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { segmentedAppearanceSurface };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const tabAppearanceSurface: {
|
|
2
|
+
surfacePrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillDisabled: string;
|
|
5
|
+
labelColor: string;
|
|
6
|
+
labelColorActive: string;
|
|
7
|
+
labelColorDisabled: string;
|
|
8
|
+
dividerFillDisabled: string;
|
|
9
|
+
dividerFill: string;
|
|
10
|
+
dividerFillActive: string;
|
|
11
|
+
dividerFillHover: string;
|
|
12
|
+
badgeAppearance: string;
|
|
13
|
+
};
|
|
14
|
+
surfaceQuaternary: {
|
|
15
|
+
fill: string;
|
|
16
|
+
fillDisabled: string;
|
|
17
|
+
fillHover: string;
|
|
18
|
+
labelColor: string;
|
|
19
|
+
labelColorActive: string;
|
|
20
|
+
labelColorDisabled: string;
|
|
21
|
+
dividerFillDisabled: string;
|
|
22
|
+
dividerFill: string;
|
|
23
|
+
dividerFillActive: string;
|
|
24
|
+
dividerFillHover: string;
|
|
25
|
+
};
|
|
26
|
+
surfaceSecondary: {
|
|
27
|
+
fill: string;
|
|
28
|
+
fillDisabled: string;
|
|
29
|
+
fillHover: string;
|
|
30
|
+
labelColor: string;
|
|
31
|
+
labelColorActive: string;
|
|
32
|
+
labelColorDisabled: string;
|
|
33
|
+
dividerFillDisabled: string;
|
|
34
|
+
dividerFill: string;
|
|
35
|
+
dividerFillActive: string;
|
|
36
|
+
dividerFillHover: string;
|
|
37
|
+
};
|
|
38
|
+
surfaceTertiary: {
|
|
39
|
+
fill: string;
|
|
40
|
+
fillDisabled: string;
|
|
41
|
+
fillHover: string;
|
|
42
|
+
labelColor: string;
|
|
43
|
+
labelColorActive: string;
|
|
44
|
+
labelColorDisabled: string;
|
|
45
|
+
dividerFillDisabled: string;
|
|
46
|
+
dividerFill: string;
|
|
47
|
+
dividerFillActive: string;
|
|
48
|
+
dividerFillHover: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export { tabAppearanceSurface };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { TextareaAppearanceType
|
|
1
|
+
import { TextareaAppearanceType } from './Textarea.interface';
|
|
2
2
|
export declare const textareaAppearance: TextareaAppearanceType;
|
|
3
|
-
export declare const textareaState: TextareaStateType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, FillProps, ItemColorProps, ShapeProps, SizeProps,
|
|
1
|
+
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, FillProps, ItemColorProps, ShapeProps, SizeProps, TextColorProps, TextSizeProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
2
2
|
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
3
3
|
export interface TextareaThemeColor {
|
|
4
4
|
[key: number | string | symbol]: any;
|
|
@@ -15,19 +15,13 @@ export interface TextareaThemeColor {
|
|
|
15
15
|
width?: WidthProps;
|
|
16
16
|
}
|
|
17
17
|
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
18
|
-
type stateKeysType = StateKeysDefault & {};
|
|
19
18
|
export type TextareaAppearanceType = {
|
|
20
19
|
[key in AppearanceKeys]?: TextareaThemeColor;
|
|
21
20
|
};
|
|
22
|
-
export type TextareaStateType = {
|
|
23
|
-
[key in stateKeysType]?: TextareaThemeColor;
|
|
24
|
-
};
|
|
25
21
|
export interface TextareaConfig {
|
|
26
22
|
[key: number | string | symbol]: any;
|
|
27
23
|
appearance: TextareaAppearanceType | undefined;
|
|
28
|
-
state: TextareaStateType | undefined;
|
|
29
24
|
setAppearance: (newComponent: TextareaAppearanceType) => void;
|
|
30
|
-
setState: (newComponent: TextareaStateType) => void;
|
|
31
25
|
}
|
|
32
26
|
export interface TextareaProps extends TextareaThemeColor, StyleAttributes {
|
|
33
27
|
id?: string;
|
|
@@ -36,7 +30,6 @@ export interface TextareaProps extends TextareaThemeColor, StyleAttributes {
|
|
|
36
30
|
className?: string;
|
|
37
31
|
disabled?: boolean;
|
|
38
32
|
placeholder?: string;
|
|
39
|
-
state?: stateKeysType;
|
|
40
33
|
value?: string;
|
|
41
34
|
onBlur?: () => void;
|
|
42
35
|
onChange?: () => void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const textareaAppearanceDefault: {
|
|
2
|
+
defaultPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
iconBeforeFill: string;
|
|
7
|
+
iconClearFill: string;
|
|
8
|
+
};
|
|
9
|
+
defaultSecondary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
borderColor: string;
|
|
12
|
+
borderHover: string;
|
|
13
|
+
iconBeforeFill: string;
|
|
14
|
+
iconClearFill: string;
|
|
15
|
+
placeholderTextColor: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export { textareaAppearanceDefault };
|