@public-ui/components 4.3.1-rc.4 → 4.4.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1083) 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/custom-elements.json +1 -1
  7. package/dist/cjs/{Alert-Cj0l2bUc.js → Alert-Coxw3JU8.js} +6 -6
  8. package/dist/cjs/{Alert-Cj0l2bUc.js.map → Alert-Coxw3JU8.js.map} +1 -1
  9. package/dist/cjs/{Collapsible-BGmv1Yjs.js → Collapsible-DT8C9xVf.js} +6 -6
  10. package/dist/cjs/{Collapsible-BGmv1Yjs.js.map → Collapsible-DT8C9xVf.js.map} +1 -1
  11. package/dist/cjs/{CustomSuggestionsOptionsGroup-DxkxG6SL.js → CustomSuggestionsOptionsGroup-A2ynySII.js} +3 -3
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-DxkxG6SL.js.map → CustomSuggestionsOptionsGroup-A2ynySII.js.map} +1 -1
  13. package/dist/cjs/{FieldControlStateWrapper-BdMJ6APF.js → FieldControlStateWrapper-CSGUtZoI.js} +8 -8
  14. package/dist/cjs/{FieldControlStateWrapper-BdMJ6APF.js.map → FieldControlStateWrapper-CSGUtZoI.js.map} +1 -1
  15. package/dist/cjs/{FormFieldStateWrapper-r_biWYNQ.js → FormFieldStateWrapper-DQSgGoJY.js} +10 -10
  16. package/dist/cjs/{FormFieldStateWrapper-r_biWYNQ.js.map → FormFieldStateWrapper-DQSgGoJY.js.map} +1 -1
  17. package/dist/cjs/{Heading-7QjdzJbb.js → Heading-LVZVJoow.js} +3 -3
  18. package/dist/cjs/{Heading-7QjdzJbb.js.map → Heading-LVZVJoow.js.map} +1 -1
  19. package/dist/cjs/{Input-BTydy1dC.js → Input-BJA1r-um.js} +5 -5
  20. package/dist/cjs/{Input-BTydy1dC.js.map → Input-BJA1r-um.js.map} +1 -1
  21. package/dist/cjs/{InputStateWrapper-BkVAoLW-.js → InputStateWrapper-A-jVn7Y5.js} +6 -6
  22. package/dist/cjs/{InputStateWrapper-BkVAoLW-.js.map → InputStateWrapper-A-jVn7Y5.js.map} +1 -1
  23. package/dist/cjs/{app-globals-BtMT5iZw.js → app-globals-Cu6UTS5B.js} +4 -4
  24. package/dist/cjs/{app-globals-BtMT5iZw.js.map → app-globals-Cu6UTS5B.js.map} +1 -1
  25. package/dist/cjs/{associated.controller-YkqdW9Jt.js → associated.controller-CK6X4_In.js} +3 -3
  26. package/dist/cjs/{associated.controller-YkqdW9Jt.js.map → associated.controller-CK6X4_In.js.map} +1 -1
  27. package/dist/cjs/{behavior-yXZ28o26.js → behavior-BZvPySnr.js} +5 -5
  28. package/dist/cjs/{behavior-yXZ28o26.js.map → behavior-BZvPySnr.js.map} +1 -1
  29. package/dist/cjs/{bootstrap-oTvWXPJh.js → bootstrap-Ib4QRI0X.js} +3 -3
  30. package/dist/cjs/{bootstrap-oTvWXPJh.js.map → bootstrap-Ib4QRI0X.js.map} +1 -1
  31. package/dist/cjs/{component-nUTAX1bo.js → component-CJp9X0Jy.js} +3 -3
  32. package/dist/cjs/{component-nUTAX1bo.js.map → component-CJp9X0Jy.js.map} +1 -1
  33. package/dist/cjs/{component-C4o-iNQ7.js → component-CtNi9R_v.js} +4 -4
  34. package/dist/cjs/{component-C4o-iNQ7.js.map → component-CtNi9R_v.js.map} +1 -1
  35. package/dist/cjs/{component-ND1NsfT0.js → component-DhhMlrPF.js} +3 -3
  36. package/dist/cjs/{component-ND1NsfT0.js.map → component-DhhMlrPF.js.map} +1 -1
  37. package/dist/cjs/{component-DHGkVCC4.js → component-ImTnIXC-.js} +19 -13
  38. package/dist/cjs/component-ImTnIXC-.js.map +1 -0
  39. package/dist/cjs/{component-CBmF0-1m.js → component-SW8wvnfI.js} +3 -3
  40. package/dist/cjs/{component-CBmF0-1m.js.map → component-SW8wvnfI.js.map} +1 -1
  41. package/dist/cjs/{component-poFmJFfm.js → component-gmHd3TM9.js} +4 -4
  42. package/dist/cjs/{component-poFmJFfm.js.map → component-gmHd3TM9.js.map} +1 -1
  43. package/dist/cjs/{component-names-5KS_pYRF.js → component-names-BWllpOr_.js} +4 -4
  44. package/dist/cjs/{component-names-5KS_pYRF.js.map → component-names-BWllpOr_.js.map} +1 -1
  45. package/dist/cjs/{controller--hzjNQ3Q.js → controller-BW-xigfg.js} +3 -3
  46. package/dist/cjs/{controller--hzjNQ3Q.js.map → controller-BW-xigfg.js.map} +1 -1
  47. package/dist/cjs/{controller-BgRs4wQH.js → controller-BfpJ_mxu.js} +3 -3
  48. package/dist/cjs/{controller-BgRs4wQH.js.map → controller-BfpJ_mxu.js.map} +1 -1
  49. package/dist/cjs/{controller-Dgt9vyUr.js → controller-C74L1qDE.js} +3 -3
  50. package/dist/cjs/{controller-Dgt9vyUr.js.map → controller-C74L1qDE.js.map} +1 -1
  51. package/dist/cjs/{controller-9cz5yQIi.js → controller-DjtyHL-Y.js} +3 -3
  52. package/dist/cjs/{controller-9cz5yQIi.js.map → controller-DjtyHL-Y.js.map} +1 -1
  53. package/dist/cjs/{controller-icon-Si8giJXr.js → controller-icon-CifkW2Mh.js} +7 -7
  54. package/dist/cjs/{controller-icon-Si8giJXr.js.map → controller-icon-CifkW2Mh.js.map} +1 -1
  55. package/dist/cjs/{dev.utils-uYT3Vj7g.js → dev.utils-B3acSuQU.js} +3 -3
  56. package/dist/cjs/{dev.utils-uYT3Vj7g.js.map → dev.utils-B3acSuQU.js.map} +1 -1
  57. package/dist/cjs/{devtools-D-z6DlmZ.js → devtools-C0XguiZW.js} +4 -4
  58. package/dist/cjs/{devtools-D-z6DlmZ.js.map → devtools-C0XguiZW.js.map} +1 -1
  59. package/dist/cjs/{href-CXu6zh2m.js → href-oniW8mQ8.js} +3 -3
  60. package/dist/cjs/{href-CXu6zh2m.js.map → href-oniW8mQ8.js.map} +1 -1
  61. package/dist/cjs/{index-COYzF2Ii.js → index-CM_zBZzl.js} +3 -3
  62. package/dist/cjs/{index-COYzF2Ii.js.map → index-CM_zBZzl.js.map} +1 -1
  63. package/dist/cjs/index.cjs.js +2 -2
  64. package/dist/cjs/kol-abbr.cjs.entry.js +2 -2
  65. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  66. package/dist/cjs/kol-accordion.cjs.entry.js +9 -9
  67. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  68. package/dist/cjs/kol-alert-wc.cjs.entry.js +8 -8
  69. package/dist/cjs/kol-alert.cjs.entry.js +3 -3
  70. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  71. package/dist/cjs/kol-avatar.cjs.entry.js +7 -6
  72. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  73. package/dist/cjs/kol-badge.cjs.entry.js +6 -6
  74. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  75. package/dist/cjs/kol-breadcrumb.cjs.entry.js +4 -4
  76. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  77. package/dist/cjs/kol-button-link.cjs.entry.js +3 -3
  78. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  79. package/dist/cjs/kol-button-wc.cjs.entry.js +13 -13
  80. package/dist/cjs/kol-button.cjs.entry.js +3 -3
  81. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  82. package/dist/cjs/kol-card-wc.cjs.entry.js +12 -12
  83. package/dist/cjs/kol-card.cjs.entry.js +3 -3
  84. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  85. package/dist/cjs/kol-click-button.cjs.entry.js +7 -6
  86. package/dist/cjs/kol-click-button.entry.cjs.js.map +1 -1
  87. package/dist/cjs/kol-combobox.cjs.entry.js +20 -20
  88. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  89. package/dist/cjs/kol-details.cjs.entry.js +9 -9
  90. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  91. package/dist/cjs/kol-dialog-wc.cjs.entry.js +6 -6
  92. package/dist/cjs/kol-dialog.cjs.entry.js +3 -3
  93. package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
  94. package/dist/cjs/kol-drawer.cjs.entry.js +7 -7
  95. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  96. package/dist/cjs/kol-form.cjs.entry.js +6 -6
  97. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  98. package/dist/cjs/kol-heading.cjs.entry.js +6 -6
  99. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  100. package/dist/cjs/kol-icon.cjs.entry.js +7 -6
  101. package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
  102. package/dist/cjs/kol-image.cjs.entry.js +5 -5
  103. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  104. package/dist/cjs/kol-input-checkbox.cjs.entry.js +20 -20
  105. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  106. package/dist/cjs/kol-input-color.cjs.entry.js +24 -41
  107. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  108. package/dist/cjs/kol-input-date.cjs.entry.js +21 -21
  109. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-input-email.cjs.entry.js +23 -23
  111. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  112. package/dist/cjs/kol-input-file.cjs.entry.js +20 -20
  113. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  114. package/dist/cjs/kol-input-number.cjs.entry.js +21 -21
  115. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  116. package/dist/cjs/kol-input-password.cjs.entry.js +22 -22
  117. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  118. package/dist/cjs/kol-input-radio.cjs.entry.js +21 -21
  119. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  120. package/dist/cjs/kol-input-range.cjs.entry.js +21 -21
  121. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  122. package/dist/cjs/kol-input-text.cjs.entry.js +23 -23
  123. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  124. package/dist/cjs/kol-kolibri.cjs.entry.js +3 -3
  125. package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
  126. package/dist/cjs/kol-link-button.cjs.entry.js +4 -4
  127. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  128. package/dist/cjs/kol-link-wc.cjs.entry.js +16 -14
  129. package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
  130. package/dist/cjs/kol-link.cjs.entry.js +17 -15
  131. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  132. package/dist/cjs/kol-meter.cjs.entry.js +8 -7
  133. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
  134. package/dist/cjs/kol-modal.cjs.entry.js +4 -4
  135. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  136. package/dist/cjs/kol-nav.cjs.entry.js +6 -6
  137. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  138. package/dist/cjs/kol-pagination-wc.cjs.entry.js +3 -3
  139. package/dist/cjs/kol-pagination.cjs.entry.js +4 -4
  140. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  141. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +5 -5
  142. package/dist/cjs/kol-popover-button.cjs.entry.js +4 -4
  143. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  144. package/dist/cjs/kol-progress.cjs.entry.js +8 -7
  145. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  146. package/dist/cjs/kol-quote.cjs.entry.js +9 -8
  147. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  148. package/dist/cjs/kol-select-wc.cjs.entry.js +20 -20
  149. package/dist/cjs/kol-select.cjs.entry.js +4 -4
  150. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  151. package/dist/cjs/kol-single-select.cjs.entry.js +24 -24
  152. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  153. package/dist/cjs/kol-skeleton.cjs.entry.js +5 -5
  154. package/dist/cjs/kol-skip-nav.cjs.entry.js +4 -4
  155. package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
  156. package/dist/cjs/kol-spin.cjs.entry.js +8 -7
  157. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  158. package/dist/cjs/kol-split-button.cjs.entry.js +5 -5
  159. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  160. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +9 -6
  161. package/dist/cjs/kol-table-settings-wc.entry.cjs.js.map +1 -1
  162. package/dist/cjs/kol-table-stateful.cjs.entry.js +4 -4
  163. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  164. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +11 -11
  165. package/dist/cjs/kol-table-stateless.cjs.entry.js +4 -4
  166. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  167. package/dist/cjs/kol-tabs.cjs.entry.js +6 -6
  168. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  169. package/dist/cjs/kol-textarea.cjs.entry.js +18 -18
  170. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  171. package/dist/cjs/kol-toast-container.cjs.entry.js +11 -11
  172. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  173. package/dist/cjs/kol-toolbar.cjs.entry.js +4 -4
  174. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  175. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +10 -9
  176. package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
  177. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +7 -7
  178. package/dist/cjs/kol-tree-item.cjs.entry.js +4 -4
  179. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  180. package/dist/cjs/kol-tree-wc.cjs.entry.js +3 -3
  181. package/dist/cjs/kol-tree.cjs.entry.js +4 -4
  182. package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
  183. package/dist/cjs/kol-version.cjs.entry.js +4 -4
  184. package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
  185. package/dist/cjs/kolibri.cjs.js +2 -2
  186. package/dist/cjs/label-DCxflYaz.js +28 -0
  187. package/dist/cjs/label-DCxflYaz.js.map +1 -0
  188. package/dist/cjs/{label-with-expert-slot-Dz1qyfrA.js → label-with-expert-slot-D16dPeV3.js} +3 -3
  189. package/dist/cjs/{label-with-expert-slot-Dz1qyfrA.js.map → label-with-expert-slot-D16dPeV3.js.map} +1 -1
  190. package/dist/cjs/{level-ChQxENqa.js → level-B2kduuEy.js} +3 -3
  191. package/dist/cjs/{level-ChQxENqa.js.map → level-B2kduuEy.js.map} +1 -1
  192. package/dist/cjs/loader.cjs.js +2 -2
  193. package/dist/cjs/{normalizers-DFaq-Isv.js → normalizers-CxgZAKTH.js} +7 -3
  194. package/dist/{esm/normalizers-DWPxOTIP.js.map → cjs/normalizers-CxgZAKTH.js.map} +1 -1
  195. package/dist/cjs/{src-6sNgi09j.js → src-CRk0JiYA.js} +3 -3
  196. package/dist/cjs/{src-6sNgi09j.js.map → src-CRk0JiYA.js.map} +1 -1
  197. package/dist/cjs/test-component.cjs.entry.js +1 -1
  198. package/dist/cjs/{validation-C3MnsUcv.js → validation-BJc5daNb.js} +3 -3
  199. package/dist/cjs/{validation-C3MnsUcv.js.map → validation-BJc5daNb.js.map} +1 -1
  200. package/dist/cjs/{value-number-clamped-CROL2kPp.js → value-number-clamped-BCYQBuS8.js} +3 -3
  201. package/dist/cjs/{value-number-clamped-CROL2kPp.js.map → value-number-clamped-BCYQBuS8.js.map} +1 -1
  202. package/dist/cjs/{variant-quote-DmZgXNoy.js → variant-quote-Bsb58gYB.js} +3 -3
  203. package/dist/cjs/{variant-quote-DmZgXNoy.js.map → variant-quote-Bsb58gYB.js.map} +1 -1
  204. package/dist/collection/components/_skeleton/web-components/click-button/component.js +1 -1
  205. package/dist/collection/components/_skeleton/web-components/skeleton/component.js +1 -1
  206. package/dist/collection/components/abbr/style.css +43 -3
  207. package/dist/collection/components/accordion/style.css +43 -3
  208. package/dist/collection/components/alert/style.css +43 -3
  209. package/dist/collection/components/avatar/style.css +41 -1
  210. package/dist/collection/components/badge/style.css +43 -3
  211. package/dist/collection/components/breadcrumb/style.css +43 -3
  212. package/dist/collection/components/button/style.css +43 -3
  213. package/dist/collection/components/button-link/style.css +43 -3
  214. package/dist/collection/components/card/component.js +1 -1
  215. package/dist/collection/components/card/style.css +43 -3
  216. package/dist/collection/components/combobox/style.css +44 -4
  217. package/dist/collection/components/details/style.css +43 -3
  218. package/dist/collection/components/dialog/style.css +43 -3
  219. package/dist/collection/components/drawer/style.css +43 -3
  220. package/dist/collection/components/form/style.css +43 -3
  221. package/dist/collection/components/heading/style.css +41 -1
  222. package/dist/collection/components/icon/style.css +2 -2
  223. package/dist/collection/components/image/style.css +41 -1
  224. package/dist/collection/components/input-checkbox/style.css +44 -4
  225. package/dist/collection/components/input-color/shadow.js +5 -22
  226. package/dist/collection/components/input-color/shadow.js.map +1 -1
  227. package/dist/collection/components/input-color/style.css +44 -15
  228. package/dist/collection/components/input-date/shadow.js +1 -1
  229. package/dist/collection/components/input-date/style.css +44 -4
  230. package/dist/collection/components/input-email/shadow.js +1 -1
  231. package/dist/collection/components/input-email/style.css +44 -4
  232. package/dist/collection/components/input-file/shadow.js +1 -1
  233. package/dist/collection/components/input-file/style.css +44 -4
  234. package/dist/collection/components/input-number/shadow.js +1 -1
  235. package/dist/collection/components/input-number/style.css +44 -4
  236. package/dist/collection/components/input-password/shadow.js +1 -1
  237. package/dist/collection/components/input-password/style.css +44 -4
  238. package/dist/collection/components/input-radio/shadow.js +1 -1
  239. package/dist/collection/components/input-radio/style.css +44 -4
  240. package/dist/collection/components/input-range/shadow.js +1 -1
  241. package/dist/collection/components/input-range/style.css +44 -4
  242. package/dist/collection/components/input-text/shadow.js +1 -1
  243. package/dist/collection/components/input-text/style.css +44 -4
  244. package/dist/collection/components/kolibri/shadow.js +1 -1
  245. package/dist/collection/components/kolibri/style.css +41 -1
  246. package/dist/collection/components/link/component.js +3 -1
  247. package/dist/collection/components/link/component.js.map +1 -1
  248. package/dist/collection/components/link/style.css +43 -3
  249. package/dist/collection/components/link/wc.js +3 -1
  250. package/dist/collection/components/link/wc.js.map +1 -1
  251. package/dist/collection/components/link-button/shadow.js +1 -1
  252. package/dist/collection/components/link-button/style.css +43 -3
  253. package/dist/collection/components/meter/component.js +1 -1
  254. package/dist/collection/components/meter/style.css +41 -1
  255. package/dist/collection/components/modal/shadow.js +1 -1
  256. package/dist/collection/components/modal/style.css +43 -3
  257. package/dist/collection/components/nav/shadow.js +2 -2
  258. package/dist/collection/components/nav/style.css +43 -3
  259. package/dist/collection/components/pagination/shadow.js +1 -1
  260. package/dist/collection/components/pagination/style.css +44 -4
  261. package/dist/collection/components/popover-button/component.js +2 -2
  262. package/dist/collection/components/popover-button/shadow.js +1 -1
  263. package/dist/collection/components/popover-button/style.css +43 -3
  264. package/dist/collection/components/progress/component.js +1 -1
  265. package/dist/collection/components/progress/style.css +41 -1
  266. package/dist/collection/components/quote/component.js +1 -1
  267. package/dist/collection/components/quote/style.css +41 -1
  268. package/dist/collection/components/select/component.js +2 -2
  269. package/dist/collection/components/select/shadow.js +1 -1
  270. package/dist/collection/components/select/style.css +44 -4
  271. package/dist/collection/components/single-select/shadow.js +3 -3
  272. package/dist/collection/components/single-select/style.css +44 -4
  273. package/dist/collection/components/skip-nav/shadow.js +1 -1
  274. package/dist/collection/components/skip-nav/style.css +43 -3
  275. package/dist/collection/components/spin/component.js +1 -1
  276. package/dist/collection/components/spin/style.css +41 -1
  277. package/dist/collection/components/split-button/shadow.js +2 -2
  278. package/dist/collection/components/split-button/style.css +43 -3
  279. package/dist/collection/components/table-stateful/shadow.js +1 -1
  280. package/dist/collection/components/table-stateful/style.css +151 -7
  281. package/dist/collection/components/table-stateless/component.js +4 -4
  282. package/dist/collection/components/table-stateless/shadow.js +1 -1
  283. package/dist/collection/components/table-stateless/style.css +150 -6
  284. package/dist/collection/components/table-stateless/table-settings.js +8 -5
  285. package/dist/collection/components/table-stateless/table-settings.js.map +1 -1
  286. package/dist/collection/components/tabs/shadow.js +2 -2
  287. package/dist/collection/components/tabs/style.css +43 -3
  288. package/dist/collection/components/textarea/shadow.js +1 -1
  289. package/dist/collection/components/textarea/style.css +44 -4
  290. package/dist/collection/components/toaster/shadow.js +1 -1
  291. package/dist/collection/components/toaster/style.css +43 -3
  292. package/dist/collection/components/toolbar/shadow.js +1 -1
  293. package/dist/collection/components/toolbar/style.css +43 -3
  294. package/dist/collection/components/tooltip/component.js +1 -1
  295. package/dist/collection/components/tree/component.js +1 -1
  296. package/dist/collection/components/tree/shadow.js +1 -1
  297. package/dist/collection/components/tree/style.css +41 -1
  298. package/dist/collection/components/tree-item/component.js +3 -3
  299. package/dist/collection/components/tree-item/shadow.js +1 -1
  300. package/dist/collection/components/tree-item/style.css +43 -3
  301. package/dist/collection/components/version/shadow.js +1 -1
  302. package/dist/collection/components/version/style.css +41 -1
  303. package/dist/collection/internal/functional-components/link/component.js +1 -1
  304. package/dist/collection/internal/functional-components/link/component.js.map +1 -1
  305. package/dist/collection/internal/props/download.js +1 -1
  306. package/dist/collection/internal/props/download.js.map +1 -1
  307. package/dist/collection/internal/props/helpers/factory.js +5 -1
  308. package/dist/collection/internal/props/helpers/factory.js.map +1 -1
  309. package/dist/collection/internal/props/hints/index.js +5 -0
  310. package/dist/collection/internal/props/hints/index.js.map +1 -0
  311. package/dist/collection/internal/props/hints/label-hints.js +16 -0
  312. package/dist/collection/internal/props/hints/label-hints.js.map +1 -0
  313. package/dist/collection/internal/props/label.js +4 -1
  314. package/dist/collection/internal/props/label.js.map +1 -1
  315. package/dist/collection/internal/props/tab-index.js +8 -1
  316. package/dist/collection/internal/props/tab-index.js.map +1 -1
  317. package/dist/components/component-names.js +1 -1
  318. package/dist/components/component-names.js.map +1 -1
  319. package/dist/components/component5.js +10 -4
  320. package/dist/components/component5.js.map +1 -1
  321. package/dist/components/kol-abbr.js +1 -1
  322. package/dist/components/kol-abbr.js.map +1 -1
  323. package/dist/components/kol-accordion.js +1 -1
  324. package/dist/components/kol-accordion.js.map +1 -1
  325. package/dist/components/kol-alert.js +1 -1
  326. package/dist/components/kol-alert.js.map +1 -1
  327. package/dist/components/kol-avatar.js +1 -1
  328. package/dist/components/kol-avatar.js.map +1 -1
  329. package/dist/components/kol-badge.js +1 -1
  330. package/dist/components/kol-badge.js.map +1 -1
  331. package/dist/components/kol-breadcrumb.js +1 -1
  332. package/dist/components/kol-breadcrumb.js.map +1 -1
  333. package/dist/components/kol-button-link.js +1 -1
  334. package/dist/components/kol-button-link.js.map +1 -1
  335. package/dist/components/kol-button.js +1 -1
  336. package/dist/components/kol-button.js.map +1 -1
  337. package/dist/components/kol-card-wc.js +1 -1
  338. package/dist/components/kol-card.js +1 -1
  339. package/dist/components/kol-card.js.map +1 -1
  340. package/dist/components/kol-click-button.js +1 -1
  341. package/dist/components/kol-combobox.js +1 -1
  342. package/dist/components/kol-combobox.js.map +1 -1
  343. package/dist/components/kol-details.js +1 -1
  344. package/dist/components/kol-details.js.map +1 -1
  345. package/dist/components/kol-dialog.js +1 -1
  346. package/dist/components/kol-dialog.js.map +1 -1
  347. package/dist/components/kol-drawer.js +1 -1
  348. package/dist/components/kol-drawer.js.map +1 -1
  349. package/dist/components/kol-form.js +1 -1
  350. package/dist/components/kol-form.js.map +1 -1
  351. package/dist/components/kol-heading.js +1 -1
  352. package/dist/components/kol-heading.js.map +1 -1
  353. package/dist/components/kol-icon.js +1 -1
  354. package/dist/components/kol-image.js +1 -1
  355. package/dist/components/kol-image.js.map +1 -1
  356. package/dist/components/kol-input-checkbox.js +1 -1
  357. package/dist/components/kol-input-checkbox.js.map +1 -1
  358. package/dist/components/kol-input-color.js +6 -23
  359. package/dist/components/kol-input-color.js.map +1 -1
  360. package/dist/components/kol-input-date.js +2 -2
  361. package/dist/components/kol-input-date.js.map +1 -1
  362. package/dist/components/kol-input-email.js +2 -2
  363. package/dist/components/kol-input-email.js.map +1 -1
  364. package/dist/components/kol-input-file.js +2 -2
  365. package/dist/components/kol-input-file.js.map +1 -1
  366. package/dist/components/kol-input-number.js +2 -2
  367. package/dist/components/kol-input-number.js.map +1 -1
  368. package/dist/components/kol-input-password.js +2 -2
  369. package/dist/components/kol-input-password.js.map +1 -1
  370. package/dist/components/kol-input-radio.js +2 -2
  371. package/dist/components/kol-input-radio.js.map +1 -1
  372. package/dist/components/kol-input-range.js +2 -2
  373. package/dist/components/kol-input-range.js.map +1 -1
  374. package/dist/components/kol-input-text.js +2 -2
  375. package/dist/components/kol-input-text.js.map +1 -1
  376. package/dist/components/kol-kolibri.js +2 -2
  377. package/dist/components/kol-kolibri.js.map +1 -1
  378. package/dist/components/kol-link-button.js +2 -2
  379. package/dist/components/kol-link-button.js.map +1 -1
  380. package/dist/components/kol-link-wc.js +3 -2
  381. package/dist/components/kol-link-wc.js.map +1 -1
  382. package/dist/components/kol-link.js +4 -3
  383. package/dist/components/kol-link.js.map +1 -1
  384. package/dist/components/kol-meter.js +2 -2
  385. package/dist/components/kol-meter.js.map +1 -1
  386. package/dist/components/kol-modal.js +2 -2
  387. package/dist/components/kol-modal.js.map +1 -1
  388. package/dist/components/kol-nav.js +3 -3
  389. package/dist/components/kol-nav.js.map +1 -1
  390. package/dist/components/kol-pagination.js +2 -2
  391. package/dist/components/kol-pagination.js.map +1 -1
  392. package/dist/components/kol-popover-button-wc.js +2 -2
  393. package/dist/components/kol-popover-button.js +2 -2
  394. package/dist/components/kol-popover-button.js.map +1 -1
  395. package/dist/components/kol-progress.js +2 -2
  396. package/dist/components/kol-progress.js.map +1 -1
  397. package/dist/components/kol-quote.js +2 -2
  398. package/dist/components/kol-quote.js.map +1 -1
  399. package/dist/components/kol-select-wc.js +2 -2
  400. package/dist/components/kol-select.js +2 -2
  401. package/dist/components/kol-select.js.map +1 -1
  402. package/dist/components/kol-single-select.js +4 -4
  403. package/dist/components/kol-single-select.js.map +1 -1
  404. package/dist/components/kol-skeleton.js +1 -1
  405. package/dist/components/kol-skip-nav.js +2 -2
  406. package/dist/components/kol-skip-nav.js.map +1 -1
  407. package/dist/components/kol-spin.js +2 -2
  408. package/dist/components/kol-spin.js.map +1 -1
  409. package/dist/components/kol-split-button.js +3 -3
  410. package/dist/components/kol-split-button.js.map +1 -1
  411. package/dist/components/kol-table-settings-wc.js +8 -5
  412. package/dist/components/kol-table-settings-wc.js.map +1 -1
  413. package/dist/components/kol-table-stateful.js +3 -3
  414. package/dist/components/kol-table-stateful.js.map +1 -1
  415. package/dist/components/kol-table-stateless-wc.js +5 -5
  416. package/dist/components/kol-table-stateless.js +3 -3
  417. package/dist/components/kol-table-stateless.js.map +1 -1
  418. package/dist/components/kol-tabs.js +3 -3
  419. package/dist/components/kol-tabs.js.map +1 -1
  420. package/dist/components/kol-textarea.js +2 -2
  421. package/dist/components/kol-textarea.js.map +1 -1
  422. package/dist/components/kol-toast-container.js +3 -3
  423. package/dist/components/kol-toast-container.js.map +1 -1
  424. package/dist/components/kol-toolbar.js +2 -2
  425. package/dist/components/kol-toolbar.js.map +1 -1
  426. package/dist/components/kol-tooltip-wc.js +1 -1
  427. package/dist/components/kol-tree-item-wc.js +4 -4
  428. package/dist/components/kol-tree-item.js +3 -3
  429. package/dist/components/kol-tree-item.js.map +1 -1
  430. package/dist/components/kol-tree-wc.js +2 -2
  431. package/dist/components/kol-tree.js +3 -3
  432. package/dist/components/kol-tree.js.map +1 -1
  433. package/dist/components/kol-version.js +3 -3
  434. package/dist/components/kol-version.js.map +1 -1
  435. package/dist/components/label2.js +16 -1
  436. package/dist/components/label2.js.map +1 -1
  437. package/dist/components/normalizers.js +5 -1
  438. package/dist/components/normalizers.js.map +1 -1
  439. package/dist/esm/{Alert-BUOtAOEU.js → Alert-Brd6Seck.js} +8 -8
  440. package/dist/{kolibri/Alert-BUOtAOEU.js.map → esm/Alert-Brd6Seck.js.map} +1 -1
  441. package/dist/esm/{Collapsible-JODPbWD_.js → Collapsible-uqCd1X9D.js} +6 -6
  442. package/dist/{kolibri/Collapsible-JODPbWD_.js.map → esm/Collapsible-uqCd1X9D.js.map} +1 -1
  443. package/dist/esm/{CustomSuggestionsOptionsGroup-uIBVxXva.js → CustomSuggestionsOptionsGroup-C0DCbpZw.js} +3 -3
  444. package/dist/esm/{CustomSuggestionsOptionsGroup-uIBVxXva.js.map → CustomSuggestionsOptionsGroup-C0DCbpZw.js.map} +1 -1
  445. package/dist/esm/{FieldControlStateWrapper-B5wxkm5C.js → FieldControlStateWrapper-BYA-EUbJ.js} +9 -9
  446. package/dist/{kolibri/FieldControlStateWrapper-B5wxkm5C.js.map → esm/FieldControlStateWrapper-BYA-EUbJ.js.map} +1 -1
  447. package/dist/esm/{FormFieldStateWrapper-ClHy49ac.js → FormFieldStateWrapper-CgQd1-xm.js} +17 -17
  448. package/dist/{kolibri/FormFieldStateWrapper-ClHy49ac.js.map → esm/FormFieldStateWrapper-CgQd1-xm.js.map} +1 -1
  449. package/dist/esm/{Heading-_wdE01Ba.js → Heading-daxHO4c7.js} +3 -3
  450. package/dist/esm/{Heading-_wdE01Ba.js.map → Heading-daxHO4c7.js.map} +1 -1
  451. package/dist/esm/{Input-Us8iV6NH.js → Input-BFEZcF7E.js} +6 -6
  452. package/dist/{kolibri/Input-Us8iV6NH.js.map → esm/Input-BFEZcF7E.js.map} +1 -1
  453. package/dist/esm/{InputStateWrapper-CxmgEntV.js → InputStateWrapper-DlCKK6Hj.js} +6 -6
  454. package/dist/esm/{InputStateWrapper-CxmgEntV.js.map → InputStateWrapper-DlCKK6Hj.js.map} +1 -1
  455. package/dist/esm/{align-BNmcYY75.js → align-C8fl12z_.js} +3 -3
  456. package/dist/esm/{align-BNmcYY75.js.map → align-C8fl12z_.js.map} +1 -1
  457. package/dist/esm/{align-floating-elements-CONjGoNm.js → align-floating-elements-CBhVmYjn.js} +3 -3
  458. package/dist/esm/{align-floating-elements-CONjGoNm.js.map → align-floating-elements-CBhVmYjn.js.map} +1 -1
  459. package/dist/esm/{app-globals-B-1exqqn.js → app-globals-BqHPFMb-.js} +5 -5
  460. package/dist/esm/{app-globals-B-1exqqn.js.map → app-globals-BqHPFMb-.js.map} +1 -1
  461. package/dist/esm/{aria-details-o1tujJRX.js → aria-details-hRfn8aN9.js} +3 -3
  462. package/dist/esm/{aria-details-o1tujJRX.js.map → aria-details-hRfn8aN9.js.map} +1 -1
  463. package/dist/esm/{aria-labelledby-CuNgjL1c.js → aria-labelledby-D6AMAZtK.js} +3 -3
  464. package/dist/esm/{aria-labelledby-CuNgjL1c.js.map → aria-labelledby-D6AMAZtK.js.map} +1 -1
  465. package/dist/esm/{associated.controller-DSw2jkQs.js → associated.controller-FCQDejnI.js} +5 -5
  466. package/dist/esm/{associated.controller-DSw2jkQs.js.map → associated.controller-FCQDejnI.js.map} +1 -1
  467. package/dist/esm/{auto-complete-BBkbC-F2.js → auto-complete-C-QNfuIh.js} +3 -3
  468. package/dist/esm/{auto-complete-BBkbC-F2.js.map → auto-complete-C-QNfuIh.js.map} +1 -1
  469. package/dist/esm/{behavior-Ctzwvpyr.js → behavior-Co00uT-D.js} +8 -8
  470. package/dist/esm/{behavior-Ctzwvpyr.js.map → behavior-Co00uT-D.js.map} +1 -1
  471. package/dist/esm/{bem-registry-DGv3NmGE.js → bem-registry-3ondDImf.js} +3 -3
  472. package/dist/esm/{bem-registry-DGv3NmGE.js.map → bem-registry-3ondDImf.js.map} +1 -1
  473. package/dist/esm/{bootstrap-dbQte9BJ.js → bootstrap-Bfno1qh2.js} +4 -4
  474. package/dist/esm/{bootstrap-dbQte9BJ.js.map → bootstrap-Bfno1qh2.js.map} +1 -1
  475. package/dist/esm/{color-CrduxZp0.js → color-DfMsiiGq.js} +4 -4
  476. package/dist/esm/{color-CrduxZp0.js.map → color-DfMsiiGq.js.map} +1 -1
  477. package/dist/esm/{common-noYAs-wc.js → common-D-vggmh2.js} +3 -3
  478. package/dist/{kolibri/common-noYAs-wc.js.map → esm/common-D-vggmh2.js.map} +1 -1
  479. package/dist/esm/{component-Dk2wt0bc.js → component-BGR8kQ7-.js} +4 -4
  480. package/dist/esm/{component-Dk2wt0bc.js.map → component-BGR8kQ7-.js.map} +1 -1
  481. package/dist/esm/{component-oWROUiYq.js → component-C0wbBaCr.js} +24 -18
  482. package/dist/esm/component-C0wbBaCr.js.map +1 -0
  483. package/dist/esm/{component-U1HX1ZbW.js → component-D7nT-6lG.js} +4 -4
  484. package/dist/esm/{component-U1HX1ZbW.js.map → component-D7nT-6lG.js.map} +1 -1
  485. package/dist/esm/{component-DxelloF0.js → component-D8uE-jGD.js} +6 -6
  486. package/dist/{kolibri/component-DxelloF0.js.map → esm/component-D8uE-jGD.js.map} +1 -1
  487. package/dist/esm/{component-CqTwHM6Q.js → component-DzyFeBD2.js} +4 -4
  488. package/dist/{kolibri/component-CqTwHM6Q.js.map → esm/component-DzyFeBD2.js.map} +1 -1
  489. package/dist/esm/{component-CbvU8i7s.js → component-OSBqCRA5.js} +4 -4
  490. package/dist/esm/{component-CbvU8i7s.js.map → component-OSBqCRA5.js.map} +1 -1
  491. package/dist/esm/{component-names-BGnhDM7F.js → component-names-DwvrfFak.js} +3 -3
  492. package/dist/{kolibri/component-names-BGnhDM7F.js.map → esm/component-names-DwvrfFak.js.map} +1 -1
  493. package/dist/esm/{contrast-BQCqf-V1.js → contrast-D_JyeI-Q.js} +3 -3
  494. package/dist/{kolibri/contrast-BQCqf-V1.js.map → esm/contrast-D_JyeI-Q.js.map} +1 -1
  495. package/dist/esm/{controller-Bh5fBUBi.js → controller-BLYviJtY.js} +10 -10
  496. package/dist/{kolibri/controller-Bh5fBUBi.js.map → esm/controller-BLYviJtY.js.map} +1 -1
  497. package/dist/esm/{controller-CfLL4URL.js → controller-DWVgACel.js} +6 -6
  498. package/dist/esm/{controller-CfLL4URL.js.map → controller-DWVgACel.js.map} +1 -1
  499. package/dist/esm/{controller-CrEJoj-8.js → controller-D__mtOju.js} +4 -4
  500. package/dist/{kolibri/controller-CrEJoj-8.js.map → esm/controller-D__mtOju.js.map} +1 -1
  501. package/dist/esm/{controller-icon-g6dhLeRs.js → controller-icon-CJA3QnNw.js} +9 -9
  502. package/dist/{kolibri/controller-icon-g6dhLeRs.js.map → esm/controller-icon-CJA3QnNw.js.map} +1 -1
  503. package/dist/esm/{controller-CMXAgKAz.js → controller-uhkWXfnu.js} +7 -7
  504. package/dist/esm/{controller-CMXAgKAz.js.map → controller-uhkWXfnu.js.map} +1 -1
  505. package/dist/esm/{counter-dom-updater-Cydd4Jex.js → counter-dom-updater-osLR7-G0.js} +4 -4
  506. package/dist/{kolibri/counter-dom-updater-Cydd4Jex.js.map → esm/counter-dom-updater-osLR7-G0.js.map} +1 -1
  507. package/dist/esm/{custom-class-DpFc73O_.js → custom-class-BtoZpwyq.js} +3 -3
  508. package/dist/esm/{custom-class-DpFc73O_.js.map → custom-class-BtoZpwyq.js.map} +1 -1
  509. package/dist/esm/{dev.utils-CiiFii6l.js → dev.utils-xbtFeGNM.js} +4 -4
  510. package/dist/{kolibri/dev.utils-CiiFii6l.js.map → esm/dev.utils-xbtFeGNM.js.map} +1 -1
  511. package/dist/esm/{devtools-BQLYa7H7.js → devtools-CN6xORYP.js} +5 -5
  512. package/dist/esm/{devtools-BQLYa7H7.js.map → devtools-CN6xORYP.js.map} +1 -1
  513. package/dist/esm/{disabled-DVZ7p0bI.js → disabled-CL52u2mm.js} +3 -3
  514. package/dist/esm/{disabled-DVZ7p0bI.js.map → disabled-CL52u2mm.js.map} +1 -1
  515. package/dist/esm/{has-closer-DyXBWIQh.js → has-closer-DoXfZcmn.js} +3 -3
  516. package/dist/esm/{has-closer-DyXBWIQh.js.map → has-closer-DoXfZcmn.js.map} +1 -1
  517. package/dist/esm/{hide-label-LlZnbrzc.js → hide-label-CRGm6KGP.js} +3 -3
  518. package/dist/esm/{hide-label-LlZnbrzc.js.map → hide-label-CRGm6KGP.js.map} +1 -1
  519. package/dist/esm/{href-CBdHcGY_.js → href-B7u09W3s.js} +3 -3
  520. package/dist/{kolibri/href-CBdHcGY_.js.map → esm/href-B7u09W3s.js.map} +1 -1
  521. package/dist/esm/{href-BKrnu0s2.js → href-C9xfRiDr.js} +3 -3
  522. package/dist/esm/{href-BKrnu0s2.js.map → href-C9xfRiDr.js.map} +1 -1
  523. package/dist/esm/{i18n-CrXMv0tS.js → i18n-CvFPh0g5.js} +3 -3
  524. package/dist/esm/{i18n-CrXMv0tS.js.map → i18n-CvFPh0g5.js.map} +1 -1
  525. package/dist/esm/{icons-DT5u2gpq.js → icons-mXXqyviE.js} +3 -3
  526. package/dist/esm/{icons-DT5u2gpq.js.map → icons-mXXqyviE.js.map} +1 -1
  527. package/dist/esm/{index-CLHqy-2_.js → index-Cle6HB7B.js} +4 -4
  528. package/dist/esm/{index-CLHqy-2_.js.map → index-Cle6HB7B.js.map} +1 -1
  529. package/dist/esm/index.js +6 -6
  530. package/dist/esm/{inline-CqNhbN6Q.js → inline-DCDQA_d_.js} +3 -3
  531. package/dist/esm/{inline-CqNhbN6Q.js.map → inline-DCDQA_d_.js.map} +1 -1
  532. package/dist/esm/kol-abbr.entry.js +3 -3
  533. package/dist/esm/kol-abbr.entry.js.map +1 -1
  534. package/dist/esm/kol-accordion.entry.js +13 -13
  535. package/dist/esm/kol-accordion.entry.js.map +1 -1
  536. package/dist/esm/kol-alert-wc.entry.js +13 -13
  537. package/dist/esm/kol-alert.entry.js +4 -4
  538. package/dist/esm/kol-alert.entry.js.map +1 -1
  539. package/dist/esm/kol-avatar.entry.js +11 -10
  540. package/dist/esm/kol-avatar.entry.js.map +1 -1
  541. package/dist/esm/kol-badge.entry.js +11 -11
  542. package/dist/esm/kol-badge.entry.js.map +1 -1
  543. package/dist/esm/kol-breadcrumb.entry.js +9 -9
  544. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  545. package/dist/esm/kol-button-link.entry.js +4 -4
  546. package/dist/esm/kol-button-link.entry.js.map +1 -1
  547. package/dist/esm/kol-button-wc.entry.js +26 -26
  548. package/dist/esm/kol-button.entry.js +4 -4
  549. package/dist/esm/kol-button.entry.js.map +1 -1
  550. package/dist/esm/kol-card-wc.entry.js +18 -18
  551. package/dist/esm/kol-card.entry.js +4 -4
  552. package/dist/esm/kol-card.entry.js.map +1 -1
  553. package/dist/esm/kol-click-button.entry.js +9 -8
  554. package/dist/esm/kol-click-button.entry.js.map +1 -1
  555. package/dist/esm/kol-combobox.entry.js +35 -35
  556. package/dist/esm/kol-combobox.entry.js.map +1 -1
  557. package/dist/esm/kol-details.entry.js +13 -13
  558. package/dist/esm/kol-details.entry.js.map +1 -1
  559. package/dist/esm/kol-dialog-wc.entry.js +8 -8
  560. package/dist/esm/kol-dialog.entry.js +4 -4
  561. package/dist/esm/kol-dialog.entry.js.map +1 -1
  562. package/dist/esm/kol-drawer.entry.js +12 -12
  563. package/dist/esm/kol-drawer.entry.js.map +1 -1
  564. package/dist/esm/kol-form.entry.js +9 -9
  565. package/dist/esm/kol-form.entry.js.map +1 -1
  566. package/dist/esm/kol-heading.entry.js +7 -7
  567. package/dist/esm/kol-heading.entry.js.map +1 -1
  568. package/dist/esm/kol-icon.entry.js +9 -8
  569. package/dist/esm/kol-icon.entry.js.map +1 -1
  570. package/dist/esm/kol-image.entry.js +6 -6
  571. package/dist/esm/kol-image.entry.js.map +1 -1
  572. package/dist/esm/kol-input-checkbox.entry.js +33 -33
  573. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  574. package/dist/esm/kol-input-color.entry.js +38 -55
  575. package/dist/esm/kol-input-color.entry.js.map +1 -1
  576. package/dist/esm/kol-input-date.entry.js +37 -37
  577. package/dist/esm/kol-input-date.entry.js.map +1 -1
  578. package/dist/esm/kol-input-email.entry.js +43 -43
  579. package/dist/esm/kol-input-email.entry.js.map +1 -1
  580. package/dist/esm/kol-input-file.entry.js +34 -34
  581. package/dist/esm/kol-input-file.entry.js.map +1 -1
  582. package/dist/esm/kol-input-number.entry.js +38 -38
  583. package/dist/esm/kol-input-number.entry.js.map +1 -1
  584. package/dist/esm/kol-input-password.entry.js +39 -39
  585. package/dist/esm/kol-input-password.entry.js.map +1 -1
  586. package/dist/esm/kol-input-radio.entry.js +34 -34
  587. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  588. package/dist/esm/kol-input-range.entry.js +35 -35
  589. package/dist/esm/kol-input-range.entry.js.map +1 -1
  590. package/dist/esm/kol-input-text.entry.js +42 -42
  591. package/dist/esm/kol-input-text.entry.js.map +1 -1
  592. package/dist/esm/kol-kolibri.entry.js +7 -7
  593. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  594. package/dist/esm/kol-link-button.entry.js +5 -5
  595. package/dist/esm/kol-link-button.entry.js.map +1 -1
  596. package/dist/esm/kol-link-wc.entry.js +21 -19
  597. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  598. package/dist/esm/kol-link.entry.js +22 -20
  599. package/dist/esm/kol-link.entry.js.map +1 -1
  600. package/dist/esm/kol-meter.entry.js +10 -9
  601. package/dist/esm/kol-meter.entry.js.map +1 -1
  602. package/dist/esm/kol-modal.entry.js +5 -5
  603. package/dist/esm/kol-modal.entry.js.map +1 -1
  604. package/dist/esm/kol-nav.entry.js +12 -12
  605. package/dist/esm/kol-nav.entry.js.map +1 -1
  606. package/dist/esm/kol-pagination-wc.entry.js +10 -10
  607. package/dist/esm/kol-pagination.entry.js +5 -5
  608. package/dist/esm/kol-pagination.entry.js.map +1 -1
  609. package/dist/esm/kol-popover-button-wc.entry.js +9 -9
  610. package/dist/esm/kol-popover-button.entry.js +5 -5
  611. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  612. package/dist/esm/kol-progress.entry.js +10 -9
  613. package/dist/esm/kol-progress.entry.js.map +1 -1
  614. package/dist/esm/kol-quote.entry.js +11 -10
  615. package/dist/esm/kol-quote.entry.js.map +1 -1
  616. package/dist/esm/kol-select-wc.entry.js +36 -36
  617. package/dist/esm/kol-select.entry.js +6 -6
  618. package/dist/esm/kol-select.entry.js.map +1 -1
  619. package/dist/esm/kol-single-select.entry.js +39 -39
  620. package/dist/esm/kol-single-select.entry.js.map +1 -1
  621. package/dist/esm/kol-skeleton.entry.js +7 -7
  622. package/dist/esm/kol-skip-nav.entry.js +8 -8
  623. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  624. package/dist/esm/kol-spin.entry.js +10 -9
  625. package/dist/esm/kol-spin.entry.js.map +1 -1
  626. package/dist/esm/kol-split-button.entry.js +7 -7
  627. package/dist/esm/kol-split-button.entry.js.map +1 -1
  628. package/dist/esm/kol-table-settings-wc.entry.js +11 -8
  629. package/dist/esm/kol-table-settings-wc.entry.js.map +1 -1
  630. package/dist/esm/kol-table-stateful.entry.js +9 -9
  631. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  632. package/dist/esm/kol-table-stateless-wc.entry.js +17 -17
  633. package/dist/esm/kol-table-stateless.entry.js +6 -6
  634. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  635. package/dist/esm/kol-tabs.entry.js +10 -10
  636. package/dist/esm/kol-tabs.entry.js.map +1 -1
  637. package/dist/esm/kol-textarea.entry.js +36 -36
  638. package/dist/esm/kol-textarea.entry.js.map +1 -1
  639. package/dist/esm/kol-toast-container.entry.js +14 -14
  640. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  641. package/dist/esm/kol-toolbar.entry.js +7 -7
  642. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  643. package/dist/esm/kol-tooltip-wc.entry.js +14 -13
  644. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  645. package/dist/esm/kol-tree-item-wc.entry.js +12 -12
  646. package/dist/esm/kol-tree-item.entry.js +5 -5
  647. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  648. package/dist/esm/kol-tree-wc.entry.js +5 -5
  649. package/dist/esm/kol-tree.entry.js +5 -5
  650. package/dist/esm/kol-tree.entry.js.map +1 -1
  651. package/dist/esm/kol-version.entry.js +7 -7
  652. package/dist/esm/kol-version.entry.js.map +1 -1
  653. package/dist/esm/kolibri.js +4 -4
  654. package/dist/esm/label-FtX-skKy.js +26 -0
  655. package/dist/esm/label-FtX-skKy.js.map +1 -0
  656. package/dist/esm/{label-lhyZhbiM.js → label-w3T7Y2ih.js} +3 -3
  657. package/dist/{kolibri/label-lhyZhbiM.js.map → esm/label-w3T7Y2ih.js.map} +1 -1
  658. package/dist/esm/{label-with-expert-slot-3VWute5S.js → label-with-expert-slot-CU-oeLnm.js} +3 -3
  659. package/dist/esm/{label-with-expert-slot-3VWute5S.js.map → label-with-expert-slot-CU-oeLnm.js.map} +1 -1
  660. package/dist/esm/{level-B2RyXnam.js → level-Cj2m5HKt.js} +3 -3
  661. package/dist/{kolibri/level-B2RyXnam.js.map → esm/level-Cj2m5HKt.js.map} +1 -1
  662. package/dist/esm/loader.js +4 -4
  663. package/dist/esm/{multiple-RvvepSN9.js → multiple-BZRAazRb.js} +3 -3
  664. package/dist/esm/{multiple-RvvepSN9.js.map → multiple-BZRAazRb.js.map} +1 -1
  665. package/dist/esm/{normalizers-DWPxOTIP.js → normalizers-BNeak4hj.js} +8 -4
  666. package/dist/{kolibri/normalizers-DWPxOTIP.js.map → esm/normalizers-BNeak4hj.js.map} +1 -1
  667. package/dist/esm/{open-CA1J3ZTK.js → open-BRQrMgjX.js} +3 -3
  668. package/dist/esm/{open-CA1J3ZTK.js.map → open-BRQrMgjX.js.map} +1 -1
  669. package/dist/esm/{orientation-Dw3BhNjY.js → orientation-CfF8dz-f.js} +3 -3
  670. package/dist/esm/{orientation-Dw3BhNjY.js.map → orientation-CfF8dz-f.js.map} +1 -1
  671. package/dist/esm/{placeholder-JIf_Jr3v.js → placeholder-CmUUN-3U.js} +3 -3
  672. package/dist/esm/{placeholder-JIf_Jr3v.js.map → placeholder-CmUUN-3U.js.map} +1 -1
  673. package/dist/esm/{read-only-CxpGC8Fy.js → read-only-DyDY-E9H.js} +3 -3
  674. package/dist/esm/{read-only-CxpGC8Fy.js.map → read-only-DyDY-E9H.js.map} +1 -1
  675. package/dist/esm/{required-DGhzuKQB.js → required-CGf-IRxL.js} +3 -3
  676. package/dist/esm/{required-DGhzuKQB.js.map → required-CGf-IRxL.js.map} +1 -1
  677. package/dist/esm/{rows-BRaIYumW.js → rows-DlWRIMNQ.js} +3 -3
  678. package/dist/esm/{rows-BRaIYumW.js.map → rows-DlWRIMNQ.js.map} +1 -1
  679. package/dist/esm/{spell-check-BYuCSD3X.js → spell-check-6kYqpIpx.js} +3 -3
  680. package/dist/esm/{spell-check-BYuCSD3X.js.map → spell-check-6kYqpIpx.js.map} +1 -1
  681. package/dist/esm/{src-DugryP6L.js → src-BnjoA2Q6.js} +3 -3
  682. package/dist/esm/{src-DugryP6L.js.map → src-BnjoA2Q6.js.map} +1 -1
  683. package/dist/esm/{suggestions-ofHp_5qm.js → suggestions-CKylTAKv.js} +3 -3
  684. package/dist/esm/{suggestions-ofHp_5qm.js.map → suggestions-CKylTAKv.js.map} +1 -1
  685. package/dist/esm/{table-selection-CHYGiAxJ.js → table-selection-CB6W390S.js} +3 -3
  686. package/dist/esm/{table-selection-CHYGiAxJ.js.map → table-selection-CB6W390S.js.map} +1 -1
  687. package/dist/esm/test-component.entry.js +2 -2
  688. package/dist/esm/{tooltip-align-DWAWPZn0.js → tooltip-align-BQmLWbBy.js} +4 -4
  689. package/dist/esm/{tooltip-align-DWAWPZn0.js.map → tooltip-align-BQmLWbBy.js.map} +1 -1
  690. package/dist/esm/{unique-nav-labels-B0tCIm30.js → unique-nav-labels-B6_Oto5e.js} +3 -3
  691. package/dist/esm/{unique-nav-labels-B0tCIm30.js.map → unique-nav-labels-B6_Oto5e.js.map} +1 -1
  692. package/dist/esm/{validation-BT4VYADp.js → validation-BZPzOg5I.js} +3 -3
  693. package/dist/esm/{validation-BT4VYADp.js.map → validation-BZPzOg5I.js.map} +1 -1
  694. package/dist/esm/{validation-BFb56Yd7.js → validation-Cnndf99L.js} +4 -4
  695. package/dist/esm/{validation-BFb56Yd7.js.map → validation-Cnndf99L.js.map} +1 -1
  696. package/dist/esm/{value-number-clamped-D39JJzpQ.js → value-number-clamped-Fuextuj1.js} +3 -3
  697. package/dist/{kolibri/value-number-clamped-D39JJzpQ.js.map → esm/value-number-clamped-Fuextuj1.js.map} +1 -1
  698. package/dist/esm/{variant-class-name-B0Wpr2i8.js → variant-class-name-9qZ5egaq.js} +3 -3
  699. package/dist/esm/{variant-class-name-B0Wpr2i8.js.map → variant-class-name-9qZ5egaq.js.map} +1 -1
  700. package/dist/esm/{variant-quote-CRKM9QG2.js → variant-quote-ClYWonZq.js} +3 -3
  701. package/dist/esm/{variant-quote-CRKM9QG2.js.map → variant-quote-ClYWonZq.js.map} +1 -1
  702. package/dist/kolibri/{Alert-BUOtAOEU.js → Alert-Brd6Seck.js} +2 -2
  703. package/dist/{esm/Alert-BUOtAOEU.js.map → kolibri/Alert-Brd6Seck.js.map} +1 -1
  704. package/dist/kolibri/{Collapsible-JODPbWD_.js → Collapsible-uqCd1X9D.js} +2 -2
  705. package/dist/{esm/Collapsible-JODPbWD_.js.map → kolibri/Collapsible-uqCd1X9D.js.map} +1 -1
  706. package/dist/kolibri/CustomSuggestionsOptionsGroup-C0DCbpZw.js +5 -0
  707. package/dist/kolibri/{CustomSuggestionsOptionsGroup-uIBVxXva.js.map → CustomSuggestionsOptionsGroup-C0DCbpZw.js.map} +1 -1
  708. package/dist/kolibri/FieldControlStateWrapper-BYA-EUbJ.js +5 -0
  709. package/dist/{esm/FieldControlStateWrapper-B5wxkm5C.js.map → kolibri/FieldControlStateWrapper-BYA-EUbJ.js.map} +1 -1
  710. package/dist/kolibri/FormFieldStateWrapper-CgQd1-xm.js +5 -0
  711. package/dist/{esm/FormFieldStateWrapper-ClHy49ac.js.map → kolibri/FormFieldStateWrapper-CgQd1-xm.js.map} +1 -1
  712. package/dist/kolibri/{Heading-_wdE01Ba.js → Heading-daxHO4c7.js} +2 -2
  713. package/dist/kolibri/{Heading-_wdE01Ba.js.map → Heading-daxHO4c7.js.map} +1 -1
  714. package/dist/kolibri/Input-BFEZcF7E.js +5 -0
  715. package/dist/{esm/Input-Us8iV6NH.js.map → kolibri/Input-BFEZcF7E.js.map} +1 -1
  716. package/dist/kolibri/InputStateWrapper-DlCKK6Hj.js +5 -0
  717. package/dist/kolibri/{InputStateWrapper-CxmgEntV.js.map → InputStateWrapper-DlCKK6Hj.js.map} +1 -1
  718. package/dist/kolibri/align-C8fl12z_.js +5 -0
  719. package/dist/kolibri/{align-BNmcYY75.js.map → align-C8fl12z_.js.map} +1 -1
  720. package/dist/kolibri/{align-floating-elements-CONjGoNm.js → align-floating-elements-CBhVmYjn.js} +2 -2
  721. package/dist/kolibri/{align-floating-elements-CONjGoNm.js.map → align-floating-elements-CBhVmYjn.js.map} +1 -1
  722. package/dist/kolibri/app-globals-BqHPFMb-.js +5 -0
  723. package/dist/kolibri/{app-globals-B-1exqqn.js.map → app-globals-BqHPFMb-.js.map} +1 -1
  724. package/dist/kolibri/aria-details-hRfn8aN9.js +5 -0
  725. package/dist/kolibri/{aria-details-o1tujJRX.js.map → aria-details-hRfn8aN9.js.map} +1 -1
  726. package/dist/kolibri/aria-labelledby-D6AMAZtK.js +5 -0
  727. package/dist/kolibri/{aria-labelledby-CuNgjL1c.js.map → aria-labelledby-D6AMAZtK.js.map} +1 -1
  728. package/dist/kolibri/{associated.controller-DSw2jkQs.js → associated.controller-FCQDejnI.js} +2 -2
  729. package/dist/kolibri/{associated.controller-DSw2jkQs.js.map → associated.controller-FCQDejnI.js.map} +1 -1
  730. package/dist/kolibri/{auto-complete-BBkbC-F2.js → auto-complete-C-QNfuIh.js} +2 -2
  731. package/dist/kolibri/{auto-complete-BBkbC-F2.js.map → auto-complete-C-QNfuIh.js.map} +1 -1
  732. package/dist/kolibri/behavior-Co00uT-D.js +5 -0
  733. package/dist/kolibri/{behavior-Ctzwvpyr.js.map → behavior-Co00uT-D.js.map} +1 -1
  734. package/dist/kolibri/{bem-registry-DGv3NmGE.js → bem-registry-3ondDImf.js} +2 -2
  735. package/dist/kolibri/{bem-registry-DGv3NmGE.js.map → bem-registry-3ondDImf.js.map} +1 -1
  736. package/dist/kolibri/bootstrap-Bfno1qh2.js +5 -0
  737. package/dist/kolibri/{bootstrap-dbQte9BJ.js.map → bootstrap-Bfno1qh2.js.map} +1 -1
  738. package/dist/kolibri/{color-CrduxZp0.js → color-DfMsiiGq.js} +2 -2
  739. package/dist/kolibri/{color-CrduxZp0.js.map → color-DfMsiiGq.js.map} +1 -1
  740. package/dist/kolibri/{common-noYAs-wc.js → common-D-vggmh2.js} +2 -2
  741. package/dist/{esm/common-noYAs-wc.js.map → kolibri/common-D-vggmh2.js.map} +1 -1
  742. package/dist/kolibri/component-BGR8kQ7-.js +5 -0
  743. package/dist/kolibri/{component-Dk2wt0bc.js.map → component-BGR8kQ7-.js.map} +1 -1
  744. package/dist/kolibri/component-C0wbBaCr.js +5 -0
  745. package/dist/kolibri/component-C0wbBaCr.js.map +1 -0
  746. package/dist/kolibri/component-D7nT-6lG.js +5 -0
  747. package/dist/kolibri/{component-U1HX1ZbW.js.map → component-D7nT-6lG.js.map} +1 -1
  748. package/dist/kolibri/{component-DxelloF0.js → component-D8uE-jGD.js} +2 -2
  749. package/dist/{esm/component-DxelloF0.js.map → kolibri/component-D8uE-jGD.js.map} +1 -1
  750. package/dist/kolibri/{component-CqTwHM6Q.js → component-DzyFeBD2.js} +2 -2
  751. package/dist/{esm/component-CqTwHM6Q.js.map → kolibri/component-DzyFeBD2.js.map} +1 -1
  752. package/dist/kolibri/{component-CbvU8i7s.js → component-OSBqCRA5.js} +2 -2
  753. package/dist/kolibri/{component-CbvU8i7s.js.map → component-OSBqCRA5.js.map} +1 -1
  754. package/dist/kolibri/{component-names-BGnhDM7F.js → component-names-DwvrfFak.js} +2 -2
  755. package/dist/{esm/component-names-BGnhDM7F.js.map → kolibri/component-names-DwvrfFak.js.map} +1 -1
  756. package/dist/kolibri/contrast-D_JyeI-Q.js +5 -0
  757. package/dist/{esm/contrast-BQCqf-V1.js.map → kolibri/contrast-D_JyeI-Q.js.map} +1 -1
  758. package/dist/kolibri/{controller-Bh5fBUBi.js → controller-BLYviJtY.js} +2 -2
  759. package/dist/{esm/controller-Bh5fBUBi.js.map → kolibri/controller-BLYviJtY.js.map} +1 -1
  760. package/dist/kolibri/controller-DWVgACel.js +5 -0
  761. package/dist/kolibri/{controller-CfLL4URL.js.map → controller-DWVgACel.js.map} +1 -1
  762. package/dist/kolibri/controller-D__mtOju.js +5 -0
  763. package/dist/{esm/controller-CrEJoj-8.js.map → kolibri/controller-D__mtOju.js.map} +1 -1
  764. package/dist/kolibri/controller-icon-CJA3QnNw.js +5 -0
  765. package/dist/{esm/controller-icon-g6dhLeRs.js.map → kolibri/controller-icon-CJA3QnNw.js.map} +1 -1
  766. package/dist/kolibri/{controller-CMXAgKAz.js → controller-uhkWXfnu.js} +2 -2
  767. package/dist/kolibri/{controller-CMXAgKAz.js.map → controller-uhkWXfnu.js.map} +1 -1
  768. package/dist/kolibri/{counter-dom-updater-Cydd4Jex.js → counter-dom-updater-osLR7-G0.js} +2 -2
  769. package/dist/{esm/counter-dom-updater-Cydd4Jex.js.map → kolibri/counter-dom-updater-osLR7-G0.js.map} +1 -1
  770. package/dist/kolibri/custom-class-BtoZpwyq.js +5 -0
  771. package/dist/kolibri/{custom-class-DpFc73O_.js.map → custom-class-BtoZpwyq.js.map} +1 -1
  772. package/dist/kolibri/{dev.utils-CiiFii6l.js → dev.utils-xbtFeGNM.js} +2 -2
  773. package/dist/{esm/dev.utils-CiiFii6l.js.map → kolibri/dev.utils-xbtFeGNM.js.map} +1 -1
  774. package/dist/kolibri/devtools-CN6xORYP.js +5 -0
  775. package/dist/kolibri/{devtools-BQLYa7H7.js.map → devtools-CN6xORYP.js.map} +1 -1
  776. package/dist/kolibri/{disabled-DVZ7p0bI.js → disabled-CL52u2mm.js} +2 -2
  777. package/dist/kolibri/{disabled-DVZ7p0bI.js.map → disabled-CL52u2mm.js.map} +1 -1
  778. package/dist/kolibri/has-closer-DoXfZcmn.js +5 -0
  779. package/dist/kolibri/{has-closer-DyXBWIQh.js.map → has-closer-DoXfZcmn.js.map} +1 -1
  780. package/dist/kolibri/hide-label-CRGm6KGP.js +5 -0
  781. package/dist/kolibri/{hide-label-LlZnbrzc.js.map → hide-label-CRGm6KGP.js.map} +1 -1
  782. package/dist/kolibri/{href-CBdHcGY_.js → href-B7u09W3s.js} +2 -2
  783. package/dist/{esm/href-CBdHcGY_.js.map → kolibri/href-B7u09W3s.js.map} +1 -1
  784. package/dist/kolibri/href-C9xfRiDr.js +5 -0
  785. package/dist/kolibri/{href-BKrnu0s2.js.map → href-C9xfRiDr.js.map} +1 -1
  786. package/dist/kolibri/i18n-CvFPh0g5.js +5 -0
  787. package/dist/kolibri/{i18n-CrXMv0tS.js.map → i18n-CvFPh0g5.js.map} +1 -1
  788. package/dist/kolibri/icons-mXXqyviE.js +5 -0
  789. package/dist/kolibri/{icons-DT5u2gpq.js.map → icons-mXXqyviE.js.map} +1 -1
  790. package/dist/kolibri/{index-CLHqy-2_.js → index-Cle6HB7B.js} +3 -3
  791. package/dist/kolibri/{index-CLHqy-2_.js.map → index-Cle6HB7B.js.map} +1 -1
  792. package/dist/kolibri/index.esm.js +1 -1
  793. package/dist/kolibri/inline-DCDQA_d_.js +5 -0
  794. package/dist/kolibri/{inline-CqNhbN6Q.js.map → inline-DCDQA_d_.js.map} +1 -1
  795. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  796. package/dist/kolibri/kol-abbr.entry.js +1 -1
  797. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  798. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  799. package/dist/kolibri/kol-accordion.entry.js +1 -1
  800. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  801. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  802. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  803. package/dist/kolibri/kol-alert.entry.js +1 -1
  804. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  805. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  806. package/dist/kolibri/kol-avatar.entry.js +1 -1
  807. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  808. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  809. package/dist/kolibri/kol-badge.entry.js +1 -1
  810. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  811. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  812. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  813. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  814. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  815. package/dist/kolibri/kol-button-link.entry.js +1 -1
  816. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  817. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  818. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  819. package/dist/kolibri/kol-button.entry.js +1 -1
  820. package/dist/kolibri/kol-button.entry.js.map +1 -1
  821. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  822. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  823. package/dist/kolibri/kol-card.entry.js +1 -1
  824. package/dist/kolibri/kol-card.entry.js.map +1 -1
  825. package/dist/kolibri/kol-click-button.entry.esm.js.map +1 -1
  826. package/dist/kolibri/kol-click-button.entry.js +1 -1
  827. package/dist/kolibri/kol-click-button.entry.js.map +1 -1
  828. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  829. package/dist/kolibri/kol-combobox.entry.js +1 -1
  830. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  831. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  832. package/dist/kolibri/kol-details.entry.js +1 -1
  833. package/dist/kolibri/kol-details.entry.js.map +1 -1
  834. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  835. package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
  836. package/dist/kolibri/kol-dialog.entry.js +1 -1
  837. package/dist/kolibri/kol-dialog.entry.js.map +1 -1
  838. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  839. package/dist/kolibri/kol-drawer.entry.js +1 -1
  840. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  841. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  842. package/dist/kolibri/kol-form.entry.js +1 -1
  843. package/dist/kolibri/kol-form.entry.js.map +1 -1
  844. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  845. package/dist/kolibri/kol-heading.entry.js +1 -1
  846. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  847. package/dist/kolibri/kol-icon.entry.esm.js.map +1 -1
  848. package/dist/kolibri/kol-icon.entry.js +1 -1
  849. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  850. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  851. package/dist/kolibri/kol-image.entry.js +1 -1
  852. package/dist/kolibri/kol-image.entry.js.map +1 -1
  853. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  854. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  855. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  856. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  857. package/dist/kolibri/kol-input-color.entry.js +1 -1
  858. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  859. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  860. package/dist/kolibri/kol-input-date.entry.js +1 -1
  861. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  862. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  863. package/dist/kolibri/kol-input-email.entry.js +1 -1
  864. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  865. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  866. package/dist/kolibri/kol-input-file.entry.js +1 -1
  867. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  868. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  869. package/dist/kolibri/kol-input-number.entry.js +1 -1
  870. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  871. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  872. package/dist/kolibri/kol-input-password.entry.js +1 -1
  873. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  874. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  875. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  876. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  877. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  878. package/dist/kolibri/kol-input-range.entry.js +1 -1
  879. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  880. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  881. package/dist/kolibri/kol-input-text.entry.js +1 -1
  882. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  883. package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
  884. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  885. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  886. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  887. package/dist/kolibri/kol-link-button.entry.js +1 -1
  888. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  889. package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
  890. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  891. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  892. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  893. package/dist/kolibri/kol-link.entry.js +1 -1
  894. package/dist/kolibri/kol-link.entry.js.map +1 -1
  895. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  896. package/dist/kolibri/kol-meter.entry.js +1 -1
  897. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  898. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  899. package/dist/kolibri/kol-modal.entry.js +1 -1
  900. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  901. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  902. package/dist/kolibri/kol-nav.entry.js +1 -1
  903. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  904. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  905. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  906. package/dist/kolibri/kol-pagination.entry.js +1 -1
  907. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  908. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  909. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  910. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  911. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  912. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  913. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  914. package/dist/kolibri/kol-progress.entry.js +1 -1
  915. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  916. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  917. package/dist/kolibri/kol-quote.entry.js +1 -1
  918. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  919. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  920. package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
  921. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  922. package/dist/kolibri/kol-select.entry.js +1 -1
  923. package/dist/kolibri/kol-select.entry.js.map +1 -1
  924. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  925. package/dist/kolibri/kol-single-select.entry.js +1 -1
  926. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  927. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  928. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  929. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  930. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  931. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  932. package/dist/kolibri/kol-spin.entry.js +1 -1
  933. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  934. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  935. package/dist/kolibri/kol-split-button.entry.js +1 -1
  936. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  937. package/dist/kolibri/kol-table-settings-wc.entry.esm.js.map +1 -1
  938. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  939. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
  940. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  941. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  942. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  943. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  944. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  945. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  946. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  947. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  948. package/dist/kolibri/kol-tabs.entry.js +1 -1
  949. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  950. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  951. package/dist/kolibri/kol-textarea.entry.js +1 -1
  952. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  953. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  954. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  955. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  956. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  957. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  958. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  959. package/dist/kolibri/kol-tooltip-wc.entry.esm.js.map +1 -1
  960. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  961. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  962. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  963. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  964. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  965. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  966. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  967. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  968. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  969. package/dist/kolibri/kol-tree.entry.js +1 -1
  970. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  971. package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
  972. package/dist/kolibri/kol-version.entry.js +1 -1
  973. package/dist/kolibri/kol-version.entry.js.map +1 -1
  974. package/dist/kolibri/kolibri.esm.js +1 -1
  975. package/dist/kolibri/label-FtX-skKy.js +5 -0
  976. package/dist/kolibri/label-FtX-skKy.js.map +1 -0
  977. package/dist/kolibri/label-w3T7Y2ih.js +5 -0
  978. package/dist/{esm/label-lhyZhbiM.js.map → kolibri/label-w3T7Y2ih.js.map} +1 -1
  979. package/dist/kolibri/label-with-expert-slot-CU-oeLnm.js +5 -0
  980. package/dist/kolibri/{label-with-expert-slot-3VWute5S.js.map → label-with-expert-slot-CU-oeLnm.js.map} +1 -1
  981. package/dist/kolibri/level-Cj2m5HKt.js +5 -0
  982. package/dist/{esm/level-B2RyXnam.js.map → kolibri/level-Cj2m5HKt.js.map} +1 -1
  983. package/dist/kolibri/multiple-BZRAazRb.js +5 -0
  984. package/dist/kolibri/{multiple-RvvepSN9.js.map → multiple-BZRAazRb.js.map} +1 -1
  985. package/dist/kolibri/normalizers-BNeak4hj.js +5 -0
  986. package/dist/{cjs/normalizers-DFaq-Isv.js.map → kolibri/normalizers-BNeak4hj.js.map} +1 -1
  987. package/dist/kolibri/open-BRQrMgjX.js +5 -0
  988. package/dist/kolibri/{open-CA1J3ZTK.js.map → open-BRQrMgjX.js.map} +1 -1
  989. package/dist/kolibri/orientation-CfF8dz-f.js +5 -0
  990. package/dist/kolibri/{orientation-Dw3BhNjY.js.map → orientation-CfF8dz-f.js.map} +1 -1
  991. package/dist/kolibri/placeholder-CmUUN-3U.js +5 -0
  992. package/dist/kolibri/{placeholder-JIf_Jr3v.js.map → placeholder-CmUUN-3U.js.map} +1 -1
  993. package/dist/kolibri/read-only-DyDY-E9H.js +5 -0
  994. package/dist/kolibri/{read-only-CxpGC8Fy.js.map → read-only-DyDY-E9H.js.map} +1 -1
  995. package/dist/kolibri/required-CGf-IRxL.js +5 -0
  996. package/dist/kolibri/{required-DGhzuKQB.js.map → required-CGf-IRxL.js.map} +1 -1
  997. package/dist/kolibri/rows-DlWRIMNQ.js +5 -0
  998. package/dist/kolibri/{rows-BRaIYumW.js.map → rows-DlWRIMNQ.js.map} +1 -1
  999. package/dist/kolibri/spell-check-6kYqpIpx.js +5 -0
  1000. package/dist/kolibri/{spell-check-BYuCSD3X.js.map → spell-check-6kYqpIpx.js.map} +1 -1
  1001. package/dist/kolibri/src-BnjoA2Q6.js +5 -0
  1002. package/dist/kolibri/{src-DugryP6L.js.map → src-BnjoA2Q6.js.map} +1 -1
  1003. package/dist/kolibri/suggestions-CKylTAKv.js +5 -0
  1004. package/dist/kolibri/{suggestions-ofHp_5qm.js.map → suggestions-CKylTAKv.js.map} +1 -1
  1005. package/dist/kolibri/{table-selection-CHYGiAxJ.js → table-selection-CB6W390S.js} +2 -2
  1006. package/dist/kolibri/{table-selection-CHYGiAxJ.js.map → table-selection-CB6W390S.js.map} +1 -1
  1007. package/dist/kolibri/test-component.entry.js +1 -1
  1008. package/dist/kolibri/tooltip-align-BQmLWbBy.js +5 -0
  1009. package/dist/kolibri/{tooltip-align-DWAWPZn0.js.map → tooltip-align-BQmLWbBy.js.map} +1 -1
  1010. package/dist/kolibri/unique-nav-labels-B6_Oto5e.js +5 -0
  1011. package/dist/kolibri/{unique-nav-labels-B0tCIm30.js.map → unique-nav-labels-B6_Oto5e.js.map} +1 -1
  1012. package/dist/kolibri/validation-BZPzOg5I.js +5 -0
  1013. package/dist/kolibri/{validation-BT4VYADp.js.map → validation-BZPzOg5I.js.map} +1 -1
  1014. package/dist/kolibri/validation-Cnndf99L.js +5 -0
  1015. package/dist/kolibri/{validation-BFb56Yd7.js.map → validation-Cnndf99L.js.map} +1 -1
  1016. package/dist/kolibri/value-number-clamped-Fuextuj1.js +5 -0
  1017. package/dist/{esm/value-number-clamped-D39JJzpQ.js.map → kolibri/value-number-clamped-Fuextuj1.js.map} +1 -1
  1018. package/dist/kolibri/{variant-class-name-B0Wpr2i8.js → variant-class-name-9qZ5egaq.js} +2 -2
  1019. package/dist/kolibri/{variant-class-name-B0Wpr2i8.js.map → variant-class-name-9qZ5egaq.js.map} +1 -1
  1020. package/dist/kolibri/variant-quote-ClYWonZq.js +5 -0
  1021. package/dist/kolibri/{variant-quote-CRKM9QG2.js.map → variant-quote-ClYWonZq.js.map} +1 -1
  1022. package/dist/types/components/input-color/shadow.d.ts +0 -4
  1023. package/dist/types/components/table-stateless/table-settings.d.ts +1 -1
  1024. package/dist/types/internal/props/helpers/factory.d.ts +6 -4
  1025. package/dist/types/internal/props/hints/index.d.ts +1 -0
  1026. package/dist/types/internal/props/hints/label-hints.d.ts +1 -0
  1027. package/loader/index.d.ts +1 -1
  1028. package/package.json +1 -1
  1029. package/dist/cjs/component-DHGkVCC4.js.map +0 -1
  1030. package/dist/cjs/label-CvV5Nbsg.js +0 -13
  1031. package/dist/cjs/label-CvV5Nbsg.js.map +0 -1
  1032. package/dist/esm/component-oWROUiYq.js.map +0 -1
  1033. package/dist/esm/label-BE6oW-7F.js +0 -11
  1034. package/dist/esm/label-BE6oW-7F.js.map +0 -1
  1035. package/dist/kolibri/CustomSuggestionsOptionsGroup-uIBVxXva.js +0 -5
  1036. package/dist/kolibri/FieldControlStateWrapper-B5wxkm5C.js +0 -5
  1037. package/dist/kolibri/FormFieldStateWrapper-ClHy49ac.js +0 -5
  1038. package/dist/kolibri/Input-Us8iV6NH.js +0 -5
  1039. package/dist/kolibri/InputStateWrapper-CxmgEntV.js +0 -5
  1040. package/dist/kolibri/align-BNmcYY75.js +0 -5
  1041. package/dist/kolibri/app-globals-B-1exqqn.js +0 -5
  1042. package/dist/kolibri/aria-details-o1tujJRX.js +0 -5
  1043. package/dist/kolibri/aria-labelledby-CuNgjL1c.js +0 -5
  1044. package/dist/kolibri/behavior-Ctzwvpyr.js +0 -5
  1045. package/dist/kolibri/bootstrap-dbQte9BJ.js +0 -5
  1046. package/dist/kolibri/component-Dk2wt0bc.js +0 -5
  1047. package/dist/kolibri/component-U1HX1ZbW.js +0 -5
  1048. package/dist/kolibri/component-oWROUiYq.js +0 -5
  1049. package/dist/kolibri/component-oWROUiYq.js.map +0 -1
  1050. package/dist/kolibri/contrast-BQCqf-V1.js +0 -5
  1051. package/dist/kolibri/controller-CfLL4URL.js +0 -5
  1052. package/dist/kolibri/controller-CrEJoj-8.js +0 -5
  1053. package/dist/kolibri/controller-icon-g6dhLeRs.js +0 -5
  1054. package/dist/kolibri/custom-class-DpFc73O_.js +0 -5
  1055. package/dist/kolibri/devtools-BQLYa7H7.js +0 -5
  1056. package/dist/kolibri/has-closer-DyXBWIQh.js +0 -5
  1057. package/dist/kolibri/hide-label-LlZnbrzc.js +0 -5
  1058. package/dist/kolibri/href-BKrnu0s2.js +0 -5
  1059. package/dist/kolibri/i18n-CrXMv0tS.js +0 -5
  1060. package/dist/kolibri/icons-DT5u2gpq.js +0 -5
  1061. package/dist/kolibri/inline-CqNhbN6Q.js +0 -5
  1062. package/dist/kolibri/label-BE6oW-7F.js +0 -5
  1063. package/dist/kolibri/label-BE6oW-7F.js.map +0 -1
  1064. package/dist/kolibri/label-lhyZhbiM.js +0 -5
  1065. package/dist/kolibri/label-with-expert-slot-3VWute5S.js +0 -5
  1066. package/dist/kolibri/level-B2RyXnam.js +0 -5
  1067. package/dist/kolibri/multiple-RvvepSN9.js +0 -5
  1068. package/dist/kolibri/normalizers-DWPxOTIP.js +0 -5
  1069. package/dist/kolibri/open-CA1J3ZTK.js +0 -5
  1070. package/dist/kolibri/orientation-Dw3BhNjY.js +0 -5
  1071. package/dist/kolibri/placeholder-JIf_Jr3v.js +0 -5
  1072. package/dist/kolibri/read-only-CxpGC8Fy.js +0 -5
  1073. package/dist/kolibri/required-DGhzuKQB.js +0 -5
  1074. package/dist/kolibri/rows-BRaIYumW.js +0 -5
  1075. package/dist/kolibri/spell-check-BYuCSD3X.js +0 -5
  1076. package/dist/kolibri/src-DugryP6L.js +0 -5
  1077. package/dist/kolibri/suggestions-ofHp_5qm.js +0 -5
  1078. package/dist/kolibri/tooltip-align-DWAWPZn0.js +0 -5
  1079. package/dist/kolibri/unique-nav-labels-B0tCIm30.js +0 -5
  1080. package/dist/kolibri/validation-BFb56Yd7.js +0 -5
  1081. package/dist/kolibri/validation-BT4VYADp.js +0 -5
  1082. package/dist/kolibri/value-number-clamped-D39JJzpQ.js +0 -5
  1083. package/dist/kolibri/variant-quote-CRKM9QG2.js +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"associated.controller-YkqdW9Jt.js","sources":["src/schema/props/access-key.ts","src/schema/props/name.ts","src/schema/props/short-key.ts","src/schema/props/tab-index.ts","src/components/input-adapter-leanup/associated.controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type AccessKeyPropType = string;\n\n/**\n * Defines the key combination that can be used to trigger or focus the component's interactive element.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey\n */\nexport type PropAccessKey = {\n\taccessKey: AccessKeyPropType;\n};\n\n/* validator */\nexport const validateAccessKey = (component: Generic.Element.Component, value?: AccessKeyPropType): void => {\n\twatchString(component, '_accessKey', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type NamePropType = string;\n\n/**\n * Defines the technical name of an input field.\n */\nexport type PropName = {\n\tname: NamePropType;\n};\n\n/* validator */\nexport const validateName = (component: Generic.Element.Component, value?: NamePropType, options?: WatchStringOptions): void => {\n\twatchString(component, '_name', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type ShortKeyPropType = string;\n\n/**\n * Adds a visual short key hint to the component and sets the `aria-keyshortcuts` attribute on the focusable element.\n */\nexport type PropShortKey = {\n\tshortKey: ShortKeyPropType;\n};\n\n/* validator */\nexport const validateShortKey = (component: Generic.Element.Component, value?: ShortKeyPropType): void => {\n\twatchString(component, '_shortKey', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchNumberOptions } from '../utils';\nimport { a11yHint, watchNumber } from '../utils';\n\n/* types */\nexport type TabIndexPropType = number;\n\n/**\n * Defines which tab-index the primary element of the component has.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex\n */\nexport type PropTabIndex = {\n\ttabIndex: TabIndexPropType;\n};\n\n/* constants */\nconst options: WatchNumberOptions = {\n\thooks: {\n\t\tafterPatch: (value) => {\n\t\t\tif (value !== -1 && value !== 0) {\n\t\t\t\ta11yHint(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`);\n\t\t\t}\n\t\t},\n\t},\n};\n\n/* validator */\nexport const validateTabIndex = (component: Generic.Element.Component, value?: TabIndexPropType): void => {\n\twatchNumber(component, '_tabIndex', value, options);\n};\n","import type { NamePropType, PropSyncValueBySelector, StencilUnknown, SyncValueBySelectorPropType } from '../../schema';\nimport { devHint, devWarning, getExperimentalMode, validateName } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\nimport { getOptions } from '../../core/bootstrap';\nimport { validateAriaDetails } from '../../schema/props/aria-details';\nimport { attachInternals, type HostInternals } from '../../utils/aria-labelledby';\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tname: string;\n} & PropSyncValueBySelector;\ntype Props = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\ntype HTMLInputFileElement = HTMLInputElement & {\n\tfiles: FileList;\n};\n\nconst isAssociatedTagName = (name?: string): boolean =>\n\tname === 'KOL-BUTTON' ||\n\tname === 'KOL-COMBOBOX' ||\n\tname === 'KOL-INPUT-CHECKBOX' ||\n\tname === 'KOL-INPUT-COLOR' ||\n\tname === 'KOL-INPUT-DATE' ||\n\tname === 'KOL-INPUT-EMAIL' ||\n\tname === 'KOL-INPUT-FILE' ||\n\tname === 'KOL-INPUT-NUMBER' ||\n\tname === 'KOL-INPUT-PASSWORD' ||\n\tname === 'KOL-INPUT-RADIO' ||\n\tname === 'KOL-INPUT-RANGE' ||\n\tname === 'KOL-INPUT-TEXT' ||\n\tname === 'KOL-SELECT' ||\n\tname === 'KOL-SINGLE-SELECT' ||\n\tname === 'KOL-TEXTAREA';\n\nexport class AssociatedInputController implements Watches {\n\tprivate readonly experimentalMode = getExperimentalMode();\n\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprotected readonly type: string;\n\tprotected readonly host?: Element;\n\tpublic internals?: HostInternals;\n\n\tpublic readonly formAssociated?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\tpublic syncToOwnInput?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\n\tpublic constructor(component: Generic.Element.Component & Props, type: string, host?: Element) {\n\t\tthis.component = component;\n\t\tthis.host = this.findHostWithShadowRoot(host);\n\t\tthis.type = type;\n\t\tthis.internals = attachInternals(this.host);\n\n\t\tif (getOptions()?.reflectInputValues && isAssociatedTagName(this.host?.tagName) && component._name) {\n\t\t\tthis.host?.querySelectorAll('input,select,textarea').forEach((el) => {\n\t\t\t\tthis.host?.removeChild(el);\n\t\t\t});\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'button':\n\t\t\t\tcase 'color':\n\t\t\t\tcase 'date':\n\t\t\t\tcase 'email':\n\t\t\t\tcase 'file':\n\t\t\t\tcase 'number':\n\t\t\t\tcase 'password':\n\t\t\t\tcase 'radio':\n\t\t\t\tcase 'range':\n\t\t\t\tcase 'text':\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', this.type);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\tthis.formAssociated = document.createElement('select');\n\t\t\t\t\tthis.formAssociated.setAttribute('multiple', '');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'textarea':\n\t\t\t\t\tthis.formAssociated = document.createElement('textarea');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'checkbox': // Checkbox uses default case\n\t\t\t\tcase 'single-select': // SingleSelect uses default case\n\t\t\t\tcase 'combobox': // Combobox uses default case\n\t\t\t\tdefault:\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', 'hidden');\n\t\t\t}\n\t\t\tthis.formAssociated.setAttribute('data-form-associated', '');\n\t\t\tthis.formAssociated.setAttribute('hidden', '');\n\t\t\tthis.host?.appendChild(this.formAssociated);\n\t\t}\n\t}\n\n\t/**\n\t * The associated elements must not reside within the ShadowRoot and must\n\t * reside as children in the host to be recognized by native forms.\n\t */\n\tprivate findHostWithShadowRoot(host?: Element): Element | undefined {\n\t\twhile (host?.shadowRoot === null && host !== document.body) {\n\t\t\tconst parent = host?.parentNode;\n\t\t\tif (parent instanceof ShadowRoot) {\n\t\t\t\thost = parent.host;\n\t\t\t} else {\n\t\t\t\thost = parent instanceof Element ? parent : undefined;\n\t\t\t}\n\t\t}\n\t\treturn host;\n\t}\n\n\tprotected setAttribute(qualifiedName: string, element?: HTMLElement, value?: string | number | boolean) {\n\t\tif (this.experimentalMode) {\n\t\t\ttry {\n\t\t\t\tvalue = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n\t\t\t\tif (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n\t\t\t\t\telement?.setAttribute(qualifiedName, `${value as string}`);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(`Invalid value type: ${typeof value}`);\n\t\t\t\t}\n\t\t\t} catch {\n\t\t\t\telement?.removeAttribute(qualifiedName);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * We need to stringify the value, for the setAttribute method.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes#value\n\t *\n\t * TODO: It is possible that the value are a cyclic object value. So we need a custom\n\t * JSON.stringify method from outside to convert it to string.\n\t */\n\tprivate tryToStringifyValue(value: StencilUnknown): string | null {\n\t\ttry {\n\t\t\treturn typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n\t\t} catch (e) {\n\t\t\tdevWarning(`The form field raw value is not able to stringify! ${e as string}`);\n\t\t\treturn '';\n\t\t}\n\t}\n\n\t/**\n\t * We try to support native form-associated custom elements.\n\t *\n\t * @see https://github.com/public-ui/kolibri/discussions/2821\n\t */\n\tpublic readonly setFormAssociatedValue = (rawValue: StencilUnknown) => {\n\t\tconst name = this.formAssociated?.getAttribute('name');\n\t\tif (name === null || name === '') {\n\t\t\tdevHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n\t\t}\n\t\tconst strValue = this.tryToStringifyValue(rawValue);\n\t\tthis.syncValue(rawValue, strValue, this.formAssociated);\n\t\tthis.syncValue(rawValue, strValue, this.syncToOwnInput);\n\t};\n\n\tprivate syncValue(\n\t\trawValue: StencilUnknown,\n\t\tstrValue: string | null,\n\t\tassociatedElement?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n\t) {\n\t\tif (associatedElement) {\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'file':\n\t\t\t\t\t(associatedElement as HTMLInputFileElement).files = rawValue as FileList;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\t(associatedElement as HTMLSelectElement).querySelectorAll('option').forEach((el) => {\n\t\t\t\t\t\t(associatedElement as HTMLSelectElement).removeChild(el);\n\t\t\t\t\t});\n\t\t\t\t\tif (Array.isArray(rawValue)) {\n\t\t\t\t\t\trawValue.forEach((rawValueItem) => {\n\t\t\t\t\t\t\tconst strValueItem = this.tryToStringifyValue(rawValueItem as string);\n\t\t\t\t\t\t\tif (typeof strValueItem === 'string') {\n\t\t\t\t\t\t\t\tconst option = document.createElement('option');\n\t\t\t\t\t\t\t\toption.setAttribute('value', strValueItem);\n\t\t\t\t\t\t\t\toption.setAttribute('selected', '');\n\t\t\t\t\t\t\t\t(associatedElement as HTMLSelectElement).appendChild(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'radio':\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.setAttribute('checked', '');\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tassociatedElement.removeAttribute('value');\n\t\t\t\t\t\tassociatedElement.value = '';\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateName(value?: NamePropType): void {\n\t\tvalidateName(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('name', this.formAssociated, this.component.state._name as string);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tif (typeof value === 'undefined') {\n\t\t\tdevHint(\n\t\t\t\t`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`,\n\t\t\t);\n\t\t}\n\t}\n\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tif (this.experimentalMode && typeof value === 'string') {\n\t\t\tconst input = document.querySelector(value) as HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\t\t\tif (input /* SSR instanceof HTMLInputElement */) {\n\t\t\t\tthis.syncToOwnInput = input;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateAriaDetails(value?: string): void {\n\t\tvalidateAriaDetails(this.component, this.host, this.internals, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"names":["watchString","a11yHint","watchNumber","getExperimentalMode","devHint","attachInternals","getOptions","devWarning","validateAriaDetails"],"mappings":";;;;;;;;;;MAea,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAyB,KAAU;AAC1G,IAAAA,kBAAW,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,CAAC;AAC5C;;ACDO,MAAM,YAAY,GAAG,CAAC,SAAoC,EAAE,KAAoB,EAAE,OAA4B,KAAU;IAC9HA,kBAAW,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC;AAChD,CAAC;;MCJY,gBAAgB,GAAG,CAAC,SAAoC,EAAE,KAAwB,KAAU;AACxG,IAAAA,kBAAW,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,CAAC;AAC3C;;ACCA,MAAM,OAAO,GAAuB;AACnC,IAAA,KAAK,EAAE;AACN,QAAA,UAAU,EAAE,CAAC,KAAK,KAAI;YACrB,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,CAAC,EAAE;g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,CAAC,SAAS,CAAC,oBAAoB,CAAC;;AAEtE;;;;;;;"}
1
+ {"version":3,"file":"associated.controller-CK6X4_In.js","sources":["src/schema/props/access-key.ts","src/schema/props/name.ts","src/schema/props/short-key.ts","src/schema/props/tab-index.ts","src/components/input-adapter-leanup/associated.controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type AccessKeyPropType = string;\n\n/**\n * Defines the key combination that can be used to trigger or focus the component's interactive element.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey\n */\nexport type PropAccessKey = {\n\taccessKey: AccessKeyPropType;\n};\n\n/* validator */\nexport const validateAccessKey = (component: Generic.Element.Component, value?: AccessKeyPropType): void => {\n\twatchString(component, '_accessKey', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type NamePropType = string;\n\n/**\n * Defines the technical name of an input field.\n */\nexport type PropName = {\n\tname: NamePropType;\n};\n\n/* validator */\nexport const validateName = (component: Generic.Element.Component, value?: NamePropType, options?: WatchStringOptions): void => {\n\twatchString(component, '_name', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type ShortKeyPropType = string;\n\n/**\n * Adds a visual short key hint to the component and sets the `aria-keyshortcuts` attribute on the focusable element.\n */\nexport type PropShortKey = {\n\tshortKey: ShortKeyPropType;\n};\n\n/* validator */\nexport const validateShortKey = (component: Generic.Element.Component, value?: ShortKeyPropType): void => {\n\twatchString(component, '_shortKey', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchNumberOptions } from '../utils';\nimport { a11yHint, watchNumber } from '../utils';\n\n/* types */\nexport type TabIndexPropType = number;\n\n/**\n * Defines which tab-index the primary element of the component has.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex\n */\nexport type PropTabIndex = {\n\ttabIndex: TabIndexPropType;\n};\n\n/* constants */\nconst options: WatchNumberOptions = {\n\thooks: {\n\t\tafterPatch: (value) => {\n\t\t\tif (value !== -1 && value !== 0) {\n\t\t\t\ta11yHint(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`);\n\t\t\t}\n\t\t},\n\t},\n};\n\n/* validator */\nexport const validateTabIndex = (component: Generic.Element.Component, value?: TabIndexPropType): void => {\n\twatchNumber(component, '_tabIndex', value, options);\n};\n","import type { NamePropType, PropSyncValueBySelector, StencilUnknown, SyncValueBySelectorPropType } from '../../schema';\nimport { devHint, devWarning, getExperimentalMode, validateName } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\nimport { getOptions } from '../../core/bootstrap';\nimport { validateAriaDetails } from '../../schema/props/aria-details';\nimport { attachInternals, type HostInternals } from '../../utils/aria-labelledby';\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tname: string;\n} & PropSyncValueBySelector;\ntype Props = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\ntype HTMLInputFileElement = HTMLInputElement & {\n\tfiles: FileList;\n};\n\nconst isAssociatedTagName = (name?: string): boolean =>\n\tname === 'KOL-BUTTON' ||\n\tname === 'KOL-COMBOBOX' ||\n\tname === 'KOL-INPUT-CHECKBOX' ||\n\tname === 'KOL-INPUT-COLOR' ||\n\tname === 'KOL-INPUT-DATE' ||\n\tname === 'KOL-INPUT-EMAIL' ||\n\tname === 'KOL-INPUT-FILE' ||\n\tname === 'KOL-INPUT-NUMBER' ||\n\tname === 'KOL-INPUT-PASSWORD' ||\n\tname === 'KOL-INPUT-RADIO' ||\n\tname === 'KOL-INPUT-RANGE' ||\n\tname === 'KOL-INPUT-TEXT' ||\n\tname === 'KOL-SELECT' ||\n\tname === 'KOL-SINGLE-SELECT' ||\n\tname === 'KOL-TEXTAREA';\n\nexport class AssociatedInputController implements Watches {\n\tprivate readonly experimentalMode = getExperimentalMode();\n\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprotected readonly type: string;\n\tprotected readonly host?: Element;\n\tpublic internals?: HostInternals;\n\n\tpublic readonly formAssociated?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\tpublic syncToOwnInput?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\n\tpublic constructor(component: Generic.Element.Component & Props, type: string, host?: Element) {\n\t\tthis.component = component;\n\t\tthis.host = this.findHostWithShadowRoot(host);\n\t\tthis.type = type;\n\t\tthis.internals = attachInternals(this.host);\n\n\t\tif (getOptions()?.reflectInputValues && isAssociatedTagName(this.host?.tagName) && component._name) {\n\t\t\tthis.host?.querySelectorAll('input,select,textarea').forEach((el) => {\n\t\t\t\tthis.host?.removeChild(el);\n\t\t\t});\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'button':\n\t\t\t\tcase 'color':\n\t\t\t\tcase 'date':\n\t\t\t\tcase 'email':\n\t\t\t\tcase 'file':\n\t\t\t\tcase 'number':\n\t\t\t\tcase 'password':\n\t\t\t\tcase 'radio':\n\t\t\t\tcase 'range':\n\t\t\t\tcase 'text':\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', this.type);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\tthis.formAssociated = document.createElement('select');\n\t\t\t\t\tthis.formAssociated.setAttribute('multiple', '');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'textarea':\n\t\t\t\t\tthis.formAssociated = document.createElement('textarea');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'checkbox': // Checkbox uses default case\n\t\t\t\tcase 'single-select': // SingleSelect uses default case\n\t\t\t\tcase 'combobox': // Combobox uses default case\n\t\t\t\tdefault:\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', 'hidden');\n\t\t\t}\n\t\t\tthis.formAssociated.setAttribute('data-form-associated', '');\n\t\t\tthis.formAssociated.setAttribute('hidden', '');\n\t\t\tthis.host?.appendChild(this.formAssociated);\n\t\t}\n\t}\n\n\t/**\n\t * The associated elements must not reside within the ShadowRoot and must\n\t * reside as children in the host to be recognized by native forms.\n\t */\n\tprivate findHostWithShadowRoot(host?: Element): Element | undefined {\n\t\twhile (host?.shadowRoot === null && host !== document.body) {\n\t\t\tconst parent = host?.parentNode;\n\t\t\tif (parent instanceof ShadowRoot) {\n\t\t\t\thost = parent.host;\n\t\t\t} else {\n\t\t\t\thost = parent instanceof Element ? parent : undefined;\n\t\t\t}\n\t\t}\n\t\treturn host;\n\t}\n\n\tprotected setAttribute(qualifiedName: string, element?: HTMLElement, value?: string | number | boolean) {\n\t\tif (this.experimentalMode) {\n\t\t\ttry {\n\t\t\t\tvalue = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n\t\t\t\tif (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n\t\t\t\t\telement?.setAttribute(qualifiedName, `${value as string}`);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(`Invalid value type: ${typeof value}`);\n\t\t\t\t}\n\t\t\t} catch {\n\t\t\t\telement?.removeAttribute(qualifiedName);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * We need to stringify the value, for the setAttribute method.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes#value\n\t *\n\t * TODO: It is possible that the value are a cyclic object value. So we need a custom\n\t * JSON.stringify method from outside to convert it to string.\n\t */\n\tprivate tryToStringifyValue(value: StencilUnknown): string | null {\n\t\ttry {\n\t\t\treturn typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n\t\t} catch (e) {\n\t\t\tdevWarning(`The form field raw value is not able to stringify! ${e as string}`);\n\t\t\treturn '';\n\t\t}\n\t}\n\n\t/**\n\t * We try to support native form-associated custom elements.\n\t *\n\t * @see https://github.com/public-ui/kolibri/discussions/2821\n\t */\n\tpublic readonly setFormAssociatedValue = (rawValue: StencilUnknown) => {\n\t\tconst name = this.formAssociated?.getAttribute('name');\n\t\tif (name === null || name === '') {\n\t\t\tdevHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n\t\t}\n\t\tconst strValue = this.tryToStringifyValue(rawValue);\n\t\tthis.syncValue(rawValue, strValue, this.formAssociated);\n\t\tthis.syncValue(rawValue, strValue, this.syncToOwnInput);\n\t};\n\n\tprivate syncValue(\n\t\trawValue: StencilUnknown,\n\t\tstrValue: string | null,\n\t\tassociatedElement?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n\t) {\n\t\tif (associatedElement) {\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'file':\n\t\t\t\t\t(associatedElement as HTMLInputFileElement).files = rawValue as FileList;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\t(associatedElement as HTMLSelectElement).querySelectorAll('option').forEach((el) => {\n\t\t\t\t\t\t(associatedElement as HTMLSelectElement).removeChild(el);\n\t\t\t\t\t});\n\t\t\t\t\tif (Array.isArray(rawValue)) {\n\t\t\t\t\t\trawValue.forEach((rawValueItem) => {\n\t\t\t\t\t\t\tconst strValueItem = this.tryToStringifyValue(rawValueItem as string);\n\t\t\t\t\t\t\tif (typeof strValueItem === 'string') {\n\t\t\t\t\t\t\t\tconst option = document.createElement('option');\n\t\t\t\t\t\t\t\toption.setAttribute('value', strValueItem);\n\t\t\t\t\t\t\t\toption.setAttribute('selected', '');\n\t\t\t\t\t\t\t\t(associatedElement as HTMLSelectElement).appendChild(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'radio':\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.setAttribute('checked', '');\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tassociatedElement.removeAttribute('value');\n\t\t\t\t\t\tassociatedElement.value = '';\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateName(value?: NamePropType): void {\n\t\tvalidateName(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('name', this.formAssociated, this.component.state._name as string);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tif (typeof value === 'undefined') {\n\t\t\tdevHint(\n\t\t\t\t`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`,\n\t\t\t);\n\t\t}\n\t}\n\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tif (this.experimentalMode && typeof value === 'string') {\n\t\t\tconst input = document.querySelector(value) as HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\t\t\tif (input /* SSR instanceof HTMLInputElement */) {\n\t\t\t\tthis.syncToOwnInput = input;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateAriaDetails(value?: string): void {\n\t\tvalidateAriaDetails(this.component, this.host, this.internals, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"names":["watchString","a11yHint","watchNumber","getExperimentalMode","devHint","attachInternals","getOptions","devWarning","validateAriaDetails"],"mappings":";;;;;;;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,CACN,CAAuK,qKAAA,CAAA,CACvK;;;AAII,IAAA,2BAA2B,CAAC,KAAmC,EAAA;QACrE,IAAI,IAAI,CAAC,gBAAgB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YACvD,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAA+D;YACzG,IAAI,KAAK,EAAwC;AAChD,gBAAA,IAAI,CAAC,cAAc,GAAG,KAAK;;;;AAKvB,IAAA,mBAAmB,CAAC,KAAc,EAAA;AACxC,QAAAI,+BAAmB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;IAG/D,iBAAiB,GAAA;QACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;QACvC,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC;;AAEtE;;;;;;;"}
@@ -6,10 +6,10 @@
6
6
  var alignFloatingElements = require('./align-floating-elements-gcSaL-7n.js');
7
7
  var common = require('./common-D8VSsOzq.js');
8
8
  var tooltipOpenTracking = require('./tooltip-open-tracking-Ba0udJRU.js');
9
- var normalizers = require('./normalizers-DFaq-Isv.js');
9
+ var normalizers = require('./normalizers-CxgZAKTH.js');
10
10
  var align = require('./align-DUy5gtGI.js');
11
- var label = require('./label-CvV5Nbsg.js');
12
- require('./variant-quote-DmZgXNoy.js');
11
+ var label = require('./label-DCxflYaz.js');
12
+ require('./variant-quote-Bsb58gYB.js');
13
13
  var baseWebComponent = require('./base-web-component-wyKZXgQg.js');
14
14
 
15
15
  const alignProp = normalizers.createPropDefinition('align', 'top', (value) => {
@@ -258,6 +258,6 @@ class TooltipBehavior extends BaseBehavior {
258
258
  }
259
259
 
260
260
  exports.TooltipBehavior = TooltipBehavior;
261
- //# sourceMappingURL=behavior-yXZ28o26.js.map
261
+ //# sourceMappingURL=behavior-BZvPySnr.js.map
262
262
 
263
- //# sourceMappingURL=behavior-yXZ28o26.js.map
263
+ //# sourceMappingURL=behavior-BZvPySnr.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"behavior-yXZ28o26.js","sources":["src/internal/props/align.ts","src/internal/props/badge-text.ts","src/internal/props/id.ts","src/utils/overlay.ts","src/internal/functional-components/base-behavior.ts","src/internal/functional-components/tooltip/api.tsx","src/internal/functional-components/tooltip/behavior.ts"],"sourcesContent":["import type { AlignPropType } from '../../schema';\nimport { alignPropTypeOptions } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Align prop for positioning floating elements\n *\n * Description:\n * Controls the alignment of floating elements (tooltips, popovers, tabs) relative to their\n * reference element. The alignment affects how the floating element is positioned and which\n * side the arrow points from.\n *\n * Valid values: 'top' | 'right' | 'bottom' | 'left'\n * Default: 'top'\n *\n * Accessibility:\n * - Alignment should be chosen to ensure floating content is visible and does not obscure\n * important content for users with low vision or screen magnification\n */\nexport type AlignProp = SimpleProp<'align', AlignPropType>;\n\nexport const alignProp = createPropDefinition<AlignProp>(\n\t'align',\n\t'top',\n\t(value) => {\n\t\tconst str = normalizeString(value);\n\t\tif ((alignPropTypeOptions as readonly string[]).includes(str)) {\n\t\t\treturn str as AlignPropType;\n\t\t}\n\t\tthrow new Error(`Invalid align value: ${str}`);\n\t},\n\t(v) => (alignPropTypeOptions as readonly string[]).includes(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Badge Text prop for highlighting text in labels\n *\n * Description:\n * Specifies text to be underlined and highlighted as a badge within the label.\n * This is useful for highlighting keyboard shortcuts or other important text portions.\n *\n * Usage:\n * - Default: empty string (no badge highlighting)\n * - When set: the specified text will be underlined in the label\n * - Case-sensitive matching (tries uppercase/lowercase variations if exact match not found)\n *\n * Accessibility:\n * - Underlined text must have sufficient contrast (WCAG 1.4.11)\n * - Badge text should complement, not replace, other text alternatives\n */\nexport type BadgeTextProp = SimpleProp<'badgeText', string>;\nexport const badgeTextProp = createPropDefinition<BadgeTextProp>('badgeText', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type IdProp = SimpleProp<'id', string>;\n\nexport const idProp = createPropDefinition<IdProp>('id', '', normalizeString);\n","/**\n * This file contains the functions used to manage the visible overlays.\n */\n\n/**\n * This set contains all the visible overlays.\n */\nconst VISIBLE_OVERLAYS: Set<HTMLElement> = new Set();\n\n/**\n * Cached reference to the top-most overlay (z-index 1000).\n * Maintained by showOverlay and hideOverlay to avoid repeated set iterations.\n */\nlet lastOverlay: HTMLElement | null = null;\n\n/**\n * This function is used to add an overlay to the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function showOverlay(overlay: HTMLElement): void {\n\t// Ensure the overlay is at the end of the set to maintain the invariant:\n\t// all overlays have z-index 999 except the last one (z-index 1000).\n\tif (lastOverlay !== overlay) {\n\t\tif (lastOverlay) {\n\t\t\tlastOverlay.style.setProperty('z-index', '999');\n\t\t}\n\t\tVISIBLE_OVERLAYS.delete(overlay);\n\t\tVISIBLE_OVERLAYS.add(overlay);\n\t\toverlay.style.setProperty('z-index', '1000');\n\t\tlastOverlay = overlay;\n\t}\n}\n\n/**\n * This function is used to remove an overlay from the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function hideOverlay(overlay: HTMLElement): void {\n\tif (!VISIBLE_OVERLAYS.delete(overlay)) {\n\t\treturn;\n\t}\n\n\tif (lastOverlay === overlay) {\n\t\t// Find the new last overlay\n\t\tlastOverlay = null;\n\t\tfor (const el of VISIBLE_OVERLAYS) {\n\t\t\tlastOverlay = el;\n\t\t}\n\t\tif (lastOverlay) {\n\t\t\tlastOverlay.style.setProperty('z-index', '1000');\n\t\t}\n\t}\n}\n","import type { ComponentApi, GetStateFn, PropsConfigShape, ResolvedProps, SetStateFn, StateAccess, StrictFields } from './generic-types';\nimport { buildDefaultPropsFromConfig } from './props-from-config';\n\n/**\n * Abstract base class for composable behaviors.\n *\n * A behavior is a reusable unit of logic that lives INSIDE a web component.\n * It manages its own render props but receives state access from its host\n * WC — either a real `StateAccess` or {@link BaseWebComponent.stateLess}\n * for stateless behaviors.\n *\n * Example:\n * ```ts\n * export class TooltipBehavior extends BaseBehavior<TooltipApi> {\n * // show/hide tooltip, listener syncing, positioning...\n * }\n *\n * // Inside a WC:\n * private readonly tooltip = new TooltipBehavior(this.stateAccess);\n * ```\n *\n * Key rule: a WC has exactly one orchestrator (itself), plus N behaviors.\n * Behaviors must never instantiate other behaviors directly — the WC\n * composes them.\n */\nexport abstract class BaseBehavior<Api extends ComponentApi> {\n\t/** Stores validated and normalized property values ready for rendering. */\n\tprivate readonly renderProps: StrictFields<ResolvedProps<Api>>;\n\n\t/** Writes a value into the web component's reactive Stencil state. */\n\tprotected readonly setState: SetStateFn<Api>;\n\n\t/** Reads a value from the web component's reactive Stencil state. */\n\tprotected readonly getState: GetStateFn<Api>;\n\n\t/**\n\t * @param stateAccess - Bundled setState/getState provided by the web component,\n\t * or {@link BaseWebComponent.stateLess} for stateless behaviors.\n\t * @param propsConfig - Property configuration defining required/optional props\n\t * and their default values.\n\t */\n\tprotected constructor(stateAccess: StateAccess<Api>, propsConfig: PropsConfigShape) {\n\t\tthis.setState = stateAccess.setState;\n\t\tthis.getState = stateAccess.getState;\n\t\tthis.renderProps = buildDefaultPropsFromConfig(propsConfig) as StrictFields<ResolvedProps<Api>>;\n\t}\n\n\t/**\n\t * Stores a validated and normalized property value for rendering.\n\t * This is the value the functional component will receive.\n\t */\n\tprotected setRenderProp<K extends keyof ResolvedProps<Api>>(key: K, value: StrictFields<ResolvedProps<Api>>[K]): void {\n\t\tthis.renderProps[key] = value;\n\t}\n\n\t/** Returns the current validated render value for a property. */\n\tpublic getRenderProp<K extends keyof ResolvedProps<Api>>(key: K): StrictFields<ResolvedProps<Api>>[K] {\n\t\treturn this.renderProps[key];\n\t}\n}\n","import { alignProp, badgeTextProp, idProp, labelProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const tooltipPropsConfig = {\n\trequired: [labelProp],\n\toptional: [alignProp, badgeTextProp, idProp],\n} as const satisfies PropsConfigShape;\n\nexport type TooltipApi = ApiFromConfig<\n\ttypeof tooltipPropsConfig,\n\t{\n\t\tMethods: {\n\t\t\thideTooltip: () => void;\n\t\t};\n\t}\n>;\n","import { autoUpdate } from '@floating-ui/dom';\nimport { getDocument } from '../../../schema';\nimport { alignFloatingElements } from '../../../utils/align-floating-elements';\nimport { hideOverlay, showOverlay } from '../../../utils/overlay';\nimport { tooltipClosed, tooltipOpened } from '../../../utils/tooltip-open-tracking';\nimport { alignProp, badgeTextProp, idProp, labelProp } from '../../props';\nimport { BaseBehavior } from '../base-behavior';\nimport type { BehaviorInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { TooltipApi } from './api';\nimport { tooltipPropsConfig } from './api';\n\nexport class TooltipBehavior extends BaseBehavior<TooltipApi> implements BehaviorInterface<TooltipApi> {\n\tprivate previousSibling?: HTMLElement;\n\tprivate tooltipElement?: HTMLElement;\n\n\tprivate hasFocusIn = false;\n\tprivate hasMouseIn = false;\n\tprivate isHiddenForCurrentVisit = false;\n\tprivate overFocusTimeout?: ReturnType<typeof setTimeout>;\n\tprivate cleanupAutoPositioning?: () => void;\n\n\tpublic constructor(stateAccess: StateAccess<TooltipApi>) {\n\t\tsuper(stateAccess, tooltipPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<TooltipApi>): void {\n\t\tthis.watchLabel(props.label);\n\t\tthis.watchAlign(props.align);\n\t\tthis.watchBadgeText(props.badgeText);\n\t\tthis.watchId(props.id);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchAlign(value?: string): void {\n\t\talignProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('align', v);\n\t\t});\n\t}\n\n\tpublic watchBadgeText(value?: string): void {\n\t\tbadgeTextProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('badgeText', v);\n\t\t});\n\t}\n\n\tpublic watchId(value?: string): void {\n\t\tidProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('id', v);\n\t\t});\n\t}\n\n\tpublic initContext(previousSibling: HTMLElement | undefined): void {\n\t\tthis.previousSibling = previousSibling;\n\t}\n\n\tpublic syncListeners(last?: HTMLElement | null, next?: HTMLElement | null, replacePreviousSibling = false): void {\n\t\tif (last) {\n\t\t\tthis.removeListeners(last);\n\t\t}\n\t\tif (next) {\n\t\t\tif (replacePreviousSibling) {\n\t\t\t\tthis.previousSibling = next;\n\t\t\t}\n\t\t\tthis.addListeners(next);\n\t\t}\n\t}\n\n\tpublic handleEventListeners(host: HTMLElement): void {\n\t\tconst nextSibling = host.previousElementSibling as HTMLElement | null;\n\t\tthis.syncListeners(this.previousSibling, nextSibling, true);\n\t}\n\n\tpublic hideTooltip(): void {\n\t\tthis.isHiddenForCurrentVisit = true;\n\n\t\tif (this.tooltipElement) {\n\t\t\thideOverlay(this.tooltipElement);\n\t\t\ttooltipClosed();\n\t\t\tthis.tooltipElement.classList.remove('show');\n\t\t\tthis.tooltipElement.classList.add('hide');\n\t\t\t// Why? - https://github.com/public-ui/kolibri/issues/10471\n\t\t\tthis.tooltipElement.addEventListener(\n\t\t\t\t'animationend',\n\t\t\t\t(): void => {\n\t\t\t\t\t// double-check if tooltip is still hidden at animation's end\n\t\t\t\t\tif (this.tooltipElement?.classList.contains('hide')) {\n\t\t\t\t\t\t// remove element style property from showTooltip (required in gecko browsers)\n\t\t\t\t\t\tthis.tooltipElement.style.removeProperty('display');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{ once: true },\n\t\t\t);\n\n\t\t\tif (this.cleanupAutoPositioning) {\n\t\t\t\tthis.cleanupAutoPositioning();\n\t\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t\t}\n\t\t}\n\t\tgetDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n\t}\n\n\tpublic setTooltipElementRef = (el?: HTMLElement): void => {\n\t\tthis.tooltipElement = el;\n\t\tif (this.tooltipElement) {\n\t\t\tthis.addListeners(this.tooltipElement);\n\t\t}\n\t};\n\n\tpublic destroy(): void {\n\t\tclearTimeout(this.overFocusTimeout);\n\n\t\tif (this.previousSibling) {\n\t\t\tthis.removeListeners(this.previousSibling);\n\t\t\tthis.previousSibling = undefined;\n\t\t}\n\t\tif (this.tooltipElement) {\n\t\t\tthis.removeListeners(this.tooltipElement);\n\t\t}\n\t\tif (this.cleanupAutoPositioning) {\n\t\t\tthis.cleanupAutoPositioning();\n\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t}\n\t\tgetDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n\t}\n\n\tprivate isNewVisit(): boolean {\n\t\treturn !this.hasMouseIn && !this.hasFocusIn;\n\t}\n\n\tprivate resetHideFlag(): void {\n\t\tif (this.isNewVisit()) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t}\n\n\tprivate async alignTooltip(): Promise<void> {\n\t\tif (this.tooltipElement && this.previousSibling) {\n\t\t\tawait alignFloatingElements({\n\t\t\t\talign: this.getRenderProp('align'),\n\t\t\t\tarrowElement: this.tooltipElement.querySelector('.kol-tooltip__arrow') as HTMLElement,\n\t\t\t\tfloatingElement: this.tooltipElement,\n\t\t\t\treferenceElement: this.previousSibling,\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate showTooltip(): void {\n\t\tif (this.isHiddenForCurrentVisit) {\n\t\t\treturn;\n\t\t}\n\t\tif (this.previousSibling && this.tooltipElement) {\n\t\t\tshowOverlay(this.tooltipElement);\n\t\t\ttooltipOpened();\n\t\t\tthis.tooltipElement.classList.remove('hide');\n\t\t\tthis.tooltipElement.classList.add('show');\n\t\t\tthis.tooltipElement.style.setProperty('display', 'block');\n\t\t\tgetDocument().addEventListener('keydown', this.hideTooltipByEscape, { once: true });\n\n\t\t\tconst target = this.previousSibling;\n\t\t\tconst tooltipEl = this.tooltipElement;\n\t\t\tthis.cleanupAutoPositioning = autoUpdate(target, tooltipEl, () => {\n\t\t\t\tvoid this.alignTooltip();\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate showOrHideTooltip(): void {\n\t\tclearTimeout(this.overFocusTimeout);\n\t\tthis.overFocusTimeout = setTimeout(() => {\n\t\t\tif (this.hasMouseIn || this.hasFocusIn) {\n\t\t\t\tthis.showTooltip();\n\t\t\t} else {\n\t\t\t\tthis.hideTooltip();\n\t\t\t}\n\t\t}, 300);\n\t}\n\n\tprivate hideTooltipByEscape = (event: KeyboardEvent): void => {\n\t\tif (event.key === 'Escape') {\n\t\t\tevent.stopPropagation();\n\t\t\tevent.preventDefault();\n\t\t\tthis.hideTooltip();\n\t\t}\n\t};\n\n\tprivate handleMouseEnter = (): void => {\n\t\tconst isNewVisit = this.isNewVisit();\n\t\tthis.hasMouseIn = true;\n\t\tif (isNewVisit) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleMouseLeave = (): void => {\n\t\tthis.hasMouseIn = false;\n\t\tthis.resetHideFlag();\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleFocusIn = (): void => {\n\t\tconst isNewVisit = this.isNewVisit();\n\t\tthis.hasFocusIn = true;\n\t\tif (isNewVisit) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleFocusOut = (): void => {\n\t\tthis.hasFocusIn = false;\n\t\tthis.resetHideFlag();\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate addListeners(el: HTMLElement): void {\n\t\tel.addEventListener('mouseover', this.handleMouseEnter);\n\t\tel.addEventListener('mouseout', this.handleMouseLeave);\n\t\tel.addEventListener('focusin', this.handleFocusIn);\n\t\tel.addEventListener('focusout', this.handleFocusOut);\n\t}\n\n\tprivate removeListeners(el: HTMLElement): void {\n\t\tel.removeEventListener('mouseover', this.handleMouseEnter);\n\t\tel.removeEventListener('mouseout', this.handleMouseLeave);\n\t\tel.removeEventListener('focusin', this.handleFocusIn);\n\t\tel.removeEventListener('focusout', this.handleFocusOut);\n\t}\n}\n"],"names":["createPropDefinition","normalizeString","alignPropTypeOptions","buildDefaultPropsFromConfig","labelProp","tooltipClosed","getDocument","alignFloatingElements","tooltipOpened","autoUpdate"],"mappings":";;;;;;;;;;;;;;AAuBO,MAAM,SAAS,GAAGA,gCAAoB,CAC5C,OAAO,EACP,KAAK,EACL,CAAC,KAAK,KAAI;AACT,IAAA,MAAM,GAAG,GAAGC,2BAAe,CAAC,KAAK,CAAC;AAClC,IAAA,IAAKC,0BAA0C,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;AAC9D,QAAA,OAAO,GAAoB;;AAE5B,IAAA,MAAM,IAAI,KAAK,CAAC,wBAAwB,GAAG,CAAA,CAAE,CAAC;AAC/C,CAAC,EACD,CAAC,CAAC,KAAMA,0BAA0C,CAAC,QAAQ,CAAC,CAAC,CAAC,CAC9D;;ACbM,MAAM,aAAa,GAAGF,gCAAoB,CAAgB,WAAW,EAAE,EAAE,EAAEC,2BAAe,CAAC;;ACf3F,MAAM,MAAM,GAAGD,gCAAoB,CAAS,IAAI,EAAE,EAAE,EAAEC,2BAAe,CAAC;;ACC7E,MAAM,gBAAgB,GAAqB,IAAI,GAAG,EAAE;AAMpD,IAAI,WAAW,GAAuB,IAAI;AASpC,SAAU,WAAW,CAAC,OAAoB,EAAA;AAG/C,IAAA,IAAI,WAAW,KAAK,OAAO,EAAE;Q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E,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACvD,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtD,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC;QAClD,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC;;AAG7C,IAAA,eAAe,CAAC,EAAe,EAAA;QACtC,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC;QAC1D,EAAE,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACzD,EAAE,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC;QACrD,EAAE,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC;;AAExD;;;;"}
1
+ {"version":3,"file":"behavior-BZvPySnr.js","sources":["src/internal/props/align.ts","src/internal/props/badge-text.ts","src/internal/props/id.ts","src/utils/overlay.ts","src/internal/functional-components/base-behavior.ts","src/internal/functional-components/tooltip/api.tsx","src/internal/functional-components/tooltip/behavior.ts"],"sourcesContent":["import type { AlignPropType } from '../../schema';\nimport { alignPropTypeOptions } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Align prop for positioning floating elements\n *\n * Description:\n * Controls the alignment of floating elements (tooltips, popovers, tabs) relative to their\n * reference element. The alignment affects how the floating element is positioned and which\n * side the arrow points from.\n *\n * Valid values: 'top' | 'right' | 'bottom' | 'left'\n * Default: 'top'\n *\n * Accessibility:\n * - Alignment should be chosen to ensure floating content is visible and does not obscure\n * important content for users with low vision or screen magnification\n */\nexport type AlignProp = SimpleProp<'align', AlignPropType>;\n\nexport const alignProp = createPropDefinition<AlignProp>(\n\t'align',\n\t'top',\n\t(value) => {\n\t\tconst str = normalizeString(value);\n\t\tif ((alignPropTypeOptions as readonly string[]).includes(str)) {\n\t\t\treturn str as AlignPropType;\n\t\t}\n\t\tthrow new Error(`Invalid align value: ${str}`);\n\t},\n\t(v) => (alignPropTypeOptions as readonly string[]).includes(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Badge Text prop for highlighting text in labels\n *\n * Description:\n * Specifies text to be underlined and highlighted as a badge within the label.\n * This is useful for highlighting keyboard shortcuts or other important text portions.\n *\n * Usage:\n * - Default: empty string (no badge highlighting)\n * - When set: the specified text will be underlined in the label\n * - Case-sensitive matching (tries uppercase/lowercase variations if exact match not found)\n *\n * Accessibility:\n * - Underlined text must have sufficient contrast (WCAG 1.4.11)\n * - Badge text should complement, not replace, other text alternatives\n */\nexport type BadgeTextProp = SimpleProp<'badgeText', string>;\nexport const badgeTextProp = createPropDefinition<BadgeTextProp>('badgeText', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type IdProp = SimpleProp<'id', string>;\n\nexport const idProp = createPropDefinition<IdProp>('id', '', normalizeString);\n","/**\n * This file contains the functions used to manage the visible overlays.\n */\n\n/**\n * This set contains all the visible overlays.\n */\nconst VISIBLE_OVERLAYS: Set<HTMLElement> = new Set();\n\n/**\n * Cached reference to the top-most overlay (z-index 1000).\n * Maintained by showOverlay and hideOverlay to avoid repeated set iterations.\n */\nlet lastOverlay: HTMLElement | null = null;\n\n/**\n * This function is used to add an overlay to the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function showOverlay(overlay: HTMLElement): void {\n\t// Ensure the overlay is at the end of the set to maintain the invariant:\n\t// all overlays have z-index 999 except the last one (z-index 1000).\n\tif (lastOverlay !== overlay) {\n\t\tif (lastOverlay) {\n\t\t\tlastOverlay.style.setProperty('z-index', '999');\n\t\t}\n\t\tVISIBLE_OVERLAYS.delete(overlay);\n\t\tVISIBLE_OVERLAYS.add(overlay);\n\t\toverlay.style.setProperty('z-index', '1000');\n\t\tlastOverlay = overlay;\n\t}\n}\n\n/**\n * This function is used to remove an overlay from the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function hideOverlay(overlay: HTMLElement): void {\n\tif (!VISIBLE_OVERLAYS.delete(overlay)) {\n\t\treturn;\n\t}\n\n\tif (lastOverlay === overlay) {\n\t\t// Find the new last overlay\n\t\tlastOverlay = null;\n\t\tfor (const el of VISIBLE_OVERLAYS) {\n\t\t\tlastOverlay = el;\n\t\t}\n\t\tif (lastOverlay) {\n\t\t\tlastOverlay.style.setProperty('z-index', '1000');\n\t\t}\n\t}\n}\n","import type { ComponentApi, GetStateFn, PropsConfigShape, ResolvedProps, SetStateFn, StateAccess, StrictFields } from './generic-types';\nimport { buildDefaultPropsFromConfig } from './props-from-config';\n\n/**\n * Abstract base class for composable behaviors.\n *\n * A behavior is a reusable unit of logic that lives INSIDE a web component.\n * It manages its own render props but receives state access from its host\n * WC — either a real `StateAccess` or {@link BaseWebComponent.stateLess}\n * for stateless behaviors.\n *\n * Example:\n * ```ts\n * export class TooltipBehavior extends BaseBehavior<TooltipApi> {\n * // show/hide tooltip, listener syncing, positioning...\n * }\n *\n * // Inside a WC:\n * private readonly tooltip = new TooltipBehavior(this.stateAccess);\n * ```\n *\n * Key rule: a WC has exactly one orchestrator (itself), plus N behaviors.\n * Behaviors must never instantiate other behaviors directly — the WC\n * composes them.\n */\nexport abstract class BaseBehavior<Api extends ComponentApi> {\n\t/** Stores validated and normalized property values ready for rendering. */\n\tprivate readonly renderProps: StrictFields<ResolvedProps<Api>>;\n\n\t/** Writes a value into the web component's reactive Stencil state. */\n\tprotected readonly setState: SetStateFn<Api>;\n\n\t/** Reads a value from the web component's reactive Stencil state. */\n\tprotected readonly getState: GetStateFn<Api>;\n\n\t/**\n\t * @param stateAccess - Bundled setState/getState provided by the web component,\n\t * or {@link BaseWebComponent.stateLess} for stateless behaviors.\n\t * @param propsConfig - Property configuration defining required/optional props\n\t * and their default values.\n\t */\n\tprotected constructor(stateAccess: StateAccess<Api>, propsConfig: PropsConfigShape) {\n\t\tthis.setState = stateAccess.setState;\n\t\tthis.getState = stateAccess.getState;\n\t\tthis.renderProps = buildDefaultPropsFromConfig(propsConfig) as StrictFields<ResolvedProps<Api>>;\n\t}\n\n\t/**\n\t * Stores a validated and normalized property value for rendering.\n\t * This is the value the functional component will receive.\n\t */\n\tprotected setRenderProp<K extends keyof ResolvedProps<Api>>(key: K, value: StrictFields<ResolvedProps<Api>>[K]): void {\n\t\tthis.renderProps[key] = value;\n\t}\n\n\t/** Returns the current validated render value for a property. */\n\tpublic getRenderProp<K extends keyof ResolvedProps<Api>>(key: K): StrictFields<ResolvedProps<Api>>[K] {\n\t\treturn this.renderProps[key];\n\t}\n}\n","import { alignProp, badgeTextProp, idProp, labelProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const tooltipPropsConfig = {\n\trequired: [labelProp],\n\toptional: [alignProp, badgeTextProp, idProp],\n} as const satisfies PropsConfigShape;\n\nexport type TooltipApi = ApiFromConfig<\n\ttypeof tooltipPropsConfig,\n\t{\n\t\tMethods: {\n\t\t\thideTooltip: () => void;\n\t\t};\n\t}\n>;\n","import { autoUpdate } from '@floating-ui/dom';\nimport { getDocument } from '../../../schema';\nimport { alignFloatingElements } from '../../../utils/align-floating-elements';\nimport { hideOverlay, showOverlay } from '../../../utils/overlay';\nimport { tooltipClosed, tooltipOpened } from '../../../utils/tooltip-open-tracking';\nimport { alignProp, badgeTextProp, idProp, labelProp } from '../../props';\nimport { BaseBehavior } from '../base-behavior';\nimport type { BehaviorInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { TooltipApi } from './api';\nimport { tooltipPropsConfig } from './api';\n\nexport class TooltipBehavior extends BaseBehavior<TooltipApi> implements BehaviorInterface<TooltipApi> {\n\tprivate previousSibling?: HTMLElement;\n\tprivate tooltipElement?: HTMLElement;\n\n\tprivate hasFocusIn = false;\n\tprivate hasMouseIn = false;\n\tprivate isHiddenForCurrentVisit = false;\n\tprivate overFocusTimeout?: ReturnType<typeof setTimeout>;\n\tprivate cleanupAutoPositioning?: () => void;\n\n\tpublic constructor(stateAccess: StateAccess<TooltipApi>) {\n\t\tsuper(stateAccess, tooltipPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<TooltipApi>): void {\n\t\tthis.watchLabel(props.label);\n\t\tthis.watchAlign(props.align);\n\t\tthis.watchBadgeText(props.badgeText);\n\t\tthis.watchId(props.id);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchAlign(value?: string): void {\n\t\talignProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('align', v);\n\t\t});\n\t}\n\n\tpublic watchBadgeText(value?: string): void {\n\t\tbadgeTextProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('badgeText', v);\n\t\t});\n\t}\n\n\tpublic watchId(value?: string): void {\n\t\tidProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('id', v);\n\t\t});\n\t}\n\n\tpublic initContext(previousSibling: HTMLElement | undefined): void {\n\t\tthis.previousSibling = previousSibling;\n\t}\n\n\tpublic syncListeners(last?: HTMLElement | null, next?: HTMLElement | null, replacePreviousSibling = false): void {\n\t\tif (last) {\n\t\t\tthis.removeListeners(last);\n\t\t}\n\t\tif (next) {\n\t\t\tif (replacePreviousSibling) {\n\t\t\t\tthis.previousSibling = next;\n\t\t\t}\n\t\t\tthis.addListeners(next);\n\t\t}\n\t}\n\n\tpublic handleEventListeners(host: HTMLElement): void {\n\t\tconst nextSibling = host.previousElementSibling as HTMLElement | null;\n\t\tthis.syncListeners(this.previousSibling, nextSibling, true);\n\t}\n\n\tpublic hideTooltip(): void {\n\t\tthis.isHiddenForCurrentVisit = true;\n\n\t\tif (this.tooltipElement) {\n\t\t\thideOverlay(this.tooltipElement);\n\t\t\ttooltipClosed();\n\t\t\tthis.tooltipElement.classList.remove('show');\n\t\t\tthis.tooltipElement.classList.add('hide');\n\t\t\t// Why? - https://github.com/public-ui/kolibri/issues/10471\n\t\t\tthis.tooltipElement.addEventListener(\n\t\t\t\t'animationend',\n\t\t\t\t(): void => {\n\t\t\t\t\t// double-check if tooltip is still hidden at animation's end\n\t\t\t\t\tif (this.tooltipElement?.classList.contains('hide')) {\n\t\t\t\t\t\t// remove element style property from showTooltip (required in gecko browsers)\n\t\t\t\t\t\tthis.tooltipElement.style.removeProperty('display');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{ once: true },\n\t\t\t);\n\n\t\t\tif (this.cleanupAutoPositioning) {\n\t\t\t\tthis.cleanupAutoPositioning();\n\t\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t\t}\n\t\t}\n\t\tgetDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n\t}\n\n\tpublic setTooltipElementRef = (el?: HTMLElement): void => {\n\t\tthis.tooltipElement = el;\n\t\tif (this.tooltipElement) {\n\t\t\tthis.addListeners(this.tooltipElement);\n\t\t}\n\t};\n\n\tpublic destroy(): void {\n\t\tclearTimeout(this.overFocusTimeout);\n\n\t\tif (this.previousSibling) {\n\t\t\tthis.removeListeners(this.previousSibling);\n\t\t\tthis.previousSibling = undefined;\n\t\t}\n\t\tif (this.tooltipElement) {\n\t\t\tthis.removeListeners(this.tooltipElement);\n\t\t}\n\t\tif (this.cleanupAutoPositioning) {\n\t\t\tthis.cleanupAutoPositioning();\n\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t}\n\t\tgetDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n\t}\n\n\tprivate isNewVisit(): boolean {\n\t\treturn !this.hasMouseIn && !this.hasFocusIn;\n\t}\n\n\tprivate resetHideFlag(): void {\n\t\tif (this.isNewVisit()) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t}\n\n\tprivate async alignTooltip(): Promise<void> {\n\t\tif (this.tooltipElement && this.previousSibling) {\n\t\t\tawait alignFloatingElements({\n\t\t\t\talign: this.getRenderProp('align'),\n\t\t\t\tarrowElement: this.tooltipElement.querySelector('.kol-tooltip__arrow') as HTMLElement,\n\t\t\t\tfloatingElement: this.tooltipElement,\n\t\t\t\treferenceElement: this.previousSibling,\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate showTooltip(): void {\n\t\tif (this.isHiddenForCurrentVisit) {\n\t\t\treturn;\n\t\t}\n\t\tif (this.previousSibling && this.tooltipElement) {\n\t\t\tshowOverlay(this.tooltipElement);\n\t\t\ttooltipOpened();\n\t\t\tthis.tooltipElement.classList.remove('hide');\n\t\t\tthis.tooltipElement.classList.add('show');\n\t\t\tthis.tooltipElement.style.setProperty('display', 'block');\n\t\t\tgetDocument().addEventListener('keydown', this.hideTooltipByEscape, { once: true });\n\n\t\t\tconst target = this.previousSibling;\n\t\t\tconst tooltipEl = this.tooltipElement;\n\t\t\tthis.cleanupAutoPositioning = autoUpdate(target, tooltipEl, () => {\n\t\t\t\tvoid this.alignTooltip();\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate showOrHideTooltip(): void {\n\t\tclearTimeout(this.overFocusTimeout);\n\t\tthis.overFocusTimeout = setTimeout(() => {\n\t\t\tif (this.hasMouseIn || this.hasFocusIn) {\n\t\t\t\tthis.showTooltip();\n\t\t\t} else {\n\t\t\t\tthis.hideTooltip();\n\t\t\t}\n\t\t}, 300);\n\t}\n\n\tprivate hideTooltipByEscape = (event: KeyboardEvent): void => {\n\t\tif (event.key === 'Escape') {\n\t\t\tevent.stopPropagation();\n\t\t\tevent.preventDefault();\n\t\t\tthis.hideTooltip();\n\t\t}\n\t};\n\n\tprivate handleMouseEnter = (): void => {\n\t\tconst isNewVisit = this.isNewVisit();\n\t\tthis.hasMouseIn = true;\n\t\tif (isNewVisit) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleMouseLeave = (): void => {\n\t\tthis.hasMouseIn = false;\n\t\tthis.resetHideFlag();\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleFocusIn = (): void => {\n\t\tconst isNewVisit = this.isNewVisit();\n\t\tthis.hasFocusIn = true;\n\t\tif (isNewVisit) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleFocusOut = (): void => {\n\t\tthis.hasFocusIn = false;\n\t\tthis.resetHideFlag();\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate addListeners(el: HTMLElement): void {\n\t\tel.addEventListener('mouseover', this.handleMouseEnter);\n\t\tel.addEventListener('mouseout', this.handleMouseLeave);\n\t\tel.addEventListener('focusin', this.handleFocusIn);\n\t\tel.addEventListener('focusout', this.handleFocusOut);\n\t}\n\n\tprivate removeListeners(el: HTMLElement): void {\n\t\tel.removeEventListener('mouseover', this.handleMouseEnter);\n\t\tel.removeEventListener('mouseout', this.handleMouseLeave);\n\t\tel.removeEventListener('focusin', this.handleFocusIn);\n\t\tel.removeEventListener('focusout', this.handleFocusOut);\n\t}\n}\n"],"names":["createPropDefinition","normalizeString","alignPropTypeOptions","buildDefaultPropsFromConfig","labelProp","tooltipClosed","getDocument","alignFloatingElements","tooltipOpened","autoUpdate"],"mappings":";;;;;;;;;;;;;;AAuBO,MAAM,SAAS,GAAGA,gCAAoB,CAC5C,OAAO,EACP,KAAK,EACL,CAAC,KAAK,KAAI;AACT,IAAA,MAAM,GAAG,GAAGC,2BAAe,CAAC,KAAK,CAAC;AAClC,IAAA,IAAKC,0BAA0C,CAAC,QAAQ,CAAC,GAAG,CAAC,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AA,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc;YACrC,IAAI,CAAC,sBAAsB,GAAGG,gCAAU,CAAC,MAAM,EAAE,SAAS,EAAE,MAAK;AAChE,gBAAA,KAAK,IAAI,CAAC,YAAY,EAAE;AACzB,aAAC,CAAC;;;IAII,iBAAiB,GAAA;AACxB,QAAA,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC;AACnC,QAAA,IAAI,CAAC,gBAAgB,GAAG,UAAU,CAAC,MAAK;YACvC,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,EAAE;gBACvC,IAAI,CAAC,WAAW,EAAE;;iBACZ;gBACN,IAAI,CAAC,WAAW,EAAE;;SAEnB,EAAE,GAAG,CAAC;;AAyCA,IAAA,YAAY,CAAC,EAAe,EAAA;QACnC,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACvD,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtD,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC;QAClD,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC;;AAG7C,IAAA,eAAe,CAAC,EAAe,EAAA;QACtC,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC;QAC1D,EAAE,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACzD,EAAE,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC;QACrD,EAAE,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC;;AAExD;;;;"}
@@ -4,7 +4,7 @@
4
4
  'use strict';
5
5
 
6
6
  var common = require('./common-D8VSsOzq.js');
7
- var componentNames = require('./component-names-5KS_pYRF.js');
7
+ var componentNames = require('./component-names-BWllpOr_.js');
8
8
  var i18n = require('./i18n-f8Oi3J6G.js');
9
9
 
10
10
  let initialized = false;
@@ -31,6 +31,6 @@ exports.bootstrap = bootstrap;
31
31
  exports.getOptions = getOptions;
32
32
  exports.isInitialized = isInitialized;
33
33
  exports.register = register;
34
- //# sourceMappingURL=bootstrap-oTvWXPJh.js.map
34
+ //# sourceMappingURL=bootstrap-Ib4QRI0X.js.map
35
35
 
36
- //# sourceMappingURL=bootstrap-oTvWXPJh.js.map
36
+ //# sourceMappingURL=bootstrap-Ib4QRI0X.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap-oTvWXPJh.js","sources":["src/core/bootstrap.ts"],"sourcesContent":["import type { Generic, LoaderCallback, RegisterOptions } from 'adopted-style-sheets';\nimport { register as coreRegister } from 'adopted-style-sheets';\nimport type { Mode } from '../schema';\nimport { Log, setRuntimeMode } from '../schema';\nimport { setCustomTagNames } from './component-names';\nimport { initializeI18n } from './i18n';\n\ntype KoliBriOptions = RegisterOptions & {\n\t/**\n\t * The environment in which the application is running.\n\t */\n\tenvironment?: Mode;\n\t/**\n\t * This option allows you to transform the component tag names.\n\t */\n\ttransformTagName?: (tagName: string) => string;\n\n\t/**\n\t * When enabled, all input fields will reflect their current value to the host element, making it accessible outside the shadow DOM.\n\t */\n\treflectInputValues?: boolean;\n};\n\nlet initialized = false;\nlet options: KoliBriOptions | undefined;\n\nexport const bootstrap = async (\n\tthemes:\n\t\t| Generic.Theming.RegisterPatch<string, string, string>\n\t\t| Generic.Theming.RegisterPatch<string, string, string>[]\n\t\t| Set<Generic.Theming.RegisterPatch<string, string, string>>,\n\tloaders: LoaderCallback | LoaderCallback[] | Set<LoaderCallback>,\n\tkoliBriOptions?: KoliBriOptions,\n): Promise<void[]> => {\n\tconst nodeEnv = typeof process !== 'undefined' && process.env ? (process.env.NODE_ENV as Mode) : undefined;\n\tsetRuntimeMode(koliBriOptions?.environment || nodeEnv || 'production');\n\n\tinitializeI18n(koliBriOptions?.translation?.name ?? 'de', koliBriOptions?.translations);\n\tif (koliBriOptions?.transformTagName) {\n\t\tsetCustomTagNames(koliBriOptions?.transformTagName);\n\t}\n\tconst coreRegisterReturnValue = await coreRegister(themes, loaders, koliBriOptions);\n\tinitialized = true;\n\toptions = koliBriOptions;\n\n\t// Only log development message when actually in development mode\n\tLog.info('Development mode active - Enhanced debugging features available');\n\n\treturn coreRegisterReturnValue;\n};\n\nexport const register = bootstrap;\nexport const isInitialized = () => initialized;\nexport const getOptions = () => options;\n"],"names":["setRuntimeMode","initializeI18n","setCustomTagNames","coreRegister","Log"],"mappings":";;;;;;;;;AAuBA,IAAI,WAAW,GAAG,KAAK;AACvB,IAAI,OAAmC;AAEhC,MAAM,SAAS,GAAG,OACxB,MAG6D,EAC7D,OAAgE,EAChE,cAA+B,KACX;;IACpB,MAAM,OAAO,GAAG,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,GAAG,GAAI,YAA6B,GAAG,SAAS;IAC1GA,qBAAc,CAAC,CAAA,cAAc,KAAA,IAAA,IAAd,cAAc,KAAd,MAAA,GAAA,MAAA,GAAA,cAAc,CAAE,WAAW,KAAI,OAAO,IAAI,YAAY,CAAC;AAEtE,IAAAC,mBAAc,CAAC,MAAA,CAAA,EAAA,GAAA,cAAc,aAAd,cAAc,KAAA,MAAA,GAAA,MAAA,GAAd,cAAc,CAAE,WAAW,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,IAAI,MAAI,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAA,IAAI,EAAE,cAAc,KAAd,IAAA,IAAA,cAAc,uBAAd,cAAc,CAAE,YAAY,CAAC;IACvF,IAAI,cAAc,aAAd,cAAc,KAAA,MAAA,GAAA,MAAA,GAAd,cAAc,CAAE,gBAAgB,EAAE;QACrCC,gCAAiB,CAAC,cAAc,KAAd,IAAA,IAAA,cAAc,uBAAd,cAAc,CAAE,gBAAgB,CAAC;;IAEpD,MAAM,uBAAuB,GAAG,MAAMC,SAAY,CAAC,MAAM,EAAE,OAAO,EAAE,cAAc,CAAC;IACnF,WAAW,GAAG,IAAI;IAClB,OAAO,GAAG,cAAc;AAGxB,IAAAC,UAAG,CAAC,IAAI,CAAC,iEAAiE,CAAC;AAE3E,IAAA,OAAO,uBAAuB;AAC/B;AAEO,MAAM,QAAQ,GAAG;MACX,aAAa,GAAG,MAAM;MACtB,UAAU,GAAG,MAAM;;;;;;;"}
1
+ {"version":3,"file":"bootstrap-Ib4QRI0X.js","sources":["src/core/bootstrap.ts"],"sourcesContent":["import type { Generic, LoaderCallback, RegisterOptions } from 'adopted-style-sheets';\nimport { register as coreRegister } from 'adopted-style-sheets';\nimport type { Mode } from '../schema';\nimport { Log, setRuntimeMode } from '../schema';\nimport { setCustomTagNames } from './component-names';\nimport { initializeI18n } from './i18n';\n\ntype KoliBriOptions = RegisterOptions & {\n\t/**\n\t * The environment in which the application is running.\n\t */\n\tenvironment?: Mode;\n\t/**\n\t * This option allows you to transform the component tag names.\n\t */\n\ttransformTagName?: (tagName: string) => string;\n\n\t/**\n\t * When enabled, all input fields will reflect their current value to the host element, making it accessible outside the shadow DOM.\n\t */\n\treflectInputValues?: boolean;\n};\n\nlet initialized = false;\nlet options: KoliBriOptions | undefined;\n\nexport const bootstrap = async (\n\tthemes:\n\t\t| Generic.Theming.RegisterPatch<string, string, string>\n\t\t| Generic.Theming.RegisterPatch<string, string, string>[]\n\t\t| Set<Generic.Theming.RegisterPatch<string, string, string>>,\n\tloaders: LoaderCallback | LoaderCallback[] | Set<LoaderCallback>,\n\tkoliBriOptions?: KoliBriOptions,\n): Promise<void[]> => {\n\tconst nodeEnv = typeof process !== 'undefined' && process.env ? (process.env.NODE_ENV as Mode) : undefined;\n\tsetRuntimeMode(koliBriOptions?.environment || nodeEnv || 'production');\n\n\tinitializeI18n(koliBriOptions?.translation?.name ?? 'de', koliBriOptions?.translations);\n\tif (koliBriOptions?.transformTagName) {\n\t\tsetCustomTagNames(koliBriOptions?.transformTagName);\n\t}\n\tconst coreRegisterReturnValue = await coreRegister(themes, loaders, koliBriOptions);\n\tinitialized = true;\n\toptions = koliBriOptions;\n\n\t// Only log development message when actually in development mode\n\tLog.info('Development mode active - Enhanced debugging features available');\n\n\treturn coreRegisterReturnValue;\n};\n\nexport const register = bootstrap;\nexport const isInitialized = () => initialized;\nexport const getOptions = () => options;\n"],"names":["setRuntimeMode","initializeI18n","setCustomTagNames","coreRegister","Log"],"mappings":";;;;;;;;;AAuBA,IAAI,WAAW,GAAG,KAAK;AACvB,IAAI,OAAmC;AAEhC,MAAM,SAAS,GAAG,OACxB,MAG6D,EAC7D,OAAgE,EAChE,cAA+B,KACX;;IACpB,MAAM,OAAO,GAAG,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,GAAG,GAAI,YAA6B,GAAG,SAAS;IAC1GA,qBAAc,CAAC,CAAA,cAAc,KAAA,IAAA,IAAd,cAAc,KAAd,MAAA,GAAA,MAAA,GAAA,cAAc,CAAE,WAAW,KAAI,OAAO,IAAI,YAAY,CAAC;AAEtE,IAAAC,mBAAc,CAAC,MAAA,CAAA,EAAA,GAAA,cAAc,aAAd,cAAc,KAAA,MAAA,GAAA,MAAA,GAAd,cAAc,CAAE,WAAW,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,IAAI,MAAI,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAA,IAAI,EAAE,cAAc,KAAd,IAAA,IAAA,cAAc,uBAAd,cAAc,CAAE,YAAY,CAAC;IACvF,IAAI,cAAc,aAAd,cAAc,KAAA,MAAA,GAAA,MAAA,GAAd,cAAc,CAAE,gBAAgB,EAAE;QACrCC,gCAAiB,CAAC,cAAc,KAAd,IAAA,IAAA,cAAc,uBAAd,cAAc,CAAE,gBAAgB,CAAC;;IAEpD,MAAM,uBAAuB,GAAG,MAAMC,SAAY,CAAC,MAAM,EAAE,OAAO,EAAE,cAAc,CAAC;IACnF,WAAW,GAAG,IAAI;IAClB,OAAO,GAAG,cAAc;AAGxB,IAAAC,UAAG,CAAC,IAAI,CAAC,iEAAiE,CAAC;AAE3E,IAAA,OAAO,uBAAuB;AAC/B;AAEO,MAAM,QAAQ,GAAG;MACX,aAAa,GAAG,MAAM;MACtB,UAAU,GAAG,MAAM;;;;;;;"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-COYzF2Ii.js');
6
+ var index = require('./index-CM_zBZzl.js');
7
7
  var bemRegistry = require('./bem-registry-CzxkcRDq.js');
8
8
 
9
9
  const clickButtonBem = bemRegistry.bem.forBlock('kol-click-button');
@@ -12,6 +12,6 @@ const BEM_CLASS_CLICK_BUTTON__LABEL = clickButtonBem('label');
12
12
  const ClickButtonFC = ({ label, handleClick, refButton }) => (index.h("button", { class: BEM_CLASS_CLICK_BUTTON, ref: refButton, onClick: handleClick, onKeyDown: (event) => event.preventDefault() }, index.h("span", { class: BEM_CLASS_CLICK_BUTTON__LABEL }, label)));
13
13
 
14
14
  exports.ClickButtonFC = ClickButtonFC;
15
- //# sourceMappingURL=component-nUTAX1bo.js.map
15
+ //# sourceMappingURL=component-CJp9X0Jy.js.map
16
16
 
17
- //# sourceMappingURL=component-nUTAX1bo.js.map
17
+ //# sourceMappingURL=component-CJp9X0Jy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-nUTAX1bo.js","sources":["src/internal/functional-components/click-button/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nconst clickButtonBem = bem.forBlock('kol-click-button');\nconst BEM_CLASS_CLICK_BUTTON = clickButtonBem();\nconst BEM_CLASS_CLICK_BUTTON__LABEL = clickButtonBem('label');\n\nexport const ClickButtonFC: FC<FunctionalComponentProps<ClickButtonApi>> = ({ label, handleClick, refButton }) => (\n\t<button class={BEM_CLASS_CLICK_BUTTON} ref={refButton} onClick={handleClick} onKeyDown={(event) => event.preventDefault()}>\n\t\t<span class={BEM_CLASS_CLICK_BUTTON__LABEL}>{label}</span>\n\t</button>\n);\n"],"names":["bem","h"],"mappings":";;;;;;;;AAOA,MAAM,cAAc,GAAGA,eAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC;AACvD,MAAM,sBAAsB,GAAG,cAAc,EAAE;AAC/C,MAAM,6BAA6B,GAAG,cAAc,CAAC,OAAO,CAAC;AAEtD,MAAM,aAAa,GAAiD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAC5GC,oBAAQ,KAAK,EAAE,sBAAsB,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,cAAc,EAAE,EAAA,EACxHA,OAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,6BAA6B,EAAA,EAAG,KAAK,CAAQ,CAClD;;;;"}
1
+ {"version":3,"file":"component-CJp9X0Jy.js","sources":["src/internal/functional-components/click-button/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nconst clickButtonBem = bem.forBlock('kol-click-button');\nconst BEM_CLASS_CLICK_BUTTON = clickButtonBem();\nconst BEM_CLASS_CLICK_BUTTON__LABEL = clickButtonBem('label');\n\nexport const ClickButtonFC: FC<FunctionalComponentProps<ClickButtonApi>> = ({ label, handleClick, refButton }) => (\n\t<button class={BEM_CLASS_CLICK_BUTTON} ref={refButton} onClick={handleClick} onKeyDown={(event) => event.preventDefault()}>\n\t\t<span class={BEM_CLASS_CLICK_BUTTON__LABEL}>{label}</span>\n\t</button>\n);\n"],"names":["bem","h"],"mappings":";;;;;;;;AAOA,MAAM,cAAc,GAAGA,eAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC;AACvD,MAAM,sBAAsB,GAAG,cAAc,EAAE;AAC/C,MAAM,6BAA6B,GAAG,cAAc,CAAC,OAAO,CAAC;AAEtD,MAAM,aAAa,GAAiD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAC5GC,oBAAQ,KAAK,EAAE,sBAAsB,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,cAAc,EAAE,EAAA,EACxHA,OAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,6BAA6B,EAAA,EAAG,KAAK,CAAQ,CAClD;;;;"}
@@ -3,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-COYzF2Ii.js');
7
- var component = require('./component-poFmJFfm.js');
6
+ var index = require('./index-CM_zBZzl.js');
7
+ var component = require('./component-gmHd3TM9.js');
8
8
 
9
9
  const TooltipFC = ({ label, badgeText, id, refFloating }) => {
10
10
  return (index.h("div", { class: "kol-tooltip__floating", hidden: label.length === 0, ref: refFloating }, index.h("div", { class: "kol-tooltip__arrow" }), index.h(component.SpanFC, { class: "kol-tooltip__content", badgeText: badgeText, id: id, label: label })));
11
11
  };
12
12
 
13
13
  exports.TooltipFC = TooltipFC;
14
- //# sourceMappingURL=component-C4o-iNQ7.js.map
14
+ //# sourceMappingURL=component-CtNi9R_v.js.map
15
15
 
16
- //# sourceMappingURL=component-C4o-iNQ7.js.map
16
+ //# sourceMappingURL=component-CtNi9R_v.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-C4o-iNQ7.js","sources":["src/internal/functional-components/tooltip/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport type { TooltipAlignPropType } from '../../../schema';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport { SpanFC } from '../span/component';\nimport type { TooltipApi } from './api';\n\ntype TooltipFCProps = Pick<FunctionalComponentProps<TooltipApi>, 'label'> & {\n\tbadgeText?: string;\n\tid?: string;\n\talign?: TooltipAlignPropType;\n\trefFloating: (el?: HTMLDivElement) => void;\n};\n\nexport const TooltipFC: FC<TooltipFCProps> = ({ label, badgeText, id, refFloating }) => {\n\treturn (\n\t\t<div class=\"kol-tooltip__floating\" hidden={label.length === 0} ref={refFloating}>\n\t\t\t<div class=\"kol-tooltip__arrow\" />\n\t\t\t<SpanFC class=\"kol-tooltip__content\" badgeText={badgeText} id={id} label={label} />\n\t\t</div>\n\t);\n};\n"],"names":["h","SpanFC"],"mappings":";;;;;;;;AAeO,MAAM,SAAS,GAAuB,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,KAAI;IACtF,QACCA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,uBAAuB,EAAC,MAAM,EAAE,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,GAAG,EAAE,WAAW,EAAA,EAC9EA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,oBAAoB,EAAG,CAAA,EAClCA,OAAC,CAAAC,gBAAM,IAAC,KAAK,EAAC,sBAAsB,EAAC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAI,CAAA,CAC9E;AAER;;;;"}
1
+ {"version":3,"file":"component-CtNi9R_v.js","sources":["src/internal/functional-components/tooltip/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport type { TooltipAlignPropType } from '../../../schema';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport { SpanFC } from '../span/component';\nimport type { TooltipApi } from './api';\n\ntype TooltipFCProps = Pick<FunctionalComponentProps<TooltipApi>, 'label'> & {\n\tbadgeText?: string;\n\tid?: string;\n\talign?: TooltipAlignPropType;\n\trefFloating: (el?: HTMLDivElement) => void;\n};\n\nexport const TooltipFC: FC<TooltipFCProps> = ({ label, badgeText, id, refFloating }) => {\n\treturn (\n\t\t<div class=\"kol-tooltip__floating\" hidden={label.length === 0} ref={refFloating}>\n\t\t\t<div class=\"kol-tooltip__arrow\" />\n\t\t\t<SpanFC class=\"kol-tooltip__content\" badgeText={badgeText} id={id} label={label} />\n\t\t</div>\n\t);\n};\n"],"names":["h","SpanFC"],"mappings":";;;;;;;;AAeO,MAAM,SAAS,GAAuB,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,KAAI;IACtF,QACCA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,uBAAuB,EAAC,MAAM,EAAE,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,GAAG,EAAE,WAAW,EAAA,EAC9EA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,oBAAoB,EAAG,CAAA,EAClCA,OAAC,CAAAC,gBAAM,IAAC,KAAK,EAAC,sBAAsB,EAAC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAI,CAAA,CAC9E;AAER;;;;"}
@@ -4,7 +4,7 @@
4
4
  'use strict';
5
5
 
6
6
  var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
7
- var index = require('./index-COYzF2Ii.js');
7
+ var index = require('./index-CM_zBZzl.js');
8
8
  var bemRegistry = require('./bem-registry-CzxkcRDq.js');
9
9
  var clsx = require('./clsx-Bm_HQUnh.js');
10
10
 
@@ -18,6 +18,6 @@ const IconFC = (_a) => {
18
18
  };
19
19
 
20
20
  exports.IconFC = IconFC;
21
- //# sourceMappingURL=component-ND1NsfT0.js.map
21
+ //# sourceMappingURL=component-DhhMlrPF.js.map
22
22
 
23
- //# sourceMappingURL=component-ND1NsfT0.js.map
23
+ //# sourceMappingURL=component-DhhMlrPF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-ND1NsfT0.js","sources":["src/internal/functional-components/icon/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport clsx from '../../../utils/clsx';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { IconApi } from './api';\n\nconst iconBem = bem.forBlock('kol-icon');\nconst BEM_CLASS_ICON = iconBem();\nconst BEM_CLASS_ICON__ICON = iconBem('icon');\n\nexport const IconFC: FC<FunctionalComponentProps<IconApi>> = ({ class: classNames, icons, label, ...htmlAttributes }) => {\n\t// label is always a normalized string ('' when unset — see labelProp definition)\n\tconst hasAriaLabel = label?.length > 0;\n\treturn (\n\t\t<i\n\t\t\t{...htmlAttributes}\n\t\t\t/**\n\t\t\t * Die Auszeichnung `aria-hidden` ist eigentlich nicht erforderlich, da die aktuellen\n\t\t\t * Screenreader, wie NVDA und JAWS, es auch ohne `aria-hidden` nicht vorlesen.\n\t\t\t *\n\t\t\t * Referenz: https://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden\n\t\t\t */\n\t\t\taria-hidden={hasAriaLabel ? undefined : 'true'}\n\t\t\taria-label={hasAriaLabel ? label : undefined}\n\t\t\tclass={clsx(BEM_CLASS_ICON, BEM_CLASS_ICON__ICON, icons, classNames)}\n\t\t\trole={hasAriaLabel ? 'img' : 'presentation'}\n\t\t/>\n\t);\n};\n"],"names":["bem","__rest","h","clsx"],"mappings":";;;;;;;;;;AAQA,MAAM,OAAO,GAAGA,eAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;AACxC,MAAM,cAAc,GAAG,OAAO,EAAE;AAChC,MAAM,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;AAE/B,MAAA,MAAM,GAA0C,CAAC,EAAsD,KAAI;IAA1D,IAAA,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAA,GAAA,EAAqB,EAAhB,cAAc,GAApDC,gBAAA,CAAA,EAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,OAAA,CAAsD,CAAF;IAEjH,MAAM,YAAY,GAAG,CAAA,KAAK,KAAL,IAAA,IAAA,KAAK,KAAL,MAAA,GAAA,MAAA,GAAA,KAAK,CAAE,MAAM,IAAG,CAAC;AACtC,IAAA,QACCC,+BACK,cAAc,EAAA,EAAA,aAAA,EAOL,YAAY,GAAG,SAAS,GAAG,MAAM,EAAA,YAAA,EAClC,YAAY,GAAG,KAAK,GAAG,SAAS,EAC5C,KAAK,EAAEC,SAAI,CAAC,cAAc,EAAE,oBAAoB,EAAE,KAAK,EAAE,UAAU,CAAC,EACpE,IAAI,EAAE,YAAY,GAAG,KAAK,GAAG,cAAc,EAC1C,CAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"component-DhhMlrPF.js","sources":["src/internal/functional-components/icon/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport clsx from '../../../utils/clsx';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { IconApi } from './api';\n\nconst iconBem = bem.forBlock('kol-icon');\nconst BEM_CLASS_ICON = iconBem();\nconst BEM_CLASS_ICON__ICON = iconBem('icon');\n\nexport const IconFC: FC<FunctionalComponentProps<IconApi>> = ({ class: classNames, icons, label, ...htmlAttributes }) => {\n\t// label is always a normalized string ('' when unset — see labelProp definition)\n\tconst hasAriaLabel = label?.length > 0;\n\treturn (\n\t\t<i\n\t\t\t{...htmlAttributes}\n\t\t\t/**\n\t\t\t * Die Auszeichnung `aria-hidden` ist eigentlich nicht erforderlich, da die aktuellen\n\t\t\t * Screenreader, wie NVDA und JAWS, es auch ohne `aria-hidden` nicht vorlesen.\n\t\t\t *\n\t\t\t * Referenz: https://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden\n\t\t\t */\n\t\t\taria-hidden={hasAriaLabel ? undefined : 'true'}\n\t\t\taria-label={hasAriaLabel ? label : undefined}\n\t\t\tclass={clsx(BEM_CLASS_ICON, BEM_CLASS_ICON__ICON, icons, classNames)}\n\t\t\trole={hasAriaLabel ? 'img' : 'presentation'}\n\t\t/>\n\t);\n};\n"],"names":["bem","__rest","h","clsx"],"mappings":";;;;;;;;;;AAQA,MAAM,OAAO,GAAGA,eAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;AACxC,MAAM,cAAc,GAAG,OAAO,EAAE;AAChC,MAAM,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;AAE/B,MAAA,MAAM,GAA0C,CAAC,EAAsD,KAAI;IAA1D,IAAA,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAA,GAAA,EAAqB,EAAhB,cAAc,GAApDC,gBAAA,CAAA,EAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,OAAA,CAAsD,CAAF;IAEjH,MAAM,YAAY,GAAG,CAAA,KAAK,KAAL,IAAA,IAAA,KAAK,KAAL,MAAA,GAAA,MAAA,GAAA,KAAK,CAAE,MAAM,IAAG,CAAC;AACtC,IAAA,QACCC,+BACK,cAAc,EAAA,EAAA,aAAA,EAOL,YAAY,GAAG,SAAS,GAAG,MAAM,EAAA,YAAA,EAClC,YAAY,GAAG,KAAK,GAAG,SAAS,EAC5C,KAAK,EAAEC,SAAI,CAAC,cAAc,EAAE,oBAAoB,EAAE,KAAK,EAAE,UAAU,CAAC,EACpE,IAAI,EAAE,YAAY,GAAG,KAAK,GAAG,cAAc,EAC1C,CAAA,CAAA;AAEJ;;;;"}
@@ -3,20 +3,20 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var normalizers = require('./normalizers-DFaq-Isv.js');
6
+ var normalizers = require('./normalizers-CxgZAKTH.js');
7
7
  var common = require('./common-D8VSsOzq.js');
8
- var href = require('./href-CXu6zh2m.js');
9
- var labelWithExpertSlot = require('./label-with-expert-slot-Dz1qyfrA.js');
10
- require('./variant-quote-DmZgXNoy.js');
8
+ var href = require('./href-oniW8mQ8.js');
9
+ var labelWithExpertSlot = require('./label-with-expert-slot-D16dPeV3.js');
10
+ require('./variant-quote-Bsb58gYB.js');
11
11
  var align = require('./align-DUy5gtGI.js');
12
- var index = require('./index-COYzF2Ii.js');
12
+ var index = require('./index-CM_zBZzl.js');
13
13
  var i18n = require('./i18n-CdBTfXYx.js');
14
14
  var variantClassName = require('./variant-class-name-Cvv-pRMy.js');
15
15
  var clsx = require('./clsx-Bm_HQUnh.js');
16
16
  var bemRegistry = require('./bem-registry-CzxkcRDq.js');
17
- var component$2 = require('./component-ND1NsfT0.js');
18
- var component$1 = require('./component-poFmJFfm.js');
19
- var component = require('./component-C4o-iNQ7.js');
17
+ var component$2 = require('./component-DhhMlrPF.js');
18
+ var component$1 = require('./component-gmHd3TM9.js');
19
+ var component = require('./component-CtNi9R_v.js');
20
20
 
21
21
  const accessKeyProp = normalizers.createPropDefinition('accessKey', '', normalizers.normalizeString);
22
22
 
@@ -54,7 +54,7 @@ const customClassProp = normalizers.createPropDefinition('customClass', '', norm
54
54
 
55
55
  const disabledProp = normalizers.createPropDefinition('disabled', false, normalizers.normalizeBoolean);
56
56
 
57
- const downloadProp = normalizers.createPropDefinition('download', '', normalizers.normalizeString);
57
+ const downloadProp = normalizers.createPropDefinition('download', undefined, normalizers.normalizeString);
58
58
 
59
59
  const hideLabelProp = normalizers.createPropDefinition('hideLabel', false, normalizers.normalizeBoolean);
60
60
 
@@ -98,7 +98,13 @@ function validateSpanIcons(value) {
98
98
  }
99
99
  const spanIconsProp = normalizers.createPropDefinition('icons', {}, normalizeSpanIcons, validateSpanIcons);
100
100
 
101
- const tabIndexProp = normalizers.createPropDefinition('tabIndex', 0, normalizers.normalizeInteger);
101
+ const tabIndexProp = normalizers.createPropDefinition('tabIndex', 0, normalizers.normalizeInteger, undefined, {
102
+ hints: (_propName, value) => {
103
+ if (typeof value === 'number' && value > 0) {
104
+ common.a11yHint(`Positive tabIndex values ("${value}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`);
105
+ }
106
+ },
107
+ });
102
108
 
103
109
  function normalizeTooltipAlign(value) {
104
110
  const str = normalizers.normalizeString(value);
@@ -162,7 +168,7 @@ const LinkFC = (props) => {
162
168
  href: typeof href === 'string' && href.length > 0 ? href : 'javascript:void(0);',
163
169
  target: typeof target === 'string' && target.length > 0 ? target : undefined,
164
170
  rel: isExternal ? 'noopener' : undefined,
165
- download: typeof download === 'string' && download.length > 0 ? download : undefined,
171
+ download: typeof download === 'string' ? download : undefined,
166
172
  };
167
173
  if (hideLabel === true && !label) {
168
174
  common.devHint(`[KolLink] An aria-label must be set when _hide-label is set.`);
@@ -202,6 +208,6 @@ exports.spanIconsProp = spanIconsProp;
202
208
  exports.tabIndexProp = tabIndexProp;
203
209
  exports.tooltipAlignProp = tooltipAlignProp;
204
210
  exports.variantProp = variantProp;
205
- //# sourceMappingURL=component-DHGkVCC4.js.map
211
+ //# sourceMappingURL=component-ImTnIXC-.js.map
206
212
 
207
- //# sourceMappingURL=component-DHGkVCC4.js.map
213
+ //# sourceMappingURL=component-ImTnIXC-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-ImTnIXC-.js","sources":["src/internal/props/access-key.ts","src/internal/props/aria-controls.ts","src/internal/props/aria-current-value.ts","src/internal/props/aria-description.ts","src/internal/props/aria-expanded.ts","src/internal/props/aria-owns.ts","src/internal/props/helpers/validators.ts","src/internal/props/custom-class.ts","src/internal/props/disabled.ts","src/internal/props/download.ts","src/internal/props/hide-label.ts","src/internal/props/inline.ts","src/internal/props/link-callbacks.ts","src/internal/props/link-role.ts","src/internal/props/link-target.ts","src/internal/props/short-key.ts","src/internal/props/span-icons.ts","src/internal/props/tab-index.ts","src/internal/props/tooltip-align.ts","src/internal/props/variant.ts","src/internal/functional-components/link/api.tsx","src/internal/functional-components/bem-root-node/component.tsx","src/internal/functional-components/link/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AccessKeyProp = SimpleProp<'accessKey', string>;\nexport const accessKeyProp = createPropDefinition<AccessKeyProp>('accessKey', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaControlsProp = SimpleProp<'ariaControls', string>;\nexport const ariaControlsProp = createPropDefinition<AriaControlsProp>('ariaControls', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * The allowed values for the aria-current attribute.\n * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current\n */\nexport const ARIA_CURRENT_VALUE_OPTIONS = ['date', 'location', 'page', 'step', 'time', 'true', 'false'] as const;\nexport type AriaCurrentValuePropType = (typeof ARIA_CURRENT_VALUE_OPTIONS)[number];\n\nexport type AriaCurrentValueProp = SimpleProp<'ariaCurrentValue', AriaCurrentValuePropType>;\n\n/**\n * Normalizes the value to a valid aria-current value.\n *\n * Graceful degradation: when the (already normalized, non-null) string is not one of the\n * allowed options, falls back to the default `'page'` instead of throwing. The factory's\n * `apply` handles undefined/null before this is reached.\n */\nfunction normalizeAriaCurrentValue(value: unknown): AriaCurrentValuePropType {\n\tconst str = normalizeString(value);\n\treturn (ARIA_CURRENT_VALUE_OPTIONS as readonly string[]).includes(str) ? (str as AriaCurrentValuePropType) : 'page';\n}\n\nexport const ariaCurrentValueProp = createPropDefinition<AriaCurrentValueProp>('ariaCurrentValue', 'page', normalizeAriaCurrentValue);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaDescriptionProp = SimpleProp<'ariaDescription', string>;\nexport const ariaDescriptionProp = createPropDefinition<AriaDescriptionProp>('ariaDescription', '', normalizeString);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\n/**\n * The internal type uses the sentinel `''` for \"not set\" because the prop-definition factory\n * requires a non-undefined default value (same pattern as `linkRoleProp`). A plain link must\n * not render `aria-expanded=\"false\"` — assistive technologies would announce a collapsed\n * state that the link does not actually manage.\n */\nexport type AriaExpandedProp = Prop<'ariaExpanded', boolean | undefined, 'true' | 'false' | ''>;\n\n/**\n * Normalizes the value to the aria-expanded tokens.\n *\n * Booleans and their string equivalents map to `'true'`/`'false'`; anything else degrades to\n * the sentinel `''` so the attribute is omitted. undefined/null are handled by the factory's\n * `apply` before this is reached.\n */\nfunction normalizeAriaExpanded(value: unknown): 'true' | 'false' | '' {\n\tif (value === true || value === 'true') {\n\t\treturn 'true';\n\t}\n\tif (value === false || value === 'false') {\n\t\treturn 'false';\n\t}\n\treturn '';\n}\n\nexport const ariaExpandedProp = createPropDefinition<AriaExpandedProp>('ariaExpanded', '', normalizeAriaExpanded);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaOwnsProp = SimpleProp<'ariaOwns', string>;\nexport const ariaOwnsProp = createPropDefinition<AriaOwnsProp>('ariaOwns', '', normalizeString);\n","/**\n * Shared validators for prop definitions.\n * Centralized here so custom-class and variant props share one regex\n * (avoids the SAFE_CLASS_NAME_RE duplication flagged in PR #10110).\n *\n * Why the minimum length is `{0,60}` (1–61 chars) and not the legacy variant-only `{3,60}`:\n * on develop the two props were validated differently — `_variant` used the strict regex,\n * `_customClass` had no regex at all (`watchString` accepted any string). Unifying them under\n * the strict regex would have silently REJECTED short custom-class values (e.g. `\"abc\"`) that\n * were valid on develop; the relaxed minimum is the lesser behavior change. The relaxation also\n * widens `_variant` (1–3 char variant names are now valid), which is accepted: no component\n * uses variant names that short through this definition. Note that multi-class values like\n * `\"foo bar\"` are rejected for `_customClass` (single safe class name only) — stricter than\n * develop's `watchString`, but consistent with `_variant` semantics. Pinned by tests in\n * `validators.spec.ts`.\n */\nconst SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;\n\nexport const isSafeClassName = (value: unknown): value is string => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\nimport { isSafeClassName } from './helpers/validators';\n\nexport type CustomClassProp = SimpleProp<'customClass', string>;\n\n/**\n * Validates the normalized custom-class value. An empty string is valid (means no custom class);\n * any non-empty value must be a single safe class name.\n */\nfunction validateCustomClass(value: string): boolean {\n\treturn value === '' || isSafeClassName(value);\n}\n\nexport const customClassProp = createPropDefinition<CustomClassProp>('customClass', '', normalizeString, validateCustomClass);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\nexport type DisabledProp = SimpleProp<'disabled', boolean>;\nexport const disabledProp = createPropDefinition<DisabledProp>('disabled', false, normalizeBoolean);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type DownloadProp = SimpleProp<'download', string>;\n// The default is `undefined` (not `''` like other string props) to keep \"not set\" distinguishable\n// from \"explicitly empty\": `download` is a presence attribute, so `_download=\"\"` must render as\n// `download=\"\"` (download without a suggested filename) while an unset `_download` must not\n// render the attribute at all.\nexport const downloadProp = createPropDefinition<DownloadProp>('download', undefined as unknown as string, normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\n/**\n * Hide Label prop for controlling label visibility\n *\n * Description:\n * Specifies whether the label should be visually hidden.\n * When enabled, the label is not displayed but remains accessible to screen readers.\n *\n * Usage (according to WCAG 2.1 and WAI-ARIA):\n * - Default: false (label is visible)\n * - When true: label is hidden visually but remains available to assistive technologies (WCAG 1.3.1)\n * - The label content is still used for accessibility purposes\n * - Expert slot becomes visible when label is hidden\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n * @see https://www.a11yproject.com/posts/how-to-hide-content/\n */\nexport type HideLabelProp = SimpleProp<'hideLabel', boolean>;\nexport const hideLabelProp = createPropDefinition<HideLabelProp>('hideLabel', false, normalizeBoolean);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\nexport type InlineProp = SimpleProp<'inline', boolean>;\nexport const inlineProp = createPropDefinition<InlineProp>('inline', true, normalizeBoolean);\n","import type { LinkOnCallbacksPropType } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\nexport type LinkCallbacksProp = SimpleProp<'on', LinkOnCallbacksPropType>;\n\n/**\n * Normalizes the callbacks object. The factory's `apply` handles undefined/null (falling back to\n * the default `{}`) before this is reached, so we only need to verify a non-null value is an object.\n */\nfunction normalizeLinkCallbacks(value: unknown): LinkOnCallbacksPropType {\n\tif (typeof value === 'object' && value !== null) {\n\t\treturn value as LinkOnCallbacksPropType;\n\t}\n\tthrow new Error(`Invalid on callbacks: expected object, got ${typeof value}`);\n}\n\nexport const linkCallbacksProp = createPropDefinition<LinkCallbacksProp>('on', {}, normalizeLinkCallbacks);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\n/**\n * The allowed role values for a link/button that takes the place of an ARIA role.\n */\nexport type AlternativeButtonLinkRolePropType = 'tab' | 'treeitem';\n\nconst LINK_ROLE_OPTIONS: readonly AlternativeButtonLinkRolePropType[] = ['tab', 'treeitem'];\n\n/**\n * Role prop for kol-link.\n *\n * The external type is the optional union `'tab' | 'treeitem' | undefined`. Internally we use the\n * sentinel empty string `''` to represent \"no role\" because the prop-definition factory types the\n * default through `NonNullable<...>`, which does not admit `undefined`. Consumers that read the\n * normalized value should treat `''` as \"no explicit role\".\n */\nexport type LinkRoleProp = Prop<'role', AlternativeButtonLinkRolePropType | undefined, '' | AlternativeButtonLinkRolePropType>;\n\n/**\n * Normalizes the role value.\n *\n * Graceful degradation: when the value is one of the allowed roles it is returned; otherwise\n * (including any non-member string) the sentinel `''` is returned so the component renders\n * without an explicit role. The factory's `apply` handles undefined/null before this is reached.\n */\nfunction normalizeLinkRole(value: unknown): '' | AlternativeButtonLinkRolePropType {\n\treturn typeof value === 'string' && (LINK_ROLE_OPTIONS as readonly string[]).includes(value) ? (value as AlternativeButtonLinkRolePropType) : '';\n}\n\nexport const linkRoleProp = createPropDefinition<LinkRoleProp>('role', '', normalizeLinkRole);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type LinkTargetProp = SimpleProp<'target', string>;\nexport const linkTargetProp = createPropDefinition<LinkTargetProp>('target', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type ShortKeyProp = SimpleProp<'shortKey', string>;\nexport const shortKeyProp = createPropDefinition<ShortKeyProp>('shortKey', '', normalizeString);\n","import type { KoliBriIconsProp } from '../../schema/types';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeObject, normalizeString } from './helpers/normalizers';\n\n/**\n * Icons prop for multi-directional icon display\n *\n * Description:\n * Specifies icons to display in one or more directions (top, right, bottom, left).\n * Can accept either a single icon class or an object with directional icon specifications.\n *\n * Usage:\n * - String: A single icon class name (displayed on the left by default)\n * - Object: Directional icons (e.g., { top: 'icon-class', left: 'icon-class' })\n * - Default: empty object (no icons)\n *\n * Accessibility:\n * - Icons must have descriptive labels to meet WCAG 1.1.1\n * - Use the label prop to provide text alternatives\n * - Icons should not be the sole means of conveying information (WCAG 1.3.3)\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html\n */\nexport type SpanIconsProp = SimpleProp<'icons', KoliBriIconsProp>;\n\nfunction normalizeSpanIcons(value: unknown): KoliBriIconsProp | never {\n\tif (!value || (typeof value === 'string' && value === '')) {\n\t\treturn {};\n\t}\n\t// If it's a string, return it as-is\n\tif (typeof value === 'string') {\n\t\treturn normalizeString(value);\n\t}\n\t// If it's an object, normalize it\n\tif (typeof value === 'object') {\n\t\treturn normalizeObject(value) as KoliBriIconsProp;\n\t}\n\tthrow new Error(`Invalid icons: ${typeof value}`);\n}\n\nfunction validateSpanIcons(value: KoliBriIconsProp): boolean {\n\t// String is valid if it's non-empty\n\tif (typeof value === 'string') {\n\t\treturn value.length > 0;\n\t}\n\t// Object is always valid (even if empty)\n\treturn typeof value === 'object' && value !== null;\n}\n\nexport const spanIconsProp = createPropDefinition<SpanIconsProp>('icons', {} as KoliBriIconsProp, normalizeSpanIcons, validateSpanIcons);\n","import { a11yHint } from '../../schema/utils/a11y.tipps';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeInteger } from './helpers/normalizers';\n\n/**\n * TabIndex prop for controlling tab order\n *\n * Description:\n * Specifies the tab order of interactive elements when using the keyboard.\n *\n * Usage (according to WCAG 2.1 and WAI-ARIA):\n * - Default: 0 (element follows the natural DOM order)\n * - Positive values (1, 2, 3, etc.): element is moved to the front of the tab order\n * - Negative values (typically -1): element is not reachable via sequential navigation\n *\n * Accessibility concerns:\n * - Positive tabIndex values can disrupt the natural tab order and confuse users\n * - Recommended to rely on DOM order (tabIndex={0}) or use -1 for non-tabbable elements\n * - Screen reader users expect a logical tab order matching the visual order\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex\n */\nexport type TabIndexProp = SimpleProp<'tabIndex', number>;\nexport const tabIndexProp = createPropDefinition<TabIndexProp>('tabIndex', 0, normalizeInteger, undefined, {\n\thints: (_propName, value) => {\n\t\tif (typeof value === 'number' && value > 0) {\n\t\t\ta11yHint(`Positive tabIndex values (\"${value}\") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`);\n\t\t}\n\t},\n});\n","import type { AlignPropType } from '../../schema';\nimport { alignPropTypeOptions } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Tooltip align prop for kol-link.\n *\n * Same valid values as {@link alignProp} ('top' | 'right' | 'bottom' | 'left') but defaults to\n * `'right'` to match the legacy `_tooltipAlign` default on kol-link.\n */\nexport type TooltipAlignProp = SimpleProp<'tooltipAlign', AlignPropType>;\n\nfunction normalizeTooltipAlign(value: unknown): AlignPropType {\n\tconst str = normalizeString(value);\n\tif ((alignPropTypeOptions as readonly string[]).includes(str)) {\n\t\treturn str as AlignPropType;\n\t}\n\treturn 'right';\n}\n\nexport const tooltipAlignProp = createPropDefinition<TooltipAlignProp>('tooltipAlign', 'right', normalizeTooltipAlign, (v) =>\n\t(alignPropTypeOptions as readonly string[]).includes(v),\n);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { isSafeClassName } from './helpers/validators';\n\n/**\n * Variant prop for class-name based variants (e.g. kol-link, kol-button).\n *\n * External type: `string | string[]` — a space-separated string of variant names or an array.\n * Internal type: `string[]` — always normalized to an array. An empty array means \"no variant\".\n *\n * This mirrors the legacy `validateVariantClassName` → `beforePatchString` pipeline, which split\n * strings by spaces into arrays before storing them in state. The `classNameFromVariant` renderer\n * only processes arrays, so normalizing here ensures the variant classes are always applied.\n */\nexport type VariantProp = Prop<'variant', string | string[], string[]>;\n\n/**\n * Normalizes the variant value to an array of variant tokens.\n *\n * - Arrays are passed through as-is.\n * - Strings are split by spaces into tokens (matches `beforePatchString`).\n * - The factory's `apply` handles undefined/null before this is reached.\n */\nfunction normalizeVariant(value: unknown): string[] {\n\tif (Array.isArray(value)) {\n\t\treturn value as string[];\n\t}\n\tif (typeof value === 'string') {\n\t\treturn value.split(' ');\n\t}\n\treturn [];\n}\n\n/**\n * Validates the normalized variant value.\n *\n * - Empty array means \"no variant\" and is valid.\n * - Non-empty arrays must consist entirely of safe class names.\n */\nfunction validateVariant(value: string[]): boolean {\n\treturn value.length === 0 || value.every(isSafeClassName);\n}\n\nexport const variantProp = createPropDefinition<VariantProp>('variant', [], normalizeVariant, validateVariant);\n","import {\n\taccessKeyProp,\n\tariaControlsProp,\n\tariaCurrentValueProp,\n\tariaDescriptionProp,\n\tariaExpandedProp,\n\tariaOwnsProp,\n\tcustomClassProp,\n\tdisabledProp,\n\tdownloadProp,\n\thideLabelProp,\n\threfProp,\n\tinlineProp,\n\tlabelWithExpertSlotProp,\n\tlinkCallbacksProp,\n\tlinkRoleProp,\n\tlinkTargetProp,\n\tshortKeyProp,\n\tspanIconsProp,\n\ttabIndexProp,\n\ttooltipAlignProp,\n\tvariantProp,\n} from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\n/**\n * Props configuration for the link component.\n *\n * `href` is the only required prop. All others are optional.\n *\n * Notes on prop choices:\n * - `labelWithExpertSlotProp` (not `labelProp`): no min/max length restriction, matching the\n * original `validateLabelWithExpertSlot`. The empty string enables the expert slot; this is\n * tracked separately via the `expertSlot` state because the factory collapses undefined → ''\n * (the default), which would wrongly enable the expert slot when no label was passed.\n * - `spanIconsProp` (not `iconsProp`): icons are `KoliBriIconsProp` (object), not a plain string.\n * - `tooltipAlignProp`: same valid values as `alignProp` but defaults to `'right'` (matching the\n * legacy `_tooltipAlign` default).\n */\nexport const linkPropsConfig = {\n\trequired: [hrefProp],\n\toptional: [\n\t\taccessKeyProp,\n\t\tariaControlsProp,\n\t\tariaCurrentValueProp,\n\t\tariaDescriptionProp,\n\t\tariaExpandedProp,\n\t\tariaOwnsProp,\n\t\tcustomClassProp,\n\t\tdisabledProp,\n\t\tdownloadProp,\n\t\thideLabelProp,\n\t\tspanIconsProp,\n\t\tinlineProp,\n\t\tlabelWithExpertSlotProp,\n\t\tlinkCallbacksProp,\n\t\tlinkRoleProp,\n\t\tlinkTargetProp,\n\t\tshortKeyProp,\n\t\ttabIndexProp,\n\t\ttooltipAlignProp,\n\t\tvariantProp,\n\t],\n} as const satisfies PropsConfigShape;\n\nexport type LinkApi = ApiFromConfig<\n\ttypeof linkPropsConfig,\n\t{\n\t\tCallbacks: {\n\t\t\t/**\n\t\t\t * Click handler bound to the anchor element. Implemented by the web component\n\t\t\t * (`handleAnchorClick`), which also dispatches the custom `KolEvent.click` event\n\t\t\t * on the host element.\n\t\t\t */\n\t\t\tanchorClick: (event: Event) => void;\n\t\t};\n\t\tMethods: {\n\t\t\tfocus: (options?: FocusOptions) => void;\n\t\t\tclick: () => void;\n\t\t};\n\t\tRefs: {\n\t\t\tanchor: HTMLAnchorElement;\n\t\t\ttooltip: HTMLDivElement;\n\t\t};\n\t\tStates: {\n\t\t\t/**\n\t\t\t * Derived aria-current value: one of the aria-current tokens when the link's href\n\t\t\t * matches the current location, otherwise an empty string (rendered as undefined →\n\t\t\t * no aria-current attribute). Managed via setState for reactivity.\n\t\t\t */\n\t\t\tariaCurrent: string;\n\t\t\t/**\n\t\t\t * DOM id of the visually-hidden span that carries the aria description. Generated\n\t\t\t * once per web component instance and referenced by the anchor's aria-describedby\n\t\t\t * attribute, since aria-description lacks screen reader support.\n\t\t\t */\n\t\t\tariaDescriptionId: string;\n\t\t\t/**\n\t\t\t * Whether the expert slot should be rendered. True only when the consumer explicitly\n\t\t\t * passed an empty-string label. When the label is undefined (default ''), the expert\n\t\t\t * slot stays off and the href is used as the fallback label text.\n\t\t\t */\n\t\t\texpertSlot: boolean;\n\t\t};\n\t}\n>;\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\n\nimport type { KoliBriComponentsBemSchema } from '../../../schema/bem-registry';\nimport { bem } from '../../../schema/bem-registry';\nimport clsx from '../../../utils/clsx';\n\ntype FCChildren = Parameters<FC>[1];\n\ntype KeysOfSet<T> = T extends Set<infer U> ? U : never;\n\n/**\n * Extracts the valid block modifier keys for a given registered BEM block.\n * Mirrors the conditional type used by typed-bem so that the types align exactly.\n */\nexport type BlockModifiers<TBlock extends keyof KoliBriComponentsBemSchema> =\n\tKeysOfSet<KoliBriComponentsBemSchema[TBlock]['modifiers']> extends never\n\t\t? undefined\n\t\t: Partial<Record<KeysOfSet<KoliBriComponentsBemSchema[TBlock]['modifiers']>, boolean>>;\n\ntype BemRootNodeFCProps<TBlock extends keyof KoliBriComponentsBemSchema> = {\n\t/**\n\t * BEM block name — must be a key registered in `KoliBriComponentsBemSchema`.\n\t * Constrains `modifiers` to the exact modifier set defined in `bem-registry.ts`.\n\t */\n\tblock: TBlock;\n\t/**\n\t * BEM block modifiers. Keys are validated against the schema (e.g. `'disabled'`, `'inline'`).\n\t * No `kol-link--` prefix needed — typed-bem adds it automatically.\n\t */\n\tmodifiers?: BlockModifiers<TBlock>;\n\t/**\n\t * Additional classes forwarded 1:1 from the FC tag onto the root `<div>`.\n\t * Typically the `class` prop received by the surrounding Functional Component\n\t * (i.e. the `class` attribute set by a parent component).\n\t */\n\tclass?: JSXBase.HTMLAttributes<HTMLElement>['class'];\n};\n\n/**\n * Single-Root BEM wrapper for all Skeleton Functional Components.\n *\n * Responsibilities:\n * - Renders exactly one `<div>` root node — enforcing the Single-Root FC rule.\n * - Accepts a `block` name and typed `modifiers` from `KoliBriComponentsBemSchema`.\n * - Calls `bem.forBlock(block)(modifiers)` internally to generate the class string.\n * - Merges the result with the optional `class` prop.\n *\n * Usage:\n * ```tsx\n * export const LinkFC: FC<LinkFCProps> = ({ ..., class: hostClass, disabled }, children) => (\n * <BemRootNodeFC\n * block=\"kol-link\"\n * modifiers={{ disabled, 'external-link': isExternal }}\n * class={hostClass}\n * >\n * <a class=\"kol-link__anchor\">…</a>\n * </BemRootNodeFC>\n * );\n * ```\n */\nexport const BemRootNodeFC = <TBlock extends keyof KoliBriComponentsBemSchema>(\n\t{ block, modifiers, class: hostClass }: BemRootNodeFCProps<TBlock>,\n\tchildren: FCChildren,\n) => {\n\tconst blockBem = bem.forBlock(block);\n\treturn <div class={clsx(blockBem(modifiers as BlockModifiers<TBlock>), hostClass)}>{children}</div>;\n};\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport { devHint } from '../../../schema';\nimport { classNameFromVariant } from '../../../schema/props/variant-class-name';\nimport clsx from '../../../utils/clsx';\nimport { BemRootNodeFC } from '../bem-root-node/component';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport { IconFC } from '../icon/component';\nimport { SpanFC } from '../span/component';\nimport { TooltipFC } from '../tooltip/component';\nimport type { LinkApi } from './api';\n\nexport const LinkFC: FC<FunctionalComponentProps<LinkApi>> = (props) => {\n\tconst {\n\t\taccessKey,\n\t\tariaControls,\n\t\tariaCurrent,\n\t\tariaDescription,\n\t\tariaDescriptionId,\n\t\tariaExpanded,\n\t\tariaOwns,\n\t\tcustomClass,\n\t\tdisabled,\n\t\tdownload,\n\t\thandleAnchorClick,\n\t\thideLabel,\n\t\thref,\n\t\ticons,\n\t\tinline,\n\t\tlabel,\n\t\ton,\n\t\trefAnchor,\n\t\trefTooltip,\n\t\trole,\n\t\tshortKey,\n\t\ttabIndex,\n\t\ttarget,\n\t\tvariant,\n\t\texpertSlot,\n\t} = props;\n\n\tconst translateOpenLinkInTab = translate('kol-open-link-in-tab');\n\n\tconst isExternal = typeof target === 'string' && target.length > 0 && target !== '_self';\n\n\tconst tagAttrs = {\n\t\thref: typeof href === 'string' && href.length > 0 ? href : 'javascript:void(0);',\n\t\ttarget: typeof target === 'string' && target.length > 0 ? target : undefined,\n\t\trel: isExternal ? 'noopener' : undefined,\n\t\t// `download` is a presence attribute: an explicitly empty string means \"download without a\n\t\t// suggested filename\" and must render as `download=\"\"`, unlike an unset download.\n\t\tdownload: typeof download === 'string' ? download : undefined,\n\t};\n\n\tif (hideLabel === true && !label) {\n\t\tdevHint(`[KolLink] An aria-label must be set when _hide-label is set.`);\n\t}\n\n\tconst trimmedAriaDescription = ariaDescription?.trim();\n\tconst roleValue = role || undefined;\n\treturn (\n\t\t<BemRootNodeFC\n\t\t\tblock=\"kol-link\"\n\t\t\tclass={clsx({\n\t\t\t\t[customClass]: variant.includes('custom') && customClass.length > 0,\n\t\t\t\t[classNameFromVariant(variant, 'link')]: variant.length > 0,\n\t\t\t})}\n\t\t\tmodifiers={{\n\t\t\t\tdisabled: disabled === true,\n\t\t\t\t'external-link': isExternal,\n\t\t\t\t'hide-label': hideLabel === true,\n\t\t\t\tinline: inline === true,\n\t\t\t\tstandalone: inline === false,\n\t\t\t}}\n\t\t>\n\t\t\t{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events -- <a href> is natively keyboard-accessible (Enter triggers click); onKeyPress would cause a double-dispatch bug. */}\n\t\t\t<a\n\t\t\t\tref={refAnchor}\n\t\t\t\t{...tagAttrs}\n\t\t\t\taccessKey={accessKey || undefined}\n\t\t\t\taria-current={ariaCurrent || undefined}\n\t\t\t\taria-controls={ariaControls || undefined}\n\t\t\t\taria-describedby={trimmedAriaDescription ? ariaDescriptionId : undefined}\n\t\t\t\taria-disabled={disabled ? 'true' : undefined}\n\t\t\t\taria-expanded={ariaExpanded === '' ? undefined : ariaExpanded}\n\t\t\t\taria-owns={ariaOwns || undefined}\n\t\t\t\taria-label={hideLabel && typeof label === 'string' ? `${label}${isExternal ? ` (${translateOpenLinkInTab})` : ''}` : undefined}\n\t\t\t\taria-keyshortcuts={shortKey || undefined}\n\t\t\t\tclass=\"kol-link__anchor\"\n\t\t\t\t{...on}\n\t\t\t\tonClick={handleAnchorClick}\n\t\t\t\trole={roleValue}\n\t\t\t\ttabIndex={disabled ? -1 : tabIndex}\n\t\t\t>\n\t\t\t\t<SpanFC class=\"kol-link__text\" badgeText={accessKey || shortKey} icons={icons} hideLabel={hideLabel} label={expertSlot ? '' : label || href}>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</SpanFC>\n\t\t\t\t{isExternal && (\n\t\t\t\t\t<IconFC class=\"kol-link__icon\" label={hideLabel ? '' : translateOpenLinkInTab} icons={'kolicon-link-external'} aria-hidden={hideLabel} />\n\t\t\t\t)}\n\t\t\t</a>\n\t\t\t{hideLabel === true && !expertSlot && (\n\t\t\t\t<div class=\"kol-link__tooltip\">\n\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\tbadgeText={accessKey || shortKey || ''}\n\t\t\t\t\t\tlabel={typeof label === 'string' ? label : typeof href === 'string' ? href : ''}\n\t\t\t\t\t\trefFloating={refTooltip}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{trimmedAriaDescription && (\n\t\t\t\t<span class=\"visually-hidden\" id={ariaDescriptionId}>\n\t\t\t\t\t{trimmedAriaDescription}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</BemRootNodeFC>\n\t);\n};\n"],"names":["createPropDefinition","normalizeString","normalizeBoolean","normalizeObject","normalizeInteger","a11yHint","alignPropTypeOptions","hrefProp","labelWithExpertSlotProp","bem","h","clsx","translate","devHint","classNameFromVariant","SpanFC","IconFC","TooltipFC"],"mappings":";;;;;;;;;;;;;;;;;;;;AAKO,MAAM,aAAa,GAAGA,gCAAoB,CAAgB,WAAW,EAAE,EAAE,EAAEC,2BAAe;;ACA1F,MAAM,gBAAgB,GAAGD,gCAAoB,CAAmB,cAAc,EAAE,EAAE,EAAEC,2BAAe;;ACGnG,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAU;AAYhH,SAAS,yBAAyB,CAAC,KAAc,EAAA;AAChD,IAAA,MAAM,GAAG,GAAGA,2BAAe,CAAC,KAAK,CAAC;AAClC,IAAA,OAAQ,0BAAgD,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAI,GAAgC,GAAG,MAAM;AACpH;AAEO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AAC,KAAK,EAAE,SAAS,GAAG,EAAE,GAAG,sBAAsB,EAAE,KAAK,EAAE,uBAAuB,EAAe,aAAA,EAAA,SAAS,EAAI,CAAA,CACzI,CACE,EACH,SAAS,KAAK,IAAI,IAAI,CAAC,UAAU,KACjCN,OAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,mBAAmB,EAAA,EAC7BA,OAAA,CAACO,mBAAS,EACT,EAAA,SAAS,EAAE,SAAS,IAAI,QAAQ,IAAI,EAAE,EACtC,KAAK,EAAE,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,IAAI,KAAK,QAAQ,GAAG,IAAI,GAAG,EAAE,EAC/E,WAAW,EAAE,UAAU,EAAA,CACtB,CACG,CACN,EACA,sBAAsB,KACtBP,OAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAC,iBAAiB,EAAC,EAAE,EAAE,iBAAiB,IACjD,sBAAsB,CACjB,CACP,CACc;AAElB;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-COYzF2Ii.js');
6
+ var index = require('./index-CM_zBZzl.js');
7
7
  var i18n = require('./i18n-CdBTfXYx.js');
8
8
 
9
9
  function renderSpinVariant(variant) {
@@ -34,6 +34,6 @@ const SpinFC = (props) => {
34
34
  };
35
35
 
36
36
  exports.SpinFC = SpinFC;
37
- //# sourceMappingURL=component-CBmF0-1m.js.map
37
+ //# sourceMappingURL=component-SW8wvnfI.js.map
38
38
 
39
- //# sourceMappingURL=component-CBmF0-1m.js.map
39
+ //# sourceMappingURL=component-SW8wvnfI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-CBmF0-1m.js","sources":["src/internal/functional-components/spin/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { Fragment, h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { SpinApi } from './api';\n\nfunction renderSpinVariant(variant: string): unknown {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <span class={`kol-spin__loader kol-spin__spinner--${variant}__element`}></span>;\n\t\tcase 'none':\n\t\t\treturn <slot name=\"expert\"></slot>;\n\t\tdefault:\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--1\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--1`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--2\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--2`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--3\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--3`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--neutral\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--4`}\n\t\t\t\t\t></span>\n\t\t\t\t</>\n\t\t\t);\n\t}\n}\n\nexport const SpinFC: FC<FunctionalComponentProps<SpinApi>> = (props) => {\n\tconst { show, label, variant } = props;\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{show ? (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<span class={`kol-spin__spinner kol-spin__spinner--${variant}`}>{renderSpinVariant(variant)}</span>\n\t\t\t\t\t<span aria-busy=\"true\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t\t{label || translate('kol-action-running')}\n\t\t\t\t\t</span>\n\t\t\t\t</Fragment>\n\t\t\t) : (\n\t\t\t\t<span aria-busy=\"false\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t{label || translate('kol-action-done')}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</Fragment>\n\t);\n};\n"],"names":["h","Fragment","translate"],"mappings":";;;;;;;;AAOA,SAAS,iBAAiB,CAAC,OAAe,EAAA;IACzC,QAAQ,OAAO;AACd,QAAA,KAAK,OAAO;AACX,YAAA,OAAOA,kBAAM,KAAK,EAAE,CAAA,oCAAA,EAAuC,OAAO,CAAA,SAAA,CAAW,GAAS;AACvF,QAAA,KAAK,MAAM;YACV,OAAOA,OAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,GAAQ;AACnC,QAAA;AACC,YAAA,QACCA,OAAA,CAAAC,cAAA,EAAA,IAAA,EACCD,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;4BACP,OAAO,CAAA,YAAA,CAAc,EACpC,CAAA,EACRA,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;4BACP,OAAO,CAAA,YAAA,CAAc,EACpC,CAAA,EACRA,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;4BACP,OAAO,CAAA,YAAA,CAAc,EACpC,CAAA,EACRA,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;AACP,0BAAA,EAAA,OAAO,CAAc,YAAA,CAAA,EAAA,CACpC,CACN;;AAGP;AAEa,MAAA,MAAM,GAA0C,CAAC,KAAK,KAAI;IACtE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK;IAEtC,QACCA,OAAC,CAAAC,cAAQ,EACP,IAAA,EAAA,IAAI,IACJD,OAAA,CAACC,cAAQ,EAAA,IAAA,EACRD,OAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,wCAAwC,OAAO,CAAA,CAAE,IAAG,iBAAiB,CAAC,OAAO,CAAC,CAAQ,EACnGA,OAAgB,CAAA,MAAA,EAAA,EAAA,WAAA,EAAA,MAAM,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,EAAA,EACzD,KAAK,IAAIE,cAAS,CAAC,oBAAoB,CAAC,CACnC,CACG,KAEXF,OAAgB,CAAA,MAAA,EAAA,EAAA,WAAA,EAAA,OAAO,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,EAAA,EAC1D,KAAK,IAAIE,cAAS,CAAC,iBAAiB,CAAC,CAChC,CACP,CACS;AAEb;;;;"}
1
+ {"version":3,"file":"component-SW8wvnfI.js","sources":["src/internal/functional-components/spin/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { Fragment, h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { SpinApi } from './api';\n\nfunction renderSpinVariant(variant: string): unknown {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <span class={`kol-spin__loader kol-spin__spinner--${variant}__element`}></span>;\n\t\tcase 'none':\n\t\t\treturn <slot name=\"expert\"></slot>;\n\t\tdefault:\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--1\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--1`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--2\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--2`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--3\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--3`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--neutral\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--4`}\n\t\t\t\t\t></span>\n\t\t\t\t</>\n\t\t\t);\n\t}\n}\n\nexport const SpinFC: FC<FunctionalComponentProps<SpinApi>> = (props) => {\n\tconst { show, label, variant } = props;\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{show ? (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<span class={`kol-spin__spinner kol-spin__spinner--${variant}`}>{renderSpinVariant(variant)}</span>\n\t\t\t\t\t<span aria-busy=\"true\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t\t{label || translate('kol-action-running')}\n\t\t\t\t\t</span>\n\t\t\t\t</Fragment>\n\t\t\t) : (\n\t\t\t\t<span aria-busy=\"false\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t{label || translate('kol-action-done')}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</Fragment>\n\t);\n};\n"],"names":["h","Fragment","translate"],"mappings":";;;;;;;;AAOA,SAAS,iBAAiB,CAAC,OAAe,EAAA;IACzC,QAAQ,OAAO;AACd,QAAA,KAAK,OAAO;AACX,YAAA,OAAOA,kBAAM,KAAK,EAAE,CAAA,oCAAA,EAAuC,OAAO,CAAA,SAAA,CAAW,GAAS;AACvF,QAAA,KAAK,MAAM;YACV,OAAOA,OAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC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