@fremtind/jokul 4.6.1 → 4.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/build-stats.html +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/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/components/typography/Text.cjs +2 -0
- package/build/cjs/components/typography/Text.cjs.map +1 -0
- package/build/cjs/components/typography/Text.d.cts +5 -0
- package/build/cjs/components/typography/Title.cjs +2 -0
- package/build/cjs/components/typography/Title.cjs.map +1 -0
- package/build/cjs/components/typography/Title.d.cts +5 -0
- package/build/cjs/components/typography/index.cjs +2 -0
- package/build/cjs/components/typography/index.cjs.map +1 -0
- package/build/cjs/components/typography/index.d.cts +3 -0
- package/build/cjs/components/typography/types.cjs +2 -0
- package/build/cjs/components/typography/types.cjs.map +1 -0
- package/build/cjs/components/typography/types.d.cts +48 -0
- 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/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/Expander.js +1 -1
- package/build/es/components/expander/Expander.js.map +1 -1
- package/build/es/components/menu/Menu.js +1 -1
- 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/components/typography/Text.d.ts +5 -0
- package/build/es/components/typography/Text.js +2 -0
- package/build/es/components/typography/Text.js.map +1 -0
- package/build/es/components/typography/Title.d.ts +5 -0
- package/build/es/components/typography/Title.js +2 -0
- package/build/es/components/typography/Title.js.map +1 -0
- package/build/es/components/typography/index.d.ts +3 -0
- package/build/es/components/typography/index.js +2 -0
- package/build/es/components/typography/index.js.map +1 -0
- package/build/es/components/typography/types.d.ts +48 -0
- package/build/es/components/typography/types.js +2 -0
- package/build/es/components/typography/types.js.map +1 -0
- 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/index.js +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/{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/package.json +18 -4
- package/styles/components/countdown/countdown.css +2 -2
- package/styles/components/countdown/countdown.min.css +1 -1
- package/styles/components/expander/expandable.css +12 -10
- package/styles/components/expander/expandable.min.css +1 -1
- package/styles/components/expander/expandable.scss +15 -12
- package/styles/components/feedback/feedback.css +2 -2
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/file-input/file-input.css +9 -9
- package/styles/components/file-input/file-input.min.css +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/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/message/message.css +2 -2
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/progress-bar/progress-bar.css +1 -1
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/segmented-control/segmented-control.css +2 -2
- package/styles/components/segmented-control/segmented-control.min.css +1 -1
- package/styles/components/select/select.css +63 -14
- package/styles/components/select/select.min.css +1 -1
- package/styles/components/select/select.scss +120 -22
- package/styles/components/system-message/system-message.css +7 -16
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/system-message/system-message.scss +2 -10
- package/styles/components/toast/toast.css +4 -4
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components/typography/_index.scss +2 -0
- package/styles/components/typography/text.css +52 -0
- package/styles/components/typography/text.min.css +1 -0
- package/styles/components/typography/text.scss +55 -0
- package/styles/components/typography/title.css +70 -0
- package/styles/components/typography/title.min.css +1 -0
- package/styles/components/typography/title.scss +58 -0
- package/styles/core/core.css +1 -1
- package/styles/core/core.min.css +1 -1
- package/styles/core/utility/_paragraphs.scss +11 -1
- package/styles/styles.css +220 -62
- package/styles/styles.min.css +2 -2
- package/styles/styles.scss +1 -0
package/styles/styles.css
CHANGED
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
--color: var(--jkl-color-text-default);
|
|
482
482
|
}
|
|
483
483
|
.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 {
|
|
484
|
-
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-
|
|
484
|
+
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-uuo87ie forwards;
|
|
485
485
|
}
|
|
486
486
|
.jkl-form-support-label--sr-only {
|
|
487
487
|
border: 0 !important;
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
.jkl-label:has(+ .jkl-input-group-description) {
|
|
548
548
|
margin-block-end: var(--jkl-spacing-4);
|
|
549
549
|
}
|
|
550
|
-
@keyframes jkl-support-icon-entrance-
|
|
550
|
+
@keyframes jkl-support-icon-entrance-uuo87ie {
|
|
551
551
|
0% {
|
|
552
552
|
margin-right: 0;
|
|
553
553
|
opacity: 0;
|
|
@@ -904,22 +904,22 @@
|
|
|
904
904
|
animation: 2500ms linear infinite;
|
|
905
905
|
}
|
|
906
906
|
.jkl-loader__dot--left {
|
|
907
|
-
animation-name: jkl-loader-left-spin-
|
|
907
|
+
animation-name: jkl-loader-left-spin-uuo87ix;
|
|
908
908
|
margin-right: calc(var(--jkl-loader-spacing) * 0.9);
|
|
909
909
|
}
|
|
910
910
|
.jkl-loader__dot--middle {
|
|
911
|
-
animation-name: jkl-loader-middle-spin-
|
|
911
|
+
animation-name: jkl-loader-middle-spin-uuo87jb;
|
|
912
912
|
margin-right: var(--jkl-loader-spacing);
|
|
913
913
|
}
|
|
914
914
|
.jkl-loader__dot--right {
|
|
915
|
-
animation-name: jkl-loader-right-spin-
|
|
915
|
+
animation-name: jkl-loader-right-spin-uuo87js;
|
|
916
916
|
}
|
|
917
917
|
@media screen and (forced-colors: active) {
|
|
918
918
|
.jkl-loader__dot {
|
|
919
919
|
background-color: CanvasText;
|
|
920
920
|
}
|
|
921
921
|
}
|
|
922
|
-
@keyframes jkl-loader-left-spin-
|
|
922
|
+
@keyframes jkl-loader-left-spin-uuo87ix {
|
|
923
923
|
0% {
|
|
924
924
|
transform: rotate(0) scale(0);
|
|
925
925
|
}
|
|
@@ -933,7 +933,7 @@
|
|
|
933
933
|
transform: rotate(180deg) scale(0);
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
|
-
@keyframes jkl-loader-middle-spin-
|
|
936
|
+
@keyframes jkl-loader-middle-spin-uuo87jb {
|
|
937
937
|
0% {
|
|
938
938
|
transform: rotate(20deg) scale(0);
|
|
939
939
|
}
|
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
transform: rotate(200deg) scale(0);
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
|
-
@keyframes jkl-loader-right-spin-
|
|
953
|
+
@keyframes jkl-loader-right-spin-uuo87js {
|
|
954
954
|
0% {
|
|
955
955
|
transform: rotate(40deg) scale(0);
|
|
956
956
|
}
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
@media screen and (forced-colors: active) {
|
|
991
991
|
.jkl-skeleton-element {
|
|
992
992
|
border: 1px solid CanvasText;
|
|
993
|
-
animation: 2s ease infinite jkl-blink-
|
|
993
|
+
animation: 2s ease infinite jkl-blink-uuo87ju;
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
996
|
.jkl-skeleton-input {
|
|
@@ -1038,10 +1038,10 @@
|
|
|
1038
1038
|
}
|
|
1039
1039
|
@media screen and (forced-colors: active) {
|
|
1040
1040
|
.jkl-skeleton-table {
|
|
1041
|
-
animation: 2s ease-in-out infinite jkl-blink-
|
|
1041
|
+
animation: 2s ease-in-out infinite jkl-blink-uuo87ju;
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
|
-
@keyframes jkl-blink-
|
|
1044
|
+
@keyframes jkl-blink-uuo87ju {
|
|
1045
1045
|
0% {
|
|
1046
1046
|
opacity: 1;
|
|
1047
1047
|
}
|
|
@@ -2145,10 +2145,10 @@
|
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
2147
|
.jkl-countdown__tracker {
|
|
2148
|
-
animation: jkl-downcount-
|
|
2148
|
+
animation: jkl-downcount-uuo87ky var(--duration) linear forwards;
|
|
2149
2149
|
animation-play-state: var(--play-state, running);
|
|
2150
2150
|
}
|
|
2151
|
-
@keyframes jkl-downcount-
|
|
2151
|
+
@keyframes jkl-downcount-uuo87ky {
|
|
2152
2152
|
from {
|
|
2153
2153
|
width: 100%;
|
|
2154
2154
|
}
|
|
@@ -2568,6 +2568,18 @@
|
|
|
2568
2568
|
outline-offset: 3px;
|
|
2569
2569
|
outline-offset: var(--outline-offset);
|
|
2570
2570
|
}
|
|
2571
|
+
.jkl-expandable__wrapper .jkl-expander {
|
|
2572
|
+
padding: var(--jkl-unit-20);
|
|
2573
|
+
width: 100%;
|
|
2574
|
+
}
|
|
2575
|
+
.jkl-expandable__wrapper .jkl-expander__label {
|
|
2576
|
+
flex-grow: 1;
|
|
2577
|
+
}
|
|
2578
|
+
@media (hover: hover) {
|
|
2579
|
+
.jkl-expandable__wrapper .jkl-expander:hover {
|
|
2580
|
+
background-color: var(--jkl-color-background-interactive-selected);
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2571
2583
|
.jkl-expandable__focus-container {
|
|
2572
2584
|
border-radius: var(--border-radius);
|
|
2573
2585
|
position: absolute;
|
|
@@ -2579,8 +2591,6 @@
|
|
|
2579
2591
|
appearance: none;
|
|
2580
2592
|
border: none;
|
|
2581
2593
|
text-align: left;
|
|
2582
|
-
width: 100%;
|
|
2583
|
-
padding: var(--jkl-unit-20);
|
|
2584
2594
|
cursor: pointer;
|
|
2585
2595
|
color: var(--jkl-color);
|
|
2586
2596
|
display: flex;
|
|
@@ -2592,9 +2602,6 @@
|
|
|
2592
2602
|
.jkl-expander::-webkit-details-marker {
|
|
2593
2603
|
display: none;
|
|
2594
2604
|
}
|
|
2595
|
-
.jkl-expander__label {
|
|
2596
|
-
flex-grow: 1;
|
|
2597
|
-
}
|
|
2598
2605
|
.jkl-expander__chevron {
|
|
2599
2606
|
user-select: none;
|
|
2600
2607
|
transition-property: transform;
|
|
@@ -2611,11 +2618,6 @@
|
|
|
2611
2618
|
transition-timing-function: ease;
|
|
2612
2619
|
transition-duration: 100ms;
|
|
2613
2620
|
}
|
|
2614
|
-
@media (hover: hover) {
|
|
2615
|
-
.jkl-expander:hover {
|
|
2616
|
-
background-color: var(--jkl-color-background-interactive-selected);
|
|
2617
|
-
}
|
|
2618
|
-
}
|
|
2619
2621
|
.jkl-expander {
|
|
2620
2622
|
outline: 0;
|
|
2621
2623
|
border-style: none;
|
|
@@ -2660,12 +2662,12 @@
|
|
|
2660
2662
|
--jkl-icon-size: 1.2em;
|
|
2661
2663
|
}
|
|
2662
2664
|
.jkl-feedback__fade-in {
|
|
2663
|
-
animation: jkl-show-
|
|
2665
|
+
animation: jkl-show-uuo87l5 0.25s ease-out;
|
|
2664
2666
|
}
|
|
2665
2667
|
.jkl-feedback__buttons {
|
|
2666
2668
|
display: flex;
|
|
2667
2669
|
}
|
|
2668
|
-
@keyframes jkl-show-
|
|
2670
|
+
@keyframes jkl-show-uuo87l5 {
|
|
2669
2671
|
from {
|
|
2670
2672
|
transform: translate3d(0, 0.5rem, 0);
|
|
2671
2673
|
opacity: 0;
|
|
@@ -2880,7 +2882,7 @@
|
|
|
2880
2882
|
--background-color: var(--jkl-color-background-alert-success);
|
|
2881
2883
|
}
|
|
2882
2884
|
.jkl-message--dismissed {
|
|
2883
|
-
animation: jkl-dismiss-
|
|
2885
|
+
animation: jkl-dismiss-uuo87lo 400ms ease-in-out forwards;
|
|
2884
2886
|
transition: visibility 0ms 400ms;
|
|
2885
2887
|
visibility: hidden;
|
|
2886
2888
|
}
|
|
@@ -2902,7 +2904,7 @@
|
|
|
2902
2904
|
.jkl-form-error-message {
|
|
2903
2905
|
padding-bottom: calc(var(--jkl-unit-base) * 5);
|
|
2904
2906
|
}
|
|
2905
|
-
@keyframes jkl-dismiss-
|
|
2907
|
+
@keyframes jkl-dismiss-uuo87lo {
|
|
2906
2908
|
from {
|
|
2907
2909
|
opacity: 1;
|
|
2908
2910
|
transform: translate3d(0, 0, 0);
|
|
@@ -4366,21 +4368,23 @@
|
|
|
4366
4368
|
color: var(--jkl-color-text-on-alert);
|
|
4367
4369
|
}
|
|
4368
4370
|
.jkl-select__options-menu {
|
|
4369
|
-
position: absolute;
|
|
4370
|
-
left: -0.0625rem;
|
|
4371
|
-
right: -0.0625rem;
|
|
4372
|
-
top: 100%;
|
|
4373
|
-
z-index: 7000;
|
|
4374
4371
|
background-color: var(--jkl-color-background-container-high);
|
|
4375
4372
|
border: 0.125rem solid var(--jkl-color-border-input-focus);
|
|
4376
|
-
border-top: none;
|
|
4377
|
-
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
4378
4373
|
box-sizing: border-box;
|
|
4374
|
+
margin-inline: -0.0625rem;
|
|
4375
|
+
width: calc(100% + 0.125rem);
|
|
4376
|
+
--min-option-height: min(var(--jkl-unit-60), 3rem);
|
|
4377
|
+
--option-padding: var(--jkl-unit-05) 0.75em;
|
|
4379
4378
|
overflow-y: auto;
|
|
4380
4379
|
max-height: calc((var(--jkl-select-max-shown-options, 5) + 0.5) * var(--min-option-height));
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4380
|
+
}
|
|
4381
|
+
.jkl-select__options-menu[data-popover-placement=bottom] {
|
|
4382
|
+
border-top: none;
|
|
4383
|
+
border-radius: 0 0 var(--jkl-border-radius-s) var(--jkl-border-radius-s);
|
|
4384
|
+
}
|
|
4385
|
+
.jkl-select__options-menu[data-popover-placement=top] {
|
|
4386
|
+
border-bottom: none;
|
|
4387
|
+
border-radius: var(--jkl-border-radius-s) var(--jkl-border-radius-s) 0 0;
|
|
4384
4388
|
}
|
|
4385
4389
|
.jkl-select__option-wrapper {
|
|
4386
4390
|
margin: 0;
|
|
@@ -4433,8 +4437,6 @@
|
|
|
4433
4437
|
}
|
|
4434
4438
|
.jkl-select--open .jkl-select__search-input,
|
|
4435
4439
|
.jkl-select--open .jkl-select__button {
|
|
4436
|
-
border-bottom-left-radius: 0;
|
|
4437
|
-
border-bottom-right-radius: 0;
|
|
4438
4440
|
border-color: var(--jkl-color-border-input-focus);
|
|
4439
4441
|
background-color: var(--jkl-color-background-container-high);
|
|
4440
4442
|
box-shadow: 0 0 0 0.0625rem var(--jkl-color-border-input-focus);
|
|
@@ -4443,6 +4445,16 @@
|
|
|
4443
4445
|
.jkl-select--open .jkl-select__button:hover ~ .jkl-select__arrow {
|
|
4444
4446
|
transform: translateY(calc(-50% + -0.1875rem));
|
|
4445
4447
|
}
|
|
4448
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=bottom] .jkl-select__search-input,
|
|
4449
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=bottom] .jkl-select__button {
|
|
4450
|
+
border-bottom-left-radius: 0;
|
|
4451
|
+
border-bottom-right-radius: 0;
|
|
4452
|
+
}
|
|
4453
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=top] .jkl-select__search-input,
|
|
4454
|
+
.jkl-select--open .jkl-select__outer-wrapper[data-popover-placement=top] .jkl-select__button {
|
|
4455
|
+
border-top-left-radius: 0;
|
|
4456
|
+
border-top-right-radius: 0;
|
|
4457
|
+
}
|
|
4446
4458
|
.jkl-select--invalid .jkl-select__search-input,
|
|
4447
4459
|
.jkl-select--invalid .jkl-select__button {
|
|
4448
4460
|
background-color: var(--jkl-color-background-alert-error);
|
|
@@ -4462,12 +4474,14 @@
|
|
|
4462
4474
|
.jkl-select .jkl-select__button:hover, .jkl-select .jkl-select__search-input:hover {
|
|
4463
4475
|
border-color: Highlight;
|
|
4464
4476
|
}
|
|
4465
|
-
|
|
4477
|
+
}
|
|
4478
|
+
@media screen and (forced-colors: active) {
|
|
4479
|
+
.jkl-select__option {
|
|
4466
4480
|
color: CanvasText;
|
|
4467
4481
|
border-top: 1px solid Canvas;
|
|
4468
4482
|
border-bottom: 1px solid Canvas;
|
|
4469
4483
|
}
|
|
4470
|
-
.jkl-
|
|
4484
|
+
.jkl-select__option:hover, .jkl-select__option:focus {
|
|
4471
4485
|
border-top: 1px solid SelectedItem;
|
|
4472
4486
|
border-bottom: 1px solid SelectedItem;
|
|
4473
4487
|
--jkl-icon-weight: 400;
|
|
@@ -4475,6 +4489,43 @@
|
|
|
4475
4489
|
letter-spacing: -0.014em;
|
|
4476
4490
|
}
|
|
4477
4491
|
}
|
|
4492
|
+
.jkl-popover.jkl-select__popover {
|
|
4493
|
+
background: none;
|
|
4494
|
+
box-shadow: none;
|
|
4495
|
+
border-radius: 0;
|
|
4496
|
+
z-index: 7000;
|
|
4497
|
+
}
|
|
4498
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
4499
|
+
.jkl-select__options-menu {
|
|
4500
|
+
animation: jkl-select-options-menu-in var(--jkl-motion-timing-snappy) var(--jkl-motion-easing-standard);
|
|
4501
|
+
}
|
|
4502
|
+
.jkl-select__options-menu[data-popover-placement=top] {
|
|
4503
|
+
animation-name: jkl-select-options-menu-in-from-top;
|
|
4504
|
+
}
|
|
4505
|
+
}
|
|
4506
|
+
@keyframes jkl-select-options-menu-in {
|
|
4507
|
+
from {
|
|
4508
|
+
opacity: 0;
|
|
4509
|
+
transform: translateY(-0.25rem);
|
|
4510
|
+
}
|
|
4511
|
+
to {
|
|
4512
|
+
opacity: 1;
|
|
4513
|
+
transform: translateY(0);
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
@keyframes jkl-select-options-menu-in-from-top {
|
|
4517
|
+
from {
|
|
4518
|
+
opacity: 0;
|
|
4519
|
+
transform: translateY(0.25rem);
|
|
4520
|
+
}
|
|
4521
|
+
to {
|
|
4522
|
+
opacity: 1;
|
|
4523
|
+
transform: translateY(0);
|
|
4524
|
+
}
|
|
4525
|
+
}
|
|
4526
|
+
.jkl-select__option:focus-visible {
|
|
4527
|
+
outline: none;
|
|
4528
|
+
}
|
|
4478
4529
|
}
|
|
4479
4530
|
@layer jokul.components {
|
|
4480
4531
|
.jkl-progress-bar {
|
|
@@ -4529,7 +4580,7 @@
|
|
|
4529
4580
|
transition-timing-function: ease;
|
|
4530
4581
|
transition-duration: 150ms;
|
|
4531
4582
|
}
|
|
4532
|
-
@keyframes jkl-downcount-
|
|
4583
|
+
@keyframes jkl-downcount-uuo87lr {
|
|
4533
4584
|
from {
|
|
4534
4585
|
width: 100%;
|
|
4535
4586
|
}
|
|
@@ -4919,8 +4970,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4919
4970
|
}
|
|
4920
4971
|
@layer jokul.components {
|
|
4921
4972
|
.jkl-system-message {
|
|
4922
|
-
--jkl-system-message-icon-height: var(--jkl-unit-30);
|
|
4923
|
-
--jkl-system-message-icon-padding: 0.1875rem 0 0 0;
|
|
4924
4973
|
--jkl-system-message-content-padding: var(--jkl-unit-30);
|
|
4925
4974
|
--jkl-system-message-dismiss-button-size: var(--jkl-unit-40);
|
|
4926
4975
|
--jkl-system-message-dismiss-button-margin: -0.40625rem -1.125rem -0.40625rem
|
|
@@ -4935,19 +4984,18 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4935
4984
|
box-sizing: border-box;
|
|
4936
4985
|
}
|
|
4937
4986
|
.jkl-system-message__content {
|
|
4987
|
+
font-size: var(--jkl-font-size-3);
|
|
4988
|
+
line-height: var(--jkl-line-height-tight);
|
|
4989
|
+
font-weight: 400;
|
|
4990
|
+
--jkl-icon-weight: 300;
|
|
4938
4991
|
box-sizing: border-box;
|
|
4939
4992
|
padding: var(--jkl-system-message-content-padding);
|
|
4940
4993
|
display: grid;
|
|
4941
4994
|
grid-template-columns: min-content 1fr min-content;
|
|
4942
|
-
align-items:
|
|
4995
|
+
align-items: start;
|
|
4943
4996
|
width: 100%;
|
|
4944
4997
|
margin: 0 auto;
|
|
4945
4998
|
}
|
|
4946
|
-
.jkl-system-message__icon {
|
|
4947
|
-
height: var(--jkl-system-message-icon-height);
|
|
4948
|
-
margin: var(--jkl-system-message-icon-padding);
|
|
4949
|
-
flex-shrink: 0;
|
|
4950
|
-
}
|
|
4951
4999
|
@media screen and (forced-colors: active) {
|
|
4952
5000
|
.jkl-system-message__icon {
|
|
4953
5001
|
stroke: CanvasText;
|
|
@@ -4957,10 +5005,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4957
5005
|
}
|
|
4958
5006
|
}
|
|
4959
5007
|
.jkl-system-message__message {
|
|
4960
|
-
font-size: var(--jkl-font-size-3);
|
|
4961
|
-
line-height: var(--jkl-line-height-tight);
|
|
4962
|
-
font-weight: 400;
|
|
4963
|
-
--jkl-icon-weight: 300;
|
|
4964
5008
|
margin: var(--jkl-system-message-message-margin);
|
|
4965
5009
|
}
|
|
4966
5010
|
.jkl-system-message__dismiss-button {
|
|
@@ -4970,8 +5014,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4970
5014
|
display: grid;
|
|
4971
5015
|
place-content: center;
|
|
4972
5016
|
position: relative;
|
|
4973
|
-
flex-shrink: 0;
|
|
4974
|
-
margin-top: 0.1875rem;
|
|
4975
5017
|
color: inherit;
|
|
4976
5018
|
}
|
|
4977
5019
|
.jkl-system-message__dismiss-button::after {
|
|
@@ -5042,7 +5084,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5042
5084
|
margin-bottom: 0;
|
|
5043
5085
|
}
|
|
5044
5086
|
.jkl-system-message--dismissed {
|
|
5045
|
-
animation: jkl-dismiss-
|
|
5087
|
+
animation: jkl-dismiss-uuo87mz 400ms forwards;
|
|
5046
5088
|
transition: block 400ms 400ms;
|
|
5047
5089
|
}
|
|
5048
5090
|
.jkl-system-message--info {
|
|
@@ -5072,7 +5114,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5072
5114
|
border-width: 4px;
|
|
5073
5115
|
}
|
|
5074
5116
|
}
|
|
5075
|
-
@keyframes jkl-dismiss-
|
|
5117
|
+
@keyframes jkl-dismiss-uuo87mz {
|
|
5076
5118
|
from {
|
|
5077
5119
|
opacity: 1;
|
|
5078
5120
|
transform: translateY(0);
|
|
@@ -5909,12 +5951,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5909
5951
|
}
|
|
5910
5952
|
.jkl-toast[data-animation=entering],
|
|
5911
5953
|
.jkl-toast[data-animation=queued] {
|
|
5912
|
-
animation: jkl-entering-
|
|
5954
|
+
animation: jkl-entering-uuo87n4 200ms ease-out forwards;
|
|
5913
5955
|
}
|
|
5914
5956
|
.jkl-toast[data-animation=exiting] {
|
|
5915
|
-
animation: jkl-exiting-
|
|
5957
|
+
animation: jkl-exiting-uuo87nj 150ms ease-in forwards;
|
|
5916
5958
|
}
|
|
5917
|
-
@keyframes jkl-entering-
|
|
5959
|
+
@keyframes jkl-entering-uuo87n4 {
|
|
5918
5960
|
from {
|
|
5919
5961
|
opacity: 0;
|
|
5920
5962
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5924,7 +5966,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5924
5966
|
transform: translate3d(0, 0, 0);
|
|
5925
5967
|
}
|
|
5926
5968
|
}
|
|
5927
|
-
@keyframes jkl-exiting-
|
|
5969
|
+
@keyframes jkl-exiting-uuo87nj {
|
|
5928
5970
|
from {
|
|
5929
5971
|
opacity: 1;
|
|
5930
5972
|
transform: translate3d(0, 0, 0);
|
|
@@ -7512,6 +7554,122 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-toggle-slider:
|
|
|
7512
7554
|
transform: translate(0, -50%);
|
|
7513
7555
|
}
|
|
7514
7556
|
|
|
7557
|
+
@layer jokul.components {
|
|
7558
|
+
:where(.jkl-text) {
|
|
7559
|
+
font-weight: var(--jkl-typography-weight-normal);
|
|
7560
|
+
line-height: var(--jkl-line-height-relaxed);
|
|
7561
|
+
}
|
|
7562
|
+
.jkl-text[data-text-size] {
|
|
7563
|
+
margin-block: 0;
|
|
7564
|
+
}
|
|
7565
|
+
.jkl-text[data-text-size=xs] {
|
|
7566
|
+
font-size: var(--jkl-font-size-1);
|
|
7567
|
+
line-height: var(--jkl-line-height-tight);
|
|
7568
|
+
font-weight: 400;
|
|
7569
|
+
--jkl-icon-weight: 300;
|
|
7570
|
+
}
|
|
7571
|
+
.jkl-text[data-text-size=s] {
|
|
7572
|
+
font-size: var(--jkl-font-size-2);
|
|
7573
|
+
line-height: var(--jkl-line-height-relaxed);
|
|
7574
|
+
font-weight: 400;
|
|
7575
|
+
--jkl-icon-weight: 300;
|
|
7576
|
+
--jkl-icon-size: 1.2em;
|
|
7577
|
+
}
|
|
7578
|
+
.jkl-text[data-text-size=m] {
|
|
7579
|
+
font-size: var(--jkl-font-size-3);
|
|
7580
|
+
line-height: var(--jkl-line-height-relaxed);
|
|
7581
|
+
font-weight: 400;
|
|
7582
|
+
--jkl-icon-weight: 300;
|
|
7583
|
+
}
|
|
7584
|
+
.jkl-text[data-text-size=l] {
|
|
7585
|
+
font-size: var(--jkl-font-size-5);
|
|
7586
|
+
line-height: var(--jkl-line-height-relaxed);
|
|
7587
|
+
font-weight: 400;
|
|
7588
|
+
--jkl-icon-weight: 300;
|
|
7589
|
+
}
|
|
7590
|
+
.jkl-text[data-bold],
|
|
7591
|
+
strong.jkl-text[data-text-size] {
|
|
7592
|
+
font-weight: var(--jkl-typography-weight-bold);
|
|
7593
|
+
--jkl-icon-weight: 400;
|
|
7594
|
+
}
|
|
7595
|
+
.jkl-text[data-short] {
|
|
7596
|
+
line-height: var(--jkl-line-height-tight);
|
|
7597
|
+
}
|
|
7598
|
+
:is(code, kbd, samp, var).jkl-text {
|
|
7599
|
+
font-family: "Fremtind Grotesk Mono", "Adjusted Courier New Fallback", -apple-system, BlinkMacSystemFont, monospace;
|
|
7600
|
+
}
|
|
7601
|
+
label.jkl-text {
|
|
7602
|
+
display: block;
|
|
7603
|
+
margin-block-end: var(--jkl-spacing-8);
|
|
7604
|
+
}
|
|
7605
|
+
}
|
|
7606
|
+
@layer jokul.components {
|
|
7607
|
+
:where(.jkl-title) {
|
|
7608
|
+
font-weight: var(--jkl-typography-weight-normal);
|
|
7609
|
+
line-height: var(--jkl-line-height-tight);
|
|
7610
|
+
}
|
|
7611
|
+
.jkl-title[data-text-size] {
|
|
7612
|
+
margin-block: 0;
|
|
7613
|
+
}
|
|
7614
|
+
.jkl-title[data-text-size=xs],
|
|
7615
|
+
.jkl-heading-xs {
|
|
7616
|
+
font-size: var(--jkl-font-size-4);
|
|
7617
|
+
line-height: var(--jkl-line-height-tight);
|
|
7618
|
+
font-weight: 700;
|
|
7619
|
+
--jkl-icon-weight: 400;
|
|
7620
|
+
}
|
|
7621
|
+
:where(.jkl-heading-xs) {
|
|
7622
|
+
margin-block: 0;
|
|
7623
|
+
}
|
|
7624
|
+
.jkl-title[data-text-size=s],
|
|
7625
|
+
.jkl-heading-s {
|
|
7626
|
+
font-size: var(--jkl-font-size-5);
|
|
7627
|
+
line-height: var(--jkl-line-height-tight);
|
|
7628
|
+
font-weight: 700;
|
|
7629
|
+
--jkl-icon-weight: 400;
|
|
7630
|
+
}
|
|
7631
|
+
:where(.jkl-heading-s) {
|
|
7632
|
+
margin-block: 0;
|
|
7633
|
+
}
|
|
7634
|
+
.jkl-title[data-text-size=m],
|
|
7635
|
+
.jkl-heading-m {
|
|
7636
|
+
font-size: var(--jkl-font-size-6);
|
|
7637
|
+
line-height: var(--jkl-line-height-tight);
|
|
7638
|
+
font-weight: 700;
|
|
7639
|
+
--jkl-icon-weight: 400;
|
|
7640
|
+
}
|
|
7641
|
+
:where(.jkl-heading-m) {
|
|
7642
|
+
margin-block: 0;
|
|
7643
|
+
}
|
|
7644
|
+
.jkl-title[data-text-size=l],
|
|
7645
|
+
.jkl-heading-l {
|
|
7646
|
+
font-size: var(--jkl-font-size-7);
|
|
7647
|
+
line-height: var(--jkl-line-height-tight);
|
|
7648
|
+
font-weight: 400;
|
|
7649
|
+
--jkl-icon-weight: 300;
|
|
7650
|
+
}
|
|
7651
|
+
:where(.jkl-heading-l) {
|
|
7652
|
+
margin-block: 0;
|
|
7653
|
+
}
|
|
7654
|
+
.jkl-title[data-text-size=xl],
|
|
7655
|
+
.jkl-heading-xl {
|
|
7656
|
+
font-size: var(--jkl-font-size-8);
|
|
7657
|
+
line-height: var(--jkl-line-height-tight);
|
|
7658
|
+
font-weight: 400;
|
|
7659
|
+
--jkl-icon-weight: 300;
|
|
7660
|
+
}
|
|
7661
|
+
:where(.jkl-heading-xl) {
|
|
7662
|
+
margin-block: 0;
|
|
7663
|
+
}
|
|
7664
|
+
:is(label, legend).jkl-title[data-text-size] {
|
|
7665
|
+
font-weight: var(--jkl-typography-weight-normal);
|
|
7666
|
+
line-height: var(--jkl-line-height-relaxed);
|
|
7667
|
+
}
|
|
7668
|
+
label.jkl-title[data-text-size] {
|
|
7669
|
+
display: block;
|
|
7670
|
+
margin-block-end: var(--jkl-spacing-8);
|
|
7671
|
+
}
|
|
7672
|
+
}
|
|
7515
7673
|
@layer jokul.components {
|
|
7516
7674
|
.jkl-help {
|
|
7517
7675
|
anchor-scope: all;
|