@fremtind/jokul 0.37.9 → 0.37.11

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 (133) hide show
  1. package/build/build-stats.html +1 -1
  2. package/build/cjs/components/accordion/AccordionItem.cjs +1 -1
  3. package/build/cjs/components/accordion/AccordionItem.cjs.map +1 -1
  4. package/build/cjs/components/button/Button.cjs +1 -1
  5. package/build/cjs/components/button/Button.cjs.map +1 -1
  6. package/build/cjs/components/expander/ExpandablePanel.cjs +1 -1
  7. package/build/cjs/components/expander/ExpandablePanel.cjs.map +1 -1
  8. package/build/cjs/components/expander/ExpandablePanelContent.cjs +1 -1
  9. package/build/cjs/components/expander/ExpandablePanelContent.cjs.map +1 -1
  10. package/build/cjs/components/expander/Expander.cjs +1 -1
  11. package/build/cjs/components/expander/Expander.cjs.map +1 -1
  12. package/build/cjs/components/expander/context.cjs +1 -1
  13. package/build/cjs/components/expander/context.cjs.map +1 -1
  14. package/build/cjs/components/expander/types.d.cts +1 -0
  15. package/build/cjs/components/message/Message.cjs +1 -1
  16. package/build/cjs/components/message/Message.cjs.map +1 -1
  17. package/build/cjs/components/system-message/SystemMessage.cjs +1 -1
  18. package/build/cjs/components/system-message/SystemMessage.cjs.map +1 -1
  19. package/build/cjs/components/text-input/BaseTextInput.cjs +1 -1
  20. package/build/cjs/components/text-input/BaseTextInput.cjs.map +1 -1
  21. package/build/cjs/components/text-input/BaseTextInput.d.cts +1 -1
  22. package/build/cjs/components/toast/Toast.cjs +1 -1
  23. package/build/cjs/components/toast/Toast.cjs.map +1 -1
  24. package/build/es/components/accordion/AccordionItem.js +1 -1
  25. package/build/es/components/accordion/AccordionItem.js.map +1 -1
  26. package/build/es/components/button/Button.js +1 -1
  27. package/build/es/components/button/Button.js.map +1 -1
  28. package/build/es/components/expander/ExpandablePanel.js +1 -1
  29. package/build/es/components/expander/ExpandablePanel.js.map +1 -1
  30. package/build/es/components/expander/ExpandablePanelContent.js +1 -1
  31. package/build/es/components/expander/ExpandablePanelContent.js.map +1 -1
  32. package/build/es/components/expander/Expander.js +1 -1
  33. package/build/es/components/expander/Expander.js.map +1 -1
  34. package/build/es/components/expander/context.js +1 -1
  35. package/build/es/components/expander/context.js.map +1 -1
  36. package/build/es/components/expander/types.d.ts +1 -0
  37. package/build/es/components/message/Message.js +1 -1
  38. package/build/es/components/message/Message.js.map +1 -1
  39. package/build/es/components/system-message/SystemMessage.js +1 -1
  40. package/build/es/components/system-message/SystemMessage.js.map +1 -1
  41. package/build/es/components/text-input/BaseTextInput.d.ts +1 -1
  42. package/build/es/components/text-input/BaseTextInput.js +1 -1
  43. package/build/es/components/text-input/BaseTextInput.js.map +1 -1
  44. package/build/es/components/toast/Toast.js +1 -1
  45. package/build/es/components/toast/Toast.js.map +1 -1
  46. package/package.json +2 -2
  47. package/styles/components/accordion/accordion.css +7 -1
  48. package/styles/components/accordion/accordion.min.css +2 -2
  49. package/styles/components/accordion/accordion.scss +6 -0
  50. package/styles/components/breadcrumb/breadcrumb.css +4 -0
  51. package/styles/components/breadcrumb/breadcrumb.min.css +1 -1
  52. package/styles/components/breadcrumb/breadcrumb.scss +4 -0
  53. package/styles/components/button/button.css +4 -4
  54. package/styles/components/button/button.min.css +1 -1
  55. package/styles/components/card/card.css +2 -2
  56. package/styles/components/card/card.min.css +1 -1
  57. package/styles/components/checkbox/checkbox.css +9 -10
  58. package/styles/components/checkbox/checkbox.min.css +1 -1
  59. package/styles/components/checkbox/checkbox.scss +4 -9
  60. package/styles/components/chip/chip.css +2 -2
  61. package/styles/components/chip/chip.min.css +1 -1
  62. package/styles/components/combobox/combobox.css +9 -14
  63. package/styles/components/combobox/combobox.min.css +1 -1
  64. package/styles/components/combobox/combobox.scss +12 -18
  65. package/styles/components/datepicker/_calendar-date-button.scss +4 -7
  66. package/styles/components/datepicker/_calendar-navigation-dropdown.scss +2 -5
  67. package/styles/components/datepicker/_calendar-navigation.scss +3 -6
  68. package/styles/components/datepicker/_calendar.scss +2 -16
  69. package/styles/components/datepicker/datepicker.css +14 -46
  70. package/styles/components/datepicker/datepicker.min.css +1 -1
  71. package/styles/components/expander/deprecated/expander.css +2 -2
  72. package/styles/components/expander/deprecated/expander.min.css +1 -1
  73. package/styles/components/expander/expandable.css +49 -12
  74. package/styles/components/expander/expandable.min.css +1 -1
  75. package/styles/components/expander/expandable.scss +39 -11
  76. package/styles/components/feedback/feedback.css +2 -2
  77. package/styles/components/feedback/feedback.min.css +1 -1
  78. package/styles/components/file-input/_file.scss +10 -4
  79. package/styles/components/file-input/file-input.css +31 -7
  80. package/styles/components/file-input/file-input.min.css +1 -1
  81. package/styles/components/file-input/file-input.scss +1 -2
  82. package/styles/components/icon-button/icon-button.css +7 -39
  83. package/styles/components/icon-button/icon-button.min.css +1 -1
  84. package/styles/components/icon-button/icon-button.scss +6 -23
  85. package/styles/components/input-group/input-group.css +2 -2
  86. package/styles/components/input-group/input-group.min.css +1 -1
  87. package/styles/components/input-panel/checkbox-panel.css +10 -8
  88. package/styles/components/input-panel/checkbox-panel.min.css +1 -1
  89. package/styles/components/input-panel/radio-panel.css +10 -8
  90. package/styles/components/input-panel/radio-panel.min.css +1 -1
  91. package/styles/components/input-panel/shared.css +8 -6
  92. package/styles/components/input-panel/shared.min.css +1 -1
  93. package/styles/components/input-panel/shared.scss +9 -7
  94. package/styles/components/link/link.css +4 -5
  95. package/styles/components/link/link.min.css +1 -1
  96. package/styles/components/link/link.scss +2 -3
  97. package/styles/components/link-list/link-list.css +1 -1
  98. package/styles/components/link-list/link-list.min.css +1 -1
  99. package/styles/components/link-list/link-list.scss +1 -1
  100. package/styles/components/loader/loader.css +6 -6
  101. package/styles/components/loader/loader.min.css +1 -1
  102. package/styles/components/loader/skeleton-loader.css +5 -5
  103. package/styles/components/loader/skeleton-loader.min.css +1 -1
  104. package/styles/components/message/message.css +12 -10
  105. package/styles/components/message/message.min.css +1 -1
  106. package/styles/components/message/message.scss +10 -8
  107. package/styles/components/pagination/pagination.css +2 -2
  108. package/styles/components/pagination/pagination.min.css +1 -1
  109. package/styles/components/pagination/pagination.scss +1 -1
  110. package/styles/components/progress-bar/progress-bar.css +2 -2
  111. package/styles/components/progress-bar/progress-bar.min.css +1 -1
  112. package/styles/components/radio-button/radio-button.css +4 -4
  113. package/styles/components/radio-button/radio-button.min.css +1 -1
  114. package/styles/components/select/select.css +7 -5
  115. package/styles/components/select/select.min.css +1 -1
  116. package/styles/components/select/select.scss +6 -5
  117. package/styles/components/system-message/system-message.css +21 -14
  118. package/styles/components/system-message/system-message.min.css +1 -1
  119. package/styles/components/system-message/system-message.scss +22 -18
  120. package/styles/components/tabs/tabs.css +1 -1
  121. package/styles/components/tabs/tabs.min.css +1 -1
  122. package/styles/components/text-input/text-input.css +45 -53
  123. package/styles/components/text-input/text-input.min.css +1 -1
  124. package/styles/components/text-input/text-input.scss +50 -65
  125. package/styles/components/toast/toast.css +4 -4
  126. package/styles/components/toast/toast.min.css +1 -1
  127. package/styles/components/toggle-switch/toggle-switch.css +2 -2
  128. package/styles/components/toggle-switch/toggle-switch.min.css +1 -1
  129. package/styles/components/tooltip/tooltip.css +1 -1
  130. package/styles/components/tooltip/tooltip.min.css +1 -1
  131. package/styles/core/jkl/_ornaments.scss +1 -1
  132. package/styles/styles.css +242 -261
  133. package/styles/styles.min.css +2 -2
@@ -3,7 +3,6 @@
3
3
  * Generated on Mon, 28 Oct 2024 14:22:00 GMT
4
4
  */
