@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
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var PropTypes = require('prop-types');
|
|
5
|
-
var clsx = require('clsx');
|
|
6
|
-
var Text = require('./Text-CfBPhwqK.js');
|
|
7
|
-
var index = require('./components/Title.js');
|
|
8
|
-
require('./Group-DbzIk8kt.js');
|
|
9
|
-
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
10
|
-
var Notifications = require('./context/Notifications.js');
|
|
11
|
-
|
|
12
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
|
|
14
|
-
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
15
|
-
var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
16
|
-
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
17
|
-
|
|
18
|
-
const notificationItemConfig = {
|
|
19
|
-
appearance: {},
|
|
20
|
-
setAppearance: newComponent => {
|
|
21
|
-
notificationItemConfig.appearance = newComponent;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
function NotificationItem(props) {
|
|
25
|
-
const {
|
|
26
|
-
id,
|
|
27
|
-
appearance,
|
|
28
|
-
closeButton,
|
|
29
|
-
after,
|
|
30
|
-
before,
|
|
31
|
-
set,
|
|
32
|
-
status,
|
|
33
|
-
size,
|
|
34
|
-
dataTour,
|
|
35
|
-
text,
|
|
36
|
-
textSize,
|
|
37
|
-
textColor,
|
|
38
|
-
title,
|
|
39
|
-
titleTextSize,
|
|
40
|
-
titleTextColor,
|
|
41
|
-
onClickClose,
|
|
42
|
-
className
|
|
43
|
-
} = props;
|
|
44
|
-
const fillClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
45
|
-
prefix: 'fill_',
|
|
46
|
-
propsKey: 'fill'
|
|
47
|
-
});
|
|
48
|
-
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
49
|
-
className: clsx__default.default('notification__item', status && `notification__item_status_${status}`, set && `notification__item_set_${set}`, size && `notification__item_set_${size}`, closeButton && 'notification__item_type_close-button', fillClass || notificationItemConfig.appearance[appearance]?.fill && `fill_${notificationItemConfig.appearance[appearance].fill}`.replace(/([A-Z])/g, '-$1').toLowerCase()),
|
|
50
|
-
"data-tour": dataTour
|
|
51
|
-
}, before, /*#__PURE__*/React__default.default.createElement("div", {
|
|
52
|
-
className: clsx__default.default(className, 'notification__item-wrapper')
|
|
53
|
-
}, title && /*#__PURE__*/React__default.default.createElement(index.Title, {
|
|
54
|
-
className: "notification__item-title",
|
|
55
|
-
size: titleTextSize,
|
|
56
|
-
textColor: titleTextColor || notificationItemConfig.appearance[appearance]?.titleTextColor && notificationItemConfig.appearance[appearance].titleTextColor.replace(/([A-Z])/g, '-$1').toLowerCase()
|
|
57
|
-
}, title), text && /*#__PURE__*/React__default.default.createElement(Text.Text, {
|
|
58
|
-
className: "notification__item-text",
|
|
59
|
-
size: textSize,
|
|
60
|
-
textColor: textColor || notificationItemConfig.appearance[appearance]?.textColor && notificationItemConfig.appearance[appearance].textColor.replace(/([A-Z])/g, '-$1').toLowerCase()
|
|
61
|
-
}, text), closeButton && /*#__PURE__*/React__default.default.createElement("div", {
|
|
62
|
-
className: clsx__default.default('notification__item-close', onClickClose && 'cursor_type_pointer'),
|
|
63
|
-
onClick: () => onClickClose && onClickClose(id)
|
|
64
|
-
}, closeButton)), after);
|
|
65
|
-
}
|
|
66
|
-
NotificationItem.propTypes = {
|
|
67
|
-
className: PropTypes__default.default.string,
|
|
68
|
-
type: PropTypes__default.default.string,
|
|
69
|
-
set: PropTypes__default.default.string,
|
|
70
|
-
status: PropTypes__default.default.string,
|
|
71
|
-
text: PropTypes__default.default.string,
|
|
72
|
-
title: PropTypes__default.default.string,
|
|
73
|
-
after: PropTypes__default.default.any,
|
|
74
|
-
before: PropTypes__default.default.any
|
|
75
|
-
};
|
|
76
|
-
NotificationItem.defaultProps = {
|
|
77
|
-
titleTextSize: 'h5',
|
|
78
|
-
textSize: 's'
|
|
79
|
-
};
|
|
80
|
-
NotificationItem.__docgenInfo = {
|
|
81
|
-
"description": "",
|
|
82
|
-
"methods": [],
|
|
83
|
-
"displayName": "NotificationItem",
|
|
84
|
-
"props": {
|
|
85
|
-
"titleTextSize": {
|
|
86
|
-
"defaultValue": {
|
|
87
|
-
"value": "'h5'",
|
|
88
|
-
"computed": false
|
|
89
|
-
},
|
|
90
|
-
"required": false
|
|
91
|
-
},
|
|
92
|
-
"textSize": {
|
|
93
|
-
"defaultValue": {
|
|
94
|
-
"value": "'s'",
|
|
95
|
-
"computed": false
|
|
96
|
-
},
|
|
97
|
-
"required": false
|
|
98
|
-
},
|
|
99
|
-
"className": {
|
|
100
|
-
"description": "",
|
|
101
|
-
"type": {
|
|
102
|
-
"name": "string"
|
|
103
|
-
},
|
|
104
|
-
"required": false
|
|
105
|
-
},
|
|
106
|
-
"type": {
|
|
107
|
-
"description": "",
|
|
108
|
-
"type": {
|
|
109
|
-
"name": "string"
|
|
110
|
-
},
|
|
111
|
-
"required": false
|
|
112
|
-
},
|
|
113
|
-
"set": {
|
|
114
|
-
"description": "",
|
|
115
|
-
"type": {
|
|
116
|
-
"name": "string"
|
|
117
|
-
},
|
|
118
|
-
"required": false
|
|
119
|
-
},
|
|
120
|
-
"status": {
|
|
121
|
-
"description": "",
|
|
122
|
-
"type": {
|
|
123
|
-
"name": "string"
|
|
124
|
-
},
|
|
125
|
-
"required": false
|
|
126
|
-
},
|
|
127
|
-
"text": {
|
|
128
|
-
"description": "",
|
|
129
|
-
"type": {
|
|
130
|
-
"name": "string"
|
|
131
|
-
},
|
|
132
|
-
"required": false
|
|
133
|
-
},
|
|
134
|
-
"title": {
|
|
135
|
-
"description": "",
|
|
136
|
-
"type": {
|
|
137
|
-
"name": "string"
|
|
138
|
-
},
|
|
139
|
-
"required": false
|
|
140
|
-
},
|
|
141
|
-
"after": {
|
|
142
|
-
"description": "",
|
|
143
|
-
"type": {
|
|
144
|
-
"name": "any"
|
|
145
|
-
},
|
|
146
|
-
"required": false
|
|
147
|
-
},
|
|
148
|
-
"before": {
|
|
149
|
-
"description": "",
|
|
150
|
-
"type": {
|
|
151
|
-
"name": "any"
|
|
152
|
-
},
|
|
153
|
-
"required": false
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
function NotificationList(props) {
|
|
159
|
-
const notifications = Notifications.useNotifications();
|
|
160
|
-
const {
|
|
161
|
-
hideNotifications
|
|
162
|
-
} = Notifications.useNotificationsAPI();
|
|
163
|
-
const {
|
|
164
|
-
className,
|
|
165
|
-
size,
|
|
166
|
-
type,
|
|
167
|
-
set,
|
|
168
|
-
closeButton
|
|
169
|
-
} = props;
|
|
170
|
-
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
171
|
-
className: clsx__default.default('notification', className)
|
|
172
|
-
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
173
|
-
className: "notification__wrapper"
|
|
174
|
-
}, notifications.map((notification, i) => /*#__PURE__*/React__default.default.createElement(NotificationItem, {
|
|
175
|
-
key: i,
|
|
176
|
-
id: notification.id,
|
|
177
|
-
type: notification.type || type,
|
|
178
|
-
set: notification.set || set,
|
|
179
|
-
size: notification.size || size,
|
|
180
|
-
title: notification.title,
|
|
181
|
-
text: notification.text,
|
|
182
|
-
status: notification.status,
|
|
183
|
-
closeButton: closeButton,
|
|
184
|
-
onClickClose: hideNotifications
|
|
185
|
-
}))));
|
|
186
|
-
}
|
|
187
|
-
NotificationList.propTypes = {
|
|
188
|
-
className: PropTypes__default.default.string,
|
|
189
|
-
type: PropTypes__default.default.string,
|
|
190
|
-
set: PropTypes__default.default.string,
|
|
191
|
-
textColor: PropTypes__default.default.string,
|
|
192
|
-
textSize: PropTypes__default.default.string,
|
|
193
|
-
titleColor: PropTypes__default.default.string,
|
|
194
|
-
titleSize: PropTypes__default.default.string
|
|
195
|
-
};
|
|
196
|
-
NotificationList.__docgenInfo = {
|
|
197
|
-
"description": "",
|
|
198
|
-
"methods": [],
|
|
199
|
-
"displayName": "NotificationList",
|
|
200
|
-
"props": {
|
|
201
|
-
"className": {
|
|
202
|
-
"description": "",
|
|
203
|
-
"type": {
|
|
204
|
-
"name": "string"
|
|
205
|
-
},
|
|
206
|
-
"required": false
|
|
207
|
-
},
|
|
208
|
-
"type": {
|
|
209
|
-
"description": "",
|
|
210
|
-
"type": {
|
|
211
|
-
"name": "string"
|
|
212
|
-
},
|
|
213
|
-
"required": false
|
|
214
|
-
},
|
|
215
|
-
"set": {
|
|
216
|
-
"description": "",
|
|
217
|
-
"type": {
|
|
218
|
-
"name": "string"
|
|
219
|
-
},
|
|
220
|
-
"required": false
|
|
221
|
-
},
|
|
222
|
-
"textColor": {
|
|
223
|
-
"description": "",
|
|
224
|
-
"type": {
|
|
225
|
-
"name": "string"
|
|
226
|
-
},
|
|
227
|
-
"required": false
|
|
228
|
-
},
|
|
229
|
-
"textSize": {
|
|
230
|
-
"description": "",
|
|
231
|
-
"type": {
|
|
232
|
-
"name": "string"
|
|
233
|
-
},
|
|
234
|
-
"required": false
|
|
235
|
-
},
|
|
236
|
-
"titleColor": {
|
|
237
|
-
"description": "",
|
|
238
|
-
"type": {
|
|
239
|
-
"name": "string"
|
|
240
|
-
},
|
|
241
|
-
"required": false
|
|
242
|
-
},
|
|
243
|
-
"titleSize": {
|
|
244
|
-
"description": "",
|
|
245
|
-
"type": {
|
|
246
|
-
"name": "string"
|
|
247
|
-
},
|
|
248
|
-
"required": false
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
exports.NotificationItem = NotificationItem;
|
|
254
|
-
exports.NotificationList = NotificationList;
|
|
255
|
-
exports.notificationItemConfig = notificationItemConfig;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type fillPropsType = 'accentPrimary' | 'accentSecondary' | 'accentTertiary' | 'primaryPrimary' | 'primarySecondary' | 'primaryTertiary' | 'secondaryPrimary' | 'secondarySecondary' | 'secondaryTertiary' | 'tertiaryPrimary' | 'tertiarySecondary' | 'tertiaryTertiary' | 'surfacePrimary' | 'surfaceSecondary' | 'surfaceTertiary' | 'surfaceQuaternary' | 'surfaceQuinary' | 'errorPrimary' | 'errorSecondary' | 'successPrimary' | 'successSecondary' | 'gradientPrimary';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type fillHoverPropsType = 'accentPrimaryHover' | 'accentSecondary' | 'accentTertiary' | 'primaryPrimaryHover' | 'secondaryPrimaryHover' | 'surfacePrimaryHover' | 'surfaceSecondaryHover' | 'surfaceTertiaryHover';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type flexGrowPropsType = 0 | 1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type iconSizePropsType = '14' | '16' | '24' | '32' | '40' | '60' | '64' | '144';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type fillPropsType = 'accentPrimary' | 'accentSecondary' | 'accentTertiary' | 'primaryPrimary' | 'primarySecondary' | 'primaryTertiary' | 'secondaryPrimary' | 'secondarySecondary' | 'secondaryTertiary' | 'tertiaryPrimary' | 'tertiarySecondary' | 'tertiaryTertiary' | 'surfacePrimary' | 'surfaceSecondary' | 'surfaceTertiary' | 'surfaceQuaternary' | 'surfaceQuinary' | 'errorPrimary' | 'errorSecondary' | 'successPrimary' | 'successSecondary' | 'gradientPrimary';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type fillHoverPropsType = 'accentPrimaryHover' | 'accentSecondary' | 'accentTertiary' | 'primaryPrimaryHover' | 'secondaryPrimaryHover' | 'surfacePrimaryHover' | 'surfaceSecondaryHover' | 'surfaceTertiaryHover';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type flexGrowPropsType = 0 | 1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type iconSizePropsType = '14' | '16' | '24' | '32' | '40' | '60' | '64' | '144';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|