@fremtind/jokul 5.4.2 → 5.5.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/beta/nav-link/NavLink.cjs +1 -1
- package/build/cjs/components/beta/nav-link/NavLink.cjs.map +1 -1
- package/build/cjs/components/beta/nav-link/types.d.cts +5 -0
- package/build/cjs/components/input-panel/InputPanel.cjs +1 -1
- package/build/cjs/components/input-panel/InputPanel.cjs.map +1 -1
- package/build/es/components/beta/nav-link/NavLink.js +1 -1
- package/build/es/components/beta/nav-link/NavLink.js.map +1 -1
- package/build/es/components/beta/nav-link/types.d.ts +5 -0
- package/build/es/components/input-panel/InputPanel.js +1 -1
- package/build/es/components/input-panel/InputPanel.js.map +1 -1
- package/package.json +1 -1
- package/styles/components/beta/nav-link/navlink.css +14 -15
- package/styles/components/beta/nav-link/navlink.min.css +1 -1
- package/styles/components/beta/nav-link/navlink.scss +15 -20
- package/styles/components/checkbox-panel/checkbox-panel.css +2 -11
- package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
- package/styles/components/countdown/countdown.css +2 -2
- package/styles/components/countdown/countdown.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-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/input-panel/input-panel.css +2 -11
- package/styles/components/input-panel/input-panel.min.css +1 -1
- package/styles/components/input-panel/input-panel.scss +2 -13
- 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/radio-panel/radio-panel.css +2 -11
- package/styles/components/radio-panel/radio-panel.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/system-message/system-message.css +2 -2
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/tag/tag.css +1 -0
- package/styles/components/tag/tag.min.css +1 -1
- package/styles/components/tag/tag.scss +1 -0
- package/styles/components/toast/toast.css +4 -4
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components.css +41 -50
- package/styles/components.min.css +1 -1
package/styles/components.css
CHANGED
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
display: inline-flex;
|
|
426
426
|
}
|
|
427
427
|
.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 {
|
|
428
|
-
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-
|
|
428
|
+
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-ubfx6x6 forwards;
|
|
429
429
|
}
|
|
430
430
|
.jkl-form-support-label--sr-only {
|
|
431
431
|
border: 0 !important;
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
.jkl-label:has(+ .jkl-input-group-description) {
|
|
480
480
|
margin-block-end: var(--jkl-spacing-4);
|
|
481
481
|
}
|
|
482
|
-
@keyframes jkl-support-icon-entrance-
|
|
482
|
+
@keyframes jkl-support-icon-entrance-ubfx6x6 {
|
|
483
483
|
0% {
|
|
484
484
|
margin-right: 0;
|
|
485
485
|
opacity: 0;
|
|
@@ -839,22 +839,22 @@
|
|
|
839
839
|
animation: 2500ms linear infinite;
|
|
840
840
|
}
|
|
841
841
|
.jkl-loader__dot--left {
|
|
842
|
-
animation-name: jkl-loader-left-spin-
|
|
842
|
+
animation-name: jkl-loader-left-spin-ubfx6xh;
|
|
843
843
|
margin-right: calc(var(--jkl-loader-spacing) * 0.9);
|
|
844
844
|
}
|
|
845
845
|
.jkl-loader__dot--middle {
|
|
846
|
-
animation-name: jkl-loader-middle-spin-
|
|
846
|
+
animation-name: jkl-loader-middle-spin-ubfx6yg;
|
|
847
847
|
margin-right: var(--jkl-loader-spacing);
|
|
848
848
|
}
|
|
849
849
|
.jkl-loader__dot--right {
|
|
850
|
-
animation-name: jkl-loader-right-spin-
|
|
850
|
+
animation-name: jkl-loader-right-spin-ubfx6ys;
|
|
851
851
|
}
|
|
852
852
|
@media screen and (forced-colors: active) {
|
|
853
853
|
.jkl-loader__dot {
|
|
854
854
|
background-color: CanvasText;
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
@keyframes jkl-loader-left-spin-
|
|
857
|
+
@keyframes jkl-loader-left-spin-ubfx6xh {
|
|
858
858
|
0% {
|
|
859
859
|
transform: rotate(0) scale(0);
|
|
860
860
|
}
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
transform: rotate(180deg) scale(0);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
@keyframes jkl-loader-middle-spin-
|
|
871
|
+
@keyframes jkl-loader-middle-spin-ubfx6yg {
|
|
872
872
|
0% {
|
|
873
873
|
transform: rotate(20deg) scale(0);
|
|
874
874
|
}
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
transform: rotate(200deg) scale(0);
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
|
-
@keyframes jkl-loader-right-spin-
|
|
888
|
+
@keyframes jkl-loader-right-spin-ubfx6ys {
|
|
889
889
|
0% {
|
|
890
890
|
transform: rotate(40deg) scale(0);
|
|
891
891
|
}
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
@media screen and (forced-colors: active) {
|
|
926
926
|
.jkl-skeleton-element {
|
|
927
927
|
border: 1px solid CanvasText;
|
|
928
|
-
animation: 2s ease infinite jkl-blink-
|
|
928
|
+
animation: 2s ease infinite jkl-blink-ubfx6z8;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
931
|
.jkl-skeleton-input {
|
|
@@ -973,10 +973,10 @@
|
|
|
973
973
|
}
|
|
974
974
|
@media screen and (forced-colors: active) {
|
|
975
975
|
.jkl-skeleton-table {
|
|
976
|
-
animation: 2s ease-in-out infinite jkl-blink-
|
|
976
|
+
animation: 2s ease-in-out infinite jkl-blink-ubfx6z8;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
@keyframes jkl-blink-
|
|
979
|
+
@keyframes jkl-blink-ubfx6z8 {
|
|
980
980
|
0% {
|
|
981
981
|
opacity: 1;
|
|
982
982
|
}
|
|
@@ -1127,6 +1127,7 @@
|
|
|
1127
1127
|
border: 1px solid var(--border-color);
|
|
1128
1128
|
border-radius: 0.25rem;
|
|
1129
1129
|
display: inline-flex;
|
|
1130
|
+
inline-size: fit-content;
|
|
1130
1131
|
align-items: center;
|
|
1131
1132
|
white-space: nowrap;
|
|
1132
1133
|
padding: var(--padding);
|
|
@@ -1333,27 +1334,18 @@
|
|
|
1333
1334
|
font-weight: var(--jkl-font-weight-bold);
|
|
1334
1335
|
}
|
|
1335
1336
|
.jkl-input-panel__description {
|
|
1336
|
-
height: 0;
|
|
1337
|
-
overflow: hidden;
|
|
1338
1337
|
padding-inline: var(--padding-inline);
|
|
1339
|
-
padding-block-end: var(--jkl-
|
|
1338
|
+
padding-block-end: var(--jkl-unit-20);
|
|
1340
1339
|
line-height: initial;
|
|
1341
1340
|
font: var(--jkl-text-style-paragraph-medium);
|
|
1342
|
-
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
1343
|
-
transition-duration: var(--jkl-motion-timing-productive);
|
|
1344
|
-
transition-property: height;
|
|
1345
1341
|
}
|
|
1346
1342
|
.jkl-input-panel:has(:focus-visible) {
|
|
1347
1343
|
outline: 3px solid var(--jkl-color-border-strong);
|
|
1348
1344
|
outline-offset: 3px;
|
|
1349
1345
|
}
|
|
1350
|
-
.jkl-input-panel:has(:checked)
|
|
1346
|
+
.jkl-input-panel:has(:checked) {
|
|
1351
1347
|
--background-color: var(--jkl-color-background-container);
|
|
1352
1348
|
}
|
|
1353
|
-
.jkl-input-panel:has(:checked) .jkl-input-panel__description, .jkl-input-panel[data-always-open=true] .jkl-input-panel__description, .jkl-input-panel:not([data-always-open]) .jkl-input-panel__description {
|
|
1354
|
-
height: auto;
|
|
1355
|
-
padding-block-end: var(--jkl-unit-20);
|
|
1356
|
-
}
|
|
1357
1349
|
.jkl-input-panel:has(input[aria-invalid=true]) {
|
|
1358
1350
|
--outer-border-color: var(--jkl-color-error-border-default);
|
|
1359
1351
|
}
|
|
@@ -2140,10 +2132,10 @@
|
|
|
2140
2132
|
}
|
|
2141
2133
|
}
|
|
2142
2134
|
.jkl-countdown__tracker {
|
|
2143
|
-
animation: jkl-downcount-
|
|
2135
|
+
animation: jkl-downcount-ubfx6zu var(--duration) linear forwards;
|
|
2144
2136
|
animation-play-state: var(--play-state, running);
|
|
2145
2137
|
}
|
|
2146
|
-
@keyframes jkl-downcount-
|
|
2138
|
+
@keyframes jkl-downcount-ubfx6zu {
|
|
2147
2139
|
from {
|
|
2148
2140
|
width: 100%;
|
|
2149
2141
|
}
|
|
@@ -2644,12 +2636,12 @@
|
|
|
2644
2636
|
font: var(--jkl-text-style-paragraph-small);
|
|
2645
2637
|
}
|
|
2646
2638
|
.jkl-feedback__fade-in {
|
|
2647
|
-
animation: jkl-show-
|
|
2639
|
+
animation: jkl-show-ubfx70g 0.25s ease-out;
|
|
2648
2640
|
}
|
|
2649
2641
|
.jkl-feedback__buttons {
|
|
2650
2642
|
display: flex;
|
|
2651
2643
|
}
|
|
2652
|
-
@keyframes jkl-show-
|
|
2644
|
+
@keyframes jkl-show-ubfx70g {
|
|
2653
2645
|
from {
|
|
2654
2646
|
transform: translate3d(0, 0.5rem, 0);
|
|
2655
2647
|
opacity: 0;
|
|
@@ -2861,7 +2853,7 @@
|
|
|
2861
2853
|
--icon-color: var(--jkl-color-success-background-contrast);
|
|
2862
2854
|
}
|
|
2863
2855
|
.jkl-message--dismissed {
|
|
2864
|
-
animation: jkl-dismiss-
|
|
2856
|
+
animation: jkl-dismiss-ubfx70l var(--jkl-motion-timing-lazy) ease-in-out forwards;
|
|
2865
2857
|
transition: visibility 0ms var(--jkl-motion-timing-lazy);
|
|
2866
2858
|
visibility: hidden;
|
|
2867
2859
|
}
|
|
@@ -2883,7 +2875,7 @@
|
|
|
2883
2875
|
.jkl-form-error-message {
|
|
2884
2876
|
padding-bottom: var(--jkl-unit-50);
|
|
2885
2877
|
}
|
|
2886
|
-
@keyframes jkl-dismiss-
|
|
2878
|
+
@keyframes jkl-dismiss-ubfx70l {
|
|
2887
2879
|
from {
|
|
2888
2880
|
opacity: 1;
|
|
2889
2881
|
transform: translate3d(0, 0, 0);
|
|
@@ -4025,17 +4017,19 @@
|
|
|
4025
4017
|
}
|
|
4026
4018
|
}
|
|
4027
4019
|
.jkl-navlink--beta {
|
|
4028
|
-
--
|
|
4029
|
-
--
|
|
4020
|
+
--background-color: var(--jkl-color-background-container);
|
|
4021
|
+
--border-color: transparent;
|
|
4022
|
+
--border-radius: var(--jkl-border-radius-s);
|
|
4030
4023
|
display: grid;
|
|
4031
4024
|
grid-template-columns: 1fr auto;
|
|
4032
4025
|
align-items: center;
|
|
4033
4026
|
column-gap: 2em;
|
|
4034
4027
|
color: inherit;
|
|
4035
4028
|
text-decoration: none;
|
|
4036
|
-
background-color: var(--
|
|
4029
|
+
background-color: var(--background-color);
|
|
4037
4030
|
padding: var(--jkl-spacing-s);
|
|
4038
|
-
border
|
|
4031
|
+
border: 1px solid var(--border-color);
|
|
4032
|
+
border-radius: var(--border-radius);
|
|
4039
4033
|
font: var(--jkl-text-style-paragraph-medium);
|
|
4040
4034
|
transition-timing-function: var(--jkl-motion-easing-ease-in-bounce-out);
|
|
4041
4035
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
@@ -4070,22 +4064,19 @@
|
|
|
4070
4064
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
4071
4065
|
transition-property: translate;
|
|
4072
4066
|
}
|
|
4067
|
+
.jkl-navlink--beta[data-outlined=true] {
|
|
4068
|
+
--background-color: transparent;
|
|
4069
|
+
--border-color: var(--jkl-color-border-subdued);
|
|
4070
|
+
}
|
|
4073
4071
|
.jkl-navlink--beta:hover, .jkl-navlink--beta:focus-visible {
|
|
4074
|
-
background-color: color-
|
|
4072
|
+
background-color: var(--jkl-color-background-container-accent);
|
|
4075
4073
|
}
|
|
4076
4074
|
.jkl-navlink--beta:hover::after, .jkl-navlink--beta:focus-visible::after {
|
|
4077
4075
|
translate: 4px 0;
|
|
4078
4076
|
}
|
|
4079
|
-
.jkl-navlink--beta:
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
}
|
|
4083
|
-
.jkl-navlink--beta:last-of-type {
|
|
4084
|
-
border-end-start-radius: var(--border-radius);
|
|
4085
|
-
border-end-end-radius: var(--border-radius);
|
|
4086
|
-
}
|
|
4087
|
-
.jkl-navlink--beta:has(+ .jkl-navlink--beta) {
|
|
4088
|
-
border-block-end: var(--separator);
|
|
4077
|
+
.jkl-navlink--beta:focus-visible {
|
|
4078
|
+
outline: 3px solid var(--jkl-color-border-strong);
|
|
4079
|
+
outline-offset: 3px;
|
|
4089
4080
|
}
|
|
4090
4081
|
|
|
4091
4082
|
@layer jokul.components {
|
|
@@ -4472,7 +4463,7 @@
|
|
|
4472
4463
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
4473
4464
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
4474
4465
|
}
|
|
4475
|
-
@keyframes jkl-downcount-
|
|
4466
|
+
@keyframes jkl-downcount-ubfx716 {
|
|
4476
4467
|
from {
|
|
4477
4468
|
width: 100%;
|
|
4478
4469
|
}
|
|
@@ -4986,7 +4977,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4986
4977
|
margin-bottom: 0;
|
|
4987
4978
|
}
|
|
4988
4979
|
.jkl-system-message--dismissed {
|
|
4989
|
-
animation: jkl-dismiss-
|
|
4980
|
+
animation: jkl-dismiss-ubfx71l var(--jkl-motion-timing-lazy) forwards;
|
|
4990
4981
|
transition: block var(--jkl-motion-timing-lazy) var(--jkl-motion-timing-lazy);
|
|
4991
4982
|
}
|
|
4992
4983
|
.jkl-system-message--info {
|
|
@@ -5024,7 +5015,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5024
5015
|
border-width: 4px;
|
|
5025
5016
|
}
|
|
5026
5017
|
}
|
|
5027
|
-
@keyframes jkl-dismiss-
|
|
5018
|
+
@keyframes jkl-dismiss-ubfx71l {
|
|
5028
5019
|
from {
|
|
5029
5020
|
opacity: 1;
|
|
5030
5021
|
transform: translateY(0);
|
|
@@ -5852,12 +5843,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5852
5843
|
}
|
|
5853
5844
|
.jkl-toast[data-animation=entering],
|
|
5854
5845
|
.jkl-toast[data-animation=queued] {
|
|
5855
|
-
animation: jkl-entering-
|
|
5846
|
+
animation: jkl-entering-ubfx71n var(--jkl-motion-timing-polite) var(--jkl-motion-easing-entrance) forwards;
|
|
5856
5847
|
}
|
|
5857
5848
|
.jkl-toast[data-animation=exiting] {
|
|
5858
|
-
animation: jkl-exiting-
|
|
5849
|
+
animation: jkl-exiting-ubfx72j var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
|
|
5859
5850
|
}
|
|
5860
|
-
@keyframes jkl-entering-
|
|
5851
|
+
@keyframes jkl-entering-ubfx71n {
|
|
5861
5852
|
from {
|
|
5862
5853
|
opacity: 0;
|
|
5863
5854
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5867,7 +5858,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5867
5858
|
transform: translate3d(0, 0, 0);
|
|
5868
5859
|
}
|
|
5869
5860
|
}
|
|
5870
|
-
@keyframes jkl-exiting-
|
|
5861
|
+
@keyframes jkl-exiting-ubfx72j {
|
|
5871
5862
|
from {
|
|
5872
5863
|
opacity: 1;
|
|
5873
5864
|
transform: translate3d(0, 0, 0);
|