@public-ui/components 4.6.0 → 4.7.0-rc.1

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 (1160) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +24 -24
  7. package/dist/cjs/{Heading-CnnBHLhu.js → Heading-DgfHX8iO.js} +2 -2
  8. package/dist/cjs/{api-C-uDDxcA.js → api-Bco3zhNl.js} +30 -30
  9. package/dist/cjs/{app-globals-BfpVa0Lg.js → app-globals-BfjEc9BA.js} +5 -5
  10. package/dist/cjs/{base-BZ3x1Yaj.js → base-BlhVYuZN.js} +14 -14
  11. package/dist/cjs/{base-CeaAJa72.js → base-CaTF8Lsq.js} +10 -10
  12. package/dist/cjs/{base-BIbzHEVE.js → base-CaYE9fE3.js} +70 -36
  13. package/dist/cjs/{base-Cc2tyQoy.js → base-DRkg3lke.js} +13 -13
  14. package/dist/cjs/{base-web-component-B_zszxEg.js → base-web-component-BF8Oc_jN.js} +1 -1
  15. package/dist/cjs/{base-web-component-Dk-So1FD.js → base-web-component-CBcdTiXS.js} +11 -11
  16. package/dist/cjs/{base-web-component-CpqYvVDi.js → base-web-component-CZJc9Ld3.js} +15 -15
  17. package/dist/cjs/{behavior--ZjzmIB4.js → behavior-BsDVus9x.js} +9 -9
  18. package/dist/cjs/{behavior-cEIf2evT.js → behavior-DnJZI13z.js} +9 -9
  19. package/dist/cjs/{behavior-CYg7XOXd.js → behavior-OgRkvokv.js} +6 -6
  20. package/dist/cjs/{bem-registry-CtnO3zCW.js → bem-registry-_oyuMzRs.js} +2 -2
  21. package/dist/cjs/{bootstrap-DOzWgRGX.js → bootstrap-jLvMy9on.js} +5 -5
  22. package/dist/cjs/{color-BJ776mPh.js → color-CBtx0JEd.js} +4 -4
  23. package/dist/cjs/{component-DwuAKOV_.js → component-6M5X_cZt.js} +6 -6
  24. package/dist/cjs/{component-5ABjFE_U.js → component-BG4f8vbN.js} +6 -6
  25. package/dist/cjs/{component-C_9WksgV.js → component-BZT4ABhJ.js} +14 -14
  26. package/dist/cjs/{component-BacsMsF-.js → component-Bf1srWgT.js} +4 -4
  27. package/dist/cjs/{component-Ddp-Luc6.js → component-CYZ74d6d.js} +9 -9
  28. package/dist/cjs/{component-BSx0ZVSD.js → component-CZATN7e7.js} +10 -10
  29. package/dist/cjs/component-CcR692_g.js +178 -0
  30. package/dist/cjs/{component-BTfaB8W5.js → component-DD4gW4Wv.js} +3 -3
  31. package/dist/cjs/{component-D65WOH6c.js → component-DELokt1e.js} +7 -7
  32. package/dist/cjs/{component-DuknrIKz.js → component-G9OBs93q.js} +15 -15
  33. package/dist/cjs/{component-DVf7tz1e.js → component-b8Mw23VK.js} +5 -5
  34. package/dist/cjs/{contrast-DrGTr5zd.js → contrast-Dq0rQJv4.js} +5 -5
  35. package/dist/cjs/{controller-D66Eq44x.js → controller-CYSgD2og.js} +16 -16
  36. package/dist/cjs/{dev.utils-EwVibOKw.js → dev.utils-DbZjSMB_.js} +10 -10
  37. package/dist/cjs/{devtools-CEqUJI9f.js → devtools-Cf9tA39t.js} +24 -24
  38. package/dist/cjs/{disabled-DBnI2OR4.js → disabled-iY2F8CXF.js} +1 -1
  39. package/dist/cjs/{field-control-Jhzreo_j.js → field-control-C23Zk-tt.js} +8 -8
  40. package/dist/cjs/{group-DDmENjNB.js → group-CLctawrF.js} +5 -5
  41. package/dist/cjs/{has-closer-DIk_toj-.js → has-closer-DmnD5ziV.js} +1 -1
  42. package/dist/cjs/{href-_UE7179j.js → href-CPwjE6oZ.js} +1 -1
  43. package/dist/cjs/{i18n-4lKONPdP.js → i18n--y6dSQBm.js} +3 -3
  44. package/dist/cjs/{i18n-CuXZ7SEi.js → i18n-bT7xr2k5.js} +4 -4
  45. package/dist/cjs/{id-JbinnWCW.js → id-hO96Hkhh.js} +1 -1
  46. package/dist/cjs/{index-P8gY4ccL.js → index-B302UiQS.js} +2 -2
  47. package/dist/cjs/index.cjs.js +11 -11
  48. package/dist/cjs/{input-BYfPasa5.js → input-CypPMvU-.js} +5 -5
  49. package/dist/cjs/{input-container-BQlNjdk3.js → input-container-jziuknSu.js} +16 -16
  50. package/dist/cjs/{item-DSSJt2YS.js → item-BkH81iun.js} +8 -8
  51. package/dist/cjs/{item-C6gnuMjx.js → item-DO5SWoIT.js} +8 -8
  52. package/dist/cjs/{item-Dgikq96R.js → item-DyUR8LQP.js} +24 -24
  53. package/dist/cjs/{item-CvvVUcQZ.js → item-FIjcvq4Y.js} +14 -14
  54. package/dist/cjs/kol-abbr.cjs.entry.js +8 -8
  55. package/dist/cjs/kol-accordion.cjs.entry.js +18 -18
  56. package/dist/cjs/kol-alert.cjs.entry.js +27 -27
  57. package/dist/cjs/kol-avatar.cjs.entry.js +17 -20
  58. package/dist/cjs/kol-badge.cjs.entry.js +29 -29
  59. package/dist/cjs/kol-breadcrumb.cjs.entry.js +33 -33
  60. package/dist/cjs/kol-button-link.cjs.entry.js +26 -26
  61. package/dist/cjs/kol-button.cjs.entry.js +26 -26
  62. package/dist/cjs/kol-card.cjs.entry.js +57 -96
  63. package/dist/cjs/kol-combobox.cjs.entry.js +77 -77
  64. package/dist/cjs/kol-details.cjs.entry.js +18 -18
  65. package/dist/cjs/kol-dialog.cjs.entry.js +33 -33
  66. package/dist/cjs/kol-drawer.cjs.entry.js +32 -32
  67. package/dist/cjs/kol-form.cjs.entry.js +28 -28
  68. package/dist/cjs/kol-heading.cjs.entry.js +15 -15
  69. package/dist/cjs/kol-icon.cjs.entry.js +12 -12
  70. package/dist/cjs/kol-image.cjs.entry.js +20 -20
  71. package/dist/cjs/kol-input-checkbox.cjs.entry.js +70 -70
  72. package/dist/cjs/kol-input-color.cjs.entry.js +57 -57
  73. package/dist/cjs/kol-input-date.cjs.entry.js +70 -70
  74. package/dist/cjs/kol-input-email.cjs.entry.js +75 -75
  75. package/dist/cjs/kol-input-file.cjs.entry.js +52 -52
  76. package/dist/cjs/kol-input-number.cjs.entry.js +72 -72
  77. package/dist/cjs/kol-input-password.cjs.entry.js +74 -74
  78. package/dist/cjs/kol-input-radio.cjs.entry.js +53 -53
  79. package/dist/cjs/kol-input-range.cjs.entry.js +58 -58
  80. package/dist/cjs/kol-input-text.cjs.entry.js +87 -87
  81. package/dist/cjs/kol-kolibri.cjs.entry.js +8 -8
  82. package/dist/cjs/kol-link-button.cjs.entry.js +36 -36
  83. package/dist/cjs/kol-link.cjs.entry.js +34 -34
  84. package/dist/cjs/kol-meter.cjs.entry.js +19 -25
  85. package/dist/cjs/kol-modal.cjs.entry.js +33 -33
  86. package/dist/cjs/kol-nav.cjs.entry.js +38 -38
  87. package/dist/cjs/kol-pagination.cjs.entry.js +57 -57
  88. package/dist/cjs/kol-popover-button.cjs.entry.js +60 -95
  89. package/dist/cjs/kol-progress.cjs.entry.js +18 -21
  90. package/dist/cjs/kol-quote.cjs.entry.js +13 -13
  91. package/dist/cjs/kol-select.cjs.entry.js +63 -63
  92. package/dist/cjs/kol-single-select.cjs.entry.js +78 -78
  93. package/dist/cjs/kol-skip-nav.cjs.entry.js +32 -32
  94. package/dist/cjs/kol-spin.cjs.entry.js +23 -23
  95. package/dist/cjs/kol-split-button.cjs.entry.js +30 -30
  96. package/dist/cjs/kol-table-stateful.cjs.entry.js +112 -101
  97. package/dist/cjs/kol-table-stateless.cjs.entry.js +55 -55
  98. package/dist/cjs/kol-tabs.cjs.entry.js +36 -36
  99. package/dist/cjs/kol-textarea.cjs.entry.js +70 -70
  100. package/dist/cjs/kol-toast-container.cjs.entry.js +22 -22
  101. package/dist/cjs/kol-toolbar.cjs.entry.js +45 -45
  102. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +13 -13
  103. package/dist/cjs/kol-tree-item.cjs.entry.js +31 -31
  104. package/dist/cjs/kol-tree.cjs.entry.js +10 -10
  105. package/dist/cjs/kol-version.cjs.entry.js +23 -23
  106. package/dist/cjs/kolibri.cjs.js +4 -4
  107. package/dist/cjs/{label-BAULqhwq.js → label-D2VlEzVW.js} +3 -3
  108. package/dist/cjs/{label-hints-BHw-UcMt.js → label-hints-CeYTIMWM.js} +4 -4
  109. package/dist/cjs/{label-lang-segment-D_UYFhgr.js → label-lang-segment-n4JXXvXq.js} +2 -2
  110. package/dist/cjs/{label-with-expert-slot-XZTOiRp-.js → label-with-expert-slot-BMZi_Wf-.js} +3 -3
  111. package/dist/cjs/{level-CaJUuMiH.js → level-zFWeAW3T.js} +1 -1
  112. package/dist/cjs/{link-target-EZq24qVX.js → link-target-CHHUlWut.js} +1 -1
  113. package/dist/cjs/{links-CNPivOpm.js → links-DNq836FP.js} +3 -3
  114. package/dist/cjs/loader.cjs.js +4 -4
  115. package/dist/cjs/{multiple-D4ktp4Q2.js → multiple-CqTw5Zl-.js} +1 -1
  116. package/dist/cjs/{number-value-BzIR1UvL.js → number-value-CI4C8lZR.js} +3 -2
  117. package/dist/cjs/{open-BYh5VAA1.js → open-CMvvGqsm.js} +1 -1
  118. package/dist/cjs/{options-DkF38kx_.js → options-TlEddxWf.js} +3 -3
  119. package/dist/cjs/{orientation-D4yopkvP.js → orientation-Bw6xTtO9.js} +1 -1
  120. package/dist/cjs/{placeholder-CZOGOuLS.js → placeholder-DuCgyrEW.js} +1 -1
  121. package/dist/cjs/{common-CzGJx0nT.js → prop.validators-C4SLGjLp.js} +24 -91
  122. package/dist/cjs/{props-from-config-CiU21EHb.js → props-from-config-DaGKZuLa.js} +66 -71
  123. package/dist/cjs/{read-only-PNG5jHgh.js → read-only-5clAe4ux.js} +1 -1
  124. package/dist/cjs/{required-mj54_vO_.js → required-G3fEcN7P.js} +1 -1
  125. package/dist/cjs/{resolve-props-CH6OL2es.js → resolve-props-Bbb07BLa.js} +8 -8
  126. package/dist/cjs/{resolve-props-DOnocHFi.js → resolve-props-Csah9JNe.js} +8 -8
  127. package/dist/cjs/{rows-YaAnXjAm.js → rows-DTo_lgOT.js} +1 -1
  128. package/dist/cjs/{scroll-lock-D3pgiG8q.js → scroll-lock-BhxtYYKV.js} +3 -3
  129. package/dist/cjs/{smart-button-BU7mWP5H.js → smart-button-BN5aGm8g.js} +3 -3
  130. package/dist/cjs/{spell-check-CZWiLkQE.js → spell-check-Dv6XW8fA.js} +1 -1
  131. package/dist/cjs/{src-rB2yGTSn.js → src-BaxsjPdd.js} +1 -1
  132. package/dist/cjs/{step-Bo6ILIqa.js → step-yJC7o2qO.js} +1 -1
  133. package/dist/cjs/{suggestions-Ca575hi-.js → suggestions-Bk2UPut-.js} +3 -3
  134. package/dist/cjs/{suggestions-BO4EvOXc.js → suggestions-Bn2BAzI8.js} +4 -4
  135. package/dist/cjs/test-component.cjs.entry.js +2 -2
  136. package/dist/cjs/{toggle-handler-ByJYSOdb.js → toggle-handler-BXGDSkBB.js} +9 -9
  137. package/dist/cjs/{unique-nav-labels-_EHPpYUR.js → unique-nav-labels-CNsmbg7l.js} +3 -3
  138. package/dist/cjs/{unit-Bl0Lyk08.js → unit-Zuxajtin.js} +1 -1
  139. package/dist/cjs/{validators-rLs6tEWo.js → validators-DRNw98Il.js} +1 -1
  140. package/dist/cjs/{value-string-BKsvZy1q.js → value-string-BEW6PiK0.js} +1 -1
  141. package/dist/cjs/{width-DegQFxQB.js → width-BMlp2iV4.js} +1 -1
  142. package/dist/collection/components/abbr/component.js +1 -1
  143. package/dist/collection/components/accordion/component.js +1 -1
  144. package/dist/collection/components/accordion/style.css +2 -2
  145. package/dist/collection/components/alert/component.js +3 -3
  146. package/dist/collection/components/alert/style.css +2 -2
  147. package/dist/collection/components/avatar/component.js +4 -7
  148. package/dist/collection/components/badge/component.js +4 -4
  149. package/dist/collection/components/badge/style.css +2 -2
  150. package/dist/collection/components/breadcrumb/component.js +3 -3
  151. package/dist/collection/components/breadcrumb/style.css +2 -2
  152. package/dist/collection/components/button/base.js +1 -1
  153. package/dist/collection/components/button/component.js +3 -3
  154. package/dist/collection/components/button/style.css +2 -2
  155. package/dist/collection/components/button-link/component.js +3 -3
  156. package/dist/collection/components/button-link/style.css +2 -2
  157. package/dist/collection/components/card/component.js +53 -18
  158. package/dist/collection/components/card/style.css +2 -2
  159. package/dist/collection/components/combobox/component.js +115 -115
  160. package/dist/collection/components/combobox/style.css +2 -2
  161. package/dist/collection/components/details/component.js +1 -1
  162. package/dist/collection/components/details/style.css +2 -2
  163. package/dist/collection/components/dialog/component.js +5 -5
  164. package/dist/collection/components/dialog/style.css +2 -2
  165. package/dist/collection/components/drawer/component.js +3 -3
  166. package/dist/collection/components/drawer/style.css +2 -2
  167. package/dist/collection/components/form/component.js +3 -3
  168. package/dist/collection/components/form/style.css +2 -2
  169. package/dist/collection/components/heading/component.js +4 -4
  170. package/dist/collection/components/icon/component.js +3 -3
  171. package/dist/collection/components/icon/style.css +2 -2
  172. package/dist/collection/components/image/component.js +39 -39
  173. package/dist/collection/components/input-checkbox/component.js +111 -111
  174. package/dist/collection/components/input-checkbox/style.css +2 -2
  175. package/dist/collection/components/input-color/component.js +39 -39
  176. package/dist/collection/components/input-color/style.css +2 -2
  177. package/dist/collection/components/input-date/component.js +78 -78
  178. package/dist/collection/components/input-date/style.css +2 -2
  179. package/dist/collection/components/input-email/component.js +86 -86
  180. package/dist/collection/components/input-email/style.css +2 -2
  181. package/dist/collection/components/input-file/component.js +34 -34
  182. package/dist/collection/components/input-file/style.css +2 -2
  183. package/dist/collection/components/input-number/component.js +68 -68
  184. package/dist/collection/components/input-number/style.css +2 -2
  185. package/dist/collection/components/input-password/component.js +87 -87
  186. package/dist/collection/components/input-password/style.css +2 -2
  187. package/dist/collection/components/input-radio/component.js +36 -36
  188. package/dist/collection/components/input-radio/style.css +2 -2
  189. package/dist/collection/components/input-range/component.js +39 -39
  190. package/dist/collection/components/input-range/style.css +2 -2
  191. package/dist/collection/components/input-text/component.js +145 -145
  192. package/dist/collection/components/input-text/style.css +2 -2
  193. package/dist/collection/components/kolibri/component.js +1 -1
  194. package/dist/collection/components/link/base.js +1 -1
  195. package/dist/collection/components/link/component.js +26 -26
  196. package/dist/collection/components/link/style.css +2 -2
  197. package/dist/collection/components/link-button/component.js +27 -27
  198. package/dist/collection/components/link-button/style.css +2 -2
  199. package/dist/collection/components/meter/component.js +6 -12
  200. package/dist/collection/components/modal/component.js +5 -5
  201. package/dist/collection/components/modal/style.css +2 -2
  202. package/dist/collection/components/nav/component.js +2 -2
  203. package/dist/collection/components/nav/style.css +2 -2
  204. package/dist/collection/components/pagination/component.js +85 -85
  205. package/dist/collection/components/pagination/style.css +2 -2
  206. package/dist/collection/components/popover-button/component.js +40 -11
  207. package/dist/collection/components/popover-button/style.css +2 -2
  208. package/dist/collection/components/progress/component.js +5 -8
  209. package/dist/collection/components/public-api/contract.js +46 -6
  210. package/dist/collection/components/quote/component.js +5 -5
  211. package/dist/collection/components/select/component.js +61 -61
  212. package/dist/collection/components/select/style.css +2 -2
  213. package/dist/collection/components/single-select/component.js +134 -134
  214. package/dist/collection/components/single-select/style.css +2 -2
  215. package/dist/collection/components/skip-nav/component.js +2 -2
  216. package/dist/collection/components/skip-nav/style.css +2 -2
  217. package/dist/collection/components/spin/component.js +29 -29
  218. package/dist/collection/components/spin/style.css +8 -1
  219. package/dist/collection/components/split-button/component.js +5 -5
  220. package/dist/collection/components/split-button/style.css +2 -2
  221. package/dist/collection/components/table-stateful/component.js +107 -113
  222. package/dist/collection/components/table-stateful/style.css +11 -4
  223. package/dist/collection/components/table-stateless/base.js +7 -1
  224. package/dist/collection/components/table-stateless/component.js +53 -53
  225. package/dist/collection/components/table-stateless/style.css +11 -4
  226. package/dist/collection/components/tabs/component.js +12 -12
  227. package/dist/collection/components/tabs/style.css +3 -3
  228. package/dist/collection/components/textarea/component.js +88 -88
  229. package/dist/collection/components/textarea/style.css +2 -2
  230. package/dist/collection/components/toaster/shadow.js +3 -3
  231. package/dist/collection/components/toaster/style.css +2 -2
  232. package/dist/collection/components/toolbar/component.js +33 -33
  233. package/dist/collection/components/toolbar/style.css +2 -2
  234. package/dist/collection/components/tooltip/component.js +1 -1
  235. package/dist/collection/components/tree/component.js +2 -2
  236. package/dist/collection/components/tree-item/component.js +35 -35
  237. package/dist/collection/components/tree-item/style.css +2 -2
  238. package/dist/collection/components/version/component.js +2 -2
  239. package/dist/collection/components/version/style.css +2 -2
  240. package/dist/collection/global/script.js +1 -1
  241. package/dist/collection/index.js +1 -1
  242. package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
  243. package/dist/collection/internal/functional-components/button/item.js +3 -3
  244. package/dist/collection/internal/functional-components/counter/api.js +1 -1
  245. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  246. package/dist/collection/{components → internal/functional-components}/form/controller.js +2 -2
  247. package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
  248. package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -7
  249. package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
  250. package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
  251. package/dist/collection/internal/functional-components/link/api.js +1 -1
  252. package/dist/collection/internal/functional-components/link/component.js +1 -1
  253. package/dist/collection/internal/functional-components/link/item.js +3 -3
  254. package/dist/collection/internal/functional-components/pagination/item.js +1 -1
  255. package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
  256. package/dist/collection/internal/functional-components/progress/api.js +1 -1
  257. package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
  258. package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
  259. package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
  260. package/dist/collection/internal/functional-components/table-stateful/model.js +11 -7
  261. package/dist/collection/internal/functional-components/table-stateless/component.js +6 -3
  262. package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
  263. package/dist/collection/internal/functional-components/table-stateless/settings.js +2 -2
  264. package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
  265. package/dist/collection/internal/functional-components/text-input/base-web-component.js +1 -1
  266. package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +5 -5
  267. package/dist/collection/internal/props/helpers/factory.js +1 -1
  268. package/dist/collection/internal/props/helpers/normalizers.js +2 -5
  269. package/dist/collection/internal/props/index.js +0 -1
  270. package/dist/collection/locales/de.js +2 -2
  271. package/dist/collection/locales/en.js +2 -2
  272. package/dist/collection/schema/components/index.js +0 -30
  273. package/dist/collection/schema/props/accept.js +1 -7
  274. package/dist/collection/schema/props/access-key.js +1 -7
  275. package/dist/collection/schema/props/active.js +1 -7
  276. package/dist/collection/schema/props/adjust-height.js +1 -7
  277. package/dist/collection/schema/props/alert-type.js +0 -7
  278. package/dist/collection/schema/props/align.js +0 -4
  279. package/dist/collection/schema/props/allow-multi-sort.js +1 -7
  280. package/dist/collection/schema/props/alt.js +1 -7
  281. package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
  282. package/dist/collection/schema/props/aria-controls.js +1 -7
  283. package/dist/collection/schema/props/aria-current-value.js +1 -10
  284. package/dist/collection/schema/props/aria-description.js +1 -7
  285. package/dist/collection/schema/props/aria-expanded.js +1 -7
  286. package/dist/collection/schema/props/aria-labelledby.js +6 -4
  287. package/dist/collection/schema/props/aria-owns.js +1 -9
  288. package/dist/collection/schema/props/aria-selected.js +1 -7
  289. package/dist/collection/schema/props/auto-complete.js +0 -6
  290. package/dist/collection/schema/props/badge-text.js +1 -7
  291. package/dist/collection/schema/props/button-callbacks.js +1 -7
  292. package/dist/collection/schema/props/button-type.js +1 -8
  293. package/dist/collection/schema/props/button-variant.js +1 -10
  294. package/dist/collection/schema/props/checked.js +1 -7
  295. package/dist/collection/schema/props/collapsible.js +1 -7
  296. package/dist/collection/schema/props/color.js +1 -14
  297. package/dist/collection/schema/props/current-length.js +1 -7
  298. package/dist/collection/schema/props/custom-class.js +1 -9
  299. package/dist/collection/schema/props/disabled.js +1 -15
  300. package/dist/collection/schema/props/download.js +1 -7
  301. package/dist/collection/schema/props/error-list.js +1 -14
  302. package/dist/collection/schema/props/has-closer.js +1 -7
  303. package/dist/collection/schema/props/has-compact-button.js +1 -7
  304. package/dist/collection/schema/props/has-counter.js +1 -7
  305. package/dist/collection/schema/props/has-create-button.js +1 -7
  306. package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
  307. package/dist/collection/schema/props/has-settings-menu.js +1 -7
  308. package/dist/collection/schema/props/has-value.js +1 -7
  309. package/dist/collection/schema/props/hide-label.js +1 -7
  310. package/dist/collection/schema/props/hide-msg.js +1 -7
  311. package/dist/collection/schema/props/hint.js +1 -7
  312. package/dist/collection/schema/props/href.js +1 -7
  313. package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
  314. package/dist/collection/schema/props/icons.js +0 -43
  315. package/dist/collection/schema/props/id.js +1 -7
  316. package/dist/collection/schema/props/image-sizes.js +1 -7
  317. package/dist/collection/schema/props/image-source.js +1 -7
  318. package/dist/collection/schema/props/image-srcset.js +1 -7
  319. package/dist/collection/schema/props/indeterminate.js +1 -7
  320. package/dist/collection/schema/props/index.js +4 -0
  321. package/dist/collection/schema/props/inline.js +1 -7
  322. package/dist/collection/schema/props/label-align.js +1 -8
  323. package/dist/collection/schema/props/label.js +0 -35
  324. package/dist/collection/schema/props/link-on-callbacks.js +1 -8
  325. package/dist/collection/schema/props/link-target.js +1 -7
  326. package/dist/collection/schema/props/loading.js +1 -8
  327. package/dist/collection/schema/props/max-length-behavior.js +1 -8
  328. package/dist/collection/schema/props/max-length.js +1 -7
  329. package/dist/collection/schema/props/max.js +1 -7
  330. package/dist/collection/schema/props/modal.js +1 -7
  331. package/dist/collection/schema/props/msg.js +1 -24
  332. package/dist/collection/schema/props/multiple.js +1 -7
  333. package/dist/collection/schema/props/name.js +1 -7
  334. package/dist/collection/schema/props/open.js +1 -7
  335. package/dist/collection/schema/props/options.js +1 -11
  336. package/dist/collection/schema/props/orientation.js +1 -10
  337. package/dist/collection/schema/props/pagination-position.js +1 -10
  338. package/dist/collection/schema/props/pattern.js +1 -7
  339. package/dist/collection/schema/props/placeholder.js +1 -7
  340. package/dist/collection/schema/props/popover-align.js +1 -7
  341. package/dist/collection/schema/props/read-only.js +1 -7
  342. package/dist/collection/schema/props/required.js +1 -7
  343. package/dist/collection/schema/props/resize-textarea.js +0 -9
  344. package/dist/collection/schema/props/rows.js +1 -7
  345. package/dist/collection/schema/props/short-key.js +1 -7
  346. package/dist/collection/schema/props/show.js +1 -7
  347. package/dist/collection/schema/props/spell-check.js +1 -9
  348. package/dist/collection/schema/props/suggestions.js +1 -16
  349. package/dist/collection/schema/props/tab-behavior.js +1 -8
  350. package/dist/collection/schema/props/tab-index.js +1 -16
  351. package/dist/collection/schema/props/table-callbacks.js +1 -10
  352. package/dist/collection/schema/props/table-data-foot.js +1 -21
  353. package/dist/collection/schema/props/table-data.js +1 -21
  354. package/dist/collection/schema/props/table-fixed-cols.js +1 -14
  355. package/dist/collection/schema/props/table-header-cells.js +1 -36
  356. package/dist/collection/schema/props/table-selection.js +1 -22
  357. package/dist/collection/schema/props/toolbar-items.js +1 -21
  358. package/dist/collection/schema/props/tooltip-align.js +1 -7
  359. package/dist/collection/schema/props/touched.js +1 -7
  360. package/dist/collection/schema/props/type-input-date.js +0 -7
  361. package/dist/collection/schema/props/type-input-text.js +0 -7
  362. package/dist/collection/schema/props/unit.js +1 -7
  363. package/dist/collection/schema/props/variant/dialog.js +1 -8
  364. package/dist/collection/schema/props/variant/modal.js +1 -4
  365. package/dist/collection/schema/props/variant/password-variant.js +1 -8
  366. package/dist/collection/schema/props/variant-alert.js +0 -7
  367. package/dist/collection/schema/props/variant-class-name.js +0 -33
  368. package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
  369. package/dist/collection/schema/props/variant-progress.js +0 -7
  370. package/dist/collection/schema/props/visibility-toggle.js +1 -7
  371. package/dist/collection/schema/props/width.js +1 -7
  372. package/dist/collection/schema/utils/contrast.js +1 -1
  373. package/dist/collection/schema/utils/prop.validators.js +1 -132
  374. package/dist/collection/schema/validators/common.js +4 -0
  375. package/dist/collection/schema/validators/index.js +0 -1
  376. package/dist/collection/utils/dev.utils.js +1 -2
  377. package/dist/collection/utils/markdown.js +49 -3
  378. package/dist/collection/utils/testing/logged-messages.js +4 -0
  379. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
  380. package/dist/collection/utils/testing/snapshot-testing.js +2 -1
  381. package/dist/components/base-web-component2.js +1 -1
  382. package/dist/components/base-web-component3.js +1 -1
  383. package/dist/components/base-web-component4.js +1 -1
  384. package/dist/components/base.js +1 -1
  385. package/dist/components/base2.js +1 -1
  386. package/dist/components/base3.js +1 -1
  387. package/dist/components/base4.js +1 -1
  388. package/dist/components/behavior.js +1 -1
  389. package/dist/components/behavior2.js +1 -1
  390. package/dist/components/behavior3.js +1 -1
  391. package/dist/components/bem-registry.js +1 -1
  392. package/dist/components/bootstrap.js +1 -1
  393. package/dist/components/component2.js +1 -1
  394. package/dist/components/component5.js +1 -1
  395. package/dist/components/component6.js +1 -1
  396. package/dist/components/component8.js +1 -1
  397. package/dist/components/contrast.js +1 -1
  398. package/dist/components/dev.utils.js +1 -1
  399. package/dist/components/devtools.js +1 -1
  400. package/dist/components/i18n.js +1 -1
  401. package/dist/components/i18n2.js +1 -1
  402. package/dist/components/index.js +1 -1
  403. package/dist/components/input-container.js +1 -1
  404. package/dist/components/item.js +1 -1
  405. package/dist/components/item2.js +1 -1
  406. package/dist/components/item3.js +1 -1
  407. package/dist/components/item4.js +1 -1
  408. package/dist/components/kol-abbr.js +1 -1
  409. package/dist/components/kol-accordion.js +1 -1
  410. package/dist/components/kol-alert.js +1 -1
  411. package/dist/components/kol-avatar.js +1 -1
  412. package/dist/components/kol-badge.js +1 -1
  413. package/dist/components/kol-breadcrumb.js +1 -1
  414. package/dist/components/kol-button-link.js +1 -1
  415. package/dist/components/kol-button.js +1 -1
  416. package/dist/components/kol-card.js +1 -1
  417. package/dist/components/kol-combobox.js +1 -1
  418. package/dist/components/kol-details.js +1 -1
  419. package/dist/components/kol-dialog.js +1 -1
  420. package/dist/components/kol-drawer.js +1 -1
  421. package/dist/components/kol-form.js +1 -1
  422. package/dist/components/kol-heading.js +1 -1
  423. package/dist/components/kol-icon.js +1 -1
  424. package/dist/components/kol-image.js +1 -1
  425. package/dist/components/kol-input-checkbox.js +1 -1
  426. package/dist/components/kol-input-color.js +1 -1
  427. package/dist/components/kol-input-date.js +1 -1
  428. package/dist/components/kol-input-email.js +1 -1
  429. package/dist/components/kol-input-file.js +1 -1
  430. package/dist/components/kol-input-number.js +1 -1
  431. package/dist/components/kol-input-password.js +1 -1
  432. package/dist/components/kol-input-radio.js +1 -1
  433. package/dist/components/kol-input-range.js +1 -1
  434. package/dist/components/kol-input-text.js +1 -1
  435. package/dist/components/kol-kolibri.js +1 -1
  436. package/dist/components/kol-link-button.js +1 -1
  437. package/dist/components/kol-link.js +1 -1
  438. package/dist/components/kol-meter.js +1 -1
  439. package/dist/components/kol-modal.js +1 -1
  440. package/dist/components/kol-nav.js +1 -1
  441. package/dist/components/kol-pagination.js +1 -1
  442. package/dist/components/kol-popover-button.js +1 -1
  443. package/dist/components/kol-progress.js +1 -1
  444. package/dist/components/kol-quote.js +1 -1
  445. package/dist/components/kol-select.js +1 -1
  446. package/dist/components/kol-single-select.js +1 -1
  447. package/dist/components/kol-skip-nav.js +1 -1
  448. package/dist/components/kol-spin.js +1 -1
  449. package/dist/components/kol-split-button.js +1 -1
  450. package/dist/components/kol-table-stateful.js +1 -1
  451. package/dist/components/kol-table-stateless.js +1 -1
  452. package/dist/components/kol-tabs.js +1 -1
  453. package/dist/components/kol-textarea.js +1 -1
  454. package/dist/components/kol-toast-container.js +1 -1
  455. package/dist/components/kol-toolbar.js +1 -1
  456. package/dist/components/kol-tooltip-wc.js +1 -1
  457. package/dist/components/kol-tree-item.js +1 -1
  458. package/dist/components/kol-tree.js +1 -1
  459. package/dist/components/kol-version.js +1 -1
  460. package/dist/components/label-hints.js +1 -1
  461. package/dist/components/label-lang-segment.js +1 -1
  462. package/dist/components/label-with-expert-slot.js +1 -1
  463. package/dist/components/level.js +1 -1
  464. package/dist/components/number-value.js +1 -1
  465. package/dist/components/props-from-config.js +1 -1
  466. package/dist/components/rows.js +1 -1
  467. package/dist/components/unit.js +1 -1
  468. package/dist/components/validators.js +1 -1
  469. package/dist/esm/{Heading-BubZbykM.js → Heading-Cjeak0Ip.js} +2 -2
  470. package/dist/esm/{api-D0RNr-zh.js → api-lgc52EwH.js} +27 -27
  471. package/dist/esm/{app-globals-DYRte_jr.js → app-globals-CJI5vjfG.js} +3 -3
  472. package/dist/esm/{base-BbGt9eYx.js → base-4vZOpHqg.js} +12 -12
  473. package/dist/esm/{base-BP5SdLvQ.js → base-CrFm3Vt_.js} +66 -32
  474. package/dist/esm/{base-Cz00snD6.js → base-DyVivWCE.js} +12 -12
  475. package/dist/esm/{base-CLsKm3-e.js → base-jUFiFkFq.js} +10 -10
  476. package/dist/esm/{base-web-component-DP9_OPgV.js → base-web-component-BhT6Ab3x.js} +15 -15
  477. package/dist/esm/{base-web-component-CdSFFCst.js → base-web-component-Ci40K_CL.js} +9 -9
  478. package/dist/esm/{base-web-component-CYPdDdRn.js → base-web-component-puo2mSiH.js} +1 -1
  479. package/dist/esm/{behavior-DlH8byIw.js → behavior-BOUrKwXj.js} +5 -5
  480. package/dist/esm/{behavior-BJR8CKBx.js → behavior-BeStbAbq.js} +6 -6
  481. package/dist/esm/{behavior-B6y5Gofe.js → behavior-vf9LgKnJ.js} +5 -5
  482. package/dist/esm/{bem-registry-SKACeCny.js → bem-registry-jPrVOPGX.js} +1 -1
  483. package/dist/esm/{bootstrap-Bp7i4RJQ.js → bootstrap-tModZ1Zn.js} +2 -2
  484. package/dist/esm/{color-BbljGuAW.js → color-BBs35rDv.js} +3 -3
  485. package/dist/esm/{component-ZdHnXLLI.js → component-8rE7KeIV.js} +9 -9
  486. package/dist/esm/{component-bIIx1x7q.js → component-B2hvPtlq.js} +3 -3
  487. package/dist/esm/{component-DEwcJKDA.js → component-BGqaexiY.js} +5 -5
  488. package/dist/esm/{component-B8UMedaK.js → component-C3fJM1FJ.js} +4 -4
  489. package/dist/esm/{component-CMHB3reH.js → component-C5YYCLBG.js} +5 -5
  490. package/dist/esm/{component-CiJGQTU0.js → component-CYv5K14M.js} +14 -14
  491. package/dist/esm/{component-CNgECeRi.js → component-ComtEOJP.js} +10 -10
  492. package/dist/esm/{component-6_YiKr2Z.js → component-CtnZeJ8i.js} +14 -14
  493. package/dist/esm/{component-CSsUaL_h.js → component-CuBrmISS.js} +7 -7
  494. package/dist/esm/component-CuPl7i5J.js +173 -0
  495. package/dist/esm/{component-NOe28NXD.js → component-DzwUKDj3.js} +6 -6
  496. package/dist/esm/{contrast-DtK0a6X2.js → contrast-DiGJSn0q.js} +2 -2
  497. package/dist/esm/{controller-CZcQ57AP.js → controller-BNVDUbSt.js} +1 -1
  498. package/dist/esm/{dev.utils-B0t4rcBV.js → dev.utils-CS2a1Xpz.js} +2 -2
  499. package/dist/esm/{devtools-DuJRc6wJ.js → devtools-DDKKBFlN.js} +3 -3
  500. package/dist/esm/{disabled-B2o4Ctgy.js → disabled-CnKpxKzf.js} +1 -1
  501. package/dist/esm/{field-control-C9dIXnES.js → field-control-BRw1DpB2.js} +8 -8
  502. package/dist/esm/{group-DydT1Z92.js → group-CeF4yHhL.js} +5 -5
  503. package/dist/esm/{has-closer-BrG00xL7.js → has-closer-DYgccfEw.js} +1 -1
  504. package/dist/esm/{href-CfNF4pHX.js → href-BJ2DdiWo.js} +1 -1
  505. package/dist/esm/{i18n-BRgvVqCf.js → i18n-6bNr_AKM.js} +4 -4
  506. package/dist/esm/{i18n-BLkzMf6D.js → i18n-DsSD0Coa.js} +2 -2
  507. package/dist/esm/{id-Bh4FF8c0.js → id-BBQitGSa.js} +1 -1
  508. package/dist/esm/{index-Bbr6Os1b.js → index-BFGAlyrC.js} +2 -2
  509. package/dist/esm/index.js +7 -7
  510. package/dist/esm/{input-C1YsxnDL.js → input-Br0RXmck.js} +5 -5
  511. package/dist/esm/{input-container-zXl_6y52.js → input-container-C8HGQnts.js} +7 -7
  512. package/dist/esm/{item-DXDEHrEg.js → item-BHmWBVJU.js} +7 -7
  513. package/dist/esm/{item-zXunNZh5.js → item-C0BsuFnx.js} +21 -21
  514. package/dist/esm/{item-Dms_59sU.js → item-CKABE_5V.js} +13 -13
  515. package/dist/esm/{item-hsQoejqZ.js → item-D-uF2_uB.js} +7 -7
  516. package/dist/esm/kol-abbr.entry.js +8 -8
  517. package/dist/esm/kol-accordion.entry.js +17 -17
  518. package/dist/esm/kol-alert.entry.js +27 -27
  519. package/dist/esm/kol-avatar.entry.js +17 -20
  520. package/dist/esm/kol-badge.entry.js +26 -26
  521. package/dist/esm/kol-breadcrumb.entry.js +30 -30
  522. package/dist/esm/kol-button-link.entry.js +26 -26
  523. package/dist/esm/kol-button.entry.js +26 -26
  524. package/dist/esm/kol-card.entry.js +58 -97
  525. package/dist/esm/kol-combobox.entry.js +77 -77
  526. package/dist/esm/kol-details.entry.js +17 -17
  527. package/dist/esm/kol-dialog.entry.js +33 -33
  528. package/dist/esm/kol-drawer.entry.js +32 -32
  529. package/dist/esm/kol-form.entry.js +27 -27
  530. package/dist/esm/kol-heading.entry.js +15 -15
  531. package/dist/esm/kol-icon.entry.js +12 -12
  532. package/dist/esm/kol-image.entry.js +20 -20
  533. package/dist/esm/kol-input-checkbox.entry.js +70 -70
  534. package/dist/esm/kol-input-color.entry.js +57 -57
  535. package/dist/esm/kol-input-date.entry.js +69 -69
  536. package/dist/esm/kol-input-email.entry.js +75 -75
  537. package/dist/esm/kol-input-file.entry.js +52 -52
  538. package/dist/esm/kol-input-number.entry.js +71 -71
  539. package/dist/esm/kol-input-password.entry.js +73 -73
  540. package/dist/esm/kol-input-radio.entry.js +53 -53
  541. package/dist/esm/kol-input-range.entry.js +58 -58
  542. package/dist/esm/kol-input-text.entry.js +87 -87
  543. package/dist/esm/kol-kolibri.entry.js +8 -8
  544. package/dist/esm/kol-link-button.entry.js +35 -35
  545. package/dist/esm/kol-link.entry.js +34 -34
  546. package/dist/esm/kol-meter.entry.js +19 -25
  547. package/dist/esm/kol-modal.entry.js +33 -33
  548. package/dist/esm/kol-nav.entry.js +36 -36
  549. package/dist/esm/kol-pagination.entry.js +57 -57
  550. package/dist/esm/kol-popover-button.entry.js +60 -95
  551. package/dist/esm/kol-progress.entry.js +18 -21
  552. package/dist/esm/kol-quote.entry.js +13 -13
  553. package/dist/esm/kol-select.entry.js +63 -63
  554. package/dist/esm/kol-single-select.entry.js +78 -78
  555. package/dist/esm/kol-skip-nav.entry.js +30 -30
  556. package/dist/esm/kol-spin.entry.js +23 -23
  557. package/dist/esm/kol-split-button.entry.js +30 -30
  558. package/dist/esm/kol-table-stateful.entry.js +108 -97
  559. package/dist/esm/kol-table-stateless.entry.js +55 -55
  560. package/dist/esm/kol-tabs.entry.js +32 -32
  561. package/dist/esm/kol-textarea.entry.js +70 -70
  562. package/dist/esm/kol-toast-container.entry.js +21 -21
  563. package/dist/esm/kol-toolbar.entry.js +42 -42
  564. package/dist/esm/kol-tooltip-wc.entry.js +13 -13
  565. package/dist/esm/kol-tree-item.entry.js +31 -31
  566. package/dist/esm/kol-tree.entry.js +10 -10
  567. package/dist/esm/kol-version.entry.js +23 -23
  568. package/dist/esm/kolibri.js +5 -5
  569. package/dist/esm/{label-BQVd3bkc.js → label-DQC6csvN.js} +3 -3
  570. package/dist/esm/{label-hints-CZGo9ZD5.js → label-hints-Y3Zh7X3N.js} +2 -2
  571. package/dist/esm/{label-lang-segment-C5LYGOHt.js → label-lang-segment-BnLCd3lO.js} +2 -2
  572. package/dist/esm/{label-with-expert-slot-D1tpX9DI.js → label-with-expert-slot-BxbzJ0aJ.js} +3 -3
  573. package/dist/esm/{level-BVXGgbSM.js → level-BaaaBkKR.js} +1 -1
  574. package/dist/esm/{link-target-BWPSEd9a.js → link-target-BgH0UuzW.js} +1 -1
  575. package/dist/esm/{links-BbsnNXfa.js → links-DnB1I1Gi.js} +2 -2
  576. package/dist/esm/loader.js +5 -5
  577. package/dist/esm/{multiple-S3Ol1G6Z.js → multiple-CoXuIBC5.js} +1 -1
  578. package/dist/esm/{number-value-DmOl1z7z.js → number-value-MjxRVb0R.js} +2 -1
  579. package/dist/esm/{open-DPP79Urq.js → open-DBrDqNNt.js} +1 -1
  580. package/dist/esm/{options-aA3M-QV2.js → options-CQrFWcRm.js} +2 -2
  581. package/dist/esm/{orientation-DlsgaY1v.js → orientation-Dd57TF4f.js} +1 -1
  582. package/dist/esm/{placeholder-DlHbiVjz.js → placeholder-C2TRH0yn.js} +1 -1
  583. package/dist/esm/{common-BdSzSIXg.js → prop.validators-kX7xC6qj.js} +23 -91
  584. package/dist/esm/{props-from-config-BOUcpF7e.js → props-from-config-B_k4h7ak.js} +56 -60
  585. package/dist/esm/{read-only-DSBWEPED.js → read-only-Do20HzKS.js} +1 -1
  586. package/dist/esm/{required-xw5BBPvV.js → required-DBer2Rxa.js} +1 -1
  587. package/dist/esm/{resolve-props-CL8wxjtP.js → resolve-props-BzL6wFWn.js} +8 -8
  588. package/dist/esm/{resolve-props-DAVb5BM3.js → resolve-props-DUtwGFZS.js} +7 -7
  589. package/dist/esm/{rows-DRV8YlQv.js → rows-CA8QgHMZ.js} +1 -1
  590. package/dist/esm/{scroll-lock-BxAe0gL5.js → scroll-lock-Ch4ulFTS.js} +3 -3
  591. package/dist/esm/{smart-button-CQps8AlL.js → smart-button-BB671N1B.js} +2 -2
  592. package/dist/esm/{spell-check-hy6xFhmT.js → spell-check-F1_tx4iu.js} +1 -1
  593. package/dist/esm/{src-AwoM1pRe.js → src-CkojG2tS.js} +1 -1
  594. package/dist/esm/{step-CopA0_m7.js → step-CTjZRMNh.js} +1 -1
  595. package/dist/esm/{suggestions-BsiiaAxK.js → suggestions-By7hmqB7.js} +3 -3
  596. package/dist/esm/{suggestions-CY8BJMOa.js → suggestions-G70JmX5_.js} +2 -2
  597. package/dist/esm/test-component.entry.js +2 -2
  598. package/dist/esm/{toggle-handler-ZMs2rBXc.js → toggle-handler-Cx8yn4d5.js} +9 -9
  599. package/dist/esm/{unique-nav-labels-BV-M3fPR.js → unique-nav-labels-Civ833r0.js} +2 -2
  600. package/dist/esm/{unit-hmMwqE9a.js → unit-JYCI5y5-.js} +1 -1
  601. package/dist/esm/{validators-BgDmq-Qt.js → validators-CAtXsuiZ.js} +1 -1
  602. package/dist/esm/{value-string-Dy8zJxlP.js → value-string-Dz7Sa2ex.js} +1 -1
  603. package/dist/esm/{width-BHn7XHj_.js → width-BikKpAHu.js} +1 -1
  604. package/dist/kolibri/Heading-Cjeak0Ip.js +4 -0
  605. package/dist/kolibri/api-lgc52EwH.js +4 -0
  606. package/dist/kolibri/app-globals-CJI5vjfG.js +4 -0
  607. package/dist/kolibri/base-4vZOpHqg.js +4 -0
  608. package/dist/kolibri/base-CrFm3Vt_.js +4 -0
  609. package/dist/kolibri/base-DyVivWCE.js +4 -0
  610. package/dist/kolibri/base-jUFiFkFq.js +4 -0
  611. package/dist/kolibri/base-web-component-BhT6Ab3x.js +4 -0
  612. package/dist/kolibri/base-web-component-Ci40K_CL.js +4 -0
  613. package/dist/kolibri/{base-web-component-CYPdDdRn.js → base-web-component-puo2mSiH.js} +1 -1
  614. package/dist/kolibri/behavior-BOUrKwXj.js +4 -0
  615. package/dist/kolibri/behavior-BeStbAbq.js +4 -0
  616. package/dist/kolibri/behavior-vf9LgKnJ.js +4 -0
  617. package/dist/kolibri/bem-registry-jPrVOPGX.js +4 -0
  618. package/dist/kolibri/bootstrap-tModZ1Zn.js +4 -0
  619. package/dist/kolibri/color-BBs35rDv.js +4 -0
  620. package/dist/kolibri/component-8rE7KeIV.js +4 -0
  621. package/dist/kolibri/component-B2hvPtlq.js +4 -0
  622. package/dist/kolibri/component-BGqaexiY.js +4 -0
  623. package/dist/kolibri/component-C3fJM1FJ.js +4 -0
  624. package/dist/kolibri/component-C5YYCLBG.js +4 -0
  625. package/dist/kolibri/component-CYv5K14M.js +4 -0
  626. package/dist/kolibri/component-ComtEOJP.js +4 -0
  627. package/dist/kolibri/component-CtnZeJ8i.js +4 -0
  628. package/dist/kolibri/component-CuBrmISS.js +4 -0
  629. package/dist/kolibri/component-CuPl7i5J.js +4 -0
  630. package/dist/kolibri/component-DzwUKDj3.js +4 -0
  631. package/dist/kolibri/contrast-DiGJSn0q.js +4 -0
  632. package/dist/kolibri/controller-BNVDUbSt.js +4 -0
  633. package/dist/kolibri/dev.utils-CS2a1Xpz.js +4 -0
  634. package/dist/kolibri/devtools-DDKKBFlN.js +4 -0
  635. package/dist/kolibri/disabled-CnKpxKzf.js +4 -0
  636. package/dist/kolibri/field-control-BRw1DpB2.js +4 -0
  637. package/dist/kolibri/{group-DydT1Z92.js → group-CeF4yHhL.js} +1 -1
  638. package/dist/kolibri/has-closer-DYgccfEw.js +4 -0
  639. package/dist/kolibri/href-BJ2DdiWo.js +4 -0
  640. package/dist/kolibri/i18n-6bNr_AKM.js +4 -0
  641. package/dist/kolibri/i18n-DsSD0Coa.js +4 -0
  642. package/dist/kolibri/id-BBQitGSa.js +4 -0
  643. package/dist/kolibri/index-BFGAlyrC.js +6 -0
  644. package/dist/kolibri/index.esm.js +1 -1
  645. package/dist/kolibri/input-Br0RXmck.js +4 -0
  646. package/dist/kolibri/input-container-C8HGQnts.js +4 -0
  647. package/dist/kolibri/item-BHmWBVJU.js +4 -0
  648. package/dist/kolibri/item-C0BsuFnx.js +4 -0
  649. package/dist/kolibri/item-CKABE_5V.js +4 -0
  650. package/dist/kolibri/item-D-uF2_uB.js +4 -0
  651. package/dist/kolibri/kol-abbr.entry.js +1 -1
  652. package/dist/kolibri/kol-accordion.entry.js +1 -1
  653. package/dist/kolibri/kol-alert.entry.js +1 -1
  654. package/dist/kolibri/kol-avatar.entry.js +1 -1
  655. package/dist/kolibri/kol-badge.entry.js +1 -1
  656. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  657. package/dist/kolibri/kol-button-link.entry.js +1 -1
  658. package/dist/kolibri/kol-button.entry.js +1 -1
  659. package/dist/kolibri/kol-card.entry.js +1 -1
  660. package/dist/kolibri/kol-combobox.entry.js +1 -1
  661. package/dist/kolibri/kol-details.entry.js +1 -1
  662. package/dist/kolibri/kol-dialog.entry.js +1 -1
  663. package/dist/kolibri/kol-drawer.entry.js +1 -1
  664. package/dist/kolibri/kol-form.entry.js +1 -1
  665. package/dist/kolibri/kol-heading.entry.js +1 -1
  666. package/dist/kolibri/kol-icon.entry.js +1 -1
  667. package/dist/kolibri/kol-image.entry.js +1 -1
  668. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  669. package/dist/kolibri/kol-input-color.entry.js +1 -1
  670. package/dist/kolibri/kol-input-date.entry.js +1 -1
  671. package/dist/kolibri/kol-input-email.entry.js +1 -1
  672. package/dist/kolibri/kol-input-file.entry.js +1 -1
  673. package/dist/kolibri/kol-input-number.entry.js +1 -1
  674. package/dist/kolibri/kol-input-password.entry.js +1 -1
  675. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  676. package/dist/kolibri/kol-input-range.entry.js +1 -1
  677. package/dist/kolibri/kol-input-text.entry.js +1 -1
  678. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  679. package/dist/kolibri/kol-link-button.entry.js +1 -1
  680. package/dist/kolibri/kol-link.entry.js +1 -1
  681. package/dist/kolibri/kol-meter.entry.js +1 -1
  682. package/dist/kolibri/kol-modal.entry.js +1 -1
  683. package/dist/kolibri/kol-nav.entry.js +1 -1
  684. package/dist/kolibri/kol-pagination.entry.js +1 -1
  685. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  686. package/dist/kolibri/kol-progress.entry.js +1 -1
  687. package/dist/kolibri/kol-quote.entry.js +1 -1
  688. package/dist/kolibri/kol-select.entry.js +1 -1
  689. package/dist/kolibri/kol-single-select.entry.js +1 -1
  690. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  691. package/dist/kolibri/kol-spin.entry.js +1 -1
  692. package/dist/kolibri/kol-split-button.entry.js +1 -1
  693. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  694. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  695. package/dist/kolibri/kol-tabs.entry.js +1 -1
  696. package/dist/kolibri/kol-textarea.entry.js +1 -1
  697. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  698. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  699. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  700. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  701. package/dist/kolibri/kol-tree.entry.js +1 -1
  702. package/dist/kolibri/kol-version.entry.js +1 -1
  703. package/dist/kolibri/kolibri.esm.js +1 -1
  704. package/dist/kolibri/label-DQC6csvN.js +4 -0
  705. package/dist/kolibri/label-hints-Y3Zh7X3N.js +4 -0
  706. package/dist/kolibri/label-lang-segment-BnLCd3lO.js +4 -0
  707. package/dist/kolibri/label-with-expert-slot-BxbzJ0aJ.js +4 -0
  708. package/dist/kolibri/level-BaaaBkKR.js +4 -0
  709. package/dist/kolibri/link-target-BgH0UuzW.js +4 -0
  710. package/dist/kolibri/links-DnB1I1Gi.js +4 -0
  711. package/dist/kolibri/multiple-CoXuIBC5.js +4 -0
  712. package/dist/kolibri/number-value-MjxRVb0R.js +4 -0
  713. package/dist/kolibri/open-DBrDqNNt.js +4 -0
  714. package/dist/kolibri/options-CQrFWcRm.js +4 -0
  715. package/dist/kolibri/{orientation-DlsgaY1v.js → orientation-Dd57TF4f.js} +1 -1
  716. package/dist/kolibri/placeholder-C2TRH0yn.js +4 -0
  717. package/dist/kolibri/prop.validators-kX7xC6qj.js +4 -0
  718. package/dist/kolibri/props-from-config-B_k4h7ak.js +4 -0
  719. package/dist/kolibri/read-only-Do20HzKS.js +4 -0
  720. package/dist/kolibri/required-DBer2Rxa.js +4 -0
  721. package/dist/kolibri/resolve-props-BzL6wFWn.js +4 -0
  722. package/dist/kolibri/resolve-props-DUtwGFZS.js +4 -0
  723. package/dist/kolibri/rows-CA8QgHMZ.js +4 -0
  724. package/dist/kolibri/{scroll-lock-BxAe0gL5.js → scroll-lock-Ch4ulFTS.js} +1 -1
  725. package/dist/kolibri/smart-button-BB671N1B.js +4 -0
  726. package/dist/kolibri/spell-check-F1_tx4iu.js +4 -0
  727. package/dist/kolibri/src-CkojG2tS.js +4 -0
  728. package/dist/kolibri/step-CTjZRMNh.js +4 -0
  729. package/dist/kolibri/suggestions-By7hmqB7.js +4 -0
  730. package/dist/kolibri/suggestions-G70JmX5_.js +4 -0
  731. package/dist/kolibri/test-component.entry.js +1 -1
  732. package/dist/kolibri/toggle-handler-Cx8yn4d5.js +4 -0
  733. package/dist/kolibri/unique-nav-labels-Civ833r0.js +4 -0
  734. package/dist/kolibri/unit-JYCI5y5-.js +4 -0
  735. package/dist/kolibri/validators-CAtXsuiZ.js +4 -0
  736. package/dist/kolibri/value-string-Dz7Sa2ex.js +4 -0
  737. package/dist/kolibri/{width-BHn7XHj_.js → width-BikKpAHu.js} +1 -1
  738. package/dist/types/components/accordion/component.d.ts +2 -2
  739. package/dist/types/components/alert/component.d.ts +2 -2
  740. package/dist/types/components/badge/component.d.ts +2 -2
  741. package/dist/types/components/breadcrumb/component.d.ts +2 -2
  742. package/dist/types/components/button/base.d.ts +1 -1
  743. package/dist/types/components/button/component.d.ts +2 -2
  744. package/dist/types/components/button-link/component.d.ts +2 -2
  745. package/dist/types/components/card/component.d.ts +12 -5
  746. package/dist/types/components/combobox/component.d.ts +10 -10
  747. package/dist/types/components/details/component.d.ts +2 -2
  748. package/dist/types/components/dialog/base.d.ts +1 -1
  749. package/dist/types/components/dialog/component.d.ts +3 -3
  750. package/dist/types/components/drawer/component.d.ts +2 -2
  751. package/dist/types/components/form/component.d.ts +2 -2
  752. package/dist/types/components/heading/component.d.ts +2 -2
  753. package/dist/types/components/image/component.d.ts +2 -2
  754. package/dist/types/components/input-checkbox/component.d.ts +9 -9
  755. package/dist/types/components/input-color/component.d.ts +4 -4
  756. package/dist/types/components/input-date/component.d.ts +6 -6
  757. package/dist/types/components/input-email/component.d.ts +8 -8
  758. package/dist/types/components/input-file/component.d.ts +4 -4
  759. package/dist/types/components/input-number/component.d.ts +6 -6
  760. package/dist/types/components/input-password/component.d.ts +8 -8
  761. package/dist/types/components/input-radio/component.d.ts +5 -5
  762. package/dist/types/components/input-range/component.d.ts +4 -4
  763. package/dist/types/components/input-text/component.d.ts +12 -12
  764. package/dist/types/components/kolibri/component.d.ts +2 -2
  765. package/dist/types/components/link/component.d.ts +4 -4
  766. package/dist/types/components/link-button/component.d.ts +4 -4
  767. package/dist/types/components/modal/component.d.ts +3 -3
  768. package/dist/types/components/nav/component.d.ts +2 -2
  769. package/dist/types/components/pagination/component.d.ts +8 -8
  770. package/dist/types/components/popover-button/component.d.ts +10 -3
  771. package/dist/types/components/public-api/contract.d.ts +7 -2
  772. package/dist/types/components/select/component.d.ts +6 -6
  773. package/dist/types/components/single-select/component.d.ts +10 -10
  774. package/dist/types/components/skip-nav/component.d.ts +2 -2
  775. package/dist/types/components/spin/component.d.ts +2 -2
  776. package/dist/types/components/split-button/component.d.ts +2 -2
  777. package/dist/types/components/table-stateful/component.d.ts +7 -8
  778. package/dist/types/components/table-stateless/base.d.ts +2 -0
  779. package/dist/types/components/table-stateless/component.d.ts +7 -7
  780. package/dist/types/components/tabs/component.d.ts +3 -3
  781. package/dist/types/components/textarea/component.d.ts +8 -8
  782. package/dist/types/components/toaster/shadow.d.ts +5 -3
  783. package/dist/types/components/toolbar/component.d.ts +6 -6
  784. package/dist/types/components/tree/component.d.ts +2 -2
  785. package/dist/types/components/tree-item/component.d.ts +4 -4
  786. package/dist/types/components/version/component.d.ts +2 -2
  787. package/dist/types/components.d.ts +48 -56
  788. package/dist/types/index.d.ts +1 -1
  789. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  790. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  791. package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
  792. package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
  793. package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
  794. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  795. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  796. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  797. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  798. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  799. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  800. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  801. package/dist/types/internal/functional-components/dialog/component.d.ts +1 -1
  802. package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
  803. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  804. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  805. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  806. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  807. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
  808. package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
  809. package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
  810. package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
  811. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  812. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  813. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  814. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  815. package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
  816. package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
  817. package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
  818. package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
  819. package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
  820. package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
  821. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  822. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  823. package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
  824. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  825. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  826. package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
  827. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  828. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  829. package/dist/types/internal/functional-components/pagination/component.d.ts +1 -1
  830. package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
  831. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  832. package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
  833. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  834. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  835. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  836. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  837. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  838. package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
  839. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  840. package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
  841. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  842. package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
  843. package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
  844. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +1 -1
  845. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  846. package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
  847. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  848. package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
  849. package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
  850. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  851. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  852. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  853. package/dist/types/internal/functional-components/version/api.d.ts +1 -1
  854. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
  855. package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
  856. package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
  857. package/dist/types/internal/props/index.d.ts +1 -1
  858. package/dist/types/internal/props/info-popover.d.ts +1 -1
  859. package/dist/types/internal/props/input-date-max.d.ts +1 -1
  860. package/dist/types/internal/props/input-date-min.d.ts +1 -1
  861. package/dist/types/internal/props/nav-links.d.ts +1 -1
  862. package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
  863. package/dist/types/internal/props/smart-button.d.ts +1 -25
  864. package/dist/types/internal/props/value-input-date.d.ts +1 -1
  865. package/dist/types/schema/components/alert.d.ts +2 -8
  866. package/dist/types/schema/components/badge.d.ts +3 -16
  867. package/dist/types/schema/components/breadcrumb.d.ts +0 -15
  868. package/dist/types/schema/components/button.d.ts +3 -3
  869. package/dist/types/schema/components/card.d.ts +0 -9
  870. package/dist/types/schema/components/form.d.ts +0 -13
  871. package/dist/types/schema/components/index.d.ts +0 -30
  872. package/dist/types/schema/components/link.d.ts +2 -2
  873. package/dist/types/schema/components/pagination.d.ts +1 -15
  874. package/dist/types/schema/components/popover-button.d.ts +3 -6
  875. package/dist/types/schema/components/table.d.ts +4 -34
  876. package/dist/types/schema/components/tabs.d.ts +3 -21
  877. package/dist/types/schema/components/textarea.d.ts +0 -28
  878. package/dist/types/schema/components/toaster.d.ts +0 -10
  879. package/dist/types/schema/index.d.ts +1 -1
  880. package/dist/types/schema/props/accept.d.ts +0 -3
  881. package/dist/types/schema/props/access-key.d.ts +0 -2
  882. package/dist/types/schema/props/active.d.ts +0 -3
  883. package/dist/types/schema/props/adjust-height.d.ts +0 -2
  884. package/dist/types/schema/props/alert-type.d.ts +0 -2
  885. package/dist/types/schema/props/align.d.ts +0 -2
  886. package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
  887. package/dist/types/schema/props/alt.d.ts +0 -3
  888. package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
  889. package/dist/types/schema/props/aria-controls.d.ts +0 -2
  890. package/dist/types/schema/props/aria-current-value.d.ts +1 -5
  891. package/dist/types/schema/props/aria-description.d.ts +0 -2
  892. package/dist/types/schema/props/aria-expanded.d.ts +0 -2
  893. package/dist/types/schema/props/aria-owns.d.ts +0 -2
  894. package/dist/types/schema/props/aria-selected.d.ts +0 -2
  895. package/dist/types/schema/props/auto-complete.d.ts +0 -2
  896. package/dist/types/schema/props/badge-text.d.ts +0 -2
  897. package/dist/types/schema/props/button-callbacks.d.ts +0 -3
  898. package/dist/types/schema/props/button-type.d.ts +1 -5
  899. package/dist/types/schema/props/button-variant.d.ts +1 -5
  900. package/dist/types/schema/props/checked.d.ts +0 -2
  901. package/dist/types/schema/props/collapsible.d.ts +0 -2
  902. package/dist/types/schema/props/color.d.ts +0 -4
  903. package/dist/types/schema/props/current-length.d.ts +0 -3
  904. package/dist/types/schema/props/custom-class.d.ts +0 -2
  905. package/dist/types/schema/props/disabled.d.ts +0 -2
  906. package/dist/types/schema/props/download.d.ts +0 -2
  907. package/dist/types/schema/props/error-list.d.ts +0 -2
  908. package/dist/types/schema/props/has-closer.d.ts +0 -2
  909. package/dist/types/schema/props/has-compact-button.d.ts +0 -2
  910. package/dist/types/schema/props/has-counter.d.ts +0 -3
  911. package/dist/types/schema/props/has-create-button.d.ts +0 -2
  912. package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
  913. package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
  914. package/dist/types/schema/props/has-value.d.ts +0 -3
  915. package/dist/types/schema/props/hide-label.d.ts +0 -3
  916. package/dist/types/schema/props/hide-msg.d.ts +0 -3
  917. package/dist/types/schema/props/hint.d.ts +0 -2
  918. package/dist/types/schema/props/href.d.ts +2 -4
  919. package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
  920. package/dist/types/schema/props/icons.d.ts +0 -3
  921. package/dist/types/schema/props/id.d.ts +0 -2
  922. package/dist/types/schema/props/image-sizes.d.ts +0 -3
  923. package/dist/types/schema/props/image-source.d.ts +0 -3
  924. package/dist/types/schema/props/image-srcset.d.ts +0 -3
  925. package/dist/types/schema/props/indeterminate.d.ts +0 -2
  926. package/dist/types/schema/props/index.d.ts +4 -0
  927. package/dist/types/schema/props/inline.d.ts +0 -3
  928. package/dist/types/schema/props/label-align.d.ts +1 -5
  929. package/dist/types/schema/props/label.d.ts +3 -7
  930. package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
  931. package/dist/types/schema/props/link-target.d.ts +0 -2
  932. package/dist/types/schema/props/loading.d.ts +1 -5
  933. package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
  934. package/dist/types/schema/props/max-length.d.ts +0 -3
  935. package/dist/types/schema/props/max.d.ts +0 -4
  936. package/dist/types/schema/props/modal.d.ts +0 -2
  937. package/dist/types/schema/props/msg.d.ts +0 -2
  938. package/dist/types/schema/props/multiple.d.ts +0 -3
  939. package/dist/types/schema/props/name.d.ts +0 -3
  940. package/dist/types/schema/props/open.d.ts +0 -3
  941. package/dist/types/schema/props/options.d.ts +0 -4
  942. package/dist/types/schema/props/orientation.d.ts +1 -5
  943. package/dist/types/schema/props/pagination-position.d.ts +1 -5
  944. package/dist/types/schema/props/pattern.d.ts +0 -3
  945. package/dist/types/schema/props/placeholder.d.ts +0 -3
  946. package/dist/types/schema/props/popover-align.d.ts +0 -2
  947. package/dist/types/schema/props/read-only.d.ts +0 -2
  948. package/dist/types/schema/props/required.d.ts +0 -2
  949. package/dist/types/schema/props/resize-textarea.d.ts +0 -2
  950. package/dist/types/schema/props/rows.d.ts +0 -2
  951. package/dist/types/schema/props/short-key.d.ts +0 -2
  952. package/dist/types/schema/props/show.d.ts +0 -3
  953. package/dist/types/schema/props/spell-check.d.ts +0 -2
  954. package/dist/types/schema/props/suggestions.d.ts +0 -2
  955. package/dist/types/schema/props/tab-behavior.d.ts +1 -5
  956. package/dist/types/schema/props/tab-index.d.ts +0 -2
  957. package/dist/types/schema/props/table-callbacks.d.ts +1 -4
  958. package/dist/types/schema/props/table-data-foot.d.ts +0 -3
  959. package/dist/types/schema/props/table-data.d.ts +0 -3
  960. package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
  961. package/dist/types/schema/props/table-header-cells.d.ts +0 -2
  962. package/dist/types/schema/props/table-selection.d.ts +0 -2
  963. package/dist/types/schema/props/toolbar-items.d.ts +0 -2
  964. package/dist/types/schema/props/tooltip-align.d.ts +0 -2
  965. package/dist/types/schema/props/touched.d.ts +0 -2
  966. package/dist/types/schema/props/type-input-date.d.ts +4 -2
  967. package/dist/types/schema/props/type-input-text.d.ts +0 -2
  968. package/dist/types/schema/props/unit.d.ts +0 -2
  969. package/dist/types/schema/props/variant/dialog.d.ts +1 -5
  970. package/dist/types/schema/props/variant/modal.d.ts +0 -1
  971. package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
  972. package/dist/types/schema/props/variant-alert.d.ts +0 -2
  973. package/dist/types/schema/props/variant-class-name.d.ts +0 -3
  974. package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
  975. package/dist/types/schema/props/variant-progress.d.ts +0 -2
  976. package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
  977. package/dist/types/schema/props/width.d.ts +0 -3
  978. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  979. package/dist/types/schema/utils/prop.validators.d.ts +11 -34
  980. package/dist/types/schema/validators/common.d.ts +2 -0
  981. package/dist/types/schema/validators/index.d.ts +0 -1
  982. package/dist/types/utils/testing/logged-messages.d.ts +1 -0
  983. package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
  984. package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
  985. package/doc/badge.md +6 -6
  986. package/doc/combobox.md +23 -23
  987. package/doc/input-checkbox.md +2 -2
  988. package/doc/input-color.md +22 -22
  989. package/doc/input-date.md +28 -28
  990. package/doc/input-email.md +30 -30
  991. package/doc/input-file.md +22 -22
  992. package/doc/input-number.md +28 -28
  993. package/doc/input-password.md +29 -29
  994. package/doc/input-radio.md +19 -19
  995. package/doc/input-range.md +24 -24
  996. package/doc/input-text.md +31 -31
  997. package/doc/select.md +24 -24
  998. package/doc/single-select.md +24 -24
  999. package/doc/table-stateful.md +16 -16
  1000. package/doc/tabs.md +1 -1
  1001. package/doc/textarea.md +29 -29
  1002. package/package.json +5 -6
  1003. package/vscode-custom-data.json +50 -138
  1004. package/dist/cjs/component-DE4OHvyu.js +0 -9299
  1005. package/dist/collection/components/card/base.js +0 -79
  1006. package/dist/collection/components/popover-button/base.js +0 -69
  1007. package/dist/collection/schema/components/accordion.js +0 -1
  1008. package/dist/collection/schema/components/button-link.js +0 -1
  1009. package/dist/collection/schema/components/collapsible.js +0 -1
  1010. package/dist/collection/schema/components/combobox.js +0 -1
  1011. package/dist/collection/schema/components/details.js +0 -1
  1012. package/dist/collection/schema/components/dialog.js +0 -1
  1013. package/dist/collection/schema/components/drawer.js +0 -1
  1014. package/dist/collection/schema/components/heading.js +0 -1
  1015. package/dist/collection/schema/components/input-checkbox.js +0 -1
  1016. package/dist/collection/schema/components/input-color.js +0 -1
  1017. package/dist/collection/schema/components/input-date.js +0 -1
  1018. package/dist/collection/schema/components/input-email.js +0 -1
  1019. package/dist/collection/schema/components/input-file.js +0 -1
  1020. package/dist/collection/schema/components/input-number.js +0 -1
  1021. package/dist/collection/schema/components/input-password.js +0 -1
  1022. package/dist/collection/schema/components/input-radio.js +0 -1
  1023. package/dist/collection/schema/components/input-range.js +0 -1
  1024. package/dist/collection/schema/components/input-text.js +0 -1
  1025. package/dist/collection/schema/components/kolibri.js +0 -1
  1026. package/dist/collection/schema/components/link-button.js +0 -1
  1027. package/dist/collection/schema/components/modal.js +0 -1
  1028. package/dist/collection/schema/components/nav.js +0 -1
  1029. package/dist/collection/schema/components/select.js +0 -1
  1030. package/dist/collection/schema/components/single-select.js +0 -1
  1031. package/dist/collection/schema/components/skip-nav.js +0 -1
  1032. package/dist/collection/schema/components/split-button.js +0 -1
  1033. package/dist/collection/schema/components/tableStateless.js +0 -1
  1034. package/dist/collection/schema/components/toolbar.js +0 -1
  1035. package/dist/collection/schema/components/tree-item.js +0 -1
  1036. package/dist/collection/schema/components/tree.js +0 -1
  1037. package/dist/collection/schema/components/version.js +0 -1
  1038. package/dist/collection/schema/validators/alignment.js +0 -10
  1039. package/dist/collection/utils/testing/legacy-component.js +0 -16
  1040. package/dist/esm/component-hiabKVP3.js +0 -9294
  1041. package/dist/kolibri/Heading-BubZbykM.js +0 -4
  1042. package/dist/kolibri/api-D0RNr-zh.js +0 -4
  1043. package/dist/kolibri/app-globals-DYRte_jr.js +0 -4
  1044. package/dist/kolibri/base-BP5SdLvQ.js +0 -4
  1045. package/dist/kolibri/base-BbGt9eYx.js +0 -4
  1046. package/dist/kolibri/base-CLsKm3-e.js +0 -4
  1047. package/dist/kolibri/base-Cz00snD6.js +0 -4
  1048. package/dist/kolibri/base-web-component-CdSFFCst.js +0 -4
  1049. package/dist/kolibri/base-web-component-DP9_OPgV.js +0 -4
  1050. package/dist/kolibri/behavior-B6y5Gofe.js +0 -4
  1051. package/dist/kolibri/behavior-BJR8CKBx.js +0 -4
  1052. package/dist/kolibri/behavior-DlH8byIw.js +0 -4
  1053. package/dist/kolibri/bem-registry-SKACeCny.js +0 -4
  1054. package/dist/kolibri/bootstrap-Bp7i4RJQ.js +0 -4
  1055. package/dist/kolibri/color-BbljGuAW.js +0 -4
  1056. package/dist/kolibri/common-BdSzSIXg.js +0 -4
  1057. package/dist/kolibri/component-6_YiKr2Z.js +0 -4
  1058. package/dist/kolibri/component-B8UMedaK.js +0 -4
  1059. package/dist/kolibri/component-CMHB3reH.js +0 -4
  1060. package/dist/kolibri/component-CNgECeRi.js +0 -4
  1061. package/dist/kolibri/component-CSsUaL_h.js +0 -4
  1062. package/dist/kolibri/component-CiJGQTU0.js +0 -4
  1063. package/dist/kolibri/component-DEwcJKDA.js +0 -4
  1064. package/dist/kolibri/component-NOe28NXD.js +0 -4
  1065. package/dist/kolibri/component-ZdHnXLLI.js +0 -4
  1066. package/dist/kolibri/component-bIIx1x7q.js +0 -4
  1067. package/dist/kolibri/component-hiabKVP3.js +0 -4
  1068. package/dist/kolibri/contrast-DtK0a6X2.js +0 -4
  1069. package/dist/kolibri/controller-CZcQ57AP.js +0 -4
  1070. package/dist/kolibri/dev.utils-B0t4rcBV.js +0 -4
  1071. package/dist/kolibri/devtools-DuJRc6wJ.js +0 -4
  1072. package/dist/kolibri/disabled-B2o4Ctgy.js +0 -4
  1073. package/dist/kolibri/field-control-C9dIXnES.js +0 -4
  1074. package/dist/kolibri/has-closer-BrG00xL7.js +0 -4
  1075. package/dist/kolibri/href-CfNF4pHX.js +0 -4
  1076. package/dist/kolibri/i18n-BLkzMf6D.js +0 -4
  1077. package/dist/kolibri/i18n-BRgvVqCf.js +0 -4
  1078. package/dist/kolibri/id-Bh4FF8c0.js +0 -4
  1079. package/dist/kolibri/index-Bbr6Os1b.js +0 -6
  1080. package/dist/kolibri/input-C1YsxnDL.js +0 -4
  1081. package/dist/kolibri/input-container-zXl_6y52.js +0 -4
  1082. package/dist/kolibri/item-DXDEHrEg.js +0 -4
  1083. package/dist/kolibri/item-Dms_59sU.js +0 -4
  1084. package/dist/kolibri/item-hsQoejqZ.js +0 -4
  1085. package/dist/kolibri/item-zXunNZh5.js +0 -4
  1086. package/dist/kolibri/label-BQVd3bkc.js +0 -4
  1087. package/dist/kolibri/label-hints-CZGo9ZD5.js +0 -4
  1088. package/dist/kolibri/label-lang-segment-C5LYGOHt.js +0 -4
  1089. package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +0 -4
  1090. package/dist/kolibri/level-BVXGgbSM.js +0 -4
  1091. package/dist/kolibri/link-target-BWPSEd9a.js +0 -4
  1092. package/dist/kolibri/links-BbsnNXfa.js +0 -4
  1093. package/dist/kolibri/multiple-S3Ol1G6Z.js +0 -4
  1094. package/dist/kolibri/number-value-DmOl1z7z.js +0 -4
  1095. package/dist/kolibri/open-DPP79Urq.js +0 -4
  1096. package/dist/kolibri/options-aA3M-QV2.js +0 -4
  1097. package/dist/kolibri/placeholder-DlHbiVjz.js +0 -4
  1098. package/dist/kolibri/props-from-config-BOUcpF7e.js +0 -4
  1099. package/dist/kolibri/read-only-DSBWEPED.js +0 -4
  1100. package/dist/kolibri/required-xw5BBPvV.js +0 -4
  1101. package/dist/kolibri/resolve-props-CL8wxjtP.js +0 -4
  1102. package/dist/kolibri/resolve-props-DAVb5BM3.js +0 -4
  1103. package/dist/kolibri/rows-DRV8YlQv.js +0 -4
  1104. package/dist/kolibri/smart-button-CQps8AlL.js +0 -4
  1105. package/dist/kolibri/spell-check-hy6xFhmT.js +0 -4
  1106. package/dist/kolibri/src-AwoM1pRe.js +0 -4
  1107. package/dist/kolibri/step-CopA0_m7.js +0 -4
  1108. package/dist/kolibri/suggestions-BsiiaAxK.js +0 -4
  1109. package/dist/kolibri/suggestions-CY8BJMOa.js +0 -4
  1110. package/dist/kolibri/toggle-handler-ZMs2rBXc.js +0 -4
  1111. package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +0 -4
  1112. package/dist/kolibri/unit-hmMwqE9a.js +0 -4
  1113. package/dist/kolibri/validators-BgDmq-Qt.js +0 -4
  1114. package/dist/kolibri/value-string-Dy8zJxlP.js +0 -4
  1115. package/dist/types/components/card/base.d.ts +0 -27
  1116. package/dist/types/components/popover-button/base.d.ts +0 -21
  1117. package/dist/types/schema/components/accordion.d.ts +0 -11
  1118. package/dist/types/schema/components/button-link.d.ts +0 -7
  1119. package/dist/types/schema/components/collapsible.d.ts +0 -7
  1120. package/dist/types/schema/components/combobox.d.ts +0 -26
  1121. package/dist/types/schema/components/details.d.ts +0 -11
  1122. package/dist/types/schema/components/dialog.d.ts +0 -21
  1123. package/dist/types/schema/components/drawer.d.ts +0 -17
  1124. package/dist/types/schema/components/heading.d.ts +0 -17
  1125. package/dist/types/schema/components/input-checkbox.d.ts +0 -25
  1126. package/dist/types/schema/components/input-color.d.ts +0 -25
  1127. package/dist/types/schema/components/input-date.d.ts +0 -34
  1128. package/dist/types/schema/components/input-email.d.ts +0 -31
  1129. package/dist/types/schema/components/input-file.d.ts +0 -22
  1130. package/dist/types/schema/components/input-number.d.ts +0 -33
  1131. package/dist/types/schema/components/input-password.d.ts +0 -31
  1132. package/dist/types/schema/components/input-radio.d.ts +0 -22
  1133. package/dist/types/schema/components/input-range.d.ts +0 -27
  1134. package/dist/types/schema/components/input-text.d.ts +0 -33
  1135. package/dist/types/schema/components/kolibri.d.ts +0 -21
  1136. package/dist/types/schema/components/link-button.d.ts +0 -7
  1137. package/dist/types/schema/components/modal.d.ts +0 -4
  1138. package/dist/types/schema/components/nav.d.ts +0 -16
  1139. package/dist/types/schema/components/select.d.ts +0 -24
  1140. package/dist/types/schema/components/single-select.d.ts +0 -24
  1141. package/dist/types/schema/components/skip-nav.d.ts +0 -16
  1142. package/dist/types/schema/components/split-button.d.ts +0 -9
  1143. package/dist/types/schema/components/tableStateless.d.ts +0 -24
  1144. package/dist/types/schema/components/toolbar.d.ts +0 -11
  1145. package/dist/types/schema/components/tree-item.d.ts +0 -12
  1146. package/dist/types/schema/components/tree.d.ts +0 -10
  1147. package/dist/types/schema/components/version.d.ts +0 -10
  1148. package/dist/types/schema/validators/alignment.d.ts +0 -3
  1149. package/dist/types/utils/testing/legacy-component.d.ts +0 -4
  1150. package/dist/cjs/{ariaCurrentService-3051l6MI.js → aria-current-service-3051l6MI.js} +0 -0
  1151. package/dist/collection/{components/link/ariaCurrentService.js → internal/functional-components/link/aria-current-service.js} +0 -0
  1152. package/dist/collection/internal/functional-components/pagination/{page-size-select.js → select-item.js} +9 -9
  1153. package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
  1154. package/dist/components/{ariaCurrentService.js → aria-current-service.js} +0 -0
  1155. package/dist/esm/{ariaCurrentService-YoLNpD5S.js → aria-current-service-YoLNpD5S.js} +0 -0
  1156. package/dist/kolibri/{ariaCurrentService-YoLNpD5S.js → aria-current-service-YoLNpD5S.js} +0 -0
  1157. package/dist/types/{components → internal/functional-components}/form/controller.d.ts +0 -0
  1158. package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
  1159. package/dist/types/internal/functional-components/pagination/{page-size-select.d.ts → select-item.d.ts} +1 -1
  1160. /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { j as isObject$1, k as devWarning, l as parse, m as hsl, r as rgb } from './common-BdSzSIXg.js';
