@fremtind/jokul 4.2.0 → 4.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 (81) hide show
  1. package/build/build-stats.html +1 -1
  2. package/build/cjs/components/checkbox/Checkbox.cjs +1 -1
  3. package/build/cjs/components/checkbox/Checkbox.cjs.map +1 -1
  4. package/build/cjs/components/cookie-consent/CookieConsent.cjs +1 -1
  5. package/build/cjs/components/cookie-consent/CookieConsent.cjs.map +1 -1
  6. package/build/cjs/components/cookie-consent/CookieConsent.d.cts +1 -1
  7. package/build/cjs/components/cookie-consent/types.d.cts +4 -0
  8. package/build/cjs/components/modal/Modal.cjs +1 -1
  9. package/build/cjs/components/modal/Modal.cjs.map +1 -1
  10. package/build/cjs/components/modal/Modal.d.cts +2 -9
  11. package/build/cjs/components/modal/index.d.cts +1 -1
  12. package/build/cjs/components/modal/types.d.cts +18 -0
  13. package/build/cjs/components/radio-button/BaseRadioButton.cjs +1 -1
  14. package/build/cjs/components/radio-button/BaseRadioButton.cjs.map +1 -1
  15. package/build/es/components/checkbox/Checkbox.js +1 -1
  16. package/build/es/components/checkbox/Checkbox.js.map +1 -1
  17. package/build/es/components/cookie-consent/CookieConsent.d.ts +1 -1
  18. package/build/es/components/cookie-consent/CookieConsent.js +1 -1
  19. package/build/es/components/cookie-consent/CookieConsent.js.map +1 -1
  20. package/build/es/components/cookie-consent/types.d.ts +4 -0
  21. package/build/es/components/modal/Modal.d.ts +2 -9
  22. package/build/es/components/modal/Modal.js +1 -1
  23. package/build/es/components/modal/Modal.js.map +1 -1
  24. package/build/es/components/modal/index.d.ts +1 -1
  25. package/build/es/components/modal/types.d.ts +18 -0
  26. package/build/es/components/radio-button/BaseRadioButton.js +1 -1
  27. package/build/es/components/radio-button/BaseRadioButton.js.map +1 -1
  28. package/package.json +1 -1
  29. package/styles/components/checkbox/checkbox.css +13 -9
  30. package/styles/components/checkbox/checkbox.min.css +1 -1
  31. package/styles/components/checkbox/checkbox.scss +25 -22
  32. package/styles/components/checkbox-panel/checkbox-panel.css +28 -22
  33. package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
  34. package/styles/components/countdown/countdown.css +2 -2
  35. package/styles/components/countdown/countdown.min.css +1 -1
  36. package/styles/components/datepicker/_calendar-date-button.scss +5 -5
  37. package/styles/components/datepicker/_calendar.scss +5 -6
  38. package/styles/components/datepicker/datepicker.css +13 -5
  39. package/styles/components/datepicker/datepicker.min.css +1 -1
  40. package/styles/components/feedback/feedback.css +2 -2
  41. package/styles/components/feedback/feedback.min.css +1 -1
  42. package/styles/components/file-input/file-input.css +9 -9
  43. package/styles/components/file-input/file-input.min.css +1 -1
  44. package/styles/components/input-group/input-group.css +2 -2
  45. package/styles/components/input-group/input-group.min.css +1 -1
  46. package/styles/components/input-panel/input-panel.css +15 -13
  47. package/styles/components/input-panel/input-panel.min.css +1 -1
  48. package/styles/components/input-panel/input-panel.scss +17 -15
  49. package/styles/components/loader/loader.css +6 -6
  50. package/styles/components/loader/loader.min.css +1 -1
  51. package/styles/components/loader/skeleton-loader.css +3 -3
  52. package/styles/components/loader/skeleton-loader.min.css +1 -1
  53. package/styles/components/message/message.css +2 -2
  54. package/styles/components/message/message.min.css +1 -1
  55. package/styles/components/modal/_layout.scss +22 -0
  56. package/styles/components/modal/_modal-base.scss +32 -0
  57. package/styles/components/modal/_motion.scss +45 -0
  58. package/styles/components/modal/_overlay.scss +20 -0
  59. package/styles/components/modal/_parts.scss +33 -0
  60. package/styles/components/modal/_placement.scss +59 -0
  61. package/styles/components/modal/modal.css +117 -33
  62. package/styles/components/modal/modal.min.css +1 -1
  63. package/styles/components/modal/modal.scss +6 -95
  64. package/styles/components/progress-bar/progress-bar.css +1 -1
  65. package/styles/components/progress-bar/progress-bar.min.css +1 -1
  66. package/styles/components/radio-button/radio-button.css +12 -8
  67. package/styles/components/radio-button/radio-button.min.css +1 -1
  68. package/styles/components/radio-button/radio-button.scss +20 -17
  69. package/styles/components/radio-panel/radio-panel.css +15 -13
  70. package/styles/components/radio-panel/radio-panel.min.css +1 -1
  71. package/styles/components/segmented-control/segmented-control.css +14 -10
  72. package/styles/components/segmented-control/segmented-control.min.css +1 -1
  73. package/styles/components/system-message/system-message.css +2 -2
  74. package/styles/components/system-message/system-message.min.css +1 -1
  75. package/styles/components/toast/toast.css +4 -4
  76. package/styles/components/toast/toast.min.css +1 -1
  77. package/styles/components-beta/select/select.css +1 -1
  78. package/styles/components-beta/select/select.min.css +1 -1
  79. package/styles/components-beta/select/select.scss +1 -1
  80. package/styles/styles.css +194 -92
  81. package/styles/styles.min.css +1 -1
