@public-ui/components 5.0.0-beta.0 → 5.1.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 (1172) hide show
  1. package/README.md +1 -1
  2. package/assets/kolicons/kolicons.eot +0 -0
  3. package/assets/kolicons/kolicons.ttf +0 -0
  4. package/assets/kolicons/kolicons.woff +0 -0
  5. package/assets/kolicons/kolicons.woff2 +0 -0
  6. package/assets/kolicons/style.css +6 -6
  7. package/custom-elements.json +324 -66
  8. package/dist/cjs/{Heading-gKYGJ1tV.js → Heading-DkRJJg18.js} +1 -1
  9. package/dist/cjs/{align-NV74hwT0.js → align-1ptk-pir.js} +1 -1
  10. package/dist/cjs/{api-BlwpFlt1.js → api-BHYk3kXB.js} +17 -17
  11. package/dist/cjs/{api-DyRC0E3C.js → api-Bx-kMwS-.js} +30 -22
  12. package/dist/cjs/{api-BBdhCCKv.js → api-LDDRsovK.js} +6 -6
  13. package/dist/cjs/{app-globals-C-QndvUR.js → app-globals-Ccbdxh47.js} +2 -2
  14. package/dist/cjs/{aria-labelledby-ny809Vdx.js → aria-labelledby-BRMgWRVp.js} +2 -2
  15. package/dist/cjs/{base-DjGWfEqB.js → base-C39txjCj.js} +44 -36
  16. package/dist/cjs/{base-C9jeVqnN.js → base-Ctf3_lQs.js} +14 -14
  17. package/dist/cjs/{base-Cau7nZZw.js → base-DHqHIMP-.js} +12 -12
  18. package/dist/cjs/{base-zeK_arau.js → base-XB_UlEMi.js} +21 -14
  19. package/dist/cjs/{base-web-component-BOQatEb9.js → base-web-component-3D1pZRXT.js} +14 -14
  20. package/dist/cjs/{base-web-component-r0Jr01kf.js → base-web-component-AJHupAXc.js} +9 -9
  21. package/dist/cjs/{base-web-component-DPBaBA5x.js → base-web-component-C6DKJNGD.js} +54 -28
  22. package/dist/cjs/{behavior-Djs9V7Si.js → behavior-2xAX1euA.js} +6 -5
  23. package/dist/cjs/{behavior-P_MOoqmo.js → behavior-B9-IyIXq.js} +4 -4
  24. package/dist/cjs/{behavior-APmbiQTR.js → behavior-iZBKzFFw.js} +5 -5
  25. package/dist/cjs/{bootstrap-BbvuwOW2.js → bootstrap-b6PadCf1.js} +1 -1
  26. package/dist/cjs/{color-CbCW4wyr.js → color-CwbFUaK7.js} +12 -2
  27. package/dist/cjs/{component-B_EvGSM0.js → component-B9cVUITX.js} +7 -1
  28. package/dist/cjs/{component-hiip9BeX.js → component-BRvUYbSZ.js} +12 -9
  29. package/dist/cjs/{component-DK-qYG29.js → component-Bk4Tvby3.js} +2 -2
  30. package/dist/cjs/{component-x3LvOAC0.js → component-BqIblzhp.js} +1 -1
  31. package/dist/cjs/{component-Byx8Sl1k.js → component-C9MKHoRd.js} +1 -1
  32. package/dist/cjs/{component-CyFwKqlx.js → component-DBnZM8w2.js} +23 -10
  33. package/dist/cjs/{component-DMaPKMLG.js → component-DE4BP8IK.js} +2 -2
  34. package/dist/cjs/{component-DTToXqth.js → component-Da5C3eFC.js} +3 -3
  35. package/dist/cjs/{component-w4DHKGRj.js → component-NEiBvvE2.js} +6 -6
  36. package/dist/cjs/component-X0iN_qoU.js +36 -0
  37. package/dist/cjs/{component-C-jt8Zgv.js → component-_vYtsFBi.js} +6 -5
  38. package/dist/cjs/{component-names-EMVnNhTP.js → component-names-BMpML1sX.js} +0 -2
  39. package/dist/cjs/{contrast-BTU5ne8E.js → contrast-CTEPTNkC.js} +1 -1
  40. package/dist/cjs/{controller-ncy0x4Nz.js → controller-gDnA0yhI.js} +14 -14
  41. package/dist/cjs/{dev.utils-r-OFnYmI.js → dev.utils-U3Rfa3Dp.js} +1 -1
  42. package/dist/cjs/{devtools-BjCHvsaO.js → devtools-B7YU-YbX.js} +2 -2
  43. package/dist/cjs/{disabled-wIEbt0Gz.js → disabled-DU5r5VLL.js} +1 -1
  44. package/dist/cjs/{element-focus-D5g3xQN4.js → element-focus-CzkKMwtn.js} +24 -0
  45. package/dist/cjs/{element-interaction-7FI_z19L.js → element-interaction-BtYQAbhu.js} +1 -1
  46. package/dist/cjs/{field-control-B2MocM-9.js → field-control-CDGssAUf.js} +6 -6
  47. package/dist/cjs/{group-DUgI6ORW.js → group-CiakLLar.js} +4 -4
  48. package/dist/cjs/{has-closer-4Czygcsx.js → has-closer-CNdG-wEk.js} +1 -1
  49. package/dist/cjs/href-DoAvPFga.js +10 -0
  50. package/dist/cjs/{index-1NUYc4bH.js → index-C8LQwR1o.js} +1 -5
  51. package/dist/cjs/index.cjs.js +2 -2
  52. package/dist/cjs/{input-tgqPNmdz.js → input-CA-5lqTb.js} +3 -3
  53. package/dist/cjs/{input-container-Ce6tEgzv.js → input-container-CV02nXgX.js} +6 -6
  54. package/dist/cjs/{item-do7gGebG.js → item-9oQGuAqH.js} +11 -11
  55. package/dist/cjs/{item-CdalyKjL.js → item-Dfsg3MMy.js} +16 -25
  56. package/dist/cjs/{item-CU9y10V3.js → item-dTflpCWB.js} +6 -6
  57. package/dist/cjs/{item-BDJC0QKy.js → item-eJaPjEL7.js} +5 -5
  58. package/dist/cjs/kol-abbr.cjs.entry.js +11 -9
  59. package/dist/cjs/kol-accordion.cjs.entry.js +19 -17
  60. package/dist/cjs/kol-alert.cjs.entry.js +25 -23
  61. package/dist/cjs/kol-avatar.cjs.entry.js +19 -14
  62. package/dist/cjs/kol-badge.cjs.entry.js +31 -28
  63. package/dist/cjs/kol-breadcrumb.cjs.entry.js +29 -27
  64. package/dist/cjs/kol-button-link.cjs.entry.js +42 -28
  65. package/dist/cjs/kol-button.cjs.entry.js +43 -28
  66. package/dist/cjs/kol-card.cjs.entry.js +37 -33
  67. package/dist/cjs/kol-click-button.cjs.entry.js +12 -10
  68. package/dist/cjs/kol-combobox.cjs.entry.js +59 -47
  69. package/dist/cjs/kol-details.cjs.entry.js +19 -17
  70. package/dist/cjs/kol-dialog.cjs.entry.js +31 -29
  71. package/dist/cjs/kol-drawer.cjs.entry.js +35 -31
  72. package/dist/cjs/kol-form.cjs.entry.js +26 -23
  73. package/dist/cjs/kol-heading.cjs.entry.js +17 -11
  74. package/dist/cjs/kol-icon.cjs.entry.js +11 -9
  75. package/dist/cjs/kol-image.cjs.entry.js +10 -6
  76. package/dist/cjs/kol-input-checkbox.cjs.entry.js +50 -39
  77. package/dist/cjs/kol-input-color.cjs.entry.js +55 -47
  78. package/dist/cjs/kol-input-date.cjs.entry.js +73 -44
  79. package/dist/cjs/kol-input-email.cjs.entry.js +63 -46
  80. package/dist/cjs/kol-input-file.cjs.entry.js +53 -40
  81. package/dist/cjs/kol-input-number.cjs.entry.js +63 -45
  82. package/dist/cjs/kol-input-password.cjs.entry.js +64 -44
  83. package/dist/cjs/kol-input-radio.cjs.entry.js +48 -39
  84. package/dist/cjs/kol-input-range.cjs.entry.js +55 -41
  85. package/dist/cjs/kol-input-text.cjs.entry.js +68 -46
  86. package/dist/cjs/kol-kolibri.cjs.entry.js +6 -6
  87. package/dist/cjs/kol-link-button.cjs.entry.js +36 -23
  88. package/dist/cjs/kol-link.cjs.entry.js +36 -23
  89. package/dist/cjs/kol-meter.cjs.entry.js +30 -18
  90. package/dist/cjs/kol-modal.cjs.entry.js +31 -29
  91. package/dist/cjs/kol-nav.cjs.entry.js +37 -35
  92. package/dist/cjs/kol-pagination.cjs.entry.js +45 -41
  93. package/dist/cjs/kol-popover-button.cjs.entry.js +40 -29
  94. package/dist/cjs/kol-progress.cjs.entry.js +21 -12
  95. package/dist/cjs/kol-quote.cjs.entry.js +16 -14
  96. package/dist/cjs/kol-select.cjs.entry.js +53 -39
  97. package/dist/cjs/kol-single-select.cjs.entry.js +58 -47
  98. package/dist/cjs/kol-skeleton.cjs.entry.js +8 -8
  99. package/dist/cjs/kol-skip-nav.cjs.entry.js +28 -26
  100. package/dist/cjs/kol-spin.cjs.entry.js +15 -10
  101. package/dist/cjs/kol-split-button.cjs.entry.js +45 -31
  102. package/dist/cjs/kol-table-stateful.cjs.entry.js +65 -53
  103. package/dist/cjs/kol-table-stateless.cjs.entry.js +51 -40
  104. package/dist/cjs/kol-tabs.cjs.entry.js +31 -27
  105. package/dist/cjs/kol-textarea.cjs.entry.js +59 -43
  106. package/dist/cjs/kol-toast-container.cjs.entry.js +13 -14
  107. package/dist/cjs/kol-toolbar.cjs.entry.js +35 -32
  108. package/dist/cjs/kol-tree-item.cjs.entry.js +30 -26
  109. package/dist/cjs/kol-tree.cjs.entry.js +12 -10
  110. package/dist/cjs/kol-version.cjs.entry.js +17 -16
  111. package/dist/cjs/kolibri.cjs.js +3 -3
  112. package/dist/cjs/label-CfuNAHBN.js +14 -0
  113. package/dist/cjs/{isArray-BOIOdEQh.js → label-Dhv1cJx3.js} +60 -0
  114. package/dist/cjs/label-hints-CgBCaif9.js +22 -0
  115. package/dist/cjs/label-lang-segment--yHvPZvF.js +14 -0
  116. package/dist/cjs/label-with-expert-slot-BdXwXCrc.js +14 -0
  117. package/dist/cjs/{level-DGDM1aXl.js → level-BmOF3SXd.js} +1 -1
  118. package/dist/cjs/{link-target-PjKWXgno.js → link-target-CxHe2nvO.js} +1 -1
  119. package/dist/cjs/{links-0QyGYlHz.js → links-D-6IG8ZN.js} +1 -1
  120. package/dist/cjs/loader.cjs.js +3 -3
  121. package/dist/cjs/{multiple-BoCGiGxR.js → multiple-DwIwRAg_.js} +1 -1
  122. package/dist/cjs/{name-BZcwC1Zd.js → name-vaRuDIu9.js} +1 -1
  123. package/dist/cjs/{number-value-aLzn0dDO.js → number-value-DdxcZ3wW.js} +1 -1
  124. package/dist/cjs/{open-ui_yY8GH.js → open-aeya5Q2h.js} +1 -1
  125. package/dist/cjs/{options-BRwmqi8M.js → options-DZE1zmTq.js} +1 -1
  126. package/dist/cjs/{orientation-BcqEqZ3D.js → orientation-DgoLv2WA.js} +1 -1
  127. package/dist/cjs/{placeholder-CCYSgsip.js → placeholder-CHT6vsaN.js} +1 -1
  128. package/dist/cjs/{read-only-KKKbZyk5.js → read-only-AeNVMOPS.js} +1 -1
  129. package/dist/cjs/{required-CeiUcxrv.js → required-DU_lEi_a.js} +1 -1
  130. package/dist/cjs/{resolve-props-BcGzqFFR.js → resolve-props-Bgqa1y71.js} +7 -7
  131. package/dist/cjs/{resolve-props-Cv67cUZA.js → resolve-props-gpH7EEKM.js} +7 -7
  132. package/dist/cjs/{rows-BWBG8nDk.js → rows-C-HHixH0.js} +2 -2
  133. package/dist/cjs/{scroll-lock-Bs5vb-ss.js → scroll-lock-D7i76ZoY.js} +1 -1
  134. package/dist/cjs/{smart-button-DQryZ9gX.js → smart-button-eNvMPGW9.js} +1 -1
  135. package/dist/cjs/{spell-check-DHRle7ui.js → spell-check-DsU1STqx.js} +1 -1
  136. package/dist/cjs/{src-B6CU1zD0.js → src-BqZDpTCj.js} +1 -1
  137. package/dist/cjs/{step-kuREYDVE.js → step-CTAiZ5xn.js} +1 -1
  138. package/dist/cjs/{suggestions-b21ak6-A.js → suggestions-0I18Pk65.js} +1 -1
  139. package/dist/cjs/{suggestions-B4X9HMr-.js → suggestions-C-QgtY7Q.js} +3 -3
  140. package/dist/cjs/test-component.cjs.entry.js +1 -1
  141. package/dist/cjs/{toggle-handler-AgDdplvI.js → toggle-handler-kx77ZDI9.js} +10 -10
  142. package/dist/cjs/{unique-nav-labels-CuHbVHx9.js → unique-nav-labels-CaD7vZWy.js} +7 -4
  143. package/dist/cjs/{unit-DHpzrXY7.js → unit-DmftTbjX.js} +1 -1
  144. package/dist/cjs/validators-ivurI_Hf.js +15 -0
  145. package/dist/cjs/{value-string-BtfdnGIb.js → value-string-BFgf4hTO.js} +1 -1
  146. package/dist/cjs/{variant-CxQO5qFu.js → variant-DidopMGV.js} +5 -7
  147. package/dist/cjs/{width-DF6eLXIz.js → width-BX3KQodz.js} +5 -2
  148. package/dist/collection/collection-manifest.json +12 -13
  149. package/dist/collection/components/@else/all/component.js +1 -1
  150. package/dist/collection/components/_skeleton/public-api/contract.js +6 -6
  151. package/dist/collection/components/_skeleton/web-components/click-button/component.js +12 -5
  152. package/dist/collection/components/_skeleton/web-components/skeleton/component.js +10 -3
  153. package/dist/collection/components/abbr/component.js +11 -9
  154. package/dist/collection/components/abbr/style.css +0 -3
  155. package/dist/collection/components/accordion/component.js +30 -17
  156. package/dist/collection/components/accordion/style.css +2 -5
  157. package/dist/collection/components/alert/component.js +33 -18
  158. package/dist/collection/components/alert/style.css +2 -5
  159. package/dist/collection/components/avatar/component.js +31 -11
  160. package/dist/collection/components/avatar/style.css +0 -3
  161. package/dist/collection/components/badge/component.js +14 -10
  162. package/dist/collection/components/badge/style.css +2 -5
  163. package/dist/collection/components/breadcrumb/component.js +4 -4
  164. package/dist/collection/components/breadcrumb/style.css +2 -5
  165. package/dist/collection/components/button/base.js +2 -2
  166. package/dist/collection/components/button/component.js +100 -33
  167. package/dist/collection/components/button/style.css +2 -5
  168. package/dist/collection/components/button-link/component.js +91 -42
  169. package/dist/collection/components/button-link/style.css +2 -5
  170. package/dist/collection/components/card/base.js +3 -3
  171. package/dist/collection/components/card/component.js +25 -15
  172. package/dist/collection/components/card/style.css +2 -5
  173. package/dist/collection/components/combobox/component.js +139 -57
  174. package/dist/collection/components/combobox/style.css +3 -7
  175. package/dist/collection/components/details/component.js +30 -17
  176. package/dist/collection/components/details/style.css +2 -5
  177. package/dist/collection/components/dialog/base.js +12 -5
  178. package/dist/collection/components/dialog/component.js +18 -9
  179. package/dist/collection/components/dialog/style.css +2 -5
  180. package/dist/collection/components/drawer/component.js +27 -17
  181. package/dist/collection/components/drawer/style.css +2 -5
  182. package/dist/collection/components/form/component.js +7 -3
  183. package/dist/collection/components/form/controller.js +13 -13
  184. package/dist/collection/components/form/style.css +2 -5
  185. package/dist/collection/components/heading/component.js +17 -8
  186. package/dist/collection/components/heading/style.css +0 -3
  187. package/dist/collection/components/icon/component.js +12 -5
  188. package/dist/collection/components/icon/style.css +2 -2
  189. package/dist/collection/components/image/component.js +49 -13
  190. package/dist/collection/components/image/style.css +0 -3
  191. package/dist/collection/components/input-checkbox/component.js +123 -61
  192. package/dist/collection/components/input-checkbox/style.css +4 -8
  193. package/dist/collection/components/input-color/component.js +111 -54
  194. package/dist/collection/components/input-color/style.css +3 -7
  195. package/dist/collection/components/input-date/component.js +132 -61
  196. package/dist/collection/components/input-date/style.css +3 -7
  197. package/dist/collection/components/input-email/component.js +185 -76
  198. package/dist/collection/components/input-email/style.css +3 -7
  199. package/dist/collection/components/input-file/component.js +128 -59
  200. package/dist/collection/components/input-file/style.css +3 -7
  201. package/dist/collection/components/input-number/component.js +143 -64
  202. package/dist/collection/components/input-number/style.css +3 -7
  203. package/dist/collection/components/input-password/component.js +177 -70
  204. package/dist/collection/components/input-password/style.css +3 -7
  205. package/dist/collection/components/input-radio/component.js +86 -43
  206. package/dist/collection/components/input-radio/style.css +4 -8
  207. package/dist/collection/components/input-range/component.js +101 -45
  208. package/dist/collection/components/input-range/style.css +3 -7
  209. package/dist/collection/components/input-text/component.js +173 -69
  210. package/dist/collection/components/input-text/style.css +3 -7
  211. package/dist/collection/components/kolibri/component.js +10 -3
  212. package/dist/collection/components/kolibri/style.css +0 -3
  213. package/dist/collection/components/link/base.js +2 -2
  214. package/dist/collection/components/link/component.js +77 -31
  215. package/dist/collection/components/link/style.css +2 -5
  216. package/dist/collection/components/link-button/component.js +67 -25
  217. package/dist/collection/components/link-button/style.css +2 -5
  218. package/dist/collection/components/meter/component.js +86 -24
  219. package/dist/collection/components/meter/style.css +0 -3
  220. package/dist/collection/components/modal/component.js +18 -9
  221. package/dist/collection/components/modal/style.css +2 -5
  222. package/dist/collection/components/nav/component.js +41 -19
  223. package/dist/collection/components/nav/style.css +2 -5
  224. package/dist/collection/components/pagination/component.js +34 -9
  225. package/dist/collection/components/pagination/style.css +3 -7
  226. package/dist/collection/components/popover-button/component.js +70 -25
  227. package/dist/collection/components/popover-button/style.css +2 -5
  228. package/dist/collection/components/progress/component.js +50 -16
  229. package/dist/collection/components/progress/style.css +0 -3
  230. package/dist/collection/components/quote/component.js +37 -14
  231. package/dist/collection/components/quote/style.css +0 -3
  232. package/dist/collection/components/select/component.js +129 -58
  233. package/dist/collection/components/select/style.css +3 -7
  234. package/dist/collection/components/single-select/component.js +129 -55
  235. package/dist/collection/components/single-select/style.css +3 -7
  236. package/dist/collection/components/skip-nav/component.js +3 -3
  237. package/dist/collection/components/skip-nav/style.css +2 -5
  238. package/dist/collection/components/spin/component.js +30 -10
  239. package/dist/collection/components/spin/style.css +0 -3
  240. package/dist/collection/components/split-button/component.js +96 -31
  241. package/dist/collection/components/split-button/style.css +2 -5
  242. package/dist/collection/components/table-stateful/component.js +69 -40
  243. package/dist/collection/components/table-stateful/style.css +3 -7
  244. package/dist/collection/components/table-stateless/base.js +11 -4
  245. package/dist/collection/components/table-stateless/component.js +50 -16
  246. package/dist/collection/components/table-stateless/style.css +2 -5
  247. package/dist/collection/components/tabs/component.js +19 -8
  248. package/dist/collection/components/tabs/style.css +2 -5
  249. package/dist/collection/components/textarea/component.js +172 -69
  250. package/dist/collection/components/textarea/style.css +3 -7
  251. package/dist/collection/components/toaster/shadow.js +1 -1
  252. package/dist/collection/components/toaster/style.css +2 -5
  253. package/dist/collection/components/toolbar/component.js +15 -6
  254. package/dist/collection/components/toolbar/style.css +2 -5
  255. package/dist/collection/components/tree/component.js +3 -3
  256. package/dist/collection/components/tree/style.css +0 -3
  257. package/dist/collection/components/tree-item/component.js +15 -11
  258. package/dist/collection/components/tree-item/style.css +2 -5
  259. package/dist/collection/components/version/component.js +3 -3
  260. package/dist/collection/components/version/style.css +2 -5
  261. package/dist/collection/core/component-names.js +0 -2
  262. package/dist/collection/core/i18n.js +1 -1
  263. package/dist/collection/functional-components/index.js +0 -1
  264. package/dist/collection/internal/functional-components/abbr/api.js +2 -2
  265. package/dist/collection/internal/functional-components/alert/api.js +2 -2
  266. package/dist/collection/internal/functional-components/alert/component.js +4 -2
  267. package/dist/collection/internal/functional-components/avatar/component.js +2 -1
  268. package/dist/collection/internal/functional-components/base-web-component.js +8 -3
  269. package/dist/collection/internal/functional-components/breadcrumb/api.js +2 -2
  270. package/dist/collection/internal/functional-components/breadcrumb/component.js +3 -1
  271. package/dist/collection/internal/functional-components/button/component.js +3 -3
  272. package/dist/collection/internal/functional-components/card/api.js +3 -3
  273. package/dist/collection/internal/functional-components/card/component.js +2 -1
  274. package/dist/collection/internal/functional-components/click-button/component.js +1 -1
  275. package/dist/collection/internal/functional-components/collapsible/api.js +2 -2
  276. package/dist/collection/internal/functional-components/dialog/api.js +2 -2
  277. package/dist/collection/internal/functional-components/dialog/item.js +4 -3
  278. package/dist/collection/internal/functional-components/drawer/api.js +2 -2
  279. package/dist/collection/internal/functional-components/form-association/behavior.js +1 -1
  280. package/dist/collection/internal/functional-components/form-field/base-web-component.js +11 -3
  281. package/dist/collection/internal/functional-components/form-field/date-value.js +12 -1
  282. package/dist/collection/internal/functional-components/form-field/default-input-props.js +3 -2
  283. package/dist/collection/internal/functional-components/heading/component.js +3 -2
  284. package/dist/collection/internal/functional-components/link/component.js +3 -3
  285. package/dist/collection/internal/functional-components/meter/api.js +2 -2
  286. package/dist/collection/internal/functional-components/meter/component.js +11 -6
  287. package/dist/collection/internal/functional-components/meter/component.test.js +29 -0
  288. package/dist/collection/internal/functional-components/nav/api.js +2 -2
  289. package/dist/collection/internal/functional-components/pagination/api.js +2 -11
  290. package/dist/collection/internal/functional-components/pagination/component.js +2 -1
  291. package/dist/collection/internal/functional-components/pagination/item.js +2 -2
  292. package/dist/collection/internal/functional-components/progress/api.js +2 -2
  293. package/dist/collection/internal/functional-components/progress/component.js +3 -1
  294. package/dist/collection/internal/functional-components/quote/api.js +2 -2
  295. package/dist/collection/internal/functional-components/quote/component.js +1 -1
  296. package/dist/collection/internal/functional-components/skip-nav/api.js +2 -2
  297. package/dist/collection/internal/functional-components/span/api.js +2 -3
  298. package/dist/collection/internal/functional-components/span/component.js +18 -6
  299. package/dist/collection/internal/functional-components/span/snapshot.test.js +5 -0
  300. package/dist/collection/internal/functional-components/table-stateful/api.js +2 -2
  301. package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
  302. package/dist/collection/internal/functional-components/table-stateless/component.js +5 -3
  303. package/dist/collection/internal/functional-components/table-stateless/table-model.js +3 -3
  304. package/dist/collection/internal/functional-components/tabs/api.js +2 -2
  305. package/dist/collection/internal/functional-components/toolbar/api.js +2 -2
  306. package/dist/collection/internal/functional-components/tooltip/api.js +2 -2
  307. package/dist/collection/internal/functional-components/tooltip/behavior.js +3 -2
  308. package/dist/collection/internal/functional-components/tooltip/component.js +1 -1
  309. package/dist/collection/internal/functional-components/tree/api.js +2 -2
  310. package/dist/collection/internal/functional-components/tree-item/api.js +2 -2
  311. package/dist/collection/internal/functional-components/tree-item/component.js +2 -1
  312. package/dist/collection/internal/props/color.js +10 -0
  313. package/dist/collection/internal/props/dialog-callbacks.js +4 -1
  314. package/dist/collection/internal/props/helpers/factory.js +10 -2
  315. package/dist/collection/internal/props/helpers/normalizers.js +13 -1
  316. package/dist/collection/internal/props/helpers/validators.js +4 -0
  317. package/dist/collection/internal/props/hints/label-hints.js +10 -8
  318. package/dist/collection/internal/props/href.js +1 -2
  319. package/dist/collection/internal/props/index.js +1 -1
  320. package/dist/collection/internal/props/label-lang-segment.js +10 -0
  321. package/dist/collection/internal/props/label-with-expert-slot.js +6 -2
  322. package/dist/collection/internal/props/label.js +2 -1
  323. package/dist/collection/internal/props/max-length.js +1 -1
  324. package/dist/collection/internal/props/rows.js +1 -1
  325. package/dist/collection/internal/props/tabs.js +1 -1
  326. package/dist/collection/schema/props/allow-markdown.js +1 -0
  327. package/dist/collection/schema/props/boundary-count.js +1 -0
  328. package/dist/collection/schema/props/has-clear-button.js +1 -0
  329. package/dist/collection/schema/props/high.js +1 -0
  330. package/dist/collection/schema/props/index.js +19 -0
  331. package/dist/collection/schema/props/label.js +54 -5
  332. package/dist/collection/schema/props/labeled.js +1 -0
  333. package/dist/collection/schema/props/low.js +1 -0
  334. package/dist/collection/schema/props/min.js +1 -0
  335. package/dist/collection/schema/props/optimum.js +1 -0
  336. package/dist/collection/schema/props/page-size.js +1 -0
  337. package/dist/collection/schema/props/page.js +1 -0
  338. package/dist/collection/schema/props/secondary-headline.js +1 -0
  339. package/dist/collection/schema/props/selected.js +1 -0
  340. package/dist/collection/schema/props/sibling-count.js +1 -0
  341. package/dist/collection/schema/props/sizes.js +1 -0
  342. package/dist/collection/schema/props/src.js +1 -0
  343. package/dist/collection/schema/props/srcset.js +1 -0
  344. package/dist/collection/schema/props/table-loading.js +1 -0
  345. package/dist/collection/schema/props/value-number-clamped.js +1 -0
  346. package/dist/collection/schema/props/value-string.js +1 -0
  347. package/dist/collection/utils/aria-labelledby.js +2 -2
  348. package/dist/collection/utils/dev.utils.js +0 -1
  349. package/dist/collection/utils/element-focus.js +23 -0
  350. package/dist/collection/utils/element-interaction.js +0 -7
  351. package/dist/collection/utils/element-themed.js +1 -1
  352. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -0
  353. package/dist/collection/utils/unique-nav-labels.js +7 -5
  354. package/dist/components/api.js +1 -1
  355. package/dist/components/api2.js +1 -1
  356. package/dist/components/aria-labelledby.js +1 -1
  357. package/dist/components/base-web-component.js +1 -1
  358. package/dist/components/base-web-component2.js +1 -1
  359. package/dist/components/base-web-component4.js +1 -1
  360. package/dist/components/base.js +1 -1
  361. package/dist/components/base2.js +1 -1
  362. package/dist/components/base3.js +1 -1
  363. package/dist/components/base4.js +1 -1
  364. package/dist/components/behavior.js +1 -1
  365. package/dist/components/behavior2.js +1 -1
  366. package/dist/components/behavior4.js +1 -1
  367. package/dist/components/color.js +1 -1
  368. package/dist/components/component-names.js +1 -1
  369. package/dist/components/component10.js +1 -1
  370. package/dist/components/component2.js +1 -1
  371. package/dist/components/component3.js +1 -1
  372. package/dist/components/component5.js +1 -1
  373. package/dist/components/component6.js +1 -1
  374. package/dist/components/component7.js +1 -1
  375. package/dist/components/component8.js +1 -1
  376. package/dist/components/component9.js +1 -1
  377. package/dist/components/controller.js +1 -1
  378. package/dist/components/element-focus.js +1 -1
  379. package/dist/components/field-control.js +1 -1
  380. package/dist/components/href.js +1 -1
  381. package/dist/components/input-container.js +1 -1
  382. package/dist/components/item4.js +1 -1
  383. package/dist/components/kol-abbr.js +1 -1
  384. package/dist/components/kol-accordion.js +1 -1
  385. package/dist/components/kol-alert.js +1 -1
  386. package/dist/components/kol-avatar.js +1 -1
  387. package/dist/components/kol-badge.js +1 -1
  388. package/dist/components/kol-breadcrumb.js +1 -1
  389. package/dist/components/kol-button-link.js +1 -1
  390. package/dist/components/kol-button.js +1 -1
  391. package/dist/components/kol-card.js +1 -1
  392. package/dist/components/kol-click-button.js +1 -1
  393. package/dist/components/kol-combobox.js +1 -1
  394. package/dist/components/kol-details.js +1 -1
  395. package/dist/components/kol-dialog.js +1 -1
  396. package/dist/components/kol-drawer.js +1 -1
  397. package/dist/components/kol-form.js +1 -1
  398. package/dist/components/kol-heading.js +1 -1
  399. package/dist/components/kol-icon.js +1 -1
  400. package/dist/components/kol-image.js +1 -1
  401. package/dist/components/kol-input-checkbox.js +1 -1
  402. package/dist/components/kol-input-color.js +1 -1
  403. package/dist/components/kol-input-date.js +1 -1
  404. package/dist/components/kol-input-email.js +1 -1
  405. package/dist/components/kol-input-file.js +1 -1
  406. package/dist/components/kol-input-number.js +1 -1
  407. package/dist/components/kol-input-password.js +1 -1
  408. package/dist/components/kol-input-radio.js +1 -1
  409. package/dist/components/kol-input-range.js +1 -1
  410. package/dist/components/kol-input-text.js +1 -1
  411. package/dist/components/kol-kolibri.js +1 -1
  412. package/dist/components/kol-link-button.js +1 -1
  413. package/dist/components/kol-link.js +1 -1
  414. package/dist/components/kol-meter.js +1 -1
  415. package/dist/components/kol-modal.js +1 -1
  416. package/dist/components/kol-nav.js +1 -1
  417. package/dist/components/kol-pagination.js +1 -1
  418. package/dist/components/kol-popover-button.js +1 -1
  419. package/dist/components/kol-progress.js +1 -1
  420. package/dist/components/kol-quote.js +1 -1
  421. package/dist/components/kol-select.js +1 -1
  422. package/dist/components/kol-single-select.js +1 -1
  423. package/dist/components/kol-skeleton.js +1 -1
  424. package/dist/components/kol-skip-nav.js +1 -1
  425. package/dist/components/kol-spin.js +1 -1
  426. package/dist/components/kol-split-button.js +1 -1
  427. package/dist/components/kol-table-stateful.js +1 -1
  428. package/dist/components/kol-table-stateless.js +1 -1
  429. package/dist/components/kol-tabs.js +1 -1
  430. package/dist/components/kol-textarea.js +1 -1
  431. package/dist/components/kol-toast-container.js +1 -1
  432. package/dist/components/kol-toolbar.js +1 -1
  433. package/dist/components/kol-tree-item.js +1 -1
  434. package/dist/components/kol-tree.js +1 -1
  435. package/dist/components/kol-version.js +1 -1
  436. package/dist/components/label-hints.js +4 -0
  437. package/dist/components/label-lang-segment.js +4 -0
  438. package/dist/components/label-with-expert-slot.js +1 -1
  439. package/dist/components/label.js +1 -1
  440. package/dist/components/label2.js +4 -0
  441. package/dist/components/level.js +1 -1
  442. package/dist/components/rows.js +1 -1
  443. package/dist/components/toggle-handler.js +1 -1
  444. package/dist/components/unique-nav-labels.js +1 -1
  445. package/dist/components/unit.js +1 -1
  446. package/dist/components/validators.js +4 -0
  447. package/dist/components/variant.js +1 -1
  448. package/dist/components/width.js +1 -1
  449. package/dist/esm/{Heading-0teSdkFq.js → Heading-BSa6BQTS.js} +1 -1
  450. package/dist/esm/{align-DsFuqEf5.js → align-CR9s255S.js} +1 -1
  451. package/dist/esm/{api-B9mpTRGa.js → api-BNtfQTYQ.js} +15 -15
  452. package/dist/esm/{api-CvPkoAAG.js → api-DxF6-oIO.js} +6 -6
  453. package/dist/esm/{api-hAvZrw9X.js → api-qNAcP_o2.js} +29 -21
  454. package/dist/esm/{app-globals-Dff_iJYF.js → app-globals-BbKBH3UI.js} +2 -2
  455. package/dist/esm/{aria-labelledby-BRToXqsQ.js → aria-labelledby-CLehu03h.js} +2 -2
  456. package/dist/esm/{base-CsJWjTJl.js → base-B-_Cm8wH.js} +39 -31
  457. package/dist/esm/{base-Df1bwC8d.js → base-MxYtjOUP.js} +21 -14
  458. package/dist/esm/{base-COT79ELt.js → base-WHbY0uVC.js} +12 -12
  459. package/dist/esm/{base-7FEvBJ3L.js → base-wY3yC1z6.js} +14 -14
  460. package/dist/esm/{base-web-component-Bcoukts3.js → base-web-component-B0QkUucC.js} +32 -7
  461. package/dist/esm/{base-web-component-C1XSz7ML.js → base-web-component-CgbHhshr.js} +9 -9
  462. package/dist/esm/{base-web-component-cTyj95G-.js → base-web-component-D8x1WFVT.js} +14 -14
  463. package/dist/esm/{behavior-Zr6qAX7F.js → behavior-BqydGn0c.js} +5 -5
  464. package/dist/esm/{behavior-BlS6DO8T.js → behavior-DJY-AtON.js} +6 -5
  465. package/dist/esm/{behavior-BMW-_4Oy.js → behavior-DyHxeIOP.js} +4 -4
  466. package/dist/esm/{bootstrap-DTVsVq0w.js → bootstrap-ddeYryQr.js} +1 -1
  467. package/dist/esm/{color-9CMp_pOq.js → color-w3K7aUcU.js} +12 -2
  468. package/dist/esm/{component-DHl33p9J.js → component-BPRJ0qOM.js} +6 -6
  469. package/dist/esm/{component-DxddScWx.js → component-BQBWV-Dj.js} +7 -7
  470. package/dist/esm/{component-DzVHCXnG.js → component-B_u7M1gI.js} +1 -1
  471. package/dist/esm/{component-BkjWlzLc.js → component-Bk12rjp3.js} +6 -5
  472. package/dist/esm/{component-BmJGOcby.js → component-D1XWWFos.js} +10 -7
  473. package/dist/esm/{component-DeWynlzi.js → component-Dfgawulk.js} +2 -2
  474. package/dist/esm/{component-C_Te18y_.js → component-DsvRA1H3.js} +3 -3
  475. package/dist/esm/{component-Ik_-HAMT.js → component-PLZiII08.js} +22 -10
  476. package/dist/esm/{component-CySyXSru.js → component-TFkvNo8L.js} +7 -2
  477. package/dist/esm/{component-DqHI-AwD.js → component-k7qmCOq7.js} +2 -2
  478. package/dist/esm/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +0 -2
  479. package/dist/esm/{component-C9mkZ63L.js → component-u7CHIDOX.js} +1 -1
  480. package/dist/esm/{contrast-BK5uVXeb.js → contrast-Dtg34nol.js} +1 -1
  481. package/dist/esm/{controller-Bf-CAo4Q.js → controller-DL8n64W5.js} +14 -14
  482. package/dist/esm/{dev.utils-BgjegQC8.js → dev.utils-Cl2Ehgvu.js} +1 -1
  483. package/dist/esm/{devtools-4nOArEGl.js → devtools-BkgDF9Wk.js} +2 -2
  484. package/dist/esm/{disabled-BaPgTuFO.js → disabled-DU4BpeNO.js} +1 -1
  485. package/dist/esm/{element-focus-Cp994Rrk.js → element-focus-BIRmGg5W.js} +24 -1
  486. package/dist/esm/{element-interaction-Cy9tx3Sx.js → element-interaction-sGYdEpmv.js} +1 -1
  487. package/dist/esm/{field-control-Brx62dJV.js → field-control-CQRYx4SF.js} +6 -6
  488. package/dist/esm/{group-Ce5pMiZJ.js → group-D3knBA42.js} +4 -4
  489. package/dist/esm/{has-closer-C9L79ect.js → has-closer-W6jQEQkV.js} +1 -1
  490. package/dist/esm/href-DzETOAed.js +8 -0
  491. package/dist/esm/{index-D5UV99lE.js → index-DqqSYO-1.js} +1 -5
  492. package/dist/esm/index.js +3 -3
  493. package/dist/esm/{input-DjQorwQ5.js → input-BBxRsjm-.js} +3 -3
  494. package/dist/esm/{input-container-RSmfcRgK.js → input-container-DrzJi_0x.js} +6 -6
  495. package/dist/esm/{item-Bfk2xd-D.js → item-CJvb0vTK.js} +11 -11
  496. package/dist/esm/{item-2cprk9ut.js → item-CYZtLav7.js} +6 -6
  497. package/dist/esm/{item-DMWn_IlJ.js → item-CuotjQUP.js} +5 -5
  498. package/dist/esm/{item-D9_O5WAR.js → item-DQR44mQ_.js} +16 -25
  499. package/dist/esm/kol-abbr.entry.js +11 -9
  500. package/dist/esm/kol-accordion.entry.js +19 -17
  501. package/dist/esm/kol-alert.entry.js +25 -23
  502. package/dist/esm/kol-avatar.entry.js +19 -14
  503. package/dist/esm/kol-badge.entry.js +31 -28
  504. package/dist/esm/kol-breadcrumb.entry.js +29 -27
  505. package/dist/esm/kol-button-link.entry.js +42 -28
  506. package/dist/esm/kol-button.entry.js +43 -28
  507. package/dist/esm/kol-card.entry.js +37 -33
  508. package/dist/esm/kol-click-button.entry.js +12 -10
  509. package/dist/esm/kol-combobox.entry.js +59 -47
  510. package/dist/esm/kol-details.entry.js +19 -17
  511. package/dist/esm/kol-dialog.entry.js +31 -29
  512. package/dist/esm/kol-drawer.entry.js +35 -31
  513. package/dist/esm/kol-form.entry.js +26 -23
  514. package/dist/esm/kol-heading.entry.js +17 -11
  515. package/dist/esm/kol-icon.entry.js +11 -9
  516. package/dist/esm/kol-image.entry.js +10 -6
  517. package/dist/esm/kol-input-checkbox.entry.js +50 -39
  518. package/dist/esm/kol-input-color.entry.js +55 -47
  519. package/dist/esm/kol-input-date.entry.js +73 -44
  520. package/dist/esm/kol-input-email.entry.js +63 -46
  521. package/dist/esm/kol-input-file.entry.js +53 -40
  522. package/dist/esm/kol-input-number.entry.js +63 -45
  523. package/dist/esm/kol-input-password.entry.js +64 -44
  524. package/dist/esm/kol-input-radio.entry.js +48 -39
  525. package/dist/esm/kol-input-range.entry.js +55 -41
  526. package/dist/esm/kol-input-text.entry.js +68 -46
  527. package/dist/esm/kol-kolibri.entry.js +6 -6
  528. package/dist/esm/kol-link-button.entry.js +36 -23
  529. package/dist/esm/kol-link.entry.js +36 -23
  530. package/dist/esm/kol-meter.entry.js +29 -17
  531. package/dist/esm/kol-modal.entry.js +31 -29
  532. package/dist/esm/kol-nav.entry.js +37 -35
  533. package/dist/esm/kol-pagination.entry.js +45 -41
  534. package/dist/esm/kol-popover-button.entry.js +40 -29
  535. package/dist/esm/kol-progress.entry.js +20 -11
  536. package/dist/esm/kol-quote.entry.js +16 -14
  537. package/dist/esm/kol-select.entry.js +53 -39
  538. package/dist/esm/kol-single-select.entry.js +58 -47
  539. package/dist/esm/kol-skeleton.entry.js +8 -8
  540. package/dist/esm/kol-skip-nav.entry.js +28 -26
  541. package/dist/esm/kol-spin.entry.js +15 -10
  542. package/dist/esm/kol-split-button.entry.js +45 -31
  543. package/dist/esm/kol-table-stateful.entry.js +65 -53
  544. package/dist/esm/kol-table-stateless.entry.js +51 -40
  545. package/dist/esm/kol-tabs.entry.js +31 -27
  546. package/dist/esm/kol-textarea.entry.js +59 -43
  547. package/dist/esm/kol-toast-container.entry.js +13 -14
  548. package/dist/esm/kol-toolbar.entry.js +35 -32
  549. package/dist/esm/kol-tree-item.entry.js +30 -26
  550. package/dist/esm/kol-tree.entry.js +12 -10
  551. package/dist/esm/kol-version.entry.js +17 -16
  552. package/dist/esm/kolibri.js +4 -4
  553. package/dist/esm/{isArray-CcrBs4JM.js → label-CJRIAbnc.js} +55 -1
  554. package/dist/esm/label-CPjIrpB0.js +12 -0
  555. package/dist/esm/label-hints-CGyBuIY6.js +20 -0
  556. package/dist/esm/label-lang-segment-c3GyH-Op.js +12 -0
  557. package/dist/esm/label-with-expert-slot-89Cj-cq-.js +12 -0
  558. package/dist/esm/{level-Df663c7y.js → level-JSbGeBz9.js} +1 -1
  559. package/dist/esm/{link-target-C7_smSbV.js → link-target-aw_DcyX2.js} +1 -1
  560. package/dist/esm/{links-B0xbzBwU.js → links-C0RerkBI.js} +1 -1
  561. package/dist/esm/loader.js +4 -4
  562. package/dist/esm/{multiple-CYHm7rd3.js → multiple-DMz1NE8m.js} +1 -1
  563. package/dist/esm/{name-m3owaZxH.js → name-CWVb8Q5W.js} +1 -1
  564. package/dist/esm/{number-value-CMedWR58.js → number-value-Bm0uVl62.js} +1 -1
  565. package/dist/esm/{open-DCGNTmvC.js → open-CnguVIAX.js} +1 -1
  566. package/dist/esm/{options-CR431ims.js → options-DK9U0D2y.js} +1 -1
  567. package/dist/esm/{orientation-C9FRNmPD.js → orientation-T7LcUCDT.js} +1 -1
  568. package/dist/esm/{placeholder-Bwzvbwhh.js → placeholder-C1LF_luk.js} +1 -1
  569. package/dist/esm/{read-only-C5fDsZVK.js → read-only-DLntjWLi.js} +1 -1
  570. package/dist/esm/{required-CC0212MQ.js → required-CySt8O-6.js} +1 -1
  571. package/dist/esm/{resolve-props-CnHCiXuG.js → resolve-props-CECEyL7n.js} +7 -7
  572. package/dist/esm/{resolve-props-47S-r31C.js → resolve-props-bPGYbQje.js} +7 -7
  573. package/dist/esm/rows-D2i8Qw0_.js +8 -0
  574. package/dist/esm/{scroll-lock-DQGTnLvW.js → scroll-lock-BJ_1AYBl.js} +1 -1
  575. package/dist/esm/{smart-button-BHM06d-t.js → smart-button-BARe7Uqb.js} +1 -1
  576. package/dist/esm/{spell-check-DiSedaOR.js → spell-check-dMfm8ESK.js} +1 -1
  577. package/dist/esm/{src-CsLEg--w.js → src-evXzPKgX.js} +1 -1
  578. package/dist/esm/{step-BxSThOke.js → step-BHPlkf18.js} +1 -1
  579. package/dist/esm/{suggestions-B79TOsF_.js → suggestions-8D7aWSYG.js} +1 -1
  580. package/dist/esm/{suggestions-C38q-5JU.js → suggestions-D0ShCnWU.js} +3 -3
  581. package/dist/esm/test-component.entry.js +1 -1
  582. package/dist/esm/{toggle-handler-CQ0FhBmD.js → toggle-handler-WD9E4u31.js} +10 -10
  583. package/dist/esm/{unique-nav-labels-Bh3w7dCH.js → unique-nav-labels-B5lSg8F6.js} +7 -4
  584. package/dist/esm/{unit-BgjPEae-.js → unit-B_lrrs5g.js} +1 -1
  585. package/dist/esm/validators-C9J6nOXq.js +11 -0
  586. package/dist/esm/{value-string-BDfywbme.js → value-string-Bg_YNL53.js} +1 -1
  587. package/dist/esm/{variant-PJN56KWi.js → variant-DL7TMWWF.js} +3 -5
  588. package/dist/esm/{width-CAS8lhOU.js → width-DGMj8F25.js} +5 -2
  589. package/dist/kolibri/{Heading-0teSdkFq.js → Heading-BSa6BQTS.js} +1 -1
  590. package/dist/kolibri/{align-DsFuqEf5.js → align-CR9s255S.js} +1 -1
  591. package/dist/kolibri/api-BNtfQTYQ.js +4 -0
  592. package/dist/kolibri/api-DxF6-oIO.js +4 -0
  593. package/dist/kolibri/api-qNAcP_o2.js +4 -0
  594. package/dist/kolibri/app-globals-BbKBH3UI.js +4 -0
  595. package/dist/kolibri/aria-labelledby-CLehu03h.js +4 -0
  596. package/dist/kolibri/base-B-_Cm8wH.js +4 -0
  597. package/dist/kolibri/base-MxYtjOUP.js +4 -0
  598. package/dist/kolibri/base-WHbY0uVC.js +4 -0
  599. package/dist/kolibri/base-wY3yC1z6.js +4 -0
  600. package/dist/kolibri/base-web-component-B0QkUucC.js +4 -0
  601. package/dist/kolibri/{base-web-component-C1XSz7ML.js → base-web-component-CgbHhshr.js} +1 -1
  602. package/dist/kolibri/{base-web-component-cTyj95G-.js → base-web-component-D8x1WFVT.js} +1 -1
  603. package/dist/kolibri/{behavior-Zr6qAX7F.js → behavior-BqydGn0c.js} +1 -1
  604. package/dist/kolibri/behavior-DJY-AtON.js +4 -0
  605. package/dist/kolibri/behavior-DyHxeIOP.js +4 -0
  606. package/dist/kolibri/bootstrap-ddeYryQr.js +4 -0
  607. package/dist/kolibri/color-w3K7aUcU.js +4 -0
  608. package/dist/kolibri/{component-DHl33p9J.js → component-BPRJ0qOM.js} +1 -1
  609. package/dist/kolibri/component-BQBWV-Dj.js +4 -0
  610. package/dist/kolibri/{component-DzVHCXnG.js → component-B_u7M1gI.js} +1 -1
  611. package/dist/kolibri/component-Bk12rjp3.js +4 -0
  612. package/dist/kolibri/component-D1XWWFos.js +4 -0
  613. package/dist/kolibri/component-Dfgawulk.js +4 -0
  614. package/dist/kolibri/{component-C_Te18y_.js → component-DsvRA1H3.js} +1 -1
  615. package/dist/kolibri/component-PLZiII08.js +4 -0
  616. package/dist/kolibri/component-TFkvNo8L.js +4 -0
  617. package/dist/kolibri/{component-DqHI-AwD.js → component-k7qmCOq7.js} +1 -1
  618. package/dist/kolibri/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +1 -1
  619. package/dist/kolibri/{component-C9mkZ63L.js → component-u7CHIDOX.js} +1 -1
  620. package/dist/kolibri/contrast-Dtg34nol.js +4 -0
  621. package/dist/kolibri/controller-DL8n64W5.js +4 -0
  622. package/dist/kolibri/{dev.utils-BgjegQC8.js → dev.utils-Cl2Ehgvu.js} +1 -1
  623. package/dist/kolibri/{devtools-4nOArEGl.js → devtools-BkgDF9Wk.js} +1 -1
  624. package/dist/kolibri/disabled-DU4BpeNO.js +4 -0
  625. package/dist/kolibri/element-focus-BIRmGg5W.js +4 -0
  626. package/dist/kolibri/{element-interaction-Cy9tx3Sx.js → element-interaction-sGYdEpmv.js} +1 -1
  627. package/dist/kolibri/field-control-CQRYx4SF.js +4 -0
  628. package/dist/kolibri/{group-Ce5pMiZJ.js → group-D3knBA42.js} +1 -1
  629. package/dist/kolibri/has-closer-W6jQEQkV.js +4 -0
  630. package/dist/kolibri/href-DzETOAed.js +4 -0
  631. package/dist/kolibri/index-DqqSYO-1.js +6 -0
  632. package/dist/kolibri/index.esm.js +1 -1
  633. package/dist/kolibri/input-BBxRsjm-.js +4 -0
  634. package/dist/kolibri/input-container-DrzJi_0x.js +4 -0
  635. package/dist/kolibri/item-CJvb0vTK.js +4 -0
  636. package/dist/kolibri/item-CYZtLav7.js +4 -0
  637. package/dist/kolibri/item-CuotjQUP.js +4 -0
  638. package/dist/kolibri/item-DQR44mQ_.js +4 -0
  639. package/dist/kolibri/kol-abbr.entry.js +1 -1
  640. package/dist/kolibri/kol-accordion.entry.js +1 -1
  641. package/dist/kolibri/kol-alert.entry.js +1 -1
  642. package/dist/kolibri/kol-avatar.entry.js +1 -1
  643. package/dist/kolibri/kol-badge.entry.js +1 -1
  644. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  645. package/dist/kolibri/kol-button-link.entry.js +1 -1
  646. package/dist/kolibri/kol-button.entry.js +1 -1
  647. package/dist/kolibri/kol-card.entry.js +1 -1
  648. package/dist/kolibri/kol-click-button.entry.js +1 -1
  649. package/dist/kolibri/kol-combobox.entry.js +1 -1
  650. package/dist/kolibri/kol-details.entry.js +1 -1
  651. package/dist/kolibri/kol-dialog.entry.js +1 -1
  652. package/dist/kolibri/kol-drawer.entry.js +1 -1
  653. package/dist/kolibri/kol-form.entry.js +1 -1
  654. package/dist/kolibri/kol-heading.entry.js +1 -1
  655. package/dist/kolibri/kol-icon.entry.js +1 -1
  656. package/dist/kolibri/kol-image.entry.js +1 -1
  657. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  658. package/dist/kolibri/kol-input-color.entry.js +1 -1
  659. package/dist/kolibri/kol-input-date.entry.js +1 -1
  660. package/dist/kolibri/kol-input-email.entry.js +1 -1
  661. package/dist/kolibri/kol-input-file.entry.js +1 -1
  662. package/dist/kolibri/kol-input-number.entry.js +1 -1
  663. package/dist/kolibri/kol-input-password.entry.js +1 -1
  664. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  665. package/dist/kolibri/kol-input-range.entry.js +1 -1
  666. package/dist/kolibri/kol-input-text.entry.js +1 -1
  667. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  668. package/dist/kolibri/kol-link-button.entry.js +1 -1
  669. package/dist/kolibri/kol-link.entry.js +1 -1
  670. package/dist/kolibri/kol-meter.entry.js +1 -1
  671. package/dist/kolibri/kol-modal.entry.js +1 -1
  672. package/dist/kolibri/kol-nav.entry.js +1 -1
  673. package/dist/kolibri/kol-pagination.entry.js +1 -1
  674. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  675. package/dist/kolibri/kol-progress.entry.js +1 -1
  676. package/dist/kolibri/kol-quote.entry.js +1 -1
  677. package/dist/kolibri/kol-select.entry.js +1 -1
  678. package/dist/kolibri/kol-single-select.entry.js +1 -1
  679. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  680. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  681. package/dist/kolibri/kol-spin.entry.js +1 -1
  682. package/dist/kolibri/kol-split-button.entry.js +1 -1
  683. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  684. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  685. package/dist/kolibri/kol-tabs.entry.js +1 -1
  686. package/dist/kolibri/kol-textarea.entry.js +1 -1
  687. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  688. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  689. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  690. package/dist/kolibri/kol-tree.entry.js +1 -1
  691. package/dist/kolibri/kol-version.entry.js +1 -1
  692. package/dist/kolibri/kolibri.esm.js +1 -1
  693. package/dist/kolibri/label-CJRIAbnc.js +4 -0
  694. package/dist/kolibri/label-CPjIrpB0.js +4 -0
  695. package/dist/kolibri/label-hints-CGyBuIY6.js +4 -0
  696. package/dist/kolibri/label-lang-segment-c3GyH-Op.js +4 -0
  697. package/dist/kolibri/label-with-expert-slot-89Cj-cq-.js +4 -0
  698. package/dist/kolibri/level-JSbGeBz9.js +4 -0
  699. package/dist/kolibri/link-target-aw_DcyX2.js +4 -0
  700. package/dist/kolibri/links-C0RerkBI.js +4 -0
  701. package/dist/kolibri/multiple-DMz1NE8m.js +4 -0
  702. package/dist/kolibri/name-CWVb8Q5W.js +4 -0
  703. package/dist/kolibri/number-value-Bm0uVl62.js +4 -0
  704. package/dist/kolibri/open-CnguVIAX.js +4 -0
  705. package/dist/kolibri/{options-CR431ims.js → options-DK9U0D2y.js} +1 -1
  706. package/dist/kolibri/{orientation-C9FRNmPD.js → orientation-T7LcUCDT.js} +1 -1
  707. package/dist/kolibri/placeholder-C1LF_luk.js +4 -0
  708. package/dist/kolibri/read-only-DLntjWLi.js +4 -0
  709. package/dist/kolibri/required-CySt8O-6.js +4 -0
  710. package/dist/kolibri/resolve-props-CECEyL7n.js +4 -0
  711. package/dist/kolibri/resolve-props-bPGYbQje.js +4 -0
  712. package/dist/kolibri/rows-D2i8Qw0_.js +4 -0
  713. package/dist/kolibri/{scroll-lock-DQGTnLvW.js → scroll-lock-BJ_1AYBl.js} +1 -1
  714. package/dist/kolibri/{smart-button-BHM06d-t.js → smart-button-BARe7Uqb.js} +1 -1
  715. package/dist/kolibri/spell-check-dMfm8ESK.js +4 -0
  716. package/dist/kolibri/src-evXzPKgX.js +4 -0
  717. package/dist/kolibri/step-BHPlkf18.js +4 -0
  718. package/dist/kolibri/suggestions-8D7aWSYG.js +4 -0
  719. package/dist/kolibri/suggestions-D0ShCnWU.js +4 -0
  720. package/dist/kolibri/test-component.entry.js +1 -1
  721. package/dist/kolibri/toggle-handler-WD9E4u31.js +4 -0
  722. package/dist/kolibri/unique-nav-labels-B5lSg8F6.js +4 -0
  723. package/dist/kolibri/unit-B_lrrs5g.js +4 -0
  724. package/dist/kolibri/validators-C9J6nOXq.js +4 -0
  725. package/dist/kolibri/value-string-Bg_YNL53.js +4 -0
  726. package/dist/kolibri/variant-DL7TMWWF.js +4 -0
  727. package/dist/kolibri/width-DGMj8F25.js +4 -0
  728. package/dist/types/components/_skeleton/public-api/contract.d.ts +1 -6
  729. package/dist/types/components/_skeleton/web-components/click-button/component.d.ts +3 -3
  730. package/dist/types/components/_skeleton/web-components/skeleton/component.d.ts +3 -3
  731. package/dist/types/components/abbr/component.d.ts +3 -3
  732. package/dist/types/components/accordion/component.d.ts +7 -7
  733. package/dist/types/components/alert/component.d.ts +7 -7
  734. package/dist/types/components/avatar/component.d.ts +5 -5
  735. package/dist/types/components/badge/component.d.ts +3 -3
  736. package/dist/types/components/button/base.d.ts +6 -6
  737. package/dist/types/components/button/component.d.ts +13 -13
  738. package/dist/types/components/button-link/component.d.ts +11 -11
  739. package/dist/types/components/card/base.d.ts +3 -3
  740. package/dist/types/components/card/component.d.ts +5 -5
  741. package/dist/types/components/combobox/component.d.ts +21 -21
  742. package/dist/types/components/details/component.d.ts +7 -7
  743. package/dist/types/components/dialog/base.d.ts +3 -3
  744. package/dist/types/components/dialog/component.d.ts +5 -5
  745. package/dist/types/components/drawer/component.d.ts +5 -5
  746. package/dist/types/components/heading/component.d.ts +3 -3
  747. package/dist/types/components/icon/component.d.ts +3 -2
  748. package/dist/types/components/image/component.d.ts +9 -8
  749. package/dist/types/components/input-checkbox/component.d.ts +19 -19
  750. package/dist/types/components/input-color/component.d.ts +15 -16
  751. package/dist/types/components/input-date/component.d.ts +17 -17
  752. package/dist/types/components/input-email/component.d.ts +29 -29
  753. package/dist/types/components/input-file/component.d.ts +16 -16
  754. package/dist/types/components/input-number/component.d.ts +19 -19
  755. package/dist/types/components/input-password/component.d.ts +28 -27
  756. package/dist/types/components/input-radio/component.d.ts +13 -13
  757. package/dist/types/components/input-range/component.d.ts +13 -13
  758. package/dist/types/components/input-text/component.d.ts +26 -25
  759. package/dist/types/components/kolibri/component.d.ts +3 -3
  760. package/dist/types/components/link/base.d.ts +5 -5
  761. package/dist/types/components/link/component.d.ts +9 -9
  762. package/dist/types/components/link-button/component.d.ts +7 -7
  763. package/dist/types/components/meter/component.d.ts +17 -16
  764. package/dist/types/components/modal/component.d.ts +5 -5
  765. package/dist/types/components/nav/component.d.ts +7 -7
  766. package/dist/types/components/pagination/component.d.ts +8 -8
  767. package/dist/types/components/popover-button/component.d.ts +9 -9
  768. package/dist/types/components/progress/component.d.ts +9 -8
  769. package/dist/types/components/quote/component.d.ts +7 -6
  770. package/dist/types/components/select/component.d.ts +19 -19
  771. package/dist/types/components/single-select/component.d.ts +19 -19
  772. package/dist/types/components/spin/component.d.ts +5 -4
  773. package/dist/types/components/split-button/component.d.ts +13 -13
  774. package/dist/types/components/table-stateful/component.d.ts +9 -9
  775. package/dist/types/components/table-stateless/base.d.ts +4 -3
  776. package/dist/types/components/table-stateless/component.d.ts +5 -5
  777. package/dist/types/components/tabs/component.d.ts +3 -3
  778. package/dist/types/components/textarea/component.d.ts +27 -27
  779. package/dist/types/components/toolbar/component.d.ts +3 -3
  780. package/dist/types/components/tree-item/component.d.ts +3 -3
  781. package/dist/types/components.d.ts +1350 -973
  782. package/dist/types/core/component-names.d.ts +0 -1
  783. package/dist/types/core/i18n.d.ts +1 -1
  784. package/dist/types/e2e/input-behavior-contract.d.ts +0 -1
  785. package/dist/types/functional-components/index.d.ts +0 -1
  786. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  787. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  788. package/dist/types/internal/functional-components/avatar/api.d.ts +1 -1
  789. package/dist/types/internal/functional-components/badge/api.d.ts +4 -4
  790. package/dist/types/internal/functional-components/base-web-component.d.ts +2 -0
  791. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  792. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  793. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  794. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  795. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  796. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  797. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  798. package/dist/types/internal/functional-components/dialog/item.d.ts +2 -2
  799. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  800. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  801. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  802. package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -1
  803. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  804. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -0
  805. package/dist/types/internal/functional-components/form-field/component.d.ts +2 -2
  806. package/dist/types/internal/functional-components/form-field/default-input-props.d.ts +4 -3
  807. package/dist/types/internal/functional-components/form-field/field-control.d.ts +2 -2
  808. package/dist/types/internal/functional-components/form-field/label.d.ts +2 -1
  809. package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
  810. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  811. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  812. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  813. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  814. package/dist/types/internal/functional-components/input-color/api.d.ts +6 -6
  815. package/dist/types/internal/functional-components/input-date/api.d.ts +6 -6
  816. package/dist/types/internal/functional-components/input-email/api.d.ts +6 -6
  817. package/dist/types/internal/functional-components/input-file/api.d.ts +6 -6
  818. package/dist/types/internal/functional-components/input-number/api.d.ts +6 -6
  819. package/dist/types/internal/functional-components/input-password/api.d.ts +6 -6
  820. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  821. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  822. package/dist/types/internal/functional-components/input-text/api.d.ts +6 -6
  823. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  824. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  825. package/dist/types/internal/functional-components/link/item.d.ts +2 -1
  826. package/dist/types/internal/functional-components/meter/api.d.ts +11 -2
  827. package/dist/types/internal/functional-components/meter/component.test.d.ts +1 -0
  828. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  829. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  830. package/dist/types/internal/functional-components/pagination/component.d.ts +1 -1
  831. package/dist/types/internal/functional-components/pagination/item.d.ts +3 -3
  832. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  833. package/dist/types/internal/functional-components/progress/api.d.ts +11 -2
  834. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  835. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  836. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  837. package/dist/types/internal/functional-components/skeleton/api.d.ts +1 -1
  838. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  839. package/dist/types/internal/functional-components/span/api.d.ts +2 -2
  840. package/dist/types/internal/functional-components/span/component.d.ts +2 -1
  841. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  842. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  843. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  844. package/dist/types/internal/functional-components/table-stateless/component.d.ts +1 -0
  845. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +0 -3
  846. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  847. package/dist/types/internal/functional-components/text-input/api.d.ts +6 -6
  848. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  849. package/dist/types/internal/functional-components/toolbar/api.d.ts +2 -2
  850. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  851. package/dist/types/internal/functional-components/tooltip/behavior.d.ts +2 -1
  852. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  853. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  854. package/dist/types/internal/props/accept.d.ts +2 -1
  855. package/dist/types/internal/props/access-key.d.ts +3 -2
  856. package/dist/types/internal/props/active.d.ts +3 -2
  857. package/dist/types/internal/props/adjust-height.d.ts +3 -2
  858. package/dist/types/internal/props/alert-callbacks.d.ts +1 -3
  859. package/dist/types/internal/props/alert-type.d.ts +1 -1
  860. package/dist/types/internal/props/alert-variant.d.ts +1 -1
  861. package/dist/types/internal/props/alert.d.ts +3 -2
  862. package/dist/types/internal/props/allow-markdown.d.ts +3 -2
  863. package/dist/types/internal/props/allow-multi-sort.d.ts +3 -2
  864. package/dist/types/internal/props/alt.d.ts +3 -2
  865. package/dist/types/internal/props/aria-controls.d.ts +3 -2
  866. package/dist/types/internal/props/aria-current-value.d.ts +1 -1
  867. package/dist/types/internal/props/aria-description.d.ts +3 -2
  868. package/dist/types/internal/props/aria-details.d.ts +3 -2
  869. package/dist/types/internal/props/aria-expanded.d.ts +1 -1
  870. package/dist/types/internal/props/aria-has-popup.d.ts +1 -1
  871. package/dist/types/internal/props/aria-owns.d.ts +3 -2
  872. package/dist/types/internal/props/aria-selected.d.ts +1 -1
  873. package/dist/types/internal/props/auto-complete.d.ts +1 -1
  874. package/dist/types/internal/props/badge-text.d.ts +3 -2
  875. package/dist/types/internal/props/boundary-count.d.ts +3 -2
  876. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -4
  877. package/dist/types/internal/props/button-callbacks.d.ts +1 -3
  878. package/dist/types/internal/props/button-type.d.ts +1 -1
  879. package/dist/types/internal/props/card-callbacks.d.ts +1 -3
  880. package/dist/types/internal/props/checkbox-value.d.ts +1 -1
  881. package/dist/types/internal/props/checked.d.ts +3 -2
  882. package/dist/types/internal/props/collapsible-callbacks.d.ts +1 -3
  883. package/dist/types/internal/props/collapsible.d.ts +3 -2
  884. package/dist/types/internal/props/color.d.ts +1 -1
  885. package/dist/types/internal/props/custom-class.d.ts +3 -2
  886. package/dist/types/internal/props/dialog-callbacks.d.ts +1 -1
  887. package/dist/types/internal/props/disabled.d.ts +3 -2
  888. package/dist/types/internal/props/download.d.ts +2 -1
  889. package/dist/types/internal/props/drawer-callbacks.d.ts +1 -1
  890. package/dist/types/internal/props/error-list.d.ts +1 -1
  891. package/dist/types/internal/props/fixed-cols.d.ts +1 -1
  892. package/dist/types/internal/props/form-callbacks.d.ts +1 -3
  893. package/dist/types/internal/props/has-clear-button.d.ts +3 -2
  894. package/dist/types/internal/props/has-closer.d.ts +3 -2
  895. package/dist/types/internal/props/has-compact-button.d.ts +3 -2
  896. package/dist/types/internal/props/has-counter.d.ts +3 -2
  897. package/dist/types/internal/props/has-create-button.d.ts +3 -2
  898. package/dist/types/internal/props/has-icons-when-expanded.d.ts +3 -2
  899. package/dist/types/internal/props/has-settings-menu.d.ts +3 -2
  900. package/dist/types/internal/props/helpers/factory.d.ts +13 -6
  901. package/dist/types/internal/props/helpers/normalizers.d.ts +2 -1
  902. package/dist/types/internal/props/helpers/validators.d.ts +4 -0
  903. package/dist/types/internal/props/hide-label.d.ts +3 -2
  904. package/dist/types/internal/props/hide-msg.d.ts +3 -2
  905. package/dist/types/internal/props/high.d.ts +3 -2
  906. package/dist/types/internal/props/hint.d.ts +3 -2
  907. package/dist/types/internal/props/hints/label-hints.d.ts +2 -1
  908. package/dist/types/internal/props/horizontal-icons.d.ts +1 -1
  909. package/dist/types/internal/props/href.d.ts +3 -3
  910. package/dist/types/internal/props/icons-input-checkbox.d.ts +1 -1
  911. package/dist/types/internal/props/icons.d.ts +1 -1
  912. package/dist/types/internal/props/id.d.ts +3 -2
  913. package/dist/types/internal/props/image-callbacks.d.ts +1 -3
  914. package/dist/types/internal/props/indeterminate.d.ts +3 -2
  915. package/dist/types/internal/props/index.d.ts +1 -1
  916. package/dist/types/internal/props/inline.d.ts +3 -2
  917. package/dist/types/internal/props/input-date-type.d.ts +1 -1
  918. package/dist/types/internal/props/input-text-type.d.ts +1 -1
  919. package/dist/types/internal/props/kolibri-color.d.ts +1 -1
  920. package/dist/types/internal/props/label-align.d.ts +1 -1
  921. package/dist/types/internal/props/label-lang-segment.d.ts +4 -0
  922. package/dist/types/internal/props/label-with-expert-slot.d.ts +3 -2
  923. package/dist/types/internal/props/label.d.ts +2 -1
  924. package/dist/types/internal/props/labeled.d.ts +3 -2
  925. package/dist/types/internal/props/level.d.ts +1 -1
  926. package/dist/types/internal/props/link-callbacks.d.ts +1 -3
  927. package/dist/types/internal/props/link-role.d.ts +1 -1
  928. package/dist/types/internal/props/link-target.d.ts +3 -2
  929. package/dist/types/internal/props/loading.d.ts +1 -1
  930. package/dist/types/internal/props/low.d.ts +3 -2
  931. package/dist/types/internal/props/max-length-behavior.d.ts +1 -1
  932. package/dist/types/internal/props/max-length.d.ts +2 -1
  933. package/dist/types/internal/props/max.d.ts +3 -2
  934. package/dist/types/internal/props/min.d.ts +3 -2
  935. package/dist/types/internal/props/multiple.d.ts +3 -2
  936. package/dist/types/internal/props/name.d.ts +3 -2
  937. package/dist/types/internal/props/nav-links.d.ts +1 -3
  938. package/dist/types/internal/props/open.d.ts +3 -2
  939. package/dist/types/internal/props/optimum.d.ts +3 -2
  940. package/dist/types/internal/props/options-with-optgroup.d.ts +1 -1
  941. package/dist/types/internal/props/orientation.d.ts +1 -1
  942. package/dist/types/internal/props/page-size-options.d.ts +1 -1
  943. package/dist/types/internal/props/page-size.d.ts +3 -2
  944. package/dist/types/internal/props/page.d.ts +3 -2
  945. package/dist/types/internal/props/pagination-callbacks.d.ts +1 -3
  946. package/dist/types/internal/props/pagination-has-buttons.d.ts +1 -1
  947. package/dist/types/internal/props/pagination-max.d.ts +3 -2
  948. package/dist/types/internal/props/pagination-position.d.ts +1 -1
  949. package/dist/types/internal/props/pattern.d.ts +2 -1
  950. package/dist/types/internal/props/placeholder.d.ts +2 -1
  951. package/dist/types/internal/props/quote.d.ts +3 -2
  952. package/dist/types/internal/props/radio-orientation.d.ts +1 -1
  953. package/dist/types/internal/props/radio-value.d.ts +1 -1
  954. package/dist/types/internal/props/read-only.d.ts +3 -2
  955. package/dist/types/internal/props/required-text.d.ts +1 -1
  956. package/dist/types/internal/props/required.d.ts +3 -2
  957. package/dist/types/internal/props/resize.d.ts +1 -1
  958. package/dist/types/internal/props/rows.d.ts +2 -1
  959. package/dist/types/internal/props/secondary-headline.d.ts +3 -2
  960. package/dist/types/internal/props/select-value.d.ts +1 -1
  961. package/dist/types/internal/props/selected.d.ts +3 -2
  962. package/dist/types/internal/props/short-key.d.ts +3 -2
  963. package/dist/types/internal/props/show.d.ts +3 -2
  964. package/dist/types/internal/props/sibling-count.d.ts +3 -2
  965. package/dist/types/internal/props/sizes.d.ts +3 -2
  966. package/dist/types/internal/props/skip-nav-links.d.ts +1 -3
  967. package/dist/types/internal/props/smart-button.d.ts +2 -2
  968. package/dist/types/internal/props/span-icons.d.ts +1 -1
  969. package/dist/types/internal/props/spell-check.d.ts +2 -1
  970. package/dist/types/internal/props/src.d.ts +3 -2
  971. package/dist/types/internal/props/srcset.d.ts +3 -2
  972. package/dist/types/internal/props/suggestions.d.ts +1 -1
  973. package/dist/types/internal/props/sync-value-by-selector.d.ts +2 -1
  974. package/dist/types/internal/props/tab-behavior.d.ts +1 -1
  975. package/dist/types/internal/props/tab-index.d.ts +3 -2
  976. package/dist/types/internal/props/table-data-foot.d.ts +1 -1
  977. package/dist/types/internal/props/table-data.d.ts +1 -1
  978. package/dist/types/internal/props/table-headers.d.ts +1 -1
  979. package/dist/types/internal/props/table-loading.d.ts +3 -2
  980. package/dist/types/internal/props/table-pagination.d.ts +1 -1
  981. package/dist/types/internal/props/table-selection.d.ts +1 -1
  982. package/dist/types/internal/props/table-stateful-headers.d.ts +1 -1
  983. package/dist/types/internal/props/tabs-callbacks.d.ts +1 -1
  984. package/dist/types/internal/props/tabs.d.ts +1 -1
  985. package/dist/types/internal/props/toolbar-items.d.ts +1 -1
  986. package/dist/types/internal/props/touched.d.ts +3 -2
  987. package/dist/types/internal/props/unit.d.ts +3 -2
  988. package/dist/types/internal/props/value-number-clamped.d.ts +4 -3
  989. package/dist/types/internal/props/value-string.d.ts +2 -1
  990. package/dist/types/internal/props/variant-dialog.d.ts +1 -1
  991. package/dist/types/internal/props/variant-input-checkbox.d.ts +1 -1
  992. package/dist/types/internal/props/variant-progress.d.ts +1 -1
  993. package/dist/types/internal/props/variant-quote.d.ts +1 -1
  994. package/dist/types/internal/props/variant-spin.d.ts +1 -1
  995. package/dist/types/internal/props/variant.d.ts +1 -1
  996. package/dist/types/internal/props/visibility-toggle.d.ts +3 -2
  997. package/dist/types/internal/props/width.d.ts +3 -2
  998. package/dist/types/schema/components/alert.d.ts +2 -2
  999. package/dist/types/schema/components/badge.d.ts +2 -2
  1000. package/dist/types/schema/components/breadcrumb.d.ts +2 -2
  1001. package/dist/types/schema/components/card.d.ts +2 -2
  1002. package/dist/types/schema/components/collapsible.d.ts +3 -3
  1003. package/dist/types/schema/components/dialog.d.ts +3 -3
  1004. package/dist/types/schema/components/drawer.d.ts +3 -3
  1005. package/dist/types/schema/components/split-button.d.ts +2 -2
  1006. package/dist/types/schema/components/table.d.ts +3 -3
  1007. package/dist/types/schema/components/tableStateless.d.ts +3 -3
  1008. package/dist/types/schema/components/tabs.d.ts +2 -2
  1009. package/dist/types/schema/components/tree-item.d.ts +2 -2
  1010. package/dist/types/schema/props/allow-markdown.d.ts +1 -0
  1011. package/dist/types/schema/props/aria-controls.d.ts +1 -2
  1012. package/dist/types/schema/props/boundary-count.d.ts +1 -0
  1013. package/dist/types/schema/props/has-clear-button.d.ts +1 -0
  1014. package/dist/types/schema/props/has-compact-button.d.ts +1 -2
  1015. package/dist/types/schema/props/high.d.ts +1 -0
  1016. package/dist/types/schema/props/index.d.ts +19 -0
  1017. package/dist/types/schema/props/label.d.ts +16 -2
  1018. package/dist/types/schema/props/labeled.d.ts +1 -0
  1019. package/dist/types/schema/props/low.d.ts +1 -0
  1020. package/dist/types/schema/props/min.d.ts +1 -0
  1021. package/dist/types/schema/props/optimum.d.ts +1 -0
  1022. package/dist/types/schema/props/page-size.d.ts +1 -0
  1023. package/dist/types/schema/props/page.d.ts +1 -0
  1024. package/dist/types/schema/props/secondary-headline.d.ts +1 -0
  1025. package/dist/types/schema/props/selected.d.ts +1 -0
  1026. package/dist/types/schema/props/sibling-count.d.ts +1 -0
  1027. package/dist/types/schema/props/sizes.d.ts +1 -0
  1028. package/dist/types/schema/props/src.d.ts +1 -0
  1029. package/dist/types/schema/props/srcset.d.ts +1 -0
  1030. package/dist/types/schema/props/table-loading.d.ts +1 -0
  1031. package/dist/types/schema/props/value-number-clamped.d.ts +1 -0
  1032. package/dist/types/schema/props/value-string.d.ts +1 -0
  1033. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  1034. package/dist/types/utils/dev.utils.d.ts +0 -2
  1035. package/dist/types/utils/element-focus.d.ts +1 -0
  1036. package/dist/types/utils/element-interaction.d.ts +0 -1
  1037. package/dist/types/utils/element-themed.d.ts +1 -2
  1038. package/dist/types/utils/unique-nav-labels.d.ts +3 -2
  1039. package/doc/abbr.md +3 -3
  1040. package/doc/accordion.md +1 -1
  1041. package/doc/alert.md +1 -1
  1042. package/doc/badge.md +6 -6
  1043. package/doc/breadcrumb.md +4 -4
  1044. package/doc/button-link.md +1 -1
  1045. package/doc/button.md +1 -1
  1046. package/doc/card.md +1 -1
  1047. package/doc/combobox.md +23 -23
  1048. package/doc/details.md +1 -1
  1049. package/doc/dialog.md +1 -1
  1050. package/doc/drawer.md +1 -1
  1051. package/doc/heading.md +5 -5
  1052. package/doc/input-checkbox.md +1 -1
  1053. package/doc/input-color.md +22 -22
  1054. package/doc/input-date.md +28 -28
  1055. package/doc/input-email.md +30 -30
  1056. package/doc/input-file.md +22 -22
  1057. package/doc/input-number.md +28 -28
  1058. package/doc/input-password.md +29 -29
  1059. package/doc/input-radio.md +1 -1
  1060. package/doc/input-range.md +1 -1
  1061. package/doc/input-text.md +31 -31
  1062. package/doc/link-button.md +1 -1
  1063. package/doc/link.md +1 -1
  1064. package/doc/meter.md +1 -1
  1065. package/doc/modal.md +1 -1
  1066. package/doc/popover-button.md +18 -18
  1067. package/doc/progress.md +7 -7
  1068. package/doc/quote.md +6 -6
  1069. package/doc/select.md +24 -24
  1070. package/doc/single-select.md +1 -1
  1071. package/doc/split-button.md +1 -1
  1072. package/doc/table-stateful.md +1 -1
  1073. package/doc/table-stateless.md +1 -1
  1074. package/doc/textarea.md +1 -1
  1075. package/doc/tree-item.md +6 -6
  1076. package/package.json +5 -12
  1077. package/vscode-custom-data.json +20 -20
  1078. package/dist/cjs/component-kxdSa2S4.js +0 -36
  1079. package/dist/cjs/component-plNY-StC.js +0 -13
  1080. package/dist/cjs/href-B2aqb6-P.js +0 -12
  1081. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +0 -82
  1082. package/dist/cjs/label-DeUoiK6M.js +0 -39
  1083. package/dist/cjs/label-with-expert-slot-B1k6ppMF.js +0 -10
  1084. package/dist/collection/components/component-list.js +0 -105
  1085. package/dist/collection/components/heading/validation.js +0 -11
  1086. package/dist/collection/components/tooltip/component.js +0 -204
  1087. package/dist/collection/functional-components/Heading/index.js +0 -5
  1088. package/dist/collection/internal/props/hints/index.js +0 -4
  1089. package/dist/collection/internal/props/pagination-label.js +0 -6
  1090. package/dist/collection/schema/components/input.js +0 -4
  1091. package/dist/collection/schema/validators/window.js +0 -4
  1092. package/dist/components/component11.js +0 -4
  1093. package/dist/components/isArray.js +0 -4
  1094. package/dist/components/kol-tooltip-wc.d.ts +0 -11
  1095. package/dist/components/kol-tooltip-wc.js +0 -4
  1096. package/dist/esm/component-YhEwg1LK.js +0 -11
  1097. package/dist/esm/href-OaK1sDT5.js +0 -9
  1098. package/dist/esm/kol-tooltip-wc.entry.js +0 -80
  1099. package/dist/esm/label-BNtqGdMQ.js +0 -35
  1100. package/dist/esm/label-with-expert-slot-aAOUzLo3.js +0 -8
  1101. package/dist/esm/rows-CUHDEUm9.js +0 -8
  1102. package/dist/kolibri/api-B9mpTRGa.js +0 -4
  1103. package/dist/kolibri/api-CvPkoAAG.js +0 -4
  1104. package/dist/kolibri/api-hAvZrw9X.js +0 -4
  1105. package/dist/kolibri/app-globals-Dff_iJYF.js +0 -4
  1106. package/dist/kolibri/aria-labelledby-BRToXqsQ.js +0 -4
  1107. package/dist/kolibri/base-7FEvBJ3L.js +0 -4
  1108. package/dist/kolibri/base-COT79ELt.js +0 -4
  1109. package/dist/kolibri/base-CsJWjTJl.js +0 -4
  1110. package/dist/kolibri/base-Df1bwC8d.js +0 -4
  1111. package/dist/kolibri/base-web-component-Bcoukts3.js +0 -4
  1112. package/dist/kolibri/behavior-BMW-_4Oy.js +0 -4
  1113. package/dist/kolibri/behavior-BlS6DO8T.js +0 -4
  1114. package/dist/kolibri/bootstrap-DTVsVq0w.js +0 -4
  1115. package/dist/kolibri/color-9CMp_pOq.js +0 -4
  1116. package/dist/kolibri/component-BkjWlzLc.js +0 -4
  1117. package/dist/kolibri/component-BmJGOcby.js +0 -4
  1118. package/dist/kolibri/component-CySyXSru.js +0 -4
  1119. package/dist/kolibri/component-DeWynlzi.js +0 -4
  1120. package/dist/kolibri/component-DxddScWx.js +0 -4
  1121. package/dist/kolibri/component-Ik_-HAMT.js +0 -4
  1122. package/dist/kolibri/component-YhEwg1LK.js +0 -4
  1123. package/dist/kolibri/contrast-BK5uVXeb.js +0 -4
  1124. package/dist/kolibri/controller-Bf-CAo4Q.js +0 -4
  1125. package/dist/kolibri/disabled-BaPgTuFO.js +0 -4
  1126. package/dist/kolibri/element-focus-Cp994Rrk.js +0 -4
  1127. package/dist/kolibri/field-control-Brx62dJV.js +0 -4
  1128. package/dist/kolibri/has-closer-C9L79ect.js +0 -4
  1129. package/dist/kolibri/href-OaK1sDT5.js +0 -4
  1130. package/dist/kolibri/index-D5UV99lE.js +0 -6
  1131. package/dist/kolibri/input-DjQorwQ5.js +0 -4
  1132. package/dist/kolibri/input-container-RSmfcRgK.js +0 -4
  1133. package/dist/kolibri/isArray-CcrBs4JM.js +0 -4
  1134. package/dist/kolibri/item-2cprk9ut.js +0 -4
  1135. package/dist/kolibri/item-Bfk2xd-D.js +0 -4
  1136. package/dist/kolibri/item-D9_O5WAR.js +0 -4
  1137. package/dist/kolibri/item-DMWn_IlJ.js +0 -4
  1138. package/dist/kolibri/kol-tooltip-wc.entry.js +0 -4
  1139. package/dist/kolibri/label-BNtqGdMQ.js +0 -4
  1140. package/dist/kolibri/label-with-expert-slot-aAOUzLo3.js +0 -4
  1141. package/dist/kolibri/level-Df663c7y.js +0 -4
  1142. package/dist/kolibri/link-target-C7_smSbV.js +0 -4
  1143. package/dist/kolibri/links-B0xbzBwU.js +0 -4
  1144. package/dist/kolibri/multiple-CYHm7rd3.js +0 -4
  1145. package/dist/kolibri/name-m3owaZxH.js +0 -4
  1146. package/dist/kolibri/number-value-CMedWR58.js +0 -4
  1147. package/dist/kolibri/open-DCGNTmvC.js +0 -4
  1148. package/dist/kolibri/placeholder-Bwzvbwhh.js +0 -4
  1149. package/dist/kolibri/read-only-C5fDsZVK.js +0 -4
  1150. package/dist/kolibri/required-CC0212MQ.js +0 -4
  1151. package/dist/kolibri/resolve-props-47S-r31C.js +0 -4
  1152. package/dist/kolibri/resolve-props-CnHCiXuG.js +0 -4
  1153. package/dist/kolibri/rows-CUHDEUm9.js +0 -4
  1154. package/dist/kolibri/spell-check-DiSedaOR.js +0 -4
  1155. package/dist/kolibri/src-CsLEg--w.js +0 -4
  1156. package/dist/kolibri/step-BxSThOke.js +0 -4
  1157. package/dist/kolibri/suggestions-B79TOsF_.js +0 -4
  1158. package/dist/kolibri/suggestions-C38q-5JU.js +0 -4
  1159. package/dist/kolibri/toggle-handler-CQ0FhBmD.js +0 -4
  1160. package/dist/kolibri/unique-nav-labels-Bh3w7dCH.js +0 -4
  1161. package/dist/kolibri/unit-BgjPEae-.js +0 -4
  1162. package/dist/kolibri/value-string-BDfywbme.js +0 -4
  1163. package/dist/kolibri/variant-PJN56KWi.js +0 -4
  1164. package/dist/kolibri/width-CAS8lhOU.js +0 -4
  1165. package/dist/types/components/component-list.d.ts +0 -7
  1166. package/dist/types/components/heading/validation.d.ts +0 -3
  1167. package/dist/types/components/tooltip/component.d.ts +0 -19
  1168. package/dist/types/functional-components/Heading/index.d.ts +0 -2
  1169. package/dist/types/internal/props/hints/index.d.ts +0 -1
  1170. package/dist/types/internal/props/pagination-label.d.ts +0 -3
  1171. package/dist/types/schema/components/input.d.ts +0 -0
  1172. package/dist/types/schema/validators/window.d.ts +0 -0
