@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,203 +1,203 @@
|
|
|
1
|
-
import { ElementType } from 'react';
|
|
2
|
-
import { TypographyType, TypographyHeadingType, InlineElement, TypographyInteractionStyling, StaticTypographyType, TypographyBodyType } from './Typography/Typography.types';
|
|
3
|
-
export declare const defaultTypographyType: TypographyBodyType;
|
|
4
|
-
export declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean) => {
|
|
5
|
-
lineHeight: any;
|
|
6
|
-
fontSize: string;
|
|
7
|
-
letterSpacing: any;
|
|
8
|
-
fontFamily: any;
|
|
9
|
-
fontWeight: any;
|
|
10
|
-
fontStyle: any;
|
|
11
|
-
color: string | undefined;
|
|
12
|
-
} | {
|
|
13
|
-
lineHeight: any;
|
|
14
|
-
fontSize: string;
|
|
15
|
-
letterSpacing: any;
|
|
16
|
-
fontFamily: any;
|
|
17
|
-
fontWeight: any;
|
|
18
|
-
fontStyle: any;
|
|
19
|
-
color: string | undefined;
|
|
20
|
-
} | {
|
|
21
|
-
lineHeight: any;
|
|
22
|
-
fontSize: string;
|
|
23
|
-
letterSpacing: any;
|
|
24
|
-
fontFamily: any;
|
|
25
|
-
fontWeight: any;
|
|
26
|
-
fontStyle: any;
|
|
27
|
-
color: string | undefined;
|
|
28
|
-
} | {
|
|
29
|
-
lineHeight: any;
|
|
30
|
-
fontSize: string;
|
|
31
|
-
letterSpacing: any;
|
|
32
|
-
fontFamily: any;
|
|
33
|
-
fontWeight: any;
|
|
34
|
-
fontStyle: any;
|
|
35
|
-
color: string | undefined;
|
|
36
|
-
} | {
|
|
37
|
-
lineHeight: any;
|
|
38
|
-
fontSize: string;
|
|
39
|
-
letterSpacing: any;
|
|
40
|
-
fontFamily: any;
|
|
41
|
-
fontWeight: any;
|
|
42
|
-
fontStyle: any;
|
|
43
|
-
color: string | undefined;
|
|
44
|
-
} | {
|
|
45
|
-
lineHeight: any;
|
|
46
|
-
fontSize: string;
|
|
47
|
-
letterSpacing: any;
|
|
48
|
-
fontFamily: any;
|
|
49
|
-
fontWeight: any;
|
|
50
|
-
fontStyle: any;
|
|
51
|
-
color: string | undefined;
|
|
52
|
-
} | {
|
|
53
|
-
lineHeight: any;
|
|
54
|
-
fontSize: string;
|
|
55
|
-
letterSpacing: any;
|
|
56
|
-
fontFamily: any;
|
|
57
|
-
fontWeight: any;
|
|
58
|
-
fontStyle: any;
|
|
59
|
-
color: string | undefined;
|
|
60
|
-
} | {
|
|
61
|
-
lineHeight: any;
|
|
62
|
-
fontSize: string;
|
|
63
|
-
letterSpacing: any;
|
|
64
|
-
fontFamily: any;
|
|
65
|
-
fontWeight: any;
|
|
66
|
-
fontStyle: any;
|
|
67
|
-
color: string | undefined;
|
|
68
|
-
} | {
|
|
69
|
-
lineHeight: any;
|
|
70
|
-
fontSize: string;
|
|
71
|
-
letterSpacing: any;
|
|
72
|
-
fontFamily: any;
|
|
73
|
-
fontWeight: any;
|
|
74
|
-
fontStyle: any;
|
|
75
|
-
color: string | undefined;
|
|
76
|
-
} | {
|
|
77
|
-
lineHeight: any;
|
|
78
|
-
fontSize: string;
|
|
79
|
-
letterSpacing: any;
|
|
80
|
-
fontFamily: any;
|
|
81
|
-
fontWeight: any;
|
|
82
|
-
fontStyle: any;
|
|
83
|
-
color: string | undefined;
|
|
84
|
-
} | {
|
|
85
|
-
lineHeight: any;
|
|
86
|
-
fontSize: string;
|
|
87
|
-
letterSpacing: any;
|
|
88
|
-
fontFamily: any;
|
|
89
|
-
fontWeight: any;
|
|
90
|
-
fontStyle: any;
|
|
91
|
-
color: string | undefined;
|
|
92
|
-
} | {
|
|
93
|
-
lineHeight: any;
|
|
94
|
-
fontSize: string;
|
|
95
|
-
letterSpacing: any;
|
|
96
|
-
fontFamily: any;
|
|
97
|
-
fontWeight: any;
|
|
98
|
-
fontStyle: any;
|
|
99
|
-
color: string | undefined;
|
|
100
|
-
} | {
|
|
101
|
-
lineHeight: any;
|
|
102
|
-
fontSize: string;
|
|
103
|
-
letterSpacing: any;
|
|
104
|
-
fontFamily: any;
|
|
105
|
-
fontWeight: any;
|
|
106
|
-
fontStyle: any;
|
|
107
|
-
color: string | undefined;
|
|
108
|
-
} | {
|
|
109
|
-
lineHeight: any;
|
|
110
|
-
fontSize: string;
|
|
111
|
-
letterSpacing: any;
|
|
112
|
-
fontFamily: any;
|
|
113
|
-
fontWeight: any;
|
|
114
|
-
fontStyle: any;
|
|
115
|
-
color: string | undefined;
|
|
116
|
-
} | {
|
|
117
|
-
lineHeight: any;
|
|
118
|
-
fontSize: string;
|
|
119
|
-
letterSpacing: any;
|
|
120
|
-
fontFamily: any;
|
|
121
|
-
fontWeight: any;
|
|
122
|
-
fontStyle: any;
|
|
123
|
-
color: string | undefined;
|
|
124
|
-
} | {
|
|
125
|
-
lineHeight: any;
|
|
126
|
-
fontSize: string;
|
|
127
|
-
letterSpacing: any;
|
|
128
|
-
fontFamily: any;
|
|
129
|
-
fontWeight: any;
|
|
130
|
-
fontStyle: any;
|
|
131
|
-
color: string | undefined;
|
|
132
|
-
} | {
|
|
133
|
-
lineHeight: any;
|
|
134
|
-
fontSize: string;
|
|
135
|
-
letterSpacing: any;
|
|
136
|
-
fontFamily: any;
|
|
137
|
-
fontWeight: any;
|
|
138
|
-
fontStyle: any;
|
|
139
|
-
color: string | undefined;
|
|
140
|
-
} | {
|
|
141
|
-
lineHeight: any;
|
|
142
|
-
fontSize: string;
|
|
143
|
-
letterSpacing: any;
|
|
144
|
-
fontFamily: any;
|
|
145
|
-
fontWeight: any;
|
|
146
|
-
fontStyle: any;
|
|
147
|
-
color: string | undefined;
|
|
148
|
-
} | {
|
|
149
|
-
lineHeight: any;
|
|
150
|
-
fontSize: string;
|
|
151
|
-
letterSpacing: any;
|
|
152
|
-
fontFamily: any;
|
|
153
|
-
fontWeight: any;
|
|
154
|
-
fontStyle: any;
|
|
155
|
-
color: string | undefined;
|
|
156
|
-
} | {
|
|
157
|
-
lineHeight: any;
|
|
158
|
-
fontSize: string;
|
|
159
|
-
letterSpacing: any;
|
|
160
|
-
fontFamily: any;
|
|
161
|
-
fontWeight: any;
|
|
162
|
-
fontStyle: any;
|
|
163
|
-
color: string | undefined;
|
|
164
|
-
} | {
|
|
165
|
-
lineHeight: any;
|
|
166
|
-
fontSize: string;
|
|
167
|
-
letterSpacing: any;
|
|
168
|
-
fontFamily: any;
|
|
169
|
-
fontWeight: any;
|
|
170
|
-
fontStyle: any;
|
|
171
|
-
color: string | undefined;
|
|
172
|
-
} | {
|
|
173
|
-
lineHeight: any;
|
|
174
|
-
fontSize: string;
|
|
175
|
-
letterSpacing: any;
|
|
176
|
-
fontFamily: any;
|
|
177
|
-
fontWeight: any;
|
|
178
|
-
fontStyle: any;
|
|
179
|
-
color: string | undefined;
|
|
180
|
-
} | {
|
|
181
|
-
lineHeight: any;
|
|
182
|
-
fontSize: string;
|
|
183
|
-
letterSpacing: any;
|
|
184
|
-
fontFamily: any;
|
|
185
|
-
fontWeight: any;
|
|
186
|
-
fontStyle: any;
|
|
187
|
-
color: string | undefined;
|
|
188
|
-
} | {
|
|
189
|
-
lineHeight: any;
|
|
190
|
-
fontSize: string;
|
|
191
|
-
letterSpacing: any;
|
|
192
|
-
fontFamily: any;
|
|
193
|
-
fontWeight: any;
|
|
194
|
-
fontStyle: any;
|
|
195
|
-
color: string | undefined;
|
|
196
|
-
};
|
|
197
|
-
export declare const getElementType: (element: string) => ElementType;
|
|
198
|
-
export declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
|
|
199
|
-
export declare const inlineElements: ElementType[];
|
|
200
|
-
export declare const isInlineElement: (as: ElementType) => as is InlineElement;
|
|
201
|
-
export declare const getAdditionalFontStyle: (bold?: boolean, italic?: boolean, underline?: boolean) => import("styled-components").FlattenSimpleInterpolation;
|
|
202
|
-
export declare const getMarginStyling: (typographyType: TypographyType, element: ElementType, withMargins?: boolean) => import("styled-components").FlattenSimpleInterpolation;
|
|
203
|
-
export declare const getAnchorStyling: (external?: boolean, interactionStyling?: TypographyInteractionStyling, typographyType?: StaticTypographyType, withMargins?: boolean) => import("styled-components").FlattenSimpleInterpolation;
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { TypographyType, TypographyHeadingType, InlineElement, TypographyInteractionStyling, StaticTypographyType, TypographyBodyType } from './Typography/Typography.types';
|
|
3
|
+
export declare const defaultTypographyType: TypographyBodyType;
|
|
4
|
+
export declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean) => {
|
|
5
|
+
lineHeight: any;
|
|
6
|
+
fontSize: string;
|
|
7
|
+
letterSpacing: any;
|
|
8
|
+
fontFamily: any;
|
|
9
|
+
fontWeight: any;
|
|
10
|
+
fontStyle: any;
|
|
11
|
+
color: string | undefined;
|
|
12
|
+
} | {
|
|
13
|
+
lineHeight: any;
|
|
14
|
+
fontSize: string;
|
|
15
|
+
letterSpacing: any;
|
|
16
|
+
fontFamily: any;
|
|
17
|
+
fontWeight: any;
|
|
18
|
+
fontStyle: any;
|
|
19
|
+
color: string | undefined;
|
|
20
|
+
} | {
|
|
21
|
+
lineHeight: any;
|
|
22
|
+
fontSize: string;
|
|
23
|
+
letterSpacing: any;
|
|
24
|
+
fontFamily: any;
|
|
25
|
+
fontWeight: any;
|
|
26
|
+
fontStyle: any;
|
|
27
|
+
color: string | undefined;
|
|
28
|
+
} | {
|
|
29
|
+
lineHeight: any;
|
|
30
|
+
fontSize: string;
|
|
31
|
+
letterSpacing: any;
|
|
32
|
+
fontFamily: any;
|
|
33
|
+
fontWeight: any;
|
|
34
|
+
fontStyle: any;
|
|
35
|
+
color: string | undefined;
|
|
36
|
+
} | {
|
|
37
|
+
lineHeight: any;
|
|
38
|
+
fontSize: string;
|
|
39
|
+
letterSpacing: any;
|
|
40
|
+
fontFamily: any;
|
|
41
|
+
fontWeight: any;
|
|
42
|
+
fontStyle: any;
|
|
43
|
+
color: string | undefined;
|
|
44
|
+
} | {
|
|
45
|
+
lineHeight: any;
|
|
46
|
+
fontSize: string;
|
|
47
|
+
letterSpacing: any;
|
|
48
|
+
fontFamily: any;
|
|
49
|
+
fontWeight: any;
|
|
50
|
+
fontStyle: any;
|
|
51
|
+
color: string | undefined;
|
|
52
|
+
} | {
|
|
53
|
+
lineHeight: any;
|
|
54
|
+
fontSize: string;
|
|
55
|
+
letterSpacing: any;
|
|
56
|
+
fontFamily: any;
|
|
57
|
+
fontWeight: any;
|
|
58
|
+
fontStyle: any;
|
|
59
|
+
color: string | undefined;
|
|
60
|
+
} | {
|
|
61
|
+
lineHeight: any;
|
|
62
|
+
fontSize: string;
|
|
63
|
+
letterSpacing: any;
|
|
64
|
+
fontFamily: any;
|
|
65
|
+
fontWeight: any;
|
|
66
|
+
fontStyle: any;
|
|
67
|
+
color: string | undefined;
|
|
68
|
+
} | {
|
|
69
|
+
lineHeight: any;
|
|
70
|
+
fontSize: string;
|
|
71
|
+
letterSpacing: any;
|
|
72
|
+
fontFamily: any;
|
|
73
|
+
fontWeight: any;
|
|
74
|
+
fontStyle: any;
|
|
75
|
+
color: string | undefined;
|
|
76
|
+
} | {
|
|
77
|
+
lineHeight: any;
|
|
78
|
+
fontSize: string;
|
|
79
|
+
letterSpacing: any;
|
|
80
|
+
fontFamily: any;
|
|
81
|
+
fontWeight: any;
|
|
82
|
+
fontStyle: any;
|
|
83
|
+
color: string | undefined;
|
|
84
|
+
} | {
|
|
85
|
+
lineHeight: any;
|
|
86
|
+
fontSize: string;
|
|
87
|
+
letterSpacing: any;
|
|
88
|
+
fontFamily: any;
|
|
89
|
+
fontWeight: any;
|
|
90
|
+
fontStyle: any;
|
|
91
|
+
color: string | undefined;
|
|
92
|
+
} | {
|
|
93
|
+
lineHeight: any;
|
|
94
|
+
fontSize: string;
|
|
95
|
+
letterSpacing: any;
|
|
96
|
+
fontFamily: any;
|
|
97
|
+
fontWeight: any;
|
|
98
|
+
fontStyle: any;
|
|
99
|
+
color: string | undefined;
|
|
100
|
+
} | {
|
|
101
|
+
lineHeight: any;
|
|
102
|
+
fontSize: string;
|
|
103
|
+
letterSpacing: any;
|
|
104
|
+
fontFamily: any;
|
|
105
|
+
fontWeight: any;
|
|
106
|
+
fontStyle: any;
|
|
107
|
+
color: string | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
lineHeight: any;
|
|
110
|
+
fontSize: string;
|
|
111
|
+
letterSpacing: any;
|
|
112
|
+
fontFamily: any;
|
|
113
|
+
fontWeight: any;
|
|
114
|
+
fontStyle: any;
|
|
115
|
+
color: string | undefined;
|
|
116
|
+
} | {
|
|
117
|
+
lineHeight: any;
|
|
118
|
+
fontSize: string;
|
|
119
|
+
letterSpacing: any;
|
|
120
|
+
fontFamily: any;
|
|
121
|
+
fontWeight: any;
|
|
122
|
+
fontStyle: any;
|
|
123
|
+
color: string | undefined;
|
|
124
|
+
} | {
|
|
125
|
+
lineHeight: any;
|
|
126
|
+
fontSize: string;
|
|
127
|
+
letterSpacing: any;
|
|
128
|
+
fontFamily: any;
|
|
129
|
+
fontWeight: any;
|
|
130
|
+
fontStyle: any;
|
|
131
|
+
color: string | undefined;
|
|
132
|
+
} | {
|
|
133
|
+
lineHeight: any;
|
|
134
|
+
fontSize: string;
|
|
135
|
+
letterSpacing: any;
|
|
136
|
+
fontFamily: any;
|
|
137
|
+
fontWeight: any;
|
|
138
|
+
fontStyle: any;
|
|
139
|
+
color: string | undefined;
|
|
140
|
+
} | {
|
|
141
|
+
lineHeight: any;
|
|
142
|
+
fontSize: string;
|
|
143
|
+
letterSpacing: any;
|
|
144
|
+
fontFamily: any;
|
|
145
|
+
fontWeight: any;
|
|
146
|
+
fontStyle: any;
|
|
147
|
+
color: string | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
lineHeight: any;
|
|
150
|
+
fontSize: string;
|
|
151
|
+
letterSpacing: any;
|
|
152
|
+
fontFamily: any;
|
|
153
|
+
fontWeight: any;
|
|
154
|
+
fontStyle: any;
|
|
155
|
+
color: string | undefined;
|
|
156
|
+
} | {
|
|
157
|
+
lineHeight: any;
|
|
158
|
+
fontSize: string;
|
|
159
|
+
letterSpacing: any;
|
|
160
|
+
fontFamily: any;
|
|
161
|
+
fontWeight: any;
|
|
162
|
+
fontStyle: any;
|
|
163
|
+
color: string | undefined;
|
|
164
|
+
} | {
|
|
165
|
+
lineHeight: any;
|
|
166
|
+
fontSize: string;
|
|
167
|
+
letterSpacing: any;
|
|
168
|
+
fontFamily: any;
|
|
169
|
+
fontWeight: any;
|
|
170
|
+
fontStyle: any;
|
|
171
|
+
color: string | undefined;
|
|
172
|
+
} | {
|
|
173
|
+
lineHeight: any;
|
|
174
|
+
fontSize: string;
|
|
175
|
+
letterSpacing: any;
|
|
176
|
+
fontFamily: any;
|
|
177
|
+
fontWeight: any;
|
|
178
|
+
fontStyle: any;
|
|
179
|
+
color: string | undefined;
|
|
180
|
+
} | {
|
|
181
|
+
lineHeight: any;
|
|
182
|
+
fontSize: string;
|
|
183
|
+
letterSpacing: any;
|
|
184
|
+
fontFamily: any;
|
|
185
|
+
fontWeight: any;
|
|
186
|
+
fontStyle: any;
|
|
187
|
+
color: string | undefined;
|
|
188
|
+
} | {
|
|
189
|
+
lineHeight: any;
|
|
190
|
+
fontSize: string;
|
|
191
|
+
letterSpacing: any;
|
|
192
|
+
fontFamily: any;
|
|
193
|
+
fontWeight: any;
|
|
194
|
+
fontStyle: any;
|
|
195
|
+
color: string | undefined;
|
|
196
|
+
};
|
|
197
|
+
export declare const getElementType: (element: string) => ElementType;
|
|
198
|
+
export declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
|
|
199
|
+
export declare const inlineElements: ElementType[];
|
|
200
|
+
export declare const isInlineElement: (as: ElementType) => as is InlineElement;
|
|
201
|
+
export declare const getAdditionalFontStyle: (bold?: boolean, italic?: boolean, underline?: boolean) => import("styled-components").FlattenSimpleInterpolation;
|
|
202
|
+
export declare const getMarginStyling: (typographyType: TypographyType, element: ElementType, withMargins?: boolean) => import("styled-components").FlattenSimpleInterpolation;
|
|
203
|
+
export declare const getAnchorStyling: (external?: boolean, interactionStyling?: TypographyInteractionStyling, typographyType?: StaticTypographyType, withMargins?: boolean) => import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './Typography';
|
|
2
|
-
export * from './Label';
|
|
3
|
-
export * from './Paragraph';
|
|
4
|
-
export * from './Heading';
|
|
5
|
-
export * from './Link';
|
|
6
|
-
export * from './Legend';
|
|
7
|
-
export * from './Caption';
|
|
1
|
+
export * from './Typography';
|
|
2
|
+
export * from './Label';
|
|
3
|
+
export * from './Paragraph';
|
|
4
|
+
export * from './Heading';
|
|
5
|
+
export * from './Link';
|
|
6
|
+
export * from './Legend';
|
|
7
|
+
export * from './Caption';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
};
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Article: () => JSX.Element;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Article: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
argTypes: {
|
|
4
|
-
typographyType: {
|
|
5
|
-
control: {
|
|
6
|
-
type: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
bold: {
|
|
10
|
-
control: {
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
italic: {
|
|
15
|
-
control: {
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
underline: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
withMargins: {
|
|
25
|
-
control: {
|
|
26
|
-
type: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
color: {
|
|
30
|
-
control: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
text: {
|
|
35
|
-
control: {
|
|
36
|
-
type: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default _default;
|
|
42
|
-
export declare const ComponentsOverview: () => JSX.Element;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
argTypes: {
|
|
4
|
+
typographyType: {
|
|
5
|
+
control: {
|
|
6
|
+
type: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
bold: {
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
italic: {
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
underline: {
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
withMargins: {
|
|
25
|
+
control: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
color: {
|
|
30
|
+
control: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
text: {
|
|
35
|
+
control: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
42
|
+
export declare const ComponentsOverview: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("..").TypographyProps & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Body: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const Headings: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Leads: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Supporting: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Link: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { BaseComponentPropsWithChildren } from '../../types';
|
|
2
|
+
type VisuallyHiddenDivProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
3
|
+
as: 'div';
|
|
4
|
+
}>;
|
|
5
|
+
type VisuallyHiddenSpanProps = BaseComponentPropsWithChildren<HTMLSpanElement, {
|
|
6
|
+
/**Spesifiserer hvilken HTML tag skal returneres. */
|
|
7
|
+
as: 'span';
|
|
8
|
+
}>;
|
|
9
|
+
export type VisuallyHiddenProps = VisuallyHiddenSpanProps | VisuallyHiddenDivProps;
|
|
10
|
+
export declare const VisuallyHidden: {
|
|
11
|
+
(props: VisuallyHiddenProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
@@ -16,8 +16,7 @@ var VisuallyHidden = function VisuallyHidden(props) {
|
|
|
16
16
|
rest = __rest(props, ["children", "id", "className", "htmlProps", "as"]);
|
|
17
17
|
if (as === 'div') {
|
|
18
18
|
return jsx(Wrapper, Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
|
|
19
|
-
as: as
|
|
20
|
-
}, {
|
|
19
|
+
as: as,
|
|
21
20
|
children: children
|
|
22
21
|
}));
|
|
23
22
|
}
|
|
@@ -25,5 +24,6 @@ var VisuallyHidden = function VisuallyHidden(props) {
|
|
|
25
24
|
children: children
|
|
26
25
|
}));
|
|
27
26
|
};
|
|
27
|
+
VisuallyHidden.displayName = 'VisuallyHidden';
|
|
28
28
|
|
|
29
29
|
export { VisuallyHidden };
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { VisuallyHiddenProps } from '.';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export
|
|
1
|
+
import { VisuallyHiddenProps } from '.';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
(props: VisuallyHiddenProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
argTypes: {
|
|
9
|
+
as: {
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Default: (args: VisuallyHiddenProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const Link: () => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const TableButtons: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './VisuallyHidden';
|
|
1
|
+
export * from './VisuallyHidden';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
type BackdropProps = {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
};
|
|
4
|
-
export declare const Backdrop: import("styled-components").StyledComponent<"div", any, BackdropProps, never>;
|
|
5
|
-
export {};
|
|
1
|
+
type BackdropProps = {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
};
|
|
4
|
+
export declare const Backdrop: import("styled-components").StyledComponent<"div", any, BackdropProps, never>;
|
|
5
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function handleElementWithBackdropMount(container: HTMLElement): void;
|
|
2
|
-
export declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
|
|
1
|
+
export declare function handleElementWithBackdropMount(container: HTMLElement): void;
|
|
2
|
+
export declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Backdrop';
|
|
2
|
-
export * from './Backdrop.utils';
|
|
1
|
+
export * from './Backdrop';
|
|
2
|
+
export * from './Backdrop.utils';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
export
|
|
9
|
-
export {};
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
type SvgChevronProps = {
|
|
3
|
+
isUp?: boolean;
|
|
4
|
+
height?: Property.Height<string>;
|
|
5
|
+
width?: Property.Width<string>;
|
|
6
|
+
};
|
|
7
|
+
export declare const AnimatedChevronUpDown: ({ isUp, height, width, }: SvgChevronProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|