5
- import { h } from './index-Bbr6Os1b.js';
6
- import { b as bem } from './bem-registry-SKACeCny.js';
4
+ import { j as isObject$1, k as isNumberString, l as devWarning, m as parse, n as hsl, r as rgb } from './prop.validators-kX7xC6qj.js';
5
+ import { h } from './index-BFGAlyrC.js';
6
+ import { b as bem } from './bem-registry-jPrVOPGX.js';
7
7
 
8
8
  /** Detect free variable `global` from Node.js. */
9
9
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
@@ -2022,6 +2022,58 @@ function cloneDeep(value) {
2022
2022
  return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
2023
2023
  }
2024
2024
 
2025
+ const READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;
2026
+ const ONLY_NUMBERS = /^\d+$/;
2027
+ function countReadableChars(str) {
2028
+ var _a;
2029
+ return typeof str === 'string' ? ((_a = str.match(READABLE_CHARS)) === null || _a === void 0 ? void 0 : _a.length) || 0 : 0;
2030
+ }
2031
+ function hasEnoughReadableChars(str, min = 1) {
2032
+ return countReadableChars(str) >= min;
2033
+ }
2034
+ function containsOnlyNumbers(str) {
2035
+ return ONLY_NUMBERS.test(str);
2036
+ }
2037
+ function trimLabel(label) {
2038
+ if (typeof label === 'string') {
2039
+ return label.trim();
2040
+ }
2041
+ if (Array.isArray(label)) {
2042
+ return label
2043
+ .map((item) => item.text)
2044
+ .join('')
2045
+ .trim();
2046
+ }
2047
+ return '';
2048
+ }
2049
+ function isLabelSegment(value) {
2050
+ if (typeof value !== 'object' || value === null) {
2051
+ return false;
2052
+ }
2053
+ const v = value;
2054
+ const keys = Object.keys(v);
2055
+ if (!keys.every((k) => k === 'text' || k === 'lang')) {
2056
+ return false;
2057
+ }
2058
+ if (typeof v.text !== 'string') {
2059
+ return false;
2060
+ }
2061
+ if (v.lang !== undefined && typeof v.lang !== 'string') {
2062
+ return false;
2063
+ }
2064
+ return true;
2065
+ }
2066
+ const isValidLabelString = (value) => value.length >= 2 || containsOnlyNumbers(value);
2067
+ function isValidLabelSegments(value) {
2068
+ if (typeof value === 'string') {
2069
+ return isValidLabelString(value);
2070
+ }
2071
+ if (Array.isArray(value)) {
2072
+ return value.length > 0 && value.every(isLabelSegment) && isValidLabelString(trimLabel(value));
2073
+ }
2074
+ return false;
2075
+ }
2076
+
2025
2077
  function normalizeString(value) {
2026
2078
  if (typeof value === 'string') {
2027
2079
  return value;
@@ -2071,10 +2123,6 @@ function normalizeNumberType(value) {
2071
2123
  }
2072
2124
  throw new Error(`Invalid number: ${String(value)}`);
2073
2125
  }
2074
- const NUMBER_STRING_PATTERN = /^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;
2075
- function isNumberString(value) {
2076
- return typeof value === 'string' && NUMBER_STRING_PATTERN.test(value) && Number.isFinite(Number(value));
2077
- }
2078
2126
  function normalizeInputNumber(value) {
2079
2127
  if (typeof value === 'number') {
2080
2128
  return (isNaN(value) ? undefined : value);
@@ -2267,58 +2315,6 @@ function rgba (color) {
2267
2315
  return values
2268
2316
  }
2269
2317
 
2270
- const READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;
2271
- const ONLY_NUMBERS = /^\d+$/;
2272
- function countReadableChars(str) {
2273
- var _a;
2274
- return typeof str === 'string' ? ((_a = str.match(READABLE_CHARS)) === null || _a === void 0 ? void 0 : _a.length) || 0 : 0;
2275
- }
2276
- function hasEnoughReadableChars(str, min = 1) {
2277
- return countReadableChars(str) >= min;
2278
- }
2279
- function containsOnlyNumbers(str) {
2280
- return ONLY_NUMBERS.test(str);
2281
- }
2282
- function trimLabel(label) {
2283
- if (typeof label === 'string') {
2284
- return label.trim();
2285
- }
2286
- if (Array.isArray(label)) {
2287
- return label
2288
- .map((item) => item.text)
2289
- .join('')
2290
- .trim();
2291
- }
2292
- return '';
2293
- }
2294
- function isLabelSegment(value) {
2295
- if (typeof value !== 'object' || value === null) {
2296
- return false;
2297
- }
2298
- const v = value;
2299
- const keys = Object.keys(v);
2300
- if (!keys.every((k) => k === 'text' || k === 'lang')) {
2301
- return false;
2302
- }
2303
- if (typeof v.text !== 'string') {
2304
- return false;
2305
- }
2306
- if (v.lang !== undefined && typeof v.lang !== 'string') {
2307
- return false;
2308
- }
2309
- return true;
2310
- }
2311
- const isValidLabelString = (value) => value.length >= 2 || containsOnlyNumbers(value);
2312
- function isValidLabelSegments(value) {
2313
- if (typeof value === 'string') {
2314
- return isValidLabelString(value);
2315
- }
2316
- if (Array.isArray(value)) {
2317
- return value.length > 0 && value.every(isLabelSegment) && isValidLabelString(trimLabel(value));
2318
- }
2319
- return false;
2320
- }
2321
-
2322
2318
  const HEX_REGEX = /^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;
2323
2319
  const isColorPair = (value) => typeof value === 'object' &&
2324
2320
  value !== null &&
@@ -2469,4 +2465,4 @@ function resolveFcProps(config, props) {
2469
2465
  return Object.assign(Object.assign({}, buildDefaultPropsFromConfig(config)), props);
2470
2466
  }
2471
2467
 
2472
- export { rgba as A, BemRootNodeFC as B, normalizeInputNumber as C, normalizeNumber as D, isNumberString as E, normalizeNumberType as F, clampedNumberValueProp as G, variantQuoteProp as H, normalizeCallbacksObject as I, createCallbacksPropDefinition as a, normalizeString as b, createPropDefinition as c, buildDefaultPropsFromConfig as d, clsx as e, normalizeArray as f, getBlockBem as g, createDependentPropDefinition as h, isEnumOption as i, isValidLabelSegments as j, kolibriColorProp as k, loadingProp as l, normalizeLabelSegments as m, normalizeBoolean as n, hasEnoughReadableChars as o, containsOnlyNumbers as p, normalizeInteger as q, resolveFcProps as r, isObjectLike as s, trimLabel as t, isArray as u, variantDialogProp as v, baseGetTag as w, normalizeBooleanToken as x, normalizeObject as y, isValidLabelString as z };
2468
+ export { rgba as A, BemRootNodeFC as B, normalizeInputNumber as C, normalizeNumber as D, normalizeNumberType as E, clampedNumberValueProp as F, variantQuoteProp as G, normalizeCallbacksObject as H, createCallbacksPropDefinition as a, normalizeString as b, createPropDefinition as c, buildDefaultPropsFromConfig as d, clsx as e, normalizeArray as f, getBlockBem as g, createDependentPropDefinition as h, isEnumOption as i, isValidLabelSegments as j, kolibriColorProp as k, loadingProp as l, normalizeLabelSegments as m, normalizeBoolean as n, hasEnoughReadableChars as o, containsOnlyNumbers as p, normalizeInteger as q, resolveFcProps as r, isObjectLike as s, trimLabel as t, isArray as u, variantDialogProp as v, baseGetTag as w, normalizeBooleanToken as x, normalizeObject as y, isValidLabelString as z };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const readOnlyProp = createPropDefinition('readOnly', false, normalizeBoolean);
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const requiredProp = createPropDefinition('required', false, normalizeBoolean);
7
7
 
@@ -2,14 +2,14 @@
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
4
  import { v as validateAccessAndShortKey } from './access-and-short-key-ijzCZfHm.js';
5
- import './common-BdSzSIXg.js';
6
- import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, s as spanIconsProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, e as tooltipAlignProp, v as variantProp, t as tabIndexProp } from './component-DEwcJKDA.js';
7
- import { l as linkPropsConfig, a as ariaCurrentValueProp, c as ariaOwnsProp, d as downloadProp, b as linkCallbacksProp } from './component-CiJGQTU0.js';
8
- import { d as disabledProp } from './disabled-B2o4Ctgy.js';
9
- import { h as hrefProp } from './href-CfNF4pHX.js';
10
- import { d as buildDefaultPropsFromConfig } from './props-from-config-BOUcpF7e.js';
11
- import { l as labelWithExpertSlotProp } from './label-with-expert-slot-D1tpX9DI.js';
12
- import { l as linkTargetProp } from './link-target-BWPSEd9a.js';
5
+ import './prop.validators-kX7xC6qj.js';
6
+ import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, s as spanIconsProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, e as tooltipAlignProp, v as variantProp, t as tabIndexProp } from './component-BGqaexiY.js';
7
+ import { l as linkPropsConfig, a as ariaCurrentValueProp, c as ariaOwnsProp, d as downloadProp, b as linkCallbacksProp } from './component-CYv5K14M.js';
8
+ import { d as disabledProp } from './disabled-CnKpxKzf.js';
9
+ import { h as hrefProp } from './href-BJ2DdiWo.js';
10
+ import { d as buildDefaultPropsFromConfig } from './props-from-config-B_k4h7ak.js';
11
+ import { l as labelWithExpertSlotProp } from './label-with-expert-slot-BxbzJ0aJ.js';
12
+ import { l as linkTargetProp } from './link-target-BgH0UuzW.js';
13
13
 
14
14
  const LINK_ELEMENT_DEFAULTS = {
15
15
  disabled: false,
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { X } from './common-BdSzSIXg.js';
5
- import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, s as spanIconsProp, e as tooltipAlignProp, t as tabIndexProp, v as variantProp } from './component-DEwcJKDA.js';
6
- import { b as buttonPropsConfig, a as ariaSelectedProp, c as buttonCallbacksProp, d as buttonTypeProp, n as nameProp } from './component-CNgECeRi.js';
7
- import { d as disabledProp } from './disabled-B2o4Ctgy.js';
8
- import { i as idProp } from './id-Bh4FF8c0.js';
9
- import { d as buildDefaultPropsFromConfig } from './props-from-config-BOUcpF7e.js';
10
- import { l as labelWithExpertSlotProp } from './label-with-expert-slot-D1tpX9DI.js';
4
+ import { X } from './prop.validators-kX7xC6qj.js';
5
+ import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, s as spanIconsProp, e as tooltipAlignProp, t as tabIndexProp, v as variantProp } from './component-BGqaexiY.js';
6
+ import { b as buttonPropsConfig, a as ariaSelectedProp, c as buttonCallbacksProp, d as buttonTypeProp, n as nameProp } from './component-ComtEOJP.js';
7
+ import { d as disabledProp } from './disabled-CnKpxKzf.js';
8
+ import { i as idProp } from './id-BBQitGSa.js';
9
+ import { d as buildDefaultPropsFromConfig } from './props-from-config-B_k4h7ak.js';
10
+ import { l as labelWithExpertSlotProp } from './label-with-expert-slot-BxbzJ0aJ.js';
11
11
 