5
5
  .jkl-expandable {
6
- --border-radius: 0.25rem;
7
6
  background-color: var(--jkl-color-background-container-low);
8
7
  border-radius: var(--border-radius);
9
8
  box-sizing: border-box;
@@ -26,22 +25,39 @@
26
25
  border: 1px solid var(--jkl-color-border-separator);
27
26
  background-color: transparent;
28
27
  border-radius: 0;
28
+ border-radius: var(--border-top-left-radius) var(--border-top-right-radius) var(--border-bottom-right-radius) var(--border-bottom-left-radius);
29
+ }
30
+ .jkl-expandable__wrapper {
31
+ --border-radius: 0.25rem;
32
+ --outline-offset: 3px;
33
+ position: relative;
29
34
  }
30
- .jkl-expandable--stroke + .jkl-expandable--stroke {
35
+ .jkl-expandable__wrapper + .jkl-expandable__wrapper .jkl-expandable--stroke {
31
36
  border-top: none;
32
37
  }
33
- .jkl-expandable--stroke:first-child {
34
- border-top-left-radius: var(--border-radius);
35
- border-top-right-radius: var(--border-radius);
38
+ .jkl-expandable__wrapper:first-child {
39
+ --border-top-left-radius: var(--border-radius);
40
+ --border-top-right-radius: var(--border-radius);
36
41
  }
37
- .jkl-expandable--stroke:last-child {
38
- border-bottom-left-radius: var(--border-radius);
39
- border-bottom-right-radius: var(--border-radius);
42
+ .jkl-expandable__wrapper:last-child {
43
+ --border-bottom-left-radius: var(--border-radius);
44
+ --border-bottom-right-radius: var(--border-radius);
40
45
  }
41
- @media (hover: hover) {
42
- .jkl-expandable:hover .jkl-expander {
43
- background-color: var(--jkl-color-background-interactive-selected);
44
- }
46
+ .jkl-expandable__wrapper:has(:focus-visible):has(.jkl-expandable--stroke) {
47
+ --outline-offset: -1px;
48
+ }
49
+ .jkl-expandable__wrapper:has(:focus-visible) .jkl-expandable__focus-container {
50
+ outline: 3px solid var(--jkl-color-border-action);
51
+ outline-offset: 3px;
52
+ outline-offset: var(--outline-offset);
53
+ }
54
+ .jkl-expandable__wrapper:has(:focus-visible):first-child:last-child {
55
+ --outline-offset: 3px;
56
+ }
57
+ .jkl-expandable__focus-container {
58
+ border-radius: var(--border-radius);
59
+ position: absolute;
60
+ inset: 0;
45
61
  }
46
62
 
47
63
  .jkl-expander {
@@ -53,6 +69,7 @@
53
69
  width: 100%;
54
70
  padding: 1rem;
55
71
  cursor: pointer;
72
+ color: var(--jkl-color);
56
73
  display: flex;
57
74
  gap: 0.5rem;
58
75
  align-items: center;
@@ -85,4 +102,24 @@
85
102
  .jkl-expander:hover {
86
103
  background-color: var(--jkl-color-background-interactive-hover);
87
104
  }
105
+ }
106
+ .jkl-expander {
107
+ outline: 0;
108
+ border-style: none;
109
+ outline-style: none;
110
+ }
111
+ .jkl-expander:active, .jkl-expander:hover, .jkl-expander:focus {
112
+ outline: 0;
113
+ outline-style: none;
114
+ }
115
+ @media screen and (forced-colors: active) {
116
+ .jkl-expander {
117
+ outline: revert;
118
+ border-style: revert;
119
+ outline-style: revert;
120
+ }
121
+ .jkl-expander:active, .jkl-expander:hover, .jkl-expander:focus {
122
+ outline: revert;
123
+ outline-style: revert;
124
+ }
88
125
  }
@@ -1 +1 @@
1
- .jkl-expandable{--border-radius:0.25rem;background-color:var(--jkl-color-background-container-low);border-radius:var(--border-radius);box-sizing:border-box;overflow:hidden;width:100%}.jkl-expandable__content[data-expanded=true]{height:auto}.jkl-expandable__content[data-expanded=false]{height:0}.jkl-expandable[data-visible-content=true] .jkl-expander{border-bottom:1px solid transparent}.jkl-expandable__content-wrapper{padding:1rem}.jkl-expandable--stroke{background-color:transparent;border:1px solid var(--jkl-color-border-separator);border-radius:0}.jkl-expandable--stroke+.jkl-expandable--stroke{border-top:none}.jkl-expandable--stroke:first-child{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.jkl-expandable--stroke:last-child{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover){.jkl-expandable:hover .jkl-expander{background-color:var(--jkl-color-background-interactive-selected)}}.jkl-expander{align-items:center;-webkit-appearance:none;appearance:none;background:none;border:none;box-sizing:border-box;cursor:pointer;display:flex;gap:.5rem;list-style:none;padding:1rem;text-align:left;width:100%}.jkl-expander::-webkit-details-marker{display:none}.jkl-expander__label{flex-grow:1}.jkl-expander__chevron{text-align:right;transform:rotate(0turn);transition-property:transform;-webkit-user-select:none;user-select:none}.jkl-expander--open .jkl-expander__label{--jkl-icon-weight:500;font-weight:700;letter-spacing:-.014em}.jkl-expander--open .jkl-expander__chevron{transform:rotate(-.5turn);transition-duration:.1s;transition-timing-function:ease}@media (hover:hover){.jkl-expander:hover{background-color:var(--jkl-color-background-interactive-hover)}}
1
+ .jkl-expandable{background-color:var(--jkl-color-background-container-low);border-radius:var(--border-radius);box-sizing:border-box;overflow:hidden;width:100%}.jkl-expandable__content[data-expanded=true]{height:auto}.jkl-expandable__content[data-expanded=false]{height:0}.jkl-expandable[data-visible-content=true] .jkl-expander{border-bottom:1px solid transparent}.jkl-expandable__content-wrapper{padding:1rem}.jkl-expandable--stroke{background-color:transparent;border:1px solid var(--jkl-color-border-separator);border-radius:0;border-radius:var(--border-top-left-radius) var(--border-top-right-radius) var(--border-bottom-right-radius) var(--border-bottom-left-radius)}.jkl-expandable__wrapper{--border-radius:0.25rem;--outline-offset:3px;position:relative}.jkl-expandable__wrapper+.jkl-expandable__wrapper .jkl-expandable--stroke{border-top:none}.jkl-expandable__wrapper:first-child{--border-top-left-radius:var(--border-radius);--border-top-right-radius:var(--border-radius)}.jkl-expandable__wrapper:last-child{--border-bottom-left-radius:var(--border-radius);--border-bottom-right-radius:var(--border-radius)}.jkl-expandable__wrapper:has(:focus-visible):has(.jkl-expandable--stroke){--outline-offset:-1px}.jkl-expandable__wrapper:has(:focus-visible) .jkl-expandable__focus-container{outline:3px solid var(--jkl-color-border-action);outline-offset:3px;outline-offset:var(--outline-offset)}.jkl-expandable__wrapper:has(:focus-visible):first-child:last-child{--outline-offset:3px}.jkl-expandable__focus-container{border-radius:var(--border-radius);inset:0;position:absolute}.jkl-expander{align-items:center;-webkit-appearance:none;appearance:none;background:none;border:none;box-sizing:border-box;color:var(--jkl-color);cursor:pointer;display:flex;gap:.5rem;list-style:none;padding:1rem;text-align:left;width:100%}.jkl-expander::-webkit-details-marker{display:none}.jkl-expander__label{flex-grow:1}.jkl-expander__chevron{text-align:right;transform:rotate(0turn);transition-property:transform;-webkit-user-select:none;user-select:none}.jkl-expander--open .jkl-expander__label{--jkl-icon-weight:500;font-weight:700;letter-spacing:-.014em}.jkl-expander--open .jkl-expander__chevron{transform:rotate(-.5turn);transition-duration:.1s;transition-timing-function:ease}@media (hover:hover){.jkl-expander:hover{background-color:var(--jkl-color-background-interactive-hover)}}.jkl-expander{border-style:none;outline:0;outline-style:none}.jkl-expander:active,.jkl-expander:focus,.jkl-expander:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-expander{border-style:revert;outline:revert;outline-style:revert}.jkl-expander:active,.jkl-expander:focus,.jkl-expander:hover{outline:revert;outline-style:revert}}
@@ -1,8 +1,6 @@
1
1
  @use "../../core/jkl";
2
2
 
3
3
  .jkl-expandable {
4
- --border-radius: #{jkl.rem(4px)};
5
-
6
4
  background-color: var(--jkl-color-background-container-low);
7
5
  border-radius: var(--border-radius);
8
6
  box-sizing: border-box;
@@ -30,28 +28,55 @@
30
28
  background-color: transparent;
31
29
 
32
30
  border-radius: 0;
31
+ border-radius: var(--border-top-left-radius)
32
+ var(--border-top-right-radius) var(--border-bottom-right-radius)
33
+ var(--border-bottom-left-radius);
34
+ }
35
+
36
+ &__wrapper {
37
+ --border-radius: #{jkl.rem(4px)};
38
+ --outline-offset: 3px;
39
+
40
+ position: relative;
33
41
 
34
42
  & + & {
35
43
  // Matches every expandable that follows directly after another
36
- border-top: none;
44
+ .jkl-expandable--stroke {
45
+ border-top: none;
46
+ }
37
47
  }
38
48
 
39
49
  &:first-child {
40
- border-top-left-radius: var(--border-radius);
41
- border-top-right-radius: var(--border-radius);
50
+ --border-top-left-radius: var(--border-radius);
51
+ --border-top-right-radius: var(--border-radius);
42
52
  }
43
53
 
44
54
  &:last-child {
45
- border-bottom-left-radius: var(--border-radius);
46
- border-bottom-right-radius: var(--border-radius);
55
+ --border-bottom-left-radius: var(--border-radius);
56
+ --border-bottom-right-radius: var(--border-radius);
47
57
  }
48
- }
49
58
 
50
- @media (hover: hover) {
51
- &:hover .jkl-expander {
52
- background-color: var(--jkl-color-background-interactive-selected);
59
+ &:has(:focus-visible) {
60
+ &:has(.jkl-expandable--stroke) {
61
+ --outline-offset: -1px;
62
+ }
63
+
64
+ .jkl-expandable__focus-container {
65
+ @include jkl.focus-outline;
66
+ outline-offset: var(--outline-offset);
67
+ }
68
+ }
69
+
70
+ &:has(:focus-visible):first-child:last-child {
71
+ --outline-offset: 3px;
53
72
  }
54
73
  }
74
+
75
+ &__focus-container {
76
+ border-radius: var(--border-radius);
77
+ position: absolute;
78
+ inset: 0;
79
+ }
55
80
  }
56
81
 
57
82
  .jkl-expander {
@@ -63,6 +88,7 @@
63
88
  width: 100%;
64
89
  padding: jkl.rem(16px);
65
90
  cursor: pointer;
91
+ color: var(--jkl-color);
66
92
 
67
93
  display: flex;
68
94
  gap: jkl.rem(8px);
@@ -102,4 +128,6 @@
102
128
  background-color: var(--jkl-color-background-interactive-hover);
103
129
  }
104
130
  }
131
+
132
+ @include jkl.reset-outline;
105
133
  }
@@ -2,7 +2,7 @@
2
2
  * Do not edit directly
3
3
  * Generated on Mon, 28 Oct 2024 14:22:00 GMT
4
4
  */
5
- @keyframes jkl-show-ukr1y18 {
5
+ @keyframes jkl-show-uaumdd4 {
6
6
  from {
7
7
  transform: translate3d(0, 0.5rem, 0);
8
8
  opacity: 0;
@@ -37,7 +37,7 @@
37
37
  }
38
38
  }
39
39
  .jkl-feedback__fade-in {
40
- animation: jkl-show-ukr1y18 0.25s ease-out;
40
+ animation: jkl-show-uaumdd4 0.25s ease-out;
41
41
  }
42
42
  .jkl-feedback__buttons {
43
43
  display: flex;
@@ -1 +1 @@
1
- @keyframes jkl-show-ukr1y18{0%{opacity:0;transform:translate3d(0,.5rem,0)}}.jkl-feedback{max-width:34.375rem}.jkl-feedback__submit-wrapper{transition-duration:.25s;transition-property:height;transition-timing-function:ease;width:100%}.jkl-feedback__submit-wrapper--hidden{display:none}.jkl-feedback__step-counter{color:var(--jkl-color-text-subdued);font-size:1.125rem;font-weight:400;line-height:1.75rem;margin-bottom:1rem;--jkl-icon-weight:300}@media (min-width:680px){.jkl-feedback__step-counter{font-size:1.25rem;font-weight:400;line-height:2rem;--jkl-icon-weight:300}}.jkl-feedback__fade-in{animation:jkl-show-ukr1y18 .25s ease-out}.jkl-feedback__buttons{display:flex}.jkl-feedback-smileys{display:flex;flex-wrap:nowrap;gap:.75rem;justify-content:space-between;margin-top:.5rem;max-width:22.5rem;width:100%}.jkl-feedback-smiley-option{color:var(--jkl-color-text-subdued);cursor:pointer;display:inline-block;height:2.5rem;position:relative;transform:translateZ(0);transition-duration:.15s;transition-property:transform,color;transition-timing-function:ease;width:2.5rem}@media screen and (forced-colors:active){.jkl-feedback-smiley-option,.jkl-feedback-smiley-option path,.jkl-feedback-smiley-option svg{stroke:ButtonFace;fill:ButtonText}}.jkl-feedback-smiley-option:after,.jkl-feedback-smiley-option:before{border-radius:50%;content:"";opacity:0;position:absolute;transition-duration:.15s;transition-property:opacity;transition-timing-function:ease}.jkl-feedback-smiley-option:after{box-shadow:0 0 0 .125rem currentColor;inset:-.125rem -.125rem -.125rem -.125rem}.jkl-feedback-smiley-option:before{box-shadow:0 .125rem 1.875rem rgba(0,0,0,.1);inset:0}.jkl-feedback-smiley-option:hover{color:var(--jkl-color-text-default)}input:checked+.jkl-feedback-smiley-option{color:var(--jkl-color-text-default);transform:translate3d(0,-20%,0)}input:checked+.jkl-feedback-smiley-option:before{opacity:1}html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus+.jkl-feedback-smiley-option:after{opacity:1}
1
+ @keyframes jkl-show-uaumdd4{0%{opacity:0;transform:translate3d(0,.5rem,0)}}.jkl-feedback{max-width:34.375rem}.jkl-feedback__submit-wrapper{transition-duration:.25s;transition-property:height;transition-timing-function:ease;width:100%}.jkl-feedback__submit-wrapper--hidden{display:none}.jkl-feedback__step-counter{color:var(--jkl-color-text-subdued);font-size:1.125rem;font-weight:400;line-height:1.75rem;margin-bottom:1rem;--jkl-icon-weight:300}@media (min-width:680px){.jkl-feedback__step-counter{font-size:1.25rem;font-weight:400;line-height:2rem;--jkl-icon-weight:300}}.jkl-feedback__fade-in{animation:jkl-show-uaumdd4 .25s ease-out}.jkl-feedback__buttons{display:flex}.jkl-feedback-smileys{display:flex;flex-wrap:nowrap;gap:.75rem;justify-content:space-between;margin-top:.5rem;max-width:22.5rem;width:100%}.jkl-feedback-smiley-option{color:var(--jkl-color-text-subdued);cursor:pointer;display:inline-block;height:2.5rem;position:relative;transform:translateZ(0);transition-duration:.15s;transition-property:transform,color;transition-timing-function:ease;width:2.5rem}@media screen and (forced-colors:active){.jkl-feedback-smiley-option,.jkl-feedback-smiley-option path,.jkl-feedback-smiley-option svg{stroke:ButtonFace;fill:ButtonText}}.jkl-feedback-smiley-option:after,.jkl-feedback-smiley-option:before{border-radius:50%;content:"";opacity:0;position:absolute;transition-duration:.15s;transition-property:opacity;transition-timing-function:ease}.jkl-feedback-smiley-option:after{box-shadow:0 0 0 .125rem currentColor;inset:-.125rem -.125rem -.125rem -.125rem}.jkl-feedback-smiley-option:before{box-shadow:0 .125rem 1.875rem rgba(0,0,0,.1);inset:0}.jkl-feedback-smiley-option:hover{color:var(--jkl-color-text-default)}input:checked+.jkl-feedback-smiley-option{color:var(--jkl-color-text-default);transform:translate3d(0,-20%,0)}input:checked+.jkl-feedback-smiley-option:before{opacity:1}html:not([data-mousenavigation]):not([data-touchnavigation]) input:focus+.jkl-feedback-smiley-option:after{opacity:1}
@@ -75,10 +75,8 @@
75
75
  @include jkl.no-grow-bold;
76
76
  }
77
77
 
78
- @include jkl.keyboard-navigation {
79
- &:focus {
80
- outline: jkl.rem(2px) solid var(--jkl-color-border-input-focus);
81
- }
78
+ &:focus-visible {
79
+ @include jkl.focus-outline($offset: 0);
82
80
  }
83
81
 
84
82
  @include jkl.forced-colors-mode {
@@ -87,6 +85,14 @@
87
85
  }
88
86
  }
89
87
 
88
+ .jkl-icon-button {
89
+ @include jkl.reset-outline;
90
+
91
+ &:focus-visible {
92
+ @include jkl.focus-outline($offset: 0);
93
+ }
94
+ }
95
+
90
96
  &__delete {
91
97
  padding: 0 var(--jkl-spacing-24);
92
98
  align-items: stretch;
@@ -90,16 +90,40 @@
90
90
  font-weight: 700;
91
91
  letter-spacing: -0.014em;
92
92
  }
93
- html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file__content:not(div):focus {
94
- outline: 0.125rem solid var(--jkl-color-border-input-focus);
93
+ .jkl-file__content:not(div):focus-visible {
94
+ outline: 3px solid var(--jkl-color-border-action);
95
+ outline-offset: 0;
95
96
  }
96
-
97
97
  @media screen and (forced-colors: active) {
98
98
  .jkl-file__content:not(div) {
99
99
  outline: revert;
100
100
  border: 0.125rem solid LinkText;
101
101
  }
102
102
  }
103
+ .jkl-file .jkl-icon-button {
104
+ outline: 0;
105
+ border-style: none;
106
+ outline-style: none;
107
+ }
108
+ .jkl-file .jkl-icon-button:active, .jkl-file .jkl-icon-button:hover, .jkl-file .jkl-icon-button:focus {
109
+ outline: 0;
110
+ outline-style: none;
111
+ }
112
+ @media screen and (forced-colors: active) {
113
+ .jkl-file .jkl-icon-button {
114
+ outline: revert;
115
+ border-style: revert;
116
+ outline-style: revert;
117
+ }
118
+ .jkl-file .jkl-icon-button:active, .jkl-file .jkl-icon-button:hover, .jkl-file .jkl-icon-button:focus {
119
+ outline: revert;
120
+ outline-style: revert;
121
+ }
122
+ }
123
+ .jkl-file .jkl-icon-button:focus-visible {
124
+ outline: 3px solid var(--jkl-color-border-action);
125
+ outline-offset: 0;
126
+ }
103
127
  .jkl-file__delete {
104
128
  padding: 0 var(--jkl-spacing-24);
105
129
  align-items: stretch;
@@ -242,12 +266,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file__content:
242
266
  flex-direction: column;
243
267
  flex-wrap: nowrap;
244
268
  }
245
- html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button {
269
+ .jkl-file-input__call-to-action:has(:focus-visible) .jkl-button {
246
270
  transform: scale(1.05);
247
- outline: 2px solid var(--jkl-color-border-action);
248
- outline-offset: 2px;
271
+ outline: 3px solid var(--jkl-color-border-action);
272
+ outline-offset: 3px;
249
273
  }
250
- html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button:active {
274
+ .jkl-file-input__call-to-action:has(:focus-visible) .jkl-button:active {
251
275
  transform: scale(1);
252
276
  }
253
277
  .jkl-file-input--has-files .jkl-file-input__call-to-action {
@@ -1 +1 @@
1
- :root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-file-padding:1.5rem;--jkl-file-thumbnail-size:4rem;--jkl-file-gap:1rem;--jkl-file-font-size:1.25rem;--jkl-file-line-height:2rem}[data-density=compact],[data-layout-density=compact]{--jkl-file-padding:0.75rem;--jkl-file-thumbnail-size:2.75rem;--jkl-file-gap:0.5rem;--jkl-file-font-size:1rem;--jkl-file-line-height:1.5rem}.jkl-file{--text-color:var(--jkl-color-text-default);color:var(--jkl-color-text-default);display:flex;flex-flow:row nowrap;font-size:1rem;font-weight:400;line-height:1.5rem;margin:0;min-width:15rem;transition-duration:.1s;transition-property:background-color,border-color,color;transition-timing-function:ease;--jkl-icon-weight:300;--jkl-icon-size:1.25rem;--jkl-icon-opsz:20;border-style:none;outline:0;outline-style:none}.jkl-file:active,.jkl-file:focus,.jkl-file:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-file{border-style:revert;outline:revert;outline-style:revert}.jkl-file:active,.jkl-file:focus,.jkl-file:hover{outline:revert;outline-style:revert}}.jkl-file__content{background-color:var(--jkl-color-background-container-high);border-radius:.125rem;box-shadow:0 0 5px 0 rgba(0,0,0,.05);color:var(--text-color);display:flex;flex-basis:100%;gap:1em;padding:var(--jkl-file-padding)}.jkl-file__content--error{background-color:var(--jkl-color-background-alert-error)}.jkl-file__content--warning{background-color:var(--jkl-color-background-alert-warning)}.jkl-file__content--error,.jkl-file__content--warning{--text-color:var(--jkl-color-text-on-alert)}.jkl-file__content--error .jkl-form-support-label,.jkl-file__content--warning .jkl-form-support-label{--color:var(--jkl-color-text-on-alert)}.jkl-file__content:not(div){color:var(--jkl-color-text-default);cursor:pointer;text-decoration:none}.jkl-file__content:not(div):hover~.jkl-file__description{--jkl-icon-weight:500;font-weight:700;letter-spacing:-.014em}html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file__content:not(div):focus{outline:.125rem solid var(--jkl-color-border-input-focus)}@media screen and (forced-colors:active){.jkl-file__content:not(div){border:.125rem solid LinkText;outline:revert}}.jkl-file__delete{align-items:stretch;padding:0 var(--jkl-spacing-24)}.jkl-file__delete:hover{background-color:var(--jkl-color-background-interactive-hover)}.jkl-file__thumbnail-wrapper{position:relative}.jkl-file__thumbnail-wrapper>:nth-child(2){inset:0;margin:auto;position:absolute;width:80%}.jkl-file__thumbnail{align-items:center;border-radius:.25rem;color:var(--jkl-color-text-subdued);display:flex;flex:0 0 var(--jkl-file-thumbnail-size);height:var(--jkl-file-thumbnail-size);justify-content:center;object-fit:contain;opacity:1;transition-duration:.15s;transition-property:opacity;transition-timing-function:ease;width:var(--jkl-file-thumbnail-size)}.jkl-file__thumbnail--selected{opacity:.7}.jkl-file__thumbnail--uploading{opacity:.4}.jkl-file__thumbnail:not(img){background:var(--jkl-color-background-container-low)}.jkl-file__file-info{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--jkl-spacing-8);overflow-wrap:break-word}.jkl-file__title{font-size:1rem;font-weight:700;line-height:1.5rem;--jkl-icon-weight:500;--jkl-icon-size:1.25rem;--jkl-icon-opsz:20;overflow-wrap:anywhere}.jkl-file__description,.jkl-file__name{font-size:var(--jkl-file-font-size);line-height:var(--jkl-file-line-height)}.jkl-file__name{font-weight:700}.jkl-file__description{align-items:center;display:flex;flex-wrap:nowrap;gap:.75rem;justify-content:flex-start}.jkl-file__support-label{margin:0}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-file-input-drag-font-size:var(--jkl-heading-2-font-size);--jkl-file-input-drag-line-height:var(--jkl-heading-2-line-height);--jkl-file-input-drag-font-weight:var(--jkl-heading-2-font-weight);--jkl-file-size-hint-font-size:var(--jkl-small-font-size);--jkl-file-size-hint-line-height:var(--jkl-small-line-height);--jkl-file-size-hint-font-weight:var(--jkl-small-font-weight);--jkl-file-input-dropzone-padding:1.5rem;--jkl-file-input-dropzone-gap:1.5rem;--jkl-file-cta-gap:1.5rem;--jkl-file-cta-with-files-gap:0.75rem;--jkl-file-list-gap:1rem}[data-density=compact],[data-layout-density=compact]{--jkl-file-input-drag-font-size:var(--jkl-body-font-size);--jkl-file-input-drag-line-height:var(--jkl-body-line-height);--jkl-file-input-drag-font-weight:var(--jkl-body-font-weight);--jkl-file-input-dropzone-padding:1rem;--jkl-file-input-dropzone-gap:1rem;--jkl-file-cta-gap:0.75rem;--jkl-file-cta-with-files-gap:0.25rem;--jkl-file-list-gap:0.5rem}.jkl-file-input__dropzone{--border-color:var(--jkl-color-border-input);--background-color:transparent;align-items:center;background-color:var(--background-color);border:1px dashed var(--border-color);border-radius:.25rem;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--jkl-file-input-dropzone-gap);justify-content:center;padding:var(--jkl-file-input-dropzone-padding);transition-duration:.15s;transition-property:background-color;transition-timing-function:ease}.jkl-file-input__dropzone--enter{--border-color:var(--jkl-color-border-input-focus);--background-color:var(--jkl-color-background-container-high);border-style:solid}.jkl-file-input__dropzone__drag-text{font-size:var(--jkl-file-input-drag-font-size);font-weight:var(--jkl-file-input-drag-font-weight);line-height:var(--jkl-file-input-drag-line-height)}@media (width >= 0) and (max-width:679px){.jkl-file-input__dropzone__drag-text{display:none}}.jkl-file-input__call-to-action{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--jkl-file-cta-gap);justify-content:center}html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button{outline:2px solid var(--jkl-color-border-action);outline-offset:2px;transform:scale(1.05)}html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button:active{transform:scale(1)}.jkl-file-input--has-files .jkl-file-input__call-to-action{gap:var(--jkl-file-cta-with-files-gap)}.jkl-file-input__max-size-text{color:var(--jkl-color-text-subdued);font-size:var(--jkl-file-size-hint-font-size);font-weight:var(--jkl-file-size-hint-font-weight);line-height:var(--jkl-file-size-hint-line-height)}.jkl-file-input__files{display:flex;flex-direction:column;gap:var(--jkl-file-list-gap);list-style:none;margin:0;padding:0}.jkl-file-input--small .jkl-file-input__dropzone{flex-direction:row;gap:1rem;justify-content:flex-start;margin-bottom:1rem;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:1rem}.jkl-file-input--small .jkl-file-input__call-to-action{flex-direction:row;font-size:var(--jkl-file-size-hint-font-size);font-weight:var(--jkl-file-size-hint-font-weight);gap:.75rem;justify-content:flex-start;line-height:var(--jkl-file-size-hint-line-height)}.jkl-file-input--small .jkl-file-input__max-size-text{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}
1
+ :root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-file-padding:1.5rem;--jkl-file-thumbnail-size:4rem;--jkl-file-gap:1rem;--jkl-file-font-size:1.25rem;--jkl-file-line-height:2rem}[data-density=compact],[data-layout-density=compact]{--jkl-file-padding:0.75rem;--jkl-file-thumbnail-size:2.75rem;--jkl-file-gap:0.5rem;--jkl-file-font-size:1rem;--jkl-file-line-height:1.5rem}.jkl-file{--text-color:var(--jkl-color-text-default);color:var(--jkl-color-text-default);display:flex;flex-flow:row nowrap;font-size:1rem;font-weight:400;line-height:1.5rem;margin:0;min-width:15rem;transition-duration:.1s;transition-property:background-color,border-color,color;transition-timing-function:ease;--jkl-icon-weight:300;--jkl-icon-size:1.25rem;--jkl-icon-opsz:20;border-style:none;outline:0;outline-style:none}.jkl-file:active,.jkl-file:focus,.jkl-file:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-file{border-style:revert;outline:revert;outline-style:revert}.jkl-file:active,.jkl-file:focus,.jkl-file:hover{outline:revert;outline-style:revert}}.jkl-file__content{background-color:var(--jkl-color-background-container-high);border-radius:.125rem;box-shadow:0 0 5px 0 rgba(0,0,0,.05);color:var(--text-color);display:flex;flex-basis:100%;gap:1em;padding:var(--jkl-file-padding)}.jkl-file__content--error{background-color:var(--jkl-color-background-alert-error)}.jkl-file__content--warning{background-color:var(--jkl-color-background-alert-warning)}.jkl-file__content--error,.jkl-file__content--warning{--text-color:var(--jkl-color-text-on-alert)}.jkl-file__content--error .jkl-form-support-label,.jkl-file__content--warning .jkl-form-support-label{--color:var(--jkl-color-text-on-alert)}.jkl-file__content:not(div){color:var(--jkl-color-text-default);cursor:pointer;text-decoration:none}.jkl-file__content:not(div):hover~.jkl-file__description{--jkl-icon-weight:500;font-weight:700;letter-spacing:-.014em}.jkl-file__content:not(div):focus-visible{outline:3px solid var(--jkl-color-border-action);outline-offset:0}@media screen and (forced-colors:active){.jkl-file__content:not(div){border:.125rem solid LinkText;outline:revert}}.jkl-file .jkl-icon-button{border-style:none;outline:0;outline-style:none}.jkl-file .jkl-icon-button:active,.jkl-file .jkl-icon-button:focus,.jkl-file .jkl-icon-button:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-file .jkl-icon-button{border-style:revert;outline:revert;outline-style:revert}.jkl-file .jkl-icon-button:active,.jkl-file .jkl-icon-button:focus,.jkl-file .jkl-icon-button:hover{outline:revert;outline-style:revert}}.jkl-file .jkl-icon-button:focus-visible{outline:3px solid var(--jkl-color-border-action);outline-offset:0}.jkl-file__delete{align-items:stretch;padding:0 var(--jkl-spacing-24)}.jkl-file__delete:hover{background-color:var(--jkl-color-background-interactive-hover)}.jkl-file__thumbnail-wrapper{position:relative}.jkl-file__thumbnail-wrapper>:nth-child(2){inset:0;margin:auto;position:absolute;width:80%}.jkl-file__thumbnail{align-items:center;border-radius:.25rem;color:var(--jkl-color-text-subdued);display:flex;flex:0 0 var(--jkl-file-thumbnail-size);height:var(--jkl-file-thumbnail-size);justify-content:center;object-fit:contain;opacity:1;transition-duration:.15s;transition-property:opacity;transition-timing-function:ease;width:var(--jkl-file-thumbnail-size)}.jkl-file__thumbnail--selected{opacity:.7}.jkl-file__thumbnail--uploading{opacity:.4}.jkl-file__thumbnail:not(img){background:var(--jkl-color-background-container-low)}.jkl-file__file-info{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--jkl-spacing-8);overflow-wrap:break-word}.jkl-file__title{font-size:1rem;font-weight:700;line-height:1.5rem;--jkl-icon-weight:500;--jkl-icon-size:1.25rem;--jkl-icon-opsz:20;overflow-wrap:anywhere}.jkl-file__description,.jkl-file__name{font-size:var(--jkl-file-font-size);line-height:var(--jkl-file-line-height)}.jkl-file__name{font-weight:700}.jkl-file__description{align-items:center;display:flex;flex-wrap:nowrap;gap:.75rem;justify-content:flex-start}.jkl-file__support-label{margin:0}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-file-input-drag-font-size:var(--jkl-heading-2-font-size);--jkl-file-input-drag-line-height:var(--jkl-heading-2-line-height);--jkl-file-input-drag-font-weight:var(--jkl-heading-2-font-weight);--jkl-file-size-hint-font-size:var(--jkl-small-font-size);--jkl-file-size-hint-line-height:var(--jkl-small-line-height);--jkl-file-size-hint-font-weight:var(--jkl-small-font-weight);--jkl-file-input-dropzone-padding:1.5rem;--jkl-file-input-dropzone-gap:1.5rem;--jkl-file-cta-gap:1.5rem;--jkl-file-cta-with-files-gap:0.75rem;--jkl-file-list-gap:1rem}[data-density=compact],[data-layout-density=compact]{--jkl-file-input-drag-font-size:var(--jkl-body-font-size);--jkl-file-input-drag-line-height:var(--jkl-body-line-height);--jkl-file-input-drag-font-weight:var(--jkl-body-font-weight);--jkl-file-input-dropzone-padding:1rem;--jkl-file-input-dropzone-gap:1rem;--jkl-file-cta-gap:0.75rem;--jkl-file-cta-with-files-gap:0.25rem;--jkl-file-list-gap:0.5rem}.jkl-file-input__dropzone{--border-color:var(--jkl-color-border-input);--background-color:transparent;align-items:center;background-color:var(--background-color);border:1px dashed var(--border-color);border-radius:.25rem;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--jkl-file-input-dropzone-gap);justify-content:center;padding:var(--jkl-file-input-dropzone-padding);transition-duration:.15s;transition-property:background-color;transition-timing-function:ease}.jkl-file-input__dropzone--enter{--border-color:var(--jkl-color-border-input-focus);--background-color:var(--jkl-color-background-container-high);border-style:solid}.jkl-file-input__dropzone__drag-text{font-size:var(--jkl-file-input-drag-font-size);font-weight:var(--jkl-file-input-drag-font-weight);line-height:var(--jkl-file-input-drag-line-height)}@media (width >= 0) and (max-width:679px){.jkl-file-input__dropzone__drag-text{display:none}}.jkl-file-input__call-to-action{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--jkl-file-cta-gap);justify-content:center}.jkl-file-input__call-to-action:has(:focus-visible) .jkl-button{outline:3px solid var(--jkl-color-border-action);outline-offset:3px;transform:scale(1.05)}.jkl-file-input__call-to-action:has(:focus-visible) .jkl-button:active{transform:scale(1)}.jkl-file-input--has-files .jkl-file-input__call-to-action{gap:var(--jkl-file-cta-with-files-gap)}.jkl-file-input__max-size-text{color:var(--jkl-color-text-subdued);font-size:var(--jkl-file-size-hint-font-size);font-weight:var(--jkl-file-size-hint-font-weight);line-height:var(--jkl-file-size-hint-line-height)}.jkl-file-input__files{display:flex;flex-direction:column;gap:var(--jkl-file-list-gap);list-style:none;margin:0;padding:0}.jkl-file-input--small .jkl-file-input__dropzone{flex-direction:row;gap:1rem;justify-content:flex-start;margin-bottom:1rem;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:1rem}.jkl-file-input--small .jkl-file-input__call-to-action{flex-direction:row;font-size:var(--jkl-file-size-hint-font-size);font-weight:var(--jkl-file-size-hint-font-weight);gap:.75rem;justify-content:flex-start;line-height:var(--jkl-file-size-hint-line-height)}.jkl-file-input--small .jkl-file-input__max-size-text{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}
@@ -62,8 +62,7 @@
62
62
  flex-direction: column;
