@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
|
@@ -1,88 +1,76 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
+
import { tAlignDirectionProps, tBorderColorProps, tBorderTypeProps, tDirectionProps, tFillHoverProps, tFillProps, tFlexAlignProps, tFlexJustifyContentProps, tFlexWrapProps, tHorizontalResizeModeProps, tPositionProps, tShapeProps, tWidthProps } from 'types';
|
|
2
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderTypePropsType, flexAlignPropsType, flexJustifyContentPropsType, flexWrapPropsType, horizontalResizeModePropsType, positionPropsType, tAlignDirectionProps, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tShapeProps, tWidthProps } from '../../types';
|
|
4
4
|
export interface iFlexProps extends iStyleAttributes {
|
|
5
|
+
id?: number | string;
|
|
5
6
|
[key: number | string | symbol]: any;
|
|
7
|
+
alignContent?: tFlexJustifyContentProps;
|
|
8
|
+
alignContentDesktop?: tFlexJustifyContentProps;
|
|
9
|
+
alignContentMobile?: tFlexJustifyContentProps;
|
|
10
|
+
alignContentTablet?: tFlexJustifyContentProps;
|
|
11
|
+
alignItems?: tFlexAlignProps;
|
|
12
|
+
alignItemsDesktop?: tFlexAlignProps;
|
|
13
|
+
alignItemsMobile?: tFlexAlignProps;
|
|
14
|
+
alignItemsTablet?: tFlexAlignProps;
|
|
15
|
+
border?: tBorderColorProps;
|
|
16
|
+
borderType?: tBorderTypeProps;
|
|
6
17
|
children?: ReactNode;
|
|
7
18
|
className?: string;
|
|
8
|
-
id?: number | string;
|
|
9
|
-
style?: CSSProperties;
|
|
10
|
-
tag?: ElementType;
|
|
11
|
-
type?: string;
|
|
12
|
-
onClick?: () => void;
|
|
13
|
-
alignContent?: flexJustifyContentPropsType;
|
|
14
|
-
alignItems?: flexAlignPropsType;
|
|
15
|
-
border?: tBorderColorProps;
|
|
16
|
-
borderType?: borderTypePropsType;
|
|
17
19
|
direction?: tAlignDirectionProps;
|
|
18
|
-
fill?: tFillProps;
|
|
19
|
-
flow?: string;
|
|
20
|
-
justifyContent?: flexJustifyContentPropsType;
|
|
21
|
-
position?: positionPropsType;
|
|
22
|
-
shape?: tShapeProps;
|
|
23
|
-
width?: tWidthProps;
|
|
24
|
-
wrap?: flexWrapPropsType;
|
|
25
|
-
gapWrapper?: string;
|
|
26
|
-
maxWidthWrapper?: string;
|
|
27
|
-
alignContentDesktop?: flexJustifyContentPropsType;
|
|
28
|
-
alignContentMobile?: flexJustifyContentPropsType;
|
|
29
|
-
alignContentTablet?: flexJustifyContentPropsType;
|
|
30
|
-
alignItemsDesktop?: flexAlignPropsType;
|
|
31
|
-
alignItemsMobile?: flexAlignPropsType;
|
|
32
|
-
alignItemsTablet?: flexAlignPropsType;
|
|
33
20
|
directionDesktop?: tAlignDirectionProps;
|
|
34
21
|
directionMobile?: tAlignDirectionProps;
|
|
35
22
|
directionTablet?: tAlignDirectionProps;
|
|
23
|
+
fill?: tFillProps;
|
|
36
24
|
fillDesktop?: tFillProps;
|
|
37
25
|
fillMobile?: tFillProps;
|
|
38
26
|
fillTablet?: tFillProps;
|
|
27
|
+
flow?: string;
|
|
39
28
|
flowDesktop?: string;
|
|
40
29
|
flowMobile?: string;
|
|
41
30
|
flowTablet?: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
31
|
+
gapWrapper?: string;
|
|
32
|
+
justifyContent?: tFlexJustifyContentProps;
|
|
33
|
+
justifyContentDesktop?: tFlexJustifyContentProps;
|
|
34
|
+
justifyContentMobile?: tFlexJustifyContentProps;
|
|
35
|
+
justifyContentTablet?: tFlexJustifyContentProps;
|
|
36
|
+
justifyItems?: tFlexAlignProps;
|
|
37
|
+
justifyItemsDesktop?: tFlexAlignProps;
|
|
38
|
+
justifyItemsMobile?: tFlexAlignProps;
|
|
39
|
+
justifyItemsTablet?: tFlexAlignProps;
|
|
40
|
+
maxWidthWrapper?: string;
|
|
41
|
+
position?: tPositionProps;
|
|
42
|
+
positionDesktop?: tPositionProps;
|
|
43
|
+
positionMobile?: tPositionProps;
|
|
44
|
+
positionTablet?: tPositionProps;
|
|
45
|
+
shape?: tShapeProps;
|
|
52
46
|
shapeDesktop?: tShapeProps;
|
|
53
47
|
shapeMobile?: tShapeProps;
|
|
54
48
|
shapeTablet?: tShapeProps;
|
|
49
|
+
style?: CSSProperties;
|
|
50
|
+
tag?: ElementType;
|
|
51
|
+
type?: string;
|
|
52
|
+
width?: tWidthProps;
|
|
55
53
|
widthDesktop?: tWidthProps;
|
|
56
54
|
widthMobile?: tWidthProps;
|
|
57
55
|
widthTablet?: tWidthProps;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
wrap?: tFlexWrapProps;
|
|
57
|
+
wrapDesktop?: tFlexWrapProps;
|
|
58
|
+
wrapMobile?: tFlexWrapProps;
|
|
59
|
+
wrapTablet?: tFlexWrapProps;
|
|
60
|
+
onClick?: () => void;
|
|
61
61
|
}
|
|
62
62
|
export interface iFlexItemProps extends iStyleAttributes {
|
|
63
63
|
[key: number | string | symbol]: any;
|
|
64
|
+
alignItems?: tFlexAlignProps;
|
|
65
|
+
alignItemsDesktop?: tFlexAlignProps;
|
|
66
|
+
alignItemsMobile?: tFlexAlignProps;
|
|
67
|
+
alignItemsTablet?: tFlexAlignProps;
|
|
68
|
+
alignSelf?: tFlexAlignProps;
|
|
69
|
+
alignSelfDesktop?: tFlexAlignProps;
|
|
70
|
+
alignSelfMobile?: tFlexAlignProps;
|
|
71
|
+
alignSelfTablet?: tFlexAlignProps;
|
|
64
72
|
children?: ReactNode;
|
|
65
73
|
className?: string;
|
|
66
|
-
htmlFor?: string;
|
|
67
|
-
style?: CSSProperties;
|
|
68
|
-
tag?: ElementType;
|
|
69
|
-
alignItems?: flexAlignPropsType;
|
|
70
|
-
alignSelf?: flexAlignPropsType;
|
|
71
|
-
direction?: tDirectionProps;
|
|
72
|
-
fill?: tFillProps;
|
|
73
|
-
fillHover?: tFillHoverProps;
|
|
74
|
-
grow?: number;
|
|
75
|
-
justifyContent?: flexJustifyContentPropsType;
|
|
76
|
-
position?: positionPropsType;
|
|
77
|
-
shape?: tShapeProps;
|
|
78
|
-
width?: horizontalResizeModePropsType;
|
|
79
|
-
wrap?: flexWrapPropsType;
|
|
80
|
-
alignItemsDesktop?: flexAlignPropsType;
|
|
81
|
-
alignItemsMobile?: flexAlignPropsType;
|
|
82
|
-
alignItemsTablet?: flexAlignPropsType;
|
|
83
|
-
alignSelfDesktop?: flexAlignPropsType;
|
|
84
|
-
alignSelfMobile?: flexAlignPropsType;
|
|
85
|
-
alignSelfTablet?: flexAlignPropsType;
|
|
86
74
|
columnEnd?: number;
|
|
87
75
|
columnEndDesktop?: number;
|
|
88
76
|
columnEndMobile?: number;
|
|
@@ -95,28 +83,40 @@ export interface iFlexItemProps extends iStyleAttributes {
|
|
|
95
83
|
columnStartDesktop?: number;
|
|
96
84
|
columnStartMobile?: number;
|
|
97
85
|
columnStartTablet?: number;
|
|
86
|
+
direction?: tDirectionProps;
|
|
98
87
|
directionDesktop?: tDirectionProps;
|
|
99
88
|
directionMobile?: tDirectionProps;
|
|
100
89
|
directionTablet?: tDirectionProps;
|
|
90
|
+
fill?: tFillProps;
|
|
101
91
|
fillDesktop?: tFillProps;
|
|
92
|
+
fillHover?: tFillHoverProps;
|
|
102
93
|
fillMobile?: tFillProps;
|
|
103
94
|
fillTablet?: tFillProps;
|
|
95
|
+
grow?: number;
|
|
104
96
|
growDesktop?: number;
|
|
105
97
|
growMobile?: number;
|
|
106
98
|
growTablet?: number;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
99
|
+
htmlFor?: string;
|
|
100
|
+
justifyContent?: tFlexJustifyContentProps;
|
|
101
|
+
justifyContentDesktop?: tFlexJustifyContentProps;
|
|
102
|
+
justifyContentMobile?: tFlexJustifyContentProps;
|
|
103
|
+
justifyContentTablet?: tFlexJustifyContentProps;
|
|
104
|
+
position?: tPositionProps;
|
|
105
|
+
positionDesktop?: tPositionProps;
|
|
106
|
+
positionMobile?: tPositionProps;
|
|
107
|
+
positionTablet?: tPositionProps;
|
|
108
|
+
shape?: tShapeProps;
|
|
113
109
|
shapeDesktop?: tShapeProps;
|
|
114
110
|
shapeMobile?: tShapeProps;
|
|
115
111
|
shapeTablet?: tShapeProps;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
112
|
+
style?: CSSProperties;
|
|
113
|
+
tag?: ElementType;
|
|
114
|
+
width?: tHorizontalResizeModeProps;
|
|
115
|
+
widthDesktop?: tHorizontalResizeModeProps;
|
|
116
|
+
widthMobile?: tHorizontalResizeModeProps;
|
|
117
|
+
widthTablet?: tHorizontalResizeModeProps;
|
|
118
|
+
wrap?: tFlexWrapProps;
|
|
119
|
+
wrapDesktop?: tFlexWrapProps;
|
|
120
|
+
wrapMobile?: tFlexWrapProps;
|
|
121
|
+
wrapTablet?: tFlexWrapProps;
|
|
122
122
|
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const parameters: {
|
|
2
|
+
controls: {
|
|
3
|
+
exclude: string[];
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export declare const argTypes: {
|
|
7
|
+
id: {
|
|
8
|
+
control: string;
|
|
9
|
+
if: {
|
|
10
|
+
arg: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
justifyContent: {
|
|
14
|
+
control: string;
|
|
15
|
+
options: readonly ["flex-start", "flex-end", "center", "space-between", "space-around", "space-evenly"];
|
|
16
|
+
};
|
|
17
|
+
alignItems: {
|
|
18
|
+
control: string;
|
|
19
|
+
options: readonly [undefined, "stretch", "flex-start", "flex-end", "center", "baseline", "auto"];
|
|
20
|
+
};
|
|
21
|
+
position: {
|
|
22
|
+
control: string;
|
|
23
|
+
options: readonly ["static", "absolute", "relative", "fixed", "inherit"];
|
|
24
|
+
};
|
|
25
|
+
direction: {
|
|
26
|
+
control: string;
|
|
27
|
+
options: readonly [undefined, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
28
|
+
};
|
|
29
|
+
advancedProps: {
|
|
30
|
+
control: string;
|
|
31
|
+
value: boolean;
|
|
32
|
+
};
|
|
33
|
+
alignContent: {
|
|
34
|
+
control: string;
|
|
35
|
+
options: readonly ["flex-start", "flex-end", "center", "space-between", "space-around", "space-evenly"];
|
|
36
|
+
};
|
|
37
|
+
className: {
|
|
38
|
+
control: string;
|
|
39
|
+
if: {
|
|
40
|
+
arg: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
fill: {
|
|
44
|
+
control: string;
|
|
45
|
+
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"];
|
|
46
|
+
};
|
|
47
|
+
flow: {
|
|
48
|
+
control: string;
|
|
49
|
+
if: {
|
|
50
|
+
arg: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
shape: {
|
|
54
|
+
control: string;
|
|
55
|
+
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
56
|
+
};
|
|
57
|
+
tag: {
|
|
58
|
+
control: string;
|
|
59
|
+
if: {
|
|
60
|
+
arg: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type: {
|
|
64
|
+
control: string;
|
|
65
|
+
if: {
|
|
66
|
+
arg: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
wrap: {
|
|
70
|
+
control: string;
|
|
71
|
+
description: string;
|
|
72
|
+
options: readonly [undefined, "wrap", "nowrap", "wrap-reverse"];
|
|
73
|
+
};
|
|
74
|
+
onClick: {
|
|
75
|
+
control: string;
|
|
76
|
+
if: {
|
|
77
|
+
arg: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
import { tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tGridAlignProps, tGridAlignSelfProps, tGridJustifyItemsProps, tGridJustifySelfProps, tHorizontalResizeModeProps, tShapeProps, tVerticalResizeModeProps } from 'types';
|
|
2
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { gridAlignPropsType, gridAlignSelfPropsType, gridJustifyItemsPropsType, gridJustifySelfPropsType, horizontalResizeModePropsType, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tShapeProps, verticalResizeModePropsType } from '../../types';
|
|
4
4
|
export interface iGridBaseThemeColor extends iStyleAttributes {
|
|
5
|
-
alignSelf?:
|
|
6
|
-
alignSelfDesktop?:
|
|
7
|
-
alignSelfMobile?:
|
|
8
|
-
alignSelfTablet?:
|
|
5
|
+
alignSelf?: tGridAlignSelfProps;
|
|
6
|
+
alignSelfDesktop?: tGridAlignSelfProps;
|
|
7
|
+
alignSelfMobile?: tGridAlignSelfProps;
|
|
8
|
+
alignSelfTablet?: tGridAlignSelfProps;
|
|
9
9
|
columnEnd?: string;
|
|
10
10
|
columnEndDesktop?: string;
|
|
11
11
|
columnEndMobile?: string;
|
|
@@ -27,10 +27,10 @@ export interface iGridBaseThemeColor extends iStyleAttributes {
|
|
|
27
27
|
fillTablet?: tFillProps;
|
|
28
28
|
gap?: string;
|
|
29
29
|
gridTemplateColumns?: string;
|
|
30
|
-
justifySelf?:
|
|
31
|
-
justifySelfDesktop?:
|
|
32
|
-
justifySelfMobile?:
|
|
33
|
-
justifySelfTablet?:
|
|
30
|
+
justifySelf?: tGridJustifySelfProps;
|
|
31
|
+
justifySelfDesktop?: tGridJustifySelfProps;
|
|
32
|
+
justifySelfMobile?: tGridJustifySelfProps;
|
|
33
|
+
justifySelfTablet?: tGridJustifySelfProps;
|
|
34
34
|
order?: string;
|
|
35
35
|
orderDesktop?: string;
|
|
36
36
|
orderMobile?: string;
|
|
@@ -54,37 +54,35 @@ export interface iGridBaseThemeColor extends iStyleAttributes {
|
|
|
54
54
|
zIndexTablet?: string;
|
|
55
55
|
}
|
|
56
56
|
export interface iGridItemProps extends iGridBaseThemeColor {
|
|
57
|
-
[key: number | string | symbol]: any;
|
|
58
57
|
id?: string;
|
|
58
|
+
[key: number | string | symbol]: any;
|
|
59
59
|
children?: ReactNode;
|
|
60
60
|
className?: string;
|
|
61
61
|
dataTour?: string;
|
|
62
|
-
style?: CSSProperties;
|
|
63
62
|
onClick?: () => void;
|
|
64
63
|
}
|
|
65
64
|
export interface iGridRowProps extends iGridBaseThemeColor {
|
|
66
|
-
[key: number | string | symbol]: any;
|
|
67
65
|
id?: string;
|
|
66
|
+
[key: number | string | symbol]: any;
|
|
68
67
|
children?: ReactNode;
|
|
69
68
|
className?: string;
|
|
70
69
|
dataTour?: string;
|
|
71
70
|
htmlFor?: string;
|
|
72
|
-
|
|
73
|
-
tag: ElementType;
|
|
71
|
+
tag?: ElementType;
|
|
74
72
|
onClick?: () => void;
|
|
75
73
|
}
|
|
76
74
|
export interface iGridProps extends iStyleAttributes {
|
|
77
|
-
[key: number | string | symbol]: any;
|
|
78
75
|
id?: string;
|
|
76
|
+
[key: number | string | symbol]: any;
|
|
79
77
|
after?: ReactNode;
|
|
80
|
-
alignContent?:
|
|
81
|
-
alignContentDesktop?:
|
|
82
|
-
alignContentMobile?:
|
|
83
|
-
alignContentTablet?:
|
|
84
|
-
alignItems?:
|
|
85
|
-
alignItemsDesktop?:
|
|
86
|
-
alignItemsMobile?:
|
|
87
|
-
alignItemsTablet?:
|
|
78
|
+
alignContent?: tGridAlignProps;
|
|
79
|
+
alignContentDesktop?: tGridAlignProps;
|
|
80
|
+
alignContentMobile?: tGridAlignProps;
|
|
81
|
+
alignContentTablet?: tGridAlignProps;
|
|
82
|
+
alignItems?: tGridAlignProps;
|
|
83
|
+
alignItemsDesktop?: tGridAlignProps;
|
|
84
|
+
alignItemsMobile?: tGridAlignProps;
|
|
85
|
+
alignItemsTablet?: tGridAlignProps;
|
|
88
86
|
before?: ReactNode;
|
|
89
87
|
borderColor?: tBorderColorProps;
|
|
90
88
|
children?: ReactNode;
|
|
@@ -110,16 +108,16 @@ export interface iGridProps extends iStyleAttributes {
|
|
|
110
108
|
gridBackgroundWrapperDesktop?: string;
|
|
111
109
|
gridBackgroundWrapperMobile?: string;
|
|
112
110
|
gridBackgroundWrapperTablet?: string;
|
|
113
|
-
horizontalResizing?:
|
|
111
|
+
horizontalResizing?: tHorizontalResizeModeProps;
|
|
114
112
|
horizontalScroll?: boolean;
|
|
115
113
|
justifyContent?: string;
|
|
116
114
|
justifyContentDesktop?: string;
|
|
117
115
|
justifyContentMobile?: string;
|
|
118
116
|
justifyContentTablet?: string;
|
|
119
|
-
justifyItems?:
|
|
120
|
-
justifyItemsDesktop?:
|
|
121
|
-
justifyItemsMobile?:
|
|
122
|
-
justifyItemsTablet?:
|
|
117
|
+
justifyItems?: tGridJustifyItemsProps;
|
|
118
|
+
justifyItemsDesktop?: tGridJustifyItemsProps;
|
|
119
|
+
justifyItemsMobile?: tGridJustifyItemsProps;
|
|
120
|
+
justifyItemsTablet?: tGridJustifyItemsProps;
|
|
123
121
|
rowGap?: string;
|
|
124
122
|
rowGapDesktop?: string;
|
|
125
123
|
rowGapMobile?: string;
|
|
@@ -136,10 +134,9 @@ export interface iGridProps extends iStyleAttributes {
|
|
|
136
134
|
shapeWrapperInnerTablet?: tShapeProps;
|
|
137
135
|
shapeWrapperMobile?: tShapeProps;
|
|
138
136
|
shapeWrapperTablet?: tShapeProps;
|
|
139
|
-
|
|
140
|
-
tag: ElementType;
|
|
137
|
+
tag?: ElementType;
|
|
141
138
|
type?: string;
|
|
142
139
|
useGridSystem?: boolean;
|
|
143
|
-
verticalResizing?:
|
|
140
|
+
verticalResizing?: tVerticalResizeModeProps;
|
|
144
141
|
onClick?: () => void;
|
|
145
142
|
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const parameters: {
|
|
2
|
+
controls: {
|
|
3
|
+
exclude: string[];
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export declare const argTypes: {
|
|
7
|
+
id: {
|
|
8
|
+
if: {
|
|
9
|
+
arg: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
justifyContent: {
|
|
13
|
+
control: string;
|
|
14
|
+
options: (string | null)[];
|
|
15
|
+
};
|
|
16
|
+
alignItems: {
|
|
17
|
+
control: string;
|
|
18
|
+
options: readonly [undefined, "auto", "normal", "stretch", "center", "start", "end", "space-around", "space-between", "space-evenly", "safe center", "unsafe center", "self-start", "self-end", "first", "baseline", "first baseline", "last baseline"];
|
|
19
|
+
};
|
|
20
|
+
borderColor: {
|
|
21
|
+
control: string;
|
|
22
|
+
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"];
|
|
23
|
+
};
|
|
24
|
+
advancedProps: {
|
|
25
|
+
control: string;
|
|
26
|
+
};
|
|
27
|
+
after: {
|
|
28
|
+
if: {
|
|
29
|
+
arg: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
alignContent: {
|
|
33
|
+
control: string;
|
|
34
|
+
options: readonly [undefined, "auto", "normal", "stretch", "center", "start", "end", "space-around", "space-between", "space-evenly", "safe center", "unsafe center", "self-start", "self-end", "first", "baseline", "first baseline", "last baseline"];
|
|
35
|
+
};
|
|
36
|
+
before: {
|
|
37
|
+
if: {
|
|
38
|
+
arg: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
className: {
|
|
42
|
+
if: {
|
|
43
|
+
arg: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
columns: {
|
|
47
|
+
control: {
|
|
48
|
+
max: number;
|
|
49
|
+
min: number;
|
|
50
|
+
step: number;
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
fill: {
|
|
55
|
+
control: string;
|
|
56
|
+
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"];
|
|
57
|
+
};
|
|
58
|
+
justifyItems: {
|
|
59
|
+
control: string;
|
|
60
|
+
options: readonly [undefined, "legacy", "normal", "stretch", "center", "safe", "center", "unsafe", "center", "start", "end", "self-start", "self-end", "left", "right", "first", "baseline", "first baseline", "last baseline"];
|
|
61
|
+
};
|
|
62
|
+
rows: {
|
|
63
|
+
control: {
|
|
64
|
+
max: number;
|
|
65
|
+
min: number;
|
|
66
|
+
step: number;
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
tag: {
|
|
71
|
+
if: {
|
|
72
|
+
arg: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
type: {
|
|
76
|
+
if: {
|
|
77
|
+
arg: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
useGridSystem: {
|
|
81
|
+
if: {
|
|
82
|
+
arg: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
onClick: {
|
|
86
|
+
if: {
|
|
87
|
+
arg: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
+
import { tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderTypeProps, tDirectionProps, tElevationProps, tFillHoverProps, tFillProps, tFlexGrowProps, tHeightProps, tItemColorProps, tJustifyContentProps, tShapeProps, tStackingProps, tTextColorProps, tWidthProps, tWrapProps } from 'types';
|
|
3
|
+
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
2
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderTypePropsType, elevationPropsType, flexGrowPropsType, stackingPropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tItemColorProps, tJustifyContentProps, tShapeProps, tTextColorProps, tWidthProps, wrapPropsType } from '../../types';
|
|
4
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface ThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
border?: string;
|
|
@@ -28,16 +28,16 @@ export interface iGroupProps extends iStyleAttributes {
|
|
|
28
28
|
alignDirection?: tAlignDirectionProps;
|
|
29
29
|
appearance?: tAppearanceKeys;
|
|
30
30
|
borderColor?: tBorderColorProps;
|
|
31
|
-
borderType?:
|
|
31
|
+
borderType?: tBorderTypeProps;
|
|
32
32
|
children?: ReactNode;
|
|
33
33
|
className?: string;
|
|
34
34
|
columns?: number;
|
|
35
35
|
dataTour?: string;
|
|
36
36
|
direction?: tDirectionProps;
|
|
37
|
-
elevation?:
|
|
37
|
+
elevation?: tElevationProps;
|
|
38
38
|
fill?: tFillProps;
|
|
39
39
|
fillHover?: tFillHoverProps;
|
|
40
|
-
flexGrow?:
|
|
40
|
+
flexGrow?: tFlexGrowProps;
|
|
41
41
|
height?: tHeightProps;
|
|
42
42
|
horizontalScroll?: boolean;
|
|
43
43
|
htmlFor?: string;
|
|
@@ -45,11 +45,11 @@ export interface iGroupProps extends iStyleAttributes {
|
|
|
45
45
|
justifyContent?: tJustifyContentProps;
|
|
46
46
|
name?: string;
|
|
47
47
|
shape?: tShapeProps;
|
|
48
|
-
stacking?:
|
|
48
|
+
stacking?: tStackingProps;
|
|
49
49
|
style?: CSSProperties;
|
|
50
50
|
tag?: ElementType;
|
|
51
51
|
width?: tWidthProps;
|
|
52
|
-
wrap?:
|
|
52
|
+
wrap?: tWrapProps;
|
|
53
53
|
isTextHover?: boolean;
|
|
54
54
|
onClick?: () => void;
|
|
55
55
|
set?: string;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export declare const argTypes: {
|
|
2
|
+
id: {
|
|
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
|
+
direction: {
|
|
12
|
+
control: string;
|
|
13
|
+
options: readonly [undefined, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
14
|
+
};
|
|
15
|
+
advancedProps: {
|
|
16
|
+
control: string;
|
|
17
|
+
};
|
|
18
|
+
className: {
|
|
19
|
+
if: {
|
|
20
|
+
arg: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
columns: {
|
|
24
|
+
control: {
|
|
25
|
+
max: number;
|
|
26
|
+
min: number;
|
|
27
|
+
step: number;
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
contentAlign: {
|
|
32
|
+
if: {
|
|
33
|
+
arg: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
fill: {
|
|
37
|
+
control: string;
|
|
38
|
+
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"];
|
|
39
|
+
};
|
|
40
|
+
htmlFor: {
|
|
41
|
+
if: {
|
|
42
|
+
arg: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
set: {
|
|
46
|
+
if: {
|
|
47
|
+
arg: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
shape: {
|
|
51
|
+
control: string;
|
|
52
|
+
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
53
|
+
};
|
|
54
|
+
spaceBetweenItems: {
|
|
55
|
+
if: {
|
|
56
|
+
arg: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
stacking: {
|
|
60
|
+
if: {
|
|
61
|
+
arg: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
tag: {
|
|
65
|
+
if: {
|
|
66
|
+
arg: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
wrap: {
|
|
70
|
+
control: string;
|
|
71
|
+
options: readonly [undefined, "wrap", "no-wrap", "nowrap", "wrap-reverse"];
|
|
72
|
+
};
|
|
73
|
+
onClick: {
|
|
74
|
+
if: {
|
|
75
|
+
arg: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderTypeProps, tDirectionProps, tElevationProps, tFillHoverProps, tFillProps, tFlexGrowProps, tHeightProps, tJustifyContentProps, tShapeProps, tTextColorProps, tTextWeightProps, tWidthProps, tWrapProps } from 'types';
|
|
2
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderTypePropsType, elevationPropsType, flexGrowPropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tJustifyContentProps, tShapeProps, tTextColorProps, tTextWeightProps, tWidthProps, wrapPropsType } from '../../types';
|
|
4
4
|
export interface iHTMLContentProps extends iStyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
align?: tAlignProps;
|
|
7
7
|
alignDirection?: tAlignDirectionProps;
|
|
8
8
|
border?: tBorderColorProps;
|
|
9
9
|
borderColor?: tBorderColorProps;
|
|
10
|
-
borderType?:
|
|
10
|
+
borderType?: tBorderTypeProps;
|
|
11
11
|
borderWidth?: string;
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
className?: string;
|
|
@@ -15,10 +15,10 @@ export interface iHTMLContentProps extends iStyleAttributes {
|
|
|
15
15
|
content?: any;
|
|
16
16
|
dataTour?: string;
|
|
17
17
|
direction?: tDirectionProps;
|
|
18
|
-
elevation?:
|
|
18
|
+
elevation?: tElevationProps;
|
|
19
19
|
fill?: tFillProps;
|
|
20
20
|
fillHover?: tFillHoverProps;
|
|
21
|
-
flexGrow?:
|
|
21
|
+
flexGrow?: tFlexGrowProps;
|
|
22
22
|
height?: tHeightProps;
|
|
23
23
|
justifyContent?: tJustifyContentProps;
|
|
24
24
|
shape?: tShapeProps;
|
|
@@ -26,6 +26,6 @@ export interface iHTMLContentProps extends iStyleAttributes {
|
|
|
26
26
|
textColor?: tTextColorProps;
|
|
27
27
|
textWeight?: tTextWeightProps;
|
|
28
28
|
width?: tWidthProps;
|
|
29
|
-
wrap?:
|
|
29
|
+
wrap?: tWrapProps;
|
|
30
30
|
onClick?: () => void;
|
|
31
31
|
}
|