@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,36 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { emptyStringByArrayHandler, objectObjectHandler, parseJson, watchValidator } from "../utils";
5
- const isHeaderRows = (rows) => {
6
- return Array.isArray(rows) && rows.every((headerRow) => Array.isArray(headerRow));
7
- };
8
- export const validateTableHeaders = (component, value) => {
9
- emptyStringByArrayHandler(value, () => {
10
- objectObjectHandler(value, () => {
11
- try {
12
- value = parseJson(value);
13
- }
14
- catch (e) {
15
- void e;
16
- }
17
- watchValidator(component, '_headers', (value) => {
18
- if (typeof value !== 'object' || value === null)
19
- return false;
20
- const horizontal = value.horizontal;
21
- const vertical = value.vertical;
22
- if ((horizontal !== undefined && !isHeaderRows(horizontal)) || (vertical !== undefined && !isHeaderRows(vertical))) {
23
- return false;
24
- }
25
- const allHeaderCells = [];
26
- for (const row of horizontal !== null && horizontal !== void 0 ? horizontal : []) {
27
- allHeaderCells.push(...row);
28
- }
29
- for (const col of vertical !== null && vertical !== void 0 ? vertical : []) {
30
- allHeaderCells.push(...col);
31
- }
32
- return allHeaderCells.every((cell) => cell.width === undefined || typeof cell.width === 'number');
33
- }, new Set(['TableHeaderCellsPropType']), value);
34
- });
35
- });
36
- };
1
+ export {};
@@ -1,22 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { parseJson, setState } from "../utils";
5
- import { isObject } from "../validators";
6
- export const validateTableSelection = (component, value) => {
7
- const parseSerializedValue = () => {
8
- try {
9
- return parseJson(value);
10
- }
11
- catch (_a) {
12
- return undefined;
13
- }
14
- };
15
- const validateObject = (value) => {
16
- return value && isObject(value) && typeof value.label === 'function' && (!value.selectedKeys || Array.isArray(value.selectedKeys));
17
- };
18
- const objectValue = typeof value === 'string' ? parseSerializedValue() : value;
19
- if (validateObject(objectValue)) {
20
- setState(component, '_selection', value);
21
- }
22
- };
1
+ export {};
@@ -1,21 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from "../utils";
5
- export const validateToolbarItems = (component, value) => {
6
- emptyStringByArrayHandler(value, () => {
7
- objectObjectHandler(value, () => {
8
- if (typeof value === 'undefined') {
9
- value = [];
10
- }
11
- try {
12
- value = parseJson(value);
13
- }
14
- catch (_a) {
15
- }
16
- if (Array.isArray(value) && value.every((items) => typeof items === 'object' && items !== null)) {
17
- setState(component, '_items', value);
18
- }
19
- });
20
- });
21
- };
1
+ export {};
@@ -1,7 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { validateAlignment } from "../validators";
5
- export const validateTooltipAlign = (component, value) => {
6
- validateAlignment(component, '_tooltipAlign', value);
7
- };
1
+ export {};
@@ -1,7 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { watchBoolean } from "../utils";
5
- export const validateTouched = (component, value) => {
6
- watchBoolean(component, '_touched', value);
7
- };
1
+ export {};
@@ -1,11 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { watchValidator } from "../utils";
5
4
  export const inputDateTypeOptions = ['date', 'datetime-local', 'month', 'time', 'week'];
6
- const isInputDateTypePropType = (value) => {
7
- return typeof value === 'string' && inputDateTypeOptions.includes(value);
8
- };
9
- export const validateTypeInputDate = (component, value) => {
10
- watchValidator(component, '_type', isInputDateTypePropType, new Set(inputDateTypeOptions), value);
11
- };
@@ -1,11 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { watchValidator } from "../utils";
5
4
  export const inputTextTypeOptions = ['text', 'search', 'url', 'tel'];
6
- const isInputTextTypePropType = (value) => {
7
- return typeof value === 'string' && inputTextTypeOptions.includes(value);
8
- };
9
- export const validateTypeInputText = (component, value) => {
10
- watchValidator(component, '_type', isInputTextTypePropType, new Set(inputTextTypeOptions), value);
11
- };
@@ -1,7 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { watchString } from "../utils";
5
- export const validateUnit = (component, value) => {
6
- watchString(component, '_unit', value);
7
- };
1
+ export {};
@@ -1,8 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { watchValidator } from "../../utils/prop.validators";
5
- const DialogVariantPropTypeOptions = ['blank', 'card'];
6
- export const validateDialogVariant = (component, value) => {
7
- watchValidator(component, '_variant', (value) => typeof value === 'string' && DialogVariantPropTypeOptions.includes(value), new Set(DialogVariantPropTypeOptions), value);
8
- };
1
+ export {};
@@ -1,4 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- export { validateDialogVariant as validateModalVariant } from './dialog';
1
+ export {};
@@ -1,8 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { watchValidator } from "../../utils/prop.validators";
5
- const PasswordVariantPropTypeOptions = ['default', 'visibility-toggle'];
6
- export const validatePasswordVariant = (component, value) => {
7
- watchValidator(component, '_variant', (value) => typeof value === 'string' && PasswordVariantPropTypeOptions.includes(value), new Set(PasswordVariantPropTypeOptions), value);
8
- };
1
+ export {};
@@ -1,11 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { watchValidator } from "../utils";
5
4
  export const alertVariantOptions = ['card', 'msg'];
