@itcase/ui 1.3.11 → 1.3.13
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-DMRagi5O.js → Badge-Bcj5H3vs.js} +2 -2
- package/dist/{Badge-B9tt2YPa.js → Badge-DxHwStfq.js} +2 -2
- package/dist/{Button-DHQeSUSA.js → Button-BIVXOiP4.js} +6 -6
- package/dist/{Button-BVQet4JC.js → Button-C4oPIe_E.js} +6 -6
- package/dist/{DropdownItem-DxGxdjUr.js → DropdownItem-BGsCHiqr.js} +4 -4
- package/dist/{DropdownItem-DXz1l415.js → DropdownItem-CRvS3KEp.js} +4 -4
- package/dist/{Group-B9L2NTgM.js → Group-CIIZoSm5.js} +1 -1
- package/dist/{Group-D6CXN4hS.js → Group-pMTTxQH4.js} +1 -1
- package/dist/{Icon-3VtRLW-J.js → Icon-DJSIqu5Z.js} +2 -2
- package/dist/{Icon-C9FlOMr9.js → Icon-Dz1q9WC2.js} +2 -2
- package/dist/{Input-BrV5_NoV.js → Input-Ck5IbuH6.js} +1 -1
- package/dist/{Input-ffioh1sj.js → Input-zkYoZhQk.js} +1 -1
- package/dist/{Label-DQyB2ThM.js → Label-9O3dQlUa.js} +6 -6
- package/dist/{Label-HKRKV3mn.js → Label-GEBQXoVJ.js} +6 -6
- package/dist/{Link-C2dn5VUy.js → Link-CH-W1dww.js} +1 -1
- package/dist/{Link-CPzqprR1.js → Link-U60OVrcS.js} +1 -1
- package/dist/{Loader-K_DJmah6.js → Loader-Cm98w6lJ.js} +2 -2
- package/dist/{Loader-Dn036JwE.js → Loader-D_53c71f.js} +2 -2
- package/dist/{MenuItem-Cw2Lry6S.js → MenuItem-C422Veuw.js} +3 -3
- package/dist/{MenuItem-DEzP_HLq.js → MenuItem-GoaeJJ04.js} +3 -3
- package/dist/{Scrollbar-CKbA0jQU.js → Scrollbar-CL9V8d1X.js} +1 -1
- package/dist/{Scrollbar-Bo7z7ELm.js → Scrollbar-DkJr3S-w.js} +1 -1
- package/dist/{Text-Beslj4Ns.js → Text-COHpLTYr.js} +1 -1
- package/dist/{Text-JayJa3hj.js → Text-D9sEeRE4.js} +1 -1
- package/dist/{Title-DBaHcpvB.js → Title-BduD-TXE.js} +1 -1
- package/dist/{Title-CHgrIarR.js → Title-Cl95USIn.js} +1 -1
- package/dist/{Tooltip-1Jbub0K6.js → Tooltip-BsbXMzGd.js} +4 -4
- package/dist/{Tooltip-CNua1g76.js → Tooltip-CyZCVyba.js} +4 -4
- package/dist/cjs/components/Accordion.js +7 -7
- package/dist/cjs/components/Avatar.js +9 -9
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +6 -6
- package/dist/cjs/components/Button.js +7 -7
- package/dist/cjs/components/Card.js +2 -2
- package/dist/cjs/components/Cell.js +7 -7
- package/dist/cjs/components/Checkbox.js +3 -3
- package/dist/cjs/components/Chips.js +4 -4
- package/dist/cjs/components/Choice.js +10 -10
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +10 -10
- package/dist/cjs/components/DadataHintField.js +1 -1
- package/dist/cjs/components/DatePicker.js +16 -16
- package/dist/cjs/components/Drawer.js +5 -12
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/Flex.js +4 -4
- package/dist/cjs/components/Grid.js +6 -6
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/Icon.js +5 -5
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputMask.js +1 -1
- package/dist/cjs/components/InputPassword.js +5 -5
- package/dist/cjs/components/Label.js +4 -4
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo.js +2 -2
- package/dist/cjs/components/Menu.js +4 -4
- package/dist/cjs/components/MenuItem.js +3 -3
- package/dist/cjs/components/Modal.js +5 -5
- package/dist/cjs/components/Notification.js +4 -4
- package/dist/cjs/components/Pagination.js +28 -28
- package/dist/cjs/components/Panel.js +2 -2
- package/dist/cjs/components/Radio.js +3 -3
- package/dist/cjs/components/Response.js +17 -17
- package/dist/cjs/components/ScrollToView.js +1 -1
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +9 -9
- package/dist/cjs/components/Segmented.js +13 -13
- package/dist/cjs/components/Select.js +11 -11
- package/dist/cjs/components/SiteMenu.js +6 -6
- package/dist/cjs/components/Swiper.js +8 -8
- package/dist/cjs/components/Tab.js +9 -9
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +4 -4
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +3 -3
- package/dist/cjs/components/Wrapper.js +1 -1
- package/dist/cjs/context/Notifications.js +6 -6
- package/dist/cjs/context/UIContext.js +1 -1
- package/dist/cjs/hooks/useDeviceTargetClassGenerator.js +4 -4
- package/dist/components/Accordion.js +7 -7
- package/dist/components/Avatar.js +9 -9
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +6 -6
- package/dist/components/Button.js +7 -7
- package/dist/components/Card.js +2 -2
- package/dist/components/Cell.js +7 -7
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice.js +10 -10
- package/dist/components/Code.js +1 -1
- package/dist/components/CookiesWarning.js +10 -10
- package/dist/components/DadataHintField.js +1 -1
- package/dist/components/DatePicker.js +16 -16
- package/dist/components/Drawer.js +5 -12
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Flex.js +4 -4
- package/dist/components/Grid.js +6 -6
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon.js +5 -5
- package/dist/components/Input.js +1 -1
- package/dist/components/InputMask.js +1 -1
- package/dist/components/InputPassword.js +5 -5
- package/dist/components/Label.js +4 -4
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo.js +2 -2
- package/dist/components/Menu.js +4 -4
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/Modal.js +5 -5
- package/dist/components/Notification.js +4 -4
- package/dist/components/Pagination.js +28 -28
- package/dist/components/Panel.js +2 -2
- package/dist/components/Radio.js +3 -3
- package/dist/components/Response.js +17 -17
- package/dist/components/ScrollToView.js +1 -1
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +9 -9
- package/dist/components/Segmented.js +13 -13
- package/dist/components/Select.js +11 -11
- package/dist/components/SiteMenu.js +6 -6
- package/dist/components/Swiper.js +8 -8
- package/dist/components/Tab.js +9 -9
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +4 -4
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/Wrapper.js +1 -1
- package/dist/context/Notifications.js +6 -6
- package/dist/context/UIContext.js +1 -1
- package/dist/css/components/Pagination/Pagination.css +3 -2
- package/dist/css/components/Pagination/css/__item/pagination__item.css +3 -2
- package/dist/css/components/Text/Text.css +2 -1
- package/dist/hooks/useDeviceTargetClassGenerator.js +4 -4
- package/dist/stories/Accordion.mdx +1 -1
- package/dist/stories/AccordionItem.mdx +1 -1
- package/dist/stories/AlignContent.mdx +1 -1
- package/dist/stories/AlignItems.mdx +1 -1
- package/dist/stories/AlignSelf.mdx +1 -1
- package/dist/stories/Appearance.mdx +1 -1
- package/dist/stories/Avatar.mdx +1 -1
- package/dist/stories/Badge.mdx +2 -2
- package/dist/stories/Button.mdx +1 -2
- package/dist/stories/Cell.mdx +1 -1
- package/dist/stories/Checkbox.mdx +1 -2
- package/dist/stories/Chips.mdx +1 -1
- package/dist/stories/Choice.mdx +1 -1
- package/dist/stories/Code.mdx +1 -1
- package/dist/stories/Columns.mdx +1 -1
- package/dist/stories/DatePicker.mdx +1 -1
- package/dist/stories/Dev.mdx +1 -1
- package/dist/stories/DevMode.mdx +3 -2
- package/dist/stories/Direction.mdx +1 -1
- package/dist/stories/Divider.mdx +1 -1
- package/dist/stories/Dot.mdx +1 -1
- package/dist/stories/Drawer.mdx +1 -1
- package/dist/stories/Dropdown.mdx +2 -2
- package/dist/stories/DropdownItem.mdx +1 -1
- package/dist/stories/Group.mdx +1 -1
- package/dist/stories/Grow.mdx +1 -1
- package/dist/stories/Icon.mdx +1 -1
- package/dist/stories/Image.mdx +1 -1
- package/dist/stories/Input.mdx +1 -1
- package/dist/stories/InputPassword.mdx +1 -1
- package/dist/stories/JustifyContent.mdx +1 -1
- package/dist/stories/Label.mdx +1 -1
- package/dist/stories/Loader.mdx +1 -1
- package/dist/stories/Logo.mdx +1 -1
- package/dist/stories/MenuItem.mdx +1 -1
- package/dist/stories/Message.mdx +4 -1
- package/dist/stories/Notification.mdx +1 -1
- package/dist/stories/Order.mdx +1 -1
- package/dist/stories/Overview.mdx +1 -1
- package/dist/stories/Pagination.mdx +1 -1
- package/dist/stories/Playground.mdx +1 -1
- package/dist/stories/Radio.mdx +1 -2
- package/dist/stories/Response.mdx +6 -1
- package/dist/stories/SearchInput.mdx +1 -1
- package/dist/stories/Segmented.mdx +1 -1
- package/dist/stories/Size.mdx +1 -1
- package/dist/stories/Skeleton.mdx +1 -1
- package/dist/stories/State.mdx +1 -1
- package/dist/stories/Switch.mdx +1 -1
- package/dist/stories/Text.mdx +1 -1
- package/dist/stories/Textarea.mdx +1 -1
- package/dist/stories/Tile.mdx +1 -1
- package/dist/stories/Title.mdx +1 -1
- package/dist/stories/Tooltip.mdx +1 -1
- package/dist/stories/WithTooltip.mdx +1 -1
- package/dist/stories/Wrap.mdx +1 -1
- package/dist/types/components/Accordion/Accordion.interface.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.interface.d.ts +5 -5
- package/dist/types/components/Badge/Badge.interface.d.ts +4 -4
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +11 -11
- package/dist/types/components/Button/Button.interface.d.ts +10 -10
- package/dist/types/components/Button/stories/args.d.ts +200 -0
- package/dist/types/components/Caption/Caption.interface.d.ts +5 -5
- package/dist/types/components/Card/Card.interface.d.ts +1 -1
- package/dist/types/components/Cell/Cell.interface.d.ts +4 -4
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +2 -2
- package/dist/types/components/Chips/Chips.interface.d.ts +6 -6
- package/dist/types/components/Chips/stories/args.d.ts +45 -0
- package/dist/types/components/Choice/Choice.interface.d.ts +6 -6
- package/dist/types/components/Code/Code.interface.d.ts +3 -3
- package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +1 -1
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +0 -1
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +13 -13
- package/dist/types/components/Divider/Divider.interface.d.ts +2 -2
- package/dist/types/components/Dot/Dot.interface.d.ts +5 -5
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +5 -5
- package/dist/types/components/Flex/Flex.interface.d.ts +70 -70
- package/dist/types/components/Flex/stories/args.d.ts +80 -0
- package/dist/types/components/Grid/Grid.interface.d.ts +29 -32
- package/dist/types/components/Grid/stories/args.d.ts +90 -0
- package/dist/types/components/Group/Group.interface.d.ts +7 -7
- package/dist/types/components/Group/stories/args.d.ts +78 -0
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +5 -5
- package/dist/types/components/Icon/Icon.interface.d.ts +15 -15
- package/dist/types/components/Image/Image.interface.d.ts +3 -3
- package/dist/types/components/Input/Input.interface.d.ts +3 -3
- package/dist/types/components/InputMask/Input.interface.d.ts +3 -3
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +4 -4
- package/dist/types/components/Label/Label.interface.d.ts +6 -6
- package/dist/types/components/Link/Link.interface.d.ts +1 -1
- package/dist/types/components/List/List.interface.d.ts +2 -2
- package/dist/types/components/Loader/Loader.interface.d.ts +3 -3
- package/dist/types/components/Logo/Logo.interface.d.ts +4 -4
- package/dist/types/components/Menu/Menu.interface.d.ts +2 -2
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +2 -2
- package/dist/types/components/Modal/Modal.interface.d.ts +3 -3
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +1 -1
- package/dist/types/components/Notification/Notification.interface.d.ts +4 -4
- package/dist/types/components/Overlay/Overlay.interface.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.interface.d.ts +5 -5
- package/dist/types/components/Panel/Panel.interface.d.ts +21 -21
- package/dist/types/components/Radio/Radio.interface.d.ts +4 -4
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
- package/dist/types/components/Response/Response.interface.d.ts +5 -5
- package/dist/types/components/Response/stories/args.d.ts +174 -0
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +3 -3
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +3 -3
- package/dist/types/components/Search/Search.interface.d.ts +7 -7
- package/dist/types/components/Segmented/Segmented.interface.d.ts +3 -3
- package/dist/types/components/Select/Select.interface.d.ts +5 -5
- package/dist/types/components/SiteMenu/SiteMenu.interface.d.ts +3 -3
- package/dist/types/components/Swiper/Swiper.interface.d.ts +2 -2
- package/dist/types/components/Switch/Switch.interface.d.ts +1 -1
- package/dist/types/components/Tab/Tab.interface.d.ts +4 -4
- package/dist/types/components/Tab/stories/args.d.ts +171 -0
- package/dist/types/components/Text/Text.interface.d.ts +3 -3
- package/dist/types/components/Textarea/Textarea.interface.d.ts +4 -4
- package/dist/types/components/Tile/Tile.interface.d.ts +5 -5
- package/dist/types/components/Title/Title.interface.d.ts +8 -8
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +6 -6
- package/dist/types/components/Wrapper/Wrapper.interface.d.ts +5 -5
- package/dist/types/hooks/styleAttributes.interface.d.ts +2 -2
- package/dist/types/types/componentProps/align.d.ts +3 -1
- package/dist/types/types/componentProps/alignDirection.d.ts +3 -1
- package/dist/types/types/componentProps/alignment.d.ts +3 -1
- package/dist/types/types/componentProps/borderColor.d.ts +3 -1
- package/dist/types/types/componentProps/borderColorHover.d.ts +3 -1
- package/dist/types/types/componentProps/borderType.d.ts +3 -1
- package/dist/types/types/componentProps/borderWidth.d.ts +3 -1
- package/dist/types/types/componentProps/captionPosition.d.ts +3 -1
- package/dist/types/types/componentProps/direction.d.ts +3 -1
- package/dist/types/types/componentProps/elevation.d.ts +3 -1
- package/dist/types/types/componentProps/emojiSize.d.ts +3 -1
- package/dist/types/types/componentProps/fill.d.ts +3 -1
- package/dist/types/types/componentProps/fillGradient.d.ts +3 -1
- package/dist/types/types/componentProps/fillHover.d.ts +3 -1
- package/dist/types/types/componentProps/fillType.d.ts +3 -1
- package/dist/types/types/componentProps/flexAlign.d.ts +3 -1
- package/dist/types/types/componentProps/flexGrow.d.ts +3 -1
- package/dist/types/types/componentProps/flexJustifyContent.d.ts +3 -1
- package/dist/types/types/componentProps/flexWrap.d.ts +3 -1
- package/dist/types/types/componentProps/gridAlign.d.ts +3 -1
- package/dist/types/types/componentProps/gridAlignSelf.d.ts +3 -1
- package/dist/types/types/componentProps/gridJustifyItems.d.ts +3 -1
- package/dist/types/types/componentProps/gridJustifySelf.d.ts +3 -1
- package/dist/types/types/componentProps/height.d.ts +3 -1
- package/dist/types/types/componentProps/horizontalContentAlign.d.ts +3 -1
- package/dist/types/types/componentProps/horizontalResizeMode.d.ts +3 -1
- package/dist/types/types/componentProps/iconFillSize.d.ts +3 -1
- package/dist/types/types/componentProps/iconSize.d.ts +3 -1
- package/dist/types/types/componentProps/itemColor.d.ts +3 -1
- package/dist/types/types/componentProps/justifyContent.d.ts +3 -1
- package/dist/types/types/componentProps/overflow.d.ts +3 -1
- package/dist/types/types/componentProps/position.d.ts +3 -1
- package/dist/types/types/componentProps/resizeMode.d.ts +3 -1
- package/dist/types/types/componentProps/shape.d.ts +3 -1
- package/dist/types/types/componentProps/size.d.ts +3 -1
- package/dist/types/types/componentProps/sizeOption.d.ts +3 -0
- package/dist/types/types/componentProps/sizePX.d.ts +3 -1
- package/dist/types/types/componentProps/stacking.d.ts +3 -1
- package/dist/types/types/componentProps/state.d.ts +3 -1
- package/dist/types/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/types/types/componentProps/svgFill.d.ts +3 -1
- package/dist/types/types/componentProps/textAlign.d.ts +3 -1
- package/dist/types/types/componentProps/textColor.d.ts +3 -1
- package/dist/types/types/componentProps/textColorActive.d.ts +3 -2
- package/dist/types/types/componentProps/textColorHover.d.ts +3 -1
- package/dist/types/types/componentProps/textGradient.d.ts +3 -1
- package/dist/types/types/componentProps/textSize.d.ts +3 -1
- package/dist/types/types/componentProps/textStyle.d.ts +3 -1
- package/dist/types/types/componentProps/textTag.d.ts +3 -1
- package/dist/types/types/componentProps/textWeight.d.ts +3 -1
- package/dist/types/types/componentProps/textWrap.d.ts +3 -1
- package/dist/types/types/componentProps/titleSize.d.ts +3 -1
- package/dist/types/types/componentProps/type.d.ts +3 -1
- package/dist/types/types/componentProps/underline.d.ts +3 -1
- package/dist/types/types/componentProps/verticalContentAlign.d.ts +3 -1
- package/dist/types/types/componentProps/verticalResizeMode.d.ts +3 -1
- package/dist/types/types/componentProps/width.d.ts +3 -1
- package/dist/types/types/componentProps/wrap.d.ts +3 -1
- package/dist/types/types/index.d.ts +57 -57
- package/package.json +8 -8
- package/dist/cjs/constants/componentProps/align.js +0 -7
- package/dist/cjs/constants/componentProps/alignDirection.js +0 -7
- package/dist/cjs/constants/componentProps/alignment.js +0 -7
- package/dist/cjs/constants/componentProps/borderColor.js +0 -7
- package/dist/cjs/constants/componentProps/borderColorHover.js +0 -7
- package/dist/cjs/constants/componentProps/borderType.js +0 -7
- package/dist/cjs/constants/componentProps/borderWidth.js +0 -9
- package/dist/cjs/constants/componentProps/captionPosition.js +0 -7
- package/dist/cjs/constants/componentProps/direction.js +0 -7
- package/dist/cjs/constants/componentProps/emojiSize.js +0 -9
- package/dist/cjs/constants/componentProps/fill.js +0 -7
- package/dist/cjs/constants/componentProps/fillGradient.js +0 -7
- package/dist/cjs/constants/componentProps/fillHover.js +0 -7
- package/dist/cjs/constants/componentProps/fillType.js +0 -7
- package/dist/cjs/constants/componentProps/flexAlign.js +0 -7
- package/dist/cjs/constants/componentProps/flexJustifyContent.js +0 -7
- package/dist/cjs/constants/componentProps/flexWrap.js +0 -7
- package/dist/cjs/constants/componentProps/gridAlign.js +0 -7
- package/dist/cjs/constants/componentProps/gridAlignSelf.js +0 -7
- package/dist/cjs/constants/componentProps/gridJustifyItems.js +0 -7
- package/dist/cjs/constants/componentProps/gridJustifySelf.js +0 -7
- package/dist/cjs/constants/componentProps/height.js +0 -7
- package/dist/cjs/constants/componentProps/horizontalContentAlign.js +0 -7
- package/dist/cjs/constants/componentProps/horizontalResizeMode.js +0 -7
- package/dist/cjs/constants/componentProps/iconFillSize.js +0 -9
- package/dist/cjs/constants/componentProps/iconSize.js +0 -9
- package/dist/cjs/constants/componentProps/itemColor.js +0 -7
- package/dist/cjs/constants/componentProps/position.js +0 -7
- package/dist/cjs/constants/componentProps/resizeMode.js +0 -7
- package/dist/cjs/constants/componentProps/shape.js +0 -7
- package/dist/cjs/constants/componentProps/size.js +0 -7
- package/dist/cjs/constants/componentProps/sizeInterface.js +0 -7
- package/dist/cjs/constants/componentProps/sizePX.js +0 -9
- package/dist/cjs/constants/componentProps/stacking.js +0 -7
- package/dist/cjs/constants/componentProps/state.js +0 -7
- package/dist/cjs/constants/componentProps/textAlign.js +0 -7
- package/dist/cjs/constants/componentProps/textColor.js +0 -7
- package/dist/cjs/constants/componentProps/textColorActive.js +0 -7
- package/dist/cjs/constants/componentProps/textColorHover.js +0 -7
- package/dist/cjs/constants/componentProps/textGradient.js +0 -7
- package/dist/cjs/constants/componentProps/textSize.js +0 -7
- package/dist/cjs/constants/componentProps/textStyle.js +0 -7
- package/dist/cjs/constants/componentProps/textTag.js +0 -7
- package/dist/cjs/constants/componentProps/textWeight.js +0 -9
- package/dist/cjs/constants/componentProps/textWrap.js +0 -7
- package/dist/cjs/constants/componentProps/titleSize.js +0 -7
- package/dist/cjs/constants/componentProps/type.js +0 -7
- package/dist/cjs/constants/componentProps/underline.js +0 -7
- package/dist/cjs/constants/componentProps/verticalContentAlign.js +0 -7
- package/dist/cjs/constants/componentProps/verticalResizeMode.js +0 -7
- package/dist/cjs/constants/componentProps/width.js +0 -7
- package/dist/cjs/constants/componentProps/wrap.js +0 -7
- package/dist/cjs/constants.js +0 -109
- package/dist/constants/componentProps/align.js +0 -3
- package/dist/constants/componentProps/alignDirection.js +0 -3
- package/dist/constants/componentProps/alignment.js +0 -3
- package/dist/constants/componentProps/borderColor.js +0 -3
- package/dist/constants/componentProps/borderColorHover.js +0 -3
- package/dist/constants/componentProps/borderType.js +0 -3
- package/dist/constants/componentProps/borderWidth.js +0 -5
- package/dist/constants/componentProps/captionPosition.js +0 -3
- package/dist/constants/componentProps/direction.js +0 -3
- package/dist/constants/componentProps/emojiSize.js +0 -5
- package/dist/constants/componentProps/fill.js +0 -3
- package/dist/constants/componentProps/fillGradient.js +0 -3
- package/dist/constants/componentProps/fillHover.js +0 -3
- package/dist/constants/componentProps/fillType.js +0 -3
- package/dist/constants/componentProps/flexAlign.js +0 -3
- package/dist/constants/componentProps/flexJustifyContent.js +0 -3
- package/dist/constants/componentProps/flexWrap.js +0 -3
- package/dist/constants/componentProps/gridAlign.js +0 -3
- package/dist/constants/componentProps/gridAlignSelf.js +0 -3
- package/dist/constants/componentProps/gridJustifyItems.js +0 -3
- package/dist/constants/componentProps/gridJustifySelf.js +0 -3
- package/dist/constants/componentProps/height.js +0 -3
- package/dist/constants/componentProps/horizontalContentAlign.js +0 -3
- package/dist/constants/componentProps/horizontalResizeMode.js +0 -3
- package/dist/constants/componentProps/iconFillSize.js +0 -5
- package/dist/constants/componentProps/iconSize.js +0 -5
- package/dist/constants/componentProps/itemColor.js +0 -3
- package/dist/constants/componentProps/position.js +0 -3
- package/dist/constants/componentProps/resizeMode.js +0 -3
- package/dist/constants/componentProps/shape.js +0 -3
- package/dist/constants/componentProps/size.js +0 -3
- package/dist/constants/componentProps/sizeInterface.js +0 -3
- package/dist/constants/componentProps/sizePX.js +0 -5
- package/dist/constants/componentProps/stacking.js +0 -3
- package/dist/constants/componentProps/state.js +0 -3
- package/dist/constants/componentProps/textAlign.js +0 -3
- package/dist/constants/componentProps/textColor.js +0 -3
- package/dist/constants/componentProps/textColorActive.js +0 -3
- package/dist/constants/componentProps/textColorHover.js +0 -3
- package/dist/constants/componentProps/textGradient.js +0 -3
- package/dist/constants/componentProps/textSize.js +0 -3
- package/dist/constants/componentProps/textStyle.js +0 -3
- package/dist/constants/componentProps/textTag.js +0 -3
- package/dist/constants/componentProps/textWeight.js +0 -5
- package/dist/constants/componentProps/textWrap.js +0 -3
- package/dist/constants/componentProps/titleSize.js +0 -3
- package/dist/constants/componentProps/type.js +0 -3
- package/dist/constants/componentProps/underline.js +0 -3
- package/dist/constants/componentProps/verticalContentAlign.js +0 -3
- package/dist/constants/componentProps/verticalResizeMode.js +0 -3
- package/dist/constants/componentProps/width.js +0 -3
- package/dist/constants/componentProps/wrap.js +0 -3
- package/dist/constants.js +0 -52
- package/dist/stories/Accordion.stories.js +0 -105
- package/dist/stories/AccordionItem.stories.js +0 -150
- package/dist/stories/AlignItems.stories.js +0 -88
- package/dist/stories/AlignSelf.stories.js +0 -101
- package/dist/stories/Appearance.stories.js +0 -100
- package/dist/stories/Avatar.stories.js +0 -184
- package/dist/stories/Badge.stories.js +0 -115
- package/dist/stories/Button.stories.js +0 -110
- package/dist/stories/Cell.stories.js +0 -306
- package/dist/stories/Checkbox.stories.js +0 -124
- package/dist/stories/Chips.stories.js +0 -106
- package/dist/stories/Choice.stories.js +0 -115
- package/dist/stories/Code.stories.js +0 -96
- package/dist/stories/Columns.stories.js +0 -80
- package/dist/stories/DatePicker.stories.js +0 -171
- package/dist/stories/Direction.stories.js +0 -93
- package/dist/stories/Divider.stories.js +0 -131
- package/dist/stories/Dot.stories.js +0 -85
- package/dist/stories/Drawer.stories.js +0 -75
- package/dist/stories/Dropdown.stories.js +0 -75
- package/dist/stories/DropdownItem.stories.js +0 -150
- package/dist/stories/Flex.stories.js +0 -47
- package/dist/stories/FlexAlignContent.stories.js +0 -102
- package/dist/stories/FlexAlignItems.stories.js +0 -91
- package/dist/stories/FlexAlignSelf.stories.js +0 -97
- package/dist/stories/FlexDirection.stories.js +0 -112
- package/dist/stories/FlexGrow.stories.js +0 -69
- package/dist/stories/FlexJustifyContent.stories.js +0 -98
- package/dist/stories/FlexOrder.stories.js +0 -76
- package/dist/stories/FlexWrap.stories.js +0 -89
- package/dist/stories/Grid.stories.js +0 -202
- package/dist/stories/Group.stories.js +0 -151
- package/dist/stories/Icon.stories.js +0 -193
- package/dist/stories/Image.stories.js +0 -134
- package/dist/stories/Input.stories.js +0 -124
- package/dist/stories/InputPassword.stories.js +0 -112
- package/dist/stories/JustifyContent.stories.js +0 -96
- package/dist/stories/Label.stories.js +0 -173
- package/dist/stories/Loader.stories.js +0 -119
- package/dist/stories/Logo.stories.js +0 -99
- package/dist/stories/MenuItem.stories.js +0 -258
- package/dist/stories/Message.stories.js +0 -34
- package/dist/stories/ModalConfirm.stories.js +0 -60
- package/dist/stories/ModalDefault.stories.js +0 -33
- package/dist/stories/ModalSheetBottom.stories.js +0 -47
- package/dist/stories/Notification.stories.js +0 -105
- package/dist/stories/Pagination.stories.js +0 -63
- package/dist/stories/Radio.stories.js +0 -100
- package/dist/stories/Response.stories.js +0 -92
- package/dist/stories/SearchInput.stories.js +0 -189
- package/dist/stories/Segmented.stories.js +0 -109
- package/dist/stories/Select.stories.js +0 -333
- package/dist/stories/Size.stories.js +0 -99
- package/dist/stories/State.stories.js +0 -67
- package/dist/stories/Switch.stories.js +0 -84
- package/dist/stories/Text.stories.js +0 -172
- package/dist/stories/Textarea.stories.js +0 -90
- package/dist/stories/Tile.stories.js +0 -248
- package/dist/stories/Title.stories.js +0 -168
- package/dist/stories/Tooltip.stories.js +0 -164
- package/dist/stories/Wrap.stories.js +0 -74
- package/dist/types/types/componentProps/sizeInterface.d.ts +0 -1
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
export declare const argTypes: {
|
|
2
|
+
borderWidth: {
|
|
3
|
+
if: {
|
|
4
|
+
arg: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
borderColor: {
|
|
8
|
+
control: string;
|
|
9
|
+
options: readonly [undefined, "accentBorderPrimary", "accentBorderSecondary", "accentBorderTertiary", "accentBorderQuaternary", "accentBorderDisabled", "primaryBorderPrimary", "primaryBorderSecondary", "primaryBorderTertiary", "primaryBorderQuaternary", "primaryBorderDisabled", "secondaryBorderPrimary", "secondaryBorderSecondary", "secondaryBorderTertiary", "secondaryBorderQuaternary", "secondaryBorderDisabled", "tertiaryBorderPrimary", "tertiaryBorderSecondary", "tertiaryBorderTertiary", "tertiaryBorderQuaternary", "tertiaryBorderDisabled", "surfaceBorderPrimary", "surfaceBorderSecondary", "surfaceBorderTertiary", "surfaceBorderQuaternary", "surfaceBorderDisabled", "surfaceBorderInverse", "errorBorderPrimary", "errorBorderSecondary", "errorBorderDisabled", "successBorderPrimary", "successBorderSecondary", "successBorderDisabled"];
|
|
10
|
+
};
|
|
11
|
+
advancedProps: {
|
|
12
|
+
control: string;
|
|
13
|
+
};
|
|
14
|
+
after: {
|
|
15
|
+
if: {
|
|
16
|
+
arg: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
appearance: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
before: {
|
|
24
|
+
if: {
|
|
25
|
+
arg: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
borderType: {
|
|
29
|
+
if: {
|
|
30
|
+
arg: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
className: {
|
|
34
|
+
if: {
|
|
35
|
+
arg: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
fill: {
|
|
39
|
+
control: string;
|
|
40
|
+
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary"];
|
|
41
|
+
};
|
|
42
|
+
fillHover: {
|
|
43
|
+
control: string;
|
|
44
|
+
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
45
|
+
};
|
|
46
|
+
messageTextColor: {
|
|
47
|
+
control: string;
|
|
48
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
49
|
+
};
|
|
50
|
+
messageTextSize: {
|
|
51
|
+
control: string;
|
|
52
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
53
|
+
};
|
|
54
|
+
primaryButton: {
|
|
55
|
+
if: {
|
|
56
|
+
arg: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
primaryButtonAfter: {
|
|
60
|
+
if: {
|
|
61
|
+
arg: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
primaryButtonAppearance: {
|
|
65
|
+
control: string;
|
|
66
|
+
options: (string | null)[];
|
|
67
|
+
};
|
|
68
|
+
primaryButtonBefore: {
|
|
69
|
+
if: {
|
|
70
|
+
arg: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
primaryButtonFill: {
|
|
74
|
+
control: string;
|
|
75
|
+
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary"];
|
|
76
|
+
};
|
|
77
|
+
primaryButtonFillHover: {
|
|
78
|
+
control: string;
|
|
79
|
+
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
80
|
+
};
|
|
81
|
+
primaryButtonLabelTextColor: {
|
|
82
|
+
control: string;
|
|
83
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
84
|
+
};
|
|
85
|
+
primaryButtonLabelTextSize: {
|
|
86
|
+
control: string;
|
|
87
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
88
|
+
};
|
|
89
|
+
primaryButtonShape: {
|
|
90
|
+
control: string;
|
|
91
|
+
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
92
|
+
};
|
|
93
|
+
primaryButtonSize: {
|
|
94
|
+
control: string;
|
|
95
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
96
|
+
};
|
|
97
|
+
primaryButtonWidth: {
|
|
98
|
+
control: string;
|
|
99
|
+
options: readonly ["auto", "fixed", "hug", "fill"];
|
|
100
|
+
};
|
|
101
|
+
secondaryButton: {
|
|
102
|
+
if: {
|
|
103
|
+
arg: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
secondaryButtonAfter: {
|
|
107
|
+
if: {
|
|
108
|
+
arg: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
secondaryButtonAppearance: {
|
|
112
|
+
control: string;
|
|
113
|
+
options: (string | null)[];
|
|
114
|
+
};
|
|
115
|
+
secondaryButtonBefore: {
|
|
116
|
+
if: {
|
|
117
|
+
arg: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
secondaryButtonFill: {
|
|
121
|
+
control: string;
|
|
122
|
+
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary"];
|
|
123
|
+
};
|
|
124
|
+
secondaryButtonFillHover: {
|
|
125
|
+
control: string;
|
|
126
|
+
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
127
|
+
};
|
|
128
|
+
secondaryButtonLabelTextColor: {
|
|
129
|
+
control: string;
|
|
130
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
131
|
+
};
|
|
132
|
+
secondaryButtonLabelTextSize: {
|
|
133
|
+
control: string;
|
|
134
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
135
|
+
};
|
|
136
|
+
secondaryButtonShape: {
|
|
137
|
+
control: string;
|
|
138
|
+
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
139
|
+
};
|
|
140
|
+
secondaryButtonSize: {
|
|
141
|
+
control: string;
|
|
142
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
143
|
+
};
|
|
144
|
+
secondaryButtonWidth: {
|
|
145
|
+
control: string;
|
|
146
|
+
options: readonly ["auto", "fixed", "hug", "fill"];
|
|
147
|
+
};
|
|
148
|
+
shape: {
|
|
149
|
+
control: string;
|
|
150
|
+
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
151
|
+
};
|
|
152
|
+
titleTextColor: {
|
|
153
|
+
control: string;
|
|
154
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
155
|
+
};
|
|
156
|
+
titleTextSize: {
|
|
157
|
+
control: string;
|
|
158
|
+
options: readonly [undefined, "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
159
|
+
};
|
|
160
|
+
titleTextWeight: {
|
|
161
|
+
control: string;
|
|
162
|
+
options: readonly [undefined, "normal", "bold", "light", "lighter", "bolder", 100, 200, 300, 400, 500, 600, 700, 800, 900, 950, "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
163
|
+
};
|
|
164
|
+
onClickPrimaryButton: {
|
|
165
|
+
if: {
|
|
166
|
+
arg: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
onClickSecondaryButton: {
|
|
170
|
+
if: {
|
|
171
|
+
arg: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { tSvgFillProps } from 'types';
|
|
2
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { svgFillPropsType } from '../../types';
|
|
4
4
|
export interface iSVGContentProps extends iStyleAttributes {
|
|
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?: tSvgFillProps;
|
|
10
|
+
svgFillHover?: tSvgFillProps;
|
|
11
11
|
SvgImage?: any;
|
|
12
12
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
3
|
+
import { tBorderColorProps, tBorderTypeProps, tBorderWidthProps, tElevationProps, tFillHoverProps, tFillProps, tHeightProps, tWidthProps } from 'types';
|
|
3
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
4
|
-
import { borderTypePropsType, elevationPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tHeightProps, tWidthProps } from '../../types';
|
|
5
5
|
export interface iScrollOnDragProps extends iStyleAttributes {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
borderColor?: tBorderColorProps;
|
|
8
|
-
borderType?:
|
|
8
|
+
borderType?: tBorderTypeProps;
|
|
9
9
|
borderWidth?: tBorderWidthProps;
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
className?: string;
|
|
12
|
-
elevation?:
|
|
12
|
+
elevation?: tElevationProps;
|
|
13
13
|
fill?: tFillProps;
|
|
14
14
|
fillHover?: tFillHoverProps;
|
|
15
15
|
height?: tHeightProps;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { tBorderColorHoverProps, tBorderColorProps, tBorderTypeProps, tBorderWidthProps, tFillProps, tIconSizeProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tWidthProps } from 'types';
|
|
3
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
2
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderColorHoverPropsType, borderTypePropsType, iconSizePropsType, tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface iSearchThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
borderColor?: tBorderColorProps;
|
|
8
|
-
borderHover?:
|
|
9
|
-
borderType?:
|
|
8
|
+
borderHover?: tBorderColorHoverProps;
|
|
9
|
+
borderType?: tBorderTypeProps;
|
|
10
10
|
borderWidth?: tBorderWidthProps;
|
|
11
11
|
fill?: tFillProps;
|
|
12
12
|
iconAfter?: string;
|
|
13
13
|
iconAfterFill?: tItemColorProps;
|
|
14
|
-
iconAfterSize?:
|
|
14
|
+
iconAfterSize?: tIconSizeProps;
|
|
15
15
|
iconAfterSrc?: string;
|
|
16
16
|
iconBefore?: string;
|
|
17
17
|
iconBeforeFill?: tItemColorProps;
|
|
18
|
-
iconBeforeSize?:
|
|
18
|
+
iconBeforeSize?: tIconSizeProps;
|
|
19
19
|
iconBeforeSrc?: string;
|
|
20
20
|
iconClear?: string;
|
|
21
21
|
iconClearFill?: tItemColorProps;
|
|
22
|
-
iconClearSize?:
|
|
22
|
+
iconClearSize?: tIconSizeProps;
|
|
23
23
|
iconClearSrc?: string;
|
|
24
24
|
inputFill?: tFillProps;
|
|
25
25
|
inputShape?: tShapeProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { tBorderColorProps, tBorderTypeProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tTextColorActiveProps, tTextColorProps, tTextSizeProps, tTextWrapProps, tWidthProps } from 'types';
|
|
2
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
1
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
2
|
-
import { borderTypePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tTextColorActiveProps, tTextColorProps, tTextSizeProps, tTextWrapProps, tWidthProps } from '../../types';
|
|
3
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
4
|
export interface iSegmentedThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
|
-
borderType?:
|
|
6
|
+
borderType?: tBorderTypeProps;
|
|
7
7
|
borderWidth?: tBorderWidthProps;
|
|
8
8
|
fill?: tFillProps;
|
|
9
9
|
fillHover?: tFillHoverProps;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { GroupBase, PropsValue } from 'react-select';
|
|
3
3
|
import { Props } from 'react-select/base';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import { tBorderColorHoverProps, tBorderColorProps, tBorderTypeProps, tDirectionProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeOptionProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from 'types';
|
|
5
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
6
6
|
interface iSelectThemeColor {
|
|
7
7
|
[key: number | string | symbol]: any;
|
|
8
8
|
elevation?: number;
|
|
9
9
|
inputBorderColor?: tBorderColorProps;
|
|
10
|
-
inputBorderColorHover?:
|
|
10
|
+
inputBorderColorHover?: tBorderColorHoverProps;
|
|
11
11
|
inputFill?: string;
|
|
12
12
|
inputShape?: string;
|
|
13
13
|
inputTextColor?: tTextColorProps;
|
|
@@ -22,7 +22,7 @@ interface iSelectThemeColor {
|
|
|
22
22
|
placeholder?: React.ReactNode;
|
|
23
23
|
placeholderTextColor?: tTextColorProps;
|
|
24
24
|
placeholderTextSize?: tTextSizeProps;
|
|
25
|
-
size?:
|
|
25
|
+
size?: tSizeOptionProps;
|
|
26
26
|
}
|
|
27
27
|
type tSelectAppearance = {
|
|
28
28
|
[key in tAppearanceKeysDefault]?: iSelectThemeColor;
|
|
@@ -85,7 +85,7 @@ interface iSelectPropsCustom<Option> {
|
|
|
85
85
|
optionAfter?: React.ReactNode;
|
|
86
86
|
optionBefore?: React.ReactNode;
|
|
87
87
|
optionBorder?: tBorderColorProps;
|
|
88
|
-
optionBorderType?:
|
|
88
|
+
optionBorderType?: tBorderTypeProps;
|
|
89
89
|
optionSelected?: React.ReactNode;
|
|
90
90
|
optionShape?: tShapeProps;
|
|
91
91
|
shape?: tShapeProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { tFillProps, tIconSizeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps } from 'types';
|
|
3
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
2
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { iconSizePropsType, tFillProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
4
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface iSiteMenuThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
closeTextColor?: tTextColorProps;
|
|
@@ -11,7 +11,7 @@ export interface iSiteMenuThemeColor {
|
|
|
11
11
|
iconClose?: ReactNode;
|
|
12
12
|
iconCloseBgFill?: tFillProps;
|
|
13
13
|
iconCloseFill?: tFillProps;
|
|
14
|
-
iconCloseSize?:
|
|
14
|
+
iconCloseSize?: tIconSizeProps;
|
|
15
15
|
}
|
|
16
16
|
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
17
17
|
export type siteMenuAppearanceType = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode, type Ref } from 'react';
|
|
2
2
|
import { SwiperClass, type SwiperRef } from 'swiper/react';
|
|
3
3
|
import { SwiperModule, SwiperOptions } from 'swiper/types';
|
|
4
|
+
import { tAlignDirectionProps, tAlignProps, tFillProps, tShapeProps, tTextColorProps, tTextWeightProps, tTitleSizeProps } from 'types';
|
|
4
5
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
5
|
-
import { tAlignDirectionProps, tAlignProps, tFillProps, titleSizePropsType, tShapeProps, tTextColorProps, tTextWeightProps } from '../../types';
|
|
6
6
|
export interface iSwiperProps extends iStyleAttributes {
|
|
7
7
|
id?: string;
|
|
8
8
|
[key: number | string | symbol]: any;
|
|
@@ -42,7 +42,7 @@ export interface iSwiperProps extends iStyleAttributes {
|
|
|
42
42
|
swiperSlideClass?: string;
|
|
43
43
|
title?: string;
|
|
44
44
|
titleAfter?: ReactNode;
|
|
45
|
-
titleSize?:
|
|
45
|
+
titleSize?: tTitleSizeProps;
|
|
46
46
|
titleTextColor?: tTextColorProps;
|
|
47
47
|
titleWeight?: tTextWeightProps;
|
|
48
48
|
isChangeOnClickSlide?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
1
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
2
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
3
3
|
export interface iSwitchThemeColor {
|
|
4
4
|
size?: string;
|
|
5
5
|
set?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import type { tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderTypeProps, tBorderWidthProps, tDirectionProps, tFillHoverProps, tFillProps, tJustifyContentProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tWidthProps, tWrapProps } from 'types';
|
|
3
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
2
4
|
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import type { borderTypePropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderWidthProps, tDirectionProps, tFillHoverProps, tFillProps, tJustifyContentProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tWidthProps, wrapPropsType } from '../../types';
|
|
4
|
-
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iTabThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
align?: tAlignProps;
|
|
@@ -76,7 +76,7 @@ interface iTabGroupProps extends iStyleAttributes {
|
|
|
76
76
|
align?: tAlignProps;
|
|
77
77
|
alignDirection?: tAlignDirectionProps;
|
|
78
78
|
borderColor?: tBorderColorProps;
|
|
79
|
-
borderType?:
|
|
79
|
+
borderType?: tBorderTypeProps;
|
|
80
80
|
borderWidth?: tBorderWidthProps;
|
|
81
81
|
children?: ReactNode;
|
|
82
82
|
className?: string;
|
|
@@ -87,7 +87,7 @@ interface iTabGroupProps extends iStyleAttributes {
|
|
|
87
87
|
horizontalScroll?: boolean;
|
|
88
88
|
style?: CSSProperties;
|
|
89
89
|
width?: tWidthProps;
|
|
90
|
-
wrap?:
|
|
90
|
+
wrap?: tWrapProps;
|
|
91
91
|
set?: string;
|
|
92
92
|
}
|
|
93
93
|
export type { iTabThemeColor, tTabAppearance, iTabConfig, iTabProps, iTabGroupProps };
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export declare const argTypes: {
|
|
2
|
+
argTypes: {
|
|
3
|
+
children: {
|
|
4
|
+
if: {
|
|
5
|
+
arg: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
isActive: {
|
|
9
|
+
control: string;
|
|
10
|
+
};
|
|
11
|
+
advancedProps: {
|
|
12
|
+
control: string;
|
|
13
|
+
};
|
|
14
|
+
after: {
|
|
15
|
+
if: {
|
|
16
|
+
arg: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
appearance: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: (string | null)[];
|
|
22
|
+
};
|
|
23
|
+
badge: {
|
|
24
|
+
control: string;
|
|
25
|
+
};
|
|
26
|
+
badgeAppearance: {
|
|
27
|
+
control: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
badgeFill: {
|
|
31
|
+
control: string;
|
|
32
|
+
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary"];
|
|
33
|
+
};
|
|
34
|
+
badgeSize: {
|
|
35
|
+
control: string;
|
|
36
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
37
|
+
};
|
|
38
|
+
badgeTextColor: {
|
|
39
|
+
control: string;
|
|
40
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
41
|
+
};
|
|
42
|
+
badgeTextSize: {
|
|
43
|
+
control: string;
|
|
44
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
45
|
+
};
|
|
46
|
+
before: {
|
|
47
|
+
if: {
|
|
48
|
+
arg: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
className: {
|
|
52
|
+
if: {
|
|
53
|
+
arg: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
fill: {
|
|
57
|
+
control: string;
|
|
58
|
+
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary"];
|
|
59
|
+
};
|
|
60
|
+
fillHover: {
|
|
61
|
+
control: string;
|
|
62
|
+
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
63
|
+
};
|
|
64
|
+
href: {
|
|
65
|
+
if: {
|
|
66
|
+
arg: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
labelColor: {
|
|
70
|
+
control: string;
|
|
71
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
72
|
+
};
|
|
73
|
+
labelColorActive: {
|
|
74
|
+
control: string;
|
|
75
|
+
if: {
|
|
76
|
+
arg: string;
|
|
77
|
+
};
|
|
78
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
79
|
+
};
|
|
80
|
+
labelTextColorHover: {
|
|
81
|
+
control: string;
|
|
82
|
+
if: {
|
|
83
|
+
arg: string;
|
|
84
|
+
};
|
|
85
|
+
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
86
|
+
};
|
|
87
|
+
labelTextGradient: {
|
|
88
|
+
control: string;
|
|
89
|
+
if: {
|
|
90
|
+
arg: string;
|
|
91
|
+
};
|
|
92
|
+
options: readonly [undefined, "accent", "primary", "secondary", "tertiary", "surface", "error", "success"];
|
|
93
|
+
};
|
|
94
|
+
labelTextSize: {
|
|
95
|
+
control: string;
|
|
96
|
+
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
97
|
+
};
|
|
98
|
+
labelTextStyle: {
|
|
99
|
+
control: string;
|
|
100
|
+
if: {
|
|
101
|
+
arg: string;
|
|
102
|
+
};
|
|
103
|
+
options: readonly [undefined, "normal", "italic"];
|
|
104
|
+
};
|
|
105
|
+
labelTextWeight: {
|
|
106
|
+
control: string;
|
|
107
|
+
options: readonly [undefined, "normal", "bold", "light", "lighter", "bolder", 100, 200, 300, 400, 500, 600, 700, 800, 900, 950, "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
108
|
+
};
|
|
109
|
+
labelTextWrap: {
|
|
110
|
+
control: string;
|
|
111
|
+
options: readonly [undefined, "wrap", "nowrap"];
|
|
112
|
+
};
|
|
113
|
+
link: {
|
|
114
|
+
if: {
|
|
115
|
+
arg: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
LinkComponent: {
|
|
119
|
+
if: {
|
|
120
|
+
arg: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
linkFill: {
|
|
124
|
+
control: string;
|
|
125
|
+
if: {
|
|
126
|
+
arg: string;
|
|
127
|
+
};
|
|
128
|
+
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary"];
|
|
129
|
+
};
|
|
130
|
+
rel: {
|
|
131
|
+
if: {
|
|
132
|
+
arg: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
shape: {
|
|
136
|
+
control: string;
|
|
137
|
+
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
138
|
+
};
|
|
139
|
+
size: {
|
|
140
|
+
control: string;
|
|
141
|
+
options: string[];
|
|
142
|
+
};
|
|
143
|
+
target: {
|
|
144
|
+
if: {
|
|
145
|
+
arg: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
type: {
|
|
149
|
+
if: {
|
|
150
|
+
arg: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
underline: {
|
|
154
|
+
control: string;
|
|
155
|
+
if: {
|
|
156
|
+
arg: string;
|
|
157
|
+
};
|
|
158
|
+
options: readonly [undefined, "none", "underline"];
|
|
159
|
+
};
|
|
160
|
+
onClick: {
|
|
161
|
+
if: {
|
|
162
|
+
arg: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
onMouseEnter: {
|
|
166
|
+
if: {
|
|
167
|
+
arg: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
+
import type { tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tTypeProps, tWidthProps } from 'types';
|
|
3
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
2
4
|
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import type { tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tWidthProps, typePropsType } from '../../types';
|
|
4
|
-
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iTextThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
size?: tSizeProps;
|
|
@@ -50,7 +50,7 @@ interface iTextProps extends iTextThemeColor, iStyleAttributes {
|
|
|
50
50
|
textWeightMobile?: tTextWeightProps;
|
|
51
51
|
textWeightTablet?: tTextWeightProps;
|
|
52
52
|
textWrap?: tTextWrapProps;
|
|
53
|
-
type?:
|
|
53
|
+
type?: tTypeProps;
|
|
54
54
|
onClick?: () => void;
|
|
55
55
|
onDoubleClick?: () => void;
|
|
56
56
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { tBorderColorHoverProps, tBorderColorProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from 'types';
|
|
2
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
3
|
+
import { tStateKeysDefault } from 'types/componentProps/stateKeys';
|
|
1
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
2
|
-
import { borderColorHoverPropsType, tBorderColorProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
3
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
|
-
import { tStateKeysDefault } from '../../types/componentProps/stateKeys';
|
|
5
5
|
export interface iTextareaThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
borderColor?: tBorderColorProps;
|
|
8
|
-
borderHover?:
|
|
8
|
+
borderHover?: tBorderColorHoverProps;
|
|
9
9
|
caret?: tItemColorProps;
|
|
10
10
|
fill?: tFillProps;
|
|
11
11
|
placeholderTextColor?: tTextColorProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { tAlignDirectionProps, tAlignProps, tBorderColorHoverProps, tBorderColorProps, tBorderTypeProps, tBorderWidthProps, tDirectionProps, tFillProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps, tTitleSizeProps } from 'types';
|
|
3
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
2
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderColorHoverPropsType, borderTypePropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderWidthProps, tDirectionProps, tFillProps, titleSizePropsType, tShapeProps, tSizeProps, tTextAlignProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps } from '../../types';
|
|
4
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface iTileThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
borderColor?: tBorderColorProps;
|
|
@@ -10,7 +10,7 @@ export interface iTileThemeColor {
|
|
|
10
10
|
textColor?: tTextColorProps;
|
|
11
11
|
textSize?: tTextSizeProps;
|
|
12
12
|
titleTextColor?: tTextColorProps;
|
|
13
|
-
titleTextSize?:
|
|
13
|
+
titleTextSize?: tTitleSizeProps;
|
|
14
14
|
}
|
|
15
15
|
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
16
16
|
export type tileAppearanceType = {
|
|
@@ -33,8 +33,8 @@ export interface iTileProps extends iTileThemeColor, iStyleAttributes {
|
|
|
33
33
|
badgeTextColor?: tTextColorProps;
|
|
34
34
|
badgeTextSize?: tTextSizeProps;
|
|
35
35
|
before?: ReactNode;
|
|
36
|
-
borderColorHover?:
|
|
37
|
-
borderType?:
|
|
36
|
+
borderColorHover?: tBorderColorHoverProps;
|
|
37
|
+
borderType?: tBorderTypeProps;
|
|
38
38
|
borderWidth?: tBorderWidthProps;
|
|
39
39
|
children?: ReactNode;
|
|
40
40
|
className?: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
+
import { tFillProps, tSvgFillProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tTitleSizeProps } from 'types';
|
|
3
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
2
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { svgFillPropsType, tFillProps, titleSizePropsType, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextStyleProps, tTextWeightProps, tTextWrapProps } from '../../types';
|
|
4
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iTitleThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
fill?: tFillProps;
|
|
8
|
-
size?:
|
|
9
|
-
sizeDesktop?:
|
|
10
|
-
sizeMobile?:
|
|
11
|
-
sizeTablet?:
|
|
12
|
-
svgFill?:
|
|
13
|
-
svgFillHover?:
|
|
8
|
+
size?: tTitleSizeProps;
|
|
9
|
+
sizeDesktop?: tTitleSizeProps;
|
|
10
|
+
sizeMobile?: tTitleSizeProps;
|
|
11
|
+
sizeTablet?: tTitleSizeProps;
|
|
12
|
+
svgFill?: tSvgFillProps;
|
|
13
|
+
svgFillHover?: tSvgFillProps;
|
|
14
14
|
textColor?: tTextColorProps;
|
|
15
15
|
textColorActive?: tTextColorActiveProps;
|
|
16
16
|
textColorHover?: tTextColorHoverProps;
|