@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,47 +1,48 @@
|
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export
|
|
46
|
-
export declare const
|
|
47
|
-
export declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LinkProps } from '.';
|
|
3
|
+
type StoryTProps = {
|
|
4
|
+
text: string;
|
|
5
|
+
} & LinkProps;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target">, "id" | "className"> & {
|
|
9
|
+
external?: boolean | undefined;
|
|
10
|
+
typographyType?: ("bodySans01" | "bodySans02" | "bodySans03" | "bodySans04") | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
withMargins?: boolean | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
children?: import("react").ReactNode;
|
|
15
|
+
} & Pick<import("react").HTMLAttributes<HTMLElement>, "style"> & {
|
|
16
|
+
href?: string | undefined;
|
|
17
|
+
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
18
|
+
target?: import("react").HTMLAttributeAnchorTarget | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
htmlProps?: Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target"> | undefined;
|
|
21
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
22
|
+
argTypes: {
|
|
23
|
+
typographyType: {
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
withMargins: {
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
text: {
|
|
34
|
+
control: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
href: {
|
|
39
|
+
control: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
46
|
+
export declare const Overview: (args: StoryTProps) => import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export declare const Default: (args: StoryTProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export declare const Examples: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Link';
|
|
1
|
+
export * from './Link';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseComponentPropsWithChildren } from '../../../types';
|
|
3
|
-
import { BaseTypographyProps, TypographyBodyType, TypographyLeadType } from '../Typography';
|
|
4
|
-
export type ParagraphProps = BaseComponentPropsWithChildren<HTMLParagraphElement, {
|
|
5
|
-
/**Spesifiserer typografistil basert på utvalget for brødtekst og ingress. */
|
|
6
|
-
typographyType?: TypographyBodyType | TypographyLeadType;
|
|
7
|
-
} & BaseTypographyProps>;
|
|
8
|
-
export declare const Paragraph: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLParagraphElement>, "id" | "className"> & {
|
|
9
|
-
/**Spesifiserer typografistil basert på utvalget for brødtekst og ingress. */
|
|
10
|
-
typographyType?: ("bodySans01" | "bodySans02" | "bodySans03" | "bodySans04") | TypographyLeadType | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
withMargins?: boolean | undefined;
|
|
13
|
-
} & {
|
|
14
|
-
children?: import("react").ReactNode;
|
|
15
|
-
} & Pick<import("react").HTMLAttributes<HTMLElement>, "style"> & {
|
|
16
|
-
htmlProps?: import("react").HTMLAttributes<HTMLParagraphElement> | undefined;
|
|
17
|
-
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseComponentPropsWithChildren } from '../../../types';
|
|
3
|
+
import { BaseTypographyProps, TypographyBodyType, TypographyLeadType } from '../Typography';
|
|
4
|
+
export type ParagraphProps = BaseComponentPropsWithChildren<HTMLParagraphElement, {
|
|
5
|
+
/**Spesifiserer typografistil basert på utvalget for brødtekst og ingress. */
|
|
6
|
+
typographyType?: TypographyBodyType | TypographyLeadType;
|
|
7
|
+
} & BaseTypographyProps>;
|
|
8
|
+
export declare const Paragraph: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLParagraphElement>, "id" | "className"> & {
|
|
9
|
+
/**Spesifiserer typografistil basert på utvalget for brødtekst og ingress. */
|
|
10
|
+
typographyType?: ("bodySans01" | "bodySans02" | "bodySans03" | "bodySans04") | TypographyLeadType | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
withMargins?: boolean | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
children?: import("react").ReactNode;
|
|
15
|
+
} & Pick<import("react").HTMLAttributes<HTMLElement>, "style"> & {
|
|
16
|
+
htmlProps?: import("react").HTMLAttributes<HTMLParagraphElement> | undefined;
|
|
17
|
+
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1,36 +1,37 @@
|
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export
|
|
36
|
-
export declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ParagraphProps } from '.';
|
|
3
|
+
type StoryTProps = {
|
|
4
|
+
text: string;
|
|
5
|
+
} & ParagraphProps;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
component: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLParagraphElement>, "id" | "className"> & {
|
|
9
|
+
typographyType?: ("bodySans01" | "bodySans02" | "bodySans03" | "bodySans04") | import("..").TypographyLeadType | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
withMargins?: boolean | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
children?: import("react").ReactNode;
|
|
14
|
+
} & Pick<import("react").HTMLAttributes<HTMLElement>, "style"> & {
|
|
15
|
+
htmlProps?: import("react").HTMLAttributes<HTMLParagraphElement> | undefined;
|
|
16
|
+
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
17
|
+
argTypes: {
|
|
18
|
+
typographyType: {
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
withMargins: {
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
text: {
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
36
|
+
export declare const Overview: (args: StoryTProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export declare const Default: (args: StoryTProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Paragraph';
|
|
1
|
+
export * from './Paragraph';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { HTMLAttributes, AnchorHTMLAttributes } from 'react';
|
|
2
|
-
import { OtherTypographyType, AnchorTypographyType, LabelTypographyType, TypographyComponentProps } from './Typography.types';
|
|
3
|
-
import { BaseComponentProps } from '../../../types';
|
|
4
|
-
type AnchorTypographyProps = BaseComponentProps<HTMLAnchorElement, TypographyComponentProps & {
|
|
5
|
-
/**nativ `href`-prop ved `typographyType='a'`. */
|
|
6
|
-
href?: string | undefined;
|
|
7
|
-
/** Spesifiserer om lenka er ekstern ved `typographyType='a'` eller `as='a'`.*/
|
|
8
|
-
externalLink?: boolean;
|
|
9
|
-
/**nativ `target`-prop ved `typographyType='a'`. */
|
|
10
|
-
target?: string;
|
|
11
|
-
}, AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
12
|
-
type LabelTypographyProps = BaseComponentProps<HTMLLabelElement, TypographyComponentProps, HTMLAttributes<HTMLLabelElement>>;
|
|
13
|
-
type OtherTypographyProps = BaseComponentProps<HTMLElement, TypographyComponentProps, HTMLAttributes<HTMLElement>>;
|
|
14
|
-
export type TypographyProps = ({
|
|
15
|
-
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
16
|
-
typographyType?: AnchorTypographyType;
|
|
17
|
-
} & AnchorTypographyProps) | ({
|
|
18
|
-
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
19
|
-
typographyType?: LabelTypographyType;
|
|
20
|
-
} & LabelTypographyProps) | ({
|
|
21
|
-
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
22
|
-
typographyType?: OtherTypographyType;
|
|
23
|
-
} & OtherTypographyProps);
|
|
24
|
-
export declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLElement>>;
|
|
25
|
-
export {};
|
|
1
|
+
import { HTMLAttributes, AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { OtherTypographyType, AnchorTypographyType, LabelTypographyType, TypographyComponentProps } from './Typography.types';
|
|
3
|
+
import { BaseComponentProps } from '../../../types';
|
|
4
|
+
type AnchorTypographyProps = BaseComponentProps<HTMLAnchorElement, TypographyComponentProps & {
|
|
5
|
+
/**nativ `href`-prop ved `typographyType='a'`. */
|
|
6
|
+
href?: string | undefined;
|
|
7
|
+
/** Spesifiserer om lenka er ekstern ved `typographyType='a'` eller `as='a'`.*/
|
|
8
|
+
externalLink?: boolean;
|
|
9
|
+
/**nativ `target`-prop ved `typographyType='a'`. */
|
|
10
|
+
target?: string;
|
|
11
|
+
}, AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
12
|
+
type LabelTypographyProps = BaseComponentProps<HTMLLabelElement, TypographyComponentProps, HTMLAttributes<HTMLLabelElement>>;
|
|
13
|
+
type OtherTypographyProps = BaseComponentProps<HTMLElement, TypographyComponentProps, HTMLAttributes<HTMLElement>>;
|
|
14
|
+
export type TypographyProps = ({
|
|
15
|
+
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
16
|
+
typographyType?: AnchorTypographyType;
|
|
17
|
+
} & AnchorTypographyProps) | ({
|
|
18
|
+
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
19
|
+
typographyType?: LabelTypographyType;
|
|
20
|
+
} & LabelTypographyProps) | ({
|
|
21
|
+
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
22
|
+
typographyType?: OtherTypographyType;
|
|
23
|
+
} & OtherTypographyProps);
|
|
24
|
+
export declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLElement>>;
|
|
25
|
+
export {};
|
|
@@ -1,63 +1,64 @@
|
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export
|
|
63
|
-
export declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TypographyProps } from '..';
|
|
3
|
+
type StoryTProps = {
|
|
4
|
+
text: string;
|
|
5
|
+
} & TypographyProps;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
component: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLElement>>;
|
|
9
|
+
argTypes: {
|
|
10
|
+
typographyType: {
|
|
11
|
+
control: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
bold: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
italic: {
|
|
21
|
+
control: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
withMargins: {
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
externalLink: {
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
color: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
href: {
|
|
41
|
+
control: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
text: {
|
|
46
|
+
control: {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
as: {
|
|
51
|
+
control: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
parameters: {
|
|
57
|
+
controls: {
|
|
58
|
+
exclude: string[];
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export default _default;
|
|
63
|
+
export declare const Default: (args: StoryTProps) => import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export declare const Article: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { CSSProperties, ElementType, HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
-
import { TextColor } from '../../../utils';
|
|
3
|
-
type TypographyBodySansType = 'bodySans01' | 'bodySans02' | 'bodySans03' | 'bodySans04';
|
|
4
|
-
export type TypographyBodyType = TypographyBodySansType;
|
|
5
|
-
export type TypographyHeadingType = 'headingSans01' | 'headingSans02' | 'headingSans03' | 'headingSans04' | 'headingSans05' | 'headingSans06' | 'headingSans07' | 'headingSans08';
|
|
6
|
-
export type TypographyLeadType = 'leadSans01' | 'leadSans02' | 'leadSans03' | 'leadSans04' | 'leadSans05';
|
|
7
|
-
type TypographySupportingType = 'supportingStyleHelperText01' | 'supportingStylePlaceholderText01' | 'supportingStylePlaceholderText02' | 'supportingStylePlaceholderText03' | 'supportingStyleTiny01' | 'supportingStyleTiny02';
|
|
8
|
-
export type AnchorTypographyType = 'a';
|
|
9
|
-
export type LabelTypographyType = 'supportingStyleLabel01';
|
|
10
|
-
export type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType | TypographySupportingType;
|
|
11
|
-
export type TypographyType = AnchorTypographyType | LabelTypographyType | OtherTypographyType;
|
|
12
|
-
export type StaticTypographyType = OtherTypographyType | LabelTypographyType;
|
|
13
|
-
export type InlineElement = 'a' | 'abbr' | 'audio' | 'b' | 'bdi' | 'bdo' | 'big' | 'br' | 'button' | 'canvas' | 'cite' | 'code' | 'data' | 'datalist' | 'del' | 'dfn' | 'em' | 'embed' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'map' | 'mark' | 'meter' | 'noscript' | 'object' | 'output' | 'picture' | 'progress' | 'q' | 'ruby' | 's' | 'samp' | 'script' | 'select' | 'slot' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'svg' | 'template' | 'textarea' | 'time' | 'u' | 'var' | 'video' | 'wbr';
|
|
14
|
-
export type TypographyInteractionStyling = {
|
|
15
|
-
hover?: CSSProperties;
|
|
16
|
-
active?: CSSProperties;
|
|
17
|
-
};
|
|
18
|
-
export type BaseTypographyProps = PropsWithChildren<{
|
|
19
|
-
/**Spesifiserer om tekstelementet skal ha spacing definert i Elsa. Brukes hovedsakelig i artikler og lignende. **OBS!** har forskjellig virkning på ulike typografityper. `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens `supportingStyles` får margin topp og bunn. */
|
|
20
|
-
withMargins?: boolean;
|
|
21
|
-
}> & Pick<HTMLAttributes<HTMLElement>, 'style'>;
|
|
22
|
-
export type TypographyComponentProps = BaseTypographyProps & {
|
|
23
|
-
/**Tekstfarge fra utvalget eller custom. **OBS!** Bruk farger fra `@dds-design-tokens`. */
|
|
24
|
-
color?: TextColor;
|
|
25
|
-
/**Setter `bold` styling. */
|
|
26
|
-
bold?: boolean;
|
|
27
|
-
/**Setter `italic` styling. */
|
|
28
|
-
italic?: boolean;
|
|
29
|
-
/**Setter en linje under. */
|
|
30
|
-
underline?: boolean;
|
|
31
|
-
/**HTML tag som skal brukes istedenfor default definert via `typographyType`. */
|
|
32
|
-
as?: ElementType;
|
|
33
|
-
/**Støtte for å enkelt kunne endre på hover- og active-styling. Bruk `@dds-design-tokens` til farger osv. */
|
|
34
|
-
interactionProps?: TypographyInteractionStyling;
|
|
35
|
-
};
|
|
36
|
-
export {};
|
|
1
|
+
import { CSSProperties, ElementType, HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
import { TextColor } from '../../../utils';
|
|
3
|
+
type TypographyBodySansType = 'bodySans01' | 'bodySans02' | 'bodySans03' | 'bodySans04';
|
|
4
|
+
export type TypographyBodyType = TypographyBodySansType;
|
|
5
|
+
export type TypographyHeadingType = 'headingSans01' | 'headingSans02' | 'headingSans03' | 'headingSans04' | 'headingSans05' | 'headingSans06' | 'headingSans07' | 'headingSans08';
|
|
6
|
+
export type TypographyLeadType = 'leadSans01' | 'leadSans02' | 'leadSans03' | 'leadSans04' | 'leadSans05';
|
|
7
|
+
type TypographySupportingType = 'supportingStyleHelperText01' | 'supportingStylePlaceholderText01' | 'supportingStylePlaceholderText02' | 'supportingStylePlaceholderText03' | 'supportingStyleTiny01' | 'supportingStyleTiny02';
|
|
8
|
+
export type AnchorTypographyType = 'a';
|
|
9
|
+
export type LabelTypographyType = 'supportingStyleLabel01';
|
|
10
|
+
export type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType | TypographySupportingType;
|
|
11
|
+
export type TypographyType = AnchorTypographyType | LabelTypographyType | OtherTypographyType;
|
|
12
|
+
export type StaticTypographyType = OtherTypographyType | LabelTypographyType;
|
|
13
|
+
export type InlineElement = 'a' | 'abbr' | 'audio' | 'b' | 'bdi' | 'bdo' | 'big' | 'br' | 'button' | 'canvas' | 'cite' | 'code' | 'data' | 'datalist' | 'del' | 'dfn' | 'em' | 'embed' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'map' | 'mark' | 'meter' | 'noscript' | 'object' | 'output' | 'picture' | 'progress' | 'q' | 'ruby' | 's' | 'samp' | 'script' | 'select' | 'slot' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'svg' | 'template' | 'textarea' | 'time' | 'u' | 'var' | 'video' | 'wbr';
|
|
14
|
+
export type TypographyInteractionStyling = {
|
|
15
|
+
hover?: CSSProperties;
|
|
16
|
+
active?: CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
export type BaseTypographyProps = PropsWithChildren<{
|
|
19
|
+
/**Spesifiserer om tekstelementet skal ha spacing definert i Elsa. Brukes hovedsakelig i artikler og lignende. **OBS!** har forskjellig virkning på ulike typografityper. `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens `supportingStyles` får margin topp og bunn. */
|
|
20
|
+
withMargins?: boolean;
|
|
21
|
+
}> & Pick<HTMLAttributes<HTMLElement>, 'style'>;
|
|
22
|
+
export type TypographyComponentProps = BaseTypographyProps & {
|
|
23
|
+
/**Tekstfarge fra utvalget eller custom. **OBS!** Bruk farger fra `@dds-design-tokens`. */
|
|
24
|
+
color?: TextColor;
|
|
25
|
+
/**Setter `bold` styling. */
|
|
26
|
+
bold?: boolean;
|
|
27
|
+
/**Setter `italic` styling. */
|
|
28
|
+
italic?: boolean;
|
|
29
|
+
/**Setter en linje under. */
|
|
30
|
+
underline?: boolean;
|
|
31
|
+
/**HTML tag som skal brukes istedenfor default definert via `typographyType`. */
|
|
32
|
+
as?: ElementType;
|
|
33
|
+
/**Støtte for å enkelt kunne endre på hover- og active-styling. Bruk `@dds-design-tokens` til farger osv. */
|
|
34
|
+
interactionProps?: TypographyInteractionStyling;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Typography';
|
|
2
|
-
export * from './Typography.types';
|
|
1
|
+
export * from './Typography';
|
|
2
|
+
export * from './Typography.types';
|