@fremtind/jokul 6.0.0-next.1 → 6.0.0-next.3
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 +2 -3
- 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 +2 -2
- 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-uaosqf0 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-uaosqf0 {
|
|
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-uaosqf3;
|
|
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-uaosqfo;
|
|
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-uaosqg1;
|
|
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-uaosqf3 {
|
|
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-uaosqfo {
|
|
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-uaosqg1 {
|
|
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-uaosqgo;
|
|
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-uaosqgo;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
@keyframes jkl-blink-
|
|
979
|
+
@keyframes jkl-blink-uaosqgo {
|
|
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-uaosqhy var(--duration) linear forwards;
|
|
2144
2144
|
animation-play-state: var(--play-state, running);
|
|
2145
2145
|
}
|
|
2146
|
-
@keyframes jkl-downcount-
|
|
2146
|
+
@keyframes jkl-downcount-uaosqhy {
|
|
2147
2147
|
from {
|
|
2148
2148
|
width: 100%;
|
|
2149
2149
|
}
|
|
@@ -4894,12 +4894,12 @@
|
|
|
4894
4894
|
font: var(--jkl-text-style-paragraph-small);
|
|
4895
4895
|
}
|
|
4896
4896
|
.jkl-feedback__fade-in {
|
|
4897
|
-
animation: jkl-show-
|
|
4897
|
+
animation: jkl-show-uaosqim 0.25s ease-out;
|
|
4898
4898
|
}
|
|
4899
4899
|
.jkl-feedback__buttons {
|
|
4900
4900
|
display: flex;
|
|
4901
4901
|
}
|
|
4902
|
-
@keyframes jkl-show-
|
|
4902
|
+
@keyframes jkl-show-uaosqim {
|
|
4903
4903
|
from {
|
|
4904
4904
|
transform: translate3d(0, 0.5rem, 0);
|
|
4905
4905
|
opacity: 0;
|
|
@@ -5111,7 +5111,7 @@
|
|
|
5111
5111
|
--icon-color: var(--jkl-color-success-background-contrast);
|
|
5112
5112
|
}
|
|
5113
5113
|
.jkl-message--dismissed {
|
|
5114
|
-
animation: jkl-dismiss-
|
|
5114
|
+
animation: jkl-dismiss-uaosqj1 var(--jkl-motion-timing-lazy) ease-in-out forwards;
|
|
5115
5115
|
transition: visibility 0ms var(--jkl-motion-timing-lazy);
|
|
5116
5116
|
visibility: hidden;
|
|
5117
5117
|
}
|
|
@@ -5133,7 +5133,7 @@
|
|
|
5133
5133
|
.jkl-form-error-message {
|
|
5134
5134
|
padding-bottom: var(--jkl-unit-50);
|
|
5135
5135
|
}
|
|
5136
|
-
@keyframes jkl-dismiss-
|
|
5136
|
+
@keyframes jkl-dismiss-uaosqj1 {
|
|
5137
5137
|
from {
|
|
5138
5138
|
opacity: 1;
|
|
5139
5139
|
transform: translate3d(0, 0, 0);
|
|
@@ -6437,7 +6437,7 @@
|
|
|
6437
6437
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
6438
6438
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
6439
6439
|
}
|
|
6440
|
-
@keyframes jkl-downcount-
|
|
6440
|
+
@keyframes jkl-downcount-uaosqj8 {
|
|
6441
6441
|
from {
|
|
6442
6442
|
width: 100%;
|
|
6443
6443
|
}
|
|
@@ -6677,7 +6677,7 @@
|
|
|
6677
6677
|
margin-bottom: 0;
|
|
6678
6678
|
}
|
|
6679
6679
|
.jkl-system-message--dismissed {
|
|
6680
|
-
animation: jkl-dismiss-
|
|
6680
|
+
animation: jkl-dismiss-uaosqky var(--jkl-motion-timing-lazy) forwards;
|
|
6681
6681
|
transition: block var(--jkl-motion-timing-lazy) var(--jkl-motion-timing-lazy);
|
|
6682
6682
|
}
|
|
6683
6683
|
.jkl-system-message--info {
|
|
@@ -6715,7 +6715,7 @@
|
|
|
6715
6715
|
border-width: 4px;
|
|
6716
6716
|
}
|
|
6717
6717
|
}
|
|
6718
|
-
@keyframes jkl-dismiss-
|
|
6718
|
+
@keyframes jkl-dismiss-uaosqky {
|
|
6719
6719
|
from {
|
|
6720
6720
|
opacity: 1;
|
|
6721
6721
|
transform: translateY(0);
|
|
@@ -7067,12 +7067,12 @@
|
|
|
7067
7067
|
}
|
|
7068
7068
|
.jkl-toast[data-animation=entering],
|
|
7069
7069
|
.jkl-toast[data-animation=queued] {
|
|
7070
|
-
animation: jkl-entering-
|
|
7070
|
+
animation: jkl-entering-uaosql4 var(--jkl-motion-timing-polite) var(--jkl-motion-easing-entrance) forwards;
|
|
7071
7071
|
}
|
|
7072
7072
|
.jkl-toast[data-animation=exiting] {
|
|
7073
|
-
animation: jkl-exiting-
|
|
7073
|
+
animation: jkl-exiting-uaosqls var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
|
|
7074
7074
|
}
|
|
7075
|
-
@keyframes jkl-entering-
|
|
7075
|
+
@keyframes jkl-entering-uaosql4 {
|
|
7076
7076
|
from {
|
|
7077
7077
|
opacity: 0;
|
|
7078
7078
|
transform: translate3d(0, 50%, 0);
|
|
@@ -7082,7 +7082,7 @@
|
|
|
7082
7082
|
transform: translate3d(0, 0, 0);
|
|
7083
7083
|
}
|
|
7084
7084
|
}
|
|
7085
|
-
@keyframes jkl-exiting-
|
|
7085
|
+
@keyframes jkl-exiting-uaosqls {
|
|
7086
7086
|
from {
|
|
7087
7087
|
opacity: 1;
|
|
7088
7088
|
transform: translate3d(0, 0, 0);
|