@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":"variant-class-name-B0Wpr2i8.js","sources":["src/schema/props/variant-class-name.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchOptions } from '../utils';\nimport { watchValidator } from '../utils';\nimport { isString } from '../validators';\n\nexport type VariantClassNamePropType = string | string[];\n\nexport type PropVariantClassName = {\n\tvariant: VariantClassNamePropType;\n};\n\nconst SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{3,60}$/;\nconst isValidArrayOrString = (value: unknown) =>\n\t(Array.isArray(value) && value.every(isSafeClassName)) || (isString(value, 1) && (value as string).split(' ').every(isSafeClassName));\nconst isSafeClassName = (value: unknown) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);\nconst SAFE_CLASS_NAME_ALLOWED = new Set([SAFE_CLASS_NAME_RE.source]);\n\nconst beforePatchString = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_variant')) {\n\t\tconst variants = component.nextState?.get('_variant');\n\t\tlet nextStateVariants: VariantClassNamePropType = [];\n\t\tif (isString(variants, 1)) {\n\t\t\tnextStateVariants = (variants as string).split(' ');\n\t\t} else if (Array.isArray(variants)) {\n\t\t\tnextStateVariants = variants;\n\t\t}\n\t\tcomponent.nextState?.set('_variant', nextStateVariants);\n\t}\n};\n\nexport const validateVariantClassName = (component: Generic.Element.Component, value?: VariantClassNamePropType, options: WatchOptions = {}): void => {\n\twatchValidator(component, '_variant', isValidArrayOrString, SAFE_CLASS_NAME_ALLOWED, value, {\n\t\t...options,\n\t\tdefaultValue: {},\n\t\thooks: {\n\t\t\tafterPatch: options.hooks?.afterPatch,\n\t\t\tbeforePatch: (nextValue, nextState, component, key) => {\n\t\t\t\tif (typeof options.hooks?.beforePatch === 'function') {\n\t\t\t\t\toptions.hooks?.beforePatch(nextValue, nextState, component, key);\n\t\t\t\t}\n\t\t\t\tbeforePatchString(component);\n\t\t\t},\n\t\t},\n\t});\n};\n\nexport const classNameFromVariant = (variants: VariantClassNamePropType | undefined, componentName: string): string => {\n\tlet className = '';\n\n\tif (Array.isArray(variants)) {\n\t\tvariants.forEach((variant) => {\n\t\t\tclassName += 'kol-' + componentName + '--' + variant + ' ';\n\t\t});\n\t}\n\treturn className;\n};\n"],"names":[],"mappings":";;;;;AAYA,MAAM,kBAAkB,GAAG,+BAA+B;AAC1D,MAAM,oBAAoB,GAAG,CAAC,KAAc,KAC3C,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,IAAK,KAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;AACtI,MAAM,eAAe,GAAG,CAAC,KAAc,KAAK,OA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U,EAAE,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,0CAAE,UAAU;YACrC,WAAW,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAI;;AACrD,gBAAA,IAAI,QAAO,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,WAAW,CAAA,KAAK,UAAU,EAAE;AACrD,oBAAA,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,CAAC;;gBAEjE,iBAAiB,CAAC,SAAS,CAAC;aAC5B;SACD,EAAA,CAAA,CACA;AACH;MAEa,oBAAoB,GAAG,CAAC,QAA8C,EAAE,aAAqB,KAAY;IACrH,IAAI,SAAS,GAAG,EAAE;AAElB,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;AAC5B,QAAA,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,KAAI;YAC5B,SAAS,IAAI,MAAM,GAAG,aAAa,GAAG,IAAI,GAAG,OAAO,GAAG,GAAG;AAC3D,SAAC,CAAC;;AAEH,IAAA,OAAO,SAAS;AACjB;;;;"}
1
+ {"version":3,"file":"variant-class-name-9qZ5egaq.js","sources":["src/schema/props/variant-class-name.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchOptions } from '../utils';\nimport { watchValidator } from '../utils';\nimport { isString } from '../validators';\n\nexport type VariantClassNamePropType = string | string[];\n\nexport type PropVariantClassName = {\n\tvariant: VariantClassNamePropType;\n};\n\nconst SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{3,60}$/;\nconst isValidArrayOrString = (value: unknown) =>\n\t(Array.isArray(value) && value.every(isSafeClassName)) || (isString(value, 1) && (value as string).split(' ').every(isSafeClassName));\nconst isSafeClassName = (value: unknown) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);\nconst SAFE_CLASS_NAME_ALLOWED = new Set([SAFE_CLASS_NAME_RE.source]);\n\nconst beforePatchString = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_variant')) {\n\t\tconst variants = component.nextState?.get('_variant');\n\t\tlet nextStateVariants: VariantClassNamePropType = [];\n\t\tif (isString(variants, 1)) {\n\t\t\tnextStateVariants = (variants as string).split(' ');\n\t\t} else if (Array.isArray(variants)) {\n\t\t\tnextStateVariants = variants;\n\t\t}\n\t\tcomponent.nextState?.set('_variant', nextStateVariants);\n\t}\n};\n\nexport const validateVariantClassName = (component: Generic.Element.Component, value?: VariantClassNamePropType, options: WatchOptions = {}): void => {\n\twatchValidator(component, '_variant', isValidArrayOrString, SAFE_CLASS_NAME_ALLOWED, value, {\n\t\t...options,\n\t\tdefaultValue: {},\n\t\thooks: {\n\t\t\tafterPatch: options.hooks?.afterPatch,\n\t\t\tbeforePatch: (nextValue, nextState, component, key) => {\n\t\t\t\tif (typeof options.hooks?.beforePatch === 'function') {\n\t\t\t\t\toptions.hooks?.beforePatch(nextValue, nextState, component, key);\n\t\t\t\t}\n\t\t\t\tbeforePatchString(component);\n\t\t\t},\n\t\t},\n\t});\n};\n\nexport const classNameFromVariant = (variants: VariantClassNamePropType | undefined, componentName: string): string => {\n\tlet className = '';\n\n\tif (Array.isArray(variants)) {\n\t\tvariants.forEach((variant) => {\n\t\t\tclassName += 'kol-' + componentName + '--' + variant + ' ';\n\t\t});\n\t}\n\treturn className;\n};\n"],"names":[],"mappings":";;;;;AAYA,MAAM,kBAAkB,GAAG,+BAA+B;AAC1D,MAAM,oBAAoB,GAAG,CAAC,KAAc,KAC3C,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,QAAQ,CAAC,KAAK,EAA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AAK,EAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACtF,OAAO,CACV,EAAA,EAAA,YAAY,EAAE,EAAE,EAChB,KAAK,EAAE;YACN,UAAU,EAAE,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,0CAAE,UAAU;YACrC,WAAW,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAI;;AACrD,gBAAA,IAAI,QAAO,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,WAAW,CAAA,KAAK,UAAU,EAAE;AACrD,oBAAA,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,CAAC;;gBAEjE,iBAAiB,CAAC,SAAS,CAAC;aAC5B;SACD,EAAA,CAAA,CACA;AACH;MAEa,oBAAoB,GAAG,CAAC,QAA8C,EAAE,aAAqB,KAAY;IACrH,IAAI,SAAS,GAAG,EAAE;AAElB,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;AAC5B,QAAA,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,KAAI;YAC5B,SAAS,IAAI,MAAM,GAAG,aAAa,GAAG,IAAI,GAAG,OAAO,GAAG,GAAG;AAC3D,SAAC,CAAC;;AAEH,IAAA,OAAO,SAAS;AACjB;;;;"}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as n,n as a}from"./normalizers-BNeak4hj.js";const o=["eager","lazy"];const s=new Set(o);const e=n("loading","lazy",(n=>a(n)),(n=>s.has(n)));const t=["block","inline"];const c=new Set(t);const i=n("variant","inline",(n=>a(n)),(n=>c.has(n)));export{e as l,i as v};
5
+ //# sourceMappingURL=variant-quote-ClYWonZq.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"variant-quote-CRKM9QG2.js","sources":["src/internal/props/loading.ts","src/internal/props/variant-quote.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Loading prop for lazy-loading behavior of embedded content\n *\n * Description:\n * The loading attribute controls when the browser should start fetching the resource.\n * Lazy loading defers loading of off-screen content until it is near the viewport,\n * improving initial page load performance.\n *\n * Usage (according to W3C HTML specification):\n * - \"lazy\": Defers loading until the element approaches the viewport\n * - \"eager\": Loads the resource immediately regardless of viewport position\n * - Default is \"lazy\" to optimize performance\n *\n * Accessibility:\n * - Lazy loading must not interfere with assistive technology access to content\n * - Content must be available when focused or navigated to via keyboard (WCAG 2.1.1 Keyboard)\n * - Ensure lazy-loaded content does not cause unexpected layout shifts (WCAG 2.3.3 Animation from Interactions)\n *\n * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-loading-attributes\n * @see https://www.w3.org/WAI/WCAG21/Understanding/keyboard.html\n */\nconst LOADING_OPTIONS = ['eager', 'lazy'] as const;\nexport type LoadingType = (typeof LOADING_OPTIONS)[number];\nexport type LoadingProp = SimpleProp<'loading', LoadingType>;\n\nconst LOADING_SET: ReadonlySet<string> = new Set(LOADING_OPTIONS);\n\nexport const loadingProp = createPropDefinition<LoadingProp>(\n\t'loading',\n\t'lazy',\n\t(value: unknown) => normalizeString(value) as LoadingType,\n\t(v) => LOADING_SET.has(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Variant prop for quotation display style\n *\n * Description:\n * Determines whether the quotation is rendered as a block-level (<blockquote>) or\n * inline (<q>) element. The choice affects both visual layout and semantic HTML structure.\n *\n * Usage (according to W3C HTML specification):\n * - \"block\": Renders as <blockquote> — for extended, standalone quotations from an external source\n * - \"inline\": Renders as <q> — for short inline quotations within flowing text (default)\n * - The browser automatically adds appropriate quotation marks around <q> elements\n * - Both elements support the cite attribute to reference the quotation source\n *\n * Accessibility:\n * - Semantic HTML elements (<blockquote>, <q>) help assistive technologies convey content structure\n * - The quotation structure must be programmatically determinable (WCAG 1.3.1 Info and Relationships)\n * - Block quotes are announced as distinct sections by screen readers\n *\n * @see https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element\n * @see https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-q-element\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n */\nconst QUOTE_VARIANT_OPTIONS = ['block', 'inline'] as const;\nexport type QuoteVariantType = (typeof QUOTE_VARIANT_OPTIONS)[number];\nexport type VariantQuoteProp = SimpleProp<'variant', QuoteVariantType>;\n\nconst QUOTE_VARIANT_SET: ReadonlySet<string> = new Set(QUOTE_VARIANT_OPTIONS);\n\nexport const variantQuoteProp = createPropDefinition<VariantQuoteProp>(\n\t'variant',\n\t'inline',\n\t(value: unknown) => normalizeString(value) as QuoteVariantType,\n\t(v) => QUOTE_VARIANT_SET.has(v),\n);\n"],"names":[],"mappings":";;;;;AAyBA,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,CAAU;AAIlD,MAAM,WAAW,GAAwB,IAAI,GAAG,CAAC,eAAe,CAAC;AAE1D,MAAM,WAAW,GAAG,oBAAoB,CAC9C,SAAS,EACT,MAAM,EACN,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAgB,EACzD,CAAC,CAAC,KAAK,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;;ACT1B,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU;AAI1D,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC,qBAAqB,CAAC;AAEtE,MAAM,gBAAgB,GAAG,oBAAoB,CACnD,SAAS,EACT,QAAQ,EACR,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAqB,EAC9D,CAAC,CAAC,KAAK,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"variant-quote-ClYWonZq.js","sources":["src/internal/props/loading.ts","src/internal/props/variant-quote.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Loading prop for lazy-loading behavior of embedded content\n *\n * Description:\n * The loading attribute controls when the browser should start fetching the resource.\n * Lazy loading defers loading of off-screen content until it is near the viewport,\n * improving initial page load performance.\n *\n * Usage (according to W3C HTML specification):\n * - \"lazy\": Defers loading until the element approaches the viewport\n * - \"eager\": Loads the resource immediately regardless of viewport position\n * - Default is \"lazy\" to optimize performance\n *\n * Accessibility:\n * - Lazy loading must not interfere with assistive technology access to content\n * - Content must be available when focused or navigated to via keyboard (WCAG 2.1.1 Keyboard)\n * - Ensure lazy-loaded content does not cause unexpected layout shifts (WCAG 2.3.3 Animation from Interactions)\n *\n * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-loading-attributes\n * @see https://www.w3.org/WAI/WCAG21/Understanding/keyboard.html\n */\nconst LOADING_OPTIONS = ['eager', 'lazy'] as const;\nexport type LoadingType = (typeof LOADING_OPTIONS)[number];\nexport type LoadingProp = SimpleProp<'loading', LoadingType>;\n\nconst LOADING_SET: ReadonlySet<string> = new Set(LOADING_OPTIONS);\n\nexport const loadingProp = createPropDefinition<LoadingProp>(\n\t'loading',\n\t'lazy',\n\t(value: unknown) => normalizeString(value) as LoadingType,\n\t(v) => LOADING_SET.has(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Variant prop for quotation display style\n *\n * Description:\n * Determines whether the quotation is rendered as a block-level (<blockquote>) or\n * inline (<q>) element. The choice affects both visual layout and semantic HTML structure.\n *\n * Usage (according to W3C HTML specification):\n * - \"block\": Renders as <blockquote> — for extended, standalone quotations from an external source\n * - \"inline\": Renders as <q> — for short inline quotations within flowing text (default)\n * - The browser automatically adds appropriate quotation marks around <q> elements\n * - Both elements support the cite attribute to reference the quotation source\n *\n * Accessibility:\n * - Semantic HTML elements (<blockquote>, <q>) help assistive technologies convey content structure\n * - The quotation structure must be programmatically determinable (WCAG 1.3.1 Info and Relationships)\n * - Block quotes are announced as distinct sections by screen readers\n *\n * @see https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element\n * @see https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-q-element\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n */\nconst QUOTE_VARIANT_OPTIONS = ['block', 'inline'] as const;\nexport type QuoteVariantType = (typeof QUOTE_VARIANT_OPTIONS)[number];\nexport type VariantQuoteProp = SimpleProp<'variant', QuoteVariantType>;\n\nconst QUOTE_VARIANT_SET: ReadonlySet<string> = new Set(QUOTE_VARIANT_OPTIONS);\n\nexport const variantQuoteProp = createPropDefinition<VariantQuoteProp>(\n\t'variant',\n\t'inline',\n\t(value: unknown) => normalizeString(value) as QuoteVariantType,\n\t(v) => QUOTE_VARIANT_SET.has(v),\n);\n"],"names":[],"mappings":";;;;;AAyBA,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,CAAU;AAIlD,MAAM,WAAW,GAAwB,IAAI,GAAG,CAAC,eAAe,CAAC;AAE1D,MAAM,WAAW,GAAG,oBAAoB,CAC9C,SAAS,EACT,MAAM,EACN,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAgB,EACzD,CAAC,CAAC,KAAK,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;;ACT1B,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU;AAI1D,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC,qBAAqB,CAAC;AAEtE,MAAM,gBAAgB,GAAG,oBAAoB,CACnD,SAAS,EACT,QAAQ,EACR,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAqB,EAC9D,CAAC,CAAC,KAAK,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;;;;"}
@@ -4,19 +4,15 @@ import type { FormFieldLabelInfoPopoverProps } from '../../components';
4
4
  export declare class KolInputColor implements ClickableElement, FocusableElement, InputColorAPI {
5
5
  protected readonly host?: HTMLKolInputColorElement;
6
6
  protected readonly ctaRef: import("../../utils/element-interaction").CtaRef<HTMLInputElement>;
7
- private refInputColor?;
8
- private readonly setColorRef;
9
7
  private readonly onBlur;
10
8
  private readonly onFocus;
11
9
  private readonly onColorInput;
12
- private readonly onTextInput;
13
10
  getValue(): Promise<string | undefined>;
14
11
  focus(options?: KolFocusOptions): Promise<void>;
15
12
  click(): Promise<void>;
16
13
  private get hasSuggestions();
17
14
  private getFormFieldProps;
18
15
  private getInputColorProps;
19
- private getInputTextProps;
20
16
  private getGenericInputProps;
21
17
  render(): JSX.Element;
22
18
  private readonly controller;
@@ -12,7 +12,7 @@ export declare class KolTableSettings {
12
12
  _horizontalHeaderCells: KoliBriTableHeaderCell[][];
13
13
  handleHeaderCellsChange(newValue: KoliBriTableHeaderCell[][]): void;
14
14
  componentWillLoad(): void;
15
- private popoverRef;
15
+ private dialogRef;
16
16
  private getPrimaryRow;
17
17
  private updatePrimaryRow;
18
18
  private moveColumn;
@@ -10,6 +10,10 @@ export type InternalPropValue<P extends Prop<string, unknown, unknown>> = NonNul
10
10
  export type ExtractPropKey<P extends Prop<string, unknown, unknown>> = Exclude<keyof P, keyof {
11
11
  __propInternal__: unknown;
12
12
  } | `__input_${string}`> extends infer K extends string ? K : never;
13
+ export type PropDefinitionOptions<T = unknown> = {
14
+ required?: boolean;
15
+ hints?: (propName: string, value: T) => void;
16
+ };
13
17
  export type PropDefinition<TInternal, P extends Prop<string, unknown, unknown> = Prop<string, unknown, TInternal>> = {
14
18
  readonly __phantomProp__?: P;
15
19
  readonly propName: string;
@@ -18,9 +22,7 @@ export type PropDefinition<TInternal, P extends Prop<string, unknown, unknown> =
18
22
  validate: (value: TInternal) => boolean;
19
23
  apply: (value: unknown, callback: (normalized: TInternal) => void) => void;
20
24
  };
21
- export declare function createPropDefinition<P extends Prop<string, unknown, unknown>, K extends ExtractPropKey<P> = ExtractPropKey<P>>(propName: K, defaultValue: InternalPropValue<P>, normalize: (value: unknown) => InternalPropValue<P> | never, validate?: (value: InternalPropValue<P>) => boolean, options?: {
22
- required?: boolean;
23
- }): PropDefinition<InternalPropValue<P>, P>;
25
+ export declare function createPropDefinition<P extends Prop<string, unknown, unknown>, K extends ExtractPropKey<P> = ExtractPropKey<P>>(propName: K, defaultValue: InternalPropValue<P>, normalize: (value: unknown) => InternalPropValue<P> | never, validate?: (value: InternalPropValue<P>) => boolean, options?: PropDefinitionOptions<InternalPropValue<P>>): PropDefinition<InternalPropValue<P>, P>;
24
26
  export type DependentPropDefinition<TInternal, TDeps, P extends Prop<string, unknown, unknown> = Prop<string, unknown, TInternal>> = {
25
27
  readonly __phantomProp__?: P;
26
28
  readonly propName: string;
@@ -29,4 +31,4 @@ export type DependentPropDefinition<TInternal, TDeps, P extends Prop<string, unk
29
31
  validate: (value: TInternal, deps: TDeps) => boolean;
30
32
  apply: (value: unknown, callback: (normalized: TInternal) => void, deps: TDeps) => void;
31
33
  };
32
- export declare function createDependentPropDefinition<P extends Prop<string, unknown, unknown>, TDeps = unknown>(propName: ExtractPropKey<P>, defaultValue: InternalPropValue<P>, normalize: (value: unknown, deps: TDeps) => InternalPropValue<P> | never, validate?: (value: InternalPropValue<P>, deps: TDeps) => boolean): DependentPropDefinition<InternalPropValue<P>, TDeps, P>;
34
+ export declare function createDependentPropDefinition<P extends Prop<string, unknown, unknown>, TDeps = unknown>(propName: ExtractPropKey<P>, defaultValue: InternalPropValue<P>, normalize: (value: unknown, deps: TDeps) => InternalPropValue<P> | never, validate?: (value: InternalPropValue<P>, deps: TDeps) => boolean, options?: PropDefinitionOptions<InternalPropValue<P>>): DependentPropDefinition<InternalPropValue<P>, TDeps, P>;
@@ -0,0 +1 @@
1
+ export * from './label-hints';
@@ -0,0 +1 @@
1
+ export declare function labelHints(_propName: string, value: string): void;
package/loader/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { defineCustomElements } from '../dist/types/loader';
1
+ export { defineCustomElements } from '../dist/loader';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/components",
3
- "version": "4.3.1-rc.4",
3
+ "version": "4.4.0-rc.0",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-DHGkVCC4.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>;\nexport const downloadProp = createPropDefinition<DownloadProp>('download', '', 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 type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeInteger } from './helpers/normalizers';\n\nexport type TabIndexProp = SimpleProp<'tabIndex', number>;\nexport const tabIndexProp = createPropDefinition<TabIndexProp>('tabIndex', 0, normalizeInteger);\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\tdownload: typeof download === 'string' && download.length > 0 ? 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","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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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;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,13 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- 'use strict';
5
-
6
- var normalizers = require('./normalizers-DFaq-Isv.js');
7
-
8
- const labelProp = normalizers.createPropDefinition('label', '', normalizers.normalizeString, (v) => v === '' || (v.length >= 2 && v.length <= 80));
9
-
10
- exports.labelProp = labelProp;
11
- //# sourceMappingURL=label-CvV5Nbsg.js.map
12
-
13
- //# sourceMappingURL=label-CvV5Nbsg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"label-CvV5Nbsg.js","sources":["src/internal/props/label.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Label prop for accessible names\n *\n * Description:\n * The label provides the accessible name for a component. It is announced by screen readers\n * and is essential for users who rely on assistive technology to understand the purpose of\n * interactive elements.\n *\n * Usage (according to WCAG 2.1 and WAI-ARIA):\n * - Every interactive element must have a perceivable label (WCAG 4.1.2 Name, Role, Value)\n * - Labels must be descriptive and concise (WCAG 2.4.6 Headings and Labels)\n * - Labels must be programmatically associated with their controls (WCAG 1.3.1 Info and Relationships)\n * - Minimum 2 characters, maximum 80 characters for meaningful, concise labels\n * - An empty label (\"\") is allowed for cases where the accessible name is provided differently\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/headings-and-labels.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n * @see https://www.w3.org/TR/accname-1.2/\n */\nexport type LabelProp = SimpleProp<'label', string>;\nexport const labelProp = createPropDefinition<LabelProp>('label', '', normalizeString, (v) => v === '' || (v.length >= 2 && v.length <= 80));\n"],"names":["createPropDefinition","normalizeString"],"mappings":";;;;;;;AAyBO,MAAM,SAAS,GAAGA,gCAAoB,CAAY,OAAO,EAAE,EAAE,EAAEC,2BAAe,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-oWROUiYq.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>;\nexport const downloadProp = createPropDefinition<DownloadProp>('download', '', 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 type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeInteger } from './helpers/normalizers';\n\nexport type TabIndexProp = SimpleProp<'tabIndex', number>;\nexport const tabIndexProp = createPropDefinition<TabIndexProp>('tabIndex', 0, normalizeInteger);\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\tdownload: typeof download === 'string' && download.length > 0 ? 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":[],"mappings":";;;;;;;;;;;;;;;;;;AAKO,MAAM,aAAa,GAAG,oBAAoB,CAAgB,WAAW,EAAE,EAAE,EAAE,eAAe;;ACA1F,MAAM,gBAAgB,GAAG,oBAAoB,CAAmB,cAAc,EAAE,EAAE,EAAE,eAAe;;ACGnG,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAU;AAYhH,SAAS,yBAAyB,CAAC,KAA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ACE,EACH,SAAS,KAAK,IAAI,IAAI,CAAC,UAAU,KACjC,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,mBAAmB,EAAA,EAC7B,CAAA,CAAC,SAAS,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,KACtB,CAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAC,iBAAiB,EAAC,EAAE,EAAE,iBAAiB,IACjD,sBAAsB,CACjB,CACP,CACc;AAElB;;;;"}
@@ -1,11 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { c as createPropDefinition, n as normalizeString } from './normalizers-DWPxOTIP.js';
5
-
6
- const labelProp = createPropDefinition('label', '', normalizeString, (v) => v === '' || (v.length >= 2 && v.length <= 80));
7
-
8
- export { labelProp as l };
9
- //# sourceMappingURL=label-BE6oW-7F.js.map
10
-
11
- //# sourceMappingURL=label-BE6oW-7F.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"label-BE6oW-7F.js","sources":["src/internal/props/label.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Label prop for accessible names\n *\n * Description:\n * The label provides the accessible name for a component. It is announced by screen readers\n * and is essential for users who rely on assistive technology to understand the purpose of\n * interactive elements.\n *\n * Usage (according to WCAG 2.1 and WAI-ARIA):\n * - Every interactive element must have a perceivable label (WCAG 4.1.2 Name, Role, Value)\n * - Labels must be descriptive and concise (WCAG 2.4.6 Headings and Labels)\n * - Labels must be programmatically associated with their controls (WCAG 1.3.1 Info and Relationships)\n * - Minimum 2 characters, maximum 80 characters for meaningful, concise labels\n * - An empty label (\"\") is allowed for cases where the accessible name is provided differently\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/headings-and-labels.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n * @see https://www.w3.org/TR/accname-1.2/\n */\nexport type LabelProp = SimpleProp<'label', string>;\nexport const labelProp = createPropDefinition<LabelProp>('label', '', normalizeString, (v) => v === '' || (v.length >= 2 && v.length <= 80));\n"],"names":[],"mappings":";;;;;AAyBO,MAAM,SAAS,GAAG,oBAAoB,CAAY,OAAO,EAAE,EAAE,EAAE,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC;;;;"}
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as o}from"./index-CLHqy-2_.js";import{c as s}from"./clsx-COFh-Vc8.js";const e=({disabled:e,index:n,ref:i,selected:t,onClick:r,onMouseOver:u,onFocus:l,onKeyDown:d,option:c,searchTerm:a})=>{const g=(s,e)=>{if(!(e===null||e===void 0?void 0:e.trim()))return s;const n=new RegExp(`(${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi");const i=s.split(n);return i.map(((s,e)=>e%2===1?o("mark",null,s):s))};return o("li",{id:`option-${n}`,key:`-${n}`,ref:i,"data-index":n,tabIndex:-1,role:"option","aria-selected":t?"true":undefined,"aria-disabled":e?"true":undefined,onClick:r,onMouseOver:u,onFocus:l,class:s("kol-custom-suggestions-option",{"kol-custom-suggestions-option--disabled":e}),onKeyDown:d},o("span",null,g(String(c),a||"")))};const n=({blockSuggestionMouseOver:e,onKeyDown:n,style:i,hidden:t,id:r},u)=>o("ul",{id:r,role:"listbox",style:i,class:s("kol-custom-suggestions-options-group",{"kol-custom-suggestions-options-group--cursor-hidden":e,"kol-custom-suggestions-options-group--open":!t}),hidden:t,onKeyDown:n},u);export{n as C,e as a};
5
- //# sourceMappingURL=CustomSuggestionsOptionsGroup-uIBVxXva.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as l,F as e}from"./index-CLHqy-2_.js";import{B as i}from"./base-web-component-D909Fl-Y.js";import{T as t}from"./behavior-Ctzwvpyr.js";import{T as n}from"./component-Dk2wt0bc.js";import"./common-noYAs-wc.js";import{b as s,s as r}from"./component-DxelloF0.js";import{K as a,b as d,g as c,i as f}from"./FormFieldStateWrapper-ClHy49ac.js";import{c as p}from"./clsx-COFh-Vc8.js";import{a as b}from"./dev.utils-CiiFii6l.js";const m=new Map;const u=o=>{const l=m.get(o);if(l){return l}const e=new t(i.stateLess);e.componentWillLoad({label:""});m.set(o,e);return e};const v=o=>{const l=m.get(o);if(l){l.destroy();m.delete(o)}};const h=(e,i)=>{var{class:t}=e,n=o(e,["class"]);return l("div",Object.assign({class:p("kol-field-control__input",t)},n),i)};const j=(i,t)=>{const{class:m,id:j,disabled:y,label:g,hideLabel:k,labelAlign:C,renderNoTooltip:P,hint:_,infoPopover:F,renderNoHint:B,accessKey:K,shortKey:O,msg:N,touched:T,required:w,readonly:x,tooltipAlign:A,tooltipFloatingRef:H,fieldControlInputProps:L,fieldControlLabelProps:q,fieldControlTooltipProps:D,fieldControlHintProps:I}=i,R=o(i,["class","id","disabled","label","hideLabel","labelAlign","renderNoTooltip","hint","infoPopover","renderNoHint","accessKey","shortKey","msg","touched","required","readonly","tooltipAlign","tooltipFloatingRef","fieldControlInputProps","fieldControlLabelProps","fieldControlTooltipProps","fieldControlHintProps"]);const S=!B;const Y=!P;const $=r(g);const z=Y&&!$&&k;const E=s(K,O);const M=b(j,"label");const Q=z?u(j):undefined;if(Q){Q.watchAlign(A);Q.watchBadgeText(E||"");Q.watchId(M);Q.watchLabel(g)}else{v(j)}const V=L===null||L===void 0?void 0:L.ref;const W=o=>{V===null||V===void 0?void 0:V(o);if(Q&&o){Q.initContext(o);Q.syncListeners(undefined,o,true)}};const G=[l(e,null,l(h,Object.assign({},L,{ref:W}),t),z&&l("div",{class:p("kol-form-field__tooltip",D===null||D===void 0?void 0:D.class)},l(n,{badgeText:E||"",label:g,align:A,id:M,refFloating:H!==null&&H!==void 0?H:o=>{Q===null||Q===void 0?void 0:Q.setTooltipElementRef(o)}}))),l(a,Object.assign({},q||{},{id:j,baseClassName:"kol-field-control",class:p(q===null||q===void 0?void 0:q.class,{["kol-field-control__label--visually-hidden"]:Boolean(k)}),hasExpertSlot:$,label:g,accessKey:K,shortKey:O,infoPopover:F}))];if(C==="left"){G.reverse()}const J={["kol-field-control--disabled"]:Boolean(y),["kol-field-control--required"]:Boolean(w),["kol-field-control--touched"]:Boolean(T),["kol-field-control--hide-label"]:Boolean(k),["kol-field-control--read-only"]:Boolean(x),[`kol-field-control--${c(N)}`]:Boolean(f(N,T)),[`kol-field-control--label-align-${C}`]:Boolean(C)};return l("div",Object.assign({class:p("kol-field-control",J,m)},R),G,S&&l(d,Object.assign({},I||{},{baseClassName:"kol-field-control",id:j,hint:_})))};function y(o){const l={id:o._id,disabled:o._disabled,msg:o._msg,hint:o._hint,label:o._label,hideLabel:o._hideLabel,touched:o._touched};if("_required"in o){l.required=o._required}if("_readOnly"in o){l.readonly=o._readOnly}if("_labelAlign"in o){l.labelAlign=o._labelAlign}if("_accessKey"in o){l.accessKey=o._accessKey}if("_shortKey"in o){l.shortKey=o._shortKey}return l}const g=(e,i)=>{var{state:t}=e,n=o(e,["state"]);return l(j,Object.assign({},y(t),n),i)};export{g as F};
5
- //# sourceMappingURL=FieldControlStateWrapper-B5wxkm5C.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{e as t,g as e,p as i,o as s,b as o,G as n,i as r,s as a,k as l}from"./common-noYAs-wc.js";import{A as d,v as h,a as c,b as f}from"./associated.controller-DSw2jkQs.js";import{v as u}from"./disabled-DVZ7p0bI.js";import{v as p}from"./hide-label-LlZnbrzc.js";import{a as m}from"./label-lhyZhbiM.js";import{v}from"./tooltip-align-DWAWPZn0.js";import{v as b,c as y}from"./variant-class-name-B0Wpr2i8.js";import{d as g,K as _}from"./events-BhfZTW2e.js";import{v as j}from"./access-and-short-key-ijzCZfHm.js";import{a as B}from"./tslib.es6-QNbPBOk5.js";import{h as O}from"./index-CLHqy-2_.js";import{t as k}from"./i18n-CrXMv0tS.js";import{B as L}from"./base-web-component-D909Fl-Y.js";import{T as x}from"./behavior-Ctzwvpyr.js";import{T as C}from"./component-Dk2wt0bc.js";import{S as F,b as P,s as K}from"./component-DxelloF0.js";import{c as w}from"./clsx-COFh-Vc8.js";import{a as D}from"./dev.utils-CiiFii6l.js";import{f as M}from"./component-names-BGnhDM7F.js";import{K as T}from"./Alert-BUOtAOEU.js";const H=(e,i)=>{t(e,"_adjustHeight",i)};const N=(e,i,s)=>{t(e,"_hideMsg",i,s)};const S=(t,i)=>{e(t,"_hint",i)};const A=(t,e)=>{s(e,(()=>{try{e=i(e)}catch(t){}o(t,`_msg`,(t=>{if(t===undefined){return true}if(typeof t==="string"&&t.length>0){return true}if(n(t)&&t!==null){const e=t._description;return r(e,1)}return false}),new Set(["MsgPropType","string"]),e)}))};function I(t,e){return Boolean(t)&&e===true}function q(t){if(typeof t==="string"){try{return i(t)}catch(e){return{_description:t,_type:"error"}}}if(t&&typeof t==="object"&&!("_type"in t)){return Object.assign(Object.assign({},t),{_type:"error"})}return t}function E(t){var e;if(typeof t==="string"){return"error"}return(e=t===null||t===void 0?void 0:t._type)!==null&&e!==void 0?e:"error"}const W=(e,i)=>{t(e,"_touched",i)};class Z extends d{constructor(t,e,i){super(t,e,i);this.component=t}validateTouched(t){W(this.component,t)}componentWillLoad(){super.componentWillLoad();this.validateTouched(this.component._touched)}}class $ extends Z{constructor(t,e,i){super(t,e,i);this.valueChangeListeners=[];this.inputHasFocus=false;this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onKeyDown:this.onKeyDown.bind(this)};this.component=t}validateAccessKey(t){h(this.component,t);j(t,this.component._shortKey)}validateAdjustHeight(t){H(this.component,t)}validateDisabled(t){u(this.component,t)}validateTooltipAlign(t){v(this.component,t)}validateHideMsg(t){N(this.component,t,{hooks:{afterPatch:()=>{if(this.component.state._hideMsg){l("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}}})}validateHideLabel(t){p(this.component,t,{hooks:{afterPatch:()=>{if(this.component.state._hideLabel){l("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}}})}validateHint(t){S(this.component,t)}validateLabel(t){m(this.component,t,{required:true})}validateMsg(t){A(this.component,t)}validateOn(t){if(typeof t==="object"){a(this.component,"_on",t)}}validateShortKey(t){c(this.component,t);j(this.component._accessKey,t)}validateSmartButton(t){s(t,(()=>{try{t=i(t)}catch(t){}a(this.component,"_smartButton",t)}))}validateTabIndex(t){f(this.component,t)}validateVariant(t){b(this.component,t)}componentWillLoad(){super.componentWillLoad();this.validateAccessKey(this.component._accessKey);this.validateAdjustHeight(this.component._adjustHeight);this.validateMsg(this.component._msg);this.validateDisabled(this.component._disabled);this.validateHideMsg(this.component._hideMsg);this.validateHideLabel(this.component._hideLabel);this.validateHint(this.component._hint);this.validateLabel(this.component._label);this.validateShortKey(this.component._shortKey);this.validateSmartButton(this.component._smartButton);this.validateOn(this.component._on);this.validateTabIndex(this.component._tabIndex);this.validateVariant(this.component._variant);j(this.component._accessKey,this.component._shortKey)}emitEvent(t,e){if(this.host){g(this.host,t,e)}}onChange(t,e){var i;t.stopPropagation();if(typeof e==="undefined"){e=t.target.value}this.emitEvent(_.change,e);if(typeof((i=this.component._on)===null||i===void 0?void 0:i.onChange)==="function"){this.component._on.onChange(t,e)}this.valueChangeListeners.forEach((t=>t(e)))}onInput(t,e=true,i){var s;t.stopPropagation();if(typeof i==="undefined"){i=t.target.value}this.emitEvent(_.input,i);if(e){this.setFormAssociatedValue(i)}if(typeof((s=this.component._on)===null||s===void 0?void 0:s.onInput)==="function"){this.component._on.onInput(t,i)}}onClick(t){var e;this.emitEvent(_.click);if(typeof((e=this.component._on)===null||e===void 0?void 0:e.onClick)==="function"){this.component._on.onClick(t)}}onFocus(t){var e;if(!this.inputHasFocus){this.emitEvent(_.focus);if(typeof((e=this.component._on)===null||e===void 0?void 0:e.onFocus)==="function"){this.component._on.onFocus(t)}this.inputHasFocus=true}}onBlur(t){var e,i;if(this.component._disabled){return}const s=((e=this.host)===null||e===void 0?void 0:e.shadowRoot)||this.host;const o=(s===null||s===void 0?void 0:s.contains(t.relatedTarget))||this.host===t.relatedTarget;if(this.inputHasFocus&&!o){this.component._touched=true;this.emitEvent(_.blur);if(typeof((i=this.component._on)===null||i===void 0?void 0:i.onBlur)==="function"){this.component._on.onBlur(t)}this.inputHasFocus=false}}onKeyDown(t){var e;this.emitEvent(_.keydown);if(typeof((e=this.component._on)===null||e===void 0?void 0:e.onKeyDown)==="function"){this.component._on.onKeyDown(t)}}addValueChangeListener(t){this.valueChangeListeners.push(t)}hasSoftCharacterLimit(){return typeof this.component.state._maxLength==="number"&&this.component.state._maxLengthBehavior==="soft"}hasCounter(){return this.component.state._hasCounter===true}}function z({ariaDescribedBy:t,hideLabel:e,label:i}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(t===null||t===void 0?void 0:t.length)?t.join(" "):undefined,"aria-label":e&&i?i:undefined}}const R=t=>{const e=t._msg;const i=typeof e==="string"?e:e===null||e===void 0?void 0:e._description;const s=E(e);const o=Boolean(i&&i.length>0);const n=s==="error"&&o;const r=n&&t._touched===true;const a=typeof t._hint==="string"&&t._hint.length>0;const l=[];if(o&&!t._hideMsg){l.push(D(t._id,"msg"))}if(a===true){l.push(D(t._id,"hint"))}if(r===true){l.push(D(t._id,"error"))}return{hasError:r,hasHint:a,ariaDescribedBy:l}};const V=t=>{var{id:e,class:i,hint:s,baseClassName:o="kol-form-field"}=t,n=B(t,["id","class","hint","baseClassName"]);if(!s){return null}return O("span",Object.assign({class:w(`${o}__hint`,i),id:D(e||"","hint")},n),s)};const G=t=>{var{component:e="label",id:i,baseClassName:s="kol-form-field",class:o,accessKey:n,shortKey:r,label:a,hideLabel:l,hasExpertSlot:d,showBadge:h=true,readOnly:c,infoPopover:f}=t,u=B(t,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge","readOnly","infoPopover"]);const p=!d&&l;const m=k("kol-readonly");const v=h===false?undefined:P(n,r);return O(e,Object.assign({},u,{class:w(`${s}__label`,o),id:!p?D(i,"label"):undefined,hidden:p,htmlFor:i}),O(F,{class:`${s}__label-text`,label:d?"":a!==null&&a!==void 0?a:"",badgeText:v},O("slot",{name:"expert"})),!d&&c&&O("span",{class:`${s}__label__read-only`,"aria-hidden":"true"},"(",m,")"),!d&&f&&O(M,Object.assign({_variant:"ghost"},f,{_hideLabel:true,_inline:true}),O("div",{class:"kol-popover-button__popover--styled"},f._content)))};const Q=t=>{var e,i;var{alert:s,msg:o,id:n,class:r}=t,a=B(t,["alert","msg","id","class"]);const l=q(o);return O(T,Object.assign({id:D(n,"msg"),alert:(e=l===null||l===void 0?void 0:l._alert)!==null&&e!==void 0?e:s,hasCloser:false,level:0,type:(i=l===null||l===void 0?void 0:l._type)!==null&&i!==void 0?i:"error",variant:"msg",class:w("kol-form-field__msg",r)},a),(l===null||l===void 0?void 0:l._description)||undefined)};const U=new Map;const Y=t=>{const e=U.get(t);if(e){return e}const i=new x(L.stateLess);i.componentWillLoad({label:""});U.set(t,i);return i};const X=t=>{const e=U.get(t);if(e){e.destroy();U.delete(t)}};function J(t){if(t===null||t===void 0?void 0:t.type){return{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[t===null||t===void 0?void 0:t.type]||""}return""}const tt=(t,e)=>{var{class:i}=t,s=B(t,["class"]);return O("div",Object.assign({class:w("kol-form-field__input",i)},s),e)};const et=(t,e)=>{const{component:i="div",renderNoLabel:s,renderNoTooltip:o,renderNoHint:n,anotherChildren:r,id:a,required:l,alert:d,disabled:h,class:c,msg:f,hideMsg:u,hideLabel:p,label:m,infoPopover:v,hint:b,accessKey:g,shortKey:_,counter:j,readOnly:L,touched:x,maxLength:F,ariaDescribedBy:M,showBadge:T,tooltipAlign:H,tooltipFloatingRef:N,variant:S,formFieldLabelProps:A,formFieldHintProps:q,formFieldTooltipProps:W,formFieldMsgProps:Z,formFieldInputProps:$}=t,z=B(t,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","tooltipFloatingRef","variant","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldInputProps"]);const R=!s;const U=!n;const et=!o;const it=K(m);const st=I(f,x);const ot=P(g,_);const nt=et&&!it&&p;const rt=D(a,"label");const at=nt?Y(a):undefined;if(at){at.watchAlign(H);at.watchBadgeText(ot||"");at.watchId(rt);at.watchLabel(m)}else{X(a)}const lt=$===null||$===void 0?void 0:$.ref;const dt=t=>{lt===null||lt===void 0?void 0:lt(t);if(at&&t){at.initContext(t);at.syncListeners(undefined,t,true)}};let ht={["kol-form-field--disabled"]:Boolean(h),["kol-form-field--required"]:Boolean(l),["kol-form-field--touched"]:Boolean(x),["kol-form-field--hide-label"]:Boolean(p),["kol-form-field--read-only"]:Boolean(L),["kol-form-field--hidden-msg"]:Boolean(u)};if(S){ht=Object.assign(Object.assign({},ht),{[y(S,"form-field")]:true})}if(st){const t=E(f);ht=Object.assign(Object.assign({},ht),{[`kol-form-field--${t}`]:true,[`kol-form-field--${J({type:t})}`]:true})}return O(i,Object.assign({class:w("kol-form-field",ht,c),"aria-describedby":M},z),R&&O(G,Object.assign({},A||{},{id:a,hasExpertSlot:it,hideLabel:p,label:m,accessKey:g,shortKey:_,readOnly:L,showBadge:T,infoPopover:v})),O(tt,Object.assign({},$,{ref:dt}),e,nt&&p===true&&O("div",{class:w("kol-form-field__tooltip",W===null||W===void 0?void 0:W.class)},O(C,{badgeText:ot||"",label:m,align:H,id:rt,refFloating:N!==null&&N!==void 0?N:t=>{at===null||at===void 0?void 0:at.setTooltipElementRef(t)}}))),j&&!(j.maxLengthBehavior==="soft"&&typeof j.maxLength!=="number")&&O("div",{class:"kol-form-field__counter"},O("span",{"data-testid":"input-counter","aria-hidden":"true",class:"kol-form-field__counter",ref:j.visualRef}),O("span",{"aria-live":"polite",class:"visually-hidden","data-testid":"input-counter-aria",id:D(a,"counter"),ref:j.ariaRef})),st&&!u&&O(Q,Object.assign({},Z||{},{id:a,alert:d,msg:f})),U&&O(V,Object.assign({},q||{},{id:a,hint:b})),r,typeof F==="number"&&!j&&O("span",{id:D(a,"character-limit-hint"),class:"visually-hidden"},k("kol-character-limit-hint",{placeholders:{limit:String(F)}})))};function it(t,e){const i={id:t._id,disabled:t._disabled,msg:t._msg,hint:t._hint,label:t._label,hideLabel:t._hideLabel,hideMsg:t._hideMsg,touched:t._touched,showBadge:"_accessKey"in t&&Boolean(t._accessKey)||"_shortKey"in t&&Boolean(t._shortKey)};if("_required"in t){i.required=t._required}if("_readOnly"in t){i.readOnly=t._readOnly}if("_accessKey"in t){i.accessKey=t._accessKey}if("_shortKey"in t){i.shortKey=t._shortKey}if("_maxLength"in t){i.maxLength=t._maxLength}if("_hasCounter"in t&&t._hasCounter===true){i.counter=Object.assign({maxLength:"_maxLength"in t?t._maxLength:undefined,maxLengthBehavior:("_maxLengthBehavior"in t?t._maxLengthBehavior:undefined)||"hard"},e)}if("_variant"in t){i.variant=t._variant}return i}const st=(t,e)=>{var{state:i,counterRefs:s}=t,o=B(t,["state","counterRefs"]);const{ariaDescribedBy:n}=R(i);const r=o.component==="fieldset"||"_options"in i&&"_orientation"in i;const a=r&&n.length>0?n.join(" "):undefined;const l=it(i,s);return O(et,Object.assign({},l,o,{ariaDescribedBy:a}),e)};export{st as F,$ as I,G as K,R as a,V as b,z as c,E as g,I as i};
5
- //# sourceMappingURL=FormFieldStateWrapper-ClHy49ac.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as s,F as i}from"./index-CLHqy-2_.js";import"./common-noYAs-wc.js";import{i as o,c as a,g as l}from"./FormFieldStateWrapper-ClHy49ac.js";import{c as t}from"./clsx-COFh-Vc8.js";import{a as r}from"./dev.utils-CiiFii6l.js";const d=d=>{const{class:n,msg:c,required:u,disabled:b,touched:p,readonly:m,ariaDescribedBy:y,hideLabel:j,label:g,suggestions:B,value:f}=d,h=e(d,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]);const k={["kol-input--disabled"]:Boolean(b),["kol-input--required"]:Boolean(u),["kol-input--touched"]:Boolean(p),["kol-input--readonly"]:Boolean(m),[`kol-input--${l(c)}`]:o(c,p)};const q=Object.assign(Object.assign({class:t("kol-input",k,n),required:u,disabled:b,readonly:m,type:"text",list:B&&typeof h.id==="string"?r(h.id,"list"):undefined},a({ariaDescribedBy:y,hideLabel:j,label:g})),h);return s(i,null,s("input",Object.assign({},q,{value:f})),B)};export{d as I};
5
- //# sourceMappingURL=Input-Us8iV6NH.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as i}from"./tslib.es6-QNbPBOk5.js";import{h as e}from"./index-CLHqy-2_.js";import{I as t}from"./Input-Us8iV6NH.js";import{a as n}from"./dev.utils-CiiFii6l.js";import{a as s}from"./FormFieldStateWrapper-ClHy49ac.js";const a=t=>{var{id:s,suggestions:a}=t,r=i(t,["id","suggestions"]);if(!a){return null}return e("datalist",Object.assign({id:n(s,"list")},r),a.map((i=>e("option",{value:i}))))};function r(i,t,n){var r;const o=s(i);const f=[...o.ariaDescribedBy,...(r=t.ariaDescribedBy)!==null&&r!==void 0?r:[]];const l={id:i._id,hideLabel:i._hideLabel,label:i._label,disabled:i._disabled,name:i._name};if("_accessKey"in i)l.accessKey=i._accessKey;if("_type"in i)l.type=i._type;if("_value"in i)l.value=i._value;if("_required"in i)l.required=i._required;if("_maxLength"in i&&"_maxLengthBehavior"in i&&i._maxLengthBehavior==="hard")l.maxlength=i._maxLength;if("_placeholder"in i)l.placeholder=i._placeholder;if("_autoComplete"in i)l.autoComplete=i._autoComplete;if("_spellCheck"in i)l.spellcheck=i._spellCheck;if("_pattern"in i)l.pattern=i._pattern;if("_readOnly"in i)l.readonly=i._readOnly;if("_min"in i)l.min=i._min;if("_max"in i)l.max=i._max;if("_step"in i)l.step=i._step;if("_multiple"in i)l.multiple=i._multiple;if("_checked"in i)l.checked=i._checked;if("_indeterminate"in i)l.indeterminate=i._indeterminate;if("_touched"in i)l.touched=i._touched;if("_msg"in i)l.msg=i._msg;if("_shortKey"in i)l["aria-keyshortcuts"]=i._shortKey;if("_suggestions"in i&&!n){const t=Array.isArray(i._suggestions)&&i._suggestions.length>0;if(t){l.suggestions=e(a,{id:i._id,suggestions:i._suggestions})}}return Object.assign(Object.assign(Object.assign({},l),t),{ariaDescribedBy:f,"aria-invalid":o.hasError?"true":undefined})}const o=n=>{var{state:s,customSuggestions:a}=n,o=i(n,["state","customSuggestions"]);return e(t,Object.assign({},r(s,o,a)))};export{o as I,a as S};
5
- //# sourceMappingURL=InputStateWrapper-CxmgEntV.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{b as t}from"./common-noYAs-wc.js";const o=(o,s,n)=>{t(o,s,(t=>typeof t==="string"&&a.includes(t)),new Set(a),n,{defaultValue:"top"})};const s=["left","right"];const n=["top","bottom"];const a=[...s,...n];const c=(t,s)=>{o(t,"_align",s)};export{a,o as b,c as v};
5
- //# sourceMappingURL=align-BNmcYY75.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{L as o,d as t,w as a}from"./common-noYAs-wc.js";import{a as s}from"./index-CLHqy-2_.js";var n=()=>{s((o=>{try{if(o.shadowRoot instanceof ShadowRoot){t(o,a(o))}}catch(o){}return"default"}));import("./devtools-BQLYa7H7.js").then((o=>{if(typeof o==="object"&&o!==null&&typeof o.initialize==="function"){o.initialize()}})).catch((t=>{o.error(t)}))};const r=n;export{r as g};
5
- //# sourceMappingURL=app-globals-B-1exqqn.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{r as t}from"./aria-labelledby-6-ki3akM.js";import{b as e,L as n}from"./common-noYAs-wc.js";const o=(o,r,a,s)=>{e(o,"_ariaDetails",(t=>typeof t==="string"||typeof t==="undefined"),new Set(["string"]),s);const i=t(r,s);if(a){try{a.ariaDetailsElements=i}catch(t){}n.debug(["WebComponent internals",a])}return i};export{o as v};
5
- //# sourceMappingURL=aria-details-o1tujJRX.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{r as e}from"./aria-labelledby-6-ki3akM.js";import{b as t,L as n}from"./common-noYAs-wc.js";const o=(o,r,a,s)=>{t(o,"_ariaLabelledby",(e=>typeof e==="string"||typeof e==="undefined"),new Set(["string"]),s);const i=e(r,s);if(a){try{a.ariaLabelledByElements=i}catch(e){}n.debug(["WebComponent internals",a])}return i};export{o as v};
5
- //# sourceMappingURL=aria-labelledby-CuNgjL1c.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as i,b as t}from"./align-floating-elements-CONjGoNm.js";import{z as s}from"./common-noYAs-wc.js";import{t as h,a as e}from"./tooltip-open-tracking-D3tCiiGP.js";import{c as o,n}from"./normalizers-DWPxOTIP.js";import{a as r}from"./align-BNmcYY75.js";import{l as a}from"./label-BE6oW-7F.js";import"./variant-quote-CRKM9QG2.js";import{b as l}from"./base-web-component-D909Fl-Y.js";const f=o("align","top",(i=>{const t=n(i);if(r.includes(t)){return t}throw new Error(`Invalid align value: ${t}`)}),(i=>r.includes(i)));const c=o("badgeText","",n);const u=o("id","",n);const d=new Set;let m=null;function p(i){if(m!==i){if(m){m.style.setProperty("z-index","999")}d.delete(i);d.add(i);i.style.setProperty("z-index","1000");m=i}}function w(i){if(!d.delete(i)){return}if(m===i){m=null;for(const i of d){m=i}if(m){m.style.setProperty("z-index","1000")}}}class g{constructor(i,t){this.setState=i.setState;this.getState=i.getState;this.renderProps=l(t)}setRenderProp(i,t){this.renderProps[i]=t}getRenderProp(i){return this.renderProps[i]}}const T={required:[a],optional:[f,c,u]};class v extends g{constructor(i){super(i,T);this.hasFocusIn=false;this.hasMouseIn=false;this.isHiddenForCurrentVisit=false;this.setTooltipElementRef=i=>{this.tooltipElement=i;if(this.tooltipElement){this.addListeners(this.tooltipElement)}};this.hideTooltipByEscape=i=>{if(i.key==="Escape"){i.stopPropagation();i.preventDefault();this.hideTooltip()}};this.handleMouseEnter=()=>{const i=this.isNewVisit();this.hasMouseIn=true;if(i){this.isHiddenForCurrentVisit=false}this.showOrHideTooltip()};this.handleMouseLeave=()=>{this.hasMouseIn=false;this.resetHideFlag();this.showOrHideTooltip()};this.handleFocusIn=()=>{const i=this.isNewVisit();this.hasFocusIn=true;if(i){this.isHiddenForCurrentVisit=false}this.showOrHideTooltip()};this.handleFocusOut=()=>{this.hasFocusIn=false;this.resetHideFlag();this.showOrHideTooltip()}}componentWillLoad(i){this.watchLabel(i.label);this.watchAlign(i.align);this.watchBadgeText(i.badgeText);this.watchId(i.id)}watchLabel(i){a.apply(i,(i=>{this.setRenderProp("label",i)}))}watchAlign(i){f.apply(i,(i=>{this.setRenderProp("align",i)}))}watchBadgeText(i){c.apply(i,(i=>{this.setRenderProp("badgeText",i)}))}watchId(i){u.apply(i,(i=>{this.setRenderProp("id",i)}))}initContext(i){this.previousSibling=i}syncListeners(i,t,s=false){if(i){this.removeListeners(i)}if(t){if(s){this.previousSibling=t}this.addListeners(t)}}handleEventListeners(i){const t=i.previousElementSibling;this.syncListeners(this.previousSibling,t,true)}hideTooltip(){this.isHiddenForCurrentVisit=true;if(this.tooltipElement){w(this.tooltipElement);h();this.tooltipElement.classList.remove("show");this.tooltipElement.classList.add("hide");this.tooltipElement.addEventListener("animationend",(()=>{var i;if((i=this.tooltipElement)===null||i===void 0?void 0:i.classList.contains("hide")){this.tooltipElement.style.removeProperty("display")}}),{once:true});if(this.cleanupAutoPositioning){this.cleanupAutoPositioning();this.cleanupAutoPositioning=undefined}}s().removeEventListener("keyup",this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout);if(this.previousSibling){this.removeListeners(this.previousSibling);this.previousSibling=undefined}if(this.tooltipElement){this.removeListeners(this.tooltipElement)}if(this.cleanupAutoPositioning){this.cleanupAutoPositioning();this.cleanupAutoPositioning=undefined}s().removeEventListener("keyup",this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){if(this.isNewVisit()){this.isHiddenForCurrentVisit=false}}async alignTooltip(){if(this.tooltipElement&&this.previousSibling){await i({align:this.getRenderProp("align"),arrowElement:this.tooltipElement.querySelector(".kol-tooltip__arrow"),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}}showTooltip(){if(this.isHiddenForCurrentVisit){return}if(this.previousSibling&&this.tooltipElement){p(this.tooltipElement);e();this.tooltipElement.classList.remove("hide");this.tooltipElement.classList.add("show");this.tooltipElement.style.setProperty("display","block");s().addEventListener("keydown",this.hideTooltipByEscape,{once:true});const i=this.previousSibling;const h=this.tooltipElement;this.cleanupAutoPositioning=t(i,h,(()=>{void this.alignTooltip()}))}}showOrHideTooltip(){clearTimeout(this.overFocusTimeout);this.overFocusTimeout=setTimeout((()=>{if(this.hasMouseIn||this.hasFocusIn){this.showTooltip()}else{this.hideTooltip()}}),300)}addListeners(i){i.addEventListener("mouseover",this.handleMouseEnter);i.addEventListener("mouseout",this.handleMouseLeave);i.addEventListener("focusin",this.handleFocusIn);i.addEventListener("focusout",this.handleFocusOut)}removeListeners(i){i.removeEventListener("mouseover",this.handleMouseEnter);i.removeEventListener("mouseout",this.handleMouseLeave);i.removeEventListener("focusin",this.handleFocusIn);i.removeEventListener("focusout",this.handleFocusOut)}}export{v as T};
5
- //# sourceMappingURL=behavior-Ctzwvpyr.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{t as o,u as n,L as s}from"./common-noYAs-wc.js";import{s as i}from"./component-names-BGnhDM7F.js";import{i as e}from"./i18n-C73LqPIs.js";let d=false;let t;const a=async(a,l,r)=>{var v,c;const u=typeof process!=="undefined"&&process.env?"production":undefined;o((r===null||r===void 0?void 0:r.environment)||u||"production");e((c=(v=r===null||r===void 0?void 0:r.translation)===null||v===void 0?void 0:v.name)!==null&&c!==void 0?c:"de",r===null||r===void 0?void 0:r.translations);if(r===null||r===void 0?void 0:r.transformTagName){i(r===null||r===void 0?void 0:r.transformTagName)}const m=await n(a,l,r);d=true;t=r;s.info("Development mode active - Enhanced debugging features available");return m};const l=a;const r=()=>d;const v=()=>t;export{a as b,v as g,r as i,l as r};
5
- //# sourceMappingURL=bootstrap-dbQte9BJ.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as o}from"./index-CLHqy-2_.js";import{S as l}from"./component-DxelloF0.js";const t=({label:t,badgeText:e,id:i,refFloating:a})=>o("div",{class:"kol-tooltip__floating",hidden:t.length===0,ref:a},o("div",{class:"kol-tooltip__arrow"}),o(l,{class:"kol-tooltip__content",badgeText:e,id:i,label:t}));export{t as T};
5
- //# sourceMappingURL=component-Dk2wt0bc.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as o}from"./index-CLHqy-2_.js";import{b as s}from"./bem-registry-DGv3NmGE.js";const t=s.forBlock("kol-click-button");const n=t();const l=t("label");const c=({label:s,handleClick:t,refButton:c})=>o("button",{class:n,ref:c,onClick:t,onKeyDown:o=>o.preventDefault()},o("span",{class:l},s));export{c as C};
5
- //# sourceMappingURL=component-U1HX1ZbW.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as e,n,b as t,d as o,a as r}from"./normalizers-DWPxOTIP.js";import{j as s}from"./common-noYAs-wc.js";import{h as a}from"./href-CBdHcGY_.js";import{l as i}from"./label-with-expert-slot-3VWute5S.js";import"./variant-quote-CRKM9QG2.js";import{a as l}from"./align-BNmcYY75.js";import{h as c}from"./index-CLHqy-2_.js";import{t as f}from"./i18n-CrXMv0tS.js";import{c as d}from"./variant-class-name-B0Wpr2i8.js";import{c as u}from"./clsx-COFh-Vc8.js";import{b as p}from"./bem-registry-DGv3NmGE.js";import{I as m}from"./component-CqTwHM6Q.js";import{S as b}from"./component-DxelloF0.js";import{T as g}from"./component-Dk2wt0bc.js";const y=e("accessKey","",n);const h=e("ariaControls","",n);const k=["date","location","page","step","time","true","false"];function j(e){const t=n(e);return k.includes(t)?t:"page"}const x=e("ariaCurrentValue","page",j);const v=e("ariaDescription","",n);function w(e){if(e===true||e==="true"){return"true"}if(e===false||e==="false"){return"false"}return""}const C=e("ariaExpanded","",w);const _=e("ariaOwns","",n);const A=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;const I=e=>typeof e==="string"&&A.test(e);function D(e){return e===""||I(e)}const K=e("customClass","",n,D);const L=e("disabled",false,t);const T=e("download","",n);const $=e("hideLabel",false,t);const q=e("inline",true,t);function E(e){if(typeof e==="object"&&e!==null){return e}throw new Error(`Invalid on callbacks: expected object, got ${typeof e}`)}const O=e("on",{},E);const G=["tab","treeitem"];function S(e){return typeof e==="string"&&G.includes(e)?e:""}const Y=e("role","",S);const z=e("target","",n);const B=e("shortKey","",n);function F(e){if(!e||typeof e==="string"&&e===""){return{}}if(typeof e==="string"){return n(e)}if(typeof e==="object"){return o(e)}throw new Error(`Invalid icons: ${typeof e}`)}function H(e){if(typeof e==="string"){return e.length>0}return typeof e==="object"&&e!==null}const M=e("icons",{},F,H);const V=e("tabIndex",0,r);function W(e){const t=n(e);if(l.includes(t)){return t}return"right"}const N=e("tooltipAlign","right",W,(e=>l.includes(e)));function P(e){if(Array.isArray(e)){return e}if(typeof e==="string"){return e.split(" ")}return[]}function Q(e){return e.length===0||e.every(I)}const Z=e("variant",[],P,Q);const R={required:[a],optional:[y,h,x,v,C,_,K,L,T,$,M,q,i,O,Y,z,B,V,N,Z]};const X=({block:e,modifiers:n,class:t},o)=>{const r=p.forBlock(e);return c("div",{class:u(r(n),t)},o)};const J=e=>{const{accessKey:n,ariaControls:t,ariaCurrent:o,ariaDescription:r,ariaDescriptionId:a,ariaExpanded:i,ariaOwns:l,customClass:p,disabled:y,download:h,handleAnchorClick:k,hideLabel:j,href:x,icons:v,inline:w,label:C,on:_,refAnchor:A,refTooltip:I,role:D,shortKey:K,tabIndex:L,target:T,variant:$,expertSlot:q}=e;const E=f("kol-open-link-in-tab");const O=typeof T==="string"&&T.length>0&&T!=="_self";const G={href:typeof x==="string"&&x.length>0?x:"javascript:void(0);",target:typeof T==="string"&&T.length>0?T:undefined,rel:O?"noopener":undefined,download:typeof h==="string"&&h.length>0?h:undefined};if(j===true&&!C){s(`[KolLink] An aria-label must be set when _hide-label is set.`)}const S=r===null||r===void 0?void 0:r.trim();const Y=D||undefined;return c(X,{block:"kol-link",class:u({[p]:$.includes("custom")&&p.length>0,[d($,"link")]:$.length>0}),modifiers:{disabled:y===true,"external-link":O,"hide-label":j===true,inline:w===true,standalone:w===false}},c("a",Object.assign({ref:A},G,{accessKey:n||undefined,"aria-current":o||undefined,"aria-controls":t||undefined,"aria-describedby":S?a:undefined,"aria-disabled":y?"true":undefined,"aria-expanded":i===""?undefined:i,"aria-owns":l||undefined,"aria-label":j&&typeof C==="string"?`${C}${O?` (${E})`:""}`:undefined,"aria-keyshortcuts":K||undefined,class:"kol-link__anchor"},_,{onClick:k,role:Y,tabIndex:y?-1:L}),c(b,{class:"kol-link__text",badgeText:n||K,icons:v,hideLabel:j,label:q?"":C||x},c("slot",{name:"expert",slot:"expert"})),O&&c(m,{class:"kol-link__icon",label:j?"":E,icons:"kolicon-link-external","aria-hidden":j})),j===true&&!q&&c("div",{class:"kol-link__tooltip"},c(g,{badgeText:n||K||"",label:typeof C==="string"?C:typeof x==="string"?x:"",refFloating:I})),S&&c("span",{class:"visually-hidden",id:a},S))};export{J as L,y as a,h as b,x as c,v as d,C as e,L as f,T as g,$ as h,q as i,O as j,B as k,R as l,z as m,_ as n,K as o,Y as p,V as q,M as s,N as t,Z as v};
5
- //# sourceMappingURL=component-oWROUiYq.js.map