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

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 (1212) 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 +23 -23
  7. package/dist/cjs/{Heading-o_m1bQbh.js → Heading-D1EJem-Q.js} +2 -2
  8. package/dist/cjs/{access-and-short-key-BrLP4fF_.js → access-and-short-key-BCyKbrgd.js} +1 -1
  9. package/dist/cjs/{api-SFTkHR9W.js → api-DU50b7pU.js} +27 -27
  10. package/dist/cjs/{app-globals-BVGzsN2O.js → app-globals-Cshxaw1i.js} +3 -3
  11. package/dist/cjs/{ariaCurrentService-aysGX58T.js → aria-current-service-XKodxE3I.js} +2 -2
  12. package/dist/cjs/{aria-labelledby-CgJJS0K5.js → aria-labelledby-Du7FNBK5.js} +1 -1
  13. package/dist/cjs/{base-DoujJ-Xz.js → base-2k8L5Z0t.js} +13 -13
  14. package/dist/cjs/{base-DGpJZOXm.js → base-CrH3N2Zu.js} +70 -36
  15. package/dist/cjs/{base-DJhwvwdo.js → base-DXysZJF0.js} +12 -12
  16. package/dist/cjs/{base-4xLnw9ep.js → base-lY3OV-WH.js} +14 -14
  17. package/dist/cjs/{base-web-component-nGb9E-GX.js → base-web-component-CB32nH5g.js} +16 -16
  18. package/dist/cjs/{base-web-component-BgX5i_fc.js → base-web-component-CnTCSVmC.js} +10 -10
  19. package/dist/cjs/{base-web-component-DSCg1arP.js → base-web-component-vlBTFoc9.js} +2 -2
  20. package/dist/cjs/{behavior-DhfuU2HF.js → behavior-BonfWPFJ.js} +6 -6
  21. package/dist/cjs/{behavior-CBwUdaXu.js → behavior-DdUDpqCO.js} +6 -6
  22. package/dist/cjs/{behavior-S2U8skNd.js → behavior-Dznxy-IT.js} +5 -5
  23. package/dist/cjs/{bem-registry-CMf1T2kb.js → bem-registry-CGf0w2u7.js} +1 -1
  24. package/dist/cjs/{bootstrap-C4GRmpTI.js → bootstrap-W0pDCbwR.js} +5 -5
  25. package/dist/cjs/{color-BWamMCyw.js → color-gGnOnvt7.js} +3 -3
  26. package/dist/cjs/{component-SeQac11p.js → component-B6wRTFBN.js} +3 -3
  27. package/dist/cjs/{component-DTC3WbHR.js → component-B7ixbeft.js} +13 -13
  28. package/dist/cjs/{component-DPCpVWBj.js → component-BaHA5GQ0.js} +8 -8
  29. package/dist/cjs/{component-CweSM_ze.js → component-BeAWp-m9.js} +5 -5
  30. package/dist/cjs/{component-BM6eWMuC.js → component-Bnj9veMz.js} +4 -4
  31. package/dist/cjs/{component-CKc_-O64.js → component-C9dVa2_4.js} +13 -13
  32. package/dist/cjs/{component-DUvRV4FE.js → component-D680TPaU.js} +8 -8
  33. package/dist/cjs/{component-t6Upgw7f.js → component-DNRlsQ2M.js} +5 -5
  34. package/dist/cjs/{component-BGIFlgKu.js → component-WkG3-M2X.js} +6 -6
  35. package/dist/cjs/{component-names-CyEXMjv9.js → component-names-B-xDXf8U.js} +1 -1
  36. package/dist/cjs/{component-DSlW2KVw.js → component-vjLswij7.js} +5 -5
  37. package/dist/cjs/{contrast-CXinV5ii.js → contrast-B6L84xFP.js} +2 -2
  38. package/dist/cjs/{controller-D4usgPg-.js → controller-BcC7oIkq.js} +2 -2
  39. package/dist/cjs/{dev.utils-glOxiW4E.js → dev.utils-Bk_hA4qQ.js} +1 -1
  40. package/dist/cjs/{devtools-VDx5moKY.js → devtools-CJixr1wI.js} +2 -2
  41. package/dist/cjs/{disabled-CZJO6fbW.js → disabled-BoM7lglH.js} +2 -2
  42. package/dist/cjs/{element-focus-IBv4yiNw.js → element-focus-BL2fXDD1.js} +1 -1
  43. package/dist/cjs/{element-interaction-CvCJFwUh.js → element-interaction-CKiHuPu0.js} +2 -2
  44. package/dist/cjs/{events-fafEzzml.js → events-Ce8f_epW.js} +1 -1
  45. package/dist/cjs/{field-control-xEw1WZFL.js → field-control-Bn_hd-6N.js} +7 -7
  46. package/dist/cjs/{group-CMns8Vns.js → group-TVkuA3Dx.js} +5 -5
  47. package/dist/cjs/{has-closer-Cs7BCj4r.js → has-closer-CKT_frM5.js} +2 -2
  48. package/dist/cjs/{href-C93ktLo4.js → href-yo_BPSR1.js} +2 -2
  49. package/dist/cjs/{i18n-DXYL9rIn.js → i18n-DOGd0sdR.js} +6 -6
  50. package/dist/cjs/{i18n-YdI7_XKo.js → i18n-DdWdytnt.js} +2 -2
  51. package/dist/cjs/{id-CtES_I0D.js → id-C7_ak25l.js} +2 -2
  52. package/dist/cjs/{index-B65pR1Ir.js → index-DLwNpyJ5.js} +25 -92
  53. package/dist/cjs/index.cjs.js +11 -11
  54. package/dist/cjs/{input-container-BErSDYvG.js → input-container-CvDde8uk.js} +6 -6
  55. package/dist/cjs/{input-Bi8Zo8Bv.js → input-uZRNVUsq.js} +4 -4
  56. package/dist/cjs/{item-BHQRF4Sp.js → item-D23h7gmK.js} +9 -9
  57. package/dist/cjs/{item-N9AmF46D.js → item-D5hmTqf_.js} +15 -15
  58. package/dist/cjs/{item-BVHbqXo2.js → item-DimqWDZ7.js} +23 -23
  59. package/dist/cjs/{item-BLhkAIub.js → item-FYvfrXLj.js} +9 -9
  60. package/dist/cjs/{item-pool-ecjkEvCG.js → item-pool-BJcplkbh.js} +1 -1
  61. package/dist/cjs/{keyboard-DHPlsLs0.js → keyboard-21hAUDzL.js} +1 -1
  62. package/dist/cjs/kol-abbr.cjs.entry.js +7 -7
  63. package/dist/cjs/kol-accordion.cjs.entry.js +19 -19
  64. package/dist/cjs/kol-alert.cjs.entry.js +30 -30
  65. package/dist/cjs/kol-avatar.cjs.entry.js +17 -20
  66. package/dist/cjs/kol-badge.cjs.entry.js +29 -29
  67. package/dist/cjs/kol-breadcrumb.cjs.entry.js +34 -34
  68. package/dist/cjs/kol-button-link.cjs.entry.js +32 -32
  69. package/dist/cjs/kol-button.cjs.entry.js +32 -32
  70. package/dist/cjs/kol-card.cjs.entry.js +59 -98
  71. package/dist/cjs/kol-combobox.cjs.entry.js +84 -84
  72. package/dist/cjs/kol-details.cjs.entry.js +19 -19
  73. package/dist/cjs/kol-dialog.cjs.entry.js +36 -36
  74. package/dist/cjs/kol-drawer.cjs.entry.js +35 -35
  75. package/dist/cjs/kol-form.cjs.entry.js +29 -29
  76. package/dist/cjs/kol-heading.cjs.entry.js +14 -14
  77. package/dist/cjs/kol-icon.cjs.entry.js +11 -11
  78. package/dist/cjs/kol-image.cjs.entry.js +20 -20
  79. package/dist/cjs/kol-input-checkbox.cjs.entry.js +77 -77
  80. package/dist/cjs/kol-input-color.cjs.entry.js +64 -64
  81. package/dist/cjs/kol-input-date.cjs.entry.js +76 -76
  82. package/dist/cjs/kol-input-email.cjs.entry.js +82 -82
  83. package/dist/cjs/kol-input-file.cjs.entry.js +58 -58
  84. package/dist/cjs/kol-input-number.cjs.entry.js +78 -78
  85. package/dist/cjs/kol-input-password.cjs.entry.js +79 -79
  86. package/dist/cjs/kol-input-radio.cjs.entry.js +60 -60
  87. package/dist/cjs/kol-input-range.cjs.entry.js +65 -65
  88. package/dist/cjs/kol-input-text.cjs.entry.js +94 -94
  89. package/dist/cjs/kol-kolibri.cjs.entry.js +8 -8
  90. package/dist/cjs/kol-link-button.cjs.entry.js +39 -39
  91. package/dist/cjs/kol-link.cjs.entry.js +38 -38
  92. package/dist/cjs/kol-meter.cjs.entry.js +19 -25
  93. package/dist/cjs/kol-modal.cjs.entry.js +36 -36
  94. package/dist/cjs/kol-nav.cjs.entry.js +41 -41
  95. package/dist/cjs/kol-pagination.cjs.entry.js +65 -65
  96. package/dist/cjs/kol-popover-button.cjs.entry.js +65 -100
  97. package/dist/cjs/kol-progress.cjs.entry.js +18 -21
  98. package/dist/cjs/kol-quote.cjs.entry.js +12 -12
  99. package/dist/cjs/kol-select.cjs.entry.js +71 -71
  100. package/dist/cjs/kol-single-select.cjs.entry.js +85 -85
  101. package/dist/cjs/kol-skip-nav.cjs.entry.js +34 -34
  102. package/dist/cjs/kol-spin.cjs.entry.js +23 -23
  103. package/dist/cjs/kol-split-button.cjs.entry.js +36 -36
  104. package/dist/cjs/kol-table-stateful.cjs.entry.js +132 -104
  105. package/dist/cjs/kol-table-stateless.cjs.entry.js +57 -57
  106. package/dist/cjs/kol-tabs.cjs.entry.js +36 -36
  107. package/dist/cjs/kol-textarea.cjs.entry.js +77 -77
  108. package/dist/cjs/kol-toast-container.cjs.entry.js +20 -20
  109. package/dist/cjs/kol-toolbar.cjs.entry.js +48 -48
  110. package/dist/cjs/kol-tree-item.cjs.entry.js +34 -34
  111. package/dist/cjs/kol-tree.cjs.entry.js +11 -11
  112. package/dist/cjs/kol-version.cjs.entry.js +22 -22
  113. package/dist/cjs/kolibri.cjs.js +5 -5
  114. package/dist/cjs/{label-0j3-2J3C.js → label-CCqNq5tW.js} +4 -4
  115. package/dist/cjs/{label-hints-DEiM49uy.js → label-hints-qecpxRCt.js} +2 -2
  116. package/dist/cjs/{label-lang-segment-BBCLeyBy.js → label-lang-segment-BGLGUvz3.js} +3 -3
  117. package/dist/cjs/{label-with-expert-slot-D0wokf7-.js → label-with-expert-slot-VcIxokIa.js} +4 -4
  118. package/dist/cjs/{level-xVivGv7t.js → level-CVJUatGG.js} +2 -2
  119. package/dist/cjs/{link-target-D9qpCovV.js → link-target-BchnvpO8.js} +2 -2
  120. package/dist/cjs/{links-DlW9up_d.js → links-B1TspXWw.js} +2 -2
  121. package/dist/cjs/loader.cjs.js +5 -5
  122. package/dist/cjs/{multiple-DO-asa_4.js → multiple-DO-7DpoM.js} +2 -2
  123. package/dist/cjs/{number-value-BUKMKQvN.js → number-value-C4kXarZR.js} +3 -3
  124. package/dist/cjs/{open-BVqlpoxd.js → open-Cmz8IDwx.js} +2 -2
  125. package/dist/cjs/{open-items-cache-DuXVixiW.js → open-items-cache-C162W-_D.js} +1 -1
  126. package/dist/cjs/{options-Dg3zz7Wo.js → options-B5TaPd9X.js} +1 -1
  127. package/dist/cjs/{options-vneqbPL0.js → options-CYbRA9bk.js} +2 -2
  128. package/dist/cjs/{orientation-DL6G4K4r.js → orientation-qw5D2TnY.js} +2 -2
  129. package/dist/cjs/{placeholder-C-ecB96f.js → placeholder-BKqOq75d.js} +2 -2
  130. package/dist/cjs/{props-from-config-Bm6Pf2tK.js → props-from-config-utp9cExR.js} +55 -60
  131. package/dist/cjs/{read-only-D__auxXg.js → read-only-BA_w8-u1.js} +2 -2
  132. package/dist/cjs/{required-DqW-WueJ.js → required-CxAjKjbz.js} +2 -2
  133. package/dist/cjs/{resolve-props-CjhxUwj-.js → resolve-props--Nci0LhR.js} +9 -9
  134. package/dist/cjs/{resolve-props-DKYD6i56.js → resolve-props-Dj6sEqG7.js} +7 -7
  135. package/dist/cjs/{rows-Z8UDqY9u.js → rows-DIswNtTH.js} +2 -2
  136. package/dist/cjs/{scroll-lock-DgqKifg3.js → scroll-lock-DCG-yvr9.js} +3 -3
  137. package/dist/cjs/{shared-state-C2e8sL5f.js → shared-state-DgRutURI.js} +1 -1
  138. package/dist/cjs/{smart-button-C_S63qaB.js → smart-button-DseYlks-.js} +2 -2
  139. package/dist/cjs/{spell-check-CT0WE9tq.js → spell-check-dk8U8oOc.js} +2 -2
  140. package/dist/cjs/{src-Bwu1rJi2.js → src-CtFQUaCM.js} +2 -2
  141. package/dist/cjs/{step-W8T4AA1l.js → step-CvPxSo00.js} +2 -2
  142. package/dist/cjs/{suggestions-C-tM7INY.js → suggestions-DUxsRVmB.js} +2 -2
  143. package/dist/cjs/{suggestions-DvPhi4lP.js → suggestions-DgLZZdei.js} +3 -3
  144. package/dist/cjs/test-component.cjs.entry.js +1 -1
  145. package/dist/cjs/{theme-store-CHGfvYB-.js → theme-store-CLf_JZmz.js} +2 -2
  146. package/dist/cjs/{toggle-handler-DHEfrMM0.js → toggle-handler-B-_ojZ0I.js} +10 -10
  147. package/dist/cjs/{tooltip-open-tracking-DaQFzT-b.js → tooltip-open-tracking-CewIRZOe.js} +2 -2
  148. package/dist/cjs/{unique-nav-labels-CpJcPNBO.js → unique-nav-labels-CFCBdBmd.js} +2 -2
  149. package/dist/cjs/{unit-CNVBdvOH.js → unit-DexLlB8H.js} +2 -2
  150. package/dist/cjs/{validators-BM9XrnzJ.js → validators-CxXwm4f6.js} +2 -2
  151. package/dist/cjs/{value-string-DXRes-dR.js → value-string-Ct7kzFWf.js} +2 -2
  152. package/dist/cjs/{width-BAwXHART.js → width-BXrduM1f.js} +2 -2
  153. package/dist/collection/components/abbr/component.js +1 -1
  154. package/dist/collection/components/accordion/component.js +1 -1
  155. package/dist/collection/components/accordion/style.css +2 -2
  156. package/dist/collection/components/alert/component.js +3 -3
  157. package/dist/collection/components/alert/style.css +2 -2
  158. package/dist/collection/components/avatar/component.js +4 -7
  159. package/dist/collection/components/badge/component.js +4 -4
  160. package/dist/collection/components/badge/style.css +2 -2
  161. package/dist/collection/components/breadcrumb/component.js +3 -3
  162. package/dist/collection/components/breadcrumb/style.css +2 -2
  163. package/dist/collection/components/button/component.js +3 -3
  164. package/dist/collection/components/button/style.css +2 -2
  165. package/dist/collection/components/button-link/component.js +3 -3
  166. package/dist/collection/components/button-link/style.css +2 -2
  167. package/dist/collection/components/card/component.js +53 -18
  168. package/dist/collection/components/card/style.css +2 -2
  169. package/dist/collection/components/combobox/component.js +115 -115
  170. package/dist/collection/components/combobox/style.css +2 -2
  171. package/dist/collection/components/details/component.js +1 -1
  172. package/dist/collection/components/details/style.css +2 -2
  173. package/dist/collection/components/dialog/component.js +5 -5
  174. package/dist/collection/components/dialog/style.css +2 -2
  175. package/dist/collection/components/drawer/component.js +3 -3
  176. package/dist/collection/components/drawer/style.css +2 -2
  177. package/dist/collection/components/form/component.js +3 -3
  178. package/dist/collection/components/form/style.css +2 -2
  179. package/dist/collection/components/heading/component.js +4 -4
  180. package/dist/collection/components/icon/component.js +3 -3
  181. package/dist/collection/components/icon/style.css +2 -2
  182. package/dist/collection/components/image/component.js +39 -39
  183. package/dist/collection/components/input-checkbox/component.js +110 -110
  184. package/dist/collection/components/input-checkbox/style.css +2 -2
  185. package/dist/collection/components/input-color/component.js +39 -39
  186. package/dist/collection/components/input-color/style.css +2 -2
  187. package/dist/collection/components/input-date/component.js +77 -77
  188. package/dist/collection/components/input-date/style.css +2 -2
  189. package/dist/collection/components/input-email/component.js +86 -86
  190. package/dist/collection/components/input-email/style.css +2 -2
  191. package/dist/collection/components/input-file/component.js +34 -34
  192. package/dist/collection/components/input-file/style.css +2 -2
  193. package/dist/collection/components/input-number/component.js +67 -67
  194. package/dist/collection/components/input-number/style.css +2 -2
  195. package/dist/collection/components/input-password/component.js +87 -87
  196. package/dist/collection/components/input-password/style.css +2 -2
  197. package/dist/collection/components/input-radio/component.js +35 -35
  198. package/dist/collection/components/input-radio/style.css +2 -2
  199. package/dist/collection/components/input-range/component.js +38 -38
  200. package/dist/collection/components/input-range/style.css +2 -2
  201. package/dist/collection/components/input-text/component.js +145 -145
  202. package/dist/collection/components/input-text/style.css +2 -2
  203. package/dist/collection/components/kolibri/component.js +1 -1
  204. package/dist/collection/components/link/base.js +1 -1
  205. package/dist/collection/components/link/component.js +26 -26
  206. package/dist/collection/components/link/style.css +2 -2
  207. package/dist/collection/components/link-button/component.js +27 -27
  208. package/dist/collection/components/link-button/style.css +2 -2
  209. package/dist/collection/components/meter/component.js +6 -12
  210. package/dist/collection/components/modal/component.js +5 -5
  211. package/dist/collection/components/modal/style.css +2 -2
  212. package/dist/collection/components/nav/component.js +2 -2
  213. package/dist/collection/components/nav/style.css +2 -2
  214. package/dist/collection/components/pagination/component.js +85 -85
  215. package/dist/collection/components/pagination/style.css +2 -2
  216. package/dist/collection/components/popover-button/component.js +40 -11
  217. package/dist/collection/components/popover-button/style.css +2 -2
  218. package/dist/collection/components/progress/component.js +5 -8
  219. package/dist/collection/components/public-api/contract.js +46 -6
  220. package/dist/collection/components/quote/component.js +5 -5
  221. package/dist/collection/components/select/component.js +61 -61
  222. package/dist/collection/components/select/style.css +2 -2
  223. package/dist/collection/components/single-select/component.js +134 -134
  224. package/dist/collection/components/single-select/style.css +2 -2
  225. package/dist/collection/components/skip-nav/component.js +2 -2
  226. package/dist/collection/components/skip-nav/style.css +2 -2
  227. package/dist/collection/components/spin/component.js +29 -29
  228. package/dist/collection/components/spin/style.css +8 -1
  229. package/dist/collection/components/split-button/component.js +5 -5
  230. package/dist/collection/components/split-button/style.css +2 -2
  231. package/dist/collection/components/table-stateful/component.js +111 -110
  232. package/dist/collection/components/table-stateful/style.css +11 -4
  233. package/dist/collection/components/table-stateless/base.js +7 -1
  234. package/dist/collection/components/table-stateless/component.js +36 -36
  235. package/dist/collection/components/table-stateless/style.css +11 -4
  236. package/dist/collection/components/tabs/component.js +12 -12
  237. package/dist/collection/components/tabs/style.css +3 -3
  238. package/dist/collection/components/textarea/component.js +88 -88
  239. package/dist/collection/components/textarea/style.css +2 -2
  240. package/dist/collection/components/toaster/shadow.js +3 -3
  241. package/dist/collection/components/toaster/style.css +2 -2
  242. package/dist/collection/components/toolbar/component.js +33 -33
  243. package/dist/collection/components/toolbar/style.css +2 -2
  244. package/dist/collection/components/tree/component.js +2 -2
  245. package/dist/collection/components/tree-item/component.js +35 -35
  246. package/dist/collection/components/tree-item/style.css +2 -2
  247. package/dist/collection/components/version/component.js +2 -2
  248. package/dist/collection/components/version/style.css +2 -2
  249. package/dist/collection/global/script.js +1 -1
  250. package/dist/collection/index.js +1 -1
  251. package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
  252. package/dist/collection/internal/functional-components/button/item.js +2 -2
  253. package/dist/collection/internal/functional-components/counter/api.js +1 -1
  254. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  255. package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
  256. package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -7
  257. package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
  258. package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
  259. package/dist/collection/internal/functional-components/link/api.js +1 -1
  260. package/dist/collection/{components/link/ariaCurrentService.js → internal/functional-components/link/aria-current-service.js} +1 -1
  261. package/dist/collection/internal/functional-components/link/component.js +1 -1
  262. package/dist/collection/internal/functional-components/link/item.js +3 -3
  263. package/dist/collection/internal/functional-components/pagination/page-size-select.js +9 -9
  264. package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
  265. package/dist/collection/internal/functional-components/progress/api.js +1 -1
  266. package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
  267. package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
  268. package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
  269. package/dist/collection/internal/functional-components/table-stateful/model.js +21 -7
  270. package/dist/collection/internal/functional-components/table-stateless/component.js +6 -3
  271. package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
  272. package/dist/collection/internal/functional-components/table-stateless/settings.js +2 -2
  273. package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
  274. package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +4 -4
  275. package/dist/collection/internal/props/helpers/factory.js +1 -1
  276. package/dist/collection/internal/props/helpers/normalizers.js +2 -5
  277. package/dist/collection/internal/props/index.js +0 -1
  278. package/dist/collection/locales/de.js +2 -2
  279. package/dist/collection/locales/en.js +2 -2
  280. package/dist/collection/schema/components/index.js +0 -29
  281. package/dist/collection/schema/props/accept.js +1 -7
  282. package/dist/collection/schema/props/access-key.js +1 -7
  283. package/dist/collection/schema/props/active.js +1 -7
  284. package/dist/collection/schema/props/adjust-height.js +1 -7
  285. package/dist/collection/schema/props/alert-type.js +0 -7
  286. package/dist/collection/schema/props/align.js +0 -4
  287. package/dist/collection/schema/props/allow-multi-sort.js +1 -7
  288. package/dist/collection/schema/props/alt.js +1 -7
  289. package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
  290. package/dist/collection/schema/props/aria-controls.js +1 -7
  291. package/dist/collection/schema/props/aria-current-value.js +1 -10
  292. package/dist/collection/schema/props/aria-description.js +1 -7
  293. package/dist/collection/schema/props/aria-expanded.js +1 -7
  294. package/dist/collection/schema/props/aria-labelledby.js +6 -4
  295. package/dist/collection/schema/props/aria-owns.js +1 -9
  296. package/dist/collection/schema/props/aria-selected.js +1 -7
  297. package/dist/collection/schema/props/auto-complete.js +0 -6
  298. package/dist/collection/schema/props/badge-text.js +1 -7
  299. package/dist/collection/schema/props/button-callbacks.js +1 -7
  300. package/dist/collection/schema/props/button-type.js +1 -8
  301. package/dist/collection/schema/props/button-variant.js +1 -10
  302. package/dist/collection/schema/props/checked.js +1 -7
  303. package/dist/collection/schema/props/collapsible.js +1 -7
  304. package/dist/collection/schema/props/color.js +1 -14
  305. package/dist/collection/schema/props/current-length.js +1 -7
  306. package/dist/collection/schema/props/custom-class.js +1 -9
  307. package/dist/collection/schema/props/disabled.js +1 -15
  308. package/dist/collection/schema/props/download.js +1 -7
  309. package/dist/collection/schema/props/error-list.js +1 -14
  310. package/dist/collection/schema/props/has-closer.js +1 -7
  311. package/dist/collection/schema/props/has-compact-button.js +1 -7
  312. package/dist/collection/schema/props/has-counter.js +1 -7
  313. package/dist/collection/schema/props/has-create-button.js +1 -7
  314. package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
  315. package/dist/collection/schema/props/has-settings-menu.js +1 -7
  316. package/dist/collection/schema/props/has-value.js +1 -7
  317. package/dist/collection/schema/props/hide-label.js +1 -7
  318. package/dist/collection/schema/props/hide-msg.js +1 -7
  319. package/dist/collection/schema/props/hint.js +1 -7
  320. package/dist/collection/schema/props/href.js +1 -7
  321. package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
  322. package/dist/collection/schema/props/icons.js +0 -43
  323. package/dist/collection/schema/props/id.js +1 -7
  324. package/dist/collection/schema/props/image-sizes.js +1 -7
  325. package/dist/collection/schema/props/image-source.js +1 -7
  326. package/dist/collection/schema/props/image-srcset.js +1 -7
  327. package/dist/collection/schema/props/indeterminate.js +1 -7
  328. package/dist/collection/schema/props/index.js +4 -0
  329. package/dist/collection/schema/props/inline.js +1 -7
  330. package/dist/collection/schema/props/label-align.js +1 -8
  331. package/dist/collection/schema/props/label.js +0 -35
  332. package/dist/collection/schema/props/link-on-callbacks.js +1 -8
  333. package/dist/collection/schema/props/link-target.js +1 -7
  334. package/dist/collection/schema/props/loading.js +1 -8
  335. package/dist/collection/schema/props/max-length-behavior.js +1 -8
  336. package/dist/collection/schema/props/max-length.js +1 -7
  337. package/dist/collection/schema/props/max.js +1 -7
  338. package/dist/collection/schema/props/modal.js +1 -7
  339. package/dist/collection/schema/props/msg.js +1 -24
  340. package/dist/collection/schema/props/multiple.js +1 -7
  341. package/dist/collection/schema/props/name.js +1 -7
  342. package/dist/collection/schema/props/open.js +1 -7
  343. package/dist/collection/schema/props/options.js +1 -11
  344. package/dist/collection/schema/props/orientation.js +1 -10
  345. package/dist/collection/schema/props/pagination-position.js +1 -10
  346. package/dist/collection/schema/props/pattern.js +1 -7
  347. package/dist/collection/schema/props/placeholder.js +1 -7
  348. package/dist/collection/schema/props/popover-align.js +1 -7
  349. package/dist/collection/schema/props/read-only.js +1 -7
  350. package/dist/collection/schema/props/required.js +1 -7
  351. package/dist/collection/schema/props/resize-textarea.js +0 -9
  352. package/dist/collection/schema/props/rows.js +1 -7
  353. package/dist/collection/schema/props/short-key.js +1 -7
  354. package/dist/collection/schema/props/show.js +1 -7
  355. package/dist/collection/schema/props/spell-check.js +1 -9
  356. package/dist/collection/schema/props/suggestions.js +1 -16
  357. package/dist/collection/schema/props/tab-behavior.js +1 -8
  358. package/dist/collection/schema/props/tab-index.js +1 -16
  359. package/dist/collection/schema/props/table-data-foot.js +1 -21
  360. package/dist/collection/schema/props/table-data.js +1 -21
  361. package/dist/collection/schema/props/table-fixed-cols.js +1 -14
  362. package/dist/collection/schema/props/table-selection.js +1 -22
  363. package/dist/collection/schema/props/toolbar-items.js +1 -21
  364. package/dist/collection/schema/props/tooltip-align.js +1 -7
  365. package/dist/collection/schema/props/touched.js +1 -7
  366. package/dist/collection/schema/props/type-input-date.js +0 -7
  367. package/dist/collection/schema/props/type-input-text.js +0 -7
  368. package/dist/collection/schema/props/unit.js +1 -7
  369. package/dist/collection/schema/props/variant/dialog.js +1 -8
  370. package/dist/collection/schema/props/variant/modal.js +1 -4
  371. package/dist/collection/schema/props/variant/password-variant.js +1 -8
  372. package/dist/collection/schema/props/variant-alert.js +0 -7
  373. package/dist/collection/schema/props/variant-class-name.js +0 -33
  374. package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
  375. package/dist/collection/schema/props/variant-progress.js +0 -7
  376. package/dist/collection/schema/props/visibility-toggle.js +1 -7
  377. package/dist/collection/schema/props/width.js +1 -7
  378. package/dist/collection/schema/utils/contrast.js +1 -1
  379. package/dist/collection/schema/utils/prop.validators.js +1 -1
  380. package/dist/collection/schema/validators/common.js +4 -0
  381. package/dist/collection/schema/validators/index.js +0 -1
  382. package/dist/collection/utils/dev.utils.js +1 -2
  383. package/dist/collection/utils/testing/logged-messages.js +4 -0
  384. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
  385. package/dist/collection/utils/testing/snapshot-testing.js +2 -1
  386. package/dist/components/Heading.js +1 -1
  387. package/dist/components/access-and-short-key.js +1 -1
  388. package/dist/components/aria-current-service.js +4 -0
  389. package/dist/components/base-web-component.js +1 -1
  390. package/dist/components/base-web-component2.js +1 -1
  391. package/dist/components/base-web-component3.js +1 -1
  392. package/dist/components/base-web-component4.js +1 -1
  393. package/dist/components/base.js +1 -1
  394. package/dist/components/base2.js +1 -1
  395. package/dist/components/base3.js +1 -1
  396. package/dist/components/base4.js +1 -1
  397. package/dist/components/behavior.js +1 -1
  398. package/dist/components/behavior2.js +1 -1
  399. package/dist/components/behavior3.js +1 -1
  400. package/dist/components/behavior4.js +1 -1
  401. package/dist/components/bem-registry.js +1 -1
  402. package/dist/components/bootstrap.js +1 -1
  403. package/dist/components/color.js +1 -1
  404. package/dist/components/component-names.js +1 -1
  405. package/dist/components/component.js +1 -1
  406. package/dist/components/component10.js +1 -1
  407. package/dist/components/component11.js +1 -1
  408. package/dist/components/component12.js +1 -1
  409. package/dist/components/component13.js +1 -1
  410. package/dist/components/component14.js +1 -1
  411. package/dist/components/component2.js +1 -1
  412. package/dist/components/component3.js +1 -1
  413. package/dist/components/component4.js +1 -1
  414. package/dist/components/component5.js +1 -1
  415. package/dist/components/component6.js +1 -1
  416. package/dist/components/component7.js +1 -1
  417. package/dist/components/component8.js +1 -1
  418. package/dist/components/component9.js +1 -1
  419. package/dist/components/contrast.js +1 -1
  420. package/dist/components/controller.js +1 -1
  421. package/dist/components/dev.utils.js +1 -1
  422. package/dist/components/devtools.js +1 -1
  423. package/dist/components/disabled.js +1 -1
  424. package/dist/components/element-focus.js +1 -1
  425. package/dist/components/element-interaction.js +1 -1
  426. package/dist/components/events.js +1 -1
  427. package/dist/components/field-control.js +1 -1
  428. package/dist/components/group.js +1 -1
  429. package/dist/components/has-closer.js +1 -1
  430. package/dist/components/i18n.js +1 -1
  431. package/dist/components/i18n2.js +1 -1
  432. package/dist/components/id.js +1 -1
  433. package/dist/components/index.js +1 -1
  434. package/dist/components/input-container.js +1 -1
  435. package/dist/components/input.js +1 -1
  436. package/dist/components/item-pool.js +1 -1
  437. package/dist/components/item.js +1 -1
  438. package/dist/components/item2.js +1 -1
  439. package/dist/components/item3.js +1 -1
  440. package/dist/components/item4.js +1 -1
  441. package/dist/components/keyboard.js +1 -1
  442. package/dist/components/kol-abbr.js +1 -1
  443. package/dist/components/kol-accordion.js +1 -1
  444. package/dist/components/kol-alert.js +1 -1
  445. package/dist/components/kol-avatar.js +1 -1
  446. package/dist/components/kol-breadcrumb.js +1 -1
  447. package/dist/components/kol-button-link.js +1 -1
  448. package/dist/components/kol-card.js +1 -1
  449. package/dist/components/kol-combobox.js +1 -1
  450. package/dist/components/kol-details.js +1 -1
  451. package/dist/components/kol-dialog.js +1 -1
  452. package/dist/components/kol-drawer.js +1 -1
  453. package/dist/components/kol-form.js +1 -1
  454. package/dist/components/kol-heading.js +1 -1
  455. package/dist/components/kol-icon.js +1 -1
  456. package/dist/components/kol-image.js +1 -1
  457. package/dist/components/kol-input-color.js +1 -1
  458. package/dist/components/kol-input-date.js +1 -1
  459. package/dist/components/kol-input-email.js +1 -1
  460. package/dist/components/kol-input-file.js +1 -1
  461. package/dist/components/kol-input-password.js +1 -1
  462. package/dist/components/kol-input-radio.js +1 -1
  463. package/dist/components/kol-input-range.js +1 -1
  464. package/dist/components/kol-input-text.js +1 -1
  465. package/dist/components/kol-kolibri.js +1 -1
  466. package/dist/components/kol-link-button.js +1 -1
  467. package/dist/components/kol-meter.js +1 -1
  468. package/dist/components/kol-modal.js +1 -1
  469. package/dist/components/kol-nav.js +1 -1
  470. package/dist/components/kol-pagination.js +1 -1
  471. package/dist/components/kol-popover-button.js +1 -1
  472. package/dist/components/kol-progress.js +1 -1
  473. package/dist/components/kol-quote.js +1 -1
  474. package/dist/components/kol-select.js +1 -1
  475. package/dist/components/kol-single-select.js +1 -1
  476. package/dist/components/kol-skip-nav.js +1 -1
  477. package/dist/components/kol-spin.js +1 -1
  478. package/dist/components/kol-split-button.js +1 -1
  479. package/dist/components/kol-table-stateful.js +1 -1
  480. package/dist/components/kol-table-stateless.js +1 -1
  481. package/dist/components/kol-tabs.js +1 -1
  482. package/dist/components/kol-textarea.js +1 -1
  483. package/dist/components/kol-toast-container.js +1 -1
  484. package/dist/components/kol-toolbar.js +1 -1
  485. package/dist/components/kol-tree-item.js +1 -1
  486. package/dist/components/kol-tree.js +1 -1
  487. package/dist/components/kol-version.js +1 -1
  488. package/dist/components/label-hints.js +1 -1
  489. package/dist/components/label-lang-segment.js +1 -1
  490. package/dist/components/label-with-expert-slot.js +1 -1
  491. package/dist/components/label.js +1 -1
  492. package/dist/components/level.js +1 -1
  493. package/dist/components/link-target.js +1 -1
  494. package/dist/components/links.js +1 -1
  495. package/dist/components/multiple.js +1 -1
  496. package/dist/components/number-value.js +1 -1
  497. package/dist/components/open-items-cache.js +1 -1
  498. package/dist/components/open.js +1 -1
  499. package/dist/components/options.js +1 -1
  500. package/dist/components/options2.js +1 -1
  501. package/dist/components/orientation.js +1 -1
  502. package/dist/components/placeholder.js +1 -1
  503. package/dist/components/{common.js → prop.validators.js} +1 -1
  504. package/dist/components/read-only.js +1 -1
  505. package/dist/components/required.js +1 -1
  506. package/dist/components/resolve-props.js +1 -1
  507. package/dist/components/resolve-props2.js +1 -1
  508. package/dist/components/rows.js +1 -1
  509. package/dist/components/scroll-lock.js +1 -1
  510. package/dist/components/shared-state.js +1 -1
  511. package/dist/components/smart-button.js +1 -1
  512. package/dist/components/spell-check.js +1 -1
  513. package/dist/components/src.js +1 -1
  514. package/dist/components/step.js +1 -1
  515. package/dist/components/suggestions.js +1 -1
  516. package/dist/components/suggestions2.js +1 -1
  517. package/dist/components/test-component.js +1 -1
  518. package/dist/components/toggle-handler.js +1 -1
  519. package/dist/components/tooltip-open-tracking.js +1 -1
  520. package/dist/components/unique-nav-labels.js +1 -1
  521. package/dist/components/unit.js +1 -1
  522. package/dist/components/validators.js +1 -1
  523. package/dist/components/value-string.js +1 -1
  524. package/dist/components/width.js +1 -1
  525. package/dist/esm/{Heading-Cynkalqu.js → Heading-foerLIu9.js} +2 -2
  526. package/dist/esm/{access-and-short-key-CW0oxi_q.js → access-and-short-key-BTEwnScd.js} +1 -1
  527. package/dist/esm/{api-B76-Osk1.js → api-Ba9FNPRn.js} +27 -27
  528. package/dist/esm/{app-globals-Dtu1AIr1.js → app-globals-CqYpXngl.js} +3 -3
  529. package/dist/esm/{ariaCurrentService-B9TgWLEw.js → aria-current-service-4eUMzpeO.js} +2 -2
  530. package/dist/esm/{aria-labelledby-DQov9uSv.js → aria-labelledby-C4wUnR-v.js} +1 -1
  531. package/dist/esm/{base-BpgzOuy3.js → base-AKIr0rpk.js} +12 -12
  532. package/dist/esm/{base-CAiOx0qs.js → base-C7nTPc7u.js} +70 -36
  533. package/dist/esm/{base-BZCFxul4.js → base-CpUNedp9.js} +13 -13
  534. package/dist/esm/{base-DJ3lTPYp.js → base-D7qItqyf.js} +14 -14
  535. package/dist/esm/{base-web-component-D16FuHFf.js → base-web-component-B3wi5eWH.js} +2 -2
  536. package/dist/esm/{base-web-component-E9cH8tf8.js → base-web-component-BpL_hXcg.js} +16 -16
  537. package/dist/esm/{base-web-component-aOhHFXxF.js → base-web-component-DorOeD_U.js} +10 -10
  538. package/dist/esm/{behavior-DnTJtQBK.js → behavior-D9BHiFnH.js} +5 -5
  539. package/dist/esm/{behavior-DJQFXyfi.js → behavior-DDo87iUM.js} +6 -6
  540. package/dist/esm/{behavior-ByyBa-o8.js → behavior-XAV9GSxI.js} +6 -6
  541. package/dist/esm/{bem-registry-CK2s_XZ4.js → bem-registry-CrZZQahR.js} +1 -1
  542. package/dist/esm/{bootstrap-DUmk0ILT.js → bootstrap-Cz7Iq2I2.js} +5 -5
  543. package/dist/esm/{color-CEoIhjJR.js → color-CnVBqZd5.js} +3 -3
  544. package/dist/esm/{component-BPL1Mikq.js → component-0npqUhj2.js} +5 -5
  545. package/dist/esm/{component-CAEpgoSo.js → component-BCKsZOoB.js} +5 -5
  546. package/dist/esm/{component-CDyoNoJe.js → component-BZjDp_Lf.js} +3 -3
  547. package/dist/esm/{component-DTV1Kuf1.js → component-CjdTbGlP.js} +4 -4
  548. package/dist/esm/{component-C58IwTEf.js → component-Cn693XeT.js} +13 -13
  549. package/dist/esm/{component-C0ijstyp.js → component-Cvd5HXbX.js} +8 -8
  550. package/dist/esm/{component-DeFANBua.js → component-CvdxCpjC.js} +5 -5
  551. package/dist/esm/{component-CiTw4ODP.js → component-DFhRTaqb.js} +6 -6
  552. package/dist/esm/{component-XbTjo2nm.js → component-DP_p5few.js} +8 -8
  553. package/dist/esm/{component-S6ib3O8N.js → component-DlROeCCe.js} +13 -13
  554. package/dist/esm/{component-names-Ur_UbEzI.js → component-names-DzmdvSkQ.js} +1 -1
  555. package/dist/esm/{contrast-Ujnfz49m.js → contrast-BHjNzQvB.js} +2 -2
  556. package/dist/esm/{controller-BdPVgWDs.js → controller-DYkXzFqc.js} +2 -2
  557. package/dist/esm/{dev.utils--eVyQ4zr.js → dev.utils-BgFDROtc.js} +1 -1
  558. package/dist/esm/{devtools-CosbyboJ.js → devtools-B6h2bVMJ.js} +2 -2
  559. package/dist/esm/{disabled-Cu0e92-b.js → disabled-BZIZZ6wy.js} +2 -2
  560. package/dist/esm/{element-focus-BYLFG-oz.js → element-focus-C0L8NWU8.js} +1 -1
  561. package/dist/esm/{element-interaction-C2pgnQ6t.js → element-interaction-B3GEli6r.js} +2 -2
  562. package/dist/esm/{events-B2UzbUT7.js → events-DdfMb1U7.js} +1 -1
  563. package/dist/esm/{field-control-DbmtKHc1.js → field-control-QF0yTcyb.js} +7 -7
  564. package/dist/esm/{group-CqAFhkgE.js → group-8Me6YSO8.js} +5 -5
  565. package/dist/esm/{has-closer-DOs1CXhp.js → has-closer-B-uYNNCw.js} +2 -2
  566. package/dist/esm/{href-DQbHtp6T.js → href-DKPJq0Rh.js} +2 -2
  567. package/dist/esm/{i18n-Bcb0tuyF.js → i18n-TlIXBsgS.js} +6 -6
  568. package/dist/esm/{i18n-Cf0DhAke.js → i18n-Uze_l4Ts.js} +2 -2
  569. package/dist/esm/{id-BXwy9iRy.js → id-CkUYl2hO.js} +2 -2
  570. package/dist/esm/{index-Bsx5X6jK.js → index-D1fZ9xFt.js} +24 -92
  571. package/dist/esm/index.js +12 -12
  572. package/dist/esm/{input-RvLnUp6C.js → input-DwlolkOG.js} +4 -4
  573. package/dist/esm/{input-container-BpG3WHug.js → input-container-DC3x4oGg.js} +6 -6
  574. package/dist/esm/{item-DMttg5uX.js → item-DThxrTZc.js} +23 -23
  575. package/dist/esm/{item-KqTsA-5a.js → item-cArH2C6l.js} +9 -9
  576. package/dist/esm/{item-pool-C_4Isquh.js → item-pool-D4qvvY-S.js} +1 -1
  577. package/dist/esm/{item-Cw_jdgc6.js → item-uC3h4pj3.js} +15 -15
  578. package/dist/esm/{item-DibV9jD7.js → item-zPmzbSvE.js} +9 -9
  579. package/dist/esm/{keyboard-Cc1-_wSt.js → keyboard-DzlBdECG.js} +1 -1
  580. package/dist/esm/kol-abbr.entry.js +7 -7
  581. package/dist/esm/kol-accordion.entry.js +19 -19
  582. package/dist/esm/kol-alert.entry.js +30 -30
  583. package/dist/esm/kol-avatar.entry.js +17 -20
  584. package/dist/esm/kol-badge.entry.js +29 -29
  585. package/dist/esm/kol-breadcrumb.entry.js +34 -34
  586. package/dist/esm/kol-button-link.entry.js +32 -32
  587. package/dist/esm/kol-button.entry.js +32 -32
  588. package/dist/esm/kol-card.entry.js +59 -98
  589. package/dist/esm/kol-combobox.entry.js +84 -84
  590. package/dist/esm/kol-details.entry.js +19 -19
  591. package/dist/esm/kol-dialog.entry.js +36 -36
  592. package/dist/esm/kol-drawer.entry.js +35 -35
  593. package/dist/esm/kol-form.entry.js +29 -29
  594. package/dist/esm/kol-heading.entry.js +14 -14
  595. package/dist/esm/kol-icon.entry.js +11 -11
  596. package/dist/esm/kol-image.entry.js +20 -20
  597. package/dist/esm/kol-input-checkbox.entry.js +77 -77
  598. package/dist/esm/kol-input-color.entry.js +64 -64
  599. package/dist/esm/kol-input-date.entry.js +76 -76
  600. package/dist/esm/kol-input-email.entry.js +82 -82
  601. package/dist/esm/kol-input-file.entry.js +58 -58
  602. package/dist/esm/kol-input-number.entry.js +78 -78
  603. package/dist/esm/kol-input-password.entry.js +79 -79
  604. package/dist/esm/kol-input-radio.entry.js +60 -60
  605. package/dist/esm/kol-input-range.entry.js +65 -65
  606. package/dist/esm/kol-input-text.entry.js +94 -94
  607. package/dist/esm/kol-kolibri.entry.js +8 -8
  608. package/dist/esm/kol-link-button.entry.js +39 -39
  609. package/dist/esm/kol-link.entry.js +38 -38
  610. package/dist/esm/kol-meter.entry.js +19 -25
  611. package/dist/esm/kol-modal.entry.js +36 -36
  612. package/dist/esm/kol-nav.entry.js +41 -41
  613. package/dist/esm/kol-pagination.entry.js +65 -65
  614. package/dist/esm/kol-popover-button.entry.js +65 -100
  615. package/dist/esm/kol-progress.entry.js +18 -21
  616. package/dist/esm/kol-quote.entry.js +12 -12
  617. package/dist/esm/kol-select.entry.js +71 -71
  618. package/dist/esm/kol-single-select.entry.js +85 -85
  619. package/dist/esm/kol-skip-nav.entry.js +34 -34
  620. package/dist/esm/kol-spin.entry.js +23 -23
  621. package/dist/esm/kol-split-button.entry.js +36 -36
  622. package/dist/esm/kol-table-stateful.entry.js +132 -104
  623. package/dist/esm/kol-table-stateless.entry.js +57 -57
  624. package/dist/esm/kol-tabs.entry.js +36 -36
  625. package/dist/esm/kol-textarea.entry.js +77 -77
  626. package/dist/esm/kol-toast-container.entry.js +20 -20
  627. package/dist/esm/kol-toolbar.entry.js +48 -48
  628. package/dist/esm/kol-tree-item.entry.js +34 -34
  629. package/dist/esm/kol-tree.entry.js +11 -11
  630. package/dist/esm/kol-version.entry.js +22 -22
  631. package/dist/esm/kolibri.js +6 -6
  632. package/dist/esm/{label-DEZIsnKw.js → label-G82W4YoW.js} +4 -4
  633. package/dist/esm/{label-hints-C--ftrg_.js → label-hints-DiRb_zIZ.js} +2 -2
  634. package/dist/esm/{label-lang-segment-B8ayoizG.js → label-lang-segment-BSVexfSR.js} +3 -3
  635. package/dist/esm/{label-with-expert-slot-DXi27J4o.js → label-with-expert-slot-C1i0atAL.js} +4 -4
  636. package/dist/esm/{level-BV6M_zmM.js → level-CWkPM-CS.js} +2 -2
  637. package/dist/esm/{link-target-C9qzQAQg.js → link-target-B2OC2sZU.js} +2 -2
  638. package/dist/esm/{links-Dt0OhMXb.js → links-CiNHSAYH.js} +2 -2
  639. package/dist/esm/loader.js +6 -6
  640. package/dist/esm/{multiple-DQdOCIyW.js → multiple-CuU2AuEM.js} +2 -2
  641. package/dist/esm/{number-value-DtZloH4P.js → number-value-adUq1zr1.js} +2 -2
  642. package/dist/esm/{open-DaO7wXMr.js → open-DR8Z7RtS.js} +2 -2
  643. package/dist/esm/{open-items-cache-C98FzYQ9.js → open-items-cache-CS2mDRNB.js} +1 -1
  644. package/dist/esm/{options-CKAHQbcF.js → options-BDTJtk6H.js} +1 -1
  645. package/dist/esm/{options-C8BsBGBl.js → options-BPwcDIDO.js} +2 -2
  646. package/dist/esm/{orientation-VvJMCd9m.js → orientation-BUPO9LJU.js} +2 -2
  647. package/dist/esm/{placeholder-7pbjAn-x.js → placeholder-BTFnryTd.js} +2 -2
  648. package/dist/esm/{props-from-config-DVxNB2Lx.js → props-from-config-DqFgiUwD.js} +55 -59
  649. package/dist/esm/{read-only-3XuQIAB8.js → read-only-DRmmHb2G.js} +2 -2
  650. package/dist/esm/{required-CNgdXJ8H.js → required-D4CdAA4s.js} +2 -2
  651. package/dist/esm/{resolve-props-DOaJCd7Y.js → resolve-props-BAambGug.js} +9 -9
  652. package/dist/esm/{resolve-props-B1DQKjTD.js → resolve-props-Dpl38Wpe.js} +7 -7
  653. package/dist/esm/{rows-DL1whQNh.js → rows-DRKSoawJ.js} +2 -2
  654. package/dist/esm/{scroll-lock-CF_Z7MzO.js → scroll-lock-C66lpb8L.js} +3 -3
  655. package/dist/esm/{shared-state-sWI1upS8.js → shared-state-Dn94ivRg.js} +1 -1
  656. package/dist/esm/{smart-button-BdA5-cUG.js → smart-button-BYEk3DzS.js} +2 -2
  657. package/dist/esm/{spell-check-B7J-eU5K.js → spell-check-DlQ_d2GL.js} +2 -2
  658. package/dist/esm/{src-C2baLPDp.js → src-Cikg9qhP.js} +2 -2
  659. package/dist/esm/{step-DmzcVFZB.js → step-C7WPZrUp.js} +2 -2
  660. package/dist/esm/{suggestions-BJxNFtkL.js → suggestions-CotfxJG1.js} +2 -2
  661. package/dist/esm/{suggestions-BXp8OhOi.js → suggestions-qW9OdwO3.js} +3 -3
  662. package/dist/esm/test-component.entry.js +1 -1
  663. package/dist/esm/{theme-store-CEu5d_EK.js → theme-store-DroJsU6S.js} +2 -2
  664. package/dist/esm/{toggle-handler-D7oFDKvq.js → toggle-handler-BB_SIgS1.js} +10 -10
  665. package/dist/esm/{tooltip-open-tracking-DXhnfmA2.js → tooltip-open-tracking-CxHWKk8f.js} +2 -2
  666. package/dist/esm/{unique-nav-labels-BOqpcYk4.js → unique-nav-labels-CQgKoOXd.js} +2 -2
  667. package/dist/esm/{unit-BFYz7QfA.js → unit-D2lG-lEM.js} +2 -2
  668. package/dist/esm/{validators-DPSQyOeQ.js → validators-yh10eyXe.js} +2 -2
  669. package/dist/esm/{value-string-Cmozozek.js → value-string-DwEIOG1f.js} +2 -2
  670. package/dist/esm/{width-D5-Licpp.js → width-xawzWTVW.js} +2 -2
  671. package/dist/kolibri/Heading-foerLIu9.js +4 -0
  672. package/dist/kolibri/{access-and-short-key-CW0oxi_q.js → access-and-short-key-BTEwnScd.js} +1 -1
  673. package/dist/kolibri/api-Ba9FNPRn.js +4 -0
  674. package/dist/kolibri/app-globals-CqYpXngl.js +4 -0
  675. package/dist/kolibri/aria-current-service-4eUMzpeO.js +4 -0
  676. package/dist/kolibri/{aria-labelledby-DQov9uSv.js → aria-labelledby-C4wUnR-v.js} +1 -1
  677. package/dist/kolibri/{base-BpgzOuy3.js → base-AKIr0rpk.js} +1 -1
  678. package/dist/kolibri/base-C7nTPc7u.js +4 -0
  679. package/dist/kolibri/base-CpUNedp9.js +4 -0
  680. package/dist/kolibri/base-D7qItqyf.js +4 -0
  681. package/dist/kolibri/{base-web-component-D16FuHFf.js → base-web-component-B3wi5eWH.js} +1 -1
  682. package/dist/kolibri/{base-web-component-E9cH8tf8.js → base-web-component-BpL_hXcg.js} +1 -1
  683. package/dist/kolibri/base-web-component-DorOeD_U.js +4 -0
  684. package/dist/kolibri/{behavior-DnTJtQBK.js → behavior-D9BHiFnH.js} +1 -1
  685. package/dist/kolibri/behavior-DDo87iUM.js +4 -0
  686. package/dist/kolibri/{behavior-ByyBa-o8.js → behavior-XAV9GSxI.js} +1 -1
  687. package/dist/kolibri/{bem-registry-CK2s_XZ4.js → bem-registry-CrZZQahR.js} +1 -1
  688. package/dist/kolibri/bootstrap-Cz7Iq2I2.js +4 -0
  689. package/dist/kolibri/{color-CEoIhjJR.js → color-CnVBqZd5.js} +1 -1
  690. package/dist/kolibri/component-0npqUhj2.js +4 -0
  691. package/dist/kolibri/component-BCKsZOoB.js +4 -0
  692. package/dist/kolibri/{component-CDyoNoJe.js → component-BZjDp_Lf.js} +1 -1
  693. package/dist/kolibri/component-CjdTbGlP.js +4 -0
  694. package/dist/kolibri/component-Cn693XeT.js +4 -0
  695. package/dist/kolibri/component-Cvd5HXbX.js +4 -0
  696. package/dist/kolibri/{component-DeFANBua.js → component-CvdxCpjC.js} +1 -1
  697. package/dist/kolibri/{component-CiTw4ODP.js → component-DFhRTaqb.js} +1 -1
  698. package/dist/kolibri/component-DP_p5few.js +4 -0
  699. package/dist/kolibri/component-DlROeCCe.js +4 -0
  700. package/dist/kolibri/{component-names-Ur_UbEzI.js → component-names-DzmdvSkQ.js} +1 -1
  701. package/dist/kolibri/{contrast-Ujnfz49m.js → contrast-BHjNzQvB.js} +1 -1
  702. package/dist/kolibri/{controller-BdPVgWDs.js → controller-DYkXzFqc.js} +1 -1
  703. package/dist/kolibri/{dev.utils--eVyQ4zr.js → dev.utils-BgFDROtc.js} +1 -1
  704. package/dist/kolibri/devtools-B6h2bVMJ.js +4 -0
  705. package/dist/kolibri/disabled-BZIZZ6wy.js +4 -0
  706. package/dist/kolibri/{element-focus-BYLFG-oz.js → element-focus-C0L8NWU8.js} +1 -1
  707. package/dist/kolibri/{element-interaction-C2pgnQ6t.js → element-interaction-B3GEli6r.js} +1 -1
  708. package/dist/kolibri/{events-B2UzbUT7.js → events-DdfMb1U7.js} +1 -1
  709. package/dist/kolibri/field-control-QF0yTcyb.js +4 -0
  710. package/dist/kolibri/{group-CqAFhkgE.js → group-8Me6YSO8.js} +1 -1
  711. package/dist/kolibri/has-closer-B-uYNNCw.js +4 -0
  712. package/dist/kolibri/href-DKPJq0Rh.js +4 -0
  713. package/dist/kolibri/i18n-TlIXBsgS.js +4 -0
  714. package/dist/kolibri/i18n-Uze_l4Ts.js +4 -0
  715. package/dist/kolibri/id-CkUYl2hO.js +4 -0
  716. package/dist/kolibri/index-D1fZ9xFt.js +6 -0
  717. package/dist/kolibri/index.esm.js +1 -1
  718. package/dist/kolibri/input-DwlolkOG.js +4 -0
  719. package/dist/kolibri/input-container-DC3x4oGg.js +4 -0
  720. package/dist/kolibri/item-DThxrTZc.js +4 -0
  721. package/dist/kolibri/item-cArH2C6l.js +4 -0
  722. package/dist/kolibri/item-pool-D4qvvY-S.js +4 -0
  723. package/dist/kolibri/item-uC3h4pj3.js +4 -0
  724. package/dist/kolibri/item-zPmzbSvE.js +4 -0
  725. package/dist/kolibri/{keyboard-Cc1-_wSt.js → keyboard-DzlBdECG.js} +1 -1
  726. package/dist/kolibri/kol-abbr.entry.js +1 -1
  727. package/dist/kolibri/kol-accordion.entry.js +1 -1
  728. package/dist/kolibri/kol-alert.entry.js +1 -1
  729. package/dist/kolibri/kol-avatar.entry.js +1 -1
  730. package/dist/kolibri/kol-badge.entry.js +1 -1
  731. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  732. package/dist/kolibri/kol-button-link.entry.js +1 -1
  733. package/dist/kolibri/kol-button.entry.js +1 -1
  734. package/dist/kolibri/kol-card.entry.js +1 -1
  735. package/dist/kolibri/kol-combobox.entry.js +1 -1
  736. package/dist/kolibri/kol-details.entry.js +1 -1
  737. package/dist/kolibri/kol-dialog.entry.js +1 -1
  738. package/dist/kolibri/kol-drawer.entry.js +1 -1
  739. package/dist/kolibri/kol-form.entry.js +1 -1
  740. package/dist/kolibri/kol-heading.entry.js +1 -1
  741. package/dist/kolibri/kol-icon.entry.js +1 -1
  742. package/dist/kolibri/kol-image.entry.js +1 -1
  743. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  744. package/dist/kolibri/kol-input-color.entry.js +1 -1
  745. package/dist/kolibri/kol-input-date.entry.js +1 -1
  746. package/dist/kolibri/kol-input-email.entry.js +1 -1
  747. package/dist/kolibri/kol-input-file.entry.js +1 -1
  748. package/dist/kolibri/kol-input-number.entry.js +1 -1
  749. package/dist/kolibri/kol-input-password.entry.js +1 -1
  750. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  751. package/dist/kolibri/kol-input-range.entry.js +1 -1
  752. package/dist/kolibri/kol-input-text.entry.js +1 -1
  753. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  754. package/dist/kolibri/kol-link-button.entry.js +1 -1
  755. package/dist/kolibri/kol-link.entry.js +1 -1
  756. package/dist/kolibri/kol-meter.entry.js +1 -1
  757. package/dist/kolibri/kol-modal.entry.js +1 -1
  758. package/dist/kolibri/kol-nav.entry.js +1 -1
  759. package/dist/kolibri/kol-pagination.entry.js +1 -1
  760. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  761. package/dist/kolibri/kol-progress.entry.js +1 -1
  762. package/dist/kolibri/kol-quote.entry.js +1 -1
  763. package/dist/kolibri/kol-select.entry.js +1 -1
  764. package/dist/kolibri/kol-single-select.entry.js +1 -1
  765. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  766. package/dist/kolibri/kol-spin.entry.js +1 -1
  767. package/dist/kolibri/kol-split-button.entry.js +1 -1
  768. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  769. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  770. package/dist/kolibri/kol-tabs.entry.js +1 -1
  771. package/dist/kolibri/kol-textarea.entry.js +1 -1
  772. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  773. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  774. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  775. package/dist/kolibri/kol-tree.entry.js +1 -1
  776. package/dist/kolibri/kol-version.entry.js +1 -1
  777. package/dist/kolibri/kolibri.esm.js +1 -1
  778. package/dist/kolibri/label-G82W4YoW.js +4 -0
  779. package/dist/kolibri/label-hints-DiRb_zIZ.js +4 -0
  780. package/dist/kolibri/label-lang-segment-BSVexfSR.js +4 -0
  781. package/dist/kolibri/label-with-expert-slot-C1i0atAL.js +4 -0
  782. package/dist/kolibri/level-CWkPM-CS.js +4 -0
  783. package/dist/kolibri/link-target-B2OC2sZU.js +4 -0
  784. package/dist/kolibri/links-CiNHSAYH.js +4 -0
  785. package/dist/kolibri/multiple-CuU2AuEM.js +4 -0
  786. package/dist/kolibri/number-value-adUq1zr1.js +4 -0
  787. package/dist/kolibri/open-DR8Z7RtS.js +4 -0
  788. package/dist/kolibri/{open-items-cache-C98FzYQ9.js → open-items-cache-CS2mDRNB.js} +1 -1
  789. package/dist/kolibri/{options-CKAHQbcF.js → options-BDTJtk6H.js} +1 -1
  790. package/dist/kolibri/options-BPwcDIDO.js +4 -0
  791. package/dist/kolibri/{orientation-VvJMCd9m.js → orientation-BUPO9LJU.js} +1 -1
  792. package/dist/kolibri/placeholder-BTFnryTd.js +4 -0
  793. package/dist/kolibri/props-from-config-DqFgiUwD.js +4 -0
  794. package/dist/kolibri/read-only-DRmmHb2G.js +4 -0
  795. package/dist/kolibri/required-D4CdAA4s.js +4 -0
  796. package/dist/kolibri/resolve-props-BAambGug.js +4 -0
  797. package/dist/kolibri/resolve-props-Dpl38Wpe.js +4 -0
  798. package/dist/kolibri/rows-DRKSoawJ.js +4 -0
  799. package/dist/kolibri/{scroll-lock-CF_Z7MzO.js → scroll-lock-C66lpb8L.js} +1 -1
  800. package/dist/kolibri/shared-state-Dn94ivRg.js +4 -0
  801. package/dist/kolibri/smart-button-BYEk3DzS.js +4 -0
  802. package/dist/kolibri/spell-check-DlQ_d2GL.js +4 -0
  803. package/dist/kolibri/src-Cikg9qhP.js +4 -0
  804. package/dist/kolibri/step-C7WPZrUp.js +4 -0
  805. package/dist/kolibri/{suggestions-BJxNFtkL.js → suggestions-CotfxJG1.js} +1 -1
  806. package/dist/kolibri/suggestions-qW9OdwO3.js +4 -0
  807. package/dist/kolibri/test-component.entry.js +1 -1
  808. package/dist/kolibri/theme-store-DroJsU6S.js +4 -0
  809. package/dist/kolibri/toggle-handler-BB_SIgS1.js +4 -0
  810. package/dist/kolibri/tooltip-open-tracking-CxHWKk8f.js +4 -0
  811. package/dist/kolibri/unique-nav-labels-CQgKoOXd.js +4 -0
  812. package/dist/kolibri/unit-D2lG-lEM.js +4 -0
  813. package/dist/kolibri/validators-yh10eyXe.js +4 -0
  814. package/dist/kolibri/value-string-DwEIOG1f.js +4 -0
  815. package/dist/kolibri/{width-D5-Licpp.js → width-xawzWTVW.js} +1 -1
  816. package/dist/types/components/accordion/component.d.ts +2 -2
  817. package/dist/types/components/alert/component.d.ts +2 -2
  818. package/dist/types/components/badge/component.d.ts +2 -2
  819. package/dist/types/components/breadcrumb/component.d.ts +2 -2
  820. package/dist/types/components/button/base.d.ts +1 -1
  821. package/dist/types/components/button/component.d.ts +2 -2
  822. package/dist/types/components/button-link/component.d.ts +2 -2
  823. package/dist/types/components/card/component.d.ts +12 -5
  824. package/dist/types/components/combobox/component.d.ts +10 -10
  825. package/dist/types/components/details/component.d.ts +2 -2
  826. package/dist/types/components/dialog/base.d.ts +1 -1
  827. package/dist/types/components/dialog/component.d.ts +3 -3
  828. package/dist/types/components/drawer/component.d.ts +2 -2
  829. package/dist/types/components/form/component.d.ts +2 -2
  830. package/dist/types/components/heading/component.d.ts +2 -2
  831. package/dist/types/components/image/component.d.ts +2 -2
  832. package/dist/types/components/input-checkbox/component.d.ts +9 -9
  833. package/dist/types/components/input-color/component.d.ts +4 -4
  834. package/dist/types/components/input-date/component.d.ts +6 -6
  835. package/dist/types/components/input-email/component.d.ts +8 -8
  836. package/dist/types/components/input-file/component.d.ts +4 -4
  837. package/dist/types/components/input-number/component.d.ts +6 -6
  838. package/dist/types/components/input-password/component.d.ts +8 -8
  839. package/dist/types/components/input-radio/component.d.ts +5 -5
  840. package/dist/types/components/input-range/component.d.ts +4 -4
  841. package/dist/types/components/input-text/component.d.ts +12 -12
  842. package/dist/types/components/kolibri/component.d.ts +2 -2
  843. package/dist/types/components/link/component.d.ts +4 -4
  844. package/dist/types/components/link-button/component.d.ts +4 -4
  845. package/dist/types/components/modal/component.d.ts +3 -3
  846. package/dist/types/components/nav/component.d.ts +2 -2
  847. package/dist/types/components/pagination/component.d.ts +8 -8
  848. package/dist/types/components/popover-button/component.d.ts +10 -3
  849. package/dist/types/components/public-api/contract.d.ts +7 -2
  850. package/dist/types/components/select/component.d.ts +6 -6
  851. package/dist/types/components/single-select/component.d.ts +10 -10
  852. package/dist/types/components/skip-nav/component.d.ts +2 -2
  853. package/dist/types/components/spin/component.d.ts +2 -2
  854. package/dist/types/components/split-button/component.d.ts +2 -2
  855. package/dist/types/components/table-stateful/component.d.ts +7 -7
  856. package/dist/types/components/table-stateless/base.d.ts +2 -0
  857. package/dist/types/components/table-stateless/component.d.ts +2 -2
  858. package/dist/types/components/tabs/component.d.ts +3 -3
  859. package/dist/types/components/textarea/component.d.ts +8 -8
  860. package/dist/types/components/toolbar/component.d.ts +6 -6
  861. package/dist/types/components/tree/component.d.ts +2 -2
  862. package/dist/types/components/tree-item/component.d.ts +4 -4
  863. package/dist/types/components/version/component.d.ts +2 -2
  864. package/dist/types/components.d.ts +47 -53
  865. package/dist/types/index.d.ts +1 -1
  866. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  867. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  868. package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
  869. package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
  870. package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
  871. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  872. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  873. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  874. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  875. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  876. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  877. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  878. package/dist/types/internal/functional-components/dialog/component.d.ts +1 -1
  879. package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
  880. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  881. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  882. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  883. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  884. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
  885. package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
  886. package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
  887. package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
  888. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  889. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  890. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  891. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  892. package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
  893. package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
  894. package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
  895. package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
  896. package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
  897. package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
  898. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  899. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  900. package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
  901. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  902. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  903. package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
  904. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  905. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  906. package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +1 -1
  907. package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
  908. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  909. package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
  910. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  911. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  912. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  913. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  914. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  915. package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
  916. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  917. package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
  918. package/dist/types/internal/functional-components/table-stateful/model.d.ts +2 -0
  919. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  920. package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
  921. package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
  922. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +1 -1
  923. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  924. package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
  925. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  926. package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
  927. package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
  928. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  929. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  930. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  931. package/dist/types/internal/functional-components/version/api.d.ts +1 -1
  932. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
  933. package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
  934. package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
  935. package/dist/types/internal/props/index.d.ts +1 -1
  936. package/dist/types/internal/props/info-popover.d.ts +1 -1
  937. package/dist/types/internal/props/input-date-max.d.ts +1 -1
  938. package/dist/types/internal/props/input-date-min.d.ts +1 -1
  939. package/dist/types/internal/props/nav-links.d.ts +1 -1
  940. package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
  941. package/dist/types/internal/props/smart-button.d.ts +1 -25
  942. package/dist/types/internal/props/value-input-date.d.ts +1 -1
  943. package/dist/types/schema/components/alert.d.ts +2 -8
  944. package/dist/types/schema/components/badge.d.ts +3 -16
  945. package/dist/types/schema/components/breadcrumb.d.ts +0 -15
  946. package/dist/types/schema/components/button.d.ts +3 -3
  947. package/dist/types/schema/components/card.d.ts +0 -9
  948. package/dist/types/schema/components/form.d.ts +0 -13
  949. package/dist/types/schema/components/index.d.ts +0 -29
  950. package/dist/types/schema/components/link.d.ts +2 -2
  951. package/dist/types/schema/components/pagination.d.ts +1 -15
  952. package/dist/types/schema/components/popover-button.d.ts +3 -6
  953. package/dist/types/schema/components/tabs.d.ts +3 -21
  954. package/dist/types/schema/components/textarea.d.ts +0 -28
  955. package/dist/types/schema/index.d.ts +1 -1
  956. package/dist/types/schema/props/accept.d.ts +0 -3
  957. package/dist/types/schema/props/access-key.d.ts +0 -2
  958. package/dist/types/schema/props/active.d.ts +0 -3
  959. package/dist/types/schema/props/adjust-height.d.ts +0 -2
  960. package/dist/types/schema/props/alert-type.d.ts +0 -2
  961. package/dist/types/schema/props/align.d.ts +0 -2
  962. package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
  963. package/dist/types/schema/props/alt.d.ts +0 -3
  964. package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
  965. package/dist/types/schema/props/aria-controls.d.ts +0 -2
  966. package/dist/types/schema/props/aria-current-value.d.ts +1 -5
  967. package/dist/types/schema/props/aria-description.d.ts +0 -2
  968. package/dist/types/schema/props/aria-expanded.d.ts +0 -2
  969. package/dist/types/schema/props/aria-owns.d.ts +0 -2
  970. package/dist/types/schema/props/aria-selected.d.ts +0 -2
  971. package/dist/types/schema/props/auto-complete.d.ts +0 -2
  972. package/dist/types/schema/props/badge-text.d.ts +0 -2
  973. package/dist/types/schema/props/button-callbacks.d.ts +0 -3
  974. package/dist/types/schema/props/button-type.d.ts +1 -5
  975. package/dist/types/schema/props/button-variant.d.ts +1 -5
  976. package/dist/types/schema/props/checked.d.ts +0 -2
  977. package/dist/types/schema/props/collapsible.d.ts +0 -2
  978. package/dist/types/schema/props/color.d.ts +0 -4
  979. package/dist/types/schema/props/current-length.d.ts +0 -3
  980. package/dist/types/schema/props/custom-class.d.ts +0 -2
  981. package/dist/types/schema/props/disabled.d.ts +0 -2
  982. package/dist/types/schema/props/download.d.ts +0 -2
  983. package/dist/types/schema/props/error-list.d.ts +0 -2
  984. package/dist/types/schema/props/has-closer.d.ts +0 -2
  985. package/dist/types/schema/props/has-compact-button.d.ts +0 -2
  986. package/dist/types/schema/props/has-counter.d.ts +0 -3
  987. package/dist/types/schema/props/has-create-button.d.ts +0 -2
  988. package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
  989. package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
  990. package/dist/types/schema/props/has-value.d.ts +0 -3
  991. package/dist/types/schema/props/hide-label.d.ts +0 -3
  992. package/dist/types/schema/props/hide-msg.d.ts +0 -3
  993. package/dist/types/schema/props/hint.d.ts +0 -2
  994. package/dist/types/schema/props/href.d.ts +2 -4
  995. package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
  996. package/dist/types/schema/props/icons.d.ts +0 -3
  997. package/dist/types/schema/props/id.d.ts +0 -2
  998. package/dist/types/schema/props/image-sizes.d.ts +0 -3
  999. package/dist/types/schema/props/image-source.d.ts +0 -3
  1000. package/dist/types/schema/props/image-srcset.d.ts +0 -3
  1001. package/dist/types/schema/props/indeterminate.d.ts +0 -2
  1002. package/dist/types/schema/props/index.d.ts +4 -0
  1003. package/dist/types/schema/props/inline.d.ts +0 -3
  1004. package/dist/types/schema/props/label-align.d.ts +1 -5
  1005. package/dist/types/schema/props/label.d.ts +3 -7
  1006. package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
  1007. package/dist/types/schema/props/link-target.d.ts +0 -2
  1008. package/dist/types/schema/props/loading.d.ts +1 -5
  1009. package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
  1010. package/dist/types/schema/props/max-length.d.ts +0 -3
  1011. package/dist/types/schema/props/max.d.ts +0 -4
  1012. package/dist/types/schema/props/modal.d.ts +0 -2
  1013. package/dist/types/schema/props/msg.d.ts +0 -2
  1014. package/dist/types/schema/props/multiple.d.ts +0 -3
  1015. package/dist/types/schema/props/name.d.ts +0 -3
  1016. package/dist/types/schema/props/open.d.ts +0 -3
  1017. package/dist/types/schema/props/options.d.ts +0 -4
  1018. package/dist/types/schema/props/orientation.d.ts +1 -5
  1019. package/dist/types/schema/props/pagination-position.d.ts +1 -5
  1020. package/dist/types/schema/props/pattern.d.ts +0 -3
  1021. package/dist/types/schema/props/placeholder.d.ts +0 -3
  1022. package/dist/types/schema/props/popover-align.d.ts +0 -2
  1023. package/dist/types/schema/props/read-only.d.ts +0 -2
  1024. package/dist/types/schema/props/required.d.ts +0 -2
  1025. package/dist/types/schema/props/resize-textarea.d.ts +0 -2
  1026. package/dist/types/schema/props/rows.d.ts +0 -2
  1027. package/dist/types/schema/props/short-key.d.ts +0 -2
  1028. package/dist/types/schema/props/show.d.ts +0 -3
  1029. package/dist/types/schema/props/spell-check.d.ts +0 -2
  1030. package/dist/types/schema/props/suggestions.d.ts +0 -2
  1031. package/dist/types/schema/props/tab-behavior.d.ts +1 -5
  1032. package/dist/types/schema/props/tab-index.d.ts +0 -2
  1033. package/dist/types/schema/props/table-callbacks.d.ts +2 -2
  1034. package/dist/types/schema/props/table-data-foot.d.ts +0 -3
  1035. package/dist/types/schema/props/table-data.d.ts +0 -3
  1036. package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
  1037. package/dist/types/schema/props/table-selection.d.ts +0 -2
  1038. package/dist/types/schema/props/toolbar-items.d.ts +0 -2
  1039. package/dist/types/schema/props/tooltip-align.d.ts +0 -2
  1040. package/dist/types/schema/props/touched.d.ts +0 -2
  1041. package/dist/types/schema/props/type-input-date.d.ts +4 -2
  1042. package/dist/types/schema/props/type-input-text.d.ts +0 -2
  1043. package/dist/types/schema/props/unit.d.ts +0 -2
  1044. package/dist/types/schema/props/variant/dialog.d.ts +1 -5
  1045. package/dist/types/schema/props/variant/modal.d.ts +0 -1
  1046. package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
  1047. package/dist/types/schema/props/variant-alert.d.ts +0 -2
  1048. package/dist/types/schema/props/variant-class-name.d.ts +0 -3
  1049. package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
  1050. package/dist/types/schema/props/variant-progress.d.ts +0 -2
  1051. package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
  1052. package/dist/types/schema/props/width.d.ts +0 -3
  1053. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  1054. package/dist/types/schema/validators/common.d.ts +2 -0
  1055. package/dist/types/schema/validators/index.d.ts +0 -1
  1056. package/dist/types/utils/testing/logged-messages.d.ts +1 -0
  1057. package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
  1058. package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
  1059. package/doc/badge.md +6 -6
  1060. package/doc/combobox.md +23 -23
  1061. package/doc/input-checkbox.md +2 -2
  1062. package/doc/input-color.md +22 -22
  1063. package/doc/input-date.md +28 -28
  1064. package/doc/input-email.md +30 -30
  1065. package/doc/input-file.md +22 -22
  1066. package/doc/input-number.md +28 -28
  1067. package/doc/input-password.md +29 -29
  1068. package/doc/input-radio.md +19 -19
  1069. package/doc/input-range.md +24 -24
  1070. package/doc/input-text.md +31 -31
  1071. package/doc/select.md +24 -24
  1072. package/doc/single-select.md +24 -24
  1073. package/doc/tabs.md +1 -1
  1074. package/doc/textarea.md +29 -29
  1075. package/package.json +3 -3
  1076. package/vscode-custom-data.json +50 -138
  1077. package/dist/collection/components/card/base.js +0 -79
  1078. package/dist/collection/components/popover-button/base.js +0 -69
  1079. package/dist/collection/schema/components/accordion.js +0 -1
  1080. package/dist/collection/schema/components/button-link.js +0 -1
  1081. package/dist/collection/schema/components/collapsible.js +0 -1
  1082. package/dist/collection/schema/components/combobox.js +0 -1
  1083. package/dist/collection/schema/components/details.js +0 -1
  1084. package/dist/collection/schema/components/dialog.js +0 -1
  1085. package/dist/collection/schema/components/drawer.js +0 -1
  1086. package/dist/collection/schema/components/heading.js +0 -1
  1087. package/dist/collection/schema/components/input-checkbox.js +0 -1
  1088. package/dist/collection/schema/components/input-color.js +0 -1
  1089. package/dist/collection/schema/components/input-date.js +0 -1
  1090. package/dist/collection/schema/components/input-email.js +0 -1
  1091. package/dist/collection/schema/components/input-file.js +0 -1
  1092. package/dist/collection/schema/components/input-number.js +0 -1
  1093. package/dist/collection/schema/components/input-password.js +0 -1
  1094. package/dist/collection/schema/components/input-radio.js +0 -1
  1095. package/dist/collection/schema/components/input-range.js +0 -1
  1096. package/dist/collection/schema/components/input-text.js +0 -1
  1097. package/dist/collection/schema/components/kolibri.js +0 -1
  1098. package/dist/collection/schema/components/link-button.js +0 -1
  1099. package/dist/collection/schema/components/modal.js +0 -1
  1100. package/dist/collection/schema/components/nav.js +0 -1
  1101. package/dist/collection/schema/components/select.js +0 -1
  1102. package/dist/collection/schema/components/single-select.js +0 -1
  1103. package/dist/collection/schema/components/skip-nav.js +0 -1
  1104. package/dist/collection/schema/components/split-button.js +0 -1
  1105. package/dist/collection/schema/components/toolbar.js +0 -1
  1106. package/dist/collection/schema/components/tree-item.js +0 -1
  1107. package/dist/collection/schema/components/tree.js +0 -1
  1108. package/dist/collection/schema/components/version.js +0 -1
  1109. package/dist/collection/schema/validators/alignment.js +0 -10
  1110. package/dist/collection/utils/testing/legacy-component.js +0 -16
  1111. package/dist/components/ariaCurrentService.js +0 -4
  1112. package/dist/kolibri/Heading-Cynkalqu.js +0 -4
  1113. package/dist/kolibri/api-B76-Osk1.js +0 -4
  1114. package/dist/kolibri/app-globals-Dtu1AIr1.js +0 -4
  1115. package/dist/kolibri/ariaCurrentService-B9TgWLEw.js +0 -4
  1116. package/dist/kolibri/base-BZCFxul4.js +0 -4
  1117. package/dist/kolibri/base-CAiOx0qs.js +0 -4
  1118. package/dist/kolibri/base-DJ3lTPYp.js +0 -4
  1119. package/dist/kolibri/base-web-component-aOhHFXxF.js +0 -4
  1120. package/dist/kolibri/behavior-DJQFXyfi.js +0 -4
  1121. package/dist/kolibri/bootstrap-DUmk0ILT.js +0 -4
  1122. package/dist/kolibri/component-BPL1Mikq.js +0 -4
  1123. package/dist/kolibri/component-C0ijstyp.js +0 -4
  1124. package/dist/kolibri/component-C58IwTEf.js +0 -4
  1125. package/dist/kolibri/component-CAEpgoSo.js +0 -4
  1126. package/dist/kolibri/component-DTV1Kuf1.js +0 -4
  1127. package/dist/kolibri/component-S6ib3O8N.js +0 -4
  1128. package/dist/kolibri/component-XbTjo2nm.js +0 -4
  1129. package/dist/kolibri/devtools-CosbyboJ.js +0 -4
  1130. package/dist/kolibri/disabled-Cu0e92-b.js +0 -4
  1131. package/dist/kolibri/field-control-DbmtKHc1.js +0 -4
  1132. package/dist/kolibri/has-closer-DOs1CXhp.js +0 -4
  1133. package/dist/kolibri/href-DQbHtp6T.js +0 -4
  1134. package/dist/kolibri/i18n-Bcb0tuyF.js +0 -4
  1135. package/dist/kolibri/i18n-Cf0DhAke.js +0 -4
  1136. package/dist/kolibri/id-BXwy9iRy.js +0 -4
  1137. package/dist/kolibri/index-Bsx5X6jK.js +0 -6
  1138. package/dist/kolibri/input-RvLnUp6C.js +0 -4
  1139. package/dist/kolibri/input-container-BpG3WHug.js +0 -4
  1140. package/dist/kolibri/item-Cw_jdgc6.js +0 -4
  1141. package/dist/kolibri/item-DMttg5uX.js +0 -4
  1142. package/dist/kolibri/item-DibV9jD7.js +0 -4
  1143. package/dist/kolibri/item-KqTsA-5a.js +0 -4
  1144. package/dist/kolibri/item-pool-C_4Isquh.js +0 -4
  1145. package/dist/kolibri/label-DEZIsnKw.js +0 -4
  1146. package/dist/kolibri/label-hints-C--ftrg_.js +0 -4
  1147. package/dist/kolibri/label-lang-segment-B8ayoizG.js +0 -4
  1148. package/dist/kolibri/label-with-expert-slot-DXi27J4o.js +0 -4
  1149. package/dist/kolibri/level-BV6M_zmM.js +0 -4
  1150. package/dist/kolibri/link-target-C9qzQAQg.js +0 -4
  1151. package/dist/kolibri/links-Dt0OhMXb.js +0 -4
  1152. package/dist/kolibri/multiple-DQdOCIyW.js +0 -4
  1153. package/dist/kolibri/number-value-DtZloH4P.js +0 -4
  1154. package/dist/kolibri/open-DaO7wXMr.js +0 -4
  1155. package/dist/kolibri/options-C8BsBGBl.js +0 -4
  1156. package/dist/kolibri/placeholder-7pbjAn-x.js +0 -4
  1157. package/dist/kolibri/props-from-config-DVxNB2Lx.js +0 -4
  1158. package/dist/kolibri/read-only-3XuQIAB8.js +0 -4
  1159. package/dist/kolibri/required-CNgdXJ8H.js +0 -4
  1160. package/dist/kolibri/resolve-props-B1DQKjTD.js +0 -4
  1161. package/dist/kolibri/resolve-props-DOaJCd7Y.js +0 -4
  1162. package/dist/kolibri/rows-DL1whQNh.js +0 -4
  1163. package/dist/kolibri/shared-state-sWI1upS8.js +0 -4
  1164. package/dist/kolibri/smart-button-BdA5-cUG.js +0 -4
  1165. package/dist/kolibri/spell-check-B7J-eU5K.js +0 -4
  1166. package/dist/kolibri/src-C2baLPDp.js +0 -4
  1167. package/dist/kolibri/step-DmzcVFZB.js +0 -4
  1168. package/dist/kolibri/suggestions-BXp8OhOi.js +0 -4
  1169. package/dist/kolibri/theme-store-CEu5d_EK.js +0 -4
  1170. package/dist/kolibri/toggle-handler-D7oFDKvq.js +0 -4
  1171. package/dist/kolibri/tooltip-open-tracking-DXhnfmA2.js +0 -4
  1172. package/dist/kolibri/unique-nav-labels-BOqpcYk4.js +0 -4
  1173. package/dist/kolibri/unit-BFYz7QfA.js +0 -4
  1174. package/dist/kolibri/validators-DPSQyOeQ.js +0 -4
  1175. package/dist/kolibri/value-string-Cmozozek.js +0 -4
  1176. package/dist/types/components/card/base.d.ts +0 -27
  1177. package/dist/types/components/popover-button/base.d.ts +0 -21
  1178. package/dist/types/schema/components/accordion.d.ts +0 -11
  1179. package/dist/types/schema/components/button-link.d.ts +0 -7
  1180. package/dist/types/schema/components/collapsible.d.ts +0 -7
  1181. package/dist/types/schema/components/combobox.d.ts +0 -26
  1182. package/dist/types/schema/components/details.d.ts +0 -11
  1183. package/dist/types/schema/components/dialog.d.ts +0 -21
  1184. package/dist/types/schema/components/drawer.d.ts +0 -17
  1185. package/dist/types/schema/components/heading.d.ts +0 -17
  1186. package/dist/types/schema/components/input-checkbox.d.ts +0 -25
  1187. package/dist/types/schema/components/input-color.d.ts +0 -25
  1188. package/dist/types/schema/components/input-date.d.ts +0 -34
  1189. package/dist/types/schema/components/input-email.d.ts +0 -31
  1190. package/dist/types/schema/components/input-file.d.ts +0 -22
  1191. package/dist/types/schema/components/input-number.d.ts +0 -33
  1192. package/dist/types/schema/components/input-password.d.ts +0 -31
  1193. package/dist/types/schema/components/input-radio.d.ts +0 -22
  1194. package/dist/types/schema/components/input-range.d.ts +0 -27
  1195. package/dist/types/schema/components/input-text.d.ts +0 -33
  1196. package/dist/types/schema/components/kolibri.d.ts +0 -21
  1197. package/dist/types/schema/components/link-button.d.ts +0 -7
  1198. package/dist/types/schema/components/modal.d.ts +0 -4
  1199. package/dist/types/schema/components/nav.d.ts +0 -16
  1200. package/dist/types/schema/components/select.d.ts +0 -24
  1201. package/dist/types/schema/components/single-select.d.ts +0 -24
  1202. package/dist/types/schema/components/skip-nav.d.ts +0 -16
  1203. package/dist/types/schema/components/split-button.d.ts +0 -9
  1204. package/dist/types/schema/components/toolbar.d.ts +0 -11
  1205. package/dist/types/schema/components/tree-item.d.ts +0 -12
  1206. package/dist/types/schema/components/tree.d.ts +0 -10
  1207. package/dist/types/schema/components/version.d.ts +0 -10
  1208. package/dist/types/schema/validators/alignment.d.ts +0 -3
  1209. package/dist/types/utils/testing/legacy-component.d.ts +0 -4
  1210. /package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
  1211. /package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
  1212. /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{U as t,m as e,t as s,y as i}from"./index-Bsx5X6jK.js";import{c as o}from"./bootstrap-DUmk0ILT.js";import{c as n,b as a}from"./props-from-config-DVxNB2Lx.js";import{n as r}from"./component-XbTjo2nm.js";import{B as l}from"./behavior-DJQFXyfi.js";const c=n("syncValueBySelector",void 0,a),u={optional:[r,c]},h=new Set(["KOL-COMBOBOX","KOL-INPUT-CHECKBOX","KOL-INPUT-COLOR","KOL-INPUT-DATE","KOL-INPUT-EMAIL","KOL-INPUT-FILE","KOL-INPUT-NUMBER","KOL-INPUT-PASSWORD","KOL-INPUT-RADIO","KOL-INPUT-RANGE","KOL-INPUT-TEXT","KOL-SELECT","KOL-SINGLE-SELECT","KOL-TEXTAREA"]);class d extends l{constructor(s,{host:i,type:o,name:n}){super(s,u),this.experimentalMode=t(),this.setFormAssociatedValue=t=>{var s;const i=null===(s=this.formAssociated)||void 0===s?void 0:s.getAttribute("name");null!==i&&""!==i||e(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(i),this.type=o,this.ensureFormAssociatedElement(n)}ensureFormAssociatedElement(t){var e,s,i,n,a;!this.formAssociated&&(null===(e=o())||void 0===e?void 0:e.reflectInputValues)&&h.has(null!==(i=null===(s=this.host)||void 0===s?void 0:s.tagName)&&void 0!==i?i:"")&&t&&(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),this.setNameAttribute(t),null===(a=this.host)||void 0===a||a.appendChild(this.formAssociated))}componentWillLoad(t){this.watchName(t.name),this.watchSyncValueBySelector(t.syncValueBySelector)}watchName(t){r.apply(t,(t=>{this.setRenderProp("name",t),this.setNameAttribute(t)})),void 0!==t?this.ensureFormAssociatedElement(t):e("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}watchSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){this.setRenderProp("syncValueBySelector",t);const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}setNameAttribute(t){this.setAttribute("name",this.formAssociated,t)}createFormAssociatedElement(){switch(this.type){case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":{const t=document.createElement(s("input"));return t.setAttribute("type",this.type),t}case"select":{const t=document.createElement(s("select"));return t.setAttribute("multiple",""),t}case"textarea":return document.createElement(s("textarea"));default:{const t=document.createElement(s("input"));return t.setAttribute("type","hidden"),t}}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;){const e=t.parentNode;t=11===(null==e?void 0:e.nodeType)&&"host"in e?e.host:1===(null==e?void 0:e.nodeType)?e:void 0}return t}setAttribute(t,e,s){if(this.experimentalMode)try{if("boolean"!=typeof(s="object"==typeof s&&null!==s?JSON.stringify(s):s)&&"number"!=typeof s&&"string"!=typeof s)throw new Error("Invalid value type: "+typeof s);null==e||e.setAttribute(t,`${s}`)}catch(s){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return i(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,s){if(s)switch(this.type){case"file":"undefined"!=typeof FileList&&t instanceof FileList?s.files=t:s.value="";break;case"select":"SELECT"===s.tagName?this.syncSelectOptions(t,s):this.syncValueAttribute(e,s);break;case"radio":"string"==typeof e&&(s.setAttribute("value",e),s.setAttribute("checked",""),s.value=e);break;default:this.syncValueAttribute(e,s)}}syncSelectOptions(t,e){e.querySelectorAll("option").forEach((t=>{e.removeChild(t)})),(Array.isArray(t)?t:null==t?[]:[t]).forEach((t=>{const i=this.tryToStringifyValue(t);if("string"==typeof i){const t=document.createElement(s("option"));t.setAttribute("value",i),t.setAttribute("selected",""),e.appendChild(t)}}))}syncValueAttribute(t,e){"string"==typeof t?(e.setAttribute("value",t),e.value=t):(e.removeAttribute("value"),e.value="")}}export{d as F}
4
+ import{V as t,m as e,t as s,z as i}from"./index-D1fZ9xFt.js";import{c as o}from"./bootstrap-Cz7Iq2I2.js";import{c as n,b as a}from"./props-from-config-DqFgiUwD.js";import{n as r}from"./component-DP_p5few.js";import{B as l}from"./behavior-DDo87iUM.js";const c=n("syncValueBySelector",void 0,a),u={optional:[r,c]},h=new Set(["KOL-COMBOBOX","KOL-INPUT-CHECKBOX","KOL-INPUT-COLOR","KOL-INPUT-DATE","KOL-INPUT-EMAIL","KOL-INPUT-FILE","KOL-INPUT-NUMBER","KOL-INPUT-PASSWORD","KOL-INPUT-RADIO","KOL-INPUT-RANGE","KOL-INPUT-TEXT","KOL-SELECT","KOL-SINGLE-SELECT","KOL-TEXTAREA"]);class d extends l{constructor(s,{host:i,type:o,name:n}){super(s,u),this.experimentalMode=t(),this.setFormAssociatedValue=t=>{var s;const i=null===(s=this.formAssociated)||void 0===s?void 0:s.getAttribute("name");null!==i&&""!==i||e(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(i),this.type=o,this.ensureFormAssociatedElement(n)}ensureFormAssociatedElement(t){var e,s,i,n,a;!this.formAssociated&&(null===(e=o())||void 0===e?void 0:e.reflectInputValues)&&h.has(null!==(i=null===(s=this.host)||void 0===s?void 0:s.tagName)&&void 0!==i?i:"")&&t&&(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),this.setNameAttribute(t),null===(a=this.host)||void 0===a||a.appendChild(this.formAssociated))}componentWillLoad(t){this.watchName(t.name),this.watchSyncValueBySelector(t.syncValueBySelector)}watchName(t){r.apply(t,(t=>{this.setRenderProp("name",t),this.setNameAttribute(t)})),void 0!==t?this.ensureFormAssociatedElement(t):e("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}watchSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){this.setRenderProp("syncValueBySelector",t);const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}setNameAttribute(t){this.setAttribute("name",this.formAssociated,t)}createFormAssociatedElement(){switch(this.type){case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":{const t=document.createElement(s("input"));return t.setAttribute("type",this.type),t}case"select":{const t=document.createElement(s("select"));return t.setAttribute("multiple",""),t}case"textarea":return document.createElement(s("textarea"));default:{const t=document.createElement(s("input"));return t.setAttribute("type","hidden"),t}}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;){const e=t.parentNode;t=11===(null==e?void 0:e.nodeType)&&"host"in e?e.host:1===(null==e?void 0:e.nodeType)?e:void 0}return t}setAttribute(t,e,s){if(this.experimentalMode)try{if("boolean"!=typeof(s="object"==typeof s&&null!==s?JSON.stringify(s):s)&&"number"!=typeof s&&"string"!=typeof s)throw new Error("Invalid value type: "+typeof s);null==e||e.setAttribute(t,`${s}`)}catch(s){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return i(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,s){if(s)switch(this.type){case"file":"undefined"!=typeof FileList&&t instanceof FileList?s.files=t:s.value="";break;case"select":"SELECT"===s.tagName?this.syncSelectOptions(t,s):this.syncValueAttribute(e,s);break;case"radio":"string"==typeof e&&(s.setAttribute("value",e),s.setAttribute("checked",""),s.value=e);break;default:this.syncValueAttribute(e,s)}}syncSelectOptions(t,e){e.querySelectorAll("option").forEach((t=>{e.removeChild(t)})),(Array.isArray(t)?t:null==t?[]:[t]).forEach((t=>{const i=this.tryToStringifyValue(t);if("string"==typeof i){const t=document.createElement(s("option"));t.setAttribute("value",i),t.setAttribute("selected",""),e.appendChild(t)}}))}syncValueAttribute(t,e){"string"==typeof t?(e.setAttribute("value",t),e.value=t):(e.removeAttribute("value"),e.value="")}}export{d as F}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{P as t,J as e}from"./index-D1fZ9xFt.js";import{t as n,a as i}from"./tooltip-open-tracking-CxHWKk8f.js";import{j as o}from"./component-0npqUhj2.js";import{c as r,b as s,d as l}from"./props-from-config-DqFgiUwD.js";import{i as a}from"./id-CkUYl2hO.js";import{l as c}from"./label-lang-segment-BSVexfSR.js";const u=o("align","top"),f=r("badgeText","",s),h=Math.min,d=Math.max,m=Math.round,p=Math.floor,y=t=>({x:t,y:t}),w={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t,e,n){return d(t,h(e,n))}function x(t,e){return"function"==typeof t?t(e):t}function v(t){return t.split("-")[0]}function b(t){return t.split("-")[1]}function A(t){return"x"===t?"y":"x"}function S(t){return"y"===t?"height":"width"}function T(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function k(t){return A(T(t))}function R(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const F=["left","right"],O=["right","left"],j=["top","bottom"],C=["bottom","top"];function E(t){const e=v(t);return w[e]+t.slice(e.length)}function D(t){return"number"!=typeof t?function(t){var e,n,i,o;return{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(i=t.bottom)?i:0,left:null!=(o=t.left)?o:0}}(t):{top:t,right:t,bottom:t,left:t}}function L(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function z(t,e,n){let{reference:i,floating:o}=t;const r=T(e),s=k(e),l=S(s),a=v(e),c="y"===r,u=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let d;switch(a){case"top":d={x:u,y:i.y-o.height};break;case"bottom":d={x:u,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-o.width,y:f};break;default:d={x:i.x,y:i.y}}const m=b(e);return m&&(d[s]+=h*("end"===m?1:-1)*(n&&c?-1:1)),d}async function P(t,e){var n;void 0===e&&(e={});const{x:i,y:o,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=x(e,t),m=D(d),p=l[h?"floating"===f?"reference":"floating":f],y=L(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(p)))||n?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),w="floating"===f?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,g=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(g))&&await(null==r.getScale?void 0:r.getScale(g))||{x:1,y:1},b=L(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:g,strategy:a}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}const M=new Set(["left","top"]);function $(){return"undefined"!=typeof window}function B(t){return V(t)?(t.nodeName||"").toLowerCase():"#document"}function q(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function H(t){var e;return null==(e=(V(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function V(t){return!!$()&&(t instanceof Node||t instanceof q(t).Node)}function I(t){return!!$()&&(t instanceof Element||t instanceof q(t).Element)}function N(t){return!!$()&&(t instanceof HTMLElement||t instanceof q(t).HTMLElement)}function U(t){return!(!$()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof q(t).ShadowRoot)}function W(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==o&&"contents"!==o}function _(t){return/^(table|td|th)$/.test(B(t))}function Y(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const J=/transform|translate|scale|rotate|perspective|filter/,K=/paint|layout|strict|content/,X=t=>!!t&&"none"!==t;let Z;function G(t){const e=I(t)?et(t):t;return X(e.transform)||X(e.translate)||X(e.scale)||X(e.rotate)||X(e.perspective)||!Q()&&(X(e.backdropFilter)||X(e.filter))||J.test(e.willChange||"")||K.test(e.contain||"")}function Q(){return null==Z&&(Z="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Z}function tt(t){return/^(html|body|#document)$/.test(B(t))}function et(t){return q(t).getComputedStyle(t)}function nt(t){return I(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function it(t){if("html"===B(t))return t;const e=t.assignedSlot||t.parentNode||U(t)&&t.host||H(t);return U(e)?e.host:e}function ot(t){const e=it(t);return tt(e)?(t.ownerDocument||t).body:N(e)&&W(e)?e:ot(e)}function rt(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=ot(t),r=o===(null==(i=t.ownerDocument)?void 0:i.body),s=q(o);if(r){const t=st(s);return e.concat(s,s.visualViewport||[],W(o)?o:[],t&&n?rt(t):[])}return e.concat(o,rt(o,[],n))}function st(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function lt(t){const e=et(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=N(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=m(n)!==r||m(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function at(t){return I(t)?t:t.contextElement}function ct(t){const e=at(t);if(!N(e))return y(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=lt(e);let s=(r?m(n.width):n.width)/i,l=(r?m(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const ut=y(0);function ft(t){const e=q(t);return Q()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function ht(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=at(t);let s=y(1);e&&(i?I(i)&&(s=ct(i)):s=ct(t));const l=function(t,e,n){return void 0===e&&(e=!1),!!n&&e&&n===q(t)}(r,n,i)?ft(r):y(0);let a=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(r&&i){const t=q(r),e=I(i)?q(i):i;let n=t,o=st(n);for(;o&&e!==n;){const t=ct(o),e=o.getBoundingClientRect(),i=et(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,u*=t.x,f*=t.y,a+=r,c+=s,n=q(o),o=st(n)}}return L({width:u,height:f,x:a,y:c})}function dt(t,e){const n=nt(t).scrollLeft;return e?e.left+n:ht(H(t)).left+n}function mt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-dt(t,n),y:n.top+e.scrollTop}}function pt(t,e,n){let i;if("viewport"===e||"layoutViewport"===e)i=function(t,e,n){void 0===n&&(n="viewport");const i="layoutViewport"===n,o=q(t),r=H(t),s=o.visualViewport;let l=r.clientWidth,a=r.clientHeight,c=0,u=0;if(s){const t=!Q()||"fixed"===e;i?t||(c=-s.offsetLeft,u=-s.offsetTop):(l=s.width,a=s.height,t&&(c=s.offsetLeft,u=s.offsetTop))}if(dt(r)<=0){const t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-e.clientWidth-i),s="stable both-edges"===getComputedStyle(r).scrollbarGutter?o/2:o;s<=25&&(l-=s)}return{width:l,height:a,x:c,y:u}}(t,n,e);else if("document"===e)i=function(t){const e=nt(t),n=t.ownerDocument.body,i=d(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=d(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-e.scrollLeft+dt(t);const s=-e.scrollTop;return"rtl"===et(n).direction&&(r+=d(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}(H(t));else if(I(e))i=function(t,e){const n=ht(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ct(t);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=ft(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return L(i)}function yt(t,e,n){const i=N(e),o=H(e),r="fixed"===n,s=ht(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=y(0);if((i||!r)&&(("body"!==B(e)||W(o))&&(l=nt(e)),i)){const t=ht(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}!i&&o&&(a.x=dt(o));const c=!o||i||r?y(0):mt(o,l);return{x:s.left+l.scrollLeft-a.x-c.x,y:s.top+l.scrollTop-a.y-c.y,width:s.width,height:s.height}}function wt(t){return"static"===et(t).position}function gt(t,e){if(!N(t)||"fixed"===et(t).position)return null;if(e)return e(t);let n=t.offsetParent;return H(t)===n&&(n=n.ownerDocument.body),n}function xt(t,e){const n=q(t);if(Y(t))return n;if(!N(t)){let e=it(t);for(;e&&!tt(e);){if(I(e)&&!wt(e))return e;e=it(e)}return n}let i=gt(t,e);for(;i&&_(i)&&wt(i);)i=gt(i,e);return i&&tt(i)&&wt(i)&&!G(i)?n:i||function(t){let e=it(t);for(;N(e)&&!tt(e);){if(G(e))return e;if(Y(e))return null;e=it(e)}return null}(t)||n}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=H(i),l=!!e&&Y(e.floating);if(i===s||l&&r)return n;let a={scrollLeft:0,scrollTop:0},c=y(1);const u=y(0),f=N(i);if((f||!r)&&(("body"!==B(i)||W(s))&&(a=nt(i)),f)){const t=ht(i);c=ct(i),u.x=t.x+i.clientLeft,u.y=t.y+i.clientTop}const h=!s||f||r?y(0):mt(s,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}},getDocumentElement:H,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?Y(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter((t=>I(t)&&"body"!==B(t))),o=null;const r="fixed"===et(t).position;let s=r?it(t):t;for(;I(s)&&!tt(s);){const t=et(s),e=G(s),n=o?o.position:r?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?o=t:i=i.filter((t=>t!==s)),s=it(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],s=pt(e,r[0],o);let l=s.top,a=s.right,c=s.bottom,u=s.left;for(let t=1;t<r.length;t++){const n=pt(e,r[t],o);l=d(n.top,l),a=h(n.right,a),c=h(n.bottom,c),u=d(n.left,u)}return{width:a-u,height:c-l,x:u,y:l}},getOffsetParent:xt,getElementRects:async function(t){const e=this.getOffsetParent||xt,n=this.getDimensions,i=await n(t.floating);return{reference:yt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:e,height:n}=lt(t);return{width:e,height:n}},getScale:ct,isElement:I,isRTL:function(t){return"rtl"===et(t).direction}};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function At(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,c=at(t),u=o||r?[...c?rt(c):[],...e?rt(e):[]]:[];u.forEach((t=>{o&&t.addEventListener("scroll",n),r&&t.addEventListener("resize",n)}));const f=c&&l?function(t,e,n){let i,o=null;const r=H(t);function s(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}function l(n,a){void 0===n&&(n=!1),void 0===a&&(a=1),s();const c=t.getBoundingClientRect(),{left:u,top:f,width:m,height:y}=c;if(n||e(),!m||!y)return;const w={rootMargin:-p(f)+"px "+-p(r.clientWidth-(u+m))+"px "+-p(r.clientHeight-(f+y))+"px "+-p(u)+"px",threshold:d(0,h(1,a))||1};let g=!0;function x(e){const n=e[0].intersectionRatio;if(!bt(c,t.getBoundingClientRect()))return l();if(n!==a){if(!g)return l();n?l(!1,n):i=setTimeout((()=>{l(!1,1e-7)}),1e3)}g=!1}try{o=new IntersectionObserver(x,{...w,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,w)}o.observe(t)}const a=q(t),c=()=>l(n);return a.addEventListener("resize",c),l(!0),()=>{a.removeEventListener("resize",c),s()}}(c,n,r):null;let m,y=-1,w=null;s&&(w=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&w&&e&&(w.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(e)}))),n()})),c&&!a&&w.observe(c),e&&w.observe(e));let g=a?ht(t):null;return a&&function e(){const i=ht(t);g&&!bt(g,i)&&n(),g=i,m=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==f||f(),null==(t=w)||t.disconnect(),w=null,a&&cancelAnimationFrame(m)}}const St=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o,platform:r}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=x(t,e),u={x:n,y:i},f=await r.detectOverflow(e,c),h=T(o),d=A(h);let m=u[d],p=u[h];const y=(t,e)=>g(e+f["y"===t?"top":"left"],e,e-f["y"===t?"bottom":"right"]);s&&(m=y(d,m)),l&&(p=y(h,p));const w=a.fn({...e,[d]:m,[h]:p});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[d]:s,[h]:l}}}}}},Tt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...y}=x(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const w=v(o),g=T(l),A=v(l)===l,D=await(null==a.isRTL?void 0:a.isRTL(c.floating)),L=h||(A||!p?[E(l)]:function(t){const e=E(t);return[R(t),e,R(e)]}(l)),z="none"!==m;!h&&z&&L.push(...function(t,e,n,i){const o=b(t);let r=function(t,e,n){switch(t){case"top":case"bottom":return n?e?O:F:e?F:O;case"left":case"right":return e?j:C;default:return[]}}(v(t),"start"===n,i);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(R)))),r}(l,p,m,D));const P=[l,...L],M=await a.detectOverflow(e,y),$=[];let B=(null==(i=r.flip)?void 0:i.overflows)||[];if(u&&$.push(M[w]),f){const t=function(t,e,n){void 0===n&&(n=!1);const i=b(t),o=k(t),r=S(o);let s="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=E(s)),[s,E(s)]}(o,s,D);$.push(M[t[0]],M[t[1]])}if(B=[...B,{placement:o,overflows:$}],!$.every((t=>t<=0))){var q,H;const t=((null==(q=r.flip)?void 0:q.index)||0)+1,e=P[t];if(e&&("alignment"!==f||g===T(e)||B.every((t=>T(t.placement)!==g||t.overflows[0]>0))))return{data:{index:t,overflows:B},reset:{placement:e}};let n=null==(H=B.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:H.placement;if(!n)switch(d){case"bestFit":{var V;const t=null==(V=B.filter((t=>{if(z){const e=T(t.placement);return e===g||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:V[0];t&&(n=t);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},kt=async({floatingElement:e,referenceElement:n,arrowElement:i,align:o="top"})=>{var r,s,l;if(!t()){const t=[(l=(null==i?void 0:i.offsetHeight)||10,void 0===l&&(l=0),{name:"offset",options:l,async fn(t){var e,n;const{x:i,y:o,placement:r,middlewareData:s}=t,a=await async function(t,e){const{placement:n,platform:i,elements:o}=t,r=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=v(n),l=b(n),a="y"===T(n),c=M.has(s)?-1:1,u=r&&a?-1:1,f=x(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof m&&(d="end"===l?-1*m:m),a?{x:d*u,y:h*c}:{x:h*c,y:d*u}}(t,l);return r===(null==(e=s.offset)?void 0:e.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:r}}}}),Tt(),St()];i&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=x(t,e)||{};if(null==c)return{};const f=D(u),d={x:n,y:i},m=k(o),p=S(m),y=await s.getDimensions(c),w="y"===m,v=w?"top":"left",A=w?"bottom":"right",T=w?"clientHeight":"clientWidth",R=r.reference[p]+r.reference[m]-d[m]-r.floating[p],F=d[m]-r.reference[m],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let j=O?O[T]:0;j&&await(null==s.isElement?void 0:s.isElement(O))||(j=l.floating[T]||r.floating[p]);const C=R/2-F/2,E=j/2-y[p]/2-1,L=h(f[v],E),z=h(f[A],E),P=j-y[p]-z,M=j/2-y[p]/2+C,$=g(L,M,P),B=!a.arrow&&null!=b(o)&&M!==$&&r.reference[p]/2-(M<L?L:z)-y[p]/2<0,q=B?M<L?M-L:M-P:0;return{[m]:d[m]+q,data:{[m]:$,centerOffset:M-$-q,...B&&{alignmentOffset:q}},reset:B}}}))({element:i}));const{x:a,y:c,middlewareData:u,placement:f}=await((t,e,n)=>{const i=new Map,o=null!=n?n:{},r={...vt,...o.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:P},a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=z(c,i,a),h=i,d=0;const m={};for(let n=0;n<r.length;n++){const p=r[n];if(!p)continue;const{name:y,fn:w}=p,{x:g,y:x,data:v,reset:b}=await w({x:u,y:f,initialPlacement:i,placement:h,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=x?x:f,m[y]={...m[y],...v},b&&d<50&&(d++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):b.rects),({x:u,y:f}=z(c,h,a))),n=-1)}return{x:u,y:f,placement:h,strategy:o,middlewareData:m}})(t,e,{...o,platform:r})})(n,e,{placement:o,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${a}px`,top:`${c}px`,visibility:"visible"}),i&&((null===(r=u.arrow)||void 0===r?void 0:r.x)?Object.assign(i.style,{left:`${u.arrow.x}px`,top:"bottom"===f?-i.offsetHeight/2+"px":"",bottom:"top"===f?-i.offsetHeight/2+"px":""}):(null===(s=u.arrow)||void 0===s?void 0:s.y)&&Object.assign(i.style,{left:"right"===f?-i.offsetWidth/2+"px":"",right:"left"===f?-i.offsetWidth/2+"px":"",top:`${u.arrow.y}px`}))}},Rt=new Set;let Ft=null;class Ot{constructor(t,e){this.setState=t.setState,this.getState=t.getState,this.renderProps=l(e)}setRenderProp(t,e){this.renderProps[t]=e}getRenderProp(t){return this.renderProps[t]}}const jt={required:[c],optional:[u,f,a]};class Ct extends Ot{constructor(t){super(t,jt),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=t=>{this.tooltipElement=t,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(t.stopPropagation(),t.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{const t=this.isNewVisit();this.hasMouseIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{const t=this.isNewVisit();this.hasFocusIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(t){this.watchLabel(t.label),this.watchAlign(t.align),this.watchBadgeText(t.badgeText),this.watchId(t.id)}watchLabel(t){c.apply(t||void 0,(t=>{this.setRenderProp("label",t)}))}watchAlign(t){u.apply(t,(t=>{this.setRenderProp("align",t)}))}watchBadgeText(t){f.apply(t,(t=>{this.setRenderProp("badgeText",t)}))}watchId(t){a.apply(t,(t=>{this.setRenderProp("id",t)}))}initContext(t){this.previousSibling=t}syncListeners(t,e,n=!1){t&&this.removeListeners(t),e&&(n&&(this.previousSibling=e),this.removeListeners(e),this.addListeners(e))}handleEventListeners(t){this.syncListeners(this.previousSibling,t.previousElementSibling,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(function(t){if(Rt.delete(t)&&Ft===t){Ft=null;for(const t of Rt)Ft=t;Ft&&Ft.style.setProperty("z-index","1000")}}(this.tooltipElement),n(),this.tooltipElement.classList.remove("show"),this.tooltipElement.classList.add("hide"),this.tooltipElement.addEventListener("animationend",(()=>{var t;(null===(t=this.tooltipElement)||void 0===t?void 0:t.classList.contains("hide"))&&this.tooltipElement.style.removeProperty("display")}),{once:!0}),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0)),e().removeEventListener("keydown",this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&(this.removeListeners(this.previousSibling),this.previousSibling=void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0),e().removeEventListener("keydown",this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await kt({align:this.getRenderProp("align"),arrowElement:this.tooltipElement.querySelector(".kol-tooltip__arrow"),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){var t;!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement&&(Ft!==(t=this.tooltipElement)&&(Ft&&Ft.style.setProperty("z-index","999"),Rt.delete(t),Rt.add(t),t.style.setProperty("z-index","1000"),Ft=t),i(),this.tooltipElement.classList.remove("hide"),this.tooltipElement.classList.add("show"),this.tooltipElement.style.setProperty("display","block"),e().addEventListener("keydown",this.hideTooltipByEscape),this.cleanupAutoPositioning=At(this.previousSibling,this.tooltipElement,(()=>{this.alignTooltip()})))}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()}),300)}addListeners(t){t.addEventListener("mouseover",this.handleMouseEnter),t.addEventListener("mouseout",this.handleMouseLeave),t.addEventListener("focusin",this.handleFocusIn),t.addEventListener("focusout",this.handleFocusOut)}removeListeners(t){t.removeEventListener("mouseover",this.handleMouseEnter),t.removeEventListener("mouseout",this.handleMouseLeave),t.removeEventListener("focusin",this.handleFocusIn),t.removeEventListener("focusout",this.handleFocusOut)}}export{Ot as B,Ct as T,u as a,kt as b,At as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./index-Bsx5X6jK.js";import{a as t}from"./dev.utils--eVyQ4zr.js";import{c as e,n as r,D as i,b as a,i as h}from"./props-from-config-DVxNB2Lx.js";import{B as n}from"./behavior-DJQFXyfi.js";import{t as o}from"./i18n-Cf0DhAke.js";const s=e("hasCounter",!1,r),c=e("maxLength",void 0,i,(t=>t>=0)),m=["hard","soft"],u=e("maxLengthBehavior","hard",(function(t){const e=a(t);if(h(e,m))return e;throw new Error(`Invalid max length behavior: ${e}`)})),g={optional:[s,c,u]},l=(t,e,r)=>{if("number"!=typeof e)return o("kol-character-counter-current",{placeholders:{current:String(r)}});if("soft"===t){const t=e-r;return t<0?o("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(t))}}):o("kol-character-limit-remaining",{placeholders:{remaining:String(t)}})}return o("kol-character-counter-current-of-max-aria",{placeholders:{current:String(r),max:String(e)}})},x=(t,e,r)=>"hard"===t&&"number"==typeof e&&r>=e?o("kol-character-counter-max-aria"):"";class f extends n{constructor(t){super(t,g),this.reannounceToggle=!1,this.setVisualRef=t=>{this.visualSpan=t},this.setAriaRef=t=>{this.ariaSpan=t},this.handleKeyDown=(t,e)=>{const{maxLength:r,maxLengthBehavior:i}=this.getLimit();"hard"!==i||"number"!=typeof r||e<r||(t=>1===t.key.length&&!t.ctrlKey&&!t.metaKey&&!t.altKey)(t)&&this.retriggerAria(e)}}componentWillLoad(t){this.watchHasCounter(t.hasCounter),this.watchMaxLength(t.maxLength),this.watchMaxLengthBehavior(t.maxLengthBehavior)}watchHasCounter(t){s.apply(t,(t=>this.setRenderProp("hasCounter",t)))}watchMaxLength(t){c.apply(t,(t=>this.setRenderProp("maxLength",t)))}watchMaxLengthBehavior(t){u.apply(t,(t=>this.setRenderProp("maxLengthBehavior",t)))}hasCounter(){return!0===this.getRenderProp("hasCounter")}hasSoftLimit(){const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return"number"==typeof t&&"soft"===e}getMaxLengthAttribute(){const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return"hard"===e?t:void 0}getCounterProps(){if(!this.hasCounter())return;const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return{maxLength:t,maxLengthBehavior:e,visualRef:this.setVisualRef,ariaRef:this.setAriaRef}}getCharacterLimitHintId(e){return"number"!=typeof this.getRenderProp("maxLength")||this.hasCounter()?void 0:t(e,"character-limit-hint")}update(t){const e=this.getLimit();this.updateVisual(t,e),clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(t,e)),1e3)}updateImmediate(t){const e=this.getLimit();this.updateVisual(t,e),clearTimeout(this.debounceTimer),this.updateAria(t,e)}retriggerAria(t){if(!this.ariaSpan)return;const e=this.getLimit();clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(t,e,!0)),1e3)}destroy(){clearTimeout(this.debounceTimer)}getLimit(){return{maxLength:this.getRenderProp("maxLength"),maxLengthBehavior:this.getRenderProp("maxLengthBehavior")}}updateVisual(t,{maxLength:e,maxLengthBehavior:r}){this.visualSpan&&(this.visualSpan.innerText=((t,e,r)=>{if("number"!=typeof e)return o("kol-character-counter-current",{placeholders:{current:String(r)}});if("soft"===t){const t=e-r;return t<0?o("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(t))}}):o("kol-character-limit-remaining",{placeholders:{remaining:String(t)}})}return o("kol-character-counter-current-of-max",{placeholders:{current:String(r),max:String(e)}})})(r,e,t),this.visualSpan.classList.toggle("kol-form-field__counter--exceeded","soft"===r&&"number"==typeof e&&t>e))}updateAria(t,{maxLength:e,maxLengthBehavior:r},i=!1){if(!this.ariaSpan)return;let a=[l(r,e,t),x(r,e,t)].filter(Boolean).join(" ");i&&(this.reannounceToggle=!this.reannounceToggle,this.reannounceToggle&&(a+=" ")),this.ariaSpan.innerText=a}}export{f as C}
4
+ import"./index-D1fZ9xFt.js";import{a as t}from"./dev.utils-BgFDROtc.js";import{c as e,n as r,D as i,b as a,i as h}from"./props-from-config-DqFgiUwD.js";import{B as n}from"./behavior-DDo87iUM.js";import{t as o}from"./i18n-Uze_l4Ts.js";const s=e("hasCounter",!1,r),c=e("maxLength",void 0,i,(t=>t>=0)),m=["hard","soft"],u=e("maxLengthBehavior","hard",(function(t){const e=a(t);if(h(e,m))return e;throw new Error(`Invalid max length behavior: ${e}`)})),g={optional:[s,u,c]},l=(t,e,r)=>{if("number"!=typeof e)return o("kol-character-counter-current",{placeholders:{current:String(r)}});if("soft"===t){const t=e-r;return t<0?o("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(t))}}):o("kol-character-limit-remaining",{placeholders:{remaining:String(t)}})}return o("kol-character-counter-current-of-max-aria",{placeholders:{current:String(r),max:String(e)}})},x=(t,e,r)=>"hard"===t&&"number"==typeof e&&r>=e?o("kol-character-counter-max-aria"):"";class d extends n{constructor(t){super(t,g),this.reannounceToggle=!1,this.setVisualRef=t=>{this.visualSpan=t},this.setAriaRef=t=>{this.ariaSpan=t},this.handleKeyDown=(t,e)=>{const{maxLength:r,maxLengthBehavior:i}=this.getLimit();"hard"!==i||"number"!=typeof r||e<r||(t=>1===t.key.length&&!t.ctrlKey&&!t.metaKey&&!t.altKey)(t)&&this.retriggerAria(e)}}componentWillLoad(t){this.watchHasCounter(t.hasCounter),this.watchMaxLength(t.maxLength),this.watchMaxLengthBehavior(t.maxLengthBehavior)}watchHasCounter(t){s.apply(t,(t=>this.setRenderProp("hasCounter",t)))}watchMaxLength(t){c.apply(t,(t=>this.setRenderProp("maxLength",t)))}watchMaxLengthBehavior(t){u.apply(t,(t=>this.setRenderProp("maxLengthBehavior",t)))}hasCounter(){return!0===this.getRenderProp("hasCounter")}hasSoftLimit(){const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return"number"==typeof t&&"soft"===e}getMaxLengthAttribute(){const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return"hard"===e?t:void 0}getCounterProps(){if(!this.hasCounter())return;const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return{maxLength:t,maxLengthBehavior:e,visualRef:this.setVisualRef,ariaRef:this.setAriaRef}}getCharacterLimitHintId(e){return"number"!=typeof this.getRenderProp("maxLength")||this.hasCounter()?void 0:t(e,"character-limit-hint")}update(t){const e=this.getLimit();this.updateVisual(t,e),clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(t,e)),1e3)}updateImmediate(t){const e=this.getLimit();this.updateVisual(t,e),clearTimeout(this.debounceTimer),this.updateAria(t,e)}retriggerAria(t){if(!this.ariaSpan)return;const e=this.getLimit();clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(t,e,!0)),1e3)}destroy(){clearTimeout(this.debounceTimer)}getLimit(){return{maxLength:this.getRenderProp("maxLength"),maxLengthBehavior:this.getRenderProp("maxLengthBehavior")}}updateVisual(t,{maxLength:e,maxLengthBehavior:r}){this.visualSpan&&(this.visualSpan.innerText=((t,e,r)=>{if("number"!=typeof e)return o("kol-character-counter-current",{placeholders:{current:String(r)}});if("soft"===t){const t=e-r;return t<0?o("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(t))}}):o("kol-character-limit-remaining",{placeholders:{remaining:String(t)}})}return o("kol-character-counter-current-of-max",{placeholders:{current:String(r),max:String(e)}})})(r,e,t),this.visualSpan.classList.toggle("kol-form-field__counter--exceeded","soft"===r&&"number"==typeof e&&t>e))}updateAria(t,{maxLength:e,maxLengthBehavior:r},i=!1){if(!this.ariaSpan)return;let a=[l(r,e,t),x(r,e,t)].filter(Boolean).join(" ");i&&(this.reannounceToggle=!this.reannounceToggle,this.reannounceToggle&&(a+=" ")),this.ariaSpan.innerText=a}}export{d as C}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{v as e}from"./index-Bsx5X6jK.js";var i,l,n=e(l?i:(l=1,i=function(e){return function(i,l){if(!i)return e;var n;"string"==typeof i?n=i:l=i;var o=e;return n&&(o+="__"+n),o+(l?Object.keys(l).reduce((function(e,i){var n=l[i];return n&&(e+=" "+("boolean"==typeof n?o+"--"+i:o+"--"+i+"_"+n)),e}),""):"")}}));const o=function(){const e=new Map,i=(i,l,o)=>{try{return e.get(i)(l,o)}catch{return e.set(i,n(i)).get(i)(l,o)}};return i.forBlock=e=>{const l=(l,n)=>i(e,l,n);return l.forElement=l=>n=>i(e,l,n),l},i}(),r={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-close-button":{modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-checkbox":{elements:{"field-control":{modifiers:new Set(["checked","indeterminate","variant-button","variant-default","variant-switch"])}},modifiers:new Set(["checked","indeterminate","label-align-left","label-align-right","variant-button","variant-default","variant-switch"])},"kol-input-color":{elements:{input:{modifiers:new Set(["color"])}},modifiers:null},"kol-input-date":{modifiers:null},"kol-input-email":{modifiers:null},"kol-input-file":{modifiers:null},"kol-input-number":{elements:{"step-button":{modifiers:null}},modifiers:null},"kol-input-password":{elements:{"password-toggle-button":{modifiers:null}},modifiers:null},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-input-text":{elements:{"clear-button":{modifiers:new Set(["hidden"])}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-table-settings":{elements:{actions:{modifiers:null},column:{modifiers:null},"column-label":{modifiers:null},columns:{modifiers:null},content:{modifiers:null},"error-message":{modifiers:null}},modifiers:null},"kol-table-stateful":{elements:{pagination:{modifiers:new Set(["both","bottom","top"])},"pagination-wrapper":{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{r as B,o as b}
4
+ import{v as e}from"./index-D1fZ9xFt.js";var i,l,n=e(l?i:(l=1,i=function(e){return function(i,l){if(!i)return e;var n;"string"==typeof i?n=i:l=i;var o=e;return n&&(o+="__"+n),o+(l?Object.keys(l).reduce((function(e,i){var n=l[i];return n&&(e+=" "+("boolean"==typeof n?o+"--"+i:o+"--"+i+"_"+n)),e}),""):"")}}));const o=function(){const e=new Map,i=(i,l,o)=>{try{return e.get(i)(l,o)}catch{return e.set(i,n(i)).get(i)(l,o)}};return i.forBlock=e=>{const l=(l,n)=>i(e,l,n);return l.forElement=l=>n=>i(e,l,n),l},i}(),r={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-close-button":{modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-checkbox":{elements:{"field-control":{modifiers:new Set(["checked","indeterminate","variant-button","variant-default","variant-switch"])}},modifiers:new Set(["checked","indeterminate","label-align-left","label-align-right","variant-button","variant-default","variant-switch"])},"kol-input-color":{elements:{input:{modifiers:new Set(["color"])}},modifiers:null},"kol-input-date":{modifiers:null},"kol-input-email":{modifiers:null},"kol-input-file":{modifiers:null},"kol-input-number":{elements:{"step-button":{modifiers:null}},modifiers:null},"kol-input-password":{elements:{"password-toggle-button":{modifiers:null}},modifiers:null},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-input-text":{elements:{"clear-button":{modifiers:new Set(["hidden"])}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-table-settings":{elements:{actions:{modifiers:null},column:{modifiers:null},"column-label":{modifiers:null},columns:{modifiers:null},content:{modifiers:null},"error-message":{modifiers:null}},modifiers:null},"kol-table-stateful":{elements:{pagination:{modifiers:new Set(["both","bottom","top"])},"pagination-wrapper":{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{r as B,o as b}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{L as e,c as o,t,q as r,u as n}from"./index-D1fZ9xFt.js";import{s}from"./theme-store-DroJsU6S.js";import{i as a}from"./i18n-TlIXBsgS.js";import{g as i}from"./shared-state-Dn94ivRg.js";import{a as d}from"./component-names-DzmdvSkQ.js";const l=i("tag-transformer",(()=>({}))),m=e=>"undefined"!=typeof customElements&&void 0!==customElements.get(t(e)),c=t=>{l.transformer&&e.warn("The tag name transformer was already registered. Components already defined keep their current tag and will not resolve under the new one.",{forceLog:!0}),Object.values(d).some((e=>m(e)||m(t(e))))&&e.warn("Components are already defined while the tag name transformer is registered. They keep their current tag and will not resolve under the transformed one.",{forceLog:!0});const r=e=>e.startsWith("kol-")?t(e):e;return o(r),l.transformer=r,r},u=()=>l.transformer,f=i("bootstrap",(()=>({})));let p=!1;s();const v=async(o,t,s)=>{var i,d;const l="undefined"!=typeof process&&process.env?"production":void 0;r((null==s?void 0:s.environment)||l||"production"),a(null!==(d=null===(i=null==s?void 0:s.translation)||void 0===i?void 0:i.name)&&void 0!==d?d:"de",null==s?void 0:s.translations),(null==s?void 0:s.transformTagName)&&c(s.transformTagName);const m=await n(o,t,s);return p=!0,f.options=s,e.info("Development mode active - Enhanced debugging features available"),m},g=v,h=()=>p,y=()=>f.options;export{c as a,v as b,y as c,u as g,h as i,g as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{j as o}from"./index-Bsx5X6jK.js";import{c as r}from"./props-from-config-DVxNB2Lx.js";import{c as n}from"./contrast-Ujnfz49m.js";const t=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function f(o){return t.test(o)}const c=r("color",{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},(function(r){if("string"==typeof r&&f(r)){const o=n(r);return{backgroundColor:o.background,foregroundColor:o.foreground}}const t="string"==typeof r?o(r):r;if(Array.isArray(t)){const[o,r]=t;if("string"==typeof o&&"string"==typeof r&&f(o)&&f(r)){const t=n({background:o,foreground:r});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if("object"==typeof t&&t){const o=t;if("string"==typeof o.backgroundColor&&"string"==typeof o.foregroundColor&&f(o.backgroundColor)&&f(o.foregroundColor)){const r=n({background:o.backgroundColor,foreground:o.foregroundColor});return{backgroundColor:r.background,foregroundColor:r.foreground}}}throw new Error(`Invalid color ${r}`)}),(function(o){return f(o.foregroundColor)&&f(o.backgroundColor)}));export{c}
4
+ import{j as o}from"./index-D1fZ9xFt.js";import{c as r}from"./props-from-config-DqFgiUwD.js";import{c as n}from"./contrast-BHjNzQvB.js";const t=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function f(o){return t.test(o)}const c=r("color",{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},(function(r){if("string"==typeof r&&f(r)){const o=n(r);return{backgroundColor:o.background,foregroundColor:o.foreground}}const t="string"==typeof r?o(r):r;if(Array.isArray(t)){const[o,r]=t;if("string"==typeof o&&"string"==typeof r&&f(o)&&f(r)){const t=n({background:o,foreground:r});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if("object"==typeof t&&t){const o=t;if("string"==typeof o.backgroundColor&&"string"==typeof o.foregroundColor&&f(o.backgroundColor)&&f(o.foregroundColor)){const r=n({background:o.backgroundColor,foreground:o.foregroundColor});return{backgroundColor:r.background,foregroundColor:r.foreground}}}throw new Error(`Invalid color ${r}`)}),(function(o){return f(o.foregroundColor)&&f(o.backgroundColor)}));export{c}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{D as r,h as t}from"./index-D1fZ9xFt.js";import{c as e,b as n,i as o,x as a,n as s,y as i,q as l}from"./props-from-config-DqFgiUwD.js";import{a as f}from"./validators-yh10eyXe.js";import{b as d}from"./bem-registry-CrZZQahR.js";import{S as c}from"./component-CjdTbGlP.js";const u=["left","right","top","bottom"],p=(r,t)=>{let e="";return Array.isArray(r)&&r.forEach((r=>{e+="kol-"+t+"--"+r+" "})),e},b=e("accessKey","",n);function y(r,t){return e(r,t,(t=>{const e=n(t);if(o(e,u))return e;throw new Error(`Invalid ${r} value: ${e}`)}))}const m=e("ariaControls","",n),g=e("ariaDescription","",n),h=e("ariaExpanded","",(function(r){return a(r,"aria-expanded")})),v=e("customClass","",n,(function(r){return""===r||f(r)})),x=e("hideLabel",!1,s),j=e("inline",!0,s),w=["tab","treeitem"],D=e("role","",(function(r){if(""===r)return"";if(o(r,w))return r;throw new Error(`Invalid role: expected one of ${w.join(", ")}, got ${JSON.stringify(r)}`)})),I=e("shortKey","",n),$=e("icons",{},(function(r){if(!r||"string"==typeof r&&""===r)return{};if("string"==typeof r&&/^[{[]/.test(r.trim()))return i(r);if("string"==typeof r)return n(r);if("object"==typeof r)return i(r);throw new Error("Invalid icons: "+typeof r)}),(function(r){return"string"==typeof r?r.length>0:"object"==typeof r&&null!==r})),A=e("tabIndex",0,l,void 0,{hints:(t,e)=>{"number"==typeof e&&e>0&&r(`Positive tabIndex values ("${e}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),C=y("tooltipAlign","right"),E=e("variant",[],(function(r){return Array.isArray(r)?r:"string"==typeof r?r.split(" "):[]}),(function(r){return 0===r.length||r.every(f)})),T=({description:r,descriptionId:e})=>r?t("span",{class:"visually-hidden",id:e},r):null,k=d.forBlock("kol-tooltip"),F=({label:r,badgeText:e,id:n,refFloating:o})=>t("div",{class:k("floating"),hidden:!r,ref:o},t("div",{class:k("arrow")}),t(c,{class:k("content"),badgeText:e,id:n,label:r}));export{T as A,F as T,b as a,m as b,g as c,I as d,C as e,h as f,v as g,x as h,j as i,y as j,p as k,D as l,$ as s,A as t,E as v}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as o}from"./index-D1fZ9xFt.js";import{b as r}from"./bem-registry-CrZZQahR.js";import{B as l}from"./props-from-config-DqFgiUwD.js";import{B as s}from"./component-DP_p5few.js";import{S as a}from"./component-CjdTbGlP.js";const t=r.forBlock("kol-badge"),e=t("label"),n=t("smart-button"),i=({color:r,icons:t,label:i,smartButton:m})=>o(l,{block:"kol-badge",modifiers:{"has-smart-button":void 0!==m},style:{backgroundColor:r.backgroundColor,color:r.foregroundColor}},o(a,{class:e,id:null==m?void 0:m.labelId,allowMarkdown:!0,icons:t,label:i}),m&&o(s,Object.assign({},m.resolvedButton,{class:n,ariaDescriptionId:m.ariaDescriptionId,handleBlur:m.handleBlur,handleClick:m.handleClick,handleFocus:m.handleFocus,handleMouseDown:m.handleMouseDown,refButton:m.refSmartButton,refTooltip:m.refTooltip})),o("br",null));export{i as B}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o}from"./index-Bsx5X6jK.js";import{a as s}from"./tslib.es6-QNbPBOk5.js";import{b as i}from"./bem-registry-CK2s_XZ4.js";import{e as r,B as a}from"./props-from-config-DVxNB2Lx.js";const e=i.forBlock("kol-icon")("icon"),l=i=>{var{class:l,icons:n,label:t}=i,c=s(i,["class","icons","label"]);const m=(null==t?void 0:t.length)>0;return o(a,Object.assign({component:"i"},c,{"aria-hidden":m?void 0:"true","aria-label":m?t:void 0,block:"kol-icon",class:r(e,n,l),role:m?"img":"presentation"}))};export{l as I}
4
+ import{h as o}from"./index-D1fZ9xFt.js";import{a as s}from"./tslib.es6-QNbPBOk5.js";import{b as i}from"./bem-registry-CrZZQahR.js";import{e as r,B as a}from"./props-from-config-DqFgiUwD.js";const e=i.forBlock("kol-icon")("icon"),l=i=>{var{class:l,icons:n,label:t}=i,c=s(i,["class","icons","label"]);const m=(null==t?void 0:t.length)>0;return o(a,Object.assign({component:"i"},c,{"aria-hidden":m?void 0:"true","aria-label":m?t:void 0,block:"kol-icon",class:r(e,n,l),role:m?"img":"presentation"}))};export{l as I}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as n,F as e}from"./index-D1fZ9xFt.js";import{a as r}from"./tslib.es6-QNbPBOk5.js";import{b as s}from"./bem-registry-CrZZQahR.js";import{s as l,u as t,w as o,B as a,e as i}from"./props-from-config-DqFgiUwD.js";import{I as g}from"./component-BZjDp_Lf.js";function u(n){return"string"==typeof n||!t(n)&&l(n)&&"[object String]"==o(n)}const c=n=>""===n,p=(n,e)=>n||e||"",b=new RegExp(String.fromCharCode(0),"g"),m=String.fromCharCode(65533),d={amp:"&",apos:"'",gt:">",lt:"<",nbsp:String.fromCharCode(160),quot:'"'},$=n=>Number.isInteger(n)&&n>=32&&n<=1114111&&!(n>=55296&&n<=57343)?String.fromCodePoint(n):void 0,f="\\s!-/:-@\\[-^`{-~",_=`(^|[${f}])`,x=`(?=$|[${f}])`,w="\\S(?:[\\s\\S]*\\S)?",v=/[ \t]{2,}\n/g,h=new RegExp(`~~(${w})~~`,"g"),j=new RegExp(`\\*\\*(${w})\\*\\*`,"g"),S=/\*([^\s*](?:[^*]*[^\s*])?)\*/g,y=new RegExp(`\\*\\*\\*(${w})\\*\\*\\*`,"g"),R=new RegExp(`${_}__(${w})__${x}`,"g"),k=new RegExp(`${_}_([^\\s_](?:[^_]*[^\\s_])?)_${x}`,"g"),E=new RegExp(`${_}___(${w})___${x}`,"g"),N=n=>{const e=[];return(n=>n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))((n=>n.replace(/&#(\d+);/g,((n,e)=>{var r;return null!==(r=$(Number.parseInt(e,10)))&&void 0!==r?r:n})).replace(/&#x([0-9a-f]+);/gi,((n,e)=>{var r;return null!==(r=$(Number.parseInt(e,16)))&&void 0!==r?r:n})).replace(/&([a-z]+);/gi,((n,e)=>{var r;return null!==(r=d[e.toLowerCase()])&&void 0!==r?r:n})))(n.replace(/\r\n?/g,"\n").replace(b,m))).replace(/\\([\\`*_~[\]()#+\-.!>{}])/g,((n,r)=>(e.push(r),`<${e.length-1}>`))).split(/(`[^`]+`)/).map(((n,e)=>e%2==0?(n=>n.replace(v,"<br>\n").replace(y,"<em><strong>$1</strong></em>").replace(E,"$1<em><strong>$2</strong></em>").replace(h,"<s>$1</s>").replace(j,"<strong>$1</strong>").replace(R,"$1<strong>$2</strong>").replace(S,"<em>$1</em>").replace(k,"$1<em>$2</em>"))(n):`<code>${n.slice(1,-1)}</code>`)).join("").replace(/<(\d+)>/g,((n,r)=>{var s;return null!==(s=e[Number.parseInt(r,10)])&&void 0!==s?s:""}))},D=s.forBlock("kol-span");function L(n){return null!=n&&function(n){return"object"==typeof n&&null!==n&&"icon"in n}(n)?n:u(n)&&n.length>0?{icon:n}:null}function Z(r){return Array.isArray(r)?n("span",null,r.map((e=>n("span",{lang:e.lang},e.text)))):n(e,null,r)}const q=(s,l)=>{const{allowMarkdown:t,badgeText:o,class:p,hideLabel:b=!1,icons:m,label:d}=s,$=r(s,["allowMarkdown","badgeText","class","hideLabel","icons","label"]);let f=null,_=null,x=null,w=null;!function(n){return"object"==typeof n&&null!==n&&!Array.isArray(n)}(m)?u(m)&&m.length>0&&(_={icon:m}):(f=L(m.top),_=L(m.left),x=L(m.right),w=L(m.bottom));const v=(e,r)=>{var s;return e?n(g,{class:D("icon",{[r]:!0}),icons:e.icon,label:null!==(s=e.label)&&void 0!==s?s:"",style:e.style}):null},h=!c(d);return n(a,Object.assign({component:"span"},$,{block:"kol-span",modifiers:{"has-badge":!!o,"hide-label":!!b},class:p}),v(f,"top"),n("span",{class:D("container")},v(_,"left"),h&&function(r,s,l,t){return s?null:Array.isArray(r)?n("span",{class:D("label")},r.map((e=>n("span",{lang:e.lang},e.text)))):l?n("span",{class:i(D("label"),"md"),innerHTML:N(r)}):n("span",{class:D("label")},t?function(r,s){let l=s,[t,...o]=r.split(l);return 0===o.length&&(l=s.toUpperCase(),[t,...o]=r.split(l)),0===o.length&&(l=s.toLowerCase(),[t,...o]=r.split(l)),n(e,null,t,o.length?n(e,null,n("u",null,l),o.join(l)):null)}(r,t):r)}(d,b,t,o),n("span",{"aria-hidden":h?"true":void 0,class:D("slot"),hidden:h},l),u(o)&&o.length>0&&n("kbd",{"aria-hidden":"true",class:"badge-text-hint"},o),v(x,"right")),v(w,"bottom"))};export{q as S,p as b,Z as r,c as s}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as o}from"./index-D1fZ9xFt.js";import{t as e}from"./i18n-Uze_l4Ts.js";import{r as l}from"./resolve-props-Dpl38Wpe.js";import{K as s}from"./Heading-foerLIu9.js";import{b as r}from"./bem-registry-CrZZQahR.js";import{a,r as t,e as i,B as n}from"./props-from-config-DqFgiUwD.js";import{B as c}from"./component-DP_p5few.js";import{r as m}from"./component-CjdTbGlP.js";import{l as p}from"./level-CWkPM-CS.js";import{h as d}from"./has-closer-B-uYNNCw.js";import{h as f}from"./href-DKPJq0Rh.js";import{l as h}from"./label-lang-segment-BSVexfSR.js";import{l as u}from"./link-target-B2OC2sZU.js";const b=a(),j={required:[h],optional:[b,d,f,p,u]};function g(o){return l({_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:e("kol-close"),_tooltipAlign:"top"},o)}const C=r.forBlock("kol-card"),B=C("close-button"),k=C("content"),v=C("header"),D=C("link"),I=r.forBlock("kol-close-button")(),_=()=>{},F=({headingId:e,label:l,level:r})=>o(s,{class:v,id:e,level:r},m(l)),P=(e,l)=>{const{ariaDescriptionId:s,class:r,closeButtonProps:a,handleBlur:m,handleClose:p,handleFocus:d,hasCloser:f,headingId:h,href:u,label:b,level:g,refCloseButton:C,refCta:v,refTooltip:P,target:w}=t(j,e);return o(n,{component:"article","aria-labelledby":h,block:"kol-card",class:r},u.length>0?o("a",{class:D,href:u,target:w||void 0,onBlur:m,onFocus:d,ref:v},o(F,{headingId:h,label:b,level:g})):o(F,{headingId:h,label:b,level:g}),o("div",{class:k},l),f&&o("div",{class:i(B,I)},o(c,Object.assign({},a,{ariaDescriptionId:s,handleBlur:_,handleClick:p,handleFocus:_,handleMouseDown:_,refButton:C,refTooltip:P}))))};export{P as C,b as a,j as c,g as r}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as o,F as l}from"./index-D1fZ9xFt.js";import{a as e}from"./tslib.es6-QNbPBOk5.js";import{g as a}from"./Heading-foerLIu9.js";import{t as r}from"./i18n-Uze_l4Ts.js";import{e as s,t as i,B as n}from"./props-from-config-DqFgiUwD.js";import{b as t}from"./bem-registry-CrZZQahR.js";import{B as c}from"./component-DP_p5few.js";import{r as d}from"./component-CjdTbGlP.js";import{I as p}from"./component-BZjDp_Lf.js";const f=t.forBlock("kol-alert")("icon"),m={error:{label:r("kol-error"),icon:"kolicon-alert-error"},info:{label:r("kol-info"),icon:"kolicon-alert-info"},warning:{label:r("kol-warning"),icon:"kolicon-alert-warning"},success:{label:r("kol-success"),icon:"kolicon-alert-success"},default:{label:r("kol-message"),icon:"kolicon-alert-info"}},k=({type:e="default"})=>{const a=m[e||"default"];return o(l,null,o("span",{class:"visually-hidden"},a.label),o(p,{class:f,label:"",icons:a.icon}))},u=t.forBlock("kol-alert"),b=u("closer"),h=u("content"),C=t.forBlock("kol-close-button")(),g=void 0,v=(l,t)=>{const{alert:p,class:f,closerAriaDescriptionId:m,handleCloserClick:v,hasCloser:j,headingId:y,label:D,level:B,refCloserButton:I,refCloserTooltip:w,type:x,variant:T}=l,A=e(l,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),F=r("kol-close-alert"),P=a(null!=B?B:0);return o(n,Object.assign({block:"kol-alert",class:f,modifiers:{hasCloser:!0===j,[`type-${x}`]:!0,[`variant-${T}`]:!0},role:p?"alert":void 0},A),o(k,{type:x}),!!(null==D?void 0:D.length)&&o(P,{class:s("kol-headline",`kol-headline--${P}`,u("heading",{[`h${B}`]:!0}),"kol-headline--single"),id:y},d(D)),j&&o(c,{accessKey:"",ariaControls:"",ariaDescription:i(D),ariaDescriptionId:m,ariaExpanded:g,ariaHasPopup:"",ariaSelected:g,class:s(b,C),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:v,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:F,name:"",on:{},refButton:I,refTooltip:w,role:g,shortKey:"",tabIndex:g,tooltipAlign:"top",type:"button",variant:["normal"]}),o("div",{"aria-describedby":(null==D?void 0:D.length)?y:void 0,class:h},t))};export{v as A}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as s,F as a}from"./index-Bsx5X6jK.js";import{t as n}from"./i18n-Cf0DhAke.js";import{b as r}from"./bem-registry-CK2s_XZ4.js";import{c as o,n as e,b as l,r as t,B as i}from"./props-from-config-DVxNB2Lx.js";import{l as c}from"./label-DEZIsnKw.js";const p=o("show",!1,e),u=["dot","cycle","none"],m=o("variant","dot",(s=>{const a=l(s);if(u.includes(a))return a;throw new Error(`Invalid spin variant: ${a}`)}),(()=>!0)),f={optional:[c,p,m]},d=r.forBlock("kol-spin"),b=d("loader"),h=["1","2","3","neutral"],v=r=>{const{show:o,label:e,variant:l}=t(f,r);return s(i,{block:"kol-spin"},o?s(a,null,s("span",{class:d("spinner",{[l]:!0})},function(a){switch(a){case"cycle":return s("span",{class:b});case"none":return s("slot",{name:"expert"});default:return h.map((a=>s("span",{class:d("spinner-element",{[a]:!0})})))}}(l)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},e||n("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},e||n("kol-action-done")))};export{v as S,p as a,f as s,m as v}
4
+ import{h as s,F as a}from"./index-D1fZ9xFt.js";import{t as n}from"./i18n-Uze_l4Ts.js";import{b as r}from"./bem-registry-CrZZQahR.js";import{c as o,n as e,b as l,r as t,B as i}from"./props-from-config-DqFgiUwD.js";import{l as c}from"./label-G82W4YoW.js";const p=o("show",!1,e),u=["dot","cycle","none"],m=o("variant","dot",(s=>{const a=l(s);if(u.includes(a))return a;throw new Error(`Invalid spin variant: ${a}`)}),(()=>!0)),f={optional:[c,p,m]},d=r.forBlock("kol-spin"),b=d("loader"),h=["1","2","3","neutral"],v=r=>{const{show:o,label:e,variant:l}=t(f,r);return s(i,{block:"kol-spin"},o?s(a,null,s("span",{class:d("spinner",{[l]:!0})},function(a){switch(a){case"cycle":return s("span",{class:b});case"none":return s("slot",{name:"expert"});default:return h.map((a=>s("span",{class:d("spinner-element",{[a]:!0})})))}}(l)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},e||n("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},e||n("kol-action-done")))};export{v as S,p as a,f as s,m as v}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as i}from"./index-Bsx5X6jK.js";import{j as o}from"./component-BPL1Mikq.js";import{a as s,B as t,b as e,c as a}from"./behavior-DJQFXyfi.js";import{e as r,B as n}from"./props-from-config-DVxNB2Lx.js";import{B as l}from"./component-XbTjo2nm.js";import{a as p}from"./tslib.es6-QNbPBOk5.js";import{b as h}from"./bem-registry-CK2s_XZ4.js";const c=o("popoverAlign","bottom"),d={optional:[s]};class f extends t{constructor(i){super(i,d),this.show=!1,this.setPopoverElementRef=i=>{this.popoverElement=i,this.arrowElement=null==i?void 0:i.querySelector(".kol-popover__arrow")},this.setTriggerElement=i=>{this.triggerElement=i},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await e({align:this.getRenderProp("align"),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=a(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(i){this.watchAlign(i.align)}watchAlign(i){s.apply(i,(i=>{this.setRenderProp("align",i)}))}setShow(i){this.show=i,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var i;null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var i;if(!this.popoverElement)return;const o=this.popoverElement.matches(":popover-open");if(this.show){if(!o)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(i){}}else if(o)try{this.popoverElement.hidePopover(),null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0}catch(i){}}}const m=h.forBlock("kol-popover"),v=(o,s)=>{const{align:t="bottom",popoverRef:e,arrowRef:a,class:n}=o,l=p(o,["align","popoverRef","arrowRef","class"]);return i("div",Object.assign({},l,{class:r(m(),n),ref:e,popover:"auto"}),i("div",{class:r(m("arrow"),m("arrow",{[t]:!0})),ref:a}),s.length>0?s:i("slot",null))},u=(o,s)=>{const{accessKey:t,ariaDescription:e,ariaDescriptionId:a,ariaHasPopup:r,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:f,handleFocus:m,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:j,label:w,name:B,on:k,popoverAlign:x,popoverOpen:D,popoverId:A,ref:C,refButton:K,refPopover:P,refTooltip:I,role:L,shortKey:R,tabIndex:_,tooltipAlign:E,type:F,variant:X}=o;return i(n,{block:"kol-popover-button",class:o.class,ref:C,modifiers:{open:D,inline:!0===j}},i(l,{accessKey:t,ariaControls:A,ariaDescription:e,ariaDescriptionId:a,ariaExpanded:D?"true":"false",ariaHasPopup:r,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:f,handleFocus:m,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:j,label:w,name:B,on:k,refButton:K,refTooltip:I,role:L,shortKey:R,tabIndex:_,tooltipAlign:E,type:F,variant:X}),i(v,{align:x,class:"kol-popover-button__popover",id:A,popoverRef:P},s))};export{u as P,f as a,c as p}
4
+ import{h as i}from"./index-D1fZ9xFt.js";import{j as o}from"./component-0npqUhj2.js";import{a as s,B as t,b as e,c as a}from"./behavior-DDo87iUM.js";import{e as r,B as n}from"./props-from-config-DqFgiUwD.js";import{B as l}from"./component-DP_p5few.js";import{a as p}from"./tslib.es6-QNbPBOk5.js";import{b as h}from"./bem-registry-CrZZQahR.js";const c=o("popoverAlign","bottom"),d={optional:[s]};class f extends t{constructor(i){super(i,d),this.show=!1,this.setPopoverElementRef=i=>{this.popoverElement=i,this.arrowElement=null==i?void 0:i.querySelector(".kol-popover__arrow")},this.setTriggerElement=i=>{this.triggerElement=i},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await e({align:this.getRenderProp("align"),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=a(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(i){this.watchAlign(i.align)}watchAlign(i){s.apply(i,(i=>{this.setRenderProp("align",i)}))}setShow(i){this.show=i,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var i;null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var i;if(!this.popoverElement)return;const o=this.popoverElement.matches(":popover-open");if(this.show){if(!o)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(i){}}else if(o)try{this.popoverElement.hidePopover(),null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0}catch(i){}}}const m=h.forBlock("kol-popover"),v=(o,s)=>{const{align:t="bottom",popoverRef:e,arrowRef:a,class:n}=o,l=p(o,["align","popoverRef","arrowRef","class"]);return i("div",Object.assign({},l,{class:r(m(),n),ref:e,popover:"auto"}),i("div",{class:r(m("arrow"),m("arrow",{[t]:!0})),ref:a}),s.length>0?s:i("slot",null))},u=(o,s)=>{const{accessKey:t,ariaDescription:e,ariaDescriptionId:a,ariaHasPopup:r,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:f,handleFocus:m,handleMouseDown:u,hideLabel:b,icons:g,id:w,inline:y,label:D,name:j,on:k,popoverAlign:B,popoverOpen:x,popoverId:A,ref:C,refButton:P,refPopover:R,refTooltip:F,role:I,shortKey:_,tabIndex:E,tooltipAlign:K,type:q,variant:L}=o;return i(n,{block:"kol-popover-button",class:o.class,ref:C,modifiers:{open:x,inline:!0===y}},i(l,{accessKey:t,ariaControls:A,ariaDescription:e,ariaDescriptionId:a,ariaExpanded:x?"true":"false",ariaHasPopup:r,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:f,handleFocus:m,handleMouseDown:u,hideLabel:b,icons:g,id:w,inline:y,label:D,name:j,on:k,refButton:P,refTooltip:F,role:I,shortKey:_,tabIndex:E,tooltipAlign:K,type:q,variant:L}),i(v,{align:B,class:"kol-popover-button__popover",id:A,popoverRef:R},s))};export{u as P,f as a,c as p}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as a}from"./index-D1fZ9xFt.js";import{a as e}from"./tslib.es6-QNbPBOk5.js";import{c as s,i as o,x as i,a as t,b as r,r as n,t as l,e as d,B as c}from"./props-from-config-DqFgiUwD.js";import{a as p,b,c as u,f as m,g as f,h,i as v,l as x,d as y,s as j,t as g,e as C,v as k,A as w,T as D,k as B}from"./component-0npqUhj2.js";import{b as I}from"./bem-registry-CrZZQahR.js";import{S as F}from"./component-CjdTbGlP.js";import{d as T}from"./disabled-BZIZZ6wy.js";import{i as Z}from"./id-CkUYl2hO.js";import{l as K}from"./label-with-expert-slot-C1i0atAL.js";const P=["dialog","false","grid","listbox","menu","tree","true"],S=s("ariaHasPopup","",(function(a){if(""===a)return"";if(o(a,P))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${P.join(", ")}, got ${JSON.stringify(a)}`)})),E=s("ariaSelected","",(function(a){return i(a,"aria-selected")})),L=t(),O=["button","reset","submit"],q=s("type","button",(function(a){const e=r(a);if(o(e,O))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>O.includes(a))),A=s("name","",r),H={required:[K],optional:[p,b,u,m,S,E,L,q,f,T,h,Z,v,x,A,y,j,g,C,k]},M=I.forBlock("kol-button"),U=M("interactive-element"),$=M("text"),N=M("tooltip"),Q=s=>{const o=n(H,s),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:p,ariaExpanded:b,ariaHasPopup:u,ariaSelected:m,class:f,customClass:h,disabled:v,handleBlur:x,handleClick:y,handleFocus:j,handleMouseDown:g,hideLabel:C,icons:k,id:I,inline:T,label:Z,name:K,refButton:P,refTooltip:S,role:E,shortKey:L,tabIndex:O,type:q,variant:A}=o,M=e(o,["accessKey","ariaControls","ariaDescription","ariaDescriptionId","ariaExpanded","ariaHasPopup","ariaSelected","class","customClass","disabled","handleBlur","handleClick","handleFocus","handleMouseDown","hideLabel","icons","id","inline","label","name","refButton","refTooltip","role","shortKey","tabIndex","type","variant","on","tooltipAlign"]),Q=i||L,G=l(Z).length>0,J=r.trim().length>0;return a(c,Object.assign({block:"kol-button",class:d(f,{[B(A,"button")]:A.length>0,[h]:h.length>0}),modifiers:{disabled:v,"hide-label":C,inline:!0===T,standalone:!1===T}},M),a("button",{ref:P,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":J?p:void 0,"aria-expanded":b||void 0,"aria-haspopup":u||void 0,"aria-keyshortcuts":L||void 0,"aria-label":C&&G?l(Z):void 0,"aria-selected":m||void 0,class:U,disabled:v,id:I||void 0,name:K||void 0,onBlur:x,onClick:y,onFocus:j,onMouseDown:g,role:E||void 0,tabIndex:O,type:q},a(F,{class:$,badgeText:Q,icons:k,hideLabel:C,label:Z},a("slot",{name:"expert",slot:"expert"}))),C&&G&&a("div",{class:N},a(D,{badgeText:Q,label:Z,refFloating:S})),J&&a(w,{description:r,descriptionId:p}))};export{Q as B,E as a,H as b,L as c,q as d,S as e,A as n}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{m as a,h as e}from"./index-D1fZ9xFt.js";import{t as o}from"./i18n-Uze_l4Ts.js";import{c as i,b as s,a as r,r as t,t as n,e as l,B as d}from"./props-from-config-DqFgiUwD.js";import{a as c,b as p,c as m,f,g as b,h as v,i as h,l as k,d as g,s as j,t as u,e as x,v as y,A as w,T as C,k as D}from"./component-0npqUhj2.js";import{b as Z}from"./bem-registry-CrZZQahR.js";import{p as _}from"./element-interaction-B3GEli6r.js";import{I}from"./component-BZjDp_Lf.js";import{S as L}from"./component-CjdTbGlP.js";import{d as T}from"./disabled-BZIZZ6wy.js";import{h as A}from"./href-DKPJq0Rh.js";import{l as B}from"./label-with-expert-slot-C1i0atAL.js";import{l as K}from"./link-target-B2OC2sZU.js";const q=["date","location","page","step","time","true","false"],O=i("ariaCurrentValue","page",(function(a){const e=s(a);return q.includes(e)?e:"page"})),U=i("ariaOwns","",s),F=i("download",void 0,s),$=r(),E={required:[A],optional:[c,p,O,m,f,U,b,T,F,v,h,B,$,k,K,g,j,u,x,y]},G=Z.forBlock("kol-link"),P=(i,s)=>{const{accessKey:r,ariaControls:c,ariaCurrent:p,ariaDescription:m,ariaDescriptionId:f,ariaExpanded:b,ariaOwns:v,class:h,customClass:k,disabled:g,download:j,handleAnchorClick:u,hideLabel:x,href:y,icons:Z,inline:T,label:A,on:B,ref:K,refAnchor:q,refTooltip:O,role:U,shortKey:F,tabIndex:$,target:P,variant:R,expertSlot:S}=t(E,i),z=o("kol-open-link-in-tab"),J="string"==typeof P&&P.length>0&&"_self"!==P,M={href:"string"==typeof y&&y.length>0?y:"javascript:void(0);",target:"string"==typeof P&&P.length>0?P:void 0,rel:J?"noopener":void 0,download:"string"==typeof j?j:void 0};!0===x&&""===n(A)&&a("[KolLink] An aria-label must be set when _hide-label is set.");const Q=null==m?void 0:m.trim(),V=U||void 0;return e(d,{block:"kol-link",ref:K,class:l(h,{[k]:R.includes("custom")&&k.length>0,[D(R,"link")]:R.length>0}),modifiers:{disabled:!0===g,"external-link":J,"hide-label":!0===x,inline:!0===T,standalone:!1===T}},e("a",Object.assign({ref:q},M,{href:M.href,accessKey:r||void 0,"aria-current":p||void 0,"aria-controls":c||void 0,"aria-describedby":Q?f:void 0,"aria-disabled":g?"true":void 0,"aria-expanded":""===b?void 0:b,"aria-owns":v||void 0,"aria-label":x&&""!==n(A)?`${n(A)}${J?` (${z})`:""}`:void 0,"aria-keyshortcuts":F||void 0,class:G("interactive-element")},B,{onClick:u,onMouseDown:g?_:void 0,role:V,tabIndex:g?-1:$}),e(L,{class:"kol-link__text",badgeText:r||F,icons:Z,hideLabel:x,label:S?"":A||y},s.length>0?s:e("slot",{name:"expert",slot:"expert"})),J&&e(I,{class:"kol-link__icon",label:x?"":z,icons:"kolicon-link-external","aria-hidden":x})),!0===x&&!S&&e("div",{class:G("tooltip")},e(C,{badgeText:r||F||"",label:""!==n(A)?A:"string"==typeof y?y:"",refFloating:O})),Q&&e(w,{description:Q,descriptionId:f}))};export{P as L,O as a,$ as b,U as c,F as d,E as l}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./index-Bsx5X6jK.js";const o="kol-form",l="kol-toast-container",a="kol-tree-item",t="kol-tree";var e=Object.freeze({__proto__:null,KolAbbrTag:"kol-abbr",KolAccordionTag:"kol-accordion",KolAlertTag:"kol-alert",KolAvatarTag:"kol-avatar",KolBadgeTag:"kol-badge",KolBreadcrumbTag:"kol-breadcrumb",KolButtonLinkTag:"kol-button-link",KolButtonTag:"kol-button",KolCardTag:"kol-card",KolComboboxTag:"kol-combobox",KolDetailsTag:"kol-details",KolDialogTag:"kol-dialog",KolDrawerTag:"kol-drawer",KolFormTag:o,KolHeadingTag:"kol-heading",KolIconTag:"kol-icon",KolImageTag:"kol-image",KolInputCheckboxTag:"kol-input-checkbox",KolInputColorTag:"kol-input-color",KolInputDateTag:"kol-input-date",KolInputEmailTag:"kol-input-email",KolInputFileTag:"kol-input-file",KolInputNumberTag:"kol-input-number",KolInputPasswordTag:"kol-input-password",KolInputRadioTag:"kol-input-radio",KolInputRangeTag:"kol-input-range",KolInputTag:"kol-input",KolInputTextTag:"kol-input-text",KolKolibriTag:"kol-kolibri",KolLinkButtonTag:"kol-link-button",KolLinkTag:"kol-link",KolMeterTag:"kol-meter",KolModalTag:"kol-modal",KolNavTag:"kol-nav",KolPaginationTag:"kol-pagination",KolPopoverButtonTag:"kol-popover-button",KolProgressTag:"kol-progress",KolQuoteTag:"kol-quote",KolSelectTag:"kol-select",KolSingleSelectTag:"kol-single-select",KolSkipNavTag:"kol-skip-nav",KolSpinTag:"kol-spin",KolSplitButtonTag:"kol-split-button",KolTableStatefulTag:"kol-table-stateful",KolTableStatelessTag:"kol-table-stateless",KolTabsTag:"kol-tabs",KolTextareaTag:"kol-textarea",KolToastContainerTag:l,KolToolbarTag:"kol-toolbar",KolTreeItemTag:a,KolTreeTag:t,KolVersionTag:"kol-version"});export{l as K,e as a,o as b,a as c,t as d}
4
+ import"./index-D1fZ9xFt.js";const o="kol-form",l="kol-toast-container",a="kol-tree-item",t="kol-tree";var e=Object.freeze({__proto__:null,KolAbbrTag:"kol-abbr",KolAccordionTag:"kol-accordion",KolAlertTag:"kol-alert",KolAvatarTag:"kol-avatar",KolBadgeTag:"kol-badge",KolBreadcrumbTag:"kol-breadcrumb",KolButtonLinkTag:"kol-button-link",KolButtonTag:"kol-button",KolCardTag:"kol-card",KolComboboxTag:"kol-combobox",KolDetailsTag:"kol-details",KolDialogTag:"kol-dialog",KolDrawerTag:"kol-drawer",KolFormTag:o,KolHeadingTag:"kol-heading",KolIconTag:"kol-icon",KolImageTag:"kol-image",KolInputCheckboxTag:"kol-input-checkbox",KolInputColorTag:"kol-input-color",KolInputDateTag:"kol-input-date",KolInputEmailTag:"kol-input-email",KolInputFileTag:"kol-input-file",KolInputNumberTag:"kol-input-number",KolInputPasswordTag:"kol-input-password",KolInputRadioTag:"kol-input-radio",KolInputRangeTag:"kol-input-range",KolInputTag:"kol-input",KolInputTextTag:"kol-input-text",KolKolibriTag:"kol-kolibri",KolLinkButtonTag:"kol-link-button",KolLinkTag:"kol-link",KolMeterTag:"kol-meter",KolModalTag:"kol-modal",KolNavTag:"kol-nav",KolPaginationTag:"kol-pagination",KolPopoverButtonTag:"kol-popover-button",KolProgressTag:"kol-progress",KolQuoteTag:"kol-quote",KolSelectTag:"kol-select",KolSingleSelectTag:"kol-single-select",KolSkipNavTag:"kol-skip-nav",KolSpinTag:"kol-spin",KolSplitButtonTag:"kol-split-button",KolTableStatefulTag:"kol-table-stateful",KolTableStatelessTag:"kol-table-stateless",KolTabsTag:"kol-tabs",KolTextareaTag:"kol-textarea",KolToastContainerTag:l,KolToolbarTag:"kol-toolbar",KolTreeItemTag:a,KolTreeTag:t,KolVersionTag:"kol-version"});export{l as K,e as a,o as b,a as c,t as d}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{P as t,Q as r}from"./index-Bsx5X6jK.js";import{A as o}from"./props-from-config-DVxNB2Lx.js";const a=(o,n,s,e=1)=>{const g=[Math.max(Math.min(Math.round(n[0]+e*Math.max(1,n[0]/100)),255),0),Math.max(Math.min(Math.round(n[1]+e*Math.max(1,n[1]/100)),255),0),Math.max(Math.min(Math.round(n[2]+e*Math.max(1,n[2]/100)),255),0)],c=r(t.hex(`rgba(${o.join(",")},1)`),t.hex(`rgba(${g.join(",")},1)`)),f=g[0]+g[1]+g[2];return 0===f||765===f||c>s?{background:o,foreground:g,contrast:c}:a(o,g,s,e)},n=(r,n=7)=>{let s=[0,0,0,1],e=[255,255,255,1];"string"==typeof r?(s=o(r),e=s):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(s=o(r.background),e="string"==typeof r.foreground?o(r.foreground):s);const g=((t,r,o)=>{const n=(299*t[0]+587*t[1]+114*t[2])/1e3>=128?-1:1,s=a(t,r,o,n);if(s.contrast>=o)return s;const e=a(t,r,o,-n);return e.contrast>s.contrast?e:s})([s[0],s[1],s[2]],[e[0],e[1],e[2]],n);return e=[...g.foreground,1],{background:t.hex(`rgba(${s.join(",")})`),foreground:t.hex(`rgba(${e.join(",")})`),contrast:g.contrast}};export{n as c}
4
+ import{Q as t,S as r}from"./index-D1fZ9xFt.js";import{A as o}from"./props-from-config-DqFgiUwD.js";const a=(o,n,s,e=1)=>{const g=[Math.max(Math.min(Math.round(n[0]+e*Math.max(1,n[0]/100)),255),0),Math.max(Math.min(Math.round(n[1]+e*Math.max(1,n[1]/100)),255),0),Math.max(Math.min(Math.round(n[2]+e*Math.max(1,n[2]/100)),255),0)],f=r(t.hex(`rgba(${o.join(",")},1)`),t.hex(`rgba(${g.join(",")},1)`)),c=g[0]+g[1]+g[2];return 0===c||765===c||f>s?{background:o,foreground:g,contrast:f}:a(o,g,s,e)},n=(r,n=7)=>{let s=[0,0,0,1],e=[255,255,255,1];"string"==typeof r?(s=o(r),e=s):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(s=o(r.background),e="string"==typeof r.foreground?o(r.foreground):s);const g=((t,r,o)=>{const n=(299*t[0]+587*t[1]+114*t[2])/1e3>=128?-1:1,s=a(t,r,o,n);if(s.contrast>=o)return s;const e=a(t,r,o,-n);return e.contrast>s.contrast?e:s})([s[0],s[1],s[2]],[e[0],e[1],e[2]],n);return e=[...g.foreground,1],{background:t.hex(`rgba(${s.join(",")})`),foreground:t.hex(`rgba(${e.join(",")})`),contrast:g.contrast}};export{n as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{U as e,m as t,i as n,t as o,e as s,L as r}from"./index-Bsx5X6jK.js";import{b as a}from"./component-names-Ur_UbEzI.js";const i=n=>{for(e()&&(t("↓ Search form element start."),r.debug(n));n instanceof HTMLElement&&"FORM"!==n.tagName&&n.tagName!==o(a).toUpperCase();){try{n=n.parentElement instanceof HTMLElement?n.parentElement:n.parentNode instanceof ShadowRoot?n.parentNode.host:null}catch(e){}e()&&r.debug(n)}return e()&&t("↑ Search form element finished."),n},f=(e={})=>{const t=i(e.form);if(t instanceof HTMLElement){const e=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===t.tagName)n(e,t),t.dispatchEvent(e);else if(t.tagName===o(a).toUpperCase()){const o=s.querySelector("form",t);o&&(n(e,o),o.dispatchEvent(e))}}},c=(r={})=>{var f;const c=null!==(f=r.shouldSubmit)&&void 0!==f?f:()=>!0,l=i(r.form);if(l instanceof HTMLElement){const r=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:l});if("FORM"===l.tagName)e()&&!1===l.noValidate&&t("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{c()&&("function"==typeof l.requestSubmit?l.requestSubmit():(n(r,l),l.dispatchEvent(r)))}));else if(l.tagName===o(a).toUpperCase()){const e=s.querySelector("form",l);e&&(n(r,e),setTimeout((()=>{c()&&e.dispatchEvent(r)})))}}},l=(e,t)=>{"Enter"!==e.code&&"NumpadEnter"!==e.code||e.isComposing||c(Object.assign(Object.assign({},t),{shouldSubmit:()=>!e.defaultPrevented&&!(e=>{var t;try{return null!==(t=null==e?void 0:e.matches(":open"))&&void 0!==t&&t}catch(e){return!1}})(t.ref)}))};export{f as a,c as p,l as s}
4
+ import{V as e,m as t,i as n,t as o,e as s,L as a}from"./index-D1fZ9xFt.js";import{b as r}from"./component-names-DzmdvSkQ.js";const i=n=>{for(e()&&(t("↓ Search form element start."),a.debug(n));n instanceof HTMLElement&&"FORM"!==n.tagName&&n.tagName!==o(r).toUpperCase();){try{n=n.parentElement instanceof HTMLElement?n.parentElement:n.parentNode instanceof ShadowRoot?n.parentNode.host:null}catch(e){}e()&&a.debug(n)}return e()&&t("↑ Search form element finished."),n},f=(e={})=>{const t=i(e.form);if(t instanceof HTMLElement){const e=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===t.tagName)n(e,t),t.dispatchEvent(e);else if(t.tagName===o(r).toUpperCase()){const o=s.querySelector("form",t);o&&(n(e,o),o.dispatchEvent(e))}}},c=(a={})=>{var f;const c=null!==(f=a.shouldSubmit)&&void 0!==f?f:()=>!0,l=i(a.form);if(l instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:l});if("FORM"===l.tagName)e()&&!1===l.noValidate&&t("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{c()&&("function"==typeof l.requestSubmit?l.requestSubmit():(n(a,l),l.dispatchEvent(a)))}));else if(l.tagName===o(r).toUpperCase()){const e=s.querySelector("form",l);e&&(n(a,e),setTimeout((()=>{c()&&e.dispatchEvent(a)})))}}},l=(e,t)=>{"Enter"!==e.code&&"NumpadEnter"!==e.code||e.isComposing||c(Object.assign(Object.assign({},t),{shouldSubmit:()=>!e.defaultPrevented&&!(e=>{var t;try{return null!==(t=null==e?void 0:e.matches(":open"))&&void 0!==t&&t}catch(e){return!1}})(t.ref)}))};export{f as a,c as p,l as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{L as n,G as t,I as e,J as o,M as i,N as s,O as a}from"./index-Bsx5X6jK.js";const r=()=>{let n=s().KoliBri;return void 0===n&&(n={},Object.defineProperty(s(),"KoliBri",{value:n,writable:!1})),n},c="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g," "),u=()=>{(()=>{try{const n=e();if(!n||"function"!=typeof n.querySelector)return;const t=n.querySelector('meta[name="kolibri"]');if(t&&t.hasAttribute("content")){const n=t.getAttribute("content");"string"==typeof n&&(o(n.includes("experimental-mode=true")),i(n.includes("color-contrast-analysis=true")))}}catch(n){}})(),n.debug(`${c}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${t.kolibriVersion}\n\t`,{forceLog:!0})},l=()=>{!0!==r().adviceShown&&(Object.defineProperty(r(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let p=()=>Math.floor(16777215*Math.random()).toString(16);a()&&(p=()=>"nonce");const b=n=>`${n}-${p()}`,f=(n,t)=>{const e=n.lastIndexOf("-");if(-1===e)return`${n}-${t}`;const o=n.slice(e+1);return"nonce"===o||/^[0-9a-f]+$/.test(o)?`${n.slice(0,e)}-${t}-${o}`:`${n}-${t}`};export{f as a,b as c,u as i,p as n,l as r}
4
+ import{L as n,I as t,J as e,M as o,N as i,O as s,P as a}from"./index-D1fZ9xFt.js";const r=()=>{let n=s().KoliBri;return void 0===n&&(n={},Object.defineProperty(s(),"KoliBri",{value:n,writable:!1})),n},c="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g," "),u=()=>{(()=>{try{const n=e();if(!n||"function"!=typeof n.querySelector)return;const t=n.querySelector('meta[name="kolibri"]');if(t&&t.hasAttribute("content")){const n=t.getAttribute("content");"string"==typeof n&&(o(n.includes("experimental-mode=true")),i(n.includes("color-contrast-analysis=true")))}}catch(n){}})(),n.debug(`${c}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${t.kolibriVersion}\n\t`,{forceLog:!0})},l=()=>{!0!==r().adviceShown&&(Object.defineProperty(r(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);a()&&(f=()=>"nonce");const p=n=>`${n}-${f()}`,b=(n,t)=>{const e=n.lastIndexOf("-");if(-1===e)return`${n}-${t}`;const o=n.slice(e+1);return"nonce"===o||/^[0-9a-f]+$/.test(o)?`${n.slice(0,e)}-${t}-${o}`:`${n}-${t}`};export{b as a,p as c,u as i,f as n,l as r}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a1 as t,L as o,J as i,t as e,O as a,a2 as n,a0 as l,a3 as s,a4 as r,a5 as c,j as d,a6 as f,V as u,a7 as p}from"./index-D1fZ9xFt.js";import{i as L,r as v}from"./dev.utils-BgFDROtc.js";function m(t,i){try{Object.defineProperty((()=>{let t=a().KoliBri;return void 0===t&&(t={},Object.defineProperty(a(),"KoliBri",{value:t,writable:!1})),t})(),t,{get:function(){return i}})}catch(i){o.debug(`KoliBri property ${t} is already bind.`)}}const y=(t,i)=>o.debug(`${t} ${i?"":"not "}activated`),h=()=>{if(L(),t()&&(v(),m("a11yColorContrast",n),m("querySelector",l),m("querySelectorAll",s),m("querySelectorColors",r),m("utils",(function(){return c})),m("parseJson",d),m("stringifyJson",f),y("Development mode",t()),y("Experimental mode",u()),y("Color contrast analysis",p()),setTimeout((()=>{try{const t=i(),o=null==t?void 0:t.body;if(t&&o&&"function"==typeof t.createElement){const i=t.createElement(e("svg"));i.setAttribute("aria-label","KoliBri-DevTools"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("role","toolbar"),i.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),i.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',o.appendChild(i)}}catch(t){o.debug(["Could not initialize DevTools UI (likely in SSR/test environment):",t])}}),100),p())){const t=setTimeout((()=>{clearTimeout(t);try{const t=i(),o=null==t?void 0:t.body;t&&o&&"function"==typeof t.createElement&&setInterval((()=>{c.queryHtmlElementColors(t.createElement(e("div")),n(o),!1,!1)}),1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}}),2500)}};export{h as initialize}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import"./index-D1fZ9xFt.js";import{c as o,n as s}from"./props-from-config-DqFgiUwD.js";const i=o("disabled",!1,s);export{i as d}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./index-Bsx5X6jK.js";import{a as e}from"./tslib.es6-QNbPBOk5.js";function t(e){return new Promise(((t,n)=>{let o;const r=new MutationObserver((()=>{e.hasAttribute("data-themed")&&(o&&clearTimeout(o),r.disconnect(),t())}));if(r.observe(e,{attributes:!0,attributeFilter:["data-themed"]}),e.hasAttribute("data-themed"))return r.disconnect(),void t();o=setTimeout((()=>{r.disconnect(),n(new Error("Timeout waiting for data-themed attribute"))}),5e3)}))}async function n(e,n){try{e.hasAttribute("data-themed")||await t(e),await n()}catch(e){throw new Error("The interactive element inside the KoliBri web component could not be focused. Try calling the focus method on the web component after a short delay again.")}}function o(e){const t=e.getRootNode();return t instanceof ShadowRoot?t.activeElement===e:document.activeElement===e}function r(e){const t=function(e=document){var t;let n=e.activeElement;for(;null===(t=null==n?void 0:n.shadowRoot)||void 0===t?void 0:t.activeElement;)n=n.shadowRoot.activeElement;return n}();if(!t||!e)return!1;let n=t;for(;n;){if(n===e)return!0;const t=n.getRootNode();n=t instanceof ShadowRoot?t.host:n.parentElement}return!1}const i={preventScroll:!0};async function a(t,n){if(!t)return;const r=null!=n?n:{},{afterFocus:a}=r,c=e(r,["afterFocus"]),s=n&&("behavior"in c||"block"in c||"inline"in c);let u=0;do{t&&t.focus(i),await new Promise((e=>requestAnimationFrame(e))),u++}while(!o(t)&&u<10);const d=o(t);if(s){const e=Object.assign(Object.assign({},c),{behavior:c.behavior});t.scrollIntoView(e)}a&&d&&(s&&"smooth"===c.behavior&&await function(e,t=2e3){return new Promise((n=>{let o,r,i=!1;const a=()=>{i||(i=!0,clearTimeout(c),null==r||r(),r=void 0,null==o||o.disconnect(),n())},c=setTimeout(a,t);if("undefined"!=typeof window&&"onscrollend"in window){const t=t=>{const n=t.target;n instanceof Node&&n.contains(e)&&a()};return document.addEventListener("scrollend",t,{capture:!0}),void(r=()=>{document.removeEventListener("scrollend",t,{capture:!0})})}"undefined"!=typeof IntersectionObserver?(o=new IntersectionObserver((e=>{e.some((e=>e.isIntersecting))&&a()}),{threshold:0}),o.observe(e)):a()}))}(t),a())}export{r as c,n as d,a as s,t as w}
4
+ import"./index-D1fZ9xFt.js";import{a as e}from"./tslib.es6-QNbPBOk5.js";function t(e){return new Promise(((t,n)=>{let o;const r=new MutationObserver((()=>{e.hasAttribute("data-themed")&&(o&&clearTimeout(o),r.disconnect(),t())}));if(r.observe(e,{attributes:!0,attributeFilter:["data-themed"]}),e.hasAttribute("data-themed"))return r.disconnect(),void t();o=setTimeout((()=>{r.disconnect(),n(new Error("Timeout waiting for data-themed attribute"))}),5e3)}))}async function n(e,n){try{e.hasAttribute("data-themed")||await t(e),await n()}catch(e){throw new Error("The interactive element inside the KoliBri web component could not be focused. Try calling the focus method on the web component after a short delay again.")}}function o(e){const t=e.getRootNode();return t instanceof ShadowRoot?t.activeElement===e:document.activeElement===e}function r(e){const t=function(e=document){var t;let n=e.activeElement;for(;null===(t=null==n?void 0:n.shadowRoot)||void 0===t?void 0:t.activeElement;)n=n.shadowRoot.activeElement;return n}();if(!t||!e)return!1;let n=t;for(;n;){if(n===e)return!0;const t=n.getRootNode();n=t instanceof ShadowRoot?t.host:n.parentElement}return!1}const i={preventScroll:!0};async function a(t,n){if(!t)return;const r=null!=n?n:{},{afterFocus:a}=r,c=e(r,["afterFocus"]),s=n&&("behavior"in c||"block"in c||"inline"in c);let u=0;do{t&&t.focus(i),await new Promise((e=>requestAnimationFrame(e))),u++}while(!o(t)&&u<10);const d=o(t);if(s){const e=Object.assign(Object.assign({},c),{behavior:c.behavior});t.scrollIntoView(e)}a&&d&&(s&&"smooth"===c.behavior&&await function(e,t=2e3){return new Promise((n=>{let o,r,i=!1;const a=()=>{i||(i=!0,clearTimeout(c),null==r||r(),r=void 0,null==o||o.disconnect(),n())},c=setTimeout(a,t);if("undefined"!=typeof window&&"onscrollend"in window){const t=t=>{const n=t.target;n instanceof Node&&n.contains(e)&&a()};return document.addEventListener("scrollend",t,{capture:!0}),void(r=()=>{document.removeEventListener("scrollend",t,{capture:!0})})}"undefined"!=typeof IntersectionObserver?(o=new IntersectionObserver((e=>{e.some((e=>e.isIntersecting))&&a()}),{threshold:0}),o.observe(e)):a()}))}(t),a())}export{r as c,n as d,a as s,t as w}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./index-Bsx5X6jK.js";import{w as n,s as t,d as e}from"./element-focus-BYLFG-oz.js";async function r(t,e){try{t.hasAttribute("data-themed")||await n(t),await e()}catch(n){throw new Error("The interactive element inside the KoliBri web component could not be clicked. Try calling the click method on the web component after a short delay again.")}}function o(n){if(!n)return!1;const t=n.getBoundingClientRect();return t.width>0&&t.height>0}async function i(n){let t=0;do{n&&n.click(),await new Promise((n=>requestAnimationFrame(n))),t++}while(!o(n)&&t<3)}function s(n){let t;const e=n=>{t=n};return Object.defineProperty(e,"el",{get:()=>!0===(null==n?void 0:n())?void 0:t,set:n=>{t=n}}),e}const a=n=>n.preventDefault();function c(n){return(t,e,r)=>(r.value=async function(t){return n(this,t)},r)}function u(n){return c(((e,r)=>{var o;const i=null===(o=e[n])||void 0===o?void 0:o.el;return i?t(i,r):Promise.resolve()}))}function l(n){return c(((r,o)=>{const i=r.host;return i?e(i,(()=>{var e;const i=null===(e=r[n])||void 0===e?void 0:e.el;return i?t(i,o):Promise.resolve()})):Promise.resolve()}))}function d(n){return t=t=>r(t.host,(()=>{const e=t[n].el;return e?i(e):Promise.resolve()})),(n,e,r)=>(r.value=async function(){return t(this)},r);var t}export{d as a,r as b,s as c,l as d,u as e,a as p,i as s}
4
+ import"./index-D1fZ9xFt.js";import{w as n,s as t,d as e}from"./element-focus-C0L8NWU8.js";async function r(t,e){try{t.hasAttribute("data-themed")||await n(t),await e()}catch(n){throw new Error("The interactive element inside the KoliBri web component could not be clicked. Try calling the click method on the web component after a short delay again.")}}function o(n){if(!n)return!1;const t=n.getBoundingClientRect();return t.width>0&&t.height>0}async function i(n){let t=0;do{n&&n.click(),await new Promise((n=>requestAnimationFrame(n))),t++}while(!o(n)&&t<3)}function s(n){let t;const e=n=>{t=n};return Object.defineProperty(e,"el",{get:()=>!0===(null==n?void 0:n())?void 0:t,set:n=>{t=n}}),e}const a=n=>n.preventDefault();function c(n){return(t,e,r)=>(r.value=async function(t){return n(this,t)},r)}function u(n){return c(((e,r)=>{var o;const i=null===(o=e[n])||void 0===o?void 0:o.el;return i?t(i,r):Promise.resolve()}))}function l(n){return c(((r,o)=>{const i=r.host;return i?e(i,(()=>{var e;const i=null===(e=r[n])||void 0===e?void 0:e.el;return i?t(i,o):Promise.resolve()})):Promise.resolve()}))}function d(n){return t=t=>r(t.host,(()=>{const e=t[n].el;return e?i(e):Promise.resolve()})),(n,e,r)=>(r.value=async function(){return t(this)},r);var t}export{d as a,r as b,s as c,l as d,u as e,a as p,i as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./index-Bsx5X6jK.js";var e;!function(e){e.blur="blur",e.cancel="cancel",e.change="change",e.changeHeaderCells="changeheadercells",e.changePage="changepage",e.changePageSize="changepagesize",e.click="click",e.close="close",e.create="create",e.error="error",e.focus="focus",e.input="input",e.keydown="keydown",e.load="load",e.mousedown="mousedown",e.reset="reset",e.select="select",e.selectionChange="selectionchange",e.sortChange="sortchange",e.sort="sort",e.submit="submit",e.toggle="toggle"}(e||(e={}));const c={bubbles:!0,cancelable:!0,composed:!0};function n(e,n=null){return new CustomEvent(e,Object.assign(Object.assign({},c),{detail:n}))}function t(e,c,t){return e.dispatchEvent(n(c,t))}function a(e,c=null,t){const a=n(e,c);return t&&(Object.defineProperty(a,"target",{value:t}),Object.defineProperty(a,"currentTarget",{value:t})),a}export{e as K,a as c,t as d}
4
+ import"./index-D1fZ9xFt.js";var e;!function(e){e.blur="blur",e.cancel="cancel",e.change="change",e.changeHeaderCells="changeheadercells",e.changePage="changepage",e.changePageSize="changepagesize",e.click="click",e.close="close",e.create="create",e.error="error",e.focus="focus",e.input="input",e.keydown="keydown",e.load="load",e.mousedown="mousedown",e.reset="reset",e.select="select",e.selectionChange="selectionchange",e.sortChange="sortchange",e.sort="sort",e.submit="submit",e.toggle="toggle"}(e||(e={}));const t={bubbles:!0,cancelable:!0,composed:!0};function c(e,c=null){return new CustomEvent(e,Object.assign(Object.assign({},t),{detail:c}))}function n(e,t,n){return e.dispatchEvent(c(t,n))}function a(e,t=null,n){const a=c(e,t);return n&&(Object.defineProperty(a,"target",{value:n}),Object.defineProperty(a,"currentTarget",{value:n})),a}export{e as K,a as c,n as d}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as e}from"./index-D1fZ9xFt.js";import{a as o}from"./tslib.es6-QNbPBOk5.js";import{s as l,b as i}from"./component-CjdTbGlP.js";import{a,g as r,b as s,i as t}from"./api-Ba9FNPRn.js";import{b as n}from"./bem-registry-CrZZQahR.js";import{a as d}from"./dev.utils-BgFDROtc.js";import{B as b}from"./props-from-config-DqFgiUwD.js";import{T as p}from"./component-0npqUhj2.js";const c=n.forBlock("kol-field-control"),f=({hideLabel:e,label:o,renderNoTooltip:i})=>!i&&!l(o)&&!0===e,m=(n,m)=>{const{class:h,id:g,label:j,hint:u,hideLabel:y,labelAlign:N,infoPopover:B,accessKey:T,shortKey:k,tooltipAlign:v,disabled:O,msg:P,touched:F,required:K,readOnly:q,renderNoHint:x,renderNoTooltip:A,labelProps:C,refInput:D,refTooltip:L}=n,_=o(n,["class","id","label","hint","hideLabel","labelAlign","infoPopover","accessKey","shortKey","tooltipAlign","disabled","msg","touched","required","readOnly","renderNoHint","renderNoTooltip","labelProps","refInput","refTooltip"]),I=l(j),R=f({hideLabel:y,label:j,renderNoTooltip:A}),Z=i(T,k),H=t(P,F),Q=()=>e("div",{class:c("input"),ref:D},m),U=()=>R?e("div",{class:"kol-form-field__tooltip"},e(p,{badgeText:Z||"",label:j,align:v,id:d(g,"label"),refFloating:L})):null,w=()=>e(s,Object.assign({},C,{id:g,baseClassName:"kol-field-control",class:y?"kol-field-control__label--visually-hidden":void 0,omitId:R,hasExpertSlot:I,label:j,accessKey:T,shortKey:k,infoPopover:B}));return e(b,Object.assign({block:"kol-field-control",modifiers:Object.assign(Object.assign({disabled:Boolean(O),required:Boolean(K),touched:Boolean(F),"hide-label":Boolean(y),"read-only":Boolean(q)},H?{[r(P)]:!0}:{}),{"label-align-left":"left"===N,"label-align-right":"right"===N}),class:h},_),"left"===N?[w(),Q(),U()]:[Q(),U(),w()],!x&&e(a,{baseClassName:"kol-field-control",id:g,hint:u}))};export{m as F,f as i}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as s}from"./index-Bsx5X6jK.js";import{c as i,n as t,g as o}from"./props-from-config-DVxNB2Lx.js";import{a as e}from"./dev.utils--eVyQ4zr.js";import{B as n}from"./api-B76-Osk1.js";import{b as a}from"./bem-registry-CK2s_XZ4.js";const r=i("hasClearButton",!0,t),h=o("kol-custom-suggestions-options-group"),l=o("kol-custom-suggestions-option"),c=({"aria-labelledby":i,blockSuggestionMouseOver:t,onKeyDown:o,style:e,hidden:n,id:a},r)=>s("ul",{"aria-labelledby":i,id:a,role:"listbox",style:e,class:h({"cursor-hidden":t,open:!n}),hidden:n,onKeyDown:o},r),d=({disabled:i,id:t,index:o,ref:e,selected:n,onClick:a,onMouseOver:r,onFocus:h,onKeyDown:c,option:d,searchTerm:u})=>s("li",{id:t,key:`-${o}`,ref:e,"data-index":o,tabIndex:-1,role:"option","aria-selected":n?"true":void 0,"aria-disabled":i?"true":void 0,onClick:a,onMouseOver:r,onFocus:h,class:l({disabled:Boolean(i)}),onKeyDown:c},s("span",null,((i,t)=>{if(!(null==t?void 0:t.trim()))return i;const o=new RegExp(`(${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi");return i.split(o).map(((i,t)=>t%2==1?s("mark",null,i):i))})(String(d),u||"")));class u extends n{constructor(){super(...arguments),this.focusedIndex=-1,this.clearButtonFocused=!1,this.optionRefs=[],this.handleClearButtonFocus=()=>{this.clearButtonFocused=!0},this.handleClearButtonBlur=()=>{this.clearButtonFocused=!1}}getOptionId(s){return e(this.id,`option-${s}`)}getActiveDescendant(){return this.isOpen&&this.focusedIndex>=0?this.getOptionId(this.focusedIndex):void 0}focusOption(s){var i;this.focusedIndex=s,null===(i=this.optionRefs[s])||void 0===i||i.focus()}moveFocusWrapping(s){let i=this.focusedIndex+s;const t=this.getOptionCount();i>=t&&(i=0),i<0&&(i=t-1),this.focusOption(i)}moveFocusSkippingDisabled(s,i,t){const o=this.getOptionCount();let e=this.focusedIndex+s;for(let s=0;s<o;s++){if(e>=o&&(e=0),e<0&&(e=o-1),!t(e))return void this.focusOption(e);e+=i}}handleListboxEvent(s,i,t){var o;s.preventDefault(),void 0!==i&&(this.isOpen=i,i||null===(o=this.ctaRef.el)||void 0===o||o.focus()),null==t||t()}handleListboxKeyDown(s){var i,t;switch(s.key){case"Down":case"ArrowDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,!0,(()=>this.moveFocus(1)));break;case"Up":case"ArrowUp":{this.blockSuggestionMouseOver=!0;const i=this.isOpen;this.handleListboxEvent(s,!0,(()=>i?this.moveFocus(-1,-1):this.focusLastOption()));break}case"Tab":this.isOpen&&(this.isOpen=!1,null===(i=this.ctaRef.el)||void 0===i||i.focus());break;case"Esc":case"Escape":this.isOpen&&(s.preventDefault(),this.isOpen=!1,null===(t=this.ctaRef.el)||void 0===t||t.focus());break;case" ":case"Enter":case"NumpadEnter":this.handleConfirmKey(s);break;case"Home":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusFirstOption())));break;case"End":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusLastOption())));break;case"PageUp":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(-10)));break;case"PageDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(10,-1)))}}handleListboxMouseMove(){this.blockSuggestionMouseOver=!1}}const p={"kol-combobox":a.forBlock("kol-combobox")("group"),"kol-single-select":a.forBlock("kol-single-select")("group")},b=({block:i},t)=>s("div",{class:p[i]},t);export{u as B,d as C,b as L,c as a,r as h}
4
+ import{h as s}from"./index-D1fZ9xFt.js";import{c as i,n as t,g as o}from"./props-from-config-DqFgiUwD.js";import{a as e}from"./dev.utils-BgFDROtc.js";import{B as a}from"./api-Ba9FNPRn.js";import{b as n}from"./bem-registry-CrZZQahR.js";const r=i("hasClearButton",!0,t),h=o("kol-custom-suggestions-options-group"),l=o("kol-custom-suggestions-option"),c=({"aria-labelledby":i,blockSuggestionMouseOver:t,onKeyDown:o,style:e,hidden:a,id:n},r)=>s("ul",{"aria-labelledby":i,id:n,role:"listbox",style:e,class:h({"cursor-hidden":t,open:!a}),hidden:a,onKeyDown:o},r),d=({disabled:i,id:t,index:o,ref:e,selected:a,onClick:n,onMouseOver:r,onFocus:h,onKeyDown:c,option:d,searchTerm:u})=>s("li",{id:t,key:`-${o}`,ref:e,"data-index":o,tabIndex:-1,role:"option","aria-selected":a?"true":void 0,"aria-disabled":i?"true":void 0,onClick:n,onMouseOver:r,onFocus:h,class:l({disabled:Boolean(i)}),onKeyDown:c},s("span",null,((i,t)=>{if(!(null==t?void 0:t.trim()))return i;const o=new RegExp(`(${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi");return i.split(o).map(((i,t)=>t%2==1?s("mark",null,i):i))})(String(d),u||"")));class u extends a{constructor(){super(...arguments),this.focusedIndex=-1,this.clearButtonFocused=!1,this.optionRefs=[],this.handleClearButtonFocus=()=>{this.clearButtonFocused=!0},this.handleClearButtonBlur=()=>{this.clearButtonFocused=!1}}getOptionId(s){return e(this.id,`option-${s}`)}getActiveDescendant(){return this.isOpen&&this.focusedIndex>=0?this.getOptionId(this.focusedIndex):void 0}focusOption(s){var i;this.focusedIndex=s,null===(i=this.optionRefs[s])||void 0===i||i.focus()}moveFocusWrapping(s){let i=this.focusedIndex+s;const t=this.getOptionCount();i>=t&&(i=0),i<0&&(i=t-1),this.focusOption(i)}moveFocusSkippingDisabled(s,i,t){const o=this.getOptionCount();let e=this.focusedIndex+s;for(let s=0;s<o;s++){if(e>=o&&(e=0),e<0&&(e=o-1),!t(e))return void this.focusOption(e);e+=i}}handleListboxEvent(s,i,t){var o;s.preventDefault(),void 0!==i&&(this.isOpen=i,i||null===(o=this.ctaRef.el)||void 0===o||o.focus()),null==t||t()}handleListboxKeyDown(s){var i,t;switch(s.key){case"Down":case"ArrowDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,!0,(()=>this.moveFocus(1)));break;case"Up":case"ArrowUp":{this.blockSuggestionMouseOver=!0;const i=this.isOpen;this.handleListboxEvent(s,!0,(()=>i?this.moveFocus(-1,-1):this.focusLastOption()));break}case"Tab":this.isOpen&&(this.isOpen=!1,null===(i=this.ctaRef.el)||void 0===i||i.focus());break;case"Esc":case"Escape":this.isOpen&&(s.preventDefault(),this.isOpen=!1,null===(t=this.ctaRef.el)||void 0===t||t.focus());break;case" ":case"Enter":case"NumpadEnter":this.handleConfirmKey(s);break;case"Home":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusFirstOption())));break;case"End":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusLastOption())));break;case"PageUp":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(-10)));break;case"PageDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(10,-1)))}}handleListboxMouseMove(){this.blockSuggestionMouseOver=!1}}const p={"kol-combobox":n.forBlock("kol-combobox")("group"),"kol-single-select":n.forBlock("kol-single-select")("group")},b=({block:i},t)=>s("div",{class:p[i]},t);export{u as B,d as C,b as L,c as a,r as h}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import"./index-D1fZ9xFt.js";import{c as o,n as s}from"./props-from-config-DqFgiUwD.js";const r=o("hasCloser",!1,s);export{r as h}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import"./index-D1fZ9xFt.js";import{c as o,b as r}from"./props-from-config-DqFgiUwD.js";const s=o("href","",r,(o=>"string"==typeof o));export{s as h}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{g as e}from"./shared-state-Dn94ivRg.js";import"./index-D1fZ9xFt.js";var t={"action-done":"Aktion abgeschlossen","action-running":"Aktion wird ausgeführt","avatar-alt":"Avatar von {{name}}","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen","character-counter-max-aria":"Zeichenlimit erreicht!","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","clear-search":"Suche löschen",close:"Schließen","close-alert":"Benachrichtigung schließen","data-browse-text":"Datei auswählen","delete-selection":"Auswahl entfernen","entries-per-site":"Einträge pro Seite",error:"Fehler","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:","filename-text":"Datei auswählen oder hier ablegen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.","hide-password":"Passwort verbergen",info:"Hinweis","kolibri-logo":"Logo von KoliBri","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} von {{max}} {{unit}}",message:"Nachricht","meter-state-critical":"Kritisch","meter-state-optimum":"Optimal","meter-state-suboptimal":"Suboptimal","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","no-results-message":"Keine Ergebnisse gefunden.","open-link-in-tab":"Öffnet in neuem Tab.",page:"Seite","page-back":"Eine Seite zurück","page-first":"Direkt zur ersten Seite","page-last":"Direkt zur letzten Seite","page-next":"Eine Seite weiter",pagination:"Paginierung","pagination-position-bottom":"unten","pagination-position-top":"oben",progress:"Fortschritt",readonly:"schreibgeschützt","show-password":"Passwort einblenden","show-suggestions":"Vorschläge anzeigen",sort:"sortieren","split-button-dropdown-label-open":"Optionen anzeigen",success:"Erfolg","table-data-loading":"Daten für Tabelle {{caption}} werden geladen.","table-data-loaded":"Daten für Tabelle {{caption}} wurden geladen.","table-pagination-label":"Paginierung für die Tabelle {{label}}","table-selection":"Auswahl","table-selection-all":"Alle auswählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-selection-none":"Alle abwählen","table-settings":"Tabellenkonfiguration","table-settings-apply":"Übernehmen","table-settings-cancel":"Abbrechen","table-settings-column-hidable":'Spalte "{{column}}" ausblenden.',"table-settings-column-not-hidable":'Spalte "{{column}}" kann nicht ausgeblendet werden.',"table-settings-column-width":'Breite von Spalte "{{column}}" in Pixel.',"table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-move-down":'Spalte "{{column}}" nach unten verschieben.',"table-settings-move-up":'Spalte "{{column}}" nach oben verschieben.',"table-settings-not-move":'Spalte "{{column}}" kann nicht verschoben werden.',"table-sort-order":"Priorität {{order}}","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","toast-close-all":"Alle Benachrichtigungen schließen",version:"Versionsnummer",warning:"Warnung"},n={"action-done":"Action done","action-running":"Action is running","avatar-alt":"Avatar of {{name}}","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters","character-counter-max-aria":"Character limit reached!","character-limit-exceeded":"You have {{over}} characters too many.","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","clear-search":"Clear search",close:"Close","close-alert":"Close notification","data-browse-text":"Browse","delete-selection":"Delete selection","entries-per-site":"Entries per page",error:"Error","error-list":"Error list","error-list-message":"Please correct the following errors","filename-text":"Choose a file or drop it here","form-description":"Form fields marked with an asterisk (*) are mandatory.","hide-password":"Hide password",info:"Note","kolibri-logo":"KoliBri logo","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} of {{max}} {{unit}}",message:"Message","meter-state-critical":"Critical","meter-state-optimum":"Optimum","meter-state-suboptimal":"Suboptimal","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation",new:"New","no-entries":"No entries available.","no-results-message":"No results found.","open-link-in-tab":"Opens in new tab.",page:"Page","page-back":"One page back","page-first":"Directly to the first page","page-last":"Directly to the last page","page-next":"One page further",pagination:"Pagination","pagination-position-bottom":"bottom","pagination-position-top":"top",progress:"Progress",readonly:"read-only","show-password":"Show password","show-suggestions":"Show suggestions",sort:"sort","split-button-dropdown-label-open":"Show options",success:"Success","table-data-loading":"Data in table {{caption}} is loading.","table-data-loaded":"Data in table {{caption}} got loaded.","table-pagination-label":"Pagination for table {{label}}","table-selection":"Selection","table-selection-all":"Select all","table-selection-indeterminate":"Select all with partial selection","table-selection-none":"Deselect all","table-settings":"Table configuration","table-settings-apply":"Apply","table-settings-cancel":"Cancel","table-settings-column-hidable":'Hide column "{{column}}".',"table-settings-column-not-hidable":'Column "{{column}}" cannot be hidden.',"table-settings-column-width":'Width of column "{{column}}" in pixel.',"table-settings-error-all-invisible":"At least one column must be visible.","table-settings-move-down":'Move column "{{column}}" down.',"table-settings-move-up":'Move column "{{column}}" up.',"table-settings-not-move":'Column "{{column}}" cannot be moved.',"table-sort-order":"Priority {{order}}","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","toast-close-all":"Close all notifications",version:"Version number",warning:"Warning"};const a=e=>Object.keys(e).reduce(((t,n)=>(t[`kol-${n}`]=e[n],t)),{}),i=new Set([e=>e("en",a(n)),e=>e("de",a(t))]);class r{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,t){var n;let a=null===(n=this.resourceMap.get(this.language))||void 0===n?void 0:n.get(e);return a?(null==t?void 0:t.placeholders)&&Object.entries(t.placeholders).forEach((([e,t])=>{var n;n=t,a=a.split(`{{${e}}}`).join(n)})):a=e,a}}const o=e("i18n",(()=>({}))),l=()=>o.instance,s=(e,t)=>{const n=new r(e);return n.addTranslations(i),n.addTranslations(t),o.instance=n,n};export{l as g,s as i}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{P as r}from"./index-D1fZ9xFt.js";import{g as s,i as t}from"./i18n-TlIXBsgS.js";let i=(r,i)=>{var o;return(null!==(o=s())&&void 0!==o?o:t("de")).translate(r,i)};r()&&(i=r=>r);export{i as t}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import"./index-D1fZ9xFt.js";import{c as o,b as i}from"./props-from-config-DqFgiUwD.js";const s=o("id","",i);export{s as i}