@@ -1,204 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { h, Host } from "@stencil/core";
5
- import { BaseWebComponent } from "../../internal/functional-components/base-web-component";
6
- import { TooltipBehavior } from "../../internal/functional-components/tooltip/behavior";
7
- import { TooltipFC } from "../../internal/functional-components/tooltip/component";
8
- export class KolTooltipWc {
9
- constructor() {
10
- this.tooltipBehavior = new TooltipBehavior(BaseWebComponent.stateLess);
11
- this._align = 'top';
12
- }
13
- validateAlign(value) {
14
- var _a;
15
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.watchAlign(value);
16
- }
17
- validateId(value) {
18
- var _a;
19
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.watchId(value);
20
- }
21
- validateLabel(value) {
22
- var _a;
23
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.watchLabel(value);
24
- }
25
- hideTooltip() {
26
- var _a;
27
- return Promise.resolve((_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.hideTooltip());
28
- }
29
- connectedCallback() {
30
- var _a, _b, _c;
31
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.initContext(((_c = (_b = this.host) === null || _b === void 0 ? void 0 : _b.previousElementSibling) !== null && _c !== void 0 ? _c : undefined));
32
- }
33
- componentWillLoad() {
34
- this.tooltipBehavior.componentWillLoad({
35
- label: this._label,
36
- align: this._align,
37
- badgeText: this._badgeText,
38
- id: this._id,
39
- });
40
- }
41
- componentDidRender() {
42
- var _a;
43
- if (this.host) {
44
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.handleEventListeners(this.host);
45
- }
46
- }
47
- disconnectedCallback() {
48
- var _a;
49
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.destroy();
50
- }
51
- render() {
52
- return (h(Host, { key: 'bffe2bfcedd35f027a4690cc2ee3466b319bfc03', class: "kol-tooltip" }, h(TooltipFC, { key: '5fdca1cc82de62f87c5a2d5116ed2035dddf47df', label: this.tooltipBehavior.getRenderProp('label'), badgeText: this._badgeText, id: this.tooltipBehavior.getRenderProp('id'), refFloating: (el) => { var _a; return (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.setTooltipElementRef(el); } })));
53
- }
54
- static get is() { return "kol-tooltip-wc"; }
55
- static get properties() {
56
- return {
57
- "_badgeText": {
58
- "type": "string",
59
- "mutable": false,
60
- "complexType": {
61
- "original": "BadgeTextPropType",
62
- "resolved": "string | undefined",
63
- "references": {
64
- "BadgeTextPropType": {
65
- "location": "import",
66
- "path": "../../schema",
67
- "id": "src/schema/index.ts::BadgeTextPropType",
68
- "referenceLocation": "BadgeTextPropType"
69
- }
70
- }
71
- },
72
- "required": false,
73
- "optional": true,
74
- "docs": {
75
- "tags": [],
76
- "text": "Defines the elements badge text."
77
- },
78
- "getter": false,
79
- "setter": false,
80
- "reflect": false,
81
- "attribute": "_badge-text"
82
- },
83
- "_align": {
84
- "type": "string",
85
- "mutable": false,
86
- "complexType": {
87
- "original": "AlignPropType",
88
- "resolved": "\"bottom\" | \"left\" | \"right\" | \"top\" | undefined",
89
- "references": {
90
- "AlignPropType": {
91
- "location": "import",
92
- "path": "../../schema",
93
- "id": "src/schema/index.ts::AlignPropType",
94
- "referenceLocation": "AlignPropType"
95
- }
96
- }
97
- },
98
- "required": false,
99
- "optional": true,
100
- "docs": {
101
- "tags": [],
102
- "text": "Defines the alignment of the tooltip, popover or tabs in relation to the element."
103
- },
104
- "getter": false,
105
- "setter": false,
106
- "reflect": false,
107
- "attribute": "_align",
108
- "defaultValue": "'top'"
109
- },
110
- "_id": {
111
- "type": "string",
112
- "mutable": false,
113
- "complexType": {
114
- "original": "IdPropType",
115
- "resolved": "string | undefined",
116
- "references": {
117
- "IdPropType": {
118
- "location": "import",
119
- "path": "../../schema",
120
- "id": "src/schema/index.ts::IdPropType",
121
- "referenceLocation": "IdPropType"
122
- }
123
- }
124
- },
125
- "required": false,
126
- "optional": true,
127
- "docs": {
128
- "tags": [{
129
- "name": "deprecated",
130
- "text": "Will be removed in next major release. The ID is now generated internally and cannot be set via props."
131
- }, {
132
- "name": "internal",
133
- "text": undefined
134
- }],
135
- "text": "Defines the internal ID of the primary component element."
136
- },
137
- "getter": false,
138
- "setter": false,
139
- "reflect": false,
140
- "attribute": "_id"
141
- },
142
- "_label": {
143
- "type": "string",
144
- "mutable": false,
145
- "complexType": {
146
- "original": "LabelPropType",
147
- "resolved": "string",
148
- "references": {
149
- "LabelPropType": {
150
- "location": "import",
151
- "path": "../../schema",
152
- "id": "src/schema/index.ts::LabelPropType",
153
- "referenceLocation": "LabelPropType"
154
- }
155
- }
156
- },
157
- "required": true,
158
- "optional": false,
159
- "docs": {
160
- "tags": [],
161
- "text": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
162
- },
163
- "getter": false,
164
- "setter": false,
165
- "reflect": false,
166
- "attribute": "_label"
167
- }
168
- };
169
- }
170
- static get methods() {
171
- return {
172
- "hideTooltip": {
173
- "complexType": {
174
- "signature": "() => Promise<void>",
175
- "parameters": [],
176
- "references": {
177
- "Promise": {
178
- "location": "global",
179
- "id": "global::Promise"
180
- }
181
- },
182
- "return": "Promise<void>"
183
- },
184
- "docs": {
185
- "text": "Hides the tooltip.",
186
- "tags": []
187
- }
188
- }
189
- };
190
- }
191
- static get elementRef() { return "host"; }
192
- static get watchers() {
193
- return [{
194
- "propName": "_align",
195
- "methodName": "validateAlign"
196
- }, {
197
- "propName": "_id",
198
- "methodName": "validateId"
199
- }, {
200
- "propName": "_label",
201
- "methodName": "validateLabel"
202
- }];
203
- }
204
- }
@@ -1,5 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- export * from './Heading';
5
- export { default } from './Heading';
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- export * from './label-hints';
@@ -1,6 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { createPropDefinition } from "./helpers/factory";
5
- import { normalizeString } from "./helpers/normalizers";
6
- export const paginationLabelProp = createPropDefinition('label', '', normalizeString);
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as n,Fragment as s}from"@stencil/core/internal/client";import{t as e}from"./i18n.js";import{b as a}from"./bem-registry.js";import{B as r}from"./component.js";const l=a.forBlock("kol-spin"),t=l("loader"),o=["1","2","3","neutral"],i=a=>{const{show:i,label:c,variant:p}=a;return n(r,{block:"kol-spin"},i?n(s,null,n("span",{class:l("spinner",{[p]:!0})},function(s){switch(s){case"cycle":return n("span",{class:t});case"none":return n("slot",{name:"expert"});default:return o.map((s=>n("span",{class:l("spinner-element",{[s]:!0})})))}}(p)),n("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},c||e("kol-action-running"))):n("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},c||e("kol-action-done")))};export{i as S}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- var e="object"==typeof global&&global&&global.Object===Object&&global,t="object"==typeof self&&self&&self.Object===Object&&self,o=e||t||Function("return this")(),n=o.Symbol,r=Object.prototype,l=r.hasOwnProperty,a=r.toString,c=n?n.toStringTag:void 0,b=Object.prototype.toString,f=n?n.toStringTag:void 0;function i(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":f&&f in Object(e)?function(e){var t=l.call(e,c),o=e[c];try{e[c]=void 0;var n=!0}catch(e){}var r=a.call(e);return n&&(t?e[c]=o:delete e[c]),r}(e):function(e){return b.call(e)}(e)}function u(e){return null!=e&&"object"==typeof e}var s=Array.isArray;export{n as S,s as a,i as b,e as f,u as i,o as r}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface KolTooltipWc extends Components.KolTooltipWc, HTMLElement {}
4
- export const KolTooltipWc: {
5
- prototype: KolTooltipWc;
6
- new (): KolTooltipWc;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{proxyCustomElement as t,HTMLElement as i,h as e,Host as l,transformTag as o}from"@stencil/core/internal/client";import{B as a}from"./base-web-component.js";import{T as d}from"./behavior.js";import{T as n}from"./component9.js";const s=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.tooltipBehavior=new d(a.stateLess),this._align="top"}validateAlign(t){var i;null===(i=this.tooltipBehavior)||void 0===i||i.watchAlign(t)}validateId(t){var i;null===(i=this.tooltipBehavior)||void 0===i||i.watchId(t)}validateLabel(t){var i;null===(i=this.tooltipBehavior)||void 0===i||i.watchLabel(t)}hideTooltip(){var t;return Promise.resolve(null===(t=this.tooltipBehavior)||void 0===t?void 0:t.hideTooltip())}connectedCallback(){var t,i,e;null===(t=this.tooltipBehavior)||void 0===t||t.initContext(null!==(e=null===(i=this.host)||void 0===i?void 0:i.previousElementSibling)&&void 0!==e?e:void 0)}componentWillLoad(){this.tooltipBehavior.componentWillLoad({label:this._label,align:this._align,badgeText:this._badgeText,id:this._id})}componentDidRender(){var t;this.host&&(null===(t=this.tooltipBehavior)||void 0===t||t.handleEventListeners(this.host))}disconnectedCallback(){var t;null===(t=this.tooltipBehavior)||void 0===t||t.destroy()}render(){return e(l,{key:"bffe2bfcedd35f027a4690cc2ee3466b319bfc03",class:"kol-tooltip"},e(n,{key:"5fdca1cc82de62f87c5a2d5116ed2035dddf47df",label:this.tooltipBehavior.getRenderProp("label"),badgeText:this._badgeText,id:this.tooltipBehavior.getRenderProp("id"),refFloating:t=>{var i;return null===(i=this.tooltipBehavior)||void 0===i?void 0:i.setTooltipElementRef(t)}}))}get host(){return this}static get watchers(){return{_align:[{validateAlign:0}],_id:[{validateId:0}],_label:[{validateLabel:0}]}}},[0,"kol-tooltip-wc",{_badgeText:[1,"_badge-text"],_align:[1],_id:[1],_label:[1],hideTooltip:[64]},void 0,{_align:[{validateAlign:0}],_id:[{validateId:0}],_label:[{validateLabel:0}]}]),r=s,c=function(){"undefined"!=typeof customElements&&["kol-tooltip-wc"].forEach((t=>{"kol-tooltip-wc"===t&&(customElements.get(o(t))||customElements.define(o(t),s))}))};export{r as KolTooltipWc,c as defineCustomElement}
@@ -1,11 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { h } from './index-D5UV99lE.js';
5
- import { S as SpanFC } from './component-Ik_-HAMT.js';
6
-
7
- const TooltipFC = ({ label, badgeText, id, refFloating }) => {
8
- return (h("div", { class: "kol-tooltip__floating", hidden: label.length === 0, ref: refFloating }, h("div", { class: "kol-tooltip__arrow" }), h(SpanFC, { class: "kol-tooltip__content", badgeText: badgeText, id: id, label: label })));
9
- };
10
-
11
- export { TooltipFC as T };
@@ -1,9 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { c as createPropDefinition, b as normalizeString } from './base-web-component-Bcoukts3.js';
5
-
6
- const hrefProp = createPropDefinition('href', '', normalizeString, (v) => typeof v === 'string', { required: true });
7
- const optionalHrefProp = createPropDefinition('href', '', normalizeString, (v) => typeof v === 'string');
8
-
9
- export { hrefProp as h, optionalHrefProp as o };
@@ -1,80 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D5UV99lE.js';
5
- import { B as BaseWebComponent } from './base-web-component-Bcoukts3.js';
6
- import { T as TooltipBehavior } from './behavior-BlS6DO8T.js';
7
- import { T as TooltipFC } from './component-YhEwg1LK.js';
8
- import './common-D03JQJgy.js';
9
- import './isArray-CcrBs4JM.js';
10
- import './tooltip-open-tracking-D3tCiiGP.js';
11
- import './align-DsFuqEf5.js';
12
- import './label-BNtqGdMQ.js';
13
- import './component-Ik_-HAMT.js';
14
- import './tslib.es6-QNbPBOk5.js';
15
- import './bem-registry-BlJAUViA.js';
16
- import './clsx-COFh-Vc8.js';
17
- import './component-C9mkZ63L.js';
18
-
19
- const KolTooltipWc = class {
20
- constructor(hostRef) {
21
- registerInstance(this, hostRef);
22
- this.tooltipBehavior = new TooltipBehavior(BaseWebComponent.stateLess);
23
- this._align = 'top';
24
- }
25
- validateAlign(value) {
26
- var _a;
27
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.watchAlign(value);
28
- }
29
- validateId(value) {
30
- var _a;
31
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.watchId(value);
32
- }
33
- validateLabel(value) {
34
- var _a;
35
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.watchLabel(value);
36
- }
37
- hideTooltip() {
38
- var _a;
39
- return Promise.resolve((_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.hideTooltip());
40
- }
41
- connectedCallback() {
42
- var _a, _b, _c;
43
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.initContext(((_c = (_b = this.host) === null || _b === void 0 ? void 0 : _b.previousElementSibling) !== null && _c !== void 0 ? _c : undefined));
44
- }
45
- componentWillLoad() {
46
- this.tooltipBehavior.componentWillLoad({
47
- label: this._label,
48
- align: this._align,
49
- badgeText: this._badgeText,
50
- id: this._id,
51
- });
52
- }
53
- componentDidRender() {
54
- var _a;
55
- if (this.host) {
56
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.handleEventListeners(this.host);
57
- }
58
- }
59
- disconnectedCallback() {
60
- var _a;
61
- (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.destroy();
62
- }
63
- render() {
64
- return (h(Host, { key: 'bffe2bfcedd35f027a4690cc2ee3466b319bfc03', class: "kol-tooltip" }, h(TooltipFC, { key: '5fdca1cc82de62f87c5a2d5116ed2035dddf47df', label: this.tooltipBehavior.getRenderProp('label'), badgeText: this._badgeText, id: this.tooltipBehavior.getRenderProp('id'), refFloating: (el) => { var _a; return (_a = this.tooltipBehavior) === null || _a === void 0 ? void 0 : _a.setTooltipElementRef(el); } })));
65
- }
66
- get host() { return getElement(this); }
67
- static get watchers() { return {
68
- "_align": [{
69
- "validateAlign": 0
70
- }],
71
- "_id": [{
72
- "validateId": 0
73
- }],
74
- "_label": [{
75
- "validateLabel": 0
76
- }]
77
- }; }
78
- };
79
-
80
- export { KolTooltipWc as kol_tooltip_wc };
@@ -1,35 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { c as createPropDefinition, b as normalizeString } from './base-web-component-Bcoukts3.js';
5
- import { n as a11yHint, u as uiUxHint } from './common-D03JQJgy.js';
6
-
7
- const READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;
8
- const ONLY_NUMBERS = /^\d+$/;
9
- function countReadableChars(str) {
10
- var _a;
11
- return typeof str === 'string' ? ((_a = str.match(READABLE_CHARS)) === null || _a === void 0 ? void 0 : _a.length) || 0 : 0;
12
- }
13
- function hasEnoughReadableChars(str, min = 1) {
14
- return countReadableChars(str) >= min;
15
- }
16
- function containsOnlyNumbers(str) {
17
- return ONLY_NUMBERS.test(str);
18
- }
19
-
20
- function labelHints(_propName, value) {
21
- if (typeof value === 'string' && value !== '') {
22
- if (hasEnoughReadableChars(value, 3) === false && containsOnlyNumbers(value) === false) {
23
- a11yHint(`The heading or label ("${value}") is inaccessible. A label should consist of at least three readable characters.`);
24
- }
25
- if (value.length > 80) {
26
- uiUxHint(`A heading or label should not be longer than 80 characters.`);
27
- }
28
- }
29
- }
30
-
31
- const labelProp = createPropDefinition('label', '', normalizeString, (v) => v === '' || v.length >= 2, {
32
- hints: labelHints,
33
- });
34
-
35
- export { containsOnlyNumbers as c, hasEnoughReadableChars as h, labelProp as l };
@@ -1,8 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { c as createPropDefinition, b as normalizeString } from './base-web-component-Bcoukts3.js';
5
-
6
- const labelWithExpertSlotProp = createPropDefinition('label', '', normalizeString);
7
-
8
- export { labelWithExpertSlotProp as l };
@@ -1,8 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { c as createPropDefinition, o as normalizeNumber } from './base-web-component-Bcoukts3.js';
5
-
6
- const rowsProp = createPropDefinition('rows', undefined, normalizeNumber, (value) => value === undefined || value >= 1);
7
-
8
- export { rowsProp as r };
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as a}from"./index-D5UV99lE.js";import{t as o}from"./i18n-DRQl0u--.js";import{e}from"./common-D03JQJgy.js";import{A as i,c as s}from"./component-CySyXSru.js";import{b as r}from"./bem-registry-BlJAUViA.js";import{c as t}from"./clsx-COFh-Vc8.js";import{p as n}from"./element-interaction-Cy9tx3Sx.js";import{B as l}from"./component-DzVHCXnG.js";import{I as d}from"./component-C9mkZ63L.js";import{S as c}from"./component-Ik_-HAMT.js";import{T as m}from"./component-YhEwg1LK.js";import{a as p,b as f,c as b,f as k,g as v,h as g,s as u,i as h,l as j,d as x,t as y,e as C,v as w}from"./variant-PJN56KWi.js";import{c as _,b as A,a as D}from"./base-web-component-Bcoukts3.js";import{d as K}from"./disabled-BaPgTuFO.js";import{h as L}from"./href-OaK1sDT5.js";import{l as O}from"./label-with-expert-slot-aAOUzLo3.js";import{l as T}from"./link-target-C7_smSbV.js";const I=["date","location","page","step","time","true","false"],S=_("ariaCurrentValue","page",(function(a){const o=A(a);return I.includes(o)?o:"page"})),V=_("ariaOwns","",A),B=_("download",void 0,A),J=D(),E=r.forBlock("kol-link"),F=(r,p)=>{const{accessKey:f,ariaControls:b,ariaCurrent:k,ariaDescription:v,ariaDescriptionId:g,ariaExpanded:u,ariaOwns:h,class:j,customClass:x,disabled:y,download:C,handleAnchorClick:w,hideLabel:_,href:A,icons:D,inline:K,label:L,on:O,ref:T,refAnchor:I,refTooltip:S,role:V,shortKey:B,tabIndex:J,target:F,variant:U,expertSlot:$}=r,z=o("kol-open-link-in-tab"),H="string"==typeof F&&F.length>0&&"_self"!==F,M={href:"string"==typeof A&&A.length>0?A:"javascript:void(0);",target:"string"==typeof F&&F.length>0?F:void 0,rel:H?"noopener":void 0,download:"string"==typeof C?C:void 0};!0!==_||L||e("[KolLink] An aria-label must be set when _hide-label is set.");const P=null==v?void 0:v.trim(),Q=V||void 0;return a(l,{block:"kol-link",ref:T,class:t(j,{[x]:U.includes("custom")&&x.length>0,[s(U,"link")]:U.length>0}),modifiers:{disabled:!0===y,"external-link":H,"hide-label":!0===_,inline:!0===K,standalone:!1===K}},a("a",Object.assign({ref:I},M,{accessKey:f||void 0,"aria-current":k||void 0,"aria-controls":b||void 0,"aria-describedby":P?g:void 0,"aria-disabled":y?"true":void 0,"aria-expanded":""===u?void 0:u,"aria-owns":h||void 0,"aria-label":_&&"string"==typeof L&&""!==L.trim()?`${L}${H?` (${z})`:""}`:void 0,"aria-keyshortcuts":B||void 0,class:E("interactive-element")},O,{onClick:w,onMouseDown:y?n:void 0,role:Q,tabIndex:y?-1:J}),a(c,{class:"kol-link__text",badgeText:f||B,icons:D,hideLabel:_,label:$?"":L||A},p.length>0?p:a("slot",{name:"expert",slot:"expert"})),H&&a(d,{class:"kol-link__icon",label:_?"":z,icons:"kolicon-link-external","aria-hidden":_})),!0===_&&!$&&a("div",{class:"kol-link__tooltip"},a(m,{badgeText:f||B||"",label:"string"==typeof L?L:"string"==typeof A?A:"",refFloating:S})),P&&a(i,{description:P,descriptionId:g}))},U={required:[L],optional:[p,f,S,b,k,V,v,K,B,g,u,h,O,J,j,T,x,y,C,w]};export{F as L,S as a,J as b,V as c,B as d,U as l}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import"./common-D03JQJgy.js";import{a,b as s,c as o,f as t,g as r,h as e,i,l as n,d as m,s as p,t as u,e as l,v as f}from"./variant-PJN56KWi.js";import{c,i as b,h as d,a as h,b as j}from"./base-web-component-Bcoukts3.js";import{d as w}from"./disabled-BaPgTuFO.js";import{i as g}from"./behavior-BlS6DO8T.js";import{l as v}from"./label-with-expert-slot-aAOUzLo3.js";import{n as x}from"./name-m3owaZxH.js";const J=["dialog","false","grid","listbox","menu","tree","true"],O=c("ariaHasPopup","",(function(a){if(""===a)return"";if(b(a,J))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${J.join(", ")}, got ${JSON.stringify(a)}`)})),y=c("ariaSelected","",(function(a){return d(a,"aria-selected")})),B=h(),P=["button","reset","submit"],S=c("type","button",(function(a){const s=j(a);if(b(s,P))return s;throw new Error(`Invalid button type: ${s}`)}),(a=>P.includes(a))),$={required:[v],optional:[a,s,o,t,O,y,B,S,r,w,e,g,i,n,x,m,p,u,l,f]};export{y as a,$ as b,B as c,S as d,O as e}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as e}from"./tslib.es6-QNbPBOk5.js";import{p as t,j as i,D as o}from"./common-D03JQJgy.js";import{S as s,b as r,s as a}from"./component-Ik_-HAMT.js";import{a as l,c as n,n as d}from"./dev.utils-BgjegQC8.js";import{K as h,d as c}from"./events-BIT-JUP2.js";import{F as p,a as u}from"./behavior-Zr6qAX7F.js";import{d as m}from"./disabled-BaPgTuFO.js";import{h as b,e as v}from"./variant-PJN56KWi.js";import{c as f,n as g,b as y,a as j,B}from"./base-web-component-Bcoukts3.js";import{l as _}from"./label-with-expert-slot-aAOUzLo3.js";import{n as L}from"./name-m3owaZxH.js";import{c as O}from"./item-2cprk9ut.js";import{c as T}from"./item-Bfk2xd-D.js";import{T as F}from"./behavior-BlS6DO8T.js";import{h as N}from"./index-D5UV99lE.js";import{t as x}from"./i18n-DRQl0u--.js";import{c as A}from"./component-CySyXSru.js";import{b as P}from"./bem-registry-BlJAUViA.js";import{c as k}from"./clsx-COFh-Vc8.js";import{B as K}from"./component-DzVHCXnG.js";import{T as w}from"./component-YhEwg1LK.js";import{P as D}from"./component-DHl33p9J.js";import{A as C}from"./component-BmJGOcby.js";function H(e,t){return Boolean(e)&&!0===t}function I(e){var t;return"string"==typeof e?"error":null!==(t=null==e?void 0:e._type)&&void 0!==t?t:"error"}const M=f("hideMsg",!1,g),S=f("hint","",y),q=f("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),E=j(),J=f("msg",void 0,(function(e){if("string"==typeof e)try{return t(e)}catch(t){return e}return e}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&o(e._description,1))})),z=f("touched",!1,g),V=t=>{var{id:i,class:o,hint:s,baseClassName:r="kol-form-field"}=t,a=e(t,["id","class","hint","baseClassName"]);return s?N("span",Object.assign({class:k(`${r}__hint`,o),id:l(i||"","hint")},a),s):null},$=t=>{var{component:i="label",id:o,baseClassName:a="kol-form-field",class:n,accessKey:d,shortKey:h,label:c,hideLabel:p,hasExpertSlot:u,omitId:m,showBadge:b=!0,readOnly:v,infoPopover:f}=t,g=e(t,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const y=!u&&p,j=!1===b?void 0:r(d,h);return N(i,Object.assign({},g,{class:k(`${a}__label`,n),id:y||m?void 0:l(o,"label"),hidden:y,htmlFor:"legend"===i?void 0:o}),N(s,{class:`${a}__label-text`,label:u?"":null!=c?c:"",badgeText:j},N("slot",{name:"expert"})),!u&&v&&N("span",{class:`${a}__label__read-only`,"aria-hidden":"true"},"(",x("kol-readonly"),")"),!u&&f&&N("span",null,N(D,Object.assign({},f.popoverButton),N("div",{class:"kol-popover-button__popover--styled"},f.content))))},Q=i=>{var o,s,{alert:r,hideMsg:a,msg:h,id:c,class:p}=i,u=e(i,["alert","hideMsg","msg","id","class"]);const m=function(e){if("string"==typeof e)try{return t(e)}catch(t){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}(h);return N(C,Object.assign({alert:!a&&(null!==(o=null==m?void 0:m._alert)&&void 0!==o?o:!0===r),class:k("kol-form-field__msg",a&&"visually-hidden",p),closerAriaDescriptionId:d(),handleCloserClick:()=>{},hasCloser:!1,headingId:n("alert-heading"),id:l(c,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==m?void 0:m._type)&&void 0!==s?s:"error",variant:"msg"},u),(null==m?void 0:m._description)||void 0)},U=P.forBlock("kol-form-field"),X=({hideLabel:e,label:t,renderNoTooltip:i})=>!i&&!a(t)&&!0===e,G=e=>{const t=I(e);return{[t]:!0,[`msg-type-${t}`]:!0}},R=(t,i)=>{const{renderNoLabel:o,renderNoTooltip:s,renderNoHint:n,id:d,required:h,alert:c,disabled:p,class:u,msg:m,hideMsg:b,hideLabel:v,label:f,infoPopover:g,hint:y,accessKey:j,shortKey:B,counter:_,readOnly:L,touched:O,maxLength:T,ariaDescribedBy:F,showBadge:P,tooltipAlign:D,variant:C,component:I="div",orientation:M,refInput:S,refTooltip:q}=t,E=e(t,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),J=a(f),z=H(m,O),R=r(j,B),Z=X({hideLabel:v,label:f,renderNoTooltip:s}),W="fieldset"===I;return N(K,Object.assign({component:I,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(p),required:Boolean(h),touched:Boolean(O),"hide-label":Boolean(v),"read-only":Boolean(L),"hidden-msg":Boolean(b)},z?G(m):{}),class:k(C&&A(C,"form-field"),u),disabled:!(!W||!p)||void 0,"aria-describedby":F},E),!o&&N($,{component:W?"legend":"label",class:W?"kol-form-field__label--legend":void 0,id:d,hasExpertSlot:J,hideLabel:v,label:f,accessKey:j,shortKey:B,readOnly:L,showBadge:P,infoPopover:g}),N("div",{class:U("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},i,Z&&N("div",{class:U("tooltip")},N(w,{badgeText:R||"",label:f,align:D,id:l(d,"label"),refFloating:q}))),_&&!("soft"===_.maxLengthBehavior&&"number"!=typeof _.maxLength)&&N("div",{class:U("counter")},N("span",{"data-testid":"input-counter","aria-hidden":"true",class:U("counter"),ref:_.visualRef}),N("span",{"aria-live":"polite",class:"visually-hidden","data-testid":"input-counter-aria",id:l(d,"counter"),ref:_.ariaRef})),z&&N(Q,{id:d,alert:c,hideMsg:b,msg:m}),!n&&N(V,{id:d,hint:y}),"number"==typeof T&&!_&&N("span",{id:l(d,"character-limit-hint"),class:"visually-hidden"},x("kol-character-limit-hint",{placeholders:{limit:String(T)}})))};class Z extends B{constructor(){super(...arguments),this.tooltipBehavior=new F(B.stateLess),this.smartButton=O((()=>this.host)),this.infoPopover=T({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,t)=>{var i,o;e.stopPropagation(),void 0===t&&(t=e.target.value),this.emit(h.change,t),null===(o=null===(i=this._on)||void 0===i?void 0:i.onChange)||void 0===o||o.call(i,e,t)},this.handleInput=(e,t)=>{var i,o;e.stopPropagation(),void 0===t&&(t=e.target.value),this.emit(h.input,t),this.formAssociation.setFormAssociatedValue(t),null===(o=null===(i=this._on)||void 0===i?void 0:i.onInput)||void 0===o||o.call(i,e,t)},this.handleClick=e=>{var t,i;this.emit(h.click),null===(i=null===(t=this._on)||void 0===t?void 0:t.onClick)||void 0===i||i.call(t,e)},this.handleFocus=e=>{var t,i;this.focusEventSent||(this.emit(h.focus),null===(i=null===(t=this._on)||void 0===t?void 0:t.onFocus)||void 0===i||i.call(t,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var t,i;this.emit(h.keydown),null===(i=null===(t=this._on)||void 0===t?void 0:t.onKeyDown)||void 0===i||i.call(t,e)},this.setInputRef=e=>{e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,t){this.formAssociation=new p(B.stateLess,{host:this.host,type:e,name:t})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}getInfoPopover(){const t=this.shared.getRenderProp("infoPopover");if(!t)return;const{_content:i}=t,o=e(t,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},o),{_hideLabel:!0,_inline:!0})),content:i}}getSmartButtonFcProps(e,t){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:t},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){u.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.formAssociation.watchAriaDetails(e)}applyDisabled(e){m.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){b.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){M.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){S.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){q.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){_.apply(!1===e?"":e,(e=>this.shared.setRenderProp("label",e)))}applyMsg(e){J.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){L.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){E.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){v.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){z.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,t;return null!==(t=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==t?t:this.host}emit(e,t){this.eventHost&&c(this.eventHost,e,t)}handleFocusLeave(e){var t,i;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,r=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!r&&(this._touched=!0,this.emit(h.blur),null===(i=null===(t=this._on)||void 0===t?void 0:t.onBlur)||void 0===i||i.call(t,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:t,hint:i,touched:o})=>{const s="string"==typeof t?t:null==t?void 0:t._description,r=Boolean(s&&s.length>0),a="error"===I(t)&&r&&!0===o,n="string"==typeof i&&i.length>0,d=[];return r&&!0===o&&d.push(l(e,"msg")),n&&d.push(l(e,"hint")),{hasError:a,hasHint:n,ariaDescribedBy:d}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return X({hideLabel:e.getRenderProp("hideLabel"),label:e.getRenderProp("label")})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:t,shortKey:i,variant:o,counter:s,maxLength:a,readOnly:n,renderNoLabel:d,renderNoTooltip:h,required:c}){const p=this.shared,u=p.getState("id"),m=p.getRenderProp("label"),b=p.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(b),this.tooltipBehavior.watchBadgeText(r(t,i)||""),this.tooltipBehavior.watchId(l(u,"label")),this.tooltipBehavior.watchLabel(m)):this.tooltipBehavior.destroy(),{id:u,disabled:p.getRenderProp("disabled"),msg:p.getRenderProp("msg"),hint:p.getRenderProp("hint"),label:m,hideLabel:p.getRenderProp("hideLabel"),hideMsg:p.getRenderProp("hideMsg"),touched:p.getRenderProp("touched"),showBadge:Boolean(t)||Boolean(i),required:c,readOnly:n,accessKey:t,shortKey:i,maxLength:a,counter:s,variant:o,class:e,tooltipAlign:b,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:d,renderNoTooltip:h,refInput:h?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}}function W({ariaDescribedBy:e,hideLabel:t,label:i}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&i?i:void 0}}const Y={required:[_],optional:[u,m,b,M,S,q,E,J,L,v,z]};export{Z as B,R as F,V as a,$ as b,W as c,Y as f,I as g,H as i}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{L as o,d as t,w as n}from"./common-D03JQJgy.js";import{a as r}from"./index-D5UV99lE.js";const s=(()=>{r((o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,n(o))}catch(o){}return"default"})),import("./devtools-4nOArEGl.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)}))})||(()=>{});export{s as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- const n=(n,o)=>{const t=(null!=o?o:"").trim().split(/\s+/).filter(Boolean);if(!t.length)return[];const e=null==n?void 0:n.getRootNode();return t.map((n=>e instanceof Document?e.getElementById(n):e instanceof ShadowRoot?e.querySelector(`#${(n=>{var o;return(null===(o=globalThis.CSS)||void 0===o?void 0:o.escape)?globalThis.CSS.escape(n):n.replace(/[^a-zA-Z0-9_-]/g,"\\$&")})(n)}`):"undefined"!=typeof document?document.getElementById(n):null)).filter((n=>!!n))},o=n=>{const o=null==n?void 0:n.attachInternals;if(o)try{return o.call(n)}catch(n){return}};export{o as a,n as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as s}from"./index-D5UV99lE.js";import{s as i,X as t}from"./common-D03JQJgy.js";import{B as a}from"./base-web-component-Bcoukts3.js";import{b as o,e,a as h,c as r,d as l}from"./api-CvPkoAAG.js";import{B as n}from"./component-DxddScWx.js";import{F as p}from"./behavior-Zr6qAX7F.js";import{T as d,i as m}from"./behavior-BlS6DO8T.js";import{a as c,b as y,c as u,f as b,g as f,h as v,s as x,i as j,l as A,d as B,t as C,e as D,v as I}from"./variant-PJN56KWi.js";import{d as T}from"./disabled-BaPgTuFO.js";import{l as g}from"./label-with-expert-slot-aAOUzLo3.js";import{n as K}from"./name-m3owaZxH.js";import{v as P}from"./access-and-short-key-ijzCZfHm.js";import{c as S}from"./element-interaction-Cy9tx3Sx.js";import{d as F,K as H}from"./events-BIT-JUP2.js";import{p as L,a as w}from"./controller-Bf-CAo4Q.js";class E extends a{constructor(){super(...arguments),this.ctaRef=S(),this.tooltipBehavior=new d(this.stateAccess),this.handleClick=s=>{s.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)L({form:this.host});else if("reset"===t)w({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);const t=this.getRenderProp("on").onClick;"function"==typeof t&&(i(s,this.ctaRef.el),t(s,this.formValue))}this.host&&F(this.host,H.click,this.formValue)},this.handleMouseDown=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onMouseDown)||void 0===t||t.call(i,s),this.host&&F(this.host,H.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&F(this.host,H.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&F(this.host,H.blur)}}initFormAssociation(){this.formAssociation=new p(a.stateLess,{host:this.host,type:"button"})}initButtonRenderProps(){this.initRenderProps(o),this.unsetRenderProp("tabIndex")}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp("label"),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(s,i){c.apply(s,(s=>this.setRenderProp("accessKey",s))),P(s,i)}applyAriaControls(s){y.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){u.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){b.apply(s,(s=>this.setRenderProp("ariaExpanded",s)))}applyAriaHasPopup(s){e.apply(s,(s=>this.setRenderProp("ariaHasPopup",s)))}applyAriaSelected(s){h.apply(s,(s=>this.setRenderProp("ariaSelected",s)))}applyCustomClass(s){f.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){T.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){v.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){x.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){m.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){j.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){g.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}))}applyName(s){K.apply(s,(s=>this.setRenderProp("name",s))),this.formAssociation.watchName(s)}applyOn(s){r.apply(s,(s=>this.setRenderProp("on",s)))}applyRole(s){A.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){B.apply(s,(s=>this.setRenderProp("shortKey",s))),P(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?C.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){D.apply(s,(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){l.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var i;I.apply(null!==(i=null!=s?s:t("buttonVariantDefault",this.host))&&void 0!==i?i:"normal",(s=>this.setRenderProp("variant",s)))}getButtonFCProps(){return{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}}renderButtonFC(){return s(n,Object.assign({},this.getButtonFCProps()))}}export{E as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as i}from"./index-D5UV99lE.js";import{B as s}from"./base-web-component-Bcoukts3.js";import{l as t,a,c as r,d as e,b as o,L as h}from"./api-B9mpTRGa.js";import{T as n}from"./behavior-BlS6DO8T.js";import{s as l}from"./common-D03JQJgy.js";import{a as p,b as d,c,f as m,g as y,h as b,s as f,i as u,l as C,d as x,t as g,e as v,v as A}from"./variant-PJN56KWi.js";import{d as L}from"./disabled-BaPgTuFO.js";import{h as j}from"./href-OaK1sDT5.js";import{l as D}from"./label-with-expert-slot-aAOUzLo3.js";import{l as T}from"./link-target-C7_smSbV.js";import{c as w}from"./element-interaction-Cy9tx3Sx.js";import{d as I,K}from"./events-BIT-JUP2.js";import{o as B}from"./ariaCurrentService-YoLNpD5S.js";class O extends s{constructor(){super(...arguments),this.ctaRef=w((()=>!0===this.getRenderProp("disabled"))),this.tooltipBehavior=new n(this.stateAccess),this.handleAnchorClick=i=>{if(this.tooltipBehavior.hideTooltip(),!0===this.getRenderProp("disabled"))return void i.preventDefault();const s=this.getRenderProp("href"),t=this.getRenderProp("on");"function"==typeof(null==t?void 0:t.onClick)&&(l(i,this.ctaRef.el),t.onClick(i,s)),this.host&&I(this.host,K.click,s)},this.setAnchorRef=i=>{this.ctaRef(i)}}initLinkRenderProps(){this.initRenderProps(t),this.unsetRenderProp("tabIndex")}initLinkBehaviors(){this.unsubscribeOnLocationChange=B((i=>{const s=this.getRenderProp("href"),t=this.getRenderProp("ariaCurrentValue"),a=i===s?t:"";this.getState("ariaCurrent")!==a&&this.setState("ariaCurrent",a)})),this.tooltipBehavior.componentWillLoad({label:this.getTooltipLabel(),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyLinkBehaviors(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.tooltipBehavior.destroy()}getTooltipLabel(){const i=this.getRenderProp("label");if("string"==typeof i&&i.length>0)return i;const s=this.getRenderProp("href");return"string"==typeof s?s:""}applyAccessKey(i){p.apply(i,(i=>this.setRenderProp("accessKey",i)))}applyAriaControls(i){d.apply(i,(i=>this.setRenderProp("ariaControls",i)))}applyAriaCurrentValue(i){a.apply(i,(i=>this.setRenderProp("ariaCurrentValue",i)))}applyAriaDescription(i){c.apply(i,(i=>this.setRenderProp("ariaDescription",i)))}applyAriaExpanded(i){m.apply(i,(i=>this.setRenderProp("ariaExpanded",i)))}applyAriaOwns(i){r.apply(i,(i=>this.setRenderProp("ariaOwns",i)))}applyCustomClass(i){y.apply(i,(i=>this.setRenderProp("customClass",i)))}applyDisabled(i){L.apply(i,(i=>this.setRenderProp("disabled",i)))}applyDownload(i){e.apply(i,(i=>this.setRenderProp("download",i)))}applyHideLabel(i){b.apply(i,(i=>this.setRenderProp("hideLabel",i)))}applyHref(i){j.apply(i,(i=>this.setRenderProp("href",i)))}applyIcons(i){f.apply(i,(i=>this.setRenderProp("icons",i)))}applyInline(i){u.apply(i,(i=>this.setRenderProp("inline",i)))}applyLabel(i){D.apply(i,(s=>{this.setRenderProp("label",s),this.setState("expertSlot",""===i),this.tooltipBehavior.watchLabel(this.getTooltipLabel())}))}applyOn(i){o.apply(i,(i=>this.setRenderProp("on",i)))}applyRole(i){C.apply(i,(i=>this.setRenderProp("role",i)))}applyShortKey(i){x.apply(i,(i=>this.setRenderProp("shortKey",i)))}applyTabIndex(i){"number"==typeof i?g.apply(i,(i=>this.setRenderProp("tabIndex",i))):this.unsetRenderProp("tabIndex")}applyTarget(i){T.apply(i,(i=>this.setRenderProp("target",i)))}applyTooltipAlign(i){v.apply(i,(i=>{this.setRenderProp("tooltipAlign",i),this.tooltipBehavior.watchAlign(i)}))}applyVariant(i){A.apply(i,(i=>this.setRenderProp("variant",i)))}renderLinkFC(){return i(h,{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaCurrent:this.getState("ariaCurrent"),ariaCurrentValue:this.getRenderProp("ariaCurrentValue"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaOwns:this.getRenderProp("ariaOwns"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),download:this.getRenderProp("download"),handleAnchorClick:this.handleAnchorClick,hideLabel:this.getRenderProp("hideLabel"),href:this.getRenderProp("href"),icons:this.getRenderProp("icons"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),on:this.getRenderProp("on"),refAnchor:this.setAnchorRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),target:this.getRenderProp("target"),tooltipAlign:this.getRenderProp("tooltipAlign"),variant:this.getRenderProp("variant"),expertSlot:this.getState("expertSlot")})}}export{O as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{r as t}from"./aria-labelledby-BRToXqsQ.js";import{G as e,L as o,p as l}from"./common-D03JQJgy.js";import{h as i,F as s,f as n}from"./index-D5UV99lE.js";import{c as a,e as r,n as c,a as d,B as h,v as b}from"./base-web-component-Bcoukts3.js";import{c as u}from"./item-2cprk9ut.js";import{c as p}from"./item-pool-BOxAYePG.js";import{c as v}from"./item-DMWn_IlJ.js";import{l as f}from"./label-with-expert-slot-aAOUzLo3.js";import{v as m}from"./variant-PJN56KWi.js";import{c as y,d as g,e as k}from"./component-names-Dhbtt0mX.js";import{t as j}from"./i18n-DRQl0u--.js";import{c as C}from"./component-CySyXSru.js";import{b as S}from"./bem-registry-BlJAUViA.js";import{B as w}from"./component-DzVHCXnG.js";import{B as _}from"./component-DxddScWx.js";import{I as x}from"./component-C9mkZ63L.js";import{L as O}from"./api-B9mpTRGa.js";import{S as $}from"./component-DqHI-AwD.js";import{T as D}from"./component-YhEwg1LK.js";import{a as B}from"./tslib.es6-QNbPBOk5.js";import{n as L,c as F}from"./dev.utils-BgjegQC8.js";import{d as T,K as A}from"./events-BIT-JUP2.js";import{A as z}from"./component-BmJGOcby.js";import{c as I}from"./element-interaction-Cy9tx3Sx.js";import{u as E,l as M,d as H,D as P}from"./scroll-lock-DQGTnLvW.js";import{h as K}from"./tooltip-open-tracking-D3tCiiGP.js";import{l as N}from"./level-Df663c7y.js";import{d as W,w as G}from"./width-CAS8lhOU.js";import{l as R}from"./label-BNtqGdMQ.js";import{r as J,C as Q}from"./component-BkjWlzLc.js";import{T as U}from"./behavior-BlS6DO8T.js";import{C as q}from"./keyboard-Cnv7zP3N.js";const V=(l,i,s,n)=>{const a=t=>"string"==typeof t||void 0===t;if(e(l,"_ariaLabelledby",a,new Set(["string"]),n),!a(n))return[];const r=t(i,n);if(s){try{s.ariaLabelledByElements=r}catch(t){}o.debug(["WebComponent internals",s])}return r},X=t=>"number"==typeof t&&Number.isInteger(t)&&t>=0,Y=a("fixedCols",[0,0],(t=>r(t)),(t=>2===t.length&&t.every(X))),Z=a("hasSettingsMenu",!1,c),tt=d();function et(t){const e="string"==typeof t?l(t):t;if(Array.isArray(e))return e;throw new Error("Invalid table data: expected an array of row objects.")}function ot(t){return t.every((t=>"object"==typeof t&&null!==t))}const lt=a("data",[],et,ot),it=a("dataFoot",[],et,ot),st=t=>Array.isArray(t)&&t.every((t=>Array.isArray(t))),nt=a("headers",{horizontal:[],vertical:[]},(function(t){const e="string"==typeof t?l(t):t;if("object"!=typeof e||null===e)throw new Error("Invalid table headers: expected an object.");const{horizontal:o=[],vertical:i=[]}=e;if(!st(o)||!st(i))throw new Error("Invalid table headers: horizontal and vertical must be arrays of header rows.");return{horizontal:o,vertical:i}}),(function({horizontal:t,vertical:e}){return[...t,...e].every((t=>t.every((t=>void 0===t.width||"number"==typeof t.width))))})),at=a("loading",!1,c),rt=a("selection",!1,(function(t){const e="string"==typeof t?l(t):t;if("object"==typeof e&&null!==e)return e;throw new Error("Invalid table selection: expected an object.")}),(function(t){return!1===t||"function"==typeof t.label&&(!t.selectedKeys||Array.isArray(t.selectedKeys))})),ct={required:[f,lt],optional:[Y,Z,tt,it,nt,at,rt,m]},dt=t=>t.flatMap((t=>t.filter((t=>"string"==typeof t.key||"function"==typeof t.render)))),ht=t=>{const e=dt(t.horizontal);if(e.length>0)return{cells:e,horizontal:!0};const o=dt(t.vertical);return{cells:o,horizontal:0===o.length}},bt=(t,e)=>{let o=0;return Array.isArray(t)&&t.forEach((t=>{var l;o+=null!==(l=t[e])&&void 0!==l?l:1})),o},ut=(t,e)=>{const o=Math.max(0,...t.map((t=>bt(t,"colSpan"))));return 0===o?e.length:o},pt=t=>{var e;return null!==(e=null==t?void 0:t.reduce(((t,e)=>"visible"in e&&!1===e.visible?t:t+(e.colSpan||1)),0))&&void 0!==e?e:0},vt=(t,e,o,l)=>{if(void 0!==l&&!e)return l<t[0]?"left":t[1]>0&&l>=o-t[1]?"right":void 0},ft=(t,e,o,l)=>{var i,s,n,a,r,c;const d=[];for(let a=0;a<e;a++)"left"===vt(o,l,e,a)&&(d[a]=(null!==(i=d[a-1])&&void 0!==i?i:0)+(null!==(n=null===(s=t[a-1])||void 0===s?void 0:s.width)&&void 0!==n?n:0));for(let i=e-1;i>=0;i--)"right"===vt(o,l,e,i)&&(d[i]=(null!==(a=d[i+1])&&void 0!==a?a:0)+(null!==(c=null===(r=t[i+1])||void 0===r?void 0:r.width)&&void 0!==c?c:0));return d},mt=(t,e,o,l)=>{const i=void 0===e?void 0:t[e];return o&&l?`calc( var(--kol-table-selection-col-width) + ${i}px)`:`${i}px`},yt=(t,e,o,l)=>{if(0===(e.horizontal?t.horizontal:t.vertical).length)return;const i=e.cells[o];return(null==i?void 0:i.type)===l?i:void 0},gt=({data:t,dataFoot:e,headers:o,isFoot:l,noEntriesLabel:i,primaryHeaders:s})=>{const n=ut(o.horizontal,t),a=s.cells;let r=((t,e,o)=>{const l=Math.max(0,...t.map((t=>bt(t,"rowSpan"))));return 0===l?e.length:l-o})(o.vertical,t,e.length),c=0;l&&(c=r,r+=e.length);const d=[],h=[],b=[];o.vertical.forEach(((t,e)=>{h[e]=0,b[e]=[]}));for(let i=c;i<r;i++){const r=[];o.vertical.forEach(((t,e)=>{let o=0;if(b[e].forEach((t=>o+=t)),o<=i){const l=t[i-o+h[e]];if("object"==typeof l){r.push(Object.assign(Object.assign({},l),{headerCell:!0,data:{}}));let t=1;if("number"==typeof l.rowSpan&&l.rowSpan>1&&(t=l.rowSpan),b[e].push(t),"number"==typeof l.colSpan&&l.colSpan>1)for(let o=1;o<l.colSpan;o++)b[e+o].push(t);h[e]++}}}));for(let o=0;o<n;o++)if(s.horizontal){const s=l?e[i-c]:t[i],n=a[o];"object"==typeof n&&null!==n&&"object"==typeof s&&null!==s&&r.push(Object.assign(Object.assign({},n),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:s,label:s[n.key]}))}else{const e=a[i];"object"==typeof e&&null!==e&&"object"==typeof t[o]&&null!==t[o]&&r.push(Object.assign(Object.assign({},e),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:t[o],label:t[o][e.key]}))}d.push(r)}if(0===t.length){let t=pt(o.horizontal[0]),e=0;o.vertical.length>0&&(t-=o.vertical.length,o.vertical[0].forEach((t=>{e+=t.rowSpan||1})));const l={colSpan:t,label:i,render:void 0,rowSpan:Math.max(e,1)};0===d.length?d.push([l]):d[0].push(l)}return d},kt=({horizontal:t,vertical:e})=>{const o=t.flatMap((t=>t.filter((t=>!1!==t.visible&&void 0!==t.width&&t.width>0)).map((t=>t.width)))),l=[...e.flatMap((t=>t.filter((t=>void 0!==t.width&&t.width>0)).map((t=>t.width)))),...o];return 0===l.length?"0px":1===l.length?`${l[0]}px`:`calc(${l.map((t=>`${t}px`)).join(" + ")})`},jt=t=>void 0===t?[]:Array.isArray(t)?t:[t],Ct=t=>{var e;return null!==(e=t?t.keyPropertyName:void 0)&&void 0!==e?e:"id"},St=t=>{const e=t?jt(t.selectedKeys):[];return{disabledKeys:new Set((t?jt(t.disabledKeys):[]).map(String)),keyPropertyName:Ct(t),selectedKeys:e,selectedKeysSet:new Set(e.map(String))}},wt=(t,e)=>t.filter((t=>!e.disabledKeys.has(String(t[e.keyPropertyName])))),_t=S.forBlock("kol-table"),xt=_t("body"),Ot=_t("cell-actions"),$t=_t("cell-states"),Dt=_t("footer"),Bt=_t("head"),Lt=_t("head-row"),Ft=_t("scroll-container"),Tt=_t("selection-icon"),At=_t("selection-input-tooltip"),zt=_t("sort"),It=_t("sort-button"),Et=_t("sort-order"),Mt=_t("table"),Ht=`${_t("focus-element")} ${_t("caption")}`,Pt=(t,e)=>vt(t.fixedCols,t.stickyColsDisabled,t.maxCols,e),Kt=(t,e,o)=>({left:"left"===e?mt(t.fixedOffsets,o,!0,!1!==t.selection):void 0,right:"right"===e?mt(t.fixedOffsets,o,!1,!1!==t.selection):void 0}),Nt=(t,e,o)=>{var l,i;return null!==(i=t.primaryHeaders.horizontal&&(null===(l=e[0])||void 0===l?void 0:l.data)?t.rowKeys.get(e[0].data):void 0)&&void 0!==i?i:String(o)},Wt=t=>{const e=j("kol-sort");return"number"==typeof t&&t>0?`${e} – ${j("kol-table-sort-order").replace("{{order}}",`${t}`)}`:e},Gt=(t,e,o,l,s)=>{if(!1===e.visible)return"";const n=!1!==(null==e?void 0:e.sortable)&&"string"==typeof e.sortDirection;let a="none",r="kolicon-sort-neutral";if(n&&e.sortDirection)switch(e.sortDirection){case"ASC":r="kolicon-sort-asc",a="ascending";break;case"DESC":r="kolicon-sort-desc",a="descending";break;default:a="none"}const c=s?"row":"number"==typeof e.colSpan&&e.colSpan>1?"colgroup":"col",d="number"==typeof e.sortOrder&&e.sortOrder>0?e.sortOrder:void 0,h=void 0!==e.width?`${e.width}px`:void 0,b=Pt(t,l),{left:u,right:p}=Kt(t,b,l),v=e.textAlign,f=n?e.sortDirection:void 0;return i("th",{key:`${o}-${l}-${e.label}`,class:_t("cell",{[a]:!0,"align-center":"center"===v,"align-justify":"justify"===v,"align-left":"left"===v,"align-right":"right"===v,header:!0,"sticky-left":"left"===b,"sticky-right":"right"===b}),scope:c,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{width:h,left:u,right:p},"aria-sort":a,"data-sort":f?`sort-${f}`:void 0},f?i("span",{class:zt},i(_,Object.assign({},t.getButtonFcProps(`sort-${s?"vertical":"horizontal"}-${o}-${l}`,{_icons:{right:r},_label:e.label,_ariaDescription:Wt(d),_on:{onClick:o=>{t.handleSort(o,{key:e.key,currentSortDirection:f})}}},{class:It}))),d&&i("span",{"aria-hidden":"true",class:Et},d)):e.label)},Rt=(t,e,o,l,s=!1)=>i("tr",{class:_t("row",{body:!s,footer:s}),key:`row-${Nt(t,e,o)}`},((t,e,o)=>{var l;const{handleSelectionChange:s,selection:n,selectionModel:a}=t;if(!n)return"";const r=null===(l=e[0])||void 0===l?void 0:l.data;if(!r)return"";const c=r[a.keyPropertyName],d=n.multiple||void 0===n.multiple,h=String(c),b=a.selectedKeysSet.has(h),u=a.disabledKeys.has(h),p=n.label(r),v={name:"selection",checked:b,disabled:u,id:String(c),"aria-label":p};return i("td",{key:`tbody-${o}-selection`,class:_t("cell",{selection:!0})},i("div",{class:_t("selection",{checked:b})},d?i("label",{class:_t("selection-label",{disabled:u})},i(x,{class:Tt,icons:"kolicon "+(b?"kolicon-check":""),label:""}),i("input",Object.assign({class:_t("selection-input",{checkbox:!0})},v,{type:"checkbox",onInput:t=>{const e=b?a.selectedKeys.filter((t=>String(t)!==h)):[...a.selectedKeys,c];s(t,e)}}))):i("label",{class:_t("selection-label")},i("input",Object.assign({class:_t("selection-input",{radio:!0})},v,{type:"radio",onInput:t=>{s(t,[c])}}))),i("div",{class:At},i(D,{label:p,badgeText:"",id:`${c}-label`,refFloating:()=>{}}))))})(t,e,o),e.map(((e,s)=>((t,e,o,l,s)=>{if(!1===e.visible)return"";let n=`${o}-${l}-${e.label}`;if(e.data){const i=t.rowKeys.get(e.data);n=i?`${i}-${t.primaryHeaders.horizontal?l:o}`:n}if(e.headerCell)return Gt(t,e,o,l,s);const a="function"!=typeof e.render&&e.label===t.translateNoEntries,r=yt(t.headers,t.primaryHeaders,l,"action"),c=Boolean(r&&e.data),d=yt(t.headers,t.primaryHeaders,l,"state"),h=Boolean(d&&e.data),b=Pt(t,l),{left:u,right:p}=Kt(t,b,e.colIndex),v="function"==typeof e.render,f=e.textAlign;return i("td",{key:`cell-${n}-${t.settingsChangedCounter}`,class:_t("cell",{actions:c,"align-center":"center"===f,"align-justify":"justify"===f,"align-left":"left"===f,"align-right":"right"===f,body:!0,states:h,"sticky-left":"left"===b,"sticky-right":"right"===b}),"aria-atomic":a?"false":void 0,"aria-live":a?"polite":void 0,"aria-relevant":a?"text":void 0,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:f,left:u,right:p},ref:v?o=>t.handleRenderCell(e,o):void 0},c&&r&&e.data?((t,e,o,l)=>i("div",{class:Ot},e.actions(o).map(((e,o)=>{const s=`action-${l}-${o}`;return"button"===e.type?i("span",{key:s},i(_,Object.assign({},t.getButtonFcProps(s,e)))):"link"===e.type?i("span",{key:s},i(O,Object.assign({},t.getLinkFcProps(s,e)))):null}))))(t,r,e.data,n):h&&d&&e.data?((t,e,o)=>{const l=t.key;if(!l)return"";const s=e[l];return s?i("div",{class:$t},s.map(((t,e)=>"badge"===t.type?i(y,Object.assign({key:`state-${o}-${e}`},t)):null))):""})(d,e.data,n):v?"":e.label)})(t,e,o,s,l)))),Jt=(t,e,o)=>{const l=t.headers.vertical.length+pt(null==o?void 0:o[0])+(t.selection?1:0);return i("tr",{"aria-hidden":"true",class:_t("spacer",{[e]:!0})},i("td",{class:_t("spacer-line",{[e]:!0}),colSpan:l}))},Qt=t=>{const{data:e,dataFoot:o,externalLabelElements:l,fixedCols:n,hasScrollbar:a,hasSettingsMenu:r,headers:c,label:d,loading:h,refScrollContainer:b,refTable:u,selection:p,stickyColsDisabled:v,variant:f}=t,m=j("kol-no-entries"),y=ht(c),g=ut(c.horizontal,e),k=Object.assign(Object.assign({},t),{fixedOffsets:ft(y.cells,g,n,v),maxCols:g,primaryHeaders:y,selectionModel:St(p),translateNoEntries:m}),S=gt({data:e,dataFoot:o,headers:c,isFoot:!1,noEntriesLabel:m,primaryHeaders:y}),_=0===l.length;return i(w,{block:"kol-table",class:C(f,"table")},r&&t.renderSettings(c.horizontal),i("div",{ref:b,class:Ft,tabindex:a?_?"-1":"0":void 0},i("table",{ref:u,"aria-labelledby":_?"caption":void 0,class:Mt,style:{minWidth:kt(c)}},_&&i("caption",{class:Ht,id:"caption",tabindex:a?"0":void 0},d),i("thead",{class:Bt},[c.horizontal.map(((t,e)=>i("tr",{class:Lt,key:`thead-${e}`},p&&(t=>{const{data:e,handleSelectionChange:o,selection:l,selectionModel:s}=t;if(!l)return i("td",{class:_t("cell",{header:!0}),key:"thead-0"});if(!1===l.multiple)return i("th",{scope:"col",key:"thead-0-selection",class:_t("cell",{header:!0,selection:!0})},i("span",{class:"visually-hidden"},j("kol-table-selection")));const n=s.selectedKeys.filter((t=>!s.disabledKeys.has(String(t)))).length,a=n===wt(e,s).length,r=0!==n&&!a;let c;return c=j(0===n?"kol-table-selection-all":a&&!r?"kol-table-selection-none":"kol-table-selection-indeterminate"),i("th",{scope:"col",key:"thead-0-selection",class:_t("cell",{header:!0,selection:!0})},i("span",{class:"visually-hidden"},j("kol-table-selection")),i("div",{class:_t("selection",{checked:a,indeterminate:r})},i("label",{class:_t("selection-label")},i(x,{class:Tt,icons:"kolicon "+(r?"kolicon-minus":a?"kolicon-check":""),label:""}),i("input",{class:_t("selection-input",{checkbox:!0}),name:"selection",checked:a&&!r,indeterminate:r,"aria-label":c,type:"checkbox",onInput:t=>{o(t,((t,e,o)=>{const l=e.selectedKeys.filter((t=>e.disabledKeys.has(String(t))));return o&&l.push(...wt(t,e).map((t=>null==t?void 0:t[e.keyPropertyName]))),l})(e,s,!a))}})),i("div",{class:At},i(D,{label:c,badgeText:"",refFloating:()=>{}}))))})(k),0===e&&(({headers:t})=>{const{horizontal:e,vertical:o}=t;if(0===e.length||0===o.length)return i(s,null);const l=o.reduce(((t,e)=>{var o,l;return t+(null!==(l=null===(o=null==e?void 0:e[0])||void 0===o?void 0:o.width)&&void 0!==l?l:0)}),0);return i("td",{"aria-hidden":"true",colSpan:o.length,rowSpan:e.length,style:l>0?{width:`${l}px`}:void 0})})(k),Array.isArray(t)&&t.map(((t,o)=>Gt(k,t,e,o,!1)))))),Jt(k,"head",c.horizontal)]),i("tbody",{class:xt},i("div",{class:_t("loader",{shown:h})},i($,{label:j(h?"kol-table-data-loading":"kol-table-data-loaded").replace("{{caption}}",d),show:h,variant:"cycle"})),S.map(((t,e)=>Rt(k,t,e,!0)))),(t=>{const{dataFoot:e,headers:o,primaryHeaders:l,translateNoEntries:s}=t;if(0===e.length)return null;const n=gt({data:e,dataFoot:e,headers:o,isFoot:!0,noEntriesLabel:s,primaryHeaders:l}),a=ut(o.horizontal,e),r=Object.assign(Object.assign({},t),{fixedOffsets:ft(l.cells,a,t.fixedCols,t.stickyColsDisabled),maxCols:a});return i("tfoot",{class:Dt},[Jt(t,"foot",n),n.map(((t,e)=>Rt(r,t,e,!0,!0)))])})(k))))},Ut=({dialog:t,card:e},o)=>i(P,Object.assign({},t),e?i(Q,Object.assign({},e),o):o),qt=()=>{},Vt=S.forBlock("kol-table")("settings"),Xt=t=>Number.isFinite(t)&&void 0!==t&&t>0?t:void 0,Yt=()=>{},Zt=(t,e)=>{const o=j("kol-table-settings"),l=j("kol-table-settings-cancel"),s=j("kol-table-settings-apply"),n=j("kol-table-settings-error-all-invisible");let a,r=!1,c=!1;const d=()=>{r=!0,e()},v=p((()=>u(t)),(t=>t.syncListeners()),(t=>t.destroy())),f=((t,e)=>{const o=I(),l=I(),i=new U(h.stateLess),s=L(),n=F("dialog-heading"),r={};let c,d=!0,u={};const p=t=>!a||T(a,t),v=()=>{var t,e;null===(e=null===(t=o.el)||void 0===t?void 0:t.close)||void 0===e||e.call(t)},f=t=>{var e;K(t),t.defaultPrevented||(null===(e=u.onCancel)||void 0===e||e.call(u,t),t.defaultPrevented||p(A.cancel)||t.preventDefault())},m=t=>{var e;t.target===o.el&&(E(r),null===(e=u.onClose)||void 0===e||e.call(u),p(A.close))},y=()=>{i.hideTooltip(),v(),p(A.close)};return{getFcProps:e=>{var a,r,h;let p="",v=0,g="blank",k="100%";R.apply(e.label,(t=>{p=t})),N.apply(null!==(a=e.level)&&void 0!==a?a:0,(t=>{v=t})),W.apply(e.on,(t=>{u=t})),b.apply(null!==(r=e.variant)&&void 0!==r?r:"blank",(t=>{g=t})),G.apply(null!==(h=e.width)&&void 0!==h?h:"100%",(t=>{k=t}));const j="card"===g;return j&&!c&&(c=J(t()),i.componentWillLoad({label:c.label,align:c.tooltipAlign})),{dialog:{blockClass:H(g),handleCancel:f,handleClose:m,label:p,labelledBy:j?n:void 0,modal:d,refDialog:o,width:k},card:j&&c?{ariaDescriptionId:s,closeButtonProps:c,handleBlur:qt,handleClose:y,handleFocus:qt,hasCloser:!0,headingId:n,href:"",label:p,level:v,on:{},refCloseButton:l,refCta:qt,refTooltip:i.setTooltipElementRef,target:""}:void 0}},show:t=>{var l,i;const s=o.el;(null==s?void 0:s.open)||(d!==t&&(d=t,e()),t?(null===(l=null==s?void 0:s.showModal)||void 0===l||l.call(s),s&&M(r)):null===(i=null==s?void 0:s.show)||void 0===i||i.call(s))},close:v,syncListeners:()=>{l.el&&i.syncListeners(void 0,l.el,!0)},destroy:()=>{v(),E(r),i.destroy()}}})(t,d),m=F("alert-heading"),y=L();let C,S=[],w=[],x=null;const O=()=>{var t;return null!==(t=w[w.length-1])&&void 0!==t?t:[]},$=t=>{w=w.map(((e,o,l)=>o===l.length-1?t:e)),d()},D=(t,e)=>{const o=[...O()],l=o.findIndex((e=>e.key===t));if(-1===l)return;let i;if("up"===e){if(0===l)return;i=l-1}else{if(l===o.length-1)return;i=l+1}const[s]=o.splice(l,1);o.splice(i,0,s),$(o)},P=t=>{if(t.preventDefault(),!O().some((t=>!1!==t.visible)))return x=n,void d();if(a){x=null,S=w.map((t=>t.map((t=>Object.assign({},t))))),d();const t=w.map((t=>t.map((t=>{const e=t,{hidable:o,resizable:l,sortable:i,visible:s,width:n}=e,a=B(e,["hidable","resizable","sortable","visible","width"]),r=Object.assign({},a);return void 0!==s&&(r.visible=s),void 0!==o&&(r.hidable=o),void 0!==i&&(r.sortable=i),void 0!==l&&(r.resizable=l),null!=n&&(r.width=n),r}))));T(a,A.changeHeaderCells,t),f.close()}},Q=t=>{t&&(a=t)};return{beginRender:()=>{v.beginRender(),c=r,r=!1},render:t=>{var e;c||t===C||(C=t,S=(e=t).map((t=>[...t])),w=e.map((t=>t.map((t=>Object.assign({},t))))));const n=O();return i("div",{class:Vt,ref:Q},i("div",{class:"kol-table-settings"},i(_,Object.assign({},v.get("toggle").getFcProps({_icons:"kolicon-settings",_label:o,_hideLabel:!0,_on:{onClick:()=>f.show(!0)}})))),i(Ut,Object.assign({},f.getFcProps({label:o,variant:"card",width:"fit-content"})),i("div",{class:"kol-table-settings__content"},x&&i("div",{class:"kol-table-settings__error-message"},i(z,{alert:!1,closerAriaDescriptionId:y,handleCloserClick:Yt,hasCloser:!1,headingId:m,label:x,level:0,refCloserButton:Yt,refCloserTooltip:Yt,type:"error",variant:"msg"})),i("form",{onSubmit:P},i("div",{class:"kol-table-settings__columns"},n.map(((t,e)=>((t,e,o)=>i("div",{key:t.key,class:"kol-table-settings__column"},i(k,{_checked:!1!==t.visible,_label:j(t.hidable?"kol-table-settings-column-hidable":"kol-table-settings-column-not-hidable",{placeholders:{column:t.label}}),_value:!0,_hideLabel:!0,_disabled:!1===t.hidable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=O().map((o=>o.key===t&&!1!==o.hidable?Object.assign(Object.assign({},o),{visible:Boolean(e)}):o));$(o)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),i("span",{class:"kol-table-settings__column-label"},t.label),i(g,{_hideLabel:!0,_value:Xt(t.width),_label:j("kol-table-settings-column-width",{placeholders:{column:t.label}}),_min:1,_disabled:!1===t.resizable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=Xt(Number(e)),l=O().map((e=>e.key===t&&!1!==e.resizable?Object.assign(Object.assign({},e),{width:o}):e));$(l)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),i(_,Object.assign({},v.get(`move-up-${t.key}`).getFcProps({_icons:"kolicon-chevron-up",_label:j(!1===t.sortable||0===e?"kol-table-settings-not-move":"kol-table-settings-move-up",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return D(null!==(e=t.key)&&void 0!==e?e:"","up")}},_disabled:!1===t.sortable||0===e},{"data-testid":"table-settings-move-up"}))),i(_,Object.assign({},v.get(`move-down-${t.key}`).getFcProps({_icons:"kolicon-chevron-down",_label:j(!1===t.sortable||e===o.length-1?"kol-table-settings-not-move":"kol-table-settings-move-down",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return D(null!==(e=t.key)&&void 0!==e?e:"","down")}},_disabled:!1===t.sortable||e===o.length-1},{"data-testid":"table-settings-move-down"})))))(t,e,n)))),i("div",{class:"kol-table-settings__actions"},i(_,Object.assign({},v.get("cancel").getFcProps({_label:l,_variant:"secondary",_on:{onClick:()=>(w=S.map((t=>[...t])),x=null,d(),void f.close())}},{"data-testid":"table-settings-cancel"}))),i(_,Object.assign({},v.get("apply").getFcProps({_label:s,_variant:"primary",_type:"submit"},{"data-testid":"table-settings-apply"}))))))))},sync:()=>{v.endRender(),f.syncListeners()},destroy:()=>{v.destroy(),f.destroy()}}};class te extends h{constructor(){super(...arguments),this.cellRenderTimeouts=new Map,this.buttonItems=p((()=>u((()=>this.host))),(t=>t.syncListeners()),(t=>t.destroy())),this.settings=Zt((()=>this.host),(()=>n(this))),this.linkItems=p((()=>v((()=>n(this)))),(t=>t.syncListeners()),(t=>t.destroy())),this.handleResize=()=>{this.updateScrollbarState(),clearTimeout(this.resizeDebounceTimeout),this.resizeDebounceTimeout=setTimeout((()=>{this.updateStickyColsDisabled()}),150)},this.handleSelectionChange=(t,e)=>{this.emitSelectionChange(t,e)},this.handleSort=(t,e)=>{this.emitSort(t,e)},this.handleRenderCell=(t,e)=>{e&&(clearTimeout(this.cellRenderTimeouts.get(e)),this.cellRenderTimeouts.set(e,setTimeout((()=>{if("function"==typeof t.render){const o=t.render(e,t,t.data,this.getRenderProp("data"));"string"==typeof o&&(e.textContent=o)}}))))},this.refScrollContainer=t=>{this.scrollContainerElement=t},this.refTable=t=>{this.tableElement=t,this.syncTableLabel(this.getState("externalLabelElements"))},this.getButtonFcProps=(t,e,o)=>this.buttonItems.get(t).getFcProps(e,o),this.renderSettings=t=>this.settings.render(t),this.getLinkFcProps=(t,e)=>this.linkItems.get(t).getFcProps(e)}initTableRenderProps(){this.initRenderProps(ct)}observeScrollContainer(){this.scrollContainerElement&&ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.scrollContainerElement)),this.updateStickyColsDisabled()}teardownTable(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect(),clearTimeout(this.resizeDebounceTimeout),this.buttonItems.destroy(),this.linkItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.settings.sync()}applyData(t){lt.apply(t,(t=>{this.setRenderProp("data",t),this.setState("rowKeys",((t,e)=>new Map(t.map((t=>{var o;return[t,null!==(o=e.get(t))&&void 0!==o?o:L()]}))))(t,this.getState("rowKeys")))}))}applyDataFoot(t){it.apply(t,(t=>this.setRenderProp("dataFoot",t)))}applyFixedCols(t){Y.apply(t,(t=>this.setRenderProp("fixedCols",t))),this.updateStickyColsDisabled()}applyHasSettingsMenu(t){Z.apply(t,(t=>this.setRenderProp("hasSettingsMenu",t)))}applyHeaders(t){nt.apply(t,(t=>this.setRenderProp("headers",(t=>0===t.horizontal.length?t:Object.assign(Object.assign({},t),{horizontal:t.horizontal.map((t=>t.map((t=>Object.assign(Object.assign({},t),{visible:"boolean"!=typeof t.visible||t.visible,hidable:"boolean"!=typeof t.hidable||t.hidable})))))}))(t))))}applyLabel(t){f.apply(t,(t=>this.setRenderProp("label",t)))}applyLoading(t){at.apply(t,(t=>this.setRenderProp("loading",t)))}applyOn(t){tt.apply(t,(t=>this.setRenderProp("on",t)))}applySelection(t){rt.apply(t,(t=>this.setRenderProp("selection",t))),this.updateStickyColsDisabled()}applyVariant(t){m.apply(t,(t=>this.setRenderProp("variant",t)))}syncTableLabel(t){this.tableElement&&"ariaLabelledByElements"in this.tableElement&&((null==t?void 0:t.length)&&(this.tableElement.ariaLabelledByElements=t),o.debug([this.tableElement,!!(null==t?void 0:t.length),t,this.tableElement.ariaLabelledByElements]))}moveCheckboxFocus(t){var e,o,l;if("ArrowUp"!==t.key&&"ArrowDown"!==t.key)return;const i=Array.from(null!==(o=null===(e=this.scrollContainerElement)||void 0===e?void 0:e.querySelectorAll(".kol-table__selection-input--checkbox"))&&void 0!==o?o:[]),s=null===(l=this.scrollContainerElement)||void 0===l?void 0:l.querySelector(":focus");let n=i.indexOf(s);n>-1&&(t.preventDefault(),n=(n+("ArrowDown"===t.key?1:i.length-1))%i.length,i[n].focus())}applyChangedHeaderCells(t){const e=Object.assign(Object.assign({},this.getRenderProp("headers")),{horizontal:t.detail});this.setRenderProp("headers",e),this.setState("settingsChangedCounter",this.getState("settingsChangedCounter")+1);const o=this.getRenderProp("on")[q.onChangeHeaderCells];"function"==typeof o&&o(t,e)}updateScrollbarState(){if(this.scrollContainerElement){const{clientHeight:t,clientWidth:e,scrollHeight:o,scrollWidth:l}=this.scrollContainerElement;this.setState("hasScrollbar",l>e||o>t&&["auto","scroll"].includes(getComputedStyle(this.scrollContainerElement).overflowY))}}calculateFixedColsWidth(){var t,e,o,l,i,s;const[n,a]=this.getRenderProp("fixedCols"),r=this.getRenderProp("headers"),c=ht(r).cells,d=ut(r.horizontal,this.getRenderProp("data"));let h=0;for(let o=0;o<n&&o<c.length;o++)h+=null!==(e=null===(t=c[o])||void 0===t?void 0:t.width)&&void 0!==e?e:0;for(let t=d-a;t<d&&t<c.length;t++)h+=null!==(l=null===(o=c[t])||void 0===o?void 0:o.width)&&void 0!==l?l:0;if(this.getRenderProp("selection")){const t=null===(i=this.scrollContainerElement)||void 0===i?void 0:i.querySelector(".kol-table__cell--selection");h+=null!==(s=null==t?void 0:t.offsetWidth)&&void 0!==s?s:0}return h}updateStickyColsDisabled(){if(!this.scrollContainerElement)return void this.setState("stickyColsDisabled",!1);const t=this.calculateFixedColsWidth();this.setState("stickyColsDisabled",t>0&&t>=this.scrollContainerElement.clientWidth)}emitSelectionChange(t,e){const o=this.getRenderProp("on")[q.onSelectionChange];"function"==typeof o&&o(t,e),this.host&&T(this.host,A.selectionChange,e)}emitSort(t,e){const o=this.getRenderProp("on")[q.onSort];"function"==typeof o&&e.key&&o(t,e),this.host&&T(this.host,A.sort,e)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.settings.beginRender(),i(Qt,{data:this.getRenderProp("data"),dataFoot:this.getRenderProp("dataFoot"),externalLabelElements:this.getState("externalLabelElements"),fixedCols:this.getRenderProp("fixedCols"),getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,renderSettings:this.renderSettings,handleRenderCell:this.handleRenderCell,handleSelectionChange:this.handleSelectionChange,handleSort:this.handleSort,hasScrollbar:this.getState("hasScrollbar"),hasSettingsMenu:this.getRenderProp("hasSettingsMenu"),headers:this.getRenderProp("headers"),label:this.getRenderProp("label"),loading:this.getRenderProp("loading"),on:this.getRenderProp("on"),refScrollContainer:this.refScrollContainer,refTable:this.refTable,rowKeys:this.getState("rowKeys"),selection:this.getRenderProp("selection"),settingsChangedCounter:this.getState("settingsChangedCounter"),stickyColsDisabled:this.getState("stickyColsDisabled"),variant:this.getRenderProp("variant")})}}export{te as B,it as a,lt as t,V as v}