@norges-domstoler/dds-components 13.3.0 → 13.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.css +1 -1
- package/dist/cjs/bundle.css +1 -1
- package/dist/cjs/components/BackLink/BackLink.d.ts +6 -6
- package/dist/cjs/components/BackLink/BackLink.stories.d.ts +18 -17
- package/dist/cjs/components/BackLink/BackLink.tokens.d.ts +8 -8
- package/dist/cjs/components/BackLink/index.d.ts +1 -1
- package/dist/cjs/components/Breadcrumbs/Breadcrumb.d.ts +3 -3
- package/dist/cjs/components/Breadcrumbs/Breadcrumb.tokens.d.ts +13 -13
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.d.ts +4 -4
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -8
- package/dist/cjs/components/Breadcrumbs/index.d.ts +2 -2
- package/dist/cjs/components/Button/Button.d.ts +21 -21
- package/dist/cjs/components/Button/Button.stories.d.ts +64 -63
- package/dist/cjs/components/Button/Button.styles.d.ts +25 -25
- package/dist/cjs/components/Button/Button.tokens.d.ts +332 -332
- package/dist/cjs/components/Button/Button.types.d.ts +33 -33
- package/dist/cjs/components/Button/index.d.ts +2 -2
- package/dist/cjs/components/Card/Card.d.ts +26 -23
- package/dist/cjs/components/Card/Card.stories.d.ts +15 -12
- package/dist/cjs/components/Card/Card.tokens.d.ts +27 -27
- package/dist/cjs/components/Card/CardAccordion/CardAccordion.d.ts +18 -18
- package/dist/cjs/components/Card/CardAccordion/CardAccordion.tokens.d.ts +28 -28
- package/dist/cjs/components/Card/CardAccordion/CardAccordionBody.d.ts +27 -27
- package/dist/cjs/components/Card/CardAccordion/CardAccordionHeader.d.ts +36 -36
- package/dist/cjs/components/Card/CardAccordion/useElementHeight.d.ts +1 -1
- package/dist/cjs/components/Card/index.d.ts +4 -4
- package/dist/cjs/components/Checkbox/Checkbox.d.ts +10 -10
- package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +50 -49
- package/dist/cjs/components/Checkbox/Checkbox.types.d.ts +15 -15
- package/dist/cjs/components/Checkbox/CheckboxGroup.d.ts +18 -16
- package/dist/cjs/components/Checkbox/CheckboxGroup.stories.d.ts +53 -50
- package/dist/cjs/components/Checkbox/CheckboxGroup.tokens.d.ts +13 -13
- package/dist/cjs/components/Checkbox/CheckboxGroupContext.d.ts +9 -9
- package/dist/cjs/components/Checkbox/index.d.ts +3 -3
- package/dist/cjs/components/Chip/Chip.d.ts +16 -16
- package/dist/cjs/components/Chip/Chip.stories.d.ts +20 -19
- package/dist/cjs/components/Chip/Chip.tokens.d.ts +14 -14
- package/dist/cjs/components/Chip/ChipGroup.d.ts +3 -3
- package/dist/cjs/components/Chip/ChipGroup.stories.d.ts +8 -7
- package/dist/cjs/components/Chip/index.d.ts +2 -2
- package/dist/cjs/components/Datepicker/Datepicker.d.ts +12 -12
- package/dist/cjs/components/Datepicker/Datepicker.stories.d.ts +53 -52
- package/dist/cjs/components/Datepicker/Datepicker.tokens.d.ts +27 -27
- package/dist/cjs/components/Datepicker/index.d.ts +1 -1
- package/dist/cjs/components/DescriptionList/DescriptionList.d.ts +23 -23
- package/dist/cjs/components/DescriptionList/DescriptionList.stories.d.ts +19 -18
- package/dist/cjs/components/DescriptionList/DescriptionList.tokens.d.ts +37 -37
- package/dist/cjs/components/DescriptionList/DescriptionListDesc.d.ts +15 -15
- package/dist/cjs/components/DescriptionList/DescriptionListGroup.d.ts +23 -23
- package/dist/cjs/components/DescriptionList/DescriptionListTerm.d.ts +3 -3
- package/dist/cjs/components/DescriptionList/index.d.ts +4 -4
- package/dist/cjs/components/Divider/Divider.d.ts +13 -13
- package/dist/cjs/components/Divider/Divider.stories.d.ts +15 -14
- package/dist/cjs/components/Divider/Divider.tokens.d.ts +13 -13
- package/dist/cjs/components/Divider/index.d.ts +1 -1
- package/dist/cjs/components/Drawer/Drawer.d.ts +50 -50
- package/dist/cjs/components/Drawer/Drawer.stories.d.ts +24 -23
- package/dist/cjs/components/Drawer/Drawer.tokens.d.ts +9 -9
- package/dist/cjs/components/Drawer/DrawerGroup.d.ts +15 -12
- package/dist/cjs/components/Drawer/index.d.ts +2 -2
- package/dist/cjs/components/EmptyContent/EmptyContent.d.ts +9 -6
- package/dist/cjs/components/EmptyContent/EmptyContent.stories.d.ts +16 -16
- package/dist/cjs/components/EmptyContent/index.d.ts +1 -1
- package/dist/cjs/components/FileUploader/ErrorList.d.ts +9 -10
- package/dist/cjs/components/FileUploader/File.d.ts +10 -11
- package/dist/cjs/components/FileUploader/FileUploader.d.ts +22 -20
- package/dist/cjs/components/FileUploader/FileUploader.stories.d.ts +28 -25
- package/dist/cjs/components/FileUploader/FileUploader.tokens.d.ts +25 -25
- package/dist/cjs/components/FileUploader/fileUploaderReducer.d.ts +33 -33
- package/dist/cjs/components/FileUploader/index.d.ts +1 -1
- package/dist/cjs/components/FileUploader/types.d.ts +10 -10
- package/dist/cjs/components/FileUploader/useFileUploader.d.ts +33 -33
- package/dist/cjs/components/FileUploader/utils.d.ts +7 -7
- package/dist/cjs/components/GlobalMessage/GlobalMessage.d.ts +27 -27
- package/dist/cjs/components/GlobalMessage/GlobalMessage.stories.d.ts +31 -30
- package/dist/cjs/components/GlobalMessage/GlobalMessage.tokens.d.ts +50 -50
- package/dist/cjs/components/GlobalMessage/index.d.ts +1 -1
- package/dist/cjs/components/Grid/Grid.context.d.ts +7 -7
- package/dist/cjs/components/Grid/Grid.d.ts +24 -21
- package/dist/cjs/components/Grid/Grid.stories.d.ts +11 -8
- package/dist/cjs/components/Grid/Grid.tokens.d.ts +82 -82
- package/dist/cjs/components/Grid/GridChild.d.ts +22 -19
- package/dist/cjs/components/Grid/index.d.ts +2 -2
- package/dist/cjs/components/Icon/Icon.d.ts +17 -14
- package/dist/cjs/components/Icon/Icon.stories.d.ts +21 -21
- package/dist/cjs/components/Icon/index.d.ts +1 -1
- package/dist/cjs/components/InlineEdit/InlineEdit.d.ts +5 -3
- package/dist/cjs/components/InlineEdit/InlineEdit.stories.d.ts +34 -33
- package/dist/cjs/components/InlineEdit/InlineEdit.styles.d.ts +20 -20
- package/dist/cjs/components/InlineEdit/InlineEdit.tokens.d.ts +27 -27
- package/dist/cjs/components/InlineEdit/InlineEdit.types.d.ts +35 -35
- package/dist/cjs/components/InlineEdit/InlineEdit.utils.d.ts +1 -2
- package/dist/cjs/components/InlineEdit/InlineEditInput.d.ts +2 -2
- package/dist/cjs/components/InlineEdit/InlineEditInput.stories.d.ts +37 -36
- package/dist/cjs/components/InlineEdit/InlineEditTextArea.d.ts +2 -2
- package/dist/cjs/components/InlineEdit/InlineEditTextArea.stories.d.ts +37 -36
- package/dist/cjs/components/InlineEdit/InlineInput.d.ts +4 -4
- package/dist/cjs/components/InlineEdit/InlineTextArea.d.ts +4 -4
- package/dist/cjs/components/InlineEdit/index.d.ts +3 -3
- package/dist/cjs/components/InputMessage/InputMessage.d.ts +17 -17
- package/dist/cjs/components/InputMessage/InputMessage.stories.d.ts +21 -20
- package/dist/cjs/components/InputMessage/InputMessage.tokens.d.ts +16 -16
- package/dist/cjs/components/InputMessage/index.d.ts +1 -1
- package/dist/cjs/components/InternalHeader/InternalHeader.d.ts +5 -3
- package/dist/cjs/components/InternalHeader/InternalHeader.stories.d.ts +47 -44
- package/dist/cjs/components/InternalHeader/InternalHeader.styles.d.ts +31 -31
- package/dist/cjs/components/InternalHeader/InternalHeader.tokens.d.ts +47 -47
- package/dist/cjs/components/InternalHeader/InternalHeader.types.d.ts +36 -36
- package/dist/cjs/components/InternalHeader/InternalHeaderListItem.d.ts +3 -3
- package/dist/cjs/components/InternalHeader/NavigationItem.d.ts +14 -14
- package/dist/cjs/components/InternalHeader/index.d.ts +2 -2
- package/dist/cjs/components/List/List.d.ts +21 -21
- package/dist/cjs/components/List/List.stories.d.ts +18 -17
- package/dist/cjs/components/List/List.tokens.d.ts +24 -24
- package/dist/cjs/components/List/ListItem.d.ts +3 -3
- package/dist/cjs/components/List/index.d.ts +2 -2
- package/dist/cjs/components/LocalMessage/LocalMessage.d.ts +37 -37
- package/dist/cjs/components/LocalMessage/LocalMessage.stories.d.ts +40 -39
- package/dist/cjs/components/LocalMessage/LocalMessage.tokens.d.ts +88 -88
- package/dist/cjs/components/LocalMessage/index.d.ts +1 -1
- package/dist/cjs/components/Modal/Modal.d.ts +30 -30
- package/dist/cjs/components/Modal/Modal.stories.d.ts +28 -27
- package/dist/cjs/components/Modal/Modal.tokens.d.ts +12 -12
- package/dist/cjs/components/Modal/ModalActions.d.ts +3 -3
- package/dist/cjs/components/Modal/ModalBody.d.ts +19 -19
- package/dist/cjs/components/Modal/index.d.ts +3 -3
- package/dist/cjs/components/OverflowMenu/OverflowMenu.d.ts +24 -24
- package/dist/cjs/components/OverflowMenu/OverflowMenu.stories.d.ts +27 -26
- package/dist/cjs/components/OverflowMenu/OverflowMenu.tokens.d.ts +34 -34
- package/dist/cjs/components/OverflowMenu/OverflowMenu.types.d.ts +37 -37
- package/dist/cjs/components/OverflowMenu/OverflowMenuGroup.d.ts +17 -14
- package/dist/cjs/components/OverflowMenu/OverflowMenuItem.d.ts +21 -21
- package/dist/cjs/components/OverflowMenu/index.d.ts +3 -3
- package/dist/cjs/components/Pagination/Pagination.d.ts +52 -52
- package/dist/cjs/components/Pagination/Pagination.stories.d.ts +48 -47
- package/dist/cjs/components/Pagination/Pagination.tokens.d.ts +14 -14
- package/dist/cjs/components/Pagination/index.d.ts +1 -1
- package/dist/cjs/components/Pagination/paginationGenerator.d.ts +1 -1
- package/dist/cjs/components/Popover/Popover.d.ts +60 -60
- package/dist/cjs/components/Popover/Popover.stories.d.ts +55 -54
- package/dist/cjs/components/Popover/Popover.tokens.d.ts +17 -17
- package/dist/cjs/components/Popover/PopoverGroup.d.ts +17 -14
- package/dist/cjs/components/Popover/index.d.ts +2 -2
- package/dist/cjs/components/ProgressTracker/ProgressTracker.context.d.ts +8 -8
- package/dist/cjs/components/ProgressTracker/ProgressTracker.d.ts +14 -14
- package/dist/cjs/components/ProgressTracker/ProgressTracker.stories.d.ts +45 -41
- package/dist/cjs/components/ProgressTracker/ProgressTracker.tokens.d.ts +72 -72
- package/dist/cjs/components/ProgressTracker/ProgressTrackerItem.d.ts +27 -25
- package/dist/cjs/components/ProgressTracker/index.d.ts +1 -1
- package/dist/cjs/components/RadioButton/RadioButton.d.ts +18 -18
- package/dist/cjs/components/RadioButton/RadioButton.stories.d.ts +52 -51
- package/dist/cjs/components/RadioButton/RadioButton.types.d.ts +12 -12
- package/dist/cjs/components/RadioButton/RadioButtonGroup.d.ts +56 -56
- package/dist/cjs/components/RadioButton/RadioButtonGroup.stories.d.ts +65 -64
- package/dist/cjs/components/RadioButton/RadioButtonGroupContext.d.ts +13 -13
- package/dist/cjs/components/RadioButton/index.d.ts +3 -3
- package/dist/cjs/components/ScrollableContainer/ScrollableContainer.d.ts +10 -8
- package/dist/cjs/components/ScrollableContainer/ScrollableContainer.stories.d.ts +18 -15
- package/dist/cjs/components/ScrollableContainer/ScrollableContainer.tokens.d.ts +25 -25
- package/dist/cjs/components/ScrollableContainer/Scrollbar.d.ts +10 -7
- package/dist/cjs/components/ScrollableContainer/index.d.ts +3 -3
- package/dist/cjs/components/ScrollableContainer/scrollbarStyling.d.ts +26 -26
- package/dist/cjs/components/Search/AutocompleteSearch.context.d.ts +12 -12
- package/dist/cjs/components/Search/Search.d.ts +21 -21
- package/dist/cjs/components/Search/Search.stories.d.ts +51 -47
- package/dist/cjs/components/Search/Search.tokens.d.ts +64 -64
- package/dist/cjs/components/Search/Search.utils.d.ts +9 -9
- package/dist/cjs/components/Search/SearchAutocompleteWrapper.d.ts +34 -31
- package/dist/cjs/components/Search/SearchSuggestions.d.ts +29 -29
- package/dist/cjs/components/Search/index.d.ts +10 -10
- package/dist/cjs/components/Select/CustomSelect.stories.d.ts +66 -66
- package/dist/cjs/components/Select/MultiSelect.stories.d.ts +75 -74
- package/dist/cjs/components/Select/Select.d.ts +37 -37
- package/dist/cjs/components/Select/Select.stories.d.ts +71 -70
- package/dist/cjs/components/Select/Select.styles.d.ts +18 -18
- package/dist/cjs/components/Select/Select.tokens.d.ts +143 -143
- package/dist/cjs/components/Select/index.d.ts +1 -1
- package/dist/cjs/components/SkipToContent/SkipToContent.d.ts +21 -21
- package/dist/cjs/components/SkipToContent/SkipToContent.stories.d.ts +33 -32
- package/dist/cjs/components/SkipToContent/SkipToContent.tokens.d.ts +14 -14
- package/dist/cjs/components/SkipToContent/index.d.ts +1 -1
- package/dist/cjs/components/Spinner/Spinner.d.ts +15 -13
- package/dist/cjs/components/Spinner/Spinner.stories.d.ts +26 -26
- package/dist/cjs/components/Spinner/index.d.ts +1 -1
- package/dist/cjs/components/SplitButton/SplitButton.d.ts +16 -16
- package/dist/cjs/components/SplitButton/SplitButton.stories.d.ts +10 -9
- package/dist/cjs/components/SplitButton/SplitButton.tokens.d.ts +7 -7
- package/dist/cjs/components/SplitButton/index.d.ts +1 -1
- package/dist/cjs/components/Stack/Stack.d.ts +39 -39
- package/dist/cjs/components/Stack/Stack.stories.d.ts +13 -11
- package/dist/cjs/components/Stack/Stack.tokens.d.ts +20 -20
- package/dist/cjs/components/Stack/index.d.ts +1 -1
- package/dist/cjs/components/Table/Body.d.ts +3 -3
- package/dist/cjs/components/Table/Cell.d.ts +15 -15
- package/dist/cjs/components/Table/Foot.d.ts +3 -3
- package/dist/cjs/components/Table/Head.d.ts +3 -3
- package/dist/cjs/components/Table/Row.d.ts +7 -7
- package/dist/cjs/components/Table/SortCell.d.ts +19 -19
- package/dist/cjs/components/Table/Table.d.ts +7 -7
- package/dist/cjs/components/Table/Table.stories.d.ts +56 -52
- package/dist/cjs/components/Table/Table.styles.d.ts +10 -10
- package/dist/cjs/components/Table/Table.tokens.d.ts +67 -67
- package/dist/cjs/components/Table/Table.types.d.ts +37 -37
- package/dist/cjs/components/Table/TableWrapper.d.ts +6 -3
- package/dist/cjs/components/Table/collapsible/CollapsibleRow.d.ts +7 -7
- package/dist/cjs/components/Table/collapsible/CollapsibleTable.d.ts +10 -10
- package/dist/cjs/components/Table/collapsible/CollapsibleTable.stories.d.ts +49 -48
- package/dist/cjs/components/Table/collapsible/Table.context.d.ts +10 -10
- package/dist/cjs/components/Table/index.d.ts +28 -28
- package/dist/cjs/components/Table/tableData.d.ts +17 -17
- package/dist/cjs/components/Tabs/Tab.d.ts +31 -31
- package/dist/cjs/components/Tabs/TabList.d.ts +3 -3
- package/dist/cjs/components/Tabs/TabPanel.d.ts +14 -14
- package/dist/cjs/components/Tabs/TabPanels.d.ts +3 -3
- package/dist/cjs/components/Tabs/Tabs.context.d.ts +15 -15
- package/dist/cjs/components/Tabs/Tabs.d.ts +27 -27
- package/dist/cjs/components/Tabs/Tabs.stories.d.ts +53 -11
- package/dist/cjs/components/Tabs/Tabs.tokens.d.ts +32 -32
- package/dist/cjs/components/Tabs/index.d.ts +5 -5
- package/dist/cjs/components/Tag/Tag.d.ts +17 -17
- package/dist/cjs/components/Tag/Tag.stories.d.ts +19 -18
- package/dist/cjs/components/Tag/Tag.tokens.d.ts +31 -31
- package/dist/cjs/components/Tag/index.d.ts +1 -1
- package/dist/cjs/components/TextArea/TextArea.d.ts +10 -10
- package/dist/cjs/components/TextArea/TextArea.stories.d.ts +52 -51
- package/dist/cjs/components/TextArea/TextArea.tokens.d.ts +5 -5
- package/dist/cjs/components/TextArea/index.d.ts +1 -1
- package/dist/cjs/components/TextInput/CharCounter.d.ts +7 -8
- package/dist/cjs/components/TextInput/TextInput.d.ts +10 -10
- package/dist/cjs/components/TextInput/TextInput.stories.d.ts +72 -71
- package/dist/cjs/components/TextInput/TextInput.styles.d.ts +17 -17
- package/dist/cjs/components/TextInput/TextInput.tokens.d.ts +37 -37
- package/dist/cjs/components/TextInput/TextInput.types.d.ts +21 -21
- package/dist/cjs/components/TextInput/index.d.ts +2 -2
- package/dist/cjs/components/ToggleBar/ToggleBar.context.d.ts +10 -10
- package/dist/cjs/components/ToggleBar/ToggleBar.d.ts +5 -3
- package/dist/cjs/components/ToggleBar/ToggleBar.stories.d.ts +23 -20
- package/dist/cjs/components/ToggleBar/ToggleBar.tokens.d.ts +84 -84
- package/dist/cjs/components/ToggleBar/ToggleBar.types.d.ts +19 -19
- package/dist/cjs/components/ToggleBar/ToggleRadio.d.ts +19 -19
- package/dist/cjs/components/ToggleBar/ToggleRadio.styles.d.ts +11 -11
- package/dist/cjs/components/ToggleBar/index.d.ts +3 -3
- package/dist/cjs/components/ToggleButton/ToggleButton.d.ts +7 -7
- package/dist/cjs/components/ToggleButton/ToggleButton.stories.d.ts +19 -18
- package/dist/cjs/components/ToggleButton/ToggleButton.tokens.d.ts +32 -32
- package/dist/cjs/components/ToggleButton/ToggleButton.types.d.ts +10 -10
- package/dist/cjs/components/ToggleButton/ToggleButtonGroup.d.ts +15 -13
- package/dist/cjs/components/ToggleButton/ToggleButtonGroup.stories.d.ts +11 -8
- package/dist/cjs/components/ToggleButton/index.d.ts +3 -3
- package/dist/cjs/components/Tooltip/Tooltip.d.ts +32 -32
- package/dist/cjs/components/Tooltip/Tooltip.stories.d.ts +35 -34
- package/dist/cjs/components/Tooltip/Tooltip.styles.d.ts +11 -11
- package/dist/cjs/components/Tooltip/Tooltip.tokens.d.ts +13 -13
- package/dist/cjs/components/Tooltip/index.d.ts +1 -1
- package/dist/cjs/components/Typography/Caption/Caption.d.ts +11 -11
- package/dist/cjs/components/Typography/Caption/Caption.stories.d.ts +29 -28
- package/dist/cjs/components/Typography/Caption/index.d.ts +1 -1
- package/dist/cjs/components/Typography/Heading/Heading.d.ts +22 -22
- package/dist/cjs/components/Typography/Heading/Heading.stories.d.ts +38 -37
- package/dist/cjs/components/Typography/Heading/index.d.ts +1 -1
- package/dist/cjs/components/Typography/Label/Label.d.ts +17 -17
- package/dist/cjs/components/Typography/Label/Label.stories.d.ts +33 -32
- package/dist/cjs/components/Typography/Label/index.d.ts +1 -1
- package/dist/cjs/components/Typography/Legend/Legend.d.ts +11 -11
- package/dist/cjs/components/Typography/Legend/Legend.stories.d.ts +29 -28
- package/dist/cjs/components/Typography/Legend/index.d.ts +1 -1
- package/dist/cjs/components/Typography/Link/Link.d.ts +23 -23
- package/dist/cjs/components/Typography/Link/Link.stories.d.ts +48 -47
- package/dist/cjs/components/Typography/Link/index.d.ts +1 -1
- package/dist/cjs/components/Typography/Paragraph/Paragraph.d.ts +17 -17
- package/dist/cjs/components/Typography/Paragraph/Paragraph.stories.d.ts +37 -36
- package/dist/cjs/components/Typography/Paragraph/index.d.ts +1 -1
- package/dist/cjs/components/Typography/Typography/Typography.d.ts +25 -25
- package/dist/cjs/components/Typography/Typography/Typography.stories.d.ts +64 -63
- package/dist/cjs/components/Typography/Typography/Typography.types.d.ts +36 -36
- package/dist/cjs/components/Typography/Typography/index.d.ts +2 -2
- package/dist/cjs/components/Typography/Typography.tokens.d.ts +448 -448
- package/dist/cjs/components/Typography/Typography.utils.d.ts +203 -203
- package/dist/cjs/components/Typography/index.d.ts +7 -7
- package/dist/cjs/components/Typography/stories/Examples.stories.d.ts +5 -5
- package/dist/cjs/components/Typography/stories/TypographyComponents.stories.d.ts +42 -42
- package/dist/cjs/components/Typography/stories/TypographyTypes.stories.d.ts +11 -10
- package/dist/cjs/components/VisuallyHidden/VisuallyHidden.d.ts +14 -12
- package/dist/cjs/components/VisuallyHidden/VisuallyHidden.stories.d.ts +19 -16
- package/dist/cjs/components/VisuallyHidden/index.d.ts +1 -1
- package/dist/cjs/helpers/Backdrop/Backdrop.d.ts +5 -5
- package/dist/cjs/helpers/Backdrop/Backdrop.utils.d.ts +2 -2
- package/dist/cjs/helpers/Backdrop/index.d.ts +2 -2
- package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.d.ts +8 -9
- package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.styles.d.ts +7 -7
- package/dist/cjs/helpers/Chevron/index.d.ts +1 -1
- package/dist/cjs/helpers/HiddenInput/HiddenInput.d.ts +1 -1
- package/dist/cjs/helpers/HiddenInput/index.d.ts +1 -1
- package/dist/cjs/helpers/Input/Input.styles.d.ts +16 -16
- package/dist/cjs/helpers/Input/Input.tokens.d.ts +38 -38
- package/dist/cjs/helpers/Input/Input.types.d.ts +28 -28
- package/dist/cjs/helpers/Input/Input.utils.d.ts +5 -6
- package/dist/cjs/helpers/Input/index.d.ts +4 -4
- package/dist/cjs/helpers/Paper/Paper.d.ts +8 -8
- package/dist/cjs/helpers/Paper/Paper.tokens.d.ts +7 -7
- package/dist/cjs/helpers/Paper/index.d.ts +1 -1
- package/dist/cjs/helpers/RequiredMarker/RequiredMarker.d.ts +1 -2
- package/dist/cjs/helpers/RequiredMarker/index.d.ts +1 -1
- package/dist/cjs/helpers/ScreenSize/ScreenSize.utils.d.ts +7 -7
- package/dist/cjs/helpers/ScreenSize/index.d.ts +1 -1
- package/dist/cjs/helpers/SelectionControl/SelectionControl.styles.d.ts +20 -20
- package/dist/cjs/helpers/SelectionControl/SelectionControl.tokens.d.ts +94 -94
- package/dist/cjs/helpers/SelectionControl/SelectionControl.utils.d.ts +2 -2
- package/dist/cjs/helpers/SelectionControl/index.d.ts +3 -3
- package/dist/cjs/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +2 -2
- package/dist/cjs/helpers/TextOverflowEllipsis/index.d.ts +1 -1
- package/dist/cjs/helpers/index.d.ts +7 -7
- package/dist/cjs/helpers/styling/danger.d.ts +4 -4
- package/dist/cjs/helpers/styling/focus.d.ts +9 -9
- package/dist/cjs/helpers/styling/focusVisible.d.ts +37 -37
- package/dist/cjs/helpers/styling/hideInput.d.ts +7 -7
- package/dist/cjs/helpers/styling/hover.d.ts +12 -12
- package/dist/cjs/helpers/styling/index.d.ts +9 -9
- package/dist/cjs/helpers/styling/normalize.d.ts +5 -5
- package/dist/cjs/helpers/styling/removeButtonStyling.d.ts +9 -9
- package/dist/cjs/helpers/styling/removeListStyling.d.ts +5 -5
- package/dist/cjs/helpers/styling/selection.d.ts +4 -4
- package/dist/cjs/helpers/styling/visibilityTransition.d.ts +1 -1
- package/dist/cjs/hooks/index.d.ts +9 -9
- package/dist/cjs/hooks/useCombinedRefs.d.ts +20 -20
- package/dist/cjs/hooks/useFloatPosition.d.ts +48 -48
- package/dist/cjs/hooks/useFocusTrap.d.ts +16 -16
- package/dist/cjs/hooks/useIsMounted.d.ts +2 -2
- package/dist/cjs/hooks/useMountTransition.d.ts +33 -33
- package/dist/cjs/hooks/useOnClickOutside.d.ts +14 -14
- package/dist/cjs/hooks/useOnKeyDown.d.ts +14 -14
- package/dist/cjs/hooks/useReturnFocusOnBlur.d.ts +31 -31
- package/dist/cjs/hooks/useRoveFocus.d.ts +28 -28
- package/dist/cjs/hooks/useScreenSize.d.ts +20 -20
- package/dist/cjs/icons/icons.stories.d.ts +5 -5
- package/dist/cjs/icons/tsx/agreement.d.ts +2 -0
- package/dist/cjs/icons/tsx/apps.d.ts +2 -3
- package/dist/cjs/icons/tsx/archive.d.ts +2 -3
- package/dist/cjs/icons/tsx/arrowDown.d.ts +2 -3
- package/dist/cjs/icons/tsx/arrowLeft.d.ts +2 -3
- package/dist/cjs/icons/tsx/arrowRight.d.ts +2 -3
- package/dist/cjs/icons/tsx/arrowUp.d.ts +2 -3
- package/dist/cjs/icons/tsx/attachment.d.ts +2 -3
- package/dist/cjs/icons/tsx/barChart.d.ts +2 -3
- package/dist/cjs/icons/tsx/barChartBoxed.d.ts +2 -3
- package/dist/cjs/icons/tsx/block.d.ts +2 -3
- package/dist/cjs/icons/tsx/book.d.ts +2 -3
- package/dist/cjs/icons/tsx/build.d.ts +2 -3
- package/dist/cjs/icons/tsx/buildCircled.d.ts +2 -3
- package/dist/cjs/icons/tsx/calendar.d.ts +2 -3
- package/dist/cjs/icons/tsx/calendarMonth.d.ts +2 -3
- package/dist/cjs/icons/tsx/calendarViewDay.d.ts +2 -3
- package/dist/cjs/icons/tsx/calendarViewMonth.d.ts +2 -3
- package/dist/cjs/icons/tsx/calendarViewWeek.d.ts +2 -3
- package/dist/cjs/icons/tsx/call.d.ts +2 -3
- package/dist/cjs/icons/tsx/caring.d.ts +2 -0
- package/dist/cjs/icons/tsx/chat.d.ts +2 -3
- package/dist/cjs/icons/tsx/check.d.ts +2 -3
- package/dist/cjs/icons/tsx/checkCircled.d.ts +2 -3
- package/dist/cjs/icons/tsx/checklist.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronDown.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronFirst.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronLargeLeft.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronLargeRight.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronLast.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronLeft.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronRight.d.ts +2 -3
- package/dist/cjs/icons/tsx/chevronUp.d.ts +2 -3
- package/dist/cjs/icons/tsx/close.d.ts +2 -3
- package/dist/cjs/icons/tsx/closeCircled.d.ts +2 -3
- package/dist/cjs/icons/tsx/closeSmall.d.ts +2 -3
- package/dist/cjs/icons/tsx/cloud.d.ts +2 -3
- package/dist/cjs/icons/tsx/collapse.d.ts +2 -3
- package/dist/cjs/icons/tsx/comment.d.ts +2 -3
- package/dist/cjs/icons/tsx/copy.d.ts +2 -3
- package/dist/cjs/icons/tsx/court.d.ts +2 -3
- package/dist/cjs/icons/tsx/dateRange.d.ts +2 -3
- package/dist/cjs/icons/tsx/deaths.d.ts +2 -3
- package/dist/cjs/icons/tsx/doubleChevronLeft.d.ts +2 -3
- package/dist/cjs/icons/tsx/doubleChevronRight.d.ts +2 -3
- package/dist/cjs/icons/tsx/download.d.ts +2 -3
- package/dist/cjs/icons/tsx/downloadDone.d.ts +2 -3
- package/dist/cjs/icons/tsx/dragHandle.d.ts +2 -3
- package/dist/cjs/icons/tsx/edit.d.ts +2 -3
- package/dist/cjs/icons/tsx/error.d.ts +2 -3
- package/dist/cjs/icons/tsx/exclaim.d.ts +2 -3
- package/dist/cjs/icons/tsx/expand.d.ts +2 -3
- package/dist/cjs/icons/tsx/facebook.d.ts +2 -3
- package/dist/cjs/icons/tsx/family.d.ts +2 -3
- package/dist/cjs/icons/tsx/feedback.d.ts +2 -3
- package/dist/cjs/icons/tsx/file.d.ts +2 -3
- package/dist/cjs/icons/tsx/fileAdd.d.ts +2 -3
- package/dist/cjs/icons/tsx/fileText.d.ts +2 -3
- package/dist/cjs/icons/tsx/filter.d.ts +2 -3
- package/dist/cjs/icons/tsx/filterList.d.ts +2 -3
- package/dist/cjs/icons/tsx/filterListOff.d.ts +2 -3
- package/dist/cjs/icons/tsx/filterOff.d.ts +2 -3
- package/dist/cjs/icons/tsx/findInPage.d.ts +2 -3
- package/dist/cjs/icons/tsx/folder.d.ts +2 -3
- package/dist/cjs/icons/tsx/folderAdd.d.ts +2 -3
- package/dist/cjs/icons/tsx/fullsceenExit.d.ts +2 -3
- package/dist/cjs/icons/tsx/fullscreen.d.ts +2 -3
- package/dist/cjs/icons/tsx/gavel.d.ts +2 -3
- package/dist/cjs/icons/tsx/help.d.ts +2 -3
- package/dist/cjs/icons/tsx/helpFilled.d.ts +2 -3
- package/dist/cjs/icons/tsx/home.d.ts +2 -3
- package/dist/cjs/icons/tsx/hourglassBottom.d.ts +2 -3
- package/dist/cjs/icons/tsx/hourglassDisabled.d.ts +2 -3
- package/dist/cjs/icons/tsx/hourglassEmpty.d.ts +2 -3
- package/dist/cjs/icons/tsx/hourglassFull.d.ts +2 -3
- package/dist/cjs/icons/tsx/hourglassTop.d.ts +2 -3
- package/dist/cjs/icons/tsx/image.d.ts +2 -3
- package/dist/cjs/icons/tsx/index.d.ts +149 -146
- package/dist/cjs/icons/tsx/info.d.ts +2 -3
- package/dist/cjs/icons/tsx/instagram.d.ts +2 -3
- package/dist/cjs/icons/tsx/jordskifterett.d.ts +2 -3
- package/dist/cjs/icons/tsx/key.d.ts +2 -3
- package/dist/cjs/icons/tsx/lagmannsrett.d.ts +2 -3
- package/dist/cjs/icons/tsx/language.d.ts +2 -3
- package/dist/cjs/icons/tsx/libraryAdd.d.ts +2 -3
- package/dist/cjs/icons/tsx/lineChart.d.ts +2 -3
- package/dist/cjs/icons/tsx/link.d.ts +2 -3
- package/dist/cjs/icons/tsx/linkOff.d.ts +2 -3
- package/dist/cjs/icons/tsx/linkedIn.d.ts +2 -3
- package/dist/cjs/icons/tsx/list.d.ts +2 -3
- package/dist/cjs/icons/tsx/listAlt.d.ts +2 -3
- package/dist/cjs/icons/tsx/location.d.ts +2 -3
- package/dist/cjs/icons/tsx/lock.d.ts +2 -3
- package/dist/cjs/icons/tsx/lockOpen.d.ts +2 -3
- package/dist/cjs/icons/tsx/login.d.ts +2 -3
- package/dist/cjs/icons/tsx/logout.d.ts +2 -3
- package/dist/cjs/icons/tsx/mail.d.ts +2 -3
- package/dist/cjs/icons/tsx/mailOpen.d.ts +2 -3
- package/dist/cjs/icons/tsx/menu.d.ts +2 -3
- package/dist/cjs/icons/tsx/minus.d.ts +2 -3
- package/dist/cjs/icons/tsx/minusCircled.d.ts +2 -3
- package/dist/cjs/icons/tsx/moreHorizontal.d.ts +2 -3
- package/dist/cjs/icons/tsx/moreVertical.d.ts +2 -3
- package/dist/cjs/icons/tsx/notarial.d.ts +2 -3
- package/dist/cjs/icons/tsx/notifications.d.ts +2 -3
- package/dist/cjs/icons/tsx/notificationsOff.d.ts +2 -3
- package/dist/cjs/icons/tsx/onlineMeeting.d.ts +2 -3
- package/dist/cjs/icons/tsx/openExternal.d.ts +2 -3
- package/dist/cjs/icons/tsx/payout.d.ts +2 -0
- package/dist/cjs/icons/tsx/pdf.d.ts +2 -3
- package/dist/cjs/icons/tsx/person.d.ts +2 -3
- package/dist/cjs/icons/tsx/personAdd.d.ts +2 -3
- package/dist/cjs/icons/tsx/pin.d.ts +2 -3
- package/dist/cjs/icons/tsx/plus.d.ts +2 -3
- package/dist/cjs/icons/tsx/plusCircled.d.ts +2 -3
- package/dist/cjs/icons/tsx/print.d.ts +2 -3
- package/dist/cjs/icons/tsx/property.d.ts +2 -3
- package/dist/cjs/icons/tsx/publish.d.ts +2 -3
- package/dist/cjs/icons/tsx/questionAnswer.d.ts +2 -3
- package/dist/cjs/icons/tsx/receipt.d.ts +2 -3
- package/dist/cjs/icons/tsx/redo.d.ts +2 -3
- package/dist/cjs/icons/tsx/refresh.d.ts +2 -3
- package/dist/cjs/icons/tsx/replay.d.ts +2 -3
- package/dist/cjs/icons/tsx/search.d.ts +2 -3
- package/dist/cjs/icons/tsx/settings.d.ts +2 -3
- package/dist/cjs/icons/tsx/sms.d.ts +2 -3
- package/dist/cjs/icons/tsx/star.d.ts +2 -3
- package/dist/cjs/icons/tsx/starFilled.d.ts +2 -3
- package/dist/cjs/icons/tsx/starHalfFilled.d.ts +2 -3
- package/dist/cjs/icons/tsx/sync.d.ts +2 -3
- package/dist/cjs/icons/tsx/thumbdown.d.ts +2 -3
- package/dist/cjs/icons/tsx/thumbdownFilled.d.ts +2 -3
- package/dist/cjs/icons/tsx/thumbup.d.ts +2 -3
- package/dist/cjs/icons/tsx/thumbupFilled.d.ts +2 -3
- package/dist/cjs/icons/tsx/time.d.ts +2 -3
- package/dist/cjs/icons/tsx/tingrett.d.ts +2 -3
- package/dist/cjs/icons/tsx/tip.d.ts +2 -3
- package/dist/cjs/icons/tsx/trash.d.ts +2 -3
- package/dist/cjs/icons/tsx/trendingDown.d.ts +2 -3
- package/dist/cjs/icons/tsx/trendingUp.d.ts +2 -3
- package/dist/cjs/icons/tsx/twitter.d.ts +2 -3
- package/dist/cjs/icons/tsx/undo.d.ts +2 -3
- package/dist/cjs/icons/tsx/unfoldLess.d.ts +2 -3
- package/dist/cjs/icons/tsx/unfoldMore.d.ts +2 -3
- package/dist/cjs/icons/tsx/upload.d.ts +2 -3
- package/dist/cjs/icons/tsx/visibilityOff.d.ts +2 -3
- package/dist/cjs/icons/tsx/visibilityOn.d.ts +2 -3
- package/dist/cjs/icons/tsx/warning.d.ts +2 -3
- package/dist/cjs/icons/tsx/zoomIn.d.ts +2 -3
- package/dist/cjs/icons/tsx/zoomOut.d.ts +2 -3
- package/dist/cjs/icons/utils/StyledSvg.d.ts +4 -4
- package/dist/cjs/icons/utils/SvgWrapper.d.ts +2 -3
- package/dist/cjs/icons/utils/index.d.ts +2 -2
- package/dist/cjs/icons/utils/propTypes.d.ts +5 -5
- package/dist/cjs/index.d.ts +50 -50
- package/dist/cjs/index.js +604 -609
- package/dist/cjs/test/mocks/IntersectionObserver.d.ts +1 -1
- package/dist/cjs/test/mocks/ResizeObserver.d.ts +6 -6
- package/dist/cjs/types/BaseComponentProps.d.ts +58 -58
- package/dist/cjs/types/CheckboxPickedHTMLAttributes.d.ts +2 -2
- package/dist/cjs/types/Direction.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +4 -4
- package/dist/cjs/types/utils.d.ts +15 -15
- package/dist/cjs/utils/color.d.ts +30 -30
- package/dist/cjs/utils/combineHandlers.d.ts +1 -1
- package/dist/cjs/utils/getFocusableElements.d.ts +2 -2
- package/dist/cjs/utils/getScrollbarSize.d.ts +1 -1
- package/dist/cjs/utils/idGenerator.d.ts +2 -2
- package/dist/cjs/utils/index.d.ts +7 -7
- package/dist/cjs/utils/searchFilter.d.ts +2 -2
- package/dist/cjs/utils/text.d.ts +2 -2
- package/dist/components/BackLink/BackLink.d.ts +6 -6
- package/dist/components/BackLink/BackLink.js +12 -19
- package/dist/components/BackLink/BackLink.stories.d.ts +18 -17
- package/dist/components/BackLink/BackLink.tokens.d.ts +8 -8
- package/dist/components/BackLink/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/Breadcrumb.d.ts +3 -3
- package/dist/components/Breadcrumbs/Breadcrumb.js +12 -19
- package/dist/components/Breadcrumbs/Breadcrumb.tokens.d.ts +13 -13
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +4 -4
- package/dist/components/Breadcrumbs/Breadcrumbs.js +4 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -8
- package/dist/components/Breadcrumbs/index.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +21 -21
- package/dist/components/Button/Button.js +11 -14
- package/dist/components/Button/Button.stories.d.ts +64 -63
- package/dist/components/Button/Button.styles.d.ts +25 -25
- package/dist/components/Button/Button.tokens.d.ts +332 -332
- package/dist/components/Button/Button.types.d.ts +33 -33
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Card/Card.d.ts +26 -23
- package/dist/components/Card/Card.js +3 -4
- package/dist/components/Card/Card.stories.d.ts +15 -12
- package/dist/components/Card/Card.tokens.d.ts +27 -27
- package/dist/components/Card/CardAccordion/CardAccordion.d.ts +18 -18
- package/dist/components/Card/CardAccordion/CardAccordion.js +1 -0
- package/dist/components/Card/CardAccordion/CardAccordion.tokens.d.ts +28 -28
- package/dist/components/Card/CardAccordion/CardAccordionBody.d.ts +27 -27
- package/dist/components/Card/CardAccordion/CardAccordionBody.js +3 -4
- package/dist/components/Card/CardAccordion/CardAccordionHeader.d.ts +36 -36
- package/dist/components/Card/CardAccordion/CardAccordionHeader.js +5 -6
- package/dist/components/Card/CardAccordion/useElementHeight.d.ts +1 -1
- package/dist/components/Card/index.d.ts +4 -4
- package/dist/components/Checkbox/Checkbox.d.ts +10 -10
- package/dist/components/Checkbox/Checkbox.js +15 -11
- package/dist/components/Checkbox/Checkbox.stories.d.ts +50 -49
- package/dist/components/Checkbox/Checkbox.types.d.ts +15 -15
- package/dist/components/Checkbox/CheckboxGroup.d.ts +18 -16
- package/dist/components/Checkbox/CheckboxGroup.js +15 -12
- package/dist/components/Checkbox/CheckboxGroup.stories.d.ts +53 -50
- package/dist/components/Checkbox/CheckboxGroup.tokens.d.ts +13 -13
- package/dist/components/Checkbox/CheckboxGroupContext.d.ts +9 -9
- package/dist/components/Checkbox/index.d.ts +3 -3
- package/dist/components/Chip/Chip.d.ts +16 -16
- package/dist/components/Chip/Chip.js +2 -2
- package/dist/components/Chip/Chip.stories.d.ts +20 -19
- package/dist/components/Chip/Chip.tokens.d.ts +14 -14
- package/dist/components/Chip/ChipGroup.d.ts +3 -3
- package/dist/components/Chip/ChipGroup.js +2 -2
- package/dist/components/Chip/ChipGroup.stories.d.ts +8 -7
- package/dist/components/Chip/index.d.ts +2 -2
- package/dist/components/Datepicker/Datepicker.d.ts +12 -12
- package/dist/components/Datepicker/Datepicker.js +8 -4
- package/dist/components/Datepicker/Datepicker.stories.d.ts +53 -52
- package/dist/components/Datepicker/Datepicker.tokens.d.ts +27 -27
- package/dist/components/Datepicker/index.d.ts +1 -1
- package/dist/components/DescriptionList/DescriptionList.d.ts +23 -23
- package/dist/components/DescriptionList/DescriptionList.js +1 -0
- package/dist/components/DescriptionList/DescriptionList.stories.d.ts +19 -18
- package/dist/components/DescriptionList/DescriptionList.tokens.d.ts +37 -37
- package/dist/components/DescriptionList/DescriptionListDesc.d.ts +15 -15
- package/dist/components/DescriptionList/DescriptionListDesc.js +1 -0
- package/dist/components/DescriptionList/DescriptionListGroup.d.ts +23 -23
- package/dist/components/DescriptionList/DescriptionListGroup.js +1 -0
- package/dist/components/DescriptionList/DescriptionListTerm.d.ts +3 -3
- package/dist/components/DescriptionList/DescriptionListTerm.js +1 -0
- package/dist/components/DescriptionList/index.d.ts +4 -4
- package/dist/components/Divider/Divider.d.ts +13 -13
- package/dist/components/Divider/Divider.js +1 -0
- package/dist/components/Divider/Divider.stories.d.ts +15 -14
- package/dist/components/Divider/Divider.tokens.d.ts +13 -13
- package/dist/components/Divider/index.d.ts +1 -1
- package/dist/components/Drawer/Drawer.d.ts +50 -50
- package/dist/components/Drawer/Drawer.js +21 -17
- package/dist/components/Drawer/Drawer.stories.d.ts +24 -23
- package/dist/components/Drawer/Drawer.tokens.d.ts +9 -9
- package/dist/components/Drawer/DrawerGroup.d.ts +15 -12
- package/dist/components/Drawer/DrawerGroup.js +1 -0
- package/dist/components/Drawer/index.d.ts +2 -2
- package/dist/components/EmptyContent/EmptyContent.d.ts +9 -6
- package/dist/components/EmptyContent/EmptyContent.js +11 -19
- package/dist/components/EmptyContent/EmptyContent.stories.d.ts +16 -16
- package/dist/components/EmptyContent/index.d.ts +1 -1
- package/dist/components/FileUploader/ErrorList.d.ts +9 -10
- package/dist/components/FileUploader/File.d.ts +10 -11
- package/dist/components/FileUploader/FileUploader.d.ts +22 -20
- package/dist/components/FileUploader/FileUploader.js +15 -14
- package/dist/components/FileUploader/FileUploader.stories.d.ts +28 -25
- package/dist/components/FileUploader/FileUploader.tokens.d.ts +25 -25
- package/dist/components/FileUploader/fileUploaderReducer.d.ts +33 -33
- package/dist/components/FileUploader/index.d.ts +1 -1
- package/dist/components/FileUploader/types.d.ts +10 -10
- package/dist/components/FileUploader/useFileUploader.d.ts +33 -33
- package/dist/components/FileUploader/utils.d.ts +7 -7
- package/dist/components/GlobalMessage/GlobalMessage.d.ts +27 -27
- package/dist/components/GlobalMessage/GlobalMessage.js +13 -20
- package/dist/components/GlobalMessage/GlobalMessage.stories.d.ts +31 -30
- package/dist/components/GlobalMessage/GlobalMessage.tokens.d.ts +50 -50
- package/dist/components/GlobalMessage/index.d.ts +1 -1
- package/dist/components/Grid/Grid.context.d.ts +7 -7
- package/dist/components/Grid/Grid.d.ts +24 -21
- package/dist/components/Grid/Grid.js +6 -8
- package/dist/components/Grid/Grid.stories.d.ts +11 -8
- package/dist/components/Grid/Grid.tokens.d.ts +82 -82
- package/dist/components/Grid/GridChild.d.ts +22 -19
- package/dist/components/Grid/GridChild.js +2 -2
- package/dist/components/Grid/index.d.ts +2 -2
- package/dist/components/Icon/Icon.d.ts +17 -14
- package/dist/components/Icon/Icon.js +1 -0
- package/dist/components/Icon/Icon.stories.d.ts +21 -21
- package/dist/components/Icon/index.d.ts +1 -1
- package/dist/components/InlineEdit/InlineEdit.d.ts +5 -3
- package/dist/components/InlineEdit/InlineEdit.js +1 -0
- package/dist/components/InlineEdit/InlineEdit.stories.d.ts +34 -33
- package/dist/components/InlineEdit/InlineEdit.styles.d.ts +20 -20
- package/dist/components/InlineEdit/InlineEdit.tokens.d.ts +27 -27
- package/dist/components/InlineEdit/InlineEdit.types.d.ts +35 -35
- package/dist/components/InlineEdit/InlineEdit.utils.d.ts +1 -2
- package/dist/components/InlineEdit/InlineEdit.utils.js +3 -4
- package/dist/components/InlineEdit/InlineEditInput.d.ts +2 -2
- package/dist/components/InlineEdit/InlineEditInput.js +3 -4
- package/dist/components/InlineEdit/InlineEditInput.stories.d.ts +37 -36
- package/dist/components/InlineEdit/InlineEditTextArea.d.ts +2 -2
- package/dist/components/InlineEdit/InlineEditTextArea.js +3 -4
- package/dist/components/InlineEdit/InlineEditTextArea.stories.d.ts +37 -36
- package/dist/components/InlineEdit/InlineInput.d.ts +4 -4
- package/dist/components/InlineEdit/InlineInput.js +7 -8
- package/dist/components/InlineEdit/InlineTextArea.d.ts +4 -4
- package/dist/components/InlineEdit/InlineTextArea.js +7 -8
- package/dist/components/InlineEdit/index.d.ts +3 -3
- package/dist/components/InputMessage/InputMessage.d.ts +17 -17
- package/dist/components/InputMessage/InputMessage.js +10 -15
- package/dist/components/InputMessage/InputMessage.stories.d.ts +21 -20
- package/dist/components/InputMessage/InputMessage.tokens.d.ts +16 -16
- package/dist/components/InputMessage/index.d.ts +1 -1
- package/dist/components/InternalHeader/InternalHeader.d.ts +5 -3
- package/dist/components/InternalHeader/InternalHeader.js +19 -28
- package/dist/components/InternalHeader/InternalHeader.stories.d.ts +47 -44
- package/dist/components/InternalHeader/InternalHeader.styles.d.ts +31 -31
- package/dist/components/InternalHeader/InternalHeader.styles.js +1 -2
- package/dist/components/InternalHeader/InternalHeader.tokens.d.ts +47 -47
- package/dist/components/InternalHeader/InternalHeader.types.d.ts +36 -36
- package/dist/components/InternalHeader/InternalHeaderListItem.d.ts +3 -3
- package/dist/components/InternalHeader/NavigationItem.d.ts +14 -14
- package/dist/components/InternalHeader/NavigationItem.js +1 -2
- package/dist/components/InternalHeader/index.d.ts +2 -2
- package/dist/components/List/List.d.ts +21 -21
- package/dist/components/List/List.js +1 -0
- package/dist/components/List/List.stories.d.ts +18 -17
- package/dist/components/List/List.tokens.d.ts +24 -24
- package/dist/components/List/ListItem.d.ts +3 -3
- package/dist/components/List/ListItem.js +1 -0
- package/dist/components/List/index.d.ts +2 -2
- package/dist/components/LocalMessage/LocalMessage.d.ts +37 -37
- package/dist/components/LocalMessage/LocalMessage.js +10 -16
- package/dist/components/LocalMessage/LocalMessage.stories.d.ts +40 -39
- package/dist/components/LocalMessage/LocalMessage.tokens.d.ts +88 -88
- package/dist/components/LocalMessage/index.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts +30 -30
- package/dist/components/Modal/Modal.js +11 -7
- package/dist/components/Modal/Modal.stories.d.ts +28 -27
- package/dist/components/Modal/Modal.tokens.d.ts +12 -12
- package/dist/components/Modal/ModalActions.d.ts +3 -3
- package/dist/components/Modal/ModalActions.js +1 -0
- package/dist/components/Modal/ModalBody.d.ts +19 -19
- package/dist/components/Modal/ModalBody.js +4 -4
- package/dist/components/Modal/index.d.ts +3 -3
- package/dist/components/OverflowMenu/OverflowMenu.d.ts +24 -24
- package/dist/components/OverflowMenu/OverflowMenu.js +5 -6
- package/dist/components/OverflowMenu/OverflowMenu.stories.d.ts +27 -26
- package/dist/components/OverflowMenu/OverflowMenu.tokens.d.ts +34 -34
- package/dist/components/OverflowMenu/OverflowMenu.types.d.ts +37 -37
- package/dist/components/OverflowMenu/OverflowMenuGroup.d.ts +17 -14
- package/dist/components/OverflowMenu/OverflowMenuGroup.js +1 -0
- package/dist/components/OverflowMenu/OverflowMenuItem.d.ts +21 -21
- package/dist/components/OverflowMenu/OverflowMenuItem.js +5 -7
- package/dist/components/OverflowMenu/index.d.ts +3 -3
- package/dist/components/Pagination/Pagination.d.ts +52 -52
- package/dist/components/Pagination/Pagination.js +25 -37
- package/dist/components/Pagination/Pagination.stories.d.ts +48 -47
- package/dist/components/Pagination/Pagination.tokens.d.ts +14 -14
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/Pagination/paginationGenerator.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +60 -60
- package/dist/components/Popover/Popover.js +17 -14
- package/dist/components/Popover/Popover.stories.d.ts +55 -54
- package/dist/components/Popover/Popover.tokens.d.ts +17 -17
- package/dist/components/Popover/PopoverGroup.d.ts +17 -14
- package/dist/components/Popover/PopoverGroup.js +1 -0
- package/dist/components/Popover/index.d.ts +2 -2
- package/dist/components/ProgressTracker/ProgressTracker.context.d.ts +8 -8
- package/dist/components/ProgressTracker/ProgressTracker.d.ts +14 -14
- package/dist/components/ProgressTracker/ProgressTracker.js +4 -4
- package/dist/components/ProgressTracker/ProgressTracker.stories.d.ts +45 -41
- package/dist/components/ProgressTracker/ProgressTracker.tokens.d.ts +72 -72
- package/dist/components/ProgressTracker/ProgressTrackerItem.d.ts +27 -25
- package/dist/components/ProgressTracker/ProgressTrackerItem.js +9 -12
- package/dist/components/ProgressTracker/index.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +18 -18
- package/dist/components/RadioButton/RadioButton.js +13 -9
- package/dist/components/RadioButton/RadioButton.stories.d.ts +52 -51
- package/dist/components/RadioButton/RadioButton.types.d.ts +12 -12
- package/dist/components/RadioButton/RadioButtonGroup.d.ts +56 -56
- package/dist/components/RadioButton/RadioButtonGroup.js +17 -14
- package/dist/components/RadioButton/RadioButtonGroup.stories.d.ts +65 -64
- package/dist/components/RadioButton/RadioButtonGroupContext.d.ts +13 -13
- package/dist/components/RadioButton/index.d.ts +3 -3
- package/dist/components/ScrollableContainer/ScrollableContainer.d.ts +10 -8
- package/dist/components/ScrollableContainer/ScrollableContainer.js +4 -4
- package/dist/components/ScrollableContainer/ScrollableContainer.stories.d.ts +18 -15
- package/dist/components/ScrollableContainer/ScrollableContainer.tokens.d.ts +25 -25
- package/dist/components/ScrollableContainer/Scrollbar.d.ts +10 -7
- package/dist/components/ScrollableContainer/Scrollbar.js +1 -0
- package/dist/components/ScrollableContainer/index.d.ts +3 -3
- package/dist/components/ScrollableContainer/scrollbarStyling.d.ts +26 -26
- package/dist/components/ScrollableContainer/scrollbarStyling.js +2 -2
- package/dist/components/Search/AutocompleteSearch.context.d.ts +12 -12
- package/dist/components/Search/Search.d.ts +21 -21
- package/dist/components/Search/Search.js +11 -8
- package/dist/components/Search/Search.stories.d.ts +51 -47
- package/dist/components/Search/Search.tokens.d.ts +64 -64
- package/dist/components/Search/Search.utils.d.ts +9 -9
- package/dist/components/Search/Search.utils.js +6 -6
- package/dist/components/Search/SearchAutocompleteWrapper.d.ts +34 -31
- package/dist/components/Search/SearchAutocompleteWrapper.js +4 -4
- package/dist/components/Search/SearchSuggestions.d.ts +29 -29
- package/dist/components/Search/SearchSuggestions.js +17 -15
- package/dist/components/Search/index.d.ts +10 -10
- package/dist/components/Select/CustomSelect.stories.d.ts +66 -66
- package/dist/components/Select/MultiSelect.stories.d.ts +75 -74
- package/dist/components/Select/Select.d.ts +37 -37
- package/dist/components/Select/Select.js +12 -8
- package/dist/components/Select/Select.stories.d.ts +71 -70
- package/dist/components/Select/Select.styles.d.ts +18 -18
- package/dist/components/Select/Select.tokens.d.ts +143 -143
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/SkipToContent/SkipToContent.d.ts +21 -21
- package/dist/components/SkipToContent/SkipToContent.js +2 -2
- package/dist/components/SkipToContent/SkipToContent.stories.d.ts +33 -32
- package/dist/components/SkipToContent/SkipToContent.tokens.d.ts +14 -14
- package/dist/components/SkipToContent/index.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +15 -13
- package/dist/components/Spinner/Spinner.js +4 -4
- package/dist/components/Spinner/Spinner.stories.d.ts +26 -26
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.d.ts +16 -16
- package/dist/components/SplitButton/SplitButton.js +7 -8
- package/dist/components/SplitButton/SplitButton.stories.d.ts +10 -9
- package/dist/components/SplitButton/SplitButton.tokens.d.ts +7 -7
- package/dist/components/SplitButton/index.d.ts +1 -1
- package/dist/components/Stack/Stack.d.ts +39 -39
- package/dist/components/Stack/Stack.js +2 -0
- package/dist/components/Stack/Stack.stories.d.ts +13 -11
- package/dist/components/Stack/Stack.tokens.d.ts +20 -20
- package/dist/components/Stack/index.d.ts +1 -1
- package/dist/components/Table/Body.d.ts +3 -3
- package/dist/components/Table/Body.js +1 -0
- package/dist/components/Table/Cell.d.ts +15 -15
- package/dist/components/Table/Cell.js +1 -0
- package/dist/components/Table/Foot.d.ts +3 -3
- package/dist/components/Table/Foot.js +1 -0
- package/dist/components/Table/Head.d.ts +3 -3
- package/dist/components/Table/Head.js +1 -0
- package/dist/components/Table/Row.d.ts +7 -7
- package/dist/components/Table/Row.js +1 -0
- package/dist/components/Table/SortCell.d.ts +19 -19
- package/dist/components/Table/SortCell.js +4 -4
- package/dist/components/Table/Table.d.ts +7 -7
- package/dist/components/Table/Table.js +1 -0
- package/dist/components/Table/Table.stories.d.ts +56 -52
- package/dist/components/Table/Table.styles.d.ts +10 -10
- package/dist/components/Table/Table.tokens.d.ts +67 -67
- package/dist/components/Table/Table.types.d.ts +37 -37
- package/dist/components/Table/TableWrapper.d.ts +6 -3
- package/dist/components/Table/TableWrapper.js +1 -0
- package/dist/components/Table/collapsible/CollapsibleRow.d.ts +7 -7
- package/dist/components/Table/collapsible/CollapsibleRow.js +17 -22
- package/dist/components/Table/collapsible/CollapsibleTable.d.ts +10 -10
- package/dist/components/Table/collapsible/CollapsibleTable.js +4 -4
- package/dist/components/Table/collapsible/CollapsibleTable.stories.d.ts +49 -48
- package/dist/components/Table/collapsible/Table.context.d.ts +10 -10
- package/dist/components/Table/collapsible/Table.context.js +1 -1
- package/dist/components/Table/index.d.ts +28 -28
- package/dist/components/Table/tableData.d.ts +17 -17
- package/dist/components/Tabs/Tab.d.ts +31 -31
- package/dist/components/Tabs/Tab.js +1 -0
- package/dist/components/Tabs/TabList.d.ts +3 -3
- package/dist/components/Tabs/TabList.js +1 -0
- package/dist/components/Tabs/TabPanel.d.ts +14 -14
- package/dist/components/Tabs/TabPanel.js +1 -0
- package/dist/components/Tabs/TabPanels.d.ts +3 -3
- package/dist/components/Tabs/TabPanels.js +1 -0
- package/dist/components/Tabs/Tabs.context.d.ts +15 -15
- package/dist/components/Tabs/Tabs.d.ts +27 -27
- package/dist/components/Tabs/Tabs.js +5 -6
- package/dist/components/Tabs/Tabs.stories.d.ts +53 -11
- package/dist/components/Tabs/Tabs.tokens.d.ts +32 -32
- package/dist/components/Tabs/index.d.ts +5 -5
- package/dist/components/Tag/Tag.d.ts +17 -17
- package/dist/components/Tag/Tag.js +2 -2
- package/dist/components/Tag/Tag.stories.d.ts +19 -18
- package/dist/components/Tag/Tag.tokens.d.ts +31 -31
- package/dist/components/Tag/index.d.ts +1 -1
- package/dist/components/TextArea/TextArea.d.ts +10 -10
- package/dist/components/TextArea/TextArea.js +8 -4
- package/dist/components/TextArea/TextArea.stories.d.ts +52 -51
- package/dist/components/TextArea/TextArea.tokens.d.ts +5 -5
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/TextInput/CharCounter.d.ts +7 -8
- package/dist/components/TextInput/CharCounter.js +6 -13
- package/dist/components/TextInput/TextInput.d.ts +10 -10
- package/dist/components/TextInput/TextInput.js +14 -12
- package/dist/components/TextInput/TextInput.stories.d.ts +72 -71
- package/dist/components/TextInput/TextInput.styles.d.ts +17 -17
- package/dist/components/TextInput/TextInput.tokens.d.ts +37 -37
- package/dist/components/TextInput/TextInput.types.d.ts +21 -21
- package/dist/components/TextInput/index.d.ts +2 -2
- package/dist/components/ToggleBar/ToggleBar.context.d.ts +10 -10
- package/dist/components/ToggleBar/ToggleBar.d.ts +5 -3
- package/dist/components/ToggleBar/ToggleBar.js +13 -20
- package/dist/components/ToggleBar/ToggleBar.stories.d.ts +23 -20
- package/dist/components/ToggleBar/ToggleBar.tokens.d.ts +84 -84
- package/dist/components/ToggleBar/ToggleBar.types.d.ts +19 -19
- package/dist/components/ToggleBar/ToggleRadio.d.ts +19 -19
- package/dist/components/ToggleBar/ToggleRadio.js +15 -16
- package/dist/components/ToggleBar/ToggleRadio.styles.d.ts +11 -11
- package/dist/components/ToggleBar/index.d.ts +3 -3
- package/dist/components/ToggleButton/ToggleButton.d.ts +7 -7
- package/dist/components/ToggleButton/ToggleButton.js +4 -4
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +19 -18
- package/dist/components/ToggleButton/ToggleButton.tokens.d.ts +32 -32
- package/dist/components/ToggleButton/ToggleButton.types.d.ts +10 -10
- package/dist/components/ToggleButton/ToggleButtonGroup.d.ts +15 -13
- package/dist/components/ToggleButton/ToggleButtonGroup.js +9 -15
- package/dist/components/ToggleButton/ToggleButtonGroup.stories.d.ts +11 -8
- package/dist/components/ToggleButton/index.d.ts +3 -3
- package/dist/components/Tooltip/Tooltip.d.ts +32 -32
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Tooltip/Tooltip.stories.d.ts +35 -34
- package/dist/components/Tooltip/Tooltip.styles.d.ts +11 -11
- package/dist/components/Tooltip/Tooltip.tokens.d.ts +13 -13
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Typography/Caption/Caption.d.ts +11 -11
- package/dist/components/Typography/Caption/Caption.js +2 -2
- package/dist/components/Typography/Caption/Caption.stories.d.ts +29 -28
- package/dist/components/Typography/Caption/index.d.ts +1 -1
- package/dist/components/Typography/Heading/Heading.d.ts +22 -22
- package/dist/components/Typography/Heading/Heading.js +1 -0
- package/dist/components/Typography/Heading/Heading.stories.d.ts +38 -37
- package/dist/components/Typography/Heading/index.d.ts +1 -1
- package/dist/components/Typography/Label/Label.d.ts +17 -17
- package/dist/components/Typography/Label/Label.js +2 -2
- package/dist/components/Typography/Label/Label.stories.d.ts +33 -32
- package/dist/components/Typography/Label/index.d.ts +1 -1
- package/dist/components/Typography/Legend/Legend.d.ts +11 -11
- package/dist/components/Typography/Legend/Legend.js +2 -2
- package/dist/components/Typography/Legend/Legend.stories.d.ts +29 -28
- package/dist/components/Typography/Legend/index.d.ts +1 -1
- package/dist/components/Typography/Link/Link.d.ts +23 -23
- package/dist/components/Typography/Link/Link.js +1 -0
- package/dist/components/Typography/Link/Link.stories.d.ts +48 -47
- package/dist/components/Typography/Link/index.d.ts +1 -1
- package/dist/components/Typography/Paragraph/Paragraph.d.ts +17 -17
- package/dist/components/Typography/Paragraph/Paragraph.js +1 -0
- package/dist/components/Typography/Paragraph/Paragraph.stories.d.ts +37 -36
- package/dist/components/Typography/Paragraph/index.d.ts +1 -1
- package/dist/components/Typography/Typography/Typography.d.ts +25 -25
- package/dist/components/Typography/Typography/Typography.js +1 -0
- package/dist/components/Typography/Typography/Typography.stories.d.ts +64 -63
- package/dist/components/Typography/Typography/Typography.types.d.ts +36 -36
- package/dist/components/Typography/Typography/index.d.ts +2 -2
- package/dist/components/Typography/Typography.tokens.d.ts +448 -448
- package/dist/components/Typography/Typography.utils.d.ts +203 -203
- package/dist/components/Typography/index.d.ts +7 -7
- package/dist/components/Typography/stories/Examples.stories.d.ts +5 -5
- package/dist/components/Typography/stories/TypographyComponents.stories.d.ts +42 -42
- package/dist/components/Typography/stories/TypographyTypes.stories.d.ts +11 -10
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +14 -12
- package/dist/components/VisuallyHidden/VisuallyHidden.js +2 -2
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +19 -16
- package/dist/components/VisuallyHidden/index.d.ts +1 -1
- package/dist/helpers/Backdrop/Backdrop.d.ts +5 -5
- package/dist/helpers/Backdrop/Backdrop.utils.d.ts +2 -2
- package/dist/helpers/Backdrop/index.d.ts +2 -2
- package/dist/helpers/Chevron/AnimatedChevronUpDown.d.ts +8 -9
- package/dist/helpers/Chevron/AnimatedChevronUpDown.js +6 -8
- package/dist/helpers/Chevron/AnimatedChevronUpDown.styles.d.ts +7 -7
- package/dist/helpers/Chevron/index.d.ts +1 -1
- package/dist/helpers/HiddenInput/HiddenInput.d.ts +1 -1
- package/dist/helpers/HiddenInput/index.d.ts +1 -1
- package/dist/helpers/Input/Input.styles.d.ts +16 -16
- package/dist/helpers/Input/Input.tokens.d.ts +38 -38
- package/dist/helpers/Input/Input.types.d.ts +28 -28
- package/dist/helpers/Input/Input.utils.d.ts +5 -6
- package/dist/helpers/Input/index.d.ts +4 -4
- package/dist/helpers/Paper/Paper.d.ts +8 -8
- package/dist/helpers/Paper/Paper.tokens.d.ts +7 -7
- package/dist/helpers/Paper/index.d.ts +1 -1
- package/dist/helpers/RequiredMarker/RequiredMarker.d.ts +1 -2
- package/dist/helpers/RequiredMarker/index.d.ts +1 -1
- package/dist/helpers/ScreenSize/ScreenSize.utils.d.ts +7 -7
- package/dist/helpers/ScreenSize/index.d.ts +1 -1
- package/dist/helpers/SelectionControl/SelectionControl.styles.d.ts +20 -20
- package/dist/helpers/SelectionControl/SelectionControl.tokens.d.ts +94 -94
- package/dist/helpers/SelectionControl/SelectionControl.utils.d.ts +2 -2
- package/dist/helpers/SelectionControl/index.d.ts +3 -3
- package/dist/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +2 -2
- package/dist/helpers/TextOverflowEllipsis/index.d.ts +1 -1
- package/dist/helpers/index.d.ts +7 -7
- package/dist/helpers/styling/danger.d.ts +4 -4
- package/dist/helpers/styling/focus.d.ts +9 -9
- package/dist/helpers/styling/focusVisible.d.ts +37 -37
- package/dist/helpers/styling/hideInput.d.ts +7 -7
- package/dist/helpers/styling/hover.d.ts +12 -12
- package/dist/helpers/styling/index.d.ts +9 -9
- package/dist/helpers/styling/normalize.d.ts +5 -5
- package/dist/helpers/styling/removeButtonStyling.d.ts +9 -9
- package/dist/helpers/styling/removeListStyling.d.ts +5 -5
- package/dist/helpers/styling/selection.d.ts +4 -4
- package/dist/helpers/styling/visibilityTransition.d.ts +1 -1
- package/dist/hooks/index.d.ts +9 -9
- package/dist/hooks/useCombinedRefs.d.ts +20 -20
- package/dist/hooks/useCombinedRefs.js +17 -17
- package/dist/hooks/useFloatPosition.d.ts +48 -48
- package/dist/hooks/useFocusTrap.d.ts +16 -16
- package/dist/hooks/useFocusTrap.js +13 -13
- package/dist/hooks/useIsMounted.d.ts +2 -2
- package/dist/hooks/useMountTransition.d.ts +33 -33
- package/dist/hooks/useMountTransition.js +31 -31
- package/dist/hooks/useOnClickOutside.d.ts +14 -14
- package/dist/hooks/useOnClickOutside.js +12 -12
- package/dist/hooks/useOnKeyDown.d.ts +14 -14
- package/dist/hooks/useOnKeyDown.js +12 -12
- package/dist/hooks/useReturnFocusOnBlur.d.ts +31 -31
- package/dist/hooks/useReturnFocusOnBlur.js +28 -28
- package/dist/hooks/useRoveFocus.d.ts +28 -28
- package/dist/hooks/useRoveFocus.js +23 -23
- package/dist/hooks/useScreenSize.d.ts +20 -20
- package/dist/hooks/useScreenSize.js +11 -11
- package/dist/icons/icons.stories.d.ts +5 -5
- package/dist/icons/tsx/agreement.d.ts +2 -0
- package/dist/icons/tsx/agreement.js +12 -0
- package/dist/icons/tsx/apps.d.ts +2 -3
- package/dist/icons/tsx/archive.d.ts +2 -3
- package/dist/icons/tsx/arrowDown.d.ts +2 -3
- package/dist/icons/tsx/arrowLeft.d.ts +2 -3
- package/dist/icons/tsx/arrowRight.d.ts +2 -3
- package/dist/icons/tsx/arrowUp.d.ts +2 -3
- package/dist/icons/tsx/attachment.d.ts +2 -3
- package/dist/icons/tsx/barChart.d.ts +2 -3
- package/dist/icons/tsx/barChartBoxed.d.ts +2 -3
- package/dist/icons/tsx/block.d.ts +2 -3
- package/dist/icons/tsx/book.d.ts +2 -3
- package/dist/icons/tsx/build.d.ts +2 -3
- package/dist/icons/tsx/buildCircled.d.ts +2 -3
- package/dist/icons/tsx/calendar.d.ts +2 -3
- package/dist/icons/tsx/calendarMonth.d.ts +2 -3
- package/dist/icons/tsx/calendarViewDay.d.ts +2 -3
- package/dist/icons/tsx/calendarViewMonth.d.ts +2 -3
- package/dist/icons/tsx/calendarViewWeek.d.ts +2 -3
- package/dist/icons/tsx/call.d.ts +2 -3
- package/dist/icons/tsx/caring.d.ts +2 -0
- package/dist/icons/tsx/caring.js +12 -0
- package/dist/icons/tsx/chat.d.ts +2 -3
- package/dist/icons/tsx/check.d.ts +2 -3
- package/dist/icons/tsx/checkCircled.d.ts +2 -3
- package/dist/icons/tsx/checklist.d.ts +2 -3
- package/dist/icons/tsx/chevronDown.d.ts +2 -3
- package/dist/icons/tsx/chevronFirst.d.ts +2 -3
- package/dist/icons/tsx/chevronLargeLeft.d.ts +2 -3
- package/dist/icons/tsx/chevronLargeRight.d.ts +2 -3
- package/dist/icons/tsx/chevronLast.d.ts +2 -3
- package/dist/icons/tsx/chevronLeft.d.ts +2 -3
- package/dist/icons/tsx/chevronRight.d.ts +2 -3
- package/dist/icons/tsx/chevronUp.d.ts +2 -3
- package/dist/icons/tsx/close.d.ts +2 -3
- package/dist/icons/tsx/closeCircled.d.ts +2 -3
- package/dist/icons/tsx/closeSmall.d.ts +2 -3
- package/dist/icons/tsx/cloud.d.ts +2 -3
- package/dist/icons/tsx/collapse.d.ts +2 -3
- package/dist/icons/tsx/comment.d.ts +2 -3
- package/dist/icons/tsx/copy.d.ts +2 -3
- package/dist/icons/tsx/court.d.ts +2 -3
- package/dist/icons/tsx/dateRange.d.ts +2 -3
- package/dist/icons/tsx/deaths.d.ts +2 -3
- package/dist/icons/tsx/doubleChevronLeft.d.ts +2 -3
- package/dist/icons/tsx/doubleChevronRight.d.ts +2 -3
- package/dist/icons/tsx/download.d.ts +2 -3
- package/dist/icons/tsx/downloadDone.d.ts +2 -3
- package/dist/icons/tsx/dragHandle.d.ts +2 -3
- package/dist/icons/tsx/edit.d.ts +2 -3
- package/dist/icons/tsx/error.d.ts +2 -3
- package/dist/icons/tsx/exclaim.d.ts +2 -3
- package/dist/icons/tsx/expand.d.ts +2 -3
- package/dist/icons/tsx/facebook.d.ts +2 -3
- package/dist/icons/tsx/family.d.ts +2 -3
- package/dist/icons/tsx/feedback.d.ts +2 -3
- package/dist/icons/tsx/file.d.ts +2 -3
- package/dist/icons/tsx/fileAdd.d.ts +2 -3
- package/dist/icons/tsx/fileText.d.ts +2 -3
- package/dist/icons/tsx/filter.d.ts +2 -3
- package/dist/icons/tsx/filterList.d.ts +2 -3
- package/dist/icons/tsx/filterListOff.d.ts +2 -3
- package/dist/icons/tsx/filterOff.d.ts +2 -3
- package/dist/icons/tsx/findInPage.d.ts +2 -3
- package/dist/icons/tsx/folder.d.ts +2 -3
- package/dist/icons/tsx/folderAdd.d.ts +2 -3
- package/dist/icons/tsx/fullsceenExit.d.ts +2 -3
- package/dist/icons/tsx/fullscreen.d.ts +2 -3
- package/dist/icons/tsx/gavel.d.ts +2 -3
- package/dist/icons/tsx/help.d.ts +2 -3
- package/dist/icons/tsx/helpFilled.d.ts +2 -3
- package/dist/icons/tsx/home.d.ts +2 -3
- package/dist/icons/tsx/hourglassBottom.d.ts +2 -3
- package/dist/icons/tsx/hourglassDisabled.d.ts +2 -3
- package/dist/icons/tsx/hourglassEmpty.d.ts +2 -3
- package/dist/icons/tsx/hourglassFull.d.ts +2 -3
- package/dist/icons/tsx/hourglassTop.d.ts +2 -3
- package/dist/icons/tsx/image.d.ts +2 -3
- package/dist/icons/tsx/index.d.ts +149 -146
- package/dist/icons/tsx/info.d.ts +2 -3
- package/dist/icons/tsx/instagram.d.ts +2 -3
- package/dist/icons/tsx/jordskifterett.d.ts +2 -3
- package/dist/icons/tsx/jordskifterett.js +1 -2
- package/dist/icons/tsx/key.d.ts +2 -3
- package/dist/icons/tsx/lagmannsrett.d.ts +2 -3
- package/dist/icons/tsx/language.d.ts +2 -3
- package/dist/icons/tsx/libraryAdd.d.ts +2 -3
- package/dist/icons/tsx/lineChart.d.ts +2 -3
- package/dist/icons/tsx/link.d.ts +2 -3
- package/dist/icons/tsx/linkOff.d.ts +2 -3
- package/dist/icons/tsx/linkedIn.d.ts +2 -3
- package/dist/icons/tsx/list.d.ts +2 -3
- package/dist/icons/tsx/listAlt.d.ts +2 -3
- package/dist/icons/tsx/location.d.ts +2 -3
- package/dist/icons/tsx/lock.d.ts +2 -3
- package/dist/icons/tsx/lockOpen.d.ts +2 -3
- package/dist/icons/tsx/login.d.ts +2 -3
- package/dist/icons/tsx/logout.d.ts +2 -3
- package/dist/icons/tsx/mail.d.ts +2 -3
- package/dist/icons/tsx/mailOpen.d.ts +2 -3
- package/dist/icons/tsx/menu.d.ts +2 -3
- package/dist/icons/tsx/minus.d.ts +2 -3
- package/dist/icons/tsx/minusCircled.d.ts +2 -3
- package/dist/icons/tsx/moreHorizontal.d.ts +2 -3
- package/dist/icons/tsx/moreVertical.d.ts +2 -3
- package/dist/icons/tsx/notarial.d.ts +2 -3
- package/dist/icons/tsx/notifications.d.ts +2 -3
- package/dist/icons/tsx/notificationsOff.d.ts +2 -3
- package/dist/icons/tsx/onlineMeeting.d.ts +2 -3
- package/dist/icons/tsx/openExternal.d.ts +2 -3
- package/dist/icons/tsx/payout.d.ts +2 -0
- package/dist/icons/tsx/payout.js +12 -0
- package/dist/icons/tsx/pdf.d.ts +2 -3
- package/dist/icons/tsx/person.d.ts +2 -3
- package/dist/icons/tsx/personAdd.d.ts +2 -3
- package/dist/icons/tsx/pin.d.ts +2 -3
- package/dist/icons/tsx/plus.d.ts +2 -3
- package/dist/icons/tsx/plusCircled.d.ts +2 -3
- package/dist/icons/tsx/print.d.ts +2 -3
- package/dist/icons/tsx/property.d.ts +2 -3
- package/dist/icons/tsx/publish.d.ts +2 -3
- package/dist/icons/tsx/questionAnswer.d.ts +2 -3
- package/dist/icons/tsx/receipt.d.ts +2 -3
- package/dist/icons/tsx/redo.d.ts +2 -3
- package/dist/icons/tsx/refresh.d.ts +2 -3
- package/dist/icons/tsx/replay.d.ts +2 -3
- package/dist/icons/tsx/search.d.ts +2 -3
- package/dist/icons/tsx/settings.d.ts +2 -3
- package/dist/icons/tsx/sms.d.ts +2 -3
- package/dist/icons/tsx/star.d.ts +2 -3
- package/dist/icons/tsx/starFilled.d.ts +2 -3
- package/dist/icons/tsx/starHalfFilled.d.ts +2 -3
- package/dist/icons/tsx/sync.d.ts +2 -3
- package/dist/icons/tsx/thumbdown.d.ts +2 -3
- package/dist/icons/tsx/thumbdownFilled.d.ts +2 -3
- package/dist/icons/tsx/thumbup.d.ts +2 -3
- package/dist/icons/tsx/thumbupFilled.d.ts +2 -3
- package/dist/icons/tsx/time.d.ts +2 -3
- package/dist/icons/tsx/tingrett.d.ts +2 -3
- package/dist/icons/tsx/tip.d.ts +2 -3
- package/dist/icons/tsx/trash.d.ts +2 -3
- package/dist/icons/tsx/trendingDown.d.ts +2 -3
- package/dist/icons/tsx/trendingUp.d.ts +2 -3
- package/dist/icons/tsx/twitter.d.ts +2 -3
- package/dist/icons/tsx/undo.d.ts +2 -3
- package/dist/icons/tsx/unfoldLess.d.ts +2 -3
- package/dist/icons/tsx/unfoldMore.d.ts +2 -3
- package/dist/icons/tsx/upload.d.ts +2 -3
- package/dist/icons/tsx/visibilityOff.d.ts +2 -3
- package/dist/icons/tsx/visibilityOn.d.ts +2 -3
- package/dist/icons/tsx/warning.d.ts +2 -3
- package/dist/icons/tsx/zoomIn.d.ts +2 -3
- package/dist/icons/tsx/zoomOut.d.ts +2 -3
- package/dist/icons/utils/StyledSvg.d.ts +4 -4
- package/dist/icons/utils/SvgWrapper.d.ts +2 -3
- package/dist/icons/utils/index.d.ts +2 -2
- package/dist/icons/utils/propTypes.d.ts +5 -5
- package/dist/index.d.ts +50 -50
- package/dist/index.js +3 -0
- package/dist/styles/selection.css +1 -1
- package/dist/test/mocks/IntersectionObserver.d.ts +1 -1
- package/dist/test/mocks/ResizeObserver.d.ts +6 -6
- package/dist/types/BaseComponentProps.d.ts +58 -58
- package/dist/types/BaseComponentProps.js +28 -28
- package/dist/types/CheckboxPickedHTMLAttributes.d.ts +2 -2
- package/dist/types/Direction.d.ts +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/utils.d.ts +15 -15
- package/dist/utils/color.d.ts +30 -30
- package/dist/utils/combineHandlers.d.ts +1 -1
- package/dist/utils/getFocusableElements.d.ts +2 -2
- package/dist/utils/getScrollbarSize.d.ts +1 -1
- package/dist/utils/idGenerator.d.ts +2 -2
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/searchFilter.d.ts +2 -2
- package/dist/utils/text.d.ts +2 -2
- package/package.json +27 -38
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare class ResizeObserver {
|
|
2
|
-
observe(): void;
|
|
3
|
-
unobserve(): void;
|
|
4
|
-
disconnect(): void;
|
|
5
|
-
}
|
|
6
|
-
export default ResizeObserver;
|
|
1
|
+
declare class ResizeObserver {
|
|
2
|
+
observe(): void;
|
|
3
|
+
unobserve(): void;
|
|
4
|
+
disconnect(): void;
|
|
5
|
+
}
|
|
6
|
+
export default ResizeObserver;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Basetype for props som eksponeres til konsumenter av designsystemet.
|
|
4
|
-
* Lager en intersection-type med props som sendes inn og `id` og `htmlProps`
|
|
5
|
-
* slik at man kan ha `HTMLAttributes`-props på komponenter som eksponeres
|
|
6
|
-
* av designsystemet. Se også {@link BaseComponentPropsWithChildren} og
|
|
7
|
-
* {@link getBaseHTMLProps}.
|
|
8
|
-
*
|
|
9
|
-
* @template TElement Element-type som genereres av komponenten.
|
|
10
|
-
* @template TOtherProps Andre props komponenten skal eksponere til konsumenter.
|
|
11
|
-
* @template THTMLAttributesProps Standard `HTMLAttributes<T>` men kan overstyres for f.eks knapper hvis man trenger en annen basetype for `htmlProps`.
|
|
12
|
-
*/
|
|
13
|
-
export type BaseComponentProps<TElement extends Element, TOtherProps extends Record<string, unknown> = Record<string, unknown>, THTMLAttributesProps extends HTMLAttributes<TElement> = HTMLAttributes<TElement>> = Pick<THTMLAttributesProps, 'id' | 'className'> & TOtherProps & {
|
|
14
|
-
/**Ekstra HTML-attributter som vil settes på elementet som genereres. Untatt `id` og `className` som settes på toppnivå. */
|
|
15
|
-
htmlProps?: THTMLAttributesProps;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Utvidelese av {@link BaseComponentProps} med prop for `children`.
|
|
19
|
-
*
|
|
20
|
-
* {@link BaseComponentProps}
|
|
21
|
-
*/
|
|
22
|
-
export type BaseComponentPropsWithChildren<T extends Element, TProps extends Record<string, unknown> = Record<string, unknown>, THTMLProps extends HTMLAttributes<T> = HTMLAttributes<T>> = BaseComponentProps<T, PropsWithChildren<TProps>, THTMLProps>;
|
|
23
|
-
export declare const joinClassNames: (...classNames: (string | undefined)[]) => string;
|
|
24
|
-
type GetBaseHTMLProps = {
|
|
25
|
-
<T extends Element>(id: HTMLAttributes<T>['id'], className: HTMLAttributes<T>['className'], htmlProps: HTMLAttributes<T> | undefined, unknownProps: object): HTMLAttributes<T> & object;
|
|
26
|
-
<T extends Element>(id: HTMLAttributes<T>['id'], htmlProps: HTMLAttributes<T> | undefined, unknownProps: object): HTMLAttributes<T> & object;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Slår sammen id, className, htmlProps og unknownProps til ett objekt
|
|
30
|
-
* som kan spreades som baseprops for en komponent. `unknownProps` er
|
|
31
|
-
* med for å sikre at aria- og data- attributter blir spreadet, alle
|
|
32
|
-
* komponenter må derfor ta hensyn til `...rest` når de leser props.
|
|
33
|
-
*
|
|
34
|
-
* Typisk bruk:
|
|
35
|
-
* ```
|
|
36
|
-
* const Props = BaseComponentProps<HTMLElement, {
|
|
37
|
-
* propA: string,
|
|
38
|
-
* propB: string,
|
|
39
|
-
* }>
|
|
40
|
-
*
|
|
41
|
-
* const MyComponent = (props: Props) => {
|
|
42
|
-
* const { propA, propB, id, className, htmlProps, ...rest } = props;
|
|
43
|
-
*
|
|
44
|
-
* const wrapperProps = getBaseHTMLProps(id, className, htmlProps, rest)
|
|
45
|
-
*
|
|
46
|
-
* return <div {...wrapperProps}>innhold</div>
|
|
47
|
-
* }
|
|
48
|
-
* ```
|
|
49
|
-
* @param id id fra props til komponenten.
|
|
50
|
-
* @param className className for komponenten.
|
|
51
|
-
* @param htmlProps htmlProps fra komponenten.
|
|
52
|
-
* @param unknownProps andre ukjente props som skal spreades, kommer typisk fra `...rest` når man leser props til komponenten.
|
|
53
|
-
* @returns Objekt med alle argumentene som kan spreades.
|
|
54
|
-
*
|
|
55
|
-
* Kan også kalles uten `className`-parameteret. Oppførselen er lik.
|
|
56
|
-
*/
|
|
57
|
-
export declare const getBaseHTMLProps: GetBaseHTMLProps;
|
|
58
|
-
export {};
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Basetype for props som eksponeres til konsumenter av designsystemet.
|
|
4
|
+
* Lager en intersection-type med props som sendes inn og `id` og `htmlProps`
|
|
5
|
+
* slik at man kan ha `HTMLAttributes`-props på komponenter som eksponeres
|
|
6
|
+
* av designsystemet. Se også {@link BaseComponentPropsWithChildren} og
|
|
7
|
+
* {@link getBaseHTMLProps}.
|
|
8
|
+
*
|
|
9
|
+
* @template TElement Element-type som genereres av komponenten.
|
|
10
|
+
* @template TOtherProps Andre props komponenten skal eksponere til konsumenter.
|
|
11
|
+
* @template THTMLAttributesProps Standard `HTMLAttributes<T>` men kan overstyres for f.eks knapper hvis man trenger en annen basetype for `htmlProps`.
|
|
12
|
+
*/
|
|
13
|
+
export type BaseComponentProps<TElement extends Element, TOtherProps extends Record<string, unknown> = Record<string, unknown>, THTMLAttributesProps extends HTMLAttributes<TElement> = HTMLAttributes<TElement>> = Pick<THTMLAttributesProps, 'id' | 'className'> & TOtherProps & {
|
|
14
|
+
/**Ekstra HTML-attributter som vil settes på elementet som genereres. Untatt `id` og `className` som settes på toppnivå. */
|
|
15
|
+
htmlProps?: THTMLAttributesProps;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Utvidelese av {@link BaseComponentProps} med prop for `children`.
|
|
19
|
+
*
|
|
20
|
+
* {@link BaseComponentProps}
|
|
21
|
+
*/
|
|
22
|
+
export type BaseComponentPropsWithChildren<T extends Element, TProps extends Record<string, unknown> = Record<string, unknown>, THTMLProps extends HTMLAttributes<T> = HTMLAttributes<T>> = BaseComponentProps<T, PropsWithChildren<TProps>, THTMLProps>;
|
|
23
|
+
export declare const joinClassNames: (...classNames: (string | undefined)[]) => string;
|
|
24
|
+
type GetBaseHTMLProps = {
|
|
25
|
+
<T extends Element>(id: HTMLAttributes<T>['id'], className: HTMLAttributes<T>['className'], htmlProps: HTMLAttributes<T> | undefined, unknownProps: object): HTMLAttributes<T> & object;
|
|
26
|
+
<T extends Element>(id: HTMLAttributes<T>['id'], htmlProps: HTMLAttributes<T> | undefined, unknownProps: object): HTMLAttributes<T> & object;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Slår sammen id, className, htmlProps og unknownProps til ett objekt
|
|
30
|
+
* som kan spreades som baseprops for en komponent. `unknownProps` er
|
|
31
|
+
* med for å sikre at aria- og data- attributter blir spreadet, alle
|
|
32
|
+
* komponenter må derfor ta hensyn til `...rest` når de leser props.
|
|
33
|
+
*
|
|
34
|
+
* Typisk bruk:
|
|
35
|
+
* ```
|
|
36
|
+
* const Props = BaseComponentProps<HTMLElement, {
|
|
37
|
+
* propA: string,
|
|
38
|
+
* propB: string,
|
|
39
|
+
* }>
|
|
40
|
+
*
|
|
41
|
+
* const MyComponent = (props: Props) => {
|
|
42
|
+
* const { propA, propB, id, className, htmlProps, ...rest } = props;
|
|
43
|
+
*
|
|
44
|
+
* const wrapperProps = getBaseHTMLProps(id, className, htmlProps, rest)
|
|
45
|
+
*
|
|
46
|
+
* return <div {...wrapperProps}>innhold</div>
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
* @param id id fra props til komponenten.
|
|
50
|
+
* @param className className for komponenten.
|
|
51
|
+
* @param htmlProps htmlProps fra komponenten.
|
|
52
|
+
* @param unknownProps andre ukjente props som skal spreades, kommer typisk fra `...rest` når man leser props til komponenten.
|
|
53
|
+
* @returns Objekt med alle argumentene som kan spreades.
|
|
54
|
+
*
|
|
55
|
+
* Kan også kalles uten `className`-parameteret. Oppførselen er lik.
|
|
56
|
+
*/
|
|
57
|
+
export declare const getBaseHTMLProps: GetBaseHTMLProps;
|
|
58
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
export type CheckboxPickedHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'name' | 'checked' | 'defaultChecked' | 'value' | 'defaultValue' | 'onChange' | 'onBlur'>;
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export type CheckboxPickedHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'name' | 'checked' | 'defaultChecked' | 'value' | 'defaultValue' | 'onChange' | 'onBlur'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Direction = 'row' | 'column';
|
|
1
|
+
export type Direction = 'row' | 'column';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './Direction';
|
|
2
|
-
export * from './BaseComponentProps';
|
|
3
|
-
export * from './CheckboxPickedHTMLAttributes';
|
|
4
|
-
export * from './utils';
|
|
1
|
+
export * from './Direction';
|
|
2
|
+
export * from './BaseComponentProps';
|
|
3
|
+
export * from './CheckboxPickedHTMLAttributes';
|
|
4
|
+
export * from './utils';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gir tilbake `T` med properties fra `K` som påkrevd gitt at `Condition` er `true`
|
|
3
|
-
*
|
|
4
|
-
* @template Condition
|
|
5
|
-
* @template T
|
|
6
|
-
* @template K
|
|
7
|
-
*/
|
|
8
|
-
export type WithRequiredIf<Condition extends boolean, T, K extends keyof T> = Omit<T, K> & Pick<true extends Condition ? Required<T> : T, K>;
|
|
9
|
-
/**
|
|
10
|
-
* Gir tilbake typer fra `T` som matcher `U`
|
|
11
|
-
*
|
|
12
|
-
* @template T en union type
|
|
13
|
-
* @template U delmengde av `T`
|
|
14
|
-
*/
|
|
15
|
-
export type ExtractStrict<T, U extends T> = U;
|
|
1
|
+
/**
|
|
2
|
+
* Gir tilbake `T` med properties fra `K` som påkrevd gitt at `Condition` er `true`
|
|
3
|
+
*
|
|
4
|
+
* @template Condition
|
|
5
|
+
* @template T
|
|
6
|
+
* @template K
|
|
7
|
+
*/
|
|
8
|
+
export type WithRequiredIf<Condition extends boolean, T, K extends keyof T> = Omit<T, K> & Pick<true extends Condition ? Required<T> : T, K>;
|
|
9
|
+
/**
|
|
10
|
+
* Gir tilbake typer fra `T` som matcher `U`
|
|
11
|
+
*
|
|
12
|
+
* @template T en union type
|
|
13
|
+
* @template U delmengde av `T`
|
|
14
|
+
*/
|
|
15
|
+
export type ExtractStrict<T, U extends T> = U;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Property } from 'csstype';
|
|
2
|
-
export type ColorAlphaFormat = 'hex8' | 'decimal';
|
|
3
|
-
export declare const convertAlpha: (value: number | string, typeFrom: ColorAlphaFormat, typeTo: ColorAlphaFormat) => string | number | undefined;
|
|
4
|
-
export declare const hexToRGBA: (hex: string) => string;
|
|
5
|
-
export declare const addAlphaToRGB: (rgb: string, alpha: number | string) => string;
|
|
6
|
-
export declare const RGBToHex: (value: string) => string;
|
|
7
|
-
export declare const changeRGBAAlpha: (value: string, alpha: number) => string;
|
|
8
|
-
export declare const textColors: {
|
|
9
|
-
interactive: string;
|
|
10
|
-
primary: string;
|
|
11
|
-
danger: string;
|
|
12
|
-
success: string;
|
|
13
|
-
warning: string;
|
|
14
|
-
onLight: string;
|
|
15
|
-
onDark: string;
|
|
16
|
-
gray1: string;
|
|
17
|
-
gray2: string;
|
|
18
|
-
gray3: string;
|
|
19
|
-
gray4: string;
|
|
20
|
-
gray5: string;
|
|
21
|
-
gray6: string;
|
|
22
|
-
gray7: string;
|
|
23
|
-
gray8: string;
|
|
24
|
-
gray9: string;
|
|
25
|
-
};
|
|
26
|
-
export type DDSTextColor = 'interactive' | 'primary' | 'danger' | 'warning' | 'success' | 'onLight' | 'onDark' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'gray6' | 'gray7' | 'gray8' | 'gray9';
|
|
27
|
-
export declare const textColorsArray: string[];
|
|
28
|
-
export type TextColor = DDSTextColor | Property.Color;
|
|
29
|
-
export declare function isTextColor(color: string): color is DDSTextColor;
|
|
30
|
-
export declare const getTextColor: (color: TextColor) => TextColor;
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
export type ColorAlphaFormat = 'hex8' | 'decimal';
|
|
3
|
+
export declare const convertAlpha: (value: number | string, typeFrom: ColorAlphaFormat, typeTo: ColorAlphaFormat) => string | number | undefined;
|
|
4
|
+
export declare const hexToRGBA: (hex: string) => string;
|
|
5
|
+
export declare const addAlphaToRGB: (rgb: string, alpha: number | string) => string;
|
|
6
|
+
export declare const RGBToHex: (value: string) => string;
|
|
7
|
+
export declare const changeRGBAAlpha: (value: string, alpha: number) => string;
|
|
8
|
+
export declare const textColors: {
|
|
9
|
+
interactive: string;
|
|
10
|
+
primary: string;
|
|
11
|
+
danger: string;
|
|
12
|
+
success: string;
|
|
13
|
+
warning: string;
|
|
14
|
+
onLight: string;
|
|
15
|
+
onDark: string;
|
|
16
|
+
gray1: string;
|
|
17
|
+
gray2: string;
|
|
18
|
+
gray3: string;
|
|
19
|
+
gray4: string;
|
|
20
|
+
gray5: string;
|
|
21
|
+
gray6: string;
|
|
22
|
+
gray7: string;
|
|
23
|
+
gray8: string;
|
|
24
|
+
gray9: string;
|
|
25
|
+
};
|
|
26
|
+
export type DDSTextColor = 'interactive' | 'primary' | 'danger' | 'warning' | 'success' | 'onLight' | 'onDark' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'gray6' | 'gray7' | 'gray8' | 'gray9';
|
|
27
|
+
export declare const textColorsArray: string[];
|
|
28
|
+
export type TextColor = DDSTextColor | Property.Color;
|
|
29
|
+
export declare function isTextColor(color: string): color is DDSTextColor;
|
|
30
|
+
export declare const getTextColor: (color: TextColor) => TextColor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const combineHandlers: <T>(handler1?: Callback<T> | undefined, handler2?: Callback<T> | undefined) => Callback<T>;
|
|
1
|
+
export declare const combineHandlers: <T>(handler1?: Callback<T> | undefined, handler2?: Callback<T> | undefined) => Callback<T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
export declare function getFocusableElements<T extends HTMLElement>(elementRef: RefObject<T>): NodeListOf<HTMLElement> | [];
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export declare function getFocusableElements<T extends HTMLElement>(elementRef: RefObject<T>): NodeListOf<HTMLElement> | [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getScrollbarSize(document: Document): number;
|
|
1
|
+
export declare function getScrollbarSize(document: Document): number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const derivativeIdGenerator: (prefix: string, suffix: string) => string;
|
|
2
|
-
export declare const spaceSeparatedIdListGenerator: (values: (string | undefined)[]) => string | undefined;
|
|
1
|
+
export declare const derivativeIdGenerator: (prefix: string, suffix: string) => string;
|
|
2
|
+
export declare const spaceSeparatedIdListGenerator: (values: (string | undefined)[]) => string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './combineHandlers';
|
|
2
|
-
export * from './idGenerator';
|
|
3
|
-
export * from './getScrollbarSize';
|
|
4
|
-
export * from './text';
|
|
5
|
-
export * from './color';
|
|
6
|
-
export * from './getFocusableElements';
|
|
7
|
-
export * from './searchFilter';
|
|
1
|
+
export * from './combineHandlers';
|
|
2
|
+
export * from './idGenerator';
|
|
3
|
+
export * from './getScrollbarSize';
|
|
4
|
+
export * from './text';
|
|
5
|
+
export * from './color';
|
|
6
|
+
export * from './getFocusableElements';
|
|
7
|
+
export * from './searchFilter';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function escapeRegexCharacters(text: string): string;
|
|
2
|
-
export declare function searchFilter(text: string, query: string): boolean;
|
|
1
|
+
export declare function escapeRegexCharacters(text: string): string;
|
|
2
|
+
export declare function searchFilter(text: string, query: string): boolean;
|
package/dist/cjs/utils/text.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const calculateHeightWithLineHeight: (lineHeight: number, fontSize: number) => number;
|
|
2
|
-
export declare const firstLetterToUpperCase: (text: string) => string;
|
|
1
|
+
export declare const calculateHeightWithLineHeight: (lineHeight: number, fontSize: number) => number;
|
|
2
|
+
export declare const firstLetterToUpperCase: (text: string) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type BackLinkProps = {
|
|
3
|
-
label: string;
|
|
4
|
-
href: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const BackLink: import("react").ForwardRefExoticComponent<BackLinkProps & import("react").RefAttributes<HTMLElement>>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type BackLinkProps = {
|
|
3
|
+
label: string;
|
|
4
|
+
href: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const BackLink: import("react").ForwardRefExoticComponent<BackLinkProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -6,18 +6,12 @@ import 'tslib';
|
|
|
6
6
|
import '../../icons/utils/StyledSvg.js';
|
|
7
7
|
import { ArrowLeftIcon } from '../../icons/tsx/arrowLeft.js';
|
|
8
8
|
import { Typography } from '../Typography/Typography/Typography.js';
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
11
|
-
import '
|
|
12
|
-
import '../../helpers/Input/Input.styles.js';
|
|
13
|
-
import '../../helpers/Input/Input.tokens.js';
|
|
14
|
-
import '../InputMessage/InputMessage.js';
|
|
15
|
-
import '../../helpers/Paper/Paper.js';
|
|
16
|
-
import '../../helpers/RequiredMarker/RequiredMarker.js';
|
|
17
|
-
import '../../hooks/useFloatPosition.js';
|
|
18
|
-
import '../../utils/color.js';
|
|
19
|
-
import '../../hooks/useScreenSize.js';
|
|
9
|
+
import '../Typography/Label/Label.js';
|
|
10
|
+
import '../Typography/Paragraph/Paragraph.js';
|
|
11
|
+
import '../Typography/Heading/Heading.js';
|
|
20
12
|
import '../Typography/Link/Link.js';
|
|
13
|
+
import '../Typography/Legend/Legend.js';
|
|
14
|
+
import '../Typography/Caption/Caption.js';
|
|
21
15
|
import { backLinkTokens } from './BackLink.tokens.js';
|
|
22
16
|
|
|
23
17
|
var Nav = styled('nav').withConfig({
|
|
@@ -29,19 +23,18 @@ var StyledIcon = styled(Icon).withConfig({
|
|
|
29
23
|
componentId: "sc-lzrkx8-1"
|
|
30
24
|
})(["color:", ";"], backLinkTokens.icon.color);
|
|
31
25
|
var BackLink = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
32
|
-
return jsxs(Nav,
|
|
33
|
-
ref: ref
|
|
34
|
-
}, {
|
|
26
|
+
return jsxs(Nav, {
|
|
27
|
+
ref: ref,
|
|
35
28
|
children: [jsx(StyledIcon, {
|
|
36
29
|
icon: ArrowLeftIcon,
|
|
37
30
|
iconSize: "small"
|
|
38
|
-
}), jsx(Typography,
|
|
31
|
+
}), jsx(Typography, {
|
|
39
32
|
typographyType: "a",
|
|
40
|
-
href: props.href
|
|
41
|
-
}, {
|
|
33
|
+
href: props.href,
|
|
42
34
|
children: props.label
|
|
43
|
-
})
|
|
44
|
-
})
|
|
35
|
+
})]
|
|
36
|
+
});
|
|
45
37
|
});
|
|
38
|
+
BackLink.displayName = 'BackLink';
|
|
46
39
|
|
|
47
40
|
export { BackLink };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BackLinkProps } from '.';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<BackLinkProps & import("react").RefAttributes<HTMLElement>>;
|
|
6
|
+
argTypes: {
|
|
7
|
+
label: {
|
|
8
|
+
control: string;
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
};
|
|
11
|
+
href: {
|
|
12
|
+
control: string;
|
|
13
|
+
defaultValue: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
export declare const Default: (args: BackLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const backLinkTokens: {
|
|
2
|
-
icon: {
|
|
3
|
-
color: string;
|
|
4
|
-
};
|
|
5
|
-
nav: {
|
|
6
|
-
gap: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
export declare const backLinkTokens: {
|
|
2
|
+
icon: {
|
|
3
|
+
color: string;
|
|
4
|
+
};
|
|
5
|
+
nav: {
|
|
6
|
+
gap: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './BackLink';
|
|
1
|
+
export * from './BackLink';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnchorHTMLAttributes, HTMLAttributes } from 'react';
|
|
2
|
-
export type BreadcrumbProps = HTMLAttributes<HTMLSpanElement> | AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
3
|
-
export declare const Breadcrumb: import("react").ForwardRefExoticComponent<BreadcrumbProps & import("react").RefAttributes<HTMLElement>>;
|
|
1
|
+
import { AnchorHTMLAttributes, HTMLAttributes } from 'react';
|
|
2
|
+
export type BreadcrumbProps = HTMLAttributes<HTMLSpanElement> | AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
3
|
+
export declare const Breadcrumb: import("react").ForwardRefExoticComponent<BreadcrumbProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -2,18 +2,12 @@ import { __rest } from 'tslib';
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { Typography } from '../Typography/Typography/Typography.js';
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '../../helpers/Input/Input.styles.js';
|
|
9
|
-
import '../../helpers/Input/Input.tokens.js';
|
|
10
|
-
import '../InputMessage/InputMessage.js';
|
|
11
|
-
import '../../helpers/Paper/Paper.js';
|
|
12
|
-
import '../../helpers/RequiredMarker/RequiredMarker.js';
|
|
13
|
-
import '../../hooks/useFloatPosition.js';
|
|
14
|
-
import '../../utils/color.js';
|
|
15
|
-
import '../../hooks/useScreenSize.js';
|
|
5
|
+
import '../Typography/Label/Label.js';
|
|
6
|
+
import '../Typography/Paragraph/Paragraph.js';
|
|
7
|
+
import '../Typography/Heading/Heading.js';
|
|
16
8
|
import '../Typography/Link/Link.js';
|
|
9
|
+
import '../Typography/Legend/Legend.js';
|
|
10
|
+
import '../Typography/Caption/Caption.js';
|
|
17
11
|
|
|
18
12
|
var isAnchorTypographyProps = function isAnchorTypographyProps(props) {
|
|
19
13
|
return props.href != undefined;
|
|
@@ -22,22 +16,21 @@ var Breadcrumb = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
22
16
|
var children = props.children,
|
|
23
17
|
rest = __rest(props, ["children"]);
|
|
24
18
|
if (isAnchorTypographyProps(props)) {
|
|
25
|
-
return jsx(Typography,
|
|
19
|
+
return jsx(Typography, {
|
|
26
20
|
htmlProps: rest,
|
|
27
21
|
ref: ref,
|
|
28
|
-
typographyType: "a"
|
|
29
|
-
}, {
|
|
22
|
+
typographyType: "a",
|
|
30
23
|
children: children
|
|
31
|
-
})
|
|
24
|
+
});
|
|
32
25
|
}
|
|
33
|
-
return jsx(Typography,
|
|
26
|
+
return jsx(Typography, {
|
|
34
27
|
htmlProps: rest,
|
|
35
28
|
ref: ref,
|
|
36
29
|
as: "span",
|
|
37
|
-
color: "interactive"
|
|
38
|
-
}, {
|
|
30
|
+
color: "interactive",
|
|
39
31
|
children: children
|
|
40
|
-
})
|
|
32
|
+
});
|
|
41
33
|
});
|
|
34
|
+
Breadcrumb.displayName = 'Breadcrumb';
|
|
42
35
|
|
|
43
36
|
export { Breadcrumb };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { StaticTypographyType } from '../Typography';
|
|
2
|
-
export declare const typographyType: StaticTypographyType;
|
|
3
|
-
export declare const breadcrumbTokens: {
|
|
4
|
-
list: {
|
|
5
|
-
gap: string;
|
|
6
|
-
};
|
|
7
|
-
listItem: {
|
|
8
|
-
gap: string;
|
|
9
|
-
};
|
|
10
|
-
icon: {
|
|
11
|
-
color: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
1
|
+
import { StaticTypographyType } from '../Typography';
|
|
2
|
+
export declare const typographyType: StaticTypographyType;
|
|
3
|
+
export declare const breadcrumbTokens: {
|
|
4
|
+
list: {
|
|
5
|
+
gap: string;
|
|
6
|
+
};
|
|
7
|
+
listItem: {
|
|
8
|
+
gap: string;
|
|
9
|
+
};
|
|
10
|
+
icon: {
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseComponentPropsWithChildren } from '../../types';
|
|
3
|
-
export type BreadcrumbsProps = BaseComponentPropsWithChildren<HTMLElement>;
|
|
4
|
-
export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseComponentPropsWithChildren } from '../../types';
|
|
3
|
+
export type BreadcrumbsProps = BaseComponentPropsWithChildren<HTMLElement>;
|
|
4
|
+
export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Omit<BreadcrumbsProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -17,10 +17,12 @@ var List = styled.ol.withConfig({
|
|
|
17
17
|
displayName: "Breadcrumbs__List",
|
|
18
18
|
componentId: "sc-xdj21o-0"
|
|
19
19
|
})(["", " display:flex;flex-wrap:wrap;align-items:center;gap:", ";"], removeListStyling, list.gap);
|
|
20
|
+
List.displayName = 'List';
|
|
20
21
|
var ListItem = styled.li.withConfig({
|
|
21
22
|
displayName: "Breadcrumbs__ListItem",
|
|
22
23
|
componentId: "sc-xdj21o-1"
|
|
23
24
|
})(["align-items:center;display:flex;gap:", ";", ""], listItem.gap, getFontStyling(typographyType));
|
|
25
|
+
ListItem.displayName = 'ListItem';
|
|
24
26
|
var StyledIcon = styled(Icon).withConfig({
|
|
25
27
|
displayName: "Breadcrumbs__StyledIcon",
|
|
26
28
|
componentId: "sc-xdj21o-2"
|
|
@@ -41,12 +43,12 @@ var Breadcrumbs = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
41
43
|
});
|
|
42
44
|
return jsx("nav", Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
|
|
43
45
|
ref: ref,
|
|
44
|
-
"aria-label": "br\xF8dsmulesti"
|
|
45
|
-
}, {
|
|
46
|
+
"aria-label": "br\xF8dsmulesti",
|
|
46
47
|
children: jsx(List, {
|
|
47
48
|
children: breadcrumbChildren
|
|
48
49
|
})
|
|
49
50
|
}));
|
|
50
51
|
});
|
|
52
|
+
Breadcrumbs.displayName = 'Breadcrumbs';
|
|
51
53
|
|
|
52
54
|
export { Breadcrumbs };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Default: (args: BreadcrumbsProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BreadcrumbsProps } from '.';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<Omit<BreadcrumbsProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: (args: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Breadcrumb';
|
|
2
|
-
export * from './Breadcrumbs';
|
|
1
|
+
export * from './Breadcrumb';
|
|
2
|
+
export * from './Breadcrumbs';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Button: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "onFocus" | "onBlur" | "type">, "id" | "className"> & {
|
|
3
|
-
size?: import("./Button.types").ButtonSize | undefined;
|
|
4
|
-
label?: string | undefined;
|
|
5
|
-
purpose?: import("./Button.types").ButtonPurpose | undefined;
|
|
6
|
-
iconPosition?: import("./Button.types").IconPosition | undefined;
|
|
7
|
-
appearance?: import("./Button.types").ButtonAppearance | undefined;
|
|
8
|
-
loading?: boolean | undefined;
|
|
9
|
-
loadingTooltip?: string | undefined;
|
|
10
|
-
icon?: import("../../icons/utils").SvgIcon | undefined;
|
|
11
|
-
fullWidth?: boolean | undefined;
|
|
12
|
-
href?: string | undefined;
|
|
13
|
-
target?: string | undefined;
|
|
14
|
-
} & {
|
|
15
|
-
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
16
|
-
onFocus?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
17
|
-
onBlur?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
18
|
-
type?: "button" | "submit" | "reset" | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
htmlProps?: Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "onFocus" | "onBlur" | "type"> | undefined;
|
|
21
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Button: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "onFocus" | "onBlur" | "type">, "id" | "className"> & {
|
|
3
|
+
size?: import("./Button.types").ButtonSize | undefined;
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
purpose?: import("./Button.types").ButtonPurpose | undefined;
|
|
6
|
+
iconPosition?: import("./Button.types").IconPosition | undefined;
|
|
7
|
+
appearance?: import("./Button.types").ButtonAppearance | undefined;
|
|
8
|
+
loading?: boolean | undefined;
|
|
9
|
+
loadingTooltip?: string | undefined;
|
|
10
|
+
icon?: import("../../icons/utils").SvgIcon | undefined;
|
|
11
|
+
fullWidth?: boolean | undefined;
|
|
12
|
+
href?: string | undefined;
|
|
13
|
+
target?: string | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
16
|
+
onFocus?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
17
|
+
onBlur?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
18
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
htmlProps?: Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "onFocus" | "onBlur" | "type"> | undefined;
|
|
21
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|