@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
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const textareaAppearanceDisabled: {
|
|
2
|
+
disabledPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
disabledSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { textareaAppearanceDisabled };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const textareaAppearanceError: {
|
|
2
|
+
errorPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
errorSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { textareaAppearanceError };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const textareaAppearanceRequire: {
|
|
2
|
+
requirePrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
requireSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { textareaAppearanceRequire };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const textareaAppearanceSize: {
|
|
2
|
+
sizeXXL: {
|
|
3
|
+
size: string;
|
|
4
|
+
textSize: string;
|
|
5
|
+
};
|
|
6
|
+
sizeXL: {
|
|
7
|
+
size: string;
|
|
8
|
+
textSize: string;
|
|
9
|
+
};
|
|
10
|
+
sizeL: {
|
|
11
|
+
size: string;
|
|
12
|
+
textSize: string;
|
|
13
|
+
};
|
|
14
|
+
sizeM: {
|
|
15
|
+
size: string;
|
|
16
|
+
textSize: string;
|
|
17
|
+
};
|
|
18
|
+
sizeS: {
|
|
19
|
+
size: string;
|
|
20
|
+
textSize: string;
|
|
21
|
+
};
|
|
22
|
+
sizeXS: {
|
|
23
|
+
size: string;
|
|
24
|
+
textSize: string;
|
|
25
|
+
};
|
|
26
|
+
sizeXXS: {
|
|
27
|
+
size: string;
|
|
28
|
+
textSize: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export { textareaAppearanceSize };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const textareaAppearanceSuccess: {
|
|
2
|
+
successPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
successSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { textareaAppearanceSuccess };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Textarea, textareaConfig } from './Textarea';
|
|
2
|
-
export { textareaAppearance
|
|
2
|
+
export { textareaAppearance } from './Textarea.appearance';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
3
|
+
type Codecs = 'mp4' | 'ogv' | 'webm';
|
|
3
4
|
export interface VideoProps extends StyleAttributes {
|
|
4
5
|
id?: string;
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
className?: string;
|
|
7
|
-
codecs
|
|
8
|
+
codecs?: Codecs;
|
|
8
9
|
mp4?: string;
|
|
9
10
|
ogv?: string;
|
|
10
11
|
position?: string;
|
|
@@ -13,3 +14,4 @@ export interface VideoProps extends StyleAttributes {
|
|
|
13
14
|
type?: string;
|
|
14
15
|
webm?: string;
|
|
15
16
|
}
|
|
17
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { SimpleCallback } from '@itcase/types';
|
|
1
|
+
import type { Id, SimpleCallback } from '@itcase/types';
|
|
2
2
|
import type { CreatedNotification, NotificationsProviderProps } from './Notifications.interface';
|
|
3
3
|
declare function NotificationsProvider(props: NotificationsProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function useNotifications(): never[];
|
|
5
5
|
declare function useNotificationsAPI(): {
|
|
6
|
-
hideNotifications: () => void;
|
|
6
|
+
hideNotifications: (targetId: Id) => void;
|
|
7
7
|
showNotification: (notification: string | CreatedNotification, onClose?: SimpleCallback) => void;
|
|
8
8
|
notificationStatuses: {
|
|
9
9
|
error: string;
|
|
@@ -9,8 +9,8 @@ interface iUIProvider {
|
|
|
9
9
|
}
|
|
10
10
|
declare const UIProvider: import("react").NamedExoticComponent<iUIProvider>;
|
|
11
11
|
declare function useUserDeviceContext(): {
|
|
12
|
-
isDesktop: boolean;
|
|
13
12
|
isMobile: boolean;
|
|
14
13
|
isTablet: boolean;
|
|
14
|
+
isDesktop: boolean;
|
|
15
15
|
};
|
|
16
16
|
export { UIProvider, useUserDeviceContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -97,20 +97,20 @@
|
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
99
99
|
"@itcase/common": "^1.2.23",
|
|
100
|
-
"@itcase/config": "^1.0.
|
|
101
|
-
"@itcase/icons": "^1.0.
|
|
100
|
+
"@itcase/config": "^1.0.46",
|
|
101
|
+
"@itcase/icons": "^1.0.31",
|
|
102
102
|
"@itcase/storybook-config": "^1.1.9",
|
|
103
|
-
"@itcase/tokens-am": "^1.1.
|
|
104
|
-
"@itcase/tokens-baikal": "^1.1.
|
|
103
|
+
"@itcase/tokens-am": "^1.1.7",
|
|
104
|
+
"@itcase/tokens-baikal": "^1.1.7",
|
|
105
105
|
"@itcase/types": "^1.0.3",
|
|
106
106
|
"clsx": "^2.1.1",
|
|
107
107
|
"date-fns": "^4.1.0",
|
|
108
108
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
109
109
|
"eslint-plugin-import": "^2.31.0",
|
|
110
|
-
"framer-motion": "^12.
|
|
110
|
+
"framer-motion": "^12.12.1",
|
|
111
111
|
"js-cookie": "^3.0.5",
|
|
112
112
|
"lodash": "^4.17.21",
|
|
113
|
-
"motion": "^12.
|
|
113
|
+
"motion": "^12.12.1",
|
|
114
114
|
"rc-slider": "^11.1.8",
|
|
115
115
|
"react": "^18.3.1",
|
|
116
116
|
"react-dadata": "^2.27.4",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"react-scroll": "^1.9.3",
|
|
127
127
|
"react-scrollbars-custom": "^4.1.1",
|
|
128
128
|
"react-select": "^5.10.1",
|
|
129
|
-
"swiper": "^11.2.
|
|
129
|
+
"swiper": "^11.2.7",
|
|
130
130
|
"uuid": "^11.1.0"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
150
150
|
"@svgr/webpack": "^8.1.0",
|
|
151
151
|
"@types/js-cookie": "^3.0.6",
|
|
152
|
-
"@types/lodash": "^4.17.
|
|
152
|
+
"@types/lodash": "^4.17.17",
|
|
153
153
|
"@types/react": "^19",
|
|
154
154
|
"@types/react-datepicker": "^7.0.0",
|
|
155
155
|
"@types/react-dom": "^19.0.2",
|
|
@@ -159,22 +159,22 @@
|
|
|
159
159
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
160
160
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
161
161
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
162
|
-
"conventional-changelog-conventionalcommits": "^
|
|
163
|
-
"eslint": "9.
|
|
162
|
+
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
163
|
+
"eslint": "9.27.0",
|
|
164
164
|
"husky": "^9.1.7",
|
|
165
165
|
"lint-staged": "^16.0.0",
|
|
166
|
-
"npm": "^11.
|
|
166
|
+
"npm": "^11.4.0",
|
|
167
167
|
"postcss": "^8.5.3",
|
|
168
168
|
"prettier": "^3.5.3",
|
|
169
169
|
"react-docgen-typescript": "^2.2.2",
|
|
170
170
|
"react-svg": "^16.3.0",
|
|
171
|
-
"rollup": "^4.
|
|
171
|
+
"rollup": "^4.41.0",
|
|
172
172
|
"rollup-plugin-copy": "^3.5.0",
|
|
173
173
|
"rollup-plugin-dts": "^6.2.1",
|
|
174
174
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
175
175
|
"rollup-preserve-directives": "^1.1.3",
|
|
176
|
-
"semantic-release": "^24.2.
|
|
177
|
-
"storybook": "^8.6.
|
|
176
|
+
"semantic-release": "^24.2.4",
|
|
177
|
+
"storybook": "^8.6.14",
|
|
178
178
|
"stylelint": "^16.19.1",
|
|
179
179
|
"typescript": "^5.8.3"
|
|
180
180
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
.fill {
|
|
2
|
-
&_disabled {
|
|
3
|
-
/* maybe it's deprecated */
|
|
4
|
-
@each $type in accent, primary, secondary, tertiary, quaternary, quinary,
|
|
5
|
-
senary, surface, error, success, warning, info, danger, gradient {
|
|
6
|
-
&_$(type) {
|
|
7
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
|
8
|
-
senary, accent, disabled, hover {
|
|
9
|
-
&-$(color) {
|
|
10
|
-
&:hover {
|
|
11
|
-
background: var(--color-$(type)-$(color));
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
@each $color in primary, secondary, tertiary, quaternary {
|
|
18
|
-
&-$(color) {
|
|
19
|
-
background: var(--color-disabled-$(color));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* maybe it's deprecated */
|
|
24
|
-
@each $type in accent, primary, secondary, tertiary, quaternary, quinary,
|
|
25
|
-
senary, surface, error, success, warning, info, danger, gradient {
|
|
26
|
-
&_$(type) {
|
|
27
|
-
&-primary {
|
|
28
|
-
background: var(--color-$(type)-primary);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
package/dist/stories/Avatar.mdx
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as AvatarStories from '../stories/Avatar.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta title="Atoms / Badge" of={AvatarStories} />
|
|
6
|
-
|
|
7
|
-
# Avatar
|
|
8
|
-
|
|
9
|
-
## Image
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={AvatarStories.Image} />
|
|
12
|
-
|
|
13
|
-
## ImageWithIcon
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={AvatarStories.ImageWithIcon} />
|
|
16
|
-
|
|
17
|
-
## Text
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={AvatarStories.Text} />
|
|
20
|
-
|
|
21
|
-
## TextWithIcon
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={AvatarStories.TextWithIcon} />
|
package/dist/stories/Badge.mdx
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
import * as BadgeStories from '../stories/Badge.stories.tsx'
|
|
3
|
-
|
|
4
|
-
<Meta title="Atoms / Badge" />
|
|
5
|
-
|
|
6
|
-
# Badge
|
|
7
|
-
`Badge` — используется для обозначения информации о количестве. Может входить в состав разных компонентов, например, `Icon`, `Tab`, `Tile` для обозначения количества чего-либо (сообщений, уведомлений, выбранных элементов списка).
|
|
8
|
-
|
|
9
|
-
## Demo
|
|
10
|
-
<Canvas sourceState="shown" of={BadgeStories.Demo} />
|
|
11
|
-
|
|
12
|
-
## Skeleton
|
|
13
|
-
<Canvas sourceState="shown" of={BadgeStories.Skeleton} />
|
package/dist/stories/Button.mdx
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as ButtonStories from '../stories/Button.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta title="Atoms / Button" />
|
|
6
|
-
|
|
7
|
-
# Button
|
|
8
|
-
|
|
9
|
-
`Button` - это кнопка, предоставляет пользователю возможность совершить действие.
|
|
10
|
-
Кнопка запускает действие, а текст или иконка информирует о том, что произойдет после нажатия.
|
|
11
|
-
|
|
12
|
-
<Story of={ButtonStories.Demo} />
|
package/dist/stories/Cell.mdx
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as CheckboxStories from '../stories/Demo.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta title="Atoms / Checkbox" />
|
|
6
|
-
|
|
7
|
-
# Checkbox
|
|
8
|
-
|
|
9
|
-
`Checkbox` позволяет выбрать несколько пунктов из списка вариантов или сделать выбор между двумя противоположными состояниями или свойствами.
|
|
10
|
-
Клик по тексту или чекбоксу приводит к выбору пункта. Повторный клик приводит к отмене выбора.
|
|
11
|
-
|
|
12
|
-
<Story of={CheckboxStories.Demo} />
|
package/dist/stories/Chips.mdx
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Meta, Story, Canvas } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as ChipsStories from '../stories/Appearance.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta title="Atoms / Chips" />
|
|
6
|
-
|
|
7
|
-
# Chips
|
|
8
|
-
|
|
9
|
-
`Chips` — это компактная альтернатива чекбоксам. Они позволяют пользователям выбирать несколько вариантов одновременно и в основном применяются на мобильных устройствах для переключений фильтров.
|
|
10
|
-
Данный компонент может быть использован в компоненте множественного выбора (SelectMulti).
|
|
11
|
-
|
|
12
|
-
<Canvas sourceState="shown"of={ChipsStories.Accent} />
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Accent
|
|
16
|
-
|
|
17
|
-
<Canvas sourceState="shown" of={ChipsStories.Accent} />
|
|
18
|
-
|
|
19
|
-
## Primary
|
|
20
|
-
|
|
21
|
-
<Canvas sourceState="shown" of={ChipsStories.Primary} />
|
|
22
|
-
|
|
23
|
-
## Secondary
|
|
24
|
-
|
|
25
|
-
<Canvas sourceState="shown" of={ChipsStories.Secondary} />
|
|
26
|
-
|
|
27
|
-
## SurfacePrimary
|
|
28
|
-
|
|
29
|
-
<Canvas sourceState="shown" of={ChipsStories.SurfacePrimary} />
|
|
30
|
-
|
|
31
|
-
## SurfaceSecondary
|
|
32
|
-
|
|
33
|
-
<Canvas sourceState="shown" of={ChipsStories.SurfaceSecondary} />
|
|
34
|
-
|
|
35
|
-
## SurfaceTertiary
|
|
36
|
-
|
|
37
|
-
<Canvas sourceState="shown" of={ChipsStories.SurfaceTertiary} />
|
package/dist/stories/Choice.mdx
DELETED
package/dist/stories/Code.mdx
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as DatePickerStories from '../stories/DatePicker.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={DatePickerStories} />
|
|
6
|
-
|
|
7
|
-
# DatePicker
|
|
8
|
-
|
|
9
|
-
## Date (Простой календарь с текущим месяцем)
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={DatePickerStories.Date} layout="fullscreen" />
|
|
12
|
-
|
|
13
|
-
## ClearIcon (Простой календарь с текущим месяцем и кнопкой "очистить")
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={DatePickerStories.ClearIcon} layout="fullscreen" />
|
|
16
|
-
|
|
17
|
-
## ClearLabel (Простой календарь с текущим месяцем и текстом "очистить")
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={DatePickerStories.ClearLabel} layout="fullscreen" />
|
|
20
|
-
|
|
21
|
-
## DateTime (Календарь с текущим месяцем и выбором времени)
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={DatePickerStories.DateTime} layout="fullscreen" />
|
|
24
|
-
|
|
25
|
-
## DateButton (Календарь с текущим месяцем, выбором времени и кнопкой)
|
|
26
|
-
|
|
27
|
-
<Canvas sourceState="shown" of={DatePickerStories.DateButton} layout="fullscreen" />
|
|
28
|
-
|
|
29
|
-
## DateMultiple (Календарь с отображением двух месяцев и выбором диапазона дат)
|
|
30
|
-
|
|
31
|
-
<Canvas sourceState="shown" of={DatePickerStories.DateMultiple} layout="fullscreen" />
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as HeroTitleStories from '../stories/HeroTitle.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={HeroTitleStories} />
|
|
6
|
-
|
|
7
|
-
# Size
|
|
8
|
-
|
|
9
|
-
## SizeH1
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={HeroTitleStories.SizeH1} />
|
|
12
|
-
|
|
13
|
-
## SizeH2
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={HeroTitleStories.SizeH2} />
|
|
16
|
-
|
|
17
|
-
## SizeH3
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={HeroTitleStories.SizeH3} />
|
|
20
|
-
|
|
21
|
-
## SizeH4
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={HeroTitleStories.SizeH4} />
|
|
24
|
-
|
|
25
|
-
## SizeH5
|
|
26
|
-
|
|
27
|
-
<Canvas sourceState="shown" of={HeroTitleStories.SizeH5} />
|
|
28
|
-
|
|
29
|
-
## SizeH6
|
|
30
|
-
|
|
31
|
-
<Canvas sourceState="shown" of={HeroTitleStories.SizeH6} />
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as TextareaStories from '../stories/Textarea.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={TextareaStories} />
|
|
6
|
-
|
|
7
|
-
# Textarea
|
|
8
|
-
|
|
9
|
-
## Active
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={TextareaStories.Active} />
|
|
12
|
-
|
|
13
|
-
## Disabled
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={TextareaStories.Disabled} />
|
package/dist/stories/Title.mdx
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as TitleStories from '../stories/Size.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={TitleStories} />
|
|
6
|
-
|
|
7
|
-
# Size
|
|
8
|
-
|
|
9
|
-
## SizeH1
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={TitleStories.SizeH1} />
|
|
12
|
-
|
|
13
|
-
## SizeH2
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={TitleStories.SizeH2} />
|
|
16
|
-
|
|
17
|
-
## SizeH3
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={TitleStories.SizeH3} />
|
|
20
|
-
|
|
21
|
-
## SizeH4
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={TitleStories.SizeH4} />
|
|
24
|
-
|
|
25
|
-
## SizeH5
|
|
26
|
-
|
|
27
|
-
<Canvas sourceState="shown" of={TitleStories.SizeH5} />
|
|
28
|
-
|
|
29
|
-
## SizeH6
|
|
30
|
-
|
|
31
|
-
<Canvas sourceState="shown" of={TitleStories.SizeH6} />
|
package/dist/stories/Tooltip.mdx
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as TooltipStories from '../stories/Tooltip.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={TooltipStories} />
|
|
6
|
-
|
|
7
|
-
# Tooltip
|
|
8
|
-
|
|
9
|
-
## surfacePrimary
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={TooltipStories.surfacePrimary} />
|
|
12
|
-
|
|
13
|
-
## surfaceSecondary
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={TooltipStories.surfaceSecondary} />
|
|
16
|
-
|
|
17
|
-
## surfaceTertiary
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={TooltipStories.surfaceTertiary} />
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { InputConfig, InputProps } from './Input.interface';
|
|
3
|
-
declare const inputMaskConfig: InputConfig;
|
|
4
|
-
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export { Input, inputMaskConfig };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|