@public-ui/components 4.3.0-rc.1 → 4.3.0-rc.2

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 (1315) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/copy-assets.mjs +93 -0
  7. package/custom-elements.json +86 -2
  8. package/dist/cjs/{Alert-DGeuWGwx.js → Alert-sCyOqN4Y.js} +7 -7
  9. package/dist/cjs/{Alert-DGeuWGwx.js.map → Alert-sCyOqN4Y.js.map} +1 -1
  10. package/dist/cjs/{Collapsible-D5MJpSsb.js → Collapsible-CXL7ivPf.js} +5 -5
  11. package/dist/cjs/{Collapsible-D5MJpSsb.js.map → Collapsible-CXL7ivPf.js.map} +1 -1
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-CXqRxSlV.js → CustomSuggestionsOptionsGroup-IZUE2a0s.js} +3 -3
  13. package/dist/cjs/{CustomSuggestionsOptionsGroup-CXqRxSlV.js.map → CustomSuggestionsOptionsGroup-IZUE2a0s.js.map} +1 -1
  14. package/dist/cjs/{FieldControlStateWrapper-9AbnJdJw.js → FieldControlStateWrapper-BO2aCnw8.js} +10 -10
  15. package/dist/cjs/{FieldControlStateWrapper-9AbnJdJw.js.map → FieldControlStateWrapper-BO2aCnw8.js.map} +1 -1
  16. package/dist/cjs/{FormFieldStateWrapper-D8PA3SkL.js → FormFieldStateWrapper-6k6Tq8hj.js} +37 -26
  17. package/dist/cjs/FormFieldStateWrapper-6k6Tq8hj.js.map +1 -0
  18. package/dist/cjs/{Heading-D9SmGbfD.js → Heading-B6Xi_fyv.js} +3 -3
  19. package/dist/cjs/{Heading-D9SmGbfD.js.map → Heading-B6Xi_fyv.js.map} +1 -1
  20. package/dist/cjs/{Input-7dreufF0.js → Input-C1rCVtkO.js} +5 -5
  21. package/dist/cjs/{Input-7dreufF0.js.map → Input-C1rCVtkO.js.map} +1 -1
  22. package/dist/cjs/{InputStateWrapper-ntE05AJl.js → InputStateWrapper-CpejkP8n.js} +6 -6
  23. package/dist/cjs/{InputStateWrapper-ntE05AJl.js.map → InputStateWrapper-CpejkP8n.js.map} +1 -1
  24. package/dist/cjs/{app-globals-DS0A1y3l.js → app-globals-DY0OQlRq.js} +4 -4
  25. package/dist/cjs/{app-globals-DS0A1y3l.js.map → app-globals-DY0OQlRq.js.map} +1 -1
  26. package/dist/cjs/aria-details-BmkDULud.js +26 -0
  27. package/dist/cjs/aria-details-BmkDULud.js.map +1 -0
  28. package/dist/cjs/{aria-labelledby-BhnM3OnL.js → aria-labelledby-B9XsjpBQ.js} +3 -19
  29. package/dist/cjs/aria-labelledby-B9XsjpBQ.js.map +1 -0
  30. package/dist/cjs/aria-labelledby-BcORen6I.js +26 -0
  31. package/dist/cjs/aria-labelledby-BcORen6I.js.map +1 -0
  32. package/dist/cjs/{associated.controller-CUvZCmFF.js → associated.controller-CszW50pZ.js} +9 -3
  33. package/dist/cjs/associated.controller-CszW50pZ.js.map +1 -0
  34. package/dist/cjs/{variant-quote-DUWZtljE.js → base-web-component-BJNHmpIo.js} +10 -10
  35. package/dist/cjs/base-web-component-BJNHmpIo.js.map +1 -0
  36. package/dist/cjs/{bem-registry-D9uDM1GJ.js → bem-registry-bkUwdl0m.js} +5 -2
  37. package/dist/cjs/bem-registry-bkUwdl0m.js.map +1 -0
  38. package/dist/cjs/{bootstrap-De2npoa_.js → bootstrap-C8choj80.js} +3 -3
  39. package/dist/cjs/{bootstrap-De2npoa_.js.map → bootstrap-C8choj80.js.map} +1 -1
  40. package/dist/cjs/{component-BpTg8PCv.js → component-D25hbRHL.js} +4 -4
  41. package/dist/cjs/{component-BpTg8PCv.js.map → component-D25hbRHL.js.map} +1 -1
  42. package/dist/cjs/{component-BEcrKHc2.js → component-D40K1uIa.js} +5 -5
  43. package/dist/cjs/{component-BEcrKHc2.js.map → component-D40K1uIa.js.map} +1 -1
  44. package/dist/cjs/{component-DA5ZXmFP.js → component-DprxeWfH.js} +4 -4
  45. package/dist/cjs/{component-DA5ZXmFP.js.map → component-DprxeWfH.js.map} +1 -1
  46. package/dist/cjs/{component-U7UWIKdR.js → component-b-BmClT0.js} +4 -4
  47. package/dist/cjs/{component-U7UWIKdR.js.map → component-b-BmClT0.js.map} +1 -1
  48. package/dist/cjs/{controller-DmoMYYzy.js → controller-DZKfoc-4.js} +3 -3
  49. package/dist/cjs/{controller-DmoMYYzy.js.map → controller-DZKfoc-4.js.map} +1 -1
  50. package/dist/cjs/{controller-DHsc-8t1.js → controller-Dkyvgyzl.js} +15 -15
  51. package/dist/cjs/controller-Dkyvgyzl.js.map +1 -0
  52. package/dist/cjs/{controller-CWTdHXvg.js → controller-DmyMo0CO.js} +3 -3
  53. package/dist/cjs/{controller-CWTdHXvg.js.map → controller-DmyMo0CO.js.map} +1 -1
  54. package/dist/cjs/{controller-Br37uto2.js → controller-MC2o6IAB.js} +3 -3
  55. package/dist/cjs/{controller-Br37uto2.js.map → controller-MC2o6IAB.js.map} +1 -1
  56. package/dist/cjs/{controller-icon-CdwPO8hD.js → controller-icon-DyQbzU-v.js} +6 -6
  57. package/dist/cjs/{controller-icon-CdwPO8hD.js.map → controller-icon-DyQbzU-v.js.map} +1 -1
  58. package/dist/cjs/{dev.utils-BaRzDChI.js → dev.utils-DvNz4B2G.js} +3 -3
  59. package/dist/cjs/{dev.utils-BaRzDChI.js.map → dev.utils-DvNz4B2G.js.map} +1 -1
  60. package/dist/cjs/{devtools-Ch90JQxx.js → devtools-DpjUkBF_.js} +4 -4
  61. package/dist/cjs/{devtools-Ch90JQxx.js.map → devtools-DpjUkBF_.js.map} +1 -1
  62. package/dist/cjs/element-focus-B4BhAkh_.js.map +1 -1
  63. package/dist/cjs/{i18n-DL7vJXNn.js → i18n-BVrSOH9l.js} +3 -3
  64. package/dist/cjs/{i18n-DL7vJXNn.js.map → i18n-BVrSOH9l.js.map} +1 -1
  65. package/dist/cjs/{i18n-CgUN6lev.js → i18n-D1iTbPTC.js} +4 -2
  66. package/dist/cjs/i18n-D1iTbPTC.js.map +1 -0
  67. package/dist/cjs/{index-Dk00HcEs.js → index-Bo9_lDIt.js} +3 -3
  68. package/dist/cjs/{index-Dk00HcEs.js.map → index-Bo9_lDIt.js.map} +1 -1
  69. package/dist/cjs/index.cjs.js +3 -3
  70. package/dist/cjs/kol-abbr.cjs.entry.js +45 -26
  71. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  72. package/dist/cjs/kol-accordion.cjs.entry.js +6 -6
  73. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  74. package/dist/cjs/kol-alert-wc.cjs.entry.js +8 -8
  75. package/dist/cjs/kol-alert.cjs.entry.js +3 -3
  76. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  77. package/dist/cjs/kol-avatar.cjs.entry.js +8 -8
  78. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  79. package/dist/cjs/kol-badge.cjs.entry.js +8 -8
  80. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  81. package/dist/cjs/kol-breadcrumb.cjs.entry.js +5 -5
  82. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  83. package/dist/cjs/kol-button-link.cjs.entry.js +3 -3
  84. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  85. package/dist/cjs/kol-button-wc.cjs.entry.js +15 -13
  86. package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
  87. package/dist/cjs/kol-button.cjs.entry.js +3 -3
  88. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  89. package/dist/cjs/kol-card-wc.cjs.entry.js +11 -11
  90. package/dist/cjs/kol-card.cjs.entry.js +3 -3
  91. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  92. package/dist/cjs/kol-click-button.cjs.entry.js +7 -7
  93. package/dist/cjs/kol-click-button.entry.cjs.js.map +1 -1
  94. package/dist/cjs/kol-combobox.cjs.entry.js +53 -44
  95. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  96. package/dist/cjs/kol-details.cjs.entry.js +6 -6
  97. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  98. package/dist/cjs/kol-dialog-wc.cjs.entry.js +4 -4
  99. package/dist/cjs/kol-dialog.cjs.entry.js +3 -3
  100. package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
  101. package/dist/cjs/kol-drawer.cjs.entry.js +4 -4
  102. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  103. package/dist/cjs/kol-form.cjs.entry.js +20 -22
  104. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  105. package/dist/cjs/kol-heading.cjs.entry.js +5 -5
  106. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  107. package/dist/cjs/kol-icon.cjs.entry.js +7 -7
  108. package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
  109. package/dist/cjs/kol-image.cjs.entry.js +7 -7
  110. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  111. package/dist/cjs/kol-input-checkbox.cjs.entry.js +27 -20
  112. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  113. package/dist/cjs/kol-input-color.cjs.entry.js +27 -20
  114. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  115. package/dist/cjs/kol-input-date.cjs.entry.js +27 -20
  116. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  117. package/dist/cjs/kol-input-email.cjs.entry.js +29 -22
  118. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  119. package/dist/cjs/kol-input-file.cjs.entry.js +27 -20
  120. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  121. package/dist/cjs/kol-input-number.cjs.entry.js +27 -20
  122. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  123. package/dist/cjs/kol-input-password.cjs.entry.js +28 -21
  124. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-input-radio.cjs.entry.js +27 -20
  126. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-input-range.cjs.entry.js +29 -21
  128. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  129. package/dist/cjs/kol-input-text.cjs.entry.js +29 -22
  130. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  131. package/dist/cjs/kol-kolibri.cjs.entry.js +5 -5
  132. package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-link-button.cjs.entry.js +3 -3
  134. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-link-wc.cjs.entry.js +12 -12
  136. package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
  137. package/dist/cjs/kol-link.cjs.entry.js +3 -3
  138. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  139. package/dist/cjs/kol-meter.cjs.entry.js +13 -9
  140. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
  141. package/dist/cjs/kol-modal.cjs.entry.js +3 -3
  142. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  143. package/dist/cjs/kol-nav.cjs.entry.js +7 -7
  144. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  145. package/dist/cjs/kol-pagination-wc.cjs.entry.js +4 -4
  146. package/dist/cjs/kol-pagination.cjs.entry.js +3 -3
  147. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  148. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +4 -4
  149. package/dist/cjs/kol-popover-button-wc.entry.cjs.js.map +1 -1
  150. package/dist/cjs/kol-popover-button.cjs.entry.js +3 -3
  151. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  152. package/dist/cjs/kol-progress.cjs.entry.js +7 -7
  153. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  154. package/dist/cjs/kol-quote.cjs.entry.js +8 -8
  155. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  156. package/dist/cjs/kol-select-wc.cjs.entry.js +27 -20
  157. package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
  158. package/dist/cjs/kol-select.cjs.entry.js +11 -3
  159. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  160. package/dist/cjs/kol-single-select.cjs.entry.js +31 -24
  161. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  162. package/dist/cjs/kol-skeleton.cjs.entry.js +6 -6
  163. package/dist/cjs/kol-skeleton.entry.cjs.js.map +1 -1
  164. package/dist/cjs/kol-skip-nav.cjs.entry.js +3 -3
  165. package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
  166. package/dist/cjs/kol-spin.cjs.entry.js +9 -17
  167. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  168. package/dist/cjs/kol-split-button.cjs.entry.js +6 -6
  169. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  170. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +6 -5
  171. package/dist/cjs/kol-table-settings-wc.entry.cjs.js.map +1 -1
  172. package/dist/cjs/kol-table-stateful.cjs.entry.js +8 -7
  173. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  174. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +14 -14
  175. package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
  176. package/dist/cjs/kol-table-stateless.cjs.entry.js +6 -5
  177. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  178. package/dist/cjs/kol-tabs.cjs.entry.js +6 -6
  179. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  180. package/dist/cjs/kol-textarea.cjs.entry.js +25 -18
  181. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  182. package/dist/cjs/kol-toast-container.cjs.entry.js +12 -12
  183. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  184. package/dist/cjs/kol-toolbar.cjs.entry.js +3 -3
  185. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  186. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +9 -9
  187. package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
  188. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +7 -7
  189. package/dist/cjs/kol-tree-item.cjs.entry.js +3 -3
  190. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  191. package/dist/cjs/kol-tree-wc.cjs.entry.js +2 -2
  192. package/dist/cjs/kol-tree-wc.entry.cjs.js.map +1 -1
  193. package/dist/cjs/kol-tree.cjs.entry.js +3 -3
  194. package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
  195. package/dist/cjs/kol-version.cjs.entry.js +5 -5
  196. package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
  197. package/dist/cjs/kolibri.cjs.js +3 -3
  198. package/dist/cjs/loader.cjs.js +3 -3
  199. package/dist/cjs/test-component.cjs.entry.js +1 -1
  200. package/dist/collection/collection-manifest.json +1 -1
  201. package/dist/collection/components/@deprecated/input/controller.js +25 -14
  202. package/dist/collection/components/@deprecated/input/controller.js.map +1 -1
  203. package/dist/collection/components/_skeleton/web-components/click-button/component.js +2 -2
  204. package/dist/collection/components/_skeleton/web-components/click-button/component.js.map +1 -1
  205. package/dist/collection/components/_skeleton/web-components/skeleton/component.js +1 -1
  206. package/dist/collection/components/abbr/{shadow.js → component.js} +15 -21
  207. package/dist/collection/components/abbr/component.js.map +1 -0
  208. package/dist/collection/components/abbr/style.css +11 -5
  209. package/dist/collection/components/accordion/shadow.js +1 -1
  210. package/dist/collection/components/accordion/shadow.js.map +1 -1
  211. package/dist/collection/components/accordion/style.css +11 -5
  212. package/dist/collection/components/alert/component.js +1 -1
  213. package/dist/collection/components/alert/shadow.js +1 -1
  214. package/dist/collection/components/alert/style.css +10 -5
  215. package/dist/collection/components/avatar/component.js +1 -1
  216. package/dist/collection/components/avatar/style.css +9 -3
  217. package/dist/collection/components/badge/shadow.js +2 -2
  218. package/dist/collection/components/badge/style.css +11 -5
  219. package/dist/collection/components/breadcrumb/shadow.js +1 -1
  220. package/dist/collection/components/breadcrumb/style.css +11 -5
  221. package/dist/collection/components/button/component.js +2 -2
  222. package/dist/collection/components/button/component.js.map +1 -1
  223. package/dist/collection/components/button/shadow.js +1 -1
  224. package/dist/collection/components/button/shadow.js.map +1 -1
  225. package/dist/collection/components/button/style.css +10 -5
  226. package/dist/collection/components/button-link/shadow.js +1 -1
  227. package/dist/collection/components/button-link/shadow.js.map +1 -1
  228. package/dist/collection/components/button-link/style.css +11 -5
  229. package/dist/collection/components/card/component.js +1 -1
  230. package/dist/collection/components/card/shadow.js +1 -1
  231. package/dist/collection/components/card/style.css +10 -5
  232. package/dist/collection/components/combobox/shadow.js +58 -24
  233. package/dist/collection/components/combobox/shadow.js.map +1 -1
  234. package/dist/collection/components/combobox/style.css +11 -6
  235. package/dist/collection/components/component-list.js +1 -1
  236. package/dist/collection/components/component-list.js.map +1 -1
  237. package/dist/collection/components/details/shadow.js +1 -1
  238. package/dist/collection/components/details/shadow.js.map +1 -1
  239. package/dist/collection/components/details/style.css +10 -5
  240. package/dist/collection/components/dialog/component.js +2 -2
  241. package/dist/collection/components/dialog/shadow.js +1 -1
  242. package/dist/collection/components/dialog/style.css +10 -5
  243. package/dist/collection/components/drawer/shadow.js +1 -1
  244. package/dist/collection/components/drawer/style.css +10 -5
  245. package/dist/collection/components/form/shadow.js +23 -16
  246. package/dist/collection/components/form/shadow.js.map +1 -1
  247. package/dist/collection/components/form/style.css +10 -5
  248. package/dist/collection/components/heading/component.js +1 -1
  249. package/dist/collection/components/heading/style.css +9 -3
  250. package/dist/collection/components/icon/component.js +1 -1
  251. package/dist/collection/components/icon/style.css +2 -2
  252. package/dist/collection/components/image/component.js +1 -1
  253. package/dist/collection/components/image/style.css +9 -3
  254. package/dist/collection/components/input-adapter-leanup/associated.controller.js +6 -0
  255. package/dist/collection/components/input-adapter-leanup/associated.controller.js.map +1 -1
  256. package/dist/collection/components/input-checkbox/shadow.js +33 -1
  257. package/dist/collection/components/input-checkbox/shadow.js.map +1 -1
  258. package/dist/collection/components/input-checkbox/style.css +13 -10
  259. package/dist/collection/components/input-color/shadow.js +33 -1
  260. package/dist/collection/components/input-color/shadow.js.map +1 -1
  261. package/dist/collection/components/input-color/style.css +11 -6
  262. package/dist/collection/components/input-date/controller.js.map +1 -1
  263. package/dist/collection/components/input-date/shadow.js +33 -1
  264. package/dist/collection/components/input-date/shadow.js.map +1 -1
  265. package/dist/collection/components/input-date/style.css +11 -6
  266. package/dist/collection/components/input-email/shadow.js +33 -1
  267. package/dist/collection/components/input-email/shadow.js.map +1 -1
  268. package/dist/collection/components/input-email/style.css +11 -6
  269. package/dist/collection/components/input-file/shadow.js +33 -1
  270. package/dist/collection/components/input-file/shadow.js.map +1 -1
  271. package/dist/collection/components/input-file/style.css +11 -6
  272. package/dist/collection/components/input-number/shadow.js +33 -1
  273. package/dist/collection/components/input-number/shadow.js.map +1 -1
  274. package/dist/collection/components/input-number/style.css +11 -6
  275. package/dist/collection/components/input-password/shadow.js +33 -1
  276. package/dist/collection/components/input-password/shadow.js.map +1 -1
  277. package/dist/collection/components/input-password/style.css +11 -6
  278. package/dist/collection/components/input-radio/shadow.js +33 -1
  279. package/dist/collection/components/input-radio/shadow.js.map +1 -1
  280. package/dist/collection/components/input-radio/style.css +13 -10
  281. package/dist/collection/components/input-range/shadow.js +35 -2
  282. package/dist/collection/components/input-range/shadow.js.map +1 -1
  283. package/dist/collection/components/input-range/style.css +14 -6
  284. package/dist/collection/components/input-text/shadow.js +33 -1
  285. package/dist/collection/components/input-text/shadow.js.map +1 -1
  286. package/dist/collection/components/input-text/style.css +11 -6
  287. package/dist/collection/components/kolibri/shadow.js +1 -1
  288. package/dist/collection/components/kolibri/style.css +9 -3
  289. package/dist/collection/components/link/component.js +2 -2
  290. package/dist/collection/components/link/component.js.map +1 -1
  291. package/dist/collection/components/link/shadow.js +1 -1
  292. package/dist/collection/components/link/shadow.js.map +1 -1
  293. package/dist/collection/components/link/style.css +11 -5
  294. package/dist/collection/components/link-button/shadow.js +1 -1
  295. package/dist/collection/components/link-button/shadow.js.map +1 -1
  296. package/dist/collection/components/link-button/style.css +10 -5
  297. package/dist/collection/components/meter/component.js +2 -2
  298. package/dist/collection/components/meter/component.js.map +1 -1
  299. package/dist/collection/components/meter/style.css +9 -3
  300. package/dist/collection/components/modal/shadow.js +1 -1
  301. package/dist/collection/components/modal/style.css +10 -5
  302. package/dist/collection/components/nav/shadow.js +2 -2
  303. package/dist/collection/components/nav/style.css +11 -5
  304. package/dist/collection/components/pagination/shadow.js +1 -1
  305. package/dist/collection/components/pagination/style.css +11 -6
  306. package/dist/collection/components/popover-button/component.js +2 -2
  307. package/dist/collection/components/popover-button/component.js.map +1 -1
  308. package/dist/collection/components/popover-button/shadow.js +1 -1
  309. package/dist/collection/components/popover-button/shadow.js.map +1 -1
  310. package/dist/collection/components/popover-button/style.css +10 -5
  311. package/dist/collection/components/progress/component.js +1 -1
  312. package/dist/collection/components/progress/style.css +9 -3
  313. package/dist/collection/components/quote/component.js +1 -1
  314. package/dist/collection/components/quote/style.css +8 -3
  315. package/dist/collection/components/select/component.js +34 -2
  316. package/dist/collection/components/select/component.js.map +1 -1
  317. package/dist/collection/components/select/shadow.js +36 -1
  318. package/dist/collection/components/select/shadow.js.map +1 -1
  319. package/dist/collection/components/select/style.css +11 -6
  320. package/dist/collection/components/single-select/shadow.js +35 -3
  321. package/dist/collection/components/single-select/shadow.js.map +1 -1
  322. package/dist/collection/components/single-select/style.css +11 -6
  323. package/dist/collection/components/skip-nav/shadow.js +1 -1
  324. package/dist/collection/components/skip-nav/shadow.js.map +1 -1
  325. package/dist/collection/components/skip-nav/style.css +11 -5
  326. package/dist/collection/components/spin/component.js +1 -1
  327. package/dist/collection/components/spin/component.js.map +1 -1
  328. package/dist/collection/components/spin/style.css +9 -3
  329. package/dist/collection/components/split-button/shadow.js +2 -2
  330. package/dist/collection/components/split-button/shadow.js.map +1 -1
  331. package/dist/collection/components/split-button/style.css +11 -5
  332. package/dist/collection/components/table-stateful/shadow.js +1 -1
  333. package/dist/collection/components/table-stateful/style.css +11 -6
  334. package/dist/collection/components/table-stateless/component.js +6 -6
  335. package/dist/collection/components/table-stateless/component.js.map +1 -1
  336. package/dist/collection/components/table-stateless/shadow.js +1 -1
  337. package/dist/collection/components/table-stateless/style.css +10 -5
  338. package/dist/collection/components/table-stateless/table-settings.js +3 -2
  339. package/dist/collection/components/table-stateless/table-settings.js.map +1 -1
  340. package/dist/collection/components/tabs/shadow.js +2 -2
  341. package/dist/collection/components/tabs/shadow.js.map +1 -1
  342. package/dist/collection/components/tabs/style.css +11 -5
  343. package/dist/collection/components/textarea/shadow.js +33 -1
  344. package/dist/collection/components/textarea/shadow.js.map +1 -1
  345. package/dist/collection/components/textarea/style.css +11 -6
  346. package/dist/collection/components/toaster/shadow.js +1 -1
  347. package/dist/collection/components/toaster/style.css +10 -5
  348. package/dist/collection/components/toolbar/shadow.js +1 -1
  349. package/dist/collection/components/toolbar/shadow.js.map +1 -1
  350. package/dist/collection/components/toolbar/style.css +10 -5
  351. package/dist/collection/components/tooltip/component.js +1 -1
  352. package/dist/collection/components/tree/component.js +1 -1
  353. package/dist/collection/components/tree/component.js.map +1 -1
  354. package/dist/collection/components/tree/shadow.js +1 -1
  355. package/dist/collection/components/tree/shadow.js.map +1 -1
  356. package/dist/collection/components/tree/style.css +9 -3
  357. package/dist/collection/components/tree-item/component.js +3 -3
  358. package/dist/collection/components/tree-item/shadow.js +1 -1
  359. package/dist/collection/components/tree-item/style.css +11 -5
  360. package/dist/collection/components/version/shadow.js +1 -1
  361. package/dist/collection/components/version/style.css +9 -3
  362. package/dist/collection/e2e/index.js +0 -1
  363. package/dist/collection/e2e/index.js.map +1 -1
  364. package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js +1 -1
  365. package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js.map +1 -1
  366. package/dist/collection/index.js.map +1 -1
  367. package/dist/collection/internal/functional-components/abbr/api.js +8 -0
  368. package/dist/collection/internal/functional-components/abbr/api.js.map +1 -0
  369. package/dist/collection/internal/functional-components/abbr/component.js +9 -0
  370. package/dist/collection/internal/functional-components/abbr/component.js.map +1 -0
  371. package/dist/collection/internal/functional-components/abbr/controller.js +20 -0
  372. package/dist/collection/internal/functional-components/abbr/controller.js.map +1 -0
  373. package/dist/collection/internal/functional-components/meter/component.js +5 -1
  374. package/dist/collection/internal/functional-components/meter/component.js.map +1 -1
  375. package/dist/collection/internal/functional-components/meter/controller.js.map +1 -1
  376. package/dist/collection/internal/functional-components/progress/controller.js.map +1 -1
  377. package/dist/collection/internal/functional-components/spin/api.js.map +1 -1
  378. package/dist/collection/internal/functional-components/spin/component.js +3 -2
  379. package/dist/collection/internal/functional-components/spin/component.js.map +1 -1
  380. package/dist/collection/internal/functional-components/spin/controller.js +0 -9
  381. package/dist/collection/internal/functional-components/spin/controller.js.map +1 -1
  382. package/dist/collection/locales/de.js +1 -0
  383. package/dist/collection/locales/de.js.map +1 -1
  384. package/dist/collection/locales/en.js +1 -0
  385. package/dist/collection/locales/en.js.map +1 -1
  386. package/dist/collection/schema/bem-registry.js +3 -0
  387. package/dist/collection/schema/bem-registry.js.map +1 -1
  388. package/dist/collection/schema/components/combobox.js.map +1 -1
  389. package/dist/collection/schema/components/input-checkbox.js.map +1 -1
  390. package/dist/collection/schema/components/input-color.js.map +1 -1
  391. package/dist/collection/schema/components/input-date.js.map +1 -1
  392. package/dist/collection/schema/components/input-email.js.map +1 -1
  393. package/dist/collection/schema/components/input-file.js.map +1 -1
  394. package/dist/collection/schema/components/input-number.js.map +1 -1
  395. package/dist/collection/schema/components/input-password.js.map +1 -1
  396. package/dist/collection/schema/components/input-radio.js.map +1 -1
  397. package/dist/collection/schema/components/input-range.js.map +1 -1
  398. package/dist/collection/schema/components/input-text.js.map +1 -1
  399. package/dist/collection/schema/components/select.js.map +1 -1
  400. package/dist/collection/schema/components/single-select.js.map +1 -1
  401. package/dist/collection/schema/components/textarea.js.map +1 -1
  402. package/dist/collection/schema/interfaces/ClickableElement.js +2 -0
  403. package/dist/collection/schema/interfaces/ClickableElement.js.map +1 -0
  404. package/dist/collection/schema/interfaces/index.js +1 -0
  405. package/dist/collection/schema/interfaces/index.js.map +1 -1
  406. package/dist/collection/schema/props/aria-details.js +19 -0
  407. package/dist/collection/schema/props/aria-details.js.map +1 -0
  408. package/dist/collection/schema/props/error-list.js.map +1 -1
  409. package/dist/collection/schema/props/index.js +1 -0
  410. package/dist/collection/schema/props/index.js.map +1 -1
  411. package/dist/collection/utils/aria-labelledby.js.map +1 -1
  412. package/dist/collection/utils/element-click.js.map +1 -1
  413. package/dist/components/FieldControlStateWrapper.js +1 -1
  414. package/dist/components/access-and-short-key.js +1 -1
  415. package/dist/components/align-floating-elements.js +1 -1
  416. package/dist/components/aria-details.js +24 -0
  417. package/dist/components/aria-details.js.map +1 -0
  418. package/dist/components/aria-labelledby.js +1 -17
  419. package/dist/components/aria-labelledby.js.map +1 -1
  420. package/dist/components/aria-labelledby2.js +24 -0
  421. package/dist/components/aria-labelledby2.js.map +1 -0
  422. package/dist/components/associated.controller.js +6 -0
  423. package/dist/components/associated.controller.js.map +1 -1
  424. package/dist/components/{variant-quote.js → base-web-component.js} +11 -11
  425. package/dist/components/base-web-component.js.map +1 -0
  426. package/dist/components/bem-registry.js +3 -0
  427. package/dist/components/bem-registry.js.map +1 -1
  428. package/dist/components/color.js +1 -1
  429. package/dist/components/controller.js +14 -14
  430. package/dist/components/controller.js.map +1 -1
  431. package/dist/components/controller3.js +28 -17
  432. package/dist/components/controller3.js.map +1 -1
  433. package/dist/components/controller4.js +2 -2
  434. package/dist/components/dev.utils.js +1 -1
  435. package/dist/components/disabled.js +1 -1
  436. package/dist/components/element-focus.js.map +1 -1
  437. package/dist/components/i18n.js +1 -1
  438. package/dist/components/i18n2.js +2 -0
  439. package/dist/components/i18n2.js.map +1 -1
  440. package/dist/components/kol-abbr.js +45 -25
  441. package/dist/components/kol-abbr.js.map +1 -1
  442. package/dist/components/kol-accordion.js +3 -3
  443. package/dist/components/kol-accordion.js.map +1 -1
  444. package/dist/components/kol-alert-wc.js +2 -2
  445. package/dist/components/kol-alert.js +2 -2
  446. package/dist/components/kol-alert.js.map +1 -1
  447. package/dist/components/kol-avatar.js +4 -4
  448. package/dist/components/kol-avatar.js.map +1 -1
  449. package/dist/components/kol-badge.js +3 -3
  450. package/dist/components/kol-badge.js.map +1 -1
  451. package/dist/components/kol-breadcrumb.js +3 -3
  452. package/dist/components/kol-breadcrumb.js.map +1 -1
  453. package/dist/components/kol-button-link.js +2 -2
  454. package/dist/components/kol-button-link.js.map +1 -1
  455. package/dist/components/kol-button-wc.js +4 -4
  456. package/dist/components/kol-button-wc.js.map +1 -1
  457. package/dist/components/kol-button.js +2 -2
  458. package/dist/components/kol-button.js.map +1 -1
  459. package/dist/components/kol-card-wc.js +3 -3
  460. package/dist/components/kol-card.js +2 -2
  461. package/dist/components/kol-card.js.map +1 -1
  462. package/dist/components/kol-click-button.js +4 -4
  463. package/dist/components/kol-click-button.js.map +1 -1
  464. package/dist/components/kol-combobox.js +34 -25
  465. package/dist/components/kol-combobox.js.map +1 -1
  466. package/dist/components/kol-details.js +3 -3
  467. package/dist/components/kol-details.js.map +1 -1
  468. package/dist/components/kol-dialog-wc.js +3 -3
  469. package/dist/components/kol-dialog.js +2 -2
  470. package/dist/components/kol-dialog.js.map +1 -1
  471. package/dist/components/kol-drawer.js +3 -3
  472. package/dist/components/kol-drawer.js.map +1 -1
  473. package/dist/components/kol-form.js +13 -15
  474. package/dist/components/kol-form.js.map +1 -1
  475. package/dist/components/kol-heading.js +3 -3
  476. package/dist/components/kol-heading.js.map +1 -1
  477. package/dist/components/kol-icon.js +4 -4
  478. package/dist/components/kol-image.js +3 -3
  479. package/dist/components/kol-image.js.map +1 -1
  480. package/dist/components/kol-input-checkbox.js +9 -2
  481. package/dist/components/kol-input-checkbox.js.map +1 -1
  482. package/dist/components/kol-input-color.js +9 -2
  483. package/dist/components/kol-input-color.js.map +1 -1
  484. package/dist/components/kol-input-date.js +9 -2
  485. package/dist/components/kol-input-date.js.map +1 -1
  486. package/dist/components/kol-input-email.js +9 -2
  487. package/dist/components/kol-input-email.js.map +1 -1
  488. package/dist/components/kol-input-file.js +9 -2
  489. package/dist/components/kol-input-file.js.map +1 -1
  490. package/dist/components/kol-input-number.js +9 -2
  491. package/dist/components/kol-input-number.js.map +1 -1
  492. package/dist/components/kol-input-password.js +9 -2
  493. package/dist/components/kol-input-password.js.map +1 -1
  494. package/dist/components/kol-input-radio.js +9 -2
  495. package/dist/components/kol-input-radio.js.map +1 -1
  496. package/dist/components/kol-input-range.js +11 -3
  497. package/dist/components/kol-input-range.js.map +1 -1
  498. package/dist/components/kol-input-text.js +9 -2
  499. package/dist/components/kol-input-text.js.map +1 -1
  500. package/dist/components/kol-kolibri.js +2 -2
  501. package/dist/components/kol-kolibri.js.map +1 -1
  502. package/dist/components/kol-link-button.js +2 -2
  503. package/dist/components/kol-link-button.js.map +1 -1
  504. package/dist/components/kol-link-wc.js +4 -4
  505. package/dist/components/kol-link-wc.js.map +1 -1
  506. package/dist/components/kol-link.js +2 -2
  507. package/dist/components/kol-link.js.map +1 -1
  508. package/dist/components/kol-meter.js +10 -6
  509. package/dist/components/kol-meter.js.map +1 -1
  510. package/dist/components/kol-modal.js +2 -2
  511. package/dist/components/kol-modal.js.map +1 -1
  512. package/dist/components/kol-nav.js +4 -4
  513. package/dist/components/kol-nav.js.map +1 -1
  514. package/dist/components/kol-pagination-wc.js +1 -1
  515. package/dist/components/kol-pagination.js +2 -2
  516. package/dist/components/kol-pagination.js.map +1 -1
  517. package/dist/components/kol-popover-button-wc.js +2 -2
  518. package/dist/components/kol-popover-button-wc.js.map +1 -1
  519. package/dist/components/kol-popover-button.js +2 -2
  520. package/dist/components/kol-popover-button.js.map +1 -1
  521. package/dist/components/kol-progress.js +4 -4
  522. package/dist/components/kol-progress.js.map +1 -1
  523. package/dist/components/kol-quote.js +4 -4
  524. package/dist/components/kol-quote.js.map +1 -1
  525. package/dist/components/kol-select-wc.js +10 -3
  526. package/dist/components/kol-select-wc.js.map +1 -1
  527. package/dist/components/kol-select.js +12 -2
  528. package/dist/components/kol-select.js.map +1 -1
  529. package/dist/components/kol-single-select.js +11 -4
  530. package/dist/components/kol-single-select.js.map +1 -1
  531. package/dist/components/kol-skeleton.js +2 -2
  532. package/dist/components/kol-skip-nav.js +3 -3
  533. package/dist/components/kol-skip-nav.js.map +1 -1
  534. package/dist/components/kol-spin.js +6 -14
  535. package/dist/components/kol-spin.js.map +1 -1
  536. package/dist/components/kol-split-button.js +3 -3
  537. package/dist/components/kol-split-button.js.map +1 -1
  538. package/dist/components/kol-table-settings-wc.js +3 -2
  539. package/dist/components/kol-table-settings-wc.js.map +1 -1
  540. package/dist/components/kol-table-stateful.js +5 -4
  541. package/dist/components/kol-table-stateful.js.map +1 -1
  542. package/dist/components/kol-table-stateless-wc.js +7 -7
  543. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  544. package/dist/components/kol-table-stateless.js +4 -3
  545. package/dist/components/kol-table-stateless.js.map +1 -1
  546. package/dist/components/kol-tabs.js +4 -4
  547. package/dist/components/kol-tabs.js.map +1 -1
  548. package/dist/components/kol-textarea.js +9 -2
  549. package/dist/components/kol-textarea.js.map +1 -1
  550. package/dist/components/kol-toast-container.js +3 -3
  551. package/dist/components/kol-toast-container.js.map +1 -1
  552. package/dist/components/kol-toolbar.js +3 -3
  553. package/dist/components/kol-toolbar.js.map +1 -1
  554. package/dist/components/kol-tooltip-wc.js +2 -2
  555. package/dist/components/kol-tree-item-wc.js +4 -4
  556. package/dist/components/kol-tree-item.js +2 -2
  557. package/dist/components/kol-tree-item.js.map +1 -1
  558. package/dist/components/kol-tree-wc.js +2 -2
  559. package/dist/components/kol-tree-wc.js.map +1 -1
  560. package/dist/components/kol-tree.js +2 -2
  561. package/dist/components/kol-tree.js.map +1 -1
  562. package/dist/components/kol-version.js +3 -3
  563. package/dist/components/kol-version.js.map +1 -1
  564. package/dist/components/label.js +3 -37
  565. package/dist/components/label.js.map +1 -1
  566. package/dist/components/label2.js +37 -3
  567. package/dist/components/label2.js.map +1 -1
  568. package/dist/components/prop.validators.js +1 -1
  569. package/dist/components/suggestions.js +1 -1
  570. package/dist/esm/{Alert-2bYvhb8i.js → Alert-LeFfZ8Oj.js} +7 -7
  571. package/dist/{kolibri/Alert-2bYvhb8i.js.map → esm/Alert-LeFfZ8Oj.js.map} +1 -1
  572. package/dist/esm/{Collapsible-OjK6lDr2.js → Collapsible-BG8kZny4.js} +5 -5
  573. package/dist/{kolibri/Collapsible-OjK6lDr2.js.map → esm/Collapsible-BG8kZny4.js.map} +1 -1
  574. package/dist/esm/{CustomSuggestionsOptionsGroup-Cw_y_smw.js → CustomSuggestionsOptionsGroup--3PdjAdp.js} +3 -3
  575. package/dist/{kolibri/CustomSuggestionsOptionsGroup-Cw_y_smw.js.map → esm/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
  576. package/dist/esm/{FieldControlStateWrapper-CU6OjlrU.js → FieldControlStateWrapper-BJghqA8K.js} +10 -10
  577. package/dist/{kolibri/FieldControlStateWrapper-CU6OjlrU.js.map → esm/FieldControlStateWrapper-BJghqA8K.js.map} +1 -1
  578. package/dist/esm/{FormFieldStateWrapper-C31luuWs.js → FormFieldStateWrapper-D1Q6Lpff.js} +43 -32
  579. package/dist/esm/FormFieldStateWrapper-D1Q6Lpff.js.map +1 -0
  580. package/dist/esm/{Heading-C9p_CRv4.js → Heading-uCdB_mbH.js} +3 -3
  581. package/dist/esm/{Heading-C9p_CRv4.js.map → Heading-uCdB_mbH.js.map} +1 -1
  582. package/dist/esm/{Input-CwcyFZhB.js → Input-Cu811opH.js} +6 -6
  583. package/dist/{kolibri/Input-CwcyFZhB.js.map → esm/Input-Cu811opH.js.map} +1 -1
  584. package/dist/esm/{InputStateWrapper-CcDZH7W5.js → InputStateWrapper-Cl_V9Vuo.js} +6 -6
  585. package/dist/esm/{InputStateWrapper-CcDZH7W5.js.map → InputStateWrapper-Cl_V9Vuo.js.map} +1 -1
  586. package/dist/esm/{access-and-short-key-CnWGdP5U.js → access-and-short-key-C7QS_Tel.js} +3 -3
  587. package/dist/esm/{access-and-short-key-CnWGdP5U.js.map → access-and-short-key-C7QS_Tel.js.map} +1 -1
  588. package/dist/esm/{align-ChLoh-Dq.js → align-DdWzcKWR.js} +3 -3
  589. package/dist/esm/{align-ChLoh-Dq.js.map → align-DdWzcKWR.js.map} +1 -1
  590. package/dist/esm/{align-floating-elements-DTTpkCAK.js → align-floating-elements-CqZdcuwL.js} +3 -3
  591. package/dist/{kolibri/align-floating-elements-DTTpkCAK.js.map → esm/align-floating-elements-CqZdcuwL.js.map} +1 -1
  592. package/dist/esm/{app-globals-Cwf240Bw.js → app-globals-DMlUA9Gw.js} +5 -5
  593. package/dist/esm/{app-globals-Cwf240Bw.js.map → app-globals-DMlUA9Gw.js.map} +1 -1
  594. package/dist/esm/aria-details-CG4GFq8t.js +24 -0
  595. package/dist/esm/aria-details-CG4GFq8t.js.map +1 -0
  596. package/dist/esm/{aria-expanded--y6Ce39-.js → aria-expanded-BwKOdsiZ.js} +3 -3
  597. package/dist/{kolibri/aria-expanded--y6Ce39-.js.map → esm/aria-expanded-BwKOdsiZ.js.map} +1 -1
  598. package/dist/esm/{aria-labelledby-BUOJRaGL.js → aria-labelledby-6-ki3akM.js} +3 -19
  599. package/dist/esm/aria-labelledby-6-ki3akM.js.map +1 -0
  600. package/dist/esm/aria-labelledby-BuvPnlu7.js +24 -0
  601. package/dist/esm/aria-labelledby-BuvPnlu7.js.map +1 -0
  602. package/dist/esm/{associated.controller-D55JWKjs.js → associated.controller-Da2zylzp.js} +10 -4
  603. package/dist/esm/associated.controller-Da2zylzp.js.map +1 -0
  604. package/dist/esm/{auto-complete-CrQJr3SH.js → auto-complete-p-8iouPy.js} +3 -3
  605. package/dist/esm/{auto-complete-CrQJr3SH.js.map → auto-complete-p-8iouPy.js.map} +1 -1
  606. package/dist/esm/{variant-quote-BMV8GZX8.js → base-web-component-CArCAUxk.js} +11 -11
  607. package/dist/esm/base-web-component-CArCAUxk.js.map +1 -0
  608. package/dist/esm/{bem-registry-B9CzNnO1.js → bem-registry-CqAKWtWY.js} +6 -3
  609. package/dist/esm/bem-registry-CqAKWtWY.js.map +1 -0
  610. package/dist/esm/{bootstrap-UOb6OarC.js → bootstrap-C2nJoN6K.js} +4 -4
  611. package/dist/esm/{bootstrap-UOb6OarC.js.map → bootstrap-C2nJoN6K.js.map} +1 -1
  612. package/dist/esm/{color-Df2awjVY.js → color-CftCtla8.js} +4 -4
  613. package/dist/{kolibri/color-Df2awjVY.js.map → esm/color-CftCtla8.js.map} +1 -1
  614. package/dist/esm/{common-DEEjER7G.js → common-DyILLof-.js} +3 -3
  615. package/dist/esm/{common-DEEjER7G.js.map → common-DyILLof-.js.map} +1 -1
  616. package/dist/esm/{component-j5NhcleS.js → component-2ImIjrdm.js} +4 -4
  617. package/dist/{kolibri/component-j5NhcleS.js.map → esm/component-2ImIjrdm.js.map} +1 -1
  618. package/dist/esm/{component-ijX_kUom.js → component-DI3pO3QY.js} +4 -4
  619. package/dist/esm/{component-ijX_kUom.js.map → component-DI3pO3QY.js.map} +1 -1
  620. package/dist/esm/{component-4RtkhTfb.js → component-DbrY6RW_.js} +6 -6
  621. package/dist/{kolibri/component-4RtkhTfb.js.map → esm/component-DbrY6RW_.js.map} +1 -1
  622. package/dist/esm/{component-BFsdrctP.js → component-fsnfw59D.js} +4 -4
  623. package/dist/esm/{component-BFsdrctP.js.map → component-fsnfw59D.js.map} +1 -1
  624. package/dist/esm/{contrast-C0oqtcfU.js → contrast-D1msrkD4.js} +3 -3
  625. package/dist/esm/{contrast-C0oqtcfU.js.map → contrast-D1msrkD4.js.map} +1 -1
  626. package/dist/esm/{controller-D0y9uwX0.js → controller-B21n_zqt.js} +3 -3
  627. package/dist/esm/{controller-D0y9uwX0.js.map → controller-B21n_zqt.js.map} +1 -1
  628. package/dist/esm/{controller-DvdfA2RR.js → controller-B2Qb2oqz.js} +7 -7
  629. package/dist/{kolibri/controller-DvdfA2RR.js.map → esm/controller-B2Qb2oqz.js.map} +1 -1
  630. package/dist/esm/{controller-B4DO-yV0.js → controller-BuikHDKh.js} +6 -6
  631. package/dist/{kolibri/controller-B4DO-yV0.js.map → esm/controller-BuikHDKh.js.map} +1 -1
  632. package/dist/esm/{controller-oT8Y98Yc.js → controller-CJs4fTO0.js} +20 -20
  633. package/dist/esm/controller-CJs4fTO0.js.map +1 -0
  634. package/dist/esm/{controller-CcrsrzWi.js → controller-DiWO-Gw_.js} +10 -10
  635. package/dist/esm/{controller-CcrsrzWi.js.map → controller-DiWO-Gw_.js.map} +1 -1
  636. package/dist/esm/{controller-icon-D3_aQk9W.js → controller-icon-DaBPXypo.js} +8 -8
  637. package/dist/esm/{controller-icon-D3_aQk9W.js.map → controller-icon-DaBPXypo.js.map} +1 -1
  638. package/dist/esm/{custom-class-RTVG26D_.js → custom-class-DRA8ZYTU.js} +3 -3
  639. package/dist/esm/{custom-class-RTVG26D_.js.map → custom-class-DRA8ZYTU.js.map} +1 -1
  640. package/dist/esm/{dev.utils-Cv9uCwkA.js → dev.utils-Ce_5C3Pe.js} +4 -4
  641. package/dist/{kolibri/dev.utils-Cv9uCwkA.js.map → esm/dev.utils-Ce_5C3Pe.js.map} +1 -1
  642. package/dist/esm/{devtools-BOWjtOAI.js → devtools-yLGw7QsN.js} +5 -5
  643. package/dist/esm/{devtools-BOWjtOAI.js.map → devtools-yLGw7QsN.js.map} +1 -1
  644. package/dist/esm/{disabled-CtaJsBT2.js → disabled-DzYBnXfG.js} +3 -3
  645. package/dist/esm/{disabled-CtaJsBT2.js.map → disabled-DzYBnXfG.js.map} +1 -1
  646. package/dist/esm/element-focus-BQXzaLL9.js.map +1 -1
  647. package/dist/esm/{has-closer-GBI76y-L.js → has-closer-COzVY-FT.js} +3 -3
  648. package/dist/esm/{has-closer-GBI76y-L.js.map → has-closer-COzVY-FT.js.map} +1 -1
  649. package/dist/esm/{hide-label-CWFMK5Iz.js → hide-label-jbOZNqJV.js} +3 -3
  650. package/dist/esm/{hide-label-CWFMK5Iz.js.map → hide-label-jbOZNqJV.js.map} +1 -1
  651. package/dist/esm/{href-yQN98Z4F.js → href-CMm8l_Io.js} +3 -3
  652. package/dist/esm/{href-yQN98Z4F.js.map → href-CMm8l_Io.js.map} +1 -1
  653. package/dist/esm/{i18n-CaL2ODdQ.js → i18n-BkwRYsvE.js} +4 -4
  654. package/dist/esm/{i18n-CaL2ODdQ.js.map → i18n-BkwRYsvE.js.map} +1 -1
  655. package/dist/esm/{i18n-B2d_exHc.js → i18n-CMA39edx.js} +4 -2
  656. package/dist/esm/i18n-CMA39edx.js.map +1 -0
  657. package/dist/esm/{icons-DOGnS2Iv.js → icons-BfxrxChI.js} +3 -3
  658. package/dist/{kolibri/icons-DOGnS2Iv.js.map → esm/icons-BfxrxChI.js.map} +1 -1
  659. package/dist/esm/{index-DqvPZ16l.js → index-CwtGN7ID.js} +4 -4
  660. package/dist/esm/{index-DqvPZ16l.js.map → index-CwtGN7ID.js.map} +1 -1
  661. package/dist/esm/index.js +6 -6
  662. package/dist/esm/{inline-D3v7pifU.js → inline-CIEtzpMz.js} +3 -3
  663. package/dist/esm/{inline-D3v7pifU.js.map → inline-CIEtzpMz.js.map} +1 -1
  664. package/dist/esm/kol-abbr.entry.js +48 -29
  665. package/dist/esm/kol-abbr.entry.js.map +1 -1
  666. package/dist/esm/kol-accordion.entry.js +13 -13
  667. package/dist/esm/kol-accordion.entry.js.map +1 -1
  668. package/dist/esm/kol-alert-wc.entry.js +14 -14
  669. package/dist/esm/kol-alert.entry.js +4 -4
  670. package/dist/esm/kol-alert.entry.js.map +1 -1
  671. package/dist/esm/kol-avatar.entry.js +12 -12
  672. package/dist/esm/kol-avatar.entry.js.map +1 -1
  673. package/dist/esm/kol-badge.entry.js +12 -12
  674. package/dist/esm/kol-badge.entry.js.map +1 -1
  675. package/dist/esm/kol-breadcrumb.entry.js +9 -9
  676. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  677. package/dist/esm/kol-button-link.entry.js +4 -4
  678. package/dist/esm/kol-button-link.entry.js.map +1 -1
  679. package/dist/esm/kol-button-wc.entry.js +30 -28
  680. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  681. package/dist/esm/kol-button.entry.js +4 -4
  682. package/dist/esm/kol-button.entry.js.map +1 -1
  683. package/dist/esm/kol-card-wc.entry.js +17 -17
  684. package/dist/esm/kol-card.entry.js +4 -4
  685. package/dist/esm/kol-card.entry.js.map +1 -1
  686. package/dist/esm/kol-click-button.entry.js +9 -9
  687. package/dist/esm/kol-click-button.entry.js.map +1 -1
  688. package/dist/esm/kol-combobox.entry.js +68 -59
  689. package/dist/esm/kol-combobox.entry.js.map +1 -1
  690. package/dist/esm/kol-details.entry.js +13 -13
  691. package/dist/esm/kol-details.entry.js.map +1 -1
  692. package/dist/esm/kol-dialog-wc.entry.js +9 -9
  693. package/dist/esm/kol-dialog.entry.js +4 -4
  694. package/dist/esm/kol-dialog.entry.js.map +1 -1
  695. package/dist/esm/kol-drawer.entry.js +12 -12
  696. package/dist/esm/kol-drawer.entry.js.map +1 -1
  697. package/dist/esm/kol-form.entry.js +21 -23
  698. package/dist/esm/kol-form.entry.js.map +1 -1
  699. package/dist/esm/kol-heading.entry.js +7 -7
  700. package/dist/esm/kol-heading.entry.js.map +1 -1
  701. package/dist/esm/kol-icon.entry.js +9 -9
  702. package/dist/esm/kol-image.entry.js +7 -7
  703. package/dist/esm/kol-image.entry.js.map +1 -1
  704. package/dist/esm/kol-input-checkbox.entry.js +41 -34
  705. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  706. package/dist/esm/kol-input-color.entry.js +41 -34
  707. package/dist/esm/kol-input-color.entry.js.map +1 -1
  708. package/dist/esm/kol-input-date.entry.js +44 -37
  709. package/dist/esm/kol-input-date.entry.js.map +1 -1
  710. package/dist/esm/kol-input-email.entry.js +50 -43
  711. package/dist/esm/kol-input-email.entry.js.map +1 -1
  712. package/dist/esm/kol-input-file.entry.js +41 -34
  713. package/dist/esm/kol-input-file.entry.js.map +1 -1
  714. package/dist/esm/kol-input-number.entry.js +45 -38
  715. package/dist/esm/kol-input-number.entry.js.map +1 -1
  716. package/dist/esm/kol-input-password.entry.js +46 -39
  717. package/dist/esm/kol-input-password.entry.js.map +1 -1
  718. package/dist/esm/kol-input-radio.entry.js +41 -34
  719. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  720. package/dist/esm/kol-input-range.entry.js +44 -36
  721. package/dist/esm/kol-input-range.entry.js.map +1 -1
  722. package/dist/esm/kol-input-text.entry.js +49 -42
  723. package/dist/esm/kol-input-text.entry.js.map +1 -1
  724. package/dist/esm/kol-kolibri.entry.js +8 -8
  725. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  726. package/dist/esm/kol-link-button.entry.js +4 -4
  727. package/dist/esm/kol-link-button.entry.js.map +1 -1
  728. package/dist/esm/kol-link-wc.entry.js +27 -27
  729. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  730. package/dist/esm/kol-link.entry.js +4 -4
  731. package/dist/esm/kol-link.entry.js.map +1 -1
  732. package/dist/esm/kol-meter.entry.js +16 -12
  733. package/dist/esm/kol-meter.entry.js.map +1 -1
  734. package/dist/esm/kol-modal.entry.js +4 -4
  735. package/dist/esm/kol-modal.entry.js.map +1 -1
  736. package/dist/esm/kol-nav.entry.js +12 -12
  737. package/dist/esm/kol-nav.entry.js.map +1 -1
  738. package/dist/esm/kol-pagination-wc.entry.js +10 -10
  739. package/dist/esm/kol-pagination.entry.js +4 -4
  740. package/dist/esm/kol-pagination.entry.js.map +1 -1
  741. package/dist/esm/kol-popover-button-wc.entry.js +8 -8
  742. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
  743. package/dist/esm/kol-popover-button.entry.js +4 -4
  744. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  745. package/dist/esm/kol-progress.entry.js +10 -10
  746. package/dist/esm/kol-progress.entry.js.map +1 -1
  747. package/dist/esm/kol-quote.entry.js +8 -8
  748. package/dist/esm/kol-quote.entry.js.map +1 -1
  749. package/dist/esm/kol-select-wc.entry.js +44 -37
  750. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  751. package/dist/esm/kol-select.entry.js +12 -4
  752. package/dist/esm/kol-select.entry.js.map +1 -1
  753. package/dist/esm/kol-single-select.entry.js +46 -39
  754. package/dist/esm/kol-single-select.entry.js.map +1 -1
  755. package/dist/esm/kol-skeleton.entry.js +7 -7
  756. package/dist/esm/kol-skip-nav.entry.js +7 -7
  757. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  758. package/dist/esm/kol-spin.entry.js +11 -19
  759. package/dist/esm/kol-spin.entry.js.map +1 -1
  760. package/dist/esm/kol-split-button.entry.js +7 -7
  761. package/dist/esm/kol-split-button.entry.js.map +1 -1
  762. package/dist/esm/kol-table-settings-wc.entry.js +7 -6
  763. package/dist/esm/kol-table-settings-wc.entry.js.map +1 -1
  764. package/dist/esm/kol-table-stateful.entry.js +10 -9
  765. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  766. package/dist/esm/kol-table-stateless-wc.entry.js +18 -18
  767. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  768. package/dist/esm/kol-table-stateless.entry.js +6 -5
  769. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  770. package/dist/esm/kol-tabs.entry.js +9 -9
  771. package/dist/esm/kol-tabs.entry.js.map +1 -1
  772. package/dist/esm/kol-textarea.entry.js +43 -36
  773. package/dist/esm/kol-textarea.entry.js.map +1 -1
  774. package/dist/esm/kol-toast-container.entry.js +14 -14
  775. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  776. package/dist/esm/kol-toolbar.entry.js +6 -6
  777. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  778. package/dist/esm/kol-tooltip-wc.entry.js +13 -13
  779. package/dist/esm/kol-tree-item-wc.entry.js +11 -11
  780. package/dist/esm/kol-tree-item.entry.js +4 -4
  781. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  782. package/dist/esm/kol-tree-wc.entry.js +4 -4
  783. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  784. package/dist/esm/kol-tree.entry.js +4 -4
  785. package/dist/esm/kol-tree.entry.js.map +1 -1
  786. package/dist/esm/kol-version.entry.js +7 -7
  787. package/dist/esm/kol-version.entry.js.map +1 -1
  788. package/dist/esm/kolibri.js +5 -5
  789. package/dist/esm/{label-DPd4-fag.js → label-BT-6lb8r.js} +3 -3
  790. package/dist/esm/{label-DPd4-fag.js.map → label-BT-6lb8r.js.map} +1 -1
  791. package/dist/esm/{label-Cg7TG_7b.js → label-BiOix5de.js} +3 -3
  792. package/dist/{kolibri/label-Cg7TG_7b.js.map → esm/label-BiOix5de.js.map} +1 -1
  793. package/dist/esm/{level-CfQolHx4.js → level-Kr0RFikR.js} +3 -3
  794. package/dist/esm/{level-CfQolHx4.js.map → level-Kr0RFikR.js.map} +1 -1
  795. package/dist/esm/loader.js +5 -5
  796. package/dist/esm/{max-length-behavior-426q5CU6.js → max-length-behavior-CRJOkECl.js} +3 -3
  797. package/dist/esm/{max-length-behavior-426q5CU6.js.map → max-length-behavior-CRJOkECl.js.map} +1 -1
  798. package/dist/esm/{multiple-LEiooHN4.js → multiple-hxH51udE.js} +3 -3
  799. package/dist/esm/{multiple-LEiooHN4.js.map → multiple-hxH51udE.js.map} +1 -1
  800. package/dist/esm/{normalizers-pgU77mXp.js → normalizers-B5NKuJgN.js} +3 -3
  801. package/dist/esm/{normalizers-pgU77mXp.js.map → normalizers-B5NKuJgN.js.map} +1 -1
  802. package/dist/esm/{open-Djbpz6kg.js → open-DZ2Z5a7z.js} +3 -3
  803. package/dist/esm/{open-Djbpz6kg.js.map → open-DZ2Z5a7z.js.map} +1 -1
  804. package/dist/esm/{orientation-BzQXB0-V.js → orientation-BptN6AOK.js} +3 -3
  805. package/dist/esm/{orientation-BzQXB0-V.js.map → orientation-BptN6AOK.js.map} +1 -1
  806. package/dist/esm/{placeholder-CSgrK1Zh.js → placeholder-B4wceSsL.js} +3 -3
  807. package/dist/esm/{placeholder-CSgrK1Zh.js.map → placeholder-B4wceSsL.js.map} +1 -1
  808. package/dist/esm/{read-only-DyuIPHMt.js → read-only-DIC7Vhiy.js} +3 -3
  809. package/dist/esm/{read-only-DyuIPHMt.js.map → read-only-DIC7Vhiy.js.map} +1 -1
  810. package/dist/esm/{required-DAsW5lI1.js → required-By197yB9.js} +3 -3
  811. package/dist/esm/{required-DAsW5lI1.js.map → required-By197yB9.js.map} +1 -1
  812. package/dist/esm/{rows-Bdp885AQ.js → rows-BwZCT-gJ.js} +3 -3
  813. package/dist/esm/{rows-Bdp885AQ.js.map → rows-BwZCT-gJ.js.map} +1 -1
  814. package/dist/esm/{spell-check-CSnDB95u.js → spell-check-CKvoSTJE.js} +3 -3
  815. package/dist/esm/{spell-check-CSnDB95u.js.map → spell-check-CKvoSTJE.js.map} +1 -1
  816. package/dist/esm/{src-C8dP-FLK.js → src-DH5c0A9H.js} +3 -3
  817. package/dist/esm/{src-C8dP-FLK.js.map → src-DH5c0A9H.js.map} +1 -1
  818. package/dist/esm/{suggestions-Cnn1r8zc.js → suggestions-C2o-U3UR.js} +3 -3
  819. package/dist/esm/{suggestions-Cnn1r8zc.js.map → suggestions-C2o-U3UR.js.map} +1 -1
  820. package/dist/esm/{table-selection-DlaNrAWM.js → table-selection-G45AEZGP.js} +3 -3
  821. package/dist/esm/{table-selection-DlaNrAWM.js.map → table-selection-G45AEZGP.js.map} +1 -1
  822. package/dist/esm/test-component.entry.js +2 -2
  823. package/dist/esm/{tooltip-align-DzHPWEpv.js → tooltip-align-BZrIplzz.js} +4 -4
  824. package/dist/esm/{tooltip-align-DzHPWEpv.js.map → tooltip-align-BZrIplzz.js.map} +1 -1
  825. package/dist/esm/{unique-nav-labels-7ifGcuBZ.js → unique-nav-labels-OKhw3uEq.js} +3 -3
  826. package/dist/esm/{unique-nav-labels-7ifGcuBZ.js.map → unique-nav-labels-OKhw3uEq.js.map} +1 -1
  827. package/dist/esm/{validation-B8MhupBp.js → validation-DFynMQYA.js} +3 -3
  828. package/dist/esm/{validation-B8MhupBp.js.map → validation-DFynMQYA.js.map} +1 -1
  829. package/dist/esm/{validation-VhuthteS.js → validation-D_PYegRV.js} +4 -4
  830. package/dist/esm/{validation-VhuthteS.js.map → validation-D_PYegRV.js.map} +1 -1
  831. package/dist/esm/{value-number-clamped-BQ9jw4HR.js → value-number-clamped-eznLHU11.js} +3 -3
  832. package/dist/esm/{value-number-clamped-BQ9jw4HR.js.map → value-number-clamped-eznLHU11.js.map} +1 -1
  833. package/dist/esm/{variant-class-name-CkfE8oGZ.js → variant-class-name-B1jsQGPM.js} +3 -3
  834. package/dist/esm/{variant-class-name-CkfE8oGZ.js.map → variant-class-name-B1jsQGPM.js.map} +1 -1
  835. package/dist/kolibri/Alert-LeFfZ8Oj.js +5 -0
  836. package/dist/{esm/Alert-2bYvhb8i.js.map → kolibri/Alert-LeFfZ8Oj.js.map} +1 -1
  837. package/dist/kolibri/{Collapsible-OjK6lDr2.js → Collapsible-BG8kZny4.js} +2 -2
  838. package/dist/{esm/Collapsible-OjK6lDr2.js.map → kolibri/Collapsible-BG8kZny4.js.map} +1 -1
  839. package/dist/kolibri/{CustomSuggestionsOptionsGroup-Cw_y_smw.js → CustomSuggestionsOptionsGroup--3PdjAdp.js} +2 -2
  840. package/dist/{esm/CustomSuggestionsOptionsGroup-Cw_y_smw.js.map → kolibri/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
  841. package/dist/kolibri/FieldControlStateWrapper-BJghqA8K.js +5 -0
  842. package/dist/{esm/FieldControlStateWrapper-CU6OjlrU.js.map → kolibri/FieldControlStateWrapper-BJghqA8K.js.map} +1 -1
  843. package/dist/kolibri/FormFieldStateWrapper-D1Q6Lpff.js +5 -0
  844. package/dist/kolibri/FormFieldStateWrapper-D1Q6Lpff.js.map +1 -0
  845. package/dist/kolibri/{Heading-C9p_CRv4.js → Heading-uCdB_mbH.js} +2 -2
  846. package/dist/kolibri/{Heading-C9p_CRv4.js.map → Heading-uCdB_mbH.js.map} +1 -1
  847. package/dist/kolibri/Input-Cu811opH.js +5 -0
  848. package/dist/{esm/Input-CwcyFZhB.js.map → kolibri/Input-Cu811opH.js.map} +1 -1
  849. package/dist/kolibri/{InputStateWrapper-CcDZH7W5.js → InputStateWrapper-Cl_V9Vuo.js} +2 -2
  850. package/dist/kolibri/{InputStateWrapper-CcDZH7W5.js.map → InputStateWrapper-Cl_V9Vuo.js.map} +1 -1
  851. package/dist/kolibri/{access-and-short-key-CnWGdP5U.js → access-and-short-key-C7QS_Tel.js} +2 -2
  852. package/dist/kolibri/{access-and-short-key-CnWGdP5U.js.map → access-and-short-key-C7QS_Tel.js.map} +1 -1
  853. package/dist/kolibri/{align-ChLoh-Dq.js → align-DdWzcKWR.js} +2 -2
  854. package/dist/kolibri/{align-ChLoh-Dq.js.map → align-DdWzcKWR.js.map} +1 -1
  855. package/dist/kolibri/{align-floating-elements-DTTpkCAK.js → align-floating-elements-CqZdcuwL.js} +2 -2
  856. package/dist/{esm/align-floating-elements-DTTpkCAK.js.map → kolibri/align-floating-elements-CqZdcuwL.js.map} +1 -1
  857. package/dist/kolibri/app-globals-DMlUA9Gw.js +5 -0
  858. package/dist/kolibri/{app-globals-Cwf240Bw.js.map → app-globals-DMlUA9Gw.js.map} +1 -1
  859. package/dist/kolibri/aria-details-CG4GFq8t.js +5 -0
  860. package/dist/kolibri/aria-details-CG4GFq8t.js.map +1 -0
  861. package/dist/kolibri/aria-expanded-BwKOdsiZ.js +5 -0
  862. package/dist/{esm/aria-expanded--y6Ce39-.js.map → kolibri/aria-expanded-BwKOdsiZ.js.map} +1 -1
  863. package/dist/kolibri/aria-labelledby-6-ki3akM.js +5 -0
  864. package/dist/kolibri/aria-labelledby-6-ki3akM.js.map +1 -0
  865. package/dist/kolibri/aria-labelledby-BuvPnlu7.js +5 -0
  866. package/dist/kolibri/aria-labelledby-BuvPnlu7.js.map +1 -0
  867. package/dist/kolibri/associated.controller-Da2zylzp.js +5 -0
  868. package/dist/kolibri/associated.controller-Da2zylzp.js.map +1 -0
  869. package/dist/kolibri/{auto-complete-CrQJr3SH.js → auto-complete-p-8iouPy.js} +2 -2
  870. package/dist/kolibri/{auto-complete-CrQJr3SH.js.map → auto-complete-p-8iouPy.js.map} +1 -1
  871. package/dist/kolibri/base-web-component-CArCAUxk.js +5 -0
  872. package/dist/kolibri/base-web-component-CArCAUxk.js.map +1 -0
  873. package/dist/kolibri/bem-registry-CqAKWtWY.js +5 -0
  874. package/dist/kolibri/bem-registry-CqAKWtWY.js.map +1 -0
  875. package/dist/kolibri/{bootstrap-UOb6OarC.js → bootstrap-C2nJoN6K.js} +2 -2
  876. package/dist/kolibri/{bootstrap-UOb6OarC.js.map → bootstrap-C2nJoN6K.js.map} +1 -1
  877. package/dist/kolibri/{color-Df2awjVY.js → color-CftCtla8.js} +2 -2
  878. package/dist/{esm/color-Df2awjVY.js.map → kolibri/color-CftCtla8.js.map} +1 -1
  879. package/dist/kolibri/{common-DEEjER7G.js → common-DyILLof-.js} +2 -2
  880. package/dist/kolibri/{common-DEEjER7G.js.map → common-DyILLof-.js.map} +1 -1
  881. package/dist/kolibri/component-2ImIjrdm.js +5 -0
  882. package/dist/{esm/component-j5NhcleS.js.map → kolibri/component-2ImIjrdm.js.map} +1 -1
  883. package/dist/kolibri/component-DI3pO3QY.js +5 -0
  884. package/dist/kolibri/{component-ijX_kUom.js.map → component-DI3pO3QY.js.map} +1 -1
  885. package/dist/kolibri/{component-4RtkhTfb.js → component-DbrY6RW_.js} +2 -2
  886. package/dist/{esm/component-4RtkhTfb.js.map → kolibri/component-DbrY6RW_.js.map} +1 -1
  887. package/dist/kolibri/component-fsnfw59D.js +5 -0
  888. package/dist/kolibri/{component-BFsdrctP.js.map → component-fsnfw59D.js.map} +1 -1
  889. package/dist/kolibri/{contrast-C0oqtcfU.js → contrast-D1msrkD4.js} +2 -2
  890. package/dist/kolibri/{contrast-C0oqtcfU.js.map → contrast-D1msrkD4.js.map} +1 -1
  891. package/dist/kolibri/{controller-D0y9uwX0.js → controller-B21n_zqt.js} +2 -2
  892. package/dist/kolibri/{controller-D0y9uwX0.js.map → controller-B21n_zqt.js.map} +1 -1
  893. package/dist/kolibri/controller-B2Qb2oqz.js +5 -0
  894. package/dist/{esm/controller-DvdfA2RR.js.map → kolibri/controller-B2Qb2oqz.js.map} +1 -1
  895. package/dist/kolibri/controller-BuikHDKh.js +5 -0
  896. package/dist/{esm/controller-B4DO-yV0.js.map → kolibri/controller-BuikHDKh.js.map} +1 -1
  897. package/dist/kolibri/controller-CJs4fTO0.js +5 -0
  898. package/dist/kolibri/controller-CJs4fTO0.js.map +1 -0
  899. package/dist/kolibri/{controller-CcrsrzWi.js → controller-DiWO-Gw_.js} +2 -2
  900. package/dist/kolibri/{controller-CcrsrzWi.js.map → controller-DiWO-Gw_.js.map} +1 -1
  901. package/dist/kolibri/{controller-icon-D3_aQk9W.js → controller-icon-DaBPXypo.js} +2 -2
  902. package/dist/kolibri/{controller-icon-D3_aQk9W.js.map → controller-icon-DaBPXypo.js.map} +1 -1
  903. package/dist/kolibri/custom-class-DRA8ZYTU.js +5 -0
  904. package/dist/kolibri/{custom-class-RTVG26D_.js.map → custom-class-DRA8ZYTU.js.map} +1 -1
  905. package/dist/kolibri/dev.utils-Ce_5C3Pe.js +5 -0
  906. package/dist/{esm/dev.utils-Cv9uCwkA.js.map → kolibri/dev.utils-Ce_5C3Pe.js.map} +1 -1
  907. package/dist/kolibri/devtools-yLGw7QsN.js +5 -0
  908. package/dist/kolibri/{devtools-BOWjtOAI.js.map → devtools-yLGw7QsN.js.map} +1 -1
  909. package/dist/kolibri/{disabled-CtaJsBT2.js → disabled-DzYBnXfG.js} +2 -2
  910. package/dist/kolibri/{disabled-CtaJsBT2.js.map → disabled-DzYBnXfG.js.map} +1 -1
  911. package/dist/kolibri/element-focus-BQXzaLL9.js.map +1 -1
  912. package/dist/kolibri/has-closer-COzVY-FT.js +5 -0
  913. package/dist/kolibri/{has-closer-GBI76y-L.js.map → has-closer-COzVY-FT.js.map} +1 -1
  914. package/dist/kolibri/hide-label-jbOZNqJV.js +5 -0
  915. package/dist/kolibri/{hide-label-CWFMK5Iz.js.map → hide-label-jbOZNqJV.js.map} +1 -1
  916. package/dist/kolibri/href-CMm8l_Io.js +5 -0
  917. package/dist/kolibri/{href-yQN98Z4F.js.map → href-CMm8l_Io.js.map} +1 -1
  918. package/dist/kolibri/i18n-BkwRYsvE.js +5 -0
  919. package/dist/kolibri/{i18n-CaL2ODdQ.js.map → i18n-BkwRYsvE.js.map} +1 -1
  920. package/dist/kolibri/i18n-CMA39edx.js +5 -0
  921. package/dist/kolibri/i18n-CMA39edx.js.map +1 -0
  922. package/dist/kolibri/{icons-DOGnS2Iv.js → icons-BfxrxChI.js} +2 -2
  923. package/dist/{esm/icons-DOGnS2Iv.js.map → kolibri/icons-BfxrxChI.js.map} +1 -1
  924. package/dist/kolibri/{index-DqvPZ16l.js → index-CwtGN7ID.js} +3 -3
  925. package/dist/kolibri/{index-DqvPZ16l.js.map → index-CwtGN7ID.js.map} +1 -1
  926. package/dist/kolibri/index.esm.js +1 -1
  927. package/dist/kolibri/inline-CIEtzpMz.js +5 -0
  928. package/dist/kolibri/{inline-D3v7pifU.js.map → inline-CIEtzpMz.js.map} +1 -1
  929. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  930. package/dist/kolibri/kol-abbr.entry.js +1 -1
  931. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  932. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  933. package/dist/kolibri/kol-accordion.entry.js +1 -1
  934. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  935. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  936. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  937. package/dist/kolibri/kol-alert.entry.js +1 -1
  938. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  939. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  940. package/dist/kolibri/kol-avatar.entry.js +1 -1
  941. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  942. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  943. package/dist/kolibri/kol-badge.entry.js +1 -1
  944. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  945. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  946. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  947. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  948. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  949. package/dist/kolibri/kol-button-link.entry.js +1 -1
  950. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  951. package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
  952. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  953. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  954. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  955. package/dist/kolibri/kol-button.entry.js +1 -1
  956. package/dist/kolibri/kol-button.entry.js.map +1 -1
  957. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  958. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  959. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  960. package/dist/kolibri/kol-card.entry.js +1 -1
  961. package/dist/kolibri/kol-card.entry.js.map +1 -1
  962. package/dist/kolibri/kol-click-button.entry.esm.js.map +1 -1
  963. package/dist/kolibri/kol-click-button.entry.js +1 -1
  964. package/dist/kolibri/kol-click-button.entry.js.map +1 -1
  965. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  966. package/dist/kolibri/kol-combobox.entry.js +1 -1
  967. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  968. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  969. package/dist/kolibri/kol-details.entry.js +1 -1
  970. package/dist/kolibri/kol-details.entry.js.map +1 -1
  971. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  972. package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
  973. package/dist/kolibri/kol-dialog.entry.js +1 -1
  974. package/dist/kolibri/kol-dialog.entry.js.map +1 -1
  975. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  976. package/dist/kolibri/kol-drawer.entry.js +1 -1
  977. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  978. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  979. package/dist/kolibri/kol-form.entry.js +1 -1
  980. package/dist/kolibri/kol-form.entry.js.map +1 -1
  981. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  982. package/dist/kolibri/kol-heading.entry.js +1 -1
  983. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  984. package/dist/kolibri/kol-icon.entry.js +1 -1
  985. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  986. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  987. package/dist/kolibri/kol-image.entry.js +1 -1
  988. package/dist/kolibri/kol-image.entry.js.map +1 -1
  989. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  990. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  991. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  992. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  993. package/dist/kolibri/kol-input-color.entry.js +1 -1
  994. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  995. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  996. package/dist/kolibri/kol-input-date.entry.js +1 -1
  997. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  998. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  999. package/dist/kolibri/kol-input-email.entry.js +1 -1
  1000. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  1001. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  1002. package/dist/kolibri/kol-input-file.entry.js +1 -1
  1003. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  1004. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  1005. package/dist/kolibri/kol-input-number.entry.js +1 -1
  1006. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  1007. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  1008. package/dist/kolibri/kol-input-password.entry.js +1 -1
  1009. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  1010. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  1011. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  1012. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  1013. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  1014. package/dist/kolibri/kol-input-range.entry.js +1 -1
  1015. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  1016. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  1017. package/dist/kolibri/kol-input-text.entry.js +1 -1
  1018. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  1019. package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
  1020. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  1021. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  1022. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  1023. package/dist/kolibri/kol-link-button.entry.js +1 -1
  1024. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  1025. package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
  1026. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  1027. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  1028. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  1029. package/dist/kolibri/kol-link.entry.js +1 -1
  1030. package/dist/kolibri/kol-link.entry.js.map +1 -1
  1031. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  1032. package/dist/kolibri/kol-meter.entry.js +1 -1
  1033. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  1034. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  1035. package/dist/kolibri/kol-modal.entry.js +1 -1
  1036. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  1037. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  1038. package/dist/kolibri/kol-nav.entry.js +1 -1
  1039. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  1040. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  1041. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  1042. package/dist/kolibri/kol-pagination.entry.js +1 -1
  1043. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  1044. package/dist/kolibri/kol-popover-button-wc.entry.esm.js.map +1 -1
  1045. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  1046. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  1047. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  1048. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  1049. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  1050. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  1051. package/dist/kolibri/kol-progress.entry.js +1 -1
  1052. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  1053. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  1054. package/dist/kolibri/kol-quote.entry.js +1 -1
  1055. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  1056. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  1057. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  1058. package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
  1059. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  1060. package/dist/kolibri/kol-select.entry.js +1 -1
  1061. package/dist/kolibri/kol-select.entry.js.map +1 -1
  1062. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  1063. package/dist/kolibri/kol-single-select.entry.js +1 -1
  1064. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  1065. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  1066. package/dist/kolibri/kol-skeleton.entry.js.map +1 -1
  1067. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  1068. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  1069. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  1070. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  1071. package/dist/kolibri/kol-spin.entry.js +1 -1
  1072. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  1073. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  1074. package/dist/kolibri/kol-split-button.entry.js +1 -1
  1075. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  1076. package/dist/kolibri/kol-table-settings-wc.entry.esm.js.map +1 -1
  1077. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  1078. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
  1079. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  1080. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  1081. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  1082. package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
  1083. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  1084. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  1085. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  1086. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  1087. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  1088. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  1089. package/dist/kolibri/kol-tabs.entry.js +1 -1
  1090. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  1091. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  1092. package/dist/kolibri/kol-textarea.entry.js +1 -1
  1093. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  1094. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  1095. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  1096. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  1097. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  1098. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  1099. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  1100. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  1101. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  1102. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  1103. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  1104. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  1105. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  1106. package/dist/kolibri/kol-tree-wc.entry.esm.js.map +1 -1
  1107. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  1108. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  1109. package/dist/kolibri/kol-tree.entry.js +1 -1
  1110. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  1111. package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
  1112. package/dist/kolibri/kol-version.entry.js +1 -1
  1113. package/dist/kolibri/kol-version.entry.js.map +1 -1
  1114. package/dist/kolibri/kolibri.esm.js +1 -1
  1115. package/dist/kolibri/{label-DPd4-fag.js → label-BT-6lb8r.js} +2 -2
  1116. package/dist/kolibri/{label-DPd4-fag.js.map → label-BT-6lb8r.js.map} +1 -1
  1117. package/dist/kolibri/label-BiOix5de.js +5 -0
  1118. package/dist/{esm/label-Cg7TG_7b.js.map → kolibri/label-BiOix5de.js.map} +1 -1
  1119. package/dist/kolibri/{level-CfQolHx4.js → level-Kr0RFikR.js} +2 -2
  1120. package/dist/kolibri/{level-CfQolHx4.js.map → level-Kr0RFikR.js.map} +1 -1
  1121. package/dist/kolibri/max-length-behavior-CRJOkECl.js +5 -0
  1122. package/dist/kolibri/{max-length-behavior-426q5CU6.js.map → max-length-behavior-CRJOkECl.js.map} +1 -1
  1123. package/dist/kolibri/multiple-hxH51udE.js +5 -0
  1124. package/dist/kolibri/{multiple-LEiooHN4.js.map → multiple-hxH51udE.js.map} +1 -1
  1125. package/dist/kolibri/{normalizers-pgU77mXp.js → normalizers-B5NKuJgN.js} +2 -2
  1126. package/dist/kolibri/{normalizers-pgU77mXp.js.map → normalizers-B5NKuJgN.js.map} +1 -1
  1127. package/dist/kolibri/open-DZ2Z5a7z.js +5 -0
  1128. package/dist/kolibri/{open-Djbpz6kg.js.map → open-DZ2Z5a7z.js.map} +1 -1
  1129. package/dist/kolibri/{orientation-BzQXB0-V.js → orientation-BptN6AOK.js} +2 -2
  1130. package/dist/kolibri/{orientation-BzQXB0-V.js.map → orientation-BptN6AOK.js.map} +1 -1
  1131. package/dist/kolibri/placeholder-B4wceSsL.js +5 -0
  1132. package/dist/kolibri/{placeholder-CSgrK1Zh.js.map → placeholder-B4wceSsL.js.map} +1 -1
  1133. package/dist/kolibri/read-only-DIC7Vhiy.js +5 -0
  1134. package/dist/kolibri/{read-only-DyuIPHMt.js.map → read-only-DIC7Vhiy.js.map} +1 -1
  1135. package/dist/kolibri/required-By197yB9.js +5 -0
  1136. package/dist/kolibri/{required-DAsW5lI1.js.map → required-By197yB9.js.map} +1 -1
  1137. package/dist/kolibri/rows-BwZCT-gJ.js +5 -0
  1138. package/dist/kolibri/{rows-Bdp885AQ.js.map → rows-BwZCT-gJ.js.map} +1 -1
  1139. package/dist/kolibri/spell-check-CKvoSTJE.js +5 -0
  1140. package/dist/kolibri/{spell-check-CSnDB95u.js.map → spell-check-CKvoSTJE.js.map} +1 -1
  1141. package/dist/kolibri/src-DH5c0A9H.js +5 -0
  1142. package/dist/kolibri/{src-C8dP-FLK.js.map → src-DH5c0A9H.js.map} +1 -1
  1143. package/dist/kolibri/suggestions-C2o-U3UR.js +5 -0
  1144. package/dist/kolibri/{suggestions-Cnn1r8zc.js.map → suggestions-C2o-U3UR.js.map} +1 -1
  1145. package/dist/kolibri/{table-selection-DlaNrAWM.js → table-selection-G45AEZGP.js} +2 -2
  1146. package/dist/kolibri/{table-selection-DlaNrAWM.js.map → table-selection-G45AEZGP.js.map} +1 -1
  1147. package/dist/kolibri/test-component.entry.js +1 -1
  1148. package/dist/kolibri/tooltip-align-BZrIplzz.js +5 -0
  1149. package/dist/kolibri/{tooltip-align-DzHPWEpv.js.map → tooltip-align-BZrIplzz.js.map} +1 -1
  1150. package/dist/kolibri/unique-nav-labels-OKhw3uEq.js +5 -0
  1151. package/dist/kolibri/{unique-nav-labels-7ifGcuBZ.js.map → unique-nav-labels-OKhw3uEq.js.map} +1 -1
  1152. package/dist/kolibri/validation-DFynMQYA.js +5 -0
  1153. package/dist/kolibri/{validation-B8MhupBp.js.map → validation-DFynMQYA.js.map} +1 -1
  1154. package/dist/kolibri/validation-D_PYegRV.js +5 -0
  1155. package/dist/kolibri/{validation-VhuthteS.js.map → validation-D_PYegRV.js.map} +1 -1
  1156. package/dist/kolibri/value-number-clamped-eznLHU11.js +5 -0
  1157. package/dist/kolibri/{value-number-clamped-BQ9jw4HR.js.map → value-number-clamped-eznLHU11.js.map} +1 -1
  1158. package/dist/kolibri/{variant-class-name-CkfE8oGZ.js → variant-class-name-B1jsQGPM.js} +2 -2
  1159. package/dist/kolibri/{variant-class-name-CkfE8oGZ.js.map → variant-class-name-B1jsQGPM.js.map} +1 -1
  1160. package/dist/types/components/@deprecated/input/controller.d.ts +5 -4
  1161. package/dist/types/components/abbr/component.d.ts +17 -0
  1162. package/dist/types/components/accordion/shadow.d.ts +2 -2
  1163. package/dist/types/components/button/component.d.ts +2 -2
  1164. package/dist/types/components/button/shadow.d.ts +2 -2
  1165. package/dist/types/components/button-link/shadow.d.ts +2 -2
  1166. package/dist/types/components/combobox/shadow.d.ts +4 -2
  1167. package/dist/types/components/component-list.d.ts +1 -1
  1168. package/dist/types/components/details/shadow.d.ts +2 -2
  1169. package/dist/types/components/form/shadow.d.ts +3 -2
  1170. package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +3 -0
  1171. package/dist/types/components/input-checkbox/shadow.d.ts +4 -2
  1172. package/dist/types/components/input-color/shadow.d.ts +4 -2
  1173. package/dist/types/components/input-date/controller.d.ts +1 -1
  1174. package/dist/types/components/input-date/shadow.d.ts +4 -2
  1175. package/dist/types/components/input-email/shadow.d.ts +4 -2
  1176. package/dist/types/components/input-file/shadow.d.ts +4 -2
  1177. package/dist/types/components/input-number/shadow.d.ts +4 -2
  1178. package/dist/types/components/input-password/shadow.d.ts +4 -2
  1179. package/dist/types/components/input-radio/shadow.d.ts +4 -2
  1180. package/dist/types/components/input-range/shadow.d.ts +4 -2
  1181. package/dist/types/components/input-text/shadow.d.ts +4 -2
  1182. package/dist/types/components/link/component.d.ts +2 -2
  1183. package/dist/types/components/link/shadow.d.ts +1 -1
  1184. package/dist/types/components/link-button/shadow.d.ts +2 -2
  1185. package/dist/types/components/popover-button/component.d.ts +2 -2
  1186. package/dist/types/components/popover-button/shadow.d.ts +2 -2
  1187. package/dist/types/components/select/component.d.ts +4 -2
  1188. package/dist/types/components/select/shadow.d.ts +4 -2
  1189. package/dist/types/components/single-select/shadow.d.ts +4 -2
  1190. package/dist/types/components/skip-nav/shadow.d.ts +1 -1
  1191. package/dist/types/components/split-button/shadow.d.ts +2 -2
  1192. package/dist/types/components/tabs/shadow.d.ts +2 -2
  1193. package/dist/types/components/textarea/shadow.d.ts +4 -2
  1194. package/dist/types/components/toolbar/shadow.d.ts +2 -2
  1195. package/dist/types/components/tree/component.d.ts +1 -1
  1196. package/dist/types/components/tree/shadow.d.ts +1 -1
  1197. package/dist/types/components.d.ts +123 -3
  1198. package/dist/types/e2e/index.d.ts +0 -1
  1199. package/dist/types/index.d.ts +1 -1
  1200. package/dist/types/internal/functional-components/abbr/api.d.ts +9 -0
  1201. package/dist/types/internal/functional-components/abbr/component.d.ts +4 -0
  1202. package/dist/types/internal/functional-components/abbr/controller.d.ts +8 -0
  1203. package/dist/types/internal/functional-components/meter/controller.d.ts +2 -1
  1204. package/dist/types/internal/functional-components/progress/controller.d.ts +2 -1
  1205. package/dist/types/internal/functional-components/spin/api.d.ts +0 -4
  1206. package/dist/types/internal/functional-components/spin/controller.d.ts +2 -5
  1207. package/dist/types/locales/de.d.ts +1 -0
  1208. package/dist/types/locales/en.d.ts +1 -0
  1209. package/dist/types/schema/bem-registry.d.ts +3 -0
  1210. package/dist/types/schema/components/combobox.d.ts +2 -2
  1211. package/dist/types/schema/components/input-checkbox.d.ts +2 -2
  1212. package/dist/types/schema/components/input-color.d.ts +2 -2
  1213. package/dist/types/schema/components/input-date.d.ts +2 -2
  1214. package/dist/types/schema/components/input-email.d.ts +2 -2
  1215. package/dist/types/schema/components/input-file.d.ts +2 -2
  1216. package/dist/types/schema/components/input-number.d.ts +2 -2
  1217. package/dist/types/schema/components/input-password.d.ts +2 -2
  1218. package/dist/types/schema/components/input-radio.d.ts +2 -2
  1219. package/dist/types/schema/components/input-range.d.ts +2 -2
  1220. package/dist/types/schema/components/input-text.d.ts +3 -3
  1221. package/dist/types/schema/components/select.d.ts +3 -3
  1222. package/dist/types/schema/components/single-select.d.ts +2 -2
  1223. package/dist/types/schema/components/textarea.d.ts +2 -2
  1224. package/dist/types/schema/interfaces/ClickableElement.d.ts +3 -0
  1225. package/dist/types/schema/interfaces/index.d.ts +1 -0
  1226. package/dist/types/schema/props/aria-details.d.ts +6 -0
  1227. package/dist/types/schema/props/error-list.d.ts +2 -0
  1228. package/dist/types/schema/props/index.d.ts +1 -0
  1229. package/dist/types/utils/aria-labelledby.d.ts +3 -2
  1230. package/dist/types/utils/element-click.d.ts +0 -3
  1231. package/doc/combobox.md +1 -0
  1232. package/doc/form.md +7 -1
  1233. package/doc/input-checkbox.md +22 -21
  1234. package/doc/input-color.md +21 -20
  1235. package/doc/input-date.md +27 -26
  1236. package/doc/input-email.md +29 -28
  1237. package/doc/input-file.md +21 -20
  1238. package/doc/input-number.md +27 -26
  1239. package/doc/input-password.md +28 -27
  1240. package/doc/input-radio.md +18 -17
  1241. package/doc/input-range.md +23 -22
  1242. package/doc/input-text.md +1 -0
  1243. package/doc/select.md +1 -0
  1244. package/doc/single-select.md +23 -22
  1245. package/doc/textarea.md +1 -0
  1246. package/package.json +12 -14
  1247. package/vscode-custom-data.json +56 -0
  1248. package/dist/cjs/FormFieldStateWrapper-D8PA3SkL.js.map +0 -1
  1249. package/dist/cjs/aria-labelledby-BhnM3OnL.js.map +0 -1
  1250. package/dist/cjs/associated.controller-CUvZCmFF.js.map +0 -1
  1251. package/dist/cjs/bem-registry-D9uDM1GJ.js.map +0 -1
  1252. package/dist/cjs/controller-DHsc-8t1.js.map +0 -1
  1253. package/dist/cjs/i18n-CgUN6lev.js.map +0 -1
  1254. package/dist/cjs/variant-quote-DUWZtljE.js.map +0 -1
  1255. package/dist/collection/components/abbr/shadow.js.map +0 -1
  1256. package/dist/collection/e2e/input-callbacks-and-events.js +0 -56
  1257. package/dist/collection/e2e/input-callbacks-and-events.js.map +0 -1
  1258. package/dist/components/variant-quote.js.map +0 -1
  1259. package/dist/esm/FormFieldStateWrapper-C31luuWs.js.map +0 -1
  1260. package/dist/esm/aria-labelledby-BUOJRaGL.js.map +0 -1
  1261. package/dist/esm/associated.controller-D55JWKjs.js.map +0 -1
  1262. package/dist/esm/bem-registry-B9CzNnO1.js.map +0 -1
  1263. package/dist/esm/controller-oT8Y98Yc.js.map +0 -1
  1264. package/dist/esm/i18n-B2d_exHc.js.map +0 -1
  1265. package/dist/esm/variant-quote-BMV8GZX8.js.map +0 -1
  1266. package/dist/kolibri/Alert-2bYvhb8i.js +0 -5
  1267. package/dist/kolibri/FieldControlStateWrapper-CU6OjlrU.js +0 -5
  1268. package/dist/kolibri/FormFieldStateWrapper-C31luuWs.js +0 -5
  1269. package/dist/kolibri/FormFieldStateWrapper-C31luuWs.js.map +0 -1
  1270. package/dist/kolibri/Input-CwcyFZhB.js +0 -5
  1271. package/dist/kolibri/app-globals-Cwf240Bw.js +0 -5
  1272. package/dist/kolibri/aria-expanded--y6Ce39-.js +0 -5
  1273. package/dist/kolibri/aria-labelledby-BUOJRaGL.js +0 -5
  1274. package/dist/kolibri/aria-labelledby-BUOJRaGL.js.map +0 -1
  1275. package/dist/kolibri/associated.controller-D55JWKjs.js +0 -5
  1276. package/dist/kolibri/associated.controller-D55JWKjs.js.map +0 -1
  1277. package/dist/kolibri/bem-registry-B9CzNnO1.js +0 -5
  1278. package/dist/kolibri/bem-registry-B9CzNnO1.js.map +0 -1
  1279. package/dist/kolibri/component-BFsdrctP.js +0 -5
  1280. package/dist/kolibri/component-ijX_kUom.js +0 -5
  1281. package/dist/kolibri/component-j5NhcleS.js +0 -5
  1282. package/dist/kolibri/controller-B4DO-yV0.js +0 -5
  1283. package/dist/kolibri/controller-DvdfA2RR.js +0 -5
  1284. package/dist/kolibri/controller-oT8Y98Yc.js +0 -5
  1285. package/dist/kolibri/controller-oT8Y98Yc.js.map +0 -1
  1286. package/dist/kolibri/custom-class-RTVG26D_.js +0 -5
  1287. package/dist/kolibri/dev.utils-Cv9uCwkA.js +0 -5
  1288. package/dist/kolibri/devtools-BOWjtOAI.js +0 -5
  1289. package/dist/kolibri/has-closer-GBI76y-L.js +0 -5
  1290. package/dist/kolibri/hide-label-CWFMK5Iz.js +0 -5
  1291. package/dist/kolibri/href-yQN98Z4F.js +0 -5
  1292. package/dist/kolibri/i18n-B2d_exHc.js +0 -5
  1293. package/dist/kolibri/i18n-B2d_exHc.js.map +0 -1
  1294. package/dist/kolibri/i18n-CaL2ODdQ.js +0 -5
  1295. package/dist/kolibri/inline-D3v7pifU.js +0 -5
  1296. package/dist/kolibri/label-Cg7TG_7b.js +0 -5
  1297. package/dist/kolibri/max-length-behavior-426q5CU6.js +0 -5
  1298. package/dist/kolibri/multiple-LEiooHN4.js +0 -5
  1299. package/dist/kolibri/open-Djbpz6kg.js +0 -5
  1300. package/dist/kolibri/placeholder-CSgrK1Zh.js +0 -5
  1301. package/dist/kolibri/read-only-DyuIPHMt.js +0 -5
  1302. package/dist/kolibri/required-DAsW5lI1.js +0 -5
  1303. package/dist/kolibri/rows-Bdp885AQ.js +0 -5
  1304. package/dist/kolibri/spell-check-CSnDB95u.js +0 -5
  1305. package/dist/kolibri/src-C8dP-FLK.js +0 -5
  1306. package/dist/kolibri/suggestions-Cnn1r8zc.js +0 -5
  1307. package/dist/kolibri/tooltip-align-DzHPWEpv.js +0 -5
  1308. package/dist/kolibri/unique-nav-labels-7ifGcuBZ.js +0 -5
  1309. package/dist/kolibri/validation-B8MhupBp.js +0 -5
  1310. package/dist/kolibri/validation-VhuthteS.js +0 -5
  1311. package/dist/kolibri/value-number-clamped-BQ9jw4HR.js +0 -5
  1312. package/dist/kolibri/variant-quote-BMV8GZX8.js +0 -5
  1313. package/dist/kolibri/variant-quote-BMV8GZX8.js.map +0 -1
  1314. package/dist/types/components/abbr/shadow.d.ts +0 -14
  1315. package/dist/types/e2e/input-callbacks-and-events.d.ts +0 -19
@@ -51,7 +51,7 @@ class InputRangeController extends InputIconController {
51
51
  }
52
52
  }
53
53
 
54
- const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1780919027063\"); /* IE9*/\n src: url(\"kolicons.eot?t=1780919027063#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1780919027063\") format(\"woff2\"), url(\"kolicons.woff?t=1780919027063\") format(\"woff\"), url(\"kolicons.ttf?t=1780919027063\") format(\"truetype\"), url(\"kolicons.svg?t=1780919027063#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\n }\n .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden])::after,\n .kol-form-field--required .kol-tooltip__content .kol-span__label::after {\n content: \"*\"/\"\";\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n position: relative;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n z-index: 1;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n background-color: transparent;\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n .kol-input-range__inputs-wrapper {\n display: flex;\n flex-grow: 1;\n flex-direction: row;\n align-items: center;\n }\n .kol-input-range__input--number {\n width: var(--kolibri-input-range--input-number--width);\n }\n .kol-input-range__input--range {\n background-color: white;\n display: inline-block;\n /* Design-Hack - related with flex-grow */\n width: 0;\n height: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n margin: 0;\n padding: 0;\n flex-grow: 1;\n line-height: 1.5;\n appearance: none;\n border: 1px solid black;\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-webkit-slider-thumb {\n cursor: pointer;\n }\n .kol-input-range__input--range::-webkit-slider-thumb {\n background-color: black;\n border-radius: 20px;\n width: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n -webkit-appearance: none;\n }\n @media (prefers-contrast: more) or (forced-colors: active) {\n .kol-input-range__input--range::-webkit-slider-thumb {\n outline: 1px solid currentColor;\n }\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-moz-range-thumb {\n cursor: pointer;\n }\n .kol-input-range__input--range::-moz-range-thumb {\n background-color: black;\n border-radius: 20px;\n width: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n -moz-appearance: none;\n }\n}";
54
+ const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1782311579243\"); /* IE9*/\n src: url(\"kolicons.eot?t=1782311579243#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1782311579243\") format(\"woff2\"), url(\"kolicons.woff?t=1782311579243\") format(\"woff\"), url(\"kolicons.ttf?t=1782311579243\") format(\"truetype\"), url(\"kolicons.svg?t=1782311579243#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\n }\n .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden])::after,\n .kol-form-field--required .kol-form-field .kol-tooltip__content .kol-span__label::after {\n content: \"*\"/\"\";\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n position: relative;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n z-index: 1;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n background-color: transparent;\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n .kol-input-range__inputs-wrapper {\n display: flex;\n flex-grow: 1;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n }\n .kol-input-range__input--number {\n width: var(--kolibri-input-range--input-number--width);\n text-align: right;\n }\n .kol-input-range__input--range {\n background-color: white;\n display: inline-block;\n /* Design-Hack - related with flex-grow */\n width: 0;\n min-width: calc(128 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n margin: 0;\n padding: 0;\n flex-grow: 1;\n line-height: 1.5;\n appearance: none;\n border: 1px solid black;\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-webkit-slider-thumb {\n cursor: pointer;\n }\n .kol-input-range__input--range::-webkit-slider-thumb {\n background-color: black;\n border-radius: 20px;\n width: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n -webkit-appearance: none;\n }\n @media (prefers-contrast: more) or (forced-colors: active) {\n .kol-input-range__input--range::-webkit-slider-thumb {\n outline: 1px solid currentColor;\n }\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-moz-range-thumb {\n cursor: pointer;\n }\n .kol-input-range__input--range::-moz-range-thumb {\n background-color: black;\n border-radius: 20px;\n width: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(20 * 1rem / var(--kolibri-root-font-size, 16));\n -moz-appearance: none;\n }\n}";
55
55
 
56
56
  const KolInputRange$1 = proxyCustomElement(class KolInputRange extends HTMLElement {
57
57
  async focus(options) { }
@@ -120,10 +120,11 @@ const KolInputRange$1 = proxyCustomElement(class KolInputRange extends HTMLEleme
120
120
  }
121
121
  }
122
122
  render() {
123
+ var _a, _b;
123
124
  const inputsWrapperStyle = {
124
- '--kolibri-input-range--input-number--width': `calc(${String(this.state._max).length}ch + 2em)`,
125
+ '--kolibri-input-range--input-number--width': `calc(${Math.max(String((_a = this.state._max) !== null && _a !== void 0 ? _a : 100).length, String((_b = this.state._min) !== null && _b !== void 0 ? _b : 0).length, 4)}ch + 2em)`,
125
126
  };
126
- return (h(FormFieldStateWrapper, Object.assign({ key: '9d235aa31440e43482cb463b1b475aeb68a9dd94' }, this.getFormFieldProps()), h(InputContainerStateWrapperFc, { key: '78e85141f986e8e050d0b274880a9dac5e74b65f', state: this.state }, h("div", { key: 'f4f9abc28b36455d07f417c57925beda6ae0fb6b', class: "kol-input-range__inputs-wrapper", style: inputsWrapperStyle }, h(InputStateWrapper, Object.assign({ key: 'bd3a29d4535ed31fc57604c8a62c9f6380d5b35d', class: "kol-input-range__input kol-input-range__input--range" }, this.getInputRangeProps())), h(InputStateWrapper, Object.assign({ key: '7da3cd0db585db871fb2b95af78be4971a7aa8ff', class: "kol-input-range__input kol-input-range__input--number" }, this.getInputNumberProps()))), this.hasSuggestions && h(SuggestionsFc, { key: 'fbe44f4147118da156d43d4b8f98843db9325869', id: this.state._id, suggestions: this.state._suggestions }))));
127
+ return (h(FormFieldStateWrapper, Object.assign({ key: '976da4c458a376af3ae6f6f103c4d450e05d768d' }, this.getFormFieldProps()), h(InputContainerStateWrapperFc, { key: '7e5abf2bd7ea68b8c8955f825483d6624aabb9ed', state: this.state }, h("div", { key: 'cc49bcec37b1703efdb71aa74ddc536d04b37c8d', class: "kol-input-range__inputs-wrapper", style: inputsWrapperStyle }, h(InputStateWrapper, Object.assign({ key: 'f9527d9515d9fb3f3d0e53b6885337c26b400d37', class: "kol-input-range__input kol-input-range__input--range" }, this.getInputRangeProps())), h(InputStateWrapper, Object.assign({ key: 'd41e09a3ace1204169e2e2594724ba12cd73f0a7', class: "kol-input-range__input kol-input-range__input--number" }, this.getInputNumberProps()))), this.hasSuggestions && h(SuggestionsFc, { key: 'f63013002b6d2b504562630df901e7e6a94ccc89', id: this.state._id, suggestions: this.state._suggestions }))));
127
128
  }
128
129
  constructor(registerHost) {
129
130
  super();
@@ -191,6 +192,9 @@ const KolInputRange$1 = proxyCustomElement(class KolInputRange extends HTMLEleme
191
192
  validateAccessKey(value) {
192
193
  this.controller.validateAccessKey(value);
193
194
  }
195
+ validateAriaDetails(value) {
196
+ this.controller.validateAriaDetails(value);
197
+ }
194
198
  validateAutoComplete(value) {
195
199
  this.controller.validateAutoComplete(value);
196
200
  }
@@ -256,11 +260,13 @@ const KolInputRange$1 = proxyCustomElement(class KolInputRange extends HTMLEleme
256
260
  this.setInitialValueType(this._value);
257
261
  }
258
262
  this._touched = this._touched === true;
263
+ this.validateAriaDetails(this._ariaDetails);
259
264
  this.controller.componentWillLoad();
260
265
  }
261
266
  get host() { return this; }
262
267
  static get watchers() { return {
263
268
  "_accessKey": ["validateAccessKey"],
269
+ "_ariaDetails": ["validateAriaDetails"],
264
270
  "_autoComplete": ["validateAutoComplete"],
265
271
  "_disabled": ["validateDisabled"],
266
272
  "_hideMsg": ["validateHideMsg"],
@@ -286,6 +292,7 @@ const KolInputRange$1 = proxyCustomElement(class KolInputRange extends HTMLEleme
286
292
  }; }
287
293
  }, [289, "kol-input-range", {
288
294
  "_accessKey": [1, "_access-key"],
295
+ "_ariaDetails": [1, "_aria-details"],
289
296
  "_autoComplete": [1, "_auto-complete"],
290
297
  "_disabled": [4],
291
298
  "_hideMsg": [4, "_hide-msg"],
@@ -314,6 +321,7 @@ const KolInputRange$1 = proxyCustomElement(class KolInputRange extends HTMLEleme
314
321
  "getValue": [64]
315
322
  }, undefined, {
316
323
  "_accessKey": ["validateAccessKey"],
324
+ "_ariaDetails": ["validateAriaDetails"],
317
325
  "_autoComplete": ["validateAutoComplete"],
318
326
  "_disabled": ["validateDisabled"],
319
327
  "_hideMsg": ["validateHideMsg"],
@@ -1 +1 @@
1
- {"file":"kol-input-range.js","mappings":";;;;;;;;;;;;;;;;;AAQM,MAAO,oBAAqB,SAAQ,mBAAmB,CAAA;AAG5D,IAAA,WAAA,CAAmB,SAAsD,EAAE,IAAY,EAAE,IAAkB,EAAA;AAC1G,QAAA,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC;AAC5B,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS;;AAGpB,IAAA,oBAAoB,CAAC,KAA4B,EAAA;AACvD,QAAA,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGrC,IAAA,WAAW,CAAC,KAA6B,EAAA;AAC/C,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC;;AAG5B,IAAA,WAAW,CAAC,KAA6B,EAAA;AAC/C,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC;;AAG5B,IAAA,YAAY,CAAC,KAA6B,EAAA;AAChD,QAAA,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC;;AAG7B,IAAA,mBAAmB,CAAC,KAA2B,EAAA;AACrD,QAAA,mBAAmB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGpC,IAAA,aAAa,CAAC,KAA6B,EAAA;AACjD,QAAA,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,KAAK,CAAC;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,KAAK;QAC7B,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,MAAgB,CAAC;;IAG5D,iBAAiB,GAAA;QACvB,KAAK,CAAC,iBAAiB,EAAE;QACzB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CA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;;;;;;;;;;;;;;;;;;;;;;;AA1ZvB,UAAA,CAAA;IAHZ,aAAa,CAAC,QAAQ;CAGwC,EAAAL,eAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,aAAa,CAAC,QAAQ;CACe,EAAAA,eAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;","names":["KolInputRange","__stencil_proxyCustomElement","KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc","KolSuggestionsFc"],"sources":["src/components/input-range/controller.ts","src/components/input-range/style.scss?tag=kol-input-range&mode=default&encapsulation=shadow","src/components/input-range/shadow.tsx"],"sourcesContent":["import type { AutoCompletePropType, InputRangeProps, InputRangeWatches, NumberString, SuggestionsPropType } from '../../schema';\nimport { validateSuggestions } from '../../schema';\nimport { validateAutoComplete } from '../../schema/props/auto-complete';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\n\nexport class InputRangeController extends InputIconController implements InputRangeWatches {\n\tprotected readonly component: Generic.Element.Component & InputRangeProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputRangeProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tvalidateAutoComplete(this.component, value);\n\t}\n\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.validateNumber('_max', value);\n\t}\n\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.validateNumber('_min', value);\n\t}\n\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.validateNumber('_step', value);\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic validateValue(value?: number | NumberString): void {\n\t\tthis.validateNumber('_value', value);\n\t\tthis.component._value = value;\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateMax(this.component._max);\n\t\tthis.validateMin(this.component._min);\n\t\tthis.validateStep(this.component._step);\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@use '../@shared/global' as *;\n@use '../@shared/alert.mixin' as *;\n@use '../@shared/form-field.mixin' as *;\n@use '../@shared/input-container.mixin' as *;\n@use '../@shared/input.mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n\n\t.kol-input-range {\n\t\t&__inputs-wrapper {\n\t\t\tdisplay: flex;\n\t\t\tflex-grow: 1;\n\t\t\tflex-direction: row;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&__input {\n\t\t\t$input: &;\n\n\t\t\t&--number {\n\t\t\t\twidth: var(--kolibri-input-range--input-number--width);\n\t\t\t}\n\n\t\t\t&--range {\n\t\t\t\tbackground-color: white;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\t/* Design-Hack - related with flex-grow */\n\t\t\t\twidth: 0;\n\t\t\t\theight: to-rem(8);\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\tflex-grow: 1;\n\n\t\t\t\tline-height: 1.5;\n\t\t\t\tappearance: none;\n\t\t\t\tborder: 1px solid black;\n\n\t\t\t\t&::-webkit-slider-thumb {\n\t\t\t\t\t@at-root #{$input}:not(:disabled)#{&} {\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t}\n\t\t\t\t\tbackground-color: black;\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\twidth: to-rem(20);\n\t\t\t\t\theight: to-rem(20);\n\t\t\t\t\t-webkit-appearance: none;\n\n\t\t\t\t\t@media (prefers-contrast: more) or (forced-colors: active) {\n\t\t\t\t\t\toutline: 1px solid currentColor;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t&::-moz-range-thumb {\n\t\t\t\t\t@at-root #{$input}:not(:disabled)#{&} {\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t}\n\t\t\t\t\tbackground-color: black;\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\twidth: to-rem(20);\n\t\t\t\t\theight: to-rem(20);\n\t\t\t\t\t-moz-appearance: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport type {\n\tAutoCompletePropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputRangeAPI,\n\tInputRangeStates,\n\tInputTypeOnDefault,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tNumberString,\n\tShortKeyPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport KolSuggestionsFc from '../../functional-components/Suggestions';\nimport { createRelatedUniqueId, createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputRangeController } from './controller';\n\n/**\n * The **Range** input type creates a slider control for selecting a numeric value within a defined range. Use the `_min`, `_max`, and `_step` properties to configure the range and step size.\n *\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-input-range',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputRange implements InputRangeAPI, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolInputRangeElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLInputElement>();\n\tprivate refInputRange?: HTMLInputElement;\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate readonly setInputNumberRef = (element?: HTMLInputElement) => {\n\t\tif (element) {\n\t\t\tthis.ctaRef(element);\n\t\t\tif (!this._value && element.value) {\n\t\t\t\tthis.validateValue(parseFloat(element.value));\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate readonly setInputRangeRef = (element?: HTMLInputElement) => {\n\t\tif (element) {\n\t\t\tthis.refInputRange = element;\n\t\t}\n\t};\n\n\tprivate getSanitizedFloatValue(value: string): number {\n\t\tconst floatValue = parseFloat(value);\n\t\tif (this.state._max && floatValue > this.state._max) {\n\t\t\treturn this.state._max;\n\t\t}\n\t\tif (this.state._min && floatValue < this.state._min) {\n\t\t\treturn this.state._min;\n\t\t}\n\t\treturn floatValue;\n\t}\n\n\t/**\n\t * Map the value to the initial format. E.g., if the user provided a string initially, return a string.\n\t */\n\tprivate remapValue(value: number): number | NumberString {\n\t\tif (this._initialValueType === 'NumberString') {\n\t\t\treturn String(value) as NumberString;\n\t\t}\n\t\treturn value;\n\t}\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<number | NumberString | undefined> {\n\t\tif (this.ctaRef.el !== undefined) {\n\t\t\tconst value = this.ctaRef.el.value;\n\t\t\tconst floatValue = this.getSanitizedFloatValue(value);\n\t\t\treturn this.remapValue(floatValue);\n\t\t}\n\t}\n\n\tprivate readonly onInput = (event: Event) => {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\t\tconst floatValue = this.getSanitizedFloatValue(value);\n\t\tthis.controller.onFacade.onInput(event, true, this.remapValue(floatValue));\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\t\tconst floatValue = this.getSanitizedFloatValue(value);\n\t\tconst remappedValue = this.remapValue(floatValue);\n\t\tthis.validateValue(remappedValue);\n\t\tthis.controller.onFacade.onChange(event, remappedValue);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tthis.controller.onFacade.onKeyDown(event);\n\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t}\n\t};\n\n\tcomponentDidLoad() {\n\t\tif (!this._value && this.refInputRange?.value) {\n\t\t\tthis.validateValue(parseFloat(this.refInputRange.value));\n\t\t}\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-range', 'range'),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getGenericInputProps() {\n\t\treturn {\n\t\t\tstate: { ...this.state, _suggestions: [] },\n\t\t\t...this.controller.onFacade,\n\t\t\tonChange: this.onChange,\n\t\t\tonInput: this.onInput,\n\t\t\tonFocus: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tprivate get hasSuggestions(): boolean {\n\t\treturn Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;\n\t}\n\n\tprivate getInputRangeProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\t...this.getGenericInputProps(),\n\t\t\tname: this.state._name ? `${this.state._name}-range` : undefined,\n\t\t\tlist: this.hasSuggestions ? createRelatedUniqueId(this.state._id, 'list') : undefined,\n\t\t\ttype: 'range',\n\t\t\ttabIndex: -1,\n\t\t\tid: undefined,\n\t\t\t'aria-hidden': 'true',\n\t\t\tref: this.setInputRangeRef,\n\t\t};\n\t}\n\n\tprivate getInputNumberProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\t...this.getGenericInputProps(),\n\t\t\tname: this.state._name ? `${this.state._name}-number` : undefined,\n\t\t\tlist: this.hasSuggestions ? createRelatedUniqueId(this.state._id, 'list') : undefined,\n\t\t\ttype: 'number',\n\t\t\tref: this.setInputNumberRef,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tprivate setInitialValueType(value?: number | NumberString) {\n\t\tif (this.controller.isNumberString(value)) {\n\t\t\tthis._initialValueType = 'NumberString';\n\t\t} else {\n\t\t\tthis._initialValueType = 'number';\n\t\t}\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst inputsWrapperStyle = {\n\t\t\t// use number of digits in max value plus some space for the number input arrow buttons\n\t\t\t'--kolibri-input-range--input-number--width': `calc(${String(this.state._max).length}ch + 2em)`,\n\t\t};\n\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<div class=\"kol-input-range__inputs-wrapper\" style={inputsWrapperStyle}>\n\t\t\t\t\t\t<KolInputStateWrapperFc class=\"kol-input-range__input kol-input-range__input--range\" {...this.getInputRangeProps()} />\n\t\t\t\t\t\t<KolInputStateWrapperFc class=\"kol-input-range__input kol-input-range__input--number\" {...this.getInputNumberProps()} />\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.hasSuggestions && <KolSuggestionsFc id={this.state._id} suggestions={this.state._suggestions} />}\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputRangeController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum value of the element.\n\t */\n\t@Prop() public _max?: number | NumberString = 100;\n\n\t/**\n\t * Defines the smallest possible input value.\n\t */\n\t@Prop() public _min?: number | NumberString = 0;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines the step size for value changes.\n\t */\n\t@Prop() public _step?: number | NumberString;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: number | NumberString;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: InputRangeStates = {\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('input-range'),\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_min: 0,\n\t\t_max: 100,\n\t};\n\t@State() private _initialValueType: 'number' | 'NumberString' = 'number';\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputRangeController(this, 'range', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_max')\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.controller.validateMax(value);\n\t}\n\n\t@Watch('_min')\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.controller.validateMin(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_step')\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.controller.validateStep(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: number | NumberString): void {\n\t\tthis.controller.validateValue(value);\n\t\tif (value !== undefined) {\n\t\t\tthis.setInitialValueType(value);\n\t\t}\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tif (this._value !== undefined) {\n\t\t\tthis.setInitialValueType(this._value);\n\t\t}\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-input-range.js","mappings":";;;;;;;;;;;;;;;;;AAQM,MAAO,oBAAqB,SAAQ,mBAAmB,CAAA;AAG5D,IAAA,WAAA,CAAmB,SAAsD,EAAE,IAAY,EAAE,IAAkB,EAAA;AAC1G,QAAA,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC;AAC5B,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS;;AAGpB,IAAA,oBAAoB,CAAC,KAA4B,EAAA;AACvD,QAAA,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGrC,IAAA,WAAW,CAAC,KAA6B,EAAA;AAC/C,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC;;AAG5B,IAAA,WAAW,CAAC,KAA6B,EAAA;AAC/C,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC;;AAG5B,IAAA,YAAY,CAAC,KAA6B,EAAA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ange","__stencil_proxyCustomElement","KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc","KolSuggestionsFc"],"sources":["src/components/input-range/controller.ts","src/components/input-range/style.scss?tag=kol-input-range&mode=default&encapsulation=shadow","src/components/input-range/shadow.tsx"],"sourcesContent":["import type { AutoCompletePropType, InputRangeProps, InputRangeWatches, NumberString, SuggestionsPropType } from '../../schema';\nimport { validateSuggestions } from '../../schema';\nimport { validateAutoComplete } from '../../schema/props/auto-complete';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\n\nexport class InputRangeController extends InputIconController implements InputRangeWatches {\n\tprotected readonly component: Generic.Element.Component & InputRangeProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputRangeProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tvalidateAutoComplete(this.component, value);\n\t}\n\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.validateNumber('_max', value);\n\t}\n\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.validateNumber('_min', value);\n\t}\n\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.validateNumber('_step', value);\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic validateValue(value?: number | NumberString): void {\n\t\tthis.validateNumber('_value', value);\n\t\tthis.component._value = value;\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateMax(this.component._max);\n\t\tthis.validateMin(this.component._min);\n\t\tthis.validateStep(this.component._step);\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@use '../@shared/global' as *;\n@use '../@shared/alert.mixin' as *;\n@use '../@shared/form-field.mixin' as *;\n@use '../@shared/input-container.mixin' as *;\n@use '../@shared/input.mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n\n\t.kol-input-range {\n\t\t&__inputs-wrapper {\n\t\t\tdisplay: flex;\n\t\t\tflex-grow: 1;\n\t\t\tflex-direction: row;\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&__input {\n\t\t\t$input: &;\n\n\t\t\t&--number {\n\t\t\t\twidth: var(--kolibri-input-range--input-number--width);\n\t\t\t\ttext-align: right;\n\t\t\t}\n\n\t\t\t&--range {\n\t\t\t\tbackground-color: white;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\t/* Design-Hack - related with flex-grow */\n\t\t\t\twidth: 0;\n\t\t\t\tmin-width: to-rem(128);\n\t\t\t\theight: to-rem(8);\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\tflex-grow: 1;\n\n\t\t\t\tline-height: 1.5;\n\t\t\t\tappearance: none;\n\t\t\t\tborder: 1px solid black;\n\n\t\t\t\t&::-webkit-slider-thumb {\n\t\t\t\t\t@at-root #{$input}:not(:disabled)#{&} {\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t}\n\t\t\t\t\tbackground-color: black;\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\twidth: to-rem(20);\n\t\t\t\t\theight: to-rem(20);\n\t\t\t\t\t-webkit-appearance: none;\n\n\t\t\t\t\t@media (prefers-contrast: more) or (forced-colors: active) {\n\t\t\t\t\t\toutline: 1px solid currentColor;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t&::-moz-range-thumb {\n\t\t\t\t\t@at-root #{$input}:not(:disabled)#{&} {\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t}\n\t\t\t\t\tbackground-color: black;\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\twidth: to-rem(20);\n\t\t\t\t\theight: to-rem(20);\n\t\t\t\t\t-moz-appearance: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport type {\n\tAriaDetailsPropType,\n\tAutoCompletePropType,\n\tClickableElement,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputRangeAPI,\n\tInputRangeStates,\n\tInputTypeOnDefault,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tNumberString,\n\tShortKeyPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport KolSuggestionsFc from '../../functional-components/Suggestions';\nimport { createRelatedUniqueId, createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputRangeController } from './controller';\n\n/**\n * The **Range** input type creates a slider control for selecting a numeric value within a defined range. Use the `_min`, `_max`, and `_step` properties to configure the range and step size.\n *\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-input-range',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputRange implements ClickableElement, FocusableElement, InputRangeAPI {\n\t@Element() protected readonly host?: HTMLKolInputRangeElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLInputElement>();\n\tprivate refInputRange?: HTMLInputElement;\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate readonly setInputNumberRef = (element?: HTMLInputElement) => {\n\t\tif (element) {\n\t\t\tthis.ctaRef(element);\n\t\t\tif (!this._value && element.value) {\n\t\t\t\tthis.validateValue(parseFloat(element.value));\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate readonly setInputRangeRef = (element?: HTMLInputElement) => {\n\t\tif (element) {\n\t\t\tthis.refInputRange = element;\n\t\t}\n\t};\n\n\tprivate getSanitizedFloatValue(value: string): number {\n\t\tconst floatValue = parseFloat(value);\n\t\tif (this.state._max && floatValue > this.state._max) {\n\t\t\treturn this.state._max;\n\t\t}\n\t\tif (this.state._min && floatValue < this.state._min) {\n\t\t\treturn this.state._min;\n\t\t}\n\t\treturn floatValue;\n\t}\n\n\t/**\n\t * Map the value to the initial format. E.g., if the user provided a string initially, return a string.\n\t */\n\tprivate remapValue(value: number): number | NumberString {\n\t\tif (this._initialValueType === 'NumberString') {\n\t\t\treturn String(value) as NumberString;\n\t\t}\n\t\treturn value;\n\t}\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<number | NumberString | undefined> {\n\t\tif (this.ctaRef.el !== undefined) {\n\t\t\tconst value = this.ctaRef.el.value;\n\t\t\tconst floatValue = this.getSanitizedFloatValue(value);\n\t\t\treturn this.remapValue(floatValue);\n\t\t}\n\t}\n\n\tprivate readonly onInput = (event: Event) => {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\t\tconst floatValue = this.getSanitizedFloatValue(value);\n\t\tthis.controller.onFacade.onInput(event, true, this.remapValue(floatValue));\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\t\tconst floatValue = this.getSanitizedFloatValue(value);\n\t\tconst remappedValue = this.remapValue(floatValue);\n\t\tthis.validateValue(remappedValue);\n\t\tthis.controller.onFacade.onChange(event, remappedValue);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tthis.controller.onFacade.onKeyDown(event);\n\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t}\n\t};\n\n\tcomponentDidLoad() {\n\t\tif (!this._value && this.refInputRange?.value) {\n\t\t\tthis.validateValue(parseFloat(this.refInputRange.value));\n\t\t}\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-range', 'range'),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getGenericInputProps() {\n\t\treturn {\n\t\t\tstate: { ...this.state, _suggestions: [] },\n\t\t\t...this.controller.onFacade,\n\t\t\tonChange: this.onChange,\n\t\t\tonInput: this.onInput,\n\t\t\tonFocus: (event: FocusEvent) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: FocusEvent) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tprivate get hasSuggestions(): boolean {\n\t\treturn Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;\n\t}\n\n\tprivate getInputRangeProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\t...this.getGenericInputProps(),\n\t\t\tname: this.state._name ? `${this.state._name}-range` : undefined,\n\t\t\tlist: this.hasSuggestions ? createRelatedUniqueId(this.state._id, 'list') : undefined,\n\t\t\ttype: 'range',\n\t\t\ttabIndex: -1,\n\t\t\tid: undefined,\n\t\t\t'aria-hidden': 'true',\n\t\t\tref: this.setInputRangeRef,\n\t\t};\n\t}\n\n\tprivate getInputNumberProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\t...this.getGenericInputProps(),\n\t\t\tname: this.state._name ? `${this.state._name}-number` : undefined,\n\t\t\tlist: this.hasSuggestions ? createRelatedUniqueId(this.state._id, 'list') : undefined,\n\t\t\ttype: 'number',\n\t\t\tref: this.setInputNumberRef,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tprivate setInitialValueType(value?: number | NumberString) {\n\t\tif (this.controller.isNumberString(value)) {\n\t\t\tthis._initialValueType = 'NumberString';\n\t\t} else {\n\t\t\tthis._initialValueType = 'number';\n\t\t}\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst inputsWrapperStyle = {\n\t\t\t// use number of digits in max or min value plus some space for the number input arrow buttons; minimum 4 digits\n\t\t\t'--kolibri-input-range--input-number--width': `calc(${Math.max(String(this.state._max ?? 100).length, String(this.state._min ?? 0).length, 4)}ch + 2em)`,\n\t\t};\n\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<div class=\"kol-input-range__inputs-wrapper\" style={inputsWrapperStyle}>\n\t\t\t\t\t\t<KolInputStateWrapperFc class=\"kol-input-range__input kol-input-range__input--range\" {...this.getInputRangeProps()} />\n\t\t\t\t\t\t<KolInputStateWrapperFc class=\"kol-input-range__input kol-input-range__input--number\" {...this.getInputNumberProps()} />\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.hasSuggestions && <KolSuggestionsFc id={this.state._id} suggestions={this.state._suggestions} />}\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputRangeController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * References an external element by ID that provides accessible details for this input.\n\t * Uses ElementInternals.ariaDetailsElements to cross the Shadow DOM boundary.\n\t * Supported by desktop screen readers (NVDA, JAWS with Chrome/Firefox).\n\t * Not yet supported by mobile screen readers (TalkBack, VoiceOver iOS).\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum value of the element.\n\t */\n\t@Prop() public _max?: number | NumberString = 100;\n\n\t/**\n\t * Defines the smallest possible input value.\n\t */\n\t@Prop() public _min?: number | NumberString = 0;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines the step size for value changes.\n\t */\n\t@Prop() public _step?: number | NumberString;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: number | NumberString;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: InputRangeStates = {\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('input-range'),\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_min: 0,\n\t\t_max: 100,\n\t};\n\t@State() private _initialValueType: 'number' | 'NumberString' = 'number';\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputRangeController(this, 'range', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_ariaDetails')\n\tpublic validateAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.controller.validateAriaDetails(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_max')\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.controller.validateMax(value);\n\t}\n\n\t@Watch('_min')\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.controller.validateMin(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_step')\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.controller.validateStep(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: number | NumberString): void {\n\t\tthis.controller.validateValue(value);\n\t\tif (value !== undefined) {\n\t\t\tthis.setInitialValueType(value);\n\t\t}\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tif (this._value !== undefined) {\n\t\t\tthis.setInitialValueType(this._value);\n\t\t}\n\t\tthis._touched = this._touched === true;\n\t\tthis.validateAriaDetails(this._ariaDetails);\n\t\tthis.controller.componentWillLoad();\n\t}\n}\n"],"version":3}
@@ -12,7 +12,7 @@ import { c as createCtaRef, d as delegateFocus, a as delegateClick } from './ele
12
12
  import { p as propagateSubmitEventToForm } from './controller2.js';
13
13
  import { a as InputTextController } from './controller5.js';
14
14
 
15
- const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1780919027063\"); /* IE9*/\n src: url(\"kolicons.eot?t=1780919027063#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1780919027063\") format(\"woff2\"), url(\"kolicons.woff?t=1780919027063\") format(\"woff\"), url(\"kolicons.ttf?t=1780919027063\") format(\"truetype\"), url(\"kolicons.svg?t=1780919027063#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\n }\n .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden])::after,\n .kol-form-field--required .kol-tooltip__content .kol-span__label::after {\n content: \"*\"/\"\";\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n position: relative;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n z-index: 1;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n background-color: transparent;\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n}";
15
+ const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1782311579243\"); /* IE9*/\n src: url(\"kolicons.eot?t=1782311579243#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1782311579243\") format(\"woff2\"), url(\"kolicons.woff?t=1782311579243\") format(\"woff\"), url(\"kolicons.ttf?t=1782311579243\") format(\"truetype\"), url(\"kolicons.svg?t=1782311579243#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\n }\n .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden])::after,\n .kol-form-field--required .kol-form-field .kol-tooltip__content .kol-span__label::after {\n content: \"*\"/\"\";\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n position: relative;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n z-index: 1;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n background-color: transparent;\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n}";
16
16
 
17
17
  const KolInputText$1 = proxyCustomElement(class KolInputText extends HTMLElement {
18
18
  async getValue() {
@@ -62,7 +62,10 @@ const KolInputText$1 = proxyCustomElement(class KolInputText extends HTMLElement
62
62
  return Object.assign(Object.assign({ ref: this.ctaRef, state: this.state, ariaDescribedBy }, this.controller.onFacade), { onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown });
63
63
  }
64
64
  render() {
65
- return (h(FormFieldStateWrapper, Object.assign({ key: 'f916b5fc7d8b75363ed424073a1bbc148910baa7' }, this.getFormFieldProps()), h(InputContainerStateWrapperFc, { key: '73c4d7e43d2be5a8d14fcd704011f15d98429d48', state: this.state }, h(InputStateWrapper, Object.assign({ key: 'f52d7ff366664842dd6b49deeae473945899eac8' }, this.getInputProps())))));
65
+ return (h(FormFieldStateWrapper, Object.assign({ key: 'ca2182ec192a54f1effab268e269e99d5774947a' }, this.getFormFieldProps()), h(InputContainerStateWrapperFc, { key: 'b7d6dd863fe609d3d08f51fef0c2621d08c585d0', state: this.state }, h(InputStateWrapper, Object.assign({ key: 'd8b302a685f0606666a33d553882b3759a2a400b' }, this.getInputProps())))));
66
+ }
67
+ validateAriaDetails(value) {
68
+ this.controller.validateAriaDetails(value);
66
69
  }
67
70
  constructor(registerHost) {
68
71
  super();
@@ -210,6 +213,7 @@ const KolInputText$1 = proxyCustomElement(class KolInputText extends HTMLElement
210
213
  this.controller.validateVariant(value);
211
214
  }
212
215
  componentWillLoad() {
216
+ this.validateAriaDetails(this._ariaDetails);
213
217
  this._touched = this._touched === true;
214
218
  this.oldValue = this._value;
215
219
  this.controller.componentWillLoad();
@@ -218,6 +222,7 @@ const KolInputText$1 = proxyCustomElement(class KolInputText extends HTMLElement
218
222
  }
219
223
  get host() { return this; }
220
224
  static get watchers() { return {
225
+ "_ariaDetails": ["validateAriaDetails"],
221
226
  "_accessKey": ["validateAccessKey"],
222
227
  "_autoComplete": ["validateAutoComplete"],
223
228
  "_maxLengthBehavior": ["validateMaxLengthBehavior"],
@@ -252,6 +257,7 @@ const KolInputText$1 = proxyCustomElement(class KolInputText extends HTMLElement
252
257
  }, [289, "kol-input-text", {
253
258
  "_accessKey": [1, "_access-key"],
254
259
  "_autoComplete": [1, "_auto-complete"],
260
+ "_ariaDetails": [1, "_aria-details"],
255
261
  "_hasCounter": [4, "_has-counter"],
256
262
  "_maxLengthBehavior": [1, "_max-length-behavior"],
257
263
  "_disabled": [4],
@@ -289,6 +295,7 @@ const KolInputText$1 = proxyCustomElement(class KolInputText extends HTMLElement
289
295
  "setSelectionStart": [64],
290
296
  "setRangeText": [64]
291
297
  }, undefined, {
298
+ "_ariaDetails": ["validateAriaDetails"],
292
299
  "_accessKey": ["validateAccessKey"],
293
300
  "_autoComplete": ["validateAutoComplete"],
294
301
  "_maxLengthBehavior": ["validateMaxLengthBehavior"],
@@ -1 +1 @@
1
- {"file":"kol-input-text.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,iqXAAiqX;;MCwD5qXA,cAAY,GAAAC,kBAAA,CAAA,MAAA,YAAA,SAAA,WAAA,CAAA;AA8CjB,IAAA,MAAM,QAAQ,GAAA;;QACpB,OAAO,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,CAAC,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,KAAK;;AAUtB,IAAA,MAAM,KAAK,CAAC,OAAyB;IAOrC,MAAM,KAAK,GAAA;AAMX,IAAA,MAAM,cAAc,GAAA;;AAC1B,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,CAAC,EAAE,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,cAAc,CAAC;;AAOhD,IAAA,MAAM,YAAY,GAAA;;AACxB,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,CAAC,EAAE,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,YAAY,CAAC;;AAQ9C,IAAA,MAAM,iBAAiB,CAAC,cAAsB,EAAE,YAAoB,EAAE,kBAAoD,EAAA;;AAChI,QAAA,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,CAAC,EAAE,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,iBAAiB,CAAC,cAAc,EAAE,YAAY,EAAE,kBAAkB,CA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AAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI;AACtC,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM;AAC3B,QAAA,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE;AAEnC,QAAA,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;QAC1C,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAvZ/D,UAAA,CAAA;IAHZ,aAAa,CAAC,QAAQ;CAGwC,EAAAJ,cAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,aAAa,CAAC,QAAQ;CACe,EAAAA,cAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;","names":["KolInputText","__stencil_proxyCustomElement","KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc"],"sources":["src/components/input-text/style.scss?tag=kol-input-text&mode=default&encapsulation=shadow","src/components/input-text/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n@use '../@shared/alert.mixin' as *;\n@use '../@shared/form-field.mixin' as *;\n@use '../@shared/input-container.mixin' as *;\n@use '../@shared/input.mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport type {\n\tAccessKeyPropType,\n\tAutoCompletePropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tHasCounterPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputTextAPI,\n\tInputTextStates,\n\tInputTextTypePropType,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport { createRelatedUniqueId, createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputTextController } from './controller';\n\n/**\n * The **Text** input type creates an input field for plain text, search terms, URLs, or phone numbers.\n *\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-input-text',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputText implements InputTextAPI, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolInputTextElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLInputElement>();\n\tprivate oldValue?: string;\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onBlur(event);\n\t\tthis.inputHasFocus = false;\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = this.ctaRef.el?.value;\n\n\t\tif (this.oldValue !== value) {\n\t\t\tthis.oldValue = value;\n\t\t}\n\n\t\tthis.controller.onFacade.onChange(event);\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onFocus(event);\n\t\tthis.inputHasFocus = true;\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tthis._value = this.ctaRef.el?.value ?? '';\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tthis.controller.onFacade.onKeyDown(event);\n\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t}\n\t};\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ctaRef.el?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\t/**\n\t * Get selection start of internal element.\n\t */\n\t@Method()\n\tpublic async selectionStart() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionStart);\n\t}\n\n\t/**\n\t * Get selection end of internal element.\n\t */\n\t@Method()\n\tpublic async selectionEnd() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionEnd);\n\t}\n\n\t/**\n\t * Set selection start and end, and optional in which direction, of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionRange(selectionStart: number, selectionEnd: number, selectionDirection?: 'forward' | 'backward' | 'none') {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n\t}\n\n\t/**\n\t * Set selection start (and end = start) of internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionStart(selectionStart: number) {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionStart);\n\t}\n\n\t/**\n\t * Add string at position of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setRangeText(replacement: string, selectionStart?: number, selectionEnd?: number, selectMode?: 'select' | 'start' | 'end' | 'preserve') {\n\t\tif (selectionStart !== undefined && selectionEnd !== undefined) {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\t\t} else {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement);\n\t\t}\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-text', this.state._type as string, {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t\t'kol-form-field--has-counter': this.controller.hasSoftCharacterLimit() || this.controller.hasCounter(),\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\tconst ariaDescribedBy = typeof this.state._maxLength === 'number' ? [createRelatedUniqueId(this.state._id, 'character-limit-hint')] : undefined; // When a character limit is defined, we provide an additional hint referenced by aria-describedby.\n\n\t\treturn {\n\t\t\tref: this.ctaRef,\n\t\t\tstate: this.state,\n\t\t\tariaDescribedBy,\n\t\t\t...this.controller.onFacade,\n\t\t\tonBlur: this.onBlur,\n\t\t\tonChange: this.onChange,\n\t\t\tonFocus: this.onFocus,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputTextController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: InputTextTypePropType = 'text';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: InputTextStates = {\n\t\t_currentLength: 0,\n\t\t_currentLengthDebounced: 0,\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('input-text'),\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_type: 'text',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputTextController(this, 'text', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_maxLengthBehavior')\n\tpublic validateMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.controller.validateMaxLengthBehavior(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_spellCheck')\n\tpublic validateSpellCheck(value?: SpellCheckPropType): void {\n\t\tthis.controller.validateSpellCheck(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: InputTextTypePropType): void {\n\t\tthis.controller.validateType(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t\tthis.oldValue = value;\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.oldValue = this._value;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-input-text.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,k+XAAk+X;;MCyD7+XA,cAAY,GAAAC,kBAAA,CAAA,MAAA,YAAA,SAAA,WAAA,CAAA;AA8CjB,IAAA,MAAM,QAAQ,GAAA;;QACpB,OAAO,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,CAAC,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,KAAK;;AAUtB,IAAA,MAAM,KAAK,CAAC,OAAyB;IAOrC,MAAM,KAAK,GAAA;AAMX,IAAA,MAAM,cAAc,GAAA;;AAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAna/D,UAAA,CAAA;IAHZ,aAAa,CAAC,QAAQ;CAGwC,EAAAJ,cAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,aAAa,CAAC,QAAQ;CACe,EAAAA,cAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;","names":["KolInputText","__stencil_proxyCustomElement","KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc"],"sources":["src/components/input-text/style.scss?tag=kol-input-text&mode=default&encapsulation=shadow","src/components/input-text/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n@use '../@shared/alert.mixin' as *;\n@use '../@shared/form-field.mixin' as *;\n@use '../@shared/input-container.mixin' as *;\n@use '../@shared/input.mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport type {\n\tAccessKeyPropType,\n\tAriaDetailsPropType,\n\tAutoCompletePropType,\n\tClickableElement,\n\tDisabledPropType,\n\tFocusableElement,\n\tHasCounterPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputTextAPI,\n\tInputTextStates,\n\tInputTextTypePropType,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createRelatedUniqueId, createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputTextController } from './controller';\n\n/**\n * The **Text** input type creates an input field for plain text, search terms, URLs, or phone numbers.\n *\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-input-text',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputText implements ClickableElement, FocusableElement, InputTextAPI {\n\t@Element() protected readonly host?: HTMLKolInputTextElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLInputElement>();\n\tprivate oldValue?: string;\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onBlur(event);\n\t\tthis.inputHasFocus = false;\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = this.ctaRef.el?.value;\n\n\t\tif (this.oldValue !== value) {\n\t\t\tthis.oldValue = value;\n\t\t}\n\n\t\tthis.controller.onFacade.onChange(event);\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onFocus(event);\n\t\tthis.inputHasFocus = true;\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tthis._value = this.ctaRef.el?.value ?? '';\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tthis.controller.onFacade.onKeyDown(event);\n\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t}\n\t};\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ctaRef.el?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\t/**\n\t * Get selection start of internal element.\n\t */\n\t@Method()\n\tpublic async selectionStart() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionStart);\n\t}\n\n\t/**\n\t * Get selection end of internal element.\n\t */\n\t@Method()\n\tpublic async selectionEnd() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionEnd);\n\t}\n\n\t/**\n\t * Set selection start and end, and optional in which direction, of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionRange(selectionStart: number, selectionEnd: number, selectionDirection?: 'forward' | 'backward' | 'none') {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n\t}\n\n\t/**\n\t * Set selection start (and end = start) of internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionStart(selectionStart: number) {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionStart);\n\t}\n\n\t/**\n\t * Add string at position of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setRangeText(replacement: string, selectionStart?: number, selectionEnd?: number, selectMode?: 'select' | 'start' | 'end' | 'preserve') {\n\t\tif (selectionStart !== undefined && selectionEnd !== undefined) {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\t\t} else {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement);\n\t\t}\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-text', this.state._type as string, {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t\t'kol-form-field--has-counter': this.controller.hasSoftCharacterLimit() || this.controller.hasCounter(),\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\tconst ariaDescribedBy = typeof this.state._maxLength === 'number' ? [createRelatedUniqueId(this.state._id, 'character-limit-hint')] : undefined; // When a character limit is defined, we provide an additional hint referenced by aria-describedby.\n\n\t\treturn {\n\t\t\tref: this.ctaRef,\n\t\t\tstate: this.state,\n\t\t\tariaDescribedBy,\n\t\t\t...this.controller.onFacade,\n\t\t\tonBlur: this.onBlur,\n\t\t\tonChange: this.onChange,\n\t\t\tonFocus: this.onFocus,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputTextController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * References an external element by ID that provides accessible details for this input.\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic validateAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.controller.validateAriaDetails(value);\n\t}\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: InputTextTypePropType = 'text';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: InputTextStates = {\n\t\t_currentLength: 0,\n\t\t_currentLengthDebounced: 0,\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('input-text'),\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_type: 'text',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputTextController(this, 'text', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_maxLengthBehavior')\n\tpublic validateMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.controller.validateMaxLengthBehavior(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_spellCheck')\n\tpublic validateSpellCheck(value?: SpellCheckPropType): void {\n\t\tthis.controller.validateSpellCheck(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: InputTextTypePropType): void {\n\t\tthis.controller.validateType(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t\tthis.oldValue = value;\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAriaDetails(this._ariaDetails);\n\n\t\tthis._touched = this._touched === true;\n\t\tthis.oldValue = this._value;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"],"version":3}
@@ -8,7 +8,7 @@ import { r as rgba } from './contrast.js';
8
8
  import { v as validateColor } from './color.js';
9
9
  import { t as translate } from './i18n.js';
10
10
 
11
- const defaultStyleCss = "/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-kolibri {\n display: inline-block;\n max-height: 100%;\n }\n .kol-kolibri__text {\n font-size: calc(90 * 1rem / var(--kolibri-root-font-size, 16));\n letter-spacing: normal;\n word-spacing: normal;\n }\n}";
11
+ const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-kolibri {\n display: inline-block;\n max-height: 100%;\n }\n .kol-kolibri__text {\n font-size: calc(90 * 1rem / var(--kolibri-root-font-size, 16));\n letter-spacing: normal;\n word-spacing: normal;\n }\n}";
12
12
 
13
13
  const KolKolibri$1 = proxyCustomElement(class KolKolibri extends HTMLElement {
14
14
  constructor(registerHost) {
@@ -44,7 +44,7 @@ const KolKolibri$1 = proxyCustomElement(class KolKolibri extends HTMLElement {
44
44
  }
45
45
  render() {
46
46
  const fillColor = `rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;
47
- return (h("svg", { key: 'fb287d59e0565598a879a7d2b0a2c060b4f823c5', class: "kol-kolibri", role: "img", "aria-label": this.translateKolibriLogo, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 600 600", fill: fillColor }, h("path", { key: 'c579830724ffe72342d1753d6815f38ac8487a98', d: "M353 322L213 304V434L353 322Z" }), h("path", { key: '07937d3751c91faa5550f2b680591c8ce1d8c2e6', d: "M209 564V304L149 434L209 564Z" }), h("path", { key: '444060f3b85b5d7d12bd5daa4022be7001d365db', d: "M357 316L417 250L361 210L275 244L357 316Z" }), h("path", { key: '41d95ce3a9cb93b932bb7a33fabe32d53c26e22e', d: "M329 218L237 92L250 222L272 241L329 218Z" }), h("path", { key: '8d35eae37da444a126be0b18703d6c6b962ca69a', d: "M353 318L35 36L213 300L353 318Z" }), h("path", { key: '4a8a7e2ffecf4502c967df9d2449a3fff332ee80', d: "M391 286L565 272L421 252L391 286Z" }), this.state._labeled === true && (h("text", { key: 'a8a21eca0b1e15af92b25bbd4d0c468fd511a393', class: "kol-kolibri__text", x: "250", y: "525", fill: fillColor }, "KoliBri"))));
47
+ return (h("svg", { key: '70351f260a6b9c447f845208c5860a984e6d9c1e', class: "kol-kolibri", role: "img", "aria-label": this.translateKolibriLogo, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 600 600", fill: fillColor }, h("path", { key: 'a032a1c94f3f642564e6f26c600ad980a589b6bb', d: "M353 322L213 304V434L353 322Z" }), h("path", { key: 'f777f3b36484a2c33a18cd542f10ab54eb96e4e8', d: "M209 564V304L149 434L209 564Z" }), h("path", { key: '1574d2fc8fcb8d9dd029ac9d47ca7943cc091f9d', d: "M357 316L417 250L361 210L275 244L357 316Z" }), h("path", { key: 'cbaa1aab5861105eeeb64cb68b017243a6f59fe3', d: "M329 218L237 92L250 222L272 241L329 218Z" }), h("path", { key: '1d3c9ab278a28320dedf7893d18d20434e77a84a', d: "M353 318L35 36L213 300L353 318Z" }), h("path", { key: '1fc3a9c128e97fddf8a2ffe0452072fb2bfb7338', d: "M391 286L565 272L421 252L391 286Z" }), this.state._labeled === true && (h("text", { key: '07f658100130052f51b5117588caf052d28fd93b', class: "kol-kolibri__text", x: "250", y: "525", fill: fillColor }, "KoliBri"))));
48
48
  }
49
49
  validateColor(value) {
50
50
  validateColor(this, value, {
@@ -1 +1 @@
1
- {"file":"kol-kolibri.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,s+KAAs+K;;MCkBj/KA,YAAU,GAAAC,kBAAA,CAAA,MAAA,UAAA,SAAA,WAAA,CAAA;AAPvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAQkB,QAAA,IAAA,CAAA,oBAAoB,GAAG,SAAS,CAAC,kBAAkB,CAAC;AAuBtD,QAAA,IAAM,CAAA,MAAA,GAA4B,SAAS;AAK3C,QAAA,IAAQ,CAAA,QAAA,GAAa,IAAI;QAExB,IAAA,CAAA,KAAK,GAAkB;AACtC,YAAA,MAAM,EAAE;AACP,gBAAA,GAAG,EAAE,CAAC;AACN,gBAAA,KAAK,EAAE,EAAE;AACT,gBAAA,IAAI,EAAE,GAAG;AACT,aAAA;AACD,YAAA,QAAQ,EAAE,IAAI;SACd;QAEO,IAAA,CAAA,iBAAiB,GAA2C,CAAC,SAAkB,EAAE,SAA+B,KAAU;AACjI,YAAA,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;AAClC,gBAAA,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC;AAC3B,gBAAA,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE;AACvB,oBAAA,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AACX,oBAAA,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC;AACb,oB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B,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAC,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EAAC,IAAI,EAAE,SAAS,EAExD,EAAA,SAAA,CAAA,CACP,CACI;;AAqCD,IAAA,aAAa,CAAC,KAA8B,EAAA;AAClD,QAAA,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE;AAC1B,YAAA,YAAY,EAAE,SAAS;AACvB,YAAA,KAAK,EAAE;gBACN,WAAW,EAAE,IAAI,CAAC,iBAAiB;AACnC,aAAA;AACD,SAAA,CAAC;;AAII,IAAA,eAAe,CAAC,KAAe,EAAA;AACrC,QAAA,YAAY,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE;AACrC,YAAA,YAAY,EAAE,IAAI;AAClB,SAAA,CAAC;;IAGI,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolKolibri","__stencil_proxyCustomElement"],"sources":["src/components/kolibri/style.scss?tag=kol-kolibri&mode=default&encapsulation=shadow","src/components/kolibri/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-kolibri {\n\t\tdisplay: inline-block;\n\t\tmax-height: 100%;\n\n\t\t&__text {\n\t\t\tfont-size: to-rem(90);\n\t\t\tletter-spacing: normal;\n\t\t\tword-spacing: normal;\n\t\t}\n\t}\n}\n","import { Component, Prop, State, Watch, h } from '@stencil/core';\nimport { devHint, validateColor, watchBoolean } from '../../schema';\n\nimport { translate } from '../../i18n';\n\nimport type { JSX } from '@stencil/core';\nimport type { Generic } from 'adopted-style-sheets';\n\nimport rgba from 'color-rgba';\nimport type { KolibriAPI, KolibriStates, PropColor, Stringified } from '../../schema';\n\n@Component({\n\ttag: 'kol-kolibri',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolKolibri implements KolibriAPI {\n\tprivate readonly translateKolibriLogo = translate('kol-kolibri-logo');\n\tpublic render(): JSX.Element {\n\t\tconst fillColor = `rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;\n\t\treturn (\n\t\t\t<svg class=\"kol-kolibri\" role=\"img\" aria-label={this.translateKolibriLogo} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 600 600\" fill={fillColor}>\n\t\t\t\t<path d=\"M353 322L213 304V434L353 322Z\" />\n\t\t\t\t<path d=\"M209 564V304L149 434L209 564Z\" />\n\t\t\t\t<path d=\"M357 316L417 250L361 210L275 244L357 316Z\" />\n\t\t\t\t<path d=\"M329 218L237 92L250 222L272 241L329 218Z\" />\n\t\t\t\t<path d=\"M353 318L35 36L213 300L353 318Z\" />\n\t\t\t\t<path d=\"M391 286L565 272L421 252L391 286Z\" />\n\t\t\t\t{this.state._labeled === true && (\n\t\t\t\t\t<text class=\"kol-kolibri__text\" x=\"250\" y=\"525\" fill={fillColor}>\n\t\t\t\t\t\tKoliBri\n\t\t\t\t\t</text>\n\t\t\t\t)}\n\t\t\t</svg>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the color of the logo and label.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#003c78';\n\n\t/**\n\t * Defines whether the component has a label.\n\t */\n\t@Prop() public _labeled?: boolean = true;\n\n\t@State() public state: KolibriStates = {\n\t\t_color: {\n\t\t\tred: 0,\n\t\t\tgreen: 60,\n\t\t\tblue: 120,\n\t\t},\n\t\t_labeled: true,\n\t};\n\n\tprivate handleColorChange: Generic.Element.NextStateHooksCallback = (nextValue: unknown, nextState: Map<string, unknown>): void => {\n\t\tif (typeof nextValue === 'string') {\n\t\t\tconst rgb = rgba(nextValue);\n\t\t\tnextState.set('_color', {\n\t\t\t\tred: rgb[0],\n\t\t\t\tgreen: rgb[1],\n\t\t\t\tblue: rgb[2],\n\t\t\t});\n\t\t} else {\n\t\t\tdevHint(`[KolKolibri] You used the complex color schema. For the KoliBri we use need the color as hex string.`);\n\t\t}\n\t};\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#003c78',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_labeled')\n\tpublic validateLabeled(value?: boolean): void {\n\t\twatchBoolean(this, '_labeled', value, {\n\t\t\tdefaultValue: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateColor(this._color);\n\t\tthis.validateLabeled(this._labeled);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-kolibri.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,4yLAA4yL;;MCkBvzLA,YAAU,GAAAC,kBAAA,CAAA,MAAA,UAAA,SAAA,WAAA,CAAA;AAPvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAQkB,QAAA,IAAA,CAAA,oBAAoB,GAAG,SAAS,CAAC,kBAAkB,CAAC;AAuBtD,QAAA,IAAM,CAAA,MAAA,GAA4B,SAAS;AAK3C,QAAA,IAAQ,CAAA,QAAA,GAAa,IAAI;QAExB,IAAA,CAAA,KAAK,GAAkB;AACtC,YAAA,MAAM,EAAE;AACP,gBAAA,GAAG,EAAE,CAAC;AACN,gBAAA,KAAK,EAAE,EAAE;AACT,gBAAA,IAAI,EAAE,GAAG;AACT,aAAA;AACD,YAAA,QAAQ,EAAE,IAAI;SACd;QAEO,IAAA,CAAA,iBAAiB,GAA2C,CAAC,SAAkB,EAAE,SAA+B,KAAU;AACjI,YAAA,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;AAClC,gBAAA,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CA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AG,CAAA,EAC5C,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAC,EAAC,mCAAmC,EAAG,CAAA,EAC7C,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,KAC5B,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAC,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EAAC,IAAI,EAAE,SAAS,EAExD,EAAA,SAAA,CAAA,CACP,CACI;;AAqCD,IAAA,aAAa,CAAC,KAA8B,EAAA;AAClD,QAAA,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE;AAC1B,YAAA,YAAY,EAAE,SAAS;AACvB,YAAA,KAAK,EAAE;gBACN,WAAW,EAAE,IAAI,CAAC,iBAAiB;AACnC,aAAA;AACD,SAAA,CAAC;;AAII,IAAA,eAAe,CAAC,KAAe,EAAA;AACrC,QAAA,YAAY,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE;AACrC,YAAA,YAAY,EAAE,IAAI;AAClB,SAAA,CAAC;;IAGI,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolKolibri","__stencil_proxyCustomElement"],"sources":["src/components/kolibri/style.scss?tag=kol-kolibri&mode=default&encapsulation=shadow","src/components/kolibri/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-kolibri {\n\t\tdisplay: inline-block;\n\t\tmax-height: 100%;\n\n\t\t&__text {\n\t\t\tfont-size: to-rem(90);\n\t\t\tletter-spacing: normal;\n\t\t\tword-spacing: normal;\n\t\t}\n\t}\n}\n","import { Component, Prop, State, Watch, h } from '@stencil/core';\nimport { devHint, validateColor, watchBoolean } from '../../schema';\n\nimport { translate } from '../../i18n';\n\nimport type { JSX } from '@stencil/core';\nimport type { Generic } from 'adopted-style-sheets';\n\nimport rgba from 'color-rgba';\nimport type { KolibriAPI, KolibriStates, PropColor, Stringified } from '../../schema';\n\n@Component({\n\ttag: 'kol-kolibri',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolKolibri implements KolibriAPI {\n\tprivate readonly translateKolibriLogo = translate('kol-kolibri-logo');\n\tpublic render(): JSX.Element {\n\t\tconst fillColor = `rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;\n\t\treturn (\n\t\t\t<svg class=\"kol-kolibri\" role=\"img\" aria-label={this.translateKolibriLogo} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 600 600\" fill={fillColor}>\n\t\t\t\t<path d=\"M353 322L213 304V434L353 322Z\" />\n\t\t\t\t<path d=\"M209 564V304L149 434L209 564Z\" />\n\t\t\t\t<path d=\"M357 316L417 250L361 210L275 244L357 316Z\" />\n\t\t\t\t<path d=\"M329 218L237 92L250 222L272 241L329 218Z\" />\n\t\t\t\t<path d=\"M353 318L35 36L213 300L353 318Z\" />\n\t\t\t\t<path d=\"M391 286L565 272L421 252L391 286Z\" />\n\t\t\t\t{this.state._labeled === true && (\n\t\t\t\t\t<text class=\"kol-kolibri__text\" x=\"250\" y=\"525\" fill={fillColor}>\n\t\t\t\t\t\tKoliBri\n\t\t\t\t\t</text>\n\t\t\t\t)}\n\t\t\t</svg>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the color of the logo and label.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#003c78';\n\n\t/**\n\t * Defines whether the component has a label.\n\t */\n\t@Prop() public _labeled?: boolean = true;\n\n\t@State() public state: KolibriStates = {\n\t\t_color: {\n\t\t\tred: 0,\n\t\t\tgreen: 60,\n\t\t\tblue: 120,\n\t\t},\n\t\t_labeled: true,\n\t};\n\n\tprivate handleColorChange: Generic.Element.NextStateHooksCallback = (nextValue: unknown, nextState: Map<string, unknown>): void => {\n\t\tif (typeof nextValue === 'string') {\n\t\t\tconst rgb = rgba(nextValue);\n\t\t\tnextState.set('_color', {\n\t\t\t\tred: rgb[0],\n\t\t\t\tgreen: rgb[1],\n\t\t\t\tblue: rgb[2],\n\t\t\t});\n\t\t} else {\n\t\t\tdevHint(`[KolKolibri] You used the complex color schema. For the KoliBri we use need the color as hex string.`);\n\t\t}\n\t};\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#003c78',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_labeled')\n\tpublic validateLabeled(value?: boolean): void {\n\t\twatchBoolean(this, '_labeled', value, {\n\t\t\tdefaultValue: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateColor(this._color);\n\t\tthis.validateLabeled(this._labeled);\n\t}\n}\n"],"version":3}