63
63
  flex-wrap: nowrap;
64
64
 
65
- html:not([data-mousenavigation]):not([data-touchnavigation])
66
- &:focus-within {
65
+ &:has(:focus-visible) {
67
66
  .jkl-button {
68
67
  transform: scale(1.05);
69
68
 
@@ -2,45 +2,13 @@
2
2
  * Do not edit directly
3
3
  * Generated on Mon, 28 Oct 2024 14:22:00 GMT
4
4
  */
5
- @media screen and (prefers-color-scheme: light) {
6
- :root {
7
- --jkl-icon-button-border-color: #1b1917;
8
- --jkl-icon-button-focus-color: #636060;
9
- }
10
- }
11
- [data-theme=light] {
12
- --jkl-icon-button-border-color: #1b1917;
13
- --jkl-icon-button-focus-color: #636060;
14
- }
15
-
16
- @media screen and (prefers-color-scheme: dark) {
17
- :root {
18
- --jkl-icon-button-border-color: #f9f9f9;
19
- --jkl-icon-button-focus-color: #c8c5c3;
20
- }
21
- }
22
- [data-theme=dark] {
23
- --jkl-icon-button-border-color: #f9f9f9;
24
- --jkl-icon-button-focus-color: #c8c5c3;
25
- }
26
-
27
- :root,
28
- [data-layout-density=comfortable],
29
- [data-density=comfortable] {
30
- --jkl-icon-button-icon-width: 1.25rem;
31
- }
32
-
33
- [data-layout-density=compact],
34
- [data-density=compact] {
35
- --jkl-icon-button-icon-width: 0.875rem;
36
- }
37
-
38
5
  .jkl-icon-button {
39
6
  background-color: transparent;
40
7
  cursor: pointer;
41
8
  color: inherit;
42
9
  position: relative;
43
10
  transition-property: box-shadow;
11
+ padding: 0;
44
12
  transition-timing-function: cubic-bezier(0.6, 0.2, 0.35, 1);
45
13
  transition-duration: 100ms;
46
14
  }
@@ -79,19 +47,19 @@
79
47
  .jkl-icon-button .jkl-icon--animated {
80
48
  display: revert;
81
49
  }
82
- .jkl-icon-button:hover {
83
- color: var(--jkl-icon-button-focus-color);
84
- }
85
50
  .jkl-icon-button:focus-visible {
86
- color: var(--jkl-icon-button-focus-color);
87
- outline: 2px solid var(--jkl-color-border-action);
88
- outline-offset: 2px;
51
+ color: var(--jkl-color);
52
+ outline: 3px solid var(--jkl-color-border-action);
53
+ outline-offset: 3px;
89
54
  }
90
55
  @media screen and (forced-colors: active) {
91
56
  .jkl-icon-button:focus-visible {
92
57
  border: revert;
93
58
  }
94
59
  }
60
+ .jkl-icon-button:hover {
61
+ color: var(--jkl-color-text-interactive-hover);
62
+ }
95
63
  @media screen and (forced-colors: active) {
96
64
  .jkl-icon-button {
97
65
  border: revert;
@@ -1 +1 @@
1
- @media screen and (prefers-color-scheme:light){:root{--jkl-icon-button-border-color:#1b1917;--jkl-icon-button-focus-color:#636060}}[data-theme=light]{--jkl-icon-button-border-color:#1b1917;--jkl-icon-button-focus-color:#636060}@media screen and (prefers-color-scheme:dark){:root{--jkl-icon-button-border-color:#f9f9f9;--jkl-icon-button-focus-color:#c8c5c3}}[data-theme=dark]{--jkl-icon-button-border-color:#f9f9f9;--jkl-icon-button-focus-color:#c8c5c3}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-icon-button-icon-width:1.25rem}[data-density=compact],[data-layout-density=compact]{--jkl-icon-button-icon-width:0.875rem}.jkl-icon-button{background-color:transparent;border-style:none;color:inherit;cursor:pointer;outline:0;outline-style:none;position:relative;transition-duration:.1s;transition-property:box-shadow;transition-timing-function:cubic-bezier(.6,.2,.35,1)}.jkl-icon-button:active,.jkl-icon-button:focus,.jkl-icon-button:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-icon-button{border-style:revert;outline:revert;outline-style:revert}.jkl-icon-button:active,.jkl-icon-button:focus,.jkl-icon-button:hover{outline:revert;outline-style:revert}}.jkl-icon-button .jkl-icon{align-items:center;display:flex}@media screen and (forced-colors:active){.jkl-icon-button .jkl-icon,.jkl-icon-button .jkl-icon path,.jkl-icon-button .jkl-icon svg{stroke:ButtonText}}.jkl-icon-button .jkl-icon--animated{display:revert}.jkl-icon-button:hover{color:var(--jkl-icon-button-focus-color)}.jkl-icon-button:focus-visible{color:var(--jkl-icon-button-focus-color);outline:2px solid var(--jkl-color-border-action);outline-offset:2px}@media screen and (forced-colors:active){.jkl-icon-button:focus-visible{border:revert}}@media screen and (forced-colors:active){.jkl-icon-button{background-color:revert;border:revert}}
1
+ .jkl-icon-button{background-color:transparent;border-style:none;color:inherit;cursor:pointer;outline:0;outline-style:none;padding:0;position:relative;transition-duration:.1s;transition-property:box-shadow;transition-timing-function:cubic-bezier(.6,.2,.35,1)}.jkl-icon-button:active,.jkl-icon-button:focus,.jkl-icon-button:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-icon-button{border-style:revert;outline:revert;outline-style:revert}.jkl-icon-button:active,.jkl-icon-button:focus,.jkl-icon-button:hover{outline:revert;outline-style:revert}}.jkl-icon-button .jkl-icon{align-items:center;display:flex}@media screen and (forced-colors:active){.jkl-icon-button .jkl-icon,.jkl-icon-button .jkl-icon path,.jkl-icon-button .jkl-icon svg{stroke:ButtonText}}.jkl-icon-button .jkl-icon--animated{display:revert}.jkl-icon-button:focus-visible{color:var(--jkl-color);outline:3px solid var(--jkl-color-border-action);outline-offset:3px}@media screen and (forced-colors:active){.jkl-icon-button:focus-visible{border:revert}}.jkl-icon-button:hover{color:var(--jkl-color-text-interactive-hover)}@media screen and (forced-colors:active){.jkl-icon-button{background-color:revert;border:revert}}
@@ -1,30 +1,13 @@
1
1
  @charset "UTF-8";
2
2
  @use "../../core/jkl";
3
3
 
4
- @include jkl.light-mode-variables {
5
- --jkl-icon-button-border-color: #{jkl.$color-granitt};
6
- --jkl-icon-button-focus-color: #{jkl.$color-stein};
7
- }
8
-
9
- @include jkl.dark-mode-variables {
10
- --jkl-icon-button-border-color: #{jkl.$color-snohvit};
11
- --jkl-icon-button-focus-color: #{jkl.$color-svaberg};
12
- }
13
-
14
- @include jkl.comfortable-density-variables {
15
- --jkl-icon-button-icon-width: #{jkl.rem(20px)};
16
- }
17
-
18
- @include jkl.compact-density-variables {
19
- --jkl-icon-button-icon-width: #{jkl.rem(14px)};
20
- }
21
-
22
4
  .jkl-icon-button {
23
5
  background-color: transparent;
24
6
  cursor: pointer;
25
7
  color: inherit;
26
8
  position: relative;
27
9
  transition-property: box-shadow;
10
+ padding: 0;
28
11
 
29
12
  @include jkl.motion(focus, snappy);
30
13
  @include jkl.reset-outline;
@@ -39,12 +22,8 @@
39
22
  }
40
23
  }
41
24
 
42
- &:hover {
43
- color: var(--jkl-icon-button-focus-color);
44
- }
45
-
46
25
  &:focus-visible {
47
- color: var(--jkl-icon-button-focus-color);
26
+ color: var(--jkl-color);
48
27
 
49
28
  @include jkl.focus-outline;
50
29
  @include jkl.forced-colors-mode {
@@ -52,6 +31,10 @@
52
31
  }
53
32
  }
54
33
 
34
+ &:hover {
35
+ color: var(--jkl-color-text-interactive-hover);
36
+ }
37
+
55
38
  @include jkl.forced-colors-mode {
56
39
  border: revert;
57
40
  background-color: revert;
@@ -78,7 +78,7 @@
78
78
  --color: var(--jkl-color-text-default);
79
79
  }
80
80
  .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 {
81
- animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-ul7h1zw forwards;
81
+ animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-uymukzt forwards;
82
82
  }
83
83
  .jkl-form-support-label--sr-only {
84
84
  border: 0 !important;
@@ -153,7 +153,7 @@
153
153
  white-space: nowrap !important; /* 3 */
154
154
  }
155
155
 
156
- @keyframes jkl-support-icon-entrance-ul7h1zw {
156
+ @keyframes jkl-support-icon-entrance-uymukzt {
157
157
  0% {
158
158
  margin-right: 0;
159
159
  opacity: 0;
@@ -1 +1 @@
1
- .jkl-field-group{border-style:none;outline:0;outline-style:none}.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-field-group{border-style:revert;outline:revert;outline-style:revert}.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:revert;outline-style:revert}}.jkl-dormant-form-support-label{display:none;opacity:0;pointer-events:none}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-form-support-label-font-size:var(--jkl-small-font-size);--jkl-form-support-label-line-height:var(--jkl-small-line-height);--jkl-form-support-label-font-weight:var(--jkl-small-font-weight);--jkl-form-support-label-margin:0.5rem 0 0;--jkl-form-support-label-icon-size:1.25rem;--jkl-form-support-label-icon-margin:0 -1.25rem -0.375rem 0}[data-density=compact],[data-layout-density=compact]{--jkl-form-support-label-icon-size:1.375rem;--jkl-form-support-label-icon-margin:0 -1.375rem -0.3125rem 0}.jkl-form-support-label{--color:var(--jkl-color-text-subdued);color:var(--color);display:flex;font-size:var(--jkl-form-support-label-font-size);font-weight:var(--jkl-form-support-label-font-weight);line-height:var(--jkl-form-support-label-line-height);margin:var(--jkl-form-support-label-margin);transition-delay:.15s;transition-duration:.4s;transition-property:color;transition-timing-function:ease}.jkl-form-support-label__icon,.jkl-form-support-label__icon.jkl-icon{height:var(--jkl-form-support-label-icon-size);margin:var(--jkl-form-support-label-icon-margin);opacity:0}@media screen and (forced-colors:active){.jkl-form-support-label__icon,.jkl-form-support-label__icon path,.jkl-form-support-label__icon svg,.jkl-form-support-label__icon.jkl-icon,.jkl-form-support-label__icon.jkl-icon path,.jkl-form-support-label__icon.jkl-icon svg{stroke:CanvasText;fill:Canvas}}.jkl-form-support-label--error,.jkl-form-support-label--success,.jkl-form-support-label--warning{--color:var(--jkl-color-text-default)}.jkl-form-support-label--error .jkl-form-support-label__icon,.jkl-form-support-label--success .jkl-form-support-label__icon,.jkl-form-support-label--warning .jkl-form-support-label__icon{animation:jkl-support-icon-entrance-ul7h1zw .4s cubic-bezier(0,0,.3,1) .25s forwards}.jkl-form-support-label--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-label-small-margin:0 0 0.25rem 0;--jkl-label-medium-margin:0 0 0.5rem 0;--jkl-label-large-margin:0 0 1rem -0.0625rem;--jkl-label-small-font-size:var(--jkl-small-font-size);--jkl-label-small-line-height:var(--jkl-small-line-height);--jkl-label-small-font-weight:var(--jkl-small-font-weight);--jkl-label-medium-font-size:var(--jkl-body-font-size);--jkl-label-medium-line-height:var(--jkl-body-line-height);--jkl-label-medium-font-weight:var(--jkl-body-font-weight);--jkl-label-large-font-size:var(--jkl-heading-2-font-size);--jkl-label-large-line-height:var(--jkl-heading-2-line-height);--jkl-label-large-font-weight:var(--jkl-heading-2-font-weight)}[data-density=compact],[data-layout-density=compact]{--jkl-label-small-margin:0 0 0.25rem 0;--jkl-label-medium-margin:0 0 0.5rem 0;--jkl-label-large-margin:0 0 0.75rem -0.0625rem}.jkl-label{color:var(--jkl-color-text-default);display:block;margin-left:0}.jkl-label--small{font-size:var(--jkl-label-small-font-size);font-weight:var(--jkl-label-small-font-weight);line-height:var(--jkl-label-small-line-height);margin:var(--jkl-label-small-margin)}.jkl-label--medium{font-size:var(--jkl-label-medium-font-size);font-weight:var(--jkl-label-medium-font-weight);line-height:var(--jkl-label-medium-line-height);margin:var(--jkl-label-medium-margin)}.jkl-label--large{font-size:var(--jkl-label-large-font-size);font-weight:var(--jkl-label-large-font-weight);line-height:var(--jkl-label-large-line-height);margin:var(--jkl-label-large-margin)}.jkl-label--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@keyframes jkl-support-icon-entrance-ul7h1zw{0%{margin-right:0;opacity:0;transform:scale(1)}30%{margin-right:.5rem}50%{opacity:1}70%{transform:scale(1.1)}85%{transform:scale(.9)}to{margin-right:.5rem;opacity:1;transform:scale(1)}}@media screen and (forced-colors:active){.jkl-text-input-action-button,.jkl-text-input-action-button path,.jkl-text-input-action-button svg{stroke:ButtonText;fill:ButtonFace}}
1
+ .jkl-field-group{border-style:none;outline:0;outline-style:none}.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-field-group{border-style:revert;outline:revert;outline-style:revert}.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:revert;outline-style:revert}}.jkl-dormant-form-support-label{display:none;opacity:0;pointer-events:none}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-form-support-label-font-size:var(--jkl-small-font-size);--jkl-form-support-label-line-height:var(--jkl-small-line-height);--jkl-form-support-label-font-weight:var(--jkl-small-font-weight);--jkl-form-support-label-margin:0.5rem 0 0;--jkl-form-support-label-icon-size:1.25rem;--jkl-form-support-label-icon-margin:0 -1.25rem -0.375rem 0}[data-density=compact],[data-layout-density=compact]{--jkl-form-support-label-icon-size:1.375rem;--jkl-form-support-label-icon-margin:0 -1.375rem -0.3125rem 0}.jkl-form-support-label{--color:var(--jkl-color-text-subdued);color:var(--color);display:flex;font-size:var(--jkl-form-support-label-font-size);font-weight:var(--jkl-form-support-label-font-weight);line-height:var(--jkl-form-support-label-line-height);margin:var(--jkl-form-support-label-margin);transition-delay:.15s;transition-duration:.4s;transition-property:color;transition-timing-function:ease}.jkl-form-support-label__icon,.jkl-form-support-label__icon.jkl-icon{height:var(--jkl-form-support-label-icon-size);margin:var(--jkl-form-support-label-icon-margin);opacity:0}@media screen and (forced-colors:active){.jkl-form-support-label__icon,.jkl-form-support-label__icon path,.jkl-form-support-label__icon svg,.jkl-form-support-label__icon.jkl-icon,.jkl-form-support-label__icon.jkl-icon path,.jkl-form-support-label__icon.jkl-icon svg{stroke:CanvasText;fill:Canvas}}.jkl-form-support-label--error,.jkl-form-support-label--success,.jkl-form-support-label--warning{--color:var(--jkl-color-text-default)}.jkl-form-support-label--error .jkl-form-support-label__icon,.jkl-form-support-label--success .jkl-form-support-label__icon,.jkl-form-support-label--warning .jkl-form-support-label__icon{animation:jkl-support-icon-entrance-uymukzt .4s cubic-bezier(0,0,.3,1) .25s forwards}.jkl-form-support-label--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-label-small-margin:0 0 0.25rem 0;--jkl-label-medium-margin:0 0 0.5rem 0;--jkl-label-large-margin:0 0 1rem -0.0625rem;--jkl-label-small-font-size:var(--jkl-small-font-size);--jkl-label-small-line-height:var(--jkl-small-line-height);--jkl-label-small-font-weight:var(--jkl-small-font-weight);--jkl-label-medium-font-size:var(--jkl-body-font-size);--jkl-label-medium-line-height:var(--jkl-body-line-height);--jkl-label-medium-font-weight:var(--jkl-body-font-weight);--jkl-label-large-font-size:var(--jkl-heading-2-font-size);--jkl-label-large-line-height:var(--jkl-heading-2-line-height);--jkl-label-large-font-weight:var(--jkl-heading-2-font-weight)}[data-density=compact],[data-layout-density=compact]{--jkl-label-small-margin:0 0 0.25rem 0;--jkl-label-medium-margin:0 0 0.5rem 0;--jkl-label-large-margin:0 0 0.75rem -0.0625rem}.jkl-label{color:var(--jkl-color-text-default);display:block;margin-left:0}.jkl-label--small{font-size:var(--jkl-label-small-font-size);font-weight:var(--jkl-label-small-font-weight);line-height:var(--jkl-label-small-line-height);margin:var(--jkl-label-small-margin)}.jkl-label--medium{font-size:var(--jkl-label-medium-font-size);font-weight:var(--jkl-label-medium-font-weight);line-height:var(--jkl-label-medium-line-height);margin:var(--jkl-label-medium-margin)}.jkl-label--large{font-size:var(--jkl-label-large-font-size);font-weight:var(--jkl-label-large-font-weight);line-height:var(--jkl-label-large-line-height);margin:var(--jkl-label-large-margin)}.jkl-label--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@keyframes jkl-support-icon-entrance-uymukzt{0%{margin-right:0;opacity:0;transform:scale(1)}30%{margin-right:.5rem}50%{opacity:1}70%{transform:scale(1.1)}85%{transform:scale(.9)}to{margin-right:.5rem;opacity:1;transform:scale(1)}}@media screen and (forced-colors:active){.jkl-text-input-action-button,.jkl-text-input-action-button path,.jkl-text-input-action-button svg{stroke:ButtonText;fill:ButtonFace}}
@@ -6,7 +6,7 @@
6
6
  --outer-border-color: var(--jkl-color-border-input);