12
12
  const BUTTON_ELEMENT_DEFAULTS = {
13
13
  disabled: false,
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, D as normalizeNumber } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, D as normalizeNumber } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const rowsProp = createPropDefinition('rows', undefined, normalizeNumber, (value) => value >= 1);
7
7
 
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { h } from './index-Bbr6Os1b.js';
5
- import { b as bem } from './bem-registry-SKACeCny.js';
6
- import { e as clsx, B as BemRootNodeFC } from './props-from-config-BOUcpF7e.js';
4
+ import { h } from './index-BFGAlyrC.js';
5
+ import { b as bem } from './bem-registry-jPrVOPGX.js';
6
+ import { e as clsx, B as BemRootNodeFC } from './props-from-config-B_k4h7ak.js';
7
7
 
8
8
  const dialogBem = bem.forBlock('kol-dialog');
9
9
  const modalBem = bem.forBlock('kol-modal');
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { p as parseJson } from './common-BdSzSIXg.js';
5
- import { c as createPropDefinition } from './props-from-config-BOUcpF7e.js';
4
+ import { p as parseJson } from './prop.validators-kX7xC6qj.js';
5
+ import { c as createPropDefinition } from './props-from-config-B_k4h7ak.js';
6
6
 
7
7
  function normalizeSmartButton(value) {
8
8
  const parsed = typeof value === 'string' ? parseJson(value) : value;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const spellCheckProp = createPropDefinition('spellCheck', undefined, normalizeBoolean);
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, b as normalizeString } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, b as normalizeString } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const srcProp = createPropDefinition('src', '', normalizeString);
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, C as normalizeInputNumber } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, C as normalizeInputNumber } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const stepProp = createPropDefinition('step', undefined, normalizeInputNumber);
7
7
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, b as normalizeString } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, b as normalizeString } from './props-from-config-B_k4h7ak.js';
5
5
  import { a as __rest } from './tslib.es6-QNbPBOk5.js';
