@fremtind/jokul 4.7.2 → 4.7.4

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 (49) hide show
  1. package/build/build-stats.html +1 -1
  2. package/build/cjs/components/popover/Popover.cjs +1 -1
  3. package/build/cjs/components/popover/Popover.cjs.map +1 -1
  4. package/build/cjs/components/popover/types.d.cts +10 -0
  5. package/build/cjs/components/select/Select.cjs +1 -1
  6. package/build/cjs/components/select/Select.cjs.map +1 -1
  7. package/build/cjs/components/text-area/BaseTextArea.cjs +1 -1
  8. package/build/cjs/components/text-area/BaseTextArea.cjs.map +1 -1
  9. package/build/es/components/popover/Popover.js +1 -1
  10. package/build/es/components/popover/Popover.js.map +1 -1
  11. package/build/es/components/popover/types.d.ts +10 -0
  12. package/build/es/components/select/Select.js +1 -1
  13. package/build/es/components/select/Select.js.map +1 -1
  14. package/build/es/components/text-area/BaseTextArea.js +1 -1
  15. package/build/es/components/text-area/BaseTextArea.js.map +1 -1
  16. package/package.json +1 -1
  17. package/styles/components/countdown/countdown.css +2 -2
  18. package/styles/components/countdown/countdown.min.css +1 -1
  19. package/styles/components/feedback/feedback.css +2 -2
  20. package/styles/components/feedback/feedback.min.css +1 -1
  21. package/styles/components/file-input/file-input.css +9 -9
  22. package/styles/components/file-input/file-input.min.css +1 -1
  23. package/styles/components/input-group/input-group.css +2 -2
  24. package/styles/components/input-group/input-group.min.css +1 -1
  25. package/styles/components/loader/loader.css +6 -6
  26. package/styles/components/loader/loader.min.css +1 -1
  27. package/styles/components/loader/skeleton-loader.css +3 -3
  28. package/styles/components/loader/skeleton-loader.min.css +1 -1
  29. package/styles/components/message/message.css +2 -2
  30. package/styles/components/message/message.min.css +1 -1
  31. package/styles/components/modal/_layout.scss +2 -0
  32. package/styles/components/modal/modal.css +1 -0
  33. package/styles/components/modal/modal.min.css +1 -1
  34. package/styles/components/popover/popover.css +1 -1
  35. package/styles/components/popover/popover.min.css +1 -1
  36. package/styles/components/popover/popover.scss +1 -1
  37. package/styles/components/progress-bar/progress-bar.css +1 -1
  38. package/styles/components/progress-bar/progress-bar.min.css +1 -1
  39. package/styles/components/segmented-control/segmented-control.css +2 -2
  40. package/styles/components/segmented-control/segmented-control.min.css +1 -1
  41. package/styles/components/select/select.css +1 -1
  42. package/styles/components/select/select.min.css +1 -1
  43. package/styles/components/select/select.scss +5 -3
  44. package/styles/components/system-message/system-message.css +2 -2
  45. package/styles/components/system-message/system-message.min.css +1 -1
  46. package/styles/components/toast/toast.css +4 -4
  47. package/styles/components/toast/toast.min.css +1 -1
  48. package/styles/styles.css +27 -26
  49. package/styles/styles.min.css +1 -1
package/styles/styles.css CHANGED
@@ -481,7 +481,7 @@
481
481
  --color: var(--jkl-color-text-default);
482
482
  }
483
483
  .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 {
484
- animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-ucys3ui forwards;
484
+ animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-uu1y9qv forwards;
485
485
  }
