@norges-domstoler/dds-components 13.3.0 → 13.4.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/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/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 +146 -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/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 +285 -192
- 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 +6 -11
- 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 +6 -11
- 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 +3 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/components/Card/CardAccordion/CardAccordionHeader.d.ts +36 -36
- package/dist/components/Card/CardAccordion/CardAccordionHeader.js +1 -0
- 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 +11 -5
- 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 +7 -1
- 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 +1 -0
- 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 +1 -0
- 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 +5 -0
- 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 +17 -11
- 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 +6 -12
- 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 +5 -0
- 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 +7 -12
- 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 +1 -0
- 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 +1 -0
- 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/InlineEditInput.d.ts +2 -2
- package/dist/components/InlineEdit/InlineEditInput.stories.d.ts +37 -36
- package/dist/components/InlineEdit/InlineEditTextArea.d.ts +2 -2
- 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 +1 -0
- package/dist/components/InlineEdit/InlineTextArea.d.ts +4 -4
- package/dist/components/InlineEdit/InlineTextArea.js +1 -0
- package/dist/components/InlineEdit/index.d.ts +3 -3
- package/dist/components/InputMessage/InputMessage.d.ts +17 -17
- package/dist/components/InputMessage/InputMessage.js +7 -11
- 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 +7 -12
- 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/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 +7 -12
- 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 +7 -1
- 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 +1 -0
- package/dist/components/Modal/index.d.ts +3 -3
- package/dist/components/OverflowMenu/OverflowMenu.d.ts +24 -24
- package/dist/components/OverflowMenu/OverflowMenu.js +1 -0
- 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 +1 -0
- package/dist/components/OverflowMenu/index.d.ts +3 -3
- package/dist/components/Pagination/Pagination.d.ts +52 -52
- package/dist/components/Pagination/Pagination.js +7 -12
- 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 +10 -4
- 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 +1 -0
- 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 +1 -0
- package/dist/components/ProgressTracker/index.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +18 -18
- package/dist/components/RadioButton/RadioButton.js +9 -3
- 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 +8 -1
- 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 +1 -0
- 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 +5 -0
- 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 +1 -0
- package/dist/components/Search/SearchSuggestions.d.ts +29 -29
- package/dist/components/Search/SearchSuggestions.js +7 -1
- 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 +6 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/components/Table/collapsible/CollapsibleTable.d.ts +10 -10
- package/dist/components/Table/collapsible/CollapsibleTable.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +5 -0
- 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 +5 -11
- package/dist/components/TextInput/TextInput.d.ts +10 -10
- package/dist/components/TextInput/TextInput.js +5 -0
- 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 +6 -10
- 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 +9 -8
- 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 +1 -0
- 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 +6 -11
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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.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/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/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 +146 -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/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/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/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 +4 -15
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: {
|
|
4
|
+
(props: {
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
tip?: string | undefined;
|
|
8
|
+
required?: boolean | undefined;
|
|
9
|
+
onChange: (newFiles: import("./types").FileList) => void;
|
|
10
|
+
width?: import("csstype").Property.Width<string> | undefined;
|
|
11
|
+
} & Partial<import("./useFileUploader").FileUploaderHookProps>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
color: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
control: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export declare const Overview: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export declare const rootTokens: {
|
|
2
|
-
borderColor: string;
|
|
3
|
-
borderColorError: string;
|
|
4
|
-
paddingLeftRightTop: string;
|
|
5
|
-
paddingBottom: string;
|
|
6
|
-
gap: string;
|
|
7
|
-
backgroundColor: string;
|
|
8
|
-
dragActive: {
|
|
9
|
-
borderColor: string;
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const fileTokens: {
|
|
14
|
-
marginTop: string;
|
|
15
|
-
paddingLeftRight: string;
|
|
16
|
-
paddingTopBottom: string;
|
|
17
|
-
backgroundColor: string;
|
|
18
|
-
textToIconsGap: string;
|
|
19
|
-
invalid: {
|
|
20
|
-
borderColor: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare const errorsTokens: {
|
|
24
|
-
gap: string;
|
|
25
|
-
};
|
|
1
|
+
export declare const rootTokens: {
|
|
2
|
+
borderColor: string;
|
|
3
|
+
borderColorError: string;
|
|
4
|
+
paddingLeftRightTop: string;
|
|
5
|
+
paddingBottom: string;
|
|
6
|
+
gap: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
dragActive: {
|
|
9
|
+
borderColor: string;
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const fileTokens: {
|
|
14
|
+
marginTop: string;
|
|
15
|
+
paddingLeftRight: string;
|
|
16
|
+
paddingTopBottom: string;
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
textToIconsGap: string;
|
|
19
|
+
invalid: {
|
|
20
|
+
borderColor: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const errorsTokens: {
|
|
24
|
+
gap: string;
|
|
25
|
+
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { FileWithPath } from 'file-selector';
|
|
2
|
-
import { Reducer } from 'react';
|
|
3
|
-
export type FileUploaderFile = {
|
|
4
|
-
file: FileWithPath;
|
|
5
|
-
errors: string[];
|
|
6
|
-
};
|
|
7
|
-
export type RootErrorList = string[];
|
|
8
|
-
export type FileUploaderAction = {
|
|
9
|
-
type: 'focus';
|
|
10
|
-
} | {
|
|
11
|
-
type: 'blur';
|
|
12
|
-
} | {
|
|
13
|
-
type: 'dragEnter';
|
|
14
|
-
} | {
|
|
15
|
-
type: 'dragLeave';
|
|
16
|
-
} | {
|
|
17
|
-
type: 'onSetFiles';
|
|
18
|
-
payload: FileUploaderFile[];
|
|
19
|
-
} | {
|
|
20
|
-
type: 'onRemoveFile';
|
|
21
|
-
payload: FileUploaderFile[];
|
|
22
|
-
} | {
|
|
23
|
-
type: 'setRootErrors';
|
|
24
|
-
payload: RootErrorList;
|
|
25
|
-
};
|
|
26
|
-
export type FileUploaderState = {
|
|
27
|
-
files: FileUploaderFile[];
|
|
28
|
-
isFocused: boolean;
|
|
29
|
-
isFileDialogActive: boolean;
|
|
30
|
-
isDragActive: boolean;
|
|
31
|
-
rootErrors: string[];
|
|
32
|
-
};
|
|
33
|
-
export declare const fileUploaderReducer: Reducer<FileUploaderState, FileUploaderAction>;
|
|
1
|
+
import { FileWithPath } from 'file-selector';
|
|
2
|
+
import { Reducer } from 'react';
|
|
3
|
+
export type FileUploaderFile = {
|
|
4
|
+
file: FileWithPath;
|
|
5
|
+
errors: string[];
|
|
6
|
+
};
|
|
7
|
+
export type RootErrorList = string[];
|
|
8
|
+
export type FileUploaderAction = {
|
|
9
|
+
type: 'focus';
|
|
10
|
+
} | {
|
|
11
|
+
type: 'blur';
|
|
12
|
+
} | {
|
|
13
|
+
type: 'dragEnter';
|
|
14
|
+
} | {
|
|
15
|
+
type: 'dragLeave';
|
|
16
|
+
} | {
|
|
17
|
+
type: 'onSetFiles';
|
|
18
|
+
payload: FileUploaderFile[];
|
|
19
|
+
} | {
|
|
20
|
+
type: 'onRemoveFile';
|
|
21
|
+
payload: FileUploaderFile[];
|
|
22
|
+
} | {
|
|
23
|
+
type: 'setRootErrors';
|
|
24
|
+
payload: RootErrorList;
|
|
25
|
+
};
|
|
26
|
+
export type FileUploaderState = {
|
|
27
|
+
files: FileUploaderFile[];
|
|
28
|
+
isFocused: boolean;
|
|
29
|
+
isFileDialogActive: boolean;
|
|
30
|
+
isDragActive: boolean;
|
|
31
|
+
rootErrors: string[];
|
|
32
|
+
};
|
|
33
|
+
export declare const fileUploaderReducer: Reducer<FileUploaderState, FileUploaderAction>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './FileUploader';
|
|
1
|
+
export * from './FileUploader';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
type FileExtensionAccept = `.${string}`;
|
|
2
|
-
type AnyMimeType = '*';
|
|
3
|
-
type ImageMimeType = 'png' | 'jpeg' | 'bmp' | 'gif' | 'svg+xml' | 'tiff' | 'webp';
|
|
4
|
-
type VideoMimeType = 'x-msvideo' | 'mp4' | 'mpeg' | 'ogg' | 'mp2t' | 'webm' | '3gpp' | '3gpp2';
|
|
5
|
-
type AudioMimeType = 'aac' | 'midi' | 'x-midi' | 'mpeg' | 'ogg' | 'opus' | 'wav' | 'webm' | '3gpp' | '3gpp2';
|
|
6
|
-
type ApplicationMimeType = 'octet-stream' | 'msword' | 'vnd.openxmlformats-officedocument.wordprocessingml.document' | 'epub+zip' | 'gzip' | 'java-archive' | 'json' | 'vnd.oasis.opendocument.presentation' | 'vnd.oasis.opendocument.spreadsheet' | 'vnd.oasis.opendocument.text' | 'pdf' | 'vnd.ms-powerpoint' | 'vnd.openxmlformats-officedocument.presentationml.presentation' | 'rtf' | 'x-sh' | 'x-tar' | 'vnd.visio' | 'xhtml+xml' | 'vnd.ms-excel' | 'vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'xml' | 'vnd.mozilla.xul+xml' | 'zip';
|
|
7
|
-
type MimeType = `image/${ImageMimeType | AnyMimeType}` | `video/${VideoMimeType | AnyMimeType}` | `audio/${AudioMimeType | AnyMimeType}` | `application/${ApplicationMimeType}`;
|
|
8
|
-
export type Accept = MimeType | FileExtensionAccept;
|
|
9
|
-
export type FileList = File[];
|
|
10
|
-
export {};
|
|
1
|
+
type FileExtensionAccept = `.${string}`;
|
|
2
|
+
type AnyMimeType = '*';
|
|
3
|
+
type ImageMimeType = 'png' | 'jpeg' | 'bmp' | 'gif' | 'svg+xml' | 'tiff' | 'webp';
|
|
4
|
+
type VideoMimeType = 'x-msvideo' | 'mp4' | 'mpeg' | 'ogg' | 'mp2t' | 'webm' | '3gpp' | '3gpp2';
|
|
5
|
+
type AudioMimeType = 'aac' | 'midi' | 'x-midi' | 'mpeg' | 'ogg' | 'opus' | 'wav' | 'webm' | '3gpp' | '3gpp2';
|
|
6
|
+
type ApplicationMimeType = 'octet-stream' | 'msword' | 'vnd.openxmlformats-officedocument.wordprocessingml.document' | 'epub+zip' | 'gzip' | 'java-archive' | 'json' | 'vnd.oasis.opendocument.presentation' | 'vnd.oasis.opendocument.spreadsheet' | 'vnd.oasis.opendocument.text' | 'pdf' | 'vnd.ms-powerpoint' | 'vnd.openxmlformats-officedocument.presentationml.presentation' | 'rtf' | 'x-sh' | 'x-tar' | 'vnd.visio' | 'xhtml+xml' | 'vnd.ms-excel' | 'vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'xml' | 'vnd.mozilla.xul+xml' | 'zip';
|
|
7
|
+
type MimeType = `image/${ImageMimeType | AnyMimeType}` | `video/${VideoMimeType | AnyMimeType}` | `audio/${AudioMimeType | AnyMimeType}` | `application/${ApplicationMimeType}`;
|
|
8
|
+
export type Accept = MimeType | FileExtensionAccept;
|
|
9
|
+
export type FileList = File[];
|
|
10
|
+
export {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import React, { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, Ref } from 'react';
|
|
2
|
-
import { FileUploaderFile } from './fileUploaderReducer';
|
|
3
|
-
import { Accept, FileList } from './types';
|
|
4
|
-
export type FileUploaderHookProps = {
|
|
5
|
-
id: string | undefined;
|
|
6
|
-
/**Dersom komponenten skal styres internt. Utgangspunktet for filene som har blitt lastet opp. */
|
|
7
|
-
initialFiles: FileList | undefined;
|
|
8
|
-
/**Dersom komponenten styres utenfra. Filene som har blitt lastet opp. */
|
|
9
|
-
value: FileList | undefined;
|
|
10
|
-
/**Callback for når fil-listen endres. */
|
|
11
|
-
onChange: (newFiles: FileList) => void;
|
|
12
|
-
/**Hvilke filendelser eller mime-typer som filopplasteren skal akseptere. */
|
|
13
|
-
accept: Accept[] | undefined;
|
|
14
|
-
/**Om filopplasteren er avslått eller ikke */
|
|
15
|
-
disabled: boolean | undefined;
|
|
16
|
-
/**Maks antall filer som tillates. */
|
|
17
|
-
maxFiles: number | undefined;
|
|
18
|
-
/**Feilmelding. Setter også error state. */
|
|
19
|
-
errorMessage: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
export declare const useFileUploader: <TRootElement extends HTMLElement>(props: FileUploaderHookProps) => {
|
|
22
|
-
state: import("./fileUploaderReducer").FileUploaderState;
|
|
23
|
-
getRootProps: () => React.HTMLAttributes<TRootElement> & {
|
|
24
|
-
ref: React.Ref<TRootElement>;
|
|
25
|
-
};
|
|
26
|
-
getInputProps: () => InputHTMLAttributes<HTMLInputElement> & {
|
|
27
|
-
ref: Ref<HTMLInputElement>;
|
|
28
|
-
};
|
|
29
|
-
getButtonProps: () => ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
30
|
-
ref: Ref<HTMLButtonElement>;
|
|
31
|
-
};
|
|
32
|
-
removeFile: (file: FileUploaderFile) => void;
|
|
33
|
-
};
|
|
1
|
+
import React, { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, Ref } from 'react';
|
|
2
|
+
import { FileUploaderFile } from './fileUploaderReducer';
|
|
3
|
+
import { Accept, FileList } from './types';
|
|
4
|
+
export type FileUploaderHookProps = {
|
|
5
|
+
id: string | undefined;
|
|
6
|
+
/**Dersom komponenten skal styres internt. Utgangspunktet for filene som har blitt lastet opp. */
|
|
7
|
+
initialFiles: FileList | undefined;
|
|
8
|
+
/**Dersom komponenten styres utenfra. Filene som har blitt lastet opp. */
|
|
9
|
+
value: FileList | undefined;
|
|
10
|
+
/**Callback for når fil-listen endres. */
|
|
11
|
+
onChange: (newFiles: FileList) => void;
|
|
12
|
+
/**Hvilke filendelser eller mime-typer som filopplasteren skal akseptere. */
|
|
13
|
+
accept: Accept[] | undefined;
|
|
14
|
+
/**Om filopplasteren er avslått eller ikke */
|
|
15
|
+
disabled: boolean | undefined;
|
|
16
|
+
/**Maks antall filer som tillates. */
|
|
17
|
+
maxFiles: number | undefined;
|
|
18
|
+
/**Feilmelding. Setter også error state. */
|
|
19
|
+
errorMessage: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export declare const useFileUploader: <TRootElement extends HTMLElement>(props: FileUploaderHookProps) => {
|
|
22
|
+
state: import("./fileUploaderReducer").FileUploaderState;
|
|
23
|
+
getRootProps: () => React.HTMLAttributes<TRootElement> & {
|
|
24
|
+
ref: React.Ref<TRootElement>;
|
|
25
|
+
};
|
|
26
|
+
getInputProps: () => InputHTMLAttributes<HTMLInputElement> & {
|
|
27
|
+
ref: Ref<HTMLInputElement>;
|
|
28
|
+
};
|
|
29
|
+
getButtonProps: () => ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
30
|
+
ref: Ref<HTMLButtonElement>;
|
|
31
|
+
};
|
|
32
|
+
removeFile: (file: FileUploaderFile) => void;
|
|
33
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const preventDefaults: (event: React.BaseSyntheticEvent) => void;
|
|
3
|
-
export declare const isDragEvent: (event: unknown) => event is import("react").DragEvent<unknown>;
|
|
4
|
-
export declare const isEventWithFiles: (event: React.DragEvent<unknown> | React.ChangeEvent<HTMLInputElement>) => boolean;
|
|
5
|
-
export declare const isFileAccepted: (file: File, accept: string[] | undefined) => boolean;
|
|
6
|
-
export declare const getTooManyFilesErrorMessage: (maxFiles: number) => string;
|
|
7
|
-
export declare const getInvalidFileTypeErrorMessage: () => string;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const preventDefaults: (event: React.BaseSyntheticEvent) => void;
|
|
3
|
+
export declare const isDragEvent: (event: unknown) => event is import("react").DragEvent<unknown>;
|
|
4
|
+
export declare const isEventWithFiles: (event: React.DragEvent<unknown> | React.ChangeEvent<HTMLInputElement>) => boolean;
|
|
5
|
+
export declare const isFileAccepted: (file: File, accept: string[] | undefined) => boolean;
|
|
6
|
+
export declare const getTooManyFilesErrorMessage: (maxFiles: number) => string;
|
|
7
|
+
export declare const getInvalidFileTypeErrorMessage: () => string;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseComponentPropsWithChildren } from '../../types';
|
|
3
|
-
export type GlobalMessagePurpose = 'info' | 'warning' | 'danger';
|
|
4
|
-
export type GlobalMessageProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
5
|
-
/**Meldingen som vises til brukeren. Brukes kun når meldingen er en `string`. */
|
|
6
|
-
message?: string;
|
|
7
|
-
/**Formålet med meldingen. Påvirker styling. */
|
|
8
|
-
purpose?: GlobalMessagePurpose;
|
|
9
|
-
/**Indikerer om meldingen skal være lukkbar. */
|
|
10
|
-
closable?: boolean;
|
|
11
|
-
/**Ekstra logikk å kjøre når meldingen lukkes. */
|
|
12
|
-
onClose?: () => void;
|
|
13
|
-
}>;
|
|
14
|
-
export declare const GlobalMessage: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
15
|
-
/**Meldingen som vises til brukeren. Brukes kun når meldingen er en `string`. */
|
|
16
|
-
message?: string | undefined;
|
|
17
|
-
/**Formålet med meldingen. Påvirker styling. */
|
|
18
|
-
purpose?: GlobalMessagePurpose | undefined;
|
|
19
|
-
/**Indikerer om meldingen skal være lukkbar. */
|
|
20
|
-
closable?: boolean | undefined;
|
|
21
|
-
/**Ekstra logikk å kjøre når meldingen lukkes. */
|
|
22
|
-
onClose?: (() => void) | undefined;
|
|
23
|
-
} & {
|
|
24
|
-
children?: import("react").ReactNode;
|
|
25
|
-
} & {
|
|
26
|
-
htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
|
|
27
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseComponentPropsWithChildren } from '../../types';
|
|
3
|
+
export type GlobalMessagePurpose = 'info' | 'warning' | 'danger';
|
|
4
|
+
export type GlobalMessageProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
5
|
+
/**Meldingen som vises til brukeren. Brukes kun når meldingen er en `string`. */
|
|
6
|
+
message?: string;
|
|
7
|
+
/**Formålet med meldingen. Påvirker styling. */
|
|
8
|
+
purpose?: GlobalMessagePurpose;
|
|
9
|
+
/**Indikerer om meldingen skal være lukkbar. */
|
|
10
|
+
closable?: boolean;
|
|
11
|
+
/**Ekstra logikk å kjøre når meldingen lukkes. */
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const GlobalMessage: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
15
|
+
/**Meldingen som vises til brukeren. Brukes kun når meldingen er en `string`. */
|
|
16
|
+
message?: string | undefined;
|
|
17
|
+
/**Formålet med meldingen. Påvirker styling. */
|
|
18
|
+
purpose?: GlobalMessagePurpose | undefined;
|
|
19
|
+
/**Indikerer om meldingen skal være lukkbar. */
|
|
20
|
+
closable?: boolean | undefined;
|
|
21
|
+
/**Ekstra logikk å kjøre når meldingen lukkes. */
|
|
22
|
+
onClose?: (() => void) | undefined;
|
|
23
|
+
} & {
|
|
24
|
+
children?: import("react").ReactNode;
|
|
25
|
+
} & {
|
|
26
|
+
htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
|
|
27
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export
|
|
29
|
-
export declare const
|
|
30
|
-
export declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalMessageProps } from './GlobalMessage';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
6
|
+
message?: string | undefined;
|
|
7
|
+
purpose?: import("./GlobalMessage").GlobalMessagePurpose | undefined;
|
|
8
|
+
closable?: boolean | undefined;
|
|
9
|
+
onClose?: (() => void) | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
} & {
|
|
13
|
+
htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
|
|
14
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
argTypes: {
|
|
16
|
+
message: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
closable: {
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const Overview: (args: GlobalMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const Default: (args: GlobalMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare const Closable: (args: GlobalMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { SvgIcon } from '../../icons/utils';
|
|
2
|
-
import { ButtonPurpose } from '../Button';
|
|
3
|
-
import { StaticTypographyType } from '../Typography';
|
|
4
|
-
import { GlobalMessagePurpose } from './GlobalMessage';
|
|
5
|
-
export declare const typographyType: StaticTypographyType;
|
|
6
|
-
export declare const purposeVariants: {
|
|
7
|
-
[k in GlobalMessagePurpose]: {
|
|
8
|
-
icon: SvgIcon;
|
|
9
|
-
closeButtonPurpose: ButtonPurpose;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const globalMessageTokens: {
|
|
13
|
-
container: {
|
|
14
|
-
borderBottom: string;
|
|
15
|
-
padding: string;
|
|
16
|
-
info: {
|
|
17
|
-
borderColor: string;
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
};
|
|
20
|
-
danger: {
|
|
21
|
-
borderColor: string;
|
|
22
|
-
backgroundColor: string;
|
|
23
|
-
};
|
|
24
|
-
warning: {
|
|
25
|
-
borderColor: string;
|
|
26
|
-
backgroundColor: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
contentContainer: {
|
|
30
|
-
paddingRight: string;
|
|
31
|
-
paddingTop: string;
|
|
32
|
-
paddingBottom: string;
|
|
33
|
-
gap: string;
|
|
34
|
-
withClosable: {
|
|
35
|
-
paddingRight: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
icon: {
|
|
39
|
-
marginRight: string;
|
|
40
|
-
info: {
|
|
41
|
-
color: string;
|
|
42
|
-
};
|
|
43
|
-
danger: {
|
|
44
|
-
color: string;
|
|
45
|
-
};
|
|
46
|
-
warning: {
|
|
47
|
-
color: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
1
|
+
import { SvgIcon } from '../../icons/utils';
|
|
2
|
+
import { ButtonPurpose } from '../Button';
|
|
3
|
+
import { StaticTypographyType } from '../Typography';
|
|
4
|
+
import { GlobalMessagePurpose } from './GlobalMessage';
|
|
5
|
+
export declare const typographyType: StaticTypographyType;
|
|
6
|
+
export declare const purposeVariants: {
|
|
7
|
+
[k in GlobalMessagePurpose]: {
|
|
8
|
+
icon: SvgIcon;
|
|
9
|
+
closeButtonPurpose: ButtonPurpose;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const globalMessageTokens: {
|
|
13
|
+
container: {
|
|
14
|
+
borderBottom: string;
|
|
15
|
+
padding: string;
|
|
16
|
+
info: {
|
|
17
|
+
borderColor: string;
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
};
|
|
20
|
+
danger: {
|
|
21
|
+
borderColor: string;
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
};
|
|
24
|
+
warning: {
|
|
25
|
+
borderColor: string;
|
|
26
|
+
backgroundColor: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
contentContainer: {
|
|
30
|
+
paddingRight: string;
|
|
31
|
+
paddingTop: string;
|
|
32
|
+
paddingBottom: string;
|
|
33
|
+
gap: string;
|
|
34
|
+
withClosable: {
|
|
35
|
+
paddingRight: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
icon: {
|
|
39
|
+
marginRight: string;
|
|
40
|
+
info: {
|
|
41
|
+
color: string;
|
|
42
|
+
};
|
|
43
|
+
danger: {
|
|
44
|
+
color: string;
|
|
45
|
+
};
|
|
46
|
+
warning: {
|
|
47
|
+
color: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './GlobalMessage';
|
|
1
|
+
export * from './GlobalMessage';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ScreenSize } from '../../hooks';
|
|
3
|
-
export type GridContextProps = {
|
|
4
|
-
screenSize: ScreenSize;
|
|
5
|
-
};
|
|
6
|
-
export declare const GridContext: import("react").Context<GridContextProps>;
|
|
7
|
-
export declare const useGridContext: () => GridContextProps;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ScreenSize } from '../../hooks';
|
|
3
|
+
export type GridContextProps = {
|
|
4
|
+
screenSize: ScreenSize;
|
|
5
|
+
};
|
|
6
|
+
export declare const GridContext: import("react").Context<GridContextProps>;
|
|
7
|
+
export declare const useGridContext: () => GridContextProps;
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { BaseComponentPropsWithChildren } from '../../types';
|
|
2
|
-
import { HTMLAttributes } from 'react';
|
|
3
|
-
import { BreakpointBasedProps } from '../../helpers';
|
|
4
|
-
type RowGapGrid = BreakpointBasedProps<'rowGap'>;
|
|
5
|
-
type MaxWidthGrid = BreakpointBasedProps<'maxWidth'>;
|
|
6
|
-
type BaseGridProps = {
|
|
7
|
-
/**Maksimal bredde. Gjøres per brekkepunkt. */
|
|
8
|
-
maxWidth?: MaxWidthGrid;
|
|
9
|
-
/** CSS `row-gap`. Gjøres per brekkepunkt. */
|
|
10
|
-
rowGap?: RowGapGrid;
|
|
11
|
-
} & Pick<HTMLAttributes<HTMLElement>, 'style'>;
|
|
12
|
-
type GridDivProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
13
|
-
/**HTML tag som returneres. */
|
|
14
|
-
as: 'div';
|
|
15
|
-
} & BaseGridProps>;
|
|
16
|
-
type GridFormProps = BaseComponentPropsWithChildren<HTMLFormElement, {
|
|
17
|
-
as: 'form';
|
|
18
|
-
} & BaseGridProps>;
|
|
19
|
-
export type GridProps = GridDivProps | GridFormProps;
|
|
20
|
-
export declare const Grid:
|
|
21
|
-
|
|
1
|
+
import { BaseComponentPropsWithChildren } from '../../types';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
3
|
+
import { BreakpointBasedProps } from '../../helpers';
|
|
4
|
+
type RowGapGrid = BreakpointBasedProps<'rowGap'>;
|
|
5
|
+
type MaxWidthGrid = BreakpointBasedProps<'maxWidth'>;
|
|
6
|
+
type BaseGridProps = {
|
|
7
|
+
/**Maksimal bredde. Gjøres per brekkepunkt. */
|
|
8
|
+
maxWidth?: MaxWidthGrid;
|
|
9
|
+
/** CSS `row-gap`. Gjøres per brekkepunkt. */
|
|
10
|
+
rowGap?: RowGapGrid;
|
|
11
|
+
} & Pick<HTMLAttributes<HTMLElement>, 'style'>;
|
|
12
|
+
type GridDivProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
13
|
+
/**HTML tag som returneres. */
|
|
14
|
+
as: 'div';
|
|
15
|
+
} & BaseGridProps>;
|
|
16
|
+
type GridFormProps = BaseComponentPropsWithChildren<HTMLFormElement, {
|
|
17
|
+
as: 'form';
|
|
18
|
+
} & BaseGridProps>;
|
|
19
|
+
export type GridProps = GridDivProps | GridFormProps;
|
|
20
|
+
export declare const Grid: {
|
|
21
|
+
(props: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { GridProps } from '.';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { GridProps } from '.';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
(props: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const PageExample: (args: GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const JustRelativeColumns: (args: GridProps) => import("react/jsx-runtime").JSX.Element;
|