6
- import { h } from './index-Bbr6Os1b.js';
7
- import { a as createRelatedUniqueId } from './dev.utils-B0t4rcBV.js';
6
+ import { h } from './index-BFGAlyrC.js';
7
+ import { a as createRelatedUniqueId } from './dev.utils-CS2a1Xpz.js';
8
8
 
9
9
  const autoCompleteProp = createPropDefinition('autoComplete', 'off', normalizeString, (value) => value.length > 0);
10
10
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { n as a11yHint, p as parseJson } from './common-BdSzSIXg.js';
5
- import { c as createPropDefinition } from './props-from-config-BOUcpF7e.js';
4
+ import { q as a11yHint, p as parseJson } from './prop.validators-kX7xC6qj.js';
5
+ import { c as createPropDefinition } from './props-from-config-B_k4h7ak.js';
6
6
 
7
7
  function normalizeSuggestions(value) {
8
8
  const parsed = typeof value === 'string' ? parseJson(value) : value;
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { r as registerInstance } from './index-Bbr6Os1b.js';
5
- import './common-BdSzSIXg.js';
4
+ import { r as registerInstance } from './index-BFGAlyrC.js';
5
+ import './prop.validators-kX7xC6qj.js';
6
6
 
7
7
  const TestComponent = class {
8
8
  constructor(hostRef) {
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import './common-BdSzSIXg.js';
5
- import { l as levelProp } from './level-BVXGgbSM.js';
6
- import { a as createCallbacksPropDefinition, g as getBlockBem, e as clsx, B as BemRootNodeFC } from './props-from-config-BOUcpF7e.js';
7
- import { d as disabledProp } from './disabled-B2o4Ctgy.js';
8
- import { l as labelLangSegmentsProp } from './label-lang-segment-C5LYGOHt.js';
9
- import { o as openProp } from './open-DPP79Urq.js';
10
- import { h } from './index-Bbr6Os1b.js';
11
- import { K as KolHeadingFc } from './Heading-BubZbykM.js';
4
+ import './prop.validators-kX7xC6qj.js';
5
+ import { l as levelProp } from './level-BaaaBkKR.js';
6
+ import { a as createCallbacksPropDefinition, g as getBlockBem, e as clsx, B as BemRootNodeFC } from './props-from-config-B_k4h7ak.js';
7
+ import { d as disabledProp } from './disabled-CnKpxKzf.js';
8
+ import { l as labelLangSegmentsProp } from './label-lang-segment-BnLCd3lO.js';
9
+ import { o as openProp } from './open-DBrDqNNt.js';
10
+ import { h } from './index-BFGAlyrC.js';
11
+ import { K as KolHeadingFc } from './Heading-Cjeak0Ip.js';
12
12
  import { p as preventFocus } from './element-interaction-sGYdEpmv.js';
13
- import { S as SpanFC } from './component-hiabKVP3.js';
13
+ import { S as SpanFC } from './component-CuPl7i5J.js';
14
14
  import { d as dispatchDomEvent, K as KolEvent } from './events-CRHxtwup.js';
15
15
 
16
16
  const collapsibleCallbacksProp = createCallbacksPropDefinition();
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { L as Log } from './common-BdSzSIXg.js';
5
- import { t as trimLabel } from './props-from-config-BOUcpF7e.js';
4
+ import { L as Log } from './prop.validators-kX7xC6qj.js';
5
+ import { t as trimLabel } from './props-from-config-B_k4h7ak.js';
6
6
 
7
7
  const UNIQUE_LABELS = new Set();
8
8
  function addNavLabel(ariaLabel) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, D as normalizeNumber, b as normalizeString } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, D as normalizeNumber, b as normalizeString } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const maxProp = createPropDefinition('max', 100, normalizeNumber, (v) => v > 0);
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { j as isValidLabelSegments, z as isValidLabelString } from './props-from-config-BOUcpF7e.js';
4
+ import { j as isValidLabelSegments, z as isValidLabelString } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;
7
7
  const isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, b as normalizeString } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, b as normalizeString } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  const stringValueProp = createPropDefinition('value', undefined, normalizeString);
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { c as createPropDefinition, b as normalizeString } from './props-from-config-BOUcpF7e.js';
4
+ import { c as createPropDefinition, b as normalizeString } from './props-from-config-B_k4h7ak.js';
5
5
 
