@itcase/ui 1.4.13 → 1.5.1
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-DnWTbwXq.js → Badge-JXM0G_0I.js} +28 -28
- package/dist/{Badge-BxT2_kz_.js → Badge-ydSHGXSG.js} +29 -29
- package/dist/{Button-BiJZz4Bx.js → Button-BmSyIDb_.js} +14 -14
- package/dist/{Button-xYLCmT3D.js → Button-DCtRrkgc.js} +15 -15
- package/dist/{Divider-ImOOytuN.js → Divider-D8hUUrwe.js} +1 -1
- package/dist/{Divider-BQcBkzt1.js → Divider-DhXzYcNF.js} +2 -2
- package/dist/DropdownItem-C8CumsgX.js +117 -0
- package/dist/DropdownItem-CBJeJPbP.js +122 -0
- package/dist/{Group-qq4Iisll.js → Group-BVlu5z77.js} +7 -3
- package/dist/{Group-BICb8bYQ.js → Group-OkygpKiJ.js} +7 -3
- package/dist/Icon-BOEOspTF.js +63 -0
- package/dist/{Icon-BcBOnVKH.js → Icon-DU2T-nfY.js} +9 -7
- package/dist/Image-CSzHhlA1.js +17 -0
- package/dist/Image-DuIBtUq5.js +19 -0
- package/dist/{Input-DHJIVk1z.js → Input-ChiH90mV.js} +33 -30
- package/dist/{Input-DiFnIFT7.js → Input-e0kLrbs6.js} +33 -30
- package/dist/{Label-D-LcvthP.js → Label-CP8IAPOM.js} +5 -5
- package/dist/{Label-y2hx5Q81.js → Label-CfE08vBy.js} +6 -6
- package/dist/{Link-BnqN6ysn.js → Link-UmzWKcxT.js} +18 -11
- package/dist/{Link-DaKqf1pb.js → Link-aBsZ1d0Q.js} +19 -13
- package/dist/{Loader-VK3q7PBN.js → Loader-CRN4MAbm.js} +2 -2
- package/dist/{Loader-DdKHrLnw.js → Loader-rzo8nnRI.js} +1 -1
- package/dist/{Overlay-CZixnXZ6.js → Overlay-CRIofShk.js} +6 -3
- package/dist/{Overlay-Myen2mqz.js → Overlay-CZFSerUl.js} +6 -3
- package/dist/{Scrollbar-Bo7z7ELm.js → Scrollbar-CThJeCLF.js} +4 -4
- package/dist/{Scrollbar-CKbA0jQU.js → Scrollbar-DcKOfcNp.js} +4 -4
- package/dist/{Text-C49zj3jO.js → Text-CEcBg-F5.js} +6 -3
- package/dist/{Text-C6NSmetx.js → Text-CI2prtf6.js} +6 -3
- package/dist/{Title-BLGDdlnX.js → Title-C4xUtigh.js} +12 -2
- package/dist/{Title-Byi9vhDt.js → Title-CaXw1KBQ.js} +13 -3
- package/dist/{Tooltip-5lQyt5-Y.js → Tooltip-EOu0a93a.js} +9 -9
- package/dist/{Tooltip-DRta8lK_.js → Tooltip-Lhx-Fefx.js} +8 -8
- package/dist/cjs/components/Accordion.js +17 -9
- package/dist/cjs/components/Avatar.js +9 -6
- package/dist/cjs/components/Badge.js +9 -6
- package/dist/cjs/components/Breadcrumbs.js +11 -8
- package/dist/cjs/components/Button.js +10 -7
- package/dist/cjs/components/Cell.js +18 -13
- package/dist/cjs/components/Checkbox.js +8 -5
- package/dist/cjs/components/Checkmark.js +5 -3
- package/dist/cjs/components/Chips.js +35 -17
- package/dist/cjs/components/Choice.js +23 -17
- package/dist/cjs/components/Code.js +9 -4
- package/dist/cjs/components/CookiesWarning.js +13 -10
- package/dist/cjs/components/DadataHintField.js +9 -4
- package/dist/cjs/components/DatePicker.js +24 -42
- package/dist/cjs/components/Divider.js +4 -1
- package/dist/cjs/components/Dot.js +3 -0
- package/dist/cjs/components/Drawer.js +3 -3
- package/dist/cjs/components/Dropdown.js +6 -4
- package/dist/cjs/components/Flex.js +7 -4
- package/dist/cjs/components/Grid.js +12 -9
- package/dist/cjs/components/Group.js +5 -2
- package/dist/cjs/components/HTMLContent.js +5 -2
- package/dist/cjs/components/HeroTitle.js +12 -6
- package/dist/cjs/components/Icon.js +8 -5
- package/dist/cjs/components/Image.js +4 -1
- package/dist/cjs/components/Input.js +5 -2
- package/dist/cjs/components/InputMask.js +11 -6
- package/dist/cjs/components/InputPassword.js +34 -28
- package/dist/cjs/components/Label.js +7 -4
- package/dist/cjs/components/Link.js +6 -5
- package/dist/cjs/components/List.js +6 -3
- package/dist/cjs/components/Loader.js +5 -2
- package/dist/cjs/components/Logo.js +7 -4
- package/dist/cjs/components/MenuItem.js +15 -13
- package/dist/cjs/components/Modal.js +11 -8
- package/dist/cjs/components/ModalSheetBottom.js +5 -2
- package/dist/cjs/components/Notification.js +15 -14
- package/dist/cjs/components/Overlay.js +5 -2
- package/dist/cjs/components/Pagination.js +54 -33
- package/dist/cjs/components/Panel.js +13 -8
- package/dist/cjs/components/Radio.js +15 -11
- package/dist/cjs/components/RangeSlider.js +8 -3
- package/dist/cjs/components/Response.js +15 -12
- package/dist/cjs/components/SVGContent.js +3 -0
- package/dist/cjs/components/ScrollOnDrag.js +4 -1
- package/dist/cjs/components/ScrollToView.js +7 -2
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +20 -15
- package/dist/cjs/components/Segmented.js +20 -20
- package/dist/cjs/components/Select.js +28 -21
- package/dist/cjs/components/Swiper.js +7 -4
- package/dist/cjs/components/Switch.js +25 -6
- package/dist/cjs/components/Tab.js +14 -11
- package/dist/cjs/components/Text.js +5 -2
- package/dist/cjs/components/Textarea.js +26 -20
- package/dist/cjs/components/Tile.js +12 -10
- package/dist/cjs/components/Title.js +4 -1
- package/dist/cjs/components/Tooltip.js +6 -3
- package/dist/cjs/components/Video.js +4 -1
- package/dist/cjs/context/Notifications.js +2 -2
- package/dist/cjs/context/UIContext.js +2 -2
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +3 -0
- package/dist/cjs/hooks/useDevicePropsGenerator.js +4 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +3 -0
- package/dist/cjs/hooks/useStyles.js +4 -1
- package/dist/cjs/hooks/useViewportFix.js +1 -1
- package/dist/components/Accordion.js +18 -10
- package/dist/components/Avatar.js +10 -7
- package/dist/components/Badge.js +10 -7
- package/dist/components/Breadcrumbs.js +12 -9
- package/dist/components/Button.js +11 -8
- package/dist/components/Cell.js +18 -13
- package/dist/components/Checkbox.js +9 -6
- package/dist/components/Checkmark.js +6 -4
- package/dist/components/Chips.js +36 -18
- package/dist/components/Choice.js +23 -17
- package/dist/components/Code.js +10 -5
- package/dist/components/CookiesWarning.js +14 -11
- package/dist/components/DadataHintField.js +10 -5
- package/dist/components/DatePicker.js +25 -43
- package/dist/components/Divider.js +5 -2
- package/dist/components/Dot.js +4 -1
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Dropdown.js +7 -5
- package/dist/components/Flex.js +8 -5
- package/dist/components/Grid.js +13 -10
- package/dist/components/Group.js +5 -2
- package/dist/components/HTMLContent.js +6 -3
- package/dist/components/HeroTitle.js +12 -6
- package/dist/components/Icon.js +9 -6
- package/dist/components/Image.js +5 -2
- package/dist/components/Input.js +5 -2
- package/dist/components/InputMask.js +11 -6
- package/dist/components/InputPassword.js +34 -28
- package/dist/components/Label.js +8 -5
- package/dist/components/Link.js +5 -8
- package/dist/components/List.js +7 -4
- package/dist/components/Loader.js +6 -3
- package/dist/components/Logo.js +8 -5
- package/dist/components/MenuItem.js +15 -13
- package/dist/components/Modal.js +12 -9
- package/dist/components/ModalSheetBottom.js +6 -3
- package/dist/components/Notification.js +16 -15
- package/dist/components/Overlay.js +5 -2
- package/dist/components/Pagination.js +54 -33
- package/dist/components/Panel.js +13 -8
- package/dist/components/Radio.js +15 -11
- package/dist/components/RangeSlider.js +9 -4
- package/dist/components/Response.js +16 -13
- package/dist/components/SVGContent.js +4 -1
- package/dist/components/ScrollOnDrag.js +5 -2
- package/dist/components/ScrollToView.js +8 -3
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +20 -15
- package/dist/components/Segmented.js +20 -20
- package/dist/components/Select.js +29 -22
- package/dist/components/Swiper.js +8 -5
- package/dist/components/Switch.js +25 -6
- package/dist/components/Tab.js +15 -12
- package/dist/components/Text.js +5 -2
- package/dist/components/Textarea.js +26 -20
- package/dist/components/Tile.js +13 -11
- package/dist/components/Title.js +5 -2
- package/dist/components/Tooltip.js +7 -4
- package/dist/components/Video.js +4 -1
- package/dist/context/Notifications.js +3 -3
- package/dist/context/UIContext.js +3 -3
- package/dist/css/components/Accordion/Accordion.css +7 -5
- package/dist/css/components/Avatar/Avatar.css +5 -5
- package/dist/css/components/Checkbox/Checkbox.css +1 -1
- package/dist/css/components/Checkmark/Checkmark.css +24 -1
- package/dist/css/components/Chips/Chips.css +2 -2
- package/dist/css/components/Choice/Choice.css +3 -3
- package/dist/css/components/Code/Code.css +26 -2
- package/dist/css/components/DatePicker/DatePicker.css +23 -33
- package/dist/css/components/Divider/Divider.css +3 -3
- package/dist/css/components/Dot/Dot.css +6 -6
- package/dist/css/components/Drawer/Drawer.css +4 -1
- package/dist/css/components/Dropdown/Dropdown.css +13 -13
- package/dist/css/components/Icon/Icon.css +5 -1
- package/dist/css/components/Image/Image.css +6 -3
- package/dist/css/components/Input/Input.css +21 -35
- package/dist/css/components/InputMask/Input.css +6 -6
- package/dist/css/components/InputPassword/InputPassword.css +2 -2
- package/dist/css/components/Label/Label.css +3 -3
- package/dist/css/components/List/List.css +8 -7
- package/dist/css/components/Loader/Loader.css +0 -2
- package/dist/css/components/Logo/Logo.css +1 -1
- package/dist/css/components/MenuItem/MenuItem.css +24 -6
- package/dist/css/components/Modal/Modal.css +2 -2
- package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +1 -1
- package/dist/css/components/Notification/Notification.css +22 -10
- package/dist/css/components/Notification/css/__item/notification__item_set_float.css +2 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_form.css +5 -5
- package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +2 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_top.css +1 -1
- package/dist/css/components/Overlay/Overlay.css +5 -1
- package/dist/css/components/Pagination/Pagination.css +16 -8
- package/dist/css/components/Pagination/css/__item/pagination__item.css +7 -4
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +4 -1
- package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +1 -1
- package/dist/css/components/Radio/Radio.css +9 -4
- package/dist/css/components/RangeSlider/RangeSlider.css +14 -8
- package/dist/css/components/ScrollToView/ScrollToView.css +2 -2
- package/dist/css/components/Search/Search.css +16 -8
- package/dist/css/components/Search/css/search-input/search-input_shape.css +1 -1
- package/dist/css/components/Search/css/search-input/search-input_size.css +1 -1
- package/dist/css/components/Segmented/Segmented.css +10 -7
- package/dist/css/components/Select/Select.css +10 -10
- package/dist/css/components/Select/css/__control/select__control_shape.css +1 -1
- package/dist/css/components/Select/css/__input-container/select__input-container.css +3 -3
- package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +2 -2
- package/dist/css/components/Select/css/__menu/select__menu.css +2 -2
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +2 -2
- package/dist/css/components/Switch/Switch.css +19 -1
- package/dist/css/components/Tab/Tab.css +2 -2
- package/dist/css/components/Text/Text.css +1 -1
- package/dist/css/components/Textarea/Textarea.css +2 -2
- package/dist/css/components/Tile/Tile.css +16 -7
- package/dist/css/components/Tooltip/Tooltip.css +16 -2
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +4 -1
- package/dist/hooks/useDevicePropsGenerator.js +5 -2
- package/dist/hooks/useDeviceTargetClass.js +1 -1
- package/dist/hooks/useStyles/useStyles.js +4 -1
- package/dist/hooks/useStyles.js +5 -2
- package/dist/hooks/useViewportFix.js +1 -1
- package/dist/{tslib.es6-5FtW-kfi.js → tslib.es6-Bwu1Cn-t.js} +1 -1
- package/dist/types/components/Accordion/Accordion.appearance.d.ts +3 -3
- package/dist/types/components/Accordion/Accordion.d.ts +3 -3
- package/dist/types/components/Accordion/Accordion.interface.d.ts +60 -61
- package/dist/types/components/Accordion/AccordionItem.d.ts +3 -3
- package/dist/types/components/Avatar/Avatar.appearance.d.ts +2 -2
- package/dist/types/components/Avatar/Avatar.d.ts +3 -3
- package/dist/types/components/Avatar/Avatar.interface.d.ts +24 -25
- package/dist/types/components/Badge/Badge.appearance.d.ts +2 -2
- package/dist/types/components/Badge/Badge.d.ts +3 -3
- package/dist/types/components/Badge/Badge.interface.d.ts +21 -22
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +3 -3
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeError.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +2 -2
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeSize.d.ts +7 -7
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeSurface.d.ts +7 -7
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +1 -1
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +49 -49
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +2 -2
- package/dist/types/components/Button/Button.appearance.d.ts +2 -2
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/Button/Button.interface.d.ts +44 -45
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +10 -10
- package/dist/types/components/Cell/Cell.appearance.d.ts +2 -2
- package/dist/types/components/Cell/Cell.d.ts +3 -3
- package/dist/types/components/Cell/Cell.interface.d.ts +40 -41
- package/dist/types/components/Checkbox/Checkbox.appearance.d.ts +3 -3
- package/dist/types/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +36 -37
- package/dist/types/components/Checkmark/Checkmark.appearance.d.ts +2 -2
- package/dist/types/components/Checkmark/Checkmark.d.ts +3 -3
- package/dist/types/components/Checkmark/Checkmark.interface.d.ts +15 -17
- package/dist/types/components/Chips/Chips.appearance.d.ts +2 -2
- package/dist/types/components/Chips/Chips.d.ts +3 -3
- package/dist/types/components/Chips/Chips.interface.d.ts +30 -31
- package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +4 -0
- package/dist/types/components/Choice/Choice.appearance.d.ts +2 -2
- package/dist/types/components/Choice/Choice.d.ts +3 -3
- package/dist/types/components/Choice/Choice.interface.d.ts +35 -36
- package/dist/types/components/Code/Code.appearance.d.ts +2 -2
- package/dist/types/components/Code/Code.d.ts +3 -3
- package/dist/types/components/Code/Code.interface.d.ts +31 -32
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +2 -2
- package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +10 -10
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +2 -2
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +2 -2
- package/dist/types/components/DatePicker/DatePicker.d.ts +3 -3
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +71 -72
- package/dist/types/components/Divider/Divider.d.ts +3 -3
- package/dist/types/components/Divider/Divider.interface.d.ts +29 -30
- package/dist/types/components/Dot/Dot.d.ts +2 -2
- package/dist/types/components/Dot/Dot.interface.d.ts +21 -21
- package/dist/types/components/Drawer/Drawer.appearance.d.ts +2 -2
- package/dist/types/components/Drawer/Drawer.d.ts +3 -3
- package/dist/types/components/Drawer/Drawer.interface.d.ts +12 -12
- package/dist/types/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +51 -53
- package/dist/types/components/Dropdown/DropdownItem.appearance.d.ts +2 -2
- package/dist/types/components/Dropdown/DropdownItem.d.ts +3 -3
- package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +25 -0
- package/dist/types/components/Flex/Flex.d.ts +2 -2
- package/dist/types/components/Flex/Flex.interface.d.ts +83 -83
- package/dist/types/components/Flex/FlexItem.d.ts +2 -2
- package/dist/types/components/Grid/Grid.d.ts +2 -2
- package/dist/types/components/Grid/Grid.interface.d.ts +47 -47
- package/dist/types/components/Grid/GridItem.d.ts +2 -2
- package/dist/types/components/Grid/GridRow.d.ts +2 -2
- package/dist/types/components/Group/Group.appearance.d.ts +2 -2
- package/dist/types/components/Group/Group.d.ts +3 -3
- package/dist/types/components/Group/Group.interface.d.ts +28 -29
- package/dist/types/components/HTMLContent/HTMLContent.d.ts +2 -2
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +20 -20
- package/dist/types/components/HeroTitle/HeroTitle.appearance.d.ts +2 -2
- package/dist/types/components/HeroTitle/HeroTitle.d.ts +3 -3
- package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +27 -28
- package/dist/types/components/Icon/Icon.appearance.d.ts +2 -2
- package/dist/types/components/Icon/Icon.d.ts +3 -3
- package/dist/types/components/Icon/Icon.interface.d.ts +49 -50
- package/dist/types/components/Image/Image.d.ts +2 -2
- package/dist/types/components/Image/Image.interface.d.ts +10 -10
- package/dist/types/components/Input/Input.appearance.d.ts +3 -3
- package/dist/types/components/Input/Input.d.ts +3 -3
- package/dist/types/components/Input/Input.interface.d.ts +31 -33
- package/dist/types/components/InputMask/Input.d.ts +3 -3
- package/dist/types/components/InputMask/Input.interface.d.ts +31 -33
- package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +3 -3
- package/dist/types/components/InputPassword/InputPassword.d.ts +3 -3
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +31 -33
- package/dist/types/components/Label/Label.appearance.d.ts +2 -2
- package/dist/types/components/Label/Label.d.ts +3 -3
- package/dist/types/components/Label/Label.interface.d.ts +31 -32
- package/dist/types/components/Link/Link.appearance.d.ts +2 -2
- package/dist/types/components/Link/Link.d.ts +4 -4
- package/dist/types/components/Link/Link.interface.d.ts +32 -32
- package/dist/types/components/List/List.d.ts +2 -2
- package/dist/types/components/List/List.interface.d.ts +13 -13
- package/dist/types/components/List/ListItem.d.ts +2 -2
- package/dist/types/components/Loader/Loader.d.ts +3 -3
- package/dist/types/components/Loader/Loader.interface.d.ts +18 -19
- package/dist/types/components/Logo/Logo.d.ts +3 -3
- package/dist/types/components/Logo/Logo.interface.d.ts +16 -17
- package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +2 -2
- package/dist/types/components/MenuItem/MenuItem.d.ts +3 -10
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +41 -42
- package/dist/types/components/Modal/Modal.appearance.d.ts +2 -2
- package/dist/types/components/Modal/Modal.d.ts +2 -2
- package/dist/types/components/Modal/Modal.interface.d.ts +20 -21
- package/dist/types/components/Modal/ModalLoader.d.ts +1 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +4 -3
- package/dist/types/components/Notification/Notification.interface.d.ts +26 -27
- package/dist/types/components/Notification/NotificationItem.appearance.d.ts +2 -2
- package/dist/types/components/Notification/NotificationItem.d.ts +3 -3
- package/dist/types/components/Notification/NotificationList.d.ts +2 -2
- package/dist/types/components/Overlay/Overlay.appearance.d.ts +2 -2
- package/dist/types/components/Overlay/Overlay.d.ts +3 -3
- package/dist/types/components/Overlay/Overlay.interface.d.ts +14 -15
- package/dist/types/components/Pagination/Pagination.appearance.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts +3 -3
- package/dist/types/components/Pagination/Pagination.interface.d.ts +37 -38
- package/dist/types/components/Panel/Panel.d.ts +3 -3
- package/dist/types/components/Panel/Panel.interface.d.ts +33 -34
- package/dist/types/components/Radio/Radio.appearance.d.ts +1 -1
- package/dist/types/components/Radio/Radio.d.ts +3 -3
- package/dist/types/components/Radio/Radio.interface.d.ts +34 -35
- package/dist/types/components/RangeSlider/RangeSlider.d.ts +2 -2
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/types/components/Response/Response.d.ts +3 -3
- package/dist/types/components/Response/Response.interface.d.ts +41 -42
- package/dist/types/components/SVGContent/SVGContent.d.ts +2 -2
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +5 -5
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.d.ts +2 -2
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +11 -11
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +2 -2
- package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/types/components/Search/Search.appearance.d.ts +2 -2
- package/dist/types/components/Search/Search.interface.d.ts +36 -37
- package/dist/types/components/Search/SearchInput.d.ts +3 -3
- package/dist/types/components/Segmented/Segmented.appearance.d.ts +2 -2
- package/dist/types/components/Segmented/Segmented.d.ts +3 -3
- package/dist/types/components/Segmented/Segmented.interface.d.ts +28 -29
- package/dist/types/components/Select/Select.appearance.d.ts +2 -2
- package/dist/types/components/Select/Select.interface.d.ts +48 -49
- package/dist/types/components/Select/SelectContainer.d.ts +3 -3
- package/dist/types/components/Swiper/Swiper.d.ts +2 -2
- package/dist/types/components/Swiper/Swiper.interface.d.ts +10 -10
- package/dist/types/components/Switch/Switch.appearance.d.ts +2 -2
- package/dist/types/components/Switch/Switch.d.ts +3 -3
- package/dist/types/components/Switch/Switch.interface.d.ts +11 -11
- package/dist/types/components/Tab/Tab.appearance.d.ts +2 -2
- package/dist/types/components/Tab/Tab.d.ts +3 -3
- package/dist/types/components/Tab/Tab.interface.d.ts +55 -56
- package/dist/types/components/Tab/TabGroup.d.ts +2 -2
- package/dist/types/components/Text/Text.appearance.d.ts +2 -2
- package/dist/types/components/Text/Text.d.ts +3 -3
- package/dist/types/components/Text/Text.interface.d.ts +33 -34
- package/dist/types/components/Textarea/Textarea.appearance.d.ts +3 -3
- package/dist/types/components/Textarea/Textarea.d.ts +3 -3
- package/dist/types/components/Textarea/Textarea.interface.d.ts +27 -29
- package/dist/types/components/Tile/Tile.appearance.d.ts +2 -2
- package/dist/types/components/Tile/Tile.d.ts +3 -3
- package/dist/types/components/Tile/Tile.interface.d.ts +32 -33
- package/dist/types/components/Title/Title.appearance.d.ts +2 -2
- package/dist/types/components/Title/Title.d.ts +3 -3
- package/dist/types/components/Title/Title.interface.d.ts +27 -28
- package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +2 -2
- package/dist/types/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +26 -27
- package/dist/types/components/Video/Video.d.ts +2 -2
- package/dist/types/components/Video/Video.interface.d.ts +2 -2
- package/dist/types/context/Notifications.d.ts +4 -5
- package/dist/types/context/Notifications.interface.d.ts +14 -14
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +2 -2
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.d.ts +7 -7
- package/dist/types/hooks/useStyles/styleAttributes.interface.d.ts +80 -80
- package/package.json +7 -6
- package/dist/DropdownItem-B3E-_Cwp.js +0 -88
- package/dist/DropdownItem-Qg-_2YWD.js +0 -93
- package/dist/Icon-OJ_3E3eM.js +0 -61
- package/dist/Image-BEGwuGBM.js +0 -17
- package/dist/Image-DWfyapuD.js +0 -15
- package/dist/stories/Dev.mdx +0 -9
- package/dist/types/types/componentProps/align.d.ts +0 -2
- package/dist/types/types/componentProps/alignDirection.d.ts +0 -3
- package/dist/types/types/componentProps/alignment.d.ts +0 -3
- package/dist/types/types/componentProps/appearanceKeys.d.ts +0 -1
- package/dist/types/types/componentProps/borderColor.d.ts +0 -3
- package/dist/types/types/componentProps/borderColorHover.d.ts +0 -3
- package/dist/types/types/componentProps/borderType.d.ts +0 -3
- package/dist/types/types/componentProps/borderWidth.d.ts +0 -3
- package/dist/types/types/componentProps/direction.d.ts +0 -3
- package/dist/types/types/componentProps/elevation.d.ts +0 -3
- package/dist/types/types/componentProps/fill.d.ts +0 -3
- package/dist/types/types/componentProps/fillGradient.d.ts +0 -3
- package/dist/types/types/componentProps/fillHover.d.ts +0 -3
- package/dist/types/types/componentProps/fillType.d.ts +0 -3
- package/dist/types/types/componentProps/flexAlign.d.ts +0 -3
- package/dist/types/types/componentProps/flexGrow.d.ts +0 -3
- package/dist/types/types/componentProps/flexJustifyContent.d.ts +0 -3
- package/dist/types/types/componentProps/flexWrap.d.ts +0 -3
- package/dist/types/types/componentProps/gridAlign.d.ts +0 -3
- package/dist/types/types/componentProps/gridAlignSelf.d.ts +0 -3
- package/dist/types/types/componentProps/gridJustifyItems.d.ts +0 -3
- package/dist/types/types/componentProps/gridJustifySelf.d.ts +0 -3
- package/dist/types/types/componentProps/height.d.ts +0 -3
- package/dist/types/types/componentProps/horizontalContentAlign.d.ts +0 -3
- package/dist/types/types/componentProps/horizontalResizeMode.d.ts +0 -3
- package/dist/types/types/componentProps/iconFillSize.d.ts +0 -3
- package/dist/types/types/componentProps/iconSize.d.ts +0 -3
- package/dist/types/types/componentProps/itemColor.d.ts +0 -3
- package/dist/types/types/componentProps/justifyContent.d.ts +0 -3
- package/dist/types/types/componentProps/overflow.d.ts +0 -3
- package/dist/types/types/componentProps/position.d.ts +0 -3
- package/dist/types/types/componentProps/resizeMode.d.ts +0 -3
- package/dist/types/types/componentProps/shape.d.ts +0 -3
- package/dist/types/types/componentProps/size.d.ts +0 -3
- package/dist/types/types/componentProps/sizeOption.d.ts +0 -3
- package/dist/types/types/componentProps/sizePX.d.ts +0 -3
- package/dist/types/types/componentProps/stacking.d.ts +0 -3
- package/dist/types/types/componentProps/state.d.ts +0 -3
- package/dist/types/types/componentProps/stateKeys.d.ts +0 -1
- package/dist/types/types/componentProps/svgFill.d.ts +0 -3
- package/dist/types/types/componentProps/textAlign.d.ts +0 -3
- package/dist/types/types/componentProps/textColor.d.ts +0 -3
- package/dist/types/types/componentProps/textColorActive.d.ts +0 -3
- package/dist/types/types/componentProps/textColorHover.d.ts +0 -3
- package/dist/types/types/componentProps/textGradient.d.ts +0 -3
- package/dist/types/types/componentProps/textSize.d.ts +0 -3
- package/dist/types/types/componentProps/textStyle.d.ts +0 -3
- package/dist/types/types/componentProps/textTag.d.ts +0 -3
- package/dist/types/types/componentProps/textWeight.d.ts +0 -3
- package/dist/types/types/componentProps/textWrap.d.ts +0 -3
- package/dist/types/types/componentProps/titleSize.d.ts +0 -5
- package/dist/types/types/componentProps/type.d.ts +0 -3
- package/dist/types/types/componentProps/underline.d.ts +0 -3
- package/dist/types/types/componentProps/verticalContentAlign.d.ts +0 -3
- package/dist/types/types/componentProps/verticalResizeMode.d.ts +0 -3
- package/dist/types/types/componentProps/width.d.ts +0 -3
- package/dist/types/types/componentProps/wrap.d.ts +0 -3
- package/dist/types/types/index.d.ts +0 -55
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
5
|
-
alignSelf?:
|
|
6
|
-
alignSelfDesktop?:
|
|
7
|
-
alignSelfMobile?:
|
|
8
|
-
alignSelfTablet?:
|
|
2
|
+
import { BorderColorProps, DirectionProps, FillHoverProps, FillProps, GridAlignProps, GridAlignSelfProps, GridJustifyItemsProps, GridJustifySelfProps, HorizontalResizeModeProps, ShapeProps, VerticalResizeModeProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface GridBaseThemeColor extends StyleAttributes {
|
|
5
|
+
alignSelf?: GridAlignSelfProps;
|
|
6
|
+
alignSelfDesktop?: GridAlignSelfProps;
|
|
7
|
+
alignSelfMobile?: GridAlignSelfProps;
|
|
8
|
+
alignSelfTablet?: GridAlignSelfProps;
|
|
9
9
|
columnEnd?: string;
|
|
10
10
|
columnEndDesktop?: string;
|
|
11
11
|
columnEndMobile?: string;
|
|
@@ -19,18 +19,18 @@ export interface iGridBaseThemeColor extends iStyleAttributes {
|
|
|
19
19
|
columnStartDesktop?: string;
|
|
20
20
|
columnStartMobile?: string;
|
|
21
21
|
columnStartTablet?: string;
|
|
22
|
-
direction?:
|
|
23
|
-
fill?:
|
|
24
|
-
fillDesktop?:
|
|
25
|
-
fillHover?:
|
|
26
|
-
fillMobile?:
|
|
27
|
-
fillTablet?:
|
|
22
|
+
direction?: DirectionProps;
|
|
23
|
+
fill?: FillProps;
|
|
24
|
+
fillDesktop?: FillProps;
|
|
25
|
+
fillHover?: FillHoverProps;
|
|
26
|
+
fillMobile?: FillProps;
|
|
27
|
+
fillTablet?: FillProps;
|
|
28
28
|
gap?: string;
|
|
29
29
|
gridTemplateColumns?: string;
|
|
30
|
-
justifySelf?:
|
|
31
|
-
justifySelfDesktop?:
|
|
32
|
-
justifySelfMobile?:
|
|
33
|
-
justifySelfTablet?:
|
|
30
|
+
justifySelf?: GridJustifySelfProps;
|
|
31
|
+
justifySelfDesktop?: GridJustifySelfProps;
|
|
32
|
+
justifySelfMobile?: GridJustifySelfProps;
|
|
33
|
+
justifySelfTablet?: GridJustifySelfProps;
|
|
34
34
|
order?: string;
|
|
35
35
|
orderDesktop?: string;
|
|
36
36
|
orderMobile?: string;
|
|
@@ -53,7 +53,7 @@ export interface iGridBaseThemeColor extends iStyleAttributes {
|
|
|
53
53
|
zIndexMobile?: string;
|
|
54
54
|
zIndexTablet?: string;
|
|
55
55
|
}
|
|
56
|
-
export interface
|
|
56
|
+
export interface GridItemProps extends GridBaseThemeColor {
|
|
57
57
|
id?: string;
|
|
58
58
|
[key: number | string | symbol]: any;
|
|
59
59
|
children?: ReactNode;
|
|
@@ -61,7 +61,7 @@ export interface iGridItemProps extends iGridBaseThemeColor {
|
|
|
61
61
|
dataTour?: string;
|
|
62
62
|
onClick?: () => void;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
64
|
+
export interface GridRowProps extends GridBaseThemeColor {
|
|
65
65
|
id?: string;
|
|
66
66
|
[key: number | string | symbol]: any;
|
|
67
67
|
children?: ReactNode;
|
|
@@ -71,20 +71,20 @@ export interface iGridRowProps extends iGridBaseThemeColor {
|
|
|
71
71
|
tag?: ElementType;
|
|
72
72
|
onClick?: () => void;
|
|
73
73
|
}
|
|
74
|
-
export interface
|
|
74
|
+
export interface GridProps extends StyleAttributes {
|
|
75
75
|
id?: string;
|
|
76
76
|
[key: number | string | symbol]: any;
|
|
77
77
|
after?: ReactNode;
|
|
78
|
-
alignContent?:
|
|
79
|
-
alignContentDesktop?:
|
|
80
|
-
alignContentMobile?:
|
|
81
|
-
alignContentTablet?:
|
|
82
|
-
alignItems?:
|
|
83
|
-
alignItemsDesktop?:
|
|
84
|
-
alignItemsMobile?:
|
|
85
|
-
alignItemsTablet?:
|
|
78
|
+
alignContent?: GridAlignProps;
|
|
79
|
+
alignContentDesktop?: GridAlignProps;
|
|
80
|
+
alignContentMobile?: GridAlignProps;
|
|
81
|
+
alignContentTablet?: GridAlignProps;
|
|
82
|
+
alignItems?: GridAlignProps;
|
|
83
|
+
alignItemsDesktop?: GridAlignProps;
|
|
84
|
+
alignItemsMobile?: GridAlignProps;
|
|
85
|
+
alignItemsTablet?: GridAlignProps;
|
|
86
86
|
before?: ReactNode;
|
|
87
|
-
borderColor?:
|
|
87
|
+
borderColor?: BorderColorProps;
|
|
88
88
|
children?: ReactNode;
|
|
89
89
|
className?: string;
|
|
90
90
|
columnGap?: string;
|
|
@@ -96,10 +96,10 @@ export interface iGridProps extends iStyleAttributes {
|
|
|
96
96
|
columnsMobile?: string;
|
|
97
97
|
columnsTablet?: string;
|
|
98
98
|
dataTour?: string;
|
|
99
|
-
fill?:
|
|
100
|
-
fillDesktop?:
|
|
101
|
-
fillMobile?:
|
|
102
|
-
fillTablet?:
|
|
99
|
+
fill?: FillProps;
|
|
100
|
+
fillDesktop?: FillProps;
|
|
101
|
+
fillMobile?: FillProps;
|
|
102
|
+
fillTablet?: FillProps;
|
|
103
103
|
gridBackground?: string;
|
|
104
104
|
gridBackgroundDesktop?: string;
|
|
105
105
|
gridBackgroundMobile?: string;
|
|
@@ -108,16 +108,16 @@ export interface iGridProps extends iStyleAttributes {
|
|
|
108
108
|
gridBackgroundWrapperDesktop?: string;
|
|
109
109
|
gridBackgroundWrapperMobile?: string;
|
|
110
110
|
gridBackgroundWrapperTablet?: string;
|
|
111
|
-
horizontalResizing?:
|
|
111
|
+
horizontalResizing?: HorizontalResizeModeProps;
|
|
112
112
|
horizontalScroll?: boolean;
|
|
113
113
|
justifyContent?: string;
|
|
114
114
|
justifyContentDesktop?: string;
|
|
115
115
|
justifyContentMobile?: string;
|
|
116
116
|
justifyContentTablet?: string;
|
|
117
|
-
justifyItems?:
|
|
118
|
-
justifyItemsDesktop?:
|
|
119
|
-
justifyItemsMobile?:
|
|
120
|
-
justifyItemsTablet?:
|
|
117
|
+
justifyItems?: GridJustifyItemsProps;
|
|
118
|
+
justifyItemsDesktop?: GridJustifyItemsProps;
|
|
119
|
+
justifyItemsMobile?: GridJustifyItemsProps;
|
|
120
|
+
justifyItemsTablet?: GridJustifyItemsProps;
|
|
121
121
|
rowGap?: string;
|
|
122
122
|
rowGapDesktop?: string;
|
|
123
123
|
rowGapMobile?: string;
|
|
@@ -126,17 +126,17 @@ export interface iGridProps extends iStyleAttributes {
|
|
|
126
126
|
rowsDesktop?: string;
|
|
127
127
|
rowsMobile?: string;
|
|
128
128
|
rowsTablet?: string;
|
|
129
|
-
shapeWrapper?:
|
|
130
|
-
shapeWrapperDesktop?:
|
|
131
|
-
shapeWrapperInner?:
|
|
132
|
-
shapeWrapperInnerDesktop?:
|
|
133
|
-
shapeWrapperInnerMobile?:
|
|
134
|
-
shapeWrapperInnerTablet?:
|
|
135
|
-
shapeWrapperMobile?:
|
|
136
|
-
shapeWrapperTablet?:
|
|
129
|
+
shapeWrapper?: ShapeProps;
|
|
130
|
+
shapeWrapperDesktop?: ShapeProps;
|
|
131
|
+
shapeWrapperInner?: ShapeProps;
|
|
132
|
+
shapeWrapperInnerDesktop?: ShapeProps;
|
|
133
|
+
shapeWrapperInnerMobile?: ShapeProps;
|
|
134
|
+
shapeWrapperInnerTablet?: ShapeProps;
|
|
135
|
+
shapeWrapperMobile?: ShapeProps;
|
|
136
|
+
shapeWrapperTablet?: ShapeProps;
|
|
137
137
|
tag?: ElementType;
|
|
138
138
|
type?: string;
|
|
139
139
|
useGridSystem?: boolean;
|
|
140
|
-
verticalResizing?:
|
|
140
|
+
verticalResizing?: VerticalResizeModeProps;
|
|
141
141
|
onClick?: () => void;
|
|
142
142
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function GridItem(props:
|
|
1
|
+
import type { GridItemProps } from './Grid.interface';
|
|
2
|
+
declare function GridItem(props: GridItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { GridItem };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function GridRow(props:
|
|
1
|
+
import type { GridRowProps } from './Grid.interface';
|
|
2
|
+
declare function GridRow(props: GridRowProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { GridRow };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const groupAppearance:
|
|
1
|
+
import { Appearance } from './Group.interface';
|
|
2
|
+
export declare const groupAppearance: Appearance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
declare const groupConfig:
|
|
4
|
-
declare const Group: React.ForwardRefExoticComponent<Omit<
|
|
2
|
+
import type { GroupConfig, GroupProps } from './Group.interface';
|
|
3
|
+
declare const groupConfig: GroupConfig;
|
|
4
|
+
declare const Group: React.ForwardRefExoticComponent<Omit<GroupProps, "ref"> & React.RefAttributes<unknown>>;
|
|
5
5
|
export { Group, groupConfig };
|
|
@@ -1,55 +1,54 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { iStyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
2
|
+
import { AlignDirectionProps, AlignProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, DirectionProps, ElevationProps, FillHoverProps, FillProps, FlexGrowProps, HeightProps, ItemColorProps, JustifyContentProps, ShapeProps, StackingProps, TextColorProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
5
4
|
interface ThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
6
|
border?: string;
|
|
8
7
|
borderColor?: string;
|
|
9
8
|
borderWidth?: string;
|
|
10
|
-
direction?:
|
|
9
|
+
direction?: DirectionProps;
|
|
11
10
|
fill?: string;
|
|
12
11
|
fillHover?: string;
|
|
13
|
-
labelTextColor?:
|
|
12
|
+
labelTextColor?: TextColorProps;
|
|
14
13
|
}
|
|
15
|
-
type
|
|
16
|
-
export type
|
|
17
|
-
[key in
|
|
14
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
15
|
+
export type Appearance = {
|
|
16
|
+
[key in AppearanceKeys]: ThemeColor;
|
|
18
17
|
};
|
|
19
|
-
export interface
|
|
18
|
+
export interface GroupConfig {
|
|
20
19
|
[key: number | string | symbol]: any;
|
|
21
|
-
appearance:
|
|
22
|
-
setAppearance: (newComponent:
|
|
20
|
+
appearance: Appearance | undefined;
|
|
21
|
+
setAppearance: (newComponent: Appearance) => void;
|
|
23
22
|
}
|
|
24
|
-
export interface
|
|
23
|
+
export interface GroupProps extends StyleAttributes {
|
|
25
24
|
id?: number | string;
|
|
26
25
|
[key: number | string | symbol]: any;
|
|
27
|
-
align?:
|
|
28
|
-
alignDirection?:
|
|
29
|
-
appearance?:
|
|
30
|
-
borderColor?:
|
|
31
|
-
borderType?:
|
|
26
|
+
align?: AlignProps;
|
|
27
|
+
alignDirection?: AlignDirectionProps;
|
|
28
|
+
appearance?: AppearanceKeys;
|
|
29
|
+
borderColor?: BorderColorProps;
|
|
30
|
+
borderType?: BorderTypeProps;
|
|
32
31
|
children?: ReactNode;
|
|
33
32
|
className?: string;
|
|
34
33
|
columns?: number;
|
|
35
34
|
dataTour?: string;
|
|
36
|
-
direction?:
|
|
37
|
-
elevation?:
|
|
38
|
-
fill?:
|
|
39
|
-
fillHover?:
|
|
40
|
-
flexGrow?:
|
|
41
|
-
height?:
|
|
35
|
+
direction?: DirectionProps;
|
|
36
|
+
elevation?: ElevationProps;
|
|
37
|
+
fill?: FillProps;
|
|
38
|
+
fillHover?: FillHoverProps;
|
|
39
|
+
flexGrow?: FlexGrowProps;
|
|
40
|
+
height?: HeightProps;
|
|
42
41
|
horizontalScroll?: boolean;
|
|
43
42
|
htmlFor?: string;
|
|
44
|
-
iconFillHover?:
|
|
45
|
-
justifyContent?:
|
|
43
|
+
iconFillHover?: ItemColorProps;
|
|
44
|
+
justifyContent?: JustifyContentProps;
|
|
46
45
|
name?: string;
|
|
47
|
-
shape?:
|
|
48
|
-
stacking?:
|
|
46
|
+
shape?: ShapeProps;
|
|
47
|
+
stacking?: StackingProps;
|
|
49
48
|
style?: CSSProperties;
|
|
50
49
|
tag?: ElementType;
|
|
51
|
-
width?:
|
|
52
|
-
wrap?:
|
|
50
|
+
width?: WidthProps;
|
|
51
|
+
wrap?: WrapProps;
|
|
53
52
|
isTextHover?: boolean;
|
|
54
53
|
onClick?: () => void;
|
|
55
54
|
set?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function HTMLContent(props:
|
|
1
|
+
import type { HTMLContentProps } from './HTMLContent.interface';
|
|
2
|
+
declare function HTMLContent(props: HTMLContentProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { HTMLContent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
2
|
+
import { AlignDirectionProps, AlignProps, BorderColorProps, BorderTypeProps, DirectionProps, ElevationProps, FillHoverProps, FillProps, FlexGrowProps, HeightProps, JustifyContentProps, ShapeProps, TextColorProps, TextWeightProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface HTMLContentProps extends StyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
|
-
align?:
|
|
7
|
-
alignDirection?:
|
|
8
|
-
border?:
|
|
9
|
-
borderColor?:
|
|
10
|
-
borderType?:
|
|
6
|
+
align?: AlignProps;
|
|
7
|
+
alignDirection?: AlignDirectionProps;
|
|
8
|
+
border?: BorderColorProps;
|
|
9
|
+
borderColor?: BorderColorProps;
|
|
10
|
+
borderType?: BorderTypeProps;
|
|
11
11
|
borderWidth?: string;
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
className?: string;
|
|
14
14
|
columns?: number;
|
|
15
15
|
content?: any;
|
|
16
16
|
dataTour?: string;
|
|
17
|
-
direction?:
|
|
18
|
-
elevation?:
|
|
19
|
-
fill?:
|
|
20
|
-
fillHover?:
|
|
21
|
-
flexGrow?:
|
|
22
|
-
height?:
|
|
23
|
-
justifyContent?:
|
|
24
|
-
shape?:
|
|
17
|
+
direction?: DirectionProps;
|
|
18
|
+
elevation?: ElevationProps;
|
|
19
|
+
fill?: FillProps;
|
|
20
|
+
fillHover?: FillHoverProps;
|
|
21
|
+
flexGrow?: FlexGrowProps;
|
|
22
|
+
height?: HeightProps;
|
|
23
|
+
justifyContent?: JustifyContentProps;
|
|
24
|
+
shape?: ShapeProps;
|
|
25
25
|
style?: CSSProperties;
|
|
26
|
-
textColor?:
|
|
27
|
-
textWeight?:
|
|
28
|
-
width?:
|
|
29
|
-
wrap?:
|
|
26
|
+
textColor?: TextColorProps;
|
|
27
|
+
textWeight?: TextWeightProps;
|
|
28
|
+
width?: WidthProps;
|
|
29
|
+
wrap?: WrapProps;
|
|
30
30
|
onClick?: () => void;
|
|
31
31
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const heroTitleAppearance:
|
|
1
|
+
import { Appearance } from './HeroTitle.interface';
|
|
2
|
+
export declare const heroTitleAppearance: Appearance;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const heroTitleConfig:
|
|
3
|
-
declare function HeroTitle(props:
|
|
1
|
+
import type { HeroTitleConfig, HeroTitleProps } from './HeroTitle.interface';
|
|
2
|
+
declare const heroTitleConfig: HeroTitleConfig;
|
|
3
|
+
declare function HeroTitle(props: HeroTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { HeroTitle, heroTitleConfig };
|
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
interface iHeroTitleThemeColor {
|
|
2
|
+
import { AppearanceKeysDefault, FillProps, HeroTitleSizeProps, SvgFillProps, TextAlignProps, TextColorActiveProps, TextColorHoverProps, TextColorProps, TextGradientProps, TextStyleProps, TextWeightProps, TextWrapProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
interface HeroTitleThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
fill?:
|
|
8
|
-
size?:
|
|
9
|
-
sizeDesktop?:
|
|
10
|
-
sizeMobile?:
|
|
11
|
-
sizeTablet?:
|
|
12
|
-
svgFill?:
|
|
13
|
-
svgFillHover?:
|
|
14
|
-
textColor?:
|
|
15
|
-
textColorActive?:
|
|
16
|
-
textColorHover?:
|
|
17
|
-
textGradient?:
|
|
18
|
-
textStyle?:
|
|
19
|
-
textWeight?:
|
|
20
|
-
textWrap?:
|
|
21
|
-
weight?:
|
|
6
|
+
fill?: FillProps;
|
|
7
|
+
size?: HeroTitleSizeProps;
|
|
8
|
+
sizeDesktop?: HeroTitleSizeProps;
|
|
9
|
+
sizeMobile?: HeroTitleSizeProps;
|
|
10
|
+
sizeTablet?: HeroTitleSizeProps;
|
|
11
|
+
svgFill?: SvgFillProps;
|
|
12
|
+
svgFillHover?: SvgFillProps;
|
|
13
|
+
textColor?: TextColorProps;
|
|
14
|
+
textColorActive?: TextColorActiveProps;
|
|
15
|
+
textColorHover?: TextColorHoverProps;
|
|
16
|
+
textGradient?: TextGradientProps;
|
|
17
|
+
textStyle?: TextStyleProps;
|
|
18
|
+
textWeight?: TextWeightProps;
|
|
19
|
+
textWrap?: TextWrapProps;
|
|
20
|
+
weight?: TextWeightProps;
|
|
22
21
|
}
|
|
23
|
-
type
|
|
24
|
-
export type
|
|
25
|
-
[key in
|
|
22
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
23
|
+
export type Appearance = {
|
|
24
|
+
[key in AppearanceKeys]: HeroTitleThemeColor;
|
|
26
25
|
};
|
|
27
|
-
export interface
|
|
26
|
+
export interface HeroTitleConfig {
|
|
28
27
|
[key: number | string | symbol]: any;
|
|
29
|
-
appearance:
|
|
30
|
-
setAppearance: (newComponent:
|
|
28
|
+
appearance: Appearance | undefined;
|
|
29
|
+
setAppearance: (newComponent: Appearance) => void;
|
|
31
30
|
}
|
|
32
|
-
export interface
|
|
31
|
+
export interface HeroTitleProps extends HeroTitleThemeColor, StyleAttributes {
|
|
33
32
|
[key: number | string | symbol]: any;
|
|
34
33
|
after?: any;
|
|
35
34
|
afterWrapper?: any;
|
|
36
|
-
appearance?:
|
|
35
|
+
appearance?: AppearanceKeys;
|
|
37
36
|
before?: any;
|
|
38
37
|
beforeWrapper?: any;
|
|
39
38
|
children: ReactNode;
|
|
@@ -45,7 +44,7 @@ export interface iHeroTitleProps extends iHeroTitleThemeColor, iStyleAttributes
|
|
|
45
44
|
style?: CSSProperties;
|
|
46
45
|
tag?: ElementType;
|
|
47
46
|
text?: string;
|
|
48
|
-
textAlign?:
|
|
47
|
+
textAlign?: TextAlignProps;
|
|
49
48
|
textTruncate?: string;
|
|
50
49
|
type?: string;
|
|
51
50
|
onClick?: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const iconAppearance:
|
|
1
|
+
import { IconAppearance } from './Icon.interface';
|
|
2
|
+
export declare const iconAppearance: IconAppearance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
declare const iconConfig:
|
|
4
|
-
declare const Icon: React.ForwardRefExoticComponent<Omit<
|
|
2
|
+
import type { IconConfig, IconProps } from '../Icon/Icon.interface';
|
|
3
|
+
declare const iconConfig: IconConfig;
|
|
4
|
+
declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Icon, iconConfig };
|
|
@@ -1,48 +1,47 @@
|
|
|
1
1
|
import type { CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
borderWidth?: tBorderWidthProps;
|
|
2
|
+
import { AlignmentProps, AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, FillHoverProps, FillProps, IconFillSizeProps, IconSizeProps, ItemColorProps, ShapeProps, TextColorHoverProps, TextColorProps, TextSizeProps, TitleSizeProps } from '@itcase/types';
|
|
3
|
+
import type { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
interface IconThemeColor {
|
|
5
|
+
alignment?: AlignmentProps;
|
|
6
|
+
bgFill?: FillProps;
|
|
7
|
+
borderColor?: BorderColorProps;
|
|
8
|
+
borderColorHover?: BorderColorHoverProps;
|
|
9
|
+
borderType?: BorderTypeProps;
|
|
10
|
+
borderWidth?: BorderWidthProps;
|
|
12
11
|
cursor?: string;
|
|
13
|
-
fill?:
|
|
14
|
-
fillDisabled?:
|
|
15
|
-
fillHover?:
|
|
16
|
-
fillSize?:
|
|
17
|
-
iconAfterFill?:
|
|
18
|
-
iconAfterFillSize?:
|
|
19
|
-
iconAfterShape?:
|
|
20
|
-
iconBeforeFill?:
|
|
21
|
-
iconBeforeFillSize?:
|
|
22
|
-
iconBeforeShape?:
|
|
23
|
-
iconFill?:
|
|
24
|
-
iconFillDisabled?:
|
|
25
|
-
iconFillHover?:
|
|
26
|
-
iconFillSize?:
|
|
27
|
-
iconShape?:
|
|
28
|
-
iconSize?:
|
|
12
|
+
fill?: FillProps;
|
|
13
|
+
fillDisabled?: FillProps;
|
|
14
|
+
fillHover?: FillHoverProps;
|
|
15
|
+
fillSize?: IconFillSizeProps;
|
|
16
|
+
iconAfterFill?: FillProps;
|
|
17
|
+
iconAfterFillSize?: IconFillSizeProps;
|
|
18
|
+
iconAfterShape?: ShapeProps;
|
|
19
|
+
iconBeforeFill?: FillProps;
|
|
20
|
+
iconBeforeFillSize?: IconFillSizeProps;
|
|
21
|
+
iconBeforeShape?: ShapeProps;
|
|
22
|
+
iconFill?: ItemColorProps;
|
|
23
|
+
iconFillDisabled?: ItemColorProps;
|
|
24
|
+
iconFillHover?: ItemColorProps;
|
|
25
|
+
iconFillSize?: IconFillSizeProps;
|
|
26
|
+
iconShape?: ShapeProps;
|
|
27
|
+
iconSize?: IconSizeProps;
|
|
29
28
|
label?: string;
|
|
30
|
-
labelTextColor?:
|
|
31
|
-
labelTextColorHover?:
|
|
32
|
-
labelTextSize?:
|
|
29
|
+
labelTextColor?: TextColorProps;
|
|
30
|
+
labelTextColorHover?: TextColorHoverProps;
|
|
31
|
+
labelTextSize?: TextSizeProps;
|
|
33
32
|
loaderFill?: string;
|
|
34
33
|
loaderItemFill?: string;
|
|
35
|
-
shape?:
|
|
36
|
-
size?:
|
|
34
|
+
shape?: ShapeProps;
|
|
35
|
+
size?: IconSizeProps;
|
|
37
36
|
}
|
|
38
|
-
type
|
|
39
|
-
[key in
|
|
37
|
+
type IconAppearance = {
|
|
38
|
+
[key in AppearanceKeysDefault]?: IconThemeColor;
|
|
40
39
|
};
|
|
41
|
-
interface
|
|
42
|
-
appearance:
|
|
43
|
-
setAppearance: (newComponent:
|
|
40
|
+
interface IconConfig {
|
|
41
|
+
appearance: IconAppearance | undefined;
|
|
42
|
+
setAppearance: (newComponent: IconAppearance) => void;
|
|
44
43
|
}
|
|
45
|
-
interface
|
|
44
|
+
interface IconProps extends IconThemeColor, StyleAttributes {
|
|
46
45
|
id?: number | string;
|
|
47
46
|
[key: number | string | symbol]: any;
|
|
48
47
|
after?: ReactNode;
|
|
@@ -50,12 +49,12 @@ interface iIconProps extends iIconThemeColor, iStyleAttributes {
|
|
|
50
49
|
before?: ReactNode;
|
|
51
50
|
className?: string;
|
|
52
51
|
dataTour?: string;
|
|
53
|
-
fillDesktop?:
|
|
54
|
-
fillMobile?:
|
|
52
|
+
fillDesktop?: FillProps;
|
|
53
|
+
fillMobile?: FillProps;
|
|
55
54
|
fillSizeDesktop?: string;
|
|
56
55
|
fillSizeMobile?: string;
|
|
57
56
|
fillSizeTablet?: string;
|
|
58
|
-
fillTablet?:
|
|
57
|
+
fillTablet?: FillProps;
|
|
59
58
|
height?: string;
|
|
60
59
|
href?: string;
|
|
61
60
|
htmlType?: string;
|
|
@@ -70,22 +69,22 @@ interface iIconProps extends iIconThemeColor, iStyleAttributes {
|
|
|
70
69
|
linkTarget?: string;
|
|
71
70
|
loading?: boolean;
|
|
72
71
|
rel?: string;
|
|
73
|
-
shapeDesktop?:
|
|
74
|
-
shapeMobile?:
|
|
75
|
-
shapeTablet?:
|
|
72
|
+
shapeDesktop?: ShapeProps;
|
|
73
|
+
shapeMobile?: ShapeProps;
|
|
74
|
+
shapeTablet?: ShapeProps;
|
|
76
75
|
showTooltip?: boolean;
|
|
77
|
-
sizeDesktop?:
|
|
78
|
-
sizeMobile?:
|
|
79
|
-
sizeTablet?:
|
|
76
|
+
sizeDesktop?: IconSizeProps;
|
|
77
|
+
sizeMobile?: IconSizeProps;
|
|
78
|
+
sizeTablet?: IconSizeProps;
|
|
80
79
|
style?: CSSProperties;
|
|
81
80
|
SvgImage?: any;
|
|
82
81
|
target?: string;
|
|
83
|
-
tooltipAppearance?:
|
|
82
|
+
tooltipAppearance?: AppearanceKeysDefault;
|
|
84
83
|
tooltipContent?: ReactNode;
|
|
85
84
|
tooltipText?: string;
|
|
86
|
-
tooltipTextSize?:
|
|
85
|
+
tooltipTextSize?: TextSizeProps;
|
|
87
86
|
tooltipTitle?: string;
|
|
88
|
-
tooltipTitleSize?:
|
|
87
|
+
tooltipTitleSize?: TitleSizeProps;
|
|
89
88
|
type?: string;
|
|
90
89
|
width?: string;
|
|
91
90
|
isDisabled?: boolean;
|
|
@@ -93,4 +92,4 @@ interface iIconProps extends iIconThemeColor, iStyleAttributes {
|
|
|
93
92
|
onMouseEnter?: MouseEventHandler<HTMLDivElement>;
|
|
94
93
|
onMouseLeave?: MouseEventHandler<HTMLDivElement>;
|
|
95
94
|
}
|
|
96
|
-
export type {
|
|
95
|
+
export type { IconThemeColor, IconAppearance, IconConfig, IconProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function Image(props:
|
|
1
|
+
import type { ImageProps } from './Image.interface';
|
|
2
|
+
declare function Image(props: ImageProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Image };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
2
|
+
import { BorderColorProps, FillHoverProps, FillProps, HorizontalContentAlignProps, ShapeProps, VerticalContentAlignProps, WidthProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface ImageProps extends StyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
after?: ReactNode;
|
|
7
7
|
alt?: string;
|
|
8
8
|
before?: ReactNode;
|
|
9
|
-
borderColor?:
|
|
9
|
+
borderColor?: BorderColorProps;
|
|
10
10
|
borderColorImage?: string;
|
|
11
11
|
caption?: string;
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
className?: string;
|
|
14
14
|
cursor?: string;
|
|
15
|
-
fill?:
|
|
16
|
-
fillHover?:
|
|
15
|
+
fill?: FillProps;
|
|
16
|
+
fillHover?: FillHoverProps;
|
|
17
17
|
height?: string;
|
|
18
|
-
horizontalAlign?:
|
|
18
|
+
horizontalAlign?: HorizontalContentAlignProps;
|
|
19
19
|
imageClassName?: string;
|
|
20
20
|
imageHeight?: string;
|
|
21
21
|
imageWidth?: string;
|
|
@@ -23,13 +23,13 @@ export interface iImageProps extends iStyleAttributes {
|
|
|
23
23
|
mode?: string;
|
|
24
24
|
overlay?: any;
|
|
25
25
|
resizeMode?: string;
|
|
26
|
-
shape?:
|
|
26
|
+
shape?: ShapeProps;
|
|
27
27
|
src?: string;
|
|
28
28
|
style?: CSSProperties;
|
|
29
29
|
title?: string;
|
|
30
30
|
type?: string;
|
|
31
|
-
verticalContentAlign?:
|
|
32
|
-
width?:
|
|
31
|
+
verticalContentAlign?: VerticalContentAlignProps;
|
|
32
|
+
width?: WidthProps;
|
|
33
33
|
onClick?: () => void;
|
|
34
34
|
onError?: () => void;
|
|
35
35
|
}
|