@fremtind/jokul 0.19.0 → 0.19.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/accordion/documentation/Example.js +1 -1
- package/build/cjs/components/button/documentation/Example.js +2 -0
- package/build/cjs/components/button/documentation/Example.js.map +1 -0
- package/build/cjs/components/button/documentation/main.js +2 -0
- package/build/cjs/components/button/documentation/main.js.map +1 -0
- package/build/cjs/components/button/documentation/vite.dev.config.js +2 -0
- package/build/cjs/components/button/documentation/vite.dev.config.js.map +1 -0
- package/build/cjs/components/link/documentation/Example.js +1 -1
- package/build/cjs/components/loader/documentation/Example.js +1 -1
- package/build/cjs/components/toggle-switch/documentation/Example.js +1 -1
- package/build/cjs/components/tooltip/documentation/Example.js +1 -1
- package/build/cjs/components/tooltip/documentation/Example.js.map +1 -1
- package/build/es/components/accordion/documentation/Example.js +1 -1
- package/build/es/components/button/documentation/Example.js +2 -0
- package/build/es/components/button/documentation/Example.js.map +1 -0
- package/build/es/components/button/documentation/main.js +2 -0
- package/build/es/components/button/documentation/main.js.map +1 -0
- package/build/es/components/button/documentation/vite.dev.config.js +2 -0
- package/build/es/components/button/documentation/vite.dev.config.js.map +1 -0
- package/build/es/components/link/documentation/Example.js +1 -1
- package/build/es/components/loader/documentation/Example.js +1 -1
- package/build/es/components/toggle-switch/documentation/Example.js +1 -1
- package/build/es/components/tooltip/documentation/Example.js +1 -1
- package/build/es/components/tooltip/documentation/Example.js.map +1 -1
- package/build/{formatCode-Cr-qlO_l.cjs → formatCode-BWsrUMWq.cjs} +2 -2
- package/build/{formatCode-Cr-qlO_l.cjs.map → formatCode-BWsrUMWq.cjs.map} +1 -1
- package/build/{formatCode-BT20TgSH.js → formatCode-DzuWIQfw.js} +2 -2
- package/build/{formatCode-BT20TgSH.js.map → formatCode-DzuWIQfw.js.map} +1 -1
- package/build/packages/jokul/src/components/button/documentation/Example.d.ts +2 -0
- package/build/packages/jokul/src/components/button/documentation/main.d.ts +1 -0
- package/build/packages/jokul/src/components/button/documentation/vite.dev.config.d.ts +2 -0
- package/build/style.css +1 -1
- package/package.json +2 -2
- package/src/components/button/styles/button.css +2 -2
- package/src/components/button/styles/button.min.css +1 -1
- package/src/components/checkbox/styles/checkbox.css +4 -4
- package/src/components/checkbox/styles/checkbox.min.css +1 -1
- package/src/components/feedback/styles/feedback.css +2 -2
- package/src/components/feedback/styles/feedback.min.css +1 -1
- package/src/components/input-group/styles/input-group.css +2 -2
- package/src/components/input-group/styles/input-group.min.css +1 -1
- package/src/components/loader/styles/loader.css +6 -6
- package/src/components/loader/styles/loader.min.css +1 -1
- package/src/components/loader/styles/skeleton-loader.css +5 -5
- package/src/components/loader/styles/skeleton-loader.min.css +1 -1
- package/src/components/message/styles/message.css +2 -2
- package/src/components/message/styles/message.min.css +1 -1
- package/src/components/progress-bar/styles/progress-bar.css +2 -2
- package/src/components/progress-bar/styles/progress-bar.min.css +1 -1
- package/src/components/radio-button/styles/radio-button.css +2 -2
- package/src/components/radio-button/styles/radio-button.min.css +1 -1
- package/src/components/system-message/styles/system-message.css +2 -2
- package/src/components/system-message/styles/system-message.min.css +1 -1
- package/src/components/toast/styles/toast.css +4 -4
- package/src/components/toast/styles/toast.min.css +1 -1
- package/src/styles/styles.css +33 -33
- package/src/styles/styles.min.css +1 -1
package/src/styles/styles.css
CHANGED
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
height: 1rem;
|
|
454
454
|
}
|
|
455
455
|
html[data-touchnavigation] .jkl-button.jkl-button--pressed::before {
|
|
456
|
-
animation: cubic-bezier(0.6, 0.2, 0.35, 1) 250ms jkl-tertiary-flash-
|
|
456
|
+
animation: cubic-bezier(0.6, 0.2, 0.35, 1) 250ms jkl-tertiary-flash-ud76u2t;
|
|
457
457
|
}
|
|
458
458
|
:not([data-touchnavigation]) .jkl-button--primary:hover, :not([data-touchnavigation]) .jkl-button--secondary:hover, :not([data-touchnavigation]) .jkl-button--tertiary:hover {
|
|
459
459
|
scale: 1.05;
|
|
@@ -497,7 +497,7 @@ html[data-touchnavigation] .jkl-button.jkl-button--pressed::before {
|
|
|
497
497
|
--background-color: var(--jkl-color-background-interactive-hover);
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
@keyframes jkl-tertiary-flash-
|
|
500
|
+
@keyframes jkl-tertiary-flash-ud76u2t {
|
|
501
501
|
0% {
|
|
502
502
|
opacity: 0.5;
|
|
503
503
|
scale: 1;
|
|
@@ -522,15 +522,15 @@ html[data-touchnavigation] .jkl-button.jkl-button--pressed::before {
|
|
|
522
522
|
animation: 2500ms linear infinite;
|
|
523
523
|
}
|
|
524
524
|
.jkl-loader__dot--left {
|
|
525
|
-
animation-name: jkl-loader-left-spin-
|
|
525
|
+
animation-name: jkl-loader-left-spin-ud76u3h;
|
|
526
526
|
margin-right: 1.71em;
|
|
527
527
|
}
|
|
528
528
|
.jkl-loader__dot--middle {
|
|
529
|
-
animation-name: jkl-loader-middle-spin-
|
|
529
|
+
animation-name: jkl-loader-middle-spin-ud76u42;
|
|
530
530
|
margin-right: 1.9em;
|
|
531
531
|
}
|
|
532
532
|
.jkl-loader__dot--right {
|
|
533
|
-
animation-name: jkl-loader-right-spin-
|
|
533
|
+
animation-name: jkl-loader-right-spin-ud76u52;
|
|
534
534
|
}
|
|
535
535
|
@media screen and (forced-colors: active) {
|
|
536
536
|
.jkl-loader__dot {
|
|
@@ -558,7 +558,7 @@ html[data-touchnavigation] .jkl-button.jkl-button--pressed::before {
|
|
|
558
558
|
margin-right: 0.3em;
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
-
@keyframes jkl-loader-left-spin-
|
|
561
|
+
@keyframes jkl-loader-left-spin-ud76u3h {
|
|
562
562
|
0% {
|
|
563
563
|
transform: rotate(0) scale(0);
|
|
564
564
|
}
|
|
@@ -572,7 +572,7 @@ html[data-touchnavigation] .jkl-button.jkl-button--pressed::before {
|
|
|
572
572
|
transform: rotate(180deg) scale(0);
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
@keyframes jkl-loader-middle-spin-
|
|
575
|
+
@keyframes jkl-loader-middle-spin-ud76u42 {
|
|
576
576
|
0% {
|
|
577
577
|
transform: rotate(20deg) scale(0);
|
|
578
578
|
}
|
|
@@ -589,7 +589,7 @@ html[data-touchnavigation] .jkl-button.jkl-button--pressed::before {
|
|
|
589
589
|
transform: rotate(200deg) scale(0);
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
@keyframes jkl-loader-right-spin-
|
|
592
|
+
@keyframes jkl-loader-right-spin-ud76u52 {
|
|
593
593
|
0% {
|
|
594
594
|
transform: rotate(40deg) scale(0);
|
|
595
595
|
}
|
|
@@ -1151,7 +1151,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-nav-card:focus
|
|
|
1151
1151
|
--jkl-checkbox-line-height: 1.5rem;
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
@keyframes jkl-checkbox-checked-
|
|
1154
|
+
@keyframes jkl-checkbox-checked-ud76u62 {
|
|
1155
1155
|
0% {
|
|
1156
1156
|
width: 0;
|
|
1157
1157
|
height: 0;
|
|
@@ -1165,7 +1165,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-nav-card:focus
|
|
|
1165
1165
|
height: 58%;
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
|
-
@keyframes jkl-checkbox-indeterminate-
|
|
1168
|
+
@keyframes jkl-checkbox-indeterminate-ud76u6d {
|
|
1169
1169
|
0% {
|
|
1170
1170
|
width: 0;
|
|
1171
1171
|
}
|
|
@@ -1193,11 +1193,11 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-nav-card:focus
|
|
|
1193
1193
|
top: -6px;
|
|
1194
1194
|
}
|
|
1195
1195
|
.jkl-checkbox__input:checked + .jkl-checkbox__label .jkl-checkbox__check-mark::after {
|
|
1196
|
-
animation: jkl-checkbox-checked-
|
|
1196
|
+
animation: jkl-checkbox-checked-ud76u62 150ms ease-in-out forwards;
|
|
1197
1197
|
opacity: 1;
|
|
1198
1198
|
}
|
|
1199
1199
|
.jkl-checkbox__input:indeterminate:not(:checked) + .jkl-checkbox__label .jkl-checkbox__indeterminate-mark::after {
|
|
1200
|
-
animation: jkl-checkbox-indeterminate-
|
|
1200
|
+
animation: jkl-checkbox-indeterminate-ud76u6d 150ms ease-in-out forwards;
|
|
1201
1201
|
opacity: 1;
|
|
1202
1202
|
}
|
|
1203
1203
|
.jkl-checkbox__input:focus-visible + .jkl-checkbox__label {
|
|
@@ -1719,7 +1719,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-nav-card:focus
|
|
|
1719
1719
|
--color: var(--jkl-color-text-default);
|
|
1720
1720
|
}
|
|
1721
1721
|
.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 {
|
|
1722
|
-
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-
|
|
1722
|
+
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-ud76u74 forwards;
|
|
1723
1723
|
}
|
|
1724
1724
|
.jkl-form-support-label--sr-only {
|
|
1725
1725
|
border: 0 !important;
|
|
@@ -1794,7 +1794,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-nav-card:focus
|
|
|
1794
1794
|
white-space: nowrap !important; /* 3 */
|
|
1795
1795
|
}
|
|
1796
1796
|
|
|
1797
|
-
@keyframes jkl-support-icon-entrance-
|
|
1797
|
+
@keyframes jkl-support-icon-entrance-ud76u74 {
|
|
1798
1798
|
0% {
|
|
1799
1799
|
margin-right: 0;
|
|
1800
1800
|
opacity: 0;
|
|
@@ -3223,7 +3223,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-text-area__tex
|
|
|
3223
3223
|
padding: 1rem 0 2.5rem 0;
|
|
3224
3224
|
}
|
|
3225
3225
|
|
|
3226
|
-
@keyframes jkl-show-
|
|
3226
|
+
@keyframes jkl-show-ud76u84 {
|
|
3227
3227
|
from {
|
|
3228
3228
|
transform: translate3d(0, 0.5rem, 0);
|
|
3229
3229
|
opacity: 0;
|
|
@@ -3258,7 +3258,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-text-area__tex
|
|
|
3258
3258
|
}
|
|
3259
3259
|
}
|
|
3260
3260
|
.jkl-feedback__fade-in {
|
|
3261
|
-
animation: jkl-show-
|
|
3261
|
+
animation: jkl-show-ud76u84 0.25s ease-out;
|
|
3262
3262
|
}
|
|
3263
3263
|
|
|
3264
3264
|
.jkl-feedback-smileys {
|
|
@@ -3490,7 +3490,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
3490
3490
|
--background-color: var(--jkl-color-background-alert-success);
|
|
3491
3491
|
}
|
|
3492
3492
|
.jkl-message--dismissed {
|
|
3493
|
-
animation: jkl-dismiss-
|
|
3493
|
+
animation: jkl-dismiss-ud76u93 400ms ease-in-out forwards;
|
|
3494
3494
|
transition: visibility 0ms 400ms;
|
|
3495
3495
|
visibility: hidden;
|
|
3496
3496
|
}
|
|
@@ -3510,7 +3510,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
3510
3510
|
}
|
|
3511
3511
|
}
|
|
3512
3512
|
|
|
3513
|
-
@keyframes jkl-dismiss-
|
|
3513
|
+
@keyframes jkl-dismiss-ud76u93 {
|
|
3514
3514
|
from {
|
|
3515
3515
|
opacity: 1;
|
|
3516
3516
|
transform: translate3d(0, 0, 0);
|
|
@@ -3566,7 +3566,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
3566
3566
|
--jkl-radio-button-label-font-weight: var(--jkl-small-font-weight);
|
|
3567
3567
|
}
|
|
3568
3568
|
|
|
3569
|
-
@keyframes jkl-dot-in-
|
|
3569
|
+
@keyframes jkl-dot-in-ud76u99 {
|
|
3570
3570
|
0% {
|
|
3571
3571
|
transform: scale(0.8);
|
|
3572
3572
|
}
|
|
@@ -3609,7 +3609,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
3609
3609
|
}
|
|
3610
3610
|
.jkl-radio-button__input:checked + .jkl-radio-button__label > .jkl-radio-button__dot::after {
|
|
3611
3611
|
--dot-color: var(--jkl-color-border-action);
|
|
3612
|
-
animation: jkl-dot-in-
|
|
3612
|
+
animation: jkl-dot-in-ud76u99 150ms ease;
|
|
3613
3613
|
}
|
|
3614
3614
|
@media screen and (forced-colors: active) {
|
|
3615
3615
|
.jkl-radio-button__input:checked + .jkl-radio-button__label > .jkl-radio-button__dot::after {
|
|
@@ -3964,7 +3964,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
3964
3964
|
bottom: 0;
|
|
3965
3965
|
width: 12.5rem;
|
|
3966
3966
|
background: linear-gradient(89.17deg, rgba(249, 249, 249, 0) 0.8%, var(--jkl-skeleton-sweeper-color) 50.09%, rgba(249, 249, 249, 0) 96.31%);
|
|
3967
|
-
animation: var(--jkl-skeleton-sweep-duration) ease infinite jkl-sweep-
|
|
3967
|
+
animation: var(--jkl-skeleton-sweep-duration) ease infinite jkl-sweep-ud76u9k;
|
|
3968
3968
|
}
|
|
3969
3969
|
@media (width >= 0) and (max-width: 679px) {
|
|
3970
3970
|
.jkl-skeleton-animation {
|
|
@@ -3995,7 +3995,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
3995
3995
|
@media screen and (forced-colors: active) {
|
|
3996
3996
|
.jkl-skeleton-element {
|
|
3997
3997
|
border: 1px solid CanvasText;
|
|
3998
|
-
animation: 2s ease infinite jkl-blink-
|
|
3998
|
+
animation: 2s ease infinite jkl-blink-ud76uab;
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
|
|
@@ -4051,11 +4051,11 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
4051
4051
|
}
|
|
4052
4052
|
@media screen and (forced-colors: active) {
|
|
4053
4053
|
.jkl-skeleton-table {
|
|
4054
|
-
animation: 2s ease-in-out infinite jkl-blink-
|
|
4054
|
+
animation: 2s ease-in-out infinite jkl-blink-ud76uab;
|
|
4055
4055
|
}
|
|
4056
4056
|
}
|
|
4057
4057
|
|
|
4058
|
-
@keyframes jkl-sweep-
|
|
4058
|
+
@keyframes jkl-sweep-ud76u9k {
|
|
4059
4059
|
0% {
|
|
4060
4060
|
transform: translateX(calc(0vw - 200px));
|
|
4061
4061
|
}
|
|
@@ -4063,7 +4063,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
4063
4063
|
transform: translateX(calc(100vw + 400px));
|
|
4064
4064
|
}
|
|
4065
4065
|
}
|
|
4066
|
-
@keyframes jkl-blink-
|
|
4066
|
+
@keyframes jkl-blink-ud76uab {
|
|
4067
4067
|
0% {
|
|
4068
4068
|
opacity: 1;
|
|
4069
4069
|
}
|
|
@@ -4444,11 +4444,11 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus + .jkl-
|
|
|
4444
4444
|
}
|
|
4445
4445
|
|
|
4446
4446
|
.jkl-countdown__tracker {
|
|
4447
|
-
animation: jkl-downcount-
|
|
4447
|
+
animation: jkl-downcount-ud76ubb var(--duration) linear forwards;
|
|
4448
4448
|
animation-play-state: var(--play-state, running);
|
|
4449
4449
|
}
|
|
4450
4450
|
|
|
4451
|
-
@keyframes jkl-downcount-
|
|
4451
|
+
@keyframes jkl-downcount-ud76ubb {
|
|
4452
4452
|
from {
|
|
4453
4453
|
width: 100%;
|
|
4454
4454
|
}
|
|
@@ -4993,7 +4993,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-system-message
|
|
|
4993
4993
|
margin-bottom: 0;
|
|
4994
4994
|
}
|
|
4995
4995
|
.jkl-system-message--dismissed {
|
|
4996
|
-
animation: jkl-dismiss-
|
|
4996
|
+
animation: jkl-dismiss-ud76ubq 400ms ease-in forwards;
|
|
4997
4997
|
transition: visibility 0ms 400ms;
|
|
4998
4998
|
visibility: hidden;
|
|
4999
4999
|
}
|
|
@@ -5025,7 +5025,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-system-message
|
|
|
5025
5025
|
}
|
|
5026
5026
|
}
|
|
5027
5027
|
|
|
5028
|
-
@keyframes jkl-dismiss-
|
|
5028
|
+
@keyframes jkl-dismiss-ud76ubq {
|
|
5029
5029
|
from {
|
|
5030
5030
|
opacity: 1;
|
|
5031
5031
|
transform: translate3d(0, 0, 0);
|
|
@@ -5891,14 +5891,14 @@ html:not([data-mousenavigation]) .jkl-table-pagination__previous:focus, html:not
|
|
|
5891
5891
|
|
|
5892
5892
|
.jkl-toast[data-animation=entering],
|
|
5893
5893
|
.jkl-toast[data-animation=queued] {
|
|
5894
|
-
animation: jkl-entering-
|
|
5894
|
+
animation: jkl-entering-ud76uc5 200ms ease-out forwards;
|
|
5895
5895
|
}
|
|
5896
5896
|
|
|
5897
5897
|
.jkl-toast[data-animation=exiting] {
|
|
5898
|
-
animation: jkl-exiting-
|
|
5898
|
+
animation: jkl-exiting-ud76uce 150ms ease-in forwards;
|
|
5899
5899
|
}
|
|
5900
5900
|
|
|
5901
|
-
@keyframes jkl-entering-
|
|
5901
|
+
@keyframes jkl-entering-ud76uc5 {
|
|
5902
5902
|
from {
|
|
5903
5903
|
opacity: 0;
|
|
5904
5904
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5908,7 +5908,7 @@ html:not([data-mousenavigation]) .jkl-table-pagination__previous:focus, html:not
|
|
|
5908
5908
|
transform: translate3d(0, 0, 0);
|
|
5909
5909
|
}
|
|
5910
5910
|
}
|
|
5911
|
-
@keyframes jkl-exiting-
|
|
5911
|
+
@keyframes jkl-exiting-ud76uce {
|
|
5912
5912
|
from {
|
|
5913
5913
|
opacity: 1;
|
|
5914
5914
|
transform: translate3d(0, 0, 0);
|