6
6
  function normalizeDialogCallbacks(value) {
7
7
  if (typeof value !== 'object' || value === null) {
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-BFGAlyrC.js";import{e as l}from"./props-from-config-B_k4h7ak.js";const a=1;function r(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const o=(o,n)=>{var{class:c,level:t=a}=o,i=e(o,["class","level"]);const d=r(t);return s(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),n)},n=(a,r)=>{var{class:o}=a,n=e(a,["class"]);return s("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",o)},n),r)},c=(r,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=r,h=e(r,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const k=Object.assign({level:i},h);if(!t)return s(o,Object.assign({class:l(d,"kol-headline--single")},k),c);const{class:g}=p,j=e(p,["class"]),b=Object.assign({class:l("kol-heading-group",g)},j);return s("hgroup",Object.assign({},b),s(o,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},k),c),s(n,Object.assign({},u),t))};export{c as K,r as g}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as e}from"./tslib.es6-QNbPBOk5.js";import{p as i,j as t,F as o}from"./prop.validators-kX7xC6qj.js";import{c as s,b as l,n as r,a,e as n,B as d,t as h}from"./props-from-config-B_k4h7ak.js";import{r as p}from"./aria-labelledby-DqJY_4G-.js";import{S as c,b as u,s as m}from"./component-CuPl7i5J.js";import{a as v}from"./dev.utils-CS2a1Xpz.js";import{K as b,d as f}from"./events-CRHxtwup.js";import{d as g}from"./disabled-CnKpxKzf.js";import{j as y,h as j,e as B}from"./component-BGqaexiY.js";import{l as _}from"./label-with-expert-slot-BxbzJ0aJ.js";import{n as L}from"./component-ComtEOJP.js";import{B as O}from"./base-web-component-puo2mSiH.js";import{c as C}from"./item-D-uF2_uB.js";import{F as x}from"./behavior-BOUrKwXj.js";import{c as F}from"./item-CKABE_5V.js";import{T as K}from"./behavior-vf9LgKnJ.js";import{h as P}from"./index-BFGAlyrC.js";import{t as T}from"./i18n-DsSD0Coa.js";import{b as N}from"./bem-registry-jPrVOPGX.js";import{T as k}from"./component-C3fJM1FJ.js";import{P as w}from"./component-CuBrmISS.js";import{A}from"./component-8rE7KeIV.js";function D(e,i){return Boolean(e)&&!0===i}function S(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const H=s("ariaDetails","",l),I=s("hideMsg",!1,r),M=s("hint","",l),q=s("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),E=a(),J=s("msg",void 0,(function(e){if("string"==typeof e)try{return i(e)}catch(i){return e}return e}),(function(e){return void 0===e||("string"==typeof e?e.length>0:t(e)&&o(e._description,1))})),z=s("touched",!1,r),$=i=>{var{id:t,class:o,hint:s,baseClassName:l="kol-form-field"}=i,r=e(i,["id","class","hint","baseClassName"]);return s?P("span",Object.assign({class:n(`${l}__hint`,o),id:v(t||"","hint")},r),s):null},G=i=>{var{component:t="label",id:o,baseClassName:s="kol-form-field",class:l,accessKey:r,shortKey:a,label:d,hideLabel:h,hasExpertSlot:p,omitId:m,showBadge:b=!0,readOnly:f,infoPopover:g}=i,y=e(i,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const j=!p&&h,B=!1===b?void 0:u(r,a);return P(t,Object.assign({},y,{class:n(`${s}__label`,l),id:j||m?void 0:v(o,"label"),hidden:j,htmlFor:"legend"===t?void 0:o}),P(c,{class:`${s}__label-text`,label:p?"":null!=d?d:"",badgeText:B},P("slot",{name:"expert"})),!p&&f&&P("span",{class:`${s}__label__read-only`,"aria-hidden":"true"},"(",T("kol-readonly"),")"),!p&&g&&P("span",null,P(w,Object.assign({},g.popoverButton),P("div",{class:"kol-popover-button__popover--styled"},g.content))))},V=t=>{var o,s,{alert:l,hideMsg:r,msg:a,id:d,class:h}=t,p=e(t,["alert","hideMsg","msg","id","class"]);const c=function(e){if("string"==typeof e)try{return i(e)}catch(i){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}(a);return P(A,Object.assign({alert:!r&&(null!==(o=null==c?void 0:c._alert)&&void 0!==o?o:!0===l),class:n("kol-form-field__msg",r&&"visually-hidden",h),closerAriaDescriptionId:v(d,"msg-closer-description"),handleCloserClick:()=>{},hasCloser:!1,headingId:v(d,"msg-heading"),id:v(d,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},p),(null==c?void 0:c._description)||void 0)},X=N.forBlock("kol-form-field"),R=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!m(i)&&!0===e,Y=e=>{const i=S(e);return{[i]:!0,[`msg-type-${i}`]:!0}},Q=(i,t)=>{const{renderNoLabel:o,renderNoTooltip:s,renderNoHint:l,id:r,required:a,alert:h,disabled:p,class:c,msg:b,hideMsg:f,hideLabel:g,label:j,infoPopover:B,hint:_,accessKey:L,shortKey:O,counter:C,readOnly:x,touched:F,maxLength:K,ariaDescribedBy:N,showBadge:w,tooltipAlign:A,variant:S,component:H="div",orientation:I,refInput:M,refTooltip:q}=i,E=e(i,["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=m(j),z=D(b,F),Q=u(L,O),U=R({hideLabel:g,label:j,renderNoTooltip:s}),W="fieldset"===H;return P(d,Object.assign({component:H,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(p),required:Boolean(a),touched:Boolean(F),"hide-label":Boolean(g),"read-only":Boolean(x),"hidden-msg":Boolean(f)},z?Y(b):{}),class:n(S&&y(S,"form-field"),c),disabled:!(!W||!p)||void 0,"aria-describedby":N},E),!o&&P(G,{component:W?"legend":"label",class:W?"kol-form-field__label--legend":void 0,id:r,hasExpertSlot:J,hideLabel:g,label:j,accessKey:L,shortKey:O,readOnly:x,showBadge:w,infoPopover:B}),P("div",{class:X("input",{"orientation-horizontal":"horizontal"===I,"orientation-vertical":"vertical"===I}),ref:M},t,U&&P("div",{class:X("tooltip")},P(k,{badgeText:Q||"",label:j,align:A,id:v(r,"label"),refFloating:q}))),C&&!("soft"===C.maxLengthBehavior&&"number"!=typeof C.maxLength)&&P("div",{class:X("counter")},P("span",{"aria-hidden":"true",class:X("counter"),ref:C.visualRef}),P("span",{"aria-live":"polite",class:"visually-hidden",id:v(r,"counter"),ref:C.ariaRef})),z&&P(V,{id:r,alert:h,hideMsg:f,msg:b}),!l&&P($,{id:r,hint:_}),"number"==typeof K&&!C&&P("span",{id:v(r,"character-limit-hint"),class:"visually-hidden"},T("kol-character-limit-hint",{placeholders:{limit:String(K)}})))};class U extends O{constructor(){super(...arguments),this.tooltipBehavior=new K(O.stateLess),this.smartButton=C((()=>this.host)),this.infoPopover=F({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(b.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(b.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(b.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(b.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(b.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new x(O.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}getInfoPopover(){const i=this.shared.getRenderProp("infoPopover");if(!i)return;const{_content:t}=i,o=e(i,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},o),{_hideLabel:!0,_inline:!0})),content:t}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){H.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=p(this.host,this.shared.getRenderProp("ariaDetails")),r=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==r?void 0:r.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){g.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){j.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){I.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){M.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){q.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){_.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}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){B.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,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&f(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(b.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),r="error"===S(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(v(e,"msg")),a&&n.push(v(e,"hint")),{hasError:r,hasHint:a,ariaDescribedBy:n}})({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 R({hideLabel:e.getRenderProp("hideLabel"),label:h(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:l,readOnly:r,renderNoLabel:a,renderNoTooltip:n,required:d}){const h=this.shared,p=h.getState("id"),c=h.getRenderProp("label"),m=h.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(m),this.tooltipBehavior.watchBadgeText(u(i,t)||""),this.tooltipBehavior.watchId(v(p,"label")),this.tooltipBehavior.watchLabel(c)):this.tooltipBehavior.destroy(),{id:p,disabled:h.getRenderProp("disabled"),msg:h.getRenderProp("msg"),hint:h.getRenderProp("hint"),label:c,hideLabel:h.getRenderProp("hideLabel"),hideMsg:h.getRenderProp("hideMsg"),touched:h.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:d,readOnly:r,accessKey:i,shortKey:t,maxLength:l,counter:s,variant:o,class:e,tooltipAlign:m,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:a,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}}function W({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?h(t):void 0}}const Z={required:[_],optional:[H,g,j,I,M,q,E,J,L,B,z]};export{U as B,Q as F,$ as a,G as b,W as c,Z as f,S as g,D as i}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as o}from"./index-BFGAlyrC.js";import{L as t,d as r,w as a}from"./prop.validators-kX7xC6qj.js";const s=(()=>{o((o=>{try{o.shadowRoot instanceof ShadowRoot&&r(o,a(o))}catch(o){}return"default"})),import("./devtools-DDKKBFlN.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((o=>{t.error(o)}))})||(()=>{});export{s as g}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as s}from"./index-BFGAlyrC.js";import{s as i,X as t}from"./prop.validators-kX7xC6qj.js";import{B as a}from"./base-web-component-puo2mSiH.js";import{b as o,e,a as h,n as l,c as r,d as p,B as n}from"./component-ComtEOJP.js";import{F as d}from"./behavior-BOUrKwXj.js";import{p as m,a as c}from"./controller-BNVDUbSt.js";import{T as y}from"./behavior-vf9LgKnJ.js";import{a as b,b as u,c as f,f as v,g as x,h as j,s as B,i as C,l as A,d as K,t as I,e as g,v as D}from"./component-BGqaexiY.js";import{d as S}from"./disabled-CnKpxKzf.js";import{i as T}from"./id-BBQitGSa.js";import"./props-from-config-B_k4h7ak.js";import{l as H}from"./label-with-expert-slot-BxbzJ0aJ.js";import{v as w}from"./access-and-short-key-ijzCZfHm.js";import{c as L}from"./element-interaction-sGYdEpmv.js";import{d as E,K as F}from"./events-CRHxtwup.js";class P extends a{constructor(){super(...arguments),this.ctaRef=L(),this.propsConfig=o,this.tooltipBehavior=new y(this.stateAccess),this.handleClick=s=>{s.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)m({form:this.host});else if("reset"===t)c({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&&E(this.host,F.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&&E(this.host,F.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&E(this.host,F.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&E(this.host,F.blur)}}initFormAssociation(){this.formAssociation=new d(a.stateLess,{host:this.host,type:"button"})}unsetButtonTabIndex(){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){b.apply(s,(s=>this.setRenderProp("accessKey",s))),w(s,i)}applyAriaControls(s){u.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){f.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){v.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){x.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){S.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){j.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){B.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){T.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){C.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){H.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}),this.isRequired("label"))}applyName(s){l.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){K.apply(s,(s=>this.setRenderProp("shortKey",s))),w(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?I.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){g.apply(null!=s?s:"top",(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){p.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var i;D.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{P as B}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{r as t}from"./aria-labelledby-DqJY_4G-.js";import{H as e,e as o,p as l,L as i}from"./prop.validators-kX7xC6qj.js";import{h as s,F as n,f as a}from"./index-BFGAlyrC.js";import{B as r}from"./base-web-component-puo2mSiH.js";import{c}from"./item-D-uF2_uB.js";import{c as d}from"./item-pool-BOxAYePG.js";import{c as h}from"./item-BHmWBVJU.js";import{c as u,f as b,n as p,a as v,r as f,t as m,B as y,v as g}from"./props-from-config-B_k4h7ak.js";import{l as k}from"./label-lang-segment-BnLCd3lO.js";import{v as j,j as C}from"./component-BGqaexiY.js";import{c as S,d as w,e as x}from"./component-names-Dhbtt0mX.js";import{t as O}from"./i18n-DsSD0Coa.js";import{b as _}from"./bem-registry-jPrVOPGX.js";import{B as $}from"./component-ComtEOJP.js";import{I as F}from"./component-B2hvPtlq.js";import{L as B}from"./component-CYv5K14M.js";import{r as D}from"./component-CuPl7i5J.js";import{S as L}from"./component-DzwUKDj3.js";import{T}from"./component-C3fJM1FJ.js";import{T as I}from"./behavior-vf9LgKnJ.js";import{a as A}from"./tslib.es6-QNbPBOk5.js";import{c as z,n as E}from"./dev.utils-CS2a1Xpz.js";import{d as M,K as H}from"./events-CRHxtwup.js";import{A as K}from"./component-8rE7KeIV.js";import{l as P}from"./level-BaaaBkKR.js";import{c as J}from"./element-interaction-sGYdEpmv.js";import{u as N,l as R,D as G}from"./scroll-lock-Ch4ulFTS.js";import{h as q}from"./tooltip-open-tracking-D3tCiiGP.js";import{d as V,w as W}from"./width-BikKpAHu.js";import{r as Y,C as X}from"./component-CtnZeJ8i.js";import{C as U}from"./keyboard-DNd73LVa.js";const Q=(l,i,s)=>"string"!=typeof s&&void 0!==s?(e()&&o(`[${l.constructor.name}] The property value: (${s}) for '_ariaLabelledby' is not valid. Allowed values are: string, null`),[]):t(i,s),Z=t=>"number"==typeof t&&Number.isInteger(t)&&t>=0,tt=u("fixedCols",[0,0],(t=>b(t)),(t=>2===t.length&&t.every(Z))),et=u("hasSettingsMenu",!1,p),ot=v();function lt(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 it(t){return t.every((t=>"object"==typeof t&&null!==t))}const st=u("data",[],lt,it),nt=u("dataFoot",[],lt,it),at=t=>Array.isArray(t)&&t.every((t=>Array.isArray(t))),rt=u("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(!at(o)||!at(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))))})),ct=u("loading",!1,p),dt=u("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))})),ht={required:[k,st],optional:[tt,et,ot,nt,rt,ct,dt,j]},ut=t=>t.flatMap((t=>t.filter((t=>"string"==typeof t.key||"function"==typeof t.render)))),bt=t=>{const e=ut(t.horizontal);if(e.length>0)return{cells:e,horizontal:!0};const o=ut(t.vertical);return{cells:o,horizontal:0===o.length}},pt=(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},vt=(t,e)=>{const o=Math.max(0,...t.map((t=>pt(t,"colSpan"))));return 0===o?e.length:o},ft=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},mt=(t,e,o,l)=>{if(void 0!==l&&!e)return l<t[0]?"left":t[1]>0&&l>=o-t[1]?"right":void 0},yt=(t,e,o,l)=>{var i,s,n,a,r,c;const d=[];for(let a=0;a<e;a++)"left"===mt(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"===mt(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},gt=(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`},kt=(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},jt=({data:t,dataFoot:e,headers:o,isFoot:l,noEntriesLabel:i,primaryHeaders:s})=>{const n=vt(o.horizontal,t),a=s.cells;let r=((t,e,o)=>{const l=Math.max(0,...t.map((t=>pt(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=[],u=[];o.vertical.forEach(((t,e)=>{h[e]=0,u[e]=[]}));for(let i=c;i<r;i++){const r=[];o.vertical.forEach(((t,e)=>{let o=0;if(u[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),u[e].push(t),"number"==typeof l.colSpan&&l.colSpan>1)for(let o=1;o<l.colSpan;o++)u[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=ft(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},Ct=({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(" + ")})`},St=t=>void 0===t?[]:Array.isArray(t)?t:[t],wt=t=>{var e;return null!==(e=t?t.keyPropertyName:void 0)&&void 0!==e?e:"id"},xt=t=>{const e=t?St(t.selectedKeys):[];return{disabledKeys:new Set((t?St(t.disabledKeys):[]).map(String)),keyPropertyName:wt(t),selectedKeys:e,selectedKeysSet:new Set(e.map(String))}},Ot=(t,e)=>t.filter((t=>!e.disabledKeys.has(String(t[e.keyPropertyName])))),_t=_.forBlock("kol-table"),$t=_t("body"),Ft=_t("cell-actions"),Bt=_t("cell-states"),Dt=_t("footer"),Lt=_t("head"),Tt=_t("head-row"),It=_t("scroll-container"),At=_t("selection-icon"),zt=_t("selection-input-tooltip"),Et=_t("sort"),Mt=_t("sort-button"),Ht=_t("sort-order"),Kt=_t("table"),Pt=`${_t("focus-element")} ${_t("caption")}`,Jt="caption",Nt=(t,e)=>mt(t.fixedCols,t.stickyColsDisabled,t.maxCols,e),Rt=(t,e,o)=>({left:"left"===e?gt(t.fixedOffsets,o,!0,!1!==t.selection):void 0,right:"right"===e?gt(t.fixedOffsets,o,!1,!1!==t.selection):void 0}),Gt=(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)},qt=t=>{const e=O("kol-sort");return"number"==typeof t&&t>0?`${e} – ${O("kol-table-sort-order").replace("{{order}}",`${t}`)}`:e},Vt=(t,e,o,l,i)=>{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=i?"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,u=Nt(t,l),{left:b,right:p}=Rt(t,u,l),v=e.textAlign,f=n?e.sortDirection:void 0;return s("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"===u,"sticky-right":"right"===u}),scope:c,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{width:h,left:b,right:p},"aria-sort":a,"data-sort":f?`sort-${f}`:void 0},f?s("span",{class:Et},s($,Object.assign({},t.getButtonFcProps(`sort-${i?"vertical":"horizontal"}-${o}-${l}`,{_icons:{right:r},_label:e.label,_ariaDescription:qt(d),_on:{onClick:o=>{t.handleSort(o,{key:e.key,currentSortDirection:f})}}},{class:Mt}))),d&&s("span",{"aria-hidden":"true",class:Ht},d)):e.label)},Wt=(t,e,o,l,i=!1)=>s("tr",{class:_t("row",{body:!i,footer:i}),key:`row-${Gt(t,e,o)}`},((t,e,o)=>{var l;const{handleSelectionChange:i,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),u=a.selectedKeysSet.has(h),b=a.disabledKeys.has(h),p=n.label(r),{refInput:v,refTooltip:f}=t.getSelectionTooltipRefs(`selection-${h}`,p),m={name:"selection",checked:u,disabled:b,id:String(c),ref:v,"aria-label":p};return s("td",{key:`tbody-${o}-selection`,class:_t("cell",{selection:!0})},s("div",{class:_t("selection",{checked:u})},d?s("label",{class:_t("selection-label",{disabled:b})},s(F,{class:At,icons:"kolicon "+(u?"kolicon-check":""),label:""}),s("input",Object.assign({class:_t("selection-input",{checkbox:!0})},m,{type:"checkbox",onInput:t=>{const e=u?a.selectedKeys.filter((t=>String(t)!==h)):[...a.selectedKeys,c];i(t,e)}}))):s("label",{class:_t("selection-label")},s("input",Object.assign({class:_t("selection-input",{radio:!0})},m,{type:"radio",onInput:t=>{i(t,[c])}}))),s("div",{class:zt},s(T,{label:p,badgeText:"",id:`${c}-label`,refFloating:f}))))})(t,e,o),e.map(((e,i)=>((t,e,o,l,i)=>{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 Vt(t,e,o,l,i);const a="function"!=typeof e.render&&e.label===t.translateNoEntries,r=kt(t.headers,t.primaryHeaders,l,"action"),c=Boolean(r&&e.data),d=kt(t.headers,t.primaryHeaders,l,"state"),h=Boolean(d&&e.data),u=Nt(t,l),{left:b,right:p}=Rt(t,u,e.colIndex),v="function"==typeof e.render,f=e.textAlign;return s("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"===u,"sticky-right":"right"===u}),"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:b,right:p},ref:v?o=>t.handleRenderCell(e,o):void 0},c&&r&&e.data?((t,e,o,l)=>s("div",{class:Ft},e.actions(o).map(((e,o)=>{const i=`action-${l}-${o}`;return"button"===e.type?s("span",{key:i},s($,Object.assign({},t.getButtonFcProps(i,e)))):"link"===e.type?s("span",{key:i},s(B,Object.assign({},t.getLinkFcProps(i,e)))):null}))))(t,r,e.data,n):h&&d&&e.data?((t,e,o)=>{const l=t.key;if(!l)return"";const i=e[l];return i?s("div",{class:Bt},i.map(((t,e)=>"badge"===t.type?s(S,Object.assign({key:`state-${o}-${e}`},t)):null))):""})(d,e.data,n):v?"":e.label)})(t,e,o,i,l)))),Yt=(t,e,o)=>{const l=t.headers.vertical.length+ft(null==o?void 0:o[0])+(t.selection?1:0);return s("tr",{"aria-hidden":"true",class:_t("spacer",{[e]:!0})},s("td",{class:_t("spacer-line",{[e]:!0}),colSpan:l}))},Xt=t=>{const e=f(ht,t),{data:o,dataFoot:l,externalLabelElements:i,fixedCols:a,hasScrollbar:r,hasSettingsMenu:c,headers:d,label:h,loading:u,refScrollContainer:b,refTable:p,selection:v,stickyColsDisabled:g,variant:k}=e,j=O("kol-no-entries"),S=bt(d),w=vt(d.horizontal,o),x=Object.assign(Object.assign({},e),{fixedOffsets:yt(S.cells,w,a,g),maxCols:w,primaryHeaders:S,selectionModel:xt(v),translateNoEntries:j}),_=jt({data:o,dataFoot:l,headers:d,isFoot:!1,noEntriesLabel:j,primaryHeaders:S}),$=0===i.length;return s(y,{block:"kol-table",class:C(k,"table")},c&&t.renderSettings(d.horizontal),s("div",{ref:b,class:It,tabindex:r?$?"-1":"0":void 0},s("table",{ref:p,"aria-labelledby":$?Jt:void 0,class:Kt,style:{minWidth:Ct(d)}},$&&s("caption",{class:Pt,id:Jt,ref:t=>{t&&(r?t.tabIndex=0:t.removeAttribute("tabindex"))}},D(h)),s("thead",{class:Lt},[d.horizontal.map(((t,e)=>s("tr",{class:Tt,key:`thead-${e}`},v&&(t=>{const{data:e,handleSelectionChange:o,selection:l,selectionModel:i}=t;if(!l)return s("td",{class:_t("cell",{header:!0}),key:"thead-0"});if(!1===l.multiple)return s("th",{scope:"col",key:"thead-0-selection",class:_t("cell",{header:!0,selection:!0})},s("span",{class:"visually-hidden"},O("kol-table-selection")));const n=i.selectedKeys.filter((t=>!i.disabledKeys.has(String(t)))).length,a=n===Ot(e,i).length,r=0!==n&&!a;let c;c=O(0===n?"kol-table-selection-all":a&&!r?"kol-table-selection-none":"kol-table-selection-indeterminate");const{refInput:d,refTooltip:h}=t.getSelectionTooltipRefs("selection-all",c);return s("th",{scope:"col",key:"thead-0-selection",class:_t("cell",{header:!0,selection:!0})},s("span",{class:"visually-hidden"},O("kol-table-selection")),s("div",{class:_t("selection",{checked:a,indeterminate:r})},s("label",{class:_t("selection-label")},s(F,{class:At,icons:"kolicon "+(r?"kolicon-minus":a?"kolicon-check":""),label:""}),s("input",{class:_t("selection-input",{checkbox:!0}),ref:d,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(...Ot(t,e).map((t=>null==t?void 0:t[e.keyPropertyName]))),l})(e,i,!a))}})),s("div",{class:zt},s(T,{label:c,badgeText:"",refFloating:h}))))})(x),0===e&&(({headers:t})=>{const{horizontal:e,vertical:o}=t;if(0===e.length||0===o.length)return s(n,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 s("td",{"aria-hidden":"true",colSpan:o.length,rowSpan:e.length,style:l>0?{width:`${l}px`}:void 0})})(x),Array.isArray(t)&&t.map(((t,o)=>Vt(x,t,e,o,!1)))))),Yt(x,"head",d.horizontal)]),s("tbody",{class:$t},s("div",{class:_t("loader",{shown:u})},s(L,{label:O(u?"kol-table-data-loading":"kol-table-data-loaded").replace("{{caption}}",m(h)),show:u,variant:"cycle"})),_.map(((t,e)=>Wt(x,t,e,!0)))),(t=>{const{dataFoot:e,headers:o,primaryHeaders:l,translateNoEntries:i}=t;if(0===e.length)return null;const n=jt({data:e,dataFoot:e,headers:o,isFoot:!0,noEntriesLabel:i,primaryHeaders:l}),a=vt(o.horizontal,e),r=Object.assign(Object.assign({},t),{fixedOffsets:yt(l.cells,a,t.fixedCols,t.stickyColsDisabled),maxCols:a});return s("tfoot",{class:Dt},[Yt(t,"foot",n),n.map(((t,e)=>Wt(r,t,e,!0,!0)))])})(x))))},Ut=({dialog:t,card:e},o)=>s(G,Object.assign({},t),e?s(X,Object.assign({},e),o):o),Qt=_.forBlock("kol-table")("settings"),Zt=_.forBlock("kol-table-settings"),te=Zt(),ee=Zt("actions"),oe=Zt("column"),le=Zt("column-label"),ie=Zt("columns"),se=Zt("content"),ne=Zt("error-message"),ae=t=>Number.isFinite(t)&&void 0!==t&&t>0?t:void 0,re=()=>{},ce=(t,e)=>{const o=O("kol-table-settings"),l=O("kol-table-settings-cancel"),i=O("kol-table-settings-apply"),n=O("kol-table-settings-error-all-invisible");let a,h=!1,u=!1;const b=()=>{h=!0,e()},p=d((()=>c(t)),(t=>t.syncListeners()),(t=>t.destroy())),v=((t,e)=>{const o=J(),l=J(),i=new I(r.stateLess),s=z("aria-description"),n=z("dialog-heading"),c={};let d,h=!0,u={};const b=t=>!a||M(a,t),p=()=>{var t,e;null===(e=null===(t=o.el)||void 0===t?void 0:t.close)||void 0===e||e.call(t)},v=t=>{var e;q(t),t.defaultPrevented||(null===(e=u.onCancel)||void 0===e||e.call(u,t),t.defaultPrevented||b(H.cancel)||t.preventDefault())},f=t=>{var e;t.target===o.el&&(N(c),null===(e=u.onClose)||void 0===e||e.call(u),b(H.close))},y=()=>{i.hideTooltip(),p(),b(H.close)};return{getFcProps:e=>{var a,r,c;let b="",p=0,j="blank",C="100%";k.apply(e.label,(t=>{b=t})),P.apply(null!==(a=e.level)&&void 0!==a?a:0,(t=>{p=t})),V.apply(e.on,(t=>{u=t})),g.apply(null!==(r=e.variant)&&void 0!==r?r:"blank",(t=>{j=t})),W.apply(null!==(c=e.width)&&void 0!==c?c:"100%",(t=>{C=t}));const S="card"===j;return S&&!d&&(d=Y(t()),i.componentWillLoad({label:d.label,align:d.tooltipAlign})),{dialog:{handleCancel:v,handleClose:f,label:m(b),labelledBy:S?n:void 0,modal:h,refDialog:o,variant:j,width:C},card:S&&d?{ariaDescriptionId:s,closeButtonProps:d,handleClose:y,hasCloser:!0,headingId:n,label:b,level:p,refCloseButton:l,refTooltip:i.setTooltipElementRef}:void 0}},show:t=>{var l,i;const s=o.el;(null==s?void 0:s.open)||(h!==t&&(h=t,e()),t?(null===(l=null==s?void 0:s.showModal)||void 0===l||l.call(s),s&&R(c)):null===(i=null==s?void 0:s.show)||void 0===i||i.call(s))},close:p,syncListeners:()=>{l.el&&i.syncListeners(void 0,l.el,!0)},destroy:()=>{p(),N(c),i.destroy()}}})(t,b),f=z("alert-heading"),y=z("closer-description");let j,C=[],S=[],_=null;const F=()=>{var t;return null!==(t=S[S.length-1])&&void 0!==t?t:[]},B=t=>{S=S.map(((e,o,l)=>o===l.length-1?t:e)),b()},D=(t,e)=>{const o=[...F()],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),B(o)},L=t=>{if(t.preventDefault(),!F().some((t=>!1!==t.visible)))return _=n,void b();if(a){_=null,C=S.map((t=>t.map((t=>Object.assign({},t))))),b();const t=S.map((t=>t.map((t=>{const e=t,{hidable:o,resizable:l,sortable:i,visible:s,width:n}=e,a=A(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}))));M(a,H.changeHeaderCells,t),v.close()}},T=t=>{t&&(a=t)};return{beginRender:()=>{p.beginRender(),u=h,h=!1},render:t=>{var e;u||t===j||(j=t,C=(e=t).map((t=>[...t])),S=e.map((t=>t.map((t=>Object.assign({},t))))));const n=F();return s("div",{class:Qt,ref:T},s("div",{class:te},s($,Object.assign({},p.get("toggle").getFcProps({_icons:"kolicon-settings",_label:o,_hideLabel:!0,_on:{onClick:()=>v.show(!0)}})))),s(Ut,Object.assign({},v.getFcProps({label:o,variant:"card",width:"fit-content"})),s("div",{class:se},_&&s("div",{class:ne},s(K,{alert:!1,closerAriaDescriptionId:y,handleCloserClick:re,hasCloser:!1,headingId:f,label:_,level:0,refCloserButton:re,refCloserTooltip:re,type:"error",variant:"msg"})),s("form",{onSubmit:L},s("div",{class:ie},n.map(((t,e)=>((t,e,o)=>s("div",{key:t.key,class:oe},s(x,{_checked:!1!==t.visible,_label:O(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=F().map((o=>o.key===t&&!1!==o.hidable?Object.assign(Object.assign({},o),{visible:Boolean(e)}):o));B(o)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),s("span",{class:le},t.label),s(w,{_hideLabel:!0,_value:ae(t.width),_label:O("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=ae(Number(e)),l=F().map((e=>e.key===t&&!1!==e.resizable?Object.assign(Object.assign({},e),{width:o}):e));B(l)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),s($,Object.assign({},p.get(`move-up-${t.key}`).getFcProps({_icons:"kolicon-chevron-up",_label:O(!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}))),s($,Object.assign({},p.get(`move-down-${t.key}`).getFcProps({_icons:"kolicon-chevron-down",_label:O(!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})))))(t,e,n)))),s("div",{class:ee},s($,Object.assign({},p.get("cancel").getFcProps({_label:l,_variant:"secondary",_on:{onClick:()=>(S=C.map((t=>[...t])),_=null,b(),void v.close())}}))),s($,Object.assign({},p.get("apply").getFcProps({_label:i,_variant:"primary",_type:"submit"}))))))))},sync:()=>{p.endRender(),v.syncListeners()},destroy:()=>{p.destroy(),v.destroy()}}};class de extends r{constructor(){super(...arguments),this.hasExternalTableLabelRefs=!1,this.cellRenderTimeouts=new Map,this.buttonItems=d((()=>c((()=>this.host))),(t=>t.syncListeners()),(t=>t.destroy())),this.settings=ce((()=>this.host),(()=>a(this))),this.linkItems=d((()=>h((()=>a(this)))),(t=>t.syncListeners()),(t=>t.destroy())),this.selectionTooltipItems=d((()=>(()=>{const t=new I(r.stateLess);let e;const o={refInput:t=>{e=t},refTooltip:t.setTooltipElementRef};return{getRefs:e=>(t.componentWillLoad({label:e}),o),syncListeners:()=>{e&&t.syncListeners(void 0,e,!0)},destroy:()=>{t.destroy()}}})()),(t=>t.syncListeners()),(t=>t.destroy())),this.propsConfig=ht,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(this.cellRenderTimeouts.delete(e),"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),this.getSelectionTooltipRefs=(t,e)=>this.selectionTooltipItems.get(t).getRefs(e)}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.cellRenderTimeouts.forEach((t=>clearTimeout(t))),this.cellRenderTimeouts.clear(),this.buttonItems.destroy(),this.linkItems.destroy(),this.selectionTooltipItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.selectionTooltipItems.endRender(),this.settings.sync()}applyData(t){st.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:E()]}))))(t,this.getState("rowKeys")))}))}applyDataFoot(t){nt.apply(t,(t=>this.setRenderProp("dataFoot",t)))}applyFixedCols(t){tt.apply(t,(t=>this.setRenderProp("fixedCols",t))),this.updateStickyColsDisabled()}applyHasSettingsMenu(t){et.apply(t,(t=>this.setRenderProp("hasSettingsMenu",t)))}applyHeaders(t){rt.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){k.apply(t,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}applyLoading(t){ct.apply(t,(t=>this.setRenderProp("loading",t)))}applyOn(t){ot.apply(t,(t=>this.setRenderProp("on",t)))}applySelection(t){dt.apply(t,(t=>this.setRenderProp("selection",t))),this.updateStickyColsDisabled()}applyVariant(t){j.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,this.hasExternalTableLabelRefs=!0,i.debug([this.tableElement,t,this.tableElement.ariaLabelledByElements])):this.hasExternalTableLabelRefs&&(this.hasExternalTableLabelRefs=!1,this.tableElement.ariaLabelledByElements=null,this.tableElement.setAttribute("aria-labelledby",Jt)))}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")[U.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=bt(r).cells,d=vt(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")[U.onSelectionChange];"function"==typeof o&&o(t,e),this.host&&M(this.host,H.selectionChange,e)}emitSort(t,e){const o=this.getRenderProp("on")[U.onSort];"function"==typeof o&&e.key&&o(t,e),this.host&&M(this.host,H.sort,e)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.selectionTooltipItems.beginRender(),this.settings.beginRender(),s(Xt,{data:this.getRenderProp("data"),dataFoot:this.getRenderProp("dataFoot"),externalLabelElements:this.getState("externalLabelElements"),fixedCols:this.getRenderProp("fixedCols"),getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,getSelectionTooltipRefs:this.getSelectionTooltipRefs,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{de as B,nt as a,st as t,Q as v}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as i}from"./index-BFGAlyrC.js";import{B as s}from"./base-web-component-puo2mSiH.js";import{l as t,a,c as r,d as e,b as o,L as h}from"./component-CYv5K14M.js";import{o as n}from"./aria-current-service-YoLNpD5S.js";import{T as l}from"./behavior-vf9LgKnJ.js";import{s as p}from"./prop.validators-kX7xC6qj.js";import{a as d,b as c,c as m,f,g as y,h as b,s as u,i as C,l as x,d as g,t as v,e as j,v as A}from"./component-BGqaexiY.js";import{d as L}from"./disabled-CnKpxKzf.js";import{h as K}from"./href-BJ2DdiWo.js";import"./props-from-config-B_k4h7ak.js";import{l as w}from"./label-with-expert-slot-BxbzJ0aJ.js";import{l as I}from"./link-target-BgH0UuzW.js";import{c as B}from"./element-interaction-sGYdEpmv.js";import{d as D,K as k}from"./events-CRHxtwup.js";class T extends s{constructor(){super(...arguments),this.ctaRef=B((()=>!0===this.getRenderProp("disabled"))),this.tooltipBehavior=new l(this.stateAccess),this.propsConfig=t,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)&&(p(i,this.ctaRef.el),t.onClick(i,s)),this.host&&D(this.host,k.click,s)},this.setAnchorRef=i=>{this.ctaRef(i)}}unsetLinkTabIndex(){this.unsetRenderProp("tabIndex")}initLinkBehaviors(){this.unsubscribeOnLocationChange=n((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){d.apply(i,(i=>this.setRenderProp("accessKey",i)))}applyAriaControls(i){c.apply(i,(i=>this.setRenderProp("ariaControls",i)))}applyAriaCurrentValue(i){a.apply(i,(i=>this.setRenderProp("ariaCurrentValue",i)))}applyAriaDescription(i){m.apply(i,(i=>this.setRenderProp("ariaDescription",i)))}applyAriaExpanded(i){f.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){K.apply(i,(i=>this.setRenderProp("href",i)),this.isRequired("href"))}applyIcons(i){u.apply(i,(i=>this.setRenderProp("icons",i)))}applyInline(i){C.apply(i,(i=>this.setRenderProp("inline",i)))}applyLabel(i){w.apply(i,(s=>{this.setRenderProp("label",s),this.setState("expertSlot",""===i),this.tooltipBehavior.watchLabel(this.getTooltipLabel())}),this.isRequired("label"))}applyOn(i){o.apply(i,(i=>this.setRenderProp("on",i)))}applyRole(i){x.apply(i,(i=>this.setRenderProp("role",i)))}applyShortKey(i){g.apply(i,(i=>this.setRenderProp("shortKey",i)))}applyTabIndex(i){"number"==typeof i?v.apply(i,(i=>this.setRenderProp("tabIndex",i))):this.unsetRenderProp("tabIndex")}applyTarget(i){I.apply(i,(i=>this.setRenderProp("target",i)))}applyTooltipAlign(i){j.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{T as B}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as i}from"./index-BFGAlyrC.js";import{B as s}from"./base-web-component-puo2mSiH.js";import{r as t,C as o}from"./component-CtnZeJ8i.js";import"./prop.validators-kX7xC6qj.js";import{l}from"./level-BaaaBkKR.js";import{d as a,w as h}from"./width-BikKpAHu.js";import{v as e,t as r}from"./props-from-config-B_k4h7ak.js";import{l as n}from"./label-lang-segment-BnLCd3lO.js";import{u as d,l as p,D as m}from"./scroll-lock-Ch4ulFTS.js";import{T as v}from"./behavior-vf9LgKnJ.js";import{c as u}from"./element-interaction-sGYdEpmv.js";import{d as c,K as C}from"./events-CRHxtwup.js";import{h as f}from"./tooltip-open-tracking-D3tCiiGP.js";const b={required:[n],optional:[a,l,e,h]};class j extends s{constructor(){super(...arguments),this.dialogRef=u(),this.cardCloseButtonRef=u(),this.cardCloseTooltipBehavior=new v(this.stateAccess),this.propsConfig=b,this.handleCancel=i=>{var s,t;f(i),i.defaultPrevented||(null===(t=(s=this.getRenderProp("on")).onCancel)||void 0===t||t.call(s,i),i.defaultPrevented||this.host&&!c(this.host,C.cancel)&&i.preventDefault())},this.handleClose=i=>{var s,t,o,l;i.target===this.dialogRef.el&&(d(this),null===(t=(s=this.getRenderProp("on")).onClose)||void 0===t||t.call(s),null===(l=(o=this.getRenderProp("on")).onToggle)||void 0===l||l.call(o,!1),this.host&&(c(this.host,C.close),c(this.host,C.toggle)))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDialog(),this.host&&c(this.host,C.close)}}initCardCloseButton(){this.cardCloseButtonProps=t(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:this.cardCloseButtonProps.tooltipAlign})}syncCardCloseTooltipListeners(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}teardownDialog(){this.closeDialog(),d(this),this.cardCloseTooltipBehavior.destroy()}applyLabel(i){n.apply(i,(i=>this.setRenderProp("label",i)),this.isRequired("label"))}applyLevel(i){l.apply(i,(i=>this.setRenderProp("level",i)))}applyOn(i){a.apply(i,(i=>this.setRenderProp("on",i)))}applyVariant(i){e.apply(i,(i=>this.setRenderProp("variant",i)))}applyWidth(i){h.apply(i,(i=>this.setRenderProp("width",i)))}showDialog(i){var s,t,o,l;const a=this.dialogRef.el;(null==a?void 0:a.open)||(this.setState("modal",i),i?(null===(s=null==a?void 0:a.showModal)||void 0===s||s.call(a),a&&p(this)):null===(t=null==a?void 0:a.show)||void 0===t||t.call(a),null===(l=(o=this.getRenderProp("on")).onToggle)||void 0===l||l.call(o,!0),this.host&&c(this.host,C.toggle))}closeDialog(){var i,s;null===(s=null===(i=this.dialogRef.el)||void 0===i?void 0:i.close)||void 0===s||s.call(i)}buildCardProps(){return{ariaDescriptionId:this.getState("ariaDescriptionId"),closeButtonProps:this.cardCloseButtonProps,handleClose:this.handleCardClose,hasCloser:!0,headingId:this.getState("headingId"),label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloseButton:this.cardCloseButtonRef,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef}}renderDialogFC(){const s=this.getRenderProp("variant"),t="card"===s;return i(m,{handleCancel:this.handleCancel,handleClose:this.handleClose,label:r(this.getRenderProp("label")),labelledBy:t?this.getState("headingId"):void 0,modal:this.getState("modal"),refDialog:this.dialogRef,variant:s,width:this.getRenderProp("width")},t?i(o,Object.assign({},this.buildCardProps()),this.renderSlot()):this.renderSlot())}}export{j as B}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import"./prop.validators-kX7xC6qj.js";import{a as t,d as s,v as i}from"./component-BGqaexiY.js";import{a as e,S as o}from"./suggestions-By7hmqB7.js";import{h as a,g as r}from"./input-container-C8HGQnts.js";import{c as h,b as l,e as n}from"./props-from-config-B_k4h7ak.js";import{p}from"./placeholder-C2TRH0yn.js";import{r as d}from"./read-only-Do20HzKS.js";import{r as u}from"./required-DBer2Rxa.js";import{s as c}from"./smart-button-BB671N1B.js";import{s as m}from"./value-string-Dz7Sa2ex.js";import{f as v,B as y}from"./api-lgc52EwH.js";import{h as j}from"./index-BFGAlyrC.js";import{v as b}from"./access-and-short-key-ijzCZfHm.js";import{c as f}from"./element-interaction-sGYdEpmv.js";import{B as g}from"./base-web-component-puo2mSiH.js";import{C as B}from"./behavior-BeStbAbq.js";import{s as O}from"./controller-BNVDUbSt.js";const x=h("pattern",void 0,l),C={required:[...v.required],optional:[...v.optional,t,e,a,x,p,d,u,s,c,m,i]};class K extends y{constructor(){super(...arguments),this.ctaRef=f(),this.counter=new B(g.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=t=>{this._value=t.target.value,this.handleInput(t)},this.handleTextChange=(t,s)=>{this.handleChange(t,s)},this.handleTextFocus=t=>{var s,i;this.handleFocus(t),this.counter.retriggerAria(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)},this.handleTextKeyDown=t=>{var s,i;this.handleKeyDown(t),this.counter.handleKeyDown(t,null!==(i=null===(s=this.ctaRef.el)||void 0===s?void 0:s.value.length)&&void 0!==i?i:0),O(t,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=Boolean(this.textShared.getRenderProp("value"))}didLoadTextInput(){var t,s;this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0)}didUpdateTextInput(){var t,s;this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(s){t.apply(s,(t=>this.textShared.setRenderProp("accessKey",t))),b(s,this._shortKey)}applyAutoComplete(t){e.apply(t,(t=>this.textShared.setRenderProp("autoComplete",t)))}applyIcons(t){a.apply(t,(t=>this.textShared.setRenderProp("icons",t)))}applyPattern(t){x.apply(t,(t=>this.textShared.setRenderProp("pattern",t)))}applyPlaceholder(t){p.apply(t,(t=>this.textShared.setRenderProp("placeholder",t)))}applyReadOnly(t){d.apply(t,(t=>this.textShared.setRenderProp("readOnly",t)))}applyRequired(t){u.apply(t,(t=>this.textShared.setRenderProp("required",t)))}applyShortKey(t){s.apply(t,(t=>this.textShared.setRenderProp("shortKey",t))),b(this._accessKey,t)}applySmartButton(t){null==t?this.textShared.unsetRenderProp("smartButton"):c.apply(t,(t=>this.textShared.setRenderProp("smartButton",t)))}applyValue(t){var s;this.initValue(t),this.hasValue=Boolean(this.textShared.getRenderProp("value")),this.counter.update(null!==(s=null==t?void 0:t.length)&&void 0!==s?s:0)}initValue(t){m.apply(t,(t=>this.textShared.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp("value"))}initMaxLength(t){this.counter.watchMaxLength(t)}applyVariant(t){i.apply(t,(t=>this.textShared.setRenderProp("variant",t)))}applyHasCounter(t){this.counter.watchHasCounter(t),this.needsImmediateCounterUpdate=!0}applyMaxLength(t){var s,i;this.counter.watchMaxLength(t),this.counter.updateImmediate(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)}applyMaxLengthBehavior(t){this.counter.watchMaxLengthBehavior(t),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(t){const s=this.textShared;return this.getFormFieldProps({class:n(t,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:s.getRenderProp("accessKey")||void 0,shortKey:s.getRenderProp("shortKey")||void 0,variant:s.getRenderProp("variant"),required:s.getRenderProp("required"),readOnly:s.getRenderProp("readOnly"),maxLength:this.counter.getRenderProp("maxLength"),counter:this.counter.getCounterProps()})}getTextInputAdornments(t){return r({icons:this.textShared.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp("smartButton"),this.textShared.getRenderProp("disabled")),endAdornment:t})}getTextInputProps({type:t,spellcheck:s,multiple:i,suggestions:e},a={}){const r=this.textShared,h=r.getState("id"),l=r.getRenderProp("accessKey"),n=r.getRenderProp("shortKey"),p=r.getRenderProp("placeholder"),d=r.getRenderProp("pattern"),u=this.counter.getMaxLengthAttribute(),c=this.counter.getCharacterLimitHintId(h),{ariaDescribedBy:m,hasError:v}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:h,hideLabel:r.getRenderProp("hideLabel"),label:r.getRenderProp("label"),disabled:r.getRenderProp("disabled"),name:r.getRenderProp("name")||void 0},l?{accessKey:l}:{}),void 0!==t?{type:t}:{}),{value:r.getRenderProp("value"),required:r.getRenderProp("required")}),void 0!==u?{maxlength:u}:{}),void 0!==p?{placeholder:p}:{}),{autoComplete:r.getRenderProp("autoComplete")}),void 0!==s?{spellcheck:s}:{}),void 0!==d?{pattern:d}:{}),{readonly:r.getRenderProp("readOnly")}),void 0!==i?{multiple:i}:{}),{touched:r.getRenderProp("touched"),msg:r.getRenderProp("msg")}),n?{"aria-keyshortcuts":n}:{}),e&&e.length>0?{suggestions:j(o,{id:h,suggestions:e})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),a),{ariaDescribedBy:c?[...m,c]:m,"aria-invalid":v?"true":void 0})}}export{K as B,C as t}