@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.
Files changed (44) hide show
  1. package/README.md +8 -2
  2. package/build/build-stats.html +1 -1
  3. package/build/cjs/components/message/Message.cjs +1 -1
  4. package/build/cjs/components/message/Message.cjs.map +1 -1
  5. package/build/cjs/utilities/types.cjs +1 -1
  6. package/build/cjs/utilities/types.cjs.map +1 -1
  7. package/build/cjs/utilities/types.d.cts +1 -1
  8. package/build/es/components/message/Message.js +1 -1
  9. package/build/es/components/message/Message.js.map +1 -1
  10. package/build/es/utilities/types.d.ts +1 -1
  11. package/build/es/utilities/types.js +1 -1
  12. package/build/es/utilities/types.js.map +1 -1
  13. package/package.json +1 -2
  14. package/styles/base.css +154 -0
  15. package/styles/base.min.css +1 -1
  16. package/styles/components/countdown/countdown.css +2 -2
  17. package/styles/components/countdown/countdown.min.css +1 -1
  18. package/styles/components/feedback/feedback.css +2 -2
  19. package/styles/components/feedback/feedback.min.css +1 -1
  20. package/styles/components/file-input/file-input.css +9 -9
  21. package/styles/components/file-input/file-input.min.css +1 -1
  22. package/styles/components/input-group/input-group.css +2 -2
  23. package/styles/components/input-group/input-group.min.css +1 -1
  24. package/styles/components/loader/loader.css +6 -6
  25. package/styles/components/loader/loader.min.css +1 -1
  26. package/styles/components/loader/skeleton-loader.css +3 -3
  27. package/styles/components/loader/skeleton-loader.min.css +1 -1
  28. package/styles/components/message/message.css +2 -2
  29. package/styles/components/message/message.min.css +1 -1
  30. package/styles/components/progress-bar/progress-bar.css +1 -1
  31. package/styles/components/progress-bar/progress-bar.min.css +1 -1
  32. package/styles/components/segmented-control/segmented-control.css +2 -2
  33. package/styles/components/segmented-control/segmented-control.min.css +1 -1
  34. package/styles/components/system-message/system-message.css +2 -2
  35. package/styles/components/system-message/system-message.min.css +1 -1
  36. package/styles/components/toast/toast.css +4 -4
  37. package/styles/components/toast/toast.min.css +1 -1
  38. package/styles/components.css +24 -24
  39. package/styles/components.min.css +1 -1
  40. package/styles/theme/_index.scss +1 -0
  41. package/styles/theme/brands/_index.scss +2 -0
  42. package/styles/theme/brands/dnb/_color-scheme.scss +121 -0
  43. package/styles/theme/brands/dnb/_fonts.scss +43 -0
  44. package/styles/theme/brands/dnb/_index.scss +6 -0
@@ -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-uoq1v6n forwards;
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-uoq1v6n {
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-uoq1v7m;
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-uoq1v7u;
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-uoq1v7z;
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-uoq1v7m {
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-uoq1v7u {
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-uoq1v7z {
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-uoq1v8n;
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-uoq1v8n;
976
+ animation: 2s ease-in-out infinite jkl-blink-uyhsc7z;
977
977
  }
978
978
  }
979
- @keyframes jkl-blink-uoq1v8n {
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-uoq1v9r var(--duration) linear forwards;
2143
+ animation: jkl-downcount-uyhsc9d var(--duration) linear forwards;
2144
2144
  animation-play-state: var(--play-state, running);
2145
2145
  }
2146
- @keyframes jkl-downcount-uoq1v9r {
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-uoq1va6 0.25s ease-out;
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-uoq1va6 {
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-uoq1vam var(--jkl-motion-timing-lazy) ease-in-out forwards;
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-uoq1vam {
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-uoq1vbd {
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-uoq1vch var(--jkl-motion-timing-lazy) forwards;
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-uoq1vch {
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-uoq1vda var(--jkl-motion-timing-polite) var(--jkl-motion-easing-entrance) forwards;
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-uoq1ve1 var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
5858
+ animation: jkl-exiting-uyhscc0 var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
5859
5859
  }
5860
- @keyframes jkl-entering-uoq1vda {
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-uoq1ve1 {
5870
+ @keyframes jkl-exiting-uyhscc0 {
5871
5871
  from {
5872
5872
  opacity: 1;
5873
5873
  transform: translate3d(0, 0, 0);