7
7
  --outer-border-thickness: 0.0625rem;
8
8
  --background-color: transparent;
9
- outline: var(--outer-border-thickness) solid var(--outer-border-color);
9
+ box-shadow: inset 0 0 0 var(--outer-border-thickness) var(--outer-border-color);
10
10
  border-radius: 4px;
11
11
  padding-left: 1rem;
12
12
  background-color: var(--background-color);
@@ -50,17 +50,19 @@
50
50
  padding-bottom: 24px;
51
51
  height: auto;
52
52
  }
53
- .jkl-input-panel:has(:focus-visible), .jkl-input-panel:hover {
54
- --outer-border-thickness: 0.125rem;
55
- --outer-border-color: var(--jkl-color-border-separator-hover);
53
+ .jkl-input-panel:has(:focus-visible) {
54
+ outline: 3px solid var(--jkl-color-border-action);
55
+ outline-offset: 3px;
56
56
  }
57
57
  .jkl-input-panel:has(:checked) {
58
- --outer-border-thickness: 0.125rem;
59
- --outer-border-color: var(--jkl-color-border-action);
60
58
  --background-color: var(--jkl-color-background-container-high);
61
59
  }
60
+ .jkl-input-panel:hover {
61
+ --outer-border-color: var(--jkl-color-border-separator-hover);
62
+ --outer-border-thickness: 0.125rem;
63
+ }
62
64
 
63
- @keyframes jkl-checkbox-checked-uf46onk {
65
+ @keyframes jkl-checkbox-checked-u3uv3km {
64
66
  0% {
65
67
  width: 0;
66
68
  height: 0;
@@ -123,7 +125,7 @@
123
125
  }
124
126
  }
125
127
  .jkl-checkbox-panel:has(:checked) .jkl-checkbox-panel__decorator::after {
126
- animation: jkl-checkbox-checked-uf46onk 150ms ease-in-out forwards;
128
+ animation: jkl-checkbox-checked-u3uv3km 150ms ease-in-out forwards;
127
129
  opacity: 1;
128
130
  }
129
131
  .jkl-checkbox-panel:has([aria-invalid=true]) {
@@ -1 +1 @@
1
- .jkl-input-panel{--outer-border-color:var(--jkl-color-border-input);--outer-border-thickness:0.0625rem;--background-color:transparent;background-color:var(--background-color);border-radius:4px;cursor:pointer;outline:var(--outer-border-thickness) solid var(--outer-border-color);padding-left:1rem}.jkl-input-panel__input{opacity:0;position:absolute;top:-6px}.jkl-input-panel__label{align-items:center;cursor:pointer;display:grid;gap:.5rem;grid-template-columns:-webkit-min-content fit-content(30%) 1fr;grid-template-columns:min-content fit-content(30%) 1fr}.jkl-input-panel__main-label{padding-block:1.5rem}.jkl-input-panel__extra-label{align-self:stretch;margin-left:1rem;margin-right:1rem}.jkl-input-panel__extra-label>:first-child{padding-right:1rem}.jkl-input-panel__extra-label--text{align-items:center;display:flex;height:100%}.jkl-input-panel__content{cursor:default;height:0;overflow:hidden;padding-right:1.5rem}.jkl-input-panel:has([aria-expanded=true]) .jkl-input-panel__content,.jkl-input-panel__content[data-alwaysopen=true]{height:auto;padding-bottom:24px}.jkl-input-panel:has(:focus-visible),.jkl-input-panel:hover{--outer-border-thickness:0.125rem;--outer-border-color:var(--jkl-color-border-separator-hover)}.jkl-input-panel:has(:checked){--outer-border-thickness:0.125rem;--outer-border-color:var(--jkl-color-border-action);--background-color:var(--jkl-color-background-container-high)}@keyframes jkl-checkbox-checked-uf46onk{0%{height:0;width:0}40%{height:0;width:18%}to{height:58%;width:18%}}.jkl-checkbox-panel{--checkbox-background-color:transparent;--checkbox-box-color:var(--jkl-color-border-action);--checkbox-check-color:var(--jkl-color-border-action)}.jkl-checkbox-panel__decorator{background-color:var(--checkbox-background-color);border:1px solid;border-color:var(--checkbox-box-color);border-radius:0;box-sizing:border-box;height:var(--jkl-checkbox-box-size);outline:none;position:relative;transition-duration:.15s;transition-property:background-color;transition-timing-function:ease;width:var(--jkl-checkbox-box-size)}@media screen and (forced-colors:active){.jkl-checkbox-panel__decorator{border:1px solid ButtonText;outline:revert}}.jkl-checkbox-panel__decorator:after{border-bottom:.125rem solid var(--checkbox-check-color);border-left-width:.125rem;border-left:0 solid var(--checkbox-check-color);border-right:.125rem solid var(--checkbox-check-color);border-top-width:.125rem;border-top:0 solid var(--checkbox-check-color);bottom:42%;content:"";display:block;height:58%;left:18%;opacity:0;position:absolute;transform:rotate(45deg);transform-origin:bottom left;transition-duration:.15s;transition-property:opacity,border-color;transition-timing-function:ease;width:18%}@media screen and (forced-colors:active){.jkl-checkbox-panel__decorator:after{border-color:ButtonText}}.jkl-checkbox-panel:has(:checked) .jkl-checkbox-panel__decorator:after{animation:jkl-checkbox-checked-uf46onk .15s ease-in-out forwards;opacity:1}.jkl-checkbox-panel:has([aria-invalid=true]){--checkbox-background-color:var(--jkl-color-background-alert-error);--checkbox-check-color:var(--jkl-color-text-on-alert)}
1
+ .jkl-input-panel{--outer-border-color:var(--jkl-color-border-input);--outer-border-thickness:0.0625rem;--background-color:transparent;background-color:var(--background-color);border-radius:4px;box-shadow:inset 0 0 0 var(--outer-border-thickness) var(--outer-border-color);cursor:pointer;padding-left:1rem}.jkl-input-panel__input{opacity:0;position:absolute;top:-6px}.jkl-input-panel__label{align-items:center;cursor:pointer;display:grid;gap:.5rem;grid-template-columns:-webkit-min-content fit-content(30%) 1fr;grid-template-columns:min-content fit-content(30%) 1fr}.jkl-input-panel__main-label{padding-block:1.5rem}.jkl-input-panel__extra-label{align-self:stretch;margin-left:1rem;margin-right:1rem}.jkl-input-panel__extra-label>:first-child{padding-right:1rem}.jkl-input-panel__extra-label--text{align-items:center;display:flex;height:100%}.jkl-input-panel__content{cursor:default;height:0;overflow:hidden;padding-right:1.5rem}.jkl-input-panel:has([aria-expanded=true]) .jkl-input-panel__content,.jkl-input-panel__content[data-alwaysopen=true]{height:auto;padding-bottom:24px}.jkl-input-panel:has(:focus-visible){outline:3px solid var(--jkl-color-border-action);outline-offset:3px}.jkl-input-panel:has(:checked){--background-color:var(--jkl-color-background-container-high)}.jkl-input-panel:hover{--outer-border-color:var(--jkl-color-border-separator-hover);--outer-border-thickness:0.125rem}@keyframes jkl-checkbox-checked-u3uv3km{0%{height:0;width:0}40%{height:0;width:18%}to{height:58%;width:18%}}.jkl-checkbox-panel{--checkbox-background-color:transparent;--checkbox-box-color:var(--jkl-color-border-action);--checkbox-check-color:var(--jkl-color-border-action)}.jkl-checkbox-panel__decorator{background-color:var(--checkbox-background-color);border:1px solid;border-color:var(--checkbox-box-color);border-radius:0;box-sizing:border-box;height:var(--jkl-checkbox-box-size);outline:none;position:relative;transition-duration:.15s;transition-property:background-color;transition-timing-function:ease;width:var(--jkl-checkbox-box-size)}@media screen and (forced-colors:active){.jkl-checkbox-panel__decorator{border:1px solid ButtonText;outline:revert}}.jkl-checkbox-panel__decorator:after{border-bottom:.125rem solid var(--checkbox-check-color);border-left-width:.125rem;border-left:0 solid var(--checkbox-check-color);border-right:.125rem solid var(--checkbox-check-color);border-top-width:.125rem;border-top:0 solid var(--checkbox-check-color);bottom:42%;content:"";display:block;height:58%;left:18%;opacity:0;position:absolute;transform:rotate(45deg);transform-origin:bottom left;transition-duration:.15s;transition-property:opacity,border-color;transition-timing-function:ease;width:18%}@media screen and (forced-colors:active){.jkl-checkbox-panel__decorator:after{border-color:ButtonText}}.jkl-checkbox-panel:has(:checked) .jkl-checkbox-panel__decorator:after{animation:jkl-checkbox-checked-u3uv3km .15s ease-in-out forwards;opacity:1}.jkl-checkbox-panel:has([aria-invalid=true]){--checkbox-background-color:var(--jkl-color-background-alert-error);--checkbox-check-color:var(--jkl-color-text-on-alert)}
@@ -6,7 +6,7 @@
6
6
  --outer-border-color: var(--jkl-color-border-input);
7
7
  --outer-border-thickness: 0.0625rem;
8
8
  --background-color: transparent;
9
- outline: var(--outer-border-thickness) solid var(--outer-border-color);
9
+ box-shadow: inset 0 0 0 var(--outer-border-thickness) var(--outer-border-color);
10
10
  border-radius: 4px;
11
11
  padding-left: 1rem;
12
12
  background-color: var(--background-color);
@@ -50,17 +50,19 @@
50
50
  padding-bottom: 24px;
51
51
  height: auto;
52
52
  }
53
- .jkl-input-panel:has(:focus-visible), .jkl-input-panel:hover {
54
- --outer-border-thickness: 0.125rem;
55
- --outer-border-color: var(--jkl-color-border-separator-hover);
53
+ .jkl-input-panel:has(:focus-visible) {
54
+ outline: 3px solid var(--jkl-color-border-action);
55
+ outline-offset: 3px;
56
56
  }
57
57
  .jkl-input-panel:has(:checked) {
58
- --outer-border-thickness: 0.125rem;
59
- --outer-border-color: var(--jkl-color-border-action);
60
58
  --background-color: var(--jkl-color-background-container-high);
61
59
  }
60
+ .jkl-input-panel:hover {
61
+ --outer-border-color: var(--jkl-color-border-separator-hover);
62
+ --outer-border-thickness: 0.125rem;
63
+ }
62
64
 
63
- @keyframes jkl-dot-in-ufzk7qo {
65
+ @keyframes jkl-dot-in-udafl23 {
64
66
  0% {
65
67
  transform: scale(0.8);
66
68
  }
@@ -108,7 +110,7 @@
108
110
  }
109
111
  }
110
112
  .jkl-radio-panel__input:checked + .jkl-radio-panel__decorator::after {
111
- animation: jkl-dot-in-ufzk7qo 150ms ease;
113
+ animation: jkl-dot-in-udafl23 150ms ease;
112
114
  }
113
115
  .jkl-radio-panel:has(:checked) {
114
116
  --radio-dot-color: var(--jkl-color-border-action);