@fremtind/jokul 5.3.0 → 5.4.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/README.md +8 -2
- package/build/build-stats.html +1 -1
- package/build/cjs/components/message/Message.cjs +1 -1
- package/build/cjs/components/message/Message.cjs.map +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 +1 -1
- package/build/es/components/message/Message.js +1 -1
- package/build/es/components/message/Message.js.map +1 -1
- package/build/es/utilities/types.d.ts +1 -1
- package/build/es/utilities/types.js +1 -1
- package/build/es/utilities/types.js.map +1 -1
- package/package.json +1 -2
- package/styles/base.css +154 -0
- package/styles/base.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/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/system-message/system-message.css +2 -2
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/toast/toast.css +4 -4
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components.css +24 -24
- package/styles/components.min.css +1 -1
- package/styles/theme/_index.scss +1 -0
- package/styles/theme/brands/_index.scss +2 -0
- package/styles/theme/brands/dnb/_color-scheme.scss +121 -0
- package/styles/theme/brands/dnb/_fonts.scss +43 -0
- package/styles/theme/brands/dnb/_index.scss +6 -0
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-uyhsc5m 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-uyhsc5m {
|
|
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-uyhsc67;
|
|
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-uyhsc6q;
|
|
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-uyhsc7f;
|
|
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-uyhsc67 {
|
|
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-uyhsc6q {
|
|
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-uyhsc7f {
|
|
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-uyhsc7z;
|
|
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-uyhsc7z;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
@keyframes jkl-blink-
|
|
979
|
+
@keyframes jkl-blink-uyhsc7z {
|
|
980
980
|
0% {
|
|
981
981
|
opacity: 1;
|
|
982
982
|
}
|
|
@@ -2140,10 +2140,10 @@
|
|
|
2140
2140
|
}
|
|
2141
2141
|
}
|
|
2142
2142
|
.jkl-countdown__tracker {
|
|
2143
|
-
animation: jkl-downcount-
|
|
2143
|
+
animation: jkl-downcount-uyhsc9d var(--duration) linear forwards;
|
|
2144
2144
|
animation-play-state: var(--play-state, running);
|
|
2145
2145
|
}
|
|
2146
|
-
@keyframes jkl-downcount-
|
|
2146
|
+
@keyframes jkl-downcount-uyhsc9d {
|
|
2147
2147
|
from {
|
|
2148
2148
|
width: 100%;
|
|
2149
2149
|
}
|
|
@@ -2644,12 +2644,12 @@
|
|
|
2644
2644
|
font: var(--jkl-text-style-paragraph-small);
|
|
2645
2645
|
}
|
|
2646
2646
|
.jkl-feedback__fade-in {
|
|
2647
|
-
animation: jkl-show-
|
|
2647
|
+
animation: jkl-show-uyhsc9g 0.25s ease-out;
|
|
2648
2648
|
}
|
|
2649
2649
|
.jkl-feedback__buttons {
|
|
2650
2650
|
display: flex;
|
|
2651
2651
|
}
|
|
2652
|
-
@keyframes jkl-show-
|
|
2652
|
+
@keyframes jkl-show-uyhsc9g {
|
|
2653
2653
|
from {
|
|
2654
2654
|
transform: translate3d(0, 0.5rem, 0);
|
|
2655
2655
|
opacity: 0;
|
|
@@ -2861,7 +2861,7 @@
|
|
|
2861
2861
|
--icon-color: var(--jkl-color-success-background-contrast);
|
|
2862
2862
|
}
|
|
2863
2863
|
.jkl-message--dismissed {
|
|
2864
|
-
animation: jkl-dismiss-
|
|
2864
|
+
animation: jkl-dismiss-uyhsc9r var(--jkl-motion-timing-lazy) ease-in-out forwards;
|
|
2865
2865
|
transition: visibility 0ms var(--jkl-motion-timing-lazy);
|
|
2866
2866
|
visibility: hidden;
|
|
2867
2867
|
}
|
|
@@ -2883,7 +2883,7 @@
|
|
|
2883
2883
|
.jkl-form-error-message {
|
|
2884
2884
|
padding-bottom: var(--jkl-unit-50);
|
|
2885
2885
|
}
|
|
2886
|
-
@keyframes jkl-dismiss-
|
|
2886
|
+
@keyframes jkl-dismiss-uyhsc9r {
|
|
2887
2887
|
from {
|
|
2888
2888
|
opacity: 1;
|
|
2889
2889
|
transform: translate3d(0, 0, 0);
|
|
@@ -4472,7 +4472,7 @@
|
|
|
4472
4472
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
4473
4473
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
4474
4474
|
}
|
|
4475
|
-
@keyframes jkl-downcount-
|
|
4475
|
+
@keyframes jkl-downcount-uyhsca9 {
|
|
4476
4476
|
from {
|
|
4477
4477
|
width: 100%;
|
|
4478
4478
|
}
|
|
@@ -4986,7 +4986,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4986
4986
|
margin-bottom: 0;
|
|
4987
4987
|
}
|
|
4988
4988
|
.jkl-system-message--dismissed {
|
|
4989
|
-
animation: jkl-dismiss-
|
|
4989
|
+
animation: jkl-dismiss-uyhscaq var(--jkl-motion-timing-lazy) forwards;
|
|
4990
4990
|
transition: block var(--jkl-motion-timing-lazy) var(--jkl-motion-timing-lazy);
|
|
4991
4991
|
}
|
|
4992
4992
|
.jkl-system-message--info {
|
|
@@ -5024,7 +5024,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5024
5024
|
border-width: 4px;
|
|
5025
5025
|
}
|
|
5026
5026
|
}
|
|
5027
|
-
@keyframes jkl-dismiss-
|
|
5027
|
+
@keyframes jkl-dismiss-uyhscaq {
|
|
5028
5028
|
from {
|
|
5029
5029
|
opacity: 1;
|
|
5030
5030
|
transform: translateY(0);
|
|
@@ -5852,12 +5852,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5852
5852
|
}
|
|
5853
5853
|
.jkl-toast[data-animation=entering],
|
|
5854
5854
|
.jkl-toast[data-animation=queued] {
|
|
5855
|
-
animation: jkl-entering-
|
|
5855
|
+
animation: jkl-entering-uyhscb8 var(--jkl-motion-timing-polite) var(--jkl-motion-easing-entrance) forwards;
|
|
5856
5856
|
}
|
|
5857
5857
|
.jkl-toast[data-animation=exiting] {
|
|
5858
|
-
animation: jkl-exiting-
|
|
5858
|
+
animation: jkl-exiting-uyhscc0 var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
|
|
5859
5859
|
}
|
|
5860
|
-
@keyframes jkl-entering-
|
|
5860
|
+
@keyframes jkl-entering-uyhscb8 {
|
|
5861
5861
|
from {
|
|
5862
5862
|
opacity: 0;
|
|
5863
5863
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5867,7 +5867,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5867
5867
|
transform: translate3d(0, 0, 0);
|
|
5868
5868
|
}
|
|
5869
5869
|
}
|
|
5870
|
-
@keyframes jkl-exiting-
|
|
5870
|
+
@keyframes jkl-exiting-uyhscc0 {
|
|
5871
5871
|
from {
|
|
5872
5872
|
opacity: 1;
|
|
5873
5873
|
transform: translate3d(0, 0, 0);
|