package/styles/styles.css CHANGED
@@ -467,7 +467,7 @@
467
467
  --color: var(--jkl-color-text-default);
468
468
  }
469
469
  .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 {
470
- animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-usuwc1w forwards;
470
+ animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-u5ixgyl forwards;
471
471
  }
472
472
  .jkl-form-support-label--sr-only {
473
473
  border: 0 !important;
@@ -533,7 +533,7 @@
533
533
  .jkl-label:has(+ .jkl-input-group-description) {
534
534
  margin-block-end: var(--jkl-spacing-4);
535
535
  }
536
- @keyframes jkl-support-icon-entrance-usuwc1w {
536
+ @keyframes jkl-support-icon-entrance-u5ixgyl {
537
537
  0% {
538
538
  margin-right: 0;
539
539
  opacity: 0;
@@ -885,22 +885,22 @@
885
885
  animation: 2500ms linear infinite;
886
886
  }
887
887
  .jkl-loader__dot--left {
888
- animation-name: jkl-loader-left-spin-usuwc2n;
888
+ animation-name: jkl-loader-left-spin-u5ixgyo;
889
889
  margin-right: calc(var(--jkl-loader-spacing) * 0.9);
890
890
  }
891
891
  .jkl-loader__dot--middle {
892
- animation-name: jkl-loader-middle-spin-usuwc2o;
892
+ animation-name: jkl-loader-middle-spin-u5ixgz7;
893
893
  margin-right: var(--jkl-loader-spacing);
894
894
  }
895
895
  .jkl-loader__dot--right {
896
- animation-name: jkl-loader-right-spin-usuwc39;
896
+ animation-name: jkl-loader-right-spin-u5ixgzh;
897
897
  }
898
898
  @media screen and (forced-colors: active) {
899
899
  .jkl-loader__dot {
900
900
  background-color: CanvasText;
901
901
  }
902
902
  }
903
- @keyframes jkl-loader-left-spin-usuwc2n {
903
+ @keyframes jkl-loader-left-spin-u5ixgyo {
904
904
  0% {
905
905
  transform: rotate(0) scale(0);
906
906
  }
@@ -914,7 +914,7 @@
914
914
  transform: rotate(180deg) scale(0);
915
915
  }
916
916
  }
917
- @keyframes jkl-loader-middle-spin-usuwc2o {
917
+ @keyframes jkl-loader-middle-spin-u5ixgz7 {
918
918
  0% {
919
919
  transform: rotate(20deg) scale(0);
920
920
  }
@@ -931,7 +931,7 @@
931
931
  transform: rotate(200deg) scale(0);
932
932
  }
933
933
  }
934
- @keyframes jkl-loader-right-spin-usuwc39 {
934
+ @keyframes jkl-loader-right-spin-u5ixgzh {
935
935
  0% {
936
936
  transform: rotate(40deg) scale(0);
937
937
  }
@@ -971,7 +971,7 @@
971
971
  @media screen and (forced-colors: active) {
972
972
  .jkl-skeleton-element {
973
973
  border: 1px solid CanvasText;
974
- animation: 2s ease infinite jkl-blink-usuwc3p;
974
+ animation: 2s ease infinite jkl-blink-u5ixh01;
975
975
  }
976
976
  }
977
977
  .jkl-skeleton-input {
@@ -1019,10 +1019,10 @@
1019
1019
  }
1020
1020
  @media screen and (forced-colors: active) {
1021
1021
  .jkl-skeleton-table {
1022
- animation: 2s ease-in-out infinite jkl-blink-usuwc3p;
1022
+ animation: 2s ease-in-out infinite jkl-blink-u5ixh01;
1023
1023
  }
1024
1024
  }
1025
- @keyframes jkl-blink-usuwc3p {
1025
+ @keyframes jkl-blink-u5ixh01 {
1026
1026
  0% {
1027
1027
  opacity: 1;
1028
1028
  }
@@ -1243,9 +1243,13 @@
1243
1243
  .jkl-checkbox__input {
1244
1244
  position: absolute;
1245
1245
  opacity: 0;
1246
- pointer-events: none;
1247
- inset: 0 auto 0 0;
1248
- width: 1lh;
1246
+ inset-block-start: 0;
1247
+ inset-inline-start: 0;
1248
+ block-size: 1lh;
1249
+ inline-size: 1lh;
1250
+ margin: 0;
1251
+ cursor: pointer;
1252
+ z-index: 1;
1249
1253
  }
1250
1254
  .jkl-checkbox__label {
1251
1255
  cursor: pointer;
@@ -1258,9 +1262,6 @@
1258
1262
  font-weight: 400;
1259
1263
  --jkl-icon-weight: 300;
1260
1264
  }
1261
- .jkl-checkbox__label:hover, .jkl-checkbox__label:active {
1262
- --jkl-icon-weight: 400;
1263
- }
1264
1265
  .jkl-checkbox__label::before {
1265
1266
  content: "check_box_outline_blank";
1266
1267
  margin-inline-end: 0.25em;
@@ -1277,15 +1278,18 @@
1277
1278
  transition-duration: 75ms;
1278
1279
  transition-property: font-variation-settings, transform;
1279
1280
  }
1280
- .jkl-checkbox__label:has(+ :checked)::before {
1281
+ .jkl-checkbox__input:is(:hover, :active) + .jkl-checkbox__label, .jkl-checkbox__label:hover, .jkl-checkbox__label:active {
1282
+ --jkl-icon-weight: 400;
1283
+ }
1284
+ .jkl-checkbox__input:checked + .jkl-checkbox__label::before {
1281
1285
  content: "check_box";
1282
1286
  --jkl-icon-fill: 1;
1283
1287
  }
1284
- .jkl-checkbox__label:has(+ :indeterminate:not(:checked))::before {
1288
+ .jkl-checkbox__input:indeterminate:not(:checked) + .jkl-checkbox__label::before {
1285
1289
  content: "indeterminate_check_box";
1286
1290
  --jkl-icon-fill: 1;
1287
1291
  }
1288
- .jkl-checkbox__label:has(+ [aria-invalid=true])::before {
1292
+ .jkl-checkbox__input[aria-invalid=true] + .jkl-checkbox__label::before {
1289
1293
  color: var(--jkl-checkbox-error-color);
1290
1294
  }
1291
1295
  .jkl-checkbox + .jkl-checkbox {
@@ -1323,29 +1327,31 @@
1323
1327
  position: relative;
1324
1328
  padding: var(--jkl-unit-20) var(--padding-inline);
1325
1329
  }
1330
+ .jkl-input-panel__header .jkl-radio-button,
1331
+ .jkl-input-panel__header .jkl-checkbox {
1332
+ grid-column: 1/-1;
1333
+ grid-row: 1;
1334
+ inline-size: 100%;
1335
+ }
1336
+ .jkl-input-panel__header label {
1337
+ inline-size: 100%;
1338
+ }
1326
1339
  .jkl-input-panel__header__amount {
1327
1340
  display: flex;
1328
1341
  height: 100%;
1329
1342
  align-items: center;
1343
+ grid-column: 2;
1344
+ grid-row: 1;
1345
+ justify-self: end;
1346
+ pointer-events: none;
1347
+ position: relative;
1348
+ z-index: 1;
1330
1349
  font-size: var(--jkl-font-size-3);
1331
1350
  line-height: var(--jkl-line-height-tight);
1332
1351
  font-weight: 400;
1333
1352
  --jkl-icon-weight: 300;
1334
1353
  font-weight: 700;
1335
1354
  }
1336
- .jkl-input-panel__header label,
1337
- .jkl-input-panel__header .jkl-radio-button,
1338
- .jkl-input-panel__header .jkl-checkbox {
1339
- position: unset;
1340
- }
1341
- .jkl-input-panel__header label::after {
1342
- content: "";
1343
- position: absolute;
1344
- top: 0;
1345
- left: 0;
1346
- inline-size: 100%;
1347
- block-size: 100%;
1348
- }
1349
1355
  .jkl-input-panel__description {
1350
1356
  height: 0;
1351
1357
  overflow: hidden;
@@ -1891,6 +1897,7 @@
1891
1897
  }
1892
1898
  }
1893
1899
  @layer jokul.components {
1900
+ /* Base layout */
1894
1901
  .jkl-modal-container,
1895
1902
  .jkl-modal-overlay {
1896
1903
  position: fixed;
@@ -1899,29 +1906,46 @@
1899
1906
  .jkl-modal-container {
1900
1907
  z-index: 9000;
1901
1908
  display: flex;
1909
+ align-items: center;
1910
+ justify-content: center;
1902
1911
  }
1903
1912
  .jkl-modal-container[aria-hidden=true] {
1904
- display: none;
1913
+ visibility: hidden;
1914
+ pointer-events: none;
1905
1915
  }
1916
+ }
1917
+ @layer jokul.components {
1906
1918
  .jkl-modal-overlay {
1907
1919
  background-color: rgba(27, 25, 23, 0.8);
1920
+ opacity: 0;
1921
+ transition-timing-function: ease-out;
1922
+ transition-duration: 250ms;
1923
+ transition-property: opacity;
1924
+ }
1925
+ .jkl-modal-container:not([aria-hidden=true]) .jkl-modal-overlay {
1926
+ opacity: 1;
1908
1927
  }
1928
+ @media (prefers-reduced-motion: reduce) {
1929
+ .jkl-modal-overlay {
1930
+ transition-duration: 0ms;
1931
+ }
1932
+ }
1933
+ }
1934
+ @layer jokul.components {
1909
1935
  .jkl-modal {
1910
- --jkl-modal-padding: var(--jkl-unit-50);
1911
- --jkl-modal-min-width: 13.75rem;
1912
- --jkl-modal-max-width: 41.25rem;
1913
- margin: auto;
1936
+ --margin: var(--jkl-spacing-m);
1937
+ container-type: inline-size;
1938
+ box-sizing: border-box;
1939
+ margin: var(--margin);
1940
+ padding: var(--modal-padding, var(--jkl-unit-40));
1914
1941
  z-index: 9000;
1915
- position: relative;
1916
1942
  background-color: var(--jkl-color-background-container-high);
1917
- border-radius: 0.125rem;
1943
+ border-radius: var(--jkl-border-radius-l);
1918
1944
  box-shadow: 0 0.25rem 0.75rem rgba(37, 42, 49, 0.03);
1919
- width: 100%;
1920
- min-width: var(--jkl-modal-min-width);
1921
- max-width: var(--jkl-modal-max-width);
1945
+ width: min(100vw - 2 * var(--margin), var(--modal-width, 60ch));
1946
+ max-width: none;
1922
1947
  max-height: 90vh;
1923
1948
  overflow: auto;
1924
- padding: var(--jkl-modal-padding);
1925
1949
  display: flex;
1926
1950
  flex-direction: column;
1927
1951
  }
@@ -1930,26 +1954,100 @@
1930
1954
  border-color: CanvasText;
1931
1955
  }
1932
1956
  }
1933
- @media (width >= 0) and (max-width: 679px) {
1934
- .jkl-modal {
1935
- margin: auto var(--jkl-unit-30);
1936
- }
1957
+ }
1958
+ @layer jokul.components {
1959
+ .jkl-modal-container--slide-in {
1960
+ --jkl-modal-slide-x: 0px;
1961
+ --jkl-modal-slide-y: 12px;
1962
+ transition-timing-function: ease-in;
1963
+ transition-duration: 250ms;
1964
+ transition-property: visibility;
1965
+ transition-duration: 0ms;
1937
1966
  }
1938
- .jkl-modal-header {
1939
- --jkl-modal-header-margin: 0 0 var(--jkl-unit-20);
1967
+ .jkl-modal-container--slide-in[aria-hidden=true] {
1968
+ display: flex;
1969
+ visibility: hidden;
1970
+ pointer-events: none;
1971
+ transition-delay: 250ms;
1940
1972
  }
1941
- @media (width >= 0) and (max-width: 679px) {
1942
- .jkl-modal-header {
1943
- --jkl-modal-header-margin: 0 0 var(--jkl-unit-15);
1973
+ .jkl-modal-container--slide-in:not([aria-hidden=true]) {
1974
+ visibility: visible;
1975
+ transition-delay: 0ms;
1976
+ }
1977
+ .jkl-modal-container--slide-in .jkl-modal {
1978
+ transition-timing-function: ease-out;
1979
+ transition-duration: 250ms;
1980
+ transition-property: transform, opacity;
1981
+ transform: translate(var(--jkl-modal-slide-x), var(--jkl-modal-slide-y));
1982
+ opacity: 0;
1983
+ will-change: transform, opacity;
1984
+ }
1985
+ .jkl-modal-container--slide-in:not([aria-hidden=true]) .jkl-modal {
1986
+ transform: translate(0, 0);
1987
+ opacity: 1;
1988
+ }
1989
+ @media (prefers-reduced-motion: reduce) {
1990
+ .jkl-modal-container--slide-in .jkl-modal {
1991
+ transition-duration: 0ms;
1944
1992
  }
1945
1993
  }
1994
+ }
1995
+ @layer jokul.components {
1996
+ /* Placement: bottom */
1997
+ .jkl-modal-container--placement-bottom {
1998
+ align-items: flex-end;
1999
+ }
2000
+ .jkl-modal-container--placement-bottom.jkl-modal-container--slide-in {
2001
+ --jkl-modal-slide-x: 0px;
2002
+ --jkl-modal-slide-y: 24px;
2003
+ }
2004
+ .jkl-modal-container--placement-bottom .jkl-modal {
2005
+ --margin: 0px;
2006
+ width: min(100vw, var(--modal-width, 100vw));
2007
+ border-bottom-left-radius: 0;
2008
+ border-bottom-right-radius: 0;
2009
+ }
2010
+ /* Placement: left */
2011
+ .jkl-modal-container--placement-left {
2012
+ justify-content: flex-start;
2013
+ }
2014
+ .jkl-modal-container--placement-left.jkl-modal-container--slide-in {
2015
+ --jkl-modal-slide-x: -24px;
2016
+ --jkl-modal-slide-y: 0px;
2017
+ }
2018
+ .jkl-modal-container--placement-left .jkl-modal {
2019
+ height: 100%;
2020
+ max-height: 100%;
2021
+ margin-block: 0;
2022
+ margin-inline-start: 0;
2023
+ border-top-left-radius: 0;
2024
+ border-bottom-left-radius: 0;
2025
+ }
2026
+ /* Placement: right */
2027
+ .jkl-modal-container--placement-right {
2028
+ justify-content: flex-end;
2029
+ }
2030
+ .jkl-modal-container--placement-right.jkl-modal-container--slide-in {
2031
+ --jkl-modal-slide-x: 24px;
2032
+ --jkl-modal-slide-y: 0px;
2033
+ }
2034
+ .jkl-modal-container--placement-right .jkl-modal {
2035
+ height: 100%;
2036
+ max-height: 100%;
2037
+ margin-block: 0;
2038
+ margin-inline-end: 0;
2039
+ border-top-right-radius: 0;
2040
+ border-bottom-right-radius: 0;
2041
+ }
2042
+ }
2043
+ @layer jokul.components {
1946
2044
  .jkl-modal-header {
2045
+ --jkl-modal-header-margin: 0 0 var(--jkl-unit-20);
1947
2046
  display: flex;
1948
2047
  flex-direction: row;
1949
2048
  justify-content: space-between;
1950
2049
  align-items: center;
1951
2050
  margin: var(--jkl-modal-header-margin);
1952
- gap: var(--jkl-modal-gap);
1953
2051
  }
1954
2052
  .jkl-modal-body {
1955
2053
  font-size: var(--jkl-font-size-3);
@@ -1964,20 +2062,12 @@
1964
2062
  --jkl-icon-weight: 400;
1965
2063
  }
1966
2064
  .jkl-modal-actions {
1967
- --jkl-modal-actions-margin: var(--jkl-unit-50) 0 0 0;
1968
- }
1969
- @media (width >= 0) and (max-width: 679px) {
1970
- .jkl-modal-actions {
1971
- --jkl-modal-actions-margin: var(--jkl-unit-40) 0 0 0;
1972
- }
1973
- }
1974
- .jkl-modal-actions {
1975
- margin: var(--jkl-modal-actions-margin);
2065
+ margin-block-start: var(--jkl-unit-50);
1976
2066
  display: flex;
1977
2067
  flex-direction: column;
1978
- gap: var(--jkl-unit-20);
2068
+ gap: var(--jkl-unit-15) var(--jkl-unit-20);
1979
2069
  }
1980
- @media (min-width: 60ch) {
2070
+ @container (width > 35ch /* ~380px ved vanlig zoom/size */) {
1981
2071
  .jkl-modal-actions {
1982
2072
  flex-direction: row-reverse;
1983
2073
  align-self: flex-end;
@@ -2009,10 +2099,10 @@
2009
2099
  }
2010
2100
  }
2011
2101
  .jkl-countdown__tracker {
2012
- animation: jkl-downcount-usuwc4y var(--duration) linear forwards;
2102
+ animation: jkl-downcount-u5ixh1h var(--duration) linear forwards;
2013
2103
  animation-play-state: var(--play-state, running);
2014
2104
  }
2015
- @keyframes jkl-downcount-usuwc4y {
2105
+ @keyframes jkl-downcount-u5ixh1h {
2016
2106
  from {
2017
2107
  width: 100%;
2018
2108
  }
@@ -2022,12 +2112,16 @@
2022
2112
  }
2023
2113
  }
2024
2114
  @layer jokul.components {
2025
- @media (width >= 0) and (max-width: 374px) {
2026
- --jkl-calendar-padding: var(--jkl-unit-05) var(--jkl-unit-10) var(--jkl-unit-20);
2027
- }
2028
2115
  .jkl-calendar {
2029
2116
  --jkl-calendar-padding: var(--jkl-unit-15) var(--jkl-unit-20) var(--jkl-unit-20);
2030
2117
  --jkl-calendar-gap: var(--jkl-unit-15);
2118
+ }
2119
+ @media (width >= 0) and (max-width: 374px) {
2120
+ .jkl-calendar {
2121
+ --jkl-calendar-padding: var(--jkl-unit-05) var(--jkl-unit-10) var(--jkl-unit-20);
2122
+ }
2123
+ }
2124
+ .jkl-calendar {
2031
2125
  display: block;
2032
2126
  background-color: var(--jkl-color-background-container-high);
2033
2127
  color: var(--jkl-color);
@@ -2140,11 +2234,15 @@
2140
2234
  }
2141
2235
  }
2142
2236
  @layer jokul.components {
2237
+ .jkl-calendar-date-button {
2238
+ --jkl-calendar-date-size: var(--jkl-unit-50);
2239
+ }
2143
2240
  @media (width >= 0) and (max-width: 374px) {
2144
- --jkl-calendar-date-size: var(--jkl-unit-40);
2241
+ .jkl-calendar-date-button {
2242
+ --jkl-calendar-date-size: var(--jkl-unit-40);
2243
+ }
2145
2244
  }
2146
2245
  .jkl-calendar-date-button {
2147
- --jkl-calendar-date-size: var(--jkl-unit-50);
2148
2246
  font-size: var(--jkl-font-size-2);
2149
2247
  line-height: var(--jkl-line-height-tight);
2150
2248
  font-weight: 400;
@@ -2505,12 +2603,12 @@
2505
2603
  --jkl-icon-size: 1.2em;
2506
2604
  }
2507
2605
  .jkl-feedback__fade-in {
2508
- animation: jkl-show-usuwc5o 0.25s ease-out;
2606
+ animation: jkl-show-u5ixh1k 0.25s ease-out;
2509
2607
  }
2510
2608
  .jkl-feedback__buttons {
2511
2609
  display: flex;
2512
2610
  }
2513
- @keyframes jkl-show-usuwc5o {
2611
+ @keyframes jkl-show-u5ixh1k {
2514
2612
  from {
2515
2613
  transform: translate3d(0, 0.5rem, 0);
2516
2614
  opacity: 0;
@@ -2727,7 +2825,7 @@
2727
2825
  --background-color: var(--jkl-color-background-alert-success);
2728
2826
  }
2729
2827
  .jkl-message--dismissed {
2730
- animation: jkl-dismiss-usuwc5p 400ms ease-in-out forwards;
2828
+ animation: jkl-dismiss-u5ixh2h 400ms ease-in-out forwards;
2731
2829
  transition: visibility 0ms 400ms;
2732
2830
  visibility: hidden;
2733
2831
  }
@@ -2749,7 +2847,7 @@
2749
2847
  .jkl-form-error-message {
2750
2848
  padding-bottom: calc(var(--jkl-unit-base) * 5);
2751
2849
  }
2752
- @keyframes jkl-dismiss-usuwc5p {
2850
+ @keyframes jkl-dismiss-u5ixh2h {
2753
2851
  from {
2754
2852
  opacity: 1;
2755
2853
  transform: translate3d(0, 0, 0);
@@ -2804,9 +2902,13 @@
2804
2902
  .jkl-radio-button__input {
2805
2903
  position: absolute;
2806
2904
  opacity: 0;
2807
- pointer-events: none;
2808
- inset: 0 auto 0 0;
2809
- width: 1lh;
2905
+ inset-block-start: 0;
2906
+ inset-inline-start: 0;
2907
+ block-size: 1lh;
2908
+ inline-size: 1lh;
2909
+ margin: 0;
2910
+ cursor: pointer;
2911
+ z-index: 1;
2810
2912
  }
2811
2913
  .jkl-radio-button__label {
2812
2914
  cursor: pointer;
@@ -2819,9 +2921,6 @@
2819
2921
  font-weight: 400;
2820
2922
  --jkl-icon-weight: 300;
2821
2923
  }
2822
- .jkl-radio-button__label:hover, .jkl-radio-button__label:active {
2823
- --jkl-icon-weight: 400;
2824
- }
2825
2924
  .jkl-radio-button__label::before {
2826
2925
  content: "radio_button_unchecked";
2827
2926
  margin-inline-end: 0.25em;
@@ -2838,10 +2937,13 @@
2838
2937
  transition-duration: 75ms;
2839
2938
  transition-property: font-variation-settings, transform;
2840
2939
  }
2841
- .jkl-radio-button__label:has(+ :checked)::before {
2940
+ .jkl-radio-button__input:is(:hover, :active) + .jkl-radio-button__label, .jkl-radio-button__label:hover, .jkl-radio-button__label:active {
2941
+ --jkl-icon-weight: 400;
2942
+ }
2943
+ .jkl-radio-button__input:checked + .jkl-radio-button__label::before {
2842
2944
  content: "radio_button_checked";
2843
2945
  }
2844
- .jkl-radio-button__label:has(+ [aria-invalid=true])::before {
2946
+ .jkl-radio-button__input[aria-invalid=true] + .jkl-radio-button__label::before {
2845
2947
  color: var(--jkl-radio-button-error-color);
2846
2948
  }
2847
2949
  .jkl-radio-button + .jkl-radio-button, .jkl-dormant-form-support-label + .jkl-radio-button, .jkl-form-support-label + .jkl-radio-button {
@@ -4098,7 +4200,7 @@
4098
4200
  transition-timing-function: ease;
4099
4201
  transition-duration: 150ms;
4100
4202
  }
4101
- @keyframes jkl-downcount-usuwc64 {
4203
+ @keyframes jkl-downcount-u5ixh3f {
4102
4204
  from {
4103
4205
  width: 100%;
4104
4206
  }
@@ -4115,7 +4217,7 @@
4115
4217
  }
4116
4218
  .jkl-select--beta {
4117
4219
  --border-color: var(--jkl-color-border-input);
4118
- --background-color: var(transparent);
4220
+ --background-color: transparent;
4119
4221
  --color: var(--jkl-color-text-default);
4120
4222
  --box-shadow: 0 0 0 jkl.rem(1px) transparent;
4121
4223
  --border-width: 0.0625rem;
@@ -4608,7 +4710,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
4608
4710
  margin-bottom: 0;
4609
4711
  }
4610
4712
  .jkl-system-message--dismissed {
4611
- animation: jkl-dismiss-usuwc7c 400ms forwards;
4713
+ animation: jkl-dismiss-u5ixh4w 400ms forwards;
4612
4714
  transition: block 400ms 400ms;
4613
4715
  }
4614
4716
  .jkl-system-message--info {
@@ -4638,7 +4740,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
4638
4740
  border-width: 4px;
4639
4741
  }
4640
4742
  }
4641
- @keyframes jkl-dismiss-usuwc7c {
4743
+ @keyframes jkl-dismiss-u5ixh4w {
4642
4744
  from {
4643
4745
  opacity: 1;
4644
4746
  transform: translateY(0);
@@ -5475,12 +5577,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
5475
5577
  }
5476
5578
  .jkl-toast[data-animation=entering],
5477
5579
  .jkl-toast[data-animation=queued] {
5478
- animation: jkl-entering-usuwc88 200ms ease-out forwards;
5580
+ animation: jkl-entering-u5ixh4y 200ms ease-out forwards;
5479
5581
  }
5480
5582
  .jkl-toast[data-animation=exiting] {
5481
- animation: jkl-exiting-usuwc8q 150ms ease-in forwards;
5583
+ animation: jkl-exiting-u5ixh5i 150ms ease-in forwards;
5482
5584
  }
5483
- @keyframes jkl-entering-usuwc88 {
5585
+ @keyframes jkl-entering-u5ixh4y {
5484
5586
  from {
5485
5587
  opacity: 0;
5486
5588
  transform: translate3d(0, 50%, 0);
@@ -5490,7 +5592,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
5490
5592
  transform: translate3d(0, 0, 0);
5491
5593
  }
5492
5594
  }
5493
- @keyframes jkl-exiting-usuwc8q {
5595
+ @keyframes jkl-exiting-u5ixh5i {
5494
5596
  from {
5495
5597
  opacity: 1;
5496
5598
  transform: translate3d(0, 0, 0);