@fremtind/jokul 0.14.0 → 0.15.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/build/build-stats.html +1 -1
- package/build/cjs/components/accordion/documentation/Example.js +2 -0
- package/build/cjs/components/accordion/documentation/Example.js.map +1 -0
- package/build/cjs/components/accordion/documentation/main.js +2 -0
- package/build/cjs/components/accordion/documentation/main.js.map +1 -0
- package/build/cjs/components/accordion/documentation/vite.dev.config.js +2 -0
- package/build/cjs/components/accordion/documentation/vite.dev.config.js.map +1 -0
- package/build/cjs/components/button/Button.js +1 -1
- package/build/cjs/components/button/Button.js.map +1 -1
- package/build/cjs/components/button/types.js.map +1 -1
- package/build/cjs/components/link/documentation/Example.js +2 -0
- package/build/cjs/components/link/documentation/Example.js.map +1 -0
- package/build/cjs/components/link/documentation/main.js +2 -0
- package/build/cjs/components/link/documentation/main.js.map +1 -0
- package/build/cjs/components/link/documentation/vite.dev.config.js +2 -0
- package/build/cjs/components/link/documentation/vite.dev.config.js.map +1 -0
- package/build/cjs/components/loader/documentation/Example.js +2 -0
- package/build/cjs/components/loader/documentation/Example.js.map +1 -0
- package/build/cjs/components/loader/documentation/main.js +2 -0
- package/build/cjs/components/loader/documentation/main.js.map +1 -0
- package/build/cjs/components/loader/documentation/vite.dev.config.js +2 -0
- package/build/cjs/components/loader/documentation/vite.dev.config.js.map +1 -0
- package/build/copy-jkl-fonts-BEH11kbT.cjs +2 -0
- package/build/copy-jkl-fonts-BEH11kbT.cjs.map +1 -0
- package/build/copy-jkl-fonts-Yd-mZnP9.js +2 -0
- package/build/copy-jkl-fonts-Yd-mZnP9.js.map +1 -0
- package/build/es/components/accordion/documentation/Example.js +2 -0
- package/build/es/components/accordion/documentation/Example.js.map +1 -0
- package/build/es/components/accordion/documentation/main.js +2 -0
- package/build/es/components/accordion/documentation/main.js.map +1 -0
- package/build/es/components/accordion/documentation/vite.dev.config.js +2 -0
- package/build/es/components/accordion/documentation/vite.dev.config.js.map +1 -0
- package/build/es/components/button/Button.js +1 -1
- package/build/es/components/button/Button.js.map +1 -1
- package/build/es/components/button/types.js.map +1 -1
- package/build/es/components/link/documentation/Example.js +2 -0
- package/build/es/components/link/documentation/Example.js.map +1 -0
- package/build/es/components/link/documentation/main.js +2 -0
- package/build/es/components/link/documentation/main.js.map +1 -0
- package/build/es/components/link/documentation/vite.dev.config.js +2 -0
- package/build/es/components/link/documentation/vite.dev.config.js.map +1 -0
- package/build/es/components/loader/documentation/Example.js +2 -0
- package/build/es/components/loader/documentation/Example.js.map +1 -0
- package/build/es/components/loader/documentation/main.js +2 -0
- package/build/es/components/loader/documentation/main.js.map +1 -0
- package/build/es/components/loader/documentation/vite.dev.config.js +2 -0
- package/build/es/components/loader/documentation/vite.dev.config.js.map +1 -0
- package/build/formatCode-BE8lQWf_.js +2 -0
- package/build/formatCode-BE8lQWf_.js.map +1 -0
- package/build/formatCode-C0vvPbYm.cjs +2 -0
- package/build/formatCode-C0vvPbYm.cjs.map +1 -0
- package/build/index-BeDzjUCb.cjs +2 -0
- package/build/index-BeDzjUCb.cjs.map +1 -0
- package/build/index-CWVFjuWM.js +2 -0
- package/build/index-CWVFjuWM.js.map +1 -0
- package/build/packages/jokul/src/components/accordion/documentation/Example.d.ts +2 -0
- package/build/packages/jokul/src/components/accordion/documentation/main.d.ts +1 -0
- package/build/packages/jokul/src/components/accordion/documentation/vite.dev.config.d.ts +2 -0
- package/build/{components → packages/jokul/src/components}/button/types.d.ts +26 -2
- package/build/packages/jokul/src/components/link/documentation/Example.d.ts +2 -0
- package/build/packages/jokul/src/components/link/documentation/main.d.ts +1 -0
- package/build/packages/jokul/src/components/link/documentation/vite.dev.config.d.ts +2 -0
- package/build/packages/jokul/src/components/loader/documentation/Example.d.ts +2 -0
- package/build/packages/jokul/src/components/loader/documentation/main.d.ts +1 -0
- package/build/packages/jokul/src/components/loader/documentation/vite.dev.config.d.ts +2 -0
- package/build/style.css +1 -0
- package/package.json +12 -2
- package/src/components/button/styles/button.css +126 -193
- package/src/components/button/styles/button.min.css +1 -1
- package/src/components/button/styles/button.scss +129 -220
- package/src/components/checkbox/styles/checkbox.css +4 -4
- package/src/components/checkbox/styles/checkbox.min.css +1 -1
- package/src/components/feedback/styles/feedback.css +2 -2
- package/src/components/feedback/styles/feedback.min.css +1 -1
- package/src/components/input-group/styles/input-group.css +2 -2
- package/src/components/input-group/styles/input-group.min.css +1 -1
- package/src/components/loader/styles/loader.css +6 -6
- package/src/components/loader/styles/loader.min.css +1 -1
- package/src/components/loader/styles/skeleton-loader.css +5 -5
- package/src/components/loader/styles/skeleton-loader.min.css +1 -1
- package/src/components/message/styles/message.css +2 -2
- package/src/components/message/styles/message.min.css +1 -1
- package/src/components/progress-bar/styles/progress-bar.css +2 -2
- package/src/components/progress-bar/styles/progress-bar.min.css +1 -1
- package/src/components/radio-button/styles/radio-button.css +2 -2
- package/src/components/radio-button/styles/radio-button.min.css +1 -1
- package/src/components/system-message/styles/system-message.css +2 -2
- package/src/components/system-message/styles/system-message.min.css +1 -1
- package/src/components/toast/styles/toast.css +4 -4
- package/src/components/toast/styles/toast.min.css +1 -1
- package/src/core/jkl/_theme.scss +32 -13
- /package/build/{components → packages/jokul/src/components}/ScreenReaderOnly.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/accordion/Accordion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/accordion/AccordionItem.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/accordion/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/breadcrumb/Breadcrumb.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/breadcrumb/BreadcrumbItem.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/breadcrumb/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/button/Button.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/button/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/Card.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/CardImage.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/InfoCard.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/NavCard.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/TaskCard.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/types.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/card/utils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/checkbox/Checkbox.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/checkbox/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/combobox/Combobox.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/combobox/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/CookieConsent.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/CookieConsentContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/CookieConsentModal.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/consents/CustomConsents.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/consents/DefaultConsents.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/consents/RequirementCheckbox.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/cookieConsentUtils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/cookie-consent/types.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/DatePicker.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/internal/Calendar.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/internal/calendarReducer.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/internal/useCalendar.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/internal/utils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/types.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/utils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/datepicker/validation.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/description-list/DescriptionList.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/description-list/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/expander/ExpandSection.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/expander/Expander.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/expander/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/Feedback.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/FeedbackSuccess.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/FeedbackValues.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/feedbackContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/followup/Followup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/followup/followupContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/followup/useFollowup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/main-question/MainQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/main-question/mainQuestionContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/main-question/useMainQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/presets.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/AddonQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/CheckboxQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/ContactQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/RadioQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/SmileyQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/TextQuestion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/questions/smileyUtils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/types.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/feedback/utils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/Icon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ArrowDownIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ArrowLeftIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ArrowNorthEastIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ArrowRightIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ArrowUpIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/CalendarIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/CheckIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ChevronDownIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ChevronLeftIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ChevronRightIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ChevronUpIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/CloseIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/CopyIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/DotsIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/DragIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ErrorIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/GreenCheckIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/HamburgerIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/InfoIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/LinkIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/MinusIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/PenIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/PlusIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/QuestionIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/RedCrossIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/SearchIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/SuccessIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ThumbDownIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/ThumbUpIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/TrashCanIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/WarningIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/animated/ArrowHorizontalAnimated.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/animated/ArrowVerticalAnimated.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/icons/animated/PlusRemoveAnimated.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon/types.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon-button/IconButton.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/icon-button/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/image/Image.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/image/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/image/useImageLoadingStatus.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/input-group/FieldGroup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/input-group/InputGroup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/input-group/Label.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/input-group/SupportLabel.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/input-group/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/link/Link.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/link/NavLink.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/link/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/link-list/LinkList.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/link-list/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/list/List.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/list/ListItem.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/list/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/Loader.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonAnimation.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonButton.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonCheckboxGroup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonElement.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonInput.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonLabel.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonRadioButtonGroup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonTable.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/skeletons/SkeletonTextArea.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/loader/useDelayedRender.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/Logo.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/LogoStamp.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/text-paths/ForsikringLevertAvFremtind.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/text-paths/FraSB1ogDNB.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/text-paths/InnovasjonFraFremtind.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/text-paths/TeknologiFraFremtind.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/text-paths/VartEgetForsikringsselskap.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/text-paths/VartForsikringsselskap.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/text-paths/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/logo/useTextSpinner.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/message/DismissButton.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/message/FormErrorMessage.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/message/Message.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/message/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/modal/Modal.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/modal/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/modal/useModal.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/popover/Popover.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/popover/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/popover/utils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/progress-bar/Countdown.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/progress-bar/ProgressBar.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/progress-bar/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/radio-button/BaseRadioButton.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/radio-button/RadioButton.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/radio-button/RadioButtonGroup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/radio-button/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/radio-button/radioGroupContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/select/NativeSelect.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/select/Select.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/select/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/select/select-utils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/summary-table/SummaryTable.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/summary-table/SummaryTableRow.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/summary-table/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/summary-table/mocks/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/system-message/SystemMessage.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/system-message/common/DismissButton.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/system-message/common/MessageIcon.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/system-message/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/DataTable.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/ExpandableTableRow.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/ExpandableTableRowController.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/Table.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableBody.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableCaption.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableCell.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableColumn.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableColumnGroup.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableFooter.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableHead.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableHeader.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TablePagination.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/TableRow.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/tableContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/tableSectionContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/table/utils.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/NavTab.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/NavTabs.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/Tab.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/TabList.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/TabPanel.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/Tabs.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tabs/tabsContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tag/Tag.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tag/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/text-input/BaseTextArea.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/text-input/BaseTextInput.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/text-input/TextArea.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/text-input/TextInput.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/text-input/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toast/Toast.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toast/ToastRegion.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toast/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toast/toastContext.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toast/types.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toggle-switch/ToggleSlider.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toggle-switch/ToggleSwitch.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toggle-switch/index.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/toggle-switch/usePillStyles.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tooltip/PopupTip.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tooltip/TooltipContent.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tooltip/TooltipTrigger.d.ts +0 -0
- /package/build/{components → packages/jokul/src/components}/tooltip/index.d.ts +0 -0
- /package/build/{core → packages/jokul/src/core}/index.d.ts +0 -0
- /package/build/{core → packages/jokul/src/core}/tokens.d.ts +0 -0
- /package/build/{core → packages/jokul/src/core}/types.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/mediaQueryUtils.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAnimatedDetails/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAnimatedDetails/useAnimatedDetails.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAnimatedHeight/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAnimatedHeight/types.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAnimatedHeight/useAnimatedHeight.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAnimatedHeight/useAnimatedHeightBetween.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAnimatedHeight/useAutoAnimateHeight.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAriaLiveRegion/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useAriaLiveRegion/useAriaLiveRegion.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useBrowserPreferences/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useBrowserPreferences/useBrowserPreferences.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useClickOutside/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useClickOutside/useClickOutside.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useElementDimensions/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useElementDimensions/useElementDimensions.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useFocusOutside/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useFocusOutside/useFocusOutside.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useId/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useId/useId.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useIntersectionObserver/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useIntersectionObserver/useIntersectionObserver.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useKeyListener/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useKeyListener/useKeyListener.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useListNavigation/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useListNavigation/useListNavigation.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useLocalStorage/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useLocalStorage/useLocalStorage.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useMutationObserver/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useMutationObserver/useMutationObserver.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/usePreviousValue/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/usePreviousValue/usePreviousValue.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useProgressiveImg/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useProgressiveImg/useProgressiveImg.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useScreen/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useScreen/state.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useScreen/useScreen.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useScrollIntoView/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useScrollIntoView/useScrollIntoView.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useSwipeGesture/index.d.ts +0 -0
- /package/build/{hooks → packages/jokul/src/hooks}/useSwipeGesture/useSwipeGesture.d.ts +0 -0
- /package/build/{index.d.ts → packages/jokul/src/index.d.ts} +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/constants/index.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/constants/unicode.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/avstand/formatAvstand.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/bytes/formatBytes.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/date/formatDate.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/fodselsnummer/formatFodselsnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/index.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/kontonummer/formatKontonummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/kortnummer/formatKortnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/organisasjonsnummer/formatOrganisasjonsnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/telefonnummer/formatTelefonnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/util/formatNumber.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/util/parseNumber.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/util/registerWithMask.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/formatters/valuta/formatValuta.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/index.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/polymorphism/SlotComponent.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/polymorphism/as-child.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/polymorphism/index.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/polymorphism/mergeProps.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/polymorphism/mergeRefs.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/polymorphism/polymorphism.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/tabListener.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/hasMinimumWords/hasMinimumWords.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/hasNoIllegalCharacters/hasNoIllegalCharacters.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/index.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isExactLength/isExactLength.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isInteger/isInteger.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidChassisnummer/isValidChassisnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidDogId/isValidDogId.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidEpost/isValidEpost.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidFodselsnummer/isValidFodselsnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidKortnummer/isValidKortnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidName/isValidName.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidOrganisasjonsnummer/isValidOrganisasjonsnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidRegistreringsnummer/isValidRegistreringsnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/validators/isValidTelefonnummer/isValidTelefonnummer.d.ts +0 -0
- /package/build/{utilities → packages/jokul/src/utilities}/valuePair.d.ts +0 -0
|
@@ -2,250 +2,183 @@
|
|
|
2
2
|
* Do not edit directly
|
|
3
3
|
* Generated on Mon, 23 Sep 2024 08:51:40 GMT
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
[data-layout-density=comfortable],
|
|
7
|
-
[data-density=comfortable]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--jkl-button-focus-ring-placement: -0.3125rem;
|
|
17
|
-
}
|
|
18
|
-
@media (width >= 0) and (max-width: 679px) {
|
|
19
|
-
:root,
|
|
20
|
-
[data-layout-density=comfortable],
|
|
21
|
-
[data-density=comfortable] {
|
|
22
|
-
--jkl-button-line-height: 2.75rem;
|
|
23
|
-
}
|
|
5
|
+
.jkl .jkl-button,
|
|
6
|
+
.jkl-button[data-layout-density=comfortable],
|
|
7
|
+
.jkl-button[data-density=comfortable],
|
|
8
|
+
[data-layout-density=comfortable] .jkl-button,
|
|
9
|
+
[data-density=comfortable] .jkl-button {
|
|
10
|
+
--padding-block: 0.5rem;
|
|
11
|
+
--padding-text: 1.5rem;
|
|
12
|
+
--padding-icon: 1rem;
|
|
13
|
+
--padding-icon-button: 0.5rem;
|
|
14
|
+
--padding-tertiary-inline: 0.25rem;
|
|
15
|
+
--padding-ghost-inline: 0.5rem;
|
|
24
16
|
}
|
|
25
17
|
|
|
26
|
-
[data-layout-density=compact],
|
|
27
|
-
[data-density=compact]
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--jkl-button-focus-ring-placement: -0.1875rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
a.jkl-button {
|
|
40
|
-
text-decoration: none;
|
|
18
|
+
.jkl-button[data-layout-density=compact],
|
|
19
|
+
.jkl-button[data-density=compact],
|
|
20
|
+
[data-layout-density=compact] .jkl-button,
|
|
21
|
+
[data-density=compact] .jkl-button {
|
|
22
|
+
--padding-block: 0.25rem;
|
|
23
|
+
--padding-text: 0.75rem;
|
|
24
|
+
--padding-icon: 0.5rem;
|
|
25
|
+
--padding-icon-button: 0.25rem;
|
|
26
|
+
--padding-tertiary-inline: 0.125rem;
|
|
27
|
+
--padding-ghost-inline: 0.25rem;
|
|
41
28
|
}
|
|
42
29
|
|
|
43
30
|
.jkl-button {
|
|
44
|
-
--
|
|
45
|
-
--text-color: var(--jkl-color-background-action);
|
|
46
|
-
--focus-color: var(--jkl-color-background-action);
|
|
31
|
+
--text-color: var(--jkl-color-text-default);
|
|
47
32
|
--background-color: transparent;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
justify-content: center;
|
|
51
|
-
background-color: var(--background-color);
|
|
52
|
-
color: var(--text-color);
|
|
53
|
-
font-size: var(--jkl-button-font-size);
|
|
54
|
-
line-height: var(--jkl-button-line-height);
|
|
55
|
-
font-weight: var(--jkl-button-font-weight);
|
|
56
|
-
height: var(--jkl-button-line-height);
|
|
57
|
-
min-width: var(--jkl-button-min-width);
|
|
33
|
+
--border-radius: 0;
|
|
34
|
+
--border-width: 0.0625rem;
|
|
58
35
|
cursor: pointer;
|
|
59
36
|
user-select: none;
|
|
60
|
-
|
|
37
|
+
background-color: var(--background-color);
|
|
38
|
+
color: var(--text-color);
|
|
39
|
+
border: unset;
|
|
40
|
+
text-decoration: none;
|
|
41
|
+
-webkit-tap-highlight-color: transparent;
|
|
42
|
+
border-radius: var(--border-radius);
|
|
43
|
+
padding-inline: var(--padding-text);
|
|
44
|
+
padding-block: var(--padding-block);
|
|
61
45
|
position: relative;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
max-width: 100%;
|
|
62
48
|
transition-timing-function: ease;
|
|
63
49
|
transition-duration: 150ms;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
@media screen and (forced-colors: active) {
|
|
50
|
+
transition-property: scale;
|
|
51
|
+
font-size: 1.125rem;
|
|
52
|
+
line-height: 1.75rem;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
--jkl-icon-weight: 300;
|
|
55
|
+
--jkl-icon-weight: 500;
|
|
56
|
+
font-weight: 700;
|
|
57
|
+
}
|
|
58
|
+
@media (min-width: 680px) {
|
|
75
59
|
.jkl-button {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
outline-style: revert;
|
|
60
|
+
font-size: 1.25rem;
|
|
61
|
+
line-height: 2rem;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
--jkl-icon-weight: 300;
|
|
64
|
+
--jkl-icon-weight: 500;
|
|
65
|
+
font-weight: 700;
|
|
83
66
|
}
|
|
84
67
|
}
|
|
85
|
-
.jkl-button:
|
|
86
|
-
|
|
68
|
+
.jkl-button:has(.jkl-icon:first-child) {
|
|
69
|
+
padding-inline-start: var(--padding-icon);
|
|
87
70
|
}
|
|
88
|
-
|
|
89
|
-
|
|
71
|
+
.jkl-button:has(.jkl-icon:last-child) {
|
|
72
|
+
padding-inline-end: var(--padding-icon);
|
|
90
73
|
}
|
|
91
|
-
.jkl-button:
|
|
92
|
-
|
|
93
|
-
outline-offset: 2px;
|
|
74
|
+
.jkl-button:has(.jkl-icon:first-child):has(.jkl-icon:last-child) {
|
|
75
|
+
padding-inline: var(--padding-icon-button);
|
|
94
76
|
}
|
|
95
|
-
|
|
96
|
-
transform: scale(0.95);
|
|
97
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
98
|
-
}
|
|
99
|
-
.jkl-button__content {
|
|
100
|
-
height: var(--jkl-button-line-height);
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
}
|
|
103
|
-
.jkl-button__slider {
|
|
77
|
+
.jkl-button__label {
|
|
104
78
|
transition-timing-function: ease;
|
|
105
|
-
transition-duration:
|
|
106
|
-
transition-property:
|
|
107
|
-
}
|
|
108
|
-
.jkl-button__slider--show-loader {
|
|
109
|
-
transform: translateY(-51%);
|
|
110
|
-
}
|
|
111
|
-
.jkl-button__loader {
|
|
79
|
+
transition-duration: 250ms;
|
|
80
|
+
transition-property: translate;
|
|
112
81
|
display: flex;
|
|
113
|
-
|
|
82
|
+
flex-direction: row;
|
|
114
83
|
align-items: center;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
.jkl-button--primary, .jkl-button--secondary, .jkl-button--ghost {
|
|
119
|
-
border: solid 0.0625rem var(--border-color);
|
|
120
|
-
border-radius: 999px;
|
|
121
|
-
padding: var(--jkl-button-padding);
|
|
84
|
+
gap: 0.125rem;
|
|
85
|
+
pointer-events: none;
|
|
122
86
|
}
|
|
123
|
-
.jkl-
|
|
124
|
-
|
|
87
|
+
.jkl-button__loader {
|
|
88
|
+
transition-timing-function: ease;
|
|
89
|
+
transition-duration: 250ms;
|
|
90
|
+
transition-property: opacity, translate;
|
|
125
91
|
position: absolute;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
.jkl-button--ghost {
|
|
133
|
-
--border-color: transparent;
|
|
134
|
-
border-radius: 0.25rem;
|
|
135
|
-
padding: 0 0.25rem;
|
|
136
|
-
}
|
|
137
|
-
.jkl-button--ghost:focus-visible, html:not([data-touchnavigation]) .jkl-button--ghost:hover {
|
|
138
|
-
--background-color: var(--jkl-color-background-interactive-hover);
|
|
139
|
-
transform: scale(1);
|
|
140
|
-
}
|
|
141
|
-
.jkl-button--ghost.jkl-button--icon-left .jkl-button__children {
|
|
142
|
-
padding-left: var(--jkl-button-children-padding-with-icon);
|
|
143
|
-
}
|
|
144
|
-
.jkl-button--ghost.jkl-button--icon-right .jkl-button__children {
|
|
145
|
-
padding-right: var(--jkl-button-children-padding-with-icon);
|
|
92
|
+
top: 50%;
|
|
93
|
+
left: 50%;
|
|
94
|
+
translate: -50% 350%;
|
|
95
|
+
opacity: 0;
|
|
96
|
+
pointer-events: none;
|
|
146
97
|
}
|
|
147
|
-
.jkl-
|
|
148
|
-
|
|
149
|
-
|
|
98
|
+
.jkl-button__text {
|
|
99
|
+
max-width: 100%;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
text-overflow: ellipsis;
|
|
150
103
|
}
|
|
151
|
-
.jkl-button
|
|
152
|
-
|
|
104
|
+
.jkl-button[data-loading=true] .jkl-button__label {
|
|
105
|
+
translate: 0 -120%;
|
|
153
106
|
}
|
|
154
|
-
.jkl-button
|
|
155
|
-
|
|
107
|
+
.jkl-button[data-loading=true] .jkl-button__loader {
|
|
108
|
+
translate: -50% -50%;
|
|
109
|
+
opacity: 1;
|
|
156
110
|
}
|
|
157
|
-
.jkl-button
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
padding: var(--jkl-button-tertiary-padding);
|
|
161
|
-
transition: transform 100ms cubic-bezier(0.6, 0.2, 0.35, 1), border 100ms cubic-bezier(0.6, 0.2, 0.35, 1);
|
|
162
|
-
min-width: unset;
|
|
111
|
+
.jkl-button:focus-visible {
|
|
112
|
+
outline: 2px solid var(--jkl-color-border-action);
|
|
113
|
+
outline-offset: 2px;
|
|
163
114
|
}
|
|
164
|
-
.jkl-button
|
|
115
|
+
.jkl-button::before {
|
|
165
116
|
content: "";
|
|
166
117
|
pointer-events: none;
|
|
167
118
|
display: block;
|
|
168
119
|
position: absolute;
|
|
169
120
|
left: var(--jkl-touch-xcoord, 50%);
|
|
170
121
|
top: var(--jkl-touch-ycoord, 50%);
|
|
171
|
-
|
|
172
|
-
|
|
122
|
+
translate: -100%, -100%;
|
|
123
|
+
transform-origin: center;
|
|
124
|
+
border-radius: 9999px;
|
|
125
|
+
background-color: var(--text-color);
|
|
126
|
+
opacity: 0;
|
|
173
127
|
width: 1rem;
|
|
174
128
|
height: 1rem;
|
|
175
|
-
background-color: transparent;
|
|
176
129
|
}
|
|
177
|
-
html[data-touchnavigation] .jkl-button
|
|
178
|
-
animation: cubic-bezier(0, 0, 0.
|
|
130
|
+
html[data-touchnavigation] .jkl-button.jkl-button--pressed::before {
|
|
131
|
+
animation: cubic-bezier(0.6, 0.2, 0.35, 1) 250ms jkl-tertiary-flash-ufu16mk;
|
|
179
132
|
}
|
|
180
|
-
.jkl-button--
|
|
181
|
-
|
|
133
|
+
:not([data-touchnavigation]) .jkl-button--primary:hover, :not([data-touchnavigation]) .jkl-button--secondary:hover, :not([data-touchnavigation]) .jkl-button--tertiary:hover {
|
|
134
|
+
scale: 1.05;
|
|
135
|
+
transform-origin: center;
|
|
182
136
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
border: revert;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
.jkl-button--tertiary:hover, .jkl-button--tertiary:focus-visible, html[data-touchnavigation] .jkl-button--tertiary.jkl-button--pressed {
|
|
189
|
-
border-bottom-color: var(--focus-color);
|
|
190
|
-
border-bottom-width: 0.125rem;
|
|
191
|
-
color: var(--focus-color);
|
|
192
|
-
}
|
|
193
|
-
.jkl-button--icon-left .jkl-button__icon, .jkl-button--icon-right .jkl-button__icon {
|
|
194
|
-
display: inline-block;
|
|
195
|
-
vertical-align: sub;
|
|
137
|
+
.jkl-button--primary, .jkl-button--secondary {
|
|
138
|
+
--border-radius: 999px;
|
|
196
139
|
}
|
|
197
|
-
.jkl-button--
|
|
198
|
-
|
|
140
|
+
.jkl-button--primary {
|
|
141
|
+
--background-color: var(--jkl-color-background-action);
|
|
142
|
+
--text-color: var(--jkl-color-text-on-action);
|
|
199
143
|
}
|
|
200
|
-
.jkl-button--
|
|
201
|
-
|
|
144
|
+
.jkl-button--secondary::after {
|
|
145
|
+
content: "";
|
|
146
|
+
position: absolute;
|
|
147
|
+
inset: 0;
|
|
148
|
+
border-radius: var(--border-radius);
|
|
149
|
+
border: var(--border-width) solid var(--text-color);
|
|
202
150
|
}
|
|
203
|
-
.jkl-button--icon-
|
|
204
|
-
padding-
|
|
151
|
+
.jkl-button--tertiary, .jkl-button--tertiary:has(.jkl-icon:first-child), .jkl-button--tertiary:has(.jkl-icon:last-child) {
|
|
152
|
+
padding-inline: var(--padding-tertiary-inline);
|
|
205
153
|
}
|
|
206
|
-
.jkl-button--icon-
|
|
207
|
-
|
|
154
|
+
.jkl-button--tertiary::after, .jkl-button--tertiary:has(.jkl-icon:first-child)::after, .jkl-button--tertiary:has(.jkl-icon:last-child)::after {
|
|
155
|
+
content: "";
|
|
156
|
+
position: absolute;
|
|
157
|
+
inset: 0;
|
|
158
|
+
border-radius: var(--border-radius);
|
|
159
|
+
border-bottom: var(--border-width) solid var(--text-color);
|
|
208
160
|
}
|
|
209
|
-
.jkl-button--icon-
|
|
210
|
-
|
|
161
|
+
.jkl-button--tertiary:hover, .jkl-button--tertiary:focus-visible, .jkl-button--tertiary:has(.jkl-icon:first-child):hover, .jkl-button--tertiary:has(.jkl-icon:first-child):focus-visible, .jkl-button--tertiary:has(.jkl-icon:last-child):hover, .jkl-button--tertiary:has(.jkl-icon:last-child):focus-visible {
|
|
162
|
+
--border-width: 0.125rem;
|
|
211
163
|
}
|
|
212
|
-
.jkl-button--icon-
|
|
213
|
-
padding-
|
|
164
|
+
.jkl-button--ghost, .jkl-button--ghost:has(.jkl-icon:first-child), .jkl-button--ghost:has(.jkl-icon:last-child) {
|
|
165
|
+
padding-inline: var(--padding-ghost-inline);
|
|
166
|
+
border-radius: 0.25rem;
|
|
167
|
+
transition-timing-function: ease;
|
|
168
|
+
transition-duration: 150ms;
|
|
169
|
+
transition-property: background-color;
|
|
214
170
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
border-color: ButtonText;
|
|
218
|
-
}
|
|
219
|
-
.jkl-button .jkl-loader__dot {
|
|
220
|
-
background-color: ButtonText;
|
|
221
|
-
}
|
|
222
|
-
.jkl-button.jkl-button--tertiary {
|
|
223
|
-
outline-offset: 0.125rem;
|
|
224
|
-
border-top-style: none;
|
|
225
|
-
border-right-style: none;
|
|
226
|
-
border-left-style: none;
|
|
227
|
-
}
|
|
171
|
+
.jkl-button--ghost:hover, .jkl-button--ghost:has(.jkl-icon:first-child):hover, .jkl-button--ghost:has(.jkl-icon:last-child):hover {
|
|
172
|
+
--background-color: var(--jkl-color-background-interactive-hover);
|
|
228
173
|
}
|
|
229
174
|
|
|
230
|
-
@keyframes jkl-flash-
|
|
231
|
-
0% {
|
|
232
|
-
box-shadow: 0 0 0 0 var(--focus-color);
|
|
233
|
-
opacity: 0.5;
|
|
234
|
-
}
|
|
235
|
-
100% {
|
|
236
|
-
box-shadow: 0 0 0 1rem var(--focus-color);
|
|
237
|
-
opacity: 0;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
@keyframes jkl-tertiary-flash-unfl9qn {
|
|
175
|
+
@keyframes jkl-tertiary-flash-ufu16mk {
|
|
241
176
|
0% {
|
|
242
|
-
box-shadow: 0 0 0 0 var(--focus-color);
|
|
243
|
-
background-color: var(--focus-color);
|
|
244
177
|
opacity: 0.5;
|
|
178
|
+
scale: 1;
|
|
245
179
|
}
|
|
246
180
|
100% {
|
|
247
|
-
box-shadow: 0 0 0 2.5rem var(--focus-color);
|
|
248
|
-
background-color: var(--focus-color);
|
|
249
181
|
opacity: 0;
|
|
182
|
+
scale: 8;
|
|
250
183
|
}
|
|
251
184
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.jkl .jkl-button,.jkl-button[data-density=comfortable],.jkl-button[data-layout-density=comfortable],[data-density=comfortable] .jkl-button,[data-layout-density=comfortable] .jkl-button{--padding-block:0.5rem;--padding-text:1.5rem;--padding-icon:1rem;--padding-icon-button:0.5rem;--padding-tertiary-inline:0.25rem;--padding-ghost-inline:0.5rem}.jkl-button[data-density=compact],.jkl-button[data-layout-density=compact],[data-density=compact] .jkl-button,[data-layout-density=compact] .jkl-button{--padding-block:0.25rem;--padding-text:0.75rem;--padding-icon:0.5rem;--padding-icon-button:0.25rem;--padding-tertiary-inline:0.125rem;--padding-ghost-inline:0.25rem}.jkl-button{--text-color:var(--jkl-color-text-default);--background-color:#0000;--border-radius:0;--border-width:0.0625rem;background-color:var(--background-color);border:unset;color:var(--text-color);cursor:pointer;text-decoration:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border-radius:var(--border-radius);font-size:1.125rem;font-weight:400;line-height:1.75rem;max-width:100%;overflow:hidden;padding-block:var(--padding-block);padding-inline:var(--padding-text);position:relative;transition-duration:.15s;transition-property:scale;transition-timing-function:ease;--jkl-icon-weight:300;--jkl-icon-weight:500;font-weight:700}@media (min-width:680px){.jkl-button{font-size:1.25rem;font-weight:400;line-height:2rem;--jkl-icon-weight:300;--jkl-icon-weight:500;font-weight:700}}.jkl-button:has(.jkl-icon:first-child){padding-inline-start:var(--padding-icon)}.jkl-button:has(.jkl-icon:last-child){padding-inline-end:var(--padding-icon)}.jkl-button:has(.jkl-icon:first-child):has(.jkl-icon:last-child){padding-inline:var(--padding-icon-button)}.jkl-button__label{align-items:center;display:flex;flex-direction:row;gap:.125rem;pointer-events:none;transition-duration:.25s;transition-property:translate;transition-timing-function:ease}.jkl-button__loader{left:50%;opacity:0;pointer-events:none;position:absolute;top:50%;transition-duration:.25s;transition-property:opacity,translate;transition-timing-function:ease;translate:-50% 350%}.jkl-button__text{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jkl-button[data-loading=true] .jkl-button__label{translate:0 -120%}.jkl-button[data-loading=true] .jkl-button__loader{opacity:1;translate:-50% -50%}.jkl-button:focus-visible{outline:2px solid var(--jkl-color-border-action);outline-offset:2px}.jkl-button:before{background-color:var(--text-color);border-radius:9999px;content:"";display:block;height:1rem;left:var(--jkl-touch-xcoord,50%);opacity:0;pointer-events:none;position:absolute;top:var(--jkl-touch-ycoord,50%);transform-origin:center;translate:-100%,-100%;width:1rem}html[data-touchnavigation] .jkl-button.jkl-button--pressed:before{animation:jkl-tertiary-flash-ufu16mk .25s cubic-bezier(.6,.2,.35,1)}:not([data-touchnavigation]) .jkl-button--primary:hover,:not([data-touchnavigation]) .jkl-button--secondary:hover,:not([data-touchnavigation]) .jkl-button--tertiary:hover{scale:1.05;transform-origin:center}.jkl-button--primary,.jkl-button--secondary{--border-radius:999px}.jkl-button--primary{--background-color:var(--jkl-color-background-action);--text-color:var(--jkl-color-text-on-action)}.jkl-button--secondary:after{border:var(--border-width) solid var(--text-color);border-radius:var(--border-radius);content:"";inset:0;position:absolute}.jkl-button--tertiary,.jkl-button--tertiary:has(.jkl-icon:first-child),.jkl-button--tertiary:has(.jkl-icon:last-child){padding-inline:var(--padding-tertiary-inline)}.jkl-button--tertiary:after,.jkl-button--tertiary:has(.jkl-icon:first-child):after,.jkl-button--tertiary:has(.jkl-icon:last-child):after{border-bottom:var(--border-width) solid var(--text-color);border-radius:var(--border-radius);content:"";inset:0;position:absolute}.jkl-button--tertiary:focus-visible,.jkl-button--tertiary:has(.jkl-icon:first-child):focus-visible,.jkl-button--tertiary:has(.jkl-icon:first-child):hover,.jkl-button--tertiary:has(.jkl-icon:last-child):focus-visible,.jkl-button--tertiary:has(.jkl-icon:last-child):hover,.jkl-button--tertiary:hover{--border-width:0.125rem}.jkl-button--ghost,.jkl-button--ghost:has(.jkl-icon:first-child),.jkl-button--ghost:has(.jkl-icon:last-child){border-radius:.25rem;padding-inline:var(--padding-ghost-inline);transition-duration:.15s;transition-property:background-color;transition-timing-function:ease}.jkl-button--ghost:has(.jkl-icon:first-child):hover,.jkl-button--ghost:has(.jkl-icon:last-child):hover,.jkl-button--ghost:hover{--background-color:var(--jkl-color-background-interactive-hover)}@keyframes jkl-tertiary-flash-ufu16mk{0%{opacity:.5;scale:1}to{opacity:0;scale:8}}
|