@public-ui/components 5.0.0-beta.1 → 5.0.0-beta.2

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 (969) 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 +9 -55
  7. package/dist/cjs/{Heading-C9osvqjY.js → Heading-o_m1bQbh.js} +7 -7
  8. package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BrLP4fF_.js} +2 -0
  9. package/dist/cjs/{api-U7I3XBPI.js → api-SFTkHR9W.js} +32 -34
  10. package/dist/cjs/{app-globals-DsADKGEe.js → app-globals-BVGzsN2O.js} +6 -5
  11. package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-CgJJS0K5.js} +2 -13
  12. package/dist/cjs/ariaCurrentService-aysGX58T.js +30 -0
  13. package/dist/cjs/{base-DCxbMk0f.js → base-4xLnw9ep.js} +17 -19
  14. package/dist/cjs/{base-l99dGLYo.js → base-DGpJZOXm.js} +67 -73
  15. package/dist/cjs/{base-DcN_YC72.js → base-DJhwvwdo.js} +13 -14
  16. package/dist/cjs/{base-CyqDmoZZ.js → base-DoujJ-Xz.js} +14 -15
  17. package/dist/cjs/{base-web-component-BnaxS2Z3.js → base-web-component-BgX5i_fc.js} +16 -19
  18. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-DSCg1arP.js} +2 -1
  19. package/dist/cjs/{base-web-component-DxJ0hQ9u.js → base-web-component-nGb9E-GX.js} +17 -19
  20. package/dist/cjs/{behavior-BNyFQ_B5.js → behavior-CBwUdaXu.js} +10 -10
  21. package/dist/cjs/{behavior-CTaw4dj3.js → behavior-DhfuU2HF.js} +5 -5
  22. package/dist/cjs/{behavior-DrFJy0QC.js → behavior-S2U8skNd.js} +33 -33
  23. package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-CMf1T2kb.js} +61 -15
  24. package/dist/cjs/bootstrap-C4GRmpTI.js +59 -0
  25. package/dist/cjs/{color-BW4t1Cif.js → color-BWamMCyw.js} +4 -4
  26. package/dist/cjs/{component-lmJOXuD6.js → component-BGIFlgKu.js} +8 -11
  27. package/dist/cjs/component-BM6eWMuC.js +177 -0
  28. package/dist/cjs/{component-Cvjqbxf4.js → component-CKc_-O64.js} +15 -18
  29. package/dist/cjs/{component-Cty_HlJR.js → component-CweSM_ze.js} +6 -5
  30. package/dist/cjs/{component-4OErV1Bg.js → component-DPCpVWBj.js} +11 -13
  31. package/dist/cjs/{component-DAQ1XSNA.js → component-DSlW2KVw.js} +6 -8
  32. package/dist/cjs/component-DTC3WbHR.js +52 -0
  33. package/dist/cjs/{component-DF5q9ssd.js → component-DUvRV4FE.js} +13 -14
  34. package/dist/cjs/component-SeQac11p.js +19 -0
  35. package/dist/cjs/component-names-CyEXMjv9.js +121 -0
  36. package/dist/cjs/{component-DtxKrISb.js → component-t6Upgw7f.js} +6 -7
  37. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-CXinV5ii.js} +5 -5
  38. package/dist/cjs/{controller-tEyAFJN9.js → controller-D4usgPg-.js} +20 -20
  39. package/dist/cjs/{dev.utils-D5qh-RLT.js → dev.utils-glOxiW4E.js} +9 -10
  40. package/dist/cjs/{devtools-Dtv-Apvj.js → devtools-VDx5moKY.js} +24 -25
  41. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-CZJO6fbW.js} +2 -1
  42. package/dist/cjs/{element-focus-CzkKMwtn.js → element-focus-IBv4yiNw.js} +1 -0
  43. package/dist/cjs/{element-interaction-BtYQAbhu.js → element-interaction-CvCJFwUh.js} +2 -1
  44. package/dist/cjs/{events-BJC5JJcU.js → events-fafEzzml.js} +2 -0
  45. package/dist/cjs/{field-control-Btb5zapE.js → field-control-xEw1WZFL.js} +12 -13
  46. package/dist/cjs/{group-Dg2gJze5.js → group-CMns8Vns.js} +8 -9
  47. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-Cs7BCj4r.js} +2 -1
  48. package/dist/cjs/{href-BBhiVyPb.js → href-C93ktLo4.js} +2 -1
  49. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DXYL9rIn.js} +11 -6
  50. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-YdI7_XKo.js} +3 -3
  51. package/dist/cjs/{id-D1VZsLkg.js → id-CtES_I0D.js} +2 -1
  52. package/dist/cjs/{index-BacpU-d0.js → index-B65pR1Ir.js} +1807 -61
  53. package/dist/cjs/index.cjs.js +20 -14
  54. package/dist/cjs/input-Bi8Zo8Bv.js +18 -0
  55. package/dist/cjs/{input-container-PaL4ZNf3.js → input-container-BErSDYvG.js} +17 -20
  56. package/dist/cjs/{item-CLnIJY4J.js → item-BHQRF4Sp.js} +9 -9
  57. package/dist/cjs/{item-CErU-EPA.js → item-BLhkAIub.js} +9 -9
  58. package/dist/cjs/{item-Cckqxc6T.js → item-BVHbqXo2.js} +56 -35
  59. package/dist/cjs/{item-CPxmIcoq.js → item-N9AmF46D.js} +16 -17
  60. package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-ecjkEvCG.js} +2 -0
  61. package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-DHPlsLs0.js} +2 -0
  62. package/dist/cjs/kol-abbr.cjs.entry.js +12 -16
  63. package/dist/cjs/kol-accordion.cjs.entry.js +23 -25
  64. package/dist/cjs/kol-alert.cjs.entry.js +34 -36
  65. package/dist/cjs/kol-avatar.cjs.entry.js +19 -19
  66. package/dist/cjs/kol-badge.cjs.entry.js +34 -37
  67. package/dist/cjs/kol-breadcrumb.cjs.entry.js +39 -42
  68. package/dist/cjs/kol-button-link.cjs.entry.js +33 -35
  69. package/dist/cjs/kol-button.cjs.entry.js +33 -35
  70. package/dist/cjs/kol-card.cjs.entry.js +35 -38
  71. package/dist/cjs/kol-combobox.cjs.entry.js +52 -54
  72. package/dist/cjs/kol-details.cjs.entry.js +23 -25
  73. package/dist/cjs/kol-dialog.cjs.entry.js +38 -41
  74. package/dist/cjs/kol-drawer.cjs.entry.js +38 -41
  75. package/dist/cjs/kol-form.cjs.entry.js +32 -35
  76. package/dist/cjs/kol-heading.cjs.entry.js +17 -19
  77. package/dist/cjs/kol-icon.cjs.entry.js +19 -17
  78. package/dist/cjs/kol-image.cjs.entry.js +12 -14
  79. package/dist/cjs/kol-input-checkbox.cjs.entry.js +62 -63
  80. package/dist/cjs/kol-input-color.cjs.entry.js +51 -52
  81. package/dist/cjs/kol-input-date.cjs.entry.js +54 -56
  82. package/dist/cjs/kol-input-email.cjs.entry.js +54 -55
  83. package/dist/cjs/kol-input-file.cjs.entry.js +49 -50
  84. package/dist/cjs/kol-input-number.cjs.entry.js +56 -57
  85. package/dist/cjs/kol-input-password.cjs.entry.js +54 -55
  86. package/dist/cjs/kol-input-radio.cjs.entry.js +50 -53
  87. package/dist/cjs/kol-input-range.cjs.entry.js +48 -50
  88. package/dist/cjs/kol-input-text.cjs.entry.js +55 -56
  89. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -16
  90. package/dist/cjs/kol-link-button.cjs.entry.js +34 -36
  91. package/dist/cjs/kol-link.cjs.entry.js +33 -35
  92. package/dist/cjs/kol-meter.cjs.entry.js +22 -25
  93. package/dist/cjs/kol-modal.cjs.entry.js +38 -41
  94. package/dist/cjs/kol-nav.cjs.entry.js +50 -53
  95. package/dist/cjs/kol-pagination.cjs.entry.js +55 -58
  96. package/dist/cjs/kol-popover-button.cjs.entry.js +34 -36
  97. package/dist/cjs/kol-progress.cjs.entry.js +22 -19
  98. package/dist/cjs/kol-quote.cjs.entry.js +13 -15
  99. package/dist/cjs/kol-select.cjs.entry.js +47 -49
  100. package/dist/cjs/kol-single-select.cjs.entry.js +59 -56
  101. package/dist/cjs/kol-skip-nav.cjs.entry.js +37 -40
  102. package/dist/cjs/kol-spin.cjs.entry.js +16 -19
  103. package/dist/cjs/kol-split-button.cjs.entry.js +39 -41
  104. package/dist/cjs/kol-table-stateful.cjs.entry.js +74 -75
  105. package/dist/cjs/kol-table-stateless.cjs.entry.js +54 -66
  106. package/dist/cjs/kol-tabs.cjs.entry.js +50 -56
  107. package/dist/cjs/kol-textarea.cjs.entry.js +55 -55
  108. package/dist/cjs/kol-toast-container.cjs.entry.js +24 -28
  109. package/dist/cjs/kol-toolbar.cjs.entry.js +57 -56
  110. package/dist/cjs/kol-tree-item.cjs.entry.js +38 -38
  111. package/dist/cjs/kol-tree.cjs.entry.js +35 -25
  112. package/dist/cjs/kol-version.cjs.entry.js +25 -28
  113. package/dist/cjs/kolibri.cjs.js +6 -5
  114. package/dist/cjs/{label-vVOiX4dC.js → label-0j3-2J3C.js} +4 -3
  115. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-DEiM49uy.js} +4 -4
  116. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-BBCLeyBy.js} +3 -2
  117. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-D0wokf7-.js} +4 -3
  118. package/dist/cjs/{level-BAiEYu4U.js → level-xVivGv7t.js} +2 -1
  119. package/dist/cjs/{link-target-4AzB3I84.js → link-target-D9qpCovV.js} +2 -1
  120. package/dist/cjs/{links-CPNK7VZo.js → links-DlW9up_d.js} +3 -3
  121. package/dist/cjs/loader.cjs.js +5 -4
  122. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-DO-asa_4.js} +2 -1
  123. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-BUKMKQvN.js} +2 -1
  124. package/dist/cjs/{open-CvoX_qxD.js → open-BVqlpoxd.js} +2 -1
  125. package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-DuXVixiW.js} +2 -0
  126. package/dist/cjs/{options-z7FKffHh.js → options-Dg3zz7Wo.js} +2 -0
  127. package/dist/cjs/{options-B2pQC9w2.js → options-vneqbPL0.js} +3 -3
  128. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-DL6G4K4r.js} +2 -1
  129. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-C-ecB96f.js} +2 -1
  130. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-Bm6Pf2tK.js} +96 -16
  131. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-D__auxXg.js} +2 -1
  132. package/dist/cjs/{required-CdXn16dq.js → required-DqW-WueJ.js} +2 -1
  133. package/dist/cjs/{resolve-props-B8kPPEMw.js → resolve-props-CjhxUwj-.js} +9 -9
  134. package/dist/cjs/{resolve-props-B5MED90T.js → resolve-props-DKYD6i56.js} +9 -10
  135. package/dist/cjs/{rows-Ca5ya9tG.js → rows-Z8UDqY9u.js} +2 -1
  136. package/dist/cjs/{scroll-lock-jojYHBR3.js → scroll-lock-DgqKifg3.js} +8 -7
  137. package/dist/cjs/shared-state-C2e8sL5f.js +16 -0
  138. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-C_S63qaB.js} +3 -3
  139. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-CT0WE9tq.js} +2 -1
  140. package/dist/cjs/{src-C3NG0rLO.js → src-Bwu1rJi2.js} +2 -1
  141. package/dist/cjs/{step-CZNyTb2h.js → step-W8T4AA1l.js} +2 -1
  142. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-C-tM7INY.js} +4 -4
  143. package/dist/cjs/{suggestions-CRyB_YCX.js → suggestions-DvPhi4lP.js} +3 -3
  144. package/dist/cjs/test-component.cjs.entry.js +3 -3
  145. package/dist/cjs/theme-store-CHGfvYB-.js +13 -0
  146. package/dist/cjs/{toggle-handler-DRPltZqQ.js → toggle-handler-DHEfrMM0.js} +13 -16
  147. package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-DaQFzT-b.js} +8 -5
  148. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CpJcPNBO.js} +3 -3
  149. package/dist/cjs/{unit-bsoemclF.js → unit-CNVBdvOH.js} +2 -1
  150. package/dist/cjs/{validators-DuLdbf2D.js → validators-BM9XrnzJ.js} +4 -1
  151. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-DXRes-dR.js} +2 -1
  152. package/dist/cjs/{width-BklaRCqt.js → width-BAwXHART.js} +2 -1
  153. package/dist/collection/collection-manifest.json +1 -8
  154. package/dist/collection/components/abbr/component.js +2 -2
  155. package/dist/collection/components/abbr/style.css +21 -0
  156. package/dist/collection/components/accordion/component.js +2 -2
  157. package/dist/collection/components/accordion/style.css +23 -2
  158. package/dist/collection/components/alert/component.js +6 -4
  159. package/dist/collection/components/alert/style.css +23 -2
  160. package/dist/collection/components/avatar/component.js +2 -2
  161. package/dist/collection/components/avatar/style.css +21 -0
  162. package/dist/collection/components/badge/component.js +2 -2
  163. package/dist/collection/components/badge/style.css +23 -2
  164. package/dist/collection/components/breadcrumb/component.js +2 -2
  165. package/dist/collection/components/breadcrumb/style.css +23 -2
  166. package/dist/collection/components/button/component.js +1 -1
  167. package/dist/collection/components/button/style.css +23 -2
  168. package/dist/collection/components/button-link/component.js +1 -1
  169. package/dist/collection/components/button-link/style.css +23 -2
  170. package/dist/collection/components/card/component.js +2 -2
  171. package/dist/collection/components/card/style.css +26 -2
  172. package/dist/collection/components/combobox/component.js +4 -4
  173. package/dist/collection/components/combobox/style.css +23 -2
  174. package/dist/collection/components/details/component.js +2 -2
  175. package/dist/collection/components/details/style.css +23 -2
  176. package/dist/collection/components/dialog/base.js +2 -2
  177. package/dist/collection/components/dialog/component.js +2 -2
  178. package/dist/collection/components/dialog/style.css +26 -2
  179. package/dist/collection/components/drawer/component.js +2 -2
  180. package/dist/collection/components/drawer/style.css +26 -2
  181. package/dist/collection/components/form/component.js +2 -2
  182. package/dist/collection/components/form/controller.js +4 -3
  183. package/dist/collection/components/form/style.css +23 -2
  184. package/dist/collection/components/heading/component.js +2 -2
  185. package/dist/collection/components/heading/style.css +21 -0
  186. package/dist/collection/components/icon/component.js +5 -5
  187. package/dist/collection/components/icon/style.css +2 -2
  188. package/dist/collection/components/image/component.js +2 -2
  189. package/dist/collection/components/image/style.css +21 -0
  190. package/dist/collection/components/input-checkbox/component.js +13 -11
  191. package/dist/collection/components/input-checkbox/style.css +23 -2
  192. package/dist/collection/components/input-color/component.js +6 -4
  193. package/dist/collection/components/input-color/style.css +23 -2
  194. package/dist/collection/components/input-date/component.js +9 -7
  195. package/dist/collection/components/input-date/style.css +23 -2
  196. package/dist/collection/components/input-email/component.js +4 -1
  197. package/dist/collection/components/input-email/style.css +23 -2
  198. package/dist/collection/components/input-file/component.js +6 -3
  199. package/dist/collection/components/input-file/style.css +23 -2
  200. package/dist/collection/components/input-number/component.js +6 -4
  201. package/dist/collection/components/input-number/style.css +23 -2
  202. package/dist/collection/components/input-password/component.js +5 -2
  203. package/dist/collection/components/input-password/style.css +23 -2
  204. package/dist/collection/components/input-radio/component.js +2 -3
  205. package/dist/collection/components/input-radio/style.css +23 -2
  206. package/dist/collection/components/input-range/component.js +2 -2
  207. package/dist/collection/components/input-range/style.css +23 -2
  208. package/dist/collection/components/input-text/component.js +4 -2
  209. package/dist/collection/components/input-text/style.css +23 -2
  210. package/dist/collection/components/kolibri/component.js +2 -2
  211. package/dist/collection/components/kolibri/style.css +21 -0
  212. package/dist/collection/components/link/ariaCurrentService.js +9 -9
  213. package/dist/collection/components/link/component.js +2 -2
  214. package/dist/collection/components/link/style.css +23 -2
  215. package/dist/collection/components/link-button/component.js +2 -2
  216. package/dist/collection/components/link-button/style.css +23 -2
  217. package/dist/collection/components/meter/component.js +2 -2
  218. package/dist/collection/components/meter/style.css +21 -0
  219. package/dist/collection/components/modal/component.js +2 -2
  220. package/dist/collection/components/modal/style.css +26 -2
  221. package/dist/collection/components/nav/component.js +2 -2
  222. package/dist/collection/components/nav/style.css +23 -2
  223. package/dist/collection/components/pagination/component.js +10 -12
  224. package/dist/collection/components/pagination/style.css +23 -2
  225. package/dist/collection/components/popover-button/component.js +1 -1
  226. package/dist/collection/components/popover-button/style.css +23 -2
  227. package/dist/collection/components/progress/component.js +6 -3
  228. package/dist/collection/components/progress/style.css +21 -0
  229. package/dist/collection/components/quote/component.js +2 -2
  230. package/dist/collection/components/quote/style.css +21 -0
  231. package/dist/collection/components/select/component.js +1 -1
  232. package/dist/collection/components/select/style.css +23 -2
  233. package/dist/collection/components/single-select/component.js +10 -6
  234. package/dist/collection/components/single-select/style.css +23 -2
  235. package/dist/collection/components/skip-nav/component.js +2 -2
  236. package/dist/collection/components/skip-nav/style.css +23 -2
  237. package/dist/collection/components/spin/component.js +2 -2
  238. package/dist/collection/components/spin/style.css +21 -0
  239. package/dist/collection/components/split-button/component.js +1 -1
  240. package/dist/collection/components/split-button/style.css +23 -2
  241. package/dist/collection/components/table-stateful/component.js +13 -18
  242. package/dist/collection/components/table-stateful/style.css +26 -2
  243. package/dist/collection/components/table-stateless/base.js +4 -1
  244. package/dist/collection/components/table-stateless/component.js +14 -55
  245. package/dist/collection/components/table-stateless/style.css +26 -2
  246. package/dist/collection/components/tabs/component.js +8 -17
  247. package/dist/collection/components/tabs/style.css +23 -2
  248. package/dist/collection/components/textarea/component.js +5 -3
  249. package/dist/collection/components/textarea/style.css +23 -2
  250. package/dist/collection/components/toaster/shadow.js +1 -2
  251. package/dist/collection/components/toaster/style.css +23 -2
  252. package/dist/collection/components/toaster/toaster.js +2 -1
  253. package/dist/collection/components/toolbar/component.js +14 -10
  254. package/dist/collection/components/toolbar/style.css +23 -2
  255. package/dist/collection/components/tree/component.js +22 -11
  256. package/dist/collection/components/tree/style.css +21 -0
  257. package/dist/collection/components/tree-item/component.js +9 -6
  258. package/dist/collection/components/tree-item/style.css +23 -2
  259. package/dist/collection/components/version/component.js +2 -2
  260. package/dist/collection/components/version/style.css +23 -2
  261. package/dist/collection/core/bootstrap.js +8 -5
  262. package/dist/collection/core/component-names.js +52 -106
  263. package/dist/collection/core/i18n.js +7 -6
  264. package/dist/collection/core/shared-state.js +10 -0
  265. package/dist/collection/core/tag-transformer.js +27 -0
  266. package/dist/collection/core/theme-store.js +8 -0
  267. package/dist/collection/global/script.js +2 -0
  268. package/dist/collection/index.js +2 -0
  269. package/dist/collection/internal/functional-components/alert/component.js +2 -1
  270. package/dist/collection/internal/functional-components/avatar/component.js +2 -2
  271. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  272. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  273. package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
  274. package/dist/collection/internal/functional-components/card/component.js +3 -1
  275. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  276. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  277. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  278. package/dist/collection/internal/functional-components/drawer/component.js +1 -1
  279. package/dist/collection/internal/functional-components/form-association/api.js +2 -2
  280. package/dist/collection/internal/functional-components/form-association/behavior.js +18 -15
  281. package/dist/collection/internal/functional-components/form-field/base-web-component.js +0 -1
  282. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  283. package/dist/collection/internal/functional-components/heading/component.js +3 -4
  284. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  285. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  286. package/dist/collection/internal/functional-components/image/component.js +2 -4
  287. package/dist/collection/internal/functional-components/link/component.js +1 -1
  288. package/dist/collection/internal/functional-components/meter/component.js +5 -7
  289. package/dist/collection/internal/functional-components/pagination/api.js +2 -2
  290. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  291. package/dist/collection/internal/functional-components/pagination/item.js +26 -11
  292. package/dist/collection/internal/functional-components/pagination/page-size-select.js +8 -0
  293. package/dist/collection/internal/functional-components/progress/component.js +2 -1
  294. package/dist/collection/internal/functional-components/quote/component.js +2 -3
  295. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  296. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  297. package/dist/collection/internal/functional-components/span/component.js +3 -2
  298. package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
  299. package/dist/collection/internal/functional-components/table-stateless/component.js +5 -5
  300. package/dist/collection/internal/functional-components/table-stateless/settings.js +10 -5
  301. package/dist/collection/internal/functional-components/table-stateless/table-model.js +2 -6
  302. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  303. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  304. package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
  305. package/dist/collection/internal/props/helpers/validators.js +1 -0
  306. package/dist/collection/internal/props/index.js +1 -0
  307. package/dist/collection/internal/props/label-decorative.js +10 -0
  308. package/dist/collection/locales/de.js +1 -0
  309. package/dist/collection/locales/en.js +1 -0
  310. package/dist/collection/schema/bem-registry.js +59 -13
  311. package/dist/collection/schema/i18n-keys.js +29 -28
  312. package/dist/collection/schema/props/aria-details.js +1 -22
  313. package/dist/collection/schema/props/aria-labelledby.js +3 -12
  314. package/dist/collection/schema/props/index.js +1 -1
  315. package/dist/collection/schema/props/table-headers.js +1 -0
  316. package/dist/collection/utils/aria-labelledby.js +0 -12
  317. package/dist/collection/utils/markdown.js +49 -3
  318. package/dist/collection/utils/tooltip-open-tracking.js +6 -5
  319. package/dist/components/Heading.js +1 -1
  320. package/dist/components/access-and-short-key.js +1 -1
  321. package/dist/components/ariaCurrentService.js +1 -1
  322. package/dist/components/base-web-component.js +1 -1
  323. package/dist/components/base-web-component2.js +1 -1
  324. package/dist/components/base-web-component3.js +1 -1
  325. package/dist/components/base-web-component4.js +1 -1
  326. package/dist/components/base.js +1 -1
  327. package/dist/components/base2.js +1 -1
  328. package/dist/components/base3.js +1 -1
  329. package/dist/components/base4.js +1 -1
  330. package/dist/components/behavior.js +1 -1
  331. package/dist/components/behavior2.js +1 -1
  332. package/dist/components/behavior3.js +1 -1
  333. package/dist/components/behavior4.js +1 -1
  334. package/dist/components/bem-registry.js +1 -1
  335. package/dist/components/bootstrap.js +1 -1
  336. package/dist/components/color.js +1 -1
  337. package/dist/components/common.js +4 -0
  338. package/dist/components/component-names.js +1 -1
  339. package/dist/components/component.js +1 -1
  340. package/dist/components/component10.js +1 -1
  341. package/dist/components/component11.js +1 -1
  342. package/dist/components/component12.js +4 -0
  343. package/dist/components/component13.js +4 -0
  344. package/dist/components/component14.js +4 -0
  345. package/dist/components/component2.js +1 -1
  346. package/dist/components/component3.js +1 -1
  347. package/dist/components/component4.js +1 -1
  348. package/dist/components/component5.js +1 -1
  349. package/dist/components/component6.js +1 -1
  350. package/dist/components/component7.js +1 -1
  351. package/dist/components/component8.js +1 -1
  352. package/dist/components/component9.js +1 -1
  353. package/dist/components/contrast.js +1 -1
  354. package/dist/components/controller.js +1 -1
  355. package/dist/components/dev.utils.js +1 -1
  356. package/dist/components/devtools.js +1 -1
  357. package/dist/components/disabled.js +1 -1
  358. package/dist/components/element-focus.js +1 -1
  359. package/dist/components/element-interaction.js +1 -1
  360. package/dist/components/events.js +1 -1
  361. package/dist/components/field-control.js +1 -1
  362. package/dist/components/group.js +1 -1
  363. package/dist/components/has-closer.js +1 -1
  364. package/dist/components/i18n.js +1 -1
  365. package/dist/components/i18n2.js +1 -1
  366. package/dist/components/id.js +1 -1
  367. package/dist/components/index.js +1 -1
  368. package/dist/components/input-container.js +1 -1
  369. package/dist/components/input.js +1 -1
  370. package/dist/components/item-pool.js +1 -1
  371. package/dist/components/item.js +1 -1
  372. package/dist/components/item2.js +1 -1
  373. package/dist/components/item3.js +1 -1
  374. package/dist/components/item4.js +1 -1
  375. package/dist/components/keyboard.js +1 -1
  376. package/dist/components/kol-abbr.js +1 -1
  377. package/dist/components/kol-accordion.js +1 -1
  378. package/dist/components/kol-alert.js +1 -1
  379. package/dist/components/kol-avatar.js +1 -1
  380. package/dist/components/kol-badge.js +1 -1
  381. package/dist/components/kol-breadcrumb.js +1 -1
  382. package/dist/components/kol-button-link.js +1 -1
  383. package/dist/components/kol-button.js +1 -1
  384. package/dist/components/kol-card.js +1 -1
  385. package/dist/components/kol-combobox.js +1 -1
  386. package/dist/components/kol-details.js +1 -1
  387. package/dist/components/kol-dialog.js +1 -1
  388. package/dist/components/kol-drawer.js +1 -1
  389. package/dist/components/kol-form.js +1 -1
  390. package/dist/components/kol-heading.js +1 -1
  391. package/dist/components/kol-icon.js +1 -1
  392. package/dist/components/kol-image.js +1 -1
  393. package/dist/components/kol-input-checkbox.js +1 -1
  394. package/dist/components/kol-input-color.js +1 -1
  395. package/dist/components/kol-input-date.js +1 -1
  396. package/dist/components/kol-input-email.js +1 -1
  397. package/dist/components/kol-input-file.js +1 -1
  398. package/dist/components/kol-input-number.js +1 -1
  399. package/dist/components/kol-input-password.js +1 -1
  400. package/dist/components/kol-input-radio.js +1 -1
  401. package/dist/components/kol-input-range.js +1 -1
  402. package/dist/components/kol-input-text.js +1 -1
  403. package/dist/components/kol-kolibri.js +1 -1
  404. package/dist/components/kol-link-button.js +1 -1
  405. package/dist/components/kol-link.js +1 -1
  406. package/dist/components/kol-meter.js +1 -1
  407. package/dist/components/kol-modal.js +1 -1
  408. package/dist/components/kol-nav.js +1 -1
  409. package/dist/components/kol-pagination.js +1 -1
  410. package/dist/components/kol-popover-button.js +1 -1
  411. package/dist/components/kol-progress.js +1 -1
  412. package/dist/components/kol-quote.js +1 -1
  413. package/dist/components/kol-select.js +1 -1
  414. package/dist/components/kol-single-select.js +1 -1
  415. package/dist/components/kol-skip-nav.js +1 -1
  416. package/dist/components/kol-spin.js +1 -1
  417. package/dist/components/kol-split-button.js +1 -1
  418. package/dist/components/kol-table-stateful.js +1 -1
  419. package/dist/components/kol-table-stateless.js +1 -1
  420. package/dist/components/kol-tabs.js +1 -1
  421. package/dist/components/kol-textarea.js +1 -1
  422. package/dist/components/kol-toast-container.js +1 -1
  423. package/dist/components/kol-toolbar.js +1 -1
  424. package/dist/components/kol-tree-item.js +1 -1
  425. package/dist/components/kol-tree.js +1 -1
  426. package/dist/components/kol-version.js +1 -1
  427. package/dist/components/label-hints.js +1 -1
  428. package/dist/components/label-lang-segment.js +1 -1
  429. package/dist/components/label-with-expert-slot.js +1 -1
  430. package/dist/components/label.js +1 -1
  431. package/dist/components/level.js +1 -1
  432. package/dist/components/link-target.js +1 -1
  433. package/dist/components/links.js +1 -1
  434. package/dist/components/multiple.js +1 -1
  435. package/dist/components/number-value.js +1 -1
  436. package/dist/components/open-items-cache.js +1 -1
  437. package/dist/components/open.js +1 -1
  438. package/dist/components/options.js +1 -1
  439. package/dist/components/options2.js +1 -1
  440. package/dist/components/orientation.js +1 -1
  441. package/dist/components/placeholder.js +1 -1
  442. package/dist/components/read-only.js +1 -1
  443. package/dist/components/required.js +1 -1
  444. package/dist/components/resolve-props.js +1 -1
  445. package/dist/components/resolve-props2.js +1 -1
  446. package/dist/components/rows.js +1 -1
  447. package/dist/components/scroll-lock.js +1 -1
  448. package/dist/components/shared-state.js +4 -0
  449. package/dist/components/smart-button.js +1 -1
  450. package/dist/components/spell-check.js +1 -1
  451. package/dist/components/src.js +1 -1
  452. package/dist/components/step.js +1 -1
  453. package/dist/components/suggestions.js +1 -1
  454. package/dist/components/suggestions2.js +1 -1
  455. package/dist/components/test-component.js +1 -1
  456. package/dist/components/toggle-handler.js +1 -1
  457. package/dist/components/tooltip-open-tracking.js +1 -1
  458. package/dist/components/unique-nav-labels.js +1 -1
  459. package/dist/components/unit.js +1 -1
  460. package/dist/components/validators.js +1 -1
  461. package/dist/components/value-string.js +1 -1
  462. package/dist/components/width.js +1 -1
  463. package/dist/esm/{Heading-BVhjT9av.js → Heading-Cynkalqu.js} +2 -2
  464. package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-CW0oxi_q.js} +2 -0
  465. package/dist/esm/{api-D92_O-0H.js → api-B76-Osk1.js} +21 -23
  466. package/dist/esm/{app-globals-CBGjgNge.js → app-globals-Dtu1AIr1.js} +4 -3
  467. package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-DQov9uSv.js} +3 -13
  468. package/dist/esm/ariaCurrentService-B9TgWLEw.js +27 -0
  469. package/dist/esm/{base-DIcqHqMz.js → base-BZCFxul4.js} +13 -14
  470. package/dist/esm/{base-BLBSJu_1.js → base-BpgzOuy3.js} +13 -14
  471. package/dist/esm/{base-qvPPg-dn.js → base-CAiOx0qs.js} +52 -58
  472. package/dist/esm/{base-CHmdLgoO.js → base-DJ3lTPYp.js} +14 -16
  473. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-D16FuHFf.js} +2 -1
  474. package/dist/esm/{base-web-component-CaAexWy_.js → base-web-component-E9cH8tf8.js} +16 -18
  475. package/dist/esm/{base-web-component-DbagnM7m.js → base-web-component-aOhHFXxF.js} +10 -13
  476. package/dist/esm/{behavior-DW7_5Wxp.js → behavior-ByyBa-o8.js} +5 -5
  477. package/dist/esm/{behavior-CwUUkdaP.js → behavior-DJQFXyfi.js} +6 -6
  478. package/dist/esm/{behavior-B08CXmI4.js → behavior-DnTJtQBK.js} +29 -28
  479. package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-CK2s_XZ4.js} +60 -14
  480. package/dist/esm/bootstrap-DUmk0ILT.js +52 -0
  481. package/dist/esm/{color-eAL9I7Wq.js → color-CEoIhjJR.js} +3 -3
  482. package/dist/esm/{component-8ALsFV4i.js → component-BPL1Mikq.js} +5 -6
  483. package/dist/esm/{component-D0mBOGjS.js → component-C0ijstyp.js} +10 -12
  484. package/dist/esm/component-C58IwTEf.js +47 -0
  485. package/dist/esm/{component-nR5Bf9G5.js → component-CAEpgoSo.js} +6 -5
  486. package/dist/esm/component-CDyoNoJe.js +17 -0
  487. package/dist/esm/{component-CdKSiR5P.js → component-CiTw4ODP.js} +6 -9
  488. package/dist/esm/component-DTV1Kuf1.js +172 -0
  489. package/dist/esm/{component-DCw1ZAE5.js → component-DeFANBua.js} +5 -7
  490. package/dist/esm/{component-DBAicJ2u.js → component-S6ib3O8N.js} +13 -16
  491. package/dist/esm/{component-BTMWoACz.js → component-XbTjo2nm.js} +11 -13
  492. package/dist/esm/component-names-Ur_UbEzI.js +115 -0
  493. package/dist/esm/{contrast-D78VGPFR.js → contrast-Ujnfz49m.js} +2 -2
  494. package/dist/esm/{controller-C3O9ohSP.js → controller-BdPVgWDs.js} +5 -5
  495. package/dist/esm/{dev.utils-wYkYn08d.js → dev.utils--eVyQ4zr.js} +1 -2
  496. package/dist/esm/{devtools-DrBkkLdP.js → devtools-CosbyboJ.js} +4 -5
  497. package/dist/esm/{disabled-Cqhc40CU.js → disabled-Cu0e92-b.js} +2 -1
  498. package/dist/esm/{element-focus-BIRmGg5W.js → element-focus-BYLFG-oz.js} +1 -0
  499. package/dist/esm/{element-interaction-sGYdEpmv.js → element-interaction-C2pgnQ6t.js} +2 -1
  500. package/dist/esm/{events-BIT-JUP2.js → events-B2UzbUT7.js} +2 -0
  501. package/dist/esm/{field-control-Cs5VvsYo.js → field-control-DbmtKHc1.js} +7 -8
  502. package/dist/esm/{group-uNo1CfbK.js → group-CqAFhkgE.js} +6 -7
  503. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-DOs1CXhp.js} +2 -1
  504. package/dist/esm/{href-JqLbNBsW.js → href-DQbHtp6T.js} +2 -1
  505. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-Bcb0tuyF.js} +11 -6
  506. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-Cf0DhAke.js} +2 -2
  507. package/dist/esm/{id-CIYvVaNr.js → id-BXwy9iRy.js} +2 -1
  508. package/dist/esm/{index-BKEJuyFi.js → index-Bsx5X6jK.js} +1745 -46
  509. package/dist/esm/index.js +14 -12
  510. package/dist/esm/{input-Dja5Qioc.js → input-RvLnUp6C.js} +4 -6
  511. package/dist/esm/{input-container-C2Am7LEP.js → input-container-BpG3WHug.js} +6 -9
  512. package/dist/esm/{item-D627ShRd.js → item-Cw_jdgc6.js} +14 -15
  513. package/dist/esm/{item-DIAFIFSy.js → item-DMttg5uX.js} +51 -30
  514. package/dist/esm/{item-ConW1c81.js → item-DibV9jD7.js} +8 -8
  515. package/dist/esm/{item-C4AmpdVD.js → item-KqTsA-5a.js} +8 -8
  516. package/dist/esm/{item-pool-BOxAYePG.js → item-pool-C_4Isquh.js} +2 -0
  517. package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-Cc1-_wSt.js} +2 -0
  518. package/dist/esm/kol-abbr.entry.js +11 -15
  519. package/dist/esm/kol-accordion.entry.js +22 -24
  520. package/dist/esm/kol-alert.entry.js +34 -36
  521. package/dist/esm/kol-avatar.entry.js +19 -19
  522. package/dist/esm/kol-badge.entry.js +31 -34
  523. package/dist/esm/kol-breadcrumb.entry.js +36 -39
  524. package/dist/esm/kol-button-link.entry.js +33 -35
  525. package/dist/esm/kol-button.entry.js +33 -35
  526. package/dist/esm/kol-card.entry.js +35 -38
  527. package/dist/esm/kol-combobox.entry.js +51 -53
  528. package/dist/esm/kol-details.entry.js +22 -24
  529. package/dist/esm/kol-dialog.entry.js +38 -41
  530. package/dist/esm/kol-drawer.entry.js +38 -41
  531. package/dist/esm/kol-form.entry.js +30 -33
  532. package/dist/esm/kol-heading.entry.js +17 -19
  533. package/dist/esm/kol-icon.entry.js +19 -17
  534. package/dist/esm/kol-image.entry.js +12 -14
  535. package/dist/esm/kol-input-checkbox.entry.js +57 -58
  536. package/dist/esm/kol-input-color.entry.js +51 -52
  537. package/dist/esm/kol-input-date.entry.js +53 -55
  538. package/dist/esm/kol-input-email.entry.js +54 -55
  539. package/dist/esm/kol-input-file.entry.js +49 -50
  540. package/dist/esm/kol-input-number.entry.js +55 -56
  541. package/dist/esm/kol-input-password.entry.js +53 -54
  542. package/dist/esm/kol-input-radio.entry.js +47 -50
  543. package/dist/esm/kol-input-range.entry.js +48 -50
  544. package/dist/esm/kol-input-text.entry.js +55 -56
  545. package/dist/esm/kol-kolibri.entry.js +12 -15
  546. package/dist/esm/kol-link-button.entry.js +33 -35
  547. package/dist/esm/kol-link.entry.js +33 -35
  548. package/dist/esm/kol-meter.entry.js +22 -25
  549. package/dist/esm/kol-modal.entry.js +38 -41
  550. package/dist/esm/kol-nav.entry.js +43 -46
  551. package/dist/esm/kol-pagination.entry.js +55 -58
  552. package/dist/esm/kol-popover-button.entry.js +34 -36
  553. package/dist/esm/kol-progress.entry.js +22 -19
  554. package/dist/esm/kol-quote.entry.js +13 -15
  555. package/dist/esm/kol-select.entry.js +47 -49
  556. package/dist/esm/kol-single-select.entry.js +58 -55
  557. package/dist/esm/kol-skip-nav.entry.js +35 -38
  558. package/dist/esm/kol-spin.entry.js +16 -19
  559. package/dist/esm/kol-split-button.entry.js +37 -39
  560. package/dist/esm/kol-table-stateful.entry.js +70 -71
  561. package/dist/esm/kol-table-stateless.entry.js +54 -66
  562. package/dist/esm/kol-tabs.entry.js +46 -52
  563. package/dist/esm/kol-textarea.entry.js +53 -53
  564. package/dist/esm/kol-toast-container.entry.js +22 -26
  565. package/dist/esm/kol-toolbar.entry.js +52 -51
  566. package/dist/esm/kol-tree-item.entry.js +38 -38
  567. package/dist/esm/kol-tree.entry.js +35 -25
  568. package/dist/esm/kol-version.entry.js +24 -27
  569. package/dist/esm/kolibri.js +7 -6
  570. package/dist/esm/{label-BRosRgdX.js → label-DEZIsnKw.js} +4 -3
  571. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-C--ftrg_.js} +2 -2
  572. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-B8ayoizG.js} +3 -2
  573. package/dist/esm/label-with-expert-slot-DXi27J4o.js +13 -0
  574. package/dist/esm/{level-CA1s1_Mf.js → level-BV6M_zmM.js} +2 -1
  575. package/dist/esm/{link-target-FX94oqMo.js → link-target-C9qzQAQg.js} +2 -1
  576. package/dist/esm/{links-DwucTqcR.js → links-Dt0OhMXb.js} +2 -2
  577. package/dist/esm/loader.js +6 -5
  578. package/dist/esm/{multiple-DqrZxybx.js → multiple-DQdOCIyW.js} +2 -1
  579. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-DtZloH4P.js} +2 -1
  580. package/dist/esm/{open-DRRv1KFK.js → open-DaO7wXMr.js} +2 -1
  581. package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-C98FzYQ9.js} +2 -0
  582. package/dist/esm/{options-DCaUcfAu.js → options-C8BsBGBl.js} +2 -2
  583. package/dist/esm/{options-B0rBHetL.js → options-CKAHQbcF.js} +2 -0
  584. package/dist/esm/{orientation-XNOCaPwy.js → orientation-VvJMCd9m.js} +2 -1
  585. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-7pbjAn-x.js} +2 -1
  586. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-DVxNB2Lx.js} +84 -7
  587. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-3XuQIAB8.js} +2 -1
  588. package/dist/esm/{required-hoaT7UmZ.js → required-CNgdXJ8H.js} +2 -1
  589. package/dist/esm/{resolve-props-BLZxWC3j.js → resolve-props-B1DQKjTD.js} +7 -8
  590. package/dist/esm/{resolve-props-D2KiItuv.js → resolve-props-DOaJCd7Y.js} +9 -9
  591. package/dist/esm/{rows-B0x8CR7K.js → rows-DL1whQNh.js} +2 -1
  592. package/dist/esm/{scroll-lock-Y2hf47KW.js → scroll-lock-CF_Z7MzO.js} +9 -7
  593. package/dist/esm/shared-state-sWI1upS8.js +14 -0
  594. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-BdA5-cUG.js} +2 -2
  595. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-B7J-eU5K.js} +2 -1
  596. package/dist/esm/{src-DaGhmCL1.js → src-C2baLPDp.js} +2 -1
  597. package/dist/esm/{step-Bdj89bGO.js → step-DmzcVFZB.js} +2 -1
  598. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-BJxNFtkL.js} +2 -2
  599. package/dist/esm/{suggestions-DuqzGDve.js → suggestions-BXp8OhOi.js} +3 -3
  600. package/dist/esm/test-component.entry.js +3 -3
  601. package/dist/esm/theme-store-CEu5d_EK.js +11 -0
  602. package/dist/esm/{toggle-handler-BRLmxe1J.js → toggle-handler-D7oFDKvq.js} +12 -15
  603. package/dist/esm/tooltip-open-tracking-DXhnfmA2.js +21 -0
  604. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-BOqpcYk4.js} +2 -2
  605. package/dist/esm/{unit-BUhhJbhT.js → unit-BFYz7QfA.js} +2 -1
  606. package/dist/esm/{validators-BVM40IEr.js → validators-DPSQyOeQ.js} +4 -2
  607. package/dist/esm/{value-string-e9pwLcS-.js → value-string-Cmozozek.js} +2 -1
  608. package/dist/esm/{width-CgYY17tL.js → width-D5-Licpp.js} +2 -1
  609. package/dist/kolibri/Heading-Cynkalqu.js +4 -0
  610. package/dist/kolibri/access-and-short-key-CW0oxi_q.js +4 -0
  611. package/dist/kolibri/api-B76-Osk1.js +4 -0
  612. package/dist/kolibri/app-globals-Dtu1AIr1.js +4 -0
  613. package/dist/kolibri/aria-labelledby-DQov9uSv.js +4 -0
  614. package/dist/kolibri/ariaCurrentService-B9TgWLEw.js +4 -0
  615. package/dist/kolibri/base-BZCFxul4.js +4 -0
  616. package/dist/kolibri/base-BpgzOuy3.js +4 -0
  617. package/dist/kolibri/base-CAiOx0qs.js +4 -0
  618. package/dist/kolibri/base-DJ3lTPYp.js +4 -0
  619. package/dist/kolibri/base-web-component-D16FuHFf.js +4 -0
  620. package/dist/kolibri/base-web-component-E9cH8tf8.js +4 -0
  621. package/dist/kolibri/base-web-component-aOhHFXxF.js +4 -0
  622. package/dist/kolibri/behavior-ByyBa-o8.js +4 -0
  623. package/dist/kolibri/behavior-DJQFXyfi.js +4 -0
  624. package/dist/kolibri/behavior-DnTJtQBK.js +4 -0
  625. package/dist/kolibri/bem-registry-CK2s_XZ4.js +4 -0
  626. package/dist/kolibri/bootstrap-DUmk0ILT.js +4 -0
  627. package/dist/kolibri/color-CEoIhjJR.js +4 -0
  628. package/dist/kolibri/component-BPL1Mikq.js +4 -0
  629. package/dist/kolibri/component-C0ijstyp.js +4 -0
  630. package/dist/kolibri/component-C58IwTEf.js +4 -0
  631. package/dist/kolibri/component-CAEpgoSo.js +4 -0
  632. package/dist/kolibri/component-CDyoNoJe.js +4 -0
  633. package/dist/kolibri/component-CiTw4ODP.js +4 -0
  634. package/dist/kolibri/component-DTV1Kuf1.js +4 -0
  635. package/dist/kolibri/component-DeFANBua.js +4 -0
  636. package/dist/kolibri/component-S6ib3O8N.js +4 -0
  637. package/dist/kolibri/component-XbTjo2nm.js +4 -0
  638. package/dist/kolibri/component-names-Ur_UbEzI.js +4 -0
  639. package/dist/kolibri/contrast-Ujnfz49m.js +4 -0
  640. package/dist/kolibri/controller-BdPVgWDs.js +4 -0
  641. package/dist/kolibri/dev.utils--eVyQ4zr.js +4 -0
  642. package/dist/kolibri/devtools-CosbyboJ.js +4 -0
  643. package/dist/kolibri/disabled-Cu0e92-b.js +4 -0
  644. package/dist/kolibri/element-focus-BYLFG-oz.js +4 -0
  645. package/dist/kolibri/element-interaction-C2pgnQ6t.js +4 -0
  646. package/dist/kolibri/events-B2UzbUT7.js +4 -0
  647. package/dist/kolibri/field-control-DbmtKHc1.js +4 -0
  648. package/dist/kolibri/group-CqAFhkgE.js +4 -0
  649. package/dist/kolibri/has-closer-DOs1CXhp.js +4 -0
  650. package/dist/kolibri/href-DQbHtp6T.js +4 -0
  651. package/dist/kolibri/i18n-Bcb0tuyF.js +4 -0
  652. package/dist/kolibri/i18n-Cf0DhAke.js +4 -0
  653. package/dist/kolibri/id-BXwy9iRy.js +4 -0
  654. package/dist/kolibri/index-Bsx5X6jK.js +6 -0
  655. package/dist/kolibri/index.esm.js +1 -1
  656. package/dist/kolibri/input-RvLnUp6C.js +4 -0
  657. package/dist/kolibri/input-container-BpG3WHug.js +4 -0
  658. package/dist/kolibri/item-Cw_jdgc6.js +4 -0
  659. package/dist/kolibri/item-DMttg5uX.js +4 -0
  660. package/dist/kolibri/item-DibV9jD7.js +4 -0
  661. package/dist/kolibri/item-KqTsA-5a.js +4 -0
  662. package/dist/kolibri/item-pool-C_4Isquh.js +4 -0
  663. package/dist/kolibri/keyboard-Cc1-_wSt.js +4 -0
  664. package/dist/kolibri/kol-abbr.entry.js +1 -1
  665. package/dist/kolibri/kol-accordion.entry.js +1 -1
  666. package/dist/kolibri/kol-alert.entry.js +1 -1
  667. package/dist/kolibri/kol-avatar.entry.js +1 -1
  668. package/dist/kolibri/kol-badge.entry.js +1 -1
  669. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  670. package/dist/kolibri/kol-button-link.entry.js +1 -1
  671. package/dist/kolibri/kol-button.entry.js +1 -1
  672. package/dist/kolibri/kol-card.entry.js +1 -1
  673. package/dist/kolibri/kol-combobox.entry.js +1 -1
  674. package/dist/kolibri/kol-details.entry.js +1 -1
  675. package/dist/kolibri/kol-dialog.entry.js +1 -1
  676. package/dist/kolibri/kol-drawer.entry.js +1 -1
  677. package/dist/kolibri/kol-form.entry.js +1 -1
  678. package/dist/kolibri/kol-heading.entry.js +1 -1
  679. package/dist/kolibri/kol-icon.entry.js +1 -1
  680. package/dist/kolibri/kol-image.entry.js +1 -1
  681. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  682. package/dist/kolibri/kol-input-color.entry.js +1 -1
  683. package/dist/kolibri/kol-input-date.entry.js +1 -1
  684. package/dist/kolibri/kol-input-email.entry.js +1 -1
  685. package/dist/kolibri/kol-input-file.entry.js +1 -1
  686. package/dist/kolibri/kol-input-number.entry.js +1 -1
  687. package/dist/kolibri/kol-input-password.entry.js +1 -1
  688. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  689. package/dist/kolibri/kol-input-range.entry.js +1 -1
  690. package/dist/kolibri/kol-input-text.entry.js +1 -1
  691. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  692. package/dist/kolibri/kol-link-button.entry.js +1 -1
  693. package/dist/kolibri/kol-link.entry.js +1 -1
  694. package/dist/kolibri/kol-meter.entry.js +1 -1
  695. package/dist/kolibri/kol-modal.entry.js +1 -1
  696. package/dist/kolibri/kol-nav.entry.js +1 -1
  697. package/dist/kolibri/kol-pagination.entry.js +1 -1
  698. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  699. package/dist/kolibri/kol-progress.entry.js +1 -1
  700. package/dist/kolibri/kol-quote.entry.js +1 -1
  701. package/dist/kolibri/kol-select.entry.js +1 -1
  702. package/dist/kolibri/kol-single-select.entry.js +1 -1
  703. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  704. package/dist/kolibri/kol-spin.entry.js +1 -1
  705. package/dist/kolibri/kol-split-button.entry.js +1 -1
  706. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  707. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  708. package/dist/kolibri/kol-tabs.entry.js +1 -1
  709. package/dist/kolibri/kol-textarea.entry.js +1 -1
  710. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  711. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  712. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  713. package/dist/kolibri/kol-tree.entry.js +1 -1
  714. package/dist/kolibri/kol-version.entry.js +1 -1
  715. package/dist/kolibri/kolibri.esm.js +1 -1
  716. package/dist/kolibri/label-DEZIsnKw.js +4 -0
  717. package/dist/kolibri/label-hints-C--ftrg_.js +4 -0
  718. package/dist/kolibri/label-lang-segment-B8ayoizG.js +4 -0
  719. package/dist/kolibri/label-with-expert-slot-DXi27J4o.js +4 -0
  720. package/dist/kolibri/level-BV6M_zmM.js +4 -0
  721. package/dist/kolibri/link-target-C9qzQAQg.js +4 -0
  722. package/dist/kolibri/links-Dt0OhMXb.js +4 -0
  723. package/dist/kolibri/multiple-DQdOCIyW.js +4 -0
  724. package/dist/kolibri/number-value-DtZloH4P.js +4 -0
  725. package/dist/kolibri/open-DaO7wXMr.js +4 -0
  726. package/dist/kolibri/open-items-cache-C98FzYQ9.js +4 -0
  727. package/dist/kolibri/options-C8BsBGBl.js +4 -0
  728. package/dist/kolibri/options-CKAHQbcF.js +4 -0
  729. package/dist/kolibri/orientation-VvJMCd9m.js +4 -0
  730. package/dist/kolibri/placeholder-7pbjAn-x.js +4 -0
  731. package/dist/kolibri/props-from-config-DVxNB2Lx.js +4 -0
  732. package/dist/kolibri/read-only-3XuQIAB8.js +4 -0
  733. package/dist/kolibri/required-CNgdXJ8H.js +4 -0
  734. package/dist/kolibri/resolve-props-B1DQKjTD.js +4 -0
  735. package/dist/kolibri/resolve-props-DOaJCd7Y.js +4 -0
  736. package/dist/kolibri/rows-DL1whQNh.js +4 -0
  737. package/dist/kolibri/scroll-lock-CF_Z7MzO.js +4 -0
  738. package/dist/kolibri/shared-state-sWI1upS8.js +4 -0
  739. package/dist/kolibri/smart-button-BdA5-cUG.js +4 -0
  740. package/dist/kolibri/spell-check-B7J-eU5K.js +4 -0
  741. package/dist/kolibri/src-C2baLPDp.js +4 -0
  742. package/dist/kolibri/step-DmzcVFZB.js +4 -0
  743. package/dist/kolibri/suggestions-BJxNFtkL.js +4 -0
  744. package/dist/kolibri/suggestions-BXp8OhOi.js +4 -0
  745. package/dist/kolibri/test-component.entry.js +1 -1
  746. package/dist/kolibri/theme-store-CEu5d_EK.js +4 -0
  747. package/dist/kolibri/toggle-handler-D7oFDKvq.js +4 -0
  748. package/dist/kolibri/tooltip-open-tracking-DXhnfmA2.js +4 -0
  749. package/dist/kolibri/unique-nav-labels-BOqpcYk4.js +4 -0
  750. package/dist/kolibri/unit-BFYz7QfA.js +4 -0
  751. package/dist/kolibri/validators-DPSQyOeQ.js +4 -0
  752. package/dist/kolibri/value-string-Cmozozek.js +4 -0
  753. package/dist/kolibri/width-D5-Licpp.js +4 -0
  754. package/dist/types/components/alert/component.d.ts +1 -0
  755. package/dist/types/components/input-date/component.d.ts +1 -1
  756. package/dist/types/components/pagination/component.d.ts +1 -1
  757. package/dist/types/components/progress/component.d.ts +1 -0
  758. package/dist/types/components/single-select/component.d.ts +1 -0
  759. package/dist/types/components/table-stateful/component.d.ts +3 -4
  760. package/dist/types/components/table-stateless/base.d.ts +2 -2
  761. package/dist/types/components/table-stateless/component.d.ts +3 -6
  762. package/dist/types/components/tabs/component.d.ts +1 -2
  763. package/dist/types/components/tree/component.d.ts +1 -0
  764. package/dist/types/components.d.ts +18 -125
  765. package/dist/types/core/component-names.d.ts +52 -53
  766. package/dist/types/core/i18n.d.ts +1 -1
  767. package/dist/types/core/shared-state.d.ts +1 -0
  768. package/dist/types/core/tag-transformer.d.ts +4 -0
  769. package/dist/types/core/theme-store.d.ts +1 -0
  770. package/dist/types/index.d.ts +3 -1
  771. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  772. package/dist/types/internal/functional-components/button/item.d.ts +1 -1
  773. package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
  774. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  775. package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -2
  776. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  777. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  778. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  779. package/dist/types/internal/functional-components/pagination/item.d.ts +5 -3
  780. package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +1 -0
  781. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  782. package/dist/types/internal/functional-components/table-stateful/model.d.ts +2 -2
  783. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  784. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +4 -4
  785. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  786. package/dist/types/internal/props/index.d.ts +1 -0
  787. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  788. package/dist/types/internal/props/table-headers.d.ts +2 -2
  789. package/dist/types/internal/props/table-stateful-headers.d.ts +2 -2
  790. package/dist/types/locales/de.d.ts +1 -0
  791. package/dist/types/locales/en.d.ts +1 -0
  792. package/dist/types/schema/bem-registry.d.ts +87 -23
  793. package/dist/types/schema/components/pagination.d.ts +2 -2
  794. package/dist/types/schema/components/table.d.ts +2 -3
  795. package/dist/types/schema/components/tableStateless.d.ts +5 -4
  796. package/dist/types/schema/i18n-keys.d.ts +29 -28
  797. package/dist/types/schema/index.d.ts +1 -1
  798. package/dist/types/schema/props/aria-details.d.ts +0 -2
  799. package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
  800. package/dist/types/schema/props/index.d.ts +1 -1
  801. package/dist/types/schema/props/label.d.ts +1 -0
  802. package/dist/types/schema/props/table-callbacks.d.ts +3 -3
  803. package/dist/types/schema/props/table-headers.d.ts +3 -0
  804. package/dist/types/stencil-public-runtime.d.ts +1 -1
  805. package/dist/types/utils/aria-labelledby.d.ts +0 -6
  806. package/doc/badge.md +15 -0
  807. package/doc/button.md +13 -0
  808. package/doc/input-checkbox.md +15 -0
  809. package/doc/input-number.md +15 -0
  810. package/doc/link.md +13 -0
  811. package/doc/pagination.md +13 -13
  812. package/doc/quote.md +13 -0
  813. package/doc/table-stateful.md +33 -16
  814. package/doc/table-stateless.md +31 -15
  815. package/package.json +23 -15
  816. package/vscode-custom-data.json +3 -20
  817. package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
  818. package/dist/cjs/block-bem-BI7yfoFU.js +0 -18
  819. package/dist/cjs/bootstrap-DkgMbRSL.js +0 -33
  820. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  821. package/dist/cjs/common-C-hcIfzh.js +0 -1755
  822. package/dist/cjs/component-BEzksV1U.js +0 -9300
  823. package/dist/cjs/component-BQUKg-qY.js +0 -53
  824. package/dist/cjs/component-BlAPlTfV.js +0 -20
  825. package/dist/cjs/component-DMfcX1br.js +0 -14
  826. package/dist/cjs/component-Dkx5Zyhq.js +0 -18
  827. package/dist/cjs/component-names-BMpML1sX.js +0 -113
  828. package/dist/cjs/input-CgTL2oH6.js +0 -20
  829. package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
  830. package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
  831. package/dist/cjs/name-D4qpL1m-.js +0 -10
  832. package/dist/collection/components/click-button/component.js +0 -105
  833. package/dist/collection/components/skeleton/component.js +0 -215
  834. package/dist/collection/internal/functional-components/click-button/api.js +0 -7
  835. package/dist/collection/internal/functional-components/click-button/component.js +0 -9
  836. package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
  837. package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
  838. package/dist/collection/schema/props/table-header-cells.js +0 -36
  839. package/dist/components/aria-labelledby.js +0 -4
  840. package/dist/components/block-bem.js +0 -4
  841. package/dist/components/clsx.js +0 -4
  842. package/dist/components/href.js +0 -4
  843. package/dist/components/kol-click-button.d.ts +0 -11
  844. package/dist/components/kol-click-button.js +0 -4
  845. package/dist/components/kol-skeleton.d.ts +0 -11
  846. package/dist/components/kol-skeleton.js +0 -4
  847. package/dist/components/name.js +0 -4
  848. package/dist/components/props-from-config.js +0 -4
  849. package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
  850. package/dist/esm/block-bem-BpQSY04L.js +0 -16
  851. package/dist/esm/bootstrap-B9DtStuh.js +0 -28
  852. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  853. package/dist/esm/common-OzsC_6kt.js +0 -1709
  854. package/dist/esm/component-Bc1n82Y8.js +0 -16
  855. package/dist/esm/component-CZZNha2e.js +0 -9295
  856. package/dist/esm/component-Cdnq5GYF.js +0 -18
  857. package/dist/esm/component-DLSlbWg8.js +0 -12
  858. package/dist/esm/component-DeMf195P.js +0 -48
  859. package/dist/esm/component-names-CrfBV37S.js +0 -111
  860. package/dist/esm/kol-click-button.entry.js +0 -53
  861. package/dist/esm/kol-skeleton.entry.js +0 -105
  862. package/dist/esm/label-with-expert-slot-CicRes-W.js +0 -12
  863. package/dist/esm/name-B2Yf3EpX.js +0 -8
  864. package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
  865. package/dist/kolibri/Heading-BVhjT9av.js +0 -4
  866. package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
  867. package/dist/kolibri/api-D92_O-0H.js +0 -4
  868. package/dist/kolibri/app-globals-CBGjgNge.js +0 -4
  869. package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
  870. package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
  871. package/dist/kolibri/base-BLBSJu_1.js +0 -4
  872. package/dist/kolibri/base-CHmdLgoO.js +0 -4
  873. package/dist/kolibri/base-DIcqHqMz.js +0 -4
  874. package/dist/kolibri/base-qvPPg-dn.js +0 -4
  875. package/dist/kolibri/base-web-component-CaAexWy_.js +0 -4
  876. package/dist/kolibri/base-web-component-DbagnM7m.js +0 -4
  877. package/dist/kolibri/base-web-component-XgI4wUyN.js +0 -4
  878. package/dist/kolibri/behavior-B08CXmI4.js +0 -4
  879. package/dist/kolibri/behavior-CwUUkdaP.js +0 -4
  880. package/dist/kolibri/behavior-DW7_5Wxp.js +0 -4
  881. package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
  882. package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
  883. package/dist/kolibri/bootstrap-B9DtStuh.js +0 -4
  884. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  885. package/dist/kolibri/color-eAL9I7Wq.js +0 -4
  886. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  887. package/dist/kolibri/component-8ALsFV4i.js +0 -4
  888. package/dist/kolibri/component-BTMWoACz.js +0 -4
  889. package/dist/kolibri/component-Bc1n82Y8.js +0 -4
  890. package/dist/kolibri/component-CZZNha2e.js +0 -4
  891. package/dist/kolibri/component-CdKSiR5P.js +0 -4
  892. package/dist/kolibri/component-Cdnq5GYF.js +0 -4
  893. package/dist/kolibri/component-D0mBOGjS.js +0 -4
  894. package/dist/kolibri/component-DBAicJ2u.js +0 -4
  895. package/dist/kolibri/component-DCw1ZAE5.js +0 -4
  896. package/dist/kolibri/component-DLSlbWg8.js +0 -4
  897. package/dist/kolibri/component-DeMf195P.js +0 -4
  898. package/dist/kolibri/component-nR5Bf9G5.js +0 -4
  899. package/dist/kolibri/component-names-CrfBV37S.js +0 -4
  900. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  901. package/dist/kolibri/controller-C3O9ohSP.js +0 -4
  902. package/dist/kolibri/dev.utils-wYkYn08d.js +0 -4
  903. package/dist/kolibri/devtools-DrBkkLdP.js +0 -4
  904. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  905. package/dist/kolibri/element-focus-BIRmGg5W.js +0 -4
  906. package/dist/kolibri/element-interaction-sGYdEpmv.js +0 -4
  907. package/dist/kolibri/events-BIT-JUP2.js +0 -4
  908. package/dist/kolibri/field-control-Cs5VvsYo.js +0 -4
  909. package/dist/kolibri/group-uNo1CfbK.js +0 -4
  910. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  911. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  912. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  913. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  914. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  915. package/dist/kolibri/index-BKEJuyFi.js +0 -6
  916. package/dist/kolibri/input-Dja5Qioc.js +0 -4
  917. package/dist/kolibri/input-container-C2Am7LEP.js +0 -4
  918. package/dist/kolibri/item-C4AmpdVD.js +0 -4
  919. package/dist/kolibri/item-ConW1c81.js +0 -4
  920. package/dist/kolibri/item-D627ShRd.js +0 -4
  921. package/dist/kolibri/item-DIAFIFSy.js +0 -4
  922. package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
  923. package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
  924. package/dist/kolibri/kol-click-button.entry.js +0 -4
  925. package/dist/kolibri/kol-skeleton.entry.js +0 -4
  926. package/dist/kolibri/label-BRosRgdX.js +0 -4
  927. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  928. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  929. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  930. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  931. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  932. package/dist/kolibri/links-DwucTqcR.js +0 -4
  933. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  934. package/dist/kolibri/name-B2Yf3EpX.js +0 -4
  935. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  936. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  937. package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
  938. package/dist/kolibri/options-B0rBHetL.js +0 -4
  939. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  940. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  941. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  942. package/dist/kolibri/props-from-config-Ci0dILpz.js +0 -4
  943. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  944. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  945. package/dist/kolibri/resolve-props-BLZxWC3j.js +0 -4
  946. package/dist/kolibri/resolve-props-D2KiItuv.js +0 -4
  947. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  948. package/dist/kolibri/scroll-lock-Y2hf47KW.js +0 -4
  949. package/dist/kolibri/smart-button-CS_ZriPt.js +0 -4
  950. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  951. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  952. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  953. package/dist/kolibri/suggestions-DuqzGDve.js +0 -4
  954. package/dist/kolibri/suggestions-Dy1X-Pc3.js +0 -4
  955. package/dist/kolibri/toggle-handler-BRLmxe1J.js +0 -4
  956. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
  957. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  958. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  959. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  960. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
  961. package/dist/kolibri/width-CgYY17tL.js +0 -4
  962. package/dist/types/components/click-button/component.d.ts +0 -15
  963. package/dist/types/components/skeleton/component.d.ts +0 -26
  964. package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
  965. package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
  966. package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
  967. package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
  968. package/dist/types/schema/props/table-header-cells.d.ts +0 -11
  969. package/doc/skeleton.md +0 -54
