@fremtind/jokul 4.1.2 → 4.1.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/package.json +2 -3
- package/styles/components/combobox/combobox.css +1 -1
- package/styles/components/combobox/combobox.min.css +1 -1
- package/styles/components/combobox/combobox.scss +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/styles.css +25 -25
- package/styles/styles.min.css +1 -1
|
@@ -135,12 +135,12 @@
|
|
|
135
135
|
}
|
|
136
136
|
.jkl-toast[data-animation=entering],
|
|
137
137
|
.jkl-toast[data-animation=queued] {
|
|
138
|
-
animation: jkl-entering-
|
|
138
|
+
animation: jkl-entering-uqcgchv 200ms ease-out forwards;
|
|
139
139
|
}
|
|
140
140
|
.jkl-toast[data-animation=exiting] {
|
|
141
|
-
animation: jkl-exiting-
|
|
141
|
+
animation: jkl-exiting-uqcgci2 150ms ease-in forwards;
|
|
142
142
|
}
|
|
143
|
-
@keyframes jkl-entering-
|
|
143
|
+
@keyframes jkl-entering-uqcgchv {
|
|
144
144
|
from {
|
|
145
145
|
opacity: 0;
|
|
146
146
|
transform: translate3d(0, 50%, 0);
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
transform: translate3d(0, 0, 0);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
@keyframes jkl-exiting-
|
|
153
|
+
@keyframes jkl-exiting-uqcgci2 {
|
|
154
154
|
from {
|
|
155
155
|
opacity: 1;
|
|
156
156
|
transform: translate3d(0, 0, 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer jokul.components{.jkl-toast-region{background:transparent;bottom:var(--jkl-unit-30);display:flex;justify-content:center;left:0;pointer-events:none;position:fixed;right:0;width:100%;z-index:10000}.jkl-toast-region__toasts{align-items:center;display:flex;flex-direction:column;gap:var(--jkl-unit-20);min-width:18rem;pointer-events:auto}.jkl-toast-region--left{justify-content:flex-start;left:var(--jkl-unit-30)}.jkl-toast{--background-color:var(--jkl-color-background-container-high);--text-color:var(--jkl-color-text-default);--jkl-toast-padding:var(--jkl-unit-20);align-items:start;background-color:var(--background-color);border-radius:4px;box-sizing:border-box;color:var(--text-color);font-size:var(--jkl-font-size-3);font-weight:400;line-height:var(--jkl-line-height-relaxed);overflow:hidden;padding:var(--jkl-toast-padding);position:relative;width:clamp(15em,100%,min(30rem,85vw));--jkl-icon-weight:300}.jkl-toast__progress{--bar-color:var(--text-color);--track-color:transparent;border-radius:0;inset:0 0 auto;position:absolute}@media screen and (forced-colors:active){.jkl-toast__icon,.jkl-toast__icon path,.jkl-toast__icon svg{stroke:CanvasText}}.jkl-toast:not(:has(.jkl-toast__title)) .jkl-toast__icon{-webkit-margin-before:.0625rem;margin-block-start:.0625rem}.jkl-toast:has(.jkl-toast__title) .jkl-toast__icon{-webkit-margin-before:0;margin-block-start:0}.jkl-toast__content{flex-basis:100vw;flex-grow:1}.jkl-toast__action{margin-top:var(--jkl-unit-15)}.jkl-toast__title{font-size:var(--jkl-font-size-4);font-weight:700;line-height:var(--jkl-line-height-tight);--jkl-icon-weight:400}.jkl-toast__dismiss-button{background-color:transparent;color:inherit;cursor:pointer;padding:0}@media screen and (forced-colors:active){.jkl-toast__dismiss-button,.jkl-toast__dismiss-button path,.jkl-toast__dismiss-button svg{stroke:ButtonText}.jkl-toast__dismiss-button{background-color:ButtonFace}}.jkl-toast__dismiss-button:after{--tap-size:44px;content:"";inset:calc((var(--tap-size) - 100%)/2*-1);position:absolute}.jkl-toast--error,.jkl-toast--info,.jkl-toast--success,.jkl-toast--warning{--text-color:var(--jkl-color-text-on-alert)}.jkl-toast--info{--background-color:var(--jkl-color-background-alert-info)}.jkl-toast--warning{--background-color:var(--jkl-color-background-alert-warning)}.jkl-toast--error{--background-color:var(--jkl-color-background-alert-error)}.jkl-toast--success{--background-color:var(--jkl-color-background-alert-success)}@media screen and (forced-colors:active){.jkl-toast{border:2px solid CanvasText}.jkl-toast--info{border-style:dotted}.jkl-toast--warning{border-style:dashed}.jkl-toast--error{border-style:double;border-width:4px}}.jkl-toast[data-animation=entering],.jkl-toast[data-animation=queued]{animation:jkl-entering-
|
|
1
|
+
@layer jokul.components{.jkl-toast-region{background:transparent;bottom:var(--jkl-unit-30);display:flex;justify-content:center;left:0;pointer-events:none;position:fixed;right:0;width:100%;z-index:10000}.jkl-toast-region__toasts{align-items:center;display:flex;flex-direction:column;gap:var(--jkl-unit-20);min-width:18rem;pointer-events:auto}.jkl-toast-region--left{justify-content:flex-start;left:var(--jkl-unit-30)}.jkl-toast{--background-color:var(--jkl-color-background-container-high);--text-color:var(--jkl-color-text-default);--jkl-toast-padding:var(--jkl-unit-20);align-items:start;background-color:var(--background-color);border-radius:4px;box-sizing:border-box;color:var(--text-color);font-size:var(--jkl-font-size-3);font-weight:400;line-height:var(--jkl-line-height-relaxed);overflow:hidden;padding:var(--jkl-toast-padding);position:relative;width:clamp(15em,100%,min(30rem,85vw));--jkl-icon-weight:300}.jkl-toast__progress{--bar-color:var(--text-color);--track-color:transparent;border-radius:0;inset:0 0 auto;position:absolute}@media screen and (forced-colors:active){.jkl-toast__icon,.jkl-toast__icon path,.jkl-toast__icon svg{stroke:CanvasText}}.jkl-toast:not(:has(.jkl-toast__title)) .jkl-toast__icon{-webkit-margin-before:.0625rem;margin-block-start:.0625rem}.jkl-toast:has(.jkl-toast__title) .jkl-toast__icon{-webkit-margin-before:0;margin-block-start:0}.jkl-toast__content{flex-basis:100vw;flex-grow:1}.jkl-toast__action{margin-top:var(--jkl-unit-15)}.jkl-toast__title{font-size:var(--jkl-font-size-4);font-weight:700;line-height:var(--jkl-line-height-tight);--jkl-icon-weight:400}.jkl-toast__dismiss-button{background-color:transparent;color:inherit;cursor:pointer;padding:0}@media screen and (forced-colors:active){.jkl-toast__dismiss-button,.jkl-toast__dismiss-button path,.jkl-toast__dismiss-button svg{stroke:ButtonText}.jkl-toast__dismiss-button{background-color:ButtonFace}}.jkl-toast__dismiss-button:after{--tap-size:44px;content:"";inset:calc((var(--tap-size) - 100%)/2*-1);position:absolute}.jkl-toast--error,.jkl-toast--info,.jkl-toast--success,.jkl-toast--warning{--text-color:var(--jkl-color-text-on-alert)}.jkl-toast--info{--background-color:var(--jkl-color-background-alert-info)}.jkl-toast--warning{--background-color:var(--jkl-color-background-alert-warning)}.jkl-toast--error{--background-color:var(--jkl-color-background-alert-error)}.jkl-toast--success{--background-color:var(--jkl-color-background-alert-success)}@media screen and (forced-colors:active){.jkl-toast{border:2px solid CanvasText}.jkl-toast--info{border-style:dotted}.jkl-toast--warning{border-style:dashed}.jkl-toast--error{border-style:double;border-width:4px}}.jkl-toast[data-animation=entering],.jkl-toast[data-animation=queued]{animation:jkl-entering-uqcgchv .2s ease-out forwards}.jkl-toast[data-animation=exiting]{animation:jkl-exiting-uqcgci2 .15s ease-in forwards}@keyframes jkl-entering-uqcgchv{0%{opacity:0;transform:translate3d(0,50%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes jkl-exiting-uqcgci2{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,50%,0)}}}
|
package/styles/styles.css
CHANGED
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
--color: var(--jkl-color-text-default);
|
|
469
469
|
}
|
|
470
470
|
.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 {
|
|
471
|
-
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-
|
|
471
|
+
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-uk5k8s2 forwards;
|
|
472
472
|
}
|
|
473
473
|
.jkl-form-support-label--sr-only {
|
|
474
474
|
border: 0 !important;
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
.jkl-label:has(+ .jkl-input-group-description) {
|
|
537
537
|
margin-block-end: var(--jkl-spacing-4);
|
|
538
538
|
}
|
|
539
|
-
@keyframes jkl-support-icon-entrance-
|
|
539
|
+
@keyframes jkl-support-icon-entrance-uk5k8s2 {
|
|
540
540
|
0% {
|
|
541
541
|
margin-right: 0;
|
|
542
542
|
opacity: 0;
|
|
@@ -888,22 +888,22 @@
|
|
|
888
888
|
animation: 2500ms linear infinite;
|
|
889
889
|
}
|
|
890
890
|
.jkl-loader__dot--left {
|
|
891
|
-
animation-name: jkl-loader-left-spin-
|
|
891
|
+
animation-name: jkl-loader-left-spin-uk5k8sz;
|
|
892
892
|
margin-right: calc(var(--jkl-loader-spacing) * 0.9);
|
|
893
893
|
}
|
|
894
894
|
.jkl-loader__dot--middle {
|
|
895
|
-
animation-name: jkl-loader-middle-spin-
|
|
895
|
+
animation-name: jkl-loader-middle-spin-uk5k8ti;
|
|
896
896
|
margin-right: var(--jkl-loader-spacing);
|
|
897
897
|
}
|
|
898
898
|
.jkl-loader__dot--right {
|
|
899
|
-
animation-name: jkl-loader-right-spin-
|
|
899
|
+
animation-name: jkl-loader-right-spin-uk5k8tv;
|
|
900
900
|
}
|
|
901
901
|
@media screen and (forced-colors: active) {
|
|
902
902
|
.jkl-loader__dot {
|
|
903
903
|
background-color: CanvasText;
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
|
-
@keyframes jkl-loader-left-spin-
|
|
906
|
+
@keyframes jkl-loader-left-spin-uk5k8sz {
|
|
907
907
|
0% {
|
|
908
908
|
transform: rotate(0) scale(0);
|
|
909
909
|
}
|
|
@@ -917,7 +917,7 @@
|
|
|
917
917
|
transform: rotate(180deg) scale(0);
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
|
-
@keyframes jkl-loader-middle-spin-
|
|
920
|
+
@keyframes jkl-loader-middle-spin-uk5k8ti {
|
|
921
921
|
0% {
|
|
922
922
|
transform: rotate(20deg) scale(0);
|
|
923
923
|
}
|
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
transform: rotate(200deg) scale(0);
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
|
-
@keyframes jkl-loader-right-spin-
|
|
937
|
+
@keyframes jkl-loader-right-spin-uk5k8tv {
|
|
938
938
|
0% {
|
|
939
939
|
transform: rotate(40deg) scale(0);
|
|
940
940
|
}
|
|
@@ -974,7 +974,7 @@
|
|
|
974
974
|
@media screen and (forced-colors: active) {
|
|
975
975
|
.jkl-skeleton-element {
|
|
976
976
|
border: 1px solid CanvasText;
|
|
977
|
-
animation: 2s ease infinite jkl-blink-
|
|
977
|
+
animation: 2s ease infinite jkl-blink-uk5k8tz;
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
.jkl-skeleton-input {
|
|
@@ -1022,10 +1022,10 @@
|
|
|
1022
1022
|
}
|
|
1023
1023
|
@media screen and (forced-colors: active) {
|
|
1024
1024
|
.jkl-skeleton-table {
|
|
1025
|
-
animation: 2s ease-in-out infinite jkl-blink-
|
|
1025
|
+
animation: 2s ease-in-out infinite jkl-blink-uk5k8tz;
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
|
-
@keyframes jkl-blink-
|
|
1028
|
+
@keyframes jkl-blink-uk5k8tz {
|
|
1029
1029
|
0% {
|
|
1030
1030
|
opacity: 1;
|
|
1031
1031
|
}
|
|
@@ -1688,7 +1688,6 @@
|
|
|
1688
1688
|
top: calc(100% - 1px);
|
|
1689
1689
|
overflow-y: auto;
|
|
1690
1690
|
position: absolute;
|
|
1691
|
-
color: var(--jkl-color-text-default);
|
|
1692
1691
|
z-index: 7000;
|
|
1693
1692
|
left: -0.0625rem;
|
|
1694
1693
|
right: -0.0625rem;
|
|
@@ -1708,6 +1707,7 @@
|
|
|
1708
1707
|
display: flex;
|
|
1709
1708
|
align-items: center;
|
|
1710
1709
|
border: 0;
|
|
1710
|
+
color: var(--jkl-color-text-default);
|
|
1711
1711
|
background-color: var(--jkl-color-background-interactive);
|
|
1712
1712
|
transition-property: color, background-color;
|
|
1713
1713
|
cursor: pointer;
|
|
@@ -2012,10 +2012,10 @@
|
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
2014
2014
|
.jkl-countdown__tracker {
|
|
2015
|
-
animation: jkl-downcount-
|
|
2015
|
+
animation: jkl-downcount-uk5k8u9 var(--duration) linear forwards;
|
|
2016
2016
|
animation-play-state: var(--play-state, running);
|
|
2017
2017
|
}
|
|
2018
|
-
@keyframes jkl-downcount-
|
|
2018
|
+
@keyframes jkl-downcount-uk5k8u9 {
|
|
2019
2019
|
from {
|
|
2020
2020
|
width: 100%;
|
|
2021
2021
|
}
|
|
@@ -2508,12 +2508,12 @@
|
|
|
2508
2508
|
--jkl-icon-size: 1.2em;
|
|
2509
2509
|
}
|
|
2510
2510
|
.jkl-feedback__fade-in {
|
|
2511
|
-
animation: jkl-show-
|
|
2511
|
+
animation: jkl-show-uk5k8ue 0.25s ease-out;
|
|
2512
2512
|
}
|
|
2513
2513
|
.jkl-feedback__buttons {
|
|
2514
2514
|
display: flex;
|
|
2515
2515
|
}
|
|
2516
|
-
@keyframes jkl-show-
|
|
2516
|
+
@keyframes jkl-show-uk5k8ue {
|
|
2517
2517
|
from {
|
|
2518
2518
|
transform: translate3d(0, 0.5rem, 0);
|
|
2519
2519
|
opacity: 0;
|
|
@@ -2730,7 +2730,7 @@
|
|
|
2730
2730
|
--background-color: var(--jkl-color-background-alert-success);
|
|
2731
2731
|
}
|
|
2732
2732
|
.jkl-message--dismissed {
|
|
2733
|
-
animation: jkl-dismiss-
|
|
2733
|
+
animation: jkl-dismiss-uk5k8uf 400ms ease-in-out forwards;
|
|
2734
2734
|
transition: visibility 0ms 400ms;
|
|
2735
2735
|
visibility: hidden;
|
|
2736
2736
|
}
|
|
@@ -2752,7 +2752,7 @@
|
|
|
2752
2752
|
.jkl-form-error-message {
|
|
2753
2753
|
padding-bottom: calc(var(--jkl-unit-base) * 5);
|
|
2754
2754
|
}
|
|
2755
|
-
@keyframes jkl-dismiss-
|
|
2755
|
+
@keyframes jkl-dismiss-uk5k8uf {
|
|
2756
2756
|
from {
|
|
2757
2757
|
opacity: 1;
|
|
2758
2758
|
transform: translate3d(0, 0, 0);
|
|
@@ -4100,7 +4100,7 @@
|
|
|
4100
4100
|
transition-timing-function: ease;
|
|
4101
4101
|
transition-duration: 150ms;
|
|
4102
4102
|
}
|
|
4103
|
-
@keyframes jkl-downcount-
|
|
4103
|
+
@keyframes jkl-downcount-uk5k8uz {
|
|
4104
4104
|
from {
|
|
4105
4105
|
width: 100%;
|
|
4106
4106
|
}
|
|
@@ -4610,7 +4610,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4610
4610
|
margin-bottom: 0;
|
|
4611
4611
|
}
|
|
4612
4612
|
.jkl-system-message--dismissed {
|
|
4613
|
-
animation: jkl-dismiss-
|
|
4613
|
+
animation: jkl-dismiss-uk5k8w7 400ms forwards;
|
|
4614
4614
|
transition: block 400ms 400ms;
|
|
4615
4615
|
}
|
|
4616
4616
|
.jkl-system-message--info {
|
|
@@ -4640,7 +4640,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4640
4640
|
border-width: 4px;
|
|
4641
4641
|
}
|
|
4642
4642
|
}
|
|
4643
|
-
@keyframes jkl-dismiss-
|
|
4643
|
+
@keyframes jkl-dismiss-uk5k8w7 {
|
|
4644
4644
|
from {
|
|
4645
4645
|
opacity: 1;
|
|
4646
4646
|
transform: translateY(0);
|
|
@@ -5477,12 +5477,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5477
5477
|
}
|
|
5478
5478
|
.jkl-toast[data-animation=entering],
|
|
5479
5479
|
.jkl-toast[data-animation=queued] {
|
|
5480
|
-
animation: jkl-entering-
|
|
5480
|
+
animation: jkl-entering-uk5k8we 200ms ease-out forwards;
|
|
5481
5481
|
}
|
|
5482
5482
|
.jkl-toast[data-animation=exiting] {
|
|
5483
|
-
animation: jkl-exiting-
|
|
5483
|
+
animation: jkl-exiting-uk5k8x7 150ms ease-in forwards;
|
|
5484
5484
|
}
|
|
5485
|
-
@keyframes jkl-entering-
|
|
5485
|
+
@keyframes jkl-entering-uk5k8we {
|
|
5486
5486
|
from {
|
|
5487
5487
|
opacity: 0;
|
|
5488
5488
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5492,7 +5492,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5492
5492
|
transform: translate3d(0, 0, 0);
|
|
5493
5493
|
}
|
|
5494
5494
|
}
|
|
5495
|
-
@keyframes jkl-exiting-
|
|
5495
|
+
@keyframes jkl-exiting-uk5k8x7 {
|
|
5496
5496
|
from {
|
|
5497
5497
|
opacity: 1;
|
|
5498
5498
|
transform: translate3d(0, 0, 0);
|