@norges-domstoler/dds-components 11.3.2 → 12.0.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/README.md +0 -1
- package/dist/cjs/components/BackLink/BackLink.d.ts +6 -0
- package/dist/cjs/components/BackLink/BackLink.stories.d.ts +17 -0
- package/dist/cjs/components/BackLink/BackLink.tokens.d.ts +8 -0
- package/dist/cjs/components/BackLink/index.d.ts +1 -0
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.d.ts +3 -12
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -16
- package/dist/cjs/components/Button/Button.d.ts +1 -0
- package/dist/cjs/components/Button/Button.stories.d.ts +3 -3
- package/dist/cjs/components/Card/CardAccordion/CardAccordion.d.ts +1 -0
- package/dist/cjs/components/Card/CardAccordion/CardAccordionBody.d.ts +1 -0
- package/dist/cjs/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +2 -2
- package/dist/cjs/components/Checkbox/CheckboxGroup.d.ts +1 -0
- package/dist/cjs/components/Chip/Chip.d.ts +1 -0
- package/dist/cjs/components/Datepicker/Datepicker.d.ts +1 -0
- package/dist/cjs/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/dist/cjs/components/DescriptionList/DescriptionListDesc.d.ts +1 -0
- package/dist/cjs/components/DescriptionList/DescriptionListGroup.d.ts +1 -0
- package/dist/cjs/components/Divider/Divider.d.ts +1 -0
- package/dist/cjs/components/FileUploader/ErrorList.d.ts +1 -0
- package/dist/cjs/components/FileUploader/File.d.ts +1 -0
- package/dist/cjs/components/FileUploader/FileUploader.d.ts +1 -0
- package/dist/cjs/components/FileUploader/utils.d.ts +1 -0
- package/dist/cjs/components/GlobalMessage/GlobalMessage.d.ts +1 -0
- package/dist/cjs/components/Grid/Grid.context.d.ts +1 -0
- package/dist/cjs/components/Icon/Icon.d.ts +1 -0
- package/dist/cjs/components/InlineEdit/InlineEdit.d.ts +1 -0
- package/dist/cjs/components/InlineEdit/InlineEdit.utils.d.ts +1 -0
- package/dist/cjs/components/InlineEdit/InlineEditInput.d.ts +1 -0
- package/dist/cjs/components/InlineEdit/InlineEditTextArea.d.ts +1 -0
- package/dist/cjs/components/InputMessage/InputMessage.d.ts +1 -0
- package/dist/cjs/components/InternalHeader/InternalHeader.d.ts +1 -0
- package/dist/cjs/components/InternalHeader/InternalHeader.styles.d.ts +1 -0
- package/dist/cjs/components/List/List.d.ts +1 -0
- package/dist/cjs/components/LocalMessage/LocalMessage.d.ts +1 -0
- package/dist/cjs/components/Modal/ModalBody.d.ts +1 -0
- package/dist/cjs/components/OverflowMenu/OverflowMenu.d.ts +1 -0
- package/dist/cjs/components/ProgressTracker/ProgressTracker.context.d.ts +1 -0
- package/dist/cjs/components/ProgressTracker/ProgressTrackerItem.d.ts +1 -0
- package/dist/cjs/components/RadioButton/RadioButton.d.ts +1 -0
- package/dist/cjs/components/RadioButton/RadioButton.stories.d.ts +3 -3
- package/dist/cjs/components/ScrollableContainer/ScrollableContainer.d.ts +1 -0
- package/dist/cjs/components/SkipToContent/SkipToContent.d.ts +1 -0
- package/dist/cjs/components/Spinner/Spinner.d.ts +1 -0
- package/dist/cjs/components/SplitButton/SplitButton.d.ts +1 -0
- package/dist/cjs/components/Stack/Stack.d.ts +1 -0
- package/dist/cjs/components/Stack/Stack.stories.d.ts +1 -0
- package/dist/cjs/components/Table/Row.d.ts +1 -0
- package/dist/cjs/components/Table/Table.d.ts +1 -0
- package/dist/cjs/components/Table/collapsible/CollapsibleRow.d.ts +1 -0
- package/dist/cjs/components/Table/collapsible/CollapsibleTable.d.ts +1 -0
- package/dist/cjs/components/Table/collapsible/Table.context.d.ts +1 -0
- package/dist/cjs/components/Tabs/TabPanel.d.ts +1 -0
- package/dist/cjs/components/Tag/Tag.d.ts +1 -0
- package/dist/cjs/components/TextInput/CharCounter.d.ts +1 -0
- package/dist/cjs/components/ToggleBar/ToggleBar.d.ts +1 -0
- package/dist/cjs/components/ToggleButton/ToggleButton.d.ts +1 -0
- package/dist/cjs/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
- package/dist/cjs/components/ToggleButton/ToggleButtonGroup.d.ts +1 -0
- package/dist/cjs/components/Tooltip/Tooltip.stories.d.ts +2 -2
- package/dist/cjs/components/Typography/Caption/Caption.d.ts +1 -0
- package/dist/cjs/components/Typography/Heading/Heading.d.ts +1 -0
- package/dist/cjs/components/Typography/Legend/Legend.d.ts +1 -0
- package/dist/cjs/components/Typography/Link/Link.stories.d.ts +3 -3
- package/dist/cjs/components/Typography/Paragraph/Paragraph.d.ts +1 -0
- package/dist/cjs/components/VisuallyHidden/VisuallyHidden.d.ts +1 -0
- package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.d.ts +1 -0
- package/dist/cjs/helpers/Input/Input.utils.d.ts +1 -0
- package/dist/cjs/helpers/RequiredMarker/RequiredMarker.d.ts +1 -0
- package/dist/cjs/hooks/useFloatPosition.d.ts +1 -0
- package/dist/cjs/icons/tsx/apps.d.ts +1 -0
- package/dist/cjs/icons/tsx/archive.d.ts +1 -0
- package/dist/cjs/icons/tsx/arrowDown.d.ts +1 -0
- package/dist/cjs/icons/tsx/arrowLeft.d.ts +1 -0
- package/dist/cjs/icons/tsx/arrowRight.d.ts +1 -0
- package/dist/cjs/icons/tsx/arrowUp.d.ts +1 -0
- package/dist/cjs/icons/tsx/attachment.d.ts +1 -0
- package/dist/cjs/icons/tsx/barChart.d.ts +1 -0
- package/dist/cjs/icons/tsx/barChartBoxed.d.ts +1 -0
- package/dist/cjs/icons/tsx/block.d.ts +1 -0
- package/dist/cjs/icons/tsx/book.d.ts +1 -0
- package/dist/cjs/icons/tsx/build.d.ts +1 -0
- package/dist/cjs/icons/tsx/buildCircled.d.ts +1 -0
- package/dist/cjs/icons/tsx/calendar.d.ts +1 -0
- package/dist/cjs/icons/tsx/calendarMonth.d.ts +1 -0
- package/dist/cjs/icons/tsx/calendarViewDay.d.ts +1 -0
- package/dist/cjs/icons/tsx/calendarViewMonth.d.ts +1 -0
- package/dist/cjs/icons/tsx/calendarViewWeek.d.ts +1 -0
- package/dist/cjs/icons/tsx/call.d.ts +1 -0
- package/dist/cjs/icons/tsx/chat.d.ts +1 -0
- package/dist/cjs/icons/tsx/check.d.ts +1 -0
- package/dist/cjs/icons/tsx/checkCircled.d.ts +1 -0
- package/dist/cjs/icons/tsx/checklist.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronDown.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronFirst.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronLargeLeft.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronLargeRight.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronLast.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronLeft.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronRight.d.ts +1 -0
- package/dist/cjs/icons/tsx/chevronUp.d.ts +1 -0
- package/dist/cjs/icons/tsx/close.d.ts +1 -0
- package/dist/cjs/icons/tsx/closeCircled.d.ts +1 -0
- package/dist/cjs/icons/tsx/closeSmall.d.ts +1 -0
- package/dist/cjs/icons/tsx/cloud.d.ts +1 -0
- package/dist/cjs/icons/tsx/collapse.d.ts +1 -0
- package/dist/cjs/icons/tsx/comment.d.ts +1 -0
- package/dist/cjs/icons/tsx/copy.d.ts +1 -0
- package/dist/cjs/icons/tsx/court.d.ts +1 -0
- package/dist/cjs/icons/tsx/dateRange.d.ts +1 -0
- package/dist/cjs/icons/tsx/deaths.d.ts +1 -0
- package/dist/cjs/icons/tsx/doubleChevronLeft.d.ts +1 -0
- package/dist/cjs/icons/tsx/doubleChevronRight.d.ts +1 -0
- package/dist/cjs/icons/tsx/download.d.ts +1 -0
- package/dist/cjs/icons/tsx/downloadDone.d.ts +1 -0
- package/dist/cjs/icons/tsx/dragHandle.d.ts +1 -0
- package/dist/cjs/icons/tsx/edit.d.ts +1 -0
- package/dist/cjs/icons/tsx/error.d.ts +1 -0
- package/dist/cjs/icons/tsx/exclaim.d.ts +1 -0
- package/dist/cjs/icons/tsx/expand.d.ts +1 -0
- package/dist/cjs/icons/tsx/facebook.d.ts +1 -0
- package/dist/cjs/icons/tsx/family.d.ts +1 -0
- package/dist/cjs/icons/tsx/feedback.d.ts +1 -0
- package/dist/cjs/icons/tsx/file.d.ts +1 -0
- package/dist/cjs/icons/tsx/fileAdd.d.ts +1 -0
- package/dist/cjs/icons/tsx/fileText.d.ts +1 -0
- package/dist/cjs/icons/tsx/filter.d.ts +1 -0
- package/dist/cjs/icons/tsx/filterList.d.ts +1 -0
- package/dist/cjs/icons/tsx/filterListOff.d.ts +1 -0
- package/dist/cjs/icons/tsx/filterOff.d.ts +1 -0
- package/dist/cjs/icons/tsx/findInPage.d.ts +1 -0
- package/dist/cjs/icons/tsx/folder.d.ts +1 -0
- package/dist/cjs/icons/tsx/folderAdd.d.ts +1 -0
- package/dist/cjs/icons/tsx/fullsceenExit.d.ts +1 -0
- package/dist/cjs/icons/tsx/fullscreen.d.ts +1 -0
- package/dist/cjs/icons/tsx/gavel.d.ts +1 -0
- package/dist/cjs/icons/tsx/help.d.ts +1 -0
- package/dist/cjs/icons/tsx/helpFilled.d.ts +1 -0
- package/dist/cjs/icons/tsx/home.d.ts +1 -0
- package/dist/cjs/icons/tsx/image.d.ts +1 -0
- package/dist/cjs/icons/tsx/info.d.ts +1 -0
- package/dist/cjs/icons/tsx/instagram.d.ts +1 -0
- package/dist/cjs/icons/tsx/jordskifterett.d.ts +1 -0
- package/dist/cjs/icons/tsx/key.d.ts +1 -0
- package/dist/cjs/icons/tsx/lagmannsrett.d.ts +1 -0
- package/dist/cjs/icons/tsx/language.d.ts +1 -0
- package/dist/cjs/icons/tsx/libraryAdd.d.ts +1 -0
- package/dist/cjs/icons/tsx/lineChart.d.ts +1 -0
- package/dist/cjs/icons/tsx/link.d.ts +1 -0
- package/dist/cjs/icons/tsx/linkOff.d.ts +1 -0
- package/dist/cjs/icons/tsx/linkedIn.d.ts +1 -0
- package/dist/cjs/icons/tsx/list.d.ts +1 -0
- package/dist/cjs/icons/tsx/listAlt.d.ts +1 -0
- package/dist/cjs/icons/tsx/location.d.ts +1 -0
- package/dist/cjs/icons/tsx/lock.d.ts +1 -0
- package/dist/cjs/icons/tsx/lockOpen.d.ts +1 -0
- package/dist/cjs/icons/tsx/login.d.ts +1 -0
- package/dist/cjs/icons/tsx/logout.d.ts +1 -0
- package/dist/cjs/icons/tsx/mail.d.ts +1 -0
- package/dist/cjs/icons/tsx/mailOpen.d.ts +1 -0
- package/dist/cjs/icons/tsx/menu.d.ts +1 -0
- package/dist/cjs/icons/tsx/minus.d.ts +1 -0
- package/dist/cjs/icons/tsx/minusCircled.d.ts +1 -0
- package/dist/cjs/icons/tsx/moreHorizontal.d.ts +1 -0
- package/dist/cjs/icons/tsx/moreVertical.d.ts +1 -0
- package/dist/cjs/icons/tsx/notarial.d.ts +1 -0
- package/dist/cjs/icons/tsx/notifications.d.ts +1 -0
- package/dist/cjs/icons/tsx/notificationsOff.d.ts +1 -0
- package/dist/cjs/icons/tsx/onlineMeeting.d.ts +1 -0
- package/dist/cjs/icons/tsx/openExternal.d.ts +1 -0
- package/dist/cjs/icons/tsx/pdf.d.ts +1 -0
- package/dist/cjs/icons/tsx/person.d.ts +1 -0
- package/dist/cjs/icons/tsx/personAdd.d.ts +1 -0
- package/dist/cjs/icons/tsx/pin.d.ts +1 -0
- package/dist/cjs/icons/tsx/plus.d.ts +1 -0
- package/dist/cjs/icons/tsx/plusCircled.d.ts +1 -0
- package/dist/cjs/icons/tsx/print.d.ts +1 -0
- package/dist/cjs/icons/tsx/property.d.ts +1 -0
- package/dist/cjs/icons/tsx/publish.d.ts +1 -0
- package/dist/cjs/icons/tsx/questionAnswer.d.ts +1 -0
- package/dist/cjs/icons/tsx/receipt.d.ts +1 -0
- package/dist/cjs/icons/tsx/redo.d.ts +1 -0
- package/dist/cjs/icons/tsx/refresh.d.ts +1 -0
- package/dist/cjs/icons/tsx/replay.d.ts +1 -0
- package/dist/cjs/icons/tsx/search.d.ts +1 -0
- package/dist/cjs/icons/tsx/settings.d.ts +1 -0
- package/dist/cjs/icons/tsx/sms.d.ts +1 -0
- package/dist/cjs/icons/tsx/star.d.ts +1 -0
- package/dist/cjs/icons/tsx/starFilled.d.ts +1 -0
- package/dist/cjs/icons/tsx/sync.d.ts +1 -0
- package/dist/cjs/icons/tsx/time.d.ts +1 -0
- package/dist/cjs/icons/tsx/tingrett.d.ts +1 -0
- package/dist/cjs/icons/tsx/tip.d.ts +1 -0
- package/dist/cjs/icons/tsx/trash.d.ts +1 -0
- package/dist/cjs/icons/tsx/trendingDown.d.ts +1 -0
- package/dist/cjs/icons/tsx/trendingUp.d.ts +1 -0
- package/dist/cjs/icons/tsx/twitter.d.ts +1 -0
- package/dist/cjs/icons/tsx/undo.d.ts +1 -0
- package/dist/cjs/icons/tsx/unfoldLess.d.ts +1 -0
- package/dist/cjs/icons/tsx/unfoldMore.d.ts +1 -0
- package/dist/cjs/icons/tsx/upload.d.ts +1 -0
- package/dist/cjs/icons/tsx/visibilityOff.d.ts +1 -0
- package/dist/cjs/icons/tsx/visibilityOn.d.ts +1 -0
- package/dist/cjs/icons/tsx/warning.d.ts +1 -0
- package/dist/cjs/icons/tsx/zoomIn.d.ts +1 -0
- package/dist/cjs/icons/tsx/zoomOut.d.ts +1 -0
- package/dist/cjs/icons/utils/SvgWrapper.d.ts +1 -0
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +654 -974
- package/dist/cjs/test/mocks/IntersectionObserver.d.ts +1 -0
- package/dist/components/BackLink/BackLink.d.ts +6 -0
- package/dist/components/BackLink/BackLink.js +47 -0
- package/dist/components/BackLink/BackLink.stories.d.ts +17 -0
- package/dist/components/BackLink/BackLink.tokens.d.ts +8 -0
- package/dist/components/BackLink/BackLink.tokens.js +16 -0
- package/dist/components/BackLink/index.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -12
- package/dist/components/Breadcrumbs/Breadcrumbs.js +3 -10
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -16
- package/dist/components/Button/Button.d.ts +1 -0
- package/dist/components/Button/Button.stories.d.ts +3 -3
- package/dist/components/Card/CardAccordion/CardAccordion.d.ts +1 -0
- package/dist/components/Card/CardAccordion/CardAccordionBody.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +2 -2
- package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -0
- package/dist/components/Chip/Chip.d.ts +1 -0
- package/dist/components/Datepicker/Datepicker.d.ts +1 -0
- package/dist/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/dist/components/DescriptionList/DescriptionListDesc.d.ts +1 -0
- package/dist/components/DescriptionList/DescriptionListGroup.d.ts +1 -0
- package/dist/components/Divider/Divider.d.ts +1 -0
- package/dist/components/FileUploader/ErrorList.d.ts +1 -0
- package/dist/components/FileUploader/File.d.ts +1 -0
- package/dist/components/FileUploader/FileUploader.d.ts +1 -0
- package/dist/components/FileUploader/utils.d.ts +1 -0
- package/dist/components/GlobalMessage/GlobalMessage.d.ts +1 -0
- package/dist/components/Grid/Grid.context.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +1 -0
- package/dist/components/InlineEdit/InlineEdit.d.ts +1 -0
- package/dist/components/InlineEdit/InlineEdit.utils.d.ts +1 -0
- package/dist/components/InlineEdit/InlineEditInput.d.ts +1 -0
- package/dist/components/InlineEdit/InlineEditTextArea.d.ts +1 -0
- package/dist/components/InputMessage/InputMessage.d.ts +1 -0
- package/dist/components/InternalHeader/InternalHeader.d.ts +1 -0
- package/dist/components/InternalHeader/InternalHeader.styles.d.ts +1 -0
- package/dist/components/List/List.d.ts +1 -0
- package/dist/components/LocalMessage/LocalMessage.d.ts +1 -0
- package/dist/components/Modal/ModalBody.d.ts +1 -0
- package/dist/components/OverflowMenu/OverflowMenu.d.ts +1 -0
- package/dist/components/ProgressTracker/ProgressTracker.context.d.ts +1 -0
- package/dist/components/ProgressTracker/ProgressTrackerItem.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.stories.d.ts +3 -3
- package/dist/components/ScrollableContainer/ScrollableContainer.d.ts +1 -0
- package/dist/components/SkipToContent/SkipToContent.d.ts +1 -0
- package/dist/components/Spinner/Spinner.d.ts +1 -0
- package/dist/components/SplitButton/SplitButton.d.ts +1 -0
- package/dist/components/Stack/Stack.d.ts +1 -0
- package/dist/components/Stack/Stack.stories.d.ts +1 -0
- package/dist/components/Table/Row.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +1 -0
- package/dist/components/Table/collapsible/CollapsibleRow.d.ts +1 -0
- package/dist/components/Table/collapsible/CollapsibleTable.d.ts +1 -0
- package/dist/components/Table/collapsible/Table.context.d.ts +1 -0
- package/dist/components/Tabs/TabPanel.d.ts +1 -0
- package/dist/components/Tag/Tag.d.ts +1 -0
- package/dist/components/TextInput/CharCounter.d.ts +1 -0
- package/dist/components/ToggleBar/ToggleBar.d.ts +1 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +1 -0
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
- package/dist/components/ToggleButton/ToggleButtonGroup.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +2 -2
- package/dist/components/Typography/Caption/Caption.d.ts +1 -0
- package/dist/components/Typography/Heading/Heading.d.ts +1 -0
- package/dist/components/Typography/Legend/Legend.d.ts +1 -0
- package/dist/components/Typography/Link/Link.stories.d.ts +3 -3
- package/dist/components/Typography/Paragraph/Paragraph.d.ts +1 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -0
- package/dist/helpers/Chevron/AnimatedChevronUpDown.d.ts +1 -0
- package/dist/helpers/Input/Input.utils.d.ts +1 -0
- package/dist/helpers/RequiredMarker/RequiredMarker.d.ts +1 -0
- package/dist/hooks/useFloatPosition.d.ts +1 -0
- package/dist/icons/tsx/apps.d.ts +1 -0
- package/dist/icons/tsx/archive.d.ts +1 -0
- package/dist/icons/tsx/arrowDown.d.ts +1 -0
- package/dist/icons/tsx/arrowLeft.d.ts +1 -0
- package/dist/icons/tsx/arrowRight.d.ts +1 -0
- package/dist/icons/tsx/arrowUp.d.ts +1 -0
- package/dist/icons/tsx/attachment.d.ts +1 -0
- package/dist/icons/tsx/barChart.d.ts +1 -0
- package/dist/icons/tsx/barChartBoxed.d.ts +1 -0
- package/dist/icons/tsx/block.d.ts +1 -0
- package/dist/icons/tsx/book.d.ts +1 -0
- package/dist/icons/tsx/build.d.ts +1 -0
- package/dist/icons/tsx/buildCircled.d.ts +1 -0
- package/dist/icons/tsx/calendar.d.ts +1 -0
- package/dist/icons/tsx/calendarMonth.d.ts +1 -0
- package/dist/icons/tsx/calendarViewDay.d.ts +1 -0
- package/dist/icons/tsx/calendarViewMonth.d.ts +1 -0
- package/dist/icons/tsx/calendarViewWeek.d.ts +1 -0
- package/dist/icons/tsx/call.d.ts +1 -0
- package/dist/icons/tsx/chat.d.ts +1 -0
- package/dist/icons/tsx/check.d.ts +1 -0
- package/dist/icons/tsx/checkCircled.d.ts +1 -0
- package/dist/icons/tsx/checklist.d.ts +1 -0
- package/dist/icons/tsx/chevronDown.d.ts +1 -0
- package/dist/icons/tsx/chevronFirst.d.ts +1 -0
- package/dist/icons/tsx/chevronLargeLeft.d.ts +1 -0
- package/dist/icons/tsx/chevronLargeRight.d.ts +1 -0
- package/dist/icons/tsx/chevronLast.d.ts +1 -0
- package/dist/icons/tsx/chevronLeft.d.ts +1 -0
- package/dist/icons/tsx/chevronRight.d.ts +1 -0
- package/dist/icons/tsx/chevronUp.d.ts +1 -0
- package/dist/icons/tsx/close.d.ts +1 -0
- package/dist/icons/tsx/closeCircled.d.ts +1 -0
- package/dist/icons/tsx/closeSmall.d.ts +1 -0
- package/dist/icons/tsx/cloud.d.ts +1 -0
- package/dist/icons/tsx/collapse.d.ts +1 -0
- package/dist/icons/tsx/comment.d.ts +1 -0
- package/dist/icons/tsx/copy.d.ts +1 -0
- package/dist/icons/tsx/court.d.ts +1 -0
- package/dist/icons/tsx/dateRange.d.ts +1 -0
- package/dist/icons/tsx/deaths.d.ts +1 -0
- package/dist/icons/tsx/doubleChevronLeft.d.ts +1 -0
- package/dist/icons/tsx/doubleChevronRight.d.ts +1 -0
- package/dist/icons/tsx/download.d.ts +1 -0
- package/dist/icons/tsx/downloadDone.d.ts +1 -0
- package/dist/icons/tsx/dragHandle.d.ts +1 -0
- package/dist/icons/tsx/edit.d.ts +1 -0
- package/dist/icons/tsx/error.d.ts +1 -0
- package/dist/icons/tsx/exclaim.d.ts +1 -0
- package/dist/icons/tsx/expand.d.ts +1 -0
- package/dist/icons/tsx/facebook.d.ts +1 -0
- package/dist/icons/tsx/family.d.ts +1 -0
- package/dist/icons/tsx/feedback.d.ts +1 -0
- package/dist/icons/tsx/file.d.ts +1 -0
- package/dist/icons/tsx/fileAdd.d.ts +1 -0
- package/dist/icons/tsx/fileText.d.ts +1 -0
- package/dist/icons/tsx/filter.d.ts +1 -0
- package/dist/icons/tsx/filterList.d.ts +1 -0
- package/dist/icons/tsx/filterListOff.d.ts +1 -0
- package/dist/icons/tsx/filterOff.d.ts +1 -0
- package/dist/icons/tsx/findInPage.d.ts +1 -0
- package/dist/icons/tsx/folder.d.ts +1 -0
- package/dist/icons/tsx/folderAdd.d.ts +1 -0
- package/dist/icons/tsx/fullsceenExit.d.ts +1 -0
- package/dist/icons/tsx/fullscreen.d.ts +1 -0
- package/dist/icons/tsx/gavel.d.ts +1 -0
- package/dist/icons/tsx/help.d.ts +1 -0
- package/dist/icons/tsx/helpFilled.d.ts +1 -0
- package/dist/icons/tsx/home.d.ts +1 -0
- package/dist/icons/tsx/image.d.ts +1 -0
- package/dist/icons/tsx/info.d.ts +1 -0
- package/dist/icons/tsx/instagram.d.ts +1 -0
- package/dist/icons/tsx/jordskifterett.d.ts +1 -0
- package/dist/icons/tsx/key.d.ts +1 -0
- package/dist/icons/tsx/lagmannsrett.d.ts +1 -0
- package/dist/icons/tsx/language.d.ts +1 -0
- package/dist/icons/tsx/libraryAdd.d.ts +1 -0
- package/dist/icons/tsx/lineChart.d.ts +1 -0
- package/dist/icons/tsx/link.d.ts +1 -0
- package/dist/icons/tsx/linkOff.d.ts +1 -0
- package/dist/icons/tsx/linkedIn.d.ts +1 -0
- package/dist/icons/tsx/list.d.ts +1 -0
- package/dist/icons/tsx/listAlt.d.ts +1 -0
- package/dist/icons/tsx/location.d.ts +1 -0
- package/dist/icons/tsx/lock.d.ts +1 -0
- package/dist/icons/tsx/lockOpen.d.ts +1 -0
- package/dist/icons/tsx/login.d.ts +1 -0
- package/dist/icons/tsx/logout.d.ts +1 -0
- package/dist/icons/tsx/mail.d.ts +1 -0
- package/dist/icons/tsx/mailOpen.d.ts +1 -0
- package/dist/icons/tsx/menu.d.ts +1 -0
- package/dist/icons/tsx/minus.d.ts +1 -0
- package/dist/icons/tsx/minusCircled.d.ts +1 -0
- package/dist/icons/tsx/moreHorizontal.d.ts +1 -0
- package/dist/icons/tsx/moreVertical.d.ts +1 -0
- package/dist/icons/tsx/notarial.d.ts +1 -0
- package/dist/icons/tsx/notifications.d.ts +1 -0
- package/dist/icons/tsx/notificationsOff.d.ts +1 -0
- package/dist/icons/tsx/onlineMeeting.d.ts +1 -0
- package/dist/icons/tsx/openExternal.d.ts +1 -0
- package/dist/icons/tsx/pdf.d.ts +1 -0
- package/dist/icons/tsx/person.d.ts +1 -0
- package/dist/icons/tsx/personAdd.d.ts +1 -0
- package/dist/icons/tsx/pin.d.ts +1 -0
- package/dist/icons/tsx/plus.d.ts +1 -0
- package/dist/icons/tsx/plusCircled.d.ts +1 -0
- package/dist/icons/tsx/print.d.ts +1 -0
- package/dist/icons/tsx/property.d.ts +1 -0
- package/dist/icons/tsx/publish.d.ts +1 -0
- package/dist/icons/tsx/questionAnswer.d.ts +1 -0
- package/dist/icons/tsx/receipt.d.ts +1 -0
- package/dist/icons/tsx/redo.d.ts +1 -0
- package/dist/icons/tsx/refresh.d.ts +1 -0
- package/dist/icons/tsx/replay.d.ts +1 -0
- package/dist/icons/tsx/search.d.ts +1 -0
- package/dist/icons/tsx/settings.d.ts +1 -0
- package/dist/icons/tsx/sms.d.ts +1 -0
- package/dist/icons/tsx/star.d.ts +1 -0
- package/dist/icons/tsx/starFilled.d.ts +1 -0
- package/dist/icons/tsx/sync.d.ts +1 -0
- package/dist/icons/tsx/time.d.ts +1 -0
- package/dist/icons/tsx/tingrett.d.ts +1 -0
- package/dist/icons/tsx/tip.d.ts +1 -0
- package/dist/icons/tsx/trash.d.ts +1 -0
- package/dist/icons/tsx/trendingDown.d.ts +1 -0
- package/dist/icons/tsx/trendingUp.d.ts +1 -0
- package/dist/icons/tsx/twitter.d.ts +1 -0
- package/dist/icons/tsx/undo.d.ts +1 -0
- package/dist/icons/tsx/unfoldLess.d.ts +1 -0
- package/dist/icons/tsx/unfoldMore.d.ts +1 -0
- package/dist/icons/tsx/upload.d.ts +1 -0
- package/dist/icons/tsx/visibilityOff.d.ts +1 -0
- package/dist/icons/tsx/visibilityOn.d.ts +1 -0
- package/dist/icons/tsx/warning.d.ts +1 -0
- package/dist/icons/tsx/zoomIn.d.ts +1 -0
- package/dist/icons/tsx/zoomOut.d.ts +1 -0
- package/dist/icons/utils/SvgWrapper.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -2
- package/dist/test/mocks/IntersectionObserver.d.ts +1 -0
- package/package.json +7 -27
- package/dist/cjs/components/FormGenerator/FormGenerator.d.ts +0 -5
- package/dist/cjs/components/FormGenerator/FormGenerator.examples.d.ts +0 -5
- package/dist/cjs/components/FormGenerator/FormGenerator.stories.d.ts +0 -10
- package/dist/cjs/components/FormGenerator/FormGenerator.styles.d.ts +0 -10
- package/dist/cjs/components/FormGenerator/FormGenerator.tokens.d.ts +0 -19
- package/dist/cjs/components/FormGenerator/FormGenerator.types.d.ts +0 -223
- package/dist/cjs/components/FormGenerator/index.d.ts +0 -2
- package/dist/components/FormGenerator/FormGenerator.d.ts +0 -5
- package/dist/components/FormGenerator/FormGenerator.examples.d.ts +0 -5
- package/dist/components/FormGenerator/FormGenerator.js +0 -316
- package/dist/components/FormGenerator/FormGenerator.stories.d.ts +0 -10
- package/dist/components/FormGenerator/FormGenerator.styles.d.ts +0 -10
- package/dist/components/FormGenerator/FormGenerator.styles.js +0 -48
- package/dist/components/FormGenerator/FormGenerator.tokens.d.ts +0 -19
- package/dist/components/FormGenerator/FormGenerator.tokens.js +0 -21
- package/dist/components/FormGenerator/FormGenerator.types.d.ts +0 -223
- package/dist/components/FormGenerator/FormGenerator.types.js +0 -33
- package/dist/components/FormGenerator/index.d.ts +0 -2
package/README.md
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BackLinkProps } from '.';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<BackLinkProps & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
argTypes: {
|
|
6
|
+
label: {
|
|
7
|
+
control: string;
|
|
8
|
+
defaultValue: string;
|
|
9
|
+
};
|
|
10
|
+
href: {
|
|
11
|
+
control: string;
|
|
12
|
+
defaultValue: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Default: (args: BackLinkProps) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BackLink';
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { BaseComponentPropsWithChildren } from '../../types';
|
|
2
|
-
export type BreadcrumbsProps = BaseComponentPropsWithChildren<HTMLElement
|
|
3
|
-
|
|
4
|
-
smallScreen?: boolean;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLElement>, "className" | "id"> & {
|
|
7
|
-
/** Spesifiserer om versjonen for små skjermer skal vises; den viser `<Breadcrumb />` kun til den forrige siden. */
|
|
8
|
-
smallScreen?: boolean | undefined;
|
|
9
|
-
} & {
|
|
10
|
-
children?: import("react").ReactNode;
|
|
11
|
-
} & {
|
|
12
|
-
htmlProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
13
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
3
|
+
export type BreadcrumbsProps = BaseComponentPropsWithChildren<HTMLElement>;
|
|
4
|
+
export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Pick<BreadcrumbsProps, string> & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,22 +1,8 @@
|
|
|
1
1
|
import { BreadcrumbsProps } from '.';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<import("react").
|
|
5
|
-
|
|
6
|
-
} & {
|
|
7
|
-
children?: import("react").ReactNode;
|
|
8
|
-
} & {
|
|
9
|
-
htmlProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
10
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
11
|
-
argTypes: {
|
|
12
|
-
smallScreen: {
|
|
13
|
-
control: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Pick<BreadcrumbsProps, string> & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
argTypes: {};
|
|
18
6
|
};
|
|
19
7
|
export default _default;
|
|
20
|
-
export declare const Overview: (args: BreadcrumbsProps) => JSX.Element;
|
|
21
8
|
export declare const Default: (args: BreadcrumbsProps) => JSX.Element;
|
|
22
|
-
export declare const SmallScreen: () => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const Button: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "onFocus" | "onBlur" | "type">, "id" | "className"> & {
|
|
2
3
|
size?: import("./Button.types").ButtonSize | undefined;
|
|
3
4
|
label?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '.';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "onClick" | "type">, "className" | "id"> & {
|
|
5
5
|
size?: import("./Button.types").ButtonSize | undefined;
|
|
6
6
|
label?: string | undefined;
|
|
7
7
|
purpose?: import("./Button.types").ButtonPurpose | undefined;
|
|
@@ -13,12 +13,12 @@ declare const _default: {
|
|
|
13
13
|
href?: string | undefined;
|
|
14
14
|
target?: string | undefined;
|
|
15
15
|
} & {
|
|
16
|
-
type?: "button" | "submit" | "reset" | undefined;
|
|
17
16
|
onFocus?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
18
17
|
onBlur?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
19
18
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
19
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
20
20
|
} & {
|
|
21
|
-
htmlProps?: Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
21
|
+
htmlProps?: Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "onClick" | "type"> | undefined;
|
|
22
22
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
23
23
|
argTypes: {
|
|
24
24
|
label: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "name" | "checked" | "defaultChecked" | "value" | "defaultValue" | "onChange" | "onBlur">, "id" | "className"> & {
|
|
2
3
|
label?: string | undefined;
|
|
3
4
|
error?: boolean | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CheckboxProps } from '.';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked">, "className" | "id"> & {
|
|
5
5
|
label?: string | undefined;
|
|
6
6
|
error?: boolean | undefined;
|
|
7
7
|
disabled?: boolean | undefined;
|
|
8
8
|
readOnly?: boolean | undefined;
|
|
9
9
|
indeterminate?: boolean | undefined;
|
|
10
10
|
} & import("../../types").CheckboxPickedHTMLAttributes & {
|
|
11
|
-
htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
11
|
+
htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked"> | undefined;
|
|
12
12
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
13
|
argTypes: {
|
|
14
14
|
label: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const preventDefaults: (event: React.BaseSyntheticEvent) => void;
|
|
2
3
|
export declare const isDragEvent: (event: unknown) => event is import("react").DragEvent<unknown>;
|
|
3
4
|
export declare const isEventWithFiles: (event: React.DragEvent<unknown> | React.ChangeEvent<HTMLInputElement>) => boolean;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const InlineEditInput: import("react").ForwardRefExoticComponent<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "width" | "onChange" | "onFocus" | "onBlur"> & Pick<import("./InlineEdit.types").InlineEditProps, "onChange" | "onFocus" | "onBlur" | "onSetValue" | "emptiable"> & Pick<import("./InlineEdit.types").BaseInlineInputProps, "width" | "error" | "errorMessage" | "hideIcon"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const InlineEditTextArea: import("react").ForwardRefExoticComponent<Omit<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "onFocus" | "onBlur"> & Pick<import("./InlineEdit.types").InlineEditProps, "onChange" | "onFocus" | "onBlur" | "onSetValue" | "emptiable"> & Pick<import("./InlineEdit.types").BaseInlineInputProps, "error" | "errorMessage" | "width" | "hideIcon"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const RadioButton: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "readOnly" | "checked" | "value" | "required" | "onChange" | "aria-describedby">, "id" | "className"> & {
|
|
2
3
|
label?: string | undefined;
|
|
3
4
|
disabled?: boolean | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RadioButtonProps } from '.';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "onChange" | "name" | "value" | "checked" | "readOnly" | "required">, "className" | "id"> & {
|
|
5
5
|
label?: string | undefined;
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
error?: boolean | undefined;
|
|
8
8
|
} & {
|
|
9
|
-
name?: string | undefined;
|
|
10
9
|
'aria-describedby'?: string | undefined;
|
|
11
10
|
onChange?: import("react").ChangeEventHandler<HTMLInputElement> | undefined;
|
|
11
|
+
name?: string | undefined;
|
|
12
12
|
value?: string | number | readonly string[] | undefined;
|
|
13
13
|
checked?: boolean | undefined;
|
|
14
14
|
readOnly?: boolean | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
} & {
|
|
17
17
|
children?: import("react").ReactNode;
|
|
18
18
|
} & {
|
|
19
|
-
htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
19
|
+
htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "onChange" | "name" | "value" | "checked" | "readOnly" | "required"> | undefined;
|
|
20
20
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
21
21
|
argTypes: {
|
|
22
22
|
label: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentMeta } from '@storybook/react';
|
|
2
3
|
import { StackProps } from './Stack';
|
|
3
4
|
declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & Omit<import("./Stack").StackStyleProps, "direction"> & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const ToggleButton: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "checked" | "value">, "className" | "id"> & {
|
|
2
3
|
label?: string | undefined;
|
|
3
4
|
icon?: import("../../icons/utils").SvgIcon | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ToggleButtonProps } from '.';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked">, "className" | "id"> & {
|
|
5
5
|
label?: string | undefined;
|
|
6
6
|
icon?: import("../../icons/utils").SvgIcon | undefined;
|
|
7
7
|
} & import("../../types").CheckboxPickedHTMLAttributes & {
|
|
8
|
-
htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
8
|
+
htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked"> | undefined;
|
|
9
9
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
10
|
argTypes: {
|
|
11
11
|
label: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TooltipProps } from '.';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").HTMLAttributes<HTMLDivElement>, "
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").HTMLAttributes<HTMLDivElement>, "children" | "style" | "onMouseLeave" | "onMouseOver">, "className" | "id"> & {
|
|
5
5
|
text: string;
|
|
6
6
|
placement?: import("../..").Placement | undefined;
|
|
7
7
|
children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & import("react").RefAttributes<HTMLElement>;
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
13
13
|
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
14
14
|
} & {
|
|
15
|
-
htmlProps?: Omit<import("react").HTMLAttributes<HTMLDivElement>, "
|
|
15
|
+
htmlProps?: Omit<import("react").HTMLAttributes<HTMLDivElement>, "children" | "style" | "onMouseLeave" | "onMouseOver"> | undefined;
|
|
16
16
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
17
|
argTypes: {
|
|
18
18
|
text: {
|
|
@@ -4,7 +4,7 @@ type StoryTProps = {
|
|
|
4
4
|
} & LinkProps;
|
|
5
5
|
declare const _default: {
|
|
6
6
|
title: string;
|
|
7
|
-
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "
|
|
7
|
+
component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target">, "className" | "id"> & {
|
|
8
8
|
external?: boolean | undefined;
|
|
9
9
|
typographyType?: ("bodySans01" | "bodySans02" | "bodySans03" | "bodySans04") | undefined;
|
|
10
10
|
} & {
|
|
@@ -12,11 +12,11 @@ declare const _default: {
|
|
|
12
12
|
} & {
|
|
13
13
|
children?: import("react").ReactNode;
|
|
14
14
|
} & Pick<import("react").HTMLAttributes<HTMLElement>, "style"> & {
|
|
15
|
-
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
16
15
|
href?: string | undefined;
|
|
16
|
+
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
17
17
|
target?: import("react").HTMLAttributeAnchorTarget | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
htmlProps?: Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "
|
|
19
|
+
htmlProps?: Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target"> | undefined;
|
|
20
20
|
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
21
21
|
argTypes: {
|
|
22
22
|
typographyType: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { BaseComponentPropsWithChildren } from '../../../types';
|
|
2
3
|
import { BaseTypographyProps, TypographyBodyType, TypographyLeadType } from '../Typography';
|
|
3
4
|
export type ParagraphProps = BaseComponentPropsWithChildren<HTMLParagraphElement, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Strategy } from '@floating-ui/react-dom';
|
|
2
3
|
export type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
3
4
|
interface UseFloatPositionOptions {
|