@itcase/ui 1.4.13 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Badge-DnWTbwXq.js → Badge-JXM0G_0I.js} +28 -28
- package/dist/{Badge-BxT2_kz_.js → Badge-ydSHGXSG.js} +29 -29
- package/dist/{Button-BiJZz4Bx.js → Button-BmSyIDb_.js} +14 -14
- package/dist/{Button-xYLCmT3D.js → Button-DCtRrkgc.js} +15 -15
- package/dist/{Divider-ImOOytuN.js → Divider-D8hUUrwe.js} +1 -1
- package/dist/{Divider-BQcBkzt1.js → Divider-DhXzYcNF.js} +2 -2
- package/dist/DropdownItem-C8CumsgX.js +117 -0
- package/dist/DropdownItem-CBJeJPbP.js +122 -0
- package/dist/{Group-qq4Iisll.js → Group-BVlu5z77.js} +7 -3
- package/dist/{Group-BICb8bYQ.js → Group-OkygpKiJ.js} +7 -3
- package/dist/Icon-BOEOspTF.js +63 -0
- package/dist/{Icon-BcBOnVKH.js → Icon-DU2T-nfY.js} +9 -7
- package/dist/Image-CSzHhlA1.js +17 -0
- package/dist/Image-DuIBtUq5.js +19 -0
- package/dist/{Input-DHJIVk1z.js → Input-ChiH90mV.js} +33 -30
- package/dist/{Input-DiFnIFT7.js → Input-e0kLrbs6.js} +33 -30
- package/dist/{Label-D-LcvthP.js → Label-CP8IAPOM.js} +5 -5
- package/dist/{Label-y2hx5Q81.js → Label-CfE08vBy.js} +6 -6
- package/dist/{Link-BnqN6ysn.js → Link-UmzWKcxT.js} +18 -11
- package/dist/{Link-DaKqf1pb.js → Link-aBsZ1d0Q.js} +19 -13
- package/dist/{Loader-VK3q7PBN.js → Loader-CRN4MAbm.js} +2 -2
- package/dist/{Loader-DdKHrLnw.js → Loader-rzo8nnRI.js} +1 -1
- package/dist/{Overlay-CZixnXZ6.js → Overlay-CRIofShk.js} +6 -3
- package/dist/{Overlay-Myen2mqz.js → Overlay-CZFSerUl.js} +6 -3
- package/dist/{Scrollbar-Bo7z7ELm.js → Scrollbar-CThJeCLF.js} +4 -4
- package/dist/{Scrollbar-CKbA0jQU.js → Scrollbar-DcKOfcNp.js} +4 -4
- package/dist/{Text-C49zj3jO.js → Text-CEcBg-F5.js} +6 -3
- package/dist/{Text-C6NSmetx.js → Text-CI2prtf6.js} +6 -3
- package/dist/{Title-BLGDdlnX.js → Title-C4xUtigh.js} +12 -2
- package/dist/{Title-Byi9vhDt.js → Title-CaXw1KBQ.js} +13 -3
- package/dist/{Tooltip-5lQyt5-Y.js → Tooltip-EOu0a93a.js} +9 -9
- package/dist/{Tooltip-DRta8lK_.js → Tooltip-Lhx-Fefx.js} +8 -8
- package/dist/cjs/components/Accordion.js +17 -9
- package/dist/cjs/components/Avatar.js +9 -6
- package/dist/cjs/components/Badge.js +9 -6
- package/dist/cjs/components/Breadcrumbs.js +11 -8
- package/dist/cjs/components/Button.js +10 -7
- package/dist/cjs/components/Cell.js +18 -13
- package/dist/cjs/components/Checkbox.js +8 -5
- package/dist/cjs/components/Checkmark.js +5 -3
- package/dist/cjs/components/Chips.js +35 -17
- package/dist/cjs/components/Choice.js +23 -17
- package/dist/cjs/components/Code.js +9 -4
- package/dist/cjs/components/CookiesWarning.js +13 -10
- package/dist/cjs/components/DadataHintField.js +9 -4
- package/dist/cjs/components/DatePicker.js +24 -42
- package/dist/cjs/components/Divider.js +4 -1
- package/dist/cjs/components/Dot.js +3 -0
- package/dist/cjs/components/Drawer.js +3 -3
- package/dist/cjs/components/Dropdown.js +6 -4
- package/dist/cjs/components/Flex.js +7 -4
- package/dist/cjs/components/Grid.js +12 -9
- package/dist/cjs/components/Group.js +5 -2
- package/dist/cjs/components/HTMLContent.js +5 -2
- package/dist/cjs/components/HeroTitle.js +12 -6
- package/dist/cjs/components/Icon.js +8 -5
- package/dist/cjs/components/Image.js +4 -1
- package/dist/cjs/components/Input.js +5 -2
- package/dist/cjs/components/InputMask.js +11 -6
- package/dist/cjs/components/InputPassword.js +34 -28
- package/dist/cjs/components/Label.js +7 -4
- package/dist/cjs/components/Link.js +6 -5
- package/dist/cjs/components/List.js +6 -3
- package/dist/cjs/components/Loader.js +5 -2
- package/dist/cjs/components/Logo.js +7 -4
- package/dist/cjs/components/MenuItem.js +15 -13
- package/dist/cjs/components/Modal.js +11 -8
- package/dist/cjs/components/ModalSheetBottom.js +5 -2
- package/dist/cjs/components/Notification.js +15 -14
- package/dist/cjs/components/Overlay.js +5 -2
- package/dist/cjs/components/Pagination.js +54 -33
- package/dist/cjs/components/Panel.js +13 -8
- package/dist/cjs/components/Radio.js +15 -11
- package/dist/cjs/components/RangeSlider.js +8 -3
- package/dist/cjs/components/Response.js +15 -12
- package/dist/cjs/components/SVGContent.js +3 -0
- package/dist/cjs/components/ScrollOnDrag.js +4 -1
- package/dist/cjs/components/ScrollToView.js +7 -2
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +20 -15
- package/dist/cjs/components/Segmented.js +20 -20
- package/dist/cjs/components/Select.js +28 -21
- package/dist/cjs/components/Swiper.js +7 -4
- package/dist/cjs/components/Switch.js +25 -6
- package/dist/cjs/components/Tab.js +14 -11
- package/dist/cjs/components/Text.js +5 -2
- package/dist/cjs/components/Textarea.js +26 -20
- package/dist/cjs/components/Tile.js +12 -10
- package/dist/cjs/components/Title.js +4 -1
- package/dist/cjs/components/Tooltip.js +6 -3
- package/dist/cjs/components/Video.js +4 -1
- package/dist/cjs/context/Notifications.js +2 -2
- package/dist/cjs/context/UIContext.js +2 -2
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +3 -0
- package/dist/cjs/hooks/useDevicePropsGenerator.js +4 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +3 -0
- package/dist/cjs/hooks/useStyles.js +4 -1
- package/dist/cjs/hooks/useViewportFix.js +1 -1
- package/dist/components/Accordion.js +18 -10
- package/dist/components/Avatar.js +10 -7
- package/dist/components/Badge.js +10 -7
- package/dist/components/Breadcrumbs.js +12 -9
- package/dist/components/Button.js +11 -8
- package/dist/components/Cell.js +18 -13
- package/dist/components/Checkbox.js +9 -6
- package/dist/components/Checkmark.js +6 -4
- package/dist/components/Chips.js +36 -18
- package/dist/components/Choice.js +23 -17
- package/dist/components/Code.js +10 -5
- package/dist/components/CookiesWarning.js +14 -11
- package/dist/components/DadataHintField.js +10 -5
- package/dist/components/DatePicker.js +25 -43
- package/dist/components/Divider.js +5 -2
- package/dist/components/Dot.js +4 -1
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Dropdown.js +7 -5
- package/dist/components/Flex.js +8 -5
- package/dist/components/Grid.js +13 -10
- package/dist/components/Group.js +5 -2
- package/dist/components/HTMLContent.js +6 -3
- package/dist/components/HeroTitle.js +12 -6
- package/dist/components/Icon.js +9 -6
- package/dist/components/Image.js +5 -2
- package/dist/components/Input.js +5 -2
- package/dist/components/InputMask.js +11 -6
- package/dist/components/InputPassword.js +34 -28
- package/dist/components/Label.js +8 -5
- package/dist/components/Link.js +5 -8
- package/dist/components/List.js +7 -4
- package/dist/components/Loader.js +6 -3
- package/dist/components/Logo.js +8 -5
- package/dist/components/MenuItem.js +15 -13
- package/dist/components/Modal.js +12 -9
- package/dist/components/ModalSheetBottom.js +6 -3
- package/dist/components/Notification.js +16 -15
- package/dist/components/Overlay.js +5 -2
- package/dist/components/Pagination.js +54 -33
- package/dist/components/Panel.js +13 -8
- package/dist/components/Radio.js +15 -11
- package/dist/components/RangeSlider.js +9 -4
- package/dist/components/Response.js +16 -13
- package/dist/components/SVGContent.js +4 -1
- package/dist/components/ScrollOnDrag.js +5 -2
- package/dist/components/ScrollToView.js +8 -3
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +20 -15
- package/dist/components/Segmented.js +20 -20
- package/dist/components/Select.js +29 -22
- package/dist/components/Swiper.js +8 -5
- package/dist/components/Switch.js +25 -6
- package/dist/components/Tab.js +15 -12
- package/dist/components/Text.js +5 -2
- package/dist/components/Textarea.js +26 -20
- package/dist/components/Tile.js +13 -11
- package/dist/components/Title.js +5 -2
- package/dist/components/Tooltip.js +7 -4
- package/dist/components/Video.js +4 -1
- package/dist/context/Notifications.js +3 -3
- package/dist/context/UIContext.js +3 -3
- package/dist/css/components/Accordion/Accordion.css +7 -5
- package/dist/css/components/Avatar/Avatar.css +5 -5
- package/dist/css/components/Checkbox/Checkbox.css +1 -1
- package/dist/css/components/Checkmark/Checkmark.css +24 -1
- package/dist/css/components/Chips/Chips.css +2 -2
- package/dist/css/components/Choice/Choice.css +3 -3
- package/dist/css/components/Code/Code.css +26 -2
- package/dist/css/components/DatePicker/DatePicker.css +23 -33
- package/dist/css/components/Divider/Divider.css +3 -3
- package/dist/css/components/Dot/Dot.css +6 -6
- package/dist/css/components/Drawer/Drawer.css +4 -1
- package/dist/css/components/Dropdown/Dropdown.css +13 -13
- package/dist/css/components/Icon/Icon.css +5 -1
- package/dist/css/components/Image/Image.css +6 -3
- package/dist/css/components/Input/Input.css +21 -35
- package/dist/css/components/InputMask/Input.css +6 -6
- package/dist/css/components/InputPassword/InputPassword.css +2 -2
- package/dist/css/components/Label/Label.css +3 -3
- package/dist/css/components/List/List.css +8 -7
- package/dist/css/components/Loader/Loader.css +0 -2
- package/dist/css/components/Logo/Logo.css +1 -1
- package/dist/css/components/MenuItem/MenuItem.css +24 -6
- package/dist/css/components/Modal/Modal.css +2 -2
- package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +1 -1
- package/dist/css/components/Notification/Notification.css +22 -10
- package/dist/css/components/Notification/css/__item/notification__item_set_float.css +2 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_form.css +5 -5
- package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +2 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_top.css +1 -1
- package/dist/css/components/Overlay/Overlay.css +5 -1
- package/dist/css/components/Pagination/Pagination.css +16 -8
- package/dist/css/components/Pagination/css/__item/pagination__item.css +7 -4
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +4 -1
- package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +1 -1
- package/dist/css/components/Radio/Radio.css +9 -4
- package/dist/css/components/RangeSlider/RangeSlider.css +14 -8
- package/dist/css/components/ScrollToView/ScrollToView.css +2 -2
- package/dist/css/components/Search/Search.css +16 -8
- package/dist/css/components/Search/css/search-input/search-input_shape.css +1 -1
- package/dist/css/components/Search/css/search-input/search-input_size.css +1 -1
- package/dist/css/components/Segmented/Segmented.css +10 -7
- package/dist/css/components/Select/Select.css +10 -10
- package/dist/css/components/Select/css/__control/select__control_shape.css +1 -1
- package/dist/css/components/Select/css/__input-container/select__input-container.css +3 -3
- package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +2 -2
- package/dist/css/components/Select/css/__menu/select__menu.css +2 -2
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +2 -2
- package/dist/css/components/Switch/Switch.css +19 -1
- package/dist/css/components/Tab/Tab.css +2 -2
- package/dist/css/components/Text/Text.css +1 -1
- package/dist/css/components/Textarea/Textarea.css +2 -2
- package/dist/css/components/Tile/Tile.css +16 -7
- package/dist/css/components/Tooltip/Tooltip.css +16 -2
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +4 -1
- package/dist/hooks/useDevicePropsGenerator.js +5 -2
- package/dist/hooks/useDeviceTargetClass.js +1 -1
- package/dist/hooks/useStyles/useStyles.js +4 -1
- package/dist/hooks/useStyles.js +5 -2
- package/dist/hooks/useViewportFix.js +1 -1
- package/dist/{tslib.es6-5FtW-kfi.js → tslib.es6-Bwu1Cn-t.js} +1 -1
- package/dist/types/components/Accordion/Accordion.appearance.d.ts +3 -3
- package/dist/types/components/Accordion/Accordion.d.ts +3 -3
- package/dist/types/components/Accordion/Accordion.interface.d.ts +60 -61
- package/dist/types/components/Accordion/AccordionItem.d.ts +3 -3
- package/dist/types/components/Avatar/Avatar.appearance.d.ts +2 -2
- package/dist/types/components/Avatar/Avatar.d.ts +3 -3
- package/dist/types/components/Avatar/Avatar.interface.d.ts +24 -25
- package/dist/types/components/Badge/Badge.appearance.d.ts +2 -2
- package/dist/types/components/Badge/Badge.d.ts +3 -3
- package/dist/types/components/Badge/Badge.interface.d.ts +21 -22
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +3 -3
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeError.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +2 -2
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeSize.d.ts +7 -7
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeSurface.d.ts +7 -7
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +1 -1
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +49 -49
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +2 -2
- package/dist/types/components/Button/Button.appearance.d.ts +2 -2
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/Button/Button.interface.d.ts +44 -45
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +10 -10
- package/dist/types/components/Cell/Cell.appearance.d.ts +2 -2
- package/dist/types/components/Cell/Cell.d.ts +3 -3
- package/dist/types/components/Cell/Cell.interface.d.ts +40 -41
- package/dist/types/components/Checkbox/Checkbox.appearance.d.ts +3 -3
- package/dist/types/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +36 -37
- package/dist/types/components/Checkmark/Checkmark.appearance.d.ts +2 -2
- package/dist/types/components/Checkmark/Checkmark.d.ts +3 -3
- package/dist/types/components/Checkmark/Checkmark.interface.d.ts +15 -17
- package/dist/types/components/Chips/Chips.appearance.d.ts +2 -2
- package/dist/types/components/Chips/Chips.d.ts +3 -3
- package/dist/types/components/Chips/Chips.interface.d.ts +30 -31
- package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +4 -0
- package/dist/types/components/Choice/Choice.appearance.d.ts +2 -2
- package/dist/types/components/Choice/Choice.d.ts +3 -3
- package/dist/types/components/Choice/Choice.interface.d.ts +35 -36
- package/dist/types/components/Code/Code.appearance.d.ts +2 -2
- package/dist/types/components/Code/Code.d.ts +3 -3
- package/dist/types/components/Code/Code.interface.d.ts +31 -32
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +2 -2
- package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +10 -10
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +2 -2
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +2 -2
- package/dist/types/components/DatePicker/DatePicker.d.ts +3 -3
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +71 -72
- package/dist/types/components/Divider/Divider.d.ts +3 -3
- package/dist/types/components/Divider/Divider.interface.d.ts +29 -30
- package/dist/types/components/Dot/Dot.d.ts +2 -2
- package/dist/types/components/Dot/Dot.interface.d.ts +21 -21
- package/dist/types/components/Drawer/Drawer.appearance.d.ts +2 -2
- package/dist/types/components/Drawer/Drawer.d.ts +3 -3
- package/dist/types/components/Drawer/Drawer.interface.d.ts +12 -12
- package/dist/types/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +51 -53
- package/dist/types/components/Dropdown/DropdownItem.appearance.d.ts +2 -2
- package/dist/types/components/Dropdown/DropdownItem.d.ts +3 -3
- package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +25 -0
- package/dist/types/components/Flex/Flex.d.ts +2 -2
- package/dist/types/components/Flex/Flex.interface.d.ts +83 -83
- package/dist/types/components/Flex/FlexItem.d.ts +2 -2
- package/dist/types/components/Grid/Grid.d.ts +2 -2
- package/dist/types/components/Grid/Grid.interface.d.ts +47 -47
- package/dist/types/components/Grid/GridItem.d.ts +2 -2
- package/dist/types/components/Grid/GridRow.d.ts +2 -2
- package/dist/types/components/Group/Group.appearance.d.ts +2 -2
- package/dist/types/components/Group/Group.d.ts +3 -3
- package/dist/types/components/Group/Group.interface.d.ts +28 -29
- package/dist/types/components/HTMLContent/HTMLContent.d.ts +2 -2
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +20 -20
- package/dist/types/components/HeroTitle/HeroTitle.appearance.d.ts +2 -2
- package/dist/types/components/HeroTitle/HeroTitle.d.ts +3 -3
- package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +27 -28
- package/dist/types/components/Icon/Icon.appearance.d.ts +2 -2
- package/dist/types/components/Icon/Icon.d.ts +3 -3
- package/dist/types/components/Icon/Icon.interface.d.ts +49 -50
- package/dist/types/components/Image/Image.d.ts +2 -2
- package/dist/types/components/Image/Image.interface.d.ts +10 -10
- package/dist/types/components/Input/Input.appearance.d.ts +3 -3
- package/dist/types/components/Input/Input.d.ts +3 -3
- package/dist/types/components/Input/Input.interface.d.ts +31 -33
- package/dist/types/components/InputMask/Input.d.ts +3 -3
- package/dist/types/components/InputMask/Input.interface.d.ts +31 -33
- package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +3 -3
- package/dist/types/components/InputPassword/InputPassword.d.ts +3 -3
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +31 -33
- package/dist/types/components/Label/Label.appearance.d.ts +2 -2
- package/dist/types/components/Label/Label.d.ts +3 -3
- package/dist/types/components/Label/Label.interface.d.ts +31 -32
- package/dist/types/components/Link/Link.appearance.d.ts +2 -2
- package/dist/types/components/Link/Link.d.ts +4 -4
- package/dist/types/components/Link/Link.interface.d.ts +32 -32
- package/dist/types/components/List/List.d.ts +2 -2
- package/dist/types/components/List/List.interface.d.ts +13 -13
- package/dist/types/components/List/ListItem.d.ts +2 -2
- package/dist/types/components/Loader/Loader.d.ts +3 -3
- package/dist/types/components/Loader/Loader.interface.d.ts +18 -19
- package/dist/types/components/Logo/Logo.d.ts +3 -3
- package/dist/types/components/Logo/Logo.interface.d.ts +16 -17
- package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +2 -2
- package/dist/types/components/MenuItem/MenuItem.d.ts +3 -10
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +41 -42
- package/dist/types/components/Modal/Modal.appearance.d.ts +2 -2
- package/dist/types/components/Modal/Modal.d.ts +2 -2
- package/dist/types/components/Modal/Modal.interface.d.ts +20 -21
- package/dist/types/components/Modal/ModalLoader.d.ts +1 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +4 -3
- package/dist/types/components/Notification/Notification.interface.d.ts +26 -27
- package/dist/types/components/Notification/NotificationItem.appearance.d.ts +2 -2
- package/dist/types/components/Notification/NotificationItem.d.ts +3 -3
- package/dist/types/components/Notification/NotificationList.d.ts +2 -2
- package/dist/types/components/Overlay/Overlay.appearance.d.ts +2 -2
- package/dist/types/components/Overlay/Overlay.d.ts +3 -3
- package/dist/types/components/Overlay/Overlay.interface.d.ts +14 -15
- package/dist/types/components/Pagination/Pagination.appearance.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts +3 -3
- package/dist/types/components/Pagination/Pagination.interface.d.ts +37 -38
- package/dist/types/components/Panel/Panel.d.ts +3 -3
- package/dist/types/components/Panel/Panel.interface.d.ts +33 -34
- package/dist/types/components/Radio/Radio.appearance.d.ts +1 -1
- package/dist/types/components/Radio/Radio.d.ts +3 -3
- package/dist/types/components/Radio/Radio.interface.d.ts +34 -35
- package/dist/types/components/RangeSlider/RangeSlider.d.ts +2 -2
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/types/components/Response/Response.d.ts +3 -3
- package/dist/types/components/Response/Response.interface.d.ts +41 -42
- package/dist/types/components/SVGContent/SVGContent.d.ts +2 -2
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +5 -5
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.d.ts +2 -2
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +11 -11
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +2 -2
- package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/types/components/Search/Search.appearance.d.ts +2 -2
- package/dist/types/components/Search/Search.interface.d.ts +36 -37
- package/dist/types/components/Search/SearchInput.d.ts +3 -3
- package/dist/types/components/Segmented/Segmented.appearance.d.ts +2 -2
- package/dist/types/components/Segmented/Segmented.d.ts +3 -3
- package/dist/types/components/Segmented/Segmented.interface.d.ts +28 -29
- package/dist/types/components/Select/Select.appearance.d.ts +2 -2
- package/dist/types/components/Select/Select.interface.d.ts +48 -49
- package/dist/types/components/Select/SelectContainer.d.ts +3 -3
- package/dist/types/components/Swiper/Swiper.d.ts +2 -2
- package/dist/types/components/Swiper/Swiper.interface.d.ts +10 -10
- package/dist/types/components/Switch/Switch.appearance.d.ts +2 -2
- package/dist/types/components/Switch/Switch.d.ts +3 -3
- package/dist/types/components/Switch/Switch.interface.d.ts +11 -11
- package/dist/types/components/Tab/Tab.appearance.d.ts +2 -2
- package/dist/types/components/Tab/Tab.d.ts +3 -3
- package/dist/types/components/Tab/Tab.interface.d.ts +55 -56
- package/dist/types/components/Tab/TabGroup.d.ts +2 -2
- package/dist/types/components/Text/Text.appearance.d.ts +2 -2
- package/dist/types/components/Text/Text.d.ts +3 -3
- package/dist/types/components/Text/Text.interface.d.ts +33 -34
- package/dist/types/components/Textarea/Textarea.appearance.d.ts +3 -3
- package/dist/types/components/Textarea/Textarea.d.ts +3 -3
- package/dist/types/components/Textarea/Textarea.interface.d.ts +27 -29
- package/dist/types/components/Tile/Tile.appearance.d.ts +2 -2
- package/dist/types/components/Tile/Tile.d.ts +3 -3
- package/dist/types/components/Tile/Tile.interface.d.ts +32 -33
- package/dist/types/components/Title/Title.appearance.d.ts +2 -2
- package/dist/types/components/Title/Title.d.ts +3 -3
- package/dist/types/components/Title/Title.interface.d.ts +27 -28
- package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +2 -2
- package/dist/types/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +26 -27
- package/dist/types/components/Video/Video.d.ts +2 -2
- package/dist/types/components/Video/Video.interface.d.ts +2 -2
- package/dist/types/context/Notifications.d.ts +4 -5
- package/dist/types/context/Notifications.interface.d.ts +14 -14
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +2 -2
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.d.ts +7 -7
- package/dist/types/hooks/useStyles/styleAttributes.interface.d.ts +80 -80
- package/package.json +7 -6
- package/dist/DropdownItem-B3E-_Cwp.js +0 -88
- package/dist/DropdownItem-Qg-_2YWD.js +0 -93
- package/dist/Icon-OJ_3E3eM.js +0 -61
- package/dist/Image-BEGwuGBM.js +0 -17
- package/dist/Image-DWfyapuD.js +0 -15
- package/dist/stories/Dev.mdx +0 -9
- package/dist/types/types/componentProps/align.d.ts +0 -2
- package/dist/types/types/componentProps/alignDirection.d.ts +0 -3
- package/dist/types/types/componentProps/alignment.d.ts +0 -3
- package/dist/types/types/componentProps/appearanceKeys.d.ts +0 -1
- package/dist/types/types/componentProps/borderColor.d.ts +0 -3
- package/dist/types/types/componentProps/borderColorHover.d.ts +0 -3
- package/dist/types/types/componentProps/borderType.d.ts +0 -3
- package/dist/types/types/componentProps/borderWidth.d.ts +0 -3
- package/dist/types/types/componentProps/direction.d.ts +0 -3
- package/dist/types/types/componentProps/elevation.d.ts +0 -3
- package/dist/types/types/componentProps/fill.d.ts +0 -3
- package/dist/types/types/componentProps/fillGradient.d.ts +0 -3
- package/dist/types/types/componentProps/fillHover.d.ts +0 -3
- package/dist/types/types/componentProps/fillType.d.ts +0 -3
- package/dist/types/types/componentProps/flexAlign.d.ts +0 -3
- package/dist/types/types/componentProps/flexGrow.d.ts +0 -3
- package/dist/types/types/componentProps/flexJustifyContent.d.ts +0 -3
- package/dist/types/types/componentProps/flexWrap.d.ts +0 -3
- package/dist/types/types/componentProps/gridAlign.d.ts +0 -3
- package/dist/types/types/componentProps/gridAlignSelf.d.ts +0 -3
- package/dist/types/types/componentProps/gridJustifyItems.d.ts +0 -3
- package/dist/types/types/componentProps/gridJustifySelf.d.ts +0 -3
- package/dist/types/types/componentProps/height.d.ts +0 -3
- package/dist/types/types/componentProps/horizontalContentAlign.d.ts +0 -3
- package/dist/types/types/componentProps/horizontalResizeMode.d.ts +0 -3
- package/dist/types/types/componentProps/iconFillSize.d.ts +0 -3
- package/dist/types/types/componentProps/iconSize.d.ts +0 -3
- package/dist/types/types/componentProps/itemColor.d.ts +0 -3
- package/dist/types/types/componentProps/justifyContent.d.ts +0 -3
- package/dist/types/types/componentProps/overflow.d.ts +0 -3
- package/dist/types/types/componentProps/position.d.ts +0 -3
- package/dist/types/types/componentProps/resizeMode.d.ts +0 -3
- package/dist/types/types/componentProps/shape.d.ts +0 -3
- package/dist/types/types/componentProps/size.d.ts +0 -3
- package/dist/types/types/componentProps/sizeOption.d.ts +0 -3
- package/dist/types/types/componentProps/sizePX.d.ts +0 -3
- package/dist/types/types/componentProps/stacking.d.ts +0 -3
- package/dist/types/types/componentProps/state.d.ts +0 -3
- package/dist/types/types/componentProps/stateKeys.d.ts +0 -1
- package/dist/types/types/componentProps/svgFill.d.ts +0 -3
- package/dist/types/types/componentProps/textAlign.d.ts +0 -3
- package/dist/types/types/componentProps/textColor.d.ts +0 -3
- package/dist/types/types/componentProps/textColorActive.d.ts +0 -3
- package/dist/types/types/componentProps/textColorHover.d.ts +0 -3
- package/dist/types/types/componentProps/textGradient.d.ts +0 -3
- package/dist/types/types/componentProps/textSize.d.ts +0 -3
- package/dist/types/types/componentProps/textStyle.d.ts +0 -3
- package/dist/types/types/componentProps/textTag.d.ts +0 -3
- package/dist/types/types/componentProps/textWeight.d.ts +0 -3
- package/dist/types/types/componentProps/textWrap.d.ts +0 -3
- package/dist/types/types/componentProps/titleSize.d.ts +0 -5
- package/dist/types/types/componentProps/type.d.ts +0 -3
- package/dist/types/types/componentProps/underline.d.ts +0 -3
- package/dist/types/types/componentProps/verticalContentAlign.d.ts +0 -3
- package/dist/types/types/componentProps/verticalResizeMode.d.ts +0 -3
- package/dist/types/types/componentProps/width.d.ts +0 -3
- package/dist/types/types/componentProps/wrap.d.ts +0 -3
- package/dist/types/types/index.d.ts +0 -55
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export { useDevicePropsGenerator } from './useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
2
|
-
import '../tslib.es6-
|
|
2
|
+
import '../tslib.es6-Bwu1Cn-t.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'lodash/camelCase';
|
|
5
5
|
import 'lodash/castArray';
|
|
6
6
|
import 'lodash/upperFirst';
|
|
7
|
-
import '../context/
|
|
7
|
+
import '../context/Notifications.js';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
|
+
import 'uuid';
|
|
10
|
+
import '@itcase/common';
|
|
11
|
+
import '../context/UIContext.js';
|
|
9
12
|
import './useMediaQueries/useMediaQueries.js';
|
|
10
13
|
import 'react-responsive';
|
|
11
14
|
import '../utils/setViewportProperty.js';
|
|
@@ -2,7 +2,7 @@ import { useMemo } from 'react';
|
|
|
2
2
|
import camelCase from 'lodash/camelCase';
|
|
3
3
|
import castArray from 'lodash/castArray';
|
|
4
4
|
import { useUserDeviceContext } from '../context/UIContext.js';
|
|
5
|
-
import '../tslib.es6-
|
|
5
|
+
import '../tslib.es6-Bwu1Cn-t.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import './useMediaQueries/useMediaQueries.js';
|
|
8
8
|
import 'react-responsive';
|
|
@@ -2,10 +2,13 @@ import { useMemo } from 'react';
|
|
|
2
2
|
import camelCase from 'lodash/camelCase';
|
|
3
3
|
import maxBy from 'lodash/maxBy';
|
|
4
4
|
import upperFirst from 'lodash/upperFirst';
|
|
5
|
+
import '../../context/Notifications.js';
|
|
5
6
|
import { useUserDeviceContext } from '../../context/UIContext.js';
|
|
6
7
|
import styleAttributes from './styleAttributes.js';
|
|
7
|
-
import '../../tslib.es6-
|
|
8
|
+
import '../../tslib.es6-Bwu1Cn-t.js';
|
|
8
9
|
import 'react/jsx-runtime';
|
|
10
|
+
import 'uuid';
|
|
11
|
+
import '@itcase/common';
|
|
9
12
|
import '../useMediaQueries/useMediaQueries.js';
|
|
10
13
|
import 'react-responsive';
|
|
11
14
|
import '../../utils/setViewportProperty.js';
|
package/dist/hooks/useStyles.js
CHANGED
|
@@ -3,9 +3,12 @@ import 'react';
|
|
|
3
3
|
import 'lodash/camelCase';
|
|
4
4
|
import 'lodash/maxBy';
|
|
5
5
|
import 'lodash/upperFirst';
|
|
6
|
-
import '../context/
|
|
7
|
-
import '../tslib.es6-
|
|
6
|
+
import '../context/Notifications.js';
|
|
7
|
+
import '../tslib.es6-Bwu1Cn-t.js';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
|
+
import 'uuid';
|
|
10
|
+
import '@itcase/common';
|
|
11
|
+
import '../context/UIContext.js';
|
|
9
12
|
import './useMediaQueries/useMediaQueries.js';
|
|
10
13
|
import 'react-responsive';
|
|
11
14
|
import '../utils/setViewportProperty.js';
|
|
@@ -5,7 +5,7 @@ function useViewportFix() {
|
|
|
5
5
|
// https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
|
|
6
6
|
var setViewportProperty = function () {
|
|
7
7
|
// "vh" unit is equal to 1% of the height of the initial containing block
|
|
8
|
-
// https://www.w3.org/
|
|
8
|
+
// https://www.w3.org/R/css-values-3/#viewport-relative-lengths
|
|
9
9
|
var vh = window.innerHeight * 0.01;
|
|
10
10
|
/** NOTE:
|
|
11
11
|
* In JavaScript, you can always get the value of the current viewport
|
|
@@ -53,4 +53,4 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
53
53
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
export { __assign as _,
|
|
56
|
+
export { __assign as _, __spreadArray as a, __rest as b };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const accordionAppearance:
|
|
3
|
-
export declare const accordionItemAppearance:
|
|
1
|
+
import { AccordionAppearanceType, AccordionItemAppearanceType } from './Accordion.interface';
|
|
2
|
+
export declare const accordionAppearance: AccordionAppearanceType;
|
|
3
|
+
export declare const accordionItemAppearance: AccordionItemAppearanceType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const accordionConfig:
|
|
3
|
-
declare function Accordion(props:
|
|
1
|
+
import type { AccordionConfig, AccordionProps } from './Accordion.interface';
|
|
2
|
+
declare const accordionConfig: AccordionConfig;
|
|
3
|
+
declare function Accordion(props: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Accordion, accordionConfig };
|
|
@@ -1,98 +1,97 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export interface iAccordionThemeColor {
|
|
2
|
+
import { AppearanceKeysDefault, BorderColorProps, DirectionProps, FillHoverProps, FillProps, HeightProps, ItemColorProps, ShapeProps, SizeProps, TextColorProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
3
|
+
import type { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface AccordionThemeColor {
|
|
6
5
|
}
|
|
7
|
-
export interface
|
|
6
|
+
export interface AccordionItemThemeColor {
|
|
8
7
|
}
|
|
9
|
-
type
|
|
10
|
-
export type
|
|
11
|
-
[key in
|
|
8
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
9
|
+
export type AccordionAppearanceType = {
|
|
10
|
+
[key in AppearanceKeys]?: AccordionThemeColor;
|
|
12
11
|
};
|
|
13
|
-
export type
|
|
14
|
-
[key in
|
|
12
|
+
export type AccordionItemAppearanceType = {
|
|
13
|
+
[key in AppearanceKeys]?: AccordionItemThemeColor;
|
|
15
14
|
};
|
|
16
|
-
export interface
|
|
17
|
-
appearance:
|
|
18
|
-
setAppearance: (newComponent:
|
|
15
|
+
export interface AccordionConfig {
|
|
16
|
+
appearance: AccordionAppearanceType | undefined;
|
|
17
|
+
setAppearance: (newComponent: AccordionAppearanceType) => void;
|
|
19
18
|
}
|
|
20
|
-
export interface
|
|
21
|
-
appearance:
|
|
22
|
-
setAppearance: (newComponent:
|
|
19
|
+
export interface AccordionItemConfig {
|
|
20
|
+
appearance: AccordionItemAppearanceType | undefined;
|
|
21
|
+
setAppearance: (newComponent: AccordionItemAppearanceType) => void;
|
|
23
22
|
}
|
|
24
|
-
interface
|
|
23
|
+
interface AccordionItemEventData {
|
|
25
24
|
id: number | string;
|
|
26
25
|
content?: ReactNode;
|
|
27
26
|
title: string;
|
|
28
27
|
isExpanded: boolean;
|
|
29
28
|
}
|
|
30
|
-
interface
|
|
29
|
+
interface AccordionProps extends AccordionThemeColor, StyleAttributes {
|
|
31
30
|
[key: number | string | symbol]: any;
|
|
32
|
-
appearance?:
|
|
33
|
-
borderColor?:
|
|
31
|
+
appearance?: AppearanceKeys;
|
|
32
|
+
borderColor?: BorderColorProps;
|
|
34
33
|
children?: Element | React.ReactNode;
|
|
35
34
|
className?: string;
|
|
36
|
-
direction?:
|
|
37
|
-
fill?:
|
|
38
|
-
height?:
|
|
35
|
+
direction?: DirectionProps;
|
|
36
|
+
fill?: FillProps;
|
|
37
|
+
height?: HeightProps;
|
|
39
38
|
initial?: any;
|
|
40
39
|
items?: {
|
|
41
40
|
id: number | string;
|
|
42
41
|
content?: ReactNode;
|
|
43
42
|
title: string;
|
|
44
43
|
}[];
|
|
45
|
-
shape?:
|
|
44
|
+
shape?: ShapeProps;
|
|
46
45
|
style?: CSSProperties;
|
|
47
|
-
width?:
|
|
46
|
+
width?: WidthProps;
|
|
48
47
|
isMultiple?: boolean;
|
|
49
|
-
onClickItem?: (T:
|
|
48
|
+
onClickItem?: (T: AccordionItemEventData) => void;
|
|
50
49
|
}
|
|
51
|
-
interface
|
|
50
|
+
interface AccordionItemProps extends AccordionItemThemeColor, StyleAttributes {
|
|
52
51
|
id: number | string;
|
|
53
52
|
[key: number | string | symbol]: any;
|
|
54
53
|
afterContent?: ReactNode;
|
|
55
|
-
appearance?:
|
|
54
|
+
appearance?: AppearanceKeys;
|
|
56
55
|
beforeContent?: ReactNode;
|
|
57
|
-
borderColor?:
|
|
56
|
+
borderColor?: BorderColorProps;
|
|
58
57
|
children?: ReactNode;
|
|
59
58
|
className?: string;
|
|
60
59
|
content?: ReactNode;
|
|
61
|
-
contentBorderColor?:
|
|
62
|
-
contentFill?:
|
|
63
|
-
contentTextColor?:
|
|
64
|
-
contentTextSize?:
|
|
65
|
-
contentTextWeight?:
|
|
66
|
-
dividerDirection?:
|
|
67
|
-
dividerFill?:
|
|
68
|
-
dividerSize?:
|
|
69
|
-
fill?:
|
|
70
|
-
fillDesktop?:
|
|
71
|
-
fillHover?:
|
|
72
|
-
fillMobile?:
|
|
73
|
-
fillTablet?:
|
|
74
|
-
height?:
|
|
60
|
+
contentBorderColor?: BorderColorProps;
|
|
61
|
+
contentFill?: FillProps;
|
|
62
|
+
contentTextColor?: TextColorProps;
|
|
63
|
+
contentTextSize?: SizeProps;
|
|
64
|
+
contentTextWeight?: TextWeightProps;
|
|
65
|
+
dividerDirection?: DirectionProps;
|
|
66
|
+
dividerFill?: FillProps;
|
|
67
|
+
dividerSize?: SizeProps;
|
|
68
|
+
fill?: FillProps;
|
|
69
|
+
fillDesktop?: FillProps;
|
|
70
|
+
fillHover?: FillHoverProps;
|
|
71
|
+
fillMobile?: FillProps;
|
|
72
|
+
fillTablet?: FillProps;
|
|
73
|
+
height?: HeightProps;
|
|
75
74
|
icon?: ReactNode;
|
|
76
|
-
iconFill?:
|
|
77
|
-
iconFillDesktop?:
|
|
78
|
-
iconFillMobile?:
|
|
79
|
-
iconFillTablet?:
|
|
80
|
-
shape?:
|
|
81
|
-
shapeDesktop?:
|
|
82
|
-
shapeMobile?:
|
|
83
|
-
shapeTablet?:
|
|
75
|
+
iconFill?: ItemColorProps;
|
|
76
|
+
iconFillDesktop?: ItemColorProps;
|
|
77
|
+
iconFillMobile?: ItemColorProps;
|
|
78
|
+
iconFillTablet?: ItemColorProps;
|
|
79
|
+
shape?: ShapeProps;
|
|
80
|
+
shapeDesktop?: ShapeProps;
|
|
81
|
+
shapeMobile?: ShapeProps;
|
|
82
|
+
shapeTablet?: ShapeProps;
|
|
84
83
|
showDivider?: boolean;
|
|
85
|
-
size?:
|
|
84
|
+
size?: SizeProps;
|
|
86
85
|
style?: CSSProperties;
|
|
87
86
|
title?: string;
|
|
88
|
-
titleBorderColor?:
|
|
89
|
-
titleFill?:
|
|
90
|
-
titleFillHover?:
|
|
91
|
-
titleTextColor?:
|
|
92
|
-
titleTextSize?:
|
|
93
|
-
titleTextWeight?:
|
|
94
|
-
width?:
|
|
87
|
+
titleBorderColor?: BorderColorProps;
|
|
88
|
+
titleFill?: FillProps;
|
|
89
|
+
titleFillHover?: FillHoverProps;
|
|
90
|
+
titleTextColor?: TextColorProps;
|
|
91
|
+
titleTextSize?: SizeProps;
|
|
92
|
+
titleTextWeight?: TextWeightProps;
|
|
93
|
+
width?: WidthProps;
|
|
95
94
|
isExpanded?: boolean;
|
|
96
|
-
onClick?: (T:
|
|
95
|
+
onClick?: (T: AccordionItemEventData) => void;
|
|
97
96
|
}
|
|
98
|
-
export type {
|
|
97
|
+
export type { AccordionItemEventData, AccordionProps, AccordionItemProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const accordionItemConfig:
|
|
3
|
-
declare function AccordionItem(props:
|
|
1
|
+
import type { AccordionItemConfig, AccordionItemProps } from './Accordion.interface';
|
|
2
|
+
declare const accordionItemConfig: AccordionItemConfig;
|
|
3
|
+
declare function AccordionItem(props: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { AccordionItem, accordionItemConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const avatarAppearance:
|
|
1
|
+
import { AvatarAppearanceType } from './Avatar.interface';
|
|
2
|
+
export declare const avatarAppearance: AvatarAppearanceType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const avatarConfig:
|
|
3
|
-
declare function Avatar(props:
|
|
1
|
+
import type { AvatarConfig, AvatarProps } from './Avatar.interface';
|
|
2
|
+
declare const avatarConfig: AvatarConfig;
|
|
3
|
+
declare function Avatar(props: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Avatar, avatarConfig };
|
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export interface iAvatarThemeColor {
|
|
2
|
+
import { AppearanceKeysDefault, FillHoverProps, FillProps, IconFillSizeProps, IconSizeProps, ItemColorProps, ShapeProps, SizePXProps, TextColorProps, TextSizeProps, TextWeightProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface AvatarThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
fill?:
|
|
8
|
-
fillHover?:
|
|
6
|
+
fill?: FillProps;
|
|
7
|
+
fillHover?: FillHoverProps;
|
|
9
8
|
icon?: ElementType;
|
|
10
|
-
iconFill?:
|
|
11
|
-
iconFillHover?:
|
|
12
|
-
iconFillSize?:
|
|
13
|
-
iconItemFill?:
|
|
14
|
-
iconShape?:
|
|
15
|
-
iconSize?:
|
|
9
|
+
iconFill?: FillProps;
|
|
10
|
+
iconFillHover?: FillHoverProps;
|
|
11
|
+
iconFillSize?: IconFillSizeProps;
|
|
12
|
+
iconItemFill?: ItemColorProps;
|
|
13
|
+
iconShape?: ShapeProps;
|
|
14
|
+
iconSize?: IconSizeProps;
|
|
16
15
|
iconSrc?: string;
|
|
17
|
-
shape?:
|
|
18
|
-
textColor?:
|
|
19
|
-
textSize?:
|
|
20
|
-
textWeight?:
|
|
16
|
+
shape?: ShapeProps;
|
|
17
|
+
textColor?: TextColorProps;
|
|
18
|
+
textSize?: TextSizeProps;
|
|
19
|
+
textWeight?: TextWeightProps;
|
|
21
20
|
}
|
|
22
|
-
type
|
|
23
|
-
export type
|
|
24
|
-
[key in
|
|
21
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
22
|
+
export type AvatarAppearanceType = {
|
|
23
|
+
[key in AppearanceKeys]?: AvatarThemeColor;
|
|
25
24
|
};
|
|
26
|
-
export interface
|
|
25
|
+
export interface AvatarConfig {
|
|
27
26
|
[key: number | string | symbol]: any;
|
|
28
|
-
appearance:
|
|
29
|
-
setAppearance: (appearanceConfig:
|
|
27
|
+
appearance: AvatarAppearanceType | undefined;
|
|
28
|
+
setAppearance: (appearanceConfig: AvatarAppearanceType) => void;
|
|
30
29
|
}
|
|
31
|
-
export interface
|
|
30
|
+
export interface AvatarProps extends AvatarThemeColor, StyleAttributes {
|
|
32
31
|
[key: number | string | symbol]: any;
|
|
33
32
|
after?: ReactNode;
|
|
34
|
-
appearance?:
|
|
33
|
+
appearance?: AppearanceKeys;
|
|
35
34
|
before?: ReactNode;
|
|
36
35
|
className?: string;
|
|
37
36
|
Dot?: ReactNode;
|
|
38
37
|
firstName?: string;
|
|
39
38
|
mode?: string;
|
|
40
39
|
secondName?: string;
|
|
41
|
-
size?:
|
|
40
|
+
size?: SizePXProps;
|
|
42
41
|
src?: string;
|
|
43
42
|
type?: 'image' | 'text';
|
|
44
43
|
onClick?: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const badgeAppearance:
|
|
1
|
+
import { BadgeAppearanceType } from './Badge.interface';
|
|
2
|
+
export declare const badgeAppearance: BadgeAppearanceType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const badgeConfig:
|
|
3
|
-
declare function Badge(props:
|
|
1
|
+
import type { BadgeConfig, BadgeProps } from './Badge.interface';
|
|
2
|
+
declare const badgeConfig: BadgeConfig;
|
|
3
|
+
declare function Badge(props: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Badge, badgeConfig };
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export interface iBadgeThemeColor {
|
|
2
|
+
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, FillHoverProps, FillProps, ShapeProps, SizeProps, TextColorProps, TextSizeProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
export interface BadgeThemeColor {
|
|
6
5
|
[key: number | string | symbol]: any;
|
|
7
|
-
borderColor?:
|
|
8
|
-
borderColorHover?:
|
|
9
|
-
borderType?:
|
|
10
|
-
borderWidth?:
|
|
11
|
-
fill?:
|
|
12
|
-
fillHover?:
|
|
13
|
-
shape?:
|
|
14
|
-
size?:
|
|
15
|
-
textColor?:
|
|
16
|
-
textSize?:
|
|
6
|
+
borderColor?: BorderColorProps;
|
|
7
|
+
borderColorHover?: BorderColorHoverProps;
|
|
8
|
+
borderType?: BorderTypeProps;
|
|
9
|
+
borderWidth?: BorderWidthProps;
|
|
10
|
+
fill?: FillProps;
|
|
11
|
+
fillHover?: FillHoverProps;
|
|
12
|
+
shape?: ShapeProps;
|
|
13
|
+
size?: SizeProps;
|
|
14
|
+
textColor?: TextColorProps;
|
|
15
|
+
textSize?: TextSizeProps;
|
|
17
16
|
}
|
|
18
|
-
type
|
|
19
|
-
export type
|
|
20
|
-
[key in
|
|
17
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
18
|
+
export type BadgeAppearanceType = {
|
|
19
|
+
[key in AppearanceKeys]?: BadgeThemeColor;
|
|
21
20
|
};
|
|
22
|
-
export interface
|
|
21
|
+
export interface BadgeConfig {
|
|
23
22
|
[key: number | string | symbol]: any;
|
|
24
|
-
appearance:
|
|
25
|
-
setAppearance: (newComponent:
|
|
23
|
+
appearance: BadgeAppearanceType | undefined;
|
|
24
|
+
setAppearance: (newComponent: BadgeAppearanceType) => void;
|
|
26
25
|
}
|
|
27
|
-
export interface
|
|
26
|
+
export interface BadgeProps extends BadgeThemeColor, StyleAttributes {
|
|
28
27
|
[key: number | string | symbol]: any;
|
|
29
|
-
appearance?:
|
|
28
|
+
appearance?: AppearanceKeys;
|
|
30
29
|
children?: ReactNode;
|
|
31
30
|
className?: string;
|
|
32
31
|
mode?: string;
|
|
@@ -14,21 +14,21 @@ declare const badgeAppearanceAccent: {
|
|
|
14
14
|
textColor: string;
|
|
15
15
|
iconFill: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
accentQuaternary: {
|
|
18
18
|
dotFill: string;
|
|
19
19
|
fill: string;
|
|
20
20
|
borderColor: string;
|
|
21
21
|
textColor: string;
|
|
22
22
|
iconFill: string;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
accentSecondary: {
|
|
25
25
|
dotFill: string;
|
|
26
26
|
fill: string;
|
|
27
27
|
borderColor: string;
|
|
28
28
|
textColor: string;
|
|
29
29
|
iconFill: string;
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
accentTertiary: {
|
|
32
32
|
dotFill: string;
|
|
33
33
|
fill: string;
|
|
34
34
|
borderColor: string;
|
|
@@ -2,16 +2,16 @@ declare const badgeAppearanceInfo: {
|
|
|
2
2
|
info: {
|
|
3
3
|
fill: string;
|
|
4
4
|
fillHover: string;
|
|
5
|
-
textColor: string;
|
|
6
5
|
borderColor: string;
|
|
6
|
+
textColor: string;
|
|
7
7
|
dotFill: string;
|
|
8
8
|
iconFill: string;
|
|
9
9
|
};
|
|
10
10
|
infoSecondary: {
|
|
11
11
|
fill: string;
|
|
12
12
|
fillHover: string;
|
|
13
|
-
textColor: string;
|
|
14
13
|
borderColor: string;
|
|
14
|
+
textColor: string;
|
|
15
15
|
dotFill: string;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
declare const badgeAppearanceSize: {
|
|
2
2
|
sizeXXL: {
|
|
3
|
-
textSize: string;
|
|
4
3
|
size: string;
|
|
4
|
+
textSize: string;
|
|
5
5
|
iconSize: number;
|
|
6
6
|
};
|
|
7
7
|
sizeXL: {
|
|
8
|
-
textSize: string;
|
|
9
8
|
size: string;
|
|
9
|
+
textSize: string;
|
|
10
10
|
};
|
|
11
11
|
sizeL: {
|
|
12
|
-
textSize: string;
|
|
13
12
|
size: string;
|
|
13
|
+
textSize: string;
|
|
14
14
|
};
|
|
15
15
|
sizeM: {
|
|
16
|
-
textSize: string;
|
|
17
16
|
size: string;
|
|
17
|
+
textSize: string;
|
|
18
18
|
};
|
|
19
19
|
sizeS: {
|
|
20
|
-
textSize: string;
|
|
21
20
|
size: string;
|
|
21
|
+
textSize: string;
|
|
22
22
|
};
|
|
23
23
|
sizeXS: {
|
|
24
|
-
textSize: string;
|
|
25
24
|
size: string;
|
|
25
|
+
textSize: string;
|
|
26
26
|
};
|
|
27
27
|
sizeXXS: {
|
|
28
|
-
textSize: string;
|
|
29
28
|
size: string;
|
|
29
|
+
textSize: string;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
export { badgeAppearanceSize };
|
|
@@ -2,28 +2,28 @@ declare const badgeAppearanceSurface: {
|
|
|
2
2
|
surfacePrimary: {
|
|
3
3
|
fill: string;
|
|
4
4
|
fillHover: string;
|
|
5
|
-
textColor: string;
|
|
6
5
|
borderColor: string;
|
|
6
|
+
textColor: string;
|
|
7
7
|
dotFill: string;
|
|
8
8
|
iconFill: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
surfaceQuaternary: {
|
|
11
11
|
fill: string;
|
|
12
12
|
fillHover: string;
|
|
13
|
-
textColor: string;
|
|
14
13
|
borderColor: string;
|
|
14
|
+
textColor: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
surfaceSecondary: {
|
|
17
17
|
fill: string;
|
|
18
18
|
fillHover: string;
|
|
19
|
-
textColor: string;
|
|
20
19
|
borderColor: string;
|
|
20
|
+
textColor: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
surfaceTertiary: {
|
|
23
23
|
fill: string;
|
|
24
24
|
fillHover: string;
|
|
25
|
-
textColor: string;
|
|
26
25
|
borderColor: string;
|
|
26
|
+
textColor: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export { badgeAppearanceSurface };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function Breadcrumbs(props:
|
|
1
|
+
import type { BreadcrumbsProps } from './Breadcrumbs.interface';
|
|
2
|
+
declare function Breadcrumbs(props: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Breadcrumbs };
|