@@ -3,13 +3,13 @@
3
3
  */
4
4
  import { h } from "@stencil/core";
5
5
  import { bem } from "../../../schema/bem-registry";
6
+ import { BemRootNodeFC } from "../bem-root-node/component";
6
7
  import { IconFC } from "../icon/component";
7
8
  import { linkPropsConfig } from "../link/api";
8
9
  import { LinkFC } from "../link/component";
9
10
  import { buildDefaultPropsFromConfig } from "../props-from-config";
10
11
  import { renderLabelWithLang } from "../span/component";
11
12
  const treeItemBem = bem.forBlock('kol-tree-item');
12
- const BEM_CLASS_TREE_ITEM = treeItemBem();
13
13
  const BEM_CLASS_TREE_ITEM__CHILDREN = treeItemBem('children');
14
14
  const BEM_CLASS_TREE_ITEM__LINK_INNER = treeItemBem('link-inner');
15
15
  const BEM_CLASS_TREE_ITEM__TEXT = treeItemBem('text');
@@ -18,4 +18,4 @@ const BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON_ICON = treeItemBem('toggle-button-icon'
18
18
  const BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON_PLACEHOLDER = treeItemBem('toggle-button-placeholder');
19
19
  const LINK_DEFAULTS = Object.freeze(buildDefaultPropsFromConfig(linkPropsConfig));
20
20
  const noop = () => undefined;
21
- export const TreeItemFC = ({ active, ariaCurrent, groupId, handleAnchorClick, handleSlotchange, handleToggleClick, hasChildren, href, label, level, open, refAnchor, }) => (h("li", { class: BEM_CLASS_TREE_ITEM, role: "none", style: { '--level': `${level}` } }, h("span", { class: treeItemBem('link', { active, 'first-level': level === 0 }) }, h(LinkFC, Object.assign({}, LINK_DEFAULTS, { ariaCurrent: ariaCurrent, ariaDescriptionId: "", ariaExpanded: hasChildren ? (open ? 'true' : 'false') : '', ariaOwns: hasChildren ? groupId : '', expertSlot: true, handleAnchorClick: handleAnchorClick, href: href, label: "", refAnchor: refAnchor, refTooltip: noop, role: "treeitem", tabIndex: active ? 0 : -1 }), h("span", { class: BEM_CLASS_TREE_ITEM__LINK_INNER }, hasChildren ? (h("span", { class: BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON, onClick: handleToggleClick }, h(IconFC, { class: BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON_ICON, icons: `kolicon kolicon-${open ? 'chevron-down' : 'chevron-right'}`, label: '' }))) : (h("span", { class: BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON_PLACEHOLDER })), h("span", { class: BEM_CLASS_TREE_ITEM__TEXT }, renderLabelWithLang(label))))), h("ul", { class: BEM_CLASS_TREE_ITEM__CHILDREN, hidden: !hasChildren || !open, role: "group", id: groupId }, h("slot", { onSlotchange: handleSlotchange }))));
21
+ export const TreeItemFC = ({ active, ariaCurrent, groupId, handleAnchorClick, handleSlotchange, handleToggleClick, hasChildren, href, label, level, open, refAnchor, }) => (h(BemRootNodeFC, { component: "li", block: "kol-tree-item", role: "none", style: { '--level': `${level}` } }, h("span", { class: treeItemBem('link', { active, 'first-level': level === 0 }) }, h(LinkFC, Object.assign({}, LINK_DEFAULTS, { ariaCurrent: ariaCurrent, ariaDescriptionId: "", ariaExpanded: hasChildren ? (open ? 'true' : 'false') : '', ariaOwns: hasChildren ? groupId : '', expertSlot: true, handleAnchorClick: handleAnchorClick, href: href, label: "", refAnchor: refAnchor, refTooltip: noop, role: "treeitem", tabIndex: active ? 0 : -1 }), h("span", { class: BEM_CLASS_TREE_ITEM__LINK_INNER }, hasChildren ? (h("span", { class: BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON, onClick: handleToggleClick }, h(IconFC, { class: BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON_ICON, icons: `kolicon kolicon-${open ? 'chevron-down' : 'chevron-right'}`, label: '' }))) : (h("span", { class: BEM_CLASS_TREE_ITEM__TOGGLE_BUTTON_PLACEHOLDER })), h("span", { class: BEM_CLASS_TREE_ITEM__TEXT }, renderLabelWithLang(label))))), h("ul", { class: BEM_CLASS_TREE_ITEM__CHILDREN, hidden: !hasChildren || !open, role: "group", id: groupId }, h("slot", { onSlotchange: handleSlotchange }))));
@@ -7,3 +7,4 @@ export const isSafeClassName = (value) => typeof value === 'string' && SAFE_CLAS
7
7
  export const isValidLabel = isValidLabelString;
8
8
  export { isValidLabelSegments };
9
9
  export const isValidLabelWithExpertSlot = (value) => value === '' || isValidLabelSegments(value);
10
+ export const isValidLabelDecorative = (value) => value === '' || isValidLabel(value);
@@ -72,6 +72,7 @@ export * from './input-text-type';
72
72
  export * from './kolibri-color';
73
73
  export * from './label';
74
74
  export * from './label-align';
75
+ export * from './label-decorative';
75
76
  export * from './label-lang-segment';
76
77
  export * from './label-with-expert-slot';
77
78
  export * from './labeled';
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import { createPropDefinition } from "./helpers/factory";
5
+ import { normalizeString } from "./helpers/normalizers";
6
+ import { isValidLabelDecorative } from "./helpers/validators";
7
+ import { labelHints } from "./hints/label-hints";
8
+ export const labelDecorativeProp = createPropDefinition('label', undefined, normalizeString, isValidLabelDecorative, {
9
+ hints: labelHints,
10
+ });
@@ -46,6 +46,7 @@ export default {
46
46
  pagination: 'Paginierung',
47
47
  'pagination-position-bottom': 'unten',
48
48
  'pagination-position-top': 'oben',
49
+ progress: 'Fortschritt',
49
50
  readonly: 'schreibgeschützt',
50
51
  'show-password': 'Passwort einblenden',
51
52
  'show-suggestions': 'Vorschläge anzeigen',
@@ -46,6 +46,7 @@ export default {
46
46
  pagination: 'Pagination',
47
47
  'pagination-position-bottom': 'bottom',
48
48
  'pagination-position-top': 'top',
49
+ progress: 'Progress',
49
50
  readonly: 'read-only',
50
51
  'show-password': 'Show password',
51
52
  'show-suggestions': 'Show suggestions',
@@ -169,19 +169,7 @@ const BEM = {
169
169
  },
170
170
  modifiers: null,
171
171
  },
172
- 'kol-skeleton': {
173
- elements: {
174
- actions: { modifiers: null },
175
- container: { modifiers: null },
176
- counter: { modifiers: null },
177
- name: { modifiers: null },
178
- },
179
- modifiers: new Set(['has-name', 'is-hidden']),
180
- },
181
- 'kol-click-button': {
182
- elements: {
183
- label: { modifiers: null },
184
- },
172
+ 'kol-close-button': {
185
173
  modifiers: null,
186
174
  },
187
175
  'kol-span': {
@@ -198,6 +186,7 @@ const BEM = {
198
186
  'interactive-element': { modifiers: null },
199
187
  icon: { modifiers: null },
200
188
  text: { modifiers: null },
189
+ tooltip: { modifiers: null },
201
190
  },
202
191
  modifiers: new Set(['disabled', 'external-link', 'hide-label', 'inline', 'standalone']),
203
192
  },
@@ -297,6 +286,39 @@ const BEM = {
297
286
  'warning',
298
287
  ]),
299
288
  },
289
+ 'kol-input-checkbox': {
290
+ elements: {
291
+ 'field-control': { modifiers: new Set(['checked', 'indeterminate', 'variant-button', 'variant-default', 'variant-switch']) },
292
+ },
293
+ modifiers: new Set(['checked', 'indeterminate', 'label-align-left', 'label-align-right', 'variant-button', 'variant-default', 'variant-switch']),
294
+ },
295
+ 'kol-input-color': {
296
+ elements: {
297
+ input: { modifiers: new Set(['color']) },
298
+ },
299
+ modifiers: null,
300
+ },
301
+ 'kol-input-date': {
302
+ modifiers: null,
303
+ },
304
+ 'kol-input-email': {
305
+ modifiers: null,
306
+ },
307
+ 'kol-input-file': {
308
+ modifiers: null,
309
+ },
310
+ 'kol-input-number': {
311
+ elements: {
312
+ 'step-button': { modifiers: null },
313
+ },
314
+ modifiers: null,
315
+ },
316
+ 'kol-input-password': {
317
+ elements: {
318
+ 'password-toggle-button': { modifiers: null },
319
+ },
320
+ modifiers: null,
321
+ },
300
322
  'kol-input-radio': {
301
323
  elements: {
302
324
  input: { modifiers: null },
@@ -355,6 +377,12 @@ const BEM = {
355
377
  },
356
378
  modifiers: null,
357
379
  },
380
+ 'kol-input-text': {
381
+ elements: {
382
+ 'clear-button': { modifiers: new Set(['hidden']) },
383
+ },
384
+ modifiers: null,
385
+ },
358
386
  'kol-split-button': {
359
387
  elements: {
360
388
  button: { modifiers: null },
@@ -419,6 +447,24 @@ const BEM = {
419
447
  },
420
448
  modifiers: null,
421
449
  },
450
+ 'kol-table-settings': {
451
+ elements: {
452
+ actions: { modifiers: null },
453
+ column: { modifiers: null },
454
+ 'column-label': { modifiers: null },
455
+ columns: { modifiers: null },
456
+ content: { modifiers: null },
457
+ 'error-message': { modifiers: null },
458
+ },
459
+ modifiers: null,
460
+ },
461
+ 'kol-table-stateful': {
462
+ elements: {
463
+ pagination: { modifiers: new Set(['both', 'bottom', 'top']) },
464
+ 'pagination-wrapper': { modifiers: null },
465
+ },
466
+ modifiers: null,
467
+ },
422
468
  'kol-tabs': {
423
469
  elements: {
424
470
  'button-create': { modifiers: null },
@@ -47,32 +47,33 @@ export var KeyEnum;
47
47
  KeyEnum[KeyEnum["pagination"] = 41] = "pagination";
48
48
  KeyEnum[KeyEnum["pagination-position-bottom"] = 42] = "pagination-position-bottom";
49
49
  KeyEnum[KeyEnum["pagination-position-top"] = 43] = "pagination-position-top";
50
- KeyEnum[KeyEnum["readonly"] = 44] = "readonly";
51
- KeyEnum[KeyEnum["show-password"] = 45] = "show-password";
52
- KeyEnum[KeyEnum["show-suggestions"] = 46] = "show-suggestions";
53
- KeyEnum[KeyEnum["sort"] = 47] = "sort";
54
- KeyEnum[KeyEnum["split-button-dropdown-label-open"] = 48] = "split-button-dropdown-label-open";
55
- KeyEnum[KeyEnum["success"] = 49] = "success";
56
- KeyEnum[KeyEnum["table-data-loading"] = 50] = "table-data-loading";
57
- KeyEnum[KeyEnum["table-data-loaded"] = 51] = "table-data-loaded";
58
- KeyEnum[KeyEnum["table-pagination-label"] = 52] = "table-pagination-label";
59
- KeyEnum[KeyEnum["table-selection"] = 53] = "table-selection";
60
- KeyEnum[KeyEnum["table-selection-all"] = 54] = "table-selection-all";
61
- KeyEnum[KeyEnum["table-selection-indeterminate"] = 55] = "table-selection-indeterminate";
62
- KeyEnum[KeyEnum["table-selection-none"] = 56] = "table-selection-none";
63
- KeyEnum[KeyEnum["table-settings"] = 57] = "table-settings";
64
- KeyEnum[KeyEnum["table-settings-apply"] = 58] = "table-settings-apply";
65
- KeyEnum[KeyEnum["table-settings-cancel"] = 59] = "table-settings-cancel";
66
- KeyEnum[KeyEnum["table-settings-column-hidable"] = 60] = "table-settings-column-hidable";
67
- KeyEnum[KeyEnum["table-settings-column-not-hidable"] = 61] = "table-settings-column-not-hidable";
68
- KeyEnum[KeyEnum["table-settings-column-width"] = 62] = "table-settings-column-width";
69
- KeyEnum[KeyEnum["table-settings-error-all-invisible"] = 63] = "table-settings-error-all-invisible";
70
- KeyEnum[KeyEnum["table-settings-move-down"] = 64] = "table-settings-move-down";
71
- KeyEnum[KeyEnum["table-settings-move-up"] = 65] = "table-settings-move-up";
72
- KeyEnum[KeyEnum["table-settings-not-move"] = 66] = "table-settings-not-move";
73
- KeyEnum[KeyEnum["table-sort-order"] = 67] = "table-sort-order";
74
- KeyEnum[KeyEnum["table-visible-range"] = 68] = "table-visible-range";
75
- KeyEnum[KeyEnum["toast-close-all"] = 69] = "toast-close-all";
76
- KeyEnum[KeyEnum["version"] = 70] = "version";
77
- KeyEnum[KeyEnum["warning"] = 71] = "warning";
50
+ KeyEnum[KeyEnum["progress"] = 44] = "progress";
51
+ KeyEnum[KeyEnum["readonly"] = 45] = "readonly";
52
+ KeyEnum[KeyEnum["show-password"] = 46] = "show-password";
53
+ KeyEnum[KeyEnum["show-suggestions"] = 47] = "show-suggestions";
54
+ KeyEnum[KeyEnum["sort"] = 48] = "sort";
55
+ KeyEnum[KeyEnum["split-button-dropdown-label-open"] = 49] = "split-button-dropdown-label-open";
56
+ KeyEnum[KeyEnum["success"] = 50] = "success";
57
+ KeyEnum[KeyEnum["table-data-loading"] = 51] = "table-data-loading";
58
+ KeyEnum[KeyEnum["table-data-loaded"] = 52] = "table-data-loaded";
59
+ KeyEnum[KeyEnum["table-pagination-label"] = 53] = "table-pagination-label";
60
+ KeyEnum[KeyEnum["table-selection"] = 54] = "table-selection";
61
+ KeyEnum[KeyEnum["table-selection-all"] = 55] = "table-selection-all";
62
+ KeyEnum[KeyEnum["table-selection-indeterminate"] = 56] = "table-selection-indeterminate";
63
+ KeyEnum[KeyEnum["table-selection-none"] = 57] = "table-selection-none";
64
+ KeyEnum[KeyEnum["table-settings"] = 58] = "table-settings";
65
+ KeyEnum[KeyEnum["table-settings-apply"] = 59] = "table-settings-apply";
66
+ KeyEnum[KeyEnum["table-settings-cancel"] = 60] = "table-settings-cancel";
67
+ KeyEnum[KeyEnum["table-settings-column-hidable"] = 61] = "table-settings-column-hidable";
68
+ KeyEnum[KeyEnum["table-settings-column-not-hidable"] = 62] = "table-settings-column-not-hidable";
69
+ KeyEnum[KeyEnum["table-settings-column-width"] = 63] = "table-settings-column-width";
70
+ KeyEnum[KeyEnum["table-settings-error-all-invisible"] = 64] = "table-settings-error-all-invisible";
71
+ KeyEnum[KeyEnum["table-settings-move-down"] = 65] = "table-settings-move-down";
72
+ KeyEnum[KeyEnum["table-settings-move-up"] = 66] = "table-settings-move-up";
73
+ KeyEnum[KeyEnum["table-settings-not-move"] = 67] = "table-settings-not-move";
74
+ KeyEnum[KeyEnum["table-sort-order"] = 68] = "table-sort-order";
75
+ KeyEnum[KeyEnum["table-visible-range"] = 69] = "table-visible-range";
76
+ KeyEnum[KeyEnum["toast-close-all"] = 70] = "toast-close-all";
77
+ KeyEnum[KeyEnum["version"] = 71] = "version";
78
+ KeyEnum[KeyEnum["warning"] = 72] = "warning";
78
79
  })(KeyEnum || (KeyEnum = {}));
@@ -1,22 +1 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import { resolveTargets } from "../../utils/aria-labelledby";
5
- import { Log, watchValidator } from "../utils";
6
- export const validateAriaDetails = (component, host, internals, value) => {
7
- const isValid = (value) => typeof value === 'string' || typeof value === 'undefined';
8
- watchValidator(component, '_ariaDetails', isValid, new Set(['string']), value);
9
- if (!isValid(value)) {
10
- return [];
11
- }
12
- const elements = resolveTargets(host, value);
13
- if (internals) {
14
- try {
15
- internals.ariaDetailsElements = elements;
16
- }
17
- catch (_a) {
18
- }
19
- Log.debug(['WebComponent internals', internals]);
20
- }
21
- return elements;
22
- };
1
+ export {};
@@ -2,21 +2,12 @@
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
4
  import { resolveTargets } from "../../utils/aria-labelledby";
5
- import { Log, watchValidator } from "../utils";
6
- export const validateAriaLabelledby = (component, host, internals, value) => {
5
+ import { watchValidator } from "../utils";
6
+ export const validateAriaLabelledby = (component, host, value) => {
7
7
  const isValid = (value) => typeof value === 'string' || typeof value === 'undefined';
8
8
  watchValidator(component, '_ariaLabelledby', isValid, new Set(['string']), value);
9
9
  if (!isValid(value)) {
10
10
  return [];
11
11
  }
12
- const elements = resolveTargets(host, value);
13
- if (internals) {
14
- try {
15
- internals.ariaLabelledByElements = elements;
16
- }
17
- catch (_a) {
18
- }
19
- Log.debug(['WebComponent internals', internals]);
20
- }
21
- return elements;
12
+ return resolveTargets(host, value);
22
13
  };
@@ -105,7 +105,7 @@ export * from './table-callbacks';
105
105
  export * from './table-data';
106
106
  export * from './table-data-foot';
107
107
  export * from './table-fixed-cols';
108
- export * from './table-header-cells';
108
+ export * from './table-headers';
109
109
  export * from './table-loading';
110
110
  export * from './table-selection';
111
111
  export * from './toolbar-items';
@@ -0,0 +1 @@
1
+ export {};
@@ -22,15 +22,3 @@ export const resolveTargets = (host, value) => {
22
22
  };
23
23
  return ids.map(getById).filter((el) => !!el);
24
24
  };
25
- export const attachInternals = (host) => {
26
- const attach = host === null || host === void 0 ? void 0 : host.attachInternals;
27
- if (!attach)
28
- return undefined;
29
- try {
30
- const internals = attach.call(host);
31
- return internals;
32
- }
33
- catch (_a) {
34
- return undefined;
35
- }
36
- };
@@ -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
+ };
@@ -1,16 +1,17 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- let openTooltips = 0;
4
+ import { getSharedState } from "../core/shared-state";
5
+ const shared = getSharedState('tooltips', () => ({ open: 0 }));
5
6
  export const tooltipOpened = () => {
6
- openTooltips++;
7
+ shared.open++;
7
8
  };
8
9
  export const tooltipClosed = () => {
9
- openTooltips = Math.max(0, openTooltips - 1);
10
+ shared.open = Math.max(0, shared.open - 1);
10
11
  };
11
12
  export const handleCancelOverlay = (event) => {
12
- if (openTooltips > 0) {
13
+ if (shared.open > 0) {
13
14
  event.preventDefault();
14
15
  }
15
16
  };
16
- export const isTooltipOpen = () => openTooltips > 0;
17
+ export const isTooltipOpen = () => shared.open > 0;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{a as e}from"./tslib.es6.js";import{h as l}from"@stencil/core/internal/client";import{c as s}from"./clsx.js";const a=1;function r(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const n=(n,o)=>{var{class:c,level:t=a}=n,i=e(n,["class","level"]);const d=r(t);return l(d,Object.assign({class:s("kol-headline",`kol-headline--${d}`,c)},i),o)},o=(a,r)=>{var{class:n}=a,o=e(a,["class"]);return l("p",Object.assign({class:s("kol-headline kol-headline--group kol-headline--secondary",n)},o),r)},c=(r,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=r,h=e(r,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const g=Object.assign({level:i},h);if(!t)return l(n,Object.assign({class:s(d,"kol-headline--single")},g),c);const{class:j}=p,b=e(p,["class"]),k=Object.assign({class:s("kol-heading-group",j)},b);return l("hgroup",Object.assign({},k),l(n,Object.assign({class:s(d,"kol-headline--group","kol-headline--primary")},g),c),l(o,Object.assign({},u),t))};export{c as K,r as g}
4
+ import{h as e}from"./common.js";import{a as s}from"./tslib.es6.js";import{f as l}from"./base-web-component.js";const a=1;function o(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const n=(n,r)=>{var{class:c,level:t=a}=n,i=s(n,["class","level"]);const d=o(t);return e(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),r)},r=(a,o)=>{var{class:n}=a,r=s(a,["class"]);return e("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",n)},r),o)},c=(o,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=o,b=s(o,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const h=Object.assign({level:i},b);if(!t)return e(n,Object.assign({class:l(d,"kol-headline--single")},h),c);const{class:j}=p,g=s(p,["class"]),m=Object.assign({class:l("kol-heading-group",j)},g);return e("hgroup",Object.assign({},m),e(n,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},h),c),e(r,Object.assign({},u),t))};export{c as K,o as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const e=(e,o)=>{if(e&&o)throw new Error("AccessKey and ShortKey are used. Only one is allowed.")};export{e as v}
4
+ import"./common.js";const o=(o,e)=>{if(o&&e)throw new Error("AccessKey and ShortKey are used. Only one is allowed.")};export{o as v}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- let s;const t=[],o=o=>{s=o,t.forEach((s=>{s(o)}))},e=(o,e=!0)=>(e&&"string"==typeof s&&o(s),t.push(o),()=>{const s=t.indexOf(o);s>=0&&t.splice(s,1)});export{e as o,o as s}
4
+ import{g as s}from"./shared-state.js";import"./common.js";const o=s("location",(()=>({subscribers:[]}))),t=s=>{o.current=s,o.subscribers.forEach((o=>{o(s)}))},r=(s,t=!0)=>(t&&"string"==typeof o.current&&s(o.current),o.subscribers.push(s),()=>{const t=o.subscribers.indexOf(s);t>=0&&o.subscribers.splice(t,1)});export{r as o,t as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{HTMLElement as t}from"@stencil/core/internal/client";import{d as s}from"./props-from-config.js";function e(){throw new Error("This behavior does not use component state.")}const i=class extends t{constructor(){super(!1),this.rawProps={},this.renderProps={},this.requiredPropNames=new Set,this.renderPropsSeeded=!1,this.setState=(t,s)=>{this[t]=s},this.getState=t=>this[t],this.stateAccess={setState:this.setState,getState:this.getState}}seedRenderProps(){var t;this.renderPropsSeeded||(this.renderPropsSeeded=!0,this.renderProps=s(this.propsConfig),this.requiredPropNames=new Set((null!==(t=this.propsConfig.required)&&void 0!==t?t:[]).map((t=>t.propName))))}isRequired(t){return this.seedRenderProps(),this.requiredPropNames.has(t)}setRawProp(t,s){this.rawProps[t]=s}getRawProp(t){return this.rawProps[t]}setRenderProp(t,s){this.seedRenderProps(),this.renderProps[t]=s}unsetRenderProp(t){this.seedRenderProps(),this.renderProps[t]=void 0}getRenderProp(t){return this.seedRenderProps(),this.renderProps[t]}};i.stateLess=Object.freeze({setState:e,getState:e});export{i as B}
4
+ import{u as t,v as r,x as n,y as e,z as o,h as i,A as u}from"./common.js";import{b as a}from"./bem-registry.js";var c="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),l=f.Symbol,v=Object.prototype,h=v.hasOwnProperty,b=v.toString,p=l?l.toStringTag:void 0,d=Object.prototype.toString,y=l?l.toStringTag:void 0;function j(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":y&&y in Object(t)?function(t){var r=h.call(t,p),n=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=b.call(t);return e&&(r?t[p]=n:delete t[p]),o}(t):function(t){return d.call(t)}(t)}function w(t){return null!=t&&"object"==typeof t}var g=Array.isArray;function m(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function O(t){if(!m(t))return!1;var r=j(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var $,A=f["__core-js_shared__"],S=($=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"",x=Function.prototype.toString;function N(t){if(null!=t){try{return x.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var _=/^\[object .+?Constructor\]$/,E=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function M(t,r){var n=function(t,r){return null==t?void 0:t[r]}(t,r);return function(t){return!(!m(t)||(r=t,S&&S in r))&&(O(t)?E:_).test(N(t));var r}(n)?n:void 0}var I=M(f,"WeakMap"),F=Object.create,P=function(){function t(){}return function(r){if(!m(r))return{};if(F)return F(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}(),D=function(){try{var t=M(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),R=/^(?:0|[1-9]\d*)$/;function k(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&R.test(t))&&t>-1&&t%1==0&&t<r}function z(t,r){return t===r||t!=t&&r!=r}var T=Object.prototype.hasOwnProperty;function B(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var J=Object.prototype;function C(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||J)}function U(t){return w(t)&&"[object Arguments]"==j(t)}var V=Object.prototype,q=V.hasOwnProperty,G=V.propertyIsEnumerable,K=U(function(){return arguments}())?U:function(t){return w(t)&&q.call(t,"callee")&&!G.call(t,"callee")},W="object"==typeof exports&&exports&&!exports.nodeType&&exports,H=W&&"object"==typeof module&&module&&!module.nodeType&&module,L=H&&H.exports===W?f.Buffer:void 0,Z=(L?L.isBuffer:void 0)||function(){return!1},Q={};function X(t){return function(r){return t(r)}}Q["[object Float32Array]"]=Q["[object Float64Array]"]=Q["[object Int8Array]"]=Q["[object Int16Array]"]=Q["[object Int32Array]"]=Q["[object Uint8Array]"]=Q["[object Uint8ClampedArray]"]=Q["[object Uint16Array]"]=Q["[object Uint32Array]"]=!0,Q["[object Arguments]"]=Q["[object Array]"]=Q["[object ArrayBuffer]"]=Q["[object Boolean]"]=Q["[object DataView]"]=Q["[object Date]"]=Q["[object Error]"]=Q["[object Function]"]=Q["[object Map]"]=Q["[object Number]"]=Q["[object Object]"]=Q["[object RegExp]"]=Q["[object Set]"]=Q["[object String]"]=Q["[object WeakMap]"]=!1;var Y="object"==typeof exports&&exports&&!exports.nodeType&&exports,tt=Y&&"object"==typeof module&&module&&!module.nodeType&&module,rt=tt&&tt.exports===Y&&c.process,nt=function(){try{return tt&&tt.require&&tt.require("util").types||rt&&rt.binding&&rt.binding("util")}catch(t){}}(),et=nt&&nt.isTypedArray,ot=et?X(et):function(t){return w(t)&&B(t.length)&&!!Q[j(t)]},it=Object.prototype.hasOwnProperty;function ut(t,r){return function(n){return t(r(n))}}var at=ut(Object.keys,Object),ct=Object.prototype.hasOwnProperty;function st(t){return null!=(r=t)&&B(r.length)&&!O(r)?function(t){var r=g(t),n=!r&&K(t),e=!r&&!n&&Z(t),o=!r&&!n&&!e&&ot(t),i=r||n||e||o,u=i?function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}(t.length,String):[],a=u.length;for(var c in t)!it.call(t,c)||i&&("length"==c||e&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||k(c,a))||u.push(c);return u}(t):function(t){if(!C(t))return at(t);var r=[];for(var n in Object(t))ct.call(t,n)&&"constructor"!=n&&r.push(n);return r}(t);var r}var ft=M(Object,"create"),lt=Object.prototype.hasOwnProperty,vt=Object.prototype.hasOwnProperty;function ht(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function bt(t,r){for(var n=t.length;n--;)if(z(t[n][0],r))return n;return-1}ht.prototype.clear=function(){this.__data__=ft?ft(null):{},this.size=0},ht.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},ht.prototype.get=function(t){var r=this.__data__;if(ft){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return lt.call(r,t)?r[t]:void 0},ht.prototype.has=function(t){var r=this.__data__;return ft?void 0!==r[t]:vt.call(r,t)},ht.prototype.set=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ft&&void 0===r?"__lodash_hash_undefined__":r,this};var pt=Array.prototype.splice;function dt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}dt.prototype.clear=function(){this.__data__=[],this.size=0},dt.prototype.delete=function(t){var r=this.__data__,n=bt(r,t);return!(n<0||(n==r.length-1?r.pop():pt.call(r,n,1),--this.size,0))},dt.prototype.get=function(t){var r=this.__data__,n=bt(r,t);return n<0?void 0:r[n][1]},dt.prototype.has=function(t){return bt(this.__data__,t)>-1},dt.prototype.set=function(t,r){var n=this.__data__,e=bt(n,t);return e<0?(++this.size,n.push([t,r])):n[e][1]=r,this};var yt=M(f,"Map");function jt(t,r){var n,e,o=t.__data__;return("string"==(e=typeof(n=r))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function wt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}wt.prototype.clear=function(){this.size=0,this.__data__={hash:new ht,map:new(yt||dt),string:new ht}},wt.prototype.delete=function(t){var r=jt(this,t).delete(t);return this.size-=r?1:0,r},wt.prototype.get=function(t){return jt(this,t).get(t)},wt.prototype.has=function(t){return jt(this,t).has(t)},wt.prototype.set=function(t,r){var n=jt(this,t),e=n.size;return n.set(t,r),this.size+=n.size==e?0:1,this};var gt=ut(Object.getPrototypeOf,Object);function mt(t){var r=this.__data__=new dt(t);this.size=r.size}mt.prototype.clear=function(){this.__data__=new dt,this.size=0},mt.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},mt.prototype.get=function(t){return this.__data__.get(t)},mt.prototype.has=function(t){return this.__data__.has(t)},mt.prototype.set=function(t,r){var n=this.__data__;if(n instanceof dt){var e=n.__data__;if(!yt||e.length<199)return e.push([t,r]),this.size=++n.size,this;n=this.__data__=new wt(e)}return n.set(t,r),this.size=n.size,this},"object"==typeof exports&&exports&&!exports.nodeType&&exports&&"object"==typeof module&&module&&!module.nodeType&&module;var Ot=Object.prototype.propertyIsEnumerable,$t=Object.getOwnPropertySymbols,At=$t?function(t){return null==t?[]:(t=Object(t),function(r){for(var n=-1,e=null==r?0:r.length,o=0,i=[];++n<e;){var u=r[n];Ot.call(t,u)&&(i[o++]=u)}return i}($t(t)))}:function(){return[]};var St=M(f,"DataView"),xt=M(f,"Promise"),Nt=M(f,"Set"),_t="[object Map]",Et="[object Promise]",Mt="[object Set]",It="[object WeakMap]",Ft="[object DataView]",Pt=N(St),Dt=N(yt),Rt=N(xt),kt=N(Nt),zt=N(I),Tt=j;(St&&Tt(new St(new ArrayBuffer(1)))!=Ft||yt&&Tt(new yt)!=_t||xt&&Tt(xt.resolve())!=Et||Nt&&Tt(new Nt)!=Mt||I&&Tt(new I)!=It)&&(Tt=function(t){var r=j(t),n="[object Object]"==r?t.constructor:void 0,e=n?N(n):"";if(e)switch(e){case Pt:return Ft;case Dt:return _t;case Rt:return Et;case kt:return Mt;case zt:return It}return r});var Bt=Object.prototype.hasOwnProperty,Jt=f.Uint8Array;function Ct(t){var r=new t.constructor(t.byteLength);return new Jt(r).set(new Jt(t)),r}var Ut=/\w*$/,Vt=l?l.prototype:void 0,qt=Vt?Vt.valueOf:void 0;var Gt=nt&&nt.isMap,Kt=Gt?X(Gt):function(t){return w(t)&&"[object Map]"==Tt(t)},Wt=nt&&nt.isSet,Ht=Wt?X(Wt):function(t){return w(t)&&"[object Set]"==Tt(t)},Lt="[object Arguments]",Zt="[object Function]",Qt="[object Object]",Xt={};function Yt(t,r,n,e,o,i){var u;if(void 0!==u)return u;if(!m(t))return t;var a=g(t);if(a)u=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&Bt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t);else{var c=Tt(t),s=c==Zt||"[object GeneratorFunction]"==c;if(Z(t))return t.slice();if(c==Qt||c==Lt||s&&!o)u=s?{}:function(t){return"function"!=typeof t.constructor||C(t)?{}:P(gt(t))}(t);else{if(!Xt[c])return o?t:{};u=function(t,r){var n,e,o,i,u=t.constructor;switch(r){case"[object ArrayBuffer]":return Ct(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i=Ct((o=t).buffer),new o.constructor(i,o.byteOffset,o.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t){var r=Ct(t.buffer);return new t.constructor(r,t.byteOffset,t.length)}(t);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return(e=new(n=t).constructor(n.source,Ut.exec(n))).lastIndex=n.lastIndex,e;case"[object Symbol]":return qt?Object(qt.call(t)):{}}}(t,c)}}i||(i=new mt);var f=i.get(t);if(f)return f;i.set(t,u),Ht(t)?t.forEach((function(e){u.add(Yt(e,r,n,0,t,i))})):Kt(t)&&t.forEach((function(e,o){u.set(o,Yt(e,r,n,0,t,i))}));var l=a?void 0:function(t){return function(t,r,n){var e=st(t);return g(t)?e:function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}(e,n(t))}(t,0,At)}(t);return function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n););}(l||t,(function(e,o){l&&(e=t[o=e]),function(t,r,n){var e=t[r];T.call(t,r)&&z(e,n)&&(void 0!==n||r in t)||function(t,r,n){"__proto__"==r&&D?D(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}(t,r,n)}(u,o,Yt(e,r,n,0,t,i))})),u}function tr(t){return Yt(t,5)}function rr(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);throw new TypeError(`Cannot convert ${typeof t} to string`)}function nr(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);if(Array.isArray(t)&&t.every(xr))return t;throw new TypeError(`Cannot convert ${typeof t} to a label`)}function er(t){let r;try{r=or(t)}catch(r){throw new Error(`Invalid integer: ${String(t)}`)}return Number.isInteger(r)?r:Math.round(r)}function or(t){if("number"==typeof t&&!isNaN(t))return t;if("string"==typeof t&&""!==t.trim()){const r=Number(t);if(!isNaN(r))return r}throw new Error(`Invalid number: ${String(t)}`)}function ir(t){if("number"==typeof t&&!isNaN(t))return t;throw new Error(`Invalid number: ${String(t)}`)}Xt[Lt]=Xt["[object Array]"]=Xt["[object ArrayBuffer]"]=Xt["[object DataView]"]=Xt["[object Boolean]"]=Xt["[object Date]"]=Xt["[object Float32Array]"]=Xt["[object Float64Array]"]=Xt["[object Int8Array]"]=Xt["[object Int16Array]"]=Xt["[object Int32Array]"]=Xt["[object Map]"]=Xt["[object Number]"]=Xt[Qt]=Xt["[object RegExp]"]=Xt["[object Set]"]=Xt["[object String]"]=Xt["[object Symbol]"]=Xt["[object Uint8Array]"]=Xt["[object Uint8ClampedArray]"]=Xt["[object Uint16Array]"]=Xt["[object Uint32Array]"]=!0,Xt["[object Error]"]=Xt[Zt]=Xt["[object WeakMap]"]=!1;const ur=/^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;function ar(t){return"string"==typeof t&&ur.test(t)&&Number.isFinite(Number(t))}function cr(t){if("number"==typeof t)return isNaN(t)?void 0:t;if(ar(t))return parseFloat(t);throw new Error(`Invalid number: ${t}`)}function sr(t){if("boolean"==typeof t)return t;if("string"==typeof t){const r=t.toLowerCase();if("true"===r||"false"===r)return"true"===r}throw new Error(`Invalid boolean: ${String(t)}`)}function fr(t,r){if(!0===t||"true"===t)return"true";if(!1===t||"false"===t)return"false";if(""===t)return"";throw new Error(`Invalid ${r} value: expected a boolean, got ${JSON.stringify(t)}`)}function lr(t,r){return"string"==typeof t&&r.includes(t)}function vr(r){if(t(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n))return n}throw new Error(`Invalid object: ${r}`)}function hr(r){if(t(r)&&Array.isArray(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n)&&Array.isArray(n))return n}throw new Error(`Invalid array: ${r}`)}function br(t){if("object"==typeof t&&null!==t)return t;throw new Error("Invalid on callbacks: expected object, got "+typeof t)}function pr(t){try{return JSON.stringify(t)}catch(t){return"[unserializable]"}}function dr(t,n,e){const o=e instanceof Error?` (${e.message})`:"";r(`The property value ${pr(n)} for '${t}' is not valid${o}. The value is ignored.`)}function yr(t,n,e,o=()=>!0,i){return{propName:t,getDefaultValue:m(n)?()=>tr(n):()=>n,normalize:e,validate:o,apply(e,o,u){var a;if(null!=e)try{const r=this.normalize(e);this.validate(r)?(null===(a=null==i?void 0:i.hints)||void 0===a||a.call(i,this.propName,r),o(r)):dr(t,e)}catch(r){dr(t,e,r)}else{if(u&&r(`The required property '_${t}' did not receive a value. ${void 0===n?"The property stays unset.":"The default value is used instead."}`),void 0===n)return void o(void 0);const e=this.getDefaultValue();if(!this.validate(e))throw new Error(`Default value ${pr(n)} is invalid for prop definition '${t}'.`);o(e)}}}}function jr(t,r,n,e=()=>!0){return{propName:t,getDefaultValue:m(r)?()=>tr(r):()=>r,normalize:n,validate:e,apply(n,e,o){if(null!=n)try{const r=this.normalize(n,o);this.validate(r,o)?e(r):dr(t,n)}catch(r){dr(t,n,r)}else{if(void 0===r)return void e(void 0);const n=this.getDefaultValue();if(!this.validate(n,o))throw new Error(`Default value ${pr(r)} is invalid for prop definition '${t}' with dependencies ${pr(o)}.`);e(n)}}}}function wr(){return yr("on",{},(t=>br(t)))}function gr(t){var r;Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var i=n(t);if(!i.space)return[];const u="h"===i.space[0]?e.min:o.min,a="h"===i.space[0]?e.max:o.max;return(r=Array(3))[0]=Math.min(Math.max(i.values[0],u[0]),a[0]),r[1]=Math.min(Math.max(i.values[1],u[1]),a[1]),r[2]=Math.min(Math.max(i.values[2],u[2]),a[2]),"h"===i.space[0]&&(r=e.rgb(r)),r.push(Math.min(Math.max(i.alpha,0),1)),r}const mr=/[a-zA-Z0-9äöüÄÖÜß]/g,Or=/^\d+$/;function $r(t,r=1){return function(t){var r;return"string"==typeof t&&(null===(r=t.match(mr))||void 0===r?void 0:r.length)||0}(t)>=r}function Ar(t){return Or.test(t)}function Sr(t){return"string"==typeof t?t.trim():Array.isArray(t)?t.map((t=>t.text)).join("").trim():""}function xr(t){if("object"!=typeof t||null===t)return!1;const r=t;return!!Object.keys(r).every((t=>"text"===t||"lang"===t))&&"string"==typeof r.text&&(void 0===r.lang||"string"==typeof r.lang)}const Nr=t=>t.length>=2||Ar(t);function _r(t){return"string"==typeof t?Nr(t):!!Array.isArray(t)&&t.length>0&&t.every(xr)&&Nr(Sr(t))}const Er=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i,Mr=t=>"object"==typeof t&&null!==t&&"string"==typeof t.backgroundColor&&"string"==typeof t.foregroundColor,Ir=t=>{const r=gr(t);if(!Array.isArray(r)||r.length<3)throw new Error(`Invalid KoliBri color: ${t}`);const[n,e,o]=r;return{red:n,green:e,blue:o}},Fr=yr("color",Ir("#003c78"),(t=>{if("string"==typeof t&&Er.test(t))return Ir(t);const r=Mr(t)?t:"string"==typeof t?(t=>{if(t.startsWith("{"))try{const r=JSON.parse(t);return Mr(r)?r:void 0}catch(t){return}})(t):void 0;if(r)return Ir(r.foregroundColor);throw new Error("Invalid KoliBri color: expected a hex string or a color pair.")})),Pr=new Set(["eager","lazy"]),Dr=yr("loading","lazy",(t=>rr(t)),(t=>Pr.has(t)));function Rr(t,r){return t<r.min?r.min:t>r.max?r.max:t}const kr=jr("value",0,((t,r)=>Rr(or(t),r)),(t=>"number"==typeof t&&!isNaN(t))),zr=Object.assign(Object.assign({},kr),{apply(t,r,n){kr.apply(t,(t=>r(Rr(t,n))),n)}}),Tr=new Set(["blank","card"]),Br=yr("variant","blank",(t=>rr(t)),(t=>Tr.has(t))),Jr=new Set(["block","inline"]),Cr=yr("variant","inline",(t=>rr(t)),(t=>Jr.has(t))),Ur=t=>{let r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t&&null!==t)if(Array.isArray(t)){for(const n of t)if(n){const t=Ur(n);t&&(r&&(r+=" "),r+=t)}}else for(const n in t)t[n]&&(r&&(r+=" "),r+=n);return r},Vr=(...t)=>{let r="";for(const n of t)if(n){const t=Ur(n);t&&(r&&(r+=" "),r+=t)}return r},qr=new Map;function Gr(t){let r=qr.get(t);return r||(r=a.forBlock(t),qr.set(t,r)),r}const Kr=(t,r)=>{var n;const e=Gr(t.block),o=Vr(e(t.modifiers),t.class),u={};for(const[r,n]of Object.entries(t))"block"===r?u.class=o:"class"!==r&&"component"!==r&&"modifiers"!==r&&(u[r]=n);const a=null!==(n=t.component)&&void 0!==n?n:"div";return i(a,Object.assign({},u),r)};function Wr(t){var r,n;const e={};for(const o of[...null!==(r=t.required)&&void 0!==r?r:[],...null!==(n=t.optional)&&void 0!==n?n:[]])e[o.propName]=o.getDefaultValue();return e}function Hr(t,r){return Object.assign(Object.assign({},Wr(t)),r)}function Lr(){throw new Error("This behavior does not use component state.")}const Zr=class extends u{constructor(){super(!1),this.rawProps={},this.renderProps={},this.requiredPropNames=new Set,this.renderPropsSeeded=!1,this.setState=(t,r)=>{this[t]=r},this.getState=t=>this[t],this.stateAccess={setState:this.setState,getState:this.getState}}seedRenderProps(){var t;this.renderPropsSeeded||(this.renderPropsSeeded=!0,this.renderProps=Wr(this.propsConfig),this.requiredPropNames=new Set((null!==(t=this.propsConfig.required)&&void 0!==t?t:[]).map((t=>t.propName))))}isRequired(t){return this.seedRenderProps(),this.requiredPropNames.has(t)}setRawProp(t,r){this.rawProps[t]=r}getRawProp(t){return this.rawProps[t]}setRenderProp(t,r){this.seedRenderProps(),this.renderProps[t]=r}unsetRenderProp(t){this.seedRenderProps(),this.renderProps[t]=void 0}getRenderProp(t){return this.seedRenderProps(),this.renderProps[t]}};Zr.stateLess=Object.freeze({setState:Lr,getState:Lr});export{vr as A,Kr as B,Nr as C,gr as D,Br as E,cr as F,ar as G,ir as H,Cr as I,br as J,Zr as a,wr as b,yr as c,rr as d,Wr as e,Vr as f,Gr as g,hr as h,jr as i,lr as j,Fr as k,Dr as l,or as m,sr as n,zr as o,_r as p,nr as q,Hr as r,$r as s,Sr as t,Ar as u,er as v,w,g as x,j as y,fr as z}
@@ -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{a as s,F as l}from"./behavior3.js";import{d as r}from"./disabled.js";import{h as a,e as n,k as d,T as h}from"./component3.js";import{c,n as p,b as u,a as m,t as v}from"./props-from-config.js";import{l as b}from"./label-with-expert-slot.js";import{n as f}from"./name.js";import{a as g}from"./tslib.es6.js";import{S as y,b as j,s as _}from"./component7.js";import{r as B}from"./aria-labelledby.js";import{a as L,c as O,n as T}from"./dev.utils.js";import{K as F,d as N}from"./events.js";import{B as x}from"./base-web-component.js";import{c as k}from"./item.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{c as C}from"./clsx.js";import{B as H}from"./component.js";import{P as D}from"./behavior4.js";import{A as I}from"./component2.js";function M(e,i){return Boolean(e)&&!0===i}function S(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const q=c("hideMsg",!1,p),E=c("hint","",u),$=c("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),z=m(),R=c("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=c("touched",!1,p),G={required:[b],optional:[s,r,a,q,E,$,z,R,f,n,V]},J=e=>{var{id:i,class:t,hint:o,baseClassName:s="kol-form-field"}=e,l=g(e,["id","class","hint","baseClassName"]);return o?A("span",Object.assign({class:C(`${s}__hint`,t),id:L(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:p,infoPopover:u}=e,m=g(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const v=!d&&n,b=!1===c?void 0:j(l,r);return A(i,Object.assign({},m,{class:C(`${o}__label`,s),id:v||h?void 0:L(t,"label"),hidden:v,htmlFor:"legend"===i?void 0:t}),A(y,{class:`${o}__label-text`,label:d?"":null!=a?a:"",badgeText:b},A("slot",{name:"expert"})),!d&&p&&A("span",{class:`${o}__label__read-only`,"aria-hidden":"true"},"(",P("kol-readonly"),")"),!d&&u&&A("span",null,A(D,Object.assign({},u.popoverButton),A("div",{class:"kol-popover-button__popover--styled"},u.content))))},U=i=>{var t,o,{alert:s,hideMsg:l,msg:r,id:a,class:n}=i,d=g(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(I,Object.assign({alert:!l&&(null!==(t=null==h?void 0:h._alert)&&void 0!==t?t:!0===s),class:C("kol-form-field__msg",l&&"visually-hidden",n),closerAriaDescriptionId:T(),handleCloserClick:()=>{},hasCloser:!1,headingId:O("alert-heading"),id:L(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&&!_(i)&&!0===e,Y=e=>{const i=S(e);return{[i]:!0,[`msg-type-${i}`]:!0}},Z=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:o,renderNoHint:s,id:l,required:r,alert:a,disabled:n,class:c,msg:p,hideMsg:u,hideLabel:m,label:v,infoPopover:b,hint:f,accessKey:y,shortKey:B,counter:O,readOnly:T,touched:F,maxLength:N,ariaDescribedBy:x,showBadge:k,tooltipAlign:K,variant:w,component:D="div",orientation:I,refInput:S,refTooltip:q}=e,E=g(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"]),$=_(v),z=M(p,F),R=j(y,B),V=X({hideLabel:m,label:v,renderNoTooltip:o}),G="fieldset"===D;return A(H,Object.assign({component:D,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(n),required:Boolean(r),touched:Boolean(F),"hide-label":Boolean(m),"read-only":Boolean(T),"hidden-msg":Boolean(u)},z?Y(p):{}),class:C(w&&d(w,"form-field"),c),disabled:!(!G||!n)||void 0,"aria-describedby":x},E),!t&&A(Q,{component:G?"legend":"label",class:G?"kol-form-field__label--legend":void 0,id:l,hasExpertSlot:$,hideLabel:m,label:v,accessKey:y,shortKey:B,readOnly:T,showBadge:k,infoPopover:b}),A("div",{class:W("input",{"orientation-horizontal":"horizontal"===I,"orientation-vertical":"vertical"===I}),ref:S},i,V&&A("div",{class:W("tooltip")},A(h,{badgeText:R||"",label:v,align:K,id:L(l,"label"),refFloating:q}))),O&&!("soft"===O.maxLengthBehavior&&"number"!=typeof O.maxLength)&&A("div",{class:W("counter")},A("span",{"aria-hidden":"true",class:W("counter"),ref:O.visualRef}),A("span",{"aria-live":"polite",class:"visually-hidden",id:L(l,"counter"),ref:O.ariaRef})),z&&A(U,{id:l,alert:a,hideMsg:u,msg:p}),!s&&A(J,{id:l,hint:f}),"number"==typeof N&&!O&&A("span",{id:L(l,"character-limit-hint"),class:"visually-hidden"},P("kol-character-limit-hint",{placeholders:{limit:String(N)}})))};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?v(t):void 0}}const ie=class extends x{constructor(){super(...arguments),this.tooltipBehavior=new w(x.stateLess),this.smartButton=k((()=>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(F.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(F.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(F.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(F.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(F.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 l(x.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=g(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.formAssociation.watchAriaDetails(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=B(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){r.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){a.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){b.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){R.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){f.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){n.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&&N(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(F.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),r="error"===S(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(L(e,"msg")),a&&n.push(L(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:v(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(L(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,S as g,M as i}
4
+ import{O as e,u as i,Z as t,h as o}from"./common.js";import{d as s}from"./disabled.js";import{h as l,e as a,T as r,k as n}from"./component6.js";import{c as d,d as h,n as c,b as p,f as u,B as v,t as m,a as b}from"./base-web-component.js";import{l as f}from"./label-with-expert-slot.js";import{n as g}from"./component9.js";import{S as y,b as j,s as _}from"./component5.js";import{a as B}from"./tslib.es6.js";import{a as L,c as O,n as T}from"./dev.utils.js";import{K as F,d as N}from"./events.js";import{c as w}from"./item.js";import{F as x}from"./behavior3.js";import{c as A}from"./item2.js";import{T as K}from"./behavior.js";import{t as k}from"./i18n.js";import{b as D}from"./bem-registry.js";import{P}from"./behavior4.js";import{A as C}from"./component.js";const H=(e,i)=>{const t=(null!=i?i:"").trim().split(/\s+/).filter(Boolean);if(!t.length)return[];const o=null==e?void 0:e.getRootNode();return t.map((e=>"undefined"!=typeof Document&&o instanceof Document?o.getElementById(e):"undefined"!=typeof ShadowRoot&&o instanceof ShadowRoot?o.querySelector(`#${(e=>{var i;return(null===(i=globalThis.CSS)||void 0===i?void 0:i.escape)?globalThis.CSS.escape(e):e.replace(/[^a-zA-Z0-9_-]/g,"\\$&")})(e)}`):"undefined"!=typeof document?document.getElementById(e):null)).filter((e=>!!e))};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=d("ariaDetails","",h),$=d("hideMsg",!1,c),q=d("hint","",h),E=d("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),z=p(),R=d("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=d("touched",!1,c),V={required:[f],optional:[S,s,l,$,q,E,z,R,g,a,Z]},G=e=>{var{id:i,class:t,hint:s,baseClassName:l="kol-form-field"}=e,a=B(e,["id","class","hint","baseClassName"]);return s?o("span",Object.assign({class:u(`${l}__hint`,t),id:L(i||"","hint")},a),s):null},J=e=>{var{component:i="label",id:t,baseClassName:s="kol-form-field",class:l,accessKey:a,shortKey:r,label:n,hideLabel:d,hasExpertSlot:h,omitId:c,showBadge:p=!0,readOnly:v,infoPopover:m}=e,b=B(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const f=!h&&d,g=!1===p?void 0:j(a,r);return o(i,Object.assign({},b,{class:u(`${s}__label`,l),id:f||c?void 0:L(t,"label"),hidden:f,htmlFor:"legend"===i?void 0:t}),o(y,{class:`${s}__label-text`,label:h?"":null!=n?n:"",badgeText:g},o("slot",{name:"expert"})),!h&&v&&o("span",{class:`${s}__label__read-only`,"aria-hidden":"true"},"(",k("kol-readonly"),")"),!h&&m&&o("span",null,o(P,Object.assign({},m.popoverButton),o("div",{class:"kol-popover-button__popover--styled"},m.content))))},Q=i=>{var t,s,{alert:l,hideMsg:a,msg:r,id:n,class:d}=i,h=B(i,["alert","hideMsg","msg","id","class"]);const c=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 o(C,Object.assign({alert:!a&&(null!==(t=null==c?void 0:c._alert)&&void 0!==t?t:!0===l),class:u("kol-form-field__msg",a&&"visually-hidden",d),closerAriaDescriptionId:T(),handleCloserClick:()=>{},hasCloser:!1,headingId:O("alert-heading"),id:L(n,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},h),(null==c?void 0:c._description)||void 0)},U=D.forBlock("kol-form-field"),W=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!_(i)&&!0===e,X=e=>{const i=M(e);return{[i]:!0,[`msg-type-${i}`]:!0}},Y=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:s,renderNoHint:l,id:a,required:d,alert:h,disabled:c,class:p,msg:m,hideMsg:b,hideLabel:f,label:g,infoPopover:y,hint:O,accessKey:T,shortKey:F,counter:N,readOnly:w,touched:x,maxLength:A,ariaDescribedBy:K,showBadge:D,tooltipAlign:P,variant:C,component:H="div",orientation:M,refInput:S,refTooltip:$}=e,q=B(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"]),E=_(g),z=I(m,x),R=j(T,F),Z=W({hideLabel:f,label:g,renderNoTooltip:s}),V="fieldset"===H;return o(v,Object.assign({component:H,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(c),required:Boolean(d),touched:Boolean(x),"hide-label":Boolean(f),"read-only":Boolean(w),"hidden-msg":Boolean(b)},z?X(m):{}),class:u(C&&n(C,"form-field"),p),disabled:!(!V||!c)||void 0,"aria-describedby":K},q),!t&&o(J,{component:V?"legend":"label",class:V?"kol-form-field__label--legend":void 0,id:a,hasExpertSlot:E,hideLabel:f,label:g,accessKey:T,shortKey:F,readOnly:w,showBadge:D,infoPopover:y}),o("div",{class:U("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},i,Z&&o("div",{class:U("tooltip")},o(r,{badgeText:R||"",label:g,align:P,id:L(a,"label"),refFloating:$}))),N&&!("soft"===N.maxLengthBehavior&&"number"!=typeof N.maxLength)&&o("div",{class:U("counter")},o("span",{"aria-hidden":"true",class:U("counter"),ref:N.visualRef}),o("span",{"aria-live":"polite",class:"visually-hidden",id:L(a,"counter"),ref:N.ariaRef})),z&&o(Q,{id:a,alert:h,hideMsg:b,msg:m}),!l&&o(G,{id:a,hint:O}),"number"==typeof A&&!N&&o("span",{id:L(a,"character-limit-hint"),class:"visually-hidden"},k("kol-character-limit-hint",{placeholders:{limit:String(A)}})))};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 b{constructor(){super(...arguments),this.tooltipBehavior=new K(b.stateLess),this.smartButton=w((()=>this.host)),this.infoPopover=A({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(F.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(F.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(F.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(F.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(F.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 x(b.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=B(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=H(this.host,this.shared.getRenderProp("ariaDetails")),a=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==a?void 0:a.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==a?void 0:a.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){$.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){q.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){E.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){f.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){R.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){g.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){a.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&&N(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(F.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),a="error"===M(i)&&l&&!0===o,r="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(L(e,"msg")),r&&n.push(L(e,"hint")),{hasError:a,hasHint:r,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 W({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:a,renderNoLabel:r,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(L(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:a,accessKey:i,shortKey:t,maxLength:l,counter:s,variant:o,class:e,tooltipAlign:u,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:r,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}};export{ie as B,Y as F,ee as a,G as b,J as c,V as f,M as g,I as i,H as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./bem-registry.js";import{a as t,d as s,v as i}from"./component3.js";import{a as e,S as o}from"./suggestions2.js";import{h as a,g as r}from"./input-container.js";import{c as h,b as n}from"./props-from-config.js";import{p as l}from"./placeholder.js";import{r as p}from"./read-only.js";import{r as d}from"./required.js";import{s as c}from"./smart-button.js";import{s as u}from"./value-string.js";import{f as m,B as v}from"./base-web-component2.js";import{h as y}from"@stencil/core/internal/client";import{s as b}from"./controller.js";import{v as j}from"./access-and-short-key.js";import{c as f}from"./clsx.js";import{c as g}from"./element-interaction.js";import{B as O}from"./base-web-component.js";import{C as x}from"./behavior2.js";const B=h("pattern",void 0,n),K={required:[...m.required],optional:[...m.optional,t,e,a,B,l,p,d,s,c,u,i]},q=class extends v{constructor(){super(...arguments),this.ctaRef=g(),this.counter=new x(O.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=t=>{this._value=t.target.value,this.handleInput(t)},this.handleTextChange=(t,s)=>{this.handleChange(t,s)},this.handleTextFocus=t=>{var s,i;this.handleFocus(t),this.counter.retriggerAria(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)},this.handleTextKeyDown=t=>{var s,i;this.handleKeyDown(t),this.counter.handleKeyDown(t,null!==(i=null===(s=this.ctaRef.el)||void 0===s?void 0:s.value.length)&&void 0!==i?i:0),b(t,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=Boolean(this.textShared.getRenderProp("value"))}didLoadTextInput(){var t,s;this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0)}didUpdateTextInput(){var t,s;this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(s){t.apply(s,(t=>this.textShared.setRenderProp("accessKey",t))),j(s,this._shortKey)}applyAutoComplete(t){e.apply(t,(t=>this.textShared.setRenderProp("autoComplete",t)))}applyIcons(t){a.apply(t,(t=>this.textShared.setRenderProp("icons",t)))}applyPattern(t){B.apply(t,(t=>this.textShared.setRenderProp("pattern",t)))}applyPlaceholder(t){l.apply(t,(t=>this.textShared.setRenderProp("placeholder",t)))}applyReadOnly(t){p.apply(t,(t=>this.textShared.setRenderProp("readOnly",t)))}applyRequired(t){d.apply(t,(t=>this.textShared.setRenderProp("required",t)))}applyShortKey(t){s.apply(t,(t=>this.textShared.setRenderProp("shortKey",t))),j(this._accessKey,t)}applySmartButton(t){null==t?this.textShared.unsetRenderProp("smartButton"):c.apply(t,(t=>this.textShared.setRenderProp("smartButton",t)))}applyValue(t){var s;this.initValue(t),this.hasValue=Boolean(this.textShared.getRenderProp("value")),this.counter.update(null!==(s=null==t?void 0:t.length)&&void 0!==s?s:0)}initValue(t){u.apply(t,(t=>this.textShared.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp("value"))}initMaxLength(t){this.counter.watchMaxLength(t)}applyVariant(t){i.apply(t,(t=>this.textShared.setRenderProp("variant",t)))}applyHasCounter(t){this.counter.watchHasCounter(t),this.needsImmediateCounterUpdate=!0}applyMaxLength(t){var s,i;this.counter.watchMaxLength(t),this.counter.updateImmediate(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)}applyMaxLengthBehavior(t){this.counter.watchMaxLengthBehavior(t),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(t){const s=this.textShared;return this.getFormFieldProps({class:f(t,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:s.getRenderProp("accessKey")||void 0,shortKey:s.getRenderProp("shortKey")||void 0,variant:s.getRenderProp("variant"),required:s.getRenderProp("required"),readOnly:s.getRenderProp("readOnly"),maxLength:this.counter.getRenderProp("maxLength"),counter:this.counter.getCounterProps()})}getTextInputAdornments(t){return r({icons:this.textShared.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp("smartButton"),this.textShared.getRenderProp("disabled")),endAdornment:t})}getTextInputProps({type:t,spellcheck:s,multiple:i,suggestions:e},a={}){const r=this.textShared,h=r.getState("id"),n=r.getRenderProp("accessKey"),l=r.getRenderProp("shortKey"),p=r.getRenderProp("placeholder"),d=r.getRenderProp("pattern"),c=this.counter.getMaxLengthAttribute(),u=this.counter.getCharacterLimitHintId(h),{ariaDescribedBy:m,hasError:v}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:h,hideLabel:r.getRenderProp("hideLabel"),label:r.getRenderProp("label"),disabled:r.getRenderProp("disabled"),name:r.getRenderProp("name")||void 0},n?{accessKey:n}:{}),void 0!==t?{type:t}:{}),{value:r.getRenderProp("value"),required:r.getRenderProp("required")}),void 0!==c?{maxlength:c}:{}),void 0!==p?{placeholder:p}:{}),{autoComplete:r.getRenderProp("autoComplete")}),void 0!==s?{spellcheck:s}:{}),void 0!==d?{pattern:d}:{}),{readonly:r.getRenderProp("readOnly")}),void 0!==i?{multiple:i}:{}),{touched:r.getRenderProp("touched"),msg:r.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),e&&e.length>0?{suggestions:y(o,{id:h,suggestions:e})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),a),{ariaDescribedBy:u?[...m,u]:m,"aria-invalid":v?"true":void 0})}};export{q as B,K as t}
4
+ import{h as t}from"./common.js";import{a as s,d as i,v as e}from"./component6.js";import{a as o,S as a}from"./suggestions2.js";import{h as r,g as h}from"./input-container.js";import{c as n,d as l,a as d,f as p}from"./base-web-component.js";import{p as u}from"./placeholder.js";import{r as c}from"./read-only.js";import{r as m}from"./required.js";import{s as v}from"./smart-button.js";import{s as y}from"./value-string.js";import{f as b,B as j}from"./base-web-component2.js";import{s as g}from"./controller.js";import{v as f}from"./access-and-short-key.js";import{c as O}from"./element-interaction.js";import{C as x}from"./behavior2.js";const B=n("pattern",void 0,l),K={required:[...b.required],optional:[...b.optional,s,o,r,B,u,c,m,i,v,y,e]},q=class extends j{constructor(){super(...arguments),this.ctaRef=O(),this.counter=new x(d.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=t=>{this._value=t.target.value,this.handleInput(t)},this.handleTextChange=(t,s)=>{this.handleChange(t,s)},this.handleTextFocus=t=>{var s,i;this.handleFocus(t),this.counter.retriggerAria(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)},this.handleTextKeyDown=t=>{var s,i;this.handleKeyDown(t),this.counter.handleKeyDown(t,null!==(i=null===(s=this.ctaRef.el)||void 0===s?void 0:s.value.length)&&void 0!==i?i:0),g(t,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=Boolean(this.textShared.getRenderProp("value"))}didLoadTextInput(){var t,s;this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0)}didUpdateTextInput(){var t,s;this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(t){s.apply(t,(t=>this.textShared.setRenderProp("accessKey",t))),f(t,this._shortKey)}applyAutoComplete(t){o.apply(t,(t=>this.textShared.setRenderProp("autoComplete",t)))}applyIcons(t){r.apply(t,(t=>this.textShared.setRenderProp("icons",t)))}applyPattern(t){B.apply(t,(t=>this.textShared.setRenderProp("pattern",t)))}applyPlaceholder(t){u.apply(t,(t=>this.textShared.setRenderProp("placeholder",t)))}applyReadOnly(t){c.apply(t,(t=>this.textShared.setRenderProp("readOnly",t)))}applyRequired(t){m.apply(t,(t=>this.textShared.setRenderProp("required",t)))}applyShortKey(t){i.apply(t,(t=>this.textShared.setRenderProp("shortKey",t))),f(this._accessKey,t)}applySmartButton(t){null==t?this.textShared.unsetRenderProp("smartButton"):v.apply(t,(t=>this.textShared.setRenderProp("smartButton",t)))}applyValue(t){var s;this.initValue(t),this.hasValue=Boolean(this.textShared.getRenderProp("value")),this.counter.update(null!==(s=null==t?void 0:t.length)&&void 0!==s?s:0)}initValue(t){y.apply(t,(t=>this.textShared.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp("value"))}initMaxLength(t){this.counter.watchMaxLength(t)}applyVariant(t){e.apply(t,(t=>this.textShared.setRenderProp("variant",t)))}applyHasCounter(t){this.counter.watchHasCounter(t),this.needsImmediateCounterUpdate=!0}applyMaxLength(t){var s,i;this.counter.watchMaxLength(t),this.counter.updateImmediate(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)}applyMaxLengthBehavior(t){this.counter.watchMaxLengthBehavior(t),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(t){const s=this.textShared;return this.getFormFieldProps({class:p(t,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:s.getRenderProp("accessKey")||void 0,shortKey:s.getRenderProp("shortKey")||void 0,variant:s.getRenderProp("variant"),required:s.getRenderProp("required"),readOnly:s.getRenderProp("readOnly"),maxLength:this.counter.getRenderProp("maxLength"),counter:this.counter.getCounterProps()})}getTextInputAdornments(t){return h({icons:this.textShared.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp("smartButton"),this.textShared.getRenderProp("disabled")),endAdornment:t})}getTextInputProps({type:s,spellcheck:i,multiple:e,suggestions:o},r={}){const h=this.textShared,n=h.getState("id"),l=h.getRenderProp("accessKey"),d=h.getRenderProp("shortKey"),p=h.getRenderProp("placeholder"),u=h.getRenderProp("pattern"),c=this.counter.getMaxLengthAttribute(),m=this.counter.getCharacterLimitHintId(n),{ariaDescribedBy:v,hasError:y}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:n,hideLabel:h.getRenderProp("hideLabel"),label:h.getRenderProp("label"),disabled:h.getRenderProp("disabled"),name:h.getRenderProp("name")||void 0},l?{accessKey:l}:{}),void 0!==s?{type:s}:{}),{value:h.getRenderProp("value"),required:h.getRenderProp("required")}),void 0!==c?{maxlength:c}:{}),void 0!==p?{placeholder:p}:{}),{autoComplete:h.getRenderProp("autoComplete")}),void 0!==i?{spellcheck:i}:{}),void 0!==u?{pattern:u}:{}),{readonly:h.getRenderProp("readOnly")}),void 0!==e?{multiple:e}:{}),{touched:h.getRenderProp("touched"),msg:h.getRenderProp("msg")}),d?{"aria-keyshortcuts":d}:{}),o&&o.length>0?{suggestions:t(a,{id:n,suggestions:o})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),r),{ariaDescribedBy:m?[...v,m]:v,"aria-invalid":y?"true":void 0})}};export{q as B,K as t}