@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,59 +1,58 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { iStyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
2
|
+
import { AlignDirectionProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, ElevationProps, FillHoverProps, FillProps, FlexAlignProps, FlexJustifyContentProps, FlexWrapProps, HeightProps, PositionProps, ShapeProps, TextColorProps, TextSizeProps, TextWeightProps, WidthProps } 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?: AlignDirectionProps;
|
|
11
10
|
fill?: string;
|
|
12
11
|
fillHover?: string;
|
|
13
|
-
labelTextColor?:
|
|
12
|
+
labelTextColor?: TextColorProps;
|
|
14
13
|
}
|
|
15
|
-
type
|
|
16
|
-
type
|
|
17
|
-
[key in
|
|
14
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
15
|
+
type Appearance = {
|
|
16
|
+
[key in AppearanceKeys]: ThemeColor;
|
|
18
17
|
};
|
|
19
|
-
export interface
|
|
18
|
+
export interface PanelConfig {
|
|
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 PanelProps extends StyleAttributes {
|
|
25
24
|
[key: number | string | symbol]: any;
|
|
26
|
-
alignContent?:
|
|
27
|
-
alignItems?:
|
|
28
|
-
appearance?:
|
|
29
|
-
borderColor?:
|
|
30
|
-
borderType?:
|
|
31
|
-
borderWidth?:
|
|
25
|
+
alignContent?: FlexJustifyContentProps;
|
|
26
|
+
alignItems?: FlexAlignProps;
|
|
27
|
+
appearance?: AppearanceKeys;
|
|
28
|
+
borderColor?: BorderColorProps;
|
|
29
|
+
borderType?: BorderTypeProps;
|
|
30
|
+
borderWidth?: BorderWidthProps;
|
|
32
31
|
children?: ReactNode;
|
|
33
32
|
className?: string;
|
|
34
33
|
dataTour?: string;
|
|
35
34
|
desc?: string;
|
|
36
|
-
descTextColor?:
|
|
37
|
-
descTextSize?:
|
|
38
|
-
descTextWeight?:
|
|
39
|
-
direction?:
|
|
40
|
-
elevation?:
|
|
41
|
-
fill?:
|
|
42
|
-
fillHover?:
|
|
43
|
-
height?:
|
|
35
|
+
descTextColor?: TextColorProps;
|
|
36
|
+
descTextSize?: TextSizeProps;
|
|
37
|
+
descTextWeight?: TextWeightProps;
|
|
38
|
+
direction?: AlignDirectionProps;
|
|
39
|
+
elevation?: ElevationProps;
|
|
40
|
+
fill?: FillProps;
|
|
41
|
+
fillHover?: FillHoverProps;
|
|
42
|
+
height?: HeightProps;
|
|
44
43
|
horizontalScroll?: boolean;
|
|
45
44
|
htmlFor?: string;
|
|
46
|
-
justifyContent?:
|
|
47
|
-
position?:
|
|
48
|
-
shape?:
|
|
45
|
+
justifyContent?: FlexJustifyContentProps;
|
|
46
|
+
position?: PositionProps;
|
|
47
|
+
shape?: ShapeProps;
|
|
49
48
|
style?: CSSProperties;
|
|
50
49
|
title?: string;
|
|
51
|
-
titleTextColor?:
|
|
52
|
-
titleTextSize?:
|
|
53
|
-
titleTextWeight?:
|
|
50
|
+
titleTextColor?: TextColorProps;
|
|
51
|
+
titleTextSize?: TextSizeProps;
|
|
52
|
+
titleTextWeight?: TextWeightProps;
|
|
54
53
|
verticalScroll?: boolean;
|
|
55
|
-
width?:
|
|
56
|
-
wrap?:
|
|
54
|
+
width?: WidthProps;
|
|
55
|
+
wrap?: FlexWrapProps;
|
|
57
56
|
set?: string;
|
|
58
57
|
}
|
|
59
58
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { radioAppearanceType, radioStateType } from '
|
|
1
|
+
import { radioAppearanceType, radioStateType } from './Radio.interface';
|
|
2
2
|
export declare const radioAppearance: radioAppearanceType;
|
|
3
3
|
export declare const radioState: radioStateType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const radioConfig:
|
|
3
|
-
declare function Radio(props:
|
|
1
|
+
import type { RadioConfig, RadioProps } from './Radio.interface';
|
|
2
|
+
declare const radioConfig: RadioConfig;
|
|
3
|
+
declare function Radio(props: RadioProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Radio, radioConfig };
|
|
@@ -1,50 +1,49 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export interface iRadioThemeColor {
|
|
2
|
+
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderWidthProps, FillProps, ItemColorProps, ShapeProps, TextColorProps, TextSizeProps, TextWeightProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface RadioThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
descTextColor?:
|
|
8
|
-
descTextSize?:
|
|
9
|
-
descTextWeight?:
|
|
10
|
-
fill?:
|
|
11
|
-
labelTextColor?:
|
|
12
|
-
labelTextSize?:
|
|
13
|
-
labelTextWeight?:
|
|
14
|
-
shape?:
|
|
15
|
-
stateBorderColor?:
|
|
16
|
-
stateBorderColorChecked?:
|
|
17
|
-
stateBorderColorDisabled?:
|
|
18
|
-
stateBorderColorDisabledChecked?:
|
|
19
|
-
stateBorderColorHover?:
|
|
20
|
-
stateBorderColorHoverChecked?:
|
|
21
|
-
stateBorderWidth?:
|
|
22
|
-
stateCheckmarkFill?:
|
|
23
|
-
stateCheckmarkFillDisabled?:
|
|
24
|
-
stateFill?:
|
|
25
|
-
stateFillChecked?:
|
|
26
|
-
stateFillDisabled?:
|
|
27
|
-
stateFillDisabledChecked?:
|
|
28
|
-
stateShape?:
|
|
6
|
+
descTextColor?: TextColorProps;
|
|
7
|
+
descTextSize?: TextSizeProps;
|
|
8
|
+
descTextWeight?: TextWeightProps;
|
|
9
|
+
fill?: FillProps;
|
|
10
|
+
labelTextColor?: TextColorProps;
|
|
11
|
+
labelTextSize?: TextSizeProps;
|
|
12
|
+
labelTextWeight?: TextWeightProps;
|
|
13
|
+
shape?: ShapeProps;
|
|
14
|
+
stateBorderColor?: BorderColorProps;
|
|
15
|
+
stateBorderColorChecked?: BorderColorProps;
|
|
16
|
+
stateBorderColorDisabled?: BorderColorProps;
|
|
17
|
+
stateBorderColorDisabledChecked?: BorderColorProps;
|
|
18
|
+
stateBorderColorHover?: BorderColorHoverProps;
|
|
19
|
+
stateBorderColorHoverChecked?: BorderColorHoverProps;
|
|
20
|
+
stateBorderWidth?: BorderWidthProps;
|
|
21
|
+
stateCheckmarkFill?: ItemColorProps;
|
|
22
|
+
stateCheckmarkFillDisabled?: ItemColorProps;
|
|
23
|
+
stateFill?: FillProps;
|
|
24
|
+
stateFillChecked?: FillProps;
|
|
25
|
+
stateFillDisabled?: FillProps;
|
|
26
|
+
stateFillDisabledChecked?: FillProps;
|
|
27
|
+
stateShape?: ShapeProps;
|
|
29
28
|
}
|
|
30
|
-
type
|
|
31
|
-
export type
|
|
32
|
-
[key in
|
|
29
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
30
|
+
export type RadioStateType = {
|
|
31
|
+
[key in AppearanceKeys]?: RadioThemeColor;
|
|
33
32
|
};
|
|
34
33
|
export type radioAppearanceType = {
|
|
35
|
-
[key in
|
|
34
|
+
[key in AppearanceKeys]?: RadioThemeColor;
|
|
36
35
|
};
|
|
37
|
-
export interface
|
|
36
|
+
export interface RadioConfig {
|
|
38
37
|
[key: number | string | symbol]: any;
|
|
39
38
|
appearance: radioAppearanceType | undefined;
|
|
40
|
-
state:
|
|
39
|
+
state: RadioStateType | undefined;
|
|
41
40
|
setAppearance: (newComponent: radioAppearanceType) => void;
|
|
42
|
-
setState: (newComponent:
|
|
41
|
+
setState: (newComponent: RadioStateType) => void;
|
|
43
42
|
}
|
|
44
|
-
export interface
|
|
43
|
+
export interface RadioProps extends RadioThemeColor, StyleAttributes {
|
|
45
44
|
id?: number | string;
|
|
46
45
|
[key: number | string | symbol]: any;
|
|
47
|
-
appearance?:
|
|
46
|
+
appearance?: AppearanceKeys;
|
|
48
47
|
checked?: boolean;
|
|
49
48
|
className?: string;
|
|
50
49
|
desc?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function RangeSlider(props:
|
|
1
|
+
import type { RangeSliderProps } from './RangeSlider.interface';
|
|
2
|
+
declare function RangeSlider(props: RangeSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { RangeSlider };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
2
|
+
import { FillProps, ItemColorProps, ShapeProps, WidthProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface RangeSliderProps extends StyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
after?: ReactNode;
|
|
7
7
|
before?: ReactNode;
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
className?: string;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
-
fill?:
|
|
12
|
-
fillHandle?:
|
|
13
|
-
fillHandleDragging?:
|
|
14
|
-
fillHandleDraggingHover?:
|
|
15
|
-
fillHandleHover?:
|
|
16
|
-
fillRail?:
|
|
17
|
-
fillTrack?:
|
|
11
|
+
fill?: FillProps;
|
|
12
|
+
fillHandle?: ItemColorProps;
|
|
13
|
+
fillHandleDragging?: ItemColorProps;
|
|
14
|
+
fillHandleDraggingHover?: ItemColorProps;
|
|
15
|
+
fillHandleHover?: ItemColorProps;
|
|
16
|
+
fillRail?: FillProps;
|
|
17
|
+
fillTrack?: FillProps;
|
|
18
18
|
max?: number;
|
|
19
19
|
min?: number;
|
|
20
20
|
pushable?: boolean;
|
|
21
21
|
range?: boolean;
|
|
22
|
-
shape?:
|
|
22
|
+
shape?: ShapeProps;
|
|
23
23
|
style?: CSSProperties;
|
|
24
24
|
value?: number;
|
|
25
25
|
vertical?: boolean;
|
|
26
|
-
width?:
|
|
26
|
+
width?: WidthProps;
|
|
27
27
|
onChangeSlider?: () => void;
|
|
28
28
|
set?: string;
|
|
29
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const responseConfig:
|
|
3
|
-
declare function Response(props:
|
|
1
|
+
import type { ResponseConfig, ResponseProps } from './Response.interface';
|
|
2
|
+
declare const responseConfig: ResponseConfig;
|
|
3
|
+
declare function Response(props: ResponseProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Response, responseConfig };
|
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export interface iResponseAppearance {
|
|
2
|
+
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, FillHoverProps, FillProps, ShapeProps, SizeProps, TextColorProps, TextSizeProps, TextWeightProps, TitleSizeProps, WidthProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface ResponseAppearance {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
borderColor?:
|
|
8
|
-
borderColorHover?:
|
|
9
|
-
borderType?:
|
|
10
|
-
borderWidth?:
|
|
11
|
-
descTextColor?:
|
|
12
|
-
descTextSize?:
|
|
13
|
-
descTextWeight?:
|
|
14
|
-
fill?:
|
|
15
|
-
fillHover?:
|
|
6
|
+
borderColor?: BorderColorProps;
|
|
7
|
+
borderColorHover?: BorderColorHoverProps;
|
|
8
|
+
borderType?: BorderTypeProps;
|
|
9
|
+
borderWidth?: BorderWidthProps;
|
|
10
|
+
descTextColor?: TextColorProps;
|
|
11
|
+
descTextSize?: TextSizeProps;
|
|
12
|
+
descTextWeight?: TextWeightProps;
|
|
13
|
+
fill?: FillProps;
|
|
14
|
+
fillHover?: FillHoverProps;
|
|
16
15
|
imageSrc?: string;
|
|
17
|
-
primaryButtonAppearance?:
|
|
18
|
-
primaryButtonFill?:
|
|
19
|
-
primaryButtonFillHover?:
|
|
16
|
+
primaryButtonAppearance?: AppearanceKeys;
|
|
17
|
+
primaryButtonFill?: FillProps;
|
|
18
|
+
primaryButtonFillHover?: FillHoverProps;
|
|
20
19
|
primaryButtonLabel?: string;
|
|
21
|
-
primaryButtonLabelTextColor?:
|
|
22
|
-
primaryButtonLabelTextSize?:
|
|
23
|
-
primaryButtonShape?:
|
|
24
|
-
primaryButtonSize?:
|
|
25
|
-
primaryButtonWidth?:
|
|
26
|
-
secondaryButtonAppearance?:
|
|
27
|
-
secondaryButtonFill?:
|
|
28
|
-
secondaryButtonFillHover?:
|
|
20
|
+
primaryButtonLabelTextColor?: TextColorProps;
|
|
21
|
+
primaryButtonLabelTextSize?: TextSizeProps;
|
|
22
|
+
primaryButtonShape?: ShapeProps;
|
|
23
|
+
primaryButtonSize?: SizeProps;
|
|
24
|
+
primaryButtonWidth?: WidthProps;
|
|
25
|
+
secondaryButtonAppearance?: AppearanceKeys;
|
|
26
|
+
secondaryButtonFill?: FillProps;
|
|
27
|
+
secondaryButtonFillHover?: FillHoverProps;
|
|
29
28
|
secondaryButtonLabel?: string;
|
|
30
|
-
secondaryButtonLabelTextColor?:
|
|
31
|
-
secondaryButtonLabelTextSize?:
|
|
32
|
-
secondaryButtonShape?:
|
|
33
|
-
secondaryButtonSize?:
|
|
34
|
-
secondaryButtonWidth?:
|
|
35
|
-
shape?:
|
|
36
|
-
titleTextColor?:
|
|
37
|
-
titleTextSize?:
|
|
38
|
-
titleTextWeight?:
|
|
29
|
+
secondaryButtonLabelTextColor?: TextColorProps;
|
|
30
|
+
secondaryButtonLabelTextSize?: TextSizeProps;
|
|
31
|
+
secondaryButtonShape?: ShapeProps;
|
|
32
|
+
secondaryButtonSize?: SizeProps;
|
|
33
|
+
secondaryButtonWidth?: WidthProps;
|
|
34
|
+
shape?: ShapeProps;
|
|
35
|
+
titleTextColor?: TextColorProps;
|
|
36
|
+
titleTextSize?: TitleSizeProps;
|
|
37
|
+
titleTextWeight?: TextWeightProps;
|
|
39
38
|
}
|
|
40
|
-
type
|
|
41
|
-
export type
|
|
42
|
-
[key in
|
|
39
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
40
|
+
export type ResponseAppearanceType = {
|
|
41
|
+
[key in AppearanceKeys]?: ResponseAppearance;
|
|
43
42
|
};
|
|
44
|
-
export interface
|
|
43
|
+
export interface ResponseConfig {
|
|
45
44
|
[key: number | string | symbol]: any;
|
|
46
|
-
appearance:
|
|
47
|
-
setAppearance: (appearanceConfig:
|
|
45
|
+
appearance: ResponseAppearanceType | undefined;
|
|
46
|
+
setAppearance: (appearanceConfig: ResponseAppearanceType) => void;
|
|
48
47
|
}
|
|
49
|
-
export interface
|
|
48
|
+
export interface ResponseProps extends ResponseAppearance, StyleAttributes {
|
|
50
49
|
[key: number | string | symbol]: any;
|
|
51
50
|
after?: ReactNode;
|
|
52
51
|
/** appearance description */
|
|
53
|
-
appearance?:
|
|
52
|
+
appearance?: AppearanceKeys;
|
|
54
53
|
before?: ReactNode;
|
|
55
54
|
className?: string;
|
|
56
55
|
/** desc description */
|
|
57
56
|
desc?: string;
|
|
58
|
-
descTextWeight?:
|
|
57
|
+
descTextWeight?: TextWeightProps;
|
|
59
58
|
primaryButton?: boolean;
|
|
60
59
|
primaryButtonAfter?: ReactNode;
|
|
61
60
|
primaryButtonBefore?: ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function SVGContent(props:
|
|
1
|
+
import type { SVGContentProps } from './SVGContent.interface';
|
|
2
|
+
declare function SVGContent(props: SVGContentProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { SVGContent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
2
|
+
import { SvgFillProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface SVGContentProps extends StyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
className?: string;
|
|
8
8
|
src?: string;
|
|
9
|
-
svgFill?:
|
|
10
|
-
svgFillHover?:
|
|
9
|
+
svgFill?: SvgFillProps;
|
|
10
|
+
svgFillHover?: SvgFillProps;
|
|
11
11
|
SvgImage?: any;
|
|
12
12
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function ScrollOnDrag(props:
|
|
1
|
+
import type { ScrollOnDragProps } from './ScrollOnDrag.interface';
|
|
2
|
+
declare function ScrollOnDrag(props: ScrollOnDragProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { ScrollOnDrag };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export interface
|
|
3
|
+
import { BorderColorProps, BorderTypeProps, BorderWidthProps, ElevationProps, FillHoverProps, FillProps, HeightProps, WidthProps } from '@itcase/types';
|
|
4
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
5
|
+
export interface ScrollOnDragProps extends StyleAttributes {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
|
-
borderColor?:
|
|
8
|
-
borderType?:
|
|
9
|
-
borderWidth?:
|
|
7
|
+
borderColor?: BorderColorProps;
|
|
8
|
+
borderType?: BorderTypeProps;
|
|
9
|
+
borderWidth?: BorderWidthProps;
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
className?: string;
|
|
12
|
-
elevation?:
|
|
13
|
-
fill?:
|
|
14
|
-
fillHover?:
|
|
15
|
-
height?:
|
|
12
|
+
elevation?: ElevationProps;
|
|
13
|
+
fill?: FillProps;
|
|
14
|
+
fillHover?: FillHoverProps;
|
|
15
|
+
height?: HeightProps;
|
|
16
16
|
scrollContainerProps?: typeof ScrollContainer;
|
|
17
17
|
style?: CSSProperties;
|
|
18
|
-
width?:
|
|
18
|
+
width?: WidthProps;
|
|
19
19
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function Scrollbar(props:
|
|
1
|
+
import type { ScrollbarProps } from './Scrollbar.interface';
|
|
2
|
+
declare function Scrollbar(props: ScrollbarProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Scrollbar };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
3
|
+
export interface ScrollbarProps extends StyleAttributes {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
noDefaultStyles?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const searchAppearance:
|
|
1
|
+
import { SearchAppearanceType } from './Search.interface';
|
|
2
|
+
export declare const searchAppearance: SearchAppearanceType;
|
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export interface iSearchThemeColor {
|
|
2
|
+
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, FillProps, IconSizeProps, ItemColorProps, ShapeProps, TextColorProps, TextSizeProps, TextStyleProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface SearchThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
borderColor?:
|
|
8
|
-
borderHover?:
|
|
9
|
-
borderType?:
|
|
10
|
-
borderWidth?:
|
|
11
|
-
fill?:
|
|
6
|
+
borderColor?: BorderColorProps;
|
|
7
|
+
borderHover?: BorderColorHoverProps;
|
|
8
|
+
borderType?: BorderTypeProps;
|
|
9
|
+
borderWidth?: BorderWidthProps;
|
|
10
|
+
fill?: FillProps;
|
|
12
11
|
iconAfter?: string;
|
|
13
|
-
iconAfterFill?:
|
|
14
|
-
iconAfterSize?:
|
|
12
|
+
iconAfterFill?: ItemColorProps;
|
|
13
|
+
iconAfterSize?: IconSizeProps;
|
|
15
14
|
iconAfterSrc?: string;
|
|
16
15
|
iconBefore?: string;
|
|
17
|
-
iconBeforeFill?:
|
|
18
|
-
iconBeforeSize?:
|
|
16
|
+
iconBeforeFill?: ItemColorProps;
|
|
17
|
+
iconBeforeSize?: IconSizeProps;
|
|
19
18
|
iconBeforeSrc?: string;
|
|
20
19
|
iconClear?: string;
|
|
21
|
-
iconClearFill?:
|
|
22
|
-
iconClearSize?:
|
|
20
|
+
iconClearFill?: ItemColorProps;
|
|
21
|
+
iconClearSize?: IconSizeProps;
|
|
23
22
|
iconClearSrc?: string;
|
|
24
|
-
inputFill?:
|
|
25
|
-
inputShape?:
|
|
26
|
-
inputTextColor?:
|
|
27
|
-
inputTextSize?:
|
|
28
|
-
inputTextStyle?:
|
|
29
|
-
inputTextWeight?:
|
|
30
|
-
placeholderTextColor?:
|
|
31
|
-
placeholderTextSize?:
|
|
32
|
-
placeholderTextStyle?:
|
|
33
|
-
placeholderTextWeight?:
|
|
34
|
-
shape?:
|
|
23
|
+
inputFill?: FillProps;
|
|
24
|
+
inputShape?: ShapeProps;
|
|
25
|
+
inputTextColor?: TextColorProps;
|
|
26
|
+
inputTextSize?: TextSizeProps;
|
|
27
|
+
inputTextStyle?: TextStyleProps;
|
|
28
|
+
inputTextWeight?: TextWeightProps;
|
|
29
|
+
placeholderTextColor?: TextColorProps;
|
|
30
|
+
placeholderTextSize?: TextSizeProps;
|
|
31
|
+
placeholderTextStyle?: TextStyleProps;
|
|
32
|
+
placeholderTextWeight?: TextWeightProps;
|
|
33
|
+
shape?: ShapeProps;
|
|
35
34
|
size?: 'compact' | 'l' | 'normal' | 's';
|
|
36
|
-
width?:
|
|
35
|
+
width?: WidthProps;
|
|
37
36
|
}
|
|
38
|
-
type
|
|
39
|
-
export type
|
|
40
|
-
[key in
|
|
37
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
38
|
+
export type SearchAppearanceType = {
|
|
39
|
+
[key in AppearanceKeys]?: SearchThemeColor;
|
|
41
40
|
};
|
|
42
|
-
export interface
|
|
41
|
+
export interface SearchConfig {
|
|
43
42
|
[key: number | string | symbol]: any;
|
|
44
|
-
appearance:
|
|
45
|
-
setAppearance: (newComponent:
|
|
43
|
+
appearance: SearchAppearanceType | undefined;
|
|
44
|
+
setAppearance: (newComponent: SearchAppearanceType) => void;
|
|
46
45
|
}
|
|
47
|
-
export interface
|
|
46
|
+
export interface SearchProps extends SearchThemeColor, StyleAttributes {
|
|
48
47
|
[key: number | string | symbol]: any;
|
|
49
48
|
after?: ReactNode;
|
|
50
|
-
appearance?:
|
|
49
|
+
appearance?: AppearanceKeys;
|
|
51
50
|
before?: ReactNode;
|
|
52
51
|
className?: string;
|
|
53
52
|
dataTour?: string;
|
|
@@ -60,13 +59,13 @@ export interface iSearchProps extends iSearchThemeColor, iStyleAttributes {
|
|
|
60
59
|
onFocus?: (() => void) | undefined;
|
|
61
60
|
onKeyDown?: (() => void) | undefined;
|
|
62
61
|
}
|
|
63
|
-
export interface
|
|
62
|
+
export interface SearchResultProps extends StyleAttributes {
|
|
64
63
|
[key: number | string | symbol]: any;
|
|
65
64
|
after?: ReactNode;
|
|
66
65
|
before?: ReactNode;
|
|
67
66
|
children?: ReactNode;
|
|
68
67
|
className?: string;
|
|
69
|
-
fill?:
|
|
68
|
+
fill?: FillProps;
|
|
70
69
|
scrollHeight: number | string;
|
|
71
70
|
type?: string;
|
|
72
71
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
declare const searchInputConfig:
|
|
4
|
-
declare const SearchInput: React.ForwardRefExoticComponent<Omit<
|
|
2
|
+
import type { SearchConfig, SearchProps } from './Search.interface';
|
|
3
|
+
declare const searchInputConfig: SearchConfig;
|
|
4
|
+
declare const SearchInput: React.ForwardRefExoticComponent<Omit<SearchProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
export { SearchInput, searchInputConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const segmentedAppearance:
|
|
1
|
+
import { SegmentedAppearanceType } from './Segmented.interface';
|
|
2
|
+
export declare const segmentedAppearance: SegmentedAppearanceType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
declare const segmentedConfig:
|
|
4
|
-
declare const Segmented: React.ForwardRefExoticComponent<Omit<
|
|
2
|
+
import type { SegmentedConfig, SegmentedProps } from './Segmented.interface';
|
|
3
|
+
declare const segmentedConfig: SegmentedConfig;
|
|
4
|
+
declare const Segmented: React.ForwardRefExoticComponent<Omit<SegmentedProps, "ref"> & React.RefAttributes<unknown>>;
|
|
5
5
|
export { Segmented, segmentedConfig };
|