@itcase/ui 1.4.13 → 1.5.0
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-CURAYlMs.js} +28 -28
- package/dist/{Badge-BxT2_kz_.js → Badge-LjfcZycz.js} +29 -29
- package/dist/{Button-xYLCmT3D.js → Button-CMB-ELfe.js} +15 -15
- package/dist/{Button-BiJZz4Bx.js → Button-iPtstCWk.js} +14 -14
- 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-BcBOnVKH.js → Icon-Ch-L2dOj.js} +9 -7
- package/dist/Icon-CoBJRPlP.js +63 -0
- 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-C04g00r2.js} +18 -11
- package/dist/{Link-DaKqf1pb.js → Link-Sr03Kia9.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 +31 -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,48 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export interface iSegmentedThemeColor {
|
|
1
|
+
import { AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, FillHoverProps, FillProps, ItemColorProps, ShapeProps, TextColorActiveProps, TextColorProps, TextSizeProps, TextWrapProps, WidthProps } from '@itcase/types';
|
|
2
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
3
|
+
export interface SegmentedThemeColor {
|
|
5
4
|
[key: number | string | symbol]: any;
|
|
6
|
-
borderType?:
|
|
7
|
-
borderWidth?:
|
|
8
|
-
fill?:
|
|
9
|
-
fillHover?:
|
|
10
|
-
indicatorFill?:
|
|
11
|
-
inputBorderColor?:
|
|
12
|
-
labelTextActiveColor?:
|
|
13
|
-
labelTextActiveHoverColor?:
|
|
14
|
-
labelTextColor?:
|
|
15
|
-
labelTextHoverColor?:
|
|
16
|
-
labelTextSize?:
|
|
17
|
-
labelTextWrap?:
|
|
18
|
-
shape?:
|
|
19
|
-
width?:
|
|
5
|
+
borderType?: BorderTypeProps;
|
|
6
|
+
borderWidth?: BorderWidthProps;
|
|
7
|
+
fill?: FillProps;
|
|
8
|
+
fillHover?: FillHoverProps;
|
|
9
|
+
indicatorFill?: ItemColorProps;
|
|
10
|
+
inputBorderColor?: BorderColorProps;
|
|
11
|
+
labelTextActiveColor?: TextColorActiveProps;
|
|
12
|
+
labelTextActiveHoverColor?: TextColorActiveProps;
|
|
13
|
+
labelTextColor?: TextColorProps;
|
|
14
|
+
labelTextHoverColor?: TextColorProps;
|
|
15
|
+
labelTextSize?: TextSizeProps;
|
|
16
|
+
labelTextWrap?: TextWrapProps;
|
|
17
|
+
shape?: ShapeProps;
|
|
18
|
+
width?: WidthProps;
|
|
20
19
|
}
|
|
21
|
-
type
|
|
22
|
-
export type
|
|
23
|
-
[key in
|
|
20
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
21
|
+
export type SegmentedAppearanceType = {
|
|
22
|
+
[key in AppearanceKeys]?: SegmentedThemeColor;
|
|
24
23
|
};
|
|
25
|
-
export interface
|
|
24
|
+
export interface SegmentedConfig {
|
|
26
25
|
[key: number | string | symbol]: any;
|
|
27
|
-
appearance:
|
|
28
|
-
setAppearance: (newComponent:
|
|
26
|
+
appearance: SegmentedAppearanceType | undefined;
|
|
27
|
+
setAppearance: (newComponent: SegmentedAppearanceType) => void;
|
|
29
28
|
}
|
|
30
|
-
interface
|
|
29
|
+
interface Segment {
|
|
31
30
|
label: string;
|
|
32
31
|
value: string;
|
|
33
32
|
}
|
|
34
|
-
export interface
|
|
33
|
+
export interface SegmentedProps extends SegmentedThemeColor, StyleAttributes {
|
|
35
34
|
[key: number | string | symbol]: any;
|
|
36
35
|
activeSegment?: any;
|
|
37
|
-
appearance?:
|
|
36
|
+
appearance?: AppearanceKeys;
|
|
38
37
|
className?: string;
|
|
39
38
|
name?: string;
|
|
40
|
-
segments:
|
|
39
|
+
segments: Segment[];
|
|
41
40
|
size?: string;
|
|
42
41
|
type?: string;
|
|
43
42
|
value?: string;
|
|
44
43
|
isDisabled?: boolean;
|
|
45
44
|
onChange?: (value: string, name?: string) => void;
|
|
46
|
-
setActiveSegment?: (item:
|
|
45
|
+
setActiveSegment?: (item: Segment) => void;
|
|
47
46
|
}
|
|
48
47
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const selectAppearance:
|
|
1
|
+
import { SelectAppearance } from './Select.interface';
|
|
2
|
+
export declare const selectAppearance: SelectAppearance;
|
|
@@ -1,70 +1,69 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { GroupBase, PropsValue } from 'react-select';
|
|
3
3
|
import { Props } from 'react-select/base';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
interface iSelectThemeColor {
|
|
4
|
+
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderTypeProps, DirectionProps, FillHoverProps, FillProps, ItemColorProps, ShapeProps, SizeOptionProps, SizeProps, TextColorProps, TextSizeProps, TextWeightProps } from '@itcase/types';
|
|
5
|
+
interface SelectThemeColor {
|
|
7
6
|
[key: number | string | symbol]: any;
|
|
8
7
|
elevation?: number;
|
|
9
|
-
inputBorderColor?:
|
|
10
|
-
inputBorderColorHover?:
|
|
8
|
+
inputBorderColor?: BorderColorProps;
|
|
9
|
+
inputBorderColorHover?: BorderColorHoverProps;
|
|
11
10
|
inputFill?: string;
|
|
12
11
|
inputShape?: string;
|
|
13
|
-
inputTextColor?:
|
|
14
|
-
inputTextSize?:
|
|
12
|
+
inputTextColor?: TextColorProps;
|
|
13
|
+
inputTextSize?: TextSizeProps;
|
|
15
14
|
noOptionsText?: ReactNode;
|
|
16
|
-
noOptionsTextColor?:
|
|
17
|
-
noOptionsTextSize?:
|
|
15
|
+
noOptionsTextColor?: TextColorProps;
|
|
16
|
+
noOptionsTextSize?: TextSizeProps;
|
|
18
17
|
optionFill?: string;
|
|
19
18
|
optionFillHover?: string;
|
|
20
|
-
optionTextColor?:
|
|
21
|
-
optionTextSize?:
|
|
19
|
+
optionTextColor?: TextColorProps;
|
|
20
|
+
optionTextSize?: TextSizeProps;
|
|
22
21
|
placeholder?: React.ReactNode;
|
|
23
|
-
placeholderTextColor?:
|
|
24
|
-
placeholderTextSize?:
|
|
25
|
-
size?:
|
|
22
|
+
placeholderTextColor?: TextColorProps;
|
|
23
|
+
placeholderTextSize?: TextSizeProps;
|
|
24
|
+
size?: SizeOptionProps;
|
|
26
25
|
}
|
|
27
|
-
type
|
|
28
|
-
[key in
|
|
26
|
+
type SelectAppearance = {
|
|
27
|
+
[key in AppearanceKeysDefault]?: SelectThemeColor;
|
|
29
28
|
};
|
|
30
|
-
interface
|
|
31
|
-
appearance:
|
|
32
|
-
setAppearance: (newComponent:
|
|
29
|
+
interface SelectConfig {
|
|
30
|
+
appearance: SelectAppearance | undefined;
|
|
31
|
+
setAppearance: (newComponent: SelectAppearance) => void;
|
|
33
32
|
}
|
|
34
|
-
interface
|
|
33
|
+
interface SelectProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> extends Partial<Pick<Props<Option, IsMulti, Group>, 'className' | 'closeMenuOnSelect' | 'filterOption' | 'hideSelectedOptions' | 'hideValueContainer' | 'instanceId' | 'isClearable' | 'isDisabled' | 'isLoading' | 'isMulti' | 'isSearchable' | 'loadingMessage' | 'onChange' | 'onInputChange' | 'openMenuOnClick' | 'options' | 'value'>>, SelectThemeColor, SelectPropsCustom<Option> {
|
|
35
34
|
}
|
|
36
|
-
interface
|
|
35
|
+
interface SelectPropsCustom<Option> {
|
|
37
36
|
[key: number | string | symbol]: any;
|
|
38
37
|
after?: React.ReactNode;
|
|
39
|
-
appearance?:
|
|
40
|
-
badgeAppearance?:
|
|
41
|
-
badgeSize?:
|
|
42
|
-
badgeTextSize?:
|
|
38
|
+
appearance?: AppearanceKeysDefault;
|
|
39
|
+
badgeAppearance?: AppearanceKeysDefault;
|
|
40
|
+
badgeSize?: SizeProps;
|
|
41
|
+
badgeTextSize?: TextSizeProps;
|
|
43
42
|
before?: React.ReactNode;
|
|
44
|
-
borderColor?:
|
|
43
|
+
borderColor?: BorderColorProps;
|
|
45
44
|
clearIcon?: any;
|
|
46
|
-
clearIconFill?:
|
|
45
|
+
clearIconFill?: ItemColorProps;
|
|
47
46
|
data?: {
|
|
48
47
|
label?: React.ReactNode;
|
|
49
48
|
optionAfter?: React.ReactNode;
|
|
50
49
|
optionBefore?: React.ReactNode;
|
|
51
50
|
};
|
|
52
51
|
defaultValue?: PropsValue<Option>;
|
|
53
|
-
dividerDirection?:
|
|
54
|
-
dividerFill?:
|
|
55
|
-
dividerSize?:
|
|
56
|
-
dropdownFillHover?:
|
|
52
|
+
dividerDirection?: DirectionProps;
|
|
53
|
+
dividerFill?: FillProps;
|
|
54
|
+
dividerSize?: SizeProps;
|
|
55
|
+
dropdownFillHover?: FillHoverProps;
|
|
57
56
|
dropdownIcon?: any;
|
|
58
|
-
dropdownIconFill?:
|
|
59
|
-
dropdownIconShape?:
|
|
57
|
+
dropdownIconFill?: ItemColorProps;
|
|
58
|
+
dropdownIconShape?: ShapeProps;
|
|
60
59
|
fetchingData?: React.ReactNode;
|
|
61
|
-
fill?:
|
|
62
|
-
fillHover?:
|
|
63
|
-
headingFill?:
|
|
60
|
+
fill?: FillProps;
|
|
61
|
+
fillHover?: FillHoverProps;
|
|
62
|
+
headingFill?: FillProps;
|
|
64
63
|
headingFillHover?: string | null;
|
|
65
|
-
headingTextColor?:
|
|
66
|
-
headingTextSize?:
|
|
67
|
-
headingTextWeight?:
|
|
64
|
+
headingTextColor?: TextColorProps;
|
|
65
|
+
headingTextSize?: TextSizeProps;
|
|
66
|
+
headingTextWeight?: TextWeightProps;
|
|
68
67
|
hideValueContainer?: boolean;
|
|
69
68
|
inputAfter?: React.ReactNode;
|
|
70
69
|
inputBefore?: React.ReactNode;
|
|
@@ -75,23 +74,23 @@ interface iSelectPropsCustom<Option> {
|
|
|
75
74
|
menuBefore?: React.ReactNode;
|
|
76
75
|
menuIsOpen?: boolean;
|
|
77
76
|
menuItemSize?: string;
|
|
78
|
-
multipleItemFill?:
|
|
79
|
-
multipleItemFillHover?:
|
|
77
|
+
multipleItemFill?: FillProps;
|
|
78
|
+
multipleItemFillHover?: FillHoverProps;
|
|
80
79
|
multipleItemIcon?: any;
|
|
81
|
-
multipleItemIconFill?:
|
|
82
|
-
multipleItemTextColor?:
|
|
83
|
-
multipleItemTextSize?:
|
|
80
|
+
multipleItemIconFill?: ItemColorProps;
|
|
81
|
+
multipleItemTextColor?: TextColorProps;
|
|
82
|
+
multipleItemTextSize?: TextSizeProps;
|
|
84
83
|
noOptionsSearchText?: React.ReactNode;
|
|
85
84
|
optionAfter?: React.ReactNode;
|
|
86
85
|
optionBefore?: React.ReactNode;
|
|
87
|
-
optionBorder?:
|
|
88
|
-
optionBorderType?:
|
|
86
|
+
optionBorder?: BorderColorProps;
|
|
87
|
+
optionBorderType?: BorderTypeProps;
|
|
89
88
|
optionSelected?: React.ReactNode;
|
|
90
|
-
optionShape?:
|
|
91
|
-
shape?:
|
|
89
|
+
optionShape?: ShapeProps;
|
|
90
|
+
shape?: ShapeProps;
|
|
92
91
|
showBadge?: boolean;
|
|
93
92
|
showDivider?: boolean;
|
|
94
93
|
isCreatable?: boolean;
|
|
95
94
|
set?: string;
|
|
96
95
|
}
|
|
97
|
-
export type {
|
|
96
|
+
export type { SelectThemeColor, SelectPropsCustom, SelectAppearance, SelectConfig, SelectProps, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GroupBase, SelectInstance } from 'react-select';
|
|
3
|
-
import type {
|
|
4
|
-
declare const selectConfig:
|
|
5
|
-
declare const SelectContainer: React.ForwardRefExoticComponent<Omit<
|
|
3
|
+
import type { SelectConfig, SelectProps } from './Select.interface';
|
|
4
|
+
declare const selectConfig: SelectConfig;
|
|
5
|
+
declare const SelectContainer: React.ForwardRefExoticComponent<Omit<SelectProps<unknown, boolean, GroupBase<unknown>>, "ref"> & React.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
6
6
|
export { SelectContainer, selectConfig };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function Swiper(props:
|
|
1
|
+
import type { SwiperProps } from './Swiper.interface';
|
|
2
|
+
declare function Swiper(props: SwiperProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Swiper };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode, type Ref } from 'react';
|
|
2
2
|
import { SwiperClass, type SwiperRef } from 'swiper/react';
|
|
3
3
|
import { SwiperModule, SwiperOptions } from 'swiper/types';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export interface
|
|
4
|
+
import { AlignDirectionProps, AlignProps, FillProps, ShapeProps, TextColorProps, TextWeightProps, TitleSizeProps } from '@itcase/types';
|
|
5
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
6
|
+
export interface SwiperProps extends StyleAttributes {
|
|
7
7
|
id?: string;
|
|
8
8
|
[key: number | string | symbol]: any;
|
|
9
9
|
activeSlideIndex?: number;
|
|
10
|
-
align?:
|
|
11
|
-
alignDirection?:
|
|
10
|
+
align?: AlignProps;
|
|
11
|
+
alignDirection?: AlignDirectionProps;
|
|
12
12
|
allowTouchMove?: boolean;
|
|
13
13
|
autoHeight?: boolean;
|
|
14
14
|
breakpoints?: {
|
|
@@ -18,7 +18,7 @@ export interface iSwiperProps extends iStyleAttributes {
|
|
|
18
18
|
children?: ReactNode;
|
|
19
19
|
className?: string;
|
|
20
20
|
direction?: 'horizontal' | 'vertical';
|
|
21
|
-
fill?:
|
|
21
|
+
fill?: FillProps;
|
|
22
22
|
forwardedRef: Ref<SwiperRef>;
|
|
23
23
|
freeMode?: boolean;
|
|
24
24
|
items?: ReactNode[];
|
|
@@ -32,7 +32,7 @@ export interface iSwiperProps extends iStyleAttributes {
|
|
|
32
32
|
prevButton?: ReactNode;
|
|
33
33
|
preventClicks?: boolean;
|
|
34
34
|
preventClicksPropagation?: boolean;
|
|
35
|
-
shape?:
|
|
35
|
+
shape?: ShapeProps;
|
|
36
36
|
simulateTouch?: boolean;
|
|
37
37
|
slidesPerView?: number | 'auto';
|
|
38
38
|
spaceBetween?: number | string;
|
|
@@ -42,9 +42,9 @@ export interface iSwiperProps extends iStyleAttributes {
|
|
|
42
42
|
swiperSlideClass?: string;
|
|
43
43
|
title?: string;
|
|
44
44
|
titleAfter?: ReactNode;
|
|
45
|
-
titleSize?:
|
|
46
|
-
titleTextColor?:
|
|
47
|
-
titleWeight?:
|
|
45
|
+
titleSize?: TitleSizeProps;
|
|
46
|
+
titleTextColor?: TextColorProps;
|
|
47
|
+
titleWeight?: TextWeightProps;
|
|
48
48
|
isChangeOnClickSlide?: boolean;
|
|
49
49
|
isInit?: boolean;
|
|
50
50
|
isNavigation?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const switchAppearance:
|
|
1
|
+
import { SwitchAppearanceType } from 'src/components/Switch/Switch.interface';
|
|
2
|
+
export declare const switchAppearance: SwitchAppearanceType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
declare const switchConfig:
|
|
4
|
-
declare const Switch: React.ForwardRefExoticComponent<
|
|
2
|
+
import type { SwitchConfig, SwitchProps } from './Switch.interface';
|
|
3
|
+
declare const switchConfig: SwitchConfig;
|
|
4
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Switch, switchConfig };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
1
|
+
import { AppearanceKeysDefault } from '@itcase/types';
|
|
2
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
3
|
+
export interface SwitchThemeColor {
|
|
4
4
|
size?: string;
|
|
5
5
|
set?: string;
|
|
6
6
|
}
|
|
7
|
-
type
|
|
8
|
-
export type
|
|
9
|
-
[key in
|
|
7
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
8
|
+
export type SwitchAppearanceType = {
|
|
9
|
+
[key in AppearanceKeys]?: SwitchThemeColor;
|
|
10
10
|
};
|
|
11
|
-
export interface
|
|
12
|
-
appearance:
|
|
13
|
-
setAppearance: (newComponent:
|
|
11
|
+
export interface SwitchConfig {
|
|
12
|
+
appearance: SwitchAppearanceType | undefined;
|
|
13
|
+
setAppearance: (newComponent: SwitchAppearanceType) => void;
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface SwitchProps extends SwitchThemeColor, StyleAttributes {
|
|
16
16
|
id?: string;
|
|
17
|
-
appearance?:
|
|
17
|
+
appearance?: AppearanceKeys;
|
|
18
18
|
checked?: boolean;
|
|
19
19
|
className?: string;
|
|
20
20
|
disabled?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const tabAppearance:
|
|
1
|
+
import { TabAppearance } from './Tab.interface';
|
|
2
|
+
export declare const tabAppearance: TabAppearance;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const tabConfig:
|
|
3
|
-
declare function Tab(props:
|
|
1
|
+
import type { TabConfig, TabProps } from './Tab.interface';
|
|
2
|
+
declare const tabConfig: TabConfig;
|
|
3
|
+
declare function Tab(props: TabProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Tab, tabConfig };
|
|
@@ -1,58 +1,57 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
interface iTabThemeColor {
|
|
2
|
+
import { AlignDirectionProps, AlignProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, DirectionProps, FillHoverProps, FillProps, JustifyContentProps, ShapeProps, SizeProps, TextAlignProps, TextColorActiveProps, TextColorHoverProps, TextColorProps, TextGradientProps, TextSizeProps, TextStyleProps, TextWeightProps, TextWrapProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
|
+
import type { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
interface TabThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
align?:
|
|
8
|
-
alignDirection?:
|
|
9
|
-
badgeAppearance?:
|
|
10
|
-
badgeSize?:
|
|
11
|
-
badgeTextColor?:
|
|
12
|
-
badgeTextSize?:
|
|
6
|
+
align?: AlignProps;
|
|
7
|
+
alignDirection?: AlignDirectionProps;
|
|
8
|
+
badgeAppearance?: AppearanceKeysDefault;
|
|
9
|
+
badgeSize?: SizeProps;
|
|
10
|
+
badgeTextColor?: TextColorProps;
|
|
11
|
+
badgeTextSize?: TextSizeProps;
|
|
13
12
|
badgeValue?: string;
|
|
14
|
-
dividerDirection?:
|
|
15
|
-
dividerFill?:
|
|
16
|
-
dividerFillActive?:
|
|
17
|
-
dividerFillActiveHover?:
|
|
18
|
-
dividerFillDisabled?:
|
|
19
|
-
dividerFillHover?:
|
|
20
|
-
dividerSize?:
|
|
21
|
-
fill?:
|
|
22
|
-
fillActive?:
|
|
23
|
-
fillActiveHover?:
|
|
24
|
-
fillDisabled?:
|
|
25
|
-
fillHover?:
|
|
26
|
-
justifyContent?:
|
|
13
|
+
dividerDirection?: DirectionProps;
|
|
14
|
+
dividerFill?: FillProps;
|
|
15
|
+
dividerFillActive?: FillProps;
|
|
16
|
+
dividerFillActiveHover?: FillHoverProps;
|
|
17
|
+
dividerFillDisabled?: FillProps;
|
|
18
|
+
dividerFillHover?: FillHoverProps;
|
|
19
|
+
dividerSize?: SizeProps;
|
|
20
|
+
fill?: FillProps;
|
|
21
|
+
fillActive?: FillProps;
|
|
22
|
+
fillActiveHover?: FillHoverProps;
|
|
23
|
+
fillDisabled?: FillProps;
|
|
24
|
+
fillHover?: FillHoverProps;
|
|
25
|
+
justifyContent?: JustifyContentProps;
|
|
27
26
|
label?: string;
|
|
28
|
-
labelColor?:
|
|
29
|
-
labelColorActive?:
|
|
30
|
-
labelColorDisabled?:
|
|
31
|
-
labelTextAlign?:
|
|
32
|
-
labelTextColorHover?:
|
|
33
|
-
labelTextGradient?:
|
|
34
|
-
labelTextSize?:
|
|
35
|
-
labelTextStyle?:
|
|
36
|
-
labelTextWeight?:
|
|
37
|
-
labelTextWrap?:
|
|
38
|
-
linkFill?:
|
|
39
|
-
shape?:
|
|
40
|
-
size?:
|
|
27
|
+
labelColor?: TextColorProps;
|
|
28
|
+
labelColorActive?: TextColorActiveProps;
|
|
29
|
+
labelColorDisabled?: TextColorProps;
|
|
30
|
+
labelTextAlign?: TextAlignProps;
|
|
31
|
+
labelTextColorHover?: TextColorHoverProps;
|
|
32
|
+
labelTextGradient?: TextGradientProps;
|
|
33
|
+
labelTextSize?: TextSizeProps;
|
|
34
|
+
labelTextStyle?: TextStyleProps;
|
|
35
|
+
labelTextWeight?: TextWeightProps;
|
|
36
|
+
labelTextWrap?: TextWrapProps;
|
|
37
|
+
linkFill?: FillProps;
|
|
38
|
+
shape?: ShapeProps;
|
|
39
|
+
size?: SizeProps;
|
|
41
40
|
type?: string;
|
|
42
|
-
width?:
|
|
41
|
+
width?: WidthProps;
|
|
43
42
|
}
|
|
44
|
-
type
|
|
45
|
-
[key in
|
|
43
|
+
type TabAppearance = {
|
|
44
|
+
[key in AppearanceKeysDefault]?: TabThemeColor;
|
|
46
45
|
};
|
|
47
|
-
interface
|
|
46
|
+
interface TabConfig {
|
|
48
47
|
[key: number | string | symbol]: any;
|
|
49
|
-
appearance:
|
|
50
|
-
setAppearance: (newComponent:
|
|
48
|
+
appearance: TabAppearance | undefined;
|
|
49
|
+
setAppearance: (newComponent: TabAppearance) => void;
|
|
51
50
|
}
|
|
52
|
-
interface
|
|
51
|
+
interface TabProps extends TabThemeColor, StyleAttributes {
|
|
53
52
|
[key: number | string | symbol]: any;
|
|
54
53
|
after?: ReactNode;
|
|
55
|
-
appearance?:
|
|
54
|
+
appearance?: AppearanceKeysDefault;
|
|
56
55
|
before?: ReactNode;
|
|
57
56
|
children?: ReactNode;
|
|
58
57
|
className?: string;
|
|
@@ -70,24 +69,24 @@ interface iTabProps extends iTabThemeColor, iStyleAttributes {
|
|
|
70
69
|
onMouseEnter?: () => void;
|
|
71
70
|
set?: string;
|
|
72
71
|
}
|
|
73
|
-
interface
|
|
72
|
+
interface TabGroupProps extends StyleAttributes {
|
|
74
73
|
id?: string;
|
|
75
74
|
[key: number | string | symbol]: any;
|
|
76
|
-
align?:
|
|
77
|
-
alignDirection?:
|
|
78
|
-
borderColor?:
|
|
79
|
-
borderType?:
|
|
80
|
-
borderWidth?:
|
|
75
|
+
align?: AlignProps;
|
|
76
|
+
alignDirection?: AlignDirectionProps;
|
|
77
|
+
borderColor?: BorderColorProps;
|
|
78
|
+
borderType?: BorderTypeProps;
|
|
79
|
+
borderWidth?: BorderWidthProps;
|
|
81
80
|
children?: ReactNode;
|
|
82
81
|
className?: string;
|
|
83
|
-
contentAlign?:
|
|
82
|
+
contentAlign?: AlignProps;
|
|
84
83
|
dataTour?: string;
|
|
85
|
-
direction?:
|
|
86
|
-
fill?:
|
|
84
|
+
direction?: DirectionProps;
|
|
85
|
+
fill?: FillProps;
|
|
87
86
|
horizontalScroll?: boolean;
|
|
88
87
|
style?: CSSProperties;
|
|
89
|
-
width?:
|
|
90
|
-
wrap?:
|
|
88
|
+
width?: WidthProps;
|
|
89
|
+
wrap?: WrapProps;
|
|
91
90
|
set?: string;
|
|
92
91
|
}
|
|
93
|
-
export type {
|
|
92
|
+
export type { TabThemeColor, TabAppearance, TabConfig, TabProps, TabGroupProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function TabGroup(props:
|
|
1
|
+
import type { TabGroupProps } from './Tab.interface';
|
|
2
|
+
declare function TabGroup(props: TabGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { TabGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const textAppearance:
|
|
1
|
+
import { Appearance } from 'src/components/Text/Text.interface';
|
|
2
|
+
export declare const textAppearance: Appearance;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const textConfig:
|
|
3
|
-
declare function Text(props:
|
|
1
|
+
import type { TextConfig, TextProps } from './Text.interface';
|
|
2
|
+
declare const textConfig: TextConfig;
|
|
3
|
+
declare function Text(props: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Text, textConfig };
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import type { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
interface iTextThemeColor {
|
|
2
|
+
import { AppearanceKeysDefault, SizeProps, TextAlignProps, TextColorActiveProps, TextColorHoverProps, TextColorProps, TextGradientProps, TextSizeProps, TextStyleProps, TextWeightProps, TextWrapProps, TypeProps, WidthProps } from '@itcase/types';
|
|
3
|
+
import type { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
interface TextThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
size?:
|
|
8
|
-
textColor?:
|
|
9
|
-
textColorActive?:
|
|
10
|
-
textColorGradient?:
|
|
11
|
-
textColorHover?:
|
|
12
|
-
width?:
|
|
6
|
+
size?: SizeProps;
|
|
7
|
+
textColor?: TextColorProps;
|
|
8
|
+
textColorActive?: TextColorActiveProps;
|
|
9
|
+
textColorGradient?: TextGradientProps;
|
|
10
|
+
textColorHover?: TextColorHoverProps;
|
|
11
|
+
width?: WidthProps;
|
|
13
12
|
}
|
|
14
|
-
export type
|
|
15
|
-
[key in
|
|
13
|
+
export type Appearance = {
|
|
14
|
+
[key in AppearanceKeysDefault]: TextThemeColor;
|
|
16
15
|
};
|
|
17
|
-
interface
|
|
16
|
+
interface TextConfig {
|
|
18
17
|
[key: number | string | symbol]: any;
|
|
19
|
-
appearance:
|
|
20
|
-
setAppearance: (newComponent:
|
|
18
|
+
appearance: Appearance | undefined;
|
|
19
|
+
setAppearance: (newComponent: Appearance) => void;
|
|
21
20
|
}
|
|
22
|
-
interface
|
|
21
|
+
interface TextProps extends TextThemeColor, StyleAttributes {
|
|
23
22
|
id?: number | string;
|
|
24
23
|
[key: number | string | symbol]: any;
|
|
25
24
|
after?: ReactNode;
|
|
26
|
-
appearance?:
|
|
25
|
+
appearance?: AppearanceKeysDefault;
|
|
27
26
|
before?: ReactNode;
|
|
28
27
|
children: ReactNode;
|
|
29
28
|
className?: string;
|
|
@@ -32,26 +31,26 @@ interface iTextProps extends iTextThemeColor, iStyleAttributes {
|
|
|
32
31
|
dataTour?: string;
|
|
33
32
|
htmlFor?: string;
|
|
34
33
|
mode?: string;
|
|
35
|
-
size?:
|
|
36
|
-
sizeDesktop?:
|
|
37
|
-
sizeMobile?:
|
|
38
|
-
sizeTablet?:
|
|
34
|
+
size?: TextSizeProps;
|
|
35
|
+
sizeDesktop?: SizeProps;
|
|
36
|
+
sizeMobile?: SizeProps;
|
|
37
|
+
sizeTablet?: SizeProps;
|
|
39
38
|
style?: CSSProperties;
|
|
40
39
|
tag?: ElementType;
|
|
41
|
-
textAlign?:
|
|
42
|
-
textColor?:
|
|
43
|
-
textColorDesktop?:
|
|
44
|
-
textColorMobile?:
|
|
45
|
-
textColorTablet?:
|
|
46
|
-
textStyle?:
|
|
40
|
+
textAlign?: TextAlignProps;
|
|
41
|
+
textColor?: TextColorProps;
|
|
42
|
+
textColorDesktop?: TextColorProps;
|
|
43
|
+
textColorMobile?: TextColorProps;
|
|
44
|
+
textColorTablet?: TextColorProps;
|
|
45
|
+
textStyle?: TextStyleProps;
|
|
47
46
|
textTruncate?: boolean;
|
|
48
|
-
textWeight?:
|
|
49
|
-
textWeightDesktop?:
|
|
50
|
-
textWeightMobile?:
|
|
51
|
-
textWeightTablet?:
|
|
52
|
-
textWrap?:
|
|
53
|
-
type?:
|
|
47
|
+
textWeight?: TextWeightProps;
|
|
48
|
+
textWeightDesktop?: TextWeightProps;
|
|
49
|
+
textWeightMobile?: TextWeightProps;
|
|
50
|
+
textWeightTablet?: TextWeightProps;
|
|
51
|
+
textWrap?: TextWrapProps;
|
|
52
|
+
type?: TypeProps;
|
|
54
53
|
onClick?: () => void;
|
|
55
54
|
onDoubleClick?: () => void;
|
|
56
55
|
}
|
|
57
|
-
export type {
|
|
56
|
+
export type { TextConfig, TextProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const textareaAppearance:
|
|
3
|
-
export declare const textareaState:
|
|
1
|
+
import { TextareaAppearanceType, TextareaStateType } from 'components/Textarea/Textarea.interface';
|
|
2
|
+
export declare const textareaAppearance: TextareaAppearanceType;
|
|
3
|
+
export declare const textareaState: TextareaStateType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const textareaConfig:
|
|
3
|
-
declare function Textarea(props:
|
|
1
|
+
import type { TextareaConfig, TextareaProps } from './Textarea.interface';
|
|
2
|
+
declare const textareaConfig: TextareaConfig;
|
|
3
|
+
declare function Textarea(props: TextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Textarea, textareaConfig };
|