@itcase/ui 1.1.7 → 1.1.8
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/{Accordion-JS45IVx7.js → Accordion-CqPVnTKh.js} +3 -34
- package/dist/Avatar-diLCwtnd.js +49 -0
- package/dist/{Breadcrumbs-KOoMbWmP.js → Breadcrumbs-B79kOtMG.js} +3 -3
- package/dist/Button-B7vbiqrJ.js +100 -0
- package/dist/{ContextMenuItem-CF5L8xev.js → ContextMenuItem-BPqsjmSA.js} +3 -3
- package/dist/Divider-BlBwMHgl.js +45 -0
- package/dist/Dot-C3R1y59u.js +34 -0
- package/dist/{DropdownItem-C0gYXEq6.js → DropdownItem-Dgf0LRhx.js} +3 -3
- package/dist/{FlexItem-DHynUt6v.js → FlexItem-DzNgFIa0.js} +1 -1
- package/dist/GridRow-Cc-rz56R.js +158 -0
- package/dist/{Group-DhYXDvAJ.js → Group-fbVPmr8W.js} +12 -20
- package/dist/Icon-Dn2eEZvb.js +128 -0
- package/dist/Link-ByBzBRDH.js +132 -0
- package/dist/{ListItem-DYbK4_8c.js → ListItem-Cf8r3w8t.js} +1 -1
- package/dist/NotificationList-CJyEnxWw.js +38 -0
- package/dist/{SearchResult-DNPmzvp8.js → SearchResult-erxB06IL.js} +2 -2
- package/dist/{SelectField-uEsQcoxF.js → SelectField-CpQMWXaC.js} +3 -3
- package/dist/{SiteMenuButton-DE_hCJUV.js → SiteMenuButton-BFmti8pF.js} +2 -2
- package/dist/{TabGroup-CCR5jORT.js → TabGroup-CjmtgOMw.js} +3 -3
- package/dist/{Text-DffpwlYq.js → Text-BcGbRc14.js} +7 -13
- package/dist/cjs/{Accordion-BDTE-Lkj.js → Accordion-DcZ9P5kP.js} +5 -36
- package/dist/cjs/Avatar-DQ5fNpnO.js +55 -0
- package/dist/cjs/{Breadcrumbs-BV5q8aPJ.js → Breadcrumbs-HubY1qZQ.js} +5 -5
- package/dist/cjs/Button-3GkRq8Pv.js +108 -0
- package/dist/cjs/{ContextMenuItem-C8eg828K.js → ContextMenuItem-DmbSoGn1.js} +6 -6
- package/dist/cjs/Divider-CIYsHYud.js +51 -0
- package/dist/cjs/Dot-vDSigHDs.js +40 -0
- package/dist/cjs/{DropdownItem-DT8iQfVh.js → DropdownItem-Bl-Ghc_6.js} +5 -5
- package/dist/cjs/{FlexItem-CYXxJtYX.js → FlexItem-BnORv6q3.js} +1 -1
- package/dist/cjs/GridRow-mzs0CkNG.js +166 -0
- package/dist/cjs/{Group-DbzIk8kt.js → Group-4zWTDvKx.js} +12 -20
- package/dist/cjs/Icon-UBahY607.js +137 -0
- package/dist/cjs/Link-BoShjCEw.js +142 -0
- package/dist/cjs/{ListItem-CTDoiG0C.js → ListItem-MrHApmF3.js} +2 -2
- package/dist/cjs/NotificationList-DnI8DqyE.js +46 -0
- package/dist/cjs/{SearchResult-CdsV7oDb.js → SearchResult-bTwR5A-g.js} +7 -7
- package/dist/cjs/{SelectField-DVCsVz6q.js → SelectField-BJTu7BXO.js} +11 -11
- package/dist/cjs/{SiteMenuButton-CVdX1ouh.js → SiteMenuButton-BGi0gR1z.js} +3 -3
- package/dist/cjs/{TabGroup-B1LUF9Hg.js → TabGroup-DIWmGIp2.js} +7 -7
- package/dist/cjs/{Text-CfBPhwqK.js → Text-D7Aq1i5R.js} +7 -13
- package/dist/cjs/components/Accordion/Accordion.interface.d.ts +1 -1
- package/dist/cjs/components/Accordion.js +11 -16
- package/dist/cjs/components/Avatar/Avatar.d.ts +13 -0
- package/dist/cjs/components/Avatar/Avatar.interface.d.ts +44 -0
- package/dist/cjs/components/Avatar/index.d.ts +1 -0
- package/dist/cjs/components/Avatar.js +21 -248
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +17 -22
- package/dist/cjs/components/Button/Button.d.ts +5 -0
- package/dist/cjs/components/Button/Button.interface.d.ts +78 -0
- package/dist/cjs/components/Button/index.d.ts +1 -0
- package/dist/cjs/components/Button.js +25 -547
- package/dist/cjs/components/Card.js +1 -1
- package/dist/cjs/components/Cell.js +18 -22
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips.js +4 -4
- package/dist/cjs/components/Choice.js +10 -15
- package/dist/cjs/components/ContextMenu.js +10 -17
- package/dist/cjs/components/CookiesWarning.js +12 -18
- package/dist/cjs/components/DatePicker.js +13 -18
- package/dist/cjs/components/Divider/Divider.d.ts +3 -0
- package/dist/cjs/components/Divider/Divider.interface.d.ts +28 -0
- package/dist/cjs/components/Divider/index.d.ts +1 -0
- package/dist/cjs/components/Divider.js +12 -248
- package/dist/cjs/components/Dot/Dot.d.ts +6 -0
- package/dist/cjs/components/Dot/Dot.interface.d.ts +26 -0
- package/dist/cjs/components/Dot/index.d.ts +1 -0
- package/dist/cjs/components/Dot.js +11 -216
- package/dist/cjs/components/Drawer.js +14 -4
- package/dist/cjs/components/Dropdown.js +7 -13
- package/dist/cjs/components/Flex/Flex.interface.d.ts +5 -3
- package/dist/cjs/components/Flex/index.d.ts +2 -2
- package/dist/cjs/components/Flex.js +1 -1
- package/dist/cjs/components/FormField.js +12 -18
- package/dist/cjs/components/Grid/Grid.d.ts +8 -0
- package/dist/cjs/components/Grid/Grid.interface.d.ts +147 -0
- package/dist/cjs/components/Grid/GridItem.d.ts +3 -0
- package/dist/cjs/components/Grid/GridRow.d.ts +8 -0
- package/dist/cjs/components/Grid/index.d.ts +4 -0
- package/dist/cjs/components/Grid.js +3 -10
- package/dist/cjs/components/Group/Group.interface.d.ts +9 -7
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/Icon/Icon.d.ts +5 -0
- package/dist/cjs/components/Icon/Icon.interface.d.ts +100 -0
- package/dist/cjs/components/Icon/index.d.ts +1 -0
- package/dist/cjs/components/Icon.js +21 -623
- package/dist/cjs/components/Image.js +6 -6
- package/dist/cjs/components/InputPassword.js +14 -19
- package/dist/cjs/components/Label.js +12 -12
- package/dist/cjs/components/LanguageSelector.js +20 -25
- package/dist/cjs/components/Link/Link.d.ts +11 -0
- package/dist/cjs/components/Link/Link.interface.d.ts +57 -0
- package/dist/cjs/components/Link/index.d.ts +1 -0
- package/dist/cjs/components/Link.js +14 -496
- package/dist/cjs/components/List.js +3 -4
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/Logo.js +7 -14
- package/dist/cjs/components/Menu.js +18 -14
- package/dist/cjs/components/MenuItem.js +3 -3
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification/Notification.interface.d.ts +49 -0
- package/dist/cjs/components/Notification/NotificationItem.d.ts +10 -0
- package/dist/cjs/components/Notification/NotificationList.d.ts +3 -0
- package/dist/cjs/components/Notification/index.d.ts +3 -0
- package/dist/cjs/components/Notification.js +6 -7
- package/dist/cjs/components/Pagination.js +26 -27
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/Response.js +15 -18
- package/dist/cjs/components/Search.js +19 -24
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +22 -29
- package/dist/cjs/components/SiteMenu.js +14 -19
- package/dist/cjs/components/Tab.js +8 -8
- package/dist/cjs/components/Text/Text.interface.d.ts +29 -27
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +6 -9
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components.js +138 -145
- package/dist/cjs/context/Notifications.js +1 -0
- package/dist/cjs/context/UIContext.js +1 -0
- package/dist/cjs/hooks/styleAttributes.interface.d.ts +10 -12
- package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -0
- package/dist/cjs/types/componentProps/fill.d.ts +1 -0
- package/dist/cjs/types/componentProps/fillHover.d.ts +1 -0
- package/dist/cjs/types/componentProps/flexGrow.d.ts +1 -0
- package/dist/cjs/{constants-ts → types}/componentProps/iconFillSize.d.ts +1 -1
- package/dist/cjs/types/componentProps/iconSize.d.ts +1 -0
- package/dist/components/Accordion/Accordion.interface.d.ts +1 -1
- package/dist/components/Accordion.js +11 -16
- package/dist/components/Avatar/Avatar.d.ts +13 -0
- package/dist/components/Avatar/Avatar.interface.d.ts +44 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Avatar.js +20 -245
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +17 -22
- package/dist/components/Button/Button.d.ts +5 -0
- package/dist/components/Button/Button.interface.d.ts +78 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button.js +23 -543
- package/dist/components/Card.js +1 -1
- package/dist/components/Cell.js +13 -17
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice.js +9 -14
- package/dist/components/ContextMenu.js +10 -17
- package/dist/components/CookiesWarning.js +11 -17
- package/dist/components/DatePicker.js +9 -14
- package/dist/components/Divider/Divider.d.ts +3 -0
- package/dist/components/Divider/Divider.interface.d.ts +28 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Divider.js +11 -245
- package/dist/components/Dot/Dot.d.ts +6 -0
- package/dist/components/Dot/Dot.interface.d.ts +26 -0
- package/dist/components/Dot/index.d.ts +1 -0
- package/dist/components/Dot.js +10 -213
- package/dist/components/Drawer.js +14 -4
- package/dist/components/Dropdown.js +7 -13
- package/dist/components/Flex/Flex.interface.d.ts +5 -3
- package/dist/components/Flex/index.d.ts +2 -2
- package/dist/components/Flex.js +1 -1
- package/dist/components/FormField.js +12 -18
- package/dist/components/Grid/Grid.d.ts +8 -0
- package/dist/components/Grid/Grid.interface.d.ts +147 -0
- package/dist/components/Grid/GridItem.d.ts +3 -0
- package/dist/components/Grid/GridRow.d.ts +8 -0
- package/dist/components/Grid/index.d.ts +4 -0
- package/dist/components/Grid.js +3 -10
- package/dist/components/Group/Group.interface.d.ts +9 -7
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon/Icon.d.ts +5 -0
- package/dist/components/Icon/Icon.interface.d.ts +100 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Icon.js +19 -618
- package/dist/components/Image.js +6 -6
- package/dist/components/InputPassword.js +13 -18
- package/dist/components/Label.js +12 -12
- package/dist/components/LanguageSelector.js +19 -24
- package/dist/components/Link/Link.d.ts +11 -0
- package/dist/components/Link/Link.interface.d.ts +57 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Link.js +11 -491
- package/dist/components/List.js +3 -4
- package/dist/components/Loader.js +1 -1
- package/dist/components/Logo.js +6 -13
- package/dist/components/Menu.js +18 -14
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification/Notification.interface.d.ts +49 -0
- package/dist/components/Notification/NotificationItem.d.ts +10 -0
- package/dist/components/Notification/NotificationList.d.ts +3 -0
- package/dist/components/Notification/index.d.ts +3 -0
- package/dist/components/Notification.js +6 -7
- package/dist/components/Pagination.js +26 -27
- package/dist/components/Radio.js +1 -1
- package/dist/components/Response.js +13 -16
- package/dist/components/Search.js +19 -24
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +16 -23
- package/dist/components/SiteMenu.js +14 -19
- package/dist/components/Tab.js +8 -8
- package/dist/components/Text/Text.interface.d.ts +29 -27
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +6 -9
- package/dist/components/Tooltip.js +1 -1
- package/dist/components.js +25 -32
- package/dist/context/Notifications.js +1 -0
- package/dist/context/UIContext.js +1 -0
- package/dist/css/components/Button/Button.css +12 -1
- package/dist/css/components/Dot/Dot.css +10 -4
- package/dist/css/styles/fill/fill_active_hover.css +6 -3
- package/dist/hooks/styleAttributes.interface.d.ts +10 -12
- package/dist/types/componentProps/appearanceKeys.d.ts +1 -0
- package/dist/types/componentProps/fill.d.ts +1 -0
- package/dist/types/componentProps/fillHover.d.ts +1 -0
- package/dist/types/componentProps/flexGrow.d.ts +1 -0
- package/dist/{constants-ts → types}/componentProps/iconFillSize.d.ts +1 -1
- package/dist/types/componentProps/iconSize.d.ts +1 -0
- package/package.json +9 -3
- package/dist/GridRow-Buc4dsHd.js +0 -1691
- package/dist/NotificationList-KbxjrO3o.js +0 -245
- package/dist/cjs/GridRow-6wilpUeo.js +0 -1701
- package/dist/cjs/NotificationList-B6QbYA9H.js +0 -255
- package/dist/cjs/constants-ts/componentProps/fill.d.ts +0 -1
- package/dist/cjs/constants-ts/componentProps/fillHover.d.ts +0 -1
- package/dist/cjs/constants-ts/componentProps/flexGrow.d.ts +0 -1
- package/dist/cjs/constants-ts/componentProps/iconSize.d.ts +0 -1
- package/dist/constants-ts/componentProps/fill.d.ts +0 -1
- package/dist/constants-ts/componentProps/fillHover.d.ts +0 -1
- package/dist/constants-ts/componentProps/flexGrow.d.ts +0 -1
- package/dist/constants-ts/componentProps/iconSize.d.ts +0 -1
- /package/dist/cjs/{constants-ts → types}/componentProps/align.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/alignDirection.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/alignment.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/borderColor.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/borderColorHover.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/borderType.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/borderWidth.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/captionPosition.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/direction.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/elevation.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/emojiSize.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/fillGradient.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/fillType.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/flexAlign.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/flexJustifyContent.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/flexWrap.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/gridAlign.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/gridAlignSelf.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/gridJustifyItems.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/gridJustifySelf.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/height.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/horizontalContentAlign.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/horizontalResizeMode.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/itemColor.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/justifyContent.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/position.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/resizeMode.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/shape.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/size.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/sizeInterface.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/sizePX.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/stacking.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/state.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/strokeColor.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textAlign.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textColor.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textColorActive.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textColorHover.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textGradient.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textSize.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textStyle.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textTag.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textWeight.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/textWrap.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/titleSize.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/type.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/underline.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/verticalContentAlign.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/verticalResizeMode.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/width.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/componentProps/wrap.d.ts +0 -0
- /package/dist/cjs/{constants-ts → types}/index.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/align.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/alignDirection.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/alignment.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/borderColor.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/borderColorHover.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/borderType.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/borderWidth.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/captionPosition.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/direction.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/elevation.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/emojiSize.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/fillGradient.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/fillType.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/flexAlign.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/flexJustifyContent.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/flexWrap.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/gridAlign.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/gridAlignSelf.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/gridJustifyItems.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/gridJustifySelf.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/height.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/horizontalContentAlign.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/horizontalResizeMode.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/itemColor.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/justifyContent.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/position.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/resizeMode.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/shape.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/size.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/sizeInterface.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/sizePX.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/stacking.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/state.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/strokeColor.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textAlign.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textColor.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textColorActive.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textColorHover.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textGradient.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textSize.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textStyle.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textTag.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textWeight.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/textWrap.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/titleSize.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/type.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/underline.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/verticalContentAlign.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/verticalResizeMode.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/width.d.ts +0 -0
- /package/dist/{constants-ts → types}/componentProps/wrap.d.ts +0 -0
- /package/dist/{constants-ts → types}/index.d.ts +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { borderColorPropsType, borderTypePropsType, borderWidthPropsType, fillHoverPropsType, fillPropsType, iconFillSizePropsType, iconSizePropsType, shapePropsType, strokeColorPropsType, textColorHoverPropsType, textColorPropsType, textSizePropsType } from '../../types';
|
|
4
|
+
import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
|
|
5
|
+
export interface IIconThemeColor {
|
|
6
|
+
alignment?: string;
|
|
7
|
+
borderColor?: borderColorPropsType;
|
|
8
|
+
borderColorHover?: string;
|
|
9
|
+
borderType?: borderTypePropsType;
|
|
10
|
+
borderWidth?: borderWidthPropsType;
|
|
11
|
+
cursor?: string;
|
|
12
|
+
fill?: fillPropsType;
|
|
13
|
+
fillDisabled?: string;
|
|
14
|
+
fillHover?: fillHoverPropsType;
|
|
15
|
+
fillSize?: iconFillSizePropsType;
|
|
16
|
+
iconAfterFill?: fillPropsType;
|
|
17
|
+
iconAfterFillSize?: iconFillSizePropsType;
|
|
18
|
+
iconAfterShape?: shapePropsType;
|
|
19
|
+
iconAfterStroke?: string;
|
|
20
|
+
iconBeforeFill?: fillPropsType;
|
|
21
|
+
iconBeforeFillSize?: iconFillSizePropsType;
|
|
22
|
+
iconBeforeShape?: shapePropsType;
|
|
23
|
+
iconBeforeStroke?: string;
|
|
24
|
+
iconFill?: fillPropsType;
|
|
25
|
+
iconFillDisabled?: string;
|
|
26
|
+
iconFillHover?: fillHoverPropsType;
|
|
27
|
+
iconFillSize?: iconFillSizePropsType;
|
|
28
|
+
iconShape?: shapePropsType;
|
|
29
|
+
iconSize?: iconSizePropsType;
|
|
30
|
+
iconStroke?: strokeColorPropsType;
|
|
31
|
+
iconStrokeDisabled?: string;
|
|
32
|
+
iconStrokeHover?: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
labelTextColor?: textColorPropsType;
|
|
35
|
+
labelTextColorHover?: textColorHoverPropsType;
|
|
36
|
+
labelTextSize?: textSizePropsType;
|
|
37
|
+
loaderFill?: string;
|
|
38
|
+
loaderItemFill?: string;
|
|
39
|
+
shape?: shapePropsType;
|
|
40
|
+
size?: iconSizePropsType;
|
|
41
|
+
stroke?: string;
|
|
42
|
+
}
|
|
43
|
+
type appearanceKeysType = appearanceKeysDefaultType & {};
|
|
44
|
+
export type iconAppearanceType = {
|
|
45
|
+
[key in appearanceKeysType]?: IIconThemeColor;
|
|
46
|
+
};
|
|
47
|
+
export interface IIconConfig {
|
|
48
|
+
appearance: iconAppearanceType | undefined;
|
|
49
|
+
setAppearance: (newComponent: iconAppearanceType) => void;
|
|
50
|
+
}
|
|
51
|
+
export interface IIconProps extends IIconThemeColor, TypeStyleAttributes {
|
|
52
|
+
Badge?: React.ReactNode;
|
|
53
|
+
after?: React.ReactNode;
|
|
54
|
+
before?: React.ReactNode;
|
|
55
|
+
className?: string;
|
|
56
|
+
dataTour?: string;
|
|
57
|
+
height?: string;
|
|
58
|
+
href?: string;
|
|
59
|
+
id?: number | string;
|
|
60
|
+
imageSrc?: string;
|
|
61
|
+
link?: string;
|
|
62
|
+
linkRel?: string;
|
|
63
|
+
linkTarget?: string;
|
|
64
|
+
showTooltip?: boolean;
|
|
65
|
+
tooltipAppearance?: appearanceKeysType;
|
|
66
|
+
tooltipText?: string;
|
|
67
|
+
tooltipTextSize?: string;
|
|
68
|
+
tooltipTitle?: string;
|
|
69
|
+
tooltipTitleSize?: string;
|
|
70
|
+
width?: string;
|
|
71
|
+
SvgImage?: any;
|
|
72
|
+
onClick?: () => void;
|
|
73
|
+
fillDesktop?: fillPropsType;
|
|
74
|
+
fillMobile?: fillPropsType;
|
|
75
|
+
fillSizeDesktop?: string;
|
|
76
|
+
fillSizeMobile?: string;
|
|
77
|
+
fillSizeTablet?: string;
|
|
78
|
+
fillTablet?: fillPropsType;
|
|
79
|
+
iconStrokeDesktop?: strokeColorPropsType;
|
|
80
|
+
iconStrokeMobile?: strokeColorPropsType;
|
|
81
|
+
iconStrokeTablet?: strokeColorPropsType;
|
|
82
|
+
LinkComponent?: any;
|
|
83
|
+
shapeDesktop?: shapePropsType;
|
|
84
|
+
shapeMobile?: shapePropsType;
|
|
85
|
+
shapeTablet?: shapePropsType;
|
|
86
|
+
sizeDesktop?: iconSizePropsType;
|
|
87
|
+
sizeMobile?: iconSizePropsType;
|
|
88
|
+
sizeTablet?: iconSizePropsType;
|
|
89
|
+
target?: string;
|
|
90
|
+
rel?: string;
|
|
91
|
+
icon?: string;
|
|
92
|
+
iconAfterSrc?: string;
|
|
93
|
+
iconBeforeSrc?: string;
|
|
94
|
+
iconSrc?: string;
|
|
95
|
+
type?: string;
|
|
96
|
+
loading?: boolean;
|
|
97
|
+
htmlType?: string;
|
|
98
|
+
isDisabled?: boolean;
|
|
99
|
+
}
|
|
100
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icon, iconConfig } from './Icon';
|