@fremtind/jokul 5.0.0 → 5.0.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/checkbox-panel/CheckboxPanel.cjs +1 -1
- package/build/cjs/components/checkbox-panel/CheckboxPanel.cjs.map +1 -1
- package/build/cjs/components/checkbox-panel/CheckboxPanel.d.cts +1 -1
- package/build/cjs/components/expander/index.cjs +1 -1
- package/build/cjs/components/expander/index.d.cts +1 -0
- package/build/cjs/components/input-panel/InputPanel.cjs +1 -1
- package/build/cjs/components/input-panel/InputPanel.cjs.map +1 -1
- package/build/cjs/components/input-panel/InputPanel.d.cts +1 -1
- package/build/cjs/components/input-panel/types.d.cts +2 -1
- package/build/cjs/components/message/Message.cjs +1 -1
- package/build/cjs/components/message/Message.cjs.map +1 -1
- package/build/cjs/components/radio-panel/RadioPanel.cjs +1 -1
- package/build/cjs/components/radio-panel/RadioPanel.cjs.map +1 -1
- package/build/cjs/components/select/Select.cjs +1 -1
- package/build/cjs/components/select/Select.cjs.map +1 -1
- package/build/cjs/components/toast/Toast.cjs +1 -1
- package/build/cjs/components/toast/Toast.cjs.map +1 -1
- package/build/cjs/components/typography/Title.cjs +1 -1
- package/build/cjs/components/typography/Title.cjs.map +1 -1
- package/build/cjs/utilities/types.cjs.map +1 -1
- package/build/cjs/utilities/types.d.cts +12 -2
- package/build/es/components/checkbox-panel/CheckboxPanel.d.ts +1 -1
- package/build/es/components/checkbox-panel/CheckboxPanel.js +1 -1
- package/build/es/components/checkbox-panel/CheckboxPanel.js.map +1 -1
- package/build/es/components/expander/index.d.ts +1 -0
- package/build/es/components/expander/index.js +1 -1
- package/build/es/components/input-panel/InputPanel.d.ts +1 -1
- package/build/es/components/input-panel/InputPanel.js +1 -1
- package/build/es/components/input-panel/InputPanel.js.map +1 -1
- package/build/es/components/input-panel/types.d.ts +2 -1
- package/build/es/components/message/Message.js +1 -1
- package/build/es/components/message/Message.js.map +1 -1
- package/build/es/components/radio-panel/RadioPanel.js +1 -1
- package/build/es/components/radio-panel/RadioPanel.js.map +1 -1
- package/build/es/components/select/Select.js +1 -1
- package/build/es/components/select/Select.js.map +1 -1
- package/build/es/components/toast/Toast.js +1 -1
- package/build/es/components/toast/Toast.js.map +1 -1
- package/build/es/components/typography/Title.js +1 -1
- package/build/es/components/typography/Title.js.map +1 -1
- package/build/es/utilities/types.d.ts +12 -2
- package/build/es/utilities/types.js.map +1 -1
- package/package.json +1 -1
- package/styles/base.css +3 -0
- package/styles/base.min.css +1 -1
- package/styles/components/breadcrumb/breadcrumb.css +0 -1
- package/styles/components/breadcrumb/breadcrumb.min.css +1 -1
- package/styles/components/breadcrumb/breadcrumb.scss +0 -1
- package/styles/components/button/button.css +0 -1
- package/styles/components/button/button.min.css +1 -1
- package/styles/components/button/button.scss +1 -2
- package/styles/components/chip/chip.css +0 -1
- package/styles/components/chip/chip.min.css +1 -1
- package/styles/components/chip/chip.scss +0 -1
- package/styles/components/combobox/combobox.css +0 -1
- package/styles/components/combobox/combobox.min.css +1 -1
- package/styles/components/combobox/combobox.scss +0 -1
- package/styles/components/countdown/countdown.css +2 -2
- package/styles/components/countdown/countdown.min.css +1 -1
- package/styles/components/datepicker/_calendar-date-button.scss +0 -2
- package/styles/components/datepicker/datepicker.css +0 -2
- package/styles/components/datepicker/datepicker.min.css +1 -1
- package/styles/components/feedback/feedback.css +2 -2
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/file/file.css +3 -0
- package/styles/components/file/file.min.css +1 -1
- package/styles/components/file/file.scss +4 -0
- package/styles/components/file-input/file-input.css +26 -17
- package/styles/components/file-input/file-input.min.css +1 -1
- package/styles/components/icon-button/icon-button.css +0 -1
- package/styles/components/icon-button/icon-button.min.css +1 -1
- package/styles/components/icon-button/icon-button.scss +0 -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/link.css +14 -7
- package/styles/components/link/link.min.css +1 -1
- package/styles/components/link/link.scss +18 -10
- 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 +0 -1
- package/styles/components/menu/menu.css +0 -1
- package/styles/components/menu/menu.min.css +1 -1
- package/styles/components/message/message.css +2 -3
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/message/message.scss +0 -1
- package/styles/components/pagination/pagination.css +1 -1
- package/styles/components/pagination/pagination.scss +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/search/search.css +0 -1
- package/styles/components/search/search.min.css +1 -1
- package/styles/components/search/search.scss +0 -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/system-message/system-message.css +2 -3
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/system-message/system-message.scss +1 -2
- package/styles/components/table/_table-pagination.scss +0 -1
- package/styles/components/table/table.css +0 -1
- package/styles/components/table/table.min.css +1 -1
- package/styles/components/tabs/tabs.css +0 -1
- package/styles/components/tabs/tabs.min.css +1 -1
- package/styles/components/tabs/tabs.scss +0 -1
- package/styles/components/toast/toast.css +34 -9
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components/toast/toast.scss +44 -9
- package/styles/components/toggle-switch/toggle-switch.css +0 -1
- package/styles/components/toggle-switch/toggle-switch.min.css +1 -1
- package/styles/components/toggle-switch/toggle-switch.scss +0 -1
- package/styles/components/typography/text.css +2 -2
- package/styles/components/typography/text.min.css +1 -1
- package/styles/components/typography/text.scss +2 -2
- package/styles/components/typography/title.css +8 -30
- package/styles/components/typography/title.min.css +1 -1
- package/styles/components/typography/title.scss +7 -30
- package/styles/components.css +82 -83
- package/styles/components.min.css +1 -1
- package/styles/global/_base-class.scss +4 -0
|
@@ -2,53 +2,31 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
@layer jokul.components {
|
|
5
|
-
:
|
|
6
|
-
font-weight: var(--jkl-typography-weight-normal);
|
|
7
|
-
line-height: var(--jkl-line-height-tight);
|
|
8
|
-
}
|
|
9
|
-
.jkl-title[data-text-size] {
|
|
5
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=xs] {
|
|
10
6
|
margin-block: 0;
|
|
11
|
-
}
|
|
12
|
-
.jkl-title[data-text-size=xs],
|
|
13
|
-
.jkl-heading-xs {
|
|
14
7
|
font: var(--jkl-text-style-heading-5);
|
|
15
8
|
}
|
|
16
|
-
:
|
|
9
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=s] {
|
|
17
10
|
margin-block: 0;
|
|
18
|
-
}
|
|
19
|
-
.jkl-title[data-text-size=s],
|
|
20
|
-
.jkl-heading-s {
|
|
21
11
|
font: var(--jkl-text-style-heading-4);
|
|
22
12
|
}
|
|
23
|
-
:
|
|
13
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=m] {
|
|
24
14
|
margin-block: 0;
|
|
25
|
-
}
|
|
26
|
-
.jkl-title[data-text-size=m],
|
|
27
|
-
.jkl-heading-m {
|
|
28
15
|
font: var(--jkl-text-style-heading-3);
|
|
29
16
|
}
|
|
30
|
-
:
|
|
17
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=l] {
|
|
31
18
|
margin-block: 0;
|
|
32
|
-
}
|
|
33
|
-
.jkl-title[data-text-size=l],
|
|
34
|
-
.jkl-heading-l {
|
|
35
19
|
font: var(--jkl-text-style-heading-2);
|
|
36
20
|
}
|
|
37
|
-
:
|
|
21
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=xl] {
|
|
38
22
|
margin-block: 0;
|
|
39
|
-
}
|
|
40
|
-
.jkl-title[data-text-size=xl],
|
|
41
|
-
.jkl-heading-xl {
|
|
42
23
|
font: var(--jkl-text-style-heading-1);
|
|
43
24
|
}
|
|
44
|
-
:
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
:is(label, legend).jkl-title[data-text-size] {
|
|
48
|
-
font-weight: var(--jkl-typography-weight-normal);
|
|
25
|
+
:is(label, legend)[data-text-size] {
|
|
26
|
+
font-weight: var(--jkl-font-weight-normal);
|
|
49
27
|
line-height: var(--jkl-line-height-relaxed);
|
|
50
28
|
}
|
|
51
|
-
label
|
|
29
|
+
:is(label)[data-text-size] {
|
|
52
30
|
display: block;
|
|
53
31
|
margin-block-end: var(--jkl-spacing-8);
|
|
54
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer jokul.components{:
|
|
1
|
+
@layer jokul.components{:is(h1,h2,h3,h4,h5,h6,label,legend)[data-text-size=xs]{font:var(--jkl-text-style-heading-5);margin-block:0}:is(h1,h2,h3,h4,h5,h6,label,legend)[data-text-size=s]{font:var(--jkl-text-style-heading-4);margin-block:0}:is(h1,h2,h3,h4,h5,h6,label,legend)[data-text-size=m]{font:var(--jkl-text-style-heading-3);margin-block:0}:is(h1,h2,h3,h4,h5,h6,label,legend)[data-text-size=l]{font:var(--jkl-text-style-heading-2);margin-block:0}:is(h1,h2,h3,h4,h5,h6,label,legend)[data-text-size=xl]{font:var(--jkl-text-style-heading-1);margin-block:0}:is(label,legend)[data-text-size]{font-weight:var(--jkl-font-weight-normal);line-height:var(--jkl-line-height-relaxed)}:is(label)[data-text-size]{display:block;-webkit-margin-after:var(--jkl-spacing-8);margin-block-end:var(--jkl-spacing-8)}}
|
|
@@ -12,48 +12,25 @@ $_size-styles: (
|
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
@layer jokul.components {
|
|
15
|
-
:where(.jkl-title) {
|
|
16
|
-
font-weight: var(--jkl-typography-weight-normal);
|
|
17
|
-
line-height: var(--jkl-line-height-tight);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Scope margin-resetten til komponenten via `data-text-size` så vi ikke
|
|
21
|
-
// overstyrer margin på elementer som bare bruker `.jkl-title` som
|
|
22
|
-
// hjelpeklasse.
|
|
23
|
-
.jkl-title[data-text-size] {
|
|
24
|
-
margin-block: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Genererer både komponent-regler og ekvivalente hjelpeklasser fra
|
|
28
|
-
// samme kilde slik at de ikke drifter fra hverandre.
|
|
29
|
-
// `.jkl-heading-<size>` tilsvarer `<Title size="<size>">` brukt på et
|
|
30
|
-
// vilkårlig element.
|
|
31
15
|
@each $name, $style in $_size-styles {
|
|
16
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size="#{$name}"] {
|
|
17
|
+
margin-block: 0;
|
|
32
18
|
|
|
33
|
-
.jkl-title[data-text-size="#{$name}"],
|
|
34
|
-
.jkl-heading-#{$name} {
|
|
35
19
|
@include jkl.text-style($style);
|
|
36
20
|
}
|
|
37
|
-
|
|
38
|
-
:where(.jkl-heading-#{$name}) {
|
|
39
|
-
margin-block: 0;
|
|
40
|
-
}
|
|
41
21
|
}
|
|
42
22
|
|
|
43
23
|
// Skjema-elementer skal ikke arve heading sine fete font-weight og
|
|
44
24
|
// tight line-height. De er tekst som beskriver et skjemafelt eller en
|
|
45
|
-
// gruppe, ikke strukturelle overskrifter.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
font-weight: var(--jkl-typography-weight-normal);
|
|
25
|
+
// gruppe, ikke strukturelle overskrifter.
|
|
26
|
+
:is(label, legend)[data-text-size] {
|
|
27
|
+
font-weight: var(--jkl-font-weight-normal);
|
|
49
28
|
line-height: var(--jkl-line-height-relaxed);
|
|
50
29
|
}
|
|
51
30
|
|
|
52
31
|
// Labels er blokk-nivå og har bunnmarg til feltet de beskriver.
|
|
53
|
-
|
|
54
|
-
// som ellers nullstiller margin via `margin-block: 0`.
|
|
55
|
-
label.jkl-title[data-text-size] {
|
|
32
|
+
:is(label)[data-text-size] {
|
|
56
33
|
display: block;
|
|
57
34
|
margin-block-end: var(--jkl-spacing-8);
|
|
58
35
|
}
|
|
59
|
-
}
|
|
36
|
+
}
|
package/styles/components.css
CHANGED
|
@@ -322,7 +322,6 @@
|
|
|
322
322
|
@layer jokul.components {
|
|
323
323
|
.jkl-icon-button {
|
|
324
324
|
background-color: transparent;
|
|
325
|
-
cursor: pointer;
|
|
326
325
|
color: inherit;
|
|
327
326
|
position: relative;
|
|
328
327
|
transition-property: box-shadow;
|
|
@@ -432,7 +431,7 @@
|
|
|
432
431
|
--color: var(--jkl-color-text-default);
|
|
433
432
|
}
|
|
434
433
|
.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 {
|
|
435
|
-
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-
|
|
434
|
+
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-uhpq1dc forwards;
|
|
436
435
|
}
|
|
437
436
|
.jkl-form-support-label--sr-only {
|
|
438
437
|
border: 0 !important;
|
|
@@ -486,7 +485,7 @@
|
|
|
486
485
|
.jkl-label:has(+ .jkl-input-group-description) {
|
|
487
486
|
margin-block-end: var(--jkl-spacing-4);
|
|
488
487
|
}
|
|
489
|
-
@keyframes jkl-support-icon-entrance-
|
|
488
|
+
@keyframes jkl-support-icon-entrance-uhpq1dc {
|
|
490
489
|
0% {
|
|
491
490
|
margin-right: 0;
|
|
492
491
|
opacity: 0;
|
|
@@ -625,7 +624,6 @@
|
|
|
625
624
|
.jkl-breadcrumb__item {
|
|
626
625
|
margin-bottom: var(--jkl-unit-10);
|
|
627
626
|
white-space: nowrap;
|
|
628
|
-
cursor: pointer;
|
|
629
627
|
}
|
|
630
628
|
.jkl-breadcrumb__item-separator {
|
|
631
629
|
padding-left: var(--jkl-unit-10);
|
|
@@ -648,15 +646,9 @@
|
|
|
648
646
|
text-decoration-thickness: 0.05em;
|
|
649
647
|
text-decoration-color: rgb(from currentColor r g b/70%);
|
|
650
648
|
}
|
|
651
|
-
.jkl-
|
|
652
|
-
margin-inline-start: 0.2em;
|
|
653
|
-
margin-block-start: -0.1em;
|
|
654
|
-
vertical-align: middle;
|
|
655
|
-
}
|
|
656
|
-
.jkl-link--external::after, .jkl-link[target=_blank]::after, .jkl-link[download]::after {
|
|
649
|
+
.jkl-link::after {
|
|
657
650
|
--jkl-icon-fill: 0;
|
|
658
651
|
--jkl-icon-size: 1em;
|
|
659
|
-
content: "\e89e"/"(Åpnes i ny fane)";
|
|
660
652
|
margin-block-start: -0.1em;
|
|
661
653
|
padding-inline-start: 0.2em;
|
|
662
654
|
vertical-align: middle;
|
|
@@ -674,6 +666,9 @@
|
|
|
674
666
|
transition-property: font-variation-settings, transform;
|
|
675
667
|
display: inline;
|
|
676
668
|
}
|
|
669
|
+
.jkl-link--external::after, .jkl-link[target=_blank]::after {
|
|
670
|
+
content: "\e89e"/"(Åpnes i ny fane)";
|
|
671
|
+
}
|
|
677
672
|
.jkl-link[download]::after {
|
|
678
673
|
content: "\f090"/"(Last ned fil)";
|
|
679
674
|
}
|
|
@@ -689,6 +684,16 @@
|
|
|
689
684
|
--link-color: HighLight;
|
|
690
685
|
}
|
|
691
686
|
}
|
|
687
|
+
button.jkl-link {
|
|
688
|
+
appearance: none;
|
|
689
|
+
border: 0;
|
|
690
|
+
padding: 0;
|
|
691
|
+
margin: 0;
|
|
692
|
+
background: none;
|
|
693
|
+
line-height: inherit;
|
|
694
|
+
font: inherit;
|
|
695
|
+
text-align: inherit;
|
|
696
|
+
}
|
|
692
697
|
}
|
|
693
698
|
@layer jokul.components {
|
|
694
699
|
.jkl-button {
|
|
@@ -709,7 +714,6 @@
|
|
|
709
714
|
display: inline-block;
|
|
710
715
|
font: var(--jkl-text-style-text-medium);
|
|
711
716
|
font-weight: var(--jkl-font-weight-bold);
|
|
712
|
-
cursor: pointer;
|
|
713
717
|
user-select: none;
|
|
714
718
|
background: var(--background-color);
|
|
715
719
|
color: var(--text-color);
|
|
@@ -840,22 +844,22 @@
|
|
|
840
844
|
animation: 2500ms linear infinite;
|
|
841
845
|
}
|
|
842
846
|
.jkl-loader__dot--left {
|
|
843
|
-
animation-name: jkl-loader-left-spin-
|
|
847
|
+
animation-name: jkl-loader-left-spin-uhpq1di;
|
|
844
848
|
margin-right: calc(var(--jkl-loader-spacing) * 0.9);
|
|
845
849
|
}
|
|
846
850
|
.jkl-loader__dot--middle {
|
|
847
|
-
animation-name: jkl-loader-middle-spin-
|
|
851
|
+
animation-name: jkl-loader-middle-spin-uhpq1ds;
|
|
848
852
|
margin-right: var(--jkl-loader-spacing);
|
|
849
853
|
}
|
|
850
854
|
.jkl-loader__dot--right {
|
|
851
|
-
animation-name: jkl-loader-right-spin-
|
|
855
|
+
animation-name: jkl-loader-right-spin-uhpq1em;
|
|
852
856
|
}
|
|
853
857
|
@media screen and (forced-colors: active) {
|
|
854
858
|
.jkl-loader__dot {
|
|
855
859
|
background-color: CanvasText;
|
|
856
860
|
}
|
|
857
861
|
}
|
|
858
|
-
@keyframes jkl-loader-left-spin-
|
|
862
|
+
@keyframes jkl-loader-left-spin-uhpq1di {
|
|
859
863
|
0% {
|
|
860
864
|
transform: rotate(0) scale(0);
|
|
861
865
|
}
|
|
@@ -869,7 +873,7 @@
|
|
|
869
873
|
transform: rotate(180deg) scale(0);
|
|
870
874
|
}
|
|
871
875
|
}
|
|
872
|
-
@keyframes jkl-loader-middle-spin-
|
|
876
|
+
@keyframes jkl-loader-middle-spin-uhpq1ds {
|
|
873
877
|
0% {
|
|
874
878
|
transform: rotate(20deg) scale(0);
|
|
875
879
|
}
|
|
@@ -886,7 +890,7 @@
|
|
|
886
890
|
transform: rotate(200deg) scale(0);
|
|
887
891
|
}
|
|
888
892
|
}
|
|
889
|
-
@keyframes jkl-loader-right-spin-
|
|
893
|
+
@keyframes jkl-loader-right-spin-uhpq1em {
|
|
890
894
|
0% {
|
|
891
895
|
transform: rotate(40deg) scale(0);
|
|
892
896
|
}
|
|
@@ -926,7 +930,7 @@
|
|
|
926
930
|
@media screen and (forced-colors: active) {
|
|
927
931
|
.jkl-skeleton-element {
|
|
928
932
|
border: 1px solid CanvasText;
|
|
929
|
-
animation: 2s ease infinite jkl-blink-
|
|
933
|
+
animation: 2s ease infinite jkl-blink-uhpq1fc;
|
|
930
934
|
}
|
|
931
935
|
}
|
|
932
936
|
.jkl-skeleton-input {
|
|
@@ -974,10 +978,10 @@
|
|
|
974
978
|
}
|
|
975
979
|
@media screen and (forced-colors: active) {
|
|
976
980
|
.jkl-skeleton-table {
|
|
977
|
-
animation: 2s ease-in-out infinite jkl-blink-
|
|
981
|
+
animation: 2s ease-in-out infinite jkl-blink-uhpq1fc;
|
|
978
982
|
}
|
|
979
983
|
}
|
|
980
|
-
@keyframes jkl-blink-
|
|
984
|
+
@keyframes jkl-blink-uhpq1fc {
|
|
981
985
|
0% {
|
|
982
986
|
opacity: 1;
|
|
983
987
|
}
|
|
@@ -1357,7 +1361,6 @@
|
|
|
1357
1361
|
--border-width: 0.0625rem;
|
|
1358
1362
|
font: var(--jkl-text-style-text-small);
|
|
1359
1363
|
font-weight: var(--jkl-font-weight-bold);
|
|
1360
|
-
cursor: pointer;
|
|
1361
1364
|
position: relative;
|
|
1362
1365
|
background-color: var(--background-color);
|
|
1363
1366
|
color: var(--text-color);
|
|
@@ -1658,7 +1661,6 @@
|
|
|
1658
1661
|
color: var(--jkl-color-text-default);
|
|
1659
1662
|
background-color: transparent;
|
|
1660
1663
|
transition-property: color, background-color;
|
|
1661
|
-
cursor: pointer;
|
|
1662
1664
|
min-height: var(--jkl-combobox-option-height);
|
|
1663
1665
|
padding: var(--jkl-combobox-option-padding);
|
|
1664
1666
|
width: 100%;
|
|
@@ -2117,10 +2119,10 @@
|
|
|
2117
2119
|
}
|
|
2118
2120
|
}
|
|
2119
2121
|
.jkl-countdown__tracker {
|
|
2120
|
-
animation: jkl-downcount-
|
|
2122
|
+
animation: jkl-downcount-uhpq1gp var(--duration) linear forwards;
|
|
2121
2123
|
animation-play-state: var(--play-state, running);
|
|
2122
2124
|
}
|
|
2123
|
-
@keyframes jkl-downcount-
|
|
2125
|
+
@keyframes jkl-downcount-uhpq1gp {
|
|
2124
2126
|
from {
|
|
2125
2127
|
width: 100%;
|
|
2126
2128
|
}
|
|
@@ -2304,12 +2306,10 @@
|
|
|
2304
2306
|
}
|
|
2305
2307
|
.jkl-calendar-date-button:hover:not(:disabled) {
|
|
2306
2308
|
background-color: color-mix(in srgb, currentColor 10%, transparent);
|
|
2307
|
-
cursor: pointer;
|
|
2308
2309
|
}
|
|
2309
2310
|
.jkl-calendar-date-button[aria-pressed=true] {
|
|
2310
2311
|
background-color: var(--jkl-color-background-contrast);
|
|
2311
2312
|
color: var(--jkl-color-text-on-contrast);
|
|
2312
|
-
cursor: pointer;
|
|
2313
2313
|
}
|
|
2314
2314
|
.jkl-calendar-date-button[aria-pressed=true]:hover {
|
|
2315
2315
|
color: var(--jkl-color);
|
|
@@ -2623,12 +2623,12 @@
|
|
|
2623
2623
|
font: var(--jkl-text-style-paragraph-small);
|
|
2624
2624
|
}
|
|
2625
2625
|
.jkl-feedback__fade-in {
|
|
2626
|
-
animation: jkl-show-
|
|
2626
|
+
animation: jkl-show-uhpq1hl 0.25s ease-out;
|
|
2627
2627
|
}
|
|
2628
2628
|
.jkl-feedback__buttons {
|
|
2629
2629
|
display: flex;
|
|
2630
2630
|
}
|
|
2631
|
-
@keyframes jkl-show-
|
|
2631
|
+
@keyframes jkl-show-uhpq1hl {
|
|
2632
2632
|
from {
|
|
2633
2633
|
transform: translate3d(0, 0.5rem, 0);
|
|
2634
2634
|
opacity: 0;
|
|
@@ -2754,7 +2754,6 @@
|
|
|
2754
2754
|
position: relative;
|
|
2755
2755
|
background-color: transparent;
|
|
2756
2756
|
padding: 0;
|
|
2757
|
-
cursor: pointer;
|
|
2758
2757
|
color: inherit;
|
|
2759
2758
|
display: grid;
|
|
2760
2759
|
place-content: center;
|
|
@@ -2841,7 +2840,7 @@
|
|
|
2841
2840
|
--icon-color: var(--jkl-color-success-background-contrast);
|
|
2842
2841
|
}
|
|
2843
2842
|
.jkl-message--dismissed {
|
|
2844
|
-
animation: jkl-dismiss-
|
|
2843
|
+
animation: jkl-dismiss-uhpq1i8 var(--jkl-motion-timing-lazy) ease-in-out forwards;
|
|
2845
2844
|
transition: visibility 0ms var(--jkl-motion-timing-lazy);
|
|
2846
2845
|
visibility: hidden;
|
|
2847
2846
|
}
|
|
@@ -2863,7 +2862,7 @@
|
|
|
2863
2862
|
.jkl-form-error-message {
|
|
2864
2863
|
padding-bottom: var(--jkl-unit-50);
|
|
2865
2864
|
}
|
|
2866
|
-
@keyframes jkl-dismiss-
|
|
2865
|
+
@keyframes jkl-dismiss-uhpq1i8 {
|
|
2867
2866
|
from {
|
|
2868
2867
|
opacity: 1;
|
|
2869
2868
|
transform: translate3d(0, 0, 0);
|
|
@@ -3375,6 +3374,9 @@
|
|
|
3375
3374
|
--link-color: var(--text-color);
|
|
3376
3375
|
--jkl-color-border-strong: currentColor;
|
|
3377
3376
|
}
|
|
3377
|
+
.jkl-file[data-state=error] .jkl-file__content {
|
|
3378
|
+
border-color: var(--jkl-color-error-border-default);
|
|
3379
|
+
}
|
|
3378
3380
|
@keyframes spin {
|
|
3379
3381
|
from {
|
|
3380
3382
|
transform: rotate(0turn);
|
|
@@ -3639,7 +3641,6 @@
|
|
|
3639
3641
|
background-color: var(--background-color);
|
|
3640
3642
|
color: var(--jkl-color-text-default);
|
|
3641
3643
|
text-decoration: none;
|
|
3642
|
-
cursor: pointer;
|
|
3643
3644
|
box-sizing: border-box;
|
|
3644
3645
|
user-select: none;
|
|
3645
3646
|
font: var(--jkl-text-style-text-medium);
|
|
@@ -4086,13 +4087,13 @@
|
|
|
4086
4087
|
.jkl-pagination-button {
|
|
4087
4088
|
--button-size: var(--jkl-unit-40);
|
|
4088
4089
|
all: unset;
|
|
4090
|
+
cursor: pointer;
|
|
4089
4091
|
display: flex;
|
|
4090
4092
|
align-items: center;
|
|
4091
4093
|
justify-content: center;
|
|
4092
4094
|
height: var(--button-size);
|
|
4093
4095
|
min-width: var(--button-size);
|
|
4094
4096
|
text-align: center;
|
|
4095
|
-
cursor: pointer;
|
|
4096
4097
|
user-select: none;
|
|
4097
4098
|
border-radius: 0.1875rem;
|
|
4098
4099
|
color: var(--jkl-color-text-default);
|
|
@@ -4462,7 +4463,7 @@
|
|
|
4462
4463
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
4463
4464
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
4464
4465
|
}
|
|
4465
|
-
@keyframes jkl-downcount-
|
|
4466
|
+
@keyframes jkl-downcount-uhpq1j6 {
|
|
4466
4467
|
from {
|
|
4467
4468
|
width: 100%;
|
|
4468
4469
|
}
|
|
@@ -4654,7 +4655,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4654
4655
|
border: 0;
|
|
4655
4656
|
height: 100%;
|
|
4656
4657
|
padding: 0;
|
|
4657
|
-
cursor: pointer;
|
|
4658
4658
|
color: var(--jkl-color-text-default);
|
|
4659
4659
|
border-radius: 100%;
|
|
4660
4660
|
}
|
|
@@ -4883,7 +4883,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4883
4883
|
.jkl-system-message__dismiss-button {
|
|
4884
4884
|
background-color: transparent;
|
|
4885
4885
|
padding: 0;
|
|
4886
|
-
cursor: pointer;
|
|
4887
4886
|
display: grid;
|
|
4888
4887
|
place-content: center;
|
|
4889
4888
|
position: relative;
|
|
@@ -4958,7 +4957,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4958
4957
|
margin-bottom: 0;
|
|
4959
4958
|
}
|
|
4960
4959
|
.jkl-system-message--dismissed {
|
|
4961
|
-
animation: jkl-dismiss-
|
|
4960
|
+
animation: jkl-dismiss-uhpq1kd var(--jkl-motion-timing-lazy) forwards;
|
|
4962
4961
|
transition: block var(--jkl-motion-timing-lazy) var(--jkl-motion-timing-lazy);
|
|
4963
4962
|
}
|
|
4964
4963
|
.jkl-system-message--info {
|
|
@@ -4996,7 +4995,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4996
4995
|
border-width: 4px;
|
|
4997
4996
|
}
|
|
4998
4997
|
}
|
|
4999
|
-
@keyframes jkl-dismiss-
|
|
4998
|
+
@keyframes jkl-dismiss-uhpq1kd {
|
|
5000
4999
|
from {
|
|
5001
5000
|
opacity: 1;
|
|
5002
5001
|
transform: translateY(0);
|
|
@@ -5232,7 +5231,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5232
5231
|
background: transparent;
|
|
5233
5232
|
color: var(--jkl-link-color);
|
|
5234
5233
|
border-radius: 0.1875rem;
|
|
5235
|
-
cursor: pointer;
|
|
5236
5234
|
user-select: none;
|
|
5237
5235
|
padding: 0;
|
|
5238
5236
|
height: 2rem;
|
|
@@ -5609,7 +5607,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5609
5607
|
padding: var(--jkl-unit-10) var(--padding-inline-end) var(--jkl-unit-10) var(--jkl-unit-05);
|
|
5610
5608
|
border: none;
|
|
5611
5609
|
background-color: transparent;
|
|
5612
|
-
cursor: pointer;
|
|
5613
5610
|
position: relative;
|
|
5614
5611
|
scroll-margin-inline-start: var(--jkl-unit-20);
|
|
5615
5612
|
scroll-snap-align: start;
|
|
@@ -5699,7 +5696,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5699
5696
|
color: var(--text-color);
|
|
5700
5697
|
background-color: var(--background-color);
|
|
5701
5698
|
border: 1px solid var(--border-color);
|
|
5702
|
-
border-radius:
|
|
5699
|
+
border-radius: var(--jkl-border-radius-s);
|
|
5703
5700
|
box-sizing: border-box;
|
|
5704
5701
|
align-items: start;
|
|
5705
5702
|
overflow: hidden;
|
|
@@ -5709,12 +5706,14 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5709
5706
|
font: var(--jkl-text-style-paragraph-medium);
|
|
5710
5707
|
}
|
|
5711
5708
|
.jkl-toast__progress {
|
|
5712
|
-
--bar-color: var(--jkl-color-background-contrast);
|
|
5713
|
-
--track-color: transparent;
|
|
5714
|
-
border-radius: 0;
|
|
5715
5709
|
position: absolute;
|
|
5716
5710
|
inset: 0 0 auto;
|
|
5717
5711
|
}
|
|
5712
|
+
.jkl-toast .jkl-countdown {
|
|
5713
|
+
--track-color: transparent;
|
|
5714
|
+
--bar-color: var(--jkl-color-background-contrast);
|
|
5715
|
+
border-radius: 0;
|
|
5716
|
+
}
|
|
5718
5717
|
@media screen and (forced-colors: active) {
|
|
5719
5718
|
.jkl-toast__icon {
|
|
5720
5719
|
stroke: CanvasText;
|
|
@@ -5742,7 +5741,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5742
5741
|
.jkl-toast__dismiss-button {
|
|
5743
5742
|
background-color: transparent;
|
|
5744
5743
|
padding: 0;
|
|
5745
|
-
cursor: pointer;
|
|
5746
5744
|
color: inherit;
|
|
5747
5745
|
}
|
|
5748
5746
|
@media screen and (forced-colors: active) {
|
|
@@ -5769,21 +5767,45 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5769
5767
|
--text-color: var(--jkl-color-info-text-default);
|
|
5770
5768
|
--border-color: var(--jkl-color-info-border-subdued);
|
|
5771
5769
|
}
|
|
5770
|
+
.jkl-toast--info .jkl-countdown {
|
|
5771
|
+
--bar-color: var(--jkl-color-info-background-contrast);
|
|
5772
|
+
}
|
|
5773
|
+
.jkl-toast--info .jkl-toast__icon {
|
|
5774
|
+
color: var(--jkl-color-info-background-contrast);
|
|
5775
|
+
}
|
|
5772
5776
|
.jkl-toast--warning {
|
|
5773
5777
|
--background-color: var(--jkl-color-warning-background-container);
|
|
5774
5778
|
--text-color: var(--jkl-color-warning-text-default);
|
|
5775
5779
|
--border-color: var(--jkl-color-warning-border-subdued);
|
|
5776
5780
|
}
|
|
5781
|
+
.jkl-toast--warning .jkl-countdown {
|
|
5782
|
+
--bar-color: var(--jkl-color-warning-background-contrast);
|
|
5783
|
+
}
|
|
5784
|
+
.jkl-toast--warning .jkl-toast__icon {
|
|
5785
|
+
color: var(--jkl-color-warning-background-contrast);
|
|
5786
|
+
}
|
|
5777
5787
|
.jkl-toast--error {
|
|
5778
5788
|
--background-color: var(--jkl-color-error-background-container);
|
|
5779
5789
|
--text-color: var(--jkl-color-error-text-default);
|
|
5780
5790
|
--border-color: var(--jkl-color-error-border-subdued);
|
|
5781
5791
|
}
|
|
5792
|
+
.jkl-toast--error .jkl-countdown {
|
|
5793
|
+
--bar-color: var(--jkl-color-error-background-contrast);
|
|
5794
|
+
}
|
|
5795
|
+
.jkl-toast--error .jkl-toast__icon {
|
|
5796
|
+
color: var(--jkl-color-error-background-contrast);
|
|
5797
|
+
}
|
|
5782
5798
|
.jkl-toast--success {
|
|
5783
5799
|
--background-color: var(--jkl-color-success-background-container);
|
|
5784
5800
|
--text-color: var(--jkl-color-success-text-default);
|
|
5785
5801
|
--border-color: var(--jkl-color-success-border-subdued);
|
|
5786
5802
|
}
|
|
5803
|
+
.jkl-toast--success .jkl-countdown {
|
|
5804
|
+
--bar-color: var(--jkl-color-success-background-contrast);
|
|
5805
|
+
}
|
|
5806
|
+
.jkl-toast--success .jkl-toast__icon {
|
|
5807
|
+
color: var(--jkl-color-success-background-contrast);
|
|
5808
|
+
}
|
|
5787
5809
|
@media screen and (forced-colors: active) {
|
|
5788
5810
|
.jkl-toast {
|
|
5789
5811
|
border: 2px solid CanvasText;
|
|
@@ -5801,12 +5823,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5801
5823
|
}
|
|
5802
5824
|
.jkl-toast[data-animation=entering],
|
|
5803
5825
|
.jkl-toast[data-animation=queued] {
|
|
5804
|
-
animation: jkl-entering-
|
|
5826
|
+
animation: jkl-entering-uhpq1kj var(--jkl-motion-timing-polite) var(--jkl-motion-easing-entrance) forwards;
|
|
5805
5827
|
}
|
|
5806
5828
|
.jkl-toast[data-animation=exiting] {
|
|
5807
|
-
animation: jkl-exiting-
|
|
5829
|
+
animation: jkl-exiting-uhpq1le var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
|
|
5808
5830
|
}
|
|
5809
|
-
@keyframes jkl-entering-
|
|
5831
|
+
@keyframes jkl-entering-uhpq1kj {
|
|
5810
5832
|
from {
|
|
5811
5833
|
opacity: 0;
|
|
5812
5834
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5816,7 +5838,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5816
5838
|
transform: translate3d(0, 0, 0);
|
|
5817
5839
|
}
|
|
5818
5840
|
}
|
|
5819
|
-
@keyframes jkl-exiting-
|
|
5841
|
+
@keyframes jkl-exiting-uhpq1le {
|
|
5820
5842
|
from {
|
|
5821
5843
|
opacity: 1;
|
|
5822
5844
|
transform: translate3d(0, 0, 0);
|
|
@@ -7291,7 +7313,6 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-toggle-slider:
|
|
|
7291
7313
|
background: transparent;
|
|
7292
7314
|
color: var(--text-color);
|
|
7293
7315
|
padding: 0;
|
|
7294
|
-
cursor: pointer;
|
|
7295
7316
|
-webkit-tap-highlight-color: transparent;
|
|
7296
7317
|
display: flex;
|
|
7297
7318
|
flex-direction: row-reverse;
|
|
@@ -7398,7 +7419,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-toggle-slider:
|
|
|
7398
7419
|
|
|
7399
7420
|
@layer jokul.components {
|
|
7400
7421
|
:where(.jkl-text) {
|
|
7401
|
-
font-weight: var(--jkl-
|
|
7422
|
+
font-weight: var(--jkl-font-weight-normal);
|
|
7402
7423
|
line-height: var(--jkl-line-height-relaxed);
|
|
7403
7424
|
}
|
|
7404
7425
|
.jkl-text[data-text-size] {
|
|
@@ -7418,7 +7439,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-toggle-slider:
|
|
|
7418
7439
|
}
|
|
7419
7440
|
.jkl-text[data-bold],
|
|
7420
7441
|
strong.jkl-text[data-text-size] {
|
|
7421
|
-
font-weight: var(--jkl-
|
|
7442
|
+
font-weight: var(--jkl-font-weight-bold);
|
|
7422
7443
|
}
|
|
7423
7444
|
.jkl-text[data-short] {
|
|
7424
7445
|
line-height: var(--jkl-line-height-tight);
|
|
@@ -7432,53 +7453,31 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-toggle-slider:
|
|
|
7432
7453
|
}
|
|
7433
7454
|
}
|
|
7434
7455
|
@layer jokul.components {
|
|
7435
|
-
:
|
|
7436
|
-
font-weight: var(--jkl-typography-weight-normal);
|
|
7437
|
-
line-height: var(--jkl-line-height-tight);
|
|
7438
|
-
}
|
|
7439
|
-
.jkl-title[data-text-size] {
|
|
7456
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=xs] {
|
|
7440
7457
|
margin-block: 0;
|
|
7441
|
-
}
|
|
7442
|
-
.jkl-title[data-text-size=xs],
|
|
7443
|
-
.jkl-heading-xs {
|
|
7444
7458
|
font: var(--jkl-text-style-heading-5);
|
|
7445
7459
|
}
|
|
7446
|
-
:
|
|
7460
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=s] {
|
|
7447
7461
|
margin-block: 0;
|
|
7448
|
-
}
|
|
7449
|
-
.jkl-title[data-text-size=s],
|
|
7450
|
-
.jkl-heading-s {
|
|
7451
7462
|
font: var(--jkl-text-style-heading-4);
|
|
7452
7463
|
}
|
|
7453
|
-
:
|
|
7464
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=m] {
|
|
7454
7465
|
margin-block: 0;
|
|
7455
|
-
}
|
|
7456
|
-
.jkl-title[data-text-size=m],
|
|
7457
|
-
.jkl-heading-m {
|
|
7458
7466
|
font: var(--jkl-text-style-heading-3);
|
|
7459
7467
|
}
|
|
7460
|
-
:
|
|
7468
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=l] {
|
|
7461
7469
|
margin-block: 0;
|
|
7462
|
-
}
|
|
7463
|
-
.jkl-title[data-text-size=l],
|
|
7464
|
-
.jkl-heading-l {
|
|
7465
7470
|
font: var(--jkl-text-style-heading-2);
|
|
7466
7471
|
}
|
|
7467
|
-
:
|
|
7472
|
+
:is(h1, h2, h3, h4, h5, h6, label, legend)[data-text-size=xl] {
|
|
7468
7473
|
margin-block: 0;
|
|
7469
|
-
}
|
|
7470
|
-
.jkl-title[data-text-size=xl],
|
|
7471
|
-
.jkl-heading-xl {
|
|
7472
7474
|
font: var(--jkl-text-style-heading-1);
|
|
7473
7475
|
}
|
|
7474
|
-
:
|
|
7475
|
-
|
|
7476
|
-
}
|
|
7477
|
-
:is(label, legend).jkl-title[data-text-size] {
|
|
7478
|
-
font-weight: var(--jkl-typography-weight-normal);
|
|
7476
|
+
:is(label, legend)[data-text-size] {
|
|
7477
|
+
font-weight: var(--jkl-font-weight-normal);
|
|
7479
7478
|
line-height: var(--jkl-line-height-relaxed);
|
|
7480
7479
|
}
|
|
7481
|
-
label
|
|
7480
|
+
:is(label)[data-text-size] {
|
|
7482
7481
|
display: block;
|
|
7483
7482
|
margin-block-end: var(--jkl-spacing-8);
|
|
7484
7483
|
}
|