486
486
  .jkl-form-support-label--sr-only {
487
487
  border: 0 !important;
@@ -547,7 +547,7 @@
547
547
  .jkl-label:has(+ .jkl-input-group-description) {
548
548
  margin-block-end: var(--jkl-spacing-4);
549
549
  }
550
- @keyframes jkl-support-icon-entrance-ucys3ui {
550
+ @keyframes jkl-support-icon-entrance-uu1y9qv {
551
551
  0% {
552
552
  margin-right: 0;
553
553
  opacity: 0;
@@ -909,22 +909,22 @@
909
909
  animation: 2500ms linear infinite;
910
910
  }
911
911
  .jkl-loader__dot--left {
912
- animation-name: jkl-loader-left-spin-ucys3ve;
912
+ animation-name: jkl-loader-left-spin-uu1y9r3;
913
913
  margin-right: calc(var(--jkl-loader-spacing) * 0.9);
914
914
  }
915
915
  .jkl-loader__dot--middle {
916
- animation-name: jkl-loader-middle-spin-ucys3we;
916
+ animation-name: jkl-loader-middle-spin-uu1y9rq;
917
917
  margin-right: var(--jkl-loader-spacing);
918
918
  }
919
919
  .jkl-loader__dot--right {
920
- animation-name: jkl-loader-right-spin-ucys3wx;
920
+ animation-name: jkl-loader-right-spin-uu1y9sl;
921
921
  }
922
922
  @media screen and (forced-colors: active) {
923
923
  .jkl-loader__dot {
924
924
  background-color: CanvasText;
925
925
  }
926
926
  }
927
- @keyframes jkl-loader-left-spin-ucys3ve {
927
+ @keyframes jkl-loader-left-spin-uu1y9r3 {
928
928
  0% {
929
929
  transform: rotate(0) scale(0);
930
930
  }
@@ -938,7 +938,7 @@
938
938
  transform: rotate(180deg) scale(0);
939
939
  }
940
940
  }
941
- @keyframes jkl-loader-middle-spin-ucys3we {
941
+ @keyframes jkl-loader-middle-spin-uu1y9rq {
942
942
  0% {
943
943
  transform: rotate(20deg) scale(0);
944
944
  }
@@ -955,7 +955,7 @@
955
955
  transform: rotate(200deg) scale(0);
956
956
  }
957
957
  }
958
- @keyframes jkl-loader-right-spin-ucys3wx {
958
+ @keyframes jkl-loader-right-spin-uu1y9sl {
959
959
  0% {
960
960
  transform: rotate(40deg) scale(0);
961
961
  }
@@ -995,7 +995,7 @@
995
995
  @media screen and (forced-colors: active) {
996
996
  .jkl-skeleton-element {
997
997
  border: 1px solid CanvasText;
998
- animation: 2s ease infinite jkl-blink-ucys3xe;
998
+ animation: 2s ease infinite jkl-blink-uu1y9t8;
999
999
  }
1000
1000
  }
1001
1001
  .jkl-skeleton-input {
@@ -1043,10 +1043,10 @@
1043
1043
  }
1044
1044
  @media screen and (forced-colors: active) {
1045
1045
  .jkl-skeleton-table {
1046
- animation: 2s ease-in-out infinite jkl-blink-ucys3xe;
1046
+ animation: 2s ease-in-out infinite jkl-blink-uu1y9t8;
1047
1047
  }
1048
1048
  }
1049
- @keyframes jkl-blink-ucys3xe {
1049
+ @keyframes jkl-blink-uu1y9t8 {
1050
1050
  0% {
1051
1051
  opacity: 1;
1052
1052
  }
@@ -1955,6 +1955,7 @@
1955
1955
  inset: 0;
1956
1956
  }
1957
1957
  .jkl-modal-container {
1958
+ --jkl-floating-z-index: 10000;
1958
1959
  z-index: 9000;
1959
1960
  display: flex;
1960
1961
  align-items: center;
@@ -2150,10 +2151,10 @@
2150
2151
  }
2151
2152
  }
2152
2153
  .jkl-countdown__tracker {
2153
- animation: jkl-downcount-ucys3yv var(--duration) linear forwards;
2154
+ animation: jkl-downcount-uu1y9uo var(--duration) linear forwards;
2154
2155
  animation-play-state: var(--play-state, running);
2155
2156
  }
2156
- @keyframes jkl-downcount-ucys3yv {
2157
+ @keyframes jkl-downcount-uu1y9uo {
2157
2158
  from {
2158
2159
  width: 100%;
2159
2160
  }
@@ -2438,7 +2439,7 @@
2438
2439
  }
2439
2440
  .jkl-popover {
2440
2441
  padding: var(--popover-padding, 0);
2441
- z-index: 10000;
2442
+ z-index: var(--jkl-floating-z-index, 10000);
2442
2443
  box-shadow: 0 4px 20px 0 var(--jkl-datepicker-box-shadow);
2443
2444
  background-color: var(--jkl-color-background-container-high);
2444
2445
  border-radius: var(--jkl-border-radius-s);
@@ -2672,12 +2673,12 @@
2672
2673
  --jkl-icon-size: 1.2em;
2673
2674
  }
2674
2675
  .jkl-feedback__fade-in {
2675
- animation: jkl-show-ucys3ze 0.25s ease-out;
2676
+ animation: jkl-show-uu1y9ur 0.25s ease-out;
2676
2677
  }
2677
2678
  .jkl-feedback__buttons {
2678
2679
  display: flex;
2679
2680
  }
2680
- @keyframes jkl-show-ucys3ze {
2681
+ @keyframes jkl-show-uu1y9ur {
2681
2682
  from {
2682
2683
  transform: translate3d(0, 0.5rem, 0);
2683
2684
  opacity: 0;
@@ -2892,7 +2893,7 @@
2892
2893
  --background-color: var(--jkl-color-background-alert-success);
2893
2894
  }
2894
2895
  .jkl-message--dismissed {
2895
- animation: jkl-dismiss-ucys3zh 400ms ease-in-out forwards;
2896
+ animation: jkl-dismiss-uu1y9vj 400ms ease-in-out forwards;
2896
2897
  transition: visibility 0ms 400ms;
2897
2898
  visibility: hidden;
2898
2899
  }
@@ -2914,7 +2915,7 @@
2914
2915
  .jkl-form-error-message {
2915
2916
  padding-bottom: calc(var(--jkl-unit-base) * 5);
2916
2917
  }
2917
- @keyframes jkl-dismiss-ucys3zh {
2918
+ @keyframes jkl-dismiss-uu1y9vj {
2918
2919
  from {
2919
2920
  opacity: 1;
2920
2921
  transform: translate3d(0, 0, 0);
@@ -4503,7 +4504,7 @@
4503
4504
  background: none;
4504
4505
  box-shadow: none;
4505
4506
  border-radius: 0;
4506
- z-index: 7000;
4507
+ z-index: var(--jkl-floating-z-index, 7000);
4507
4508
  }
4508
4509
  @media (prefers-reduced-motion: no-preference) {
4509
4510
  .jkl-select__options-menu {
@@ -4590,7 +4591,7 @@
4590
4591
  transition-timing-function: ease;
4591
4592
  transition-duration: 150ms;
4592
4593
  }
4593
- @keyframes jkl-downcount-ucys400 {
4594
+ @keyframes jkl-downcount-uu1y9w2 {
4594
4595
  from {
4595
4596
  width: 100%;
4596
4597
  }
@@ -5094,7 +5095,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
5094
5095
  margin-bottom: 0;
5095
5096
  }
5096
5097
  .jkl-system-message--dismissed {
5097
- animation: jkl-dismiss-ucys41b 400ms forwards;
5098
+ animation: jkl-dismiss-uu1y9xc 400ms forwards;
5098
5099
  transition: block 400ms 400ms;
5099
5100
  }
5100
5101
  .jkl-system-message--info {
@@ -5124,7 +5125,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
5124
5125
  border-width: 4px;
5125
5126
  }
5126
5127
  }
5127
- @keyframes jkl-dismiss-ucys41b {
5128
+ @keyframes jkl-dismiss-uu1y9xc {
5128
5129
  from {
5129
5130
  opacity: 1;
5130
5131
  transform: translateY(0);
@@ -5961,12 +5962,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
5961
5962
  }
5962
5963
  .jkl-toast[data-animation=entering],
5963
5964
  .jkl-toast[data-animation=queued] {
5964
- animation: jkl-entering-ucys41s 200ms ease-out forwards;
5965
+ animation: jkl-entering-uu1y9y3 200ms ease-out forwards;
5965
5966
  }
5966
5967
  .jkl-toast[data-animation=exiting] {
5967
- animation: jkl-exiting-ucys42l 150ms ease-in forwards;
5968
+ animation: jkl-exiting-uu1y9yd 150ms ease-in forwards;
5968
5969
  }
5969
- @keyframes jkl-entering-ucys41s {
5970
+ @keyframes jkl-entering-uu1y9y3 {
5970
5971
  from {
5971
5972
  opacity: 0;
5972
5973
  transform: translate3d(0, 50%, 0);
@@ -5976,7 +5977,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
5976
5977
  transform: translate3d(0, 0, 0);
5977
5978
  }
5978
5979
  }
5979
- @keyframes jkl-exiting-ucys42l {
5980
+ @keyframes jkl-exiting-uu1y9yd {
5980
5981
  from {
5981
5982
  opacity: 1;
5982
5983
  transform: translate3d(0, 0, 0);