6
- const isAlertVariantPropType = (value) => {
7
- return typeof value === 'string' && alertVariantOptions.includes(value);
8
- };
9
- export const validateAlertVariant = (component, value) => {
10
- watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);
11
- };
@@ -1,39 +1,6 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { watchValidator } from "../utils";
5
- import { isString } from "../validators";
6
- const SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{3,60}$/;
7
- const isValidArrayOrString = (value) => (Array.isArray(value) && value.every(isSafeClassName)) || (isString(value, 1) && value.split(' ').every(isSafeClassName));
8
- const isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);
9
- const SAFE_CLASS_NAME_ALLOWED = new Set([SAFE_CLASS_NAME_RE.source]);
10
- const beforePatchString = (component) => {
11
- var _a, _b, _c;
12
- if ((_a = component.nextState) === null || _a === void 0 ? void 0 : _a.has('_variant')) {
13
- const variants = (_b = component.nextState) === null || _b === void 0 ? void 0 : _b.get('_variant');
14
- let nextStateVariants = [];
15
- if (isString(variants, 1)) {
16
- nextStateVariants = variants.split(' ');
17
- }
18
- else if (Array.isArray(variants)) {
19
- nextStateVariants = variants;
20
- }
21
- (_c = component.nextState) === null || _c === void 0 ? void 0 : _c.set('_variant', nextStateVariants);
22
- }
23
- };
24
- export const validateVariantClassName = (component, value, options = {}) => {
25
- var _a;
26
- watchValidator(component, '_variant', isValidArrayOrString, SAFE_CLASS_NAME_ALLOWED, value, Object.assign(Object.assign({}, options), { defaultValue: [], hooks: {
27
- afterPatch: (_a = options.hooks) === null || _a === void 0 ? void 0 : _a.afterPatch,
28
- beforePatch: (nextValue, nextState, component, key) => {
29
- var _a, _b;
30
- if (typeof ((_a = options.hooks) === null || _a === void 0 ? void 0 : _a.beforePatch) === 'function') {
31
- (_b = options.hooks) === null || _b === void 0 ? void 0 : _b.beforePatch(nextValue, nextState, component, key);
32
- }
33
- beforePatchString(component);
34
- },
35
- } }));
36
- };
37
4
  export const classNameFromVariant = (variants, componentName) => {
38
5
  let className = '';
39
6
  if (Array.isArray(variants)) {
@@ -1,11 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { watchValidator } from "../utils";
5
4
  export const inputCheckboxVariantOptions = ['button', 'default', 'switch'];
6
- const isInputCheckboxVariantPropType = (value) => {
7
- return typeof value === 'string' && inputCheckboxVariantOptions.includes(value);
8
- };
9
- export const validateVariantInputCheckbox = (component, value) => {
10
- watchValidator(component, '_variant', isInputCheckboxVariantPropType, new Set(inputCheckboxVariantOptions), value);
11
- };
@@ -1,11 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { watchValidator } from "../utils";
5
4
  export const progressVariantOptions = ['bar', 'cycle'];
6
- const isProgressVariantPropType = (value) => {
7
- return typeof value === 'string' && progressVariantOptions.includes(value);
8
- };
9
- export const validateVariantProgress = (component, value) => {
10
- watchValidator(component, '_variant', isProgressVariantPropType, new Set(progressVariantOptions), value);
11
- };
@@ -1,7 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { watchBoolean } from "../utils";
5
- export const validateVisibilityToggle = (component, value, hooks) => {
6
- watchBoolean(component, '_visibilityToggle', value, hooks);
7
- };
1
+ export {};
@@ -1,7 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { watchString } from "../utils";
5
- export const validateWidth = (component, value, options) => {
6
- watchString(component, '_width', value, Object.assign({ defaultValue: '100%' }, options));
7
- };
1
+ export {};
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { hex } from "wcag-contrast";
5
4
  import rgba from "color-rgba";
6
5
  import rgbaConvert from "rgba-convert";
6
+ import { hex } from "wcag-contrast";
7
7
  export const getContrastYIQ = (r, g, b) => {
8
8
  const yiq = (r * 299 + g * 587 + b * 114) / 1000;
9
9
  return yiq >= 128 ? -1 : 1;
@@ -4,8 +4,7 @@
4
4
  import { getCssStyle, patchTheme, patchThemeTag } from "adopted-style-sheets";
5
5
  import rgba from "rgba-convert";
6
6
  import { hex, score } from "wcag-contrast";
7
- import { getDocument, getExperimentalMode, isValidationEnabled, Log } from "./dev.utils";
8
- import { devHint } from "./a11y.tipps";
7
+ import { getDocument, getExperimentalMode, Log } from "./dev.utils";
9
8
  const OBJECT_OBJECT = /\[object Object\]/;
10
9
  export const objectObjectHandler = (value, cb) => {
11
10
  if (typeof value === 'string' && OBJECT_OBJECT.test(value)) {
@@ -13,12 +12,6 @@ export const objectObjectHandler = (value, cb) => {
13
12
  }
14
13
  cb();
15
14
  };
16
- export const emptyStringByArrayHandler = (value, cb) => {
17
- if (typeof value === 'string' && value === '') {
18
- return;
19
- }
20
- cb();
21
- };
22
15
  export const setEventTarget = (event, target) => {
23
16
  if (getExperimentalMode()) {
24
17
  Log.debug([event, target]);
@@ -29,130 +22,6 @@ export const setEventTarget = (event, target) => {
29
22
  writable: false,
30
23
  });
31
24
  };
32
- const patchState = (component) => {
33
- var _a, _b, _c;
34
- (_a = component.nextHooks) === null || _a === void 0 ? void 0 : _a.forEach((hooks, key) => {
35
- var _a;
36
- const beforePatch = hooks.get('beforePatch');
37
- if (typeof beforePatch === 'function') {
38
- beforePatch((_a = component.nextState) === null || _a === void 0 ? void 0 : _a.get(key), component.nextState, component, key);
39
- }
40
- });
41
- if (((_b = component.nextState) === null || _b === void 0 ? void 0 : _b.size) > 0) {
42
- component.state = Object.assign(Object.assign({}, component.state), Object.fromEntries(component.nextState));
43
- delete component.nextState;
44
- (_c = component.nextHooks) === null || _c === void 0 ? void 0 : _c.forEach((hooks, key) => {
45
- const afterPatch = hooks.get('afterPatch');
46
- if (typeof afterPatch === 'function') {
47
- afterPatch(component.state[key], component.state, component, key);
48
- }
49
- });
50
- }
51
- delete component.nextHooks;
52
- };
53
- export const setState = (component, propName, value, hooks = {}) => {
54
- var _a, _b;
55
- if (component.nextHooks === undefined) {
56
- component.nextHooks = new Map();
57
- }
58
- if (component.nextState === undefined) {
59
- component.nextState = new Map();
60
- }
61
- const nextHooks = component.nextHooks.get(propName);
62
- if (nextHooks instanceof Map === false) {
63
- component.nextHooks.set(propName, new Map());
64
- }
65
- if (typeof hooks.afterPatch === 'function') {
66
- (_a = component.nextHooks.get(propName)) === null || _a === void 0 ? void 0 : _a.set('afterPatch', hooks.afterPatch);
67
- }
68
- if (typeof hooks.beforePatch === 'function') {
69
- (_b = component.nextHooks.get(propName)) === null || _b === void 0 ? void 0 : _b.set('beforePatch', hooks.beforePatch);
70
- }
71
- component.nextState.set(propName, value);
72
- patchState(component);
73
- };
74
- const logWarn = (component, propName, value, requiredGeneric) => {
75
- devHint(`[${component.constructor.name}] The property value: (${value}) for '${propName}' is not valid. Allowed values are: ${Array.from(requiredGeneric).join(', ')}`);
76
- };
77
- export function watchValidator(component, propName, validationFunction, requiredGeneric, value, options = {}) {
78
- if (!isValidationEnabled()) {
79
- if (value !== undefined) {
80
- setState(component, propName, value, options.hooks);
81
- }
82
- else if (validationFunction(undefined)) {
83
- setState(component, propName, undefined, options.hooks);
84
- }
85
- else if (options.required !== true && validationFunction(options.defaultValue)) {
86
- setState(component, propName, options.defaultValue, options.hooks);
87
- }
88
- return;
89
- }
90
- if (validationFunction(value)) {
91
- setState(component, propName, value, options.hooks);
92
- }
93
- else if (value === undefined && options.required !== true && validationFunction(options.defaultValue)) {
94
- setState(component, propName, options.defaultValue, options.hooks);
95
- }
96
- else {
97
- const allowedValues = new Set(requiredGeneric);
98
- if (!options.required) {
99
- allowedValues.add(null);
100
- }
101
- logWarn(component, propName, value, allowedValues);
102
- }
103
- }
104
- export const watchBoolean = (component, propName, value, options) => {
105
- watchValidator(component, propName, (value) => typeof value === 'boolean', new Set(['Boolean {true, false}']), value, options);
106
- };
107
- export const watchString = (component, propName, value, options = {}) => {
108
- const minLength = typeof options.minLength === 'number' ? options === null || options === void 0 ? void 0 : options.minLength : 0;
109
- watchValidator(component, propName, (value) => typeof value === 'string' && value.length >= minLength && (typeof (options === null || options === void 0 ? void 0 : options.maxLength) === 'undefined' || value.length <= options.maxLength), new Set([`String`]), value, options);
110
- };
111
- export const watchNumber = (component, propName, value, options) => {
112
- watchValidator(component, propName, (value) => typeof value === 'number' &&
113
- !isNaN(value) &&
114
- (typeof (options === null || options === void 0 ? void 0 : options.min) === 'undefined' || (typeof (options === null || options === void 0 ? void 0 : options.min) === 'number' && value >= options.min)) &&
115
- (typeof (options === null || options === void 0 ? void 0 : options.max) === 'undefined' || (typeof (options === null || options === void 0 ? void 0 : options.max) === 'number' && value <= options.max)), new Set(['Number']), value, options);
116
- };
117
- export const watchJsonArrayString = (component, propName, itemValidation, value, arrayValidation = (items) => items === items, options = {}) => {
118
- emptyStringByArrayHandler(value, () => {
119
- objectObjectHandler(value, () => {
120
- if (typeof value === 'undefined') {
121
- value = [];
122
- }
123
- try {
124
- try {
125
- value = parseJson(value);
126
- }
127
- catch (_a) {
128
- }
129
- if (Array.isArray(value)) {
130
- const skipValidation = !isValidationEnabled();
131
- const invalidIndex = skipValidation ? -1 : value.findIndex((item) => !itemValidation(item));
132
- const invalid = invalidIndex === -1 ? undefined : value[invalidIndex];
133
- if (invalidIndex === -1 && (skipValidation || arrayValidation(value))) {
134
- setState(component, propName, value, options.hooks);
135
- }
136
- else {
137
- objectObjectHandler(invalid, () => {
138
- Log.debug(invalid);
139
- throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`);
140
- });
141
- }
142
- }
143
- else {
144
- objectObjectHandler(value, () => {
145
- Log.debug(value);
146
- throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`);
147
- });
148
- }
149
- }
150
- catch (error) {
151
- Log.debug(error);
152
- }
153
- });
154
- });
155
- };
156
25
  export const stringifyJson = (value) => {
157
26
  try {
158
27
  return JSON.stringify(value).replace(/"/g, "'");
@@ -1,6 +1,10 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
+ const NUMBER_STRING_PATTERN = /^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;
5
+ export function isNumberString(value) {
6
+ return typeof value === 'string' && NUMBER_STRING_PATTERN.test(value) && Number.isFinite(Number(value));
7
+ }
4
8
  export const isObject = (value) => typeof value === 'object' && value !== null;
5
9
  export const isString = (value, minLength = 0) => typeof value === 'string' && value.length >= minLength;
6
10
  export const isStyle = (style) => {
@@ -1,6 +1,5 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- export * from './alignment';
5
4
  export * from './common';
6
5
  export * from './options';
@@ -1,9 +1,8 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { Log, getDocument, isTestMode, setColorContrastAnalysis, setExperimentalMode } from "../schema";
5
4
  import { Env } from "@stencil/core";
6
- import { getWindow } from "../schema";
5
+ import { Log, getDocument, getWindow, isTestMode, setColorContrastAnalysis, setExperimentalMode } from "../schema";
7
6
  const initMeta = () => {
8
7
  try {
9
8
  const document = getDocument();
@@ -1,6 +1,52 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import MarkdownIt from "markdown-it";
5
- const markdown = new MarkdownIt();
6
- export const md = (str) => markdown.renderInline(str);
4
+ const NULL_CHARACTERS = new RegExp(String.fromCharCode(0), 'g');
5
+ const REPLACEMENT_CHARACTER = String.fromCharCode(65533);
6
+ const NAMED_ENTITIES = {
7
+ amp: '&',
8
+ apos: "'",
9
+ gt: '>',
10
+ lt: '<',
11
+ nbsp: String.fromCharCode(160),
12
+ quot: '"',
13
+ };
14
+ const decodeCodePoint = (code) => Number.isInteger(code) && code >= 32 && code <= 0x10ffff && !(code >= 0xd800 && code <= 0xdfff) ? String.fromCodePoint(code) : undefined;
15
+ const decodeEntities = (str) => str
16
+ .replace(/&#(\d+);/g, (reference, code) => { var _a; return (_a = decodeCodePoint(Number.parseInt(code, 10))) !== null && _a !== void 0 ? _a : reference; })
17
+ .replace(/&#x([0-9a-f]+);/gi, (reference, code) => { var _a; return (_a = decodeCodePoint(Number.parseInt(code, 16))) !== null && _a !== void 0 ? _a : reference; })
18
+ .replace(/&([a-z]+);/gi, (reference, name) => { var _a; return (_a = NAMED_ENTITIES[name.toLowerCase()]) !== null && _a !== void 0 ? _a : reference; });
19
+ const escapeHtml = (str) => str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
20
+ const DELIMITER_NEIGHBOUR = '\\s!-/:-@\\[-^`{-~';
21
+ const OPENER_PREFIX = `(^|[${DELIMITER_NEIGHBOUR}])`;
22
+ const CLOSER_SUFFIX = `(?=$|[${DELIMITER_NEIGHBOUR}])`;
23
+ const CONTENT = '\\S(?:[\\s\\S]*\\S)?';
24
+ const HARD_BREAK = /[ \t]{2,}\n/g;
25
+ const STRIKETHROUGH = new RegExp(`~~(${CONTENT})~~`, 'g');
26
+ const ASTERISK_STRONG = new RegExp(`\\*\\*(${CONTENT})\\*\\*`, 'g');
27
+ const ASTERISK_EM = /\*([^\s*](?:[^*]*[^\s*])?)\*/g;
28
+ const TRIPLE_ASTERISK_STRONG_EM = new RegExp(`\\*\\*\\*(${CONTENT})\\*\\*\\*`, 'g');
29
+ const UNDERSCORE_STRONG = new RegExp(`${OPENER_PREFIX}__(${CONTENT})__${CLOSER_SUFFIX}`, 'g');
30
+ const UNDERSCORE_EM = new RegExp(`${OPENER_PREFIX}_([^\\s_](?:[^_]*[^\\s_])?)_${CLOSER_SUFFIX}`, 'g');
31
+ const TRIPLE_UNDERSCORE_STRONG_EM = new RegExp(`${OPENER_PREFIX}___(${CONTENT})___${CLOSER_SUFFIX}`, 'g');
32
+ const formatInline = (str) => str
33
+ .replace(HARD_BREAK, '<br>\n')
34
+ .replace(TRIPLE_ASTERISK_STRONG_EM, '<em><strong>$1</strong></em>')
35
+ .replace(TRIPLE_UNDERSCORE_STRONG_EM, '$1<em><strong>$2</strong></em>')
36
+ .replace(STRIKETHROUGH, '<s>$1</s>')
37
+ .replace(ASTERISK_STRONG, '<strong>$1</strong>')
38
+ .replace(UNDERSCORE_STRONG, '$1<strong>$2</strong>')
39
+ .replace(ASTERISK_EM, '<em>$1</em>')
40
+ .replace(UNDERSCORE_EM, '$1<em>$2</em>');
41
+ export const md = (str) => {
42
+ const escapedMarkers = [];
43
+ return (escapeHtml(decodeEntities(str.replace(/\r\n?/g, '\n').replace(NULL_CHARACTERS, REPLACEMENT_CHARACTER)))
44
+ .replace(/\\([\\`*_~[\]()#+\-.!>{}])/g, (_match, marker) => {
45
+ escapedMarkers.push(marker);
46
+ return `<${escapedMarkers.length - 1}>`;
47
+ })
48
+ .split(/(`[^`]+`)/)
49
+ .map((segment, index) => (index % 2 === 0 ? formatInline(segment) : `<code>${segment.slice(1, -1)}</code>`))
50
+ .join('')
51
+ .replace(/<(\d+)>/g, (_match, index) => { var _a; return (_a = escapedMarkers[Number.parseInt(index, 10)]) !== null && _a !== void 0 ? _a : ''; }));
52
+ };
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ export const getLoggedMessages = (calls) => calls.map(([message]) => String(Array.isArray(message) ? message[0] : message));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { executeSnapshotTests } from "./snapshot-testing";
5
5
  export function executeInputSnapshotTests(ComponentName, components, extendedProps, options = {}) {
6
- const baseObj = Object.assign({ _label: 'Label', _name: 'field', _placeholder: 'Hier steht ein Platzhaltertext' }, (extendedProps || {}));
6
+ const baseObj = Object.assign({ _label: 'Label', _name: 'field', _placeholder: 'Hier steht ein Platzhaltertext' }, extendedProps);
7
7
  const propVariants = [
8
8
  Object.assign({}, baseObj),
9
9
  Object.assign(Object.assign({}, baseObj), { _accessKey: 'V' }),
@@ -9,12 +9,13 @@ const propsToLabel = (props) => {
9
9
  .join(' ');
10
10
  };
11
11
  export const executeSnapshotTests = (ComponentName, components, propVariants) => {
12
+ const TagName = ComponentName;
12
13
  describe(ComponentName, () => {
13
14
  const testTable = propVariants.map((props) => [propsToLabel(props), props]);
14
15
  it.each(testTable)('should render with %s', async (_, props) => {
15
16
  const page = await newSpecPage({
16
17
  components,
17
- template: () => h(ComponentName, Object.assign({}, props)),
18
+ template: () => h(TagName, Object.assign({}, props)),
18
19
  });
19
20
  await page.waitForChanges();
20
21
  expect(page.root).toMatchSnapshot();
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as e,k as i,H as t,b as o}from"./bem-registry.js";import{d as s}from"./disabled.js";import{h as l,e as r,j as a}from"./component2.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as m}from"./props-from-config.js";import{l as v}from"./label-with-expert-slot.js";import{n as b}from"./component8.js";import{a as f}from"./tslib.es6.js";import{S as g,b as y,s as j}from"./component6.js";import{r as _}from"./aria-labelledby.js";import{a as B,c as L,n as O}from"./dev.utils.js";import{K as T,d as F}from"./events.js";import{B as N}from"./base-web-component.js";import{c as x}from"./item.js";import{F as K}from"./behavior3.js";import{c as k}from"./item2.js";import{T as w}from"./behavior.js";import{h as A}from"@stencil/core/internal/client";import{t as P}from"./i18n.js";import{T as C}from"./component9.js";import{P as D}from"./behavior4.js";import{A as H}from"./component.js";function I(e,i){return Boolean(e)&&!0===i}function M(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const S=n("ariaDetails","",d),q=n("hideMsg",!1,h),E=n("hint","",d),$=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),z=c(),R=n("msg",void 0,(function(i){if("string"==typeof i)try{return e(i)}catch(e){return i}return i}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&t(e._description,1))})),V=n("touched",!1,h),G={required:[v],optional:[S,s,l,q,E,$,z,R,b,r,V]},J=e=>{var{id:i,class:t,hint:o,baseClassName:s="kol-form-field"}=e,l=f(e,["id","class","hint","baseClassName"]);return o?A("span",Object.assign({class:p(`${s}__hint`,t),id:B(i||"","hint")},l),o):null},Q=e=>{var{component:i="label",id:t,baseClassName:o="kol-form-field",class:s,accessKey:l,shortKey:r,label:a,hideLabel:n,hasExpertSlot:d,omitId:h,showBadge:c=!0,readOnly:u,infoPopover:m}=e,v=f(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const b=!d&&n,j=!1===c?void 0:y(l,r);return A(i,Object.assign({},v,{class:p(`${o}__label`,s),id:b||h?void 0:B(t,"label"),hidden:b,htmlFor:"legend"===i?void 0:t}),A(g,{class:`${o}__label-text`,label:d?"":null!=a?a:"",badgeText:j},A("slot",{name:"expert"})),!d&&u&&A("span",{class:`${o}__label__read-only`,"aria-hidden":"true"},"(",P("kol-readonly"),")"),!d&&m&&A("span",null,A(D,Object.assign({},m.popoverButton),A("div",{class:"kol-popover-button__popover--styled"},m.content))))},U=i=>{var t,o,{alert:s,hideMsg:l,msg:r,id:a,class:n}=i,d=f(i,["alert","hideMsg","msg","id","class"]);const h=function(i){if("string"==typeof i)try{return e(i)}catch(e){return{_description:i,_type:"error"}}return i&&"object"==typeof i&&!("_type"in i)?Object.assign(Object.assign({},i),{_type:"error"}):i}(r);return A(H,Object.assign({alert:!l&&(null!==(t=null==h?void 0:h._alert)&&void 0!==t?t:!0===s),class:p("kol-form-field__msg",l&&"visually-hidden",n),closerAriaDescriptionId:O(),handleCloserClick:()=>{},hasCloser:!1,headingId:L("alert-heading"),id:B(a,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(o=null==h?void 0:h._type)&&void 0!==o?o:"error",variant:"msg"},d),(null==h?void 0:h._description)||void 0)},W=o.forBlock("kol-form-field"),X=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!j(i)&&!0===e,Y=e=>{const i=M(e);return{[i]:!0,[`msg-type-${i}`]:!0}},Z=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:o,renderNoHint:s,id:l,required:r,alert:n,disabled:d,class:h,msg:c,hideMsg:m,hideLabel:v,label:b,infoPopover:g,hint:_,accessKey:L,shortKey:O,counter:T,readOnly:F,touched:N,maxLength:x,ariaDescribedBy:K,showBadge:k,tooltipAlign:w,variant:D,component:H="div",orientation:M,refInput:S,refTooltip:q}=e,E=f(e,["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(b),z=I(c,N),R=y(L,O),V=X({hideLabel:v,label:b,renderNoTooltip:o}),G="fieldset"===H;return A(u,Object.assign({component:H,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(d),required:Boolean(r),touched:Boolean(N),"hide-label":Boolean(v),"read-only":Boolean(F),"hidden-msg":Boolean(m)},z?Y(c):{}),class:p(D&&a(D,"form-field"),h),disabled:!(!G||!d)||void 0,"aria-describedby":K},E),!t&&A(Q,{component:G?"legend":"label",class:G?"kol-form-field__label--legend":void 0,id:l,hasExpertSlot:$,hideLabel:v,label:b,accessKey:L,shortKey:O,readOnly:F,showBadge:k,infoPopover:g}),A("div",{class:W("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},i,V&&A("div",{class:W("tooltip")},A(C,{badgeText:R||"",label:b,align:w,id:B(l,"label"),refFloating:q}))),T&&!("soft"===T.maxLengthBehavior&&"number"!=typeof T.maxLength)&&A("div",{class:W("counter")},A("span",{"aria-hidden":"true",class:W("counter"),ref:T.visualRef}),A("span",{"aria-live":"polite",class:"visually-hidden",id:B(l,"counter"),ref:T.ariaRef})),z&&A(U,{id:l,alert:n,hideMsg:m,msg:c}),!s&&A(J,{id:l,hint:_}),"number"==typeof x&&!T&&A("span",{id:B(l,"character-limit-hint"),class:"visually-hidden"},P("kol-character-limit-hint",{placeholders:{limit:String(x)}})))};function ee({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?m(t):void 0}}const ie=class extends N{constructor(){super(...arguments),this.tooltipBehavior=new w(N.stateLess),this.smartButton=x((()=>this.host)),this.infoPopover=k({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(T.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(T.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(T.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(T.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(T.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)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new K(N.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()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:i}=e,t=f(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},t),{_hideLabel:!0,_inline:!0})),content:i}}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){S.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=_(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){s.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){l.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){q.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){E.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){$.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){v.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){R.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){b.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){z.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){r.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){V.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(T.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"===M(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(B(e,"msg")),a&&n.push(B(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 X({hideLabel:e.getRenderProp("hideLabel"),label:m(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,c=h.getState("id"),p=h.getRenderProp("label"),u=h.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(u),this.tooltipBehavior.watchBadgeText(y(i,t)||""),this.tooltipBehavior.watchId(B(c,"label")),this.tooltipBehavior.watchLabel(p)):this.tooltipBehavior.destroy(),{id:c,disabled:h.getRenderProp("disabled"),msg:h.getRenderProp("msg"),hint:h.getRenderProp("hint"),label:p,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:u,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:a,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}};export{ie as B,Z as F,J as a,Q as b,ee as c,G as f,M as g,I as i}
4
+ import{p as e,l as i,H as t,b as o}from"./bem-registry.js";import{d as s}from"./disabled.js";import{h as l,e as r,j as a}from"./component2.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as m}from"./props-from-config.js";import{l as v}from"./label-with-expert-slot.js";import{n as b}from"./component8.js";import{a as f}from"./tslib.es6.js";import{r as g}from"./aria-labelledby.js";import{S as y,b as j,s as _}from"./component6.js";import{a as B}from"./dev.utils.js";import{K as L,d as O}from"./events.js";import{B as T}from"./base-web-component.js";import{c as F}from"./item.js";import{F as N}from"./behavior3.js";import{c as x}from"./item2.js";import{T as K}from"./behavior.js";import{h as w}from"@stencil/core/internal/client";import{t as A}from"./i18n.js";import{T as P}from"./component9.js";import{P as k}from"./behavior4.js";import{A as C}from"./component.js";function D(e,i){return Boolean(e)&&!0===i}function H(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const I=n("ariaDetails","",d),M=n("hideMsg",!1,h),S=n("hint","",d),q=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),E=c(),$=n("msg",void 0,(function(i){if("string"==typeof i)try{return e(i)}catch(e){return i}return i}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&t(e._description,1))})),z=n("touched",!1,h),R={required:[v],optional:[I,s,l,M,S,q,E,$,b,r,z]},V=e=>{var{id:i,class:t,hint:o,baseClassName:s="kol-form-field"}=e,l=f(e,["id","class","hint","baseClassName"]);return o?w("span",Object.assign({class:p(`${s}__hint`,t),id:B(i||"","hint")},l),o):null},G=e=>{var{component:i="label",id:t,baseClassName:o="kol-form-field",class:s,accessKey:l,shortKey:r,label:a,hideLabel:n,hasExpertSlot:d,omitId:h,showBadge:c=!0,readOnly:u,infoPopover:m}=e,v=f(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const b=!d&&n,g=!1===c?void 0:j(l,r);return w(i,Object.assign({},v,{class:p(`${o}__label`,s),id:b||h?void 0:B(t,"label"),hidden:b,htmlFor:"legend"===i?void 0:t}),w(y,{class:`${o}__label-text`,label:d?"":null!=a?a:"",badgeText:g},w("slot",{name:"expert"})),!d&&u&&w("span",{class:`${o}__label__read-only`,"aria-hidden":"true"},"(",A("kol-readonly"),")"),!d&&m&&w("span",null,w(k,Object.assign({},m.popoverButton),w("div",{class:"kol-popover-button__popover--styled"},m.content))))},J=i=>{var t,o,{alert:s,hideMsg:l,msg:r,id:a,class:n}=i,d=f(i,["alert","hideMsg","msg","id","class"]);const h=function(i){if("string"==typeof i)try{return e(i)}catch(e){return{_description:i,_type:"error"}}return i&&"object"==typeof i&&!("_type"in i)?Object.assign(Object.assign({},i),{_type:"error"}):i}(r);return w(C,Object.assign({alert:!l&&(null!==(t=null==h?void 0:h._alert)&&void 0!==t?t:!0===s),class:p("kol-form-field__msg",l&&"visually-hidden",n),closerAriaDescriptionId:B(a,"msg-closer-description"),handleCloserClick:()=>{},hasCloser:!1,headingId:B(a,"msg-heading"),id:B(a,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(o=null==h?void 0:h._type)&&void 0!==o?o:"error",variant:"msg"},d),(null==h?void 0:h._description)||void 0)},Q=o.forBlock("kol-form-field"),U=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!_(i)&&!0===e,W=e=>{const i=H(e);return{[i]:!0,[`msg-type-${i}`]:!0}},X=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:o,renderNoHint:s,id:l,required:r,alert:n,disabled:d,class:h,msg:c,hideMsg:m,hideLabel:v,label:b,infoPopover:g,hint:y,accessKey:L,shortKey:O,counter:T,readOnly:F,touched:N,maxLength:x,ariaDescribedBy:K,showBadge:k,tooltipAlign:C,variant:H,component:I="div",orientation:M,refInput:S,refTooltip:q}=e,E=f(e,["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"]),$=_(b),z=D(c,N),R=j(L,O),X=U({hideLabel:v,label:b,renderNoTooltip:o}),Y="fieldset"===I;return w(u,Object.assign({component:I,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(d),required:Boolean(r),touched:Boolean(N),"hide-label":Boolean(v),"read-only":Boolean(F),"hidden-msg":Boolean(m)},z?W(c):{}),class:p(H&&a(H,"form-field"),h),disabled:!(!Y||!d)||void 0,"aria-describedby":K},E),!t&&w(G,{component:Y?"legend":"label",class:Y?"kol-form-field__label--legend":void 0,id:l,hasExpertSlot:$,hideLabel:v,label:b,accessKey:L,shortKey:O,readOnly:F,showBadge:k,infoPopover:g}),w("div",{class:Q("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},i,X&&w("div",{class:Q("tooltip")},w(P,{badgeText:R||"",label:b,align:C,id:B(l,"label"),refFloating:q}))),T&&!("soft"===T.maxLengthBehavior&&"number"!=typeof T.maxLength)&&w("div",{class:Q("counter")},w("span",{"aria-hidden":"true",class:Q("counter"),ref:T.visualRef}),w("span",{"aria-live":"polite",class:"visually-hidden",id:B(l,"counter"),ref:T.ariaRef})),z&&w(J,{id:l,alert:n,hideMsg:m,msg:c}),!s&&w(V,{id:l,hint:y}),"number"==typeof x&&!T&&w("span",{id:B(l,"character-limit-hint"),class:"visually-hidden"},A("kol-character-limit-hint",{placeholders:{limit:String(x)}})))};function Y({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?m(t):void 0}}const Z=class extends T{constructor(){super(...arguments),this.tooltipBehavior=new K(T.stateLess),this.smartButton=F((()=>this.host)),this.infoPopover=x({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(L.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(L.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(L.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(L.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(L.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 N(T.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 e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:i}=e,t=f(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},t),{_hideLabel:!0,_inline:!0})),content:i}}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){I.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=g(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){s.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){l.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){M.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){S.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){q.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){v.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){$.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){b.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){r.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&&O(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(L.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"===H(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(B(e,"msg")),a&&n.push(B(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 U({hideLabel:e.getRenderProp("hideLabel"),label:m(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,c=h.getState("id"),p=h.getRenderProp("label"),u=h.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(u),this.tooltipBehavior.watchBadgeText(j(i,t)||""),this.tooltipBehavior.watchId(B(c,"label")),this.tooltipBehavior.watchLabel(p)):this.tooltipBehavior.destroy(),{id:c,disabled:h.getRenderProp("disabled"),msg:h.getRenderProp("msg"),hint:h.getRenderProp("hint"),label:p,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:u,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:a,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}};export{Z as B,X as F,V as a,G as b,Y as c,R as f,H as g,D as i}