@itcase/ui 1.9.59 → 1.9.60
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_BcCK-1qn.js → Avatar_cjs_rB8eleZS.js} +2 -2
- package/dist/{Avatar_es_Dn6PILdH.js → Avatar_es_eDWRG48M.js} +2 -2
- package/dist/{Button_cjs_DqbZe2Sk.js → Button_cjs_cNwSkY7f.js} +2 -2
- package/dist/{Button_es_C9pw5qr_.js → Button_es_egCg1YEe.js} +2 -2
- package/dist/{ChipsGroup_cjs_BNapN3BL.js → ChipsGroup_cjs_DvFJapnM.js} +1 -1
- package/dist/{ChipsGroup_es_CYtMZd_G.js → ChipsGroup_es_C7tQ_vNa.js} +1 -1
- package/dist/{DatePicker_cjs_CY3VQDAV.js → DatePicker_cjs_B03pbJ0K.js} +4 -4
- package/dist/{DatePicker_es_C110M8WT.js → DatePicker_es_DIuTzpna.js} +4 -4
- package/dist/{Group_cjs_CvX0cIz2.js → Group_cjs_DtBLfpiv.js} +1 -1
- package/dist/{Group_es_BgJhtaOv.js → Group_es_BUkLNi2_.js} +1 -1
- package/dist/{Image_cjs_BdHJJUTP.js → Image_cjs_BSwaz7r5.js} +1 -1
- package/dist/{Image_es_5EyRL35j.js → Image_es_DhPg4srf.js} +1 -1
- package/dist/{Input_cjs_BStFgIuQ.js → Input_cjs_Cr6u1JXB.js} +1 -1
- package/dist/{Input_es_BVvf5Gpr.js → Input_es_Da2Yhzcz.js} +1 -1
- package/dist/{Label_cjs_BYjXyKWj.js → Label_cjs_DMOG-8Eu.js} +1 -1
- package/dist/{Label_es_SG60qCRL.js → Label_es_DZn7Ulmk.js} +1 -1
- package/dist/{Loader_cjs_BgiKK0BF.js → Loader_cjs_Bi6IoQFb.js} +1 -1
- package/dist/{Loader_es_DzjoV2MF.js → Loader_es_BZMRBcgn.js} +1 -1
- package/dist/{Overlay_cjs_OmKx5lKU.js → Overlay_cjs_bR_cRWP3.js} +1 -1
- package/dist/{Overlay_es_DhKLpjdA.js → Overlay_es_BVxlUWXu.js} +1 -1
- package/dist/{SelectContainer_cjs_CdxNPEhL.js → SelectContainer_cjs_DSMCeePO.js} +3 -3
- package/dist/{SelectContainer_es_BQNyIzfX.js → SelectContainer_es_D2Yz1Qwi.js} +3 -3
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +4 -4
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Checkmark.js +1 -1
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/Dadata.js +2 -2
- package/dist/cjs/components/DatePeriod.js +9 -9
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Dot.js +1 -1
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +1 -1
- package/dist/cjs/components/Dropzone.js +3 -3
- 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 +1 -1
- package/dist/cjs/components/Image.js +2 -2
- package/dist/cjs/components/Input.js +2 -2
- package/dist/cjs/components/InputNumber.js +3 -3
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +3 -3
- package/dist/cjs/components/Overlay.js +2 -2
- package/dist/cjs/components/Pagination.js +1 -1
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/RangeSlider.js +1 -1
- package/dist/cjs/components/Response.js +4 -4
- package/dist/cjs/components/SVGContent.js +1 -1
- package/dist/cjs/components/ScrollOnDrag.js +1 -1
- package/dist/cjs/components/ScrollToView.js +1 -1
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +4 -4
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Textarea.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Video.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/cjs/context/Notifications.js +1 -1
- package/dist/cjs/context/UIContext.js +1 -1
- package/dist/cjs/context/UrlAssetPrefix.js +1 -1
- package/dist/cjs/hoc/urlWithAssetPrefix.js +1 -1
- package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +1 -1
- package/dist/cjs/hooks/useAppearanceConfig.js +1 -1
- 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/useMediaQueries/useMediaQueries.js +1 -1
- package/dist/cjs/hooks/useMediaQueries.js +1 -1
- package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
- package/dist/cjs/hooks/useStyles.js +1 -1
- package/dist/cjs/hooks.js +1 -1
- package/dist/cjs/utils/mergeAppearanceKeys.js +1 -1
- package/dist/cjs/utils/setViewportProperty.js +1 -1
- package/dist/cjs/utils.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +4 -4
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Checkmark.js +1 -1
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +2 -2
- package/dist/components/Code.js +1 -1
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/Dadata.js +2 -2
- package/dist/components/DatePeriod.js +9 -9
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Divider.js +1 -1
- package/dist/components/Dot.js +1 -1
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +1 -1
- package/dist/components/Dropzone.js +3 -3
- 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 +1 -1
- package/dist/components/Image.js +2 -2
- package/dist/components/Input.js +2 -2
- package/dist/components/InputNumber.js +3 -3
- package/dist/components/InputPassword/index.js +1 -1
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/Label.js +2 -2
- package/dist/components/Link/index.js +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Modal.js +3 -3
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/Notification.js +3 -3
- package/dist/components/Overlay.js +2 -2
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Radio.js +1 -1
- package/dist/components/RangeSlider.js +1 -1
- package/dist/components/Response.js +4 -4
- package/dist/components/SVGContent.js +1 -1
- package/dist/components/ScrollOnDrag.js +1 -1
- package/dist/components/ScrollToView.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +4 -4
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Video.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/hooks/useAppearanceConfig.js +1 -1
- package/dist/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useMediaQueries.js +1 -1
- package/dist/hooks/useStyles.js +1 -1
- package/dist/hooks.js +1 -1
- package/dist/types/components/Accordion/index.d.ts +1 -0
- package/dist/types/components/Avatar/index.d.ts +1 -0
- package/dist/types/components/AvatarStack/index.d.ts +1 -0
- package/dist/types/components/Badge/index.d.ts +2 -1
- package/dist/types/components/Breadcrumbs/index.d.ts +1 -0
- package/dist/types/components/Button/Button.d.ts +45 -45
- package/dist/types/components/Button/index.d.ts +1 -0
- package/dist/types/components/Cell/index.d.ts +1 -0
- package/dist/types/components/Checkbox/index.d.ts +1 -0
- package/dist/types/components/Checkmark/index.d.ts +1 -0
- package/dist/types/components/Choice/index.d.ts +1 -0
- package/dist/types/components/Code/index.d.ts +1 -0
- package/dist/types/components/CookiesWarning/index.d.ts +1 -0
- package/dist/types/components/Dadata/index.d.ts +1 -0
- package/dist/types/components/DatePeriod/index.d.ts +1 -0
- package/dist/types/components/DatePicker/index.d.ts +1 -0
- package/dist/types/components/Divider/index.d.ts +1 -0
- package/dist/types/components/Dot/index.d.ts +1 -0
- package/dist/types/components/Drawer/index.d.ts +1 -0
- package/dist/types/components/Dropdown/index.d.ts +1 -0
- package/dist/types/components/Dropzone/index.d.ts +1 -0
- package/dist/types/components/Flex/index.d.ts +1 -0
- package/dist/types/components/Grid/index.d.ts +1 -0
- package/dist/types/components/Group/Group.d.ts +5 -5
- package/dist/types/components/Group/index.d.ts +1 -0
- package/dist/types/components/HTMLContent/index.d.ts +1 -0
- package/dist/types/components/HeroTitle/index.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +2 -2
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Image/index.d.ts +1 -0
- package/dist/types/components/Input/index.d.ts +1 -0
- package/dist/types/components/InputPassword/index.d.ts +2 -1
- package/dist/types/components/Label/index.d.ts +1 -0
- package/dist/types/components/Link/index.d.ts +2 -1
- package/dist/types/components/List/index.d.ts +1 -0
- package/dist/types/components/Loader/index.d.ts +1 -0
- package/dist/types/components/Logo/index.d.ts +1 -0
- package/dist/types/components/MenuItem/index.d.ts +1 -0
- package/dist/types/components/Modal/Modal.d.ts +16 -16
- package/dist/types/components/Modal/index.d.ts +2 -1
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +7 -7
- package/dist/types/components/ModalSheetBottom/index.d.ts +1 -0
- package/dist/types/components/Notification/index.d.ts +2 -1
- package/dist/types/components/Overlay/index.d.ts +1 -0
- package/dist/types/components/Pagination/index.d.ts +1 -0
- package/dist/types/components/Radio/index.d.ts +1 -0
- package/dist/types/components/RangeSlider/index.d.ts +1 -0
- package/dist/types/components/Response/Response.d.ts +33 -33
- package/dist/types/components/Response/index.d.ts +1 -0
- package/dist/types/components/SVGContent/SVGContent.d.ts +1 -1
- package/dist/types/components/SVGContent/index.d.ts +1 -0
- package/dist/types/components/ScrollOnDrag/index.d.ts +1 -0
- package/dist/types/components/ScrollToView/index.d.ts +1 -0
- package/dist/types/components/Scrollbar/index.d.ts +1 -0
- package/dist/types/components/Search/SearchInput.d.ts +19 -19
- package/dist/types/components/Search/index.d.ts +2 -1
- package/dist/types/components/Segmented/index.d.ts +1 -0
- package/dist/types/components/Select/index.d.ts +1 -0
- package/dist/types/components/Swiper/index.d.ts +1 -0
- package/dist/types/components/Switch/Switch.d.ts +4 -4
- package/dist/types/components/Switch/index.d.ts +1 -0
- package/dist/types/components/Tab/index.d.ts +1 -0
- package/dist/types/components/Text/index.d.ts +1 -0
- package/dist/types/components/Textarea/index.d.ts +1 -0
- package/dist/types/components/Tile/index.d.ts +1 -0
- package/dist/types/components/Title/index.d.ts +1 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +6 -6
- package/dist/types/components/Tooltip/index.d.ts +1 -0
- package/dist/types/components/Video/index.d.ts +1 -0
- package/dist/types/components/Warning/index.d.ts +1 -0
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/{primitives_cjs_DX--6Yn5.js → primitives_cjs_CnyJ13MJ.js} +57 -57
- package/dist/{primitives_es_BNlMaZfZ.js → primitives_es_BjyEnscF.js} +57 -57
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Modal, modalConfig } from './Modal';
|
|
2
2
|
import { modalAppearance } from './Modal.appearance';
|
|
3
3
|
import { ModalLoader } from './ModalLoader';
|
|
4
|
-
export { Modal,
|
|
4
|
+
export { Modal, modalAppearance, modalConfig, ModalLoader };
|
|
5
|
+
export type { ModalAppearance, ModalConfig, ModalProps, ModalRef, } from './Modal.interface';
|
|
@@ -2,13 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import type { ModalSheetBottomRef } from './ModalSheetBottom.interface';
|
|
3
3
|
declare const ModalSheetBottom: React.ForwardRefExoticComponent<{
|
|
4
4
|
fill?: import("@itcase/types-ui").FillProps;
|
|
5
|
-
titleTextColor?: import("
|
|
6
|
-
titleTextColorHover?: import("
|
|
7
|
-
titleTextSize?: import("
|
|
8
|
-
titleTextTruncate?: import("
|
|
9
|
-
titleTextWeight?: import("
|
|
10
|
-
titleTextWidth?: import("
|
|
11
|
-
titleTextWrap?: import("
|
|
5
|
+
titleTextColor?: import("src/components/Title").TitleProps["textColor"];
|
|
6
|
+
titleTextColorHover?: import("src/components/Title").TitleProps["textColorHover"];
|
|
7
|
+
titleTextSize?: import("src/components/Title").TitleProps["size"];
|
|
8
|
+
titleTextTruncate?: import("src/components/Title").TitleProps["textTruncate"];
|
|
9
|
+
titleTextWeight?: import("src/components/Title").TitleProps["textWeight"];
|
|
10
|
+
titleTextWidth?: import("src/components/Title").TitleProps["width"];
|
|
11
|
+
titleTextWrap?: import("src/components/Title").TitleProps["textWrap"];
|
|
12
12
|
zeroPadding?: boolean;
|
|
13
13
|
} & Partial<import("react-modal-sheet").SheetProps> & {
|
|
14
14
|
appearance?: import("@itcase/types-ui").AppearanceSizeKey;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { ModalSheetBottom } from './ModalSheetBottom';
|
|
2
2
|
export { modalSheetBottomAppearance } from './ModalSheetBottom.appearance';
|
|
3
|
+
export type { ModalSheetBottomAppearance, ModalSheetBottomConfig, ModalSheetBottomProps, ModalSheetBottomRef, } from './ModalSheetBottom.interface';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Notification, notificationConfig } from './Notification';
|
|
2
2
|
import { notificationAppearance } from './Notification.appearance';
|
|
3
3
|
import { NotificationWrapper } from './NotificationWrapper';
|
|
4
|
-
export {
|
|
4
|
+
export { Notification, notificationAppearance, notificationConfig, NotificationWrapper, };
|
|
5
|
+
export type { NotificationAppearance, NotificationConfig, NotificationProps, NotificationWrapperProps, } from './Notification.interface';
|
|
@@ -5,43 +5,43 @@ declare const Response: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
5
5
|
borderColorHover?: import("@itcase/types-ui").BorderColorHoverProps;
|
|
6
6
|
borderType?: import("@itcase/types-ui").BorderTypeProps;
|
|
7
7
|
borderWidth?: import("@itcase/types-ui").BorderWidthProps;
|
|
8
|
-
descTextColor?: import("
|
|
9
|
-
descTextSize?: import("
|
|
10
|
-
descTextWeight?: import("
|
|
8
|
+
descTextColor?: import("src/components/Text").TextProps["textColor"];
|
|
9
|
+
descTextSize?: import("src/components/Text").TextProps["size"];
|
|
10
|
+
descTextWeight?: import("src/components/Text").TextProps["textWeight"];
|
|
11
11
|
fill?: import("@itcase/types-ui").FillProps;
|
|
12
12
|
fillHover?: import("@itcase/types-ui").FillHoverProps;
|
|
13
|
-
imageSrc?: import("../Icon
|
|
14
|
-
primaryButtonAfter?: import("
|
|
15
|
-
primaryButtonAppearance?: import("
|
|
16
|
-
primaryButtonBefore?: import("
|
|
17
|
-
primaryButtonFill?: import("
|
|
18
|
-
primaryButtonFillHover?: import("
|
|
19
|
-
primaryButtonLabel?: import("
|
|
20
|
-
primaryButtonLabelTextColor?: import("
|
|
21
|
-
primaryButtonLabelTextSize?: import("
|
|
22
|
-
primaryButtonShape?: import("
|
|
23
|
-
primaryButtonSize?: import("
|
|
24
|
-
primaryButtonWidth?: import("
|
|
25
|
-
secondaryButtonAfter?: import("
|
|
26
|
-
secondaryButtonAppearance?: import("
|
|
27
|
-
secondaryButtonBefore?: import("
|
|
28
|
-
secondaryButtonFill?: import("
|
|
29
|
-
secondaryButtonFillHover?: import("
|
|
30
|
-
secondaryButtonLabel?: import("
|
|
31
|
-
secondaryButtonLabelTextColor?: import("
|
|
32
|
-
secondaryButtonLabelTextSize?: import("
|
|
33
|
-
secondaryButtonShape?: import("
|
|
34
|
-
secondaryButtonSize?: import("
|
|
35
|
-
secondaryButtonWidth?: import("
|
|
13
|
+
imageSrc?: import("../Icon").IconProps["imageSrc"];
|
|
14
|
+
primaryButtonAfter?: import("src/components/Button").ButtonProps["after"];
|
|
15
|
+
primaryButtonAppearance?: import("src/components/Button").ButtonProps["appearance"];
|
|
16
|
+
primaryButtonBefore?: import("src/components/Button").ButtonProps["before"];
|
|
17
|
+
primaryButtonFill?: import("src/components/Button").ButtonProps["fill"];
|
|
18
|
+
primaryButtonFillHover?: import("src/components/Button").ButtonProps["fillHover"];
|
|
19
|
+
primaryButtonLabel?: import("src/components/Button").ButtonProps["label"];
|
|
20
|
+
primaryButtonLabelTextColor?: import("src/components/Button").ButtonProps["labelTextColor"];
|
|
21
|
+
primaryButtonLabelTextSize?: import("src/components/Button").ButtonProps["labelTextSize"];
|
|
22
|
+
primaryButtonShape?: import("src/components/Button").ButtonProps["shape"];
|
|
23
|
+
primaryButtonSize?: import("src/components/Button").ButtonProps["size"];
|
|
24
|
+
primaryButtonWidth?: import("src/components/Button").ButtonProps["width"];
|
|
25
|
+
secondaryButtonAfter?: import("src/components/Button").ButtonProps["after"];
|
|
26
|
+
secondaryButtonAppearance?: import("src/components/Button").ButtonProps["appearance"];
|
|
27
|
+
secondaryButtonBefore?: import("src/components/Button").ButtonProps["before"];
|
|
28
|
+
secondaryButtonFill?: import("src/components/Button").ButtonProps["fill"];
|
|
29
|
+
secondaryButtonFillHover?: import("src/components/Button").ButtonProps["fillHover"];
|
|
30
|
+
secondaryButtonLabel?: import("src/components/Button").ButtonProps["label"];
|
|
31
|
+
secondaryButtonLabelTextColor?: import("src/components/Button").ButtonProps["labelTextColor"];
|
|
32
|
+
secondaryButtonLabelTextSize?: import("src/components/Button").ButtonProps["labelTextSize"];
|
|
33
|
+
secondaryButtonShape?: import("src/components/Button").ButtonProps["shape"];
|
|
34
|
+
secondaryButtonSize?: import("src/components/Button").ButtonProps["size"];
|
|
35
|
+
secondaryButtonWidth?: import("src/components/Button").ButtonProps["width"];
|
|
36
36
|
shape?: import("@itcase/types-ui").ShapeProps;
|
|
37
37
|
shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
|
|
38
38
|
svgFill?: import("@itcase/types-ui").SvgFillProps;
|
|
39
|
-
SvgImage?: import("../Icon
|
|
39
|
+
SvgImage?: import("../Icon").IconProps["SvgImage"];
|
|
40
40
|
svgPathFill?: import("@itcase/types-ui").SvgFillProps;
|
|
41
|
-
svgSrc?: import("../Icon
|
|
42
|
-
titleTextColor?: import("
|
|
43
|
-
titleTextSize?: import("
|
|
44
|
-
titleTextWeight?: import("
|
|
41
|
+
svgSrc?: import("../Icon").IconProps["imageSrc"];
|
|
42
|
+
titleTextColor?: import("src/components/Text").TextProps["textColor"];
|
|
43
|
+
titleTextSize?: import("src/components/Text").TextProps["size"];
|
|
44
|
+
titleTextWeight?: import("src/components/Text").TextProps["textWeight"];
|
|
45
45
|
} & import("../../hooks/useStyles/styleAttributes.interface").StyleAttributes & {
|
|
46
46
|
after?: import("react").ReactNode;
|
|
47
47
|
appearance?: import("@itcase/types-ui").CompositeAppearanceResponseKeys;
|
|
@@ -52,8 +52,8 @@ declare const Response: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
52
52
|
desc?: string;
|
|
53
53
|
isBottomButton?: boolean;
|
|
54
54
|
isSkeleton?: boolean;
|
|
55
|
-
onClickPrimaryButton?: import("
|
|
56
|
-
onClickSecondaryButton?: import("
|
|
55
|
+
onClickPrimaryButton?: import("src/components/Button").ButtonProps["onClick"];
|
|
56
|
+
onClickSecondaryButton?: import("src/components/Button").ButtonProps["onClick"];
|
|
57
57
|
primaryButton?: import("react").ReactNode;
|
|
58
58
|
secondaryButton?: import("react").ReactNode;
|
|
59
59
|
showPrimaryButton?: boolean;
|
|
@@ -3,3 +3,4 @@ import { Response, responseConfig } from './Response';
|
|
|
3
3
|
import { responseAppearance } from './Response.appearance';
|
|
4
4
|
import { RESPONSE_MESSAGES } from './Response.constant';
|
|
5
5
|
export { Response, RESPONSE_MESSAGES, responseAppearance, responseConfig, responseIcon, };
|
|
6
|
+
export type { ResponseAppearance, ResponseConfig, ResponseProps, } from './Response.interface';
|
|
@@ -6,6 +6,6 @@ declare const SVGContent: import("react").ForwardRefExoticComponent<Omit<import(
|
|
|
6
6
|
dataTestId?: string;
|
|
7
7
|
dataTour?: string;
|
|
8
8
|
src?: string;
|
|
9
|
-
SvgImage?: import("../Icon
|
|
9
|
+
SvgImage?: import("../Icon").IconProps["SvgImage"];
|
|
10
10
|
} & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export { SVGContent };
|
|
@@ -8,27 +8,27 @@ declare const SearchInput: React.ForwardRefExoticComponent<{
|
|
|
8
8
|
borderType?: import("@itcase/types-ui").BorderTypeProps;
|
|
9
9
|
borderWidth?: import("@itcase/types-ui").BorderWidthProps;
|
|
10
10
|
fill?: import("@itcase/types-ui").FillProps;
|
|
11
|
-
iconAfter?: import("
|
|
12
|
-
iconAfterFill?: import("
|
|
13
|
-
iconAfterSize?: import("
|
|
14
|
-
iconAfterSrc?: import("
|
|
15
|
-
iconBefore?: import("
|
|
16
|
-
iconBeforeFill?: import("
|
|
17
|
-
iconBeforeSize?: import("
|
|
18
|
-
iconBeforeSrc?: import("
|
|
19
|
-
iconClear?: import("
|
|
20
|
-
iconClearFill?: import("
|
|
21
|
-
iconClearSize?: import("
|
|
22
|
-
iconClearSrc?: import("
|
|
11
|
+
iconAfter?: import("src/components/Icon").IconProps["imageSrc"];
|
|
12
|
+
iconAfterFill?: import("src/components/Icon").IconProps["iconFill"];
|
|
13
|
+
iconAfterSize?: import("src/components/Icon").IconProps["size"];
|
|
14
|
+
iconAfterSrc?: import("src/components/Icon").IconProps["imageSrc"];
|
|
15
|
+
iconBefore?: import("src/components/Icon").IconProps["SvgImage"];
|
|
16
|
+
iconBeforeFill?: import("src/components/Icon").IconProps["iconFill"];
|
|
17
|
+
iconBeforeSize?: import("src/components/Icon").IconProps["size"];
|
|
18
|
+
iconBeforeSrc?: import("src/components/Icon").IconProps["imageSrc"];
|
|
19
|
+
iconClear?: import("src/components/Icon").IconProps["SvgImage"];
|
|
20
|
+
iconClearFill?: import("src/components/Icon").IconProps["iconFill"];
|
|
21
|
+
iconClearSize?: import("src/components/Icon").IconProps["size"];
|
|
22
|
+
iconClearSrc?: import("src/components/Icon").IconProps["imageSrc"];
|
|
23
23
|
inputFill?: import("@itcase/types-ui").FillProps;
|
|
24
|
-
inputTextColor?: import("
|
|
25
|
-
inputTextSize?: import("
|
|
26
|
-
inputTextStyle?: import("
|
|
24
|
+
inputTextColor?: import("src/components/Text").TextProps["textColor"];
|
|
25
|
+
inputTextSize?: import("src/components/Text").TextProps["size"];
|
|
26
|
+
inputTextStyle?: import("src/components/Text").TextProps["textStyle"];
|
|
27
27
|
inputTextWeight?: import("@itcase/types-ui").TextWeightProps;
|
|
28
|
-
placeholderTextColor?: import("
|
|
29
|
-
placeholderTextSize?: import("
|
|
30
|
-
placeholderTextStyle?: import("
|
|
31
|
-
placeholderTextWeight?: import("
|
|
28
|
+
placeholderTextColor?: import("src/components/Text").TextProps["textColor"];
|
|
29
|
+
placeholderTextSize?: import("src/components/Text").TextProps["size"];
|
|
30
|
+
placeholderTextStyle?: import("src/components/Text").TextProps["textStyle"];
|
|
31
|
+
placeholderTextWeight?: import("src/components/Text").TextProps["textWeight"];
|
|
32
32
|
shape?: import("@itcase/types-ui").ShapeProps;
|
|
33
33
|
shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
|
|
34
34
|
size?: import("@itcase/types-ui").SizeProps;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { searchAppearance } from './Search.appearance';
|
|
2
2
|
import { SearchInput, searchInputConfig } from './SearchInput';
|
|
3
3
|
import { SearchResult } from './SearchResult';
|
|
4
|
-
export { SearchInput, searchInputConfig,
|
|
4
|
+
export { searchAppearance, SearchInput, searchInputConfig, SearchResult };
|
|
5
|
+
export type { SearchAppearance, SearchConfig, SearchProps, SearchResultProps, } from './Search.interface';
|
|
@@ -14,3 +14,4 @@ import { SelectPlaceholder } from './SelectPlaceholder';
|
|
|
14
14
|
import { SelectSingleValue } from './SelectSingleValue';
|
|
15
15
|
import { SelectValueContainer } from './SelectValueContainer';
|
|
16
16
|
export { SelectContainer as Select, SelectClearIndicator, selectConfig, SelectControl, SelectDropdownIndicator, SelectGroupHeading, SelectIndicatorsContainer, SelectInput, SelectMenu, SelectMultiValueContainer, SelectMultiValueLabel, SelectMultiValueRemove, SelectOption, SelectPlaceholder, SelectSingleValue, SelectValueContainer, };
|
|
17
|
+
export type { SelectAppearance, SelectAppearanceProps, SelectConfig, SelectProps, SelectPropsCustom, } from './Select.interface';
|
|
@@ -3,8 +3,8 @@ import type { SwitchConfig } from './Switch.interface';
|
|
|
3
3
|
declare const switchConfig: SwitchConfig;
|
|
4
4
|
declare const Switch: React.ForwardRefExoticComponent<import("../../hooks/useStyles/styleAttributes.interface").StyleAttributes & {
|
|
5
5
|
borderColor?: import("@itcase/types-ui").BorderColorProps;
|
|
6
|
-
descTextColor?: import("
|
|
7
|
-
descTextSize?: import("
|
|
6
|
+
descTextColor?: import("src/components/Text").TextProps["textColor"];
|
|
7
|
+
descTextSize?: import("src/components/Text").TextProps["size"];
|
|
8
8
|
fill?: import("@itcase/types-ui").FillProps;
|
|
9
9
|
fillActive?: import("@itcase/types-ui").FillActiveProps;
|
|
10
10
|
fillActiveHover?: import("@itcase/types-ui").FillActiveHoverProps;
|
|
@@ -15,8 +15,8 @@ declare const Switch: React.ForwardRefExoticComponent<import("../../hooks/useSty
|
|
|
15
15
|
fillToggleHover?: import("@itcase/types-ui").FillHoverProps;
|
|
16
16
|
set?: string;
|
|
17
17
|
size?: string;
|
|
18
|
-
titleTextColor?: import("
|
|
19
|
-
titleTextSize?: import("
|
|
18
|
+
titleTextColor?: import("src/components/Text").TextProps["textColor"];
|
|
19
|
+
titleTextSize?: import("src/components/Text").TextProps["size"];
|
|
20
20
|
} & {
|
|
21
21
|
id?: string;
|
|
22
22
|
align?: import("@itcase/types-ui").AlignProps;
|
|
@@ -17,12 +17,12 @@ declare const Tooltip: React.ForwardRefExoticComponent<import("../../hooks/useSt
|
|
|
17
17
|
shape?: import("@itcase/types-ui").ShapeProps;
|
|
18
18
|
shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
|
|
19
19
|
size?: import("@itcase/types-ui").SizeProps;
|
|
20
|
-
textColor?: import("
|
|
21
|
-
textSize?: import("
|
|
22
|
-
textWeight?: import("
|
|
23
|
-
titleColor?: import("
|
|
24
|
-
titleSize?: import("
|
|
25
|
-
titleWeight?: import("
|
|
20
|
+
textColor?: import("src/components/Text").TextProps["textColor"];
|
|
21
|
+
textSize?: import("src/components/Text").TextProps["size"];
|
|
22
|
+
textWeight?: import("src/components/Text").TextProps["textWeight"];
|
|
23
|
+
titleColor?: import("src/components/Title").TitleProps["textColor"];
|
|
24
|
+
titleSize?: import("src/components/Title").TitleProps["size"];
|
|
25
|
+
titleWeight?: import("src/components/Title").TitleProps["textWeight"];
|
|
26
26
|
wrap?: import("@itcase/types-ui").WrapProps;
|
|
27
27
|
} & {
|
|
28
28
|
after?: string;
|
package/dist/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -891,6 +891,63 @@ const getTargetStyleAttributeKey = (styleKey, styleValue = '') => {
|
|
|
891
891
|
return styleAttributeKey;
|
|
892
892
|
};
|
|
893
893
|
|
|
894
|
+
const textAppearanceSize = {
|
|
895
|
+
sizeXXL: {
|
|
896
|
+
size: 'xxl',
|
|
897
|
+
},
|
|
898
|
+
sizeXL: {
|
|
899
|
+
size: 'xl',
|
|
900
|
+
},
|
|
901
|
+
sizeL: {
|
|
902
|
+
size: 'l',
|
|
903
|
+
},
|
|
904
|
+
sizeM: {
|
|
905
|
+
size: 'm',
|
|
906
|
+
},
|
|
907
|
+
sizeS: {
|
|
908
|
+
size: 's',
|
|
909
|
+
},
|
|
910
|
+
sizeXS: {
|
|
911
|
+
size: 'xs',
|
|
912
|
+
},
|
|
913
|
+
sizeXXS: {
|
|
914
|
+
size: 'xxs',
|
|
915
|
+
},
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
const textAppearance = {
|
|
919
|
+
...textAppearanceSize,
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
const textConfig = {
|
|
923
|
+
appearance: textAppearance,
|
|
924
|
+
setAppearance: (appearanceConfig) => {
|
|
925
|
+
textConfig.appearance = appearanceConfig;
|
|
926
|
+
},
|
|
927
|
+
};
|
|
928
|
+
function Text(props) {
|
|
929
|
+
const { appearance, className, dataTestId, dataTour, cursor, style, tag: Tag = 'span', before, after, isActive, isDisabled, isSkeleton, onClick, onDoubleClick, children, } = props;
|
|
930
|
+
const appearanceConfig = useAppearanceConfig(appearance, textConfig, isDisabled);
|
|
931
|
+
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
932
|
+
const { textAlignClass, textColorActiveClass, textColorActiveHoverClass, textColorClass, textColorDisabledClass, textColorHoverClass, textFontClass, textStyleClass, textTruncateClass, textWeightClass, textWrapClass, cursorClass, sizeClass, widthClass, } = propsGenerator;
|
|
933
|
+
const { styles: textStyles } = useStyles(props);
|
|
934
|
+
return (jsxRuntime.jsxs(Tag, { className: clsx(className, 'text', sizeClass && `text_size_${sizeClass}`, textWeightClass && `text-weight_${textWeightClass}`, textAlignClass && `text-align_${textAlignClass}`, isDisabled &&
|
|
935
|
+
textColorDisabledClass &&
|
|
936
|
+
`text-color_${textColorDisabledClass}`, !isActive &&
|
|
937
|
+
!isDisabled &&
|
|
938
|
+
textColorClass &&
|
|
939
|
+
`text-color_${textColorClass}`, !isActive &&
|
|
940
|
+
!isDisabled &&
|
|
941
|
+
textColorHoverClass &&
|
|
942
|
+
`text-color_hover_${textColorHoverClass}`, isActive &&
|
|
943
|
+
!isDisabled &&
|
|
944
|
+
textColorActiveHoverClass &&
|
|
945
|
+
`text-color_active_hover_${textColorActiveHoverClass}`, isActive &&
|
|
946
|
+
!isDisabled &&
|
|
947
|
+
textColorActiveClass &&
|
|
948
|
+
`text-color_active_${textColorActiveClass}`, textFontClass && `text-font_${textFontClass}`, textStyleClass && `text-style_${textStyleClass}`, textWrapClass && `word-wrap_${textWrapClass}`, textTruncateClass && `text-truncate_${textTruncateClass}`, isSkeleton && 'text_skeleton', widthClass && `width_${widthClass}`, cursorClass && `cursor_${cursorClass}`, onClick && (cursor || 'cursor_type_pointer')), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, textStyles, style), onClick: onClick, onDoubleClick: onDoubleClick, children: [before, children, after] }));
|
|
949
|
+
}
|
|
950
|
+
|
|
894
951
|
const badgeAppearanceAccent = {
|
|
895
952
|
accentPrimary: {
|
|
896
953
|
fill: 'accentPrimary',
|
|
@@ -1124,63 +1181,6 @@ const badgeAppearance = {
|
|
|
1124
1181
|
...badgeAppearanceWarning,
|
|
1125
1182
|
};
|
|
1126
1183
|
|
|
1127
|
-
const textAppearanceSize = {
|
|
1128
|
-
sizeXXL: {
|
|
1129
|
-
size: 'xxl',
|
|
1130
|
-
},
|
|
1131
|
-
sizeXL: {
|
|
1132
|
-
size: 'xl',
|
|
1133
|
-
},
|
|
1134
|
-
sizeL: {
|
|
1135
|
-
size: 'l',
|
|
1136
|
-
},
|
|
1137
|
-
sizeM: {
|
|
1138
|
-
size: 'm',
|
|
1139
|
-
},
|
|
1140
|
-
sizeS: {
|
|
1141
|
-
size: 's',
|
|
1142
|
-
},
|
|
1143
|
-
sizeXS: {
|
|
1144
|
-
size: 'xs',
|
|
1145
|
-
},
|
|
1146
|
-
sizeXXS: {
|
|
1147
|
-
size: 'xxs',
|
|
1148
|
-
},
|
|
1149
|
-
};
|
|
1150
|
-
|
|
1151
|
-
const textAppearance = {
|
|
1152
|
-
...textAppearanceSize,
|
|
1153
|
-
};
|
|
1154
|
-
|
|
1155
|
-
const textConfig = {
|
|
1156
|
-
appearance: textAppearance,
|
|
1157
|
-
setAppearance: (appearanceConfig) => {
|
|
1158
|
-
textConfig.appearance = appearanceConfig;
|
|
1159
|
-
},
|
|
1160
|
-
};
|
|
1161
|
-
function Text(props) {
|
|
1162
|
-
const { appearance, className, dataTestId, dataTour, cursor, style, tag: Tag = 'span', before, after, isActive, isDisabled, isSkeleton, onClick, onDoubleClick, children, } = props;
|
|
1163
|
-
const appearanceConfig = useAppearanceConfig(appearance, textConfig, isDisabled);
|
|
1164
|
-
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
1165
|
-
const { textAlignClass, textColorActiveClass, textColorActiveHoverClass, textColorClass, textColorDisabledClass, textColorHoverClass, textFontClass, textStyleClass, textTruncateClass, textWeightClass, textWrapClass, cursorClass, sizeClass, widthClass, } = propsGenerator;
|
|
1166
|
-
const { styles: textStyles } = useStyles(props);
|
|
1167
|
-
return (jsxRuntime.jsxs(Tag, { className: clsx(className, 'text', sizeClass && `text_size_${sizeClass}`, textWeightClass && `text-weight_${textWeightClass}`, textAlignClass && `text-align_${textAlignClass}`, isDisabled &&
|
|
1168
|
-
textColorDisabledClass &&
|
|
1169
|
-
`text-color_${textColorDisabledClass}`, !isActive &&
|
|
1170
|
-
!isDisabled &&
|
|
1171
|
-
textColorClass &&
|
|
1172
|
-
`text-color_${textColorClass}`, !isActive &&
|
|
1173
|
-
!isDisabled &&
|
|
1174
|
-
textColorHoverClass &&
|
|
1175
|
-
`text-color_hover_${textColorHoverClass}`, isActive &&
|
|
1176
|
-
!isDisabled &&
|
|
1177
|
-
textColorActiveHoverClass &&
|
|
1178
|
-
`text-color_active_hover_${textColorActiveHoverClass}`, isActive &&
|
|
1179
|
-
!isDisabled &&
|
|
1180
|
-
textColorActiveClass &&
|
|
1181
|
-
`text-color_active_${textColorActiveClass}`, textFontClass && `text-font_${textFontClass}`, textStyleClass && `text-style_${textStyleClass}`, textWrapClass && `word-wrap_${textWrapClass}`, textTruncateClass && `text-truncate_${textTruncateClass}`, isSkeleton && 'text_skeleton', widthClass && `width_${widthClass}`, cursorClass && `cursor_${cursorClass}`, onClick && (cursor || 'cursor_type_pointer')), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, textStyles, style), onClick: onClick, onDoubleClick: onDoubleClick, children: [before, children, after] }));
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
1184
|
const badgeConfig = {
|
|
1185
1185
|
appearance: badgeAppearance,
|
|
1186
1186
|
setAppearance: (appearanceConfig) => {
|