@fremtind/jokul 4.3.0 → 5.0.0-next.1
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 +1 -1
- package/build/build-stats.html +1 -1
- package/build/cjs/components/beta/description-list/DescriptionList.cjs +2 -0
- package/build/cjs/components/beta/description-list/DescriptionList.cjs.map +1 -0
- package/build/cjs/components/beta/description-list/DescriptionListItem.cjs +2 -0
- package/build/cjs/components/beta/description-list/DescriptionListItem.cjs.map +1 -0
- package/build/cjs/{components-beta → components/beta}/description-list/index.d.cts +2 -2
- package/build/cjs/components/beta/nav-link/NavLink.cjs +2 -0
- package/build/cjs/components/beta/nav-link/NavLink.cjs.map +1 -0
- package/build/cjs/components/beta/nav-link/index.d.cts +1 -0
- package/build/cjs/{components-beta → components/beta}/nav-link/types.d.cts +1 -1
- package/build/cjs/components/beta/select/Select.cjs +2 -0
- package/build/cjs/components/beta/select/Select.cjs.map +1 -0
- package/build/cjs/components/beta/select/index.d.cts +2 -0
- package/build/cjs/{components-beta → components/beta}/select/types.d.cts +1 -1
- package/build/cjs/components/breadcrumb/types.d.cts +1 -1
- package/build/cjs/components/checkbox/types.d.cts +1 -1
- package/build/cjs/components/cookie-consent/types.d.cts +1 -1
- package/build/cjs/components/datepicker/types.d.cts +1 -1
- package/build/cjs/components/description-list/index.cjs +1 -1
- package/build/cjs/components/description-list/index.d.cts +3 -3
- package/build/cjs/components/description-list/types.d.cts +1 -1
- package/build/cjs/components/feedback/feedbackContext.cjs.map +1 -1
- package/build/cjs/components/feedback/feedbackContext.d.cts +1 -1
- package/build/cjs/components/feedback/followup/followupContext.cjs.map +1 -1
- package/build/cjs/components/feedback/followup/followupContext.d.cts +1 -1
- package/build/cjs/components/feedback/main-question/mainQuestionContext.cjs.map +1 -1
- package/build/cjs/components/feedback/main-question/mainQuestionContext.d.cts +1 -1
- package/build/cjs/components/feedback/questions/smileyUtils.cjs.map +1 -1
- package/build/cjs/components/file-input/internal/Dropzone.cjs.map +1 -1
- package/build/cjs/components/file-input/internal/Dropzone.d.cts +1 -1
- package/build/cjs/components/file-input/internal/fileInputContext.cjs.map +1 -1
- package/build/cjs/components/file-input/internal/fileInputContext.d.cts +1 -1
- package/build/cjs/components/icon/development/internal/IconsExampleGrid.d.cts +1 -1
- package/build/cjs/components/input-group/InputGroup.d.cts +2 -2
- package/build/cjs/components/input-group/types.d.cts +1 -1
- package/build/cjs/components/link/Link.cjs +1 -1
- package/build/cjs/components/link/Link.cjs.map +1 -1
- package/build/cjs/components/link/Link.d.cts +2 -2
- package/build/cjs/components/link/types.d.cts +4 -1
- package/build/cjs/components/link-list/LinkList.d.cts +1 -1
- package/build/cjs/components/list/ListItem.cjs.map +1 -1
- package/build/cjs/components/list/ListItem.d.cts +1 -1
- package/build/cjs/components/logo/types.d.cts +1 -1
- package/build/cjs/components/menu/types.d.cts +1 -1
- package/build/cjs/components/modal/Modal.cjs +1 -1
- package/build/cjs/components/modal/Modal.cjs.map +1 -1
- package/build/cjs/components/modal/Modal.d.cts +9 -2
- package/build/cjs/components/modal/index.d.cts +1 -1
- package/build/cjs/components/modal/types.d.cts +1 -19
- package/build/cjs/components/nav-link/index.cjs +1 -1
- package/build/cjs/components/nav-link/index.d.cts +2 -2
- package/build/cjs/components/radio-button/radioGroupContext.cjs.map +1 -1
- package/build/cjs/components/radio-button/radioGroupContext.d.cts +1 -1
- package/build/cjs/components/screen-reader-only/types.d.cts +1 -1
- package/build/cjs/components/select/index.cjs +1 -1
- package/build/cjs/components/select/index.d.cts +2 -2
- package/build/cjs/components/select/types.d.cts +1 -1
- package/build/cjs/components/system-message/types.d.cts +1 -1
- package/build/cjs/components/table/types.d.cts +1 -1
- package/build/cjs/components/table-of-contents/TableOfContents.d.cts +1 -1
- package/build/cjs/components/tabs/types.d.cts +1 -1
- package/build/cjs/components/toast/types.d.cts +1 -1
- package/build/cjs/components/toggle-switch/types.d.cts +1 -1
- package/build/cjs/components/tooltip/Tooltip.cjs.map +1 -1
- package/build/cjs/components/tooltip/Tooltip.d.cts +1 -1
- package/build/cjs/hooks/useAnimatedHeight/types.d.cts +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeight.cjs +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeight.cjs.map +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeightBetween.cjs +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeightBetween.cjs.map +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAutoAnimateHeight.cjs +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAutoAnimateHeight.cjs.map +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAutoAnimateHeight.d.cts +1 -1
- package/build/cjs/hooks/useAriaLiveRegion/useAriaLiveRegion.d.cts +1 -1
- package/build/cjs/hooks/useBrowserPreferences/useBrowserPreferences.cjs.map +1 -1
- package/build/cjs/hooks/useBrowserPreferences/useBrowserPreferences.d.cts +1 -1
- package/build/cjs/hooks/useScreen/useScreen.cjs +1 -1
- package/build/cjs/hooks/useScreen/useScreen.cjs.map +1 -1
- package/build/cjs/tailwind/plugins/jokulTypographyPlugin.cjs +1 -1
- package/build/cjs/tailwind/plugins/jokulTypographyPlugin.cjs.map +1 -1
- package/build/cjs/tailwind/tailwindPreset.cjs +1 -1
- package/build/cjs/tailwind/tailwindPreset.cjs.map +1 -1
- package/build/cjs/tokens.cjs +2 -0
- package/build/cjs/tokens.cjs.map +1 -0
- package/build/cjs/tokens.d.cts +176 -0
- package/build/cjs/utilities/getThemeAndSize.cjs +1 -1
- package/build/cjs/utilities/getThemeAndSize.cjs.map +1 -1
- package/build/cjs/utilities/getThemeAndSize.d.cts +1 -1
- package/build/cjs/utilities/index.d.cts +1 -0
- package/build/cjs/{core → utilities}/types.d.cts +1 -1
- package/build/es/components/beta/description-list/DescriptionList.js +2 -0
- package/build/es/components/beta/description-list/DescriptionList.js.map +1 -0
- package/build/es/components/beta/description-list/DescriptionListItem.js +2 -0
- package/build/es/components/beta/description-list/DescriptionListItem.js.map +1 -0
- package/build/es/{components-beta → components/beta}/description-list/index.d.ts +2 -2
- package/build/es/components/beta/nav-link/NavLink.js +2 -0
- package/build/es/components/beta/nav-link/NavLink.js.map +1 -0
- package/build/es/components/beta/nav-link/index.d.ts +1 -0
- package/build/es/{components-beta → components/beta}/nav-link/types.d.ts +1 -1
- package/build/es/components/beta/select/Select.js +2 -0
- package/build/es/components/beta/select/Select.js.map +1 -0
- package/build/es/components/beta/select/index.d.ts +2 -0
- package/build/es/{components-beta → components/beta}/select/types.d.ts +1 -1
- package/build/es/components/breadcrumb/types.d.ts +1 -1
- package/build/es/components/checkbox/types.d.ts +1 -1
- package/build/es/components/cookie-consent/types.d.ts +1 -1
- package/build/es/components/datepicker/types.d.ts +1 -1
- package/build/es/components/description-list/index.d.ts +3 -3
- package/build/es/components/description-list/index.js +1 -1
- package/build/es/components/description-list/types.d.ts +1 -1
- package/build/es/components/feedback/feedbackContext.d.ts +1 -1
- package/build/es/components/feedback/feedbackContext.js.map +1 -1
- package/build/es/components/feedback/followup/followupContext.d.ts +1 -1
- package/build/es/components/feedback/followup/followupContext.js.map +1 -1
- package/build/es/components/feedback/main-question/mainQuestionContext.d.ts +1 -1
- package/build/es/components/feedback/main-question/mainQuestionContext.js.map +1 -1
- package/build/es/components/feedback/questions/smileyUtils.js.map +1 -1
- package/build/es/components/file-input/internal/Dropzone.d.ts +1 -1
- package/build/es/components/file-input/internal/Dropzone.js.map +1 -1
- package/build/es/components/file-input/internal/fileInputContext.d.ts +1 -1
- package/build/es/components/file-input/internal/fileInputContext.js.map +1 -1
- package/build/es/components/icon/development/internal/IconsExampleGrid.d.ts +1 -1
- package/build/es/components/input-group/InputGroup.d.ts +2 -2
- package/build/es/components/input-group/types.d.ts +1 -1
- package/build/es/components/link/Link.d.ts +2 -2
- package/build/es/components/link/Link.js +1 -1
- package/build/es/components/link/Link.js.map +1 -1
- package/build/es/components/link/types.d.ts +4 -1
- package/build/es/components/link-list/LinkList.d.ts +1 -1
- package/build/es/components/list/ListItem.d.ts +1 -1
- package/build/es/components/list/ListItem.js.map +1 -1
- package/build/es/components/logo/types.d.ts +1 -1
- package/build/es/components/menu/types.d.ts +1 -1
- package/build/es/components/modal/Modal.d.ts +9 -2
- package/build/es/components/modal/Modal.js +1 -1
- package/build/es/components/modal/Modal.js.map +1 -1
- package/build/es/components/modal/index.d.ts +1 -1
- package/build/es/components/modal/types.d.ts +1 -19
- package/build/es/components/nav-link/index.d.ts +2 -2
- package/build/es/components/nav-link/index.js +1 -1
- package/build/es/components/radio-button/radioGroupContext.d.ts +1 -1
- package/build/es/components/radio-button/radioGroupContext.js.map +1 -1
- package/build/es/components/screen-reader-only/types.d.ts +1 -1
- package/build/es/components/select/index.d.ts +2 -2
- package/build/es/components/select/index.js +1 -1
- package/build/es/components/select/types.d.ts +1 -1
- package/build/es/components/system-message/types.d.ts +1 -1
- package/build/es/components/table/types.d.ts +1 -1
- package/build/es/components/table-of-contents/TableOfContents.d.ts +1 -1
- package/build/es/components/tabs/types.d.ts +1 -1
- package/build/es/components/toast/types.d.ts +1 -1
- package/build/es/components/toggle-switch/types.d.ts +1 -1
- package/build/es/components/tooltip/Tooltip.d.ts +1 -1
- package/build/es/components/tooltip/Tooltip.js.map +1 -1
- package/build/es/hooks/useAnimatedHeight/types.d.ts +1 -1
- package/build/es/hooks/useAnimatedHeight/useAnimatedHeight.js +1 -1
- package/build/es/hooks/useAnimatedHeight/useAnimatedHeight.js.map +1 -1
- package/build/es/hooks/useAnimatedHeight/useAnimatedHeightBetween.js +1 -1
- package/build/es/hooks/useAnimatedHeight/useAnimatedHeightBetween.js.map +1 -1
- package/build/es/hooks/useAnimatedHeight/useAutoAnimateHeight.d.ts +1 -1
- package/build/es/hooks/useAnimatedHeight/useAutoAnimateHeight.js +1 -1
- package/build/es/hooks/useAnimatedHeight/useAutoAnimateHeight.js.map +1 -1
- package/build/es/hooks/useAriaLiveRegion/useAriaLiveRegion.d.ts +1 -1
- package/build/es/hooks/useBrowserPreferences/useBrowserPreferences.d.ts +1 -1
- package/build/es/hooks/useBrowserPreferences/useBrowserPreferences.js.map +1 -1
- package/build/es/hooks/useScreen/useScreen.js +1 -1
- package/build/es/hooks/useScreen/useScreen.js.map +1 -1
- package/build/es/tailwind/plugins/jokulTypographyPlugin.js +1 -1
- package/build/es/tailwind/plugins/jokulTypographyPlugin.js.map +1 -1
- package/build/es/tailwind/tailwindPreset.js +1 -1
- package/build/es/tailwind/tailwindPreset.js.map +1 -1
- package/build/es/tokens.d.ts +176 -0
- package/build/es/tokens.js +2 -0
- package/build/es/tokens.js.map +1 -0
- package/build/es/utilities/getThemeAndSize.d.ts +1 -1
- package/build/es/utilities/getThemeAndSize.js +1 -1
- package/build/es/utilities/getThemeAndSize.js.map +1 -1
- package/build/es/utilities/index.d.ts +1 -0
- package/build/es/{core → utilities}/types.d.ts +1 -1
- package/package.json +7 -585
- package/styles/base.css +1405 -0
- package/styles/base.min.css +2 -0
- package/styles/components/autosuggest/autosuggest.css +4 -10
- package/styles/components/autosuggest/autosuggest.min.css +1 -1
- package/styles/components/autosuggest/autosuggest.scss +1 -1
- package/styles/{components-beta → components/beta}/description-list/description-list.scss +1 -1
- package/styles/{components-beta → components/beta}/nav-link/navlink.css +9 -12
- package/styles/components/beta/nav-link/navlink.min.css +1 -0
- package/styles/{components-beta → components/beta}/nav-link/navlink.scss +2 -2
- package/styles/components/beta/select/_index.scss +3 -0
- package/styles/{components-beta → components/beta}/select/select.css +5 -8
- package/styles/components/beta/select/select.min.css +1 -0
- package/styles/{components-beta → components/beta}/select/select.scss +2 -3
- package/styles/components/breadcrumb/breadcrumb.scss +1 -1
- package/styles/components/button/button.css +9 -12
- package/styles/components/button/button.min.css +1 -1
- package/styles/components/button/button.scss +2 -2
- package/styles/components/card/card.css +2 -2
- package/styles/components/card/card.min.css +1 -1
- package/styles/components/card/card.scss +1 -1
- package/styles/components/checkbox/checkbox.css +12 -33
- package/styles/components/checkbox/checkbox.min.css +1 -1
- package/styles/components/checkbox/checkbox.scss +5 -15
- package/styles/components/checkbox-panel/checkbox-panel.css +19 -46
- package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
- package/styles/components/checkbox-panel/checkbox-panel.scss +1 -1
- package/styles/components/checkbox-panel/development/styles.scss +1 -1
- package/styles/components/chip/chip.css +4 -7
- package/styles/components/chip/chip.min.css +1 -1
- package/styles/components/chip/chip.scss +2 -2
- package/styles/components/combobox/combobox.css +12 -24
- package/styles/components/combobox/combobox.min.css +1 -1
- package/styles/components/combobox/combobox.scss +1 -2
- package/styles/components/cookie-consent/cookie-consent.css +1 -5
- package/styles/components/cookie-consent/cookie-consent.min.css +1 -1
- package/styles/components/cookie-consent/cookie-consent.scss +1 -1
- package/styles/components/countdown/countdown.css +2 -2
- package/styles/components/countdown/countdown.min.css +1 -1
- package/styles/components/datepicker/_calendar-date-button.scss +7 -7
- package/styles/components/datepicker/_calendar-navigation-dropdown.scss +2 -2
- package/styles/components/datepicker/_calendar-navigation.scss +1 -1
- package/styles/components/datepicker/_calendar-table.scss +1 -1
- package/styles/components/datepicker/_calendar.scss +7 -6
- package/styles/components/datepicker/datepicker.css +13 -33
- package/styles/components/datepicker/datepicker.min.css +1 -1
- package/styles/components/datepicker/datepicker.scss +1 -1
- package/styles/components/description-list/description-list.css +1 -1
- package/styles/components/description-list/description-list.min.css +1 -1
- package/styles/components/description-list/description-list.scss +2 -2
- package/styles/components/expander/expandable.css +3 -3
- package/styles/components/expander/expandable.min.css +1 -1
- package/styles/components/expander/expandable.scss +1 -1
- package/styles/components/feedback/feedback.css +10 -14
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/feedback/feedback.scss +1 -1
- package/styles/components/file/file.css +5 -13
- package/styles/components/file/file.min.css +1 -1
- package/styles/components/file/file.scss +2 -2
- package/styles/components/file-input/file-input.css +35 -57
- package/styles/components/file-input/file-input.min.css +1 -1
- package/styles/components/file-input/file-input.scss +1 -1
- package/styles/components/help/help.scss +1 -1
- package/styles/components/icon/_base-styles.scss +3 -5
- package/styles/components/icon/icon.css +9 -30
- package/styles/components/icon/icon.min.css +1 -1
- package/styles/components/icon/icon.scss +1 -15
- package/styles/components/icon-button/icon-button.css +2 -2
- package/styles/components/icon-button/icon-button.min.css +1 -1
- package/styles/components/icon-button/icon-button.scss +1 -1
- package/styles/components/image/image.css +2 -2
- package/styles/components/image/image.min.css +1 -1
- package/styles/components/image/image.scss +1 -1
- package/styles/components/input-group/_field-group.scss +1 -1
- package/styles/components/input-group/_labels.scss +1 -1
- package/styles/components/input-group/input-group.css +12 -27
- package/styles/components/input-group/input-group.min.css +1 -1
- package/styles/components/input-group/input-group.scss +1 -1
- package/styles/components/input-panel/input-panel.css +7 -13
- package/styles/components/input-panel/input-panel.min.css +1 -1
- package/styles/components/input-panel/input-panel.scss +2 -2
- package/styles/components/link/link.css +6 -7
- package/styles/components/link/link.min.css +1 -1
- package/styles/components/link/link.scss +1 -2
- package/styles/components/link-list/link-list.css +11 -21
- package/styles/components/link-list/link-list.min.css +1 -1
- package/styles/components/link-list/link-list.scss +1 -1
- package/styles/components/list/list.css +6 -27
- package/styles/components/list/list.min.css +1 -1
- package/styles/components/list/list.scss +11 -15
- package/styles/components/loader/loader.css +6 -6
- package/styles/components/loader/loader.min.css +1 -1
- package/styles/components/loader/loader.scss +1 -1
- package/styles/components/loader/skeleton-loader.css +3 -3
- package/styles/components/loader/skeleton-loader.min.css +1 -1
- package/styles/components/loader/skeleton-loader.scss +1 -1
- package/styles/components/logo/logo.css +4 -4
- package/styles/components/logo/logo.min.css +1 -1
- package/styles/components/logo/logo.scss +1 -1
- package/styles/components/menu/_menu-divider.scss +1 -1
- package/styles/components/menu/_menu-item.scss +1 -1
- package/styles/components/menu/menu.css +6 -21
- package/styles/components/menu/menu.min.css +1 -1
- package/styles/components/menu/menu.scss +7 -11
- package/styles/components/message/message.css +8 -20
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/message/message.scss +1 -1
- package/styles/components/modal/modal.css +35 -125
- package/styles/components/modal/modal.min.css +1 -1
- package/styles/components/modal/modal.scss +95 -6
- package/styles/components/nav-link/nav-link.css +4 -4
- package/styles/components/nav-link/nav-link.min.css +1 -1
- package/styles/components/nav-link/nav-link.scss +2 -2
- package/styles/components/pagination/development/styles.scss +1 -1
- package/styles/components/pagination/pagination.css +1 -1
- package/styles/components/pagination/pagination.min.css +1 -1
- package/styles/components/pagination/pagination.scss +1 -1
- package/styles/components/popover/popover.css +5 -17
- package/styles/components/popover/popover.min.css +1 -1
- package/styles/components/popover/popover.scss +6 -10
- package/styles/components/progress-bar/progress-bar.css +3 -3
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/progress-bar/progress-bar.scss +1 -1
- package/styles/components/radio-button/radio-button.css +12 -30
- package/styles/components/radio-button/radio-button.min.css +1 -1
- package/styles/components/radio-button/radio-button.scss +5 -15
- package/styles/components/radio-panel/development/styles.scss +1 -1
- package/styles/components/radio-panel/radio-panel.css +7 -13
- package/styles/components/radio-panel/radio-panel.min.css +1 -1
- package/styles/components/radio-panel/radio-panel.scss +1 -1
- package/styles/components/search/search-with-submit-button.css +2 -2
- package/styles/components/search/search-with-submit-button.min.css +1 -1
- package/styles/components/search/search-with-submit-button.scss +1 -1
- package/styles/components/search/search.css +8 -14
- package/styles/components/search/search.min.css +1 -1
- package/styles/components/search/search.scss +1 -1
- package/styles/components/segmented-control/segmented-control.css +39 -97
- package/styles/components/segmented-control/segmented-control.min.css +1 -1
- package/styles/components/segmented-control/segmented-control.scss +1 -1
- package/styles/components/select/select.css +12 -21
- package/styles/components/select/select.min.css +1 -1
- package/styles/components/select/select.scss +1 -2
- package/styles/components/summary-table/development/summary-table-example.scss +1 -1
- package/styles/components/summary-table/summary-table.css +3 -6
- package/styles/components/summary-table/summary-table.min.css +1 -1
- package/styles/components/summary-table/summary-table.scss +3 -3
- package/styles/components/system-message/system-message.css +4 -7
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/system-message/system-message.scss +1 -2
- package/styles/components/table/_table-caption.scss +1 -1
- package/styles/components/table/_table-cell.scss +1 -1
- package/styles/components/table/_table-head.scss +3 -13
- package/styles/components/table/_table-header.scss +4 -4
- package/styles/components/table/_table-pagination.scss +1 -1
- package/styles/components/table/_table-row.scss +1 -1
- package/styles/components/table/table.css +18 -46
- package/styles/components/table/table.min.css +1 -1
- package/styles/components/table/table.scss +1 -1
- package/styles/components/table-of-contents/table-of-contents.css +3 -7
- package/styles/components/table-of-contents/table-of-contents.min.css +1 -1
- package/styles/components/table-of-contents/table-of-contents.scss +1 -1
- package/styles/components/tabs/tabs.css +6 -9
- package/styles/components/tabs/tabs.min.css +1 -1
- package/styles/components/tabs/tabs.scss +1 -1
- package/styles/components/tag/tag.css +2 -5
- package/styles/components/tag/tag.min.css +1 -1
- package/styles/components/tag/tag.scss +2 -2
- package/styles/components/text-area/text-area.css +9 -18
- package/styles/components/text-area/text-area.min.css +1 -1
- package/styles/components/text-area/text-area.scss +1 -1
- package/styles/components/text-input/text-input.css +4 -10
- package/styles/components/text-input/text-input.min.css +1 -1
- package/styles/components/text-input/text-input.scss +2 -3
- package/styles/components/toast/toast.css +6 -12
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components/toast/toast.scss +1 -2
- package/styles/components/toggle-switch/_toggle-slider.scss +1 -1
- package/styles/components/toggle-switch/toggle-switch.css +7 -10
- package/styles/components/toggle-switch/toggle-switch.min.css +2 -2
- package/styles/components/toggle-switch/toggle-switch.scss +1 -1
- package/styles/components/tooltip/tooltip.css +4 -8
- package/styles/components/tooltip/tooltip.min.css +1 -1
- package/styles/components/tooltip/tooltip.scss +1 -1
- package/styles/{styles.css → components.css} +329 -734
- package/styles/components.min.css +3 -0
- package/styles/{styles.scss → components.scss} +2 -2
- package/styles/{core/global → global}/_base-class.scss +6 -4
- package/styles/{core/global → global}/_top-layer.scss +1 -1
- package/styles/hooks/stories/styles.scss +5 -7
- package/styles/{core/jkl/_theme.scss → jkl/_forced-colors.scss} +0 -49
- package/styles/{core/jkl → jkl}/_index.scss +3 -6
- package/styles/{core/jkl → jkl}/_motion.scss +8 -26
- package/styles/{core/jkl → jkl}/_reset.scss +2 -2
- package/styles/{core/jkl → jkl}/_spacing.scss +1 -6
- package/styles/jkl/_tokens.scss +306 -0
- package/styles/{core/jkl → jkl}/_typography.scss +5 -98
- package/styles/shared/input/shared-input-styles.scss +1 -1
- package/styles/shared/track/track.scss +1 -1
- package/styles/tailwind.css +171 -0
- package/styles/theme/_color-scheme.scss +84 -0
- package/styles/{core/theme → theme}/_dynamic-spacing.scss +9 -5
- package/styles/theme/_fonts.scss +147 -0
- package/styles/theme/_index.scss +5 -0
- package/styles/theme/_size.scss +53 -0
- package/styles/theme/_tokens.scss +94 -0
- package/styles/{core/utility → utility}/_headings.scss +1 -1
- package/styles/utility/_paragraphs.scss +24 -0
- package/styles/{core/utility → utility}/_screen-reader.scss +1 -1
- package/styles/{core/utility → utility}/_spacing.scss +4 -3
- package/build/cjs/components-beta/description-list/DescriptionList.cjs +0 -2
- package/build/cjs/components-beta/description-list/DescriptionList.cjs.map +0 -1
- package/build/cjs/components-beta/description-list/DescriptionListItem.cjs +0 -2
- package/build/cjs/components-beta/description-list/DescriptionListItem.cjs.map +0 -1
- package/build/cjs/components-beta/nav-link/NavLink.cjs +0 -2
- package/build/cjs/components-beta/nav-link/NavLink.cjs.map +0 -1
- package/build/cjs/components-beta/nav-link/index.d.cts +0 -1
- package/build/cjs/components-beta/select/Select.cjs +0 -2
- package/build/cjs/components-beta/select/Select.cjs.map +0 -1
- package/build/cjs/components-beta/select/index.d.cts +0 -2
- package/build/cjs/core/index.cjs +0 -2
- package/build/cjs/core/index.cjs.map +0 -1
- package/build/cjs/core/index.d.cts +0 -2
- package/build/cjs/core/tokens/build-tailwind-4.cjs +0 -2
- package/build/cjs/core/tokens/build-tailwind-4.cjs.map +0 -1
- package/build/cjs/core/tokens/build-tailwind-4.d.cts +0 -1
- package/build/cjs/core/tokens/style-dictionary/build.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/build.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/build.d.cts +0 -0
- package/build/cjs/core/tokens/style-dictionary/config.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/config.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/config.d.cts +0 -4
- package/build/cjs/core/tokens/style-dictionary/filters/index.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/filters/index.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/filters/index.d.cts +0 -3
- package/build/cjs/core/tokens/style-dictionary/formats/css-dynamic-color-variables.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/formats/css-dynamic-color-variables.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/formats/css-dynamic-color-variables.d.cts +0 -3
- package/build/cjs/core/tokens/style-dictionary/formats/css-theme-variables.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/formats/css-theme-variables.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/formats/css-theme-variables.d.cts +0 -3
- package/build/cjs/core/tokens/style-dictionary/formats/index.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/formats/index.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/formats/index.d.cts +0 -6
- package/build/cjs/core/tokens/style-dictionary/formats/javascript-esm.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/formats/javascript-esm.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/formats/javascript-esm.d.cts +0 -3
- package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.d.cts +0 -3
- package/build/cjs/core/tokens/style-dictionary/formats/tailwindcss-colors.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/formats/tailwindcss-colors.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/formats/tailwindcss-colors.d.cts +0 -3
- package/build/cjs/core/tokens/style-dictionary/register.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/register.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/register.d.cts +0 -1
- package/build/cjs/core/tokens/style-dictionary/transforms/index.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/transforms/index.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/transforms/index.d.cts +0 -2
- package/build/cjs/core/tokens/style-dictionary/transforms/strip-light-dark.cjs +0 -2
- package/build/cjs/core/tokens/style-dictionary/transforms/strip-light-dark.cjs.map +0 -1
- package/build/cjs/core/tokens/style-dictionary/transforms/strip-light-dark.d.cts +0 -3
- package/build/cjs/core/tokens.cjs +0 -2
- package/build/cjs/core/tokens.cjs.map +0 -1
- package/build/cjs/core/tokens.d.cts +0 -593
- package/build/cjs/index.cjs +0 -2
- package/build/cjs/index.cjs.map +0 -1
- package/build/cjs/index.d.cts +0 -3
- package/build/cjs/tailwind/colors.cjs +0 -2
- package/build/cjs/tailwind/colors.cjs.map +0 -1
- package/build/cjs/tailwind/colors.d.cts +0 -39
- package/build/es/components-beta/description-list/DescriptionList.js +0 -2
- package/build/es/components-beta/description-list/DescriptionList.js.map +0 -1
- package/build/es/components-beta/description-list/DescriptionListItem.js +0 -2
- package/build/es/components-beta/description-list/DescriptionListItem.js.map +0 -1
- package/build/es/components-beta/nav-link/NavLink.js +0 -2
- package/build/es/components-beta/nav-link/NavLink.js.map +0 -1
- package/build/es/components-beta/nav-link/index.d.ts +0 -1
- package/build/es/components-beta/select/Select.js +0 -2
- package/build/es/components-beta/select/Select.js.map +0 -1
- package/build/es/components-beta/select/index.d.ts +0 -2
- package/build/es/core/index.d.ts +0 -2
- package/build/es/core/index.js +0 -2
- package/build/es/core/index.js.map +0 -1
- package/build/es/core/tokens/build-tailwind-4.d.ts +0 -1
- package/build/es/core/tokens/build-tailwind-4.js +0 -2
- package/build/es/core/tokens/build-tailwind-4.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/build.d.ts +0 -0
- package/build/es/core/tokens/style-dictionary/build.js +0 -2
- package/build/es/core/tokens/style-dictionary/build.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/config.d.ts +0 -4
- package/build/es/core/tokens/style-dictionary/config.js +0 -2
- package/build/es/core/tokens/style-dictionary/config.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/filters/index.d.ts +0 -3
- package/build/es/core/tokens/style-dictionary/filters/index.js +0 -2
- package/build/es/core/tokens/style-dictionary/filters/index.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/formats/css-dynamic-color-variables.d.ts +0 -3
- package/build/es/core/tokens/style-dictionary/formats/css-dynamic-color-variables.js +0 -2
- package/build/es/core/tokens/style-dictionary/formats/css-dynamic-color-variables.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/formats/css-theme-variables.d.ts +0 -3
- package/build/es/core/tokens/style-dictionary/formats/css-theme-variables.js +0 -2
- package/build/es/core/tokens/style-dictionary/formats/css-theme-variables.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/formats/index.d.ts +0 -6
- package/build/es/core/tokens/style-dictionary/formats/index.js +0 -2
- package/build/es/core/tokens/style-dictionary/formats/index.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/formats/javascript-esm.d.ts +0 -3
- package/build/es/core/tokens/style-dictionary/formats/javascript-esm.js +0 -2
- package/build/es/core/tokens/style-dictionary/formats/javascript-esm.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.d.ts +0 -3
- package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.js +0 -2
- package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/formats/tailwindcss-colors.d.ts +0 -3
- package/build/es/core/tokens/style-dictionary/formats/tailwindcss-colors.js +0 -2
- package/build/es/core/tokens/style-dictionary/formats/tailwindcss-colors.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/register.d.ts +0 -1
- package/build/es/core/tokens/style-dictionary/register.js +0 -2
- package/build/es/core/tokens/style-dictionary/register.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/transforms/index.d.ts +0 -2
- package/build/es/core/tokens/style-dictionary/transforms/index.js +0 -2
- package/build/es/core/tokens/style-dictionary/transforms/index.js.map +0 -1
- package/build/es/core/tokens/style-dictionary/transforms/strip-light-dark.d.ts +0 -3
- package/build/es/core/tokens/style-dictionary/transforms/strip-light-dark.js +0 -2
- package/build/es/core/tokens/style-dictionary/transforms/strip-light-dark.js.map +0 -1
- package/build/es/core/tokens.d.ts +0 -593
- package/build/es/core/tokens.js +0 -2
- package/build/es/core/tokens.js.map +0 -1
- package/build/es/index.d.ts +0 -3
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/tailwind/colors.d.ts +0 -39
- package/build/es/tailwind/colors.js +0 -2
- package/build/es/tailwind/colors.js.map +0 -1
- package/build/index-Ck94bTpt.cjs +0 -2
- package/build/index-Ck94bTpt.cjs.map +0 -1
- package/build/index-DOHQmuhD.js +0 -2
- package/build/index-DOHQmuhD.js.map +0 -1
- package/src/fonts/styles/_index.scss +0 -1
- package/src/fonts/styles/webfonts.scss +0 -145
- package/src/tailwind/v4/jokul-tailwind.css +0 -266
- package/styles/components/modal/_layout.scss +0 -22
- package/styles/components/modal/_modal-base.scss +0 -32
- package/styles/components/modal/_motion.scss +0 -45
- package/styles/components/modal/_overlay.scss +0 -20
- package/styles/components/modal/_parts.scss +0 -33
- package/styles/components/modal/_placement.scss +0 -59
- package/styles/components-beta/nav-link/navlink.min.css +0 -1
- package/styles/components-beta/select/_index.scss +0 -3
- package/styles/components-beta/select/select.min.css +0 -1
- package/styles/core/core.css +0 -1731
- package/styles/core/core.min.css +0 -2
- package/styles/core/jkl/_colors.scss +0 -26
- package/styles/core/jkl/_helpers.scss +0 -26
- package/styles/core/jkl/_tokens.scss +0 -59
- package/styles/core/jkl/legacy/_dynamic-colors.scss +0 -40
- package/styles/core/jkl/legacy/_index.scss +0 -2
- package/styles/core/jkl/legacy/_tokens.scss +0 -742
- package/styles/core/theme/_color-tokens.scss +0 -73
- package/styles/core/theme/_index.scss +0 -10
- package/styles/core/theme/_legacy-color-tokens.scss +0 -81
- package/styles/core/theme/_legacy-tokens.scss +0 -279
- package/styles/core/theme/_old-vars.scss +0 -21
- package/styles/core/theme/_shape.scss +0 -12
- package/styles/core/theme/_spacing-tokens.scss +0 -33
- package/styles/core/theme/_spacing.scss +0 -64
- package/styles/core/theme/_tokens.scss +0 -33
- package/styles/core/theme/_typography.scss +0 -38
- package/styles/core/utility/_paragraphs.scss +0 -29
- package/styles/fonts/_index.scss +0 -1
- package/styles/fonts/webfonts.css +0 -115
- package/styles/fonts/webfonts.min.css +0 -1
- package/styles/fonts/webfonts.scss +0 -145
- package/styles/styles.min.css +0 -3
- /package/build/cjs/{components-beta → components/beta}/description-list/DescriptionList.d.cts +0 -0
- /package/build/cjs/{components-beta → components/beta}/description-list/DescriptionListItem.d.cts +0 -0
- /package/build/cjs/{components-beta → components/beta}/description-list/index.cjs +0 -0
- /package/build/cjs/{components-beta → components/beta}/description-list/index.cjs.map +0 -0
- /package/build/cjs/{components-beta → components/beta}/description-list/types.cjs +0 -0
- /package/build/cjs/{components-beta → components/beta}/description-list/types.cjs.map +0 -0
- /package/build/cjs/{components-beta → components/beta}/description-list/types.d.cts +0 -0
- /package/build/cjs/{components-beta → components/beta}/nav-link/NavLink.d.cts +0 -0
- /package/build/cjs/{components-beta → components/beta}/nav-link/index.cjs +0 -0
- /package/build/cjs/{components-beta → components/beta}/nav-link/index.cjs.map +0 -0
- /package/build/cjs/{components-beta → components/beta}/nav-link/types.cjs +0 -0
- /package/build/cjs/{components-beta → components/beta}/nav-link/types.cjs.map +0 -0
- /package/build/cjs/{components-beta → components/beta}/select/Select.d.cts +0 -0
- /package/build/cjs/{components-beta → components/beta}/select/index.cjs +0 -0
- /package/build/cjs/{components-beta → components/beta}/select/index.cjs.map +0 -0
- /package/build/cjs/{components-beta → components/beta}/select/types.cjs +0 -0
- /package/build/cjs/{components-beta → components/beta}/select/types.cjs.map +0 -0
- /package/build/cjs/{core → utilities}/types.cjs +0 -0
- /package/build/cjs/{core → utilities}/types.cjs.map +0 -0
- /package/build/es/{components-beta → components/beta}/description-list/DescriptionList.d.ts +0 -0
- /package/build/es/{components-beta → components/beta}/description-list/DescriptionListItem.d.ts +0 -0
- /package/build/es/{components-beta → components/beta}/description-list/index.js +0 -0
- /package/build/es/{components-beta → components/beta}/description-list/index.js.map +0 -0
- /package/build/es/{components-beta → components/beta}/description-list/types.d.ts +0 -0
- /package/build/es/{components-beta → components/beta}/description-list/types.js +0 -0
- /package/build/es/{components-beta → components/beta}/description-list/types.js.map +0 -0
- /package/build/es/{components-beta → components/beta}/nav-link/NavLink.d.ts +0 -0
- /package/build/es/{components-beta → components/beta}/nav-link/index.js +0 -0
- /package/build/es/{components-beta → components/beta}/nav-link/index.js.map +0 -0
- /package/build/es/{components-beta → components/beta}/nav-link/types.js +0 -0
- /package/build/es/{components-beta → components/beta}/nav-link/types.js.map +0 -0
- /package/build/es/{components-beta → components/beta}/select/Select.d.ts +0 -0
- /package/build/es/{components-beta → components/beta}/select/index.js +0 -0
- /package/build/es/{components-beta → components/beta}/select/index.js.map +0 -0
- /package/build/es/{components-beta → components/beta}/select/types.js +0 -0
- /package/build/es/{components-beta → components/beta}/select/types.js.map +0 -0
- /package/build/es/{core → utilities}/types.js +0 -0
- /package/build/es/{core → utilities}/types.js.map +0 -0
- /package/styles/{core/_layers.scss → _layers.scss} +0 -0
- /package/styles/{core/core.scss → base.scss} +0 -0
- /package/styles/{components-beta → components/beta}/description-list/_index.scss +0 -0
- /package/styles/{components-beta → components/beta}/description-list/description-list.css +0 -0
- /package/styles/{components-beta → components/beta}/description-list/description-list.min.css +0 -0
- /package/styles/{components-beta → components/beta}/nav-link/_index.scss +0 -0
- /package/styles/{core/global → global}/_index.scss +0 -0
- /package/styles/{core/jkl → jkl}/_convert.scss +0 -0
- /package/styles/{core/jkl → jkl}/_navigation.scss +0 -0
- /package/styles/{core/jkl → jkl}/_ornaments.scss +0 -0
- /package/styles/{core/jkl → jkl}/_responsive-units.scss +0 -0
- /package/styles/{core/jkl → jkl}/_screenreader.scss +0 -0
- /package/styles/{core/jkl → jkl}/_screens.scss +0 -0
- /package/styles/{core/jkl → jkl}/_shadows.scss +0 -0
- /package/styles/{core/jkl → jkl}/_underline.scss +0 -0
- /package/styles/{core/jkl → jkl}/_z-index.scss +0 -0
- /package/styles/{core/resets → resets}/_index.scss +0 -0
- /package/styles/{core/resets → resets}/_normalize.scss +0 -0
- /package/styles/{core/resets → resets}/_reset.scss +0 -0
- /package/styles/{core/utility → utility}/_index.scss +0 -0
|
@@ -1,593 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly, this file was auto-generated.
|
|
3
|
-
*/
|
|
4
|
-
declare const _default: {
|
|
5
|
-
border: {
|
|
6
|
-
width: {
|
|
7
|
-
"1": string;
|
|
8
|
-
"2": string;
|
|
9
|
-
"3": string;
|
|
10
|
-
};
|
|
11
|
-
radius: {
|
|
12
|
-
none: string;
|
|
13
|
-
xs: string;
|
|
14
|
-
s: string;
|
|
15
|
-
m: string;
|
|
16
|
-
l: string;
|
|
17
|
-
full: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
breakpoint: {
|
|
21
|
-
small: string;
|
|
22
|
-
medium: string;
|
|
23
|
-
large: string;
|
|
24
|
-
xl: string;
|
|
25
|
-
};
|
|
26
|
-
color: {
|
|
27
|
-
brand: {
|
|
28
|
-
snohvit: string;
|
|
29
|
-
varde: string;
|
|
30
|
-
granitt: string;
|
|
31
|
-
hvit: string;
|
|
32
|
-
svart: string;
|
|
33
|
-
skifer: string;
|
|
34
|
-
fjellgra: string;
|
|
35
|
-
stein: string;
|
|
36
|
-
svaberg: string;
|
|
37
|
-
dis: string;
|
|
38
|
-
sand: string;
|
|
39
|
-
};
|
|
40
|
-
functional: {
|
|
41
|
-
info: string;
|
|
42
|
-
infoDark: string;
|
|
43
|
-
success: string;
|
|
44
|
-
successDark: string;
|
|
45
|
-
warning: string;
|
|
46
|
-
warningDark: string;
|
|
47
|
-
error: string;
|
|
48
|
-
errorDark: string;
|
|
49
|
-
};
|
|
50
|
-
background: {
|
|
51
|
-
page: {
|
|
52
|
-
light: string;
|
|
53
|
-
dark: string;
|
|
54
|
-
};
|
|
55
|
-
pageVariant: {
|
|
56
|
-
light: string;
|
|
57
|
-
dark: string;
|
|
58
|
-
};
|
|
59
|
-
container: {
|
|
60
|
-
light: string;
|
|
61
|
-
dark: string;
|
|
62
|
-
};
|
|
63
|
-
containerLow: {
|
|
64
|
-
light: string;
|
|
65
|
-
dark: string;
|
|
66
|
-
};
|
|
67
|
-
containerHigh: {
|
|
68
|
-
light: string;
|
|
69
|
-
dark: string;
|
|
70
|
-
};
|
|
71
|
-
containerInverted: {
|
|
72
|
-
light: string;
|
|
73
|
-
dark: string;
|
|
74
|
-
};
|
|
75
|
-
containerSubdued: {
|
|
76
|
-
light: string;
|
|
77
|
-
dark: string;
|
|
78
|
-
};
|
|
79
|
-
input: {
|
|
80
|
-
base: {
|
|
81
|
-
light: string;
|
|
82
|
-
dark: string;
|
|
83
|
-
};
|
|
84
|
-
focus: {
|
|
85
|
-
light: string;
|
|
86
|
-
dark: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
action: {
|
|
90
|
-
light: string;
|
|
91
|
-
dark: string;
|
|
92
|
-
};
|
|
93
|
-
interactive: {
|
|
94
|
-
light: string;
|
|
95
|
-
dark: string;
|
|
96
|
-
};
|
|
97
|
-
interactiveHover: {
|
|
98
|
-
light: string;
|
|
99
|
-
dark: string;
|
|
100
|
-
};
|
|
101
|
-
interactiveSelected: {
|
|
102
|
-
light: string;
|
|
103
|
-
dark: string;
|
|
104
|
-
};
|
|
105
|
-
alert: {
|
|
106
|
-
neutral: {
|
|
107
|
-
light: string;
|
|
108
|
-
dark: string;
|
|
109
|
-
};
|
|
110
|
-
info: {
|
|
111
|
-
light: string;
|
|
112
|
-
dark: string;
|
|
113
|
-
};
|
|
114
|
-
success: {
|
|
115
|
-
light: string;
|
|
116
|
-
dark: string;
|
|
117
|
-
};
|
|
118
|
-
warning: {
|
|
119
|
-
light: string;
|
|
120
|
-
dark: string;
|
|
121
|
-
};
|
|
122
|
-
error: {
|
|
123
|
-
light: string;
|
|
124
|
-
dark: string;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
text: {
|
|
129
|
-
default: {
|
|
130
|
-
light: string;
|
|
131
|
-
dark: string;
|
|
132
|
-
};
|
|
133
|
-
subdued: {
|
|
134
|
-
light: string;
|
|
135
|
-
dark: string;
|
|
136
|
-
};
|
|
137
|
-
inverted: {
|
|
138
|
-
light: string;
|
|
139
|
-
dark: string;
|
|
140
|
-
};
|
|
141
|
-
onAction: {
|
|
142
|
-
light: string;
|
|
143
|
-
dark: string;
|
|
144
|
-
};
|
|
145
|
-
interactive: {
|
|
146
|
-
light: string;
|
|
147
|
-
dark: string;
|
|
148
|
-
};
|
|
149
|
-
interactiveHover: {
|
|
150
|
-
light: string;
|
|
151
|
-
dark: string;
|
|
152
|
-
};
|
|
153
|
-
onAlert: {
|
|
154
|
-
light: string;
|
|
155
|
-
dark: string;
|
|
156
|
-
};
|
|
157
|
-
onAlertSubdued: {
|
|
158
|
-
light: string;
|
|
159
|
-
dark: string;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
border: {
|
|
163
|
-
action: {
|
|
164
|
-
light: string;
|
|
165
|
-
dark: string;
|
|
166
|
-
};
|
|
167
|
-
input: {
|
|
168
|
-
light: string;
|
|
169
|
-
dark: string;
|
|
170
|
-
};
|
|
171
|
-
inputFocus: {
|
|
172
|
-
light: string;
|
|
173
|
-
dark: string;
|
|
174
|
-
};
|
|
175
|
-
separator: {
|
|
176
|
-
light: string;
|
|
177
|
-
dark: string;
|
|
178
|
-
};
|
|
179
|
-
separatorStrong: {
|
|
180
|
-
light: string;
|
|
181
|
-
dark: string;
|
|
182
|
-
};
|
|
183
|
-
separatorHover: {
|
|
184
|
-
light: string;
|
|
185
|
-
dark: string;
|
|
186
|
-
};
|
|
187
|
-
subdued: {
|
|
188
|
-
light: string;
|
|
189
|
-
dark: string;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
motion: {
|
|
194
|
-
timing: {
|
|
195
|
-
energetic: string;
|
|
196
|
-
snappy: string;
|
|
197
|
-
productive: string;
|
|
198
|
-
expressive: string;
|
|
199
|
-
lazy: string;
|
|
200
|
-
};
|
|
201
|
-
easing: {
|
|
202
|
-
standard: string;
|
|
203
|
-
entrance: string;
|
|
204
|
-
exit: string;
|
|
205
|
-
easeInBounceOut: string;
|
|
206
|
-
focus: string;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
spacing: {
|
|
210
|
-
"0": string;
|
|
211
|
-
"2": string;
|
|
212
|
-
"4": string;
|
|
213
|
-
"8": string;
|
|
214
|
-
"12": string;
|
|
215
|
-
"16": string;
|
|
216
|
-
"24": string;
|
|
217
|
-
"32": string;
|
|
218
|
-
"40": string;
|
|
219
|
-
"64": string;
|
|
220
|
-
"104": string;
|
|
221
|
-
"168": string;
|
|
222
|
-
};
|
|
223
|
-
semanticSpacing: {
|
|
224
|
-
none: string;
|
|
225
|
-
"2xs": string;
|
|
226
|
-
xs: string;
|
|
227
|
-
s: string;
|
|
228
|
-
m: string;
|
|
229
|
-
l: string;
|
|
230
|
-
xl: string;
|
|
231
|
-
"2xl": string;
|
|
232
|
-
};
|
|
233
|
-
icon: {
|
|
234
|
-
weight: {
|
|
235
|
-
normal: string;
|
|
236
|
-
bold: string;
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
typography: {
|
|
240
|
-
weight: {
|
|
241
|
-
normal: string;
|
|
242
|
-
bold: string;
|
|
243
|
-
};
|
|
244
|
-
font: {
|
|
245
|
-
weight: {
|
|
246
|
-
normal: string;
|
|
247
|
-
bold: string;
|
|
248
|
-
};
|
|
249
|
-
size: {
|
|
250
|
-
"1": string;
|
|
251
|
-
"2": string;
|
|
252
|
-
"3": string;
|
|
253
|
-
"4": string;
|
|
254
|
-
"5": string;
|
|
255
|
-
"6": string;
|
|
256
|
-
"7": string;
|
|
257
|
-
"8": string;
|
|
258
|
-
"9": string;
|
|
259
|
-
"10": string;
|
|
260
|
-
"16": string;
|
|
261
|
-
"18": string;
|
|
262
|
-
"20": string;
|
|
263
|
-
"21": string;
|
|
264
|
-
"23": string;
|
|
265
|
-
"25": string;
|
|
266
|
-
"26": string;
|
|
267
|
-
"28": string;
|
|
268
|
-
"30": string;
|
|
269
|
-
"36": string;
|
|
270
|
-
"44": string;
|
|
271
|
-
"56": string;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
line: {
|
|
275
|
-
height: {
|
|
276
|
-
"24": string;
|
|
277
|
-
"28": string;
|
|
278
|
-
"32": string;
|
|
279
|
-
"36": string;
|
|
280
|
-
"40": string;
|
|
281
|
-
"44": string;
|
|
282
|
-
"52": string;
|
|
283
|
-
"64": string;
|
|
284
|
-
flush: string;
|
|
285
|
-
tight: string;
|
|
286
|
-
relaxed: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
style: {
|
|
290
|
-
title: {
|
|
291
|
-
small: {
|
|
292
|
-
fontSize: string;
|
|
293
|
-
lineHeight: string;
|
|
294
|
-
fontWeight: string;
|
|
295
|
-
};
|
|
296
|
-
base: {
|
|
297
|
-
fontSize: string;
|
|
298
|
-
lineHeight: string;
|
|
299
|
-
fontWeight: string;
|
|
300
|
-
};
|
|
301
|
-
};
|
|
302
|
-
titleSmall: {
|
|
303
|
-
small: {
|
|
304
|
-
fontSize: string;
|
|
305
|
-
lineHeight: string;
|
|
306
|
-
fontWeight: string;
|
|
307
|
-
};
|
|
308
|
-
base: {
|
|
309
|
-
fontSize: string;
|
|
310
|
-
lineHeight: string;
|
|
311
|
-
fontWeight: string;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
heading_1: {
|
|
315
|
-
small: {
|
|
316
|
-
fontSize: string;
|
|
317
|
-
lineHeight: string;
|
|
318
|
-
fontWeight: string;
|
|
319
|
-
};
|
|
320
|
-
base: {
|
|
321
|
-
fontSize: string;
|
|
322
|
-
lineHeight: string;
|
|
323
|
-
fontWeight: string;
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
heading_2: {
|
|
327
|
-
small: {
|
|
328
|
-
fontSize: string;
|
|
329
|
-
lineHeight: string;
|
|
330
|
-
fontWeight: string;
|
|
331
|
-
};
|
|
332
|
-
base: {
|
|
333
|
-
fontSize: string;
|
|
334
|
-
lineHeight: string;
|
|
335
|
-
fontWeight: string;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
heading_3: {
|
|
339
|
-
small: {
|
|
340
|
-
fontSize: string;
|
|
341
|
-
lineHeight: string;
|
|
342
|
-
fontWeight: string;
|
|
343
|
-
};
|
|
344
|
-
base: {
|
|
345
|
-
fontSize: string;
|
|
346
|
-
lineHeight: string;
|
|
347
|
-
fontWeight: string;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
heading_4: {
|
|
351
|
-
small: {
|
|
352
|
-
fontSize: string;
|
|
353
|
-
lineHeight: string;
|
|
354
|
-
fontWeight: string;
|
|
355
|
-
};
|
|
356
|
-
base: {
|
|
357
|
-
fontSize: string;
|
|
358
|
-
lineHeight: string;
|
|
359
|
-
fontWeight: string;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
heading_5: {
|
|
363
|
-
small: {
|
|
364
|
-
fontSize: string;
|
|
365
|
-
lineHeight: string;
|
|
366
|
-
fontWeight: string;
|
|
367
|
-
};
|
|
368
|
-
base: {
|
|
369
|
-
fontSize: string;
|
|
370
|
-
lineHeight: string;
|
|
371
|
-
fontWeight: string;
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
paragraphLarge: {
|
|
375
|
-
small: {
|
|
376
|
-
fontSize: string;
|
|
377
|
-
lineHeight: string;
|
|
378
|
-
fontWeight: string;
|
|
379
|
-
};
|
|
380
|
-
base: {
|
|
381
|
-
fontSize: string;
|
|
382
|
-
lineHeight: string;
|
|
383
|
-
fontWeight: string;
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
paragraphMedium: {
|
|
387
|
-
small: {
|
|
388
|
-
fontSize: string;
|
|
389
|
-
lineHeight: string;
|
|
390
|
-
fontWeight: string;
|
|
391
|
-
};
|
|
392
|
-
base: {
|
|
393
|
-
fontSize: string;
|
|
394
|
-
lineHeight: string;
|
|
395
|
-
fontWeight: string;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
paragraphSmall: {
|
|
399
|
-
small: {
|
|
400
|
-
fontSize: string;
|
|
401
|
-
lineHeight: string;
|
|
402
|
-
fontWeight: string;
|
|
403
|
-
};
|
|
404
|
-
base: {
|
|
405
|
-
fontSize: string;
|
|
406
|
-
lineHeight: string;
|
|
407
|
-
fontWeight: string;
|
|
408
|
-
};
|
|
409
|
-
};
|
|
410
|
-
textLarge: {
|
|
411
|
-
small: {
|
|
412
|
-
fontSize: string;
|
|
413
|
-
lineHeight: string;
|
|
414
|
-
fontWeight: string;
|
|
415
|
-
};
|
|
416
|
-
base: {
|
|
417
|
-
fontSize: string;
|
|
418
|
-
lineHeight: string;
|
|
419
|
-
fontWeight: string;
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
textMedium: {
|
|
423
|
-
small: {
|
|
424
|
-
fontSize: string;
|
|
425
|
-
lineHeight: string;
|
|
426
|
-
fontWeight: string;
|
|
427
|
-
};
|
|
428
|
-
base: {
|
|
429
|
-
fontSize: string;
|
|
430
|
-
lineHeight: string;
|
|
431
|
-
fontWeight: string;
|
|
432
|
-
};
|
|
433
|
-
};
|
|
434
|
-
textSmall: {
|
|
435
|
-
small: {
|
|
436
|
-
fontSize: string;
|
|
437
|
-
lineHeight: string;
|
|
438
|
-
fontWeight: string;
|
|
439
|
-
};
|
|
440
|
-
base: {
|
|
441
|
-
fontSize: string;
|
|
442
|
-
lineHeight: string;
|
|
443
|
-
fontWeight: string;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
textMicro: {
|
|
447
|
-
small: {
|
|
448
|
-
fontSize: string;
|
|
449
|
-
lineHeight: string;
|
|
450
|
-
fontWeight: string;
|
|
451
|
-
};
|
|
452
|
-
base: {
|
|
453
|
-
fontSize: string;
|
|
454
|
-
lineHeight: string;
|
|
455
|
-
fontWeight: string;
|
|
456
|
-
};
|
|
457
|
-
};
|
|
458
|
-
body: {
|
|
459
|
-
small: {
|
|
460
|
-
fontSize: string;
|
|
461
|
-
lineHeight: string;
|
|
462
|
-
fontWeight: string;
|
|
463
|
-
};
|
|
464
|
-
base: {
|
|
465
|
-
fontSize: string;
|
|
466
|
-
lineHeight: string;
|
|
467
|
-
fontWeight: string;
|
|
468
|
-
};
|
|
469
|
-
};
|
|
470
|
-
small: {
|
|
471
|
-
small: {
|
|
472
|
-
fontSize: string;
|
|
473
|
-
lineHeight: string;
|
|
474
|
-
fontWeight: string;
|
|
475
|
-
};
|
|
476
|
-
base: {
|
|
477
|
-
fontSize: string;
|
|
478
|
-
lineHeight: string;
|
|
479
|
-
fontWeight: string;
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
title: {
|
|
484
|
-
small: {
|
|
485
|
-
fontSize: string;
|
|
486
|
-
lineHeight: string;
|
|
487
|
-
fontWeight: string;
|
|
488
|
-
};
|
|
489
|
-
base: {
|
|
490
|
-
fontSize: string;
|
|
491
|
-
lineHeight: string;
|
|
492
|
-
fontWeight: string;
|
|
493
|
-
};
|
|
494
|
-
};
|
|
495
|
-
titleSmall: {
|
|
496
|
-
small: {
|
|
497
|
-
fontSize: string;
|
|
498
|
-
lineHeight: string;
|
|
499
|
-
fontWeight: string;
|
|
500
|
-
};
|
|
501
|
-
base: {
|
|
502
|
-
fontSize: string;
|
|
503
|
-
lineHeight: string;
|
|
504
|
-
fontWeight: string;
|
|
505
|
-
};
|
|
506
|
-
};
|
|
507
|
-
heading_1: {
|
|
508
|
-
small: {
|
|
509
|
-
fontSize: string;
|
|
510
|
-
lineHeight: string;
|
|
511
|
-
fontWeight: string;
|
|
512
|
-
};
|
|
513
|
-
base: {
|
|
514
|
-
fontSize: string;
|
|
515
|
-
lineHeight: string;
|
|
516
|
-
fontWeight: string;
|
|
517
|
-
};
|
|
518
|
-
};
|
|
519
|
-
heading_2: {
|
|
520
|
-
small: {
|
|
521
|
-
fontSize: string;
|
|
522
|
-
lineHeight: string;
|
|
523
|
-
fontWeight: string;
|
|
524
|
-
};
|
|
525
|
-
base: {
|
|
526
|
-
fontSize: string;
|
|
527
|
-
lineHeight: string;
|
|
528
|
-
fontWeight: string;
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
heading_3: {
|
|
532
|
-
small: {
|
|
533
|
-
fontSize: string;
|
|
534
|
-
lineHeight: string;
|
|
535
|
-
fontWeight: string;
|
|
536
|
-
};
|
|
537
|
-
base: {
|
|
538
|
-
fontSize: string;
|
|
539
|
-
lineHeight: string;
|
|
540
|
-
fontWeight: string;
|
|
541
|
-
};
|
|
542
|
-
};
|
|
543
|
-
heading_4: {
|
|
544
|
-
small: {
|
|
545
|
-
fontSize: string;
|
|
546
|
-
lineHeight: string;
|
|
547
|
-
fontWeight: string;
|
|
548
|
-
};
|
|
549
|
-
base: {
|
|
550
|
-
fontSize: string;
|
|
551
|
-
lineHeight: string;
|
|
552
|
-
fontWeight: string;
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
|
-
heading_5: {
|
|
556
|
-
small: {
|
|
557
|
-
fontSize: string;
|
|
558
|
-
lineHeight: string;
|
|
559
|
-
fontWeight: string;
|
|
560
|
-
};
|
|
561
|
-
base: {
|
|
562
|
-
fontSize: string;
|
|
563
|
-
lineHeight: string;
|
|
564
|
-
fontWeight: string;
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
body: {
|
|
568
|
-
small: {
|
|
569
|
-
fontSize: string;
|
|
570
|
-
lineHeight: string;
|
|
571
|
-
fontWeight: string;
|
|
572
|
-
};
|
|
573
|
-
base: {
|
|
574
|
-
fontSize: string;
|
|
575
|
-
lineHeight: string;
|
|
576
|
-
fontWeight: string;
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
small: {
|
|
580
|
-
small: {
|
|
581
|
-
fontSize: string;
|
|
582
|
-
lineHeight: string;
|
|
583
|
-
fontWeight: string;
|
|
584
|
-
};
|
|
585
|
-
base: {
|
|
586
|
-
fontSize: string;
|
|
587
|
-
lineHeight: string;
|
|
588
|
-
fontWeight: string;
|
|
589
|
-
};
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
};
|
|
593
|
-
export default _default;
|
package/build/cjs/index.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core/tokens.cjs"),s=require("./hooks/useAnimatedDetails/useAnimatedDetails.cjs"),r=require("./hooks/useAnimatedHeight/useAnimatedHeight.cjs"),i=require("./hooks/useAnimatedHeight/useAnimatedHeightBetween.cjs"),t=require("./hooks/useAnimatedHeight/useAutoAnimateHeight.cjs"),o=require("./hooks/useBrowserPreferences/useBrowserPreferences.cjs"),u=require("./hooks/useIntersectionObserver/useIntersectionObserver.cjs"),a=require("./hooks/useLocalStorage/useLocalStorage.cjs"),m=require("./hooks/useMutationObserver/useMutationObserver.cjs"),n=require("./hooks/usePreviousValue/usePreviousValue.cjs"),l=require("./hooks/useProgressiveImg/useProgressiveImg.cjs"),d=require("./hooks/useScreen/useScreen.cjs"),c=require("./hooks/useScrollIntoView/useScrollIntoView.cjs"),g=require("./hooks/useAriaLiveRegion/useAriaLiveRegion.cjs"),p=require("./hooks/useClickOutside/useClickOutside.cjs"),h=require("./hooks/useFocusOutside/useFocusOutside.cjs"),x=require("./hooks/useElementDimensions/useElementDimensions.cjs"),f=require("./hooks/useId/useId.cjs"),j=require("./hooks/useKeyListener/useKeyListener.cjs"),q=require("./hooks/useListNavigation/useListNavigation.cjs"),E=require("./hooks/useSwipeGesture/useSwipeGesture.cjs"),V=require("../index-CaISwoxr.cjs"),v=require("./utilities/formatters/util/formatNumber.cjs"),M=require("./utilities/formatters/util/parseNumber.cjs"),k=require("./utilities/formatters/util/registerWithMask.cjs"),O=require("./utilities/formatters/avstand/formatAvstand.cjs"),R=require("./utilities/formatters/bytes/formatBytes.cjs"),N=require("./utilities/formatters/date/formatDate.cjs"),S=require("./utilities/formatters/fodselsnummer/formatFodselsnummer.cjs"),A=require("./utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.cjs"),I=require("./utilities/formatters/kontonummer/formatKontonummer.cjs"),L=require("./utilities/formatters/kortnummer/formatKortnummer.cjs"),T=require("./utilities/formatters/telefonnummer/formatTelefonnummer.cjs"),b=require("./utilities/formatters/valuta/formatValuta.cjs"),P=require("./utilities/getThemeAndSize.cjs"),K=require("./utilities/mergeRefs.cjs"),D=require("./utilities/polymorphism/mergeProps.cjs"),F=require("./utilities/polymorphism/SlotComponent.cjs"),G=require("./utilities/tabListener.cjs"),w=require("./utilities/validators/isValidEpost/isValidEpost.cjs"),C=require("./utilities/validators/isValidTelefonnummer/isValidTelefonnummer.cjs"),W=require("./utilities/validators/isValidRegistreringsnummer/isValidRegistreringsnummer.cjs"),y=require("./utilities/validators/isValidChassisnummer/isValidChassisnummer.cjs"),H=require("./utilities/validators/isValidDogId/isValidDogId.cjs"),B=require("./utilities/validators/isExactLength/isExactLength.cjs"),U=require("./utilities/validators/isInteger/isInteger.cjs"),X=require("./utilities/validators/isValidFodselsnummer/isValidFodselsnummer.cjs"),_=require("./utilities/validators/isValidOrganisasjonsnummer/isValidOrganisasjonsnummer.cjs"),z=require("./utilities/validators/isValidName/isValidName.cjs"),J=require("./utilities/validators/hasMinimumWords/hasMinimumWords.cjs"),Q=require("./utilities/validators/hasNoIllegalCharacters/hasNoIllegalCharacters.cjs"),Y=require("./utilities/valuePair.cjs");exports.tokens=e,exports.useAnimatedDetails=s.useAnimatedDetails,exports.useAnimatedHeight=r.useAnimatedHeight,exports.useAnimatedHeightBetween=i.useAnimatedHeightBetween,exports.useAutoAnimatedHeight=t.useAutoAnimatedHeight,exports.useBrowserPreferences=o.useBrowserPreferences,exports.useIntersectionObserver=u.useIntersectionObserver,exports.useLocalStorage=a.useLocalStorage,exports.useMutationObserver=m.useMutationObserver,exports.usePreviousValue=n.usePreviousValue,exports.useProgressiveImg=l.useProgressiveImg,exports.useScreen=d.useScreen,exports.useScrollIntoView=c.useScrollIntoView,exports.useAriaLiveRegion=g.useAriaLiveRegion,exports.useClickOutside=p.useClickOutside,exports.useFocusOutside=h.useFocusOutside,exports.useElementDimensions=x.useElementDimensions,exports.useId=f.useId,exports.useKeyListener=j.useKeyListener,exports.useListNavigation=q.useListNavigation,exports.useSwipeGesture=E.useSwipeGesture,exports.unicode=V.unicode,exports.formatNumber=v.formatNumber,exports.parseNumber=M.parseNumber,exports.registerWithFodselsnummerMask=k.registerWithFodselsnummerMask,exports.registerWithKontonummerMask=k.registerWithKontonummerMask,exports.registerWithKortnummerMask=k.registerWithKortnummerMask,exports.registerWithMasks=k.registerWithMasks,exports.registerWithTelefonnummerMask=k.registerWithTelefonnummerMask,exports.formatAvstand=O.formatAvstand,exports.formatBytes=R.formatBytes,exports.formatDate=N.formatDate,exports.FODSELSNUMMER_REGEX=S.FODSELSNUMMER_REGEX,exports.formatFodselsnummer=S.formatFodselsnummer,exports.ORGANISASJONSNUMMER_REGEX=A.ORGANISASJONSNUMMER_REGEX,exports.formatOrganisasjonsnummer=A.formatOrganisasjonsnummer,exports.KONTONUMMER_REGEX=I.KONTONUMMER_REGEX,exports.formatKontonummer=I.formatKontonummer,exports.KORTNUMMER_REGEX=L.KORTNUMMER_REGEX,exports.formatKortnummer=L.formatKortnummer,exports.TELEFONNUMMER_REGEX=T.TELEFONNUMMER_REGEX,exports.formatTelefonnummer=T.formatTelefonnummer,exports.formatValuta=b.formatValuta,exports.getThemeAndSize=P.getThemeAndSize,exports.mergeRefs=K.mergeRefs,exports.useMergeRefs=K.useMergeRefs,exports.mergeProps=D.mergeProps,exports.SlotComponent=F.SlotComponent,exports.initTabListener=G.initTabListener,exports.isValidEpost=w.isValidEpost,exports.isValidTelefonnummer=C.isValidTelefonnummer,exports.isValidRegistreringsnummer=W.isValidRegistreringsnummer,exports.isValidChassisnummer=y.isValidChassisnummer,exports.isValidDogId=H.isValidDogId,exports.isExactLength=B.isExactLength,exports.isInteger=U.isInteger,exports.isValidFodselsnummer=X.isValidFodselsnummer,exports.isValidOrganisasjonsnummer=_.isValidOrganisasjonsnummer,exports.isValidName=z.isValidName,exports.hasMinimumWords=J.hasMinimumWords,exports.hasNoIllegalCharacters=Q.hasNoIllegalCharacters,exports.getValuePair=Y.getValuePair;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
package/build/cjs/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/build/cjs/index.d.cts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports={"background-page":"var(--jkl-color-background-page)","background-page-variant":"var(--jkl-color-background-page-variant)","background-container":"var(--jkl-color-background-container)","background-container-low":"var(--jkl-color-background-container-low)","background-container-high":"var(--jkl-color-background-container-high)","background-container-inverted":"var(--jkl-color-background-container-inverted)","background-container-subdued":"var(--jkl-color-background-container-subdued)","background-input-base":"var(--jkl-color-background-input-base)","background-input-focus":"var(--jkl-color-background-input-focus)","background-action":"var(--jkl-color-background-action)","background-interactive":"var(--jkl-color-background-interactive)","background-interactive-hover":"var(--jkl-color-background-interactive-hover)","background-interactive-selected":"var(--jkl-color-background-interactive-selected)","background-alert-neutral":"var(--jkl-color-background-alert-neutral)","background-alert-info":"var(--jkl-color-background-alert-info)","background-alert-success":"var(--jkl-color-background-alert-success)","background-alert-warning":"var(--jkl-color-background-alert-warning)","background-alert-error":"var(--jkl-color-background-alert-error)","text-default":"var(--jkl-color-text-default)","text-subdued":"var(--jkl-color-text-subdued)","text-inverted":"var(--jkl-color-text-inverted)","text-on-action":"var(--jkl-color-text-on-action)","text-interactive":"var(--jkl-color-text-interactive)","text-interactive-hover":"var(--jkl-color-text-interactive-hover)","text-on-alert":"var(--jkl-color-text-on-alert)","text-on-alert-subdued":"var(--jkl-color-text-on-alert-subdued)","border-action":"var(--jkl-color-border-action)","border-input":"var(--jkl-color-border-input)","border-input-focus":"var(--jkl-color-border-input-focus)","border-separator":"var(--jkl-color-border-separator)","border-separator-strong":"var(--jkl-color-border-separator-strong)","border-separator-hover":"var(--jkl-color-border-separator-hover)","border-subdued":"var(--jkl-color-border-subdued)"};
|
|
2
|
-
//# sourceMappingURL=colors.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colors.cjs","sources":["../../../src/tailwind/colors.ts"],"sourcesContent":["/**\n * Do not edit directly, this file was auto-generated.\n */\n\nconst colors = {\n \"background-page\": \"var(--jkl-color-background-page)\",\n \"background-page-variant\": \"var(--jkl-color-background-page-variant)\",\n \"background-container\": \"var(--jkl-color-background-container)\",\n \"background-container-low\": \"var(--jkl-color-background-container-low)\",\n \"background-container-high\": \"var(--jkl-color-background-container-high)\",\n \"background-container-inverted\": \"var(--jkl-color-background-container-inverted)\",\n \"background-container-subdued\": \"var(--jkl-color-background-container-subdued)\",\n \"background-input-base\": \"var(--jkl-color-background-input-base)\",\n \"background-input-focus\": \"var(--jkl-color-background-input-focus)\",\n \"background-action\": \"var(--jkl-color-background-action)\",\n \"background-interactive\": \"var(--jkl-color-background-interactive)\",\n \"background-interactive-hover\": \"var(--jkl-color-background-interactive-hover)\",\n \"background-interactive-selected\": \"var(--jkl-color-background-interactive-selected)\",\n \"background-alert-neutral\": \"var(--jkl-color-background-alert-neutral)\",\n \"background-alert-info\": \"var(--jkl-color-background-alert-info)\",\n \"background-alert-success\": \"var(--jkl-color-background-alert-success)\",\n \"background-alert-warning\": \"var(--jkl-color-background-alert-warning)\",\n \"background-alert-error\": \"var(--jkl-color-background-alert-error)\",\n \"text-default\": \"var(--jkl-color-text-default)\",\n \"text-subdued\": \"var(--jkl-color-text-subdued)\",\n \"text-inverted\": \"var(--jkl-color-text-inverted)\",\n \"text-on-action\": \"var(--jkl-color-text-on-action)\",\n \"text-interactive\": \"var(--jkl-color-text-interactive)\",\n \"text-interactive-hover\": \"var(--jkl-color-text-interactive-hover)\",\n \"text-on-alert\": \"var(--jkl-color-text-on-alert)\",\n \"text-on-alert-subdued\": \"var(--jkl-color-text-on-alert-subdued)\",\n \"border-action\": \"var(--jkl-color-border-action)\",\n \"border-input\": \"var(--jkl-color-border-input)\",\n \"border-input-focus\": \"var(--jkl-color-border-input-focus)\",\n \"border-separator\": \"var(--jkl-color-border-separator)\",\n \"border-separator-strong\": \"var(--jkl-color-border-separator-strong)\",\n \"border-separator-hover\": \"var(--jkl-color-border-separator-hover)\",\n \"border-subdued\": \"var(--jkl-color-border-subdued)\",\n};\n\nexport default colors;\n"],"names":[],"mappings":"AAIA,4BAAe,CACX,kBAAmB,mCACnB,0BAA2B,2CAC3B,uBAAwB,wCACxB,2BAA4B,4CAC5B,4BAA6B,6CAC7B,gCAAiC,iDACjC,+BAAgC,gDAChC,wBAAyB,yCACzB,yBAA0B,0CAC1B,oBAAqB,qCACrB,yBAA0B,0CAC1B,+BAAgC,gDAChC,kCAAmC,mDACnC,2BAA4B,4CAC5B,wBAAyB,yCACzB,2BAA4B,4CAC5B,2BAA4B,4CAC5B,yBAA0B,0CAC1B,eAAgB,gCAChB,eAAgB,gCAChB,gBAAiB,iCACjB,iBAAkB,kCAClB,mBAAoB,oCACpB,yBAA0B,0CAC1B,gBAAiB,iCACjB,wBAAyB,yCACzB,gBAAiB,iCACjB,eAAgB,gCAChB,qBAAsB,sCACtB,mBAAoB,oCACpB,0BAA2B,2CAC3B,yBAA0B,0CAC1B,iBAAkB"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly, this file was auto-generated.
|
|
3
|
-
*/
|
|
4
|
-
declare const colors: {
|
|
5
|
-
"background-page": string;
|
|
6
|
-
"background-page-variant": string;
|
|
7
|
-
"background-container": string;
|
|
8
|
-
"background-container-low": string;
|
|
9
|
-
"background-container-high": string;
|
|
10
|
-
"background-container-inverted": string;
|
|
11
|
-
"background-container-subdued": string;
|
|
12
|
-
"background-input-base": string;
|
|
13
|
-
"background-input-focus": string;
|
|
14
|
-
"background-action": string;
|
|
15
|
-
"background-interactive": string;
|
|
16
|
-
"background-interactive-hover": string;
|
|
17
|
-
"background-interactive-selected": string;
|
|
18
|
-
"background-alert-neutral": string;
|
|
19
|
-
"background-alert-info": string;
|
|
20
|
-
"background-alert-success": string;
|
|
21
|
-
"background-alert-warning": string;
|
|
22
|
-
"background-alert-error": string;
|
|
23
|
-
"text-default": string;
|
|
24
|
-
"text-subdued": string;
|
|
25
|
-
"text-inverted": string;
|
|
26
|
-
"text-on-action": string;
|
|
27
|
-
"text-interactive": string;
|
|
28
|
-
"text-interactive-hover": string;
|
|
29
|
-
"text-on-alert": string;
|
|
30
|
-
"text-on-alert-subdued": string;
|
|
31
|
-
"border-action": string;
|
|
32
|
-
"border-input": string;
|
|
33
|
-
"border-input-focus": string;
|
|
34
|
-
"border-separator": string;
|
|
35
|
-
"border-separator-strong": string;
|
|
36
|
-
"border-separator-hover": string;
|
|
37
|
-
"border-subdued": string;
|
|
38
|
-
};
|
|
39
|
-
export default colors;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{c as s}from"../../../clsx-BeLtu-UY.js";import"react";import{DescriptionListItem as a}from"./DescriptionListItem.js";const i=({className:a,alignment:i="horizontal",showSeparators:r=!1,children:e,...o})=>t("dl",{...o,className:s("jkl-description-list--beta",a),"data-alignment":i,"data-separators":r,children:e});i.Item=a;export{i as DescriptionList};
|
|
2
|
-
//# sourceMappingURL=DescriptionList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DescriptionList.js","sources":["../../../../src/components-beta/description-list/DescriptionList.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport React from \"react\";\nimport { DescriptionListItem } from \"./DescriptionListItem.js\";\nimport type { DescriptionListProps } from \"./types.js\";\n\n/**\n * @deprecated Bruk heller den stabile komponenten. All funksjonalitet fra Beta-komponenten er tilgjengelige der.\n */\nexport const DescriptionList = ({\n className,\n alignment = \"horizontal\",\n showSeparators = false,\n children,\n ...rest\n}: DescriptionListProps): React.JSX.Element => {\n return (\n <dl\n {...rest}\n className={clsx(\"jkl-description-list--beta\", className)}\n data-alignment={alignment}\n data-separators={showSeparators}\n >\n {children}\n </dl>\n );\n};\n\nDescriptionList.Item = DescriptionListItem;\n"],"names":["DescriptionList","className","alignment","showSeparators","children","rest","jsx","clsx","Item","DescriptionListItem"],"mappings":"mKAQO,MAAMA,EAAkB,EAC3BC,UAAAA,EACAC,UAAAA,EAAY,aACZC,eAAAA,GAAiB,EACjBC,SAAAA,KACGC,KAGCC,EAAC,KAAA,IACOD,EACJJ,UAAWM,EAAK,6BAA8BN,GAC9C,iBAAgBC,EAChB,kBAAiBC,EAEhBC,SAAAA,IAKbJ,EAAgBQ,KAAOC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{jsxs as s,jsx as t}from"react/jsx-runtime";import{c as e}from"../../../clsx-BeLtu-UY.js";import"react";const a=({title:a,value:i,supportText:r,className:c,...l})=>s("div",{...l,className:e("jkl-description-list-item--beta",c),children:[t("dt",{className:"title",children:a}),t("dd",{className:"value",children:i}),r&&t("dd",{className:"support-text",children:r})]});export{a as DescriptionListItem};
|
|
2
|
-
//# sourceMappingURL=DescriptionListItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DescriptionListItem.js","sources":["../../../../src/components-beta/description-list/DescriptionListItem.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport React, { type FC } from \"react\";\nimport type { DescriptionListItemProps } from \"./types.js\";\n\n/**\n * @deprecated Bruk heller den stabile komponenten for DescriptionList sammen med Terms og Details. All funksjonalitet fra Beta-komponenten er tilgjengelige der.\n */\nexport const DescriptionListItem: FC<DescriptionListItemProps> = ({\n title,\n value,\n supportText,\n className,\n ...rest\n}) => {\n return (\n <div\n {...rest}\n className={clsx(\"jkl-description-list-item--beta\", className)}\n >\n <dt className=\"title\">{title}</dt>\n <dd className=\"value\">{value}</dd>\n {supportText && <dd className=\"support-text\">{supportText}</dd>}\n </div>\n );\n};\n"],"names":["DescriptionListItem","title","value","supportText","className","rest","jsxs","clsx","children","jsx"],"mappings":"8GAOO,MAAMA,EAAoD,EAC7DC,MAAAA,EACAC,MAAAA,EACAC,YAAAA,EACAC,UAAAA,KACGC,KAGCC,EAAC,MAAA,IACOD,EACJD,UAAWG,EAAK,kCAAmCH,GAEnDI,SAAA,CAAAC,EAAC,KAAA,CAAGL,UAAU,QAASI,SAAAP,IACvBQ,EAAC,KAAA,CAAGL,UAAU,QAASI,SAAAN,IACtBC,GAAeM,EAAC,KAAA,CAAGL,UAAU,eAAgBI,SAAAL"}
|