@fremtind/jokul 5.0.0-next.9 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/build-stats.html +1 -1
- package/build/cjs/components/autosuggest/BaseAutosuggest.cjs +1 -1
- package/build/cjs/components/autosuggest/BaseAutosuggest.cjs.map +1 -1
- package/build/cjs/components/expander/Accordion.cjs +2 -0
- package/build/cjs/components/expander/Accordion.cjs.map +1 -0
- package/build/cjs/components/expander/Accordion.d.cts +2 -0
- package/build/cjs/components/expander/ExpandablePanel.cjs +1 -1
- package/build/cjs/components/expander/ExpandablePanel.cjs.map +1 -1
- package/build/cjs/components/expander/ExpandablePanelContent.cjs +1 -1
- package/build/cjs/components/expander/ExpandablePanelContent.cjs.map +1 -1
- package/build/cjs/components/expander/Expander.cjs +1 -1
- package/build/cjs/components/expander/Expander.cjs.map +1 -1
- package/build/cjs/components/expander/index.d.cts +1 -1
- package/build/cjs/components/expander/types.d.cts +5 -2
- package/build/cjs/components/icon/Icon.cjs +1 -1
- package/build/cjs/components/icon/Icon.cjs.map +1 -1
- package/build/cjs/components/icon/Icon.d.cts +2 -2
- package/build/cjs/components/icon/icons/GreenCheckIcon.cjs +1 -1
- package/build/cjs/components/icon/icons/GreenCheckIcon.cjs.map +1 -1
- package/build/cjs/components/icon/icons/GreenCheckIcon.d.cts +2 -3
- package/build/cjs/components/icon/icons/RedCrossIcon.cjs +1 -1
- package/build/cjs/components/icon/icons/RedCrossIcon.cjs.map +1 -1
- package/build/cjs/components/icon/icons/RedCrossIcon.d.cts +2 -3
- package/build/cjs/components/link-list/LinkList.cjs +1 -1
- package/build/cjs/components/link-list/LinkList.cjs.map +1 -1
- package/build/cjs/components/link-list/LinkList.d.cts +1 -1
- package/build/cjs/components/link-list/types.d.cts +1 -0
- package/build/cjs/components/number-input/NumberInput.cjs +2 -0
- package/build/cjs/components/number-input/NumberInput.cjs.map +1 -0
- package/build/cjs/components/number-input/NumberInput.d.cts +7 -0
- package/build/cjs/components/number-input/index.cjs +2 -0
- package/build/cjs/components/number-input/index.cjs.map +1 -0
- package/build/cjs/components/number-input/index.d.cts +2 -0
- package/build/cjs/components/number-input/types.cjs +2 -0
- package/build/cjs/components/number-input/types.cjs.map +1 -0
- package/build/cjs/components/number-input/types.d.cts +20 -0
- package/build/cjs/components/popover/Popover.cjs +1 -1
- package/build/cjs/components/popover/Popover.cjs.map +1 -1
- package/build/cjs/components/popover/types.d.cts +8 -1
- package/build/cjs/components/select/Select.cjs +1 -1
- package/build/cjs/components/select/Select.cjs.map +1 -1
- package/build/cjs/components/system-message/types.d.cts +7 -2
- package/build/cjs/hooks/useListNavigation/useListNavigation.cjs +1 -1
- package/build/cjs/hooks/useListNavigation/useListNavigation.cjs.map +1 -1
- package/build/cjs/hooks/useListNavigation/useListNavigation.d.cts +11 -2
- package/build/cjs/tokens.cjs +1 -1
- package/build/cjs/tokens.cjs.map +1 -1
- package/build/cjs/utilities/index.cjs +1 -1
- package/build/cjs/utilities/types.cjs +1 -1
- package/build/cjs/utilities/types.cjs.map +1 -1
- package/build/cjs/utilities/types.d.cts +2 -0
- package/build/es/components/autosuggest/BaseAutosuggest.js +1 -1
- package/build/es/components/autosuggest/BaseAutosuggest.js.map +1 -1
- package/build/es/components/datepicker/DatePicker.js +1 -1
- package/build/es/components/datepicker/internal/Calendar.js +1 -1
- package/build/es/components/datepicker/internal/useCalendar.js +1 -1
- package/build/es/components/datepicker/internal/utils.js +1 -1
- package/build/es/components/expander/Accordion.d.ts +2 -0
- package/build/es/components/expander/Accordion.js +2 -0
- package/build/es/components/expander/Accordion.js.map +1 -0
- package/build/es/components/expander/ExpandablePanel.js +1 -1
- package/build/es/components/expander/ExpandablePanel.js.map +1 -1
- package/build/es/components/expander/ExpandablePanelContent.js +1 -1
- package/build/es/components/expander/ExpandablePanelContent.js.map +1 -1
- package/build/es/components/expander/Expander.js +1 -1
- package/build/es/components/expander/Expander.js.map +1 -1
- package/build/es/components/expander/index.d.ts +1 -1
- package/build/es/components/expander/types.d.ts +5 -2
- package/build/es/components/icon/Icon.d.ts +2 -2
- package/build/es/components/icon/Icon.js +1 -1
- package/build/es/components/icon/Icon.js.map +1 -1
- package/build/es/components/icon/icons/GreenCheckIcon.d.ts +2 -3
- package/build/es/components/icon/icons/GreenCheckIcon.js +1 -1
- package/build/es/components/icon/icons/GreenCheckIcon.js.map +1 -1
- package/build/es/components/icon/icons/RedCrossIcon.d.ts +2 -3
- package/build/es/components/icon/icons/RedCrossIcon.js +1 -1
- package/build/es/components/icon/icons/RedCrossIcon.js.map +1 -1
- package/build/es/components/link-list/LinkList.d.ts +1 -1
- package/build/es/components/link-list/LinkList.js +1 -1
- package/build/es/components/link-list/LinkList.js.map +1 -1
- package/build/es/components/link-list/types.d.ts +1 -0
- package/build/es/components/menu/Menu.js +1 -1
- package/build/es/components/number-input/NumberInput.d.ts +7 -0
- package/build/es/components/number-input/NumberInput.js +2 -0
- package/build/es/components/number-input/NumberInput.js.map +1 -0
- package/build/es/components/number-input/index.d.ts +2 -0
- package/build/es/components/number-input/index.js +2 -0
- package/build/es/components/number-input/index.js.map +1 -0
- package/build/es/components/number-input/types.d.ts +20 -0
- package/build/es/components/number-input/types.js +2 -0
- package/build/es/components/number-input/types.js.map +1 -0
- package/build/es/components/popover/Popover.js +1 -1
- package/build/es/components/popover/Popover.js.map +1 -1
- package/build/es/components/popover/types.d.ts +8 -1
- package/build/es/components/select/Select.js +1 -1
- package/build/es/components/select/Select.js.map +1 -1
- package/build/es/components/system-message/types.d.ts +7 -2
- package/build/es/components/toast/toastContext.js +1 -1
- package/build/es/components/tooltip/Tooltip.js +1 -1
- package/build/es/hooks/stories/content.js +1 -1
- package/build/es/hooks/useListNavigation/useListNavigation.d.ts +11 -2
- package/build/es/hooks/useListNavigation/useListNavigation.js +1 -1
- package/build/es/hooks/useListNavigation/useListNavigation.js.map +1 -1
- package/build/es/tokens.js +1 -1
- package/build/es/tokens.js.map +1 -1
- package/build/es/utilities/constants/index.js +1 -1
- package/build/es/utilities/constants/unicode.js +1 -1
- package/build/es/utilities/formatters/bytes/formatBytes.js +1 -1
- package/build/es/utilities/formatters/fodselsnummer/formatFodselsnummer.js +1 -1
- package/build/es/utilities/formatters/kontonummer/formatKontonummer.js +1 -1
- package/build/es/utilities/formatters/kortnummer/formatKortnummer.js +1 -1
- package/build/es/utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.js +1 -1
- package/build/es/utilities/formatters/telefonnummer/formatTelefonnummer.js +1 -1
- package/build/es/utilities/formatters/valuta/formatValuta.js +1 -1
- package/build/es/utilities/index.js +1 -1
- package/build/es/utilities/types.d.ts +2 -0
- package/build/es/utilities/types.js +1 -1
- package/build/es/utilities/types.js.map +1 -1
- package/build/{index-CWRMnfcx.js → index-C1iqmqvT.js} +2 -2
- package/build/{index-CWRMnfcx.js.map → index-C1iqmqvT.js.map} +1 -1
- package/build/{utils-CcE6HjQp.js → utils-CtwpNW4I.js} +2 -2
- package/build/{utils-CcE6HjQp.js.map → utils-CtwpNW4I.js.map} +1 -1
- package/codemods/CODEMODS.md +133 -0
- package/codemods/__tests__/import-paths.test.mjs +568 -94
- package/codemods/import-paths.mjs +34 -339
- package/codemods/transforms/color-tokens.mjs +102 -0
- package/codemods/transforms/expandable-panel.mjs +41 -0
- package/codemods/transforms/font-family.mjs +23 -0
- package/codemods/transforms/import-specifiers.mjs +226 -0
- package/codemods/transforms/warnings.mjs +41 -0
- package/codemods/utils.mjs +35 -0
- package/package.json +8 -4
- package/styles/base.css +180 -805
- package/styles/base.min.css +1 -1
- package/styles/components/autosuggest/autosuggest.css +4 -3
- package/styles/components/autosuggest/autosuggest.min.css +1 -1
- package/styles/components/autosuggest/autosuggest.scss +4 -3
- package/styles/components/button/button.css +9 -3
- package/styles/components/button/button.min.css +1 -1
- package/styles/components/button/button.scss +10 -3
- package/styles/components/checkbox/checkbox.css +1 -1
- package/styles/components/checkbox/checkbox.min.css +1 -1
- package/styles/components/checkbox/checkbox.scss +1 -1
- package/styles/components/checkbox-panel/checkbox-panel.css +1 -1
- package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
- package/styles/components/combobox/combobox.css +4 -4
- package/styles/components/combobox/combobox.min.css +1 -1
- package/styles/components/combobox/combobox.scss +4 -4
- package/styles/components/countdown/countdown.css +2 -2
- package/styles/components/countdown/countdown.min.css +1 -1
- package/styles/components/expander/_index.scss +1 -0
- package/styles/components/expander/accordion.css +21 -0
- package/styles/components/expander/accordion.min.css +1 -0
- package/styles/components/expander/accordion.scss +24 -0
- package/styles/components/expander/expandable.css +32 -37
- package/styles/components/expander/expandable.min.css +1 -1
- package/styles/components/expander/expandable.scss +27 -36
- package/styles/components/feedback/feedback.css +2 -2
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/feedback/feedback.scss +0 -1
- package/styles/components/file/file.css +1 -1
- package/styles/components/file/file.min.css +1 -1
- package/styles/components/file/file.scss +1 -1
- package/styles/components/file-input/file-input.css +19 -13
- package/styles/components/file-input/file-input.min.css +1 -1
- package/styles/components/icon/icon.scss +1 -1
- package/styles/components/input-group/input-group.css +2 -2
- package/styles/components/input-group/input-group.min.css +1 -1
- package/styles/components/link-list/link-list.css +7 -2
- package/styles/components/link-list/link-list.min.css +1 -1
- package/styles/components/link-list/link-list.scss +10 -3
- package/styles/components/list/list.css +33 -21
- package/styles/components/list/list.min.css +1 -1
- package/styles/components/list/list.scss +24 -24
- package/styles/components/loader/loader.css +6 -6
- package/styles/components/loader/loader.min.css +1 -1
- package/styles/components/loader/skeleton-loader.css +3 -3
- package/styles/components/loader/skeleton-loader.min.css +1 -1
- package/styles/components/menu/_menu-item.scss +1 -1
- package/styles/components/menu/menu.css +1 -1
- package/styles/components/menu/menu.min.css +1 -1
- package/styles/components/message/message.css +9 -9
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/message/message.scss +7 -7
- package/styles/components/modal/_index.scss +7 -0
- package/styles/components/modal/_overlay.scss +4 -0
- package/styles/components/modal/modal.css +32 -116
- package/styles/components/modal/modal.min.css +1 -1
- package/styles/components/modal/modal.scss +96 -6
- package/styles/components/number-input/_index.scss +2 -0
- package/styles/components/number-input/number-input.css +214 -0
- package/styles/components/number-input/number-input.min.css +1 -0
- package/styles/components/number-input/number-input.scss +115 -0
- package/styles/components/progress-bar/progress-bar.css +1 -1
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/radio-button/radio-button.css +1 -5
- package/styles/components/radio-button/radio-button.min.css +1 -1
- package/styles/components/radio-button/radio-button.scss +2 -7
- package/styles/components/segmented-control/segmented-control.css +3 -7
- package/styles/components/segmented-control/segmented-control.min.css +1 -1
- package/styles/components/select/select.css +65 -7
- package/styles/components/select/select.min.css +1 -1
- package/styles/components/select/select.scss +129 -18
- package/styles/components/system-message/system-message.css +9 -13
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/system-message/system-message.scss +116 -123
- package/styles/components/tag/tag.css +4 -4
- package/styles/components/tag/tag.min.css +1 -1
- package/styles/components/tag/tag.scss +4 -4
- package/styles/components/toast/toast.css +4 -4
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components/typography/text.scss +2 -2
- package/styles/components/typography/title.scss +1 -1
- package/styles/components.css +524 -130
- package/styles/components.min.css +1 -1
- package/styles/components.scss +2 -1
- package/styles/jkl/_convert.scss +15 -6
- package/styles/jkl/_tokens.scss +4 -4
- package/styles/tailwind.css +97 -97
- package/styles/theme/_color-scheme.scss +95 -95
- package/styles/theme/_dynamic-spacing.scss +21 -15
- package/styles/theme/_fonts.scss +3 -12
- package/styles/theme/_index.scss +0 -4
- package/styles/theme/_size.scss +20 -20
- package/styles/theme/_tokens.scss +11 -11
- package/styles/core/utility/_paragraphs.scss +0 -39
- package/styles/theme/brands/dnb/_color-scheme.scss +0 -121
- package/styles/theme/brands/dnb/_fonts.scss +0 -46
- package/styles/theme/brands/dnb/_index.scss +0 -2
- package/styles/theme/brands/eika/_color-scheme.scss +0 -121
- package/styles/theme/brands/eika/_fonts.scss +0 -46
- package/styles/theme/brands/eika/_index.scss +0 -2
- package/styles/theme/brands/fremtind/_color-scheme.scss +0 -121
- package/styles/theme/brands/fremtind/_fonts.scss +0 -30
- package/styles/theme/brands/fremtind/_index.scss +0 -2
- package/styles/theme/brands/sparebank1/_color-scheme.scss +0 -121
- package/styles/theme/brands/sparebank1/_fonts.scss +0 -38
- package/styles/theme/brands/sparebank1/_index.scss +0 -2
package/styles/components.css
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
--jkl-autosuggest-controller-button-width: auto;
|
|
10
10
|
--jkl-autosuggest-controller-button-padding: 0 var(--jkl-unit-15);
|
|
11
11
|
--jkl-autosuggest-controller-button-icon-size: 1.25rem;
|
|
12
|
-
--jkl-autosuggest-option-padding: var(--jkl-unit-10)
|
|
13
|
-
--jkl-autosuggest-option-height: 3rem;
|
|
12
|
+
--jkl-autosuggest-option-padding: var(--jkl-unit-10);
|
|
13
|
+
--jkl-autosuggest-option-height: min(var(--jkl-unit-60), 3rem);
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
align-items: flex-start;
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
color: unset;
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
|
+
box-sizing: border-box;
|
|
53
54
|
border: 0;
|
|
54
55
|
background-color: transparent;
|
|
55
56
|
min-height: var(--jkl-autosuggest-option-height);
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
}
|
|
64
65
|
.jkl-autosuggest__item:focus, .jkl-autosuggest__item--active, .jkl-autosuggest__item:hover {
|
|
65
66
|
color: var(--jkl-color-text-default);
|
|
66
|
-
background-color: color-
|
|
67
|
+
background-color: var(--jkl-color-background-container-accent);
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
@layer jokul.components {
|
|
@@ -431,7 +432,7 @@
|
|
|
431
432
|
--color: var(--jkl-color-text-default);
|
|
432
433
|
}
|
|
433
434
|
.jkl-form-support-label--error .jkl-form-support-label__icon, .jkl-form-support-label--warning .jkl-form-support-label__icon, .jkl-form-support-label--success .jkl-form-support-label__icon {
|
|
434
|
-
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-
|
|
435
|
+
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-u1wrw19 forwards;
|
|
435
436
|
}
|
|
436
437
|
.jkl-form-support-label--sr-only {
|
|
437
438
|
border: 0 !important;
|
|
@@ -485,7 +486,7 @@
|
|
|
485
486
|
.jkl-label:has(+ .jkl-input-group-description) {
|
|
486
487
|
margin-block-end: var(--jkl-spacing-4);
|
|
487
488
|
}
|
|
488
|
-
@keyframes jkl-support-icon-entrance-
|
|
489
|
+
@keyframes jkl-support-icon-entrance-u1wrw19 {
|
|
489
490
|
0% {
|
|
490
491
|
margin-right: 0;
|
|
491
492
|
opacity: 0;
|
|
@@ -699,6 +700,7 @@
|
|
|
699
700
|
--jkl-button-padding-icon-button: var(--jkl-unit-10);
|
|
700
701
|
--jkl-button-tertiary-padding-icon: var(--jkl-unit-05);
|
|
701
702
|
--jkl-button-text-ink-offset: 0.1em;
|
|
703
|
+
--button-min-width: 9ch;
|
|
702
704
|
--jkl-icon-weight: var(--jkl-icon-weight-bold);
|
|
703
705
|
--text-color: var(--jkl-color-text-default);
|
|
704
706
|
--background-color: transparent;
|
|
@@ -726,7 +728,10 @@
|
|
|
726
728
|
transition-property: background-color;
|
|
727
729
|
}
|
|
728
730
|
.jkl-button:has(.jkl-button__text) {
|
|
729
|
-
min-width:
|
|
731
|
+
min-width: var(--button-min-width);
|
|
732
|
+
}
|
|
733
|
+
.jkl-button:has(.jkl-button__text):has(.jkl-icon) {
|
|
734
|
+
min-width: initial;
|
|
730
735
|
}
|
|
731
736
|
.jkl-button:has(.jkl-icon:first-child) {
|
|
732
737
|
padding-inline-start: var(--jkl-button-padding-icon);
|
|
@@ -745,6 +750,7 @@
|
|
|
745
750
|
display: flex;
|
|
746
751
|
flex-direction: row;
|
|
747
752
|
align-items: center;
|
|
753
|
+
justify-content: center;
|
|
748
754
|
gap: var(--jkl-unit-02);
|
|
749
755
|
pointer-events: none;
|
|
750
756
|
}
|
|
@@ -761,7 +767,7 @@
|
|
|
761
767
|
}
|
|
762
768
|
.jkl-button__text {
|
|
763
769
|
display: block;
|
|
764
|
-
width:
|
|
770
|
+
min-width: 0;
|
|
765
771
|
max-width: 100%;
|
|
766
772
|
padding-block-start: var(--jkl-button-text-ink-offset);
|
|
767
773
|
margin-block-start: calc(var(--jkl-button-text-ink-offset) * -1);
|
|
@@ -770,7 +776,8 @@
|
|
|
770
776
|
text-overflow: ellipsis;
|
|
771
777
|
}
|
|
772
778
|
.jkl-button[data-loading=true] .jkl-button__label {
|
|
773
|
-
|
|
779
|
+
--button-loading-offset: calc(-100% - var(--jkl-button-padding-block) * 2 - var(--jkl-button-text-ink-offset));
|
|
780
|
+
translate: 0 var(--button-loading-offset);
|
|
774
781
|
}
|
|
775
782
|
.jkl-button[data-loading=true] .jkl-button__loader {
|
|
776
783
|
translate: -50% -50%;
|
|
@@ -833,22 +840,22 @@
|
|
|
833
840
|
animation: 2500ms linear infinite;
|
|
834
841
|
}
|
|
835
842
|
.jkl-loader__dot--left {
|
|
836
|
-
animation-name: jkl-loader-left-spin-
|
|
843
|
+
animation-name: jkl-loader-left-spin-u1wrw1n;
|
|
837
844
|
margin-right: calc(var(--jkl-loader-spacing) * 0.9);
|
|
838
845
|
}
|
|
839
846
|
.jkl-loader__dot--middle {
|
|
840
|
-
animation-name: jkl-loader-middle-spin-
|
|
847
|
+
animation-name: jkl-loader-middle-spin-u1wrw26;
|
|
841
848
|
margin-right: var(--jkl-loader-spacing);
|
|
842
849
|
}
|
|
843
850
|
.jkl-loader__dot--right {
|
|
844
|
-
animation-name: jkl-loader-right-spin-
|
|
851
|
+
animation-name: jkl-loader-right-spin-u1wrw2y;
|
|
845
852
|
}
|
|
846
853
|
@media screen and (forced-colors: active) {
|
|
847
854
|
.jkl-loader__dot {
|
|
848
855
|
background-color: CanvasText;
|
|
849
856
|
}
|
|
850
857
|
}
|
|
851
|
-
@keyframes jkl-loader-left-spin-
|
|
858
|
+
@keyframes jkl-loader-left-spin-u1wrw1n {
|
|
852
859
|
0% {
|
|
853
860
|
transform: rotate(0) scale(0);
|
|
854
861
|
}
|
|
@@ -862,7 +869,7 @@
|
|
|
862
869
|
transform: rotate(180deg) scale(0);
|
|
863
870
|
}
|
|
864
871
|
}
|
|
865
|
-
@keyframes jkl-loader-middle-spin-
|
|
872
|
+
@keyframes jkl-loader-middle-spin-u1wrw26 {
|
|
866
873
|
0% {
|
|
867
874
|
transform: rotate(20deg) scale(0);
|
|
868
875
|
}
|
|
@@ -879,7 +886,7 @@
|
|
|
879
886
|
transform: rotate(200deg) scale(0);
|
|
880
887
|
}
|
|
881
888
|
}
|
|
882
|
-
@keyframes jkl-loader-right-spin-
|
|
889
|
+
@keyframes jkl-loader-right-spin-u1wrw2y {
|
|
883
890
|
0% {
|
|
884
891
|
transform: rotate(40deg) scale(0);
|
|
885
892
|
}
|
|
@@ -919,7 +926,7 @@
|
|
|
919
926
|
@media screen and (forced-colors: active) {
|
|
920
927
|
.jkl-skeleton-element {
|
|
921
928
|
border: 1px solid CanvasText;
|
|
922
|
-
animation: 2s ease infinite jkl-blink-
|
|
929
|
+
animation: 2s ease infinite jkl-blink-u1wrw3f;
|
|
923
930
|
}
|
|
924
931
|
}
|
|
925
932
|
.jkl-skeleton-input {
|
|
@@ -967,10 +974,10 @@
|
|
|
967
974
|
}
|
|
968
975
|
@media screen and (forced-colors: active) {
|
|
969
976
|
.jkl-skeleton-table {
|
|
970
|
-
animation: 2s ease-in-out infinite jkl-blink-
|
|
977
|
+
animation: 2s ease-in-out infinite jkl-blink-u1wrw3f;
|
|
971
978
|
}
|
|
972
979
|
}
|
|
973
|
-
@keyframes jkl-blink-
|
|
980
|
+
@keyframes jkl-blink-u1wrw3f {
|
|
974
981
|
0% {
|
|
975
982
|
opacity: 1;
|
|
976
983
|
}
|
|
@@ -1120,22 +1127,22 @@
|
|
|
1120
1127
|
gap: var(--gap);
|
|
1121
1128
|
}
|
|
1122
1129
|
.jkl-tag--info {
|
|
1123
|
-
--background-color: var(--jkl-color-info-background-container);
|
|
1130
|
+
--background-color: var(--jkl-color-info-background-container-accent);
|
|
1124
1131
|
--text-color: var(--jkl-color-info-text-default);
|
|
1125
1132
|
--border-color: var(--jkl-color-info-border-subdued);
|
|
1126
1133
|
}
|
|
1127
1134
|
.jkl-tag--warning {
|
|
1128
|
-
--background-color: var(--jkl-color-warning-background-container);
|
|
1135
|
+
--background-color: var(--jkl-color-warning-background-container-accent);
|
|
1129
1136
|
--text-color: var(--jkl-color-warning-text-default);
|
|
1130
1137
|
--border-color: var(--jkl-color-warning-border-subdued);
|
|
1131
1138
|
}
|
|
1132
1139
|
.jkl-tag--error {
|
|
1133
|
-
--background-color: var(--jkl-color-error-background-container);
|
|
1140
|
+
--background-color: var(--jkl-color-error-background-container-accent);
|
|
1134
1141
|
--text-color: var(--jkl-color-error-text-default);
|
|
1135
1142
|
--border-color: var(--jkl-color-error-border-subdued);
|
|
1136
1143
|
}
|
|
1137
1144
|
.jkl-tag--success {
|
|
1138
|
-
--background-color: var(--jkl-color-success-background-container);
|
|
1145
|
+
--background-color: var(--jkl-color-success-background-container-accent);
|
|
1139
1146
|
--text-color: var(--jkl-color-success-text-default);
|
|
1140
1147
|
--border-color: var(--jkl-color-success-border-subdued);
|
|
1141
1148
|
}
|
|
@@ -1161,7 +1168,7 @@
|
|
|
1161
1168
|
|
|
1162
1169
|
@layer jokul.components {
|
|
1163
1170
|
.jkl-checkbox {
|
|
1164
|
-
--text-color: var(--jkl-color-
|
|
1171
|
+
--text-color: var(--jkl-color-background-contrast);
|
|
1165
1172
|
--background-color: transparent;
|
|
1166
1173
|
font: var(--jkl-text-style-text-medium);
|
|
1167
1174
|
display: flex;
|
|
@@ -1414,8 +1421,8 @@
|
|
|
1414
1421
|
--jkl-combobox-chips-gap: var(--jkl-unit-05);
|
|
1415
1422
|
--jkl-combobox-search-input-padding: var(--jkl-combobox-button-padding);
|
|
1416
1423
|
--jkl-combobox-native-padding: 0 var(--jkl-unit-50) 0 var(--jkl-unit-10);
|
|
1417
|
-
--jkl-combobox-option-padding: var(--jkl-unit-10)
|
|
1418
|
-
--jkl-combobox-option-
|
|
1424
|
+
--jkl-combobox-option-padding: var(--jkl-unit-10);
|
|
1425
|
+
--jkl-combobox-option-height: min(var(--jkl-unit-60), 3rem);
|
|
1419
1426
|
--jkl-combobox-search-input-height: 1.75rem;
|
|
1420
1427
|
}
|
|
1421
1428
|
@media (width >= 0) and (max-width: 679px) {
|
|
@@ -1652,13 +1659,13 @@
|
|
|
1652
1659
|
background-color: transparent;
|
|
1653
1660
|
transition-property: color, background-color;
|
|
1654
1661
|
cursor: pointer;
|
|
1662
|
+
min-height: var(--jkl-combobox-option-height);
|
|
1655
1663
|
padding: var(--jkl-combobox-option-padding);
|
|
1656
1664
|
width: 100%;
|
|
1657
1665
|
text-align: left;
|
|
1658
|
-
line-height: var(--jkl-combobox-option-line-height);
|
|
1659
1666
|
}
|
|
1660
1667
|
.jkl-combobox__option:focus, .jkl-combobox__option:hover {
|
|
1661
|
-
background-color: color-
|
|
1668
|
+
background-color: var(--jkl-color-background-container-accent);
|
|
1662
1669
|
}
|
|
1663
1670
|
.jkl-combobox__option-description {
|
|
1664
1671
|
font: var(--jkl-text-style-text-small);
|
|
@@ -1738,12 +1745,6 @@
|
|
|
1738
1745
|
}
|
|
1739
1746
|
@layer jokul.components {
|
|
1740
1747
|
.jkl-list {
|
|
1741
|
-
/* stylelint-disable declaration-block-no-duplicate-custom-properties -- fallback for browsers without light-dark() support */
|
|
1742
|
-
--jkl-list-marker-cross: url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23F6B3B3'/%3E%3Cpath fill='%231B1917' d='M5.54 12.68l7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231B1917' d='M12.67 13.47l-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E%0A");
|
|
1743
|
-
--jkl-list-marker-cross: light-dark(url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23F6B3B3'/%3E%3Cpath fill='%231B1917' d='M5.54 12.68l7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231B1917' d='M12.67 13.47l-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E%0A"), url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23DE9E9E'/%3E%3Cpath fill='%231B1917' d='M5.54 12.68l7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231B1917' d='M12.67 13.47l-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E%0A"));
|
|
1744
|
-
--jkl-list-marker-check: url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%23ACD3B5'/%3E%3Cpath d='M4.75 11l2.35 2.36 7.84-7.84' stroke='%231B1917' stroke-width='1.5'/%3E%3C/svg%3E%0A");
|
|
1745
|
-
--jkl-list-marker-check: light-dark(url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%23ACD3B5'/%3E%3Cpath d='M4.75 11l2.35 2.36 7.84-7.84' stroke='%231B1917' stroke-width='1.5'/%3E%3C/svg%3E%0A"), url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%2394B79B'/%3E%3Cpath d='M4.75 11l2.35 2.36 7.84-7.84' stroke='%231B1917' stroke-width='1.5'/%3E%3C/svg%3E%0A"));
|
|
1746
|
-
/* stylelint-enable declaration-block-no-duplicate-custom-properties */
|
|
1747
1748
|
--list-text-color: var(--jkl-color-text-default);
|
|
1748
1749
|
list-style-type: "•";
|
|
1749
1750
|
padding-left: var(--jkl-unit-20);
|
|
@@ -1779,32 +1780,138 @@
|
|
|
1779
1780
|
padding-left: 0;
|
|
1780
1781
|
}
|
|
1781
1782
|
.jkl-list__item--iconed::before {
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1783
|
+
font-family: "Jokul Icons", "Jokul Icons Fallback", sans-serif;
|
|
1784
|
+
font-variation-settings: "FILL" var(--jkl-icon-fill, 0);
|
|
1785
|
+
font-feature-settings: "liga";
|
|
1786
|
+
-webkit-font-feature-settings: "liga";
|
|
1787
|
+
font-size: 1.3em;
|
|
1788
|
+
font-weight: 400;
|
|
1789
|
+
line-height: 1;
|
|
1790
|
+
display: inline-block;
|
|
1791
|
+
-webkit-font-smoothing: antialiased;
|
|
1792
|
+
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
1793
|
+
transition-duration: var(--jkl-motion-timing-energetic);
|
|
1794
|
+
transition-property: font-variation-settings, transform;
|
|
1795
|
+
display: inline-grid;
|
|
1796
|
+
place-items: center;
|
|
1797
|
+
width: 1.1875em;
|
|
1798
|
+
height: 1.1875em;
|
|
1799
|
+
box-sizing: border-box;
|
|
1786
1800
|
flex-shrink: 0;
|
|
1787
1801
|
margin-right: 0.5em;
|
|
1788
1802
|
margin-top: 0.2em;
|
|
1803
|
+
font-size: 1em;
|
|
1804
|
+
line-height: 1;
|
|
1805
|
+
border-radius: 999px;
|
|
1806
|
+
--jkl-icon-weight: var(--jkl-icon-weight-bold);
|
|
1789
1807
|
}
|
|
1790
1808
|
.jkl-list__item--check::before {
|
|
1791
|
-
content: "
|
|
1792
|
-
content: "
|
|
1809
|
+
content: "\e5ca";
|
|
1810
|
+
content: "\e5ca"/"";
|
|
1793
1811
|
alt: " ";
|
|
1794
|
-
|
|
1812
|
+
color: var(--jkl-color-success-text-on-contrast);
|
|
1813
|
+
background-color: var(--jkl-color-success-background-contrast);
|
|
1795
1814
|
}
|
|
1796
1815
|
.jkl-list__item--cross::before {
|
|
1797
|
-
content: "
|
|
1798
|
-
content: "
|
|
1816
|
+
content: "\e5cd";
|
|
1817
|
+
content: "\e5cd"/"";
|
|
1799
1818
|
alt: " ";
|
|
1800
|
-
|
|
1819
|
+
color: var(--jkl-color-error-text-on-contrast);
|
|
1820
|
+
background-color: var(--jkl-color-error-background-contrast);
|
|
1821
|
+
}
|
|
1822
|
+
@media screen and (forced-colors: active) {
|
|
1823
|
+
.jkl-list .jkl-list__item--check::before, .jkl-list .jkl-list__item--cross::before {
|
|
1824
|
+
background-color: Canvas;
|
|
1825
|
+
color: CanvasText;
|
|
1826
|
+
border: 1px solid CanvasText;
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
@layer jokul.components {
|
|
1831
|
+
.jkl-modal-container,
|
|
1832
|
+
.jkl-modal-overlay {
|
|
1833
|
+
position: fixed;
|
|
1834
|
+
inset: 0;
|
|
1835
|
+
}
|
|
1836
|
+
.jkl-modal-container {
|
|
1837
|
+
z-index: 9000;
|
|
1838
|
+
display: flex;
|
|
1839
|
+
}
|
|
1840
|
+
.jkl-modal-container[aria-hidden=true] {
|
|
1841
|
+
display: none;
|
|
1842
|
+
}
|
|
1843
|
+
.jkl-modal-overlay {
|
|
1844
|
+
background-color: rgba(27, 25, 23, 0.8);
|
|
1845
|
+
}
|
|
1846
|
+
.jkl-modal {
|
|
1847
|
+
--jkl-modal-padding: var(--jkl-unit-50);
|
|
1848
|
+
--jkl-modal-min-width: 13.75rem;
|
|
1849
|
+
--jkl-modal-max-width: 41.25rem;
|
|
1850
|
+
margin: auto;
|
|
1851
|
+
z-index: 9000;
|
|
1852
|
+
position: relative;
|
|
1853
|
+
background-color: var(--jkl-color-background-container);
|
|
1854
|
+
border-radius: var(--jkl-border-radius-l);
|
|
1855
|
+
box-shadow: 0 0.25rem 0.75rem rgba(37, 42, 49, 0.03);
|
|
1856
|
+
width: 100%;
|
|
1857
|
+
min-width: var(--jkl-modal-min-width);
|
|
1858
|
+
max-width: var(--jkl-modal-max-width);
|
|
1859
|
+
max-height: 90vh;
|
|
1860
|
+
overflow: auto;
|
|
1861
|
+
padding: var(--jkl-modal-padding);
|
|
1862
|
+
display: flex;
|
|
1863
|
+
flex-direction: column;
|
|
1801
1864
|
}
|
|
1802
1865
|
@media screen and (forced-colors: active) {
|
|
1803
|
-
.jkl-
|
|
1804
|
-
|
|
1866
|
+
.jkl-modal {
|
|
1867
|
+
border-color: CanvasText;
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
1871
|
+
.jkl-modal {
|
|
1872
|
+
margin: auto var(--jkl-unit-30);
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
.jkl-modal-header {
|
|
1876
|
+
--jkl-modal-header-margin: 0 0 var(--jkl-unit-20);
|
|
1877
|
+
}
|
|
1878
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
1879
|
+
.jkl-modal-header {
|
|
1880
|
+
--jkl-modal-header-margin: 0 0 var(--jkl-unit-15);
|
|
1805
1881
|
}
|
|
1806
|
-
|
|
1807
|
-
|
|
1882
|
+
}
|
|
1883
|
+
.jkl-modal-header {
|
|
1884
|
+
display: flex;
|
|
1885
|
+
flex-direction: row;
|
|
1886
|
+
justify-content: space-between;
|
|
1887
|
+
align-items: center;
|
|
1888
|
+
margin: var(--jkl-modal-header-margin);
|
|
1889
|
+
gap: var(--jkl-modal-gap);
|
|
1890
|
+
}
|
|
1891
|
+
.jkl-modal-body {
|
|
1892
|
+
font: var(--jkl-text-style-paragraph-medium);
|
|
1893
|
+
}
|
|
1894
|
+
.jkl-modal-title {
|
|
1895
|
+
font: var(--jkl-text-style-heading-3);
|
|
1896
|
+
}
|
|
1897
|
+
.jkl-modal-actions {
|
|
1898
|
+
--jkl-modal-actions-margin: var(--jkl-unit-50) 0 0 0;
|
|
1899
|
+
}
|
|
1900
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
1901
|
+
.jkl-modal-actions {
|
|
1902
|
+
--jkl-modal-actions-margin: var(--jkl-unit-40) 0 0 0;
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
.jkl-modal-actions {
|
|
1906
|
+
margin: var(--jkl-modal-actions-margin);
|
|
1907
|
+
display: flex;
|
|
1908
|
+
flex-direction: column;
|
|
1909
|
+
gap: var(--jkl-unit-20);
|
|
1910
|
+
}
|
|
1911
|
+
@media (min-width: 60ch) {
|
|
1912
|
+
.jkl-modal-actions {
|
|
1913
|
+
flex-direction: row-reverse;
|
|
1914
|
+
align-self: flex-end;
|
|
1808
1915
|
}
|
|
1809
1916
|
}
|
|
1810
1917
|
}
|
|
@@ -1830,6 +1937,11 @@
|
|
|
1830
1937
|
.jkl-modal-overlay {
|
|
1831
1938
|
background-color: rgba(27, 25, 23, 0.8);
|
|
1832
1939
|
opacity: 0;
|
|
1940
|
+
}
|
|
1941
|
+
.jkl-modal-overlay--transparent {
|
|
1942
|
+
background-color: transparent;
|
|
1943
|
+
}
|
|
1944
|
+
.jkl-modal-overlay {
|
|
1833
1945
|
transition-timing-function: var(--jkl-motion-easing-entrance);
|
|
1834
1946
|
transition-duration: var(--jkl-motion-timing-expressive);
|
|
1835
1947
|
transition-property: opacity;
|
|
@@ -2005,10 +2117,10 @@
|
|
|
2005
2117
|
}
|
|
2006
2118
|
}
|
|
2007
2119
|
.jkl-countdown__tracker {
|
|
2008
|
-
animation: jkl-downcount-
|
|
2120
|
+
animation: jkl-downcount-u1wrw4e var(--duration) linear forwards;
|
|
2009
2121
|
animation-play-state: var(--play-state, running);
|
|
2010
2122
|
}
|
|
2011
|
-
@keyframes jkl-downcount-
|
|
2123
|
+
@keyframes jkl-downcount-u1wrw4e {
|
|
2012
2124
|
from {
|
|
2013
2125
|
width: 100%;
|
|
2014
2126
|
}
|
|
@@ -2347,81 +2459,84 @@
|
|
|
2347
2459
|
}
|
|
2348
2460
|
}
|
|
2349
2461
|
@layer jokul.components {
|
|
2350
|
-
.jkl-expandable {
|
|
2462
|
+
.jkl-expandable-panel {
|
|
2351
2463
|
background-color: var(--jkl-color-background-container);
|
|
2352
2464
|
border: 1px solid transparent;
|
|
2353
|
-
border-radius: var(--border-radius);
|
|
2465
|
+
border-radius: var(--jkl-border-radius-s);
|
|
2354
2466
|
box-sizing: border-box;
|
|
2355
2467
|
width: 100%;
|
|
2356
2468
|
overflow: hidden;
|
|
2357
2469
|
}
|
|
2358
|
-
|
|
2470
|
+
@media screen and (forced-colors: active) {
|
|
2471
|
+
.jkl-expandable-panel {
|
|
2472
|
+
border: 1px solid CanvasText;
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
.jkl-expandable-panel__content[data-expanded=true] {
|
|
2359
2476
|
height: auto;
|
|
2360
2477
|
}
|
|
2361
|
-
.jkl-
|
|
2478
|
+
.jkl-expandable-panel__content[data-expanded=false] {
|
|
2362
2479
|
height: 0;
|
|
2363
2480
|
}
|
|
2364
|
-
.jkl-expandable[data-visible-content=true] .jkl-expander {
|
|
2481
|
+
.jkl-expandable-panel[data-visible-content=true] .jkl-expander {
|
|
2365
2482
|
border-bottom: 1px solid transparent;
|
|
2366
2483
|
}
|
|
2367
|
-
.jkl-
|
|
2484
|
+
.jkl-expandable-panel__content-wrapper {
|
|
2368
2485
|
padding: var(--jkl-unit-20);
|
|
2369
2486
|
}
|
|
2370
|
-
.jkl-expandable--
|
|
2487
|
+
.jkl-expandable-panel--outlined {
|
|
2371
2488
|
border-color: var(--jkl-color-border-subdued);
|
|
2372
2489
|
background-color: transparent;
|
|
2373
|
-
border-radius: 0;
|
|
2374
|
-
border-radius: var(--border-top-left-radius) var(--border-top-right-radius) var(--border-bottom-right-radius) var(--border-bottom-left-radius);
|
|
2375
2490
|
}
|
|
2376
|
-
.jkl-
|
|
2377
|
-
--border-radius:
|
|
2491
|
+
.jkl-expandable-panel__wrapper {
|
|
2492
|
+
--border-radius: var(--jkl-border-radius-m);
|
|
2378
2493
|
--outline-offset: 3px;
|
|
2379
2494
|
--stroke-outline-offset: 3px;
|
|
2380
|
-
--border-top-left-radius: var(--border-radius);
|
|
2381
|
-
--border-top-right-radius: var(--border-radius);
|
|
2382
|
-
--border-bottom-left-radius: var(--border-radius);
|
|
2383
|
-
--border-bottom-right-radius: var(--border-radius);
|
|
2384
2495
|
position: relative;
|
|
2385
2496
|
}
|
|
2386
|
-
.jkl-
|
|
2497
|
+
.jkl-expandable-panel__wrapper + .jkl-expandable-panel__wrapper {
|
|
2387
2498
|
--border-top-left-radius: 0;
|
|
2388
2499
|
--border-top-right-radius: 0;
|
|
2389
2500
|
--stroke-outline-offset: -1px;
|
|
2390
2501
|
}
|
|
2391
|
-
.jkl-
|
|
2392
|
-
border-top: none;
|
|
2393
|
-
}
|
|
2394
|
-
.jkl-expandable__wrapper:has(+ .jkl-expandable__wrapper) {
|
|
2502
|
+
.jkl-expandable-panel__wrapper:has(+ .jkl-expandable-panel__wrapper) {
|
|
2395
2503
|
--border-bottom-left-radius: 0;
|
|
2396
2504
|
--border-bottom-right-radius: 0;
|
|
2397
2505
|
--stroke-outline-offset: -1px;
|
|
2398
2506
|
}
|
|
2399
|
-
.jkl-
|
|
2507
|
+
.jkl-expandable-panel__wrapper:has(.jkl-expander:focus-visible):has(.jkl-expandable-panel--outlined) {
|
|
2400
2508
|
--outline-offset: var(--stroke-outline-offset);
|
|
2401
2509
|
}
|
|
2402
|
-
.jkl-
|
|
2510
|
+
.jkl-expandable-panel__wrapper:has(.jkl-expander:focus-visible) .jkl-expandable-panel__focus-container {
|
|
2403
2511
|
outline: 3px solid var(--jkl-color-border-strong);
|
|
2404
2512
|
outline-offset: 3px;
|
|
2405
2513
|
outline-offset: var(--outline-offset);
|
|
2406
2514
|
}
|
|
2407
|
-
.jkl-
|
|
2408
|
-
|
|
2515
|
+
.jkl-expandable-panel__wrapper .jkl-expander {
|
|
2516
|
+
padding: var(--jkl-unit-20);
|
|
2517
|
+
width: 100%;
|
|
2518
|
+
}
|
|
2519
|
+
.jkl-expandable-panel__wrapper .jkl-expander__label {
|
|
2520
|
+
flex-grow: 1;
|
|
2521
|
+
}
|
|
2522
|
+
@media (hover: hover) {
|
|
2523
|
+
.jkl-expandable-panel__wrapper .jkl-expander:hover {
|
|
2524
|
+
background-color: var(--jkl-color-background-container-accent);
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
.jkl-expandable-panel__focus-container {
|
|
2409
2528
|
position: absolute;
|
|
2410
2529
|
inset: 0;
|
|
2411
2530
|
}
|
|
2412
2531
|
.jkl-expander {
|
|
2413
|
-
--hover-background-color: color-mix(in srgb,
|
|
2414
|
-
currentColor 15%,
|
|
2415
|
-
transparent);
|
|
2416
2532
|
box-sizing: border-box;
|
|
2417
2533
|
background: none;
|
|
2418
2534
|
appearance: none;
|
|
2419
2535
|
border: none;
|
|
2420
2536
|
text-align: left;
|
|
2421
|
-
width: 100%;
|
|
2422
|
-
padding: var(--jkl-unit-20);
|
|
2423
2537
|
cursor: pointer;
|
|
2424
2538
|
color: var(--jkl-color);
|
|
2539
|
+
-webkit-tap-highlight-color: transparent;
|
|
2425
2540
|
display: flex;
|
|
2426
2541
|
gap: 0.5rem;
|
|
2427
2542
|
align-items: center;
|
|
@@ -2431,9 +2546,6 @@
|
|
|
2431
2546
|
.jkl-expander::-webkit-details-marker {
|
|
2432
2547
|
display: none;
|
|
2433
2548
|
}
|
|
2434
|
-
.jkl-expander__label {
|
|
2435
|
-
flex-grow: 1;
|
|
2436
|
-
}
|
|
2437
2549
|
.jkl-expander__chevron {
|
|
2438
2550
|
user-select: none;
|
|
2439
2551
|
transition-property: transform;
|
|
@@ -2450,11 +2562,6 @@
|
|
|
2450
2562
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
2451
2563
|
transition-duration: var(--jkl-motion-timing-snappy);
|
|
2452
2564
|
}
|
|
2453
|
-
@media (hover: hover) {
|
|
2454
|
-
.jkl-expander:hover {
|
|
2455
|
-
background-color: var(--hover-background-color);
|
|
2456
|
-
}
|
|
2457
|
-
}
|
|
2458
2565
|
.jkl-expander {
|
|
2459
2566
|
outline: 0;
|
|
2460
2567
|
border-style: none;
|
|
@@ -2476,6 +2583,27 @@
|
|
|
2476
2583
|
}
|
|
2477
2584
|
}
|
|
2478
2585
|
}
|
|
2586
|
+
@layer jokul.components {
|
|
2587
|
+
.jkl-accordion {
|
|
2588
|
+
background-color: var(--jkl-color-background-container);
|
|
2589
|
+
border-radius: var(--jkl-border-radius-s);
|
|
2590
|
+
padding-inline-start: unset;
|
|
2591
|
+
list-style-type: unset;
|
|
2592
|
+
overflow: clip;
|
|
2593
|
+
}
|
|
2594
|
+
.jkl-accordion .jkl-expandable-panel {
|
|
2595
|
+
border-radius: unset;
|
|
2596
|
+
border: unset;
|
|
2597
|
+
background-color: transparent;
|
|
2598
|
+
}
|
|
2599
|
+
.jkl-accordion .jkl-expandable-panel__wrapper:not(:last-of-type) {
|
|
2600
|
+
border-block-end: 1px solid var(--jkl-color-border-subdued);
|
|
2601
|
+
}
|
|
2602
|
+
.jkl-accordion[data-outlined=true] {
|
|
2603
|
+
border: 1px solid var(--jkl-color-border-subdued);
|
|
2604
|
+
background-color: transparent;
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2479
2607
|
@layer jokul.components {
|
|
2480
2608
|
.jkl-feedback {
|
|
2481
2609
|
max-width: 34.375rem;
|
|
@@ -2495,12 +2623,12 @@
|
|
|
2495
2623
|
font: var(--jkl-text-style-paragraph-small);
|
|
2496
2624
|
}
|
|
2497
2625
|
.jkl-feedback__fade-in {
|
|
2498
|
-
animation: jkl-show-
|
|
2626
|
+
animation: jkl-show-u1wrw4y 0.25s ease-out;
|
|
2499
2627
|
}
|
|
2500
2628
|
.jkl-feedback__buttons {
|
|
2501
2629
|
display: flex;
|
|
2502
2630
|
}
|
|
2503
|
-
@keyframes jkl-show-
|
|
2631
|
+
@keyframes jkl-show-u1wrw4y {
|
|
2504
2632
|
from {
|
|
2505
2633
|
transform: translate3d(0, 0.5rem, 0);
|
|
2506
2634
|
opacity: 0;
|
|
@@ -2574,16 +2702,15 @@
|
|
|
2574
2702
|
--jkl-message-dismiss-button-size: var(--jkl-unit-50);
|
|
2575
2703
|
--jkl-message-gap: var(--jkl-unit-20);
|
|
2576
2704
|
--jkl-message-padding: var(--jkl-unit-25) var(--jkl-unit-15);
|
|
2705
|
+
--icon-color: var(--jkl-color-background-contrast);
|
|
2577
2706
|
--background-color: var(--jkl-color-background-container);
|
|
2578
2707
|
--text-color: var(--jkl-color-text-default);
|
|
2579
|
-
--border-color: var(--jkl-color-border-subdued);
|
|
2580
2708
|
width: 100%;
|
|
2581
2709
|
max-width: 35rem;
|
|
2582
2710
|
padding: var(--jkl-message-padding);
|
|
2583
2711
|
background-color: var(--background-color);
|
|
2584
2712
|
color: var(--text-color);
|
|
2585
|
-
border:
|
|
2586
|
-
border-radius: 0.25rem;
|
|
2713
|
+
border-radius: var(--jkl-border-radius-s);
|
|
2587
2714
|
box-sizing: border-box;
|
|
2588
2715
|
display: grid;
|
|
2589
2716
|
align-items: start;
|
|
@@ -2597,6 +2724,7 @@
|
|
|
2597
2724
|
.jkl-message__icon {
|
|
2598
2725
|
grid-area: icon;
|
|
2599
2726
|
margin-right: var(--jkl-message-gap);
|
|
2727
|
+
color: var(--icon-color);
|
|
2600
2728
|
}
|
|
2601
2729
|
@media screen and (forced-colors: active) {
|
|
2602
2730
|
.jkl-message__icon {
|
|
@@ -2695,25 +2823,25 @@
|
|
|
2695
2823
|
.jkl-message--info {
|
|
2696
2824
|
--background-color: var(--jkl-color-info-background-container);
|
|
2697
2825
|
--text-color: var(--jkl-color-info-text-default);
|
|
2698
|
-
--
|
|
2826
|
+
--icon-color: var(--jkl-color-info-background-contrast);
|
|
2699
2827
|
}
|
|
2700
2828
|
.jkl-message--warning {
|
|
2701
2829
|
--background-color: var(--jkl-color-warning-background-container);
|
|
2702
2830
|
--text-color: var(--jkl-color-warning-text-default);
|
|
2703
|
-
--
|
|
2831
|
+
--icon-color: var(--jkl-color-warning-background-contrast);
|
|
2704
2832
|
}
|
|
2705
2833
|
.jkl-message--error {
|
|
2706
2834
|
--background-color: var(--jkl-color-error-background-container);
|
|
2707
2835
|
--text-color: var(--jkl-color-error-text-default);
|
|
2708
|
-
--
|
|
2836
|
+
--icon-color: var(--jkl-color-error-background-contrast);
|
|
2709
2837
|
}
|
|
2710
2838
|
.jkl-message--success {
|
|
2711
2839
|
--background-color: var(--jkl-color-success-background-container);
|
|
2712
2840
|
--text-color: var(--jkl-color-success-text-default);
|
|
2713
|
-
--
|
|
2841
|
+
--icon-color: var(--jkl-color-success-background-contrast);
|
|
2714
2842
|
}
|
|
2715
2843
|
.jkl-message--dismissed {
|
|
2716
|
-
animation: jkl-dismiss-
|
|
2844
|
+
animation: jkl-dismiss-u1wrw5v var(--jkl-motion-timing-lazy) ease-in-out forwards;
|
|
2717
2845
|
transition: visibility 0ms var(--jkl-motion-timing-lazy);
|
|
2718
2846
|
visibility: hidden;
|
|
2719
2847
|
}
|
|
@@ -2735,7 +2863,7 @@
|
|
|
2735
2863
|
.jkl-form-error-message {
|
|
2736
2864
|
padding-bottom: var(--jkl-unit-50);
|
|
2737
2865
|
}
|
|
2738
|
-
@keyframes jkl-dismiss-
|
|
2866
|
+
@keyframes jkl-dismiss-u1wrw5v {
|
|
2739
2867
|
from {
|
|
2740
2868
|
opacity: 1;
|
|
2741
2869
|
transform: translate3d(0, 0, 0);
|
|
@@ -2748,10 +2876,6 @@
|
|
|
2748
2876
|
}
|
|
2749
2877
|
@layer jokul.components {
|
|
2750
2878
|
.jkl-radio-button {
|
|
2751
|
-
/* stylelint-disable declaration-block-no-duplicate-custom-properties -- fallback for browsers without light-dark() support */
|
|
2752
|
-
--jkl-radio-button-error-color: #ab2e43;
|
|
2753
|
-
--jkl-radio-button-error-color: light-dark(#ab2e43, #d79ba5);
|
|
2754
|
-
/* stylelint-enable declaration-block-no-duplicate-custom-properties */
|
|
2755
2879
|
display: flex;
|
|
2756
2880
|
position: relative;
|
|
2757
2881
|
}
|
|
@@ -2845,7 +2969,7 @@
|
|
|
2845
2969
|
content: "radio_button_checked";
|
|
2846
2970
|
}
|
|
2847
2971
|
.jkl-radio-button__input[aria-invalid=true] + .jkl-radio-button__label::before {
|
|
2848
|
-
color: var(--jkl-color-error-
|
|
2972
|
+
color: var(--jkl-color-error-background-contrast);
|
|
2849
2973
|
}
|
|
2850
2974
|
.jkl-radio-button + .jkl-radio-button, .jkl-dormant-form-support-label + .jkl-radio-button, .jkl-form-support-label + .jkl-radio-button {
|
|
2851
2975
|
margin-top: 0.75lh;
|
|
@@ -3146,7 +3270,7 @@
|
|
|
3146
3270
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
3147
3271
|
transition-duration: var(--jkl-motion-timing-snappy);
|
|
3148
3272
|
transition-property: background-color, border-color, color;
|
|
3149
|
-
color: var(--
|
|
3273
|
+
color: var(--text-color);
|
|
3150
3274
|
padding: var(--jkl-file-padding);
|
|
3151
3275
|
border: var(--border);
|
|
3152
3276
|
border-radius: var(--border-radius);
|
|
@@ -3357,6 +3481,7 @@
|
|
|
3357
3481
|
}
|
|
3358
3482
|
@layer jokul.components {
|
|
3359
3483
|
.jkl-link-list {
|
|
3484
|
+
--background: var(--jkl-color-background-container);
|
|
3360
3485
|
--border: 1px solid var(--jkl-color-border-subdued);
|
|
3361
3486
|
--text-color: var(--jkl-color-text-default);
|
|
3362
3487
|
font: var(--jkl-text-style-paragraph-medium);
|
|
@@ -3374,7 +3499,7 @@
|
|
|
3374
3499
|
height: min-content;
|
|
3375
3500
|
border-radius: var(--jkl-unit-05);
|
|
3376
3501
|
overflow: hidden;
|
|
3377
|
-
background-color: var(--
|
|
3502
|
+
background-color: var(--background);
|
|
3378
3503
|
}
|
|
3379
3504
|
.jkl-link-list ul .jkl-link-list-link {
|
|
3380
3505
|
display: flex;
|
|
@@ -3411,7 +3536,7 @@
|
|
|
3411
3536
|
transition-property: translate;
|
|
3412
3537
|
}
|
|
3413
3538
|
.jkl-link-list ul .jkl-link-list-link:is(:hover, :focus-visible) {
|
|
3414
|
-
background-color:
|
|
3539
|
+
background-color: var(--jkl-color-background-container-accent);
|
|
3415
3540
|
}
|
|
3416
3541
|
.jkl-link-list ul .jkl-link-list-link:is(:hover, :focus-visible)::after {
|
|
3417
3542
|
translate: 4px 0;
|
|
@@ -3420,6 +3545,10 @@
|
|
|
3420
3545
|
outline: 3px solid var(--jkl-color-border-strong);
|
|
3421
3546
|
outline-offset: 3px;
|
|
3422
3547
|
}
|
|
3548
|
+
.jkl-link-list[data-outlined=true] ul {
|
|
3549
|
+
border: var(--border);
|
|
3550
|
+
--background: transparent;
|
|
3551
|
+
}
|
|
3423
3552
|
.jkl-link-list .jkl-link-list-item {
|
|
3424
3553
|
display: flex;
|
|
3425
3554
|
}
|
|
@@ -3565,7 +3694,7 @@
|
|
|
3565
3694
|
flex-shrink: 0;
|
|
3566
3695
|
}
|
|
3567
3696
|
.jkl-menu-item:hover, .jkl-menu-item:focus-visible {
|
|
3568
|
-
--background-color: color-
|
|
3697
|
+
--background-color: var(--jkl-color-background-container-accent);
|
|
3569
3698
|
}
|
|
3570
3699
|
}
|
|
3571
3700
|
@layer jokul.components {
|
|
@@ -3668,6 +3797,217 @@
|
|
|
3668
3797
|
transform: translateX(-0.3rem);
|
|
3669
3798
|
}
|
|
3670
3799
|
}
|
|
3800
|
+
@layer jokul.components {
|
|
3801
|
+
.jkl-number-input {
|
|
3802
|
+
display: flex;
|
|
3803
|
+
flex-direction: column;
|
|
3804
|
+
align-items: flex-start;
|
|
3805
|
+
}
|
|
3806
|
+
.jkl-number-input__wrapper {
|
|
3807
|
+
--jkl-text-input-padding: var(--jkl-text-input-vertical-padding) var(--jkl-text-input-horizontal-padding);
|
|
3808
|
+
--jkl-text-input-vertical-padding: var(--jkl-unit-15);
|
|
3809
|
+
--jkl-text-input-horizontal-padding: var(--jkl-unit-15);
|
|
3810
|
+
--jkl-text-input-action-button-size: var(--jkl-unit-60);
|
|
3811
|
+
--jkl-text-input-action-button-icon-size: var(--jkl-unit-30);
|
|
3812
|
+
--jkl-text-input-action-button-padding: var(--jkl-unit-10) 0;
|
|
3813
|
+
--jkl-text-input-action-button-focus-position: var(--jkl-unit-05);
|
|
3814
|
+
--text-color: var(--jkl-color-text-default);
|
|
3815
|
+
--background-color: transparent;
|
|
3816
|
+
--border-color: var(--jkl-color-border-default);
|
|
3817
|
+
--placeholder-color: var(--jkl-color-text-subdued);
|
|
3818
|
+
border-radius: var(--jkl-border-radius-s);
|
|
3819
|
+
box-sizing: border-box;
|
|
3820
|
+
max-width: 100%;
|
|
3821
|
+
position: relative;
|
|
3822
|
+
display: flex;
|
|
3823
|
+
align-items: center;
|
|
3824
|
+
font: var(--jkl-text-style-text-medium);
|
|
3825
|
+
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
3826
|
+
transition-duration: var(--jkl-motion-timing-productive);
|
|
3827
|
+
transition-property: color, box-shadow, background-color;
|
|
3828
|
+
background-color: var(--background-color);
|
|
3829
|
+
color: var(--text-color);
|
|
3830
|
+
box-shadow: inset 0 0 0 0.0625rem var(--border-color), 0 0 0 0.0625rem transparent;
|
|
3831
|
+
}
|
|
3832
|
+
.jkl-number-input__wrapper:focus-within, .jkl-number-input__wrapper:has([data-focused=true]) {
|
|
3833
|
+
--background-color: var(--jkl-color-background-container);
|
|
3834
|
+
}
|
|
3835
|
+
.jkl-number-input__wrapper[data-invalid=true]:not(:focus-within):not(:has([data-focused=true])) {
|
|
3836
|
+
--background-color: var(--jkl-color-error-background-container);
|
|
3837
|
+
--text-color: var(--jkl-color-error-text-default);
|
|
3838
|
+
--border-color: var(--jkl-color-error-border-default);
|
|
3839
|
+
--placeholder-color: var(--jkl-color-error-text-subdued);
|
|
3840
|
+
}
|
|
3841
|
+
.jkl-number-input__wrapper:hover, .jkl-number-input__wrapper:focus-within, .jkl-number-input__wrapper:has([data-focused=true]) {
|
|
3842
|
+
--border-color: var(--jkl-color-border-strong);
|
|
3843
|
+
box-shadow: inset 0 0 0 0.0625rem var(--border-color), 0 0 0 0.0625rem var(--border-color);
|
|
3844
|
+
}
|
|
3845
|
+
@media screen and (forced-colors: active) {
|
|
3846
|
+
.jkl-number-input__wrapper:hover, .jkl-number-input__wrapper:focus-within, .jkl-number-input__wrapper:has([data-focused=true]) {
|
|
3847
|
+
border: 0.125rem solid ButtonText;
|
|
3848
|
+
}
|
|
3849
|
+
}
|
|
3850
|
+
html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-number-input__wrapper:has(.jkl-text-input__input:focus-visible), html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-number-input__wrapper:has(.jkl-text-area__text-area:focus-visible) {
|
|
3851
|
+
outline: 3px solid var(--jkl-color-border-strong);
|
|
3852
|
+
outline-offset: 3px;
|
|
3853
|
+
}
|
|
3854
|
+
.jkl-number-input__wrapper > .jkl-icon-button:focus-visible {
|
|
3855
|
+
outline: 3px solid var(--jkl-color-border-strong);
|
|
3856
|
+
outline-offset: -8px;
|
|
3857
|
+
}
|
|
3858
|
+
@media screen and (forced-colors: active) {
|
|
3859
|
+
.jkl-number-input__wrapper > .jkl-icon-button:focus-visible {
|
|
3860
|
+
--border-color: ButtonText;
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3863
|
+
.jkl-number-input__wrapper > .jkl-text-input-action-button {
|
|
3864
|
+
flex-shrink: 0;
|
|
3865
|
+
display: flex;
|
|
3866
|
+
box-sizing: border-box;
|
|
3867
|
+
align-items: center;
|
|
3868
|
+
justify-content: center;
|
|
3869
|
+
padding: var(--jkl-text-input-action-button-padding);
|
|
3870
|
+
height: var(--jkl-text-input-action-button-size);
|
|
3871
|
+
width: var(--jkl-text-input-action-button-size);
|
|
3872
|
+
margin-inline-start: calc(var(--jkl-text-input-horizontal-padding) * -1);
|
|
3873
|
+
}
|
|
3874
|
+
.jkl-number-input__wrapper > .jkl-text-input-action-button .jkl-icon-button__icon {
|
|
3875
|
+
height: var(--jkl-text-input-action-button-icon-size);
|
|
3876
|
+
width: var(--jkl-text-input-action-button-icon-size);
|
|
3877
|
+
}
|
|
3878
|
+
.jkl-number-input__wrapper > .jkl-text-input-action-button:hover {
|
|
3879
|
+
color: var(--jkl-color-text-subdued);
|
|
3880
|
+
}
|
|
3881
|
+
@media screen and (forced-colors: active) {
|
|
3882
|
+
.jkl-number-input__wrapper > .jkl-text-input-action-button:hover {
|
|
3883
|
+
border: 0.125rem inset ButtonText;
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
@media screen and (forced-colors: active) {
|
|
3887
|
+
.jkl-number-input__wrapper {
|
|
3888
|
+
border: 0.125rem inset ButtonText;
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-number-input__wrapper:has(.jkl-number-input__input:focus-visible) {
|
|
3892
|
+
outline: 3px solid var(--jkl-color-border-strong);
|
|
3893
|
+
outline-offset: 3px;
|
|
3894
|
+
}
|
|
3895
|
+
.jkl-number-input__wrapper:has(.jkl-number-input__input:invalid):not(:focus-within):not(:has([data-focused=true])) {
|
|
3896
|
+
--background-color: var(--jkl-color-background-alert-error);
|
|
3897
|
+
--text-color: var(--jkl-color-text-on-alert);
|
|
3898
|
+
--placeholder-color: color(from currentColor sRGB r g b / 75%);
|
|
3899
|
+
}
|
|
3900
|
+
.jkl-number-input__wrapper--stepper {
|
|
3901
|
+
--jkl-number-input-stepper-min-width: calc(3ch + (var(--jkl-text-input-horizontal-padding) * 2));
|
|
3902
|
+
--jkl-number-input-stepper-text-color: var(--text-color);
|
|
3903
|
+
display: grid;
|
|
3904
|
+
grid-template-columns: max-content minmax(var(--jkl-number-input-stepper-min-width), 1fr) max-content;
|
|
3905
|
+
overflow: hidden;
|
|
3906
|
+
}
|
|
3907
|
+
.jkl-number-input__wrapper--stepper:has(button[data-direction]:focus-visible) {
|
|
3908
|
+
overflow: visible;
|
|
3909
|
+
}
|
|
3910
|
+
.jkl-number-input__input {
|
|
3911
|
+
padding: var(--jkl-text-input-padding);
|
|
3912
|
+
width: 100%;
|
|
3913
|
+
appearance: textfield;
|
|
3914
|
+
-moz-appearance: textfield;
|
|
3915
|
+
background: none;
|
|
3916
|
+
-webkit-appearance: none;
|
|
3917
|
+
color: inherit;
|
|
3918
|
+
font: var(--jkl-text-style-text-medium);
|
|
3919
|
+
}
|
|
3920
|
+
.jkl-number-input__input {
|
|
3921
|
+
outline: 0;
|
|
3922
|
+
border-style: none;
|
|
3923
|
+
outline-style: none;
|
|
3924
|
+
}
|
|
3925
|
+
.jkl-number-input__input:active, .jkl-number-input__input:hover, .jkl-number-input__input:focus {
|
|
3926
|
+
outline: 0;
|
|
3927
|
+
outline-style: none;
|
|
3928
|
+
}
|
|
3929
|
+
@media screen and (forced-colors: active) {
|
|
3930
|
+
.jkl-number-input__input {
|
|
3931
|
+
outline: revert;
|
|
3932
|
+
border-style: revert;
|
|
3933
|
+
outline-style: revert;
|
|
3934
|
+
}
|
|
3935
|
+
.jkl-number-input__input:active, .jkl-number-input__input:hover, .jkl-number-input__input:focus {
|
|
3936
|
+
outline: revert;
|
|
3937
|
+
outline-style: revert;
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
.jkl-number-input__input input[type=number]::-webkit-outer-spin-button,
|
|
3941
|
+
.jkl-number-input__input input[type=number]::-webkit-inner-spin-button {
|
|
3942
|
+
-webkit-appearance: none;
|
|
3943
|
+
}
|
|
3944
|
+
.jkl-number-input__input input[type=number] {
|
|
3945
|
+
-moz-appearance: textfield;
|
|
3946
|
+
}
|
|
3947
|
+
@media screen and (forced-colors: active) {
|
|
3948
|
+
.jkl-number-input__input {
|
|
3949
|
+
outline: none;
|
|
3950
|
+
border: none;
|
|
3951
|
+
}
|
|
3952
|
+
.jkl-number-input__input:focus-visible {
|
|
3953
|
+
outline: none;
|
|
3954
|
+
}
|
|
3955
|
+
}
|
|
3956
|
+
.jkl-number-input__input::placeholder {
|
|
3957
|
+
opacity: 1;
|
|
3958
|
+
color: var(--placeholder-color);
|
|
3959
|
+
}
|
|
3960
|
+
.jkl-number-input__input::-webkit-inner-spin-button, .jkl-number-input__input::-webkit-outer-spin-button {
|
|
3961
|
+
-webkit-appearance: none;
|
|
3962
|
+
margin: 0;
|
|
3963
|
+
}
|
|
3964
|
+
.jkl-number-input__input--align-right {
|
|
3965
|
+
text-align: right;
|
|
3966
|
+
}
|
|
3967
|
+
.jkl-number-input__input--stepper {
|
|
3968
|
+
box-sizing: border-box;
|
|
3969
|
+
min-inline-size: var(--jkl-number-input-stepper-min-width);
|
|
3970
|
+
text-align: center;
|
|
3971
|
+
}
|
|
3972
|
+
.jkl-number-input button[data-direction] {
|
|
3973
|
+
--text-color: var(--jkl-number-input-stepper-text-color);
|
|
3974
|
+
aspect-ratio: 1;
|
|
3975
|
+
padding: 0;
|
|
3976
|
+
display: inline-grid;
|
|
3977
|
+
place-items: center;
|
|
3978
|
+
text-align: center;
|
|
3979
|
+
height: 100%;
|
|
3980
|
+
}
|
|
3981
|
+
.jkl-number-input button[data-direction]::before {
|
|
3982
|
+
content: "";
|
|
3983
|
+
position: absolute;
|
|
3984
|
+
width: 1px;
|
|
3985
|
+
inset-block: 20%;
|
|
3986
|
+
background-color: var(--jkl-color-border-separator);
|
|
3987
|
+
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
3988
|
+
transition-duration: var(--jkl-motion-timing-productive);
|
|
3989
|
+
transition-property: inset;
|
|
3990
|
+
}
|
|
3991
|
+
.jkl-number-input button[data-direction]:hover::before, .jkl-number-input button[data-direction]:focus-visible::before {
|
|
3992
|
+
inset-block: 0.0625rem;
|
|
3993
|
+
}
|
|
3994
|
+
.jkl-number-input button[data-direction]:disabled {
|
|
3995
|
+
opacity: 0.4;
|
|
3996
|
+
cursor: not-allowed;
|
|
3997
|
+
}
|
|
3998
|
+
.jkl-number-input button[data-direction=decrement]::before {
|
|
3999
|
+
inset-inline-end: 0;
|
|
4000
|
+
}
|
|
4001
|
+
.jkl-number-input button[data-direction=increment]::before {
|
|
4002
|
+
inset-inline-start: 0;
|
|
4003
|
+
}
|
|
4004
|
+
.jkl-number-input button[data-direction].jkl-button {
|
|
4005
|
+
border-radius: 0;
|
|
4006
|
+
}
|
|
4007
|
+
.jkl-number-input button[data-direction].jkl-button .jkl-icon {
|
|
4008
|
+
margin-block-start: 0.4ex;
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
3671
4011
|
.jkl-navlink--beta {
|
|
3672
4012
|
--border-radius: 4px;
|
|
3673
4013
|
--separator: 1px solid var(--jkl-color-border-subdued);
|
|
@@ -3785,7 +4125,7 @@
|
|
|
3785
4125
|
--min-option-height: min(var(--jkl-unit-60), 3rem);
|
|
3786
4126
|
/* Vi må trekke fra bredden til rammen for å få riktig høyde */
|
|
3787
4127
|
--button-padding: calc(var(--jkl-unit-15) - var(--border-width)) calc(0.75em - var(--border-width));
|
|
3788
|
-
--option-padding: var(--jkl-unit-
|
|
4128
|
+
--option-padding: var(--jkl-unit-10);
|
|
3789
4129
|
display: block;
|
|
3790
4130
|
position: relative;
|
|
3791
4131
|
}
|
|
@@ -3917,11 +4257,20 @@
|
|
|
3917
4257
|
border-top: none;
|
|
3918
4258
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
3919
4259
|
box-sizing: border-box;
|
|
4260
|
+
margin-inline: -0.0625rem;
|
|
4261
|
+
width: calc(100% + 0.125rem);
|
|
4262
|
+
--min-option-height: min(var(--jkl-unit-60), 3rem);
|
|
4263
|
+
--option-padding: var(--jkl-unit-05) 0.75em;
|
|
3920
4264
|
overflow-y: auto;
|
|
3921
4265
|
max-height: calc((var(--jkl-select-max-shown-options, 5) + 0.5) * var(--min-option-height));
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
4266
|
+
}
|
|
4267
|
+
.jkl-select__options-menu[data-popover-placement=bottom] {
|
|
4268
|
+
border-top: none;
|
|
4269
|
+
border-radius: 0 0 var(--jkl-border-radius-s) var(--jkl-border-radius-s);
|
|
4270
|
+
}
|
|
4271
|
+
.jkl-select__options-menu[data-popover-placement=top] {
|
|
4272
|
+
border-bottom: none;
|
|
4273
|
+
border-radius: var(--jkl-border-radius-s) var(--jkl-border-radius-s) 0 0;
|
|
3925
4274
|
}
|
|
3926
4275
|
.jkl-select__option-wrapper {
|
|
3927
4276
|
margin: 0;
|
|
@@ -3949,7 +4298,7 @@
|
|
|
3949
4298
|
}
|
|
3950
4299
|
.jkl-select__option:focus, :not([data-focus=controlled]) > .jkl-select__option:hover {
|
|
3951
4300
|
color: var(--jkl-color-text-default);
|
|
3952
|
-
background-color: color-
|
|
4301
|
+
background-color: var(--jkl-color-background-container-accent);
|
|
3953
4302
|
}
|
|
3954
4303
|
.jkl-select__option-description {
|
|
3955
4304
|
color: var(--jkl-color-text-subdued);
|
|
@@ -3978,6 +4327,16 @@
|
|
|
3978
4327
|
.jkl-select--open .jkl-select__button:hover ~ .jkl-select__arrow {
|
|
3979
4328
|
transform: translateY(calc(-50% + -0.1875rem));
|
|
3980
4329
|
}
|
|
4330
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=bottom] .jkl-select__search-input,
|
|
4331
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=bottom] .jkl-select__button {
|
|
4332
|
+
border-bottom-left-radius: 0;
|
|
4333
|
+
border-bottom-right-radius: 0;
|
|
4334
|
+
}
|
|
4335
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=top] .jkl-select__search-input,
|
|
4336
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=top] .jkl-select__button {
|
|
4337
|
+
border-top-left-radius: 0;
|
|
4338
|
+
border-top-right-radius: 0;
|
|
4339
|
+
}
|
|
3981
4340
|
.jkl-select--invalid .jkl-select__search-input,
|
|
3982
4341
|
.jkl-select--invalid .jkl-select__button {
|
|
3983
4342
|
background-color: var(--jkl-color-error-background-container);
|
|
@@ -3997,12 +4356,14 @@
|
|
|
3997
4356
|
.jkl-select .jkl-select__button:hover, .jkl-select .jkl-select__search-input:hover {
|
|
3998
4357
|
border-color: Highlight;
|
|
3999
4358
|
}
|
|
4000
|
-
|
|
4359
|
+
}
|
|
4360
|
+
@media screen and (forced-colors: active) {
|
|
4361
|
+
.jkl-select__option {
|
|
4001
4362
|
color: CanvasText;
|
|
4002
4363
|
border-top: 1px solid Canvas;
|
|
4003
4364
|
border-bottom: 1px solid Canvas;
|
|
4004
4365
|
}
|
|
4005
|
-
.jkl-
|
|
4366
|
+
.jkl-select__option:hover, .jkl-select__option:focus {
|
|
4006
4367
|
border-top: 1px solid SelectedItem;
|
|
4007
4368
|
border-bottom: 1px solid SelectedItem;
|
|
4008
4369
|
--jkl-icon-weight: 400;
|
|
@@ -4010,6 +4371,43 @@
|
|
|
4010
4371
|
letter-spacing: -0.014em;
|
|
4011
4372
|
}
|
|
4012
4373
|
}
|
|
4374
|
+
.jkl-popover.jkl-select__popover {
|
|
4375
|
+
background: none;
|
|
4376
|
+
box-shadow: none;
|
|
4377
|
+
border-radius: 0;
|
|
4378
|
+
z-index: 7000;
|
|
4379
|
+
}
|
|
4380
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
4381
|
+
.jkl-select__options-menu {
|
|
4382
|
+
animation: jkl-select-options-menu-in var(--jkl-motion-timing-snappy) var(--jkl-motion-easing-standard);
|
|
4383
|
+
}
|
|
4384
|
+
.jkl-select__options-menu[data-popover-placement=top] {
|
|
4385
|
+
animation-name: jkl-select-options-menu-in-from-top;
|
|
4386
|
+
}
|
|
4387
|
+
}
|
|
4388
|
+
@keyframes jkl-select-options-menu-in {
|
|
4389
|
+
from {
|
|
4390
|
+
opacity: 0;
|
|
4391
|
+
transform: translateY(-0.25rem);
|
|
4392
|
+
}
|
|
4393
|
+
to {
|
|
4394
|
+
opacity: 1;
|
|
4395
|
+
transform: translateY(0);
|
|
4396
|
+
}
|
|
4397
|
+
}
|
|
4398
|
+
@keyframes jkl-select-options-menu-in-from-top {
|
|
4399
|
+
from {
|
|
4400
|
+
opacity: 0;
|
|
4401
|
+
transform: translateY(0.25rem);
|
|
4402
|
+
}
|
|
4403
|
+
to {
|
|
4404
|
+
opacity: 1;
|
|
4405
|
+
transform: translateY(0);
|
|
4406
|
+
}
|
|
4407
|
+
}
|
|
4408
|
+
.jkl-select__option:focus-visible {
|
|
4409
|
+
outline: none;
|
|
4410
|
+
}
|
|
4013
4411
|
}
|
|
4014
4412
|
@layer jokul.components {
|
|
4015
4413
|
.jkl-progress-bar {
|
|
@@ -4064,7 +4462,7 @@
|
|
|
4064
4462
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
4065
4463
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
4066
4464
|
}
|
|
4067
|
-
@keyframes jkl-downcount-
|
|
4465
|
+
@keyframes jkl-downcount-u1wrw5z {
|
|
4068
4466
|
from {
|
|
4069
4467
|
width: 100%;
|
|
4070
4468
|
}
|
|
@@ -4443,19 +4841,16 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4443
4841
|
@layer jokul.components {
|
|
4444
4842
|
.jkl-system-message {
|
|
4445
4843
|
--jkl-system-message-icon-height: var(--jkl-unit-30);
|
|
4446
|
-
--jkl-system-message-icon-padding: 0.1875rem 0 0 0;
|
|
4447
4844
|
--jkl-system-message-content-padding: var(--jkl-unit-30);
|
|
4448
4845
|
--jkl-system-message-dismiss-button-size: var(--jkl-unit-40);
|
|
4449
|
-
--jkl-system-message-dismiss-button-margin: -0.40625rem
|
|
4450
|
-
-1.125rem -0.40625rem auto;
|
|
4846
|
+
--jkl-system-message-dismiss-button-margin: -0.40625rem -1.125rem -0.40625rem auto;
|
|
4451
4847
|
--jkl-system-message-message-margin: 0 var(--jkl-unit-20);
|
|
4848
|
+
--icon-color: var(--jkl-color-background-contrast);
|
|
4452
4849
|
--background-color: var(--jkl-color-background-container);
|
|
4453
4850
|
--text-color: var(--jkl-color-text-default);
|
|
4454
|
-
--border-color: var(--jkl-color-border-subdued);
|
|
4455
4851
|
width: 100%;
|
|
4456
4852
|
background-color: var(--background-color);
|
|
4457
4853
|
color: var(--text-color);
|
|
4458
|
-
border: 1px solid var(--border-color);
|
|
4459
4854
|
transition-behavior: allow-discrete;
|
|
4460
4855
|
box-sizing: border-box;
|
|
4461
4856
|
}
|
|
@@ -4470,7 +4865,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4470
4865
|
}
|
|
4471
4866
|
.jkl-system-message__icon {
|
|
4472
4867
|
height: var(--jkl-system-message-icon-height);
|
|
4473
|
-
|
|
4868
|
+
color: var(--icon-color);
|
|
4474
4869
|
flex-shrink: 0;
|
|
4475
4870
|
}
|
|
4476
4871
|
@media screen and (forced-colors: active) {
|
|
@@ -4493,7 +4888,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4493
4888
|
place-content: center;
|
|
4494
4889
|
position: relative;
|
|
4495
4890
|
flex-shrink: 0;
|
|
4496
|
-
margin-top: 0.1875rem;
|
|
4497
4891
|
color: inherit;
|
|
4498
4892
|
}
|
|
4499
4893
|
.jkl-system-message__dismiss-button::after {
|
|
@@ -4564,28 +4958,28 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4564
4958
|
margin-bottom: 0;
|
|
4565
4959
|
}
|
|
4566
4960
|
.jkl-system-message--dismissed {
|
|
4567
|
-
animation: jkl-dismiss-
|
|
4961
|
+
animation: jkl-dismiss-u1wrw6z var(--jkl-motion-timing-lazy) forwards;
|
|
4568
4962
|
transition: block var(--jkl-motion-timing-lazy) var(--jkl-motion-timing-lazy);
|
|
4569
4963
|
}
|
|
4570
4964
|
.jkl-system-message--info {
|
|
4571
4965
|
--background-color: var(--jkl-color-info-background-container);
|
|
4572
4966
|
--text-color: var(--jkl-color-info-text-default);
|
|
4573
|
-
--
|
|
4967
|
+
--icon-color: var(--jkl-color-info-background-contrast);
|
|
4574
4968
|
}
|
|
4575
4969
|
.jkl-system-message--warning {
|
|
4576
4970
|
--background-color: var(--jkl-color-warning-background-container);
|
|
4577
4971
|
--text-color: var(--jkl-color-warning-text-default);
|
|
4578
|
-
--
|
|
4972
|
+
--icon-color: var(--jkl-color-warning-background-contrast);
|
|
4579
4973
|
}
|
|
4580
4974
|
.jkl-system-message--error {
|
|
4581
4975
|
--background-color: var(--jkl-color-error-background-container);
|
|
4582
4976
|
--text-color: var(--jkl-color-error-text-default);
|
|
4583
|
-
--
|
|
4977
|
+
--icon-color: var(--jkl-color-error-background-contrast);
|
|
4584
4978
|
}
|
|
4585
4979
|
.jkl-system-message--success {
|
|
4586
4980
|
--background-color: var(--jkl-color-success-background-container);
|
|
4587
4981
|
--text-color: var(--jkl-color-success-text-default);
|
|
4588
|
-
--
|
|
4982
|
+
--icon-color: var(--jkl-color-success-background-contrast);
|
|
4589
4983
|
}
|
|
4590
4984
|
@media screen and (forced-colors: active) {
|
|
4591
4985
|
.jkl-system-message {
|
|
@@ -4602,7 +4996,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4602
4996
|
border-width: 4px;
|
|
4603
4997
|
}
|
|
4604
4998
|
}
|
|
4605
|
-
@keyframes jkl-dismiss-
|
|
4999
|
+
@keyframes jkl-dismiss-u1wrw6z {
|
|
4606
5000
|
from {
|
|
4607
5001
|
opacity: 1;
|
|
4608
5002
|
transform: translateY(0);
|
|
@@ -5407,12 +5801,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5407
5801
|
}
|
|
5408
5802
|
.jkl-toast[data-animation=entering],
|
|
5409
5803
|
.jkl-toast[data-animation=queued] {
|
|
5410
|
-
animation: jkl-entering-
|
|
5804
|
+
animation: jkl-entering-u1wrw7u var(--jkl-motion-timing-polite) var(--jkl-motion-easing-entrance) forwards;
|
|
5411
5805
|
}
|
|
5412
5806
|
.jkl-toast[data-animation=exiting] {
|
|
5413
|
-
animation: jkl-exiting-
|
|
5807
|
+
animation: jkl-exiting-u1wrw8g var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
|
|
5414
5808
|
}
|
|
5415
|
-
@keyframes jkl-entering-
|
|
5809
|
+
@keyframes jkl-entering-u1wrw7u {
|
|
5416
5810
|
from {
|
|
5417
5811
|
opacity: 0;
|
|
5418
5812
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5422,7 +5816,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5422
5816
|
transform: translate3d(0, 0, 0);
|
|
5423
5817
|
}
|
|
5424
5818
|
}
|
|
5425
|
-
@keyframes jkl-exiting-
|
|
5819
|
+
@keyframes jkl-exiting-u1wrw8g {
|
|
5426
5820
|
from {
|
|
5427
5821
|
opacity: 1;
|
|
5428
5822
|
transform: translate3d(0, 0, 0);
|