@helsenorge/designsystem-react 12.12.2 → 12.12.3
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/lib/AnchorLink.js +66 -0
- package/lib/AnchorLink.js.map +1 -0
- package/lib/AsChildSlot.js +74 -0
- package/lib/AsChildSlot.js.map +1 -0
- package/lib/Avatar.js +40 -0
- package/lib/Avatar.js.map +1 -0
- package/lib/Badge.js +35 -0
- package/lib/Badge.js.map +1 -0
- package/lib/Button.js +178 -0
- package/lib/Button.js.map +1 -0
- package/lib/CHANGELOG.md +2563 -0
- package/lib/Checkbox.js +135 -0
- package/lib/Checkbox.js.map +1 -0
- package/lib/Close.js +50 -0
- package/lib/Close.js.map +1 -0
- package/lib/DictionaryTrigger.js +28 -0
- package/lib/DictionaryTrigger.js.map +1 -0
- package/lib/Drawer.js +249 -0
- package/lib/Drawer.js.map +1 -0
- package/lib/Duolist.js +92 -0
- package/lib/Duolist.js.map +1 -0
- package/lib/ElementHeader.js +151 -0
- package/lib/ElementHeader.js.map +1 -0
- package/lib/ElementHeaderText.js +35 -0
- package/lib/ElementHeaderText.js.map +1 -0
- package/lib/ErrorBoundary.js +41 -0
- package/lib/ErrorBoundary.js.map +1 -0
- package/lib/ErrorWrapper.js +15 -0
- package/lib/ErrorWrapper.js.map +1 -0
- package/lib/Expander.js +131 -0
- package/lib/Expander.js.map +1 -0
- package/lib/FormFieldTag.js +61 -0
- package/lib/FormFieldTag.js.map +1 -0
- package/lib/FormGroup.js +158 -0
- package/lib/FormGroup.js.map +1 -0
- package/lib/FormLayout.js +50 -0
- package/lib/FormLayout.js.map +1 -0
- package/lib/HN.Designsystem.Dropdown.nb-NO.js +13 -0
- package/lib/HN.Designsystem.Dropdown.nb-NO.js.map +1 -0
- package/lib/HelpDetails.js +65 -0
- package/lib/HelpDetails.js.map +1 -0
- package/lib/HelpTriggerIcon.js +124 -0
- package/lib/HelpTriggerIcon.js.map +1 -0
- package/lib/HelpTriggerStandalone.js +40 -0
- package/lib/HelpTriggerStandalone.js.map +1 -0
- package/lib/HighlightPanel.js +66 -0
- package/lib/HighlightPanel.js.map +1 -0
- package/lib/Highlighter.js +44 -0
- package/lib/Highlighter.js.map +1 -0
- package/lib/HorizontalScroll.js +59 -0
- package/lib/HorizontalScroll.js.map +1 -0
- package/lib/Icon.js +74 -0
- package/lib/Icon.js.map +1 -0
- package/lib/Illustration.js +49 -0
- package/lib/Illustration.js.map +1 -0
- package/lib/InfoTeaser.js +75 -0
- package/lib/InfoTeaser.js.map +1 -0
- package/lib/Input.js +207 -0
- package/lib/Input.js.map +1 -0
- package/lib/Label.js +140 -0
- package/lib/Label.js.map +1 -0
- package/lib/LazyIcon.js +33 -0
- package/lib/LazyIcon.js.map +1 -0
- package/lib/LazyIllustration.js +38 -0
- package/lib/LazyIllustration.js.map +1 -0
- package/lib/LinkList.js +152 -0
- package/lib/LinkList.js.map +1 -0
- package/lib/List.js +15 -0
- package/lib/List.js.map +1 -0
- package/lib/ListEditMode.js +42 -0
- package/lib/ListEditMode.js.map +1 -0
- package/lib/MaxCharacters.js +17 -0
- package/lib/MaxCharacters.js.map +1 -0
- package/lib/NotificationBadge.js +68 -0
- package/lib/NotificationBadge.js.map +1 -0
- package/lib/Panel.js +264 -0
- package/lib/Panel.js.map +1 -0
- package/lib/PanelOld.js +325 -0
- package/lib/PanelOld.js.map +1 -0
- package/lib/PanelTitle.js +19 -0
- package/lib/PanelTitle.js.map +1 -0
- package/lib/PopOver.js +80 -0
- package/lib/PopOver.js.map +1 -0
- package/lib/RadioButton.js +122 -0
- package/lib/RadioButton.js.map +1 -0
- package/lib/SVGVisualElement.js +3759 -0
- package/lib/SVGVisualElement.js.map +1 -0
- package/lib/Select.js +103 -0
- package/lib/Select.js.map +1 -0
- package/lib/SingleSelectItem.js +96 -0
- package/lib/SingleSelectItem.js.map +1 -0
- package/lib/Slider.js +305 -0
- package/lib/Slider.js.map +1 -0
- package/lib/Spacer.js +32 -0
- package/lib/Spacer.js.map +1 -0
- package/lib/StatusDot.js +106 -0
- package/lib/StatusDot.js.map +1 -0
- package/lib/StatusDotList.js +27 -0
- package/lib/StatusDotList.js.map +1 -0
- package/lib/StepButtons.js +32 -0
- package/lib/StepButtons.js.map +1 -0
- package/lib/TabList.js +190 -0
- package/lib/TabList.js.map +1 -0
- package/lib/TabPanel.js +16 -0
- package/lib/TabPanel.js.map +1 -0
- package/lib/Table.js +165 -0
- package/lib/Table.js.map +1 -0
- package/lib/TableBody.js +13 -0
- package/lib/TableBody.js.map +1 -0
- package/lib/TableCell.js +35 -0
- package/lib/TableCell.js.map +1 -0
- package/lib/TableExpandedRow.js +39 -0
- package/lib/TableExpandedRow.js.map +1 -0
- package/lib/TableExpanderCell.js +35 -0
- package/lib/TableExpanderCell.js.map +1 -0
- package/lib/TableHead.js +29 -0
- package/lib/TableHead.js.map +1 -0
- package/lib/TableHeadCell.js +52 -0
- package/lib/TableHeadCell.js.map +1 -0
- package/lib/TableRow.js +63 -0
- package/lib/TableRow.js.map +1 -0
- package/lib/Textarea.js +148 -0
- package/lib/Textarea.js.map +1 -0
- package/lib/Title.js +32 -0
- package/lib/Title.js.map +1 -0
- package/lib/Toast.js +43 -0
- package/lib/Toast.js.map +1 -0
- package/lib/__mocks__/IntersectionObserver.d.ts +6 -0
- package/lib/__mocks__/IntersectionObserver.js +15 -0
- package/lib/__mocks__/IntersectionObserver.js.map +1 -0
- package/lib/__mocks__/MutationObserver.d.ts +5 -0
- package/lib/__mocks__/MutationObserver.js +13 -0
- package/lib/__mocks__/MutationObserver.js.map +1 -0
- package/lib/__mocks__/ResizeObserver.d.ts +6 -0
- package/lib/__mocks__/ResizeObserver.js +15 -0
- package/lib/__mocks__/ResizeObserver.js.map +1 -0
- package/lib/__mocks__/matchMedia.d.ts +1 -0
- package/lib/__mocks__/matchMedia.js +15 -0
- package/lib/__mocks__/matchMedia.js.map +1 -0
- package/lib/__mocks__/useHover.d.ts +1 -0
- package/lib/__mocks__/useHover.js +6 -0
- package/lib/__mocks__/useHover.js.map +1 -0
- package/lib/__mocks__/useLayoutEvent.d.ts +1 -0
- package/lib/__mocks__/useLayoutEvent.js +4 -0
- package/lib/__mocks__/useLayoutEvent.js.map +1 -0
- package/lib/__mocks__/useOutsideEvent.d.ts +1 -0
- package/lib/__mocks__/useOutsideEvent.js +4 -0
- package/lib/__mocks__/useOutsideEvent.js.map +1 -0
- package/lib/__mocks__/usePseudoClasses.d.ts +1 -0
- package/lib/__mocks__/usePseudoClasses.js +6 -0
- package/lib/__mocks__/usePseudoClasses.js.map +1 -0
- package/lib/__mocks__/useSize.d.ts +1 -0
- package/lib/__mocks__/useSize.js +11 -0
- package/lib/__mocks__/useSize.js.map +1 -0
- package/lib/__mocks__/uuid.d.ts +1 -0
- package/lib/__mocks__/uuid.js +9 -0
- package/lib/__mocks__/uuid.js.map +1 -0
- package/lib/clamp.js +11 -0
- package/lib/clamp.js.map +1 -0
- package/lib/components/AnchorLink/AnchorLink.d.ts +24 -0
- package/lib/components/AnchorLink/AnchorLink.test.d.ts +1 -0
- package/lib/components/AnchorLink/index.d.ts +3 -0
- package/lib/components/AnchorLink/index.js +5 -0
- package/lib/components/AnchorLink/index.js.map +1 -0
- package/lib/components/ArticleTeaser/ArticleTeaser.d.ts +23 -0
- package/lib/components/ArticleTeaser/ArticleTeaser.test.d.ts +1 -0
- package/lib/components/ArticleTeaser/index.d.ts +3 -0
- package/lib/components/ArticleTeaser/index.js +67 -0
- package/lib/components/ArticleTeaser/index.js.map +1 -0
- package/lib/components/ArticleTeaser/resourceHelper.d.ts +3 -0
- package/lib/components/AsChildSlot/AsChildSlot.d.ts +23 -0
- package/lib/components/AsChildSlot/AsChildSlot.test.d.ts +1 -0
- package/lib/components/AsChildSlot/index.d.ts +3 -0
- package/lib/components/AsChildSlot/index.js +6 -0
- package/lib/components/AsChildSlot/index.js.map +1 -0
- package/lib/components/Avatar/Avatar.d.ts +24 -0
- package/lib/components/Avatar/Avatar.test.d.ts +1 -0
- package/lib/components/Avatar/index.d.ts +3 -0
- package/lib/components/Avatar/index.js +7 -0
- package/lib/components/Avatar/index.js.map +1 -0
- package/lib/components/Badge/Badge.d.ts +23 -0
- package/lib/components/Badge/Badge.test.d.ts +1 -0
- package/lib/components/Badge/NotificationBadge.d.ts +17 -0
- package/lib/components/Badge/index.d.ts +3 -0
- package/lib/components/Badge/index.js +5 -0
- package/lib/components/Badge/index.js.map +1 -0
- package/lib/components/Button/Button.d.ts +53 -0
- package/lib/components/Button/Button.test.d.ts +1 -0
- package/lib/components/Button/index.d.ts +3 -0
- package/lib/components/Button/index.js +5 -0
- package/lib/components/Button/index.js.map +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts +25 -0
- package/lib/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/lib/components/Checkbox/index.d.ts +3 -0
- package/lib/components/Checkbox/index.js +6 -0
- package/lib/components/Checkbox/index.js.map +1 -0
- package/lib/components/Chip/Chip.d.ts +31 -0
- package/lib/components/Chip/Chip.test.d.ts +1 -0
- package/lib/components/Chip/index.d.ts +3 -0
- package/lib/components/Chip/index.js +51 -0
- package/lib/components/Chip/index.js.map +1 -0
- package/lib/components/Close/Close.d.ts +17 -0
- package/lib/components/Close/Close.test.d.ts +1 -0
- package/lib/components/Close/index.d.ts +3 -0
- package/lib/components/Close/index.js +5 -0
- package/lib/components/Close/index.js.map +1 -0
- package/lib/components/DictionaryTrigger/DictionaryTrigger.d.ts +21 -0
- package/lib/components/DictionaryTrigger/DictionaryTrigger.test.d.ts +1 -0
- package/lib/components/DictionaryTrigger/index.d.ts +3 -0
- package/lib/components/DictionaryTrigger/index.js +5 -0
- package/lib/components/DictionaryTrigger/index.js.map +1 -0
- package/lib/components/Drawer/Drawer.d.ts +52 -0
- package/lib/components/Drawer/Drawer.test.d.ts +1 -0
- package/lib/components/Drawer/index.d.ts +3 -0
- package/lib/components/Drawer/index.js +5 -0
- package/lib/components/Drawer/index.js.map +1 -0
- package/lib/components/Drawer/resourceHelper.d.ts +3 -0
- package/lib/components/Dropdown/Dropdown.d.ts +40 -0
- package/lib/components/Dropdown/Dropdown.test.d.ts +1 -0
- package/lib/components/Dropdown/SingleSelect/SingleSelect.d.ts +18 -0
- package/lib/components/Dropdown/SingleSelect/SingleSelect.test.d.ts +1 -0
- package/lib/components/Dropdown/SingleSelect/SingleSelectItem.d.ts +21 -0
- package/lib/components/Dropdown/SingleSelect/index.d.ts +3 -0
- package/lib/components/Dropdown/SingleSelect/index.js +6 -0
- package/lib/components/Dropdown/SingleSelect/index.js.map +1 -0
- package/lib/components/Dropdown/index.d.ts +3 -0
- package/lib/components/Dropdown/index.js +273 -0
- package/lib/components/Dropdown/index.js.map +1 -0
- package/lib/components/Dropdown/resourceHelper.d.ts +3 -0
- package/lib/components/DropdownOld/DropdownOld.d.ts +42 -0
- package/lib/components/DropdownOld/DropdownOld.test.d.ts +0 -0
- package/lib/components/DropdownOld/index.d.ts +3 -0
- package/lib/components/DropdownOld/index.js +194 -0
- package/lib/components/DropdownOld/index.js.map +1 -0
- package/lib/components/DropdownOld/resourceHelper.d.ts +3 -0
- package/lib/components/Duolist/Duolist.d.ts +46 -0
- package/lib/components/Duolist/Duolist.test.d.ts +1 -0
- package/lib/components/Duolist/index.d.ts +3 -0
- package/lib/components/Duolist/index.js +8 -0
- package/lib/components/Duolist/index.js.map +1 -0
- package/lib/components/ElementHeader/ElementHeader.d.ts +59 -0
- package/lib/components/ElementHeader/ElementHeaderText/ElementHeaderText.d.ts +25 -0
- package/lib/components/ElementHeader/ElementHeaderText/index.d.ts +3 -0
- package/lib/components/ElementHeader/ElementHeaderText/index.js +6 -0
- package/lib/components/ElementHeader/ElementHeaderText/index.js.map +1 -0
- package/lib/components/ElementHeader/StatusDotList/StatusDotList.d.ts +23 -0
- package/lib/components/ElementHeader/StatusDotList/index.d.ts +3 -0
- package/lib/components/ElementHeader/StatusDotList/index.js +6 -0
- package/lib/components/ElementHeader/StatusDotList/index.js.map +1 -0
- package/lib/components/ElementHeader/index.d.ts +3 -0
- package/lib/components/ElementHeader/index.js +9 -0
- package/lib/components/ElementHeader/index.js.map +1 -0
- package/lib/components/EmptyState/EmptyBoxBeeMedium.d.ts +4 -0
- package/lib/components/EmptyState/EmptyBoxBeeSmall.d.ts +4 -0
- package/lib/components/EmptyState/EmptyState.d.ts +32 -0
- package/lib/components/EmptyState/EmptyState.test.d.ts +1 -0
- package/lib/components/EmptyState/index.d.ts +3 -0
- package/lib/components/EmptyState/index.js +306 -0
- package/lib/components/EmptyState/index.js.map +1 -0
- package/lib/components/ErrorWrapper/ErrorWrapper.d.ts +22 -0
- package/lib/components/ErrorWrapper/ErrorWrapper.test.d.ts +1 -0
- package/lib/components/ErrorWrapper/index.d.ts +3 -0
- package/lib/components/ErrorWrapper/index.js +6 -0
- package/lib/components/ErrorWrapper/index.js.map +1 -0
- package/lib/components/Expander/Expander.d.ts +40 -0
- package/lib/components/Expander/Expander.test.d.ts +1 -0
- package/lib/components/Expander/index.d.ts +3 -0
- package/lib/components/Expander/index.js +7 -0
- package/lib/components/Expander/index.js.map +1 -0
- package/lib/components/ExpanderHierarchy/Expander.d.ts +19 -0
- package/lib/components/ExpanderHierarchy/ExpanderButton.d.ts +10 -0
- package/lib/components/ExpanderHierarchy/ExpanderHierarchy.d.ts +21 -0
- package/lib/components/ExpanderHierarchy/ExpanderHierarchy.test.d.ts +1 -0
- package/lib/components/ExpanderHierarchy/index.d.ts +3 -0
- package/lib/components/ExpanderHierarchy/index.js +115 -0
- package/lib/components/ExpanderHierarchy/index.js.map +1 -0
- package/lib/components/ExpanderHierarchy/utils.d.ts +2 -0
- package/lib/components/ExpanderList/ExpanderList.d.ts +70 -0
- package/lib/components/ExpanderList/ExpanderList.test.d.ts +0 -0
- package/lib/components/ExpanderList/index.d.ts +3 -0
- package/lib/components/ExpanderList/index.js +219 -0
- package/lib/components/ExpanderList/index.js.map +1 -0
- package/lib/components/EyebrowHeader/EyebrowHeader.d.ts +17 -0
- package/lib/components/EyebrowHeader/EyebrowHeader.test.d.ts +1 -0
- package/lib/components/EyebrowHeader/index.d.ts +3 -0
- package/lib/components/EyebrowHeader/index.js +15 -0
- package/lib/components/EyebrowHeader/index.js.map +1 -0
- package/lib/components/FavoriteButton/FavoriteButton.d.ts +19 -0
- package/lib/components/FavoriteButton/FavoriteButton.test.d.ts +1 -0
- package/lib/components/FavoriteButton/StarIcon.d.ts +4 -0
- package/lib/components/FavoriteButton/index.d.ts +3 -0
- package/lib/components/FavoriteButton/index.js +209 -0
- package/lib/components/FavoriteButton/index.js.map +1 -0
- package/lib/components/FavoriteButton/resourceHelper.d.ts +3 -0
- package/lib/components/FormFieldTag/FormFieldTag.d.ts +15 -0
- package/lib/components/FormFieldTag/FormFieldTag.test.d.ts +1 -0
- package/lib/components/FormFieldTag/index.d.ts +3 -0
- package/lib/components/FormFieldTag/index.js +5 -0
- package/lib/components/FormFieldTag/index.js.map +1 -0
- package/lib/components/FormFieldTag/resourceHelper.d.ts +3 -0
- package/lib/components/FormGroup/FormGroup.d.ts +45 -0
- package/lib/components/FormGroup/FormGroup.test.d.ts +1 -0
- package/lib/components/FormGroup/index.d.ts +3 -0
- package/lib/components/FormGroup/index.js +6 -0
- package/lib/components/FormGroup/index.js.map +1 -0
- package/lib/components/FormLayout/FormLayout.d.ts +27 -0
- package/lib/components/FormLayout/FormLayout.test.d.ts +1 -0
- package/lib/components/FormLayout/index.d.ts +3 -0
- package/lib/components/FormLayout/index.js +8 -0
- package/lib/components/FormLayout/index.js.map +1 -0
- package/lib/components/HelpBubble/HelpBubble.d.ts +43 -0
- package/lib/components/HelpBubble/HelpBubble.test.d.ts +1 -0
- package/lib/components/HelpBubble/index.d.ts +3 -0
- package/lib/components/HelpBubble/index.js +94 -0
- package/lib/components/HelpBubble/index.js.map +1 -0
- package/lib/components/HelpBubble/resourceHelper.d.ts +3 -0
- package/lib/components/HelpDetails/HelpDetails.d.ts +11 -0
- package/lib/components/HelpDetails/HelpDetails.test.d.ts +1 -0
- package/lib/components/HelpDrawer/HelpDrawer.d.ts +11 -0
- package/lib/components/HelpDrawer/HelpDrawer.test.d.ts +1 -0
- package/lib/components/HelpDrawer/index.d.ts +3 -0
- package/lib/components/HelpDrawer/index.js +40 -0
- package/lib/components/HelpDrawer/index.js.map +1 -0
- package/lib/components/HelpDrawer/resourceHelper.d.ts +3 -0
- package/lib/components/HelpExpanderInline/HelpExpanderInline.d.ts +17 -0
- package/lib/components/HelpExpanderInline/HelpExpanderInline.test.d.ts +1 -0
- package/lib/components/HelpExpanderInline/index.d.ts +3 -0
- package/lib/components/HelpExpanderInline/index.js +16 -0
- package/lib/components/HelpExpanderInline/index.js.map +1 -0
- package/lib/components/HelpExpanderStandalone/HelpExpanderStandalone.d.ts +28 -0
- package/lib/components/HelpExpanderStandalone/HelpExpanderStandalone.test.d.ts +1 -0
- package/lib/components/HelpExpanderStandalone/index.d.ts +3 -0
- package/lib/components/HelpExpanderStandalone/index.js +50 -0
- package/lib/components/HelpExpanderStandalone/index.js.map +1 -0
- package/lib/components/HelpPanel/HelpPanel.d.ts +16 -0
- package/lib/components/HelpPanel/HelpPanel.test.d.ts +1 -0
- package/lib/components/HelpPanel/index.d.ts +3 -0
- package/lib/components/HelpPanel/index.js +22 -0
- package/lib/components/HelpPanel/index.js.map +1 -0
- package/lib/components/HelpTeaser/HelpTeaser.d.ts +20 -0
- package/lib/components/HelpTeaser/HelpTeaser.test.d.ts +1 -0
- package/lib/components/HelpTeaser/index.d.ts +3 -0
- package/lib/components/HelpTeaser/index.js +25 -0
- package/lib/components/HelpTeaser/index.js.map +1 -0
- package/lib/components/HelpTooltip/HelpTooltip.d.ts +13 -0
- package/lib/components/HelpTooltip/HelpTooltip.test.d.ts +1 -0
- package/lib/components/HelpTooltip/index.d.ts +3 -0
- package/lib/components/HelpTooltip/index.js +33 -0
- package/lib/components/HelpTooltip/index.js.map +1 -0
- package/lib/components/HelpTriggerIcon/HelpSign.d.ts +8 -0
- package/lib/components/HelpTriggerIcon/HelpTriggerIcon.d.ts +40 -0
- package/lib/components/HelpTriggerIcon/HelpTriggerIcon.test.d.ts +1 -0
- package/lib/components/HelpTriggerIcon/index.d.ts +3 -0
- package/lib/components/HelpTriggerIcon/index.js +7 -0
- package/lib/components/HelpTriggerIcon/index.js.map +1 -0
- package/lib/components/HelpTriggerInline/HelpTriggerInline.d.ts +28 -0
- package/lib/components/HelpTriggerInline/HelpTriggerInline.test.d.ts +1 -0
- package/lib/components/HelpTriggerInline/index.d.ts +3 -0
- package/lib/components/HelpTriggerInline/index.js +38 -0
- package/lib/components/HelpTriggerInline/index.js.map +1 -0
- package/lib/components/HelpTriggerStandalone/HelpTriggerStandalone.d.ts +28 -0
- package/lib/components/HelpTriggerStandalone/HelpTriggerStandalone.test.d.ts +1 -0
- package/lib/components/HelpTriggerStandalone/index.d.ts +3 -0
- package/lib/components/HelpTriggerStandalone/index.js +5 -0
- package/lib/components/HelpTriggerStandalone/index.js.map +1 -0
- package/lib/components/HighlightPanel/HighlightPanel.d.ts +30 -0
- package/lib/components/HighlightPanel/HighlightPanel.test.d.ts +1 -0
- package/lib/components/HighlightPanel/index.d.ts +3 -0
- package/lib/components/HighlightPanel/index.js +5 -0
- package/lib/components/HighlightPanel/index.js.map +1 -0
- package/lib/components/Highlighter/Highlighter.d.ts +7 -0
- package/lib/components/Highlighter/Highlighter.test.d.ts +1 -0
- package/lib/components/Highlighter/index.d.ts +3 -0
- package/lib/components/Highlighter/index.js +6 -0
- package/lib/components/Highlighter/index.js.map +1 -0
- package/lib/components/HorizontalScroll/HorizontalScroll.d.ts +13 -0
- package/lib/components/HorizontalScroll/HorizontalScroll.test.d.ts +1 -0
- package/lib/components/HorizontalScroll/index.d.ts +3 -0
- package/lib/components/HorizontalScroll/index.js +6 -0
- package/lib/components/HorizontalScroll/index.js.map +1 -0
- package/lib/components/Icon/Icon.d.ts +37 -0
- package/lib/components/Icon/Icon.test.d.ts +1 -0
- package/lib/components/Icon/index.d.ts +4 -0
- package/lib/components/Icon/index.js +10 -0
- package/lib/components/Icon/index.js.map +1 -0
- package/lib/components/Icons/ActiveMonitoring.d.ts +4 -0
- package/lib/components/Icons/ActiveMonitoring.js +22 -0
- package/lib/components/Icons/ActiveMonitoring.js.map +1 -0
- package/lib/components/Icons/AcupunctureBack.d.ts +4 -0
- package/lib/components/Icons/AcupunctureBack.js +24 -0
- package/lib/components/Icons/AcupunctureBack.js.map +1 -0
- package/lib/components/Icons/AdditionalIconInformation.d.ts +1343 -0
- package/lib/components/Icons/AdditionalIconInformation.js +341 -0
- package/lib/components/Icons/AdditionalIconInformation.js.map +1 -0
- package/lib/components/Icons/AlarmClock.d.ts +4 -0
- package/lib/components/Icons/AlarmClock.js +35 -0
- package/lib/components/Icons/AlarmClock.js.map +1 -0
- package/lib/components/Icons/AlertSignFill.d.ts +4 -0
- package/lib/components/Icons/AlertSignFill.js +13 -0
- package/lib/components/Icons/AlertSignFill.js.map +1 -0
- package/lib/components/Icons/AlertSignStroke.d.ts +4 -0
- package/lib/components/Icons/AlertSignStroke.js +13 -0
- package/lib/components/Icons/AlertSignStroke.js.map +1 -0
- package/lib/components/Icons/Amputation.d.ts +4 -0
- package/lib/components/Icons/Amputation.js +10 -0
- package/lib/components/Icons/Amputation.js.map +1 -0
- package/lib/components/Icons/Anxiety.d.ts +4 -0
- package/lib/components/Icons/Anxiety.js +10 -0
- package/lib/components/Icons/Anxiety.js.map +1 -0
- package/lib/components/Icons/Apple.d.ts +4 -0
- package/lib/components/Icons/Apple.js +10 -0
- package/lib/components/Icons/Apple.js.map +1 -0
- package/lib/components/Icons/Archive.d.ts +4 -0
- package/lib/components/Icons/Archive.js +37 -0
- package/lib/components/Icons/Archive.js.map +1 -0
- package/lib/components/Icons/ArmFlexing.d.ts +4 -0
- package/lib/components/Icons/ArmFlexing.js +10 -0
- package/lib/components/Icons/ArmFlexing.js.map +1 -0
- package/lib/components/Icons/ArrowDown.d.ts +4 -0
- package/lib/components/Icons/ArrowDown.js +37 -0
- package/lib/components/Icons/ArrowDown.js.map +1 -0
- package/lib/components/Icons/ArrowLeft.d.ts +4 -0
- package/lib/components/Icons/ArrowLeft.js +13 -0
- package/lib/components/Icons/ArrowLeft.js.map +1 -0
- package/lib/components/Icons/ArrowRight.d.ts +4 -0
- package/lib/components/Icons/ArrowRight.js +13 -0
- package/lib/components/Icons/ArrowRight.js.map +1 -0
- package/lib/components/Icons/ArrowUp.d.ts +4 -0
- package/lib/components/Icons/ArrowUp.js +37 -0
- package/lib/components/Icons/ArrowUp.js.map +1 -0
- package/lib/components/Icons/ArrowUpRight.d.ts +4 -0
- package/lib/components/Icons/ArrowUpRight.js +13 -0
- package/lib/components/Icons/ArrowUpRight.js.map +1 -0
- package/lib/components/Icons/Attachment.d.ts +4 -0
- package/lib/components/Icons/Attachment.js +29 -0
- package/lib/components/Icons/Attachment.js.map +1 -0
- package/lib/components/Icons/Atv.d.ts +4 -0
- package/lib/components/Icons/Atv.js +10 -0
- package/lib/components/Icons/Atv.js.map +1 -0
- package/lib/components/Icons/Avatar.d.ts +4 -0
- package/lib/components/Icons/Avatar.js +13 -0
- package/lib/components/Icons/Avatar.js.map +1 -0
- package/lib/components/Icons/AwakePersonOnPillow.d.ts +4 -0
- package/lib/components/Icons/AwakePersonOnPillow.js +10 -0
- package/lib/components/Icons/AwakePersonOnPillow.js.map +1 -0
- package/lib/components/Icons/Baby.d.ts +4 -0
- package/lib/components/Icons/Baby.js +10 -0
- package/lib/components/Icons/Baby.js.map +1 -0
- package/lib/components/Icons/BandAid.d.ts +4 -0
- package/lib/components/Icons/BandAid.js +10 -0
- package/lib/components/Icons/BandAid.js.map +1 -0
- package/lib/components/Icons/BeerAndPills.d.ts +4 -0
- package/lib/components/Icons/BeerAndPills.js +22 -0
- package/lib/components/Icons/BeerAndPills.js.map +1 -0
- package/lib/components/Icons/Bell.d.ts +4 -0
- package/lib/components/Icons/Bell.js +10 -0
- package/lib/components/Icons/Bell.js.map +1 -0
- package/lib/components/Icons/Bike.d.ts +4 -0
- package/lib/components/Icons/Bike.js +10 -0
- package/lib/components/Icons/Bike.js.map +1 -0
- package/lib/components/Icons/BirthControl.d.ts +4 -0
- package/lib/components/Icons/BirthControl.js +22 -0
- package/lib/components/Icons/BirthControl.js.map +1 -0
- package/lib/components/Icons/BirthdayCake.d.ts +4 -0
- package/lib/components/Icons/BirthdayCake.js +10 -0
- package/lib/components/Icons/BirthdayCake.js.map +1 -0
- package/lib/components/Icons/Boat.d.ts +4 -0
- package/lib/components/Icons/Boat.js +10 -0
- package/lib/components/Icons/Boat.js.map +1 -0
- package/lib/components/Icons/Body.d.ts +4 -0
- package/lib/components/Icons/Body.js +22 -0
- package/lib/components/Icons/Body.js.map +1 -0
- package/lib/components/Icons/Braille.d.ts +4 -0
- package/lib/components/Icons/Braille.js +11 -0
- package/lib/components/Icons/Braille.js.map +1 -0
- package/lib/components/Icons/Brain.d.ts +4 -0
- package/lib/components/Icons/Brain.js +10 -0
- package/lib/components/Icons/Brain.js.map +1 -0
- package/lib/components/Icons/BreastReconstruction.d.ts +4 -0
- package/lib/components/Icons/BreastReconstruction.js +22 -0
- package/lib/components/Icons/BreastReconstruction.js.map +1 -0
- package/lib/components/Icons/BreastRemoval.d.ts +4 -0
- package/lib/components/Icons/BreastRemoval.js +22 -0
- package/lib/components/Icons/BreastRemoval.js.map +1 -0
- package/lib/components/Icons/Breasts.d.ts +4 -0
- package/lib/components/Icons/Breasts.js +10 -0
- package/lib/components/Icons/Breasts.js.map +1 -0
- package/lib/components/Icons/BrokenHeart.d.ts +4 -0
- package/lib/components/Icons/BrokenHeart.js +10 -0
- package/lib/components/Icons/BrokenHeart.js.map +1 -0
- package/lib/components/Icons/BrokenPuzzle.d.ts +4 -0
- package/lib/components/Icons/BrokenPuzzle.js +10 -0
- package/lib/components/Icons/BrokenPuzzle.js.map +1 -0
- package/lib/components/Icons/Bus.d.ts +4 -0
- package/lib/components/Icons/Bus.js +32 -0
- package/lib/components/Icons/Bus.js.map +1 -0
- package/lib/components/Icons/Calendar.d.ts +4 -0
- package/lib/components/Icons/Calendar.js +37 -0
- package/lib/components/Icons/Calendar.js.map +1 -0
- package/lib/components/Icons/CalendarChange.d.ts +4 -0
- package/lib/components/Icons/CalendarChange.js +37 -0
- package/lib/components/Icons/CalendarChange.js.map +1 -0
- package/lib/components/Icons/CalendarCheck.d.ts +4 -0
- package/lib/components/Icons/CalendarCheck.js +37 -0
- package/lib/components/Icons/CalendarCheck.js.map +1 -0
- package/lib/components/Icons/CalendarEvent.d.ts +4 -0
- package/lib/components/Icons/CalendarEvent.js +10 -0
- package/lib/components/Icons/CalendarEvent.js.map +1 -0
- package/lib/components/Icons/CalendarSave.d.ts +4 -0
- package/lib/components/Icons/CalendarSave.js +13 -0
- package/lib/components/Icons/CalendarSave.js.map +1 -0
- package/lib/components/Icons/Cancer.d.ts +4 -0
- package/lib/components/Icons/Cancer.js +24 -0
- package/lib/components/Icons/Cancer.js.map +1 -0
- package/lib/components/Icons/Candle.d.ts +4 -0
- package/lib/components/Icons/Candle.js +23 -0
- package/lib/components/Icons/Candle.js.map +1 -0
- package/lib/components/Icons/Car.d.ts +4 -0
- package/lib/components/Icons/Car.js +10 -0
- package/lib/components/Icons/Car.js.map +1 -0
- package/lib/components/Icons/Carton.d.ts +4 -0
- package/lib/components/Icons/Carton.js +42 -0
- package/lib/components/Icons/Carton.js.map +1 -0
- package/lib/components/Icons/Change.d.ts +4 -0
- package/lib/components/Icons/Change.js +46 -0
- package/lib/components/Icons/Change.js.map +1 -0
- package/lib/components/Icons/Check.d.ts +4 -0
- package/lib/components/Icons/Check.js +13 -0
- package/lib/components/Icons/Check.js.map +1 -0
- package/lib/components/Icons/CheckFill.d.ts +4 -0
- package/lib/components/Icons/CheckFill.js +37 -0
- package/lib/components/Icons/CheckFill.js.map +1 -0
- package/lib/components/Icons/CheckOutline.d.ts +4 -0
- package/lib/components/Icons/CheckOutline.js +22 -0
- package/lib/components/Icons/CheckOutline.js.map +1 -0
- package/lib/components/Icons/Chest.d.ts +4 -0
- package/lib/components/Icons/Chest.js +10 -0
- package/lib/components/Icons/Chest.js.map +1 -0
- package/lib/components/Icons/ChevronDown.d.ts +4 -0
- package/lib/components/Icons/ChevronDown.js +13 -0
- package/lib/components/Icons/ChevronDown.js.map +1 -0
- package/lib/components/Icons/ChevronLeft.d.ts +4 -0
- package/lib/components/Icons/ChevronLeft.js +13 -0
- package/lib/components/Icons/ChevronLeft.js.map +1 -0
- package/lib/components/Icons/ChevronRight.d.ts +4 -0
- package/lib/components/Icons/ChevronRight.js +13 -0
- package/lib/components/Icons/ChevronRight.js.map +1 -0
- package/lib/components/Icons/ChevronUp.d.ts +4 -0
- package/lib/components/Icons/ChevronUp.js +13 -0
- package/lib/components/Icons/ChevronUp.js.map +1 -0
- package/lib/components/Icons/ChevronsDown.d.ts +4 -0
- package/lib/components/Icons/ChevronsDown.js +37 -0
- package/lib/components/Icons/ChevronsDown.js.map +1 -0
- package/lib/components/Icons/ChevronsUp.d.ts +4 -0
- package/lib/components/Icons/ChevronsUp.js +37 -0
- package/lib/components/Icons/ChevronsUp.js.map +1 -0
- package/lib/components/Icons/ChildPlaying.d.ts +4 -0
- package/lib/components/Icons/ChildPlaying.js +16 -0
- package/lib/components/Icons/ChildPlaying.js.map +1 -0
- package/lib/components/Icons/Cigarette.d.ts +4 -0
- package/lib/components/Icons/Cigarette.js +10 -0
- package/lib/components/Icons/Cigarette.js.map +1 -0
- package/lib/components/Icons/Coins.d.ts +4 -0
- package/lib/components/Icons/Coins.js +22 -0
- package/lib/components/Icons/Coins.js.map +1 -0
- package/lib/components/Icons/Contacts.d.ts +4 -0
- package/lib/components/Icons/Contacts.js +13 -0
- package/lib/components/Icons/Contacts.js.map +1 -0
- package/lib/components/Icons/Copy.d.ts +4 -0
- package/lib/components/Icons/Copy.js +24 -0
- package/lib/components/Icons/Copy.js.map +1 -0
- package/lib/components/Icons/CoronaCertificate.d.ts +4 -0
- package/lib/components/Icons/CoronaCertificate.js +22 -0
- package/lib/components/Icons/CoronaCertificate.js.map +1 -0
- package/lib/components/Icons/Coronavirus.d.ts +4 -0
- package/lib/components/Icons/Coronavirus.js +10 -0
- package/lib/components/Icons/Coronavirus.js.map +1 -0
- package/lib/components/Icons/Cough.d.ts +4 -0
- package/lib/components/Icons/Cough.js +10 -0
- package/lib/components/Icons/Cough.js.map +1 -0
- package/lib/components/Icons/CreditCard.d.ts +4 -0
- package/lib/components/Icons/CreditCard.js +48 -0
- package/lib/components/Icons/CreditCard.js.map +1 -0
- package/lib/components/Icons/CriticalHealthInfo.d.ts +4 -0
- package/lib/components/Icons/CriticalHealthInfo.js +10 -0
- package/lib/components/Icons/CriticalHealthInfo.js.map +1 -0
- package/lib/components/Icons/Cross.d.ts +4 -0
- package/lib/components/Icons/Cross.js +10 -0
- package/lib/components/Icons/Cross.js.map +1 -0
- package/lib/components/Icons/DataExchange.d.ts +4 -0
- package/lib/components/Icons/DataExchange.js +22 -0
- package/lib/components/Icons/DataExchange.js.map +1 -0
- package/lib/components/Icons/DataReceived.d.ts +4 -0
- package/lib/components/Icons/DataReceived.js +22 -0
- package/lib/components/Icons/DataReceived.js.map +1 -0
- package/lib/components/Icons/DataSent.d.ts +4 -0
- package/lib/components/Icons/DataSent.js +22 -0
- package/lib/components/Icons/DataSent.js.map +1 -0
- package/lib/components/Icons/Depression.d.ts +4 -0
- package/lib/components/Icons/Depression.js +10 -0
- package/lib/components/Icons/Depression.js.map +1 -0
- package/lib/components/Icons/DigestiveSystem.d.ts +4 -0
- package/lib/components/Icons/DigestiveSystem.js +16 -0
- package/lib/components/Icons/DigestiveSystem.js.map +1 -0
- package/lib/components/Icons/Dizzy.d.ts +4 -0
- package/lib/components/Icons/Dizzy.js +10 -0
- package/lib/components/Icons/Dizzy.js.map +1 -0
- package/lib/components/Icons/Documents.d.ts +4 -0
- package/lib/components/Icons/Documents.js +10 -0
- package/lib/components/Icons/Documents.js.map +1 -0
- package/lib/components/Icons/Dog.d.ts +4 -0
- package/lib/components/Icons/Dog.js +10 -0
- package/lib/components/Icons/Dog.js.map +1 -0
- package/lib/components/Icons/DonorCard.d.ts +4 -0
- package/lib/components/Icons/DonorCard.js +10 -0
- package/lib/components/Icons/DonorCard.js.map +1 -0
- package/lib/components/Icons/DotActive.d.ts +4 -0
- package/lib/components/Icons/DotActive.js +16 -0
- package/lib/components/Icons/DotActive.js.map +1 -0
- package/lib/components/Icons/DotAlert.d.ts +4 -0
- package/lib/components/Icons/DotAlert.js +30 -0
- package/lib/components/Icons/DotAlert.js.map +1 -0
- package/lib/components/Icons/DotCancelled.d.ts +4 -0
- package/lib/components/Icons/DotCancelled.js +30 -0
- package/lib/components/Icons/DotCancelled.js.map +1 -0
- package/lib/components/Icons/DotHalfDisc.d.ts +4 -0
- package/lib/components/Icons/DotHalfDisc.js +30 -0
- package/lib/components/Icons/DotHalfDisc.js.map +1 -0
- package/lib/components/Icons/DotInactive.d.ts +4 -0
- package/lib/components/Icons/DotInactive.js +30 -0
- package/lib/components/Icons/DotInactive.js.map +1 -0
- package/lib/components/Icons/DotInfo.d.ts +4 -0
- package/lib/components/Icons/DotInfo.js +38 -0
- package/lib/components/Icons/DotInfo.js.map +1 -0
- package/lib/components/Icons/DotLookingGlass.d.ts +4 -0
- package/lib/components/Icons/DotLookingGlass.js +30 -0
- package/lib/components/Icons/DotLookingGlass.js.map +1 -0
- package/lib/components/Icons/DotPending.d.ts +4 -0
- package/lib/components/Icons/DotPending.js +16 -0
- package/lib/components/Icons/DotPending.js.map +1 -0
- package/lib/components/Icons/DotQuestionMark.d.ts +4 -0
- package/lib/components/Icons/DotQuestionMark.js +30 -0
- package/lib/components/Icons/DotQuestionMark.js.map +1 -0
- package/lib/components/Icons/DotSuccess.d.ts +4 -0
- package/lib/components/Icons/DotSuccess.js +30 -0
- package/lib/components/Icons/DotSuccess.js.map +1 -0
- package/lib/components/Icons/DotTransparent.d.ts +4 -0
- package/lib/components/Icons/DotTransparent.js +30 -0
- package/lib/components/Icons/DotTransparent.js.map +1 -0
- package/lib/components/Icons/DotWarningTriangle.d.ts +4 -0
- package/lib/components/Icons/DotWarningTriangle.js +30 -0
- package/lib/components/Icons/DotWarningTriangle.js.map +1 -0
- package/lib/components/Icons/Download.d.ts +4 -0
- package/lib/components/Icons/Download.js +37 -0
- package/lib/components/Icons/Download.js.map +1 -0
- package/lib/components/Icons/Draft.d.ts +4 -0
- package/lib/components/Icons/Draft.js +10 -0
- package/lib/components/Icons/Draft.js.map +1 -0
- package/lib/components/Icons/Drag.d.ts +4 -0
- package/lib/components/Icons/Drag.js +11 -0
- package/lib/components/Icons/Drag.js.map +1 -0
- package/lib/components/Icons/EChat.d.ts +4 -0
- package/lib/components/Icons/EChat.js +13 -0
- package/lib/components/Icons/EChat.js.map +1 -0
- package/lib/components/Icons/Ear.d.ts +4 -0
- package/lib/components/Icons/Ear.js +17 -0
- package/lib/components/Icons/Ear.js.map +1 -0
- package/lib/components/Icons/EarDeaf.d.ts +4 -0
- package/lib/components/Icons/EarDeaf.js +11 -0
- package/lib/components/Icons/EarDeaf.js.map +1 -0
- package/lib/components/Icons/EarHearingAid.d.ts +4 -0
- package/lib/components/Icons/EarHearingAid.js +14 -0
- package/lib/components/Icons/EarHearingAid.js.map +1 -0
- package/lib/components/Icons/EarNoseThroat.d.ts +4 -0
- package/lib/components/Icons/EarNoseThroat.js +18 -0
- package/lib/components/Icons/EarNoseThroat.js.map +1 -0
- package/lib/components/Icons/EarVolume.d.ts +4 -0
- package/lib/components/Icons/EarVolume.js +26 -0
- package/lib/components/Icons/EarVolume.js.map +1 -0
- package/lib/components/Icons/Edit.d.ts +4 -0
- package/lib/components/Icons/Edit.js +31 -0
- package/lib/components/Icons/Edit.js.map +1 -0
- package/lib/components/Icons/ElderlyPerson.d.ts +4 -0
- package/lib/components/Icons/ElderlyPerson.js +10 -0
- package/lib/components/Icons/ElderlyPerson.js.map +1 -0
- package/lib/components/Icons/Embolization.d.ts +4 -0
- package/lib/components/Icons/Embolization.js +22 -0
- package/lib/components/Icons/Embolization.js.map +1 -0
- package/lib/components/Icons/EmergencyCall.d.ts +4 -0
- package/lib/components/Icons/EmergencyCall.js +25 -0
- package/lib/components/Icons/EmergencyCall.js.map +1 -0
- package/lib/components/Icons/EmoticonAnnoyed.d.ts +4 -0
- package/lib/components/Icons/EmoticonAnnoyed.js +21 -0
- package/lib/components/Icons/EmoticonAnnoyed.js.map +1 -0
- package/lib/components/Icons/EmoticonDelighted.d.ts +4 -0
- package/lib/components/Icons/EmoticonDelighted.js +21 -0
- package/lib/components/Icons/EmoticonDelighted.js.map +1 -0
- package/lib/components/Icons/EmoticonDisappointed.d.ts +4 -0
- package/lib/components/Icons/EmoticonDisappointed.js +21 -0
- package/lib/components/Icons/EmoticonDisappointed.js.map +1 -0
- package/lib/components/Icons/EmoticonHappy.d.ts +4 -0
- package/lib/components/Icons/EmoticonHappy.js +21 -0
- package/lib/components/Icons/EmoticonHappy.js.map +1 -0
- package/lib/components/Icons/EmoticonMeh.d.ts +4 -0
- package/lib/components/Icons/EmoticonMeh.js +21 -0
- package/lib/components/Icons/EmoticonMeh.js.map +1 -0
- package/lib/components/Icons/EmptyBox.d.ts +4 -0
- package/lib/components/Icons/EmptyBox.js +24 -0
- package/lib/components/Icons/EmptyBox.js.map +1 -0
- package/lib/components/Icons/EnterFullScreen.d.ts +4 -0
- package/lib/components/Icons/EnterFullScreen.js +22 -0
- package/lib/components/Icons/EnterFullScreen.js.map +1 -0
- package/lib/components/Icons/Envelope.d.ts +4 -0
- package/lib/components/Icons/Envelope.js +13 -0
- package/lib/components/Icons/Envelope.js.map +1 -0
- package/lib/components/Icons/Epilepsy.d.ts +4 -0
- package/lib/components/Icons/Epilepsy.js +10 -0
- package/lib/components/Icons/Epilepsy.js.map +1 -0
- package/lib/components/Icons/Eraser.d.ts +4 -0
- package/lib/components/Icons/Eraser.js +19 -0
- package/lib/components/Icons/Eraser.js.map +1 -0
- package/lib/components/Icons/ErrorSignFill.d.ts +4 -0
- package/lib/components/Icons/ErrorSignFill.js +13 -0
- package/lib/components/Icons/ErrorSignFill.js.map +1 -0
- package/lib/components/Icons/ErrorSignStroke.d.ts +4 -0
- package/lib/components/Icons/ErrorSignStroke.js +13 -0
- package/lib/components/Icons/ErrorSignStroke.js.map +1 -0
- package/lib/components/Icons/EuropeanHealthCard.d.ts +4 -0
- package/lib/components/Icons/EuropeanHealthCard.js +13 -0
- package/lib/components/Icons/EuropeanHealthCard.js.map +1 -0
- package/lib/components/Icons/ExitFullScreen.d.ts +4 -0
- package/lib/components/Icons/ExitFullScreen.js +22 -0
- package/lib/components/Icons/ExitFullScreen.js.map +1 -0
- package/lib/components/Icons/Eye.d.ts +4 -0
- package/lib/components/Icons/Eye.js +37 -0
- package/lib/components/Icons/Eye.js.map +1 -0
- package/lib/components/Icons/Facebook.d.ts +4 -0
- package/lib/components/Icons/Facebook.js +10 -0
- package/lib/components/Icons/Facebook.js.map +1 -0
- package/lib/components/Icons/FallingLeaf.d.ts +4 -0
- package/lib/components/Icons/FallingLeaf.js +31 -0
- package/lib/components/Icons/FallingLeaf.js.map +1 -0
- package/lib/components/Icons/Feedback.d.ts +4 -0
- package/lib/components/Icons/Feedback.js +25 -0
- package/lib/components/Icons/Feedback.js.map +1 -0
- package/lib/components/Icons/Female.d.ts +4 -0
- package/lib/components/Icons/Female.js +10 -0
- package/lib/components/Icons/Female.js.map +1 -0
- package/lib/components/Icons/FemaleDoctor.d.ts +4 -0
- package/lib/components/Icons/FemaleDoctor.js +10 -0
- package/lib/components/Icons/FemaleDoctor.js.map +1 -0
- package/lib/components/Icons/Ferry.d.ts +4 -0
- package/lib/components/Icons/Ferry.js +10 -0
- package/lib/components/Icons/Ferry.js.map +1 -0
- package/lib/components/Icons/File.d.ts +4 -0
- package/lib/components/Icons/File.js +37 -0
- package/lib/components/Icons/File.js.map +1 -0
- package/lib/components/Icons/Filter.d.ts +4 -0
- package/lib/components/Icons/Filter.js +32 -0
- package/lib/components/Icons/Filter.js.map +1 -0
- package/lib/components/Icons/FingerBleed.d.ts +4 -0
- package/lib/components/Icons/FingerBleed.js +10 -0
- package/lib/components/Icons/FingerBleed.js.map +1 -0
- package/lib/components/Icons/FirstAidKit.d.ts +4 -0
- package/lib/components/Icons/FirstAidKit.js +10 -0
- package/lib/components/Icons/FirstAidKit.js.map +1 -0
- package/lib/components/Icons/Fish.d.ts +4 -0
- package/lib/components/Icons/Fish.js +44 -0
- package/lib/components/Icons/Fish.js.map +1 -0
- package/lib/components/Icons/FloppyDisk.d.ts +4 -0
- package/lib/components/Icons/FloppyDisk.js +22 -0
- package/lib/components/Icons/FloppyDisk.js.map +1 -0
- package/lib/components/Icons/Football.d.ts +4 -0
- package/lib/components/Icons/Football.js +10 -0
- package/lib/components/Icons/Football.js.map +1 -0
- package/lib/components/Icons/Form.d.ts +4 -0
- package/lib/components/Icons/Form.js +13 -0
- package/lib/components/Icons/Form.js.map +1 -0
- package/lib/components/Icons/Forward.d.ts +4 -0
- package/lib/components/Icons/Forward.js +19 -0
- package/lib/components/Icons/Forward.js.map +1 -0
- package/lib/components/Icons/Gallery.d.ts +4 -0
- package/lib/components/Icons/Gallery.js +37 -0
- package/lib/components/Icons/Gallery.js.map +1 -0
- package/lib/components/Icons/Garden.d.ts +4 -0
- package/lib/components/Icons/Garden.js +10 -0
- package/lib/components/Icons/Garden.js.map +1 -0
- package/lib/components/Icons/GasCan.d.ts +4 -0
- package/lib/components/Icons/GasCan.js +10 -0
- package/lib/components/Icons/GasCan.js.map +1 -0
- package/lib/components/Icons/GenderIdentity.d.ts +4 -0
- package/lib/components/Icons/GenderIdentity.js +22 -0
- package/lib/components/Icons/GenderIdentity.js.map +1 -0
- package/lib/components/Icons/GlassWater.d.ts +4 -0
- package/lib/components/Icons/GlassWater.js +22 -0
- package/lib/components/Icons/GlassWater.js.map +1 -0
- package/lib/components/Icons/Glasses.d.ts +4 -0
- package/lib/components/Icons/Glasses.js +25 -0
- package/lib/components/Icons/Glasses.js.map +1 -0
- package/lib/components/Icons/Globe.d.ts +4 -0
- package/lib/components/Icons/Globe.js +13 -0
- package/lib/components/Icons/Globe.js.map +1 -0
- package/lib/components/Icons/Grain.d.ts +4 -0
- package/lib/components/Icons/Grain.js +22 -0
- package/lib/components/Icons/Grain.js.map +1 -0
- package/lib/components/Icons/Graph.d.ts +4 -0
- package/lib/components/Icons/Graph.js +29 -0
- package/lib/components/Icons/Graph.js.map +1 -0
- package/lib/components/Icons/Group.d.ts +4 -0
- package/lib/components/Icons/Group.js +39 -0
- package/lib/components/Icons/Group.js.map +1 -0
- package/lib/components/Icons/GroupTwins.d.ts +4 -0
- package/lib/components/Icons/GroupTwins.js +84 -0
- package/lib/components/Icons/GroupTwins.js.map +1 -0
- package/lib/components/Icons/HTMLFile.d.ts +4 -0
- package/lib/components/Icons/HTMLFile.js +17 -0
- package/lib/components/Icons/HTMLFile.js.map +1 -0
- package/lib/components/Icons/HandWaving.d.ts +4 -0
- package/lib/components/Icons/HandWaving.js +10 -0
- package/lib/components/Icons/HandWaving.js.map +1 -0
- package/lib/components/Icons/HandWithDisease.d.ts +4 -0
- package/lib/components/Icons/HandWithDisease.js +10 -0
- package/lib/components/Icons/HandWithDisease.js.map +1 -0
- package/lib/components/Icons/HandsAndHeart.d.ts +4 -0
- package/lib/components/Icons/HandsAndHeart.js +23 -0
- package/lib/components/Icons/HandsAndHeart.js.map +1 -0
- package/lib/components/Icons/HealthClinic.d.ts +4 -0
- package/lib/components/Icons/HealthClinic.js +22 -0
- package/lib/components/Icons/HealthClinic.js.map +1 -0
- package/lib/components/Icons/HealthMeasurements.d.ts +4 -0
- package/lib/components/Icons/HealthMeasurements.js +24 -0
- package/lib/components/Icons/HealthMeasurements.js.map +1 -0
- package/lib/components/Icons/HealthWarning.d.ts +4 -0
- package/lib/components/Icons/HealthWarning.js +22 -0
- package/lib/components/Icons/HealthWarning.js.map +1 -0
- package/lib/components/Icons/HealthcarePerson.d.ts +4 -0
- package/lib/components/Icons/HealthcarePerson.js +77 -0
- package/lib/components/Icons/HealthcarePerson.js.map +1 -0
- package/lib/components/Icons/HealthcarePersonell.d.ts +4 -0
- package/lib/components/Icons/HealthcarePersonell.js +100 -0
- package/lib/components/Icons/HealthcarePersonell.js.map +1 -0
- package/lib/components/Icons/HearingProtection.d.ts +4 -0
- package/lib/components/Icons/HearingProtection.js +31 -0
- package/lib/components/Icons/HearingProtection.js.map +1 -0
- package/lib/components/Icons/Heart.d.ts +4 -0
- package/lib/components/Icons/Heart.js +13 -0
- package/lib/components/Icons/Heart.js.map +1 -0
- package/lib/components/Icons/HeartHands.d.ts +4 -0
- package/lib/components/Icons/HeartHands.js +76 -0
- package/lib/components/Icons/HeartHands.js.map +1 -0
- package/lib/components/Icons/HelpSign.d.ts +4 -0
- package/lib/components/Icons/HelpSign.js +13 -0
- package/lib/components/Icons/HelpSign.js.map +1 -0
- package/lib/components/Icons/HelpingHand.d.ts +4 -0
- package/lib/components/Icons/HelpingHand.js +22 -0
- package/lib/components/Icons/HelpingHand.js.map +1 -0
- package/lib/components/Icons/Hemodialysis.d.ts +4 -0
- package/lib/components/Icons/Hemodialysis.js +22 -0
- package/lib/components/Icons/Hemodialysis.js.map +1 -0
- package/lib/components/Icons/Hiker.d.ts +4 -0
- package/lib/components/Icons/Hiker.js +10 -0
- package/lib/components/Icons/Hiker.js.map +1 -0
- package/lib/components/Icons/Hipprosthesis.d.ts +4 -0
- package/lib/components/Icons/Hipprosthesis.js +22 -0
- package/lib/components/Icons/Hipprosthesis.js.map +1 -0
- package/lib/components/Icons/History.d.ts +4 -0
- package/lib/components/Icons/History.js +13 -0
- package/lib/components/Icons/History.js.map +1 -0
- package/lib/components/Icons/HivAndAids.d.ts +4 -0
- package/lib/components/Icons/HivAndAids.js +10 -0
- package/lib/components/Icons/HivAndAids.js.map +1 -0
- package/lib/components/Icons/Home.d.ts +4 -0
- package/lib/components/Icons/Home.js +37 -0
- package/lib/components/Icons/Home.js.map +1 -0
- package/lib/components/Icons/HomeFill.d.ts +4 -0
- package/lib/components/Icons/HomeFill.js +41 -0
- package/lib/components/Icons/HomeFill.js.map +1 -0
- package/lib/components/Icons/Hormone.d.ts +4 -0
- package/lib/components/Icons/Hormone.js +10 -0
- package/lib/components/Icons/Hormone.js.map +1 -0
- package/lib/components/Icons/Hospital.d.ts +4 -0
- package/lib/components/Icons/Hospital.js +37 -0
- package/lib/components/Icons/Hospital.js.map +1 -0
- package/lib/components/Icons/Hourglass.d.ts +4 -0
- package/lib/components/Icons/Hourglass.js +37 -0
- package/lib/components/Icons/Hourglass.js.map +1 -0
- package/lib/components/Icons/IconNames.d.ts +3 -0
- package/lib/components/Icons/IconNames.js +344 -0
- package/lib/components/Icons/IconNames.js.map +1 -0
- package/lib/components/Icons/ImgFile.d.ts +4 -0
- package/lib/components/Icons/ImgFile.js +22 -0
- package/lib/components/Icons/ImgFile.js.map +1 -0
- package/lib/components/Icons/Inbox.d.ts +4 -0
- package/lib/components/Icons/Inbox.js +19 -0
- package/lib/components/Icons/Inbox.js.map +1 -0
- package/lib/components/Icons/InfoSignFill.d.ts +4 -0
- package/lib/components/Icons/InfoSignFill.js +13 -0
- package/lib/components/Icons/InfoSignFill.js.map +1 -0
- package/lib/components/Icons/InfoSignStroke.d.ts +4 -0
- package/lib/components/Icons/InfoSignStroke.js +13 -0
- package/lib/components/Icons/InfoSignStroke.js.map +1 -0
- package/lib/components/Icons/Instagram.d.ts +4 -0
- package/lib/components/Icons/Instagram.js +17 -0
- package/lib/components/Icons/Instagram.js.map +1 -0
- package/lib/components/Icons/Intravenous.d.ts +4 -0
- package/lib/components/Icons/Intravenous.js +22 -0
- package/lib/components/Icons/Intravenous.js.map +1 -0
- package/lib/components/Icons/JointPain.d.ts +4 -0
- package/lib/components/Icons/JointPain.js +10 -0
- package/lib/components/Icons/JointPain.js.map +1 -0
- package/lib/components/Icons/Journal.d.ts +4 -0
- package/lib/components/Icons/Journal.js +13 -0
- package/lib/components/Icons/Journal.js.map +1 -0
- package/lib/components/Icons/JpgFile.d.ts +4 -0
- package/lib/components/Icons/JpgFile.js +22 -0
- package/lib/components/Icons/JpgFile.js.map +1 -0
- package/lib/components/Icons/Kidney.d.ts +4 -0
- package/lib/components/Icons/Kidney.js +10 -0
- package/lib/components/Icons/Kidney.js.map +1 -0
- package/lib/components/Icons/KitchenScale.d.ts +4 -0
- package/lib/components/Icons/KitchenScale.js +22 -0
- package/lib/components/Icons/KitchenScale.js.map +1 -0
- package/lib/components/Icons/Kjernejournal.d.ts +4 -0
- package/lib/components/Icons/Kjernejournal.js +10 -0
- package/lib/components/Icons/Kjernejournal.js.map +1 -0
- package/lib/components/Icons/Laboratory.d.ts +4 -0
- package/lib/components/Icons/Laboratory.js +22 -0
- package/lib/components/Icons/Laboratory.js.map +1 -0
- package/lib/components/Icons/LaptopBlog.d.ts +4 -0
- package/lib/components/Icons/LaptopBlog.js +10 -0
- package/lib/components/Icons/LaptopBlog.js.map +1 -0
- package/lib/components/Icons/LawBook.d.ts +4 -0
- package/lib/components/Icons/LawBook.js +13 -0
- package/lib/components/Icons/LawBook.js.map +1 -0
- package/lib/components/Icons/LegalDocument.d.ts +4 -0
- package/lib/components/Icons/LegalDocument.js +35 -0
- package/lib/components/Icons/LegalDocument.js.map +1 -0
- package/lib/components/Icons/LightBulb.d.ts +4 -0
- package/lib/components/Icons/LightBulb.js +10 -0
- package/lib/components/Icons/LightBulb.js.map +1 -0
- package/lib/components/Icons/List.d.ts +4 -0
- package/lib/components/Icons/List.js +37 -0
- package/lib/components/Icons/List.js.map +1 -0
- package/lib/components/Icons/Location.d.ts +4 -0
- package/lib/components/Icons/Location.js +16 -0
- package/lib/components/Icons/Location.js.map +1 -0
- package/lib/components/Icons/LocationFill.d.ts +4 -0
- package/lib/components/Icons/LocationFill.js +41 -0
- package/lib/components/Icons/LocationFill.js.map +1 -0
- package/lib/components/Icons/Lock.d.ts +4 -0
- package/lib/components/Icons/Lock.js +25 -0
- package/lib/components/Icons/Lock.js.map +1 -0
- package/lib/components/Icons/Login.d.ts +4 -0
- package/lib/components/Icons/Login.js +61 -0
- package/lib/components/Icons/Login.js.map +1 -0
- package/lib/components/Icons/Logout.d.ts +4 -0
- package/lib/components/Icons/Logout.js +53 -0
- package/lib/components/Icons/Logout.js.map +1 -0
- package/lib/components/Icons/Lungs.d.ts +4 -0
- package/lib/components/Icons/Lungs.js +10 -0
- package/lib/components/Icons/Lungs.js.map +1 -0
- package/lib/components/Icons/Makeup.d.ts +4 -0
- package/lib/components/Icons/Makeup.js +10 -0
- package/lib/components/Icons/Makeup.js.map +1 -0
- package/lib/components/Icons/MaleDoctor.d.ts +4 -0
- package/lib/components/Icons/MaleDoctor.js +10 -0
- package/lib/components/Icons/MaleDoctor.js.map +1 -0
- package/lib/components/Icons/MaleDoctorAndPerson.d.ts +4 -0
- package/lib/components/Icons/MaleDoctorAndPerson.js +18 -0
- package/lib/components/Icons/MaleDoctorAndPerson.js.map +1 -0
- package/lib/components/Icons/MaleDoctorCompact.d.ts +4 -0
- package/lib/components/Icons/MaleDoctorCompact.js +55 -0
- package/lib/components/Icons/MaleDoctorCompact.js.map +1 -0
- package/lib/components/Icons/MaleDoctorCompactFill.d.ts +4 -0
- package/lib/components/Icons/MaleDoctorCompactFill.js +41 -0
- package/lib/components/Icons/MaleDoctorCompactFill.js.map +1 -0
- package/lib/components/Icons/MaleGenitalia.d.ts +4 -0
- package/lib/components/Icons/MaleGenitalia.js +10 -0
- package/lib/components/Icons/MaleGenitalia.js.map +1 -0
- package/lib/components/Icons/Medicine.d.ts +4 -0
- package/lib/components/Icons/Medicine.js +37 -0
- package/lib/components/Icons/Medicine.js.map +1 -0
- package/lib/components/Icons/MedicineWarning.d.ts +4 -0
- package/lib/components/Icons/MedicineWarning.js +22 -0
- package/lib/components/Icons/MedicineWarning.js.map +1 -0
- package/lib/components/Icons/MentalHealthAdult.d.ts +4 -0
- package/lib/components/Icons/MentalHealthAdult.js +16 -0
- package/lib/components/Icons/MentalHealthAdult.js.map +1 -0
- package/lib/components/Icons/MentalHealthChild.d.ts +4 -0
- package/lib/components/Icons/MentalHealthChild.js +16 -0
- package/lib/components/Icons/MentalHealthChild.js.map +1 -0
- package/lib/components/Icons/Menu.d.ts +4 -0
- package/lib/components/Icons/Menu.js +13 -0
- package/lib/components/Icons/Menu.js.map +1 -0
- package/lib/components/Icons/Microscope.d.ts +4 -0
- package/lib/components/Icons/Microscope.js +22 -0
- package/lib/components/Icons/Microscope.js.map +1 -0
- package/lib/components/Icons/Minus.d.ts +4 -0
- package/lib/components/Icons/Minus.js +13 -0
- package/lib/components/Icons/Minus.js.map +1 -0
- package/lib/components/Icons/Mirror.d.ts +4 -0
- package/lib/components/Icons/Mirror.js +10 -0
- package/lib/components/Icons/Mirror.js.map +1 -0
- package/lib/components/Icons/MobilePhone.d.ts +4 -0
- package/lib/components/Icons/MobilePhone.js +13 -0
- package/lib/components/Icons/MobilePhone.js.map +1 -0
- package/lib/components/Icons/MotherHoldingBaby.d.ts +4 -0
- package/lib/components/Icons/MotherHoldingBaby.js +10 -0
- package/lib/components/Icons/MotherHoldingBaby.js.map +1 -0
- package/lib/components/Icons/MuscleBack.d.ts +4 -0
- package/lib/components/Icons/MuscleBack.js +18 -0
- package/lib/components/Icons/MuscleBack.js.map +1 -0
- package/lib/components/Icons/MuscleLeg.d.ts +4 -0
- package/lib/components/Icons/MuscleLeg.js +16 -0
- package/lib/components/Icons/MuscleLeg.js.map +1 -0
- package/lib/components/Icons/Mushroom.d.ts +4 -0
- package/lib/components/Icons/Mushroom.js +10 -0
- package/lib/components/Icons/Mushroom.js.map +1 -0
- package/lib/components/Icons/Music.d.ts +4 -0
- package/lib/components/Icons/Music.js +22 -0
- package/lib/components/Icons/Music.js.map +1 -0
- package/lib/components/Icons/MusselsAndSalt.d.ts +4 -0
- package/lib/components/Icons/MusselsAndSalt.js +10 -0
- package/lib/components/Icons/MusselsAndSalt.js.map +1 -0
- package/lib/components/Icons/NoAccess.d.ts +4 -0
- package/lib/components/Icons/NoAccess.js +59 -0
- package/lib/components/Icons/NoAccess.js.map +1 -0
- package/lib/components/Icons/NoEye.d.ts +4 -0
- package/lib/components/Icons/NoEye.js +39 -0
- package/lib/components/Icons/NoEye.js.map +1 -0
- package/lib/components/Icons/NoFilter.d.ts +4 -0
- package/lib/components/Icons/NoFilter.js +19 -0
- package/lib/components/Icons/NoFilter.js.map +1 -0
- package/lib/components/Icons/Notepad.d.ts +4 -0
- package/lib/components/Icons/Notepad.js +10 -0
- package/lib/components/Icons/Notepad.js.map +1 -0
- package/lib/components/Icons/Osteotomy.d.ts +4 -0
- package/lib/components/Icons/Osteotomy.js +22 -0
- package/lib/components/Icons/Osteotomy.js.map +1 -0
- package/lib/components/Icons/PaintRoller.d.ts +4 -0
- package/lib/components/Icons/PaintRoller.js +10 -0
- package/lib/components/Icons/PaintRoller.js.map +1 -0
- package/lib/components/Icons/PaperPlane.d.ts +4 -0
- package/lib/components/Icons/PaperPlane.js +13 -0
- package/lib/components/Icons/PaperPlane.js.map +1 -0
- package/lib/components/Icons/PatientAndPerson.d.ts +4 -0
- package/lib/components/Icons/PatientAndPerson.js +10 -0
- package/lib/components/Icons/PatientAndPerson.js.map +1 -0
- package/lib/components/Icons/Pause.d.ts +4 -0
- package/lib/components/Icons/Pause.js +13 -0
- package/lib/components/Icons/Pause.js.map +1 -0
- package/lib/components/Icons/PdfFile.d.ts +4 -0
- package/lib/components/Icons/PdfFile.js +22 -0
- package/lib/components/Icons/PdfFile.js.map +1 -0
- package/lib/components/Icons/Pencil.d.ts +4 -0
- package/lib/components/Icons/Pencil.js +29 -0
- package/lib/components/Icons/Pencil.js.map +1 -0
- package/lib/components/Icons/PeopleTalking.d.ts +4 -0
- package/lib/components/Icons/PeopleTalking.js +22 -0
- package/lib/components/Icons/PeopleTalking.js.map +1 -0
- package/lib/components/Icons/Peritonealdialysis.d.ts +4 -0
- package/lib/components/Icons/Peritonealdialysis.js +22 -0
- package/lib/components/Icons/Peritonealdialysis.js.map +1 -0
- package/lib/components/Icons/Person.d.ts +4 -0
- package/lib/components/Icons/Person.js +10 -0
- package/lib/components/Icons/Person.js.map +1 -0
- package/lib/components/Icons/PersonAndPatient.d.ts +4 -0
- package/lib/components/Icons/PersonAndPatient.js +10 -0
- package/lib/components/Icons/PersonAndPatient.js.map +1 -0
- package/lib/components/Icons/PersonCancel.d.ts +4 -0
- package/lib/components/Icons/PersonCancel.js +73 -0
- package/lib/components/Icons/PersonCancel.js.map +1 -0
- package/lib/components/Icons/PersonInXRayMachine.d.ts +4 -0
- package/lib/components/Icons/PersonInXRayMachine.js +22 -0
- package/lib/components/Icons/PersonInXRayMachine.js.map +1 -0
- package/lib/components/Icons/PersonOverweight.d.ts +4 -0
- package/lib/components/Icons/PersonOverweight.js +10 -0
- package/lib/components/Icons/PersonOverweight.js.map +1 -0
- package/lib/components/Icons/PersonRelaxing.d.ts +4 -0
- package/lib/components/Icons/PersonRelaxing.js +16 -0
- package/lib/components/Icons/PersonRelaxing.js.map +1 -0
- package/lib/components/Icons/PersonWithBrain.d.ts +4 -0
- package/lib/components/Icons/PersonWithBrain.js +13 -0
- package/lib/components/Icons/PersonWithBrain.js.map +1 -0
- package/lib/components/Icons/PersonWithBrokenArm.d.ts +4 -0
- package/lib/components/Icons/PersonWithBrokenArm.js +10 -0
- package/lib/components/Icons/PersonWithBrokenArm.js.map +1 -0
- package/lib/components/Icons/PersonWithCrutches.d.ts +4 -0
- package/lib/components/Icons/PersonWithCrutches.js +10 -0
- package/lib/components/Icons/PersonWithCrutches.js.map +1 -0
- package/lib/components/Icons/PersonWithJaw.d.ts +4 -0
- package/lib/components/Icons/PersonWithJaw.js +16 -0
- package/lib/components/Icons/PersonWithJaw.js.map +1 -0
- package/lib/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -0
- package/lib/components/Icons/PersonWithMagnifyingGlass.js +16 -0
- package/lib/components/Icons/PersonWithMagnifyingGlass.js.map +1 -0
- package/lib/components/Icons/PersonWithSenses.d.ts +4 -0
- package/lib/components/Icons/PersonWithSenses.js +22 -0
- package/lib/components/Icons/PersonWithSenses.js.map +1 -0
- package/lib/components/Icons/PersonWorking.d.ts +4 -0
- package/lib/components/Icons/PersonWorking.js +16 -0
- package/lib/components/Icons/PersonWorking.js.map +1 -0
- package/lib/components/Icons/PersonalPlan.d.ts +4 -0
- package/lib/components/Icons/PersonalPlan.js +41 -0
- package/lib/components/Icons/PersonalPlan.js.map +1 -0
- package/lib/components/Icons/PizzaSlice.d.ts +4 -0
- package/lib/components/Icons/PizzaSlice.js +16 -0
- package/lib/components/Icons/PizzaSlice.js.map +1 -0
- package/lib/components/Icons/Plane.d.ts +4 -0
- package/lib/components/Icons/Plane.js +10 -0
- package/lib/components/Icons/Plane.js.map +1 -0
- package/lib/components/Icons/Plant.d.ts +4 -0
- package/lib/components/Icons/Plant.js +10 -0
- package/lib/components/Icons/Plant.js.map +1 -0
- package/lib/components/Icons/PlateKnifeFork.d.ts +4 -0
- package/lib/components/Icons/PlateKnifeFork.js +40 -0
- package/lib/components/Icons/PlateKnifeFork.js.map +1 -0
- package/lib/components/Icons/Play.d.ts +4 -0
- package/lib/components/Icons/Play.js +13 -0
- package/lib/components/Icons/Play.js.map +1 -0
- package/lib/components/Icons/PlusLarge.d.ts +4 -0
- package/lib/components/Icons/PlusLarge.js +13 -0
- package/lib/components/Icons/PlusLarge.js.map +1 -0
- package/lib/components/Icons/PlusSmall.d.ts +4 -0
- package/lib/components/Icons/PlusSmall.js +13 -0
- package/lib/components/Icons/PlusSmall.js.map +1 -0
- package/lib/components/Icons/PngFile.d.ts +4 -0
- package/lib/components/Icons/PngFile.js +22 -0
- package/lib/components/Icons/PngFile.js.map +1 -0
- package/lib/components/Icons/Podcast.d.ts +4 -0
- package/lib/components/Icons/Podcast.js +22 -0
- package/lib/components/Icons/Podcast.js.map +1 -0
- package/lib/components/Icons/PoisonInformation.d.ts +4 -0
- package/lib/components/Icons/PoisonInformation.js +16 -0
- package/lib/components/Icons/PoisonInformation.js.map +1 -0
- package/lib/components/Icons/Pregnant.d.ts +4 -0
- package/lib/components/Icons/Pregnant.js +10 -0
- package/lib/components/Icons/Pregnant.js.map +1 -0
- package/lib/components/Icons/Printer.d.ts +4 -0
- package/lib/components/Icons/Printer.js +37 -0
- package/lib/components/Icons/Printer.js.map +1 -0
- package/lib/components/Icons/Psychosis.d.ts +4 -0
- package/lib/components/Icons/Psychosis.js +10 -0
- package/lib/components/Icons/Psychosis.js.map +1 -0
- package/lib/components/Icons/Publication.d.ts +4 -0
- package/lib/components/Icons/Publication.js +22 -0
- package/lib/components/Icons/Publication.js.map +1 -0
- package/lib/components/Icons/Puzzle.d.ts +4 -0
- package/lib/components/Icons/Puzzle.js +13 -0
- package/lib/components/Icons/Puzzle.js.map +1 -0
- package/lib/components/Icons/QrCode.d.ts +4 -0
- package/lib/components/Icons/QrCode.js +37 -0
- package/lib/components/Icons/QrCode.js.map +1 -0
- package/lib/components/Icons/Quarrel.d.ts +4 -0
- package/lib/components/Icons/Quarrel.js +22 -0
- package/lib/components/Icons/Quarrel.js.map +1 -0
- package/lib/components/Icons/RadioTherapy.d.ts +4 -0
- package/lib/components/Icons/RadioTherapy.js +22 -0
- package/lib/components/Icons/RadioTherapy.js.map +1 -0
- package/lib/components/Icons/RadioactiveTreatment.d.ts +4 -0
- package/lib/components/Icons/RadioactiveTreatment.js +22 -0
- package/lib/components/Icons/RadioactiveTreatment.js.map +1 -0
- package/lib/components/Icons/Radioiodine.d.ts +4 -0
- package/lib/components/Icons/Radioiodine.js +22 -0
- package/lib/components/Icons/Radioiodine.js.map +1 -0
- package/lib/components/Icons/Receipt.d.ts +4 -0
- package/lib/components/Icons/Receipt.js +10 -0
- package/lib/components/Icons/Receipt.js.map +1 -0
- package/lib/components/Icons/Receptionist.d.ts +4 -0
- package/lib/components/Icons/Receptionist.js +13 -0
- package/lib/components/Icons/Receptionist.js.map +1 -0
- package/lib/components/Icons/Recovery.d.ts +4 -0
- package/lib/components/Icons/Recovery.js +22 -0
- package/lib/components/Icons/Recovery.js.map +1 -0
- package/lib/components/Icons/Referral.d.ts +4 -0
- package/lib/components/Icons/Referral.js +13 -0
- package/lib/components/Icons/Referral.js.map +1 -0
- package/lib/components/Icons/Refresh.d.ts +4 -0
- package/lib/components/Icons/Refresh.js +13 -0
- package/lib/components/Icons/Refresh.js.map +1 -0
- package/lib/components/Icons/Refund.d.ts +4 -0
- package/lib/components/Icons/Refund.js +10 -0
- package/lib/components/Icons/Refund.js.map +1 -0
- package/lib/components/Icons/Reminder.d.ts +4 -0
- package/lib/components/Icons/Reminder.js +30 -0
- package/lib/components/Icons/Reminder.js.map +1 -0
- package/lib/components/Icons/Reply.d.ts +4 -0
- package/lib/components/Icons/Reply.js +19 -0
- package/lib/components/Icons/Reply.js.map +1 -0
- package/lib/components/Icons/Rocket.d.ts +4 -0
- package/lib/components/Icons/Rocket.js +10 -0
- package/lib/components/Icons/Rocket.js.map +1 -0
- package/lib/components/Icons/RtfFile.d.ts +4 -0
- package/lib/components/Icons/RtfFile.js +22 -0
- package/lib/components/Icons/RtfFile.js.map +1 -0
- package/lib/components/Icons/STDs.d.ts +4 -0
- package/lib/components/Icons/STDs.js +22 -0
- package/lib/components/Icons/STDs.js.map +1 -0
- package/lib/components/Icons/Save.d.ts +4 -0
- package/lib/components/Icons/Save.js +21 -0
- package/lib/components/Icons/Save.js.map +1 -0
- package/lib/components/Icons/Scale.d.ts +4 -0
- package/lib/components/Icons/Scale.js +10 -0
- package/lib/components/Icons/Scale.js.map +1 -0
- package/lib/components/Icons/ScreenReader.d.ts +4 -0
- package/lib/components/Icons/ScreenReader.js +49 -0
- package/lib/components/Icons/ScreenReader.js.map +1 -0
- package/lib/components/Icons/Search.d.ts +4 -0
- package/lib/components/Icons/Search.js +13 -0
- package/lib/components/Icons/Search.js.map +1 -0
- package/lib/components/Icons/SectionSign.d.ts +4 -0
- package/lib/components/Icons/SectionSign.js +37 -0
- package/lib/components/Icons/SectionSign.js.map +1 -0
- package/lib/components/Icons/Settings.d.ts +4 -0
- package/lib/components/Icons/Settings.js +41 -0
- package/lib/components/Icons/Settings.js.map +1 -0
- package/lib/components/Icons/SettingsFill.d.ts +4 -0
- package/lib/components/Icons/SettingsFill.js +41 -0
- package/lib/components/Icons/SettingsFill.js.map +1 -0
- package/lib/components/Icons/Sexualorientation.d.ts +4 -0
- package/lib/components/Icons/Sexualorientation.js +22 -0
- package/lib/components/Icons/Sexualorientation.js.map +1 -0
- package/lib/components/Icons/ShakingHand.d.ts +4 -0
- package/lib/components/Icons/ShakingHand.js +16 -0
- package/lib/components/Icons/ShakingHand.js.map +1 -0
- package/lib/components/Icons/Share.d.ts +4 -0
- package/lib/components/Icons/Share.js +19 -0
- package/lib/components/Icons/Share.js.map +1 -0
- package/lib/components/Icons/SharedHealthData.d.ts +4 -0
- package/lib/components/Icons/SharedHealthData.js +24 -0
- package/lib/components/Icons/SharedHealthData.js.map +1 -0
- package/lib/components/Icons/SharedHealthMeasurements.d.ts +4 -0
- package/lib/components/Icons/SharedHealthMeasurements.js +24 -0
- package/lib/components/Icons/SharedHealthMeasurements.js.map +1 -0
- package/lib/components/Icons/Shield.d.ts +4 -0
- package/lib/components/Icons/Shield.js +22 -0
- package/lib/components/Icons/Shield.js.map +1 -0
- package/lib/components/Icons/ShuntOperation.d.ts +4 -0
- package/lib/components/Icons/ShuntOperation.js +22 -0
- package/lib/components/Icons/ShuntOperation.js.map +1 -0
- package/lib/components/Icons/Skeleton.d.ts +4 -0
- package/lib/components/Icons/Skeleton.js +10 -0
- package/lib/components/Icons/Skeleton.js.map +1 -0
- package/lib/components/Icons/Skin.d.ts +4 -0
- package/lib/components/Icons/Skin.js +10 -0
- package/lib/components/Icons/Skin.js.map +1 -0
- package/lib/components/Icons/Snake.d.ts +4 -0
- package/lib/components/Icons/Snake.js +10 -0
- package/lib/components/Icons/Snake.js.map +1 -0
- package/lib/components/Icons/Snapchat.d.ts +4 -0
- package/lib/components/Icons/Snapchat.js +13 -0
- package/lib/components/Icons/Snapchat.js.map +1 -0
- package/lib/components/Icons/SortDown.d.ts +4 -0
- package/lib/components/Icons/SortDown.js +30 -0
- package/lib/components/Icons/SortDown.js.map +1 -0
- package/lib/components/Icons/SortUp.d.ts +4 -0
- package/lib/components/Icons/SortUp.js +30 -0
- package/lib/components/Icons/SortUp.js.map +1 -0
- package/lib/components/Icons/SpeechBubble.d.ts +4 -0
- package/lib/components/Icons/SpeechBubble.js +37 -0
- package/lib/components/Icons/SpeechBubble.js.map +1 -0
- package/lib/components/Icons/Spray.d.ts +4 -0
- package/lib/components/Icons/Spray.js +10 -0
- package/lib/components/Icons/Spray.js.map +1 -0
- package/lib/components/Icons/StickyNote.d.ts +4 -0
- package/lib/components/Icons/StickyNote.js +24 -0
- package/lib/components/Icons/StickyNote.js.map +1 -0
- package/lib/components/Icons/StickyNotes.d.ts +4 -0
- package/lib/components/Icons/StickyNotes.js +24 -0
- package/lib/components/Icons/StickyNotes.js.map +1 -0
- package/lib/components/Icons/Stopwatch.d.ts +4 -0
- package/lib/components/Icons/Stopwatch.js +37 -0
- package/lib/components/Icons/Stopwatch.js.map +1 -0
- package/lib/components/Icons/Sun.d.ts +4 -0
- package/lib/components/Icons/Sun.js +33 -0
- package/lib/components/Icons/Sun.js.map +1 -0
- package/lib/components/Icons/SupportingPerson.d.ts +4 -0
- package/lib/components/Icons/SupportingPerson.js +51 -0
- package/lib/components/Icons/SupportingPerson.js.map +1 -0
- package/lib/components/Icons/Surgery.d.ts +4 -0
- package/lib/components/Icons/Surgery.js +22 -0
- package/lib/components/Icons/Surgery.js.map +1 -0
- package/lib/components/Icons/Sweets.d.ts +4 -0
- package/lib/components/Icons/Sweets.js +42 -0
- package/lib/components/Icons/Sweets.js.map +1 -0
- package/lib/components/Icons/Syringe.d.ts +4 -0
- package/lib/components/Icons/Syringe.js +24 -0
- package/lib/components/Icons/Syringe.js.map +1 -0
- package/lib/components/Icons/Taxi.d.ts +4 -0
- package/lib/components/Icons/Taxi.js +10 -0
- package/lib/components/Icons/Taxi.js.map +1 -0
- package/lib/components/Icons/TeddyBear.d.ts +4 -0
- package/lib/components/Icons/TeddyBear.js +10 -0
- package/lib/components/Icons/TeddyBear.js.map +1 -0
- package/lib/components/Icons/Teenagers.d.ts +4 -0
- package/lib/components/Icons/Teenagers.js +22 -0
- package/lib/components/Icons/Teenagers.js.map +1 -0
- package/lib/components/Icons/ThinkingAboutBaby.d.ts +4 -0
- package/lib/components/Icons/ThinkingAboutBaby.js +10 -0
- package/lib/components/Icons/ThinkingAboutBaby.js.map +1 -0
- package/lib/components/Icons/Ticket.d.ts +4 -0
- package/lib/components/Icons/Ticket.js +10 -0
- package/lib/components/Icons/Ticket.js.map +1 -0
- package/lib/components/Icons/TimePassing.d.ts +4 -0
- package/lib/components/Icons/TimePassing.js +37 -0
- package/lib/components/Icons/TimePassing.js.map +1 -0
- package/lib/components/Icons/Toddler.d.ts +4 -0
- package/lib/components/Icons/Toddler.js +10 -0
- package/lib/components/Icons/Toddler.js.map +1 -0
- package/lib/components/Icons/Tombstone.d.ts +4 -0
- package/lib/components/Icons/Tombstone.js +29 -0
- package/lib/components/Icons/Tombstone.js.map +1 -0
- package/lib/components/Icons/Toolbox.d.ts +4 -0
- package/lib/components/Icons/Toolbox.js +55 -0
- package/lib/components/Icons/Toolbox.js.map +1 -0
- package/lib/components/Icons/Tooth.d.ts +4 -0
- package/lib/components/Icons/Tooth.js +10 -0
- package/lib/components/Icons/Tooth.js.map +1 -0
- package/lib/components/Icons/TotalKneeProsthesis.d.ts +4 -0
- package/lib/components/Icons/TotalKneeProsthesis.js +22 -0
- package/lib/components/Icons/TotalKneeProsthesis.js.map +1 -0
- package/lib/components/Icons/Train.d.ts +4 -0
- package/lib/components/Icons/Train.js +10 -0
- package/lib/components/Icons/Train.js.map +1 -0
- package/lib/components/Icons/Transplantation.d.ts +4 -0
- package/lib/components/Icons/Transplantation.js +22 -0
- package/lib/components/Icons/Transplantation.js.map +1 -0
- package/lib/components/Icons/TrashCan.d.ts +4 -0
- package/lib/components/Icons/TrashCan.js +37 -0
- package/lib/components/Icons/TrashCan.js.map +1 -0
- package/lib/components/Icons/TravelRoute.d.ts +4 -0
- package/lib/components/Icons/TravelRoute.js +60 -0
- package/lib/components/Icons/TravelRoute.js.map +1 -0
- package/lib/components/Icons/TreatmentAids.d.ts +4 -0
- package/lib/components/Icons/TreatmentAids.js +41 -0
- package/lib/components/Icons/TreatmentAids.js.map +1 -0
- package/lib/components/Icons/TriangleX.d.ts +4 -0
- package/lib/components/Icons/TriangleX.js +41 -0
- package/lib/components/Icons/TriangleX.js.map +1 -0
- package/lib/components/Icons/Twitter.d.ts +4 -0
- package/lib/components/Icons/Twitter.js +10 -0
- package/lib/components/Icons/Twitter.js.map +1 -0
- package/lib/components/Icons/Undo.d.ts +4 -0
- package/lib/components/Icons/Undo.js +51 -0
- package/lib/components/Icons/Undo.js.map +1 -0
- package/lib/components/Icons/UniProsthesis.d.ts +4 -0
- package/lib/components/Icons/UniProsthesis.js +22 -0
- package/lib/components/Icons/UniProsthesis.js.map +1 -0
- package/lib/components/Icons/Upload.d.ts +4 -0
- package/lib/components/Icons/Upload.js +19 -0
- package/lib/components/Icons/Upload.js.map +1 -0
- package/lib/components/Icons/UserOrganization.d.ts +4 -0
- package/lib/components/Icons/UserOrganization.js +10 -0
- package/lib/components/Icons/UserOrganization.js.map +1 -0
- package/lib/components/Icons/Vaccine.d.ts +4 -0
- package/lib/components/Icons/Vaccine.js +37 -0
- package/lib/components/Icons/Vaccine.js.map +1 -0
- package/lib/components/Icons/VerticalDots.d.ts +4 -0
- package/lib/components/Icons/VerticalDots.js +13 -0
- package/lib/components/Icons/VerticalDots.js.map +1 -0
- package/lib/components/Icons/VideoCamera.d.ts +4 -0
- package/lib/components/Icons/VideoCamera.js +37 -0
- package/lib/components/Icons/VideoCamera.js.map +1 -0
- package/lib/components/Icons/VideoChat.d.ts +4 -0
- package/lib/components/Icons/VideoChat.js +13 -0
- package/lib/components/Icons/VideoChat.js.map +1 -0
- package/lib/components/Icons/Wallet.d.ts +4 -0
- package/lib/components/Icons/Wallet.js +13 -0
- package/lib/components/Icons/Wallet.js.map +1 -0
- package/lib/components/Icons/Watch.d.ts +4 -0
- package/lib/components/Icons/Watch.js +37 -0
- package/lib/components/Icons/Watch.js.map +1 -0
- package/lib/components/Icons/Website.d.ts +4 -0
- package/lib/components/Icons/Website.js +22 -0
- package/lib/components/Icons/Website.js.map +1 -0
- package/lib/components/Icons/Wheelchair.d.ts +4 -0
- package/lib/components/Icons/Wheelchair.js +22 -0
- package/lib/components/Icons/Wheelchair.js.map +1 -0
- package/lib/components/Icons/WheelchairActive.d.ts +4 -0
- package/lib/components/Icons/WheelchairActive.js +22 -0
- package/lib/components/Icons/WheelchairActive.js.map +1 -0
- package/lib/components/Icons/Window.d.ts +4 -0
- package/lib/components/Icons/Window.js +10 -0
- package/lib/components/Icons/Window.js.map +1 -0
- package/lib/components/Icons/WordDocument.d.ts +4 -0
- package/lib/components/Icons/WordDocument.js +16 -0
- package/lib/components/Icons/WordDocument.js.map +1 -0
- package/lib/components/Icons/WorkSuitcase.d.ts +4 -0
- package/lib/components/Icons/WorkSuitcase.js +16 -0
- package/lib/components/Icons/WorkSuitcase.js.map +1 -0
- package/lib/components/Icons/X.d.ts +4 -0
- package/lib/components/Icons/X.js +15 -0
- package/lib/components/Icons/X.js.map +1 -0
- package/lib/components/Icons/XOutline.d.ts +4 -0
- package/lib/components/Icons/XOutline.js +22 -0
- package/lib/components/Icons/XOutline.js.map +1 -0
- package/lib/components/Icons/XmlFile.d.ts +4 -0
- package/lib/components/Icons/XmlFile.js +22 -0
- package/lib/components/Icons/XmlFile.js.map +1 -0
- package/lib/components/Icons/YouTube.d.ts +4 -0
- package/lib/components/Icons/YouTube.js +10 -0
- package/lib/components/Icons/YouTube.js.map +1 -0
- package/lib/components/Icons/Zoom.d.ts +4 -0
- package/lib/components/Icons/Zoom.js +37 -0
- package/lib/components/Icons/Zoom.js.map +1 -0
- package/lib/components/Illustration/Illustration.d.ts +28 -0
- package/lib/components/Illustration/Illustration.test.d.ts +1 -0
- package/lib/components/Illustration/index.d.ts +3 -0
- package/lib/components/Illustration/index.js +8 -0
- package/lib/components/Illustration/index.js.map +1 -0
- package/lib/components/Illustration/utils.d.ts +8 -0
- package/lib/components/Illustrations/BabyMobile.d.ts +8 -0
- package/lib/components/Illustrations/BabyMobile.js +11 -0
- package/lib/components/Illustrations/BabyMobile.js.map +1 -0
- package/lib/components/Illustrations/BabyMobileMedium.d.ts +4 -0
- package/lib/components/Illustrations/BabyMobileMedium.js +424 -0
- package/lib/components/Illustrations/BabyMobileMedium.js.map +1 -0
- package/lib/components/Illustrations/Child.d.ts +12 -0
- package/lib/components/Illustrations/Child.js +11 -0
- package/lib/components/Illustrations/Child.js.map +1 -0
- package/lib/components/Illustrations/ChildMedium.d.ts +4 -0
- package/lib/components/Illustrations/ChildMedium.js +185 -0
- package/lib/components/Illustrations/ChildMedium.js.map +1 -0
- package/lib/components/Illustrations/Doctor.d.ts +8 -0
- package/lib/components/Illustrations/Doctor.js +13 -0
- package/lib/components/Illustrations/Doctor.js.map +1 -0
- package/lib/components/Illustrations/DoctorMedium.d.ts +4 -0
- package/lib/components/Illustrations/DoctorMedium.js +72 -0
- package/lib/components/Illustrations/DoctorMedium.js.map +1 -0
- package/lib/components/Illustrations/DoctorSmall.d.ts +4 -0
- package/lib/components/Illustrations/DoctorSmall.js +70 -0
- package/lib/components/Illustrations/DoctorSmall.js.map +1 -0
- package/lib/components/Illustrations/FacialRecognitionFingerprint.d.ts +8 -0
- package/lib/components/Illustrations/FacialRecognitionFingerprint.js +11 -0
- package/lib/components/Illustrations/FacialRecognitionFingerprint.js.map +1 -0
- package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.d.ts +4 -0
- package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.js +318 -0
- package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.js.map +1 -0
- package/lib/components/Illustrations/GiveBabyFood.d.ts +11 -0
- package/lib/components/Illustrations/GiveBabyFood.js +11 -0
- package/lib/components/Illustrations/GiveBabyFood.js.map +1 -0
- package/lib/components/Illustrations/GiveBabyFoodMedium.d.ts +4 -0
- package/lib/components/Illustrations/GiveBabyFoodMedium.js +377 -0
- package/lib/components/Illustrations/GiveBabyFoodMedium.js.map +1 -0
- package/lib/components/Illustrations/HealthcarePersonnel.d.ts +4 -0
- package/lib/components/Illustrations/HealthcarePersonnel.js +13 -0
- package/lib/components/Illustrations/HealthcarePersonnel.js.map +1 -0
- package/lib/components/Illustrations/HealthcarePersonnelMedium.d.ts +4 -0
- package/lib/components/Illustrations/HealthcarePersonnelMedium.js +229 -0
- package/lib/components/Illustrations/HealthcarePersonnelMedium.js.map +1 -0
- package/lib/components/Illustrations/HealthcarePersonnelSmall.d.ts +4 -0
- package/lib/components/Illustrations/HealthcarePersonnelSmall.js +212 -0
- package/lib/components/Illustrations/HealthcarePersonnelSmall.js.map +1 -0
- package/lib/components/Illustrations/IllustrationNames.d.ts +9 -0
- package/lib/components/Illustrations/IllustrationNames.js +27 -0
- package/lib/components/Illustrations/IllustrationNames.js.map +1 -0
- package/lib/components/Illustrations/ReadLetters.d.ts +9 -0
- package/lib/components/Illustrations/ReadLetters.js +11 -0
- package/lib/components/Illustrations/ReadLetters.js.map +1 -0
- package/lib/components/Illustrations/ReadLettersMedium.d.ts +4 -0
- package/lib/components/Illustrations/ReadLettersMedium.js +110 -0
- package/lib/components/Illustrations/ReadLettersMedium.js.map +1 -0
- package/lib/components/Illustrations/Stroller.d.ts +12 -0
- package/lib/components/Illustrations/Stroller.js +11 -0
- package/lib/components/Illustrations/Stroller.js.map +1 -0
- package/lib/components/Illustrations/StrollerMedium.d.ts +4 -0
- package/lib/components/Illustrations/StrollerMedium.js +236 -0
- package/lib/components/Illustrations/StrollerMedium.js.map +1 -0
- package/lib/components/Illustrations/Support2.d.ts +9 -0
- package/lib/components/Illustrations/Support2.js +11 -0
- package/lib/components/Illustrations/Support2.js.map +1 -0
- package/lib/components/Illustrations/Support2Medium.d.ts +4 -0
- package/lib/components/Illustrations/Support2Medium.js +232 -0
- package/lib/components/Illustrations/Support2Medium.js.map +1 -0
- package/lib/components/InfoTeaser/InfoTeaser.d.ts +28 -0
- package/lib/components/InfoTeaser/InfoTeaser.test.d.ts +1 -0
- package/lib/components/InfoTeaser/index.d.ts +3 -0
- package/lib/components/InfoTeaser/index.js +5 -0
- package/lib/components/InfoTeaser/index.js.map +1 -0
- package/lib/components/InfoTeaser/resourceHelper.d.ts +3 -0
- package/lib/components/Input/Input.d.ts +62 -0
- package/lib/components/Input/Input.test.d.ts +1 -0
- package/lib/components/Input/index.d.ts +3 -0
- package/lib/components/Input/index.js +7 -0
- package/lib/components/Input/index.js.map +1 -0
- package/lib/components/Label/Label.d.ts +45 -0
- package/lib/components/Label/Label.test.d.ts +1 -0
- package/lib/components/Label/SubLabel.d.ts +18 -0
- package/lib/components/Label/index.d.ts +4 -0
- package/lib/components/Label/index.js +10 -0
- package/lib/components/Label/index.js.map +1 -0
- package/lib/components/LazyIcon/ErrorBoundary.d.ts +16 -0
- package/lib/components/LazyIcon/LazyIcon.d.ts +9 -0
- package/lib/components/LazyIcon/LazyIcon.test.d.ts +1 -0
- package/lib/components/LazyIcon/index.d.ts +3 -0
- package/lib/components/LazyIcon/index.js +8 -0
- package/lib/components/LazyIcon/index.js.map +1 -0
- package/lib/components/LazyIcon/utils.d.ts +2 -0
- package/lib/components/LazyIllustration/LazyIllustration.d.ts +9 -0
- package/lib/components/LazyIllustration/LazyIllustration.test.d.ts +1 -0
- package/lib/components/LazyIllustration/index.d.ts +3 -0
- package/lib/components/LazyIllustration/index.js +8 -0
- package/lib/components/LazyIllustration/index.js.map +1 -0
- package/lib/components/LinkList/LinkList.d.ts +65 -0
- package/lib/components/LinkList/LinkList.test.d.ts +1 -0
- package/lib/components/LinkList/index.d.ts +3 -0
- package/lib/components/LinkList/index.js +8 -0
- package/lib/components/LinkList/index.js.map +1 -0
- package/lib/components/List/List.d.ts +23 -0
- package/lib/components/List/List.test.d.ts +1 -0
- package/lib/components/List/index.d.ts +3 -0
- package/lib/components/List/index.js +5 -0
- package/lib/components/List/index.js.map +1 -0
- package/lib/components/ListEditMode/ListEditMode.d.ts +29 -0
- package/lib/components/ListEditMode/index.d.ts +3 -0
- package/lib/components/ListEditMode/index.js +9 -0
- package/lib/components/ListEditMode/index.js.map +1 -0
- package/lib/components/Loader/Loader.d.ts +32 -0
- package/lib/components/Loader/Loader.test.d.ts +1 -0
- package/lib/components/Loader/index.d.ts +3 -0
- package/lib/components/Loader/index.js +97 -0
- package/lib/components/Loader/index.js.map +1 -0
- package/lib/components/Logo/Logo.d.ts +16 -0
- package/lib/components/Logo/Logo.test.d.ts +1 -0
- package/lib/components/Logo/index.d.ts +3 -0
- package/lib/components/Logo/index.js +47 -0
- package/lib/components/Logo/index.js.map +1 -0
- package/lib/components/MaxCharacters/MaxCharacters.d.ts +16 -0
- package/lib/components/MaxCharacters/MaxCharacters.test.d.ts +1 -0
- package/lib/components/Modal/Modal.d.ts +62 -0
- package/lib/components/Modal/Modal.test.d.ts +1 -0
- package/lib/components/Modal/index.d.ts +3 -0
- package/lib/components/Modal/index.js +209 -0
- package/lib/components/Modal/index.js.map +1 -0
- package/lib/components/NotificationPanel/NotificationPanel.d.ts +45 -0
- package/lib/components/NotificationPanel/NotificationPanel.test.d.ts +1 -0
- package/lib/components/NotificationPanel/index.d.ts +3 -0
- package/lib/components/NotificationPanel/index.js +113 -0
- package/lib/components/NotificationPanel/index.js.map +1 -0
- package/lib/components/Panel/Panel.d.ts +78 -0
- package/lib/components/Panel/Panel.test.d.ts +1 -0
- package/lib/components/Panel/PanelExamples.d.ts +8 -0
- package/lib/components/Panel/PanelTitle/PanelTitle.d.ts +17 -0
- package/lib/components/Panel/PanelTitle/index.d.ts +3 -0
- package/lib/components/Panel/PanelTitle/index.js +5 -0
- package/lib/components/Panel/PanelTitle/index.js.map +1 -0
- package/lib/components/Panel/Paneldocs.d.ts +1 -0
- package/lib/components/Panel/index.d.ts +3 -0
- package/lib/components/Panel/index.js +15 -0
- package/lib/components/Panel/index.js.map +1 -0
- package/lib/components/Panel/resourceHelper.d.ts +3 -0
- package/lib/components/PanelList/PanelList.d.ts +14 -0
- package/lib/components/PanelList/PanelList.test.d.ts +1 -0
- package/lib/components/PanelList/index.d.ts +3 -0
- package/lib/components/PanelList/index.js +29 -0
- package/lib/components/PanelList/index.js.map +1 -0
- package/lib/components/PanelListOld/PanelListOld.d.ts +12 -0
- package/lib/components/PanelListOld/PanelListOld.test.d.ts +1 -0
- package/lib/components/PanelListOld/index.d.ts +3 -0
- package/lib/components/PanelListOld/index.js +20 -0
- package/lib/components/PanelListOld/index.js.map +1 -0
- package/lib/components/PanelOld/PanelOld.d.ts +89 -0
- package/lib/components/PanelOld/PanelOld.test.d.ts +1 -0
- package/lib/components/PanelOld/index.d.ts +3 -0
- package/lib/components/PanelOld/index.js +9 -0
- package/lib/components/PanelOld/index.js.map +1 -0
- package/lib/components/PopMenu/PopMenu.d.ts +41 -0
- package/lib/components/PopMenu/PopMenu.test.d.ts +0 -0
- package/lib/components/PopMenu/index.d.ts +3 -0
- package/lib/components/PopMenu/index.js +114 -0
- package/lib/components/PopMenu/index.js.map +1 -0
- package/lib/components/PopOver/PopOver.d.ts +38 -0
- package/lib/components/PopOver/PopOver.test.d.ts +1 -0
- package/lib/components/PopOver/index.d.ts +3 -0
- package/lib/components/PopOver/index.js +7 -0
- package/lib/components/PopOver/index.js.map +1 -0
- package/lib/components/PopOver/utils.d.ts +26 -0
- package/lib/components/Portal/index.d.ts +12 -0
- package/lib/components/Portal/index.js +25 -0
- package/lib/components/Portal/index.js.map +1 -0
- package/lib/components/Progressbar/Progressbar.d.ts +30 -0
- package/lib/components/Progressbar/Progressbar.test.d.ts +1 -0
- package/lib/components/Progressbar/index.d.ts +3 -0
- package/lib/components/Progressbar/index.js +131 -0
- package/lib/components/Progressbar/index.js.map +1 -0
- package/lib/components/PromoPanel/PromoPanel.d.ts +31 -0
- package/lib/components/PromoPanel/PromoPanel.test.d.ts +1 -0
- package/lib/components/PromoPanel/index.d.ts +3 -0
- package/lib/components/PromoPanel/index.js +79 -0
- package/lib/components/PromoPanel/index.js.map +1 -0
- package/lib/components/RadioButton/RadioButton.d.ts +28 -0
- package/lib/components/RadioButton/RadioButton.test.d.ts +1 -0
- package/lib/components/RadioButton/index.d.ts +3 -0
- package/lib/components/RadioButton/index.js +8 -0
- package/lib/components/RadioButton/index.js.map +1 -0
- package/lib/components/Select/Select.d.ts +34 -0
- package/lib/components/Select/Select.test.d.ts +1 -0
- package/lib/components/Select/index.d.ts +3 -0
- package/lib/components/Select/index.js +6 -0
- package/lib/components/Select/index.js.map +1 -0
- package/lib/components/ServiceMessage/ServiceMessage.d.ts +31 -0
- package/lib/components/ServiceMessage/ServiceMessage.test.d.ts +1 -0
- package/lib/components/ServiceMessage/index.d.ts +3 -0
- package/lib/components/ServiceMessage/index.js +127 -0
- package/lib/components/ServiceMessage/index.js.map +1 -0
- package/lib/components/SharingStatus/SharingStatus.d.ts +20 -0
- package/lib/components/SharingStatus/SharingStatus.test.d.ts +1 -0
- package/lib/components/SharingStatus/index.d.ts +3 -0
- package/lib/components/SharingStatus/index.js +22 -0
- package/lib/components/SharingStatus/index.js.map +1 -0
- package/lib/components/Slider/Slider.d.ts +40 -0
- package/lib/components/Slider/Slider.test.d.ts +1 -0
- package/lib/components/Slider/index.d.ts +3 -0
- package/lib/components/Slider/index.js +6 -0
- package/lib/components/Slider/index.js.map +1 -0
- package/lib/components/Spacer/Spacer.d.ts +12 -0
- package/lib/components/Spacer/Spacer.test.d.ts +1 -0
- package/lib/components/Spacer/index.d.ts +3 -0
- package/lib/components/Spacer/index.js +5 -0
- package/lib/components/Spacer/index.js.map +1 -0
- package/lib/components/StatusDot/StatusDot.d.ts +49 -0
- package/lib/components/StatusDot/StatusDot.test.d.ts +1 -0
- package/lib/components/StatusDot/index.d.ts +3 -0
- package/lib/components/StatusDot/index.js +8 -0
- package/lib/components/StatusDot/index.js.map +1 -0
- package/lib/components/Step/Step.d.ts +27 -0
- package/lib/components/Step/Step.test.d.ts +1 -0
- package/lib/components/Step/index.d.ts +3 -0
- package/lib/components/Step/index.js +37 -0
- package/lib/components/Step/index.js.map +1 -0
- package/lib/components/StepButtons/StepButtons.d.ts +18 -0
- package/lib/components/StepButtons/StepButtons.test.d.ts +1 -0
- package/lib/components/StepButtons/index.d.ts +3 -0
- package/lib/components/StepButtons/index.js +6 -0
- package/lib/components/StepButtons/index.js.map +1 -0
- package/lib/components/Stepper/Dot.d.ts +9 -0
- package/lib/components/Stepper/DotList.d.ts +8 -0
- package/lib/components/Stepper/Stepper.d.ts +27 -0
- package/lib/components/Stepper/Stepper.test.d.ts +1 -0
- package/lib/components/Stepper/index.d.ts +3 -0
- package/lib/components/Stepper/index.js +86 -0
- package/lib/components/Stepper/index.js.map +1 -0
- package/lib/components/Stepper/utils.d.ts +65 -0
- package/lib/components/StickyNote/Close.d.ts +11 -0
- package/lib/components/StickyNote/StickyNote.d.ts +25 -0
- package/lib/components/StickyNote/StickyNote.test.d.ts +1 -0
- package/lib/components/StickyNote/Triangle.d.ts +13 -0
- package/lib/components/StickyNote/index.d.ts +3 -0
- package/lib/components/StickyNote/index.js +199 -0
- package/lib/components/StickyNote/index.js.map +1 -0
- package/lib/components/Table/Table.d.ts +46 -0
- package/lib/components/Table/Table.test.d.ts +1 -0
- package/lib/components/Table/TableBody/TableBody.d.ts +12 -0
- package/lib/components/Table/TableBody/index.d.ts +3 -0
- package/lib/components/Table/TableBody/index.js +6 -0
- package/lib/components/Table/TableBody/index.js.map +1 -0
- package/lib/components/Table/TableCell/TableCell.d.ts +25 -0
- package/lib/components/Table/TableCell/index.d.ts +3 -0
- package/lib/components/Table/TableCell/index.js +8 -0
- package/lib/components/Table/TableCell/index.js.map +1 -0
- package/lib/components/Table/TableExpandedRow/TableExpandedRow.d.ts +22 -0
- package/lib/components/Table/TableExpandedRow/index.d.ts +3 -0
- package/lib/components/Table/TableExpandedRow/index.js +6 -0
- package/lib/components/Table/TableExpandedRow/index.js.map +1 -0
- package/lib/components/Table/TableExpanderCell/TableExpanderCell.d.ts +18 -0
- package/lib/components/Table/TableExpanderCell/TableExpanderCellMobile.d.ts +5 -0
- package/lib/components/Table/TableExpanderCell/index.d.ts +3 -0
- package/lib/components/Table/TableExpanderCell/index.js +6 -0
- package/lib/components/Table/TableExpanderCell/index.js.map +1 -0
- package/lib/components/Table/TableHead/TableHead.d.ts +19 -0
- package/lib/components/Table/TableHead/index.d.ts +3 -0
- package/lib/components/Table/TableHead/index.js +8 -0
- package/lib/components/Table/TableHead/index.js.map +1 -0
- package/lib/components/Table/TableHeadCell/TableHeadCell.d.ts +22 -0
- package/lib/components/Table/TableHeadCell/index.d.ts +3 -0
- package/lib/components/Table/TableHeadCell/index.js +8 -0
- package/lib/components/Table/TableHeadCell/index.js.map +1 -0
- package/lib/components/Table/TableRow/TableRow.d.ts +24 -0
- package/lib/components/Table/TableRow/index.d.ts +3 -0
- package/lib/components/Table/TableRow/index.js +6 -0
- package/lib/components/Table/TableRow/index.js.map +1 -0
- package/lib/components/Table/index.d.ts +10 -0
- package/lib/components/Table/index.js +28 -0
- package/lib/components/Table/index.js.map +1 -0
- package/lib/components/Table/utils.d.ts +24 -0
- package/lib/components/Tabs/Tab.d.ts +17 -0
- package/lib/components/Tabs/TabList/TabChevron.d.ts +9 -0
- package/lib/components/Tabs/TabList/TabItem.d.ts +14 -0
- package/lib/components/Tabs/TabList/TabList.d.ts +13 -0
- package/lib/components/Tabs/TabList/index.d.ts +3 -0
- package/lib/components/Tabs/TabList/index.js +5 -0
- package/lib/components/Tabs/TabList/index.js.map +1 -0
- package/lib/components/Tabs/TabPanel/TabPanel.d.ts +10 -0
- package/lib/components/Tabs/TabPanel/index.d.ts +3 -0
- package/lib/components/Tabs/TabPanel/index.js +5 -0
- package/lib/components/Tabs/TabPanel/index.js.map +1 -0
- package/lib/components/Tabs/Tabs.d.ts +38 -0
- package/lib/components/Tabs/Tabs.test.d.ts +1 -0
- package/lib/components/Tabs/index.d.ts +3 -0
- package/lib/components/Tabs/index.js +108 -0
- package/lib/components/Tabs/index.js.map +1 -0
- package/lib/components/Tabs/resourceHelper.d.ts +3 -0
- package/lib/components/Tag/Tag.d.ts +29 -0
- package/lib/components/Tag/Tag.test.d.ts +1 -0
- package/lib/components/Tag/index.d.ts +3 -0
- package/lib/components/Tag/index.js +36 -0
- package/lib/components/Tag/index.js.map +1 -0
- package/lib/components/TagList/TagList.d.ts +8 -0
- package/lib/components/TagList/TagList.test.d.ts +1 -0
- package/lib/components/TagList/index.d.ts +3 -0
- package/lib/components/TagList/index.js +11 -0
- package/lib/components/TagList/index.js.map +1 -0
- package/lib/components/Textarea/Textarea.d.ts +37 -0
- package/lib/components/Textarea/Textarea.test.d.ts +1 -0
- package/lib/components/Textarea/index.d.ts +3 -0
- package/lib/components/Textarea/index.js +5 -0
- package/lib/components/Textarea/index.js.map +1 -0
- package/lib/components/Tile/Tile.d.ts +34 -0
- package/lib/components/Tile/Tile.test.d.ts +1 -0
- package/lib/components/Tile/index.d.ts +3 -0
- package/lib/components/Tile/index.js +83 -0
- package/lib/components/Tile/index.js.map +1 -0
- package/lib/components/Title/Title.d.ts +25 -0
- package/lib/components/Title/Title.test.d.ts +1 -0
- package/lib/components/Title/index.d.ts +3 -0
- package/lib/components/Title/index.js +8 -0
- package/lib/components/Title/index.js.map +1 -0
- package/lib/components/Toast/Toast.d.ts +13 -0
- package/lib/components/Toast/Toast.test.d.ts +1 -0
- package/lib/components/Toast/index.d.ts +3 -0
- package/lib/components/Toast/index.js +5 -0
- package/lib/components/Toast/index.js.map +1 -0
- package/lib/components/ToastList/ToastList.d.ts +14 -0
- package/lib/components/ToastList/ToastList.test.d.ts +1 -0
- package/lib/components/ToastList/index.d.ts +3 -0
- package/lib/components/ToastList/index.js +3531 -0
- package/lib/components/ToastList/index.js.map +1 -0
- package/lib/components/Toggle/Toggle.d.ts +36 -0
- package/lib/components/Toggle/Toggle.test.d.ts +1 -0
- package/lib/components/Toggle/index.d.ts +3 -0
- package/lib/components/Toggle/index.js +152 -0
- package/lib/components/Toggle/index.js.map +1 -0
- package/lib/components/Validation/ErrorList.d.ts +7 -0
- package/lib/components/Validation/ErrorListItem.d.ts +8 -0
- package/lib/components/Validation/Validation.d.ts +21 -0
- package/lib/components/Validation/Validation.test.d.ts +1 -0
- package/lib/components/Validation/ValidationSummary.d.ts +17 -0
- package/lib/components/Validation/ValidationSummary.test.d.ts +1 -0
- package/lib/components/Validation/index.d.ts +3 -0
- package/lib/components/Validation/index.js +86 -0
- package/lib/components/Validation/index.js.map +1 -0
- package/lib/components/Validation/types.d.ts +8 -0
- package/lib/constants.d.ts +139 -0
- package/lib/constants.js +131 -0
- package/lib/constants.js.map +1 -0
- package/lib/docs/ButtonWithModal/ButtonWithModal.d.ts +10 -0
- package/lib/docs/ButtonWithModal/index.d.ts +3 -0
- package/lib/docs/FormExample/FormExample.d.ts +18 -0
- package/lib/docs/FormExample/index.d.ts +3 -0
- package/lib/docs/GridExample/GridExample.d.ts +8 -0
- package/lib/docs/GridExample/index.d.ts +3 -0
- package/lib/docs/HelpBubbleExample/HelpBubbleExample.d.ts +4 -0
- package/lib/docs/HelpBubbleExample/index.d.ts +3 -0
- package/lib/docs/HelpTooltipExample/HelpTooltipExample.d.ts +4 -0
- package/lib/docs/HelpTooltipExample/index.d.ts +3 -0
- package/lib/docs/Tokens/TokensExample.d.ts +7 -0
- package/lib/floating-ui.react.js +4306 -0
- package/lib/floating-ui.react.js.map +1 -0
- package/lib/hoc/withBreakpoint/index.d.ts +3 -0
- package/lib/hoc/withBreakpoint/index.js +6 -0
- package/lib/hoc/withBreakpoint/index.js.map +1 -0
- package/lib/hoc/withBreakpoint/withBreakpoint.d.ts +13 -0
- package/lib/hoc/withBreakpoint/withBreakpoint.js +14 -0
- package/lib/hoc/withBreakpoint/withBreakpoint.js.map +1 -0
- package/lib/hoc/withBreakpoint/withBreakpoint.test.d.ts +1 -0
- package/lib/hooks/useBreakpoint.d.ts +9 -0
- package/lib/hooks/useBreakpoint.js +56 -0
- package/lib/hooks/useBreakpoint.js.map +1 -0
- package/lib/hooks/useElementList.d.ts +8 -0
- package/lib/hooks/useElementList.js +24 -0
- package/lib/hooks/useElementList.js.map +1 -0
- package/lib/hooks/useEventListenerState.d.ts +2 -0
- package/lib/hooks/useEventListenerState.js +14 -0
- package/lib/hooks/useEventListenerState.js.map +1 -0
- package/lib/hooks/useExpand.d.ts +2 -0
- package/lib/hooks/useExpand.js +21 -0
- package/lib/hooks/useExpand.js.map +1 -0
- package/lib/hooks/useFocusToggle.d.ts +9 -0
- package/lib/hooks/useFocusToggle.js +31 -0
- package/lib/hooks/useFocusToggle.js.map +1 -0
- package/lib/hooks/useFocusTrap.d.ts +8 -0
- package/lib/hooks/useFocusTrap.js +33 -0
- package/lib/hooks/useFocusTrap.js.map +1 -0
- package/lib/hooks/useFocusableElements.d.ts +8 -0
- package/lib/hooks/useFocusableElements.js +21 -0
- package/lib/hooks/useFocusableElements.js.map +1 -0
- package/lib/hooks/useHover.d.ts +10 -0
- package/lib/hooks/useHover.js +9 -0
- package/lib/hooks/useHover.js.map +1 -0
- package/lib/hooks/useIcons.d.ts +3 -0
- package/lib/hooks/useIcons.js +23 -0
- package/lib/hooks/useIcons.js.map +1 -0
- package/lib/hooks/useIntersectionObserver.d.ts +9 -0
- package/lib/hooks/useIntersectionObserver.js +20 -0
- package/lib/hooks/useIntersectionObserver.js.map +1 -0
- package/lib/hooks/useInterval.d.ts +8 -0
- package/lib/hooks/useInterval.js +13 -0
- package/lib/hooks/useInterval.js.map +1 -0
- package/lib/hooks/useIsMobileBreakpoint.d.ts +1 -0
- package/lib/hooks/useIsMobileBreakpoint.js +10 -0
- package/lib/hooks/useIsMobileBreakpoint.js.map +1 -0
- package/lib/hooks/useIsServerSide.d.ts +6 -0
- package/lib/hooks/useIsServerSide.js +12 -0
- package/lib/hooks/useIsServerSide.js.map +1 -0
- package/lib/hooks/useIsVisible.d.ts +10 -0
- package/lib/hooks/useIsVisible.js +14 -0
- package/lib/hooks/useIsVisible.js.map +1 -0
- package/lib/hooks/useKeyboardEvent.d.ts +10 -0
- package/lib/hooks/useKeyboardEvent.js +24 -0
- package/lib/hooks/useKeyboardEvent.js.map +1 -0
- package/lib/hooks/useLayoutEvent.d.ts +8 -0
- package/lib/hooks/useLayoutEvent.js +18 -0
- package/lib/hooks/useLayoutEvent.js.map +1 -0
- package/lib/hooks/useOutsideEvent.d.ts +9 -0
- package/lib/hooks/useOutsideEvent.js +19 -0
- package/lib/hooks/useOutsideEvent.js.map +1 -0
- package/lib/hooks/usePrevious.d.ts +6 -0
- package/lib/hooks/usePrevious.js +12 -0
- package/lib/hooks/usePrevious.js.map +1 -0
- package/lib/hooks/usePseudoClasses.d.ts +12 -0
- package/lib/hooks/usePseudoClasses.js +44 -0
- package/lib/hooks/usePseudoClasses.js.map +1 -0
- package/lib/hooks/useResizeObserver.d.ts +7 -0
- package/lib/hooks/useResizeObserver.js +31 -0
- package/lib/hooks/useResizeObserver.js.map +1 -0
- package/lib/hooks/useReturnFocusOnUnmount.d.ts +5 -0
- package/lib/hooks/useReturnFocusOnUnmount.js +21 -0
- package/lib/hooks/useReturnFocusOnUnmount.js.map +1 -0
- package/lib/hooks/useRovingFocus.d.ts +9 -0
- package/lib/hooks/useRovingFocus.js +57 -0
- package/lib/hooks/useRovingFocus.js.map +1 -0
- package/lib/hooks/useSize.d.ts +8 -0
- package/lib/hooks/useSize.js +47 -0
- package/lib/hooks/useSize.js.map +1 -0
- package/lib/hooks/useToggle.d.ts +11 -0
- package/lib/hooks/useToggle.js +24 -0
- package/lib/hooks/useToggle.js.map +1 -0
- package/lib/hooks/useUuid.d.ts +6 -0
- package/lib/hooks/useUuid.js +10 -0
- package/lib/hooks/useUuid.js.map +1 -0
- package/lib/hooks/usestopPropagation.d.ts +6 -0
- package/lib/hooks/usestopPropagation.js +18 -0
- package/lib/hooks/usestopPropagation.js.map +1 -0
- package/lib/index.js +49 -0
- package/lib/index.js.map +1 -0
- package/lib/index2.js +213 -0
- package/lib/index2.js.map +1 -0
- package/lib/resources/HN.Designsystem.ArticleTeaser.en-GB.json.d.ts +7 -0
- package/lib/resources/HN.Designsystem.ArticleTeaser.nb-NO.json.d.ts +7 -0
- package/lib/resources/HN.Designsystem.Drawer.en-GB.json.d.ts +6 -0
- package/lib/resources/HN.Designsystem.Drawer.nb-NO.json.d.ts +6 -0
- package/lib/resources/HN.Designsystem.Dropdown.en-GB.json.d.ts +6 -0
- package/lib/resources/HN.Designsystem.Dropdown.nb-NO.json.d.ts +6 -0
- package/lib/resources/HN.Designsystem.FavoriteButton.nb-NO.json.d.ts +6 -0
- package/lib/resources/HN.Designsystem.FormFieldTag.nb-NO.json.d.ts +12 -0
- package/lib/resources/HN.Designsystem.HelpBubble.nb-NO.json.d.ts +6 -0
- package/lib/resources/HN.Designsystem.HelpDrawer.nb-NO.json.d.ts +6 -0
- package/lib/resources/HN.Designsystem.InfoTeaser.en-GB.json.d.ts +7 -0
- package/lib/resources/HN.Designsystem.InfoTeaser.nb-NO.json.d.ts +7 -0
- package/lib/resources/HN.Designsystem.Panel.en-GB.json.d.ts +7 -0
- package/lib/resources/HN.Designsystem.Panel.nb-NO.json.d.ts +7 -0
- package/lib/resources/HN.Designsystem.Tabs.en-GB.json.d.ts +7 -0
- package/lib/resources/HN.Designsystem.Tabs.nb-NO.json.d.ts +7 -0
- package/lib/resources/index.d.ts +0 -0
- package/lib/scss/supernova/styles/colors.css +258 -0
- package/lib/theme/currys/color.d.ts +3 -0
- package/lib/theme/currys/color.js +16 -0
- package/lib/theme/currys/color.js.map +1 -0
- package/lib/theme/currys/index.js +9 -0
- package/lib/theme/currys/index.js.map +1 -0
- package/lib/theme/currys/spacing.d.ts +3 -0
- package/lib/theme/currys/spacing.js +42 -0
- package/lib/theme/currys/spacing.js.map +1 -0
- package/lib/theme/grid.d.ts +21 -0
- package/lib/theme/grid.js +27 -0
- package/lib/theme/grid.js.map +1 -0
- package/lib/theme/index.d.ts +99 -0
- package/lib/theme/index.js +14 -0
- package/lib/theme/index.js.map +1 -0
- package/lib/theme/palette.d.ts +67 -0
- package/lib/theme/palette.js +86 -0
- package/lib/theme/palette.js.map +1 -0
- package/lib/theme/spacers.d.ts +18 -0
- package/lib/theme/spacers.js +22 -0
- package/lib/theme/spacers.js.map +1 -0
- package/lib/use-animate.js +382 -0
- package/lib/use-animate.js.map +1 -0
- package/lib/utils/accessibility.d.ts +23 -0
- package/lib/utils/accessibility.js +40 -0
- package/lib/utils/accessibility.js.map +1 -0
- package/lib/utils/component.d.ts +4 -0
- package/lib/utils/component.js +16 -0
- package/lib/utils/component.js.map +1 -0
- package/lib/utils/debounce.d.ts +6 -0
- package/lib/utils/debounce.js +19 -0
- package/lib/utils/debounce.js.map +1 -0
- package/lib/utils/deepContains.d.ts +9 -0
- package/lib/utils/deepContains.js +19 -0
- package/lib/utils/deepContains.js.map +1 -0
- package/lib/utils/device.d.ts +1 -0
- package/lib/utils/device.js +7 -0
- package/lib/utils/device.js.map +1 -0
- package/lib/utils/environment.d.ts +2 -0
- package/lib/utils/environment.js +13 -0
- package/lib/utils/environment.js.map +1 -0
- package/lib/utils/focus.d.ts +6 -0
- package/lib/utils/focus.js +14 -0
- package/lib/utils/focus.js.map +1 -0
- package/lib/utils/language.d.ts +17 -0
- package/lib/utils/language.js +25 -0
- package/lib/utils/language.js.map +1 -0
- package/lib/utils/loremtext.d.ts +4 -0
- package/lib/utils/loremtext.js +10 -0
- package/lib/utils/loremtext.js.map +1 -0
- package/lib/utils/mobile.d.ts +9 -0
- package/lib/utils/mobile.js +17 -0
- package/lib/utils/mobile.js.map +1 -0
- package/lib/utils/refs.d.ts +13 -0
- package/lib/utils/refs.js +19 -0
- package/lib/utils/refs.js.map +1 -0
- package/lib/utils/scroll.d.ts +2 -0
- package/lib/utils/scroll.js +11 -0
- package/lib/utils/scroll.js.map +1 -0
- package/lib/utils/tests/accessibility.test.d.ts +1 -0
- package/lib/utils/tests/deepContains.test.d.ts +1 -0
- package/lib/utils/tests/language.test.d.ts +1 -0
- package/lib/utils/tests/setup-test.d.ts +0 -0
- package/lib/utils/tests/uuid.test.d.ts +1 -0
- package/lib/utils/tests/viewport.test.d.ts +1 -0
- package/lib/utils/uuid.d.ts +2 -0
- package/lib/utils/uuid.js +7 -0
- package/lib/utils/uuid.js.map +1 -0
- package/lib/utils/viewport.d.ts +1 -0
- package/lib/utils/viewport.js +8 -0
- package/lib/utils/viewport.js.map +1 -0
- package/lib/utils.js +13 -0
- package/lib/utils.js.map +1 -0
- package/lib/uuid.js +20 -0
- package/lib/uuid.js.map +1 -0
- package/package.json +4 -2
- package/.prettierignore +0 -2
- package/.storybook/StoryBackground.tsx +0 -17
- package/.storybook/declaration.d.ts +0 -9
- package/.storybook/frankenstein-storybook.svg +0 -14
- package/.storybook/knobs.ts +0 -19
- package/.storybook/main.ts +0 -85
- package/.storybook/manager-head.html +0 -90
- package/.storybook/manager.ts +0 -15
- package/.storybook/preview.tsx +0 -91
- package/__scripts__/entries.js +0 -47
- package/__scripts__/generateIconNames.mjs +0 -27
- package/__scripts__/generateIllustrationNames.mjs +0 -56
- package/__scripts__/link-root-scss.mjs +0 -93
- package/__scripts__/new-component.js +0 -106
- package/chromatic.config.json +0 -7
- package/figma-token.config.json +0 -19
- package/src/__mocks__/IntersectionObserver.ts +0 -17
- package/src/__mocks__/MutationObserver.ts +0 -14
- package/src/__mocks__/ResizeObserver.ts +0 -17
- package/src/__mocks__/matchMedia.ts +0 -13
- package/src/__mocks__/useHover.ts +0 -7
- package/src/__mocks__/useLayoutEvent.ts +0 -5
- package/src/__mocks__/useOutsideEvent.ts +0 -5
- package/src/__mocks__/usePseudoClasses.ts +0 -7
- package/src/__mocks__/useSize.ts +0 -12
- package/src/__mocks__/uuid.ts +0 -13
- package/src/components/AnchorLink/AnchorLink.stories.tsx +0 -94
- package/src/components/AnchorLink/AnchorLink.test.tsx +0 -99
- package/src/components/AnchorLink/AnchorLink.tsx +0 -103
- package/src/components/AnchorLink/__snapshots__/AnchorLink.test.tsx.snap +0 -56
- package/src/components/AnchorLink/index.ts +0 -3
- package/src/components/ArticleTeaser/ArticleTeaser.stories.tsx +0 -72
- package/src/components/ArticleTeaser/ArticleTeaser.test.tsx +0 -27
- package/src/components/ArticleTeaser/ArticleTeaser.tsx +0 -72
- package/src/components/ArticleTeaser/index.ts +0 -3
- package/src/components/ArticleTeaser/resourceHelper.ts +0 -14
- package/src/components/AsChildSlot/AsChildSlot.stories.tsx +0 -79
- package/src/components/AsChildSlot/AsChildSlot.test.tsx +0 -105
- package/src/components/AsChildSlot/AsChildSlot.tsx +0 -110
- package/src/components/AsChildSlot/index.ts +0 -3
- package/src/components/Avatar/Avatar.stories.tsx +0 -70
- package/src/components/Avatar/Avatar.test.tsx +0 -55
- package/src/components/Avatar/Avatar.tsx +0 -61
- package/src/components/Avatar/__snapshots__/Avatar.test.tsx.snap +0 -77
- package/src/components/Avatar/index.ts +0 -3
- package/src/components/Badge/Badge.stories.tsx +0 -85
- package/src/components/Badge/Badge.test.tsx +0 -61
- package/src/components/Badge/Badge.tsx +0 -62
- package/src/components/Badge/NotificationBadge.tsx +0 -80
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Button/Button.stories.tsx +0 -343
- package/src/components/Button/Button.test.tsx +0 -461
- package/src/components/Button/Button.tsx +0 -270
- package/src/components/Button/__snapshots__/Button.test.tsx.snap +0 -118
- package/src/components/Button/index.ts +0 -3
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -113
- package/src/components/Checkbox/Checkbox.test.tsx +0 -183
- package/src/components/Checkbox/Checkbox.tsx +0 -177
- package/src/components/Checkbox/index.ts +0 -3
- package/src/components/Chip/Chip.stories.tsx +0 -64
- package/src/components/Chip/Chip.test.tsx +0 -49
- package/src/components/Chip/Chip.tsx +0 -75
- package/src/components/Chip/index.ts +0 -3
- package/src/components/Close/Close.stories.tsx +0 -62
- package/src/components/Close/Close.test.tsx +0 -18
- package/src/components/Close/Close.tsx +0 -68
- package/src/components/Close/index.tsx +0 -3
- package/src/components/DictionaryTrigger/DictionaryTrigger.stories.tsx +0 -66
- package/src/components/DictionaryTrigger/DictionaryTrigger.test.tsx +0 -107
- package/src/components/DictionaryTrigger/DictionaryTrigger.tsx +0 -50
- package/src/components/DictionaryTrigger/index.ts +0 -3
- package/src/components/Drawer/Drawer.stories.tsx +0 -239
- package/src/components/Drawer/Drawer.test.tsx +0 -140
- package/src/components/Drawer/Drawer.tsx +0 -310
- package/src/components/Drawer/index.ts +0 -3
- package/src/components/Drawer/resourceHelper.ts +0 -14
- package/src/components/Dropdown/Dropdown.stories.tsx +0 -313
- package/src/components/Dropdown/Dropdown.test.tsx +0 -215
- package/src/components/Dropdown/Dropdown.tsx +0 -340
- package/src/components/Dropdown/SingleSelect/SingleSelect.stories.tsx +0 -77
- package/src/components/Dropdown/SingleSelect/SingleSelect.test.tsx +0 -189
- package/src/components/Dropdown/SingleSelect/SingleSelect.tsx +0 -40
- package/src/components/Dropdown/SingleSelect/SingleSelectItem.tsx +0 -114
- package/src/components/Dropdown/SingleSelect/index.ts +0 -3
- package/src/components/Dropdown/index.ts +0 -3
- package/src/components/Dropdown/resourceHelper.ts +0 -14
- package/src/components/DropdownOld/DropdownOld.stories.tsx +0 -229
- package/src/components/DropdownOld/DropdownOld.test.tsx +0 -228
- package/src/components/DropdownOld/DropdownOld.tsx +0 -246
- package/src/components/DropdownOld/index.ts +0 -3
- package/src/components/DropdownOld/resourceHelper.ts +0 -14
- package/src/components/Duolist/Duolist.stories.tsx +0 -176
- package/src/components/Duolist/Duolist.test.tsx +0 -196
- package/src/components/Duolist/Duolist.tsx +0 -152
- package/src/components/Duolist/__snapshots__/Duolist.test.tsx.snap +0 -37
- package/src/components/Duolist/index.ts +0 -3
- package/src/components/ElementHeader/ElementHeader.stories.tsx +0 -262
- package/src/components/ElementHeader/ElementHeader.tsx +0 -251
- package/src/components/ElementHeader/ElementHeaderText/ElementHeaderText.stories.tsx +0 -69
- package/src/components/ElementHeader/ElementHeaderText/ElementHeaderText.tsx +0 -68
- package/src/components/ElementHeader/ElementHeaderText/index.ts +0 -3
- package/src/components/ElementHeader/StatusDotList/StatusDotList.stories.tsx +0 -37
- package/src/components/ElementHeader/StatusDotList/StatusDotList.tsx +0 -56
- package/src/components/ElementHeader/StatusDotList/index.ts +0 -3
- package/src/components/ElementHeader/index.ts +0 -3
- package/src/components/EmptyState/EmptyBoxBeeMedium.tsx +0 -95
- package/src/components/EmptyState/EmptyBoxBeeSmall.tsx +0 -95
- package/src/components/EmptyState/EmptyState.stories.tsx +0 -81
- package/src/components/EmptyState/EmptyState.test.tsx +0 -24
- package/src/components/EmptyState/EmptyState.tsx +0 -99
- package/src/components/EmptyState/index.ts +0 -3
- package/src/components/ErrorWrapper/ErrorWrapper.test.tsx +0 -52
- package/src/components/ErrorWrapper/ErrorWrapper.tsx +0 -47
- package/src/components/ErrorWrapper/index.ts +0 -3
- package/src/components/Expander/Expander.stories.tsx +0 -173
- package/src/components/Expander/Expander.test.tsx +0 -149
- package/src/components/Expander/Expander.tsx +0 -183
- package/src/components/Expander/__snapshots__/Expander.test.tsx.snap +0 -61
- package/src/components/Expander/index.ts +0 -3
- package/src/components/ExpanderHierarchy/Expander.tsx +0 -62
- package/src/components/ExpanderHierarchy/ExpanderButton.tsx +0 -70
- package/src/components/ExpanderHierarchy/ExpanderHierarchy.stories.tsx +0 -101
- package/src/components/ExpanderHierarchy/ExpanderHierarchy.test.tsx +0 -170
- package/src/components/ExpanderHierarchy/ExpanderHierarchy.tsx +0 -55
- package/src/components/ExpanderHierarchy/__snapshots__/ExpanderHierarchy.test.tsx.snap +0 -97
- package/src/components/ExpanderHierarchy/index.ts +0 -3
- package/src/components/ExpanderHierarchy/utils.ts +0 -18
- package/src/components/ExpanderList/ExpanderList.Expander.stories.tsx +0 -84
- package/src/components/ExpanderList/ExpanderList.stories.tsx +0 -536
- package/src/components/ExpanderList/ExpanderList.test.tsx +0 -490
- package/src/components/ExpanderList/ExpanderList.tsx +0 -333
- package/src/components/ExpanderList/__snapshots__/ExpanderList.test.tsx.snap +0 -419
- package/src/components/ExpanderList/index.ts +0 -3
- package/src/components/EyebrowHeader/EyebrowHeader.stories.tsx +0 -37
- package/src/components/EyebrowHeader/EyebrowHeader.test.tsx +0 -21
- package/src/components/EyebrowHeader/EyebrowHeader.tsx +0 -37
- package/src/components/EyebrowHeader/index.ts +0 -3
- package/src/components/FavoriteButton/FavoriteButton.stories.tsx +0 -112
- package/src/components/FavoriteButton/FavoriteButton.test.tsx +0 -46
- package/src/components/FavoriteButton/FavoriteButton.tsx +0 -91
- package/src/components/FavoriteButton/StarIcon.tsx +0 -127
- package/src/components/FavoriteButton/index.ts +0 -4
- package/src/components/FavoriteButton/resourceHelper.ts +0 -11
- package/src/components/FormFieldTag/FormFieldTag.stories.tsx +0 -97
- package/src/components/FormFieldTag/FormFieldTag.test.tsx +0 -77
- package/src/components/FormFieldTag/FormFieldTag.tsx +0 -66
- package/src/components/FormFieldTag/index.ts +0 -3
- package/src/components/FormFieldTag/resourceHelper.ts +0 -11
- package/src/components/FormGroup/FormGroup.stories.tsx +0 -209
- package/src/components/FormGroup/FormGroup.test.tsx +0 -249
- package/src/components/FormGroup/FormGroup.tsx +0 -226
- package/src/components/FormGroup/index.ts +0 -3
- package/src/components/FormLayout/FormLayout.stories.tsx +0 -91
- package/src/components/FormLayout/FormLayout.test.tsx +0 -61
- package/src/components/FormLayout/FormLayout.tsx +0 -69
- package/src/components/FormLayout/index.ts +0 -3
- package/src/components/HelpBubble/HelpBubble.stories.tsx +0 -325
- package/src/components/HelpBubble/HelpBubble.test.tsx +0 -164
- package/src/components/HelpBubble/HelpBubble.tsx +0 -139
- package/src/components/HelpBubble/index.ts +0 -3
- package/src/components/HelpBubble/resourceHelper.ts +0 -11
- package/src/components/HelpDetails/HelpDetails.stories.tsx +0 -74
- package/src/components/HelpDetails/HelpDetails.test.tsx +0 -12
- package/src/components/HelpDetails/HelpDetails.tsx +0 -81
- package/src/components/HelpDrawer/HelpDrawer.stories.tsx +0 -72
- package/src/components/HelpDrawer/HelpDrawer.test.tsx +0 -22
- package/src/components/HelpDrawer/HelpDrawer.tsx +0 -51
- package/src/components/HelpDrawer/index.ts +0 -3
- package/src/components/HelpDrawer/resourceHelper.ts +0 -11
- package/src/components/HelpExpanderInline/HelpExpanderInline.stories.tsx +0 -154
- package/src/components/HelpExpanderInline/HelpExpanderInline.test.tsx +0 -33
- package/src/components/HelpExpanderInline/HelpExpanderInline.tsx +0 -38
- package/src/components/HelpExpanderInline/index.ts +0 -3
- package/src/components/HelpExpanderStandalone/HelpExpanderStandalone.stories.tsx +0 -78
- package/src/components/HelpExpanderStandalone/HelpExpanderStandalone.test.tsx +0 -50
- package/src/components/HelpExpanderStandalone/HelpExpanderStandalone.tsx +0 -73
- package/src/components/HelpExpanderStandalone/index.ts +0 -3
- package/src/components/HelpPanel/HelpPanel.stories.tsx +0 -53
- package/src/components/HelpPanel/HelpPanel.test.tsx +0 -42
- package/src/components/HelpPanel/HelpPanel.tsx +0 -39
- package/src/components/HelpPanel/index.ts +0 -3
- package/src/components/HelpTeaser/HelpTeaser.stories.tsx +0 -51
- package/src/components/HelpTeaser/HelpTeaser.test.tsx +0 -11
- package/src/components/HelpTeaser/HelpTeaser.tsx +0 -43
- package/src/components/HelpTeaser/index.ts +0 -3
- package/src/components/HelpTooltip/HelpTooltip.stories.tsx +0 -67
- package/src/components/HelpTooltip/HelpTooltip.test.tsx +0 -57
- package/src/components/HelpTooltip/HelpTooltip.tsx +0 -51
- package/src/components/HelpTooltip/index.ts +0 -3
- package/src/components/HelpTriggerIcon/HelpSign.tsx +0 -62
- package/src/components/HelpTriggerIcon/HelpTriggerIcon.stories.tsx +0 -126
- package/src/components/HelpTriggerIcon/HelpTriggerIcon.test.tsx +0 -59
- package/src/components/HelpTriggerIcon/HelpTriggerIcon.tsx +0 -121
- package/src/components/HelpTriggerIcon/index.ts +0 -3
- package/src/components/HelpTriggerInline/HelpTriggerInline.stories.tsx +0 -82
- package/src/components/HelpTriggerInline/HelpTriggerInline.test.tsx +0 -132
- package/src/components/HelpTriggerInline/HelpTriggerInline.tsx +0 -65
- package/src/components/HelpTriggerInline/index.ts +0 -3
- package/src/components/HelpTriggerStandalone/HelpTriggerStandalone.stories.tsx +0 -105
- package/src/components/HelpTriggerStandalone/HelpTriggerStandalone.test.tsx +0 -132
- package/src/components/HelpTriggerStandalone/HelpTriggerStandalone.tsx +0 -67
- package/src/components/HelpTriggerStandalone/index.ts +0 -3
- package/src/components/HighlightPanel/HighlightPanel.stories.tsx +0 -74
- package/src/components/HighlightPanel/HighlightPanel.test.tsx +0 -67
- package/src/components/HighlightPanel/HighlightPanel.tsx +0 -126
- package/src/components/HighlightPanel/index.ts +0 -3
- package/src/components/Highlighter/Highlighter.stories.tsx +0 -431
- package/src/components/Highlighter/Highlighter.test.tsx +0 -33
- package/src/components/Highlighter/Highlighter.tsx +0 -63
- package/src/components/Highlighter/index.ts +0 -3
- package/src/components/HorizontalScroll/HorizontalScroll.test.tsx +0 -58
- package/src/components/HorizontalScroll/HorizontalScroll.tsx +0 -72
- package/src/components/HorizontalScroll/__snapshots__/HorizontalScroll.test.tsx.snap +0 -23
- package/src/components/HorizontalScroll/index.ts +0 -3
- package/src/components/Icon/Icon.stories.tsx +0 -211
- package/src/components/Icon/Icon.test.tsx +0 -159
- package/src/components/Icon/Icon.tsx +0 -121
- package/src/components/Icon/__snapshots__/Icon.test.tsx.snap +0 -415
- package/src/components/Icon/index.ts +0 -5
- package/src/components/Icons/ActiveMonitoring.tsx +0 -23
- package/src/components/Icons/AcupunctureBack.tsx +0 -23
- package/src/components/Icons/AdditionalIconInformation.ts +0 -337
- package/src/components/Icons/AlarmClock.tsx +0 -41
- package/src/components/Icons/AlertSignFill.tsx +0 -25
- package/src/components/Icons/AlertSignStroke.tsx +0 -25
- package/src/components/Icons/Amputation.tsx +0 -17
- package/src/components/Icons/Anxiety.tsx +0 -17
- package/src/components/Icons/Apple.tsx +0 -17
- package/src/components/Icons/Archive.tsx +0 -37
- package/src/components/Icons/ArmFlexing.tsx +0 -17
- package/src/components/Icons/ArrowDown.tsx +0 -37
- package/src/components/Icons/ArrowLeft.tsx +0 -21
- package/src/components/Icons/ArrowRight.tsx +0 -21
- package/src/components/Icons/ArrowUp.tsx +0 -37
- package/src/components/Icons/ArrowUpRight.tsx +0 -17
- package/src/components/Icons/Attachment.tsx +0 -41
- package/src/components/Icons/Atv.tsx +0 -17
- package/src/components/Icons/Avatar.tsx +0 -24
- package/src/components/Icons/AwakePersonOnPillow.tsx +0 -17
- package/src/components/Icons/Baby.tsx +0 -17
- package/src/components/Icons/BandAid.tsx +0 -17
- package/src/components/Icons/BeerAndPills.tsx +0 -23
- package/src/components/Icons/Bell.tsx +0 -17
- package/src/components/Icons/Bike.tsx +0 -17
- package/src/components/Icons/BirthControl.tsx +0 -22
- package/src/components/Icons/BirthdayCake.tsx +0 -17
- package/src/components/Icons/Boat.tsx +0 -17
- package/src/components/Icons/Body.tsx +0 -23
- package/src/components/Icons/Braille.tsx +0 -17
- package/src/components/Icons/Brain.tsx +0 -21
- package/src/components/Icons/BreastReconstruction.tsx +0 -23
- package/src/components/Icons/BreastRemoval.tsx +0 -23
- package/src/components/Icons/Breasts.tsx +0 -17
- package/src/components/Icons/BrokenHeart.tsx +0 -17
- package/src/components/Icons/BrokenPuzzle.tsx +0 -17
- package/src/components/Icons/Bus.tsx +0 -38
- package/src/components/Icons/Calendar.tsx +0 -37
- package/src/components/Icons/CalendarChange.tsx +0 -37
- package/src/components/Icons/CalendarCheck.tsx +0 -37
- package/src/components/Icons/CalendarEvent.tsx +0 -17
- package/src/components/Icons/CalendarSave.tsx +0 -25
- package/src/components/Icons/Cancer.tsx +0 -31
- package/src/components/Icons/Candle.tsx +0 -23
- package/src/components/Icons/Car.tsx +0 -17
- package/src/components/Icons/Carton.tsx +0 -37
- package/src/components/Icons/Change.tsx +0 -49
- package/src/components/Icons/Check.tsx +0 -14
- package/src/components/Icons/CheckFill.tsx +0 -36
- package/src/components/Icons/CheckOutline.tsx +0 -23
- package/src/components/Icons/Chest.tsx +0 -17
- package/src/components/Icons/ChevronDown.tsx +0 -17
- package/src/components/Icons/ChevronLeft.tsx +0 -16
- package/src/components/Icons/ChevronRight.tsx +0 -19
- package/src/components/Icons/ChevronUp.tsx +0 -17
- package/src/components/Icons/ChevronsDown.tsx +0 -37
- package/src/components/Icons/ChevronsUp.tsx +0 -37
- package/src/components/Icons/ChildPlaying.tsx +0 -23
- package/src/components/Icons/Cigarette.tsx +0 -17
- package/src/components/Icons/Coins.tsx +0 -23
- package/src/components/Icons/Contacts.tsx +0 -25
- package/src/components/Icons/Copy.tsx +0 -36
- package/src/components/Icons/CoronaCertificate.tsx +0 -23
- package/src/components/Icons/Coronavirus.tsx +0 -17
- package/src/components/Icons/Cough.tsx +0 -17
- package/src/components/Icons/CreditCard.tsx +0 -49
- package/src/components/Icons/CriticalHealthInfo.tsx +0 -16
- package/src/components/Icons/Cross.tsx +0 -17
- package/src/components/Icons/DataExchange.tsx +0 -23
- package/src/components/Icons/DataReceived.tsx +0 -23
- package/src/components/Icons/DataSent.tsx +0 -23
- package/src/components/Icons/Depression.tsx +0 -17
- package/src/components/Icons/DigestiveSystem.tsx +0 -23
- package/src/components/Icons/Dizzy.tsx +0 -17
- package/src/components/Icons/Documents.tsx +0 -17
- package/src/components/Icons/Dog.tsx +0 -17
- package/src/components/Icons/DonorCard.tsx +0 -17
- package/src/components/Icons/DotActive.tsx +0 -22
- package/src/components/Icons/DotAlert.tsx +0 -30
- package/src/components/Icons/DotCancelled.tsx +0 -30
- package/src/components/Icons/DotHalfDisc.tsx +0 -30
- package/src/components/Icons/DotInactive.tsx +0 -30
- package/src/components/Icons/DotInfo.tsx +0 -38
- package/src/components/Icons/DotLookingGlass.tsx +0 -30
- package/src/components/Icons/DotPending.tsx +0 -22
- package/src/components/Icons/DotQuestionMark.tsx +0 -30
- package/src/components/Icons/DotSuccess.tsx +0 -30
- package/src/components/Icons/DotTransparent.tsx +0 -30
- package/src/components/Icons/DotWarningTriangle.tsx +0 -30
- package/src/components/Icons/Download.tsx +0 -37
- package/src/components/Icons/Draft.tsx +0 -17
- package/src/components/Icons/Drag.tsx +0 -21
- package/src/components/Icons/EChat.tsx +0 -25
- package/src/components/Icons/Ear.tsx +0 -23
- package/src/components/Icons/EarDeaf.tsx +0 -17
- package/src/components/Icons/EarHearingAid.tsx +0 -20
- package/src/components/Icons/EarNoseThroat.tsx +0 -25
- package/src/components/Icons/EarVolume.tsx +0 -29
- package/src/components/Icons/Edit.tsx +0 -31
- package/src/components/Icons/ElderlyPerson.tsx +0 -17
- package/src/components/Icons/Embolization.tsx +0 -23
- package/src/components/Icons/EmergencyCall.tsx +0 -25
- package/src/components/Icons/EmoticonAnnoyed.tsx +0 -27
- package/src/components/Icons/EmoticonDelighted.tsx +0 -27
- package/src/components/Icons/EmoticonDisappointed.tsx +0 -27
- package/src/components/Icons/EmoticonHappy.tsx +0 -27
- package/src/components/Icons/EmoticonMeh.tsx +0 -27
- package/src/components/Icons/EmptyBox.tsx +0 -25
- package/src/components/Icons/EnterFullScreen.tsx +0 -34
- package/src/components/Icons/Envelope.tsx +0 -25
- package/src/components/Icons/Epilepsy.tsx +0 -17
- package/src/components/Icons/Eraser.tsx +0 -31
- package/src/components/Icons/ErrorSignFill.tsx +0 -25
- package/src/components/Icons/ErrorSignStroke.tsx +0 -25
- package/src/components/Icons/EuropeanHealthCard.tsx +0 -20
- package/src/components/Icons/ExitFullScreen.tsx +0 -34
- package/src/components/Icons/Eye.tsx +0 -48
- package/src/components/Icons/Facebook.tsx +0 -17
- package/src/components/Icons/FallingLeaf.tsx +0 -31
- package/src/components/Icons/Feedback.tsx +0 -29
- package/src/components/Icons/Female.tsx +0 -17
- package/src/components/Icons/FemaleDoctor.tsx +0 -17
- package/src/components/Icons/Ferry.tsx +0 -17
- package/src/components/Icons/File.tsx +0 -37
- package/src/components/Icons/Filter.tsx +0 -35
- package/src/components/Icons/FingerBleed.tsx +0 -17
- package/src/components/Icons/FirstAidKit.tsx +0 -17
- package/src/components/Icons/Fish.tsx +0 -39
- package/src/components/Icons/FloppyDisk.tsx +0 -23
- package/src/components/Icons/Football.tsx +0 -17
- package/src/components/Icons/Form.tsx +0 -25
- package/src/components/Icons/Forward.tsx +0 -27
- package/src/components/Icons/Gallery.tsx +0 -36
- package/src/components/Icons/Garden.tsx +0 -17
- package/src/components/Icons/GasCan.tsx +0 -17
- package/src/components/Icons/GenderIdentity.tsx +0 -23
- package/src/components/Icons/GlassWater.tsx +0 -23
- package/src/components/Icons/Glasses.tsx +0 -25
- package/src/components/Icons/Globe.tsx +0 -25
- package/src/components/Icons/Grain.tsx +0 -23
- package/src/components/Icons/Graph.tsx +0 -29
- package/src/components/Icons/Group.tsx +0 -39
- package/src/components/Icons/GroupTwins.tsx +0 -71
- package/src/components/Icons/HTMLFile.tsx +0 -23
- package/src/components/Icons/HandWaving.tsx +0 -17
- package/src/components/Icons/HandWithDisease.tsx +0 -17
- package/src/components/Icons/HandsAndHeart.tsx +0 -23
- package/src/components/Icons/HealthClinic.tsx +0 -23
- package/src/components/Icons/HealthMeasurements.tsx +0 -25
- package/src/components/Icons/HealthWarning.tsx +0 -23
- package/src/components/Icons/HealthcarePerson.tsx +0 -65
- package/src/components/Icons/HealthcarePersonell.tsx +0 -79
- package/src/components/Icons/HearingProtection.tsx +0 -31
- package/src/components/Icons/Heart.tsx +0 -25
- package/src/components/Icons/HeartHands.tsx +0 -59
- package/src/components/Icons/HelpSign.tsx +0 -25
- package/src/components/Icons/HelpingHand.tsx +0 -23
- package/src/components/Icons/Hemodialysis.tsx +0 -23
- package/src/components/Icons/Hiker.tsx +0 -17
- package/src/components/Icons/Hipprosthesis.tsx +0 -23
- package/src/components/Icons/History.tsx +0 -25
- package/src/components/Icons/HivAndAids.tsx +0 -17
- package/src/components/Icons/Home.tsx +0 -36
- package/src/components/Icons/HomeFill.tsx +0 -41
- package/src/components/Icons/Hormone.tsx +0 -17
- package/src/components/Icons/Hospital.tsx +0 -37
- package/src/components/Icons/Hourglass.tsx +0 -37
- package/src/components/Icons/IconNames.ts +0 -344
- package/src/components/Icons/ImgFile.tsx +0 -23
- package/src/components/Icons/Inbox.tsx +0 -23
- package/src/components/Icons/InfoSignFill.tsx +0 -25
- package/src/components/Icons/InfoSignStroke.tsx +0 -25
- package/src/components/Icons/Instagram.tsx +0 -24
- package/src/components/Icons/Intravenous.tsx +0 -23
- package/src/components/Icons/JointPain.tsx +0 -19
- package/src/components/Icons/Journal.tsx +0 -25
- package/src/components/Icons/JpgFile.tsx +0 -23
- package/src/components/Icons/Kidney.tsx +0 -17
- package/src/components/Icons/KitchenScale.tsx +0 -23
- package/src/components/Icons/Kjernejournal.tsx +0 -17
- package/src/components/Icons/Laboratory.tsx +0 -23
- package/src/components/Icons/LaptopBlog.tsx +0 -17
- package/src/components/Icons/LawBook.tsx +0 -20
- package/src/components/Icons/LegalDocument.tsx +0 -32
- package/src/components/Icons/LightBulb.tsx +0 -17
- package/src/components/Icons/List.tsx +0 -36
- package/src/components/Icons/Location.tsx +0 -28
- package/src/components/Icons/LocationFill.tsx +0 -41
- package/src/components/Icons/Lock.tsx +0 -31
- package/src/components/Icons/Login.tsx +0 -67
- package/src/components/Icons/Logout.tsx +0 -53
- package/src/components/Icons/Lungs.tsx +0 -17
- package/src/components/Icons/Makeup.tsx +0 -17
- package/src/components/Icons/MaleDoctor.tsx +0 -17
- package/src/components/Icons/MaleDoctorAndPerson.tsx +0 -25
- package/src/components/Icons/MaleDoctorCompact.tsx +0 -55
- package/src/components/Icons/MaleDoctorCompactFill.tsx +0 -43
- package/src/components/Icons/MaleGenitalia.tsx +0 -17
- package/src/components/Icons/Medicine.tsx +0 -37
- package/src/components/Icons/MedicineWarning.tsx +0 -23
- package/src/components/Icons/MentalHealthAdult.tsx +0 -23
- package/src/components/Icons/MentalHealthChild.tsx +0 -23
- package/src/components/Icons/Menu.tsx +0 -23
- package/src/components/Icons/Microscope.tsx +0 -23
- package/src/components/Icons/Minus.tsx +0 -14
- package/src/components/Icons/Mirror.tsx +0 -17
- package/src/components/Icons/MobilePhone.tsx +0 -25
- package/src/components/Icons/MotherHoldingBaby.tsx +0 -17
- package/src/components/Icons/MuscleBack.tsx +0 -25
- package/src/components/Icons/MuscleLeg.tsx +0 -23
- package/src/components/Icons/Mushroom.tsx +0 -17
- package/src/components/Icons/Music.tsx +0 -23
- package/src/components/Icons/MusselsAndSalt.tsx +0 -17
- package/src/components/Icons/NoAccess.tsx +0 -59
- package/src/components/Icons/NoEye.tsx +0 -41
- package/src/components/Icons/NoFilter.tsx +0 -31
- package/src/components/Icons/Notepad.tsx +0 -17
- package/src/components/Icons/Osteotomy.tsx +0 -23
- package/src/components/Icons/PaintRoller.tsx +0 -17
- package/src/components/Icons/PaperPlane.tsx +0 -25
- package/src/components/Icons/PatientAndPerson.tsx +0 -17
- package/src/components/Icons/Pause.tsx +0 -25
- package/src/components/Icons/PdfFile.tsx +0 -23
- package/src/components/Icons/Pencil.tsx +0 -41
- package/src/components/Icons/PeopleTalking.tsx +0 -23
- package/src/components/Icons/Peritonealdialysis.tsx +0 -23
- package/src/components/Icons/Person.tsx +0 -17
- package/src/components/Icons/PersonAndPatient.tsx +0 -17
- package/src/components/Icons/PersonCancel.tsx +0 -65
- package/src/components/Icons/PersonInXRayMachine.tsx +0 -23
- package/src/components/Icons/PersonOverweight.tsx +0 -17
- package/src/components/Icons/PersonRelaxing.tsx +0 -23
- package/src/components/Icons/PersonWithBrain.tsx +0 -20
- package/src/components/Icons/PersonWithBrokenArm.tsx +0 -17
- package/src/components/Icons/PersonWithCrutches.tsx +0 -17
- package/src/components/Icons/PersonWithJaw.tsx +0 -23
- package/src/components/Icons/PersonWithMagnifyingGlass.tsx +0 -23
- package/src/components/Icons/PersonWithSenses.tsx +0 -29
- package/src/components/Icons/PersonWorking.tsx +0 -23
- package/src/components/Icons/PersonalPlan.tsx +0 -35
- package/src/components/Icons/PizzaSlice.tsx +0 -23
- package/src/components/Icons/Plane.tsx +0 -17
- package/src/components/Icons/Plant.tsx +0 -17
- package/src/components/Icons/PlateKnifeFork.tsx +0 -35
- package/src/components/Icons/Play.tsx +0 -23
- package/src/components/Icons/PlusLarge.tsx +0 -17
- package/src/components/Icons/PlusSmall.tsx +0 -17
- package/src/components/Icons/PngFile.tsx +0 -23
- package/src/components/Icons/Podcast.tsx +0 -23
- package/src/components/Icons/PoisonInformation.tsx +0 -23
- package/src/components/Icons/Pregnant.tsx +0 -17
- package/src/components/Icons/Printer.tsx +0 -37
- package/src/components/Icons/Psychosis.tsx +0 -17
- package/src/components/Icons/Publication.tsx +0 -23
- package/src/components/Icons/Puzzle.tsx +0 -20
- package/src/components/Icons/QrCode.tsx +0 -36
- package/src/components/Icons/Quarrel.tsx +0 -23
- package/src/components/Icons/RadioTherapy.tsx +0 -23
- package/src/components/Icons/RadioactiveTreatment.tsx +0 -23
- package/src/components/Icons/Radioiodine.tsx +0 -23
- package/src/components/Icons/Receipt.tsx +0 -17
- package/src/components/Icons/Receptionist.tsx +0 -25
- package/src/components/Icons/Recovery.tsx +0 -23
- package/src/components/Icons/Referral.tsx +0 -25
- package/src/components/Icons/Refresh.tsx +0 -25
- package/src/components/Icons/Refund.tsx +0 -17
- package/src/components/Icons/Reminder.tsx +0 -31
- package/src/components/Icons/Reply.tsx +0 -31
- package/src/components/Icons/Rocket.tsx +0 -17
- package/src/components/Icons/RtfFile.tsx +0 -23
- package/src/components/Icons/STDs.tsx +0 -23
- package/src/components/Icons/Save.tsx +0 -33
- package/src/components/Icons/Scale.tsx +0 -17
- package/src/components/Icons/ScreenReader.tsx +0 -43
- package/src/components/Icons/Search.tsx +0 -25
- package/src/components/Icons/SectionSign.tsx +0 -33
- package/src/components/Icons/Settings.tsx +0 -41
- package/src/components/Icons/SettingsFill.tsx +0 -41
- package/src/components/Icons/Sexualorientation.tsx +0 -23
- package/src/components/Icons/ShakingHand.tsx +0 -20
- package/src/components/Icons/Share.tsx +0 -31
- package/src/components/Icons/SharedHealthData.tsx +0 -25
- package/src/components/Icons/SharedHealthMeasurements.tsx +0 -25
- package/src/components/Icons/Shield.tsx +0 -23
- package/src/components/Icons/ShuntOperation.tsx +0 -23
- package/src/components/Icons/Skeleton.tsx +0 -17
- package/src/components/Icons/Skin.tsx +0 -17
- package/src/components/Icons/Snake.tsx +0 -17
- package/src/components/Icons/Snapchat.tsx +0 -20
- package/src/components/Icons/SortDown.tsx +0 -46
- package/src/components/Icons/SortUp.tsx +0 -46
- package/src/components/Icons/SpeechBubble.tsx +0 -33
- package/src/components/Icons/Spray.tsx +0 -17
- package/src/components/Icons/StickyNote.tsx +0 -25
- package/src/components/Icons/StickyNotes.tsx +0 -25
- package/src/components/Icons/Stopwatch.tsx +0 -37
- package/src/components/Icons/Sun.tsx +0 -33
- package/src/components/Icons/SupportingPerson.tsx +0 -48
- package/src/components/Icons/Surgery.tsx +0 -23
- package/src/components/Icons/Sweets.tsx +0 -37
- package/src/components/Icons/Syringe.tsx +0 -23
- package/src/components/Icons/Taxi.tsx +0 -17
- package/src/components/Icons/TeddyBear.tsx +0 -17
- package/src/components/Icons/Teenagers.tsx +0 -23
- package/src/components/Icons/ThinkingAboutBaby.tsx +0 -17
- package/src/components/Icons/Ticket.tsx +0 -17
- package/src/components/Icons/TimePassing.tsx +0 -37
- package/src/components/Icons/Toddler.tsx +0 -17
- package/src/components/Icons/Tombstone.tsx +0 -29
- package/src/components/Icons/Toolbox.tsx +0 -49
- package/src/components/Icons/Tooth.tsx +0 -17
- package/src/components/Icons/TotalKneeProsthesis.tsx +0 -23
- package/src/components/Icons/Train.tsx +0 -17
- package/src/components/Icons/Transplantation.tsx +0 -23
- package/src/components/Icons/TrashCan.tsx +0 -37
- package/src/components/Icons/TravelRoute.tsx +0 -49
- package/src/components/Icons/TreatmentAids.tsx +0 -38
- package/src/components/Icons/TriangleX.tsx +0 -49
- package/src/components/Icons/Twitter.tsx +0 -17
- package/src/components/Icons/Undo.tsx +0 -51
- package/src/components/Icons/UniProsthesis.tsx +0 -23
- package/src/components/Icons/Upload.tsx +0 -31
- package/src/components/Icons/UserOrganization.tsx +0 -17
- package/src/components/Icons/Vaccine.tsx +0 -37
- package/src/components/Icons/VerticalDots.tsx +0 -25
- package/src/components/Icons/VideoCamera.tsx +0 -37
- package/src/components/Icons/VideoChat.tsx +0 -25
- package/src/components/Icons/Wallet.tsx +0 -25
- package/src/components/Icons/Watch.tsx +0 -37
- package/src/components/Icons/Website.tsx +0 -23
- package/src/components/Icons/Wheelchair.tsx +0 -23
- package/src/components/Icons/WheelchairActive.tsx +0 -23
- package/src/components/Icons/Window.tsx +0 -17
- package/src/components/Icons/WordDocument.tsx +0 -20
- package/src/components/Icons/WorkSuitcase.tsx +0 -20
- package/src/components/Icons/X.tsx +0 -33
- package/src/components/Icons/XOutline.tsx +0 -23
- package/src/components/Icons/XmlFile.tsx +0 -23
- package/src/components/Icons/YouTube.tsx +0 -17
- package/src/components/Icons/Zoom.tsx +0 -37
- package/src/components/Illustration/Illustration.stories.tsx +0 -45
- package/src/components/Illustration/Illustration.test.tsx +0 -171
- package/src/components/Illustration/Illustration.tsx +0 -78
- package/src/components/Illustration/Illustrations.stories.tsx +0 -73
- package/src/components/Illustration/index.ts +0 -3
- package/src/components/Illustration/utils.ts +0 -18
- package/src/components/Illustrations/BabyMobile.tsx +0 -18
- package/src/components/Illustrations/BabyMobileMedium.tsx +0 -260
- package/src/components/Illustrations/Child.tsx +0 -22
- package/src/components/Illustrations/ChildMedium.tsx +0 -129
- package/src/components/Illustrations/Doctor.tsx +0 -20
- package/src/components/Illustrations/DoctorMedium.tsx +0 -59
- package/src/components/Illustrations/DoctorSmall.tsx +0 -64
- package/src/components/Illustrations/FacialRecognitionFingerprint.tsx +0 -18
- package/src/components/Illustrations/FacialRecognitionFingerprintMedium.tsx +0 -199
- package/src/components/Illustrations/GiveBabyFood.tsx +0 -21
- package/src/components/Illustrations/GiveBabyFoodMedium.tsx +0 -237
- package/src/components/Illustrations/HealthcarePersonnel.tsx +0 -15
- package/src/components/Illustrations/HealthcarePersonnelMedium.tsx +0 -155
- package/src/components/Illustrations/HealthcarePersonnelSmall.tsx +0 -155
- package/src/components/Illustrations/IllustrationNames.ts +0 -33
- package/src/components/Illustrations/ReadLetters.tsx +0 -19
- package/src/components/Illustrations/ReadLettersMedium.tsx +0 -81
- package/src/components/Illustrations/Stroller.tsx +0 -22
- package/src/components/Illustrations/StrollerMedium.tsx +0 -165
- package/src/components/Illustrations/Support2.tsx +0 -19
- package/src/components/Illustrations/Support2Medium.tsx +0 -152
- package/src/components/InfoTeaser/InfoTeaser.stories.tsx +0 -53
- package/src/components/InfoTeaser/InfoTeaser.test.tsx +0 -44
- package/src/components/InfoTeaser/InfoTeaser.tsx +0 -89
- package/src/components/InfoTeaser/index.ts +0 -3
- package/src/components/InfoTeaser/resourceHelper.ts +0 -14
- package/src/components/Input/Input.stories.tsx +0 -158
- package/src/components/Input/Input.test.tsx +0 -251
- package/src/components/Input/Input.tsx +0 -302
- package/src/components/Input/index.ts +0 -3
- package/src/components/Label/Label.stories.tsx +0 -281
- package/src/components/Label/Label.test.tsx +0 -150
- package/src/components/Label/Label.tsx +0 -199
- package/src/components/Label/SubLabel.tsx +0 -65
- package/src/components/Label/index.tsx +0 -4
- package/src/components/LazyIcon/ErrorBoundary.tsx +0 -36
- package/src/components/LazyIcon/LazyIcon.stories.tsx +0 -48
- package/src/components/LazyIcon/LazyIcon.test.tsx +0 -35
- package/src/components/LazyIcon/LazyIcon.tsx +0 -46
- package/src/components/LazyIcon/index.ts +0 -3
- package/src/components/LazyIcon/utils.ts +0 -2
- package/src/components/LazyIllustration/LazyIllustration.stories.tsx +0 -48
- package/src/components/LazyIllustration/LazyIllustration.test.tsx +0 -36
- package/src/components/LazyIllustration/LazyIllustration.tsx +0 -51
- package/src/components/LazyIllustration/index.ts +0 -3
- package/src/components/LinkList/LinkList.stories.tsx +0 -438
- package/src/components/LinkList/LinkList.test.tsx +0 -177
- package/src/components/LinkList/LinkList.tsx +0 -250
- package/src/components/LinkList/index.ts +0 -3
- package/src/components/List/List.stories.tsx +0 -285
- package/src/components/List/List.test.tsx +0 -40
- package/src/components/List/List.tsx +0 -50
- package/src/components/List/__snapshots__/List.test.tsx.snap +0 -31
- package/src/components/List/index.ts +0 -3
- package/src/components/ListEditMode/ListEditMode.stories.tsx +0 -132
- package/src/components/ListEditMode/ListEditMode.tsx +0 -73
- package/src/components/ListEditMode/index.ts +0 -3
- package/src/components/Loader/Loader.stories.tsx +0 -106
- package/src/components/Loader/Loader.test.tsx +0 -127
- package/src/components/Loader/Loader.tsx +0 -137
- package/src/components/Loader/__snapshots__/Loader.test.tsx.snap +0 -35
- package/src/components/Loader/index.ts +0 -3
- package/src/components/Logo/Logo.stories.tsx +0 -74
- package/src/components/Logo/Logo.test.tsx +0 -24
- package/src/components/Logo/Logo.tsx +0 -64
- package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +0 -53
- package/src/components/Logo/index.ts +0 -3
- package/src/components/MaxCharacters/MaxCharacters.test.tsx +0 -36
- package/src/components/MaxCharacters/MaxCharacters.tsx +0 -39
- package/src/components/Mittens/Mittens.stories.tsx +0 -239
- package/src/components/Modal/Modal.stories.tsx +0 -286
- package/src/components/Modal/Modal.test.tsx +0 -445
- package/src/components/Modal/Modal.tsx +0 -283
- package/src/components/Modal/__snapshots__/Modal.test.tsx.snap +0 -309
- package/src/components/Modal/index.ts +0 -3
- package/src/components/NotificationPanel/NotificationPanel.stories.tsx +0 -262
- package/src/components/NotificationPanel/NotificationPanel.test.tsx +0 -188
- package/src/components/NotificationPanel/NotificationPanel.tsx +0 -176
- package/src/components/NotificationPanel/__snapshots__/NotificationPanel.test.tsx.snap +0 -117
- package/src/components/NotificationPanel/index.ts +0 -3
- package/src/components/Panel/Panel.stories.tsx +0 -1090
- package/src/components/Panel/Panel.test.tsx +0 -139
- package/src/components/Panel/Panel.tsx +0 -328
- package/src/components/Panel/PanelExamples.tsx +0 -155
- package/src/components/Panel/PanelTitle/PanelTitle.stories.tsx +0 -64
- package/src/components/Panel/PanelTitle/PanelTitle.tsx +0 -42
- package/src/components/Panel/PanelTitle/index.ts +0 -3
- package/src/components/Panel/Paneldocs.tsx +0 -55
- package/src/components/Panel/index.ts +0 -3
- package/src/components/Panel/resourceHelper.ts +0 -14
- package/src/components/PanelList/PanelList.stories.tsx +0 -85
- package/src/components/PanelList/PanelList.test.tsx +0 -15
- package/src/components/PanelList/PanelList.tsx +0 -47
- package/src/components/PanelList/index.tsx +0 -3
- package/src/components/PanelListOld/PanelListOld.stories.tsx +0 -63
- package/src/components/PanelListOld/PanelListOld.test.tsx +0 -101
- package/src/components/PanelListOld/PanelListOld.tsx +0 -39
- package/src/components/PanelListOld/index.tsx +0 -3
- package/src/components/PanelOld/PanelOld.stories.tsx +0 -469
- package/src/components/PanelOld/PanelOld.test.tsx +0 -421
- package/src/components/PanelOld/PanelOld.tsx +0 -449
- package/src/components/PanelOld/__snapshots__/Panel.test.tsx.snap +0 -59
- package/src/components/PanelOld/__snapshots__/PanelOld.test.tsx.snap +0 -59
- package/src/components/PanelOld/index.tsx +0 -3
- package/src/components/PopMenu/PopMenu.stories.tsx +0 -322
- package/src/components/PopMenu/PopMenu.test.tsx +0 -43
- package/src/components/PopMenu/PopMenu.tsx +0 -156
- package/src/components/PopMenu/index.ts +0 -3
- package/src/components/PopOver/PopOver.stories.tsx +0 -168
- package/src/components/PopOver/PopOver.test.tsx +0 -85
- package/src/components/PopOver/PopOver.tsx +0 -132
- package/src/components/PopOver/index.ts +0 -3
- package/src/components/PopOver/utils.ts +0 -284
- package/src/components/Portal/index.tsx +0 -44
- package/src/components/Progressbar/Progressbar.stories.tsx +0 -106
- package/src/components/Progressbar/Progressbar.test.tsx +0 -67
- package/src/components/Progressbar/Progressbar.tsx +0 -141
- package/src/components/Progressbar/index.ts +0 -3
- package/src/components/PromoPanel/PromoPanel.stories.tsx +0 -65
- package/src/components/PromoPanel/PromoPanel.test.tsx +0 -112
- package/src/components/PromoPanel/PromoPanel.tsx +0 -137
- package/src/components/PromoPanel/index.ts +0 -3
- package/src/components/RadioButton/RadioButton.stories.tsx +0 -183
- package/src/components/RadioButton/RadioButton.test.tsx +0 -206
- package/src/components/RadioButton/RadioButton.tsx +0 -167
- package/src/components/RadioButton/index.ts +0 -3
- package/src/components/Select/Select.stories.tsx +0 -189
- package/src/components/Select/Select.test.tsx +0 -194
- package/src/components/Select/Select.tsx +0 -147
- package/src/components/Select/index.ts +0 -3
- package/src/components/ServiceMessage/ServiceMessage.stories.tsx +0 -128
- package/src/components/ServiceMessage/ServiceMessage.test.tsx +0 -102
- package/src/components/ServiceMessage/ServiceMessage.tsx +0 -212
- package/src/components/ServiceMessage/__snapshots__/ServiceMessage.test.tsx.snap +0 -89
- package/src/components/ServiceMessage/index.ts +0 -3
- package/src/components/SharingStatus/SharingStatus.stories.tsx +0 -117
- package/src/components/SharingStatus/SharingStatus.test.tsx +0 -121
- package/src/components/SharingStatus/SharingStatus.tsx +0 -47
- package/src/components/SharingStatus/index.ts +0 -3
- package/src/components/Slider/Slider.stories.tsx +0 -117
- package/src/components/Slider/Slider.test.tsx +0 -266
- package/src/components/Slider/Slider.tsx +0 -403
- package/src/components/Slider/index.ts +0 -3
- package/src/components/Spacer/Spacer.stories.tsx +0 -84
- package/src/components/Spacer/Spacer.test.tsx +0 -92
- package/src/components/Spacer/Spacer.tsx +0 -44
- package/src/components/Spacer/index.ts +0 -3
- package/src/components/StatusDot/StatusDot.stories.tsx +0 -77
- package/src/components/StatusDot/StatusDot.test.tsx +0 -42
- package/src/components/StatusDot/StatusDot.tsx +0 -139
- package/src/components/StatusDot/index.ts +0 -3
- package/src/components/Step/Step.stories.tsx +0 -199
- package/src/components/Step/Step.test.tsx +0 -107
- package/src/components/Step/Step.tsx +0 -66
- package/src/components/Step/index.ts +0 -3
- package/src/components/StepButtons/StepButtons.stories.tsx +0 -54
- package/src/components/StepButtons/StepButtons.test.tsx +0 -75
- package/src/components/StepButtons/StepButtons.tsx +0 -63
- package/src/components/StepButtons/index.ts +0 -3
- package/src/components/Stepper/Dot.tsx +0 -30
- package/src/components/Stepper/DotList.tsx +0 -19
- package/src/components/Stepper/Stepper.stories.tsx +0 -57
- package/src/components/Stepper/Stepper.test.tsx +0 -137
- package/src/components/Stepper/Stepper.tsx +0 -85
- package/src/components/Stepper/index.tsx +0 -3
- package/src/components/Stepper/utils.ts +0 -95
- package/src/components/StickyNote/Close.tsx +0 -52
- package/src/components/StickyNote/StickyNote.stories.tsx +0 -148
- package/src/components/StickyNote/StickyNote.test.tsx +0 -116
- package/src/components/StickyNote/StickyNote.tsx +0 -138
- package/src/components/StickyNote/Triangle.tsx +0 -91
- package/src/components/StickyNote/index.ts +0 -3
- package/src/components/Table/Table.stories.tsx +0 -861
- package/src/components/Table/Table.test.tsx +0 -605
- package/src/components/Table/Table.tsx +0 -154
- package/src/components/Table/TableBody/TableBody.tsx +0 -26
- package/src/components/Table/TableBody/index.ts +0 -3
- package/src/components/Table/TableCell/TableCell.tsx +0 -57
- package/src/components/Table/TableCell/index.ts +0 -3
- package/src/components/Table/TableExpandedRow/TableExpandedRow.tsx +0 -66
- package/src/components/Table/TableExpandedRow/index.ts +0 -3
- package/src/components/Table/TableExpanderCell/TableExpanderCell.tsx +0 -54
- package/src/components/Table/TableExpanderCell/TableExpanderCellMobile.tsx +0 -36
- package/src/components/Table/TableExpanderCell/index.ts +0 -3
- package/src/components/Table/TableHead/TableHead.tsx +0 -44
- package/src/components/Table/TableHead/index.ts +0 -3
- package/src/components/Table/TableHeadCell/TableHeadCell.tsx +0 -85
- package/src/components/Table/TableHeadCell/index.ts +0 -3
- package/src/components/Table/TableRow/TableRow.tsx +0 -66
- package/src/components/Table/TableRow/index.ts +0 -3
- package/src/components/Table/__snapshots__/Table.test.tsx.snap +0 -645
- package/src/components/Table/index.ts +0 -13
- package/src/components/Table/utils.ts +0 -149
- package/src/components/Tabs/Tab.tsx +0 -23
- package/src/components/Tabs/TabList/TabChevron.tsx +0 -39
- package/src/components/Tabs/TabList/TabItem.tsx +0 -83
- package/src/components/Tabs/TabList/TabList.tsx +0 -133
- package/src/components/Tabs/TabList/index.ts +0 -3
- package/src/components/Tabs/TabPanel/TabPanel.tsx +0 -31
- package/src/components/Tabs/TabPanel/index.ts +0 -3
- package/src/components/Tabs/Tabs.stories.tsx +0 -304
- package/src/components/Tabs/Tabs.test.tsx +0 -61
- package/src/components/Tabs/Tabs.tsx +0 -130
- package/src/components/Tabs/index.ts +0 -3
- package/src/components/Tabs/resourceHelper.ts +0 -14
- package/src/components/Tag/Tag.stories.tsx +0 -57
- package/src/components/Tag/Tag.test.tsx +0 -59
- package/src/components/Tag/Tag.tsx +0 -62
- package/src/components/Tag/index.ts +0 -3
- package/src/components/TagList/TagList.stories.tsx +0 -58
- package/src/components/TagList/TagList.test.tsx +0 -71
- package/src/components/TagList/TagList.tsx +0 -23
- package/src/components/TagList/index.ts +0 -3
- package/src/components/Textarea/Textarea.stories.tsx +0 -108
- package/src/components/Textarea/Textarea.test.tsx +0 -230
- package/src/components/Textarea/Textarea.tsx +0 -221
- package/src/components/Textarea/index.tsx +0 -3
- package/src/components/Tile/Tile.stories.tsx +0 -220
- package/src/components/Tile/Tile.test.tsx +0 -94
- package/src/components/Tile/Tile.tsx +0 -126
- package/src/components/Tile/index.ts +0 -3
- package/src/components/Title/Title.stories.tsx +0 -81
- package/src/components/Title/Title.test.tsx +0 -37
- package/src/components/Title/Title.tsx +0 -65
- package/src/components/Title/__snapshots__/Title.test.tsx.snap +0 -13
- package/src/components/Title/index.ts +0 -3
- package/src/components/Toast/Toast.stories.tsx +0 -37
- package/src/components/Toast/Toast.test.tsx +0 -13
- package/src/components/Toast/Toast.tsx +0 -53
- package/src/components/Toast/index.ts +0 -3
- package/src/components/ToastList/ToastList.stories.tsx +0 -68
- package/src/components/ToastList/ToastList.test.tsx +0 -160
- package/src/components/ToastList/ToastList.tsx +0 -121
- package/src/components/ToastList/index.ts +0 -3
- package/src/components/Toggle/Toggle.stories.tsx +0 -132
- package/src/components/Toggle/Toggle.test.tsx +0 -75
- package/src/components/Toggle/Toggle.tsx +0 -215
- package/src/components/Toggle/index.ts +0 -3
- package/src/components/Validation/ErrorList.tsx +0 -21
- package/src/components/Validation/ErrorListItem.tsx +0 -28
- package/src/components/Validation/Validation.stories.tsx +0 -194
- package/src/components/Validation/Validation.test.tsx +0 -219
- package/src/components/Validation/Validation.tsx +0 -81
- package/src/components/Validation/ValidationSummary.test.tsx +0 -46
- package/src/components/Validation/ValidationSummary.tsx +0 -61
- package/src/components/Validation/index.ts +0 -3
- package/src/components/Validation/types.ts +0 -10
- package/src/constants.ts +0 -159
- package/src/declaration.d.ts +0 -9
- package/src/docs/ButtonWithModal/ButtonWithModal.tsx +0 -24
- package/src/docs/ButtonWithModal/index.ts +0 -4
- package/src/docs/FormExample/FormExample.tsx +0 -298
- package/src/docs/FormExample/index.ts +0 -3
- package/src/docs/FormExample/styles.module.scss +0 -33
- package/src/docs/FormExample/styles.module.scss.d.ts +0 -12
- package/src/docs/GridExample/GridExample.tsx +0 -22
- package/src/docs/GridExample/index.ts +0 -3
- package/src/docs/HelpBubbleExample/HelpBubbleExample.tsx +0 -38
- package/src/docs/HelpBubbleExample/index.ts +0 -3
- package/src/docs/HelpTooltipExample/HelpTooltipExample.tsx +0 -21
- package/src/docs/HelpTooltipExample/index.ts +0 -3
- package/src/docs/Introduction.mdx +0 -11
- package/src/docs/StorybookTags.mdx +0 -19
- package/src/docs/Tokens/Tokens.stories.tsx +0 -74
- package/src/docs/Tokens/TokensExample.tsx +0 -24
- package/src/docs/Tokens/styles.scss +0 -32
- package/src/global.d.ts +0 -3
- package/src/hoc/withBreakpoint/index.ts +0 -3
- package/src/hoc/withBreakpoint/withBreakpoint.stories.tsx +0 -34
- package/src/hoc/withBreakpoint/withBreakpoint.test.tsx +0 -152
- package/src/hoc/withBreakpoint/withBreakpoint.tsx +0 -29
- package/src/hooks/useBreakpoint.stories.tsx +0 -45
- package/src/hooks/useBreakpoint.ts +0 -67
- package/src/hooks/useElementList.stories.tsx +0 -112
- package/src/hooks/useElementList.ts +0 -36
- package/src/hooks/useEventListenerState.ts +0 -14
- package/src/hooks/useExpand.ts +0 -22
- package/src/hooks/useFocusToggle.stories.tsx +0 -103
- package/src/hooks/useFocusToggle.ts +0 -42
- package/src/hooks/useFocusTrap.stories.tsx +0 -102
- package/src/hooks/useFocusTrap.ts +0 -41
- package/src/hooks/useFocusableElements.stories.tsx +0 -113
- package/src/hooks/useFocusableElements.ts +0 -26
- package/src/hooks/useHover.stories.tsx +0 -56
- package/src/hooks/useHover.ts +0 -17
- package/src/hooks/useIcons.ts +0 -25
- package/src/hooks/useIntersectionObserver.stories.tsx +0 -64
- package/src/hooks/useIntersectionObserver.ts +0 -32
- package/src/hooks/useInterval.stories.tsx +0 -42
- package/src/hooks/useInterval.ts +0 -18
- package/src/hooks/useIsMobileBreakpoint.stories.tsx +0 -38
- package/src/hooks/useIsMobileBreakpoint.ts +0 -7
- package/src/hooks/useIsServerSide.ts +0 -16
- package/src/hooks/useIsVisible.stories.tsx +0 -88
- package/src/hooks/useIsVisible.ts +0 -29
- package/src/hooks/useKeyboardEvent.stories.tsx +0 -63
- package/src/hooks/useKeyboardEvent.ts +0 -31
- package/src/hooks/useLayoutEvent.stories.tsx +0 -46
- package/src/hooks/useLayoutEvent.ts +0 -26
- package/src/hooks/useOutsideEvent.stories.tsx +0 -60
- package/src/hooks/useOutsideEvent.ts +0 -31
- package/src/hooks/usePrevious.ts +0 -16
- package/src/hooks/usePseudoClasses.stories.tsx +0 -62
- package/src/hooks/usePseudoClasses.ts +0 -50
- package/src/hooks/useResizeObserver.stories.tsx +0 -54
- package/src/hooks/useResizeObserver.ts +0 -36
- package/src/hooks/useReturnFocusOnUnmount.stories.tsx +0 -81
- package/src/hooks/useReturnFocusOnUnmount.ts +0 -28
- package/src/hooks/useRovingFocus.stories.tsx +0 -103
- package/src/hooks/useRovingFocus.tsx +0 -76
- package/src/hooks/useSize.stories.tsx +0 -53
- package/src/hooks/useSize.ts +0 -59
- package/src/hooks/useToggle.ts +0 -33
- package/src/hooks/useUuid.stories.tsx +0 -62
- package/src/hooks/useUuid.ts +0 -14
- package/src/hooks/usestopPropagation.ts +0 -16
- package/src/resources/HN.Designsystem.ArticleTeaser.en-GB.json +0 -4
- package/src/resources/HN.Designsystem.ArticleTeaser.nb-NO.json +0 -4
- package/src/resources/HN.Designsystem.ArticleTeaser.nn-NO.json +0 -4
- package/src/resources/HN.Designsystem.ArticleTeaser.se-NO.json +0 -3
- package/src/resources/HN.Designsystem.Close.en-GB.json +0 -3
- package/src/resources/HN.Designsystem.Close.nb-NO.json +0 -3
- package/src/resources/HN.Designsystem.Close.nn-NO.json +0 -3
- package/src/resources/HN.Designsystem.Close.se-NO.json +0 -3
- package/src/resources/HN.Designsystem.DatePicker.en-GB.json +0 -10
- package/src/resources/HN.Designsystem.DatePicker.nb-NO.json +0 -10
- package/src/resources/HN.Designsystem.Drawer.en-GB.json +0 -3
- package/src/resources/HN.Designsystem.Drawer.nb-NO.json +0 -3
- package/src/resources/HN.Designsystem.Dropdown.en-GB.json +0 -3
- package/src/resources/HN.Designsystem.Dropdown.nb-NO.json +0 -3
- package/src/resources/HN.Designsystem.Dropdown.nn-NO.json +0 -3
- package/src/resources/HN.Designsystem.Dropdown.se-NO.json +0 -3
- package/src/resources/HN.Designsystem.FavoriteButton.nb-NO.json +0 -3
- package/src/resources/HN.Designsystem.FormFieldTag.nb-NO.json +0 -9
- package/src/resources/HN.Designsystem.HelpBubble.en-GB.json +0 -3
- package/src/resources/HN.Designsystem.HelpBubble.nb-NO.json +0 -3
- package/src/resources/HN.Designsystem.HelpBubble.nn-NO.json +0 -3
- package/src/resources/HN.Designsystem.HelpBubble.se-NO.json +0 -3
- package/src/resources/HN.Designsystem.HelpDrawer.en-GB.json +0 -3
- package/src/resources/HN.Designsystem.HelpDrawer.nb-NO.json +0 -3
- package/src/resources/HN.Designsystem.HelpDrawer.nn-NO.json +0 -3
- package/src/resources/HN.Designsystem.HelpDrawer.se-NO.json +0 -3
- package/src/resources/HN.Designsystem.InfoTeaser.en-GB.json +0 -4
- package/src/resources/HN.Designsystem.InfoTeaser.nb-NO.json +0 -4
- package/src/resources/HN.Designsystem.InfoTeaser.nn-NO.json +0 -4
- package/src/resources/HN.Designsystem.InfoTeaser.se-NO.json +0 -3
- package/src/resources/HN.Designsystem.Panel.en-GB.json +0 -4
- package/src/resources/HN.Designsystem.Panel.nb-NO.json +0 -4
- package/src/resources/HN.Designsystem.Panel.nn-NO.json +0 -4
- package/src/resources/HN.Designsystem.Panel.se-NO.json +0 -4
- package/src/resources/HN.Designsystem.Tabs.en-GB.json +0 -4
- package/src/resources/HN.Designsystem.Tabs.nb-NO.json +0 -4
- package/src/resources/Resources.d.ts +0 -124
- package/src/resources/index.ts +0 -22
- package/src/theme/currys/color.ts +0 -15
- package/src/theme/currys/spacing.ts +0 -39
- package/src/theme/grid.ts +0 -23
- package/src/theme/index.ts +0 -11
- package/src/theme/palette.ts +0 -156
- package/src/theme/spacers.ts +0 -20
- package/src/types.d.ts +0 -1
- package/src/utils/accessibility.ts +0 -65
- package/src/utils/component.ts +0 -19
- package/src/utils/debounce.ts +0 -26
- package/src/utils/deepContains.ts +0 -24
- package/src/utils/device.ts +0 -3
- package/src/utils/environment.ts +0 -2
- package/src/utils/focus.ts +0 -16
- package/src/utils/language.stories.tsx +0 -168
- package/src/utils/language.tsx +0 -40
- package/src/utils/loremtext.ts +0 -7
- package/src/utils/mobile.ts +0 -55
- package/src/utils/refs.ts +0 -26
- package/src/utils/scroll.ts +0 -7
- package/src/utils/tests/accessibility.test.ts +0 -117
- package/src/utils/tests/deepContains.test.ts +0 -54
- package/src/utils/tests/language.test.tsx +0 -42
- package/src/utils/tests/setup-test.ts +0 -8
- package/src/utils/tests/uuid.test.ts +0 -11
- package/src/utils/tests/viewport.test.ts +0 -78
- package/src/utils/uuid.ts +0 -14
- package/src/utils/viewport.ts +0 -10
- package/tsconfig.json +0 -9
- package/tsconfig.node.json +0 -10
- package/vite.config.ts +0 -77
- package/vitest.config.ts +0 -23
- /package/{src → lib}/components/AnchorLink/styles.module.scss +0 -0
- /package/{src → lib}/components/AnchorLink/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ArticleTeaser/styles.module.scss +0 -0
- /package/{src → lib}/components/ArticleTeaser/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/AsChildSlot/styles.module.scss +0 -0
- /package/{src → lib}/components/AsChildSlot/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Avatar/styles.module.scss +0 -0
- /package/{src → lib}/components/Avatar/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Badge/styles.module.scss +0 -0
- /package/{src → lib}/components/Badge/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Button/styles.module.scss +0 -0
- /package/{src → lib}/components/Button/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Checkbox/styles.module.scss +0 -0
- /package/{src → lib}/components/Checkbox/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Chip/styles.module.scss +0 -0
- /package/{src → lib}/components/Chip/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Close/styles.module.scss +0 -0
- /package/{src → lib}/components/Close/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/DictionaryTrigger/styles.module.scss +0 -0
- /package/{src → lib}/components/DictionaryTrigger/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Drawer/styles.module.scss +0 -0
- /package/{src → lib}/components/Drawer/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Dropdown/SingleSelect/styles.module.scss +0 -0
- /package/{src → lib}/components/Dropdown/SingleSelect/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Dropdown/styles.module.scss +0 -0
- /package/{src → lib}/components/Dropdown/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/DropdownOld/styles.module.scss +0 -0
- /package/{src → lib}/components/DropdownOld/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Duolist/styles.module.scss +0 -0
- /package/{src → lib}/components/Duolist/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ElementHeader/StatusDotList/styles.module.scss +0 -0
- /package/{src → lib}/components/ElementHeader/StatusDotList/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ElementHeader/styles.module.scss +0 -0
- /package/{src → lib}/components/ElementHeader/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/EmptyState/styles.module.scss +0 -0
- /package/{src → lib}/components/EmptyState/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ErrorWrapper/styles.module.scss +0 -0
- /package/{src → lib}/components/ErrorWrapper/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Expander/styles.module.scss +0 -0
- /package/{src → lib}/components/Expander/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ExpanderHierarchy/expander.module.scss +0 -0
- /package/{src → lib}/components/ExpanderHierarchy/expander.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ExpanderHierarchy/styles.module.scss +0 -0
- /package/{src → lib}/components/ExpanderHierarchy/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ExpanderList/styles.module.scss +0 -0
- /package/{src → lib}/components/ExpanderList/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/EyebrowHeader/styles.module.scss +0 -0
- /package/{src → lib}/components/EyebrowHeader/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/FavoriteButton/stories.module.scss +0 -0
- /package/{src → lib}/components/FavoriteButton/stories.module.scss.d.ts +0 -0
- /package/{src → lib}/components/FavoriteButton/styles.module.scss +0 -0
- /package/{src → lib}/components/FavoriteButton/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/FormFieldTag/styles.module.scss +0 -0
- /package/{src → lib}/components/FormFieldTag/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/FormGroup/formGroup.module.scss +0 -0
- /package/{src → lib}/components/FormGroup/formGroup.module.scss.d.ts +0 -0
- /package/{src → lib}/components/FormGroup/styles.module.scss +0 -0
- /package/{src → lib}/components/FormGroup/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/FormLayout/styles.module.scss +0 -0
- /package/{src → lib}/components/FormLayout/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpBubble/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpBubble/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpDetails/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpDetails/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpDrawer/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpDrawer/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpExpanderStandalone/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpExpanderStandalone/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpPanel/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpPanel/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpTeaser/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpTeaser/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpTriggerIcon/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpTriggerIcon/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpTriggerInline/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpTriggerInline/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HelpTriggerStandalone/styles.module.scss +0 -0
- /package/{src → lib}/components/HelpTriggerStandalone/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HighlightPanel/styles.module.scss +0 -0
- /package/{src → lib}/components/HighlightPanel/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Highlighter/styles.module.scss +0 -0
- /package/{src → lib}/components/Highlighter/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/HorizontalScroll/styles.module.scss +0 -0
- /package/{src → lib}/components/HorizontalScroll/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/InfoTeaser/styles.module.scss +0 -0
- /package/{src → lib}/components/InfoTeaser/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Input/styles.module.scss +0 -0
- /package/{src → lib}/components/Input/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Label/styles.module.scss +0 -0
- /package/{src → lib}/components/Label/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/LinkList/styles.module.scss +0 -0
- /package/{src → lib}/components/LinkList/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/List/stories.module.scss +0 -0
- /package/{src → lib}/components/List/stories.module.scss.d.ts +0 -0
- /package/{src → lib}/components/List/styles.module.scss +0 -0
- /package/{src → lib}/components/List/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ListEditMode/styles.module.scss +0 -0
- /package/{src → lib}/components/ListEditMode/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Loader/styles.module.scss +0 -0
- /package/{src → lib}/components/Loader/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/MaxCharacters/styles.module.scss +0 -0
- /package/{src → lib}/components/MaxCharacters/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Mittens/styles.module.scss +0 -0
- /package/{src → lib}/components/Mittens/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Modal/styles.module.scss +0 -0
- /package/{src → lib}/components/Modal/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/NotificationPanel/styles.module.scss +0 -0
- /package/{src → lib}/components/NotificationPanel/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Panel/PanelTitle/styles.module.scss +0 -0
- /package/{src → lib}/components/Panel/PanelTitle/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Panel/styles.module.scss +0 -0
- /package/{src → lib}/components/Panel/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/PanelList/styles.module.scss +0 -0
- /package/{src → lib}/components/PanelList/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/PanelListOld/styles.module.scss +0 -0
- /package/{src → lib}/components/PanelListOld/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/PanelOld/styles.module.scss +0 -0
- /package/{src → lib}/components/PanelOld/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/PopMenu/story.module.scss +0 -0
- /package/{src → lib}/components/PopMenu/story.module.scss.d.ts +0 -0
- /package/{src → lib}/components/PopMenu/styles.module.scss +0 -0
- /package/{src → lib}/components/PopMenu/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/PopOver/styles.module.scss +0 -0
- /package/{src → lib}/components/PopOver/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Progressbar/styles.module.scss +0 -0
- /package/{src → lib}/components/Progressbar/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/PromoPanel/styles.module.scss +0 -0
- /package/{src → lib}/components/PromoPanel/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/RadioButton/styles.module.scss +0 -0
- /package/{src → lib}/components/RadioButton/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Select/styles.module.scss +0 -0
- /package/{src → lib}/components/Select/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/ServiceMessage/styles.module.scss +0 -0
- /package/{src → lib}/components/ServiceMessage/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/SharingStatus/styles.module.scss +0 -0
- /package/{src → lib}/components/SharingStatus/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Slider/styles.module.scss +0 -0
- /package/{src → lib}/components/Slider/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Spacer/styles.module.scss +0 -0
- /package/{src → lib}/components/Spacer/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/StatusDot/styles.module.scss +0 -0
- /package/{src → lib}/components/StatusDot/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Step/styles.module.scss +0 -0
- /package/{src → lib}/components/Step/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/StepButtons/styles.module.scss +0 -0
- /package/{src → lib}/components/StepButtons/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Stepper/styles.module.scss +0 -0
- /package/{src → lib}/components/Stepper/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/StickyNote/styles.module.scss +0 -0
- /package/{src → lib}/components/StickyNote/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Table/styles.module.scss +0 -0
- /package/{src → lib}/components/Table/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Tabs/TabList/styles.module.scss +0 -0
- /package/{src → lib}/components/Tabs/TabList/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Tabs/TabPanel/styles.module.scss +0 -0
- /package/{src → lib}/components/Tabs/TabPanel/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Tabs/styles.module.scss +0 -0
- /package/{src → lib}/components/Tabs/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Tag/styles.module.scss +0 -0
- /package/{src → lib}/components/Tag/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/TagList/styles.module.scss +0 -0
- /package/{src → lib}/components/TagList/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Textarea/styles.module.scss +0 -0
- /package/{src → lib}/components/Textarea/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Tile/styles.module.scss +0 -0
- /package/{src → lib}/components/Tile/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Title/styles.module.scss +0 -0
- /package/{src → lib}/components/Title/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Toast/styles.module.scss +0 -0
- /package/{src → lib}/components/ToastList/styles.module.scss +0 -0
- /package/{src → lib}/components/ToastList/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Toggle/styles.module.scss +0 -0
- /package/{src → lib}/components/Toggle/styles.module.scss.d.ts +0 -0
- /package/{src → lib}/components/Validation/styles.module.scss +0 -0
- /package/{src → lib}/components/Validation/styles.module.scss.d.ts +0 -0
- /package/{src/scss/supernova/styles/colors.css → lib/designsystem-react.css} +0 -0
- /package/{src → lib}/fonts/source-sans-pro-200-extralight-italic.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-200-extralight-italic.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-200-extralight.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-200-extralight.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-300-light-italic.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-300-light-italic.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-300-light.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-300-light.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-400-regular-italic.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-400-regular-italic.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-400-regular.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-400-regular.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-600-semibold-italic.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-600-semibold-italic.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-600-semibold.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-600-semibold.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-700-bold-italic.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-700-bold-italic.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-700-bold.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-700-bold.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-900-black-italic.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-900-black-italic.woff2 +0 -0
- /package/{src → lib}/fonts/source-sans-pro-900-black.woff +0 -0
- /package/{src → lib}/fonts/source-sans-pro-900-black.woff2 +0 -0
- /package/{src/index.ts → lib/index.d.ts} +0 -0
- /package/{src → lib}/scss/_body.scss +0 -0
- /package/{src → lib}/scss/_breakpoints.scss +0 -0
- /package/{src → lib}/scss/_figma-tokens.scss +0 -0
- /package/{src → lib}/scss/_font-mixins.scss +0 -0
- /package/{src → lib}/scss/_font-settings.scss +0 -0
- /package/{src → lib}/scss/_fonts.scss +0 -0
- /package/{src → lib}/scss/_grid.scss +0 -0
- /package/{src → lib}/scss/_icon.scss +0 -0
- /package/{src → lib}/scss/_input.scss +0 -0
- /package/{src → lib}/scss/_palette.scss +0 -0
- /package/{src → lib}/scss/_print.scss +0 -0
- /package/{src → lib}/scss/_reset.scss +0 -0
- /package/{src → lib}/scss/_screen-reader.scss +0 -0
- /package/{src → lib}/scss/_spacers.scss +0 -0
- /package/{src → lib}/scss/bootstrap/LICENSE +0 -0
- /package/{src → lib}/scss/bootstrap/scss/_functions.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/_grid.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/_variables.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/bootstrap-grid.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/mixins/_breakpoints.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/mixins/_deprecate.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/mixins/_grid-framework.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/mixins/_grid.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/utilities/_display.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/utilities/_flex.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/utilities/_spacing.scss +0 -0
- /package/{src → lib}/scss/bootstrap/scss/vendor/_rfs.scss +0 -0
- /package/{src → lib}/scss/helsenorge.scss +0 -0
- /package/{src → lib}/scss/layout.module.scss +0 -0
- /package/{src → lib}/scss/layout.module.scss.d.ts +0 -0
- /package/{src → lib}/scss/supernova/index.css +0 -0
- /package/{src → lib}/scss/supernova/styles/spacers.css +0 -0
- /package/{src → lib}/scss/supernova/styles/typography.css +0 -0
- /package/{src → lib}/scss/typography.module.scss +0 -0
- /package/{src → lib}/scss/typography.module.scss.d.ts +0 -0
- /package/{src → lib}/scss/typography.stories.tsx +0 -0
- /package/{src/theme/currys/index.ts → lib/theme/currys/index.d.ts} +0 -0
package/lib/Table.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.js","sources":["../src/components/Table/utils.ts","../src/components/Table/Table.tsx"],"sourcesContent":["import React from 'react';\n\nimport { BreakpointConfig, ResponsiveTableVariant } from './Table';\nimport { Breakpoint } from '../../hooks/useBreakpoint';\nimport { isTouchDevice } from '../../utils/device';\n\nimport styles from './styles.module.scss';\n\n/**\n * Sjekk om det skal brukes CSS for å bestemme responsivt utseende på dette breakpoint\n * @param config Konfigurasjon for responsiv oppførsel\n * @returns true om breakpoint bruker CSS\n */\nconst configUsesCss = (config: BreakpointConfig): boolean =>\n config.variant === ResponsiveTableVariant.centeredoverflow || config.variant === ResponsiveTableVariant.block;\n\n/**\n * Lag klassenavn for CSS-config\n * @param config Konfigurasjon for responsiv oppførsel\n * @returns CSS-klassenavn\n */\nconst mapConfigToClass = (config: BreakpointConfig): string =>\n config.variant === 'centeredoverflow' || config.variant === 'block' ? styles[`table--${config.variant}-${config.breakpoint}`] : '';\n\n/**\n * Sorter konfigurasjon etter breakpoints, fra største til minste\n * @param a Konfigurasjon for responsiv oppførsel\n * @param b Konfigurasjon for responsiv oppførsel\n * @returns Sortert liste\n */\nconst sortByBreakpointsDescending = (a: BreakpointConfig, b: BreakpointConfig): number =>\n Breakpoint[a.breakpoint] - Breakpoint[b.breakpoint];\n\n/**\n * Sjekk om en konfigurasjon skal brukes for nåværende breakpoint\n * @param a Konfigurasjon for responsiv oppførsel\n * @param breakpoint Nåværende breakpoint\n * @returns true dersom config skal brukes for breakpointet\n */\nconst isValidForCurrentBreakpoint = (config: BreakpointConfig, breakpoint: Breakpoint): boolean =>\n Breakpoint[config.breakpoint] >= breakpoint;\n\n/**\n * Finn konfigurasjon for nåværende breakpoint\n * @param config Konfigurasjon for responsiv oppførsel\n * @param breakpoint Nåværende breakpoint\n * @returns Konfigurasjon for responsiv oppførsel\n */\nconst getConfigForBreakpoint = (config: BreakpointConfig | BreakpointConfig[], breakpoint: Breakpoint): BreakpointConfig | undefined => {\n if (Array.isArray(config)) {\n config.sort(sortByBreakpointsDescending);\n\n return config.find(x => isValidForCurrentBreakpoint(x, breakpoint));\n } else if (config && isValidForCurrentBreakpoint(config, breakpoint)) {\n return config;\n }\n};\n\n/**\n * Finn konfigurasjon for nåværende breakpoint og tabellbredde\n * @param config Konfigurasjon for responsiv oppførsel\n * @param breakpoint Nåværende breakpoint\n * @param tableWidth Bredde på tabell i px\n * @returns Konfigurasjon for responsiv oppførsel uten fallbackVariant\n */\nexport const getCurrentConfig = (\n config: BreakpointConfig | BreakpointConfig[],\n breakpoint: Breakpoint,\n tableWidth: number,\n windowWidth: number\n): Omit<BreakpointConfig, 'fallbackVariant'> | undefined => {\n const breakpointConfig = getConfigForBreakpoint(config, breakpoint);\n const canUseHorizontalScroll = isTouchDevice();\n const canUseCenteredOverflow = tableWidth <= windowWidth;\n\n if (!breakpointConfig) {\n return;\n }\n\n if (\n breakpointConfig.variant === ResponsiveTableVariant.centeredoverflow &&\n !canUseCenteredOverflow &&\n breakpointConfig.fallbackVariant === ResponsiveTableVariant.horizontalscroll\n ) {\n return {\n variant: canUseHorizontalScroll ? ResponsiveTableVariant.horizontalscroll : ResponsiveTableVariant.none,\n breakpoint: breakpointConfig.breakpoint,\n };\n }\n\n if (\n breakpointConfig.variant === ResponsiveTableVariant.centeredoverflow &&\n !canUseCenteredOverflow &&\n breakpointConfig.fallbackVariant !== ResponsiveTableVariant.centeredoverflow\n ) {\n return {\n variant: breakpointConfig.fallbackVariant ?? ResponsiveTableVariant.none,\n breakpoint: breakpointConfig.breakpoint,\n };\n }\n\n if (\n breakpointConfig.variant === ResponsiveTableVariant.horizontalscroll &&\n !canUseHorizontalScroll &&\n breakpointConfig.fallbackVariant === ResponsiveTableVariant.centeredoverflow\n ) {\n return {\n variant: canUseCenteredOverflow ? ResponsiveTableVariant.centeredoverflow : ResponsiveTableVariant.none,\n breakpoint: breakpointConfig.breakpoint,\n };\n }\n\n if (\n breakpointConfig.variant === ResponsiveTableVariant.horizontalscroll &&\n !canUseHorizontalScroll &&\n breakpointConfig.fallbackVariant !== ResponsiveTableVariant.horizontalscroll\n ) {\n return {\n variant: breakpointConfig.fallbackVariant ?? ResponsiveTableVariant.none,\n breakpoint: breakpointConfig.breakpoint,\n };\n }\n\n return breakpointConfig;\n};\n\n/**\n * Finn klassenavn for responsiv oppførsel\n * @param config Konfigurasjon for responsiv oppførsel\n * @returns Klassenavn\n */\nexport const getBreakpointClass = (config?: BreakpointConfig): string | undefined =>\n config && configUsesCss(config) ? mapConfigToClass(config) : undefined;\n\n/**\n * Finn riktig posisjon for horisontal sentrering av tabell som skal vises \"centeredoverflow\"\n * @param parentWidth Bredde på element som tabellen ligger i\n * @param tableWidth Bredde på tabellen\n * @returns Styling som posisjonerer tabellen riktig\n */\nexport const getCenteredOverflowTableStyle = (parentWidth: number, tableWidth: number): React.CSSProperties | undefined => {\n if (parentWidth >= tableWidth) {\n return;\n }\n\n const COLUMN_GUTTER_WIDTH_PX = 8;\n\n return { left: `${(parentWidth - tableWidth) / 2 - COLUMN_GUTTER_WIDTH_PX}px` };\n};\n","import React, { useEffect, useRef, useState } from 'react';\n\nimport classNames from 'classnames';\n\nimport { getCurrentConfig, getBreakpointClass, getCenteredOverflowTableStyle } from './utils';\nimport { AnalyticsId } from '../../constants';\nimport { Breakpoint, useBreakpoint } from '../../hooks/useBreakpoint';\nimport { useIsVisible } from '../../hooks/useIsVisible';\nimport { useLayoutEvent } from '../../hooks/useLayoutEvent';\nimport { getAriaLabelAttributes } from '../../utils/accessibility';\nimport HorizontalScroll from '../HorizontalScroll';\n\nimport styles from './styles.module.scss';\n\nexport enum ResponsiveTableVariant {\n /** No handling responsive behaviour. Default. */\n none = 'none',\n /** Overflow parent container to the left and right while remaining centered horizontally. */\n centeredoverflow = 'centeredoverflow',\n /** Show horizontal scrollbar when table is too big for the screen. */\n horizontalscroll = 'horizontalscroll',\n /** Collapse to two columns. */\n block = 'block',\n}\nexport enum ModeType {\n compact = 'compact',\n normal = 'normal',\n}\nexport interface BreakpointConfig {\n /** Breakpoint at which responsive behaviour will be applied. The table component uses a \"desktop first\" approach. */\n breakpoint: keyof typeof Breakpoint;\n /** Desired behaviour on this breakpoint and all smaller screens. */\n variant: keyof typeof ResponsiveTableVariant;\n /** If variant is horizontallscroll, use a fallback instead of device is not a touch device. */\n fallbackVariant?: keyof typeof ResponsiveTableVariant;\n}\n\nexport interface Props extends Omit<React.ComponentPropsWithoutRef<'table'>, 'style'> {\n /** Unique ID */\n id?: string;\n /** Id used for testing */\n testId?: string;\n /** Customize how the table behaves on various screen widths */\n breakpointConfig?: BreakpointConfig | BreakpointConfig[];\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the content of the table. Use TableHead and TableBody */\n children: React.ReactNode;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n /** Sets aria-label of the horizontal scroll container. scrollAriaLabel or scrollAriaLabelledById MUST be set if horizontal scrolling is enabled! */\n scrollAriaLabel?: string;\n /** Sets aria-labelledby of the horizontal scroll container. scrollAriaLabel or scrollAriaLabelledById MUST be set if horizontal scrolling is enabled! */\n scrollAriaLabelledById?: string;\n}\n\nexport const defaultConfig: BreakpointConfig[] = [\n {\n breakpoint: 'xl',\n variant: ResponsiveTableVariant.centeredoverflow,\n fallbackVariant: ResponsiveTableVariant.horizontalscroll,\n },\n];\n\nexport const simpleConfig: BreakpointConfig[] = [\n {\n breakpoint: 'xl',\n variant: ResponsiveTableVariant.centeredoverflow,\n fallbackVariant: ResponsiveTableVariant.horizontalscroll,\n },\n {\n breakpoint: 'sm',\n variant: ResponsiveTableVariant.centeredoverflow,\n fallbackVariant: ResponsiveTableVariant.block,\n },\n];\n\nexport const Table: React.FC<Props> = ({\n id,\n testId,\n className,\n children,\n breakpointConfig = defaultConfig,\n mode = ModeType.normal,\n scrollAriaLabel,\n scrollAriaLabelledById,\n ...rest\n}) => {\n const [currentConfig, setCurrentConfig] = useState<BreakpointConfig>();\n const [tableWidth, setTableWidth] = useState<number>(0);\n const [parentWidth, setParentWidth] = useState<number>(0);\n const [windowWidth, setWindowWidth] = useState(window.innerWidth);\n const tableRef = useRef<HTMLTableElement>(null);\n const tableIsVisible = useIsVisible(tableRef, 0);\n const breakpoint = useBreakpoint();\n\n useEffect(() => {\n setCurrentConfig(getCurrentConfig(breakpointConfig, breakpoint, tableWidth, windowWidth));\n }, [breakpointConfig, breakpoint, tableWidth, windowWidth]);\n\n useEffect(() => {\n if (\n currentConfig?.variant === ResponsiveTableVariant.centeredoverflow ||\n currentConfig?.variant === ResponsiveTableVariant.horizontalscroll\n ) {\n setTableWidth(tableRef.current?.getBoundingClientRect().width ?? 0);\n }\n if (currentConfig?.variant === ResponsiveTableVariant.centeredoverflow) {\n setParentWidth(tableRef.current?.parentElement?.getBoundingClientRect().width ?? 0);\n }\n }, [currentConfig, breakpoint]);\n\n useLayoutEvent(() => setWindowWidth(window.innerWidth), ['resize'], 100);\n\n useEffect(() => {\n if (tableWidth === 0 && tableIsVisible) {\n setTableWidth(tableRef.current?.getBoundingClientRect().width ?? 0);\n }\n }, [tableWidth, tableIsVisible]);\n\n const tableStyle =\n currentConfig?.variant === ResponsiveTableVariant.centeredoverflow ? getCenteredOverflowTableStyle(parentWidth, tableWidth) : undefined;\n\n const breakpointClass = getBreakpointClass(currentConfig);\n const tableClass = classNames(styles.table, breakpointClass, className);\n\n const table = (\n <table\n className={tableClass}\n id={id}\n data-testid={testId}\n data-analyticsid={AnalyticsId.Table}\n ref={tableRef}\n style={tableStyle}\n {...rest}\n >\n {React.Children.map(children, child => React.isValidElement<{ mode?: ModeType }>(child) && React.cloneElement(child, { mode }))}\n </table>\n );\n\n const ariaLabelAttributes = getAriaLabelAttributes({ label: scrollAriaLabel, id: scrollAriaLabelledById });\n\n if (currentConfig?.variant === ResponsiveTableVariant.horizontalscroll) {\n return (\n <HorizontalScroll childWidth={tableWidth} testId=\"horizontal-scroll\" {...ariaLabelAttributes}>\n {table}\n </HorizontalScroll>\n );\n }\n\n return table;\n};\n\nexport default Table;\n"],"names":["styles","ResponsiveTableVariant","ModeType","React"],"mappings":";;;;;;;;;;;AAaA,MAAM,gBAAgB,CAAC,WACrB,OAAO,YAAY,uBAAuB,oBAAoB,OAAO,YAAY,uBAAuB;AAO1G,MAAM,mBAAmB,CAAC,WACxB,OAAO,YAAY,sBAAsB,OAAO,YAAY,UAAUA,YAAO,UAAU,OAAO,OAAO,IAAI,OAAO,UAAU,EAAE,IAAI;AAQlI,MAAM,8BAA8B,CAAC,GAAqB,MACxD,WAAW,EAAE,UAAU,IAAI,WAAW,EAAE,UAAU;AAQpD,MAAM,8BAA8B,CAAC,QAA0B,eAC7D,WAAW,OAAO,UAAU,KAAK;AAQnC,MAAM,yBAAyB,CAAC,QAA+C,eAAyD;AACtI,MAAI,MAAM,QAAQ,MAAM,GAAG;AACzB,WAAO,KAAK,2BAA2B;AAEvC,WAAO,OAAO,KAAK,CAAA,MAAK,4BAA4B,GAAG,UAAU,CAAC;AAAA,EACpE,WAAW,UAAU,4BAA4B,QAAQ,UAAU,GAAG;AACpE,WAAO;AAAA,EACT;AACF;AASO,MAAM,mBAAmB,CAC9B,QACA,YACA,YACA,gBAC0D;AAC1D,QAAM,mBAAmB,uBAAuB,QAAQ,UAAU;AAClE,QAAM,yBAAyB,cAAA;AAC/B,QAAM,yBAAyB,cAAc;AAE7C,MAAI,CAAC,kBAAkB;AACrB;AAAA,EACF;AAEA,MACE,iBAAiB,YAAY,uBAAuB,oBACpD,CAAC,0BACD,iBAAiB,oBAAoB,uBAAuB,kBAC5D;AACA,WAAO;AAAA,MACL,SAAS,yBAAyB,uBAAuB,mBAAmB,uBAAuB;AAAA,MACnG,YAAY,iBAAiB;AAAA,IAAA;AAAA,EAEjC;AAEA,MACE,iBAAiB,YAAY,uBAAuB,oBACpD,CAAC,0BACD,iBAAiB,oBAAoB,uBAAuB,kBAC5D;AACA,WAAO;AAAA,MACL,SAAS,iBAAiB,mBAAmB,uBAAuB;AAAA,MACpE,YAAY,iBAAiB;AAAA,IAAA;AAAA,EAEjC;AAEA,MACE,iBAAiB,YAAY,uBAAuB,oBACpD,CAAC,0BACD,iBAAiB,oBAAoB,uBAAuB,kBAC5D;AACA,WAAO;AAAA,MACL,SAAS,yBAAyB,uBAAuB,mBAAmB,uBAAuB;AAAA,MACnG,YAAY,iBAAiB;AAAA,IAAA;AAAA,EAEjC;AAEA,MACE,iBAAiB,YAAY,uBAAuB,oBACpD,CAAC,0BACD,iBAAiB,oBAAoB,uBAAuB,kBAC5D;AACA,WAAO;AAAA,MACL,SAAS,iBAAiB,mBAAmB,uBAAuB;AAAA,MACpE,YAAY,iBAAiB;AAAA,IAAA;AAAA,EAEjC;AAEA,SAAO;AACT;AAOO,MAAM,qBAAqB,CAAC,WACjC,UAAU,cAAc,MAAM,IAAI,iBAAiB,MAAM,IAAI;AAQxD,MAAM,gCAAgC,CAAC,aAAqB,eAAwD;AACzH,MAAI,eAAe,YAAY;AAC7B;AAAA,EACF;AAEA,QAAM,yBAAyB;AAE/B,SAAO,EAAE,MAAM,IAAI,cAAc,cAAc,IAAI,sBAAsB,KAAA;AAC3E;ACtIO,IAAK,2CAAAC,4BAAL;AAELA,0BAAA,MAAA,IAAO;AAEPA,0BAAA,kBAAA,IAAmB;AAEnBA,0BAAA,kBAAA,IAAmB;AAEnBA,0BAAA,OAAA,IAAQ;AARE,SAAAA;AAAA,GAAA,0BAAA,CAAA,CAAA;AAUL,IAAK,6BAAAC,cAAL;AACLA,YAAA,SAAA,IAAU;AACVA,YAAA,QAAA,IAAS;AAFC,SAAAA;AAAA,GAAA,YAAA,CAAA,CAAA;AAgCL,MAAM,gBAAoC;AAAA,EAC/C;AAAA,IACE,YAAY;AAAA,IACZ,SAAS;AAAA,IACT,iBAAiB;AAAA;AAAA,EAAA;AAErB;AAEO,MAAM,eAAmC;AAAA,EAC9C;AAAA,IACE,YAAY;AAAA,IACZ,SAAS;AAAA,IACT,iBAAiB;AAAA;AAAA,EAAA;AAAA,EAEnB;AAAA,IACE,YAAY;AAAA,IACZ,SAAS;AAAA,IACT,iBAAiB;AAAA;AAAA,EAAA;AAErB;AAEO,MAAM,QAAyB,CAAC;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,mBAAmB;AAAA,EACnB,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,eAAe,gBAAgB,IAAI,SAAA;AAC1C,QAAM,CAAC,YAAY,aAAa,IAAI,SAAiB,CAAC;AACtD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAiB,CAAC;AACxD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,OAAO,UAAU;AAChE,QAAM,WAAW,OAAyB,IAAI;AAC9C,QAAM,iBAAiB,aAAa,UAAU,CAAC;AAC/C,QAAM,aAAa,cAAA;AAEnB,YAAU,MAAM;AACd,qBAAiB,iBAAiB,kBAAkB,YAAY,YAAY,WAAW,CAAC;AAAA,EAC1F,GAAG,CAAC,kBAAkB,YAAY,YAAY,WAAW,CAAC;AAE1D,YAAU,MAAM;;AACd,SACE,+CAAe,aAAY,uBAC3B,+CAAe,aAAY,oBAC3B;AACA,sBAAc,cAAS,YAAT,mBAAkB,wBAAwB,UAAS,CAAC;AAAA,IACpE;AACA,SAAI,+CAAe,aAAY,oBAAyC;AACtE,uBAAe,oBAAS,YAAT,mBAAkB,kBAAlB,mBAAiC,wBAAwB,UAAS,CAAC;AAAA,IACpF;AAAA,EACF,GAAG,CAAC,eAAe,UAAU,CAAC;AAE9B,iBAAe,MAAM,eAAe,OAAO,UAAU,GAAG,CAAC,QAAQ,GAAG,GAAG;AAEvE,YAAU,MAAM;;AACd,QAAI,eAAe,KAAK,gBAAgB;AACtC,sBAAc,cAAS,YAAT,mBAAkB,wBAAwB,UAAS,CAAC;AAAA,IACpE;AAAA,EACF,GAAG,CAAC,YAAY,cAAc,CAAC;AAE/B,QAAM,cACJ,+CAAe,aAAY,qBAA0C,8BAA8B,aAAa,UAAU,IAAI;AAEhI,QAAM,kBAAkB,mBAAmB,aAAa;AACxD,QAAM,aAAa,WAAWF,YAAO,OAAO,iBAAiB,SAAS;AAEtE,QAAM,QACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,MACX;AAAA,MACA,eAAa;AAAA,MACb,oBAAkB,YAAY;AAAA,MAC9B,KAAK;AAAA,MACL,OAAO;AAAA,MACN,GAAG;AAAA,MAEH,UAAAG,eAAM,SAAS,IAAI,UAAU,WAASA,eAAM,eAAoC,KAAK,KAAKA,eAAM,aAAa,OAAO,EAAE,MAAM,CAAC;AAAA,IAAA;AAAA,EAAA;AAIlI,QAAM,sBAAsB,uBAAuB,EAAE,OAAO,iBAAiB,IAAI,wBAAwB;AAEzG,OAAI,+CAAe,aAAY,oBAAyC;AACtE,WACE,oBAAC,oBAAiB,YAAY,YAAY,QAAO,qBAAqB,GAAG,qBACtE,UAAA,MAAA,CACH;AAAA,EAEJ;AAEA,SAAO;AACT;"}
|
package/lib/TableBody.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import tableStyles from "./components/Table/styles.module.scss";
|
|
5
|
+
import { M as ModeType } from "./Table.js";
|
|
6
|
+
const TableBody = ({ className, children, mode = ModeType.normal, ...rest }) => {
|
|
7
|
+
const tableBodyClasses = classNames(tableStyles["table-body"], className);
|
|
8
|
+
return /* @__PURE__ */ jsx("tbody", { className: tableBodyClasses, ...rest, children: React__default.Children.map(children, (child) => React__default.isValidElement(child) && React__default.cloneElement(child, { mode })) });
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
TableBody as T
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TableBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableBody.js","sources":["../src/components/Table/TableBody/TableBody.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\n\nexport interface Props extends Omit<React.ComponentPropsWithoutRef<'tbody'>, 'style'> {\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the content of the table body. Use TableRows */\n children?: React.ReactNode;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n}\n\nexport const TableBody: React.FC<Props> = ({ className, children, mode = ModeType.normal, ...rest }) => {\n const tableBodyClasses = classNames(tableStyles['table-body'], className);\n return (\n <tbody className={tableBodyClasses} {...rest}>\n {React.Children.map(children, child => React.isValidElement<{ mode?: ModeType }>(child) && React.cloneElement(child, { mode }))}\n </tbody>\n );\n};\n\nexport default TableBody;\n"],"names":["React"],"mappings":";;;;;AAgBO,MAAM,YAA6B,CAAC,EAAE,WAAW,UAAU,OAAO,SAAS,QAAQ,GAAG,WAAW;AACtG,QAAM,mBAAmB,WAAW,YAAY,YAAY,GAAG,SAAS;AACxE,SACE,oBAAC,WAAM,WAAW,kBAAmB,GAAG,MACrC,UAAAA,eAAM,SAAS,IAAI,UAAU,CAAA,UAASA,eAAM,eAAoC,KAAK,KAAKA,eAAM,aAAa,OAAO,EAAE,KAAA,CAAM,CAAC,EAAA,CAChI;AAEJ;"}
|
package/lib/TableCell.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import tableStyles from "./components/Table/styles.module.scss";
|
|
4
|
+
import { M as ModeType } from "./Table.js";
|
|
5
|
+
var TextAlign = /* @__PURE__ */ ((TextAlign2) => {
|
|
6
|
+
TextAlign2["left"] = "left";
|
|
7
|
+
TextAlign2["center"] = "center";
|
|
8
|
+
TextAlign2["right"] = "right";
|
|
9
|
+
return TextAlign2;
|
|
10
|
+
})(TextAlign || {});
|
|
11
|
+
const TableCell = ({
|
|
12
|
+
nowrap = false,
|
|
13
|
+
textAlign = "left",
|
|
14
|
+
dataLabel,
|
|
15
|
+
children,
|
|
16
|
+
className,
|
|
17
|
+
testId,
|
|
18
|
+
mode = ModeType.normal,
|
|
19
|
+
...rest
|
|
20
|
+
}) => {
|
|
21
|
+
const tableCellClass = classNames(
|
|
22
|
+
tableStyles["table__cell"],
|
|
23
|
+
{ [tableStyles["table__cell--compact"]]: mode === ModeType.compact },
|
|
24
|
+
{ [tableStyles["table__cell--nowrap"]]: nowrap },
|
|
25
|
+
{ [tableStyles["table__cell--center"]]: textAlign === "center" },
|
|
26
|
+
{ [tableStyles["table__cell--right"]]: textAlign === "right" },
|
|
27
|
+
className
|
|
28
|
+
);
|
|
29
|
+
return /* @__PURE__ */ jsx("td", { className: tableCellClass, "data-label": dataLabel, "data-testid": testId, ...rest, children });
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
TableCell as T,
|
|
33
|
+
TextAlign as a
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=TableCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCell.js","sources":["../src/components/Table/TableCell/TableCell.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\n\nexport enum TextAlign {\n left = 'left',\n center = 'center',\n right = 'right',\n}\n\nexport interface Props extends Omit<React.ComponentPropsWithoutRef<'td'>, 'style'> {\n /** Label used for small viewport block */\n dataLabel?: string;\n /** text align in cell */\n textAlign?: TextAlign;\n /** nowrap for white space */\n nowrap?: boolean;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the content of the table cell */\n children?: React.ReactNode;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n /** For test purposes */\n testId?: string;\n}\n\nexport const TableCell: React.FC<Props> = ({\n nowrap = false,\n textAlign = TextAlign.left,\n dataLabel,\n children,\n className,\n testId,\n mode = ModeType.normal,\n ...rest\n}) => {\n const tableCellClass = classNames(\n tableStyles['table__cell'],\n { [tableStyles['table__cell--compact']]: mode === ModeType.compact },\n { [tableStyles['table__cell--nowrap']]: nowrap },\n { [tableStyles['table__cell--center']]: textAlign === 'center' },\n { [tableStyles['table__cell--right']]: textAlign === 'right' },\n className\n );\n\n return (\n <td className={tableCellClass} data-label={dataLabel} data-testid={testId} {...rest}>\n {children}\n </td>\n );\n};\n\nexport default TableCell;\n"],"names":["TextAlign"],"mappings":";;;;AAOO,IAAK,8BAAAA,eAAL;AACLA,aAAA,MAAA,IAAO;AACPA,aAAA,QAAA,IAAS;AACTA,aAAA,OAAA,IAAQ;AAHE,SAAAA;AAAA,GAAA,aAAA,CAAA,CAAA;AAuBL,MAAM,YAA6B,CAAC;AAAA,EACzC,SAAS;AAAA,EACT,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO,SAAS;AAAA,EAChB,GAAG;AACL,MAAM;AACJ,QAAM,iBAAiB;AAAA,IACrB,YAAY,aAAa;AAAA,IACzB,EAAE,CAAC,YAAY,sBAAsB,CAAC,GAAG,SAAS,SAAS,QAAA;AAAA,IAC3D,EAAE,CAAC,YAAY,qBAAqB,CAAC,GAAG,OAAA;AAAA,IACxC,EAAE,CAAC,YAAY,qBAAqB,CAAC,GAAG,cAAc,SAAA;AAAA,IACtD,EAAE,CAAC,YAAY,oBAAoB,CAAC,GAAG,cAAc,QAAA;AAAA,IACrD;AAAA,EAAA;AAGF,SACE,oBAAC,MAAA,EAAG,WAAW,gBAAgB,cAAY,WAAW,eAAa,QAAS,GAAG,MAC5E,SAAA,CACH;AAEJ;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { B as Button } from "./Button.js";
|
|
5
|
+
import { I as Icon } from "./Icon.js";
|
|
6
|
+
import ChevronUp from "./components/Icons/ChevronUp.js";
|
|
7
|
+
import tableStyles from "./components/Table/styles.module.scss";
|
|
8
|
+
import { M as ModeType } from "./Table.js";
|
|
9
|
+
const TableExpandedRow = ({
|
|
10
|
+
numberOfColumns,
|
|
11
|
+
expanded,
|
|
12
|
+
hideDetailsText,
|
|
13
|
+
toggleClick,
|
|
14
|
+
children,
|
|
15
|
+
className,
|
|
16
|
+
mode = ModeType.normal,
|
|
17
|
+
id
|
|
18
|
+
}) => {
|
|
19
|
+
const tableRowClass = classNames(
|
|
20
|
+
tableStyles["table__expanded-row"],
|
|
21
|
+
{ [tableStyles["table__expanded-row--expanded"]]: expanded },
|
|
22
|
+
className
|
|
23
|
+
);
|
|
24
|
+
const tableCellClass = classNames(tableStyles["table__cell"], className, {
|
|
25
|
+
[tableStyles["table__cell--compact"]]: mode === ModeType.compact
|
|
26
|
+
});
|
|
27
|
+
const containerClass = classNames(tableStyles["table__expanded-row-container"]);
|
|
28
|
+
return /* @__PURE__ */ jsx("tr", { className: tableRowClass, id, children: /* @__PURE__ */ jsx("td", { colSpan: numberOfColumns, className: tableCellClass, children: /* @__PURE__ */ jsxs("div", { className: containerClass, children: [
|
|
29
|
+
React__default.Children.map(children, (child) => React__default.isValidElement(child) && React__default.cloneElement(child)),
|
|
30
|
+
/* @__PURE__ */ jsxs(Button, { variant: "borderless", onClick: toggleClick, "aria-expanded": expanded, tabIndex: expanded ? 0 : -1, children: [
|
|
31
|
+
hideDetailsText,
|
|
32
|
+
/* @__PURE__ */ jsx(Icon, { svgIcon: ChevronUp })
|
|
33
|
+
] })
|
|
34
|
+
] }) }) });
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
TableExpandedRow as T
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=TableExpandedRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableExpandedRow.js","sources":["../src/components/Table/TableExpandedRow/TableExpandedRow.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport Button from '../../Button';\nimport Icon from '../../Icon';\nimport ChevronUp from '../../Icons/ChevronUp';\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\n\nexport interface Props {\n /** Row is expanded. */\n expanded: boolean;\n /** Number of columns in table. */\n numberOfColumns: number;\n /** Text for hide button. */\n hideDetailsText: string;\n /** When hide button inside expanded row is clicked. */\n toggleClick: () => void;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the content of the expanded row. */\n children: React.ReactNode;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n /** Row id. For use with aria-controls. */\n id?: string;\n}\n\nexport const TableExpandedRow = ({\n numberOfColumns,\n expanded,\n hideDetailsText,\n toggleClick,\n children,\n className,\n mode = ModeType.normal,\n id,\n}: Props): React.JSX.Element => {\n const tableRowClass = classNames(\n tableStyles['table__expanded-row'],\n { [tableStyles['table__expanded-row--expanded']]: expanded },\n className\n );\n const tableCellClass = classNames(tableStyles['table__cell'], className, {\n [tableStyles['table__cell--compact']]: mode === ModeType.compact,\n });\n\n const containerClass = classNames(tableStyles['table__expanded-row-container']);\n\n return (\n <tr className={tableRowClass} id={id}>\n <td colSpan={numberOfColumns} className={tableCellClass}>\n <div className={containerClass}>\n {React.Children.map(children, child => React.isValidElement(child) && React.cloneElement(child))}\n <Button variant={'borderless'} onClick={toggleClick} aria-expanded={expanded} tabIndex={expanded ? 0 : -1}>\n {hideDetailsText}\n <Icon svgIcon={ChevronUp} />\n </Button>\n </div>\n </td>\n </tr>\n );\n};\n\nexport default TableExpandedRow;\n"],"names":["React"],"mappings":";;;;;;;;AA6BO,MAAM,mBAAmB,CAAC;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO,SAAS;AAAA,EAChB;AACF,MAAgC;AAC9B,QAAM,gBAAgB;AAAA,IACpB,YAAY,qBAAqB;AAAA,IACjC,EAAE,CAAC,YAAY,+BAA+B,CAAC,GAAG,SAAA;AAAA,IAClD;AAAA,EAAA;AAEF,QAAM,iBAAiB,WAAW,YAAY,aAAa,GAAG,WAAW;AAAA,IACvE,CAAC,YAAY,sBAAsB,CAAC,GAAG,SAAS,SAAS;AAAA,EAAA,CAC1D;AAED,QAAM,iBAAiB,WAAW,YAAY,+BAA+B,CAAC;AAE9E,SACE,oBAAC,MAAA,EAAG,WAAW,eAAe,IAC5B,UAAA,oBAAC,MAAA,EAAG,SAAS,iBAAiB,WAAW,gBACvC,UAAA,qBAAC,OAAA,EAAI,WAAW,gBACb,UAAA;AAAA,IAAAA,eAAM,SAAS,IAAI,UAAU,CAAA,UAASA,eAAM,eAAe,KAAK,KAAKA,eAAM,aAAa,KAAK,CAAC;AAAA,IAC/F,qBAAC,QAAA,EAAO,SAAS,cAAc,SAAS,aAAa,iBAAe,UAAU,UAAU,WAAW,IAAI,IACpG,UAAA;AAAA,MAAA;AAAA,MACD,oBAAC,MAAA,EAAK,SAAS,UAAA,CAAW;AAAA,IAAA,EAAA,CAC5B;AAAA,EAAA,EAAA,CACF,GACF,GACF;AAEJ;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import { B as Button } from "./Button.js";
|
|
4
|
+
import { I as Icon } from "./Icon.js";
|
|
5
|
+
import ChevronDown from "./components/Icons/ChevronDown.js";
|
|
6
|
+
import ChevronUp from "./components/Icons/ChevronUp.js";
|
|
7
|
+
import tableStyles from "./components/Table/styles.module.scss";
|
|
8
|
+
import { M as ModeType } from "./Table.js";
|
|
9
|
+
const TableExpanderCell = ({
|
|
10
|
+
expandableRowId,
|
|
11
|
+
hideDetailsText,
|
|
12
|
+
showDetailsText,
|
|
13
|
+
expanded,
|
|
14
|
+
className,
|
|
15
|
+
mode = ModeType.normal
|
|
16
|
+
}) => {
|
|
17
|
+
const tableCellClass = classNames(tableStyles["table__cell"], tableStyles["table__cell-expander"], className, {
|
|
18
|
+
[tableStyles["table__cell--compact"]]: mode === ModeType.compact
|
|
19
|
+
});
|
|
20
|
+
const icon = expanded ? ChevronUp : ChevronDown;
|
|
21
|
+
return /* @__PURE__ */ jsx("td", { className: tableCellClass, children: /* @__PURE__ */ jsx(
|
|
22
|
+
Button,
|
|
23
|
+
{
|
|
24
|
+
variant: "borderless",
|
|
25
|
+
"aria-expanded": expanded,
|
|
26
|
+
"aria-controls": expandableRowId,
|
|
27
|
+
ariaLabel: expanded ? hideDetailsText : showDetailsText,
|
|
28
|
+
children: /* @__PURE__ */ jsx(Icon, { svgIcon: icon })
|
|
29
|
+
}
|
|
30
|
+
) });
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
TableExpanderCell as T
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=TableExpanderCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableExpanderCell.js","sources":["../src/components/Table/TableExpanderCell/TableExpanderCell.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport Button from '../../Button';\nimport Icon from '../../Icon';\nimport ChevronDown from '../../Icons/ChevronDown';\nimport ChevronUp from '../../Icons/ChevronUp';\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\n\nexport interface Props {\n /** Adds custom classes to the element. */\n className?: string;\n /** Row is expanded. */\n expanded: boolean;\n /** Id for expanded row. */\n expandableRowId: string;\n /** Text for hide button used for aria label. */\n hideDetailsText: string;\n /** Text for show button used for aria label. */\n showDetailsText: string;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n}\n\nexport const TableExpanderCell = ({\n expandableRowId,\n hideDetailsText,\n showDetailsText,\n expanded,\n className,\n mode = ModeType.normal,\n}: Props): React.JSX.Element => {\n const tableCellClass = classNames(tableStyles['table__cell'], tableStyles['table__cell-expander'], className, {\n [tableStyles['table__cell--compact']]: mode === ModeType.compact,\n });\n const icon = expanded ? ChevronUp : ChevronDown;\n\n return (\n <td className={tableCellClass}>\n <Button\n variant=\"borderless\"\n aria-expanded={expanded}\n aria-controls={expandableRowId}\n ariaLabel={expanded ? hideDetailsText : showDetailsText}\n >\n <Icon svgIcon={icon} />\n </Button>\n </td>\n );\n};\n\nexport default TableExpanderCell;\n"],"names":[],"mappings":";;;;;;;;AA0BO,MAAM,oBAAoB,CAAC;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO,SAAS;AAClB,MAAgC;AAC9B,QAAM,iBAAiB,WAAW,YAAY,aAAa,GAAG,YAAY,sBAAsB,GAAG,WAAW;AAAA,IAC5G,CAAC,YAAY,sBAAsB,CAAC,GAAG,SAAS,SAAS;AAAA,EAAA,CAC1D;AACD,QAAM,OAAO,WAAW,YAAY;AAEpC,SACE,oBAAC,MAAA,EAAG,WAAW,gBACb,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,WAAW,WAAW,kBAAkB;AAAA,MAExC,UAAA,oBAAC,MAAA,EAAK,SAAS,KAAA,CAAM;AAAA,IAAA;AAAA,EAAA,GAEzB;AAEJ;"}
|
package/lib/TableHead.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import tableStyles from "./components/Table/styles.module.scss";
|
|
5
|
+
import { M as ModeType } from "./Table.js";
|
|
6
|
+
var HeaderCategory = /* @__PURE__ */ ((HeaderCategory2) => {
|
|
7
|
+
HeaderCategory2["normal"] = "normal";
|
|
8
|
+
HeaderCategory2["transparent"] = "transparent";
|
|
9
|
+
HeaderCategory2["sortable"] = "sortable";
|
|
10
|
+
return HeaderCategory2;
|
|
11
|
+
})(HeaderCategory || {});
|
|
12
|
+
const TableHead = ({ category = "normal", className, children, mode, ...rest }) => {
|
|
13
|
+
const tableHeadClass = classNames(
|
|
14
|
+
tableStyles["table__head"],
|
|
15
|
+
{
|
|
16
|
+
[tableStyles["table__head--normal"]]: category === "normal",
|
|
17
|
+
[tableStyles["table__head--transparent"]]: category === "transparent",
|
|
18
|
+
[tableStyles["table__head--sortable"]]: category == "sortable",
|
|
19
|
+
[tableStyles["table__head--compact"]]: mode == ModeType.compact
|
|
20
|
+
},
|
|
21
|
+
className
|
|
22
|
+
);
|
|
23
|
+
return /* @__PURE__ */ jsx("thead", { className: tableHeadClass, ...rest, children: React__default.Children.map(children, (child) => React__default.isValidElement(child) && React__default.cloneElement(child, { mode })) });
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
HeaderCategory as H,
|
|
27
|
+
TableHead as T
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=TableHead.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableHead.js","sources":["../src/components/Table/TableHead/TableHead.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\n\nexport enum HeaderCategory {\n normal = 'normal',\n transparent = 'transparent',\n sortable = 'sortable',\n}\n\nexport interface Props extends Omit<React.ComponentPropsWithoutRef<'thead'>, 'style'> {\n /** Header category for styling. Default: normal */\n category?: HeaderCategory;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the content of the thead. Add table rows */\n children: React.ReactNode;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n}\n\nexport const TableHead: React.FC<Props> = ({ category = HeaderCategory.normal, className, children, mode, ...rest }) => {\n const tableHeadClass = classNames(\n tableStyles['table__head'],\n {\n [tableStyles['table__head--normal']]: category === HeaderCategory.normal,\n [tableStyles['table__head--transparent']]: category === HeaderCategory.transparent,\n [tableStyles['table__head--sortable']]: category == HeaderCategory.sortable,\n [tableStyles['table__head--compact']]: mode == ModeType.compact,\n },\n className\n );\n\n return (\n <thead className={tableHeadClass} {...rest}>\n {React.Children.map(children, child => React.isValidElement<{ mode?: ModeType }>(child) && React.cloneElement(child, { mode }))}\n </thead>\n );\n};\n\nexport default TableHead;\n"],"names":["HeaderCategory","React"],"mappings":";;;;;AAOO,IAAK,mCAAAA,oBAAL;AACLA,kBAAA,QAAA,IAAS;AACTA,kBAAA,aAAA,IAAc;AACdA,kBAAA,UAAA,IAAW;AAHD,SAAAA;AAAA,GAAA,kBAAA,CAAA,CAAA;AAiBL,MAAM,YAA6B,CAAC,EAAE,WAAW,UAAuB,WAAW,UAAU,MAAM,GAAG,WAAW;AACtH,QAAM,iBAAiB;AAAA,IACrB,YAAY,aAAa;AAAA,IACzB;AAAA,MACE,CAAC,YAAY,qBAAqB,CAAC,GAAG,aAAa;AAAA,MACnD,CAAC,YAAY,0BAA0B,CAAC,GAAG,aAAa;AAAA,MACxD,CAAC,YAAY,uBAAuB,CAAC,GAAG,YAAY;AAAA,MACpD,CAAC,YAAY,sBAAsB,CAAC,GAAG,QAAQ,SAAS;AAAA,IAAA;AAAA,IAE1D;AAAA,EAAA;AAGF,SACE,oBAAC,WAAM,WAAW,gBAAiB,GAAG,MACnC,UAAAC,eAAM,SAAS,IAAI,UAAU,CAAA,UAASA,eAAM,eAAoC,KAAK,KAAKA,eAAM,aAAa,OAAO,EAAE,KAAA,CAAM,CAAC,EAAA,CAChI;AAEJ;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import { I as Icon } from "./Icon.js";
|
|
4
|
+
import { IconSize } from "./constants.js";
|
|
5
|
+
import ArrowDown from "./components/Icons/ArrowDown.js";
|
|
6
|
+
import ArrowUp from "./components/Icons/ArrowUp.js";
|
|
7
|
+
import tableStyles from "./components/Table/styles.module.scss";
|
|
8
|
+
import { M as ModeType } from "./Table.js";
|
|
9
|
+
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
10
|
+
SortDirection2["asc"] = "asc";
|
|
11
|
+
SortDirection2["desc"] = "desc";
|
|
12
|
+
return SortDirection2;
|
|
13
|
+
})(SortDirection || {});
|
|
14
|
+
const TableHeadCell = ({
|
|
15
|
+
sortable,
|
|
16
|
+
onClick,
|
|
17
|
+
className,
|
|
18
|
+
children,
|
|
19
|
+
sortDir,
|
|
20
|
+
mode = ModeType.normal,
|
|
21
|
+
scope = "col",
|
|
22
|
+
...rest
|
|
23
|
+
}) => {
|
|
24
|
+
const tableHeadCellDefaultClass = classNames(tableStyles["table__head-cell"], className, {
|
|
25
|
+
[tableStyles["table__head-cell--compact"]]: mode === ModeType.compact
|
|
26
|
+
});
|
|
27
|
+
if (!sortable && !children) {
|
|
28
|
+
return /* @__PURE__ */ jsx("td", { className: tableHeadCellDefaultClass });
|
|
29
|
+
}
|
|
30
|
+
if (!sortable) {
|
|
31
|
+
return /* @__PURE__ */ jsx("th", { scope, className: tableHeadCellDefaultClass, ...rest, children });
|
|
32
|
+
}
|
|
33
|
+
const sortableClasses = classNames(tableHeadCellDefaultClass, tableStyles["table__head-cell--sortable"], className);
|
|
34
|
+
const renderSortIcon = () => sortDir && /* @__PURE__ */ jsx("div", { className: tableStyles["table__head-cell-sort-icon-wrapper"], children: /* @__PURE__ */ jsx(Icon, { svgIcon: sortDir == "asc" ? ArrowDown : ArrowUp, size: IconSize.XXSmall }) });
|
|
35
|
+
const getSortDirection = () => {
|
|
36
|
+
switch (sortDir) {
|
|
37
|
+
case "asc":
|
|
38
|
+
return "ascending";
|
|
39
|
+
case "desc":
|
|
40
|
+
return "descending";
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
return /* @__PURE__ */ jsx("th", { scope, className: sortableClasses, "aria-sort": getSortDirection(), ...rest, children: /* @__PURE__ */ jsxs("button", { type: "button", onClick, className: tableStyles["table__sort-button"], "aria-pressed": sortDir ? !!sortDir : void 0, children: [
|
|
44
|
+
renderSortIcon(),
|
|
45
|
+
children
|
|
46
|
+
] }) });
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
SortDirection as S,
|
|
50
|
+
TableHeadCell as T
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=TableHeadCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableHeadCell.js","sources":["../src/components/Table/TableHeadCell/TableHeadCell.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport Icon, { IconSize } from '../../Icon';\nimport ArrowDown from '../../Icons/ArrowDown';\nimport ArrowUp from '../../Icons/ArrowUp';\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\n\nexport enum SortDirection {\n asc = 'asc',\n desc = 'desc',\n}\n\nexport interface Props extends Omit<React.ComponentPropsWithoutRef<'th'>, 'style'> {\n /** Sets if column for head cell should be sortable*/\n sortable?: boolean;\n /** Sort direction */\n sortDir?: SortDirection;\n /** Function that is called when clicked */\n onClick?: () => void;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the content of the td element. */\n children?: React.ReactNode;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n}\n\nexport const TableHeadCell: React.FC<Props> = ({\n sortable,\n onClick,\n className,\n children,\n sortDir,\n mode = ModeType.normal,\n scope = 'col',\n ...rest\n}) => {\n const tableHeadCellDefaultClass = classNames(tableStyles['table__head-cell'], className, {\n [tableStyles['table__head-cell--compact']]: mode === ModeType.compact,\n });\n\n if (!sortable && !children) {\n return <td className={tableHeadCellDefaultClass}></td>;\n }\n\n if (!sortable) {\n return (\n <th scope={scope} className={tableHeadCellDefaultClass} {...rest}>\n {children}\n </th>\n );\n }\n\n const sortableClasses = classNames(tableHeadCellDefaultClass, tableStyles['table__head-cell--sortable'], className);\n\n const renderSortIcon = (): React.JSX.Element | undefined =>\n sortDir && (\n <div className={tableStyles['table__head-cell-sort-icon-wrapper']}>\n <Icon svgIcon={sortDir == SortDirection.asc ? ArrowDown : ArrowUp} size={IconSize.XXSmall} />\n </div>\n );\n\n const getSortDirection = (): React.AriaAttributes['aria-sort'] => {\n switch (sortDir) {\n case SortDirection.asc:\n return 'ascending';\n case SortDirection.desc:\n return 'descending';\n }\n };\n\n return (\n <th scope={scope} className={sortableClasses} aria-sort={getSortDirection()} {...rest}>\n <button type=\"button\" onClick={onClick} className={tableStyles['table__sort-button']} aria-pressed={sortDir ? !!sortDir : undefined}>\n {renderSortIcon()}\n {children}\n </button>\n </th>\n );\n};\n\nexport default TableHeadCell;\n"],"names":["SortDirection"],"mappings":";;;;;;;;AAUO,IAAK,kCAAAA,mBAAL;AACLA,iBAAA,KAAA,IAAM;AACNA,iBAAA,MAAA,IAAO;AAFG,SAAAA;AAAA,GAAA,iBAAA,CAAA,CAAA;AAoBL,MAAM,gBAAiC,CAAC;AAAA,EAC7C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO,SAAS;AAAA,EAChB,QAAQ;AAAA,EACR,GAAG;AACL,MAAM;AACJ,QAAM,4BAA4B,WAAW,YAAY,kBAAkB,GAAG,WAAW;AAAA,IACvF,CAAC,YAAY,2BAA2B,CAAC,GAAG,SAAS,SAAS;AAAA,EAAA,CAC/D;AAED,MAAI,CAAC,YAAY,CAAC,UAAU;AAC1B,WAAO,oBAAC,MAAA,EAAG,WAAW,0BAAA,CAA2B;AAAA,EACnD;AAEA,MAAI,CAAC,UAAU;AACb,+BACG,MAAA,EAAG,OAAc,WAAW,2BAA4B,GAAG,MACzD,UACH;AAAA,EAEJ;AAEA,QAAM,kBAAkB,WAAW,2BAA2B,YAAY,4BAA4B,GAAG,SAAS;AAElH,QAAM,iBAAiB,MACrB,+BACG,OAAA,EAAI,WAAW,YAAY,oCAAoC,GAC9D,8BAAC,MAAA,EAAK,SAAS,WAAW,QAAoB,YAAY,SAAS,MAAM,SAAS,SAAS,GAC7F;AAGJ,QAAM,mBAAmB,MAAyC;AAChE,YAAQ,SAAA;AAAA,MACN,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,IAAA;AAAA,EAEb;AAEA,SACE,oBAAC,MAAA,EAAG,OAAc,WAAW,iBAAiB,aAAW,iBAAA,GAAqB,GAAG,MAC/E,UAAA,qBAAC,UAAA,EAAO,MAAK,UAAS,SAAkB,WAAW,YAAY,oBAAoB,GAAG,gBAAc,UAAU,CAAC,CAAC,UAAU,QACvH,UAAA;AAAA,IAAA,eAAA;AAAA,IACA;AAAA,EAAA,EAAA,CACH,EAAA,CACF;AAEJ;"}
|
package/lib/TableRow.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import tableStyles from "./components/Table/styles.module.scss";
|
|
5
|
+
import { M as ModeType } from "./Table.js";
|
|
6
|
+
import { B as Button } from "./Button.js";
|
|
7
|
+
import { I as Icon } from "./Icon.js";
|
|
8
|
+
import ChevronDown from "./components/Icons/ChevronDown.js";
|
|
9
|
+
import ChevronUp from "./components/Icons/ChevronUp.js";
|
|
10
|
+
const TableExpanderCellMobile = ({
|
|
11
|
+
expanded,
|
|
12
|
+
onClick,
|
|
13
|
+
hideDetailsText,
|
|
14
|
+
showDetailsText,
|
|
15
|
+
mode = ModeType.normal
|
|
16
|
+
}) => {
|
|
17
|
+
const cellClass = classNames(tableStyles.table__cell, tableStyles["table__expander-cell-mobile"], {
|
|
18
|
+
[tableStyles["table__expander-cell-mobile--expanded"]]: expanded,
|
|
19
|
+
[tableStyles["table__cell--compact"]]: mode === ModeType.compact
|
|
20
|
+
});
|
|
21
|
+
return /* @__PURE__ */ jsx("td", { className: cellClass, children: /* @__PURE__ */ jsxs(Button, { "aria-expanded": expanded, variant: "borderless", onClick, children: [
|
|
22
|
+
/* @__PURE__ */ jsx(Icon, { svgIcon: expanded ? ChevronUp : ChevronDown }),
|
|
23
|
+
" ",
|
|
24
|
+
expanded ? hideDetailsText : showDetailsText
|
|
25
|
+
] }) });
|
|
26
|
+
};
|
|
27
|
+
const TableRow = ({
|
|
28
|
+
rowKey,
|
|
29
|
+
hideDetailsText,
|
|
30
|
+
showDetailsText,
|
|
31
|
+
expandable,
|
|
32
|
+
expanded,
|
|
33
|
+
onClick,
|
|
34
|
+
className,
|
|
35
|
+
children,
|
|
36
|
+
mode = ModeType.normal,
|
|
37
|
+
...rest
|
|
38
|
+
}) => {
|
|
39
|
+
const tableRowClass = classNames(
|
|
40
|
+
tableStyles["table-row"],
|
|
41
|
+
{
|
|
42
|
+
[tableStyles["table__row--expandable"]]: expandable
|
|
43
|
+
},
|
|
44
|
+
className
|
|
45
|
+
);
|
|
46
|
+
return /* @__PURE__ */ jsxs("tr", { className: tableRowClass, onClick, ...rest, children: [
|
|
47
|
+
React__default.Children.map(children, (child) => React__default.isValidElement(child) && React__default.cloneElement(child, { mode })),
|
|
48
|
+
expandable && /* @__PURE__ */ jsx(
|
|
49
|
+
TableExpanderCellMobile,
|
|
50
|
+
{
|
|
51
|
+
expanded,
|
|
52
|
+
onClick,
|
|
53
|
+
hideDetailsText,
|
|
54
|
+
showDetailsText,
|
|
55
|
+
mode
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
] }, rowKey);
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
TableRow as T
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=TableRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableRow.js","sources":["../src/components/Table/TableExpanderCell/TableExpanderCellMobile.tsx","../src/components/Table/TableRow/TableRow.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport Button from '../../Button';\nimport Icon from '../../Icon';\nimport ChevronDown from '../../Icons/ChevronDown';\nimport ChevronUp from '../../Icons/ChevronUp';\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\nimport { Props } from '../TableRow/TableRow';\n\ntype TableExpanderCellMobileProps = Pick<Props, 'expanded' | 'onClick' | 'hideDetailsText' | 'showDetailsText' | 'mode'>;\n\nconst TableExpanderCellMobile: React.FC<TableExpanderCellMobileProps> = ({\n expanded,\n onClick,\n hideDetailsText,\n showDetailsText,\n mode = ModeType.normal,\n}) => {\n const cellClass = classNames(tableStyles.table__cell, tableStyles['table__expander-cell-mobile'], {\n [tableStyles['table__expander-cell-mobile--expanded']]: expanded,\n [tableStyles['table__cell--compact']]: mode === ModeType.compact,\n });\n\n return (\n <td className={cellClass}>\n <Button aria-expanded={expanded} variant=\"borderless\" onClick={onClick}>\n <Icon svgIcon={expanded ? ChevronUp : ChevronDown} /> {expanded ? hideDetailsText : showDetailsText}\n </Button>\n </td>\n );\n};\n\nexport default TableExpanderCellMobile;\n","import React from 'react';\n\nimport classNames from 'classnames';\n\nimport tableStyles from '../styles.module.scss';\nimport { ModeType } from '../Table';\nimport TableExpanderCellMobile from '../TableExpanderCell/TableExpanderCellMobile';\n\nexport interface Props extends Omit<React.ComponentPropsWithoutRef<'tr'>, 'style'> {\n /** Sets if expanded row can be expanded */\n expandable?: boolean;\n /** Sets if expanded row is expanded */\n expanded?: boolean;\n /** When hide/show button for expanded row is clicked. */\n onClick?: () => void;\n /** Text for expanded row hide button. */\n hideDetailsText?: string;\n /** Text for expanded row show button. */\n showDetailsText?: string;\n /** Key attribute for row */\n rowKey?: string;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the cells of the table row element. */\n children?: React.ReactNode;\n /** For display with less space. Discouraged to use together with interactive elements. */\n mode?: ModeType;\n}\n\nexport const TableRow: React.FC<Props> = ({\n rowKey,\n hideDetailsText,\n showDetailsText,\n expandable,\n expanded,\n onClick,\n className,\n children,\n mode = ModeType.normal,\n ...rest\n}) => {\n const tableRowClass = classNames(\n tableStyles['table-row'],\n {\n [tableStyles['table__row--expandable']]: expandable,\n },\n className\n );\n\n return (\n <tr className={tableRowClass} onClick={onClick} key={rowKey} {...rest}>\n {React.Children.map(children, child => React.isValidElement<{ mode?: ModeType }>(child) && React.cloneElement(child, { mode }))}\n {expandable && (\n <TableExpanderCellMobile\n expanded={expanded}\n onClick={onClick}\n hideDetailsText={hideDetailsText}\n showDetailsText={showDetailsText}\n mode={mode}\n />\n )}\n </tr>\n );\n};\n\nexport default TableRow;\n"],"names":["React"],"mappings":";;;;;;;;;AAcA,MAAM,0BAAkE,CAAC;AAAA,EACvE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO,SAAS;AAClB,MAAM;AACJ,QAAM,YAAY,WAAW,YAAY,aAAa,YAAY,6BAA6B,GAAG;AAAA,IAChG,CAAC,YAAY,uCAAuC,CAAC,GAAG;AAAA,IACxD,CAAC,YAAY,sBAAsB,CAAC,GAAG,SAAS,SAAS;AAAA,EAAA,CAC1D;AAED,SACE,oBAAC,MAAA,EAAG,WAAW,WACb,UAAA,qBAAC,UAAO,iBAAe,UAAU,SAAQ,cAAa,SACpD,UAAA;AAAA,IAAA,oBAAC,MAAA,EAAK,SAAS,WAAW,YAAY,aAAa;AAAA,IAAE;AAAA,IAAE,WAAW,kBAAkB;AAAA,EAAA,EAAA,CACtF,EAAA,CACF;AAEJ;ACJO,MAAM,WAA4B,CAAC;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO,SAAS;AAAA,EAChB,GAAG;AACL,MAAM;AACJ,QAAM,gBAAgB;AAAA,IACpB,YAAY,WAAW;AAAA,IACvB;AAAA,MACE,CAAC,YAAY,wBAAwB,CAAC,GAAG;AAAA,IAAA;AAAA,IAE3C;AAAA,EAAA;AAGF,8BACG,MAAA,EAAG,WAAW,eAAe,SAAgC,GAAG,MAC9D,UAAA;AAAA,IAAAA,eAAM,SAAS,IAAI,UAAU,CAAA,UAASA,eAAM,eAAoC,KAAK,KAAKA,eAAM,aAAa,OAAO,EAAE,KAAA,CAAM,CAAC;AAAA,IAC7H,cACC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,EAAA,GATiD,MAWrD;AAEJ;"}
|
package/lib/Textarea.js
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { FormOnColor, AnalyticsId, AVERAGE_CHARACTER_WIDTH_PX } from "./constants.js";
|
|
5
|
+
import { useUuid } from "./hooks/useUuid.js";
|
|
6
|
+
import { getAriaDescribedBy } from "./utils/accessibility.js";
|
|
7
|
+
import { u as uuid } from "./uuid.js";
|
|
8
|
+
import { E as ErrorWrapper } from "./ErrorWrapper.js";
|
|
9
|
+
import { a as renderLabel } from "./Label.js";
|
|
10
|
+
import { M as MaxCharacters } from "./MaxCharacters.js";
|
|
11
|
+
import styles from "./components/Textarea/styles.module.scss";
|
|
12
|
+
const getTextareaMaxWidth = (characters) => {
|
|
13
|
+
const paddingWidth = "2rem";
|
|
14
|
+
const scrollbarWidth = "16px";
|
|
15
|
+
const borderWidth = "4px";
|
|
16
|
+
return `calc(${characters * AVERAGE_CHARACTER_WIDTH_PX}px + ${paddingWidth} + ${scrollbarWidth} + ${borderWidth})`;
|
|
17
|
+
};
|
|
18
|
+
const Textarea = React__default.forwardRef((props, ref) => {
|
|
19
|
+
const {
|
|
20
|
+
maxCharacters,
|
|
21
|
+
maxText,
|
|
22
|
+
width,
|
|
23
|
+
testId,
|
|
24
|
+
defaultValue,
|
|
25
|
+
marginBottom: gutterBottom,
|
|
26
|
+
transparent,
|
|
27
|
+
onColor = FormOnColor.onwhite,
|
|
28
|
+
label,
|
|
29
|
+
textareaId = uuid(),
|
|
30
|
+
minRows = 3,
|
|
31
|
+
maxRows = 10,
|
|
32
|
+
grow,
|
|
33
|
+
error,
|
|
34
|
+
errorText,
|
|
35
|
+
errorTextId,
|
|
36
|
+
errorWrapperClassName,
|
|
37
|
+
autoFocus,
|
|
38
|
+
disabled,
|
|
39
|
+
name,
|
|
40
|
+
autoComplete = "off",
|
|
41
|
+
placeholder,
|
|
42
|
+
readOnly,
|
|
43
|
+
required,
|
|
44
|
+
onChange,
|
|
45
|
+
value,
|
|
46
|
+
...rest
|
|
47
|
+
} = props;
|
|
48
|
+
const [rows, setRows] = useState(minRows);
|
|
49
|
+
const [textareaInput, setTextareaInput] = useState(value || defaultValue || "");
|
|
50
|
+
const referanse = useRef(null);
|
|
51
|
+
const errorTextUuid = useUuid(errorTextId);
|
|
52
|
+
useEffect(() => {
|
|
53
|
+
setTextareaInput(defaultValue || "");
|
|
54
|
+
}, [defaultValue]);
|
|
55
|
+
const resizeHeight = (target) => {
|
|
56
|
+
const textareaLineHeight = 28;
|
|
57
|
+
const previousRows = target.rows;
|
|
58
|
+
target.rows = minRows;
|
|
59
|
+
const currentRows = Math.floor((target.scrollHeight - 16) / textareaLineHeight);
|
|
60
|
+
if (currentRows === previousRows) {
|
|
61
|
+
target.rows = currentRows;
|
|
62
|
+
}
|
|
63
|
+
if (currentRows >= maxRows) {
|
|
64
|
+
target.rows = maxRows;
|
|
65
|
+
target.scrollTop = target.scrollHeight;
|
|
66
|
+
}
|
|
67
|
+
if (currentRows < maxRows) {
|
|
68
|
+
setRows(currentRows);
|
|
69
|
+
} else {
|
|
70
|
+
setRows(maxRows);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
const onDark = onColor === FormOnColor.ondark;
|
|
74
|
+
const onBlueberry = onColor === FormOnColor.onblueberry;
|
|
75
|
+
const maxCharactersExceeded = !!maxCharacters && textareaInput.toString().length > maxCharacters;
|
|
76
|
+
const onError = onColor === FormOnColor.oninvalid || !!errorText || !!error || maxCharactersExceeded;
|
|
77
|
+
const textareaWrapperClass = classNames(styles.textarea, {
|
|
78
|
+
[styles["textarea--gutterBottom"]]: gutterBottom
|
|
79
|
+
});
|
|
80
|
+
const contentWrapperClass = classNames(styles["input-container"], {
|
|
81
|
+
[styles["input-container--transparent"]]: transparent,
|
|
82
|
+
[styles["input-container--on-blueberry"]]: onBlueberry,
|
|
83
|
+
[styles["input-container--on-dark"]]: onDark,
|
|
84
|
+
[styles["input-container--invalid"]]: onError,
|
|
85
|
+
[styles["input-container--disabled"]]: props.disabled
|
|
86
|
+
});
|
|
87
|
+
const textareaClass = classNames(styles["input-container__input"], {
|
|
88
|
+
[styles[`input-container__input--disabled`]]: props.disabled
|
|
89
|
+
});
|
|
90
|
+
useEffect(() => {
|
|
91
|
+
var _a, _b, _c;
|
|
92
|
+
if (value) setTextareaInput(value);
|
|
93
|
+
if (grow && ((_a = referanse.current) == null ? void 0 : _a.children) && ((_b = referanse.current) == null ? void 0 : _b.children[0])) {
|
|
94
|
+
const textarea = (_c = referanse.current) == null ? void 0 : _c.children[0];
|
|
95
|
+
resizeHeight(textarea);
|
|
96
|
+
}
|
|
97
|
+
}, [value]);
|
|
98
|
+
const onChangeHandler = (e) => {
|
|
99
|
+
setTextareaInput(e.target.value);
|
|
100
|
+
if (onChange) {
|
|
101
|
+
onChange(e);
|
|
102
|
+
}
|
|
103
|
+
if (grow) {
|
|
104
|
+
resizeHeight(e.target);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
const maxWidth = width ? getTextareaMaxWidth(width) : void 0;
|
|
108
|
+
return /* @__PURE__ */ jsx(ErrorWrapper, { className: errorWrapperClassName, errorText, errorTextId: errorTextUuid, children: /* @__PURE__ */ jsxs("div", { "data-testid": testId, "data-analyticsid": AnalyticsId.Textarea, className: textareaWrapperClass, children: [
|
|
109
|
+
renderLabel(label, textareaId, onColor),
|
|
110
|
+
/* @__PURE__ */ jsx("div", { className: contentWrapperClass, ref: referanse, style: { maxWidth }, children: /* @__PURE__ */ jsx(
|
|
111
|
+
"textarea",
|
|
112
|
+
{
|
|
113
|
+
...rest,
|
|
114
|
+
rows,
|
|
115
|
+
defaultValue,
|
|
116
|
+
id: textareaId,
|
|
117
|
+
className: textareaClass,
|
|
118
|
+
ref,
|
|
119
|
+
"aria-describedby": getAriaDescribedBy(props, errorTextUuid),
|
|
120
|
+
"aria-invalid": !!onError,
|
|
121
|
+
autoFocus,
|
|
122
|
+
disabled,
|
|
123
|
+
name,
|
|
124
|
+
autoComplete: autoComplete ? autoComplete : void 0,
|
|
125
|
+
placeholder,
|
|
126
|
+
readOnly,
|
|
127
|
+
required,
|
|
128
|
+
onChange: onChangeHandler,
|
|
129
|
+
value
|
|
130
|
+
}
|
|
131
|
+
) }),
|
|
132
|
+
maxCharacters && /* @__PURE__ */ jsx(
|
|
133
|
+
MaxCharacters,
|
|
134
|
+
{
|
|
135
|
+
maxCharacters,
|
|
136
|
+
length: textareaInput.toString().length,
|
|
137
|
+
maxText,
|
|
138
|
+
onColor,
|
|
139
|
+
maxWidth
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
] }) });
|
|
143
|
+
});
|
|
144
|
+
Textarea.displayName = "Textarea";
|
|
145
|
+
export {
|
|
146
|
+
Textarea as T
|
|
147
|
+
};
|
|
148
|
+
//# sourceMappingURL=Textarea.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.js","sources":["../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import React, { useState, useRef, useEffect } from 'react';\n\nimport cn from 'classnames';\n\nimport { AnalyticsId, AVERAGE_CHARACTER_WIDTH_PX, FormOnColor } from '../../constants';\nimport { useUuid } from '../../hooks/useUuid';\nimport { getAriaDescribedBy } from '../../utils/accessibility';\nimport { uuid } from '../../utils/uuid';\nimport ErrorWrapper, { ErrorWrapperClassNameProps } from '../ErrorWrapper';\nimport { renderLabel } from '../Label';\nimport MaxCharacters from '../MaxCharacters/MaxCharacters';\n\nimport styles from './styles.module.scss';\n\nexport interface TextareaProps\n extends ErrorWrapperClassNameProps,\n Pick<\n React.InputHTMLAttributes<HTMLTextAreaElement>,\n | 'aria-describedby'\n | 'autoFocus'\n | 'disabled'\n | 'name'\n | 'autoComplete'\n | 'placeholder'\n | 'readOnly'\n | 'required'\n | 'defaultValue'\n | 'onChange'\n | 'value'\n > {\n /** max character limit in textarea */\n maxCharacters?: number;\n /** The text is displayed in the end of the text-counter */\n maxText?: string;\n /** Width of textarea in characters (approximate) */\n width?: number;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** If true, the component will have a bottom margin. */\n marginBottom?: boolean;\n /** If true, the component will be transparent. */\n transparent?: boolean;\n /** Changes the visuals of the textarea */\n onColor?: keyof typeof FormOnColor;\n /** Label of the input */\n label?: React.ReactNode;\n /** id of the textarea */\n textareaId?: string;\n /** max rows */\n maxRows?: number;\n /** min rows */\n minRows?: number;\n /** auto-grows until maxRows */\n grow?: boolean;\n /** Activates Error style for the input */\n error?: boolean;\n /** Error text to show above the component */\n errorText?: string;\n /** Error text id */\n errorTextId?: string;\n}\n\nconst getTextareaMaxWidth = (characters: number): string => {\n const paddingWidth = '2rem';\n const scrollbarWidth = '16px';\n const borderWidth = '4px';\n\n return `calc(${characters * AVERAGE_CHARACTER_WIDTH_PX}px + ${paddingWidth} + ${scrollbarWidth} + ${borderWidth})`;\n};\n\nconst Textarea = React.forwardRef((props: TextareaProps, ref: React.Ref<HTMLTextAreaElement>) => {\n const {\n maxCharacters,\n maxText,\n width,\n testId,\n defaultValue,\n marginBottom: gutterBottom,\n transparent,\n onColor = FormOnColor.onwhite,\n label,\n textareaId = uuid(),\n minRows = 3,\n maxRows = 10,\n grow,\n error,\n errorText,\n errorTextId,\n errorWrapperClassName,\n autoFocus,\n disabled,\n name,\n autoComplete = 'off',\n placeholder,\n readOnly,\n required,\n onChange,\n value,\n ...rest\n } = props;\n\n const [rows, setRows] = useState(minRows);\n const [textareaInput, setTextareaInput] = useState(value || defaultValue || '');\n const referanse = useRef<HTMLDivElement>(null);\n const errorTextUuid = useUuid(errorTextId);\n\n useEffect(() => {\n setTextareaInput(defaultValue || '');\n }, [defaultValue]);\n\n const resizeHeight = (target: HTMLTextAreaElement): void => {\n const textareaLineHeight = 28;\n\n const previousRows = target.rows;\n target.rows = minRows; // reset number of rows in textarea\n\n const currentRows = Math.floor((target.scrollHeight - 16) / textareaLineHeight); // scrollHeight - 16px of padding to calculate the rows\n\n if (currentRows === previousRows) {\n target.rows = currentRows;\n }\n\n if (currentRows >= maxRows) {\n target.rows = maxRows;\n target.scrollTop = target.scrollHeight;\n }\n\n if (currentRows < maxRows) {\n setRows(currentRows);\n } else {\n setRows(maxRows);\n }\n };\n\n const onDark = onColor === FormOnColor.ondark;\n const onBlueberry = onColor === FormOnColor.onblueberry;\n const maxCharactersExceeded = !!maxCharacters && textareaInput.toString().length > maxCharacters;\n const onError = onColor === FormOnColor.oninvalid || !!errorText || !!error || maxCharactersExceeded;\n\n const textareaWrapperClass = cn(styles.textarea, {\n [styles['textarea--gutterBottom']]: gutterBottom,\n });\n\n const contentWrapperClass = cn(styles['input-container'], {\n [styles['input-container--transparent']]: transparent,\n [styles['input-container--on-blueberry']]: onBlueberry,\n [styles['input-container--on-dark']]: onDark,\n [styles['input-container--invalid']]: onError,\n [styles['input-container--disabled']]: props.disabled,\n });\n\n const textareaClass = cn(styles['input-container__input'], {\n [styles[`input-container__input--disabled`]]: props.disabled,\n });\n\n useEffect(() => {\n if (value) setTextareaInput(value);\n\n if (grow && referanse.current?.children && referanse.current?.children[0]) {\n const textarea = referanse.current?.children[0] as HTMLTextAreaElement;\n resizeHeight(textarea);\n }\n }, [value]);\n\n const onChangeHandler = (e: React.ChangeEvent<HTMLTextAreaElement>): void => {\n setTextareaInput(e.target.value);\n\n if (onChange) {\n onChange(e);\n }\n\n if (grow) {\n resizeHeight(e.target);\n }\n };\n\n const maxWidth = width ? getTextareaMaxWidth(width) : undefined;\n\n return (\n <ErrorWrapper className={errorWrapperClassName} errorText={errorText} errorTextId={errorTextUuid}>\n <div data-testid={testId} data-analyticsid={AnalyticsId.Textarea} className={textareaWrapperClass}>\n {renderLabel(label, textareaId, onColor as FormOnColor)}\n <div className={contentWrapperClass} ref={referanse} style={{ maxWidth }}>\n <textarea\n {...rest}\n rows={rows}\n defaultValue={defaultValue}\n id={textareaId}\n className={textareaClass}\n ref={ref}\n aria-describedby={getAriaDescribedBy(props, errorTextUuid)}\n aria-invalid={!!onError}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n disabled={disabled}\n name={name}\n autoComplete={autoComplete ? autoComplete : undefined}\n placeholder={placeholder}\n readOnly={readOnly}\n required={required}\n onChange={onChangeHandler}\n value={value}\n />\n </div>\n {maxCharacters && (\n <MaxCharacters\n maxCharacters={maxCharacters}\n length={textareaInput.toString().length}\n maxText={maxText}\n onColor={onColor}\n maxWidth={maxWidth}\n />\n )}\n </div>\n </ErrorWrapper>\n );\n});\n\nTextarea.displayName = 'Textarea';\n\nexport default Textarea;\n"],"names":["React","cn"],"mappings":";;;;;;;;;;;AA8DA,MAAM,sBAAsB,CAAC,eAA+B;AAC1D,QAAM,eAAe;AACrB,QAAM,iBAAiB;AACvB,QAAM,cAAc;AAEpB,SAAO,QAAQ,aAAa,0BAA0B,QAAQ,YAAY,MAAM,cAAc,MAAM,WAAW;AACjH;AAEA,MAAM,WAAWA,eAAM,WAAW,CAAC,OAAsB,QAAwC;AAC/F,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,cAAc;AAAA,IACd;AAAA,IACA,UAAU,YAAY;AAAA,IACtB;AAAA,IACA,aAAa,KAAA;AAAA,IACb,UAAU;AAAA,IACV,UAAU;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,IACD;AAEJ,QAAM,CAAC,MAAM,OAAO,IAAI,SAAS,OAAO;AACxC,QAAM,CAAC,eAAe,gBAAgB,IAAI,SAAS,SAAS,gBAAgB,EAAE;AAC9E,QAAM,YAAY,OAAuB,IAAI;AAC7C,QAAM,gBAAgB,QAAQ,WAAW;AAEzC,YAAU,MAAM;AACd,qBAAiB,gBAAgB,EAAE;AAAA,EACrC,GAAG,CAAC,YAAY,CAAC;AAEjB,QAAM,eAAe,CAAC,WAAsC;AAC1D,UAAM,qBAAqB;AAE3B,UAAM,eAAe,OAAO;AAC5B,WAAO,OAAO;AAEd,UAAM,cAAc,KAAK,OAAO,OAAO,eAAe,MAAM,kBAAkB;AAE9E,QAAI,gBAAgB,cAAc;AAChC,aAAO,OAAO;AAAA,IAChB;AAEA,QAAI,eAAe,SAAS;AAC1B,aAAO,OAAO;AACd,aAAO,YAAY,OAAO;AAAA,IAC5B;AAEA,QAAI,cAAc,SAAS;AACzB,cAAQ,WAAW;AAAA,IACrB,OAAO;AACL,cAAQ,OAAO;AAAA,IACjB;AAAA,EACF;AAEA,QAAM,SAAS,YAAY,YAAY;AACvC,QAAM,cAAc,YAAY,YAAY;AAC5C,QAAM,wBAAwB,CAAC,CAAC,iBAAiB,cAAc,SAAA,EAAW,SAAS;AACnF,QAAM,UAAU,YAAY,YAAY,aAAa,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS;AAE/E,QAAM,uBAAuBC,WAAG,OAAO,UAAU;AAAA,IAC/C,CAAC,OAAO,wBAAwB,CAAC,GAAG;AAAA,EAAA,CACrC;AAED,QAAM,sBAAsBA,WAAG,OAAO,iBAAiB,GAAG;AAAA,IACxD,CAAC,OAAO,8BAA8B,CAAC,GAAG;AAAA,IAC1C,CAAC,OAAO,+BAA+B,CAAC,GAAG;AAAA,IAC3C,CAAC,OAAO,0BAA0B,CAAC,GAAG;AAAA,IACtC,CAAC,OAAO,0BAA0B,CAAC,GAAG;AAAA,IACtC,CAAC,OAAO,2BAA2B,CAAC,GAAG,MAAM;AAAA,EAAA,CAC9C;AAED,QAAM,gBAAgBA,WAAG,OAAO,wBAAwB,GAAG;AAAA,IACzD,CAAC,OAAO,kCAAkC,CAAC,GAAG,MAAM;AAAA,EAAA,CACrD;AAED,YAAU,MAAM;;AACd,QAAI,wBAAwB,KAAK;AAEjC,QAAI,UAAQ,eAAU,YAAV,mBAAmB,eAAY,eAAU,YAAV,mBAAmB,SAAS,KAAI;AACzE,YAAM,YAAW,eAAU,YAAV,mBAAmB,SAAS;AAC7C,mBAAa,QAAQ;AAAA,IACvB;AAAA,EACF,GAAG,CAAC,KAAK,CAAC;AAEV,QAAM,kBAAkB,CAAC,MAAoD;AAC3E,qBAAiB,EAAE,OAAO,KAAK;AAE/B,QAAI,UAAU;AACZ,eAAS,CAAC;AAAA,IACZ;AAEA,QAAI,MAAM;AACR,mBAAa,EAAE,MAAM;AAAA,IACvB;AAAA,EACF;AAEA,QAAM,WAAW,QAAQ,oBAAoB,KAAK,IAAI;AAEtD,SACE,oBAAC,cAAA,EAAa,WAAW,uBAAuB,WAAsB,aAAa,eACjF,UAAA,qBAAC,OAAA,EAAI,eAAa,QAAQ,oBAAkB,YAAY,UAAU,WAAW,sBAC1E,UAAA;AAAA,IAAA,YAAY,OAAO,YAAY,OAAsB;AAAA,IACtD,oBAAC,SAAI,WAAW,qBAAqB,KAAK,WAAW,OAAO,EAAE,SAAA,GAC5D,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA;AAAA,QACA,IAAI;AAAA,QACJ,WAAW;AAAA,QACX;AAAA,QACA,oBAAkB,mBAAmB,OAAO,aAAa;AAAA,QACzD,gBAAc,CAAC,CAAC;AAAA,QAEhB;AAAA,QACA;AAAA,QACA;AAAA,QACA,cAAc,eAAe,eAAe;AAAA,QAC5C;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV;AAAA,MAAA;AAAA,IAAA,GAEJ;AAAA,IACC,iBACC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,QAAQ,cAAc,SAAA,EAAW;AAAA,QACjC;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,EAAA,CAEJ,EAAA,CACF;AAEJ,CAAC;AAED,SAAS,cAAc;"}
|
package/lib/Title.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { AnalyticsId } from "./constants.js";
|
|
5
|
+
import titleStyles from "./components/Title/styles.module.scss";
|
|
6
|
+
const Title = React__default.forwardRef(function TitleForwardedRef(props, ref) {
|
|
7
|
+
const { id, children, className, htmlMarkup = "h1", appearance = "title1", margin = 0, testId } = props;
|
|
8
|
+
const titleClasses = classNames(
|
|
9
|
+
titleStyles.title,
|
|
10
|
+
{
|
|
11
|
+
[titleStyles["title--feature"]]: appearance === "titleFeature",
|
|
12
|
+
[titleStyles["title--title1"]]: appearance === "title1",
|
|
13
|
+
[titleStyles["title--title2"]]: appearance === "title2",
|
|
14
|
+
[titleStyles["title--title3"]]: appearance === "title3",
|
|
15
|
+
[titleStyles["title--title4"]]: appearance === "title4",
|
|
16
|
+
[titleStyles["title--title5"]]: appearance === "title5",
|
|
17
|
+
[titleStyles["title--title6"]]: appearance === "title6"
|
|
18
|
+
},
|
|
19
|
+
className
|
|
20
|
+
);
|
|
21
|
+
const CustomTag = htmlMarkup;
|
|
22
|
+
const inlineStyle = instanceOfTitleMargin(margin) ? { marginTop: `${margin.marginTop}rem`, marginBottom: `${margin.marginBottom}rem` } : { marginTop: `${margin}rem`, marginBottom: `${margin}rem` };
|
|
23
|
+
return /* @__PURE__ */ jsx(CustomTag, { id, className: titleClasses, style: inlineStyle, ref, "data-testid": testId, "data-analyticsid": AnalyticsId.Title, children });
|
|
24
|
+
});
|
|
25
|
+
const instanceOfTitleMargin = (margin) => {
|
|
26
|
+
return Object.prototype.hasOwnProperty.call(margin, "marginTop") && Object.prototype.hasOwnProperty.call(margin, "marginBottom");
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
Title as T,
|
|
30
|
+
instanceOfTitleMargin as i
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Title.js.map
|
package/lib/Title.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Title.js","sources":["../src/components/Title/Title.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\n\nimport titleStyles from './styles.module.scss';\n\nexport type TitleTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';\nexport type TitleAppearances = 'titleFeature' | 'title1' | 'title2' | 'title3' | 'title4' | 'title5' | 'title6';\n\nexport interface TitleProps {\n children: React.ReactNode;\n /** Gives a unique id to the title */\n id?: string;\n /** Adds custom classes to the element. */\n className?: string;\n /** Adds top and bottom margin in rem. */\n margin?: number | TitleMargin;\n /** Changes the underlying element of the title. */\n htmlMarkup?: TitleTags;\n /** Changes the appearance of the title. */\n appearance?: TitleAppearances;\n /** Sets the data-testid attribute. */\n testId?: string;\n}\n\nexport const Title = React.forwardRef(function TitleForwardedRef(props: TitleProps, ref: React.ForwardedRef<HTMLHeadingElement>) {\n const { id, children, className, htmlMarkup = 'h1', appearance = 'title1', margin = 0, testId } = props;\n const titleClasses = classNames(\n titleStyles.title,\n {\n [titleStyles['title--feature']]: appearance === 'titleFeature',\n [titleStyles['title--title1']]: appearance === 'title1',\n [titleStyles['title--title2']]: appearance === 'title2',\n [titleStyles['title--title3']]: appearance === 'title3',\n [titleStyles['title--title4']]: appearance === 'title4',\n [titleStyles['title--title5']]: appearance === 'title5',\n [titleStyles['title--title6']]: appearance === 'title6',\n },\n className\n );\n const CustomTag = htmlMarkup;\n\n const inlineStyle = instanceOfTitleMargin(margin)\n ? { marginTop: `${margin.marginTop}rem`, marginBottom: `${margin.marginBottom}rem` }\n : { marginTop: `${margin}rem`, marginBottom: `${margin}rem` };\n\n return (\n <CustomTag id={id} className={titleClasses} style={inlineStyle} ref={ref} data-testid={testId} data-analyticsid={AnalyticsId.Title}>\n {children}\n </CustomTag>\n );\n});\n\nexport interface TitleMargin {\n marginTop: number;\n marginBottom: number;\n}\n\nexport const instanceOfTitleMargin = (margin: unknown): margin is TitleMargin => {\n return Object.prototype.hasOwnProperty.call(margin, 'marginTop') && Object.prototype.hasOwnProperty.call(margin, 'marginBottom');\n};\n\nexport default Title;\n"],"names":["React"],"mappings":";;;;;AA2BO,MAAM,QAAQA,eAAM,WAAW,SAAS,kBAAkB,OAAmB,KAA6C;AAC/H,QAAM,EAAE,IAAI,UAAU,WAAW,aAAa,MAAM,aAAa,UAAU,SAAS,GAAG,OAAA,IAAW;AAClG,QAAM,eAAe;AAAA,IACnB,YAAY;AAAA,IACZ;AAAA,MACE,CAAC,YAAY,gBAAgB,CAAC,GAAG,eAAe;AAAA,MAChD,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,MAC/C,CAAC,YAAY,eAAe,CAAC,GAAG,eAAe;AAAA,IAAA;AAAA,IAEjD;AAAA,EAAA;AAEF,QAAM,YAAY;AAElB,QAAM,cAAc,sBAAsB,MAAM,IAC5C,EAAE,WAAW,GAAG,OAAO,SAAS,OAAO,cAAc,GAAG,OAAO,YAAY,MAAA,IAC3E,EAAE,WAAW,GAAG,MAAM,OAAO,cAAc,GAAG,MAAM,MAAA;AAExD,SACE,oBAAC,WAAA,EAAU,IAAQ,WAAW,cAAc,OAAO,aAAa,KAAU,eAAa,QAAQ,oBAAkB,YAAY,OAC1H,UACH;AAEJ,CAAC;AAOM,MAAM,wBAAwB,CAAC,WAA2C;AAC/E,SAAO,OAAO,UAAU,eAAe,KAAK,QAAQ,WAAW,KAAK,OAAO,UAAU,eAAe,KAAK,QAAQ,cAAc;AACjI;"}
|
package/lib/Toast.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import { useIsMobileBreakpoint } from "./hooks/useIsMobileBreakpoint.js";
|
|
4
|
+
import { C as Close } from "./Close.js";
|
|
5
|
+
import { I as Icon } from "./Icon.js";
|
|
6
|
+
import { IconSize } from "./constants.js";
|
|
7
|
+
import CheckFill from "./components/Icons/CheckFill.js";
|
|
8
|
+
import styles from "./components/Toast/styles.module.scss";
|
|
9
|
+
const Toast = ({ testId, title, message, onClose }) => {
|
|
10
|
+
const isMobile = useIsMobileBreakpoint();
|
|
11
|
+
const handleClose = () => {
|
|
12
|
+
if (onClose) {
|
|
13
|
+
onClose();
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
return /* @__PURE__ */ jsxs("output", { className: styles["toast"], "data-testid": testId, children: [
|
|
17
|
+
/* @__PURE__ */ jsx(
|
|
18
|
+
Icon,
|
|
19
|
+
{
|
|
20
|
+
size: isMobile ? IconSize.XSmall : IconSize.Small,
|
|
21
|
+
svgIcon: CheckFill,
|
|
22
|
+
className: classNames(styles["toast__icon"], styles["toast__icon--check"])
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ jsxs("div", { className: styles["toast__text-container"], children: [
|
|
26
|
+
/* @__PURE__ */ jsx("span", { className: styles["toast__title"], children: title }),
|
|
27
|
+
message && /* @__PURE__ */ jsx("span", { className: styles["toast__description"], children: message })
|
|
28
|
+
] }),
|
|
29
|
+
/* @__PURE__ */ jsx(
|
|
30
|
+
Close,
|
|
31
|
+
{
|
|
32
|
+
onClick: handleClose,
|
|
33
|
+
color: "black",
|
|
34
|
+
className: classNames(styles["toast__icon"], styles["toast__icon--close"]),
|
|
35
|
+
testId: `${testId}-close`
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
] });
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
Toast as T
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=Toast.js.map
|