@public-ui/components 4.6.0-rc.2 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (702) 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 +4 -4
  7. package/dist/cjs/{Heading-CmnijhLd.js → Heading-CnnBHLhu.js} +7 -7
  8. package/dist/cjs/{api-Bg7hdIrJ.js → api-C-uDDxcA.js} +29 -30
  9. package/dist/cjs/{app-globals-BwYPSMbG.js → app-globals-BfpVa0Lg.js} +2 -2
  10. package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-By2dgbCn.js} +0 -13
  11. package/dist/cjs/{base-JFyPasp9.js → base-BIbzHEVE.js} +50 -52
  12. package/dist/cjs/{base-ob1X79UM.js → base-BZ3x1Yaj.js} +10 -10
  13. package/dist/cjs/{base-CQB0r-ZQ.js → base-Cc2tyQoy.js} +10 -10
  14. package/dist/cjs/{base-BVhV5HmV.js → base-CeaAJa72.js} +10 -10
  15. package/dist/cjs/{base-web-component-DXCN-Sp3.js → base-web-component-B_zszxEg.js} +1 -1
  16. package/dist/cjs/{base-web-component-DBcJrpRb.js → base-web-component-CpqYvVDi.js} +14 -15
  17. package/dist/cjs/{base-web-component-dI9FmFIm.js → base-web-component-Dk-So1FD.js} +12 -14
  18. package/dist/cjs/{behavior-B5wr2A8R.js → behavior--ZjzmIB4.js} +5 -12
  19. package/dist/cjs/{behavior-DujaVCwV.js → behavior-CYg7XOXd.js} +4 -4
  20. package/dist/cjs/{behavior-CUmF8rJf.js → behavior-cEIf2evT.js} +4 -4
  21. package/dist/cjs/{bem-registry-B6QoNC9E.js → bem-registry-CtnO3zCW.js} +61 -0
  22. package/dist/cjs/{bootstrap-HU5YhM_w.js → bootstrap-DOzWgRGX.js} +1 -1
  23. package/dist/cjs/{color-C3xsA3Uk.js → color-BJ776mPh.js} +2 -2
  24. package/dist/cjs/{component-DprHBKdZ.js → component-5ABjFE_U.js} +6 -7
  25. package/dist/cjs/{component-BexD3069.js → component-BSx0ZVSD.js} +10 -12
  26. package/dist/cjs/component-BTfaB8W5.js +19 -0
  27. package/dist/cjs/{component-Cbbx7Z6c.js → component-BacsMsF-.js} +4 -4
  28. package/dist/cjs/component-C_9WksgV.js +53 -0
  29. package/dist/cjs/{component-Cqp00Tb9.js → component-D65WOH6c.js} +8 -10
  30. package/dist/cjs/{component-Doln6Ltn.js → component-DE4OHvyu.js} +7 -8
  31. package/dist/cjs/{component-DGVc4bOy.js → component-DVf7tz1e.js} +6 -5
  32. package/dist/cjs/{component-Bza8hlo-.js → component-Ddp-Luc6.js} +11 -12
  33. package/dist/cjs/{component-DFhuXUqv.js → component-DuknrIKz.js} +14 -16
  34. package/dist/cjs/{component-BilLJFfC.js → component-DwuAKOV_.js} +4 -4
  35. package/dist/cjs/{contrast-6Nku3lih.js → contrast-DrGTr5zd.js} +1 -1
  36. package/dist/cjs/{dev.utils-Bx4sgPsr.js → dev.utils-EwVibOKw.js} +1 -1
  37. package/dist/cjs/{devtools-BXBKJice.js → devtools-CEqUJI9f.js} +2 -2
  38. package/dist/cjs/{disabled-CilmJ-p-.js → disabled-DBnI2OR4.js} +1 -1
  39. package/dist/cjs/{field-control-B95uzQnW.js → field-control-Jhzreo_j.js} +12 -12
  40. package/dist/cjs/{group-DGS7K6Ja.js → group-DDmENjNB.js} +7 -8
  41. package/dist/cjs/{has-closer-iSIrv52u.js → has-closer-DIk_toj-.js} +1 -1
  42. package/dist/cjs/{href-xojo1zy_.js → href-_UE7179j.js} +1 -1
  43. package/dist/cjs/{i18n-D7UmRsV8.js → i18n-4lKONPdP.js} +1 -1
  44. package/dist/cjs/{i18n-DgHI4-xa.js → i18n-CuXZ7SEi.js} +2 -1
  45. package/dist/cjs/{id-DP-w6i4q.js → id-JbinnWCW.js} +1 -1
  46. package/dist/cjs/{index-Ccvyz7Rq.js → index-P8gY4ccL.js} +1 -1
  47. package/dist/cjs/index.cjs.js +3 -3
  48. package/dist/cjs/input-BYfPasa5.js +19 -0
  49. package/dist/cjs/{input-container-CWb_kRbs.js → input-container-BQlNjdk3.js} +8 -10
  50. package/dist/cjs/{item-vDMQvV0t.js → item-C6gnuMjx.js} +4 -4
  51. package/dist/cjs/{item-wr5KfPYM.js → item-CvvVUcQZ.js} +11 -11
  52. package/dist/cjs/{item-C4Boh5Cz.js → item-DSSJt2YS.js} +4 -4
  53. package/dist/cjs/{item-DgNTEUz3.js → item-Dgikq96R.js} +20 -21
  54. package/dist/cjs/kol-abbr.cjs.entry.js +8 -12
  55. package/dist/cjs/kol-accordion.cjs.entry.js +15 -17
  56. package/dist/cjs/kol-alert.cjs.entry.js +27 -30
  57. package/dist/cjs/kol-avatar.cjs.entry.js +14 -15
  58. package/dist/cjs/kol-badge.cjs.entry.js +23 -26
  59. package/dist/cjs/kol-breadcrumb.cjs.entry.js +26 -30
  60. package/dist/cjs/kol-button-link.cjs.entry.js +22 -25
  61. package/dist/cjs/kol-button.cjs.entry.js +22 -25
  62. package/dist/cjs/kol-card.cjs.entry.js +27 -30
  63. package/dist/cjs/kol-combobox.cjs.entry.js +38 -41
  64. package/dist/cjs/kol-details.cjs.entry.js +15 -17
  65. package/dist/cjs/kol-dialog.cjs.entry.js +30 -33
  66. package/dist/cjs/kol-drawer.cjs.entry.js +30 -33
  67. package/dist/cjs/kol-form.cjs.entry.js +24 -27
  68. package/dist/cjs/kol-heading.cjs.entry.js +13 -15
  69. package/dist/cjs/kol-icon.cjs.entry.js +8 -9
  70. package/dist/cjs/kol-image.cjs.entry.js +7 -9
  71. package/dist/cjs/kol-input-checkbox.cjs.entry.js +53 -55
  72. package/dist/cjs/kol-input-color.cjs.entry.js +42 -44
  73. package/dist/cjs/kol-input-date.cjs.entry.js +44 -47
  74. package/dist/cjs/kol-input-email.cjs.entry.js +45 -47
  75. package/dist/cjs/kol-input-file.cjs.entry.js +39 -41
  76. package/dist/cjs/kol-input-number.cjs.entry.js +46 -48
  77. package/dist/cjs/kol-input-password.cjs.entry.js +43 -45
  78. package/dist/cjs/kol-input-radio.cjs.entry.js +38 -41
  79. package/dist/cjs/kol-input-range.cjs.entry.js +37 -40
  80. package/dist/cjs/kol-input-text.cjs.entry.js +45 -47
  81. package/dist/cjs/kol-kolibri.cjs.entry.js +8 -12
  82. package/dist/cjs/kol-link-button.cjs.entry.js +23 -26
  83. package/dist/cjs/kol-link.cjs.entry.js +23 -26
  84. package/dist/cjs/kol-meter.cjs.entry.js +14 -15
  85. package/dist/cjs/kol-modal.cjs.entry.js +30 -33
  86. package/dist/cjs/kol-nav.cjs.entry.js +35 -38
  87. package/dist/cjs/kol-pagination.cjs.entry.js +42 -45
  88. package/dist/cjs/kol-popover-button.cjs.entry.js +23 -26
  89. package/dist/cjs/kol-progress.cjs.entry.js +13 -14
  90. package/dist/cjs/kol-quote.cjs.entry.js +9 -10
  91. package/dist/cjs/kol-select.cjs.entry.js +36 -39
  92. package/dist/cjs/kol-single-select.cjs.entry.js +38 -41
  93. package/dist/cjs/kol-skip-nav.cjs.entry.js +26 -30
  94. package/dist/cjs/kol-spin.cjs.entry.js +11 -15
  95. package/dist/cjs/kol-split-button.cjs.entry.js +28 -31
  96. package/dist/cjs/kol-table-stateful.cjs.entry.js +55 -57
  97. package/dist/cjs/kol-table-stateless.cjs.entry.js +40 -44
  98. package/dist/cjs/kol-tabs.cjs.entry.js +23 -26
  99. package/dist/cjs/kol-textarea.cjs.entry.js +41 -44
  100. package/dist/cjs/kol-toast-container.cjs.entry.js +20 -23
  101. package/dist/cjs/kol-toolbar.cjs.entry.js +29 -32
  102. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +11 -12
  103. package/dist/cjs/kol-tree-item.cjs.entry.js +27 -28
  104. package/dist/cjs/kol-tree.cjs.entry.js +24 -14
  105. package/dist/cjs/kol-version.cjs.entry.js +21 -24
  106. package/dist/cjs/kolibri.cjs.js +3 -3
  107. package/dist/cjs/{label-D6c6jfqK.js → label-BAULqhwq.js} +3 -3
  108. package/dist/cjs/{label-hints-q3XenWLW.js → label-hints-BHw-UcMt.js} +1 -1
  109. package/dist/cjs/{label-lang-segment-k4OY9qRY.js → label-lang-segment-D_UYFhgr.js} +2 -2
  110. package/dist/cjs/{label-with-expert-slot-CJoz7BLw.js → label-with-expert-slot-XZTOiRp-.js} +3 -3
  111. package/dist/cjs/{level-B6vFMm9s.js → level-CaJUuMiH.js} +1 -1
  112. package/dist/cjs/{link-target-0qSVsAb2.js → link-target-EZq24qVX.js} +1 -1
  113. package/dist/cjs/{links-Ur1e9DOK.js → links-CNPivOpm.js} +1 -1
  114. package/dist/cjs/loader.cjs.js +3 -3
  115. package/dist/cjs/{multiple-CCxtzqez.js → multiple-D4ktp4Q2.js} +1 -1
  116. package/dist/cjs/{number-value-DzAHCwlP.js → number-value-BzIR1UvL.js} +1 -1
  117. package/dist/cjs/{open-Gxr_K7HK.js → open-BYh5VAA1.js} +1 -1
  118. package/dist/cjs/{options-BT0m0gRT.js → options-DkF38kx_.js} +1 -1
  119. package/dist/cjs/{orientation-CeHU4dT8.js → orientation-D4yopkvP.js} +1 -1
  120. package/dist/cjs/{placeholder-22xUUFff.js → placeholder-CZOGOuLS.js} +1 -1
  121. package/dist/cjs/{props-from-config-D1qhXS9j.js → props-from-config-CiU21EHb.js} +86 -5
  122. package/dist/cjs/{read-only-iHApMQEg.js → read-only-PNG5jHgh.js} +1 -1
  123. package/dist/cjs/{required-BYdSI25I.js → required-mj54_vO_.js} +1 -1
  124. package/dist/cjs/{resolve-props-pZBj0tIz.js → resolve-props-CH6OL2es.js} +7 -7
  125. package/dist/cjs/{resolve-props-B_ytLWBO.js → resolve-props-DOnocHFi.js} +6 -6
  126. package/dist/cjs/{rows-C9vBSQK1.js → rows-YaAnXjAm.js} +1 -1
  127. package/dist/cjs/{scroll-lock-DguXX-Em.js → scroll-lock-D3pgiG8q.js} +8 -7
  128. package/dist/cjs/{smart-button-DRMmUyQ5.js → smart-button-BU7mWP5H.js} +1 -1
  129. package/dist/cjs/{spell-check-CxgvHcGA.js → spell-check-CZWiLkQE.js} +1 -1
  130. package/dist/cjs/{src-Bmd7gQCS.js → src-rB2yGTSn.js} +1 -1
  131. package/dist/cjs/{step-CCqgsPCX.js → step-Bo6ILIqa.js} +1 -1
  132. package/dist/cjs/{suggestions-CoUp7HmN.js → suggestions-BO4EvOXc.js} +1 -1
  133. package/dist/cjs/{suggestions-C6Q3kj5J.js → suggestions-Ca575hi-.js} +3 -3
  134. package/dist/cjs/test-component.cjs.entry.js +1 -1
  135. package/dist/cjs/{toggle-handler-BaOOa9I5.js → toggle-handler-ByJYSOdb.js} +11 -13
  136. package/dist/cjs/{unique-nav-labels-CgxOyb6V.js → unique-nav-labels-_EHPpYUR.js} +1 -1
  137. package/dist/cjs/{unit-_oDj-vIB.js → unit-Bl0Lyk08.js} +1 -1
  138. package/dist/cjs/{validators-CpCJvM4r.js → validators-rLs6tEWo.js} +1 -1
  139. package/dist/cjs/{value-string-CKppMGVM.js → value-string-BKsvZy1q.js} +1 -1
  140. package/dist/cjs/{width-e7f3wHF3.js → width-DegQFxQB.js} +1 -1
  141. package/dist/collection/components/abbr/style.css +21 -0
  142. package/dist/collection/components/accordion/style.css +23 -2
  143. package/dist/collection/components/alert/component.js +6 -5
  144. package/dist/collection/components/alert/style.css +23 -2
  145. package/dist/collection/components/avatar/style.css +21 -0
  146. package/dist/collection/components/badge/style.css +23 -2
  147. package/dist/collection/components/breadcrumb/style.css +23 -2
  148. package/dist/collection/components/button/style.css +23 -2
  149. package/dist/collection/components/button-link/style.css +23 -2
  150. package/dist/collection/components/card/style.css +26 -2
  151. package/dist/collection/components/combobox/style.css +23 -2
  152. package/dist/collection/components/details/style.css +23 -2
  153. package/dist/collection/components/dialog/base.js +2 -2
  154. package/dist/collection/components/dialog/style.css +26 -2
  155. package/dist/collection/components/drawer/style.css +26 -2
  156. package/dist/collection/components/form/style.css +23 -2
  157. package/dist/collection/components/heading/style.css +21 -0
  158. package/dist/collection/components/icon/style.css +2 -2
  159. package/dist/collection/components/image/style.css +21 -0
  160. package/dist/collection/components/input-checkbox/component.js +13 -11
  161. package/dist/collection/components/input-checkbox/style.css +23 -2
  162. package/dist/collection/components/input-color/component.js +6 -4
  163. package/dist/collection/components/input-color/style.css +23 -2
  164. package/dist/collection/components/input-date/component.js +9 -7
  165. package/dist/collection/components/input-date/style.css +23 -2
  166. package/dist/collection/components/input-email/component.js +4 -1
  167. package/dist/collection/components/input-email/style.css +23 -2
  168. package/dist/collection/components/input-file/component.js +6 -3
  169. package/dist/collection/components/input-file/style.css +23 -2
  170. package/dist/collection/components/input-number/component.js +6 -4
  171. package/dist/collection/components/input-number/style.css +23 -2
  172. package/dist/collection/components/input-password/component.js +5 -2
  173. package/dist/collection/components/input-password/style.css +23 -2
  174. package/dist/collection/components/input-radio/style.css +23 -2
  175. package/dist/collection/components/input-range/style.css +23 -2
  176. package/dist/collection/components/input-text/component.js +4 -2
  177. package/dist/collection/components/input-text/style.css +23 -2
  178. package/dist/collection/components/kolibri/style.css +21 -0
  179. package/dist/collection/components/link/style.css +23 -2
  180. package/dist/collection/components/link-button/style.css +23 -2
  181. package/dist/collection/components/meter/style.css +21 -0
  182. package/dist/collection/components/modal/style.css +26 -2
  183. package/dist/collection/components/nav/style.css +23 -2
  184. package/dist/collection/components/pagination/component.js +5 -5
  185. package/dist/collection/components/pagination/style.css +23 -2
  186. package/dist/collection/components/popover-button/style.css +23 -2
  187. package/dist/collection/components/progress/style.css +21 -0
  188. package/dist/collection/components/quote/style.css +21 -0
  189. package/dist/collection/components/select/style.css +23 -2
  190. package/dist/collection/components/single-select/style.css +23 -2
  191. package/dist/collection/components/skip-nav/style.css +23 -2
  192. package/dist/collection/components/spin/style.css +21 -0
  193. package/dist/collection/components/split-button/style.css +23 -2
  194. package/dist/collection/components/table-stateful/component.js +7 -6
  195. package/dist/collection/components/table-stateful/style.css +26 -2
  196. package/dist/collection/components/table-stateless/component.js +3 -5
  197. package/dist/collection/components/table-stateless/style.css +26 -2
  198. package/dist/collection/components/tabs/style.css +23 -2
  199. package/dist/collection/components/textarea/style.css +23 -2
  200. package/dist/collection/components/toaster/style.css +23 -2
  201. package/dist/collection/components/toolbar/style.css +23 -2
  202. package/dist/collection/components/tree/component.js +15 -4
  203. package/dist/collection/components/tree/style.css +21 -0
  204. package/dist/collection/components/tree-item/component.js +5 -2
  205. package/dist/collection/components/tree-item/style.css +23 -2
  206. package/dist/collection/components/version/style.css +23 -2
  207. package/dist/collection/core/i18n.js +2 -1
  208. package/dist/collection/internal/functional-components/alert/component.js +2 -1
  209. package/dist/collection/internal/functional-components/avatar/component.js +2 -2
  210. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  211. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  212. package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
  213. package/dist/collection/internal/functional-components/card/component.js +3 -1
  214. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  215. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  216. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  217. package/dist/collection/internal/functional-components/drawer/component.js +1 -1
  218. package/dist/collection/internal/functional-components/form-association/api.js +2 -2
  219. package/dist/collection/internal/functional-components/form-association/behavior.js +1 -5
  220. package/dist/collection/internal/functional-components/form-field/base-web-component.js +0 -1
  221. package/dist/collection/internal/functional-components/heading/component.js +3 -4
  222. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  223. package/dist/collection/internal/functional-components/image/component.js +2 -4
  224. package/dist/collection/internal/functional-components/link/component.js +1 -1
  225. package/dist/collection/internal/functional-components/meter/component.js +2 -1
  226. package/dist/collection/internal/functional-components/pagination/item.js +6 -6
  227. package/dist/collection/internal/functional-components/progress/component.js +2 -1
  228. package/dist/collection/internal/functional-components/quote/component.js +2 -2
  229. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  230. package/dist/collection/internal/functional-components/span/component.js +3 -2
  231. package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -4
  232. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  233. package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
  234. package/dist/collection/schema/bem-registry.js +61 -0
  235. package/dist/collection/schema/props/aria-details.js +1 -22
  236. package/dist/collection/schema/props/aria-labelledby.js +3 -12
  237. package/dist/collection/utils/aria-labelledby.js +0 -12
  238. package/dist/components/Heading.js +1 -1
  239. package/dist/components/aria-labelledby.js +1 -1
  240. package/dist/components/base-web-component2.js +1 -1
  241. package/dist/components/base-web-component3.js +1 -1
  242. package/dist/components/base-web-component4.js +1 -1
  243. package/dist/components/base.js +1 -1
  244. package/dist/components/base2.js +1 -1
  245. package/dist/components/base3.js +1 -1
  246. package/dist/components/base4.js +1 -1
  247. package/dist/components/behavior.js +1 -1
  248. package/dist/components/behavior2.js +1 -1
  249. package/dist/components/behavior3.js +1 -1
  250. package/dist/components/behavior4.js +1 -1
  251. package/dist/components/bem-registry.js +1 -1
  252. package/dist/components/component.js +1 -1
  253. package/dist/components/component10.js +1 -1
  254. package/dist/components/component2.js +1 -1
  255. package/dist/components/component3.js +1 -1
  256. package/dist/components/component4.js +1 -1
  257. package/dist/components/component5.js +1 -1
  258. package/dist/components/component6.js +1 -1
  259. package/dist/components/component7.js +1 -1
  260. package/dist/components/component8.js +1 -1
  261. package/dist/components/component9.js +1 -1
  262. package/dist/components/contrast.js +1 -1
  263. package/dist/components/field-control.js +1 -1
  264. package/dist/components/group.js +1 -1
  265. package/dist/components/i18n2.js +1 -1
  266. package/dist/components/input-container.js +1 -1
  267. package/dist/components/input.js +1 -1
  268. package/dist/components/item2.js +1 -1
  269. package/dist/components/item4.js +1 -1
  270. package/dist/components/kol-abbr.js +1 -1
  271. package/dist/components/kol-accordion.js +1 -1
  272. package/dist/components/kol-alert.js +1 -1
  273. package/dist/components/kol-avatar.js +1 -1
  274. package/dist/components/kol-badge.js +1 -1
  275. package/dist/components/kol-breadcrumb.js +1 -1
  276. package/dist/components/kol-button-link.js +1 -1
  277. package/dist/components/kol-button.js +1 -1
  278. package/dist/components/kol-card.js +1 -1
  279. package/dist/components/kol-combobox.js +1 -1
  280. package/dist/components/kol-details.js +1 -1
  281. package/dist/components/kol-dialog.js +1 -1
  282. package/dist/components/kol-drawer.js +1 -1
  283. package/dist/components/kol-form.js +1 -1
  284. package/dist/components/kol-heading.js +1 -1
  285. package/dist/components/kol-icon.js +1 -1
  286. package/dist/components/kol-image.js +1 -1
  287. package/dist/components/kol-input-checkbox.js +1 -1
  288. package/dist/components/kol-input-color.js +1 -1
  289. package/dist/components/kol-input-date.js +1 -1
  290. package/dist/components/kol-input-email.js +1 -1
  291. package/dist/components/kol-input-file.js +1 -1
  292. package/dist/components/kol-input-number.js +1 -1
  293. package/dist/components/kol-input-password.js +1 -1
  294. package/dist/components/kol-input-radio.js +1 -1
  295. package/dist/components/kol-input-range.js +1 -1
  296. package/dist/components/kol-input-text.js +1 -1
  297. package/dist/components/kol-kolibri.js +1 -1
  298. package/dist/components/kol-link-button.js +1 -1
  299. package/dist/components/kol-link.js +1 -1
  300. package/dist/components/kol-meter.js +1 -1
  301. package/dist/components/kol-modal.js +1 -1
  302. package/dist/components/kol-nav.js +1 -1
  303. package/dist/components/kol-pagination.js +1 -1
  304. package/dist/components/kol-popover-button.js +1 -1
  305. package/dist/components/kol-progress.js +1 -1
  306. package/dist/components/kol-quote.js +1 -1
  307. package/dist/components/kol-select.js +1 -1
  308. package/dist/components/kol-single-select.js +1 -1
  309. package/dist/components/kol-skip-nav.js +1 -1
  310. package/dist/components/kol-spin.js +1 -1
  311. package/dist/components/kol-split-button.js +1 -1
  312. package/dist/components/kol-table-stateful.js +1 -1
  313. package/dist/components/kol-table-stateless.js +1 -1
  314. package/dist/components/kol-tabs.js +1 -1
  315. package/dist/components/kol-textarea.js +1 -1
  316. package/dist/components/kol-toast-container.js +1 -1
  317. package/dist/components/kol-toolbar.js +1 -1
  318. package/dist/components/kol-tooltip-wc.js +1 -1
  319. package/dist/components/kol-tree-item.js +1 -1
  320. package/dist/components/kol-tree.js +1 -1
  321. package/dist/components/kol-version.js +1 -1
  322. package/dist/components/label-hints.js +1 -1
  323. package/dist/components/label-lang-segment.js +1 -1
  324. package/dist/components/label-with-expert-slot.js +1 -1
  325. package/dist/components/level.js +1 -1
  326. package/dist/components/links.js +1 -1
  327. package/dist/components/number-value.js +1 -1
  328. package/dist/components/props-from-config.js +1 -1
  329. package/dist/components/resolve-props.js +1 -1
  330. package/dist/components/resolve-props2.js +1 -1
  331. package/dist/components/rows.js +1 -1
  332. package/dist/components/scroll-lock.js +1 -1
  333. package/dist/components/step.js +1 -1
  334. package/dist/components/toggle-handler.js +1 -1
  335. package/dist/components/unit.js +1 -1
  336. package/dist/components/validators.js +1 -1
  337. package/dist/esm/{Heading-C_CwXDMp.js → Heading-BubZbykM.js} +2 -2
  338. package/dist/esm/{api-DGiFM9p0.js → api-D0RNr-zh.js} +21 -22
  339. package/dist/esm/{app-globals-sZHZyXjD.js → app-globals-DYRte_jr.js} +2 -2
  340. package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-DqJY_4G-.js} +1 -13
  341. package/dist/esm/{base-DTKJ1Z06.js → base-BP5SdLvQ.js} +39 -41
  342. package/dist/esm/{base-B4sGK9cX.js → base-BbGt9eYx.js} +10 -10
  343. package/dist/esm/{base-CWrvN3Gt.js → base-CLsKm3-e.js} +10 -10
  344. package/dist/esm/{base-P1TaQ7Ba.js → base-Cz00snD6.js} +10 -10
  345. package/dist/esm/{base-web-component-CC_gpyDb.js → base-web-component-CYPdDdRn.js} +1 -1
  346. package/dist/esm/{base-web-component-CKgIOZqi.js → base-web-component-CdSFFCst.js} +8 -10
  347. package/dist/esm/{base-web-component-Bq_B9edx.js → base-web-component-DP9_OPgV.js} +13 -14
  348. package/dist/esm/{behavior-Bb7JYoUn.js → behavior-B6y5Gofe.js} +4 -4
  349. package/dist/esm/{behavior-CFG1f4KQ.js → behavior-BJR8CKBx.js} +4 -4
  350. package/dist/esm/{behavior-CkPQGfgo.js → behavior-DlH8byIw.js} +6 -12
  351. package/dist/esm/{bem-registry-DQUGxdIS.js → bem-registry-SKACeCny.js} +61 -0
  352. package/dist/esm/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
  353. package/dist/esm/{color-D1gM-F2l.js → color-BbljGuAW.js} +2 -2
  354. package/dist/esm/component-6_YiKr2Z.js +48 -0
  355. package/dist/esm/{component-W1KZI4h4.js → component-B8UMedaK.js} +4 -4
  356. package/dist/esm/{component-5Uu-ahLC.js → component-CMHB3reH.js} +6 -5
  357. package/dist/esm/{component-B16Fbp3W.js → component-CNgECeRi.js} +9 -11
  358. package/dist/esm/{component-Bc2pdOk1.js → component-CSsUaL_h.js} +6 -8
  359. package/dist/esm/{component-DAQzDMY8.js → component-CiJGQTU0.js} +13 -15
  360. package/dist/esm/{component-C79oAu7a.js → component-DEwcJKDA.js} +4 -4
  361. package/dist/esm/{component-CldKbBUh.js → component-NOe28NXD.js} +5 -6
  362. package/dist/esm/{component-BI8jDgBz.js → component-ZdHnXLLI.js} +10 -11
  363. package/dist/esm/component-bIIx1x7q.js +17 -0
  364. package/dist/esm/{component-oUQcgxDj.js → component-hiabKVP3.js} +6 -7
  365. package/dist/esm/{contrast-BNoQruBh.js → contrast-DtK0a6X2.js} +1 -1
  366. package/dist/esm/{dev.utils-DDWOHUcg.js → dev.utils-B0t4rcBV.js} +1 -1
  367. package/dist/esm/{devtools-B0kEE_za.js → devtools-DuJRc6wJ.js} +2 -2
  368. package/dist/esm/{disabled-BZXlWAgK.js → disabled-B2o4Ctgy.js} +1 -1
  369. package/dist/esm/{field-control-DsQHa0v9.js → field-control-C9dIXnES.js} +7 -7
  370. package/dist/esm/{group-DUVsgWxS.js → group-DydT1Z92.js} +5 -6
  371. package/dist/esm/{has-closer-DUB0QcS9.js → has-closer-BrG00xL7.js} +1 -1
  372. package/dist/esm/{href-CxokGOJ2.js → href-CfNF4pHX.js} +1 -1
  373. package/dist/esm/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
  374. package/dist/esm/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +2 -1
  375. package/dist/esm/{id-BI0ZuK17.js → id-Bh4FF8c0.js} +1 -1
  376. package/dist/esm/{index-Dulj0jro.js → index-Bbr6Os1b.js} +1 -1
  377. package/dist/esm/index.js +4 -4
  378. package/dist/esm/{input-C0Li7DsE.js → input-C1YsxnDL.js} +4 -5
  379. package/dist/esm/{input-container-DmtMTcjB.js → input-container-zXl_6y52.js} +6 -8
  380. package/dist/esm/{item-CnJMuEyl.js → item-DXDEHrEg.js} +4 -4
  381. package/dist/esm/{item-DHZGDrAn.js → item-Dms_59sU.js} +11 -11
  382. package/dist/esm/{item-8RKFpmbd.js → item-hsQoejqZ.js} +4 -4
  383. package/dist/esm/{item-CxVe5INa.js → item-zXunNZh5.js} +17 -18
  384. package/dist/esm/kol-abbr.entry.js +7 -11
  385. package/dist/esm/kol-accordion.entry.js +15 -17
  386. package/dist/esm/kol-alert.entry.js +27 -30
  387. package/dist/esm/kol-avatar.entry.js +14 -15
  388. package/dist/esm/kol-badge.entry.js +23 -26
  389. package/dist/esm/kol-breadcrumb.entry.js +26 -30
  390. package/dist/esm/kol-button-link.entry.js +22 -25
  391. package/dist/esm/kol-button.entry.js +22 -25
  392. package/dist/esm/kol-card.entry.js +27 -30
  393. package/dist/esm/kol-combobox.entry.js +37 -40
  394. package/dist/esm/kol-details.entry.js +15 -17
  395. package/dist/esm/kol-dialog.entry.js +30 -33
  396. package/dist/esm/kol-drawer.entry.js +30 -33
  397. package/dist/esm/kol-form.entry.js +23 -26
  398. package/dist/esm/kol-heading.entry.js +13 -15
  399. package/dist/esm/kol-icon.entry.js +8 -9
  400. package/dist/esm/kol-image.entry.js +7 -9
  401. package/dist/esm/kol-input-checkbox.entry.js +48 -50
  402. package/dist/esm/kol-input-color.entry.js +42 -44
  403. package/dist/esm/kol-input-date.entry.js +44 -47
  404. package/dist/esm/kol-input-email.entry.js +45 -47
  405. package/dist/esm/kol-input-file.entry.js +39 -41
  406. package/dist/esm/kol-input-number.entry.js +46 -48
  407. package/dist/esm/kol-input-password.entry.js +43 -45
  408. package/dist/esm/kol-input-radio.entry.js +35 -38
  409. package/dist/esm/kol-input-range.entry.js +37 -40
  410. package/dist/esm/kol-input-text.entry.js +45 -47
  411. package/dist/esm/kol-kolibri.entry.js +7 -11
  412. package/dist/esm/kol-link-button.entry.js +23 -26
  413. package/dist/esm/kol-link.entry.js +23 -26
  414. package/dist/esm/kol-meter.entry.js +14 -15
  415. package/dist/esm/kol-modal.entry.js +30 -33
  416. package/dist/esm/kol-nav.entry.js +30 -33
  417. package/dist/esm/kol-pagination.entry.js +42 -45
  418. package/dist/esm/kol-popover-button.entry.js +23 -26
  419. package/dist/esm/kol-progress.entry.js +13 -14
  420. package/dist/esm/kol-quote.entry.js +9 -10
  421. package/dist/esm/kol-select.entry.js +36 -39
  422. package/dist/esm/kol-single-select.entry.js +37 -40
  423. package/dist/esm/kol-skip-nav.entry.js +26 -30
  424. package/dist/esm/kol-spin.entry.js +11 -15
  425. package/dist/esm/kol-split-button.entry.js +26 -29
  426. package/dist/esm/kol-table-stateful.entry.js +55 -57
  427. package/dist/esm/kol-table-stateless.entry.js +40 -44
  428. package/dist/esm/kol-tabs.entry.js +22 -25
  429. package/dist/esm/kol-textarea.entry.js +39 -42
  430. package/dist/esm/kol-toast-container.entry.js +19 -22
  431. package/dist/esm/kol-toolbar.entry.js +27 -30
  432. package/dist/esm/kol-tooltip-wc.entry.js +11 -12
  433. package/dist/esm/kol-tree-item.entry.js +27 -28
  434. package/dist/esm/kol-tree.entry.js +24 -14
  435. package/dist/esm/kol-version.entry.js +20 -23
  436. package/dist/esm/kolibri.js +4 -4
  437. package/dist/esm/{label-B-Dr7VaP.js → label-BQVd3bkc.js} +3 -3
  438. package/dist/esm/{label-hints-CLMiVvfk.js → label-hints-CZGo9ZD5.js} +1 -1
  439. package/dist/esm/{label-lang-segment-iVD9hoM3.js → label-lang-segment-C5LYGOHt.js} +2 -2
  440. package/dist/esm/label-with-expert-slot-D1tpX9DI.js +12 -0
  441. package/dist/esm/{level-DsQ_pcyD.js → level-BVXGgbSM.js} +1 -1
  442. package/dist/esm/{link-target-D7lYILOV.js → link-target-BWPSEd9a.js} +1 -1
  443. package/dist/esm/{links-IkK4zoXw.js → links-BbsnNXfa.js} +1 -1
  444. package/dist/esm/loader.js +4 -4
  445. package/dist/esm/{multiple--ay1C1n3.js → multiple-S3Ol1G6Z.js} +1 -1
  446. package/dist/esm/{number-value-Dl9-2O4r.js → number-value-DmOl1z7z.js} +1 -1
  447. package/dist/esm/{open-CNHJhHsy.js → open-DPP79Urq.js} +1 -1
  448. package/dist/esm/{options-DwO32GBF.js → options-aA3M-QV2.js} +1 -1
  449. package/dist/esm/{orientation-ChJ0S24M.js → orientation-DlsgaY1v.js} +1 -1
  450. package/dist/esm/{placeholder-UxmBJ4Vl.js → placeholder-DlHbiVjz.js} +1 -1
  451. package/dist/esm/{props-from-config-ytxYrJUY.js → props-from-config-BOUcpF7e.js} +84 -6
  452. package/dist/esm/{read-only-DytZ5HZJ.js → read-only-DSBWEPED.js} +1 -1
  453. package/dist/esm/{required-BriHhuO4.js → required-xw5BBPvV.js} +1 -1
  454. package/dist/esm/{resolve-props-02J6OCRf.js → resolve-props-CL8wxjtP.js} +7 -7
  455. package/dist/esm/{resolve-props-Bj6IaybL.js → resolve-props-DAVb5BM3.js} +6 -6
  456. package/dist/esm/{rows-I1jrTjzU.js → rows-DRV8YlQv.js} +1 -1
  457. package/dist/esm/{scroll-lock-B6hVv8A8.js → scroll-lock-BxAe0gL5.js} +9 -7
  458. package/dist/esm/{smart-button-DM5g48-g.js → smart-button-CQps8AlL.js} +1 -1
  459. package/dist/esm/{spell-check-BWCnJG5v.js → spell-check-hy6xFhmT.js} +1 -1
  460. package/dist/esm/{src-ziOwSglN.js → src-AwoM1pRe.js} +1 -1
  461. package/dist/esm/{step-BcyhvRtu.js → step-CopA0_m7.js} +1 -1
  462. package/dist/esm/{suggestions-DaB3FVaz.js → suggestions-BsiiaAxK.js} +3 -3
  463. package/dist/esm/{suggestions-LO267l8F.js → suggestions-CY8BJMOa.js} +1 -1
  464. package/dist/esm/test-component.entry.js +1 -1
  465. package/dist/esm/{toggle-handler-3qaN2kmt.js → toggle-handler-ZMs2rBXc.js} +10 -12
  466. package/dist/esm/{unique-nav-labels-CxFUYSVY.js → unique-nav-labels-BV-M3fPR.js} +1 -1
  467. package/dist/esm/{unit-1ix-K9SD.js → unit-hmMwqE9a.js} +1 -1
  468. package/dist/esm/{validators-CTjxOidB.js → validators-BgDmq-Qt.js} +1 -1
  469. package/dist/esm/{value-string-CxDz7dhD.js → value-string-Dy8zJxlP.js} +1 -1
  470. package/dist/esm/{width-C1_yZHyL.js → width-BHn7XHj_.js} +1 -1
  471. package/dist/kolibri/Heading-BubZbykM.js +4 -0
  472. package/dist/kolibri/api-D0RNr-zh.js +4 -0
  473. package/dist/kolibri/app-globals-DYRte_jr.js +4 -0
  474. package/dist/kolibri/aria-labelledby-DqJY_4G-.js +4 -0
  475. package/dist/kolibri/base-BP5SdLvQ.js +4 -0
  476. package/dist/kolibri/base-BbGt9eYx.js +4 -0
  477. package/dist/kolibri/base-CLsKm3-e.js +4 -0
  478. package/dist/kolibri/base-Cz00snD6.js +4 -0
  479. package/dist/kolibri/{base-web-component-CC_gpyDb.js → base-web-component-CYPdDdRn.js} +1 -1
  480. package/dist/kolibri/base-web-component-CdSFFCst.js +4 -0
  481. package/dist/kolibri/base-web-component-DP9_OPgV.js +4 -0
  482. package/dist/kolibri/{behavior-Bb7JYoUn.js → behavior-B6y5Gofe.js} +1 -1
  483. package/dist/kolibri/{behavior-CFG1f4KQ.js → behavior-BJR8CKBx.js} +1 -1
  484. package/dist/kolibri/behavior-DlH8byIw.js +4 -0
  485. package/dist/kolibri/bem-registry-SKACeCny.js +4 -0
  486. package/dist/kolibri/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
  487. package/dist/kolibri/{color-D1gM-F2l.js → color-BbljGuAW.js} +1 -1
  488. package/dist/kolibri/component-6_YiKr2Z.js +4 -0
  489. package/dist/kolibri/{component-W1KZI4h4.js → component-B8UMedaK.js} +1 -1
  490. package/dist/kolibri/component-CMHB3reH.js +4 -0
  491. package/dist/kolibri/component-CNgECeRi.js +4 -0
  492. package/dist/kolibri/{component-Bc2pdOk1.js → component-CSsUaL_h.js} +1 -1
  493. package/dist/kolibri/component-CiJGQTU0.js +4 -0
  494. package/dist/kolibri/component-DEwcJKDA.js +4 -0
  495. package/dist/kolibri/component-NOe28NXD.js +4 -0
  496. package/dist/kolibri/component-ZdHnXLLI.js +4 -0
  497. package/dist/kolibri/component-bIIx1x7q.js +4 -0
  498. package/dist/kolibri/component-hiabKVP3.js +4 -0
  499. package/dist/kolibri/contrast-DtK0a6X2.js +4 -0
  500. package/dist/kolibri/{dev.utils-DDWOHUcg.js → dev.utils-B0t4rcBV.js} +1 -1
  501. package/dist/kolibri/{devtools-B0kEE_za.js → devtools-DuJRc6wJ.js} +1 -1
  502. package/dist/kolibri/disabled-B2o4Ctgy.js +4 -0
  503. package/dist/kolibri/field-control-C9dIXnES.js +4 -0
  504. package/dist/kolibri/group-DydT1Z92.js +4 -0
  505. package/dist/kolibri/has-closer-BrG00xL7.js +4 -0
  506. package/dist/kolibri/href-CfNF4pHX.js +4 -0
  507. package/dist/kolibri/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
  508. package/dist/kolibri/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +1 -1
  509. package/dist/kolibri/id-Bh4FF8c0.js +4 -0
  510. package/dist/kolibri/index-Bbr6Os1b.js +6 -0
  511. package/dist/kolibri/index.esm.js +1 -1
  512. package/dist/kolibri/input-C1YsxnDL.js +4 -0
  513. package/dist/kolibri/{input-container-DmtMTcjB.js → input-container-zXl_6y52.js} +1 -1
  514. package/dist/kolibri/item-DXDEHrEg.js +4 -0
  515. package/dist/kolibri/item-Dms_59sU.js +4 -0
  516. package/dist/kolibri/item-hsQoejqZ.js +4 -0
  517. package/dist/kolibri/item-zXunNZh5.js +4 -0
  518. package/dist/kolibri/kol-abbr.entry.js +1 -1
  519. package/dist/kolibri/kol-accordion.entry.js +1 -1
  520. package/dist/kolibri/kol-alert.entry.js +1 -1
  521. package/dist/kolibri/kol-avatar.entry.js +1 -1
  522. package/dist/kolibri/kol-badge.entry.js +1 -1
  523. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  524. package/dist/kolibri/kol-button-link.entry.js +1 -1
  525. package/dist/kolibri/kol-button.entry.js +1 -1
  526. package/dist/kolibri/kol-card.entry.js +1 -1
  527. package/dist/kolibri/kol-combobox.entry.js +1 -1
  528. package/dist/kolibri/kol-details.entry.js +1 -1
  529. package/dist/kolibri/kol-dialog.entry.js +1 -1
  530. package/dist/kolibri/kol-drawer.entry.js +1 -1
  531. package/dist/kolibri/kol-form.entry.js +1 -1
  532. package/dist/kolibri/kol-heading.entry.js +1 -1
  533. package/dist/kolibri/kol-icon.entry.js +1 -1
  534. package/dist/kolibri/kol-image.entry.js +1 -1
  535. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  536. package/dist/kolibri/kol-input-color.entry.js +1 -1
  537. package/dist/kolibri/kol-input-date.entry.js +1 -1
  538. package/dist/kolibri/kol-input-email.entry.js +1 -1
  539. package/dist/kolibri/kol-input-file.entry.js +1 -1
  540. package/dist/kolibri/kol-input-number.entry.js +1 -1
  541. package/dist/kolibri/kol-input-password.entry.js +1 -1
  542. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  543. package/dist/kolibri/kol-input-range.entry.js +1 -1
  544. package/dist/kolibri/kol-input-text.entry.js +1 -1
  545. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  546. package/dist/kolibri/kol-link-button.entry.js +1 -1
  547. package/dist/kolibri/kol-link.entry.js +1 -1
  548. package/dist/kolibri/kol-meter.entry.js +1 -1
  549. package/dist/kolibri/kol-modal.entry.js +1 -1
  550. package/dist/kolibri/kol-nav.entry.js +1 -1
  551. package/dist/kolibri/kol-pagination.entry.js +1 -1
  552. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  553. package/dist/kolibri/kol-progress.entry.js +1 -1
  554. package/dist/kolibri/kol-quote.entry.js +1 -1
  555. package/dist/kolibri/kol-select.entry.js +1 -1
  556. package/dist/kolibri/kol-single-select.entry.js +1 -1
  557. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  558. package/dist/kolibri/kol-spin.entry.js +1 -1
  559. package/dist/kolibri/kol-split-button.entry.js +1 -1
  560. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  561. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  562. package/dist/kolibri/kol-tabs.entry.js +1 -1
  563. package/dist/kolibri/kol-textarea.entry.js +1 -1
  564. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  565. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  566. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  567. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  568. package/dist/kolibri/kol-tree.entry.js +1 -1
  569. package/dist/kolibri/kol-version.entry.js +1 -1
  570. package/dist/kolibri/kolibri.esm.js +1 -1
  571. package/dist/kolibri/label-BQVd3bkc.js +4 -0
  572. package/dist/kolibri/label-hints-CZGo9ZD5.js +4 -0
  573. package/dist/kolibri/label-lang-segment-C5LYGOHt.js +4 -0
  574. package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +4 -0
  575. package/dist/kolibri/level-BVXGgbSM.js +4 -0
  576. package/dist/kolibri/link-target-BWPSEd9a.js +4 -0
  577. package/dist/kolibri/{links-IkK4zoXw.js → links-BbsnNXfa.js} +1 -1
  578. package/dist/kolibri/multiple-S3Ol1G6Z.js +4 -0
  579. package/dist/kolibri/number-value-DmOl1z7z.js +4 -0
  580. package/dist/kolibri/open-DPP79Urq.js +4 -0
  581. package/dist/kolibri/{options-DwO32GBF.js → options-aA3M-QV2.js} +1 -1
  582. package/dist/kolibri/orientation-DlsgaY1v.js +4 -0
  583. package/dist/kolibri/placeholder-DlHbiVjz.js +4 -0
  584. package/dist/kolibri/props-from-config-BOUcpF7e.js +4 -0
  585. package/dist/kolibri/read-only-DSBWEPED.js +4 -0
  586. package/dist/kolibri/required-xw5BBPvV.js +4 -0
  587. package/dist/kolibri/resolve-props-CL8wxjtP.js +4 -0
  588. package/dist/kolibri/resolve-props-DAVb5BM3.js +4 -0
  589. package/dist/kolibri/rows-DRV8YlQv.js +4 -0
  590. package/dist/kolibri/scroll-lock-BxAe0gL5.js +4 -0
  591. package/dist/kolibri/{smart-button-DM5g48-g.js → smart-button-CQps8AlL.js} +1 -1
  592. package/dist/kolibri/spell-check-hy6xFhmT.js +4 -0
  593. package/dist/kolibri/src-AwoM1pRe.js +4 -0
  594. package/dist/kolibri/step-CopA0_m7.js +4 -0
  595. package/dist/kolibri/{suggestions-DaB3FVaz.js → suggestions-BsiiaAxK.js} +1 -1
  596. package/dist/kolibri/{suggestions-LO267l8F.js → suggestions-CY8BJMOa.js} +1 -1
  597. package/dist/kolibri/test-component.entry.js +1 -1
  598. package/dist/kolibri/toggle-handler-ZMs2rBXc.js +4 -0
  599. package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +4 -0
  600. package/dist/kolibri/unit-hmMwqE9a.js +4 -0
  601. package/dist/kolibri/validators-BgDmq-Qt.js +4 -0
  602. package/dist/kolibri/value-string-Dy8zJxlP.js +4 -0
  603. package/dist/kolibri/{width-C1_yZHyL.js → width-BHn7XHj_.js} +1 -1
  604. package/dist/types/components/alert/component.d.ts +1 -0
  605. package/dist/types/components/input-date/component.d.ts +1 -1
  606. package/dist/types/components/table-stateful/component.d.ts +0 -1
  607. package/dist/types/components/table-stateless/component.d.ts +0 -1
  608. package/dist/types/components/tree/component.d.ts +1 -0
  609. package/dist/types/components.d.ts +6 -6
  610. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  611. package/dist/types/internal/functional-components/button/item.d.ts +1 -1
  612. package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
  613. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  614. package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -1
  615. package/dist/types/internal/functional-components/pagination/item.d.ts +4 -2
  616. package/dist/types/schema/bem-registry.d.ts +89 -0
  617. package/dist/types/schema/props/aria-details.d.ts +0 -2
  618. package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
  619. package/dist/types/utils/aria-labelledby.d.ts +0 -6
  620. package/doc/pagination.md +13 -13
  621. package/doc/table-stateful.md +16 -16
  622. package/doc/table-stateless.md +14 -14
  623. package/package.json +10 -5
  624. package/vscode-custom-data.json +3 -3
  625. package/dist/cjs/block-bem-ByCgFI2B.js +0 -18
  626. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  627. package/dist/cjs/component-1J4G5HmZ.js +0 -53
  628. package/dist/cjs/component-CjXcCX2V.js +0 -20
  629. package/dist/cjs/component-DkV9oPCL.js +0 -18
  630. package/dist/cjs/input-BKXEykG_.js +0 -20
  631. package/dist/components/block-bem.js +0 -4
  632. package/dist/components/clsx.js +0 -4
  633. package/dist/components/component11.js +0 -4
  634. package/dist/esm/block-bem-BGIVcYJu.js +0 -16
  635. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  636. package/dist/esm/component-B05zRrM0.js +0 -16
  637. package/dist/esm/component-Clz6b6ho.js +0 -18
  638. package/dist/esm/component-Ct11K0Gv.js +0 -48
  639. package/dist/esm/label-with-expert-slot-BbZ9nx0l.js +0 -12
  640. package/dist/kolibri/Heading-C_CwXDMp.js +0 -4
  641. package/dist/kolibri/api-DGiFM9p0.js +0 -4
  642. package/dist/kolibri/app-globals-sZHZyXjD.js +0 -4
  643. package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
  644. package/dist/kolibri/base-B4sGK9cX.js +0 -4
  645. package/dist/kolibri/base-CWrvN3Gt.js +0 -4
  646. package/dist/kolibri/base-DTKJ1Z06.js +0 -4
  647. package/dist/kolibri/base-P1TaQ7Ba.js +0 -4
  648. package/dist/kolibri/base-web-component-Bq_B9edx.js +0 -4
  649. package/dist/kolibri/base-web-component-CKgIOZqi.js +0 -4
  650. package/dist/kolibri/behavior-CkPQGfgo.js +0 -4
  651. package/dist/kolibri/bem-registry-DQUGxdIS.js +0 -4
  652. package/dist/kolibri/block-bem-BGIVcYJu.js +0 -4
  653. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  654. package/dist/kolibri/component-5Uu-ahLC.js +0 -4
  655. package/dist/kolibri/component-B05zRrM0.js +0 -4
  656. package/dist/kolibri/component-B16Fbp3W.js +0 -4
  657. package/dist/kolibri/component-BI8jDgBz.js +0 -4
  658. package/dist/kolibri/component-C79oAu7a.js +0 -4
  659. package/dist/kolibri/component-CldKbBUh.js +0 -4
  660. package/dist/kolibri/component-Clz6b6ho.js +0 -4
  661. package/dist/kolibri/component-Ct11K0Gv.js +0 -4
  662. package/dist/kolibri/component-DAQzDMY8.js +0 -4
  663. package/dist/kolibri/component-oUQcgxDj.js +0 -4
  664. package/dist/kolibri/contrast-BNoQruBh.js +0 -4
  665. package/dist/kolibri/disabled-BZXlWAgK.js +0 -4
  666. package/dist/kolibri/field-control-DsQHa0v9.js +0 -4
  667. package/dist/kolibri/group-DUVsgWxS.js +0 -4
  668. package/dist/kolibri/has-closer-DUB0QcS9.js +0 -4
  669. package/dist/kolibri/href-CxokGOJ2.js +0 -4
  670. package/dist/kolibri/id-BI0ZuK17.js +0 -4
  671. package/dist/kolibri/index-Dulj0jro.js +0 -6
  672. package/dist/kolibri/input-C0Li7DsE.js +0 -4
  673. package/dist/kolibri/item-8RKFpmbd.js +0 -4
  674. package/dist/kolibri/item-CnJMuEyl.js +0 -4
  675. package/dist/kolibri/item-CxVe5INa.js +0 -4
  676. package/dist/kolibri/item-DHZGDrAn.js +0 -4
  677. package/dist/kolibri/label-B-Dr7VaP.js +0 -4
  678. package/dist/kolibri/label-hints-CLMiVvfk.js +0 -4
  679. package/dist/kolibri/label-lang-segment-iVD9hoM3.js +0 -4
  680. package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +0 -4
  681. package/dist/kolibri/level-DsQ_pcyD.js +0 -4
  682. package/dist/kolibri/link-target-D7lYILOV.js +0 -4
  683. package/dist/kolibri/multiple--ay1C1n3.js +0 -4
  684. package/dist/kolibri/number-value-Dl9-2O4r.js +0 -4
  685. package/dist/kolibri/open-CNHJhHsy.js +0 -4
  686. package/dist/kolibri/orientation-ChJ0S24M.js +0 -4
  687. package/dist/kolibri/placeholder-UxmBJ4Vl.js +0 -4
  688. package/dist/kolibri/props-from-config-ytxYrJUY.js +0 -4
  689. package/dist/kolibri/read-only-DytZ5HZJ.js +0 -4
  690. package/dist/kolibri/required-BriHhuO4.js +0 -4
  691. package/dist/kolibri/resolve-props-02J6OCRf.js +0 -4
  692. package/dist/kolibri/resolve-props-Bj6IaybL.js +0 -4
  693. package/dist/kolibri/rows-I1jrTjzU.js +0 -4
  694. package/dist/kolibri/scroll-lock-B6hVv8A8.js +0 -4
  695. package/dist/kolibri/spell-check-BWCnJG5v.js +0 -4
  696. package/dist/kolibri/src-ziOwSglN.js +0 -4
  697. package/dist/kolibri/step-BcyhvRtu.js +0 -4
  698. package/dist/kolibri/toggle-handler-3qaN2kmt.js +0 -4
  699. package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +0 -4
  700. package/dist/kolibri/unit-1ix-K9SD.js +0 -4
  701. package/dist/kolibri/validators-CTjxOidB.js +0 -4
  702. package/dist/kolibri/value-string-CxDz7dhD.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e,proxyCustomElement as o,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{h as l}from"./component-names.js";import{B as r}from"./base-web-component.js";import{b as a}from"./bem-registry.js";import{c as s,n as c,d as h}from"./props-from-config.js";import{h as d}from"./href.js";import{l as f}from"./label-lang-segment.js";import{I as k}from"./component5.js";import{l as b,L as m,a as p}from"./component6.js";import{r as u}from"./component7.js";import{o as g}from"./open.js";import{c as v}from"./dev.utils.js";import{c as _,e as y}from"./element-interaction.js";import{d as x,K as w}from"./events.js";import{o as j}from"./ariaCurrentService.js";import{i as C}from"./open-items-cache.js";const T=s("active",!1,c),z={required:[d,f],optional:[T]},A=a.forBlock("kol-tree-item"),I=A(),O=A("children"),B=A("link-inner"),S=A("text"),G=A("toggle-button"),L=A("toggle-button-icon"),E=A("toggle-button-placeholder"),H=Object.freeze(h(b)),P=()=>{},F=({active:o,ariaCurrent:t,groupId:i,handleAnchorClick:n,handleSlotchange:l,handleToggleClick:r,hasChildren:a,href:s,label:c,level:h,open:d,refAnchor:f})=>e("li",{class:I,role:"none",style:{"--level":""+h}},e("span",{class:A("link",{active:o,"first-level":0===h})},e(m,Object.assign({},H,{ariaCurrent:t,ariaDescriptionId:"",ariaExpanded:a?d?"true":"false":"",ariaOwns:a?i:"",expertSlot:!0,handleAnchorClick:n,href:s,label:"",refAnchor:f,refTooltip:P,role:"treeitem",tabIndex:o?0:-1}),e("span",{class:B},a?e("span",{class:G,onClick:r},e(k,{class:L,icons:"kolicon kolicon-"+(d?"chevron-down":"chevron-right"),label:""})):e("span",{class:E}),e("span",{class:S},u(c))))),e("ul",{class:O,hidden:!a||!d,role:"group",id:i},e("slot",{onSlotchange:l}))),D=o(class extends r{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent="",this.groupId=v("tree-group"),this.hasChildren=!1,this.level=0,this.open=!1,this.anchorRef=_(),this.propsConfig=z,this._active=void 0,this._open=void 0,this.handleAnchorClick=()=>{this.host&&x(this.host,w.click,this.getRenderProp("href"))},this.handleSlotchange=()=>{this.checkForChildren()},this.handleToggleClick=e=>{e.preventDefault();const o=this.open;this.focus().then((()=>this.setOpen(!o)))}}watchActive(e){T.apply(e,(e=>this.setRenderProp("active",e)))}watchLabel(e){f.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchOpen(e){g.apply(e,(e=>this.open=e))}watchHref(e){d.apply(e,(e=>this.setRenderProp("href",e)),this.isRequired("href"))}focus(e){return Promise.resolve()}expand(){return this.setOpen(!0),Promise.resolve()}collapse(){return this.setOpen(!1),Promise.resolve()}isOpen(){return Promise.resolve(this.open)}componentWillLoad(){this.watchActive(this._active),this.watchHref(this._href),this.watchLabel(this._label),this.watchOpen(this._open),this.checkForChildren(),this.determineTreeItemDepth(),this.unsubscribeOnLocationChange=j((e=>{const o=e===this.getRenderProp("href")?p.getDefaultValue():"";this.ariaCurrent!==o&&(this.ariaCurrent=o)}))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0)}determineTreeItemDepth(){var e,o;let t=0,i=null!==(o=null===(e=this.host)||void 0===e?void 0:e.parentElement)&&void 0!==o?o:null;for(;null!==i&&i.tagName.toLowerCase()!==l&&i!==document.body;)i=i.parentElement,t+=1;this.level=t}checkForChildren(){var e,o;this.hasChildren=Array.from(null!==(o=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==o?o:[]).some((e=>!e.slot))}getTree(){var e;let o=this.host;for(;o;){const t=o.closest(l);if(t)return t;const i=null===(e=o.getRootNode())||void 0===e?void 0:e.host;if(!i||i===document.body)break;o=i}}setOpen(e){this.hasChildren&&(this.open=e,C(this.getTree()))}render(){return e(t,{key:"52b3ee0d7b7d593abeaf27e782a5e3ed384d710f"},e(F,{key:"8acfdb55c45f3245ca7df0839c734188dcaea5bd",active:this.getRenderProp("active"),ariaCurrent:this.ariaCurrent,groupId:this.groupId,handleAnchorClick:this.handleAnchorClick,handleSlotchange:this.handleSlotchange,handleToggleClick:this.handleToggleClick,hasChildren:this.hasChildren,href:this.getRenderProp("href"),label:this.getRenderProp("label"),level:this.level,open:this.open,refAnchor:this.anchorRef}))}get host(){return this}static get watchers(){return{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tree-item__link .kol-link { display: inline-flex; width: 100%; min-height: var(--a11y-min-size); align-items: center; text-decoration: none; } .kol-tree-item__link .kol-link__interactive-element { flex: 1 1 auto; text-decoration: none; } .kol-tree-item__link-inner { display: flex; align-items: center; } .kol-tree-item__children { margin: 0; padding: 0; list-style: none; } .kol-tree-item .kol-span { place-items: unset; } .kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder { display: inline-flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-tree-item__text { text-decoration: underline; } }'}}},[545,"kol-tree-item",{_active:[4],_label:[1],_open:[4],_href:[1],ariaCurrent:[32],groupId:[32],hasChildren:[32],level:[32],open:[32],focus:[64],expand:[64],collapse:[64],isOpen:[64]},void 0,{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}]);n([y("anchorRef")],D.prototype,"focus",null);const q=D,K=function(){"undefined"!=typeof customElements&&["kol-tree-item"].forEach((e=>{"kol-tree-item"===e&&(customElements.get(i(e))||customElements.define(i(e),D))}))};export{q as KolTreeItem,K as defineCustomElement}
4
+ import{h as e,proxyCustomElement as o,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{h as l}from"./component-names.js";import{B as r}from"./base-web-component.js";import{b as a}from"./bem-registry.js";import{c as s,n as c,d as h,B as d}from"./props-from-config.js";import{h as k}from"./href.js";import{l as f}from"./label-lang-segment.js";import{I as m}from"./component4.js";import{l as b,L as u,a as p}from"./component5.js";import{r as g}from"./component6.js";import{o as v}from"./open.js";import{c as _}from"./dev.utils.js";import{c as y,e as x}from"./element-interaction.js";import{d as w,K as C}from"./events.js";import{o as j}from"./ariaCurrentService.js";import{i as T}from"./open-items-cache.js";const z=s("active",!1,c),A={required:[k,f],optional:[z]},I=a.forBlock("kol-tree-item"),O=I("children"),B=I("link-inner"),S=I("text"),G=I("toggle-button"),L=I("toggle-button-icon"),E=I("toggle-button-placeholder"),H=Object.freeze(h(b)),P=()=>{},F=({active:o,ariaCurrent:t,groupId:i,handleAnchorClick:n,handleSlotchange:l,handleToggleClick:r,hasChildren:a,href:s,label:c,level:h,open:k,refAnchor:f})=>e(d,{component:"li",block:"kol-tree-item",role:"none",style:{"--level":""+h}},e("span",{class:I("link",{active:o,"first-level":0===h})},e(u,Object.assign({},H,{ariaCurrent:t,ariaDescriptionId:"",ariaExpanded:a?k?"true":"false":"",ariaOwns:a?i:"",expertSlot:!0,handleAnchorClick:n,href:s,label:"",refAnchor:f,refTooltip:P,role:"treeitem",tabIndex:o?0:-1}),e("span",{class:B},a?e("span",{class:G,onClick:r},e(m,{class:L,icons:"kolicon kolicon-"+(k?"chevron-down":"chevron-right"),label:""})):e("span",{class:E}),e("span",{class:S},g(c))))),e("ul",{class:O,hidden:!a||!k,role:"group",id:i},e("slot",{onSlotchange:l}))),D=o(class extends r{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent="",this.groupId=_("tree-group"),this.hasChildren=!1,this.level=0,this.open=!1,this.anchorRef=y(),this.propsConfig=A,this._active=void 0,this._open=void 0,this.handleAnchorClick=()=>{this.host&&w(this.host,C.click,this.getRenderProp("href"))},this.handleSlotchange=()=>{this.checkForChildren()},this.handleToggleClick=e=>{e.preventDefault();const o=this.open;this.focus().then((()=>this.setOpen(!o)))}}watchActive(e){z.apply(e,(e=>this.setRenderProp("active",e)))}watchLabel(e){f.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchOpen(e){v.apply(e,(e=>{this.open=e,T(this.getTree())}))}watchHref(e){k.apply(e,(e=>this.setRenderProp("href",e)),this.isRequired("href"))}focus(e){return Promise.resolve()}expand(){return this.setOpen(!0),Promise.resolve()}collapse(){return this.setOpen(!1),Promise.resolve()}isOpen(){return Promise.resolve(this.open)}componentWillLoad(){this.watchActive(this._active),this.watchHref(this._href),this.watchLabel(this._label),this.watchOpen(this._open),this.checkForChildren(),this.determineTreeItemDepth(),this.unsubscribeOnLocationChange=j((e=>{const o=e===this.getRenderProp("href")?p.getDefaultValue():"";this.ariaCurrent!==o&&(this.ariaCurrent=o)}))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0)}determineTreeItemDepth(){var e,o;let t=0,i=null!==(o=null===(e=this.host)||void 0===e?void 0:e.parentElement)&&void 0!==o?o:null;for(;null!==i&&i.tagName.toLowerCase()!==l&&i!==document.body;)i=i.parentElement,t+=1;this.level=t}checkForChildren(){var e,o;this.hasChildren=Array.from(null!==(o=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==o?o:[]).some((e=>!e.slot))}getTree(){var e;let o=this.host;for(;o;){const t=o.closest(l);if(t)return t;const i=null===(e=o.getRootNode())||void 0===e?void 0:e.host;if(!i||i===document.body)break;o=i}}setOpen(e){this.hasChildren&&(this.open=e,T(this.getTree()))}render(){return e(t,{key:"ef8d3be5e78ab5bf78a56cfb3a7a598dff63b129"},e(F,{key:"e180a324da3af9afd90821a831aa3b394b009f0e",active:this.getRenderProp("active"),ariaCurrent:this.ariaCurrent,groupId:this.groupId,handleAnchorClick:this.handleAnchorClick,handleSlotchange:this.handleSlotchange,handleToggleClick:this.handleToggleClick,hasChildren:this.hasChildren,href:this.getRenderProp("href"),label:this.getRenderProp("label"),level:this.level,open:this.open,refAnchor:this.anchorRef}))}get host(){return this}static get watchers(){return{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tree-item__link .kol-link { display: inline-flex; width: 100%; min-height: var(--a11y-min-size); align-items: center; text-decoration: none; } .kol-tree-item__link .kol-link__interactive-element { flex: 1 1 auto; text-decoration: none; } .kol-tree-item__link-inner { display: flex; align-items: center; } .kol-tree-item__children { margin: 0; padding: 0; list-style: none; } .kol-tree-item .kol-span { place-items: unset; } .kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder { display: inline-flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-tree-item__text { text-decoration: underline; } }'}}},[545,"kol-tree-item",{_active:[4],_label:[1],_open:[4],_href:[1],ariaCurrent:[32],groupId:[32],hasChildren:[32],level:[32],open:[32],focus:[64],expand:[64],collapse:[64],isOpen:[64]},void 0,{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}]);n([x("anchorRef")],D.prototype,"focus",null);const q=D,K=function(){"undefined"!=typeof customElements&&["kol-tree-item"].forEach((e=>{"kol-tree-item"===e&&(customElements.get(i(e))||customElements.define(i(e),D))}))};export{q as KolTreeItem,K as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e,proxyCustomElement as t,Host as o,transformTag as i}from"@stencil/core/internal/client";import{g as a,h as l}from"./component-names.js";import{B as n}from"./base-web-component.js";import{b as r}from"./bem-registry.js";import"./props-from-config.js";import{l as s}from"./label.js";import{d}from"./element-focus.js";import{r as c,u as h}from"./open-items-cache.js";const u={required:[s]},b=r.forBlock("kol-tree"),m=b(),k=b("treeview-navigation"),f=({handleSlotchange:t,label:o})=>e("nav",{class:m,"aria-label":o},e("ul",{class:k,role:"tree","aria-label":o},e("slot",{onSlotchange:t}))),p=e=>(null==e?void 0:e.tagName)===a.toUpperCase(),v=t(class extends n{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.cacheValid=!1,this.propsConfig=u,this.invalidateOpenItemsCache=()=>{this.cacheValid=!1},this.handleSlotchange=()=>{this.observeTopLevelItems(),this.scheduleTreeChange()}}watchLabel(e){s.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}async focus(e){this.host&&await d(this.host,(async()=>{var t;const o=await this.getOpenTreeItemElements();await(null===(t=null==o?void 0:o[0])||void 0===t?void 0:t.focus(e))}))}connectedCallback(){this.host&&c(this.host,this.invalidateOpenItemsCache)}componentWillLoad(){this.watchLabel(this._label),this.handleTreeChange(),this.observeChildListMutations()}disconnectedCallback(){var e;this.host&&h(this.host),null===(e=this.observer)||void 0===e||e.disconnect(),void 0!==this.rafHandle&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)}async handleKeyDown(e){var t,o,i,l,n,r,s,d,c,h;const u=await this.getOpenTreeItemElements(),b=null===(t=document.activeElement)||void 0===t?void 0:t.closest(a),m=e.metaKey||e.altKey||e.ctrlKey||e.shiftKey;if(!u||!b)return;const k=u.findIndex((e=>e===b));switch(e.key){case"ArrowDown":await(null===(o=u[k+1])||void 0===o?void 0:o.focus()),e.preventDefault();break;case"ArrowUp":await(null===(i=u[k-1])||void 0===i?void 0:i.focus()),e.preventDefault();break;case"Right":case"ArrowRight":e.preventDefault(),await b.isOpen()?await(null===(l=u[k+1])||void 0===l?void 0:l.focus()):await b.expand();break;case"Left":case"ArrowLeft":if(e.preventDefault(),await b.isOpen())await b.collapse();else{const e=b.parentElement,t=e?u.indexOf(e):-1;-1!==t&&await(null===(n=u[t])||void 0===n?void 0:n.focus())}break;case"Home":await(null===(r=u[0])||void 0===r?void 0:r.focus()),e.preventDefault();break;case"End":await(null===(s=u[u.length-1])||void 0===s?void 0:s.focus()),e.preventDefault();break;case null===(d=e.key.match(/^[a-zA-Z0-9]$/))||void 0===d?void 0:d.input:if(!m){const t=e.key.toLowerCase(),o=k+1,i=e=>{var o,i;return null!==(i=null===(o=e.getAttribute("_label"))||void 0===o?void 0:o.trim().toLowerCase().startsWith(t))&&void 0!==i&&i};let a=u.slice(o).findIndex(i);-1===a?a=u.slice(0,o).findIndex(i):a+=o,-1!==a&&(await(null===(c=u[a])||void 0===c?void 0:c.focus()),e.preventDefault())}break;case"*":{const e=null===(h=b.parentElement)||void 0===h?void 0:h.querySelectorAll(a);null==e||e.forEach((e=>{e.expand()}));break}}}handleFocusIn(e){var t;e.target!==this.host||(null===(t=document.activeElement)||void 0===t?void 0:t.closest(a))||requestAnimationFrame((()=>{this.focus()}))}handleFocusOut(e){e.relatedTarget&&!e.relatedTarget.closest(l)&&this.ensureActiveItemVisibility()}observeChildListMutations(){this.observer=new MutationObserver((()=>this.scheduleTreeChange())),this.observeTopLevelItems()}observeTopLevelItems(){this.getTopLevelTreeItems().forEach((e=>{var t;null===(t=this.observer)||void 0===t||t.observe(e,{childList:!0,subtree:!0})}))}scheduleTreeChange(){this.rafHandle&&cancelAnimationFrame(this.rafHandle),this.rafHandle=requestAnimationFrame((()=>{this.handleTreeChange()}))}getTopLevelTreeItems(){var e,t;return Array.from(null!==(t=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==t?t:[]).filter((e=>p(e)&&!e.slot))}handleTreeChange(){this.treeItemElements=this.getTreeItemElements(),this.cacheValid=!1,this.ensureActiveItemVisibility()}getTreeItemElements(){return this.getTopLevelTreeItems().reduce(((e,t)=>{const o=t.querySelectorAll(a);return[...e,t,...o]}),[])}async getOpenTreeItemElements(){if(!this.treeItemElements)return;if(this.cacheValid&&this.cachedOpenItems)return this.cachedOpenItems;const e=async e=>{let t=e.parentElement;for(;p(t);){if(!await t.isOpen())return!1;t=t.parentElement}return!0};return this.cachedOpenItems=await Promise.all(this.treeItemElements.map((async t=>({item:t,isOpen:await e(t)})))).then((e=>e.filter((({isOpen:e})=>e)).map((({item:e})=>e)))),this.cacheValid=!0,this.cachedOpenItems}ensureActiveItemVisibility(){const e=t=>{p(t.parentElement)&&(t.parentElement.expand(),e(t.parentElement))},t=(()=>{for(const e of this.getTopLevelTreeItems()){if(e._active)return e;const t=e.querySelector(a+'[_active="true"]');if(null==t?void 0:t._active)return t}})();t&&e(t)}render(){return e(o,{key:"46407a67efb548149a62e371713e0da8ec352863",tabindex:"0"},e(f,{key:"2725ae9400123f266b59b8c45b82eac3b83cf5f3",handleSlotchange:this.handleSlotchange,label:this.getRenderProp("label")}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-tree__treeview-navigation { margin: 0; padding: 0; list-style: none; } .kol-tree:focus-within { outline: 1px solid; outline-offset: 2px; } }'}}},[545,"kol-tree",{_label:[1],focus:[64]},[[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{_label:[{watchLabel:0}]}]),g=v,w=function(){"undefined"!=typeof customElements&&["kol-tree"].forEach((e=>{"kol-tree"===e&&(customElements.get(i(e))||customElements.define(i(e),v))}))};export{g as KolTree,w as defineCustomElement}
4
+ import{h as e,proxyCustomElement as t,Host as o,transformTag as i}from"@stencil/core/internal/client";import{g as a,h as l}from"./component-names.js";import{B as r}from"./base-web-component.js";import{b as n}from"./bem-registry.js";import{B as s}from"./props-from-config.js";import{l as d}from"./label.js";import{d as c}from"./element-focus.js";import{r as u,u as h}from"./open-items-cache.js";const b={required:[d]},m=n.forBlock("kol-tree")("treeview-navigation"),k=({handleSlotchange:t,label:o})=>e(s,{component:"nav",block:"kol-tree","aria-label":o},e("ul",{class:m,role:"tree","aria-label":o},e("slot",{onSlotchange:t}))),v=e=>(null==e?void 0:e.tagName)===a.toUpperCase(),f=t(class extends r{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.cacheValid=!1,this.propsConfig=b,this.invalidateOpenItemsCache=()=>{this.cacheValid=!1},this.handleSlotchange=()=>{this.observeTopLevelItems(),this.scheduleTreeChange()}}watchLabel(e){d.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}async focus(e){this.host&&await c(this.host,(async()=>{var t;const o=await this.getOpenTreeItemElements();await(null===(t=null==o?void 0:o[0])||void 0===t?void 0:t.focus(e))}))}connectedCallback(){this.host&&u(this.host,this.invalidateOpenItemsCache)}componentWillLoad(){this.watchLabel(this._label),this.handleTreeChange(),this.observeChildListMutations()}disconnectedCallback(){var e;this.host&&h(this.host),null===(e=this.observer)||void 0===e||e.disconnect(),void 0!==this.rafHandle&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)}async handleKeyDown(e){var t,o,i,l,r,n,s,d,c,u;if("Tab"===e.key&&e.shiftKey&&e.target!==this.host)return void(null===(t=this.host)||void 0===t||t.setAttribute("tabindex","-1"));const h=e.composedPath().find(v),b=await this.getOpenTreeItemElements(),m=e.metaKey||e.altKey||e.ctrlKey||e.shiftKey;if(!b||!h)return;const k=b.findIndex((e=>e===h));switch(e.key){case"ArrowDown":await(null===(o=b[k+1])||void 0===o?void 0:o.focus()),e.preventDefault();break;case"ArrowUp":await(null===(i=b[k-1])||void 0===i?void 0:i.focus()),e.preventDefault();break;case"Right":case"ArrowRight":e.preventDefault(),await h.isOpen()?await(null===(l=b[k+1])||void 0===l?void 0:l.focus()):await h.expand();break;case"Left":case"ArrowLeft":if(e.preventDefault(),await h.isOpen())await h.collapse();else{const e=h.parentElement,t=e?b.indexOf(e):-1;-1!==t&&await(null===(r=b[t])||void 0===r?void 0:r.focus())}break;case"Home":await(null===(n=b[0])||void 0===n?void 0:n.focus()),e.preventDefault();break;case"End":await(null===(s=b[b.length-1])||void 0===s?void 0:s.focus()),e.preventDefault();break;case null===(d=e.key.match(/^[a-zA-Z0-9]$/))||void 0===d?void 0:d.input:if(!m){const t=e.key.toLowerCase(),o=k+1,i=e=>{var o,i;return null!==(i=null===(o=e.getAttribute("_label"))||void 0===o?void 0:o.trim().toLowerCase().startsWith(t))&&void 0!==i&&i};let a=b.slice(o).findIndex(i);-1===a?a=b.slice(0,o).findIndex(i):a+=o,-1!==a&&(await(null===(c=b[a])||void 0===c?void 0:c.focus()),e.preventDefault())}break;case"*":{const e=null===(u=h.parentElement)||void 0===u?void 0:u.querySelectorAll(a);null==e||e.forEach((e=>{e.expand()}));break}}}handleFocusIn(e){e.target!==this.host||this.isWithinTree(e.relatedTarget)||requestAnimationFrame((()=>{this.focus()}))}handleFocusOut(e){var t;this.isWithinTree(e.relatedTarget)||null===(t=this.host)||void 0===t||t.setAttribute("tabindex","0"),e.relatedTarget&&!e.relatedTarget.closest(l)&&this.ensureActiveItemVisibility()}isWithinTree(e){var t,o;return e instanceof Node&&e!==this.host&&null!==(o=null===(t=this.host)||void 0===t?void 0:t.contains(e))&&void 0!==o&&o}observeChildListMutations(){this.observer=new MutationObserver((()=>this.scheduleTreeChange())),this.observeTopLevelItems()}observeTopLevelItems(){this.getTopLevelTreeItems().forEach((e=>{var t;null===(t=this.observer)||void 0===t||t.observe(e,{childList:!0,subtree:!0})}))}scheduleTreeChange(){this.rafHandle&&cancelAnimationFrame(this.rafHandle),this.rafHandle=requestAnimationFrame((()=>{this.handleTreeChange()}))}getTopLevelTreeItems(){var e,t;return Array.from(null!==(t=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==t?t:[]).filter((e=>v(e)&&!e.slot))}handleTreeChange(){this.treeItemElements=this.getTreeItemElements(),this.cacheValid=!1,this.ensureActiveItemVisibility()}getTreeItemElements(){return this.getTopLevelTreeItems().reduce(((e,t)=>{const o=t.querySelectorAll(a);return[...e,t,...o]}),[])}async getOpenTreeItemElements(){if(!this.treeItemElements)return;if(this.cacheValid&&this.cachedOpenItems)return this.cachedOpenItems;const e=async e=>{let t=e.parentElement;for(;v(t);){if(!await t.isOpen())return!1;t=t.parentElement}return!0};return this.cachedOpenItems=await Promise.all(this.treeItemElements.map((async t=>({item:t,isOpen:await e(t)})))).then((e=>e.filter((({isOpen:e})=>e)).map((({item:e})=>e)))),this.cacheValid=!0,this.cachedOpenItems}ensureActiveItemVisibility(){const e=t=>{v(t.parentElement)&&(t.parentElement.expand(),e(t.parentElement))},t=(()=>{for(const e of this.getTopLevelTreeItems()){if(e._active)return e;const t=e.querySelector(a+'[_active="true"]');if(null==t?void 0:t._active)return t}})();t&&e(t)}render(){return e(o,{key:"df55eb6b968ef985ef6c738815e66aa9cd88b9e1",tabindex:"0"},e(k,{key:"e874b2de9b9e9e7e4f757bb418b698e9e06c239f",handleSlotchange:this.handleSlotchange,label:this.getRenderProp("label")}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-tree__treeview-navigation { margin: 0; padding: 0; list-style: none; } .kol-tree:focus-within { outline: 1px solid; outline-offset: 2px; } }'}}},[545,"kol-tree",{_label:[1],focus:[64]},[[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{_label:[{watchLabel:0}]}]),p=f,g=function(){"undefined"!=typeof customElements&&["kol-tree"].forEach((e=>{"kol-tree"===e&&(customElements.get(i(e))||customElements.define(i(e),f))}))};export{p as KolTree,g as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,proxyCustomElement as e,Host as t,transformTag as n}from"@stencil/core/internal/client";import{t as l}from"./i18n.js";import{B as i}from"./base-web-component.js";import"./bem-registry.js";import"./props-from-config.js";import{l as r}from"./label.js";import{B as a}from"./component4.js";import{B as c}from"./component.js";import{c as s}from"./contrast.js";const d={required:[r]},b=({class:e,color:t,icons:n,label:l})=>o(c,{block:"kol-version",class:e},o(a,{color:t,icons:n,label:l})),k=s("#bec5c9"),f={backgroundColor:k.background,foregroundColor:k.foreground},u={left:{icon:"kolicon-version",label:l("kol-version")}},h=e(class extends i{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.propsConfig=d}watchLabel(o){r.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}componentWillLoad(){r.apply(this._label,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}render(){return o(t,{key:"41f3fe21b34ed55fe622cc212cec754c5110292e"},o(b,{key:"3239e582b5e207e28c4a2cf92d730278f21afd0b",color:f,icons:u,label:this.getRenderProp("label")}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } }'}}},[545,"kol-version",{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),m=h,p=function(){"undefined"!=typeof customElements&&["kol-version"].forEach((o=>{"kol-version"===o&&(customElements.get(n(o))||customElements.define(n(o),h))}))};export{m as KolVersion,p as defineCustomElement}
4
+ import{h as o,proxyCustomElement as e,Host as t,transformTag as n}from"@stencil/core/internal/client";import{t as l}from"./i18n.js";import{B as r}from"./base-web-component.js";import"./bem-registry.js";import{B as i}from"./props-from-config.js";import{l as a}from"./label.js";import{B as c}from"./component3.js";import{c as s}from"./contrast.js";const d={required:[a]},b=({class:e,color:t,icons:n,label:l})=>o(i,{block:"kol-version",class:e},o(c,{color:t,icons:n,label:l})),k=s("#bec5c9"),f={backgroundColor:k.background,foregroundColor:k.foreground},m={left:{icon:"kolicon-version",label:l("kol-version")}},u=e(class extends r{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.propsConfig=d}watchLabel(o){a.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}componentWillLoad(){a.apply(this._label,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}render(){return o(t,{key:"41f3fe21b34ed55fe622cc212cec754c5110292e"},o(b,{key:"3239e582b5e207e28c4a2cf92d730278f21afd0b",color:f,icons:m,label:this.getRenderProp("label")}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } }'}}},[545,"kol-version",{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),h=u,p=function(){"undefined"!=typeof customElements&&["kol-version"].forEach((o=>{"kol-version"===o&&(customElements.get(n(o))||customElements.define(n(o),u))}))};export{h as KolVersion,p as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{t as s,q as a,s as e}from"./props-from-config.js";import{h as r,u as o}from"./bem-registry.js";function t(t,l){const i="string"==typeof l?l:Array.isArray(l)?s(l):"";""!==i&&(!1===a(i,3)&&!1===e(i)&&r(`The heading or label ("${i}") is inaccessible. A label should consist of at least three readable characters.`),i.length>80&&o("A heading or label should not be longer than 80 characters."))}export{t as l}
4
+ import{t as a,u as s,v as e}from"./props-from-config.js";import{h as r,u as o}from"./bem-registry.js";function t(t,l){const i="string"==typeof l?l:Array.isArray(l)?a(l):"";""!==i&&(!1===s(i,3)&&!1===e(i)&&r(`The heading or label ("${i}") is inaccessible. A label should consist of at least three readable characters.`),i.length>80&&o("A heading or label should not be longer than 80 characters."))}export{t as l}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as o,o as s,p as a}from"./props-from-config.js";import{l as r}from"./label-hints.js";const i=o("label",void 0,a,s,{hints:r});export{i as l}
4
+ import{c as s,q as o,s as a}from"./props-from-config.js";import{l as r}from"./label-hints.js";const i=s("label",void 0,a,o,{hints:r});export{i as l}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as s,p as o}from"./props-from-config.js";import{b as r}from"./validators.js";import{l as a}from"./label-hints.js";const t=s("label","",o,r,{hints:a});export{t as l}
4
+ import{c as s,s as o}from"./props-from-config.js";import{b as r}from"./validators.js";import{l as a}from"./label-hints.js";const t=s("label","",o,r,{hints:a});export{t as l}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as o,u as s}from"./props-from-config.js";const r=[0,1,2,3,4,5,6],p=o("level",0,(o=>s(o)),(o=>r.includes(o)));export{p as l}
4
+ import{c as o,w as s}from"./props-from-config.js";const r=[0,1,2,3,4,5,6],p=o("level",0,(o=>s(o)),(o=>r.includes(o)));export{p as l}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{D as o}from"./bem-registry.js";import{c as r,e as t}from"./props-from-config.js";function s(s){return r("links",[],(o=>t(o)),(o=>o.every((o=>"object"==typeof o&&null!==o&&("string"==typeof o._href||"string"==typeof o._label)))),{hints:(r,t)=>o(s,t.length)})}export{s as c}
4
+ import{D as o}from"./bem-registry.js";import{c as r,f as t}from"./props-from-config.js";function s(s){return r("links",[],(o=>t(o)),(o=>o.every((o=>"object"==typeof o&&null!==o&&("string"==typeof o._href||"string"==typeof o._label)))),{hints:(r,t)=>o(s,t.length)})}export{s as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as n,g as r,h as u}from"./props-from-config.js";const o=n("max",void 0,r),t=n("min",void 0,r),a=n("value",void 0,r);function s(n){return u(n)?"NumberString":"number"!=typeof n||isNaN(n)?"null":"number"}function i(n,r){return null==n?null:"NumberString"===r?String(n):n}function e(n){return""===n?null:Number(n)}function l(n,r,u){const o=parseFloat(n);return u&&o>u?u:r&&o<r?r:o}export{t as a,a as b,l as c,s as g,o as i,e as p,i as r}
4
+ import{c as n,j as r,k as u}from"./props-from-config.js";const o=n("max",void 0,r),t=n("min",void 0,r),a=n("value",void 0,r);function s(n){return u(n)?"NumberString":"number"!=typeof n||isNaN(n)?"null":"number"}function i(n,r){return null==n?null:"NumberString"===r?String(n):n}function e(n){return""===n?null:Number(n)}function l(n,r,u){const o=parseFloat(n);return u&&o>u?u:r&&o<r?r:o}export{t as a,a as b,l as c,s as g,o as i,e as p,i as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{k as t,l as r,m as n,n as e,r as o}from"./bem-registry.js";var i="object"==typeof global&&global&&global.Object===Object&&global,u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,s=f.hasOwnProperty,l=f.toString,v=c?c.toStringTag:void 0,b=Object.prototype.toString,h=c?c.toStringTag:void 0;function p(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":h&&h in Object(t)?function(t){var r=s.call(t,v),n=t[v];try{t[v]=void 0;var e=!0}catch(t){}var o=l.call(t);return e&&(r?t[v]=n:delete t[v]),o}(t):function(t){return b.call(t)}(t)}function y(t){return null!=t&&"object"==typeof t}var d=Array.isArray;function j(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function w(t){if(!j(t))return!1;var r=p(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var g,m=a["__core-js_shared__"],O=(g=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",$=Function.prototype.toString;function A(t){if(null!=t){try{return $.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var x=/^\[object .+?Constructor\]$/,N=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function S(t,r){var n=function(t,r){return null==t?void 0:t[r]}(t,r);return function(t){return!(!j(t)||(r=t,O&&O in r))&&(w(t)?N:x).test(A(t));var r}(n)?n:void 0}var _=S(a,"WeakMap"),E=Object.create,M=function(){function t(){}return function(r){if(!j(r))return{};if(E)return E(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}(),I=function(){try{var t=S(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),F=/^(?:0|[1-9]\d*)$/;function D(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&F.test(t))&&t>-1&&t%1==0&&t<r}function k(t,r){return t===r||t!=t&&r!=r}var z=Object.prototype.hasOwnProperty;function T(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var B=Object.prototype;function C(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||B)}function J(t){return y(t)&&"[object Arguments]"==p(t)}var P=Object.prototype,U=P.hasOwnProperty,V=P.propertyIsEnumerable,q=J(function(){return arguments}())?J:function(t){return y(t)&&U.call(t,"callee")&&!V.call(t,"callee")},G="object"==typeof exports&&exports&&!exports.nodeType&&exports,K=G&&"object"==typeof module&&module&&!module.nodeType&&module,R=K&&K.exports===G?a.Buffer:void 0,W=(R?R.isBuffer:void 0)||function(){return!1},L={};function Z(t){return function(r){return t(r)}}L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L["[object Arguments]"]=L["[object Array]"]=L["[object ArrayBuffer]"]=L["[object Boolean]"]=L["[object DataView]"]=L["[object Date]"]=L["[object Error]"]=L["[object Function]"]=L["[object Map]"]=L["[object Number]"]=L["[object Object]"]=L["[object RegExp]"]=L["[object Set]"]=L["[object String]"]=L["[object WeakMap]"]=!1;var H="object"==typeof exports&&exports&&!exports.nodeType&&exports,Q=H&&"object"==typeof module&&module&&!module.nodeType&&module,X=Q&&Q.exports===H&&i.process,Y=function(){try{return Q&&Q.require&&Q.require("util").types||X&&X.binding&&X.binding("util")}catch(t){}}(),tt=Y&&Y.isTypedArray,rt=tt?Z(tt):function(t){return y(t)&&T(t.length)&&!!L[p(t)]},nt=Object.prototype.hasOwnProperty;function et(t,r){return function(n){return t(r(n))}}var ot=et(Object.keys,Object),it=Object.prototype.hasOwnProperty;function ut(t){return null!=(r=t)&&T(r.length)&&!w(r)?function(t){var r=d(t),n=!r&&q(t),e=!r&&!n&&W(t),o=!r&&!n&&!e&&rt(t),i=r||n||e||o,u=i?function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}(t.length,String):[],a=u.length;for(var c in t)!nt.call(t,c)||i&&("length"==c||e&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||D(c,a))||u.push(c);return u}(t):function(t){if(!C(t))return ot(t);var r=[];for(var n in Object(t))it.call(t,n)&&"constructor"!=n&&r.push(n);return r}(t);var r}var at=S(Object,"create"),ct=Object.prototype.hasOwnProperty,ft=Object.prototype.hasOwnProperty;function st(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function lt(t,r){for(var n=t.length;n--;)if(k(t[n][0],r))return n;return-1}st.prototype.clear=function(){this.__data__=at?at(null):{},this.size=0},st.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},st.prototype.get=function(t){var r=this.__data__;if(at){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return ct.call(r,t)?r[t]:void 0},st.prototype.has=function(t){var r=this.__data__;return at?void 0!==r[t]:ft.call(r,t)},st.prototype.set=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=at&&void 0===r?"__lodash_hash_undefined__":r,this};var vt=Array.prototype.splice;function bt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}bt.prototype.clear=function(){this.__data__=[],this.size=0},bt.prototype.delete=function(t){var r=this.__data__,n=lt(r,t);return!(n<0||(n==r.length-1?r.pop():vt.call(r,n,1),--this.size,0))},bt.prototype.get=function(t){var r=this.__data__,n=lt(r,t);return n<0?void 0:r[n][1]},bt.prototype.has=function(t){return lt(this.__data__,t)>-1},bt.prototype.set=function(t,r){var n=this.__data__,e=lt(n,t);return e<0?(++this.size,n.push([t,r])):n[e][1]=r,this};var ht=S(a,"Map");function pt(t,r){var n,e,o=t.__data__;return("string"==(e=typeof(n=r))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function yt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}yt.prototype.clear=function(){this.size=0,this.__data__={hash:new st,map:new(ht||bt),string:new st}},yt.prototype.delete=function(t){var r=pt(this,t).delete(t);return this.size-=r?1:0,r},yt.prototype.get=function(t){return pt(this,t).get(t)},yt.prototype.has=function(t){return pt(this,t).has(t)},yt.prototype.set=function(t,r){var n=pt(this,t),e=n.size;return n.set(t,r),this.size+=n.size==e?0:1,this};var dt=et(Object.getPrototypeOf,Object);function jt(t){var r=this.__data__=new bt(t);this.size=r.size}jt.prototype.clear=function(){this.__data__=new bt,this.size=0},jt.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},jt.prototype.get=function(t){return this.__data__.get(t)},jt.prototype.has=function(t){return this.__data__.has(t)},jt.prototype.set=function(t,r){var n=this.__data__;if(n instanceof bt){var e=n.__data__;if(!ht||e.length<199)return e.push([t,r]),this.size=++n.size,this;n=this.__data__=new yt(e)}return n.set(t,r),this.size=n.size,this},"object"==typeof exports&&exports&&!exports.nodeType&&exports&&"object"==typeof module&&module&&!module.nodeType&&module;var wt=Object.prototype.propertyIsEnumerable,gt=Object.getOwnPropertySymbols,mt=gt?function(t){return null==t?[]:(t=Object(t),function(r){for(var n=-1,e=null==r?0:r.length,o=0,i=[];++n<e;){var u=r[n];wt.call(t,u)&&(i[o++]=u)}return i}(gt(t)))}:function(){return[]};var Ot=S(a,"DataView"),$t=S(a,"Promise"),At=S(a,"Set"),xt="[object Map]",Nt="[object Promise]",St="[object Set]",_t="[object WeakMap]",Et="[object DataView]",Mt=A(Ot),It=A(ht),Ft=A($t),Dt=A(At),kt=A(_),zt=p;(Ot&&zt(new Ot(new ArrayBuffer(1)))!=Et||ht&&zt(new ht)!=xt||$t&&zt($t.resolve())!=Nt||At&&zt(new At)!=St||_&&zt(new _)!=_t)&&(zt=function(t){var r=p(t),n="[object Object]"==r?t.constructor:void 0,e=n?A(n):"";if(e)switch(e){case Mt:return Et;case It:return xt;case Ft:return Nt;case Dt:return St;case kt:return _t}return r});var Tt=Object.prototype.hasOwnProperty,Bt=a.Uint8Array;function Ct(t){var r=new t.constructor(t.byteLength);return new Bt(r).set(new Bt(t)),r}var Jt=/\w*$/,Pt=c?c.prototype:void 0,Ut=Pt?Pt.valueOf:void 0;var Vt=Y&&Y.isMap,qt=Vt?Z(Vt):function(t){return y(t)&&"[object Map]"==zt(t)},Gt=Y&&Y.isSet,Kt=Gt?Z(Gt):function(t){return y(t)&&"[object Set]"==zt(t)},Rt="[object Arguments]",Wt="[object Function]",Lt="[object Object]",Zt={};function Ht(t,r,n,e,o,i){var u;if(void 0!==u)return u;if(!j(t))return t;var a=d(t);if(a)u=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&Tt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t);else{var c=zt(t),f=c==Wt||"[object GeneratorFunction]"==c;if(W(t))return t.slice();if(c==Lt||c==Rt||f&&!o)u=f?{}:function(t){return"function"!=typeof t.constructor||C(t)?{}:M(dt(t))}(t);else{if(!Zt[c])return o?t:{};u=function(t,r){var n,e,o,i,u=t.constructor;switch(r){case"[object ArrayBuffer]":return Ct(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i=Ct((o=t).buffer),new o.constructor(i,o.byteOffset,o.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t){var r=Ct(t.buffer);return new t.constructor(r,t.byteOffset,t.length)}(t);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return(e=new(n=t).constructor(n.source,Jt.exec(n))).lastIndex=n.lastIndex,e;case"[object Symbol]":return Ut?Object(Ut.call(t)):{}}}(t,c)}}i||(i=new jt);var s=i.get(t);if(s)return s;i.set(t,u),Kt(t)?t.forEach((function(e){u.add(Ht(e,r,n,0,t,i))})):qt(t)&&t.forEach((function(e,o){u.set(o,Ht(e,r,n,0,t,i))}));var l=a?void 0:function(t){return function(t,r,n){var e=ut(t);return d(t)?e:function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}(e,n(t))}(t,0,mt)}(t);return function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n););}(l||t,(function(e,o){l&&(e=t[o=e]),function(t,r,n){var e=t[r];z.call(t,r)&&k(e,n)&&(void 0!==n||r in t)||function(t,r,n){"__proto__"==r&&I?I(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}(t,r,n)}(u,o,Ht(e,r,n,0,t,i))})),u}function Qt(t){return Ht(t,5)}function Xt(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);throw new TypeError(`Cannot convert ${typeof t} to string`)}function Yt(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);if(Array.isArray(t)&&t.every($r))return t;throw new TypeError(`Cannot convert ${typeof t} to a label`)}function tr(t){let r;try{r=rr(t)}catch(r){throw new Error(`Invalid integer: ${String(t)}`)}return Number.isInteger(r)?r:Math.round(r)}function rr(t){if("number"==typeof t&&!isNaN(t))return t;if("string"==typeof t&&""!==t.trim()){const r=Number(t);if(!isNaN(r))return r}throw new Error(`Invalid number: ${String(t)}`)}function nr(t){if("number"==typeof t&&!isNaN(t))return t;throw new Error(`Invalid number: ${String(t)}`)}Zt[Rt]=Zt["[object Array]"]=Zt["[object ArrayBuffer]"]=Zt["[object DataView]"]=Zt["[object Boolean]"]=Zt["[object Date]"]=Zt["[object Float32Array]"]=Zt["[object Float64Array]"]=Zt["[object Int8Array]"]=Zt["[object Int16Array]"]=Zt["[object Int32Array]"]=Zt["[object Map]"]=Zt["[object Number]"]=Zt[Lt]=Zt["[object RegExp]"]=Zt["[object Set]"]=Zt["[object String]"]=Zt["[object Symbol]"]=Zt["[object Uint8Array]"]=Zt["[object Uint8ClampedArray]"]=Zt["[object Uint16Array]"]=Zt["[object Uint32Array]"]=!0,Zt["[object Error]"]=Zt[Wt]=Zt["[object WeakMap]"]=!1;const er=/^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;function or(t){return"string"==typeof t&&er.test(t)&&Number.isFinite(Number(t))}function ir(t){if("number"==typeof t)return isNaN(t)?void 0:t;if(or(t))return parseFloat(t);throw new Error(`Invalid number: ${t}`)}function ur(t){if("boolean"==typeof t)return t;if("string"==typeof t){const r=t.toLowerCase();if("true"===r||"false"===r)return"true"===r}throw new Error(`Invalid boolean: ${String(t)}`)}function ar(t,r){if(!0===t||"true"===t)return"true";if(!1===t||"false"===t)return"false";if(""===t)return"";throw new Error(`Invalid ${r} value: expected a boolean, got ${JSON.stringify(t)}`)}function cr(t,r){return"string"==typeof t&&r.includes(t)}function fr(r){if(t(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n))return n}throw new Error(`Invalid object: ${r}`)}function sr(r){if(t(r)&&Array.isArray(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n)&&Array.isArray(n))return n}throw new Error(`Invalid array: ${r}`)}function lr(t){if("object"==typeof t&&null!==t)return t;throw new Error("Invalid on callbacks: expected object, got "+typeof t)}function vr(t){try{return JSON.stringify(t)}catch(t){return"[unserializable]"}}function br(t,n,e){const o=e instanceof Error?` (${e.message})`:"";r(`The property value ${vr(n)} for '${t}' is not valid${o}. The value is ignored.`)}function hr(t,n,e,o=()=>!0,i){return{propName:t,getDefaultValue:j(n)?()=>Qt(n):()=>n,normalize:e,validate:o,apply(e,o,u){var a;if(null!=e)try{const r=this.normalize(e);this.validate(r)?(null===(a=null==i?void 0:i.hints)||void 0===a||a.call(i,this.propName,r),o(r)):br(t,e)}catch(r){br(t,e,r)}else{if(u&&r(`The required property '_${t}' did not receive a value. ${void 0===n?"The property stays unset.":"The default value is used instead."}`),void 0===n)return void o(void 0);const e=this.getDefaultValue();if(!this.validate(e))throw new Error(`Default value ${vr(n)} is invalid for prop definition '${t}'.`);o(e)}}}}function pr(t,r,n,e=()=>!0){return{propName:t,getDefaultValue:j(r)?()=>Qt(r):()=>r,normalize:n,validate:e,apply(n,e,o){if(null!=n)try{const r=this.normalize(n,o);this.validate(r,o)?e(r):br(t,n)}catch(r){br(t,n,r)}else{if(void 0===r)return void e(void 0);const n=this.getDefaultValue();if(!this.validate(n,o))throw new Error(`Default value ${vr(r)} is invalid for prop definition '${t}' with dependencies ${vr(o)}.`);e(n)}}}}function yr(){return hr("on",{},(t=>lr(t)))}function dr(t){var r;Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var i=n(t);if(!i.space)return[];const u="h"===i.space[0]?e.min:o.min,a="h"===i.space[0]?e.max:o.max;return(r=Array(3))[0]=Math.min(Math.max(i.values[0],u[0]),a[0]),r[1]=Math.min(Math.max(i.values[1],u[1]),a[1]),r[2]=Math.min(Math.max(i.values[2],u[2]),a[2]),"h"===i.space[0]&&(r=e.rgb(r)),r.push(Math.min(Math.max(i.alpha,0),1)),r}const jr=/[a-zA-Z0-9äöüÄÖÜß]/g,wr=/^\d+$/;function gr(t,r=1){return function(t){var r;return"string"==typeof t&&(null===(r=t.match(jr))||void 0===r?void 0:r.length)||0}(t)>=r}function mr(t){return wr.test(t)}function Or(t){return"string"==typeof t?t.trim():Array.isArray(t)?t.map((t=>t.text)).join("").trim():""}function $r(t){if("object"!=typeof t||null===t)return!1;const r=t;return!!Object.keys(r).every((t=>"text"===t||"lang"===t))&&"string"==typeof r.text&&(void 0===r.lang||"string"==typeof r.lang)}const Ar=t=>t.length>=2||mr(t);function xr(t){return"string"==typeof t?Ar(t):!!Array.isArray(t)&&t.length>0&&t.every($r)&&Ar(Or(t))}const Nr=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i,Sr=t=>"object"==typeof t&&null!==t&&"string"==typeof t.backgroundColor&&"string"==typeof t.foregroundColor,_r=t=>{const r=dr(t);if(!Array.isArray(r)||r.length<3)throw new Error(`Invalid KoliBri color: ${t}`);const[n,e,o]=r;return{red:n,green:e,blue:o}},Er=hr("color",_r("#003c78"),(t=>{if("string"==typeof t&&Nr.test(t))return _r(t);const r=Sr(t)?t:"string"==typeof t?(t=>{if(t.startsWith("{"))try{const r=JSON.parse(t);return Sr(r)?r:void 0}catch(t){return}})(t):void 0;if(r)return _r(r.foregroundColor);throw new Error("Invalid KoliBri color: expected a hex string or a color pair.")})),Mr=new Set(["eager","lazy"]),Ir=hr("loading","lazy",(t=>Xt(t)),(t=>Mr.has(t)));function Fr(t,r){return t<r.min?r.min:t>r.max?r.max:t}const Dr=pr("value",0,((t,r)=>Fr(rr(t),r)),(t=>"number"==typeof t&&!isNaN(t))),kr=Object.assign(Object.assign({},Dr),{apply(t,r,n){Dr.apply(t,(t=>r(Fr(t,n))),n)}}),zr=new Set(["blank","card"]),Tr=hr("variant","blank",(t=>Xt(t)),(t=>zr.has(t))),Br=new Set(["block","inline"]),Cr=hr("variant","inline",(t=>Xt(t)),(t=>Br.has(t)));function Jr(t){var r,n;const e={};for(const o of[...null!==(r=t.required)&&void 0!==r?r:[],...null!==(n=t.optional)&&void 0!==n?n:[]])e[o.propName]=o.getDefaultValue();return e}function Pr(t,r){return Object.assign(Object.assign({},Jr(t)),r)}export{Ar as A,dr as B,Tr as C,nr as D,Cr as E,lr as F,yr as a,Xt as b,hr as c,Jr as d,sr as e,pr as f,ir as g,or as h,cr as i,rr as j,Er as k,Ir as l,kr as m,ur as n,xr as o,Yt as p,gr as q,Pr as r,mr as s,Or as t,tr as u,y as v,d as w,p as x,ar as y,fr as z}
4
+ import{k as t,l as r,m as n,n as e,r as o,b as i}from"./bem-registry.js";import{h as u}from"@stencil/core/internal/client";var a="object"==typeof global&&global&&global.Object===Object&&global,c="object"==typeof self&&self&&self.Object===Object&&self,f=a||c||Function("return this")(),s=f.Symbol,l=Object.prototype,v=l.hasOwnProperty,b=l.toString,h=s?s.toStringTag:void 0,p=Object.prototype.toString,y=s?s.toStringTag:void 0;function d(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":y&&y in Object(t)?function(t){var r=v.call(t,h),n=t[h];try{t[h]=void 0;var e=!0}catch(t){}var o=b.call(t);return e&&(r?t[h]=n:delete t[h]),o}(t):function(t){return p.call(t)}(t)}function j(t){return null!=t&&"object"==typeof t}var w=Array.isArray;function g(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function m(t){if(!g(t))return!1;var r=d(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var O,$=f["__core-js_shared__"],A=(O=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",x=Function.prototype.toString;function N(t){if(null!=t){try{return x.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var S=/^\[object .+?Constructor\]$/,_=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function E(t,r){var n=function(t,r){return null==t?void 0:t[r]}(t,r);return function(t){return!(!g(t)||(r=t,A&&A in r))&&(m(t)?_:S).test(N(t));var r}(n)?n:void 0}var M=E(f,"WeakMap"),I=Object.create,F=function(){function t(){}return function(r){if(!g(r))return{};if(I)return I(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}(),k=function(){try{var t=E(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),D=/^(?:0|[1-9]\d*)$/;function z(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&D.test(t))&&t>-1&&t%1==0&&t<r}function T(t,r){return t===r||t!=t&&r!=r}var B=Object.prototype.hasOwnProperty;function C(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var J=Object.prototype;function P(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||J)}function U(t){return j(t)&&"[object Arguments]"==d(t)}var V=Object.prototype,G=V.hasOwnProperty,q=V.propertyIsEnumerable,K=U(function(){return arguments}())?U:function(t){return j(t)&&G.call(t,"callee")&&!q.call(t,"callee")},R="object"==typeof exports&&exports&&!exports.nodeType&&exports,W=R&&"object"==typeof module&&module&&!module.nodeType&&module,H=W&&W.exports===R?f.Buffer:void 0,L=(H?H.isBuffer:void 0)||function(){return!1},Z={};function Q(t){return function(r){return t(r)}}Z["[object Float32Array]"]=Z["[object Float64Array]"]=Z["[object Int8Array]"]=Z["[object Int16Array]"]=Z["[object Int32Array]"]=Z["[object Uint8Array]"]=Z["[object Uint8ClampedArray]"]=Z["[object Uint16Array]"]=Z["[object Uint32Array]"]=!0,Z["[object Arguments]"]=Z["[object Array]"]=Z["[object ArrayBuffer]"]=Z["[object Boolean]"]=Z["[object DataView]"]=Z["[object Date]"]=Z["[object Error]"]=Z["[object Function]"]=Z["[object Map]"]=Z["[object Number]"]=Z["[object Object]"]=Z["[object RegExp]"]=Z["[object Set]"]=Z["[object String]"]=Z["[object WeakMap]"]=!1;var X="object"==typeof exports&&exports&&!exports.nodeType&&exports,Y=X&&"object"==typeof module&&module&&!module.nodeType&&module,tt=Y&&Y.exports===X&&a.process,rt=function(){try{return Y&&Y.require&&Y.require("util").types||tt&&tt.binding&&tt.binding("util")}catch(t){}}(),nt=rt&&rt.isTypedArray,et=nt?Q(nt):function(t){return j(t)&&C(t.length)&&!!Z[d(t)]},ot=Object.prototype.hasOwnProperty;function it(t,r){return function(n){return t(r(n))}}var ut=it(Object.keys,Object),at=Object.prototype.hasOwnProperty;function ct(t){return null!=(r=t)&&C(r.length)&&!m(r)?function(t){var r=w(t),n=!r&&K(t),e=!r&&!n&&L(t),o=!r&&!n&&!e&&et(t),i=r||n||e||o,u=i?function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}(t.length,String):[],a=u.length;for(var c in t)!ot.call(t,c)||i&&("length"==c||e&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||z(c,a))||u.push(c);return u}(t):function(t){if(!P(t))return ut(t);var r=[];for(var n in Object(t))at.call(t,n)&&"constructor"!=n&&r.push(n);return r}(t);var r}var ft=E(Object,"create"),st=Object.prototype.hasOwnProperty,lt=Object.prototype.hasOwnProperty;function vt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function bt(t,r){for(var n=t.length;n--;)if(T(t[n][0],r))return n;return-1}vt.prototype.clear=function(){this.__data__=ft?ft(null):{},this.size=0},vt.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},vt.prototype.get=function(t){var r=this.__data__;if(ft){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return st.call(r,t)?r[t]:void 0},vt.prototype.has=function(t){var r=this.__data__;return ft?void 0!==r[t]:lt.call(r,t)},vt.prototype.set=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ft&&void 0===r?"__lodash_hash_undefined__":r,this};var ht=Array.prototype.splice;function pt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}pt.prototype.clear=function(){this.__data__=[],this.size=0},pt.prototype.delete=function(t){var r=this.__data__,n=bt(r,t);return!(n<0||(n==r.length-1?r.pop():ht.call(r,n,1),--this.size,0))},pt.prototype.get=function(t){var r=this.__data__,n=bt(r,t);return n<0?void 0:r[n][1]},pt.prototype.has=function(t){return bt(this.__data__,t)>-1},pt.prototype.set=function(t,r){var n=this.__data__,e=bt(n,t);return e<0?(++this.size,n.push([t,r])):n[e][1]=r,this};var yt=E(f,"Map");function dt(t,r){var n,e,o=t.__data__;return("string"==(e=typeof(n=r))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function jt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}jt.prototype.clear=function(){this.size=0,this.__data__={hash:new vt,map:new(yt||pt),string:new vt}},jt.prototype.delete=function(t){var r=dt(this,t).delete(t);return this.size-=r?1:0,r},jt.prototype.get=function(t){return dt(this,t).get(t)},jt.prototype.has=function(t){return dt(this,t).has(t)},jt.prototype.set=function(t,r){var n=dt(this,t),e=n.size;return n.set(t,r),this.size+=n.size==e?0:1,this};var wt=it(Object.getPrototypeOf,Object);function gt(t){var r=this.__data__=new pt(t);this.size=r.size}gt.prototype.clear=function(){this.__data__=new pt,this.size=0},gt.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},gt.prototype.get=function(t){return this.__data__.get(t)},gt.prototype.has=function(t){return this.__data__.has(t)},gt.prototype.set=function(t,r){var n=this.__data__;if(n instanceof pt){var e=n.__data__;if(!yt||e.length<199)return e.push([t,r]),this.size=++n.size,this;n=this.__data__=new jt(e)}return n.set(t,r),this.size=n.size,this},"object"==typeof exports&&exports&&!exports.nodeType&&exports&&"object"==typeof module&&module&&!module.nodeType&&module;var mt=Object.prototype.propertyIsEnumerable,Ot=Object.getOwnPropertySymbols,$t=Ot?function(t){return null==t?[]:(t=Object(t),function(r){for(var n=-1,e=null==r?0:r.length,o=0,i=[];++n<e;){var u=r[n];mt.call(t,u)&&(i[o++]=u)}return i}(Ot(t)))}:function(){return[]};var At=E(f,"DataView"),xt=E(f,"Promise"),Nt=E(f,"Set"),St="[object Map]",_t="[object Promise]",Et="[object Set]",Mt="[object WeakMap]",It="[object DataView]",Ft=N(At),kt=N(yt),Dt=N(xt),zt=N(Nt),Tt=N(M),Bt=d;(At&&Bt(new At(new ArrayBuffer(1)))!=It||yt&&Bt(new yt)!=St||xt&&Bt(xt.resolve())!=_t||Nt&&Bt(new Nt)!=Et||M&&Bt(new M)!=Mt)&&(Bt=function(t){var r=d(t),n="[object Object]"==r?t.constructor:void 0,e=n?N(n):"";if(e)switch(e){case Ft:return It;case kt:return St;case Dt:return _t;case zt:return Et;case Tt:return Mt}return r});var Ct=Object.prototype.hasOwnProperty,Jt=f.Uint8Array;function Pt(t){var r=new t.constructor(t.byteLength);return new Jt(r).set(new Jt(t)),r}var Ut=/\w*$/,Vt=s?s.prototype:void 0,Gt=Vt?Vt.valueOf:void 0;var qt=rt&&rt.isMap,Kt=qt?Q(qt):function(t){return j(t)&&"[object Map]"==Bt(t)},Rt=rt&&rt.isSet,Wt=Rt?Q(Rt):function(t){return j(t)&&"[object Set]"==Bt(t)},Ht="[object Arguments]",Lt="[object Function]",Zt="[object Object]",Qt={};function Xt(t,r,n,e,o,i){var u;if(void 0!==u)return u;if(!g(t))return t;var a=w(t);if(a)u=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&Ct.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t);else{var c=Bt(t),f=c==Lt||"[object GeneratorFunction]"==c;if(L(t))return t.slice();if(c==Zt||c==Ht||f&&!o)u=f?{}:function(t){return"function"!=typeof t.constructor||P(t)?{}:F(wt(t))}(t);else{if(!Qt[c])return o?t:{};u=function(t,r){var n,e,o,i,u=t.constructor;switch(r){case"[object ArrayBuffer]":return Pt(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i=Pt((o=t).buffer),new o.constructor(i,o.byteOffset,o.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t){var r=Pt(t.buffer);return new t.constructor(r,t.byteOffset,t.length)}(t);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return(e=new(n=t).constructor(n.source,Ut.exec(n))).lastIndex=n.lastIndex,e;case"[object Symbol]":return Gt?Object(Gt.call(t)):{}}}(t,c)}}i||(i=new gt);var s=i.get(t);if(s)return s;i.set(t,u),Wt(t)?t.forEach((function(e){u.add(Xt(e,r,n,0,t,i))})):Kt(t)&&t.forEach((function(e,o){u.set(o,Xt(e,r,n,0,t,i))}));var l=a?void 0:function(t){return function(t,r,n){var e=ct(t);return w(t)?e:function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}(e,n(t))}(t,0,$t)}(t);return function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n););}(l||t,(function(e,o){l&&(e=t[o=e]),function(t,r,n){var e=t[r];B.call(t,r)&&T(e,n)&&(void 0!==n||r in t)||function(t,r,n){"__proto__"==r&&k?k(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}(t,r,n)}(u,o,Xt(e,r,n,0,t,i))})),u}function Yt(t){return Xt(t,5)}function tr(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);throw new TypeError(`Cannot convert ${typeof t} to string`)}function rr(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);if(Array.isArray(t)&&t.every(xr))return t;throw new TypeError(`Cannot convert ${typeof t} to a label`)}function nr(t){let r;try{r=er(t)}catch(r){throw new Error(`Invalid integer: ${String(t)}`)}return Number.isInteger(r)?r:Math.round(r)}function er(t){if("number"==typeof t&&!isNaN(t))return t;if("string"==typeof t&&""!==t.trim()){const r=Number(t);if(!isNaN(r))return r}throw new Error(`Invalid number: ${String(t)}`)}function or(t){if("number"==typeof t&&!isNaN(t))return t;throw new Error(`Invalid number: ${String(t)}`)}Qt[Ht]=Qt["[object Array]"]=Qt["[object ArrayBuffer]"]=Qt["[object DataView]"]=Qt["[object Boolean]"]=Qt["[object Date]"]=Qt["[object Float32Array]"]=Qt["[object Float64Array]"]=Qt["[object Int8Array]"]=Qt["[object Int16Array]"]=Qt["[object Int32Array]"]=Qt["[object Map]"]=Qt["[object Number]"]=Qt[Zt]=Qt["[object RegExp]"]=Qt["[object Set]"]=Qt["[object String]"]=Qt["[object Symbol]"]=Qt["[object Uint8Array]"]=Qt["[object Uint8ClampedArray]"]=Qt["[object Uint16Array]"]=Qt["[object Uint32Array]"]=!0,Qt["[object Error]"]=Qt[Lt]=Qt["[object WeakMap]"]=!1;const ir=/^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;function ur(t){return"string"==typeof t&&ir.test(t)&&Number.isFinite(Number(t))}function ar(t){if("number"==typeof t)return isNaN(t)?void 0:t;if(ur(t))return parseFloat(t);throw new Error(`Invalid number: ${t}`)}function cr(t){if("boolean"==typeof t)return t;if("string"==typeof t){const r=t.toLowerCase();if("true"===r||"false"===r)return"true"===r}throw new Error(`Invalid boolean: ${String(t)}`)}function fr(t,r){if(!0===t||"true"===t)return"true";if(!1===t||"false"===t)return"false";if(""===t)return"";throw new Error(`Invalid ${r} value: expected a boolean, got ${JSON.stringify(t)}`)}function sr(t,r){return"string"==typeof t&&r.includes(t)}function lr(r){if(t(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n))return n}throw new Error(`Invalid object: ${r}`)}function vr(r){if(t(r)&&Array.isArray(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n)&&Array.isArray(n))return n}throw new Error(`Invalid array: ${r}`)}function br(t){if("object"==typeof t&&null!==t)return t;throw new Error("Invalid on callbacks: expected object, got "+typeof t)}function hr(t){try{return JSON.stringify(t)}catch(t){return"[unserializable]"}}function pr(t,n,e){const o=e instanceof Error?` (${e.message})`:"";r(`The property value ${hr(n)} for '${t}' is not valid${o}. The value is ignored.`)}function yr(t,n,e,o=()=>!0,i){return{propName:t,getDefaultValue:g(n)?()=>Yt(n):()=>n,normalize:e,validate:o,apply(e,o,u){var a;if(null!=e)try{const r=this.normalize(e);this.validate(r)?(null===(a=null==i?void 0:i.hints)||void 0===a||a.call(i,this.propName,r),o(r)):pr(t,e)}catch(r){pr(t,e,r)}else{if(u&&r(`The required property '_${t}' did not receive a value. ${void 0===n?"The property stays unset.":"The default value is used instead."}`),void 0===n)return void o(void 0);const e=this.getDefaultValue();if(!this.validate(e))throw new Error(`Default value ${hr(n)} is invalid for prop definition '${t}'.`);o(e)}}}}function dr(t,r,n,e=()=>!0){return{propName:t,getDefaultValue:g(r)?()=>Yt(r):()=>r,normalize:n,validate:e,apply(n,e,o){if(null!=n)try{const r=this.normalize(n,o);this.validate(r,o)?e(r):pr(t,n)}catch(r){pr(t,n,r)}else{if(void 0===r)return void e(void 0);const n=this.getDefaultValue();if(!this.validate(n,o))throw new Error(`Default value ${hr(r)} is invalid for prop definition '${t}' with dependencies ${hr(o)}.`);e(n)}}}}function jr(){return yr("on",{},(t=>br(t)))}function wr(t){var r;Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var i=n(t);if(!i.space)return[];const u="h"===i.space[0]?e.min:o.min,a="h"===i.space[0]?e.max:o.max;return(r=Array(3))[0]=Math.min(Math.max(i.values[0],u[0]),a[0]),r[1]=Math.min(Math.max(i.values[1],u[1]),a[1]),r[2]=Math.min(Math.max(i.values[2],u[2]),a[2]),"h"===i.space[0]&&(r=e.rgb(r)),r.push(Math.min(Math.max(i.alpha,0),1)),r}const gr=/[a-zA-Z0-9äöüÄÖÜß]/g,mr=/^\d+$/;function Or(t,r=1){return function(t){var r;return"string"==typeof t&&(null===(r=t.match(gr))||void 0===r?void 0:r.length)||0}(t)>=r}function $r(t){return mr.test(t)}function Ar(t){return"string"==typeof t?t.trim():Array.isArray(t)?t.map((t=>t.text)).join("").trim():""}function xr(t){if("object"!=typeof t||null===t)return!1;const r=t;return!!Object.keys(r).every((t=>"text"===t||"lang"===t))&&"string"==typeof r.text&&(void 0===r.lang||"string"==typeof r.lang)}const Nr=t=>t.length>=2||$r(t);function Sr(t){return"string"==typeof t?Nr(t):!!Array.isArray(t)&&t.length>0&&t.every(xr)&&Nr(Ar(t))}const _r=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i,Er=t=>"object"==typeof t&&null!==t&&"string"==typeof t.backgroundColor&&"string"==typeof t.foregroundColor,Mr=t=>{const r=wr(t);if(!Array.isArray(r)||r.length<3)throw new Error(`Invalid KoliBri color: ${t}`);const[n,e,o]=r;return{red:n,green:e,blue:o}},Ir=yr("color",Mr("#003c78"),(t=>{if("string"==typeof t&&_r.test(t))return Mr(t);const r=Er(t)?t:"string"==typeof t?(t=>{if(t.startsWith("{"))try{const r=JSON.parse(t);return Er(r)?r:void 0}catch(t){return}})(t):void 0;if(r)return Mr(r.foregroundColor);throw new Error("Invalid KoliBri color: expected a hex string or a color pair.")})),Fr=new Set(["eager","lazy"]),kr=yr("loading","lazy",(t=>tr(t)),(t=>Fr.has(t)));function Dr(t,r){return t<r.min?r.min:t>r.max?r.max:t}const zr=dr("value",0,((t,r)=>Dr(er(t),r)),(t=>"number"==typeof t&&!isNaN(t))),Tr=Object.assign(Object.assign({},zr),{apply(t,r,n){zr.apply(t,(t=>r(Dr(t,n))),n)}}),Br=new Set(["blank","card"]),Cr=yr("variant","blank",(t=>tr(t)),(t=>Br.has(t))),Jr=new Set(["block","inline"]),Pr=yr("variant","inline",(t=>tr(t)),(t=>Jr.has(t))),Ur=t=>{let r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t&&null!==t)if(Array.isArray(t)){for(const n of t)if(n){const t=Ur(n);t&&(r&&(r+=" "),r+=t)}}else for(const n in t)t[n]&&(r&&(r+=" "),r+=n);return r},Vr=(...t)=>{let r="";for(const n of t)if(n){const t=Ur(n);t&&(r&&(r+=" "),r+=t)}return r},Gr=new Map;function qr(t){let r=Gr.get(t);return r||(r=i.forBlock(t),Gr.set(t,r)),r}const Kr=(t,r)=>{var n;const e=qr(t.block),o=Vr(e(t.modifiers),t.class),i={};for(const[r,n]of Object.entries(t))"block"===r?i.class=o:"class"!==r&&"component"!==r&&"modifiers"!==r&&(i[r]=n);const a=null!==(n=t.component)&&void 0!==n?n:"div";return u(a,Object.assign({},i),r)};function Rr(t){var r,n;const e={};for(const o of[...null!==(r=t.required)&&void 0!==r?r:[],...null!==(n=t.optional)&&void 0!==n?n:[]])e[o.propName]=o.getDefaultValue();return e}function Wr(t,r){return Object.assign(Object.assign({},Rr(t)),r)}export{fr as A,Kr as B,lr as C,Nr as D,wr as E,Cr as F,or as G,Pr as H,br as I,jr as a,tr as b,yr as c,Rr as d,Vr as e,vr as f,qr as g,dr as h,sr as i,ar as j,ur as k,kr as l,Ir as m,cr as n,er as o,Tr as p,Sr as q,Wr as r,rr as s,Ar as t,Or as u,$r as v,nr as w,j as x,w as y,d as z}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{X as a}from"./bem-registry.js";import{a as o,b as s,c as i,f as r,g as t,h as l,i as n,l as e,d,s as m,e as p,t as u,v as c}from"./component3.js";import{b as f,a as b,c as v,d as j,n as y}from"./component9.js";import{d as g}from"./disabled.js";import{i as h}from"./id.js";import{d as x}from"./props-from-config.js";import{l as C}from"./label-with-expert-slot.js";function D(D,K){var w,A,E,I,L,S,V;const k=x(f),q=a=>o=>{k[a]=o};return C.apply(D._label,q("label")),o.apply(D._accessKey,q("accessKey")),s.apply(D._ariaControls,q("ariaControls")),i.apply(D._ariaDescription,q("ariaDescription")),r.apply(D._ariaExpanded,q("ariaExpanded")),b.apply(D._ariaSelected,q("ariaSelected")),v.apply(D._on,q("on")),j.apply(null!==(w=D._type)&&void 0!==w?w:"button",q("type")),t.apply(D._customClass,q("customClass")),g.apply(null!==(A=D._disabled)&&void 0!==A&&A,q("disabled")),l.apply(null!==(E=D._hideLabel)&&void 0!==E&&E,q("hideLabel")),h.apply(D._id,q("id")),n.apply(null!==(I=D._inline)&&void 0!==I&&I,q("inline")),e.apply(D._role,q("role")),y.apply(D._name,q("name")),d.apply(D._shortKey,q("shortKey")),m.apply(D._icons,q("icons")),p.apply(null!==(L=D._tooltipAlign)&&void 0!==L?L:"top",q("tooltipAlign")),"number"==typeof D._tabIndex?u.apply(D._tabIndex,q("tabIndex")):k.tabIndex=void 0,c.apply(null!==(V=null!==(S=D._variant)&&void 0!==S?S:a("buttonVariantDefault",K))&&void 0!==V?V:"normal",q("variant")),k}export{D as r}
4
+ import{X as a}from"./bem-registry.js";import{a as o,b as s,c as i,f as r,g as t,h as l,i as n,l as e,d,s as m,e as p,t as u,v as c}from"./component2.js";import{b as f,a as b,c as v,d as j,n as y}from"./component8.js";import{d as g}from"./disabled.js";import{i as h}from"./id.js";import{d as x}from"./props-from-config.js";import{l as C}from"./label-with-expert-slot.js";function D(D,K){var w,A,E,I,L,S,V;const k=x(f),q=a=>o=>{k[a]=o};return C.apply(D._label,q("label")),o.apply(D._accessKey,q("accessKey")),s.apply(D._ariaControls,q("ariaControls")),i.apply(D._ariaDescription,q("ariaDescription")),r.apply(D._ariaExpanded,q("ariaExpanded")),b.apply(D._ariaSelected,q("ariaSelected")),v.apply(D._on,q("on")),j.apply(null!==(w=D._type)&&void 0!==w?w:"button",q("type")),t.apply(D._customClass,q("customClass")),g.apply(null!==(A=D._disabled)&&void 0!==A&&A,q("disabled")),l.apply(null!==(E=D._hideLabel)&&void 0!==E&&E,q("hideLabel")),h.apply(D._id,q("id")),n.apply(null!==(I=D._inline)&&void 0!==I&&I,q("inline")),e.apply(D._role,q("role")),y.apply(D._name,q("name")),d.apply(D._shortKey,q("shortKey")),m.apply(D._icons,q("icons")),p.apply(null!==(L=D._tooltipAlign)&&void 0!==L?L:"top",q("tooltipAlign")),"number"==typeof D._tabIndex?u.apply(D._tabIndex,q("tabIndex")):k.tabIndex=void 0,c.apply(null!==(V=null!==(S=D._variant)&&void 0!==S?S:a("buttonVariantDefault",K))&&void 0!==V?V:"normal",q("variant")),k}export{D as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{v as a}from"./access-and-short-key.js";import"./bem-registry.js";import{a as s,b as o,c as r,f as i,g as t,h as e,s as l,i as n,l as m,d,e as p,v as f,t as c}from"./component3.js";import{l as b,a as u,c as h,d as j,b as v}from"./component6.js";import{d as g}from"./disabled.js";import{h as y}from"./href.js";import{d as x}from"./props-from-config.js";import{l as w}from"./label-with-expert-slot.js";import{l as C}from"./link-target.js";function k(k){var K,A,D,E;const I=x(b),L=a=>s=>{I[a]=s};return y.apply(k._href,L("href")),s.apply(k._accessKey,L("accessKey")),o.apply(k._ariaControls,L("ariaControls")),u.apply(k._ariaCurrentValue,L("ariaCurrentValue")),r.apply(k._ariaDescription,L("ariaDescription")),i.apply(k._ariaExpanded,L("ariaExpanded")),h.apply(k._ariaOwns,L("ariaOwns")),t.apply(k._customClass,L("customClass")),g.apply(null!==(K=k._disabled)&&void 0!==K&&K,L("disabled")),j.apply(k._download,L("download")),e.apply(null!==(A=k._hideLabel)&&void 0!==A&&A,L("hideLabel")),l.apply(k._icons,L("icons")),n.apply(null===(D=k._inline)||void 0===D||D,L("inline")),w.apply(k._label,L("label")),v.apply(k._on,L("on")),m.apply(k._role,L("role")),d.apply(k._shortKey,L("shortKey")),C.apply(k._target,L("target")),p.apply(null!==(E=k._tooltipAlign)&&void 0!==E?E:"right",L("tooltipAlign")),f.apply(k._variant,L("variant")),"number"==typeof k._tabIndex?c.apply(k._tabIndex,L("tabIndex")):I.tabIndex=void 0,a(k._accessKey,k._shortKey),I}export{k as r}
4
+ import{v as a}from"./access-and-short-key.js";import"./bem-registry.js";import{a as s,b as o,c as r,f as i,g as t,h as e,s as l,i as n,l as m,d,e as p,v as f,t as c}from"./component2.js";import{l as b,a as u,c as h,d as j,b as v}from"./component5.js";import{d as g}from"./disabled.js";import{h as y}from"./href.js";import{d as x}from"./props-from-config.js";import{l as w}from"./label-with-expert-slot.js";import{l as C}from"./link-target.js";function k(k){var K,A,D,E;const I=x(b),L=a=>s=>{I[a]=s};return y.apply(k._href,L("href")),s.apply(k._accessKey,L("accessKey")),o.apply(k._ariaControls,L("ariaControls")),u.apply(k._ariaCurrentValue,L("ariaCurrentValue")),r.apply(k._ariaDescription,L("ariaDescription")),i.apply(k._ariaExpanded,L("ariaExpanded")),h.apply(k._ariaOwns,L("ariaOwns")),t.apply(k._customClass,L("customClass")),g.apply(null!==(K=k._disabled)&&void 0!==K&&K,L("disabled")),j.apply(k._download,L("download")),e.apply(null!==(A=k._hideLabel)&&void 0!==A&&A,L("hideLabel")),l.apply(k._icons,L("icons")),n.apply(null===(D=k._inline)||void 0===D||D,L("inline")),w.apply(k._label,L("label")),v.apply(k._on,L("on")),m.apply(k._role,L("role")),d.apply(k._shortKey,L("shortKey")),C.apply(k._target,L("target")),p.apply(null!==(E=k._tooltipAlign)&&void 0!==E?E:"right",L("tooltipAlign")),f.apply(k._variant,L("variant")),"number"==typeof k._tabIndex?c.apply(k._tabIndex,L("tabIndex")):I.tabIndex=void 0,a(k._accessKey,k._shortKey),I}export{k as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as o,j as r}from"./props-from-config.js";const s=o("rows",void 0,r,(o=>o>=1));export{s as r}
4
+ import{c as o,o as r}from"./props-from-config.js";const s=o("rows",void 0,r,(o=>o>=1));export{s as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o}from"@stencil/core/internal/client";import{b as e}from"./bem-registry.js";import{c as l}from"./clsx.js";const n=e.forBlock("kol-dialog"),d=e.forBlock("kol-modal"),i=o=>l(n(),d(),n(o),d(o)),a=(e,n)=>{const{blockClass:d,class:i,handleCancel:a,handleClose:t,label:r,labelledBy:s,modal:f,refDialog:c,width:u}=e;return o("dialog",{"aria-label":s?void 0:r,"aria-labelledby":s,"aria-modal":f?"true":"false",class:l(d,i),onCancel:a,onClose:t,ref:c,style:u?{width:u}:void 0},n)},t=new Set;let r=null,s=null;function f(o){if("undefined"!=typeof document&&"undefined"!=typeof window&&!t.has(o)){if(0===t.size){const o=document.documentElement;r=o.style.getPropertyValue("overflow"),s=o.style.getPropertyValue("padding-right");const e=window.innerWidth-o.clientWidth;if(e>0){const l=Number.parseFloat(window.getComputedStyle(o).paddingRight)||0;o.style.setProperty("padding-right",`${l+e}px`)}o.style.setProperty("overflow","hidden")}t.add(o)}}function c(o){if("undefined"!=typeof document&&"undefined"!=typeof window&&t.delete(o)&&0===t.size){const o=document.documentElement;r?o.style.setProperty("overflow",r):o.style.removeProperty("overflow"),s?o.style.setProperty("padding-right",s):o.style.removeProperty("padding-right"),r=null,s=null}}export{a as D,i as d,f as l,c as u}
4
+ import{h as o}from"@stencil/core/internal/client";import{b as e}from"./bem-registry.js";import{B as l,e as n}from"./props-from-config.js";const a=e.forBlock("kol-dialog"),i=e.forBlock("kol-modal"),d=(e,d)=>{const{class:t,elementClass:r,handleCancel:s,handleClose:f,label:c,labelledBy:m,modal:u,refDialog:p,variant:w,width:g}=e;return void 0!==w?o(l,{component:"dialog","aria-label":m?void 0:c,"aria-labelledby":m,"aria-modal":u?"true":"false",block:"kol-dialog",class:n(i(),a(w),i(w),t),onCancel:s,onClose:f,ref:p,style:g?{width:g}:void 0},d):o("dialog",{"aria-label":m?void 0:c,"aria-labelledby":m,"aria-modal":u?"true":"false",class:n(r,t),onCancel:s,onClose:f,ref:p,style:g?{width:g}:void 0},d)},t=new Set;let r=null,s=null;function f(o){if("undefined"!=typeof document&&"undefined"!=typeof window&&!t.has(o)){if(0===t.size){const o=document.documentElement;r=o.style.getPropertyValue("overflow"),s=o.style.getPropertyValue("padding-right");const e=window.innerWidth-o.clientWidth;if(e>0){const l=Number.parseFloat(window.getComputedStyle(o).paddingRight)||0;o.style.setProperty("padding-right",`${l+e}px`)}o.style.setProperty("overflow","hidden")}t.add(o)}}function c(o){if("undefined"!=typeof document&&"undefined"!=typeof window&&t.delete(o)&&0===t.size){const o=document.documentElement;r?o.style.setProperty("overflow",r):o.style.removeProperty("overflow"),s?o.style.setProperty("padding-right",s):o.style.removeProperty("padding-right"),r=null,s=null}}export{d as D,f as l,c as u}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as o,g as s}from"./props-from-config.js";const p=o("step",void 0,s);export{p as s}
4
+ import{c as o,j as s}from"./props-from-config.js";const p=o("step",void 0,s);export{p as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./bem-registry.js";import{l as e}from"./level.js";import{a as o}from"./props-from-config.js";import{d as s}from"./disabled.js";import{l as n}from"./label-lang-segment.js";import{o as i}from"./open.js";import{h as t}from"@stencil/core/internal/client";import{K as a}from"./Heading.js";import{c as r}from"./clsx.js";import{p as l}from"./element-interaction.js";import{g as d}from"./block-bem.js";import{S as m}from"./component7.js";import{d as c,K as p}from"./events.js";const u=o(),f={optional:[u,s,e,i],required:[n]},b=({block:e,contentClass:o,controlId:s,detailsOpen:n,disabled:i,expanded:c,handleToggle:p,headingId:u,icons:f,label:b,level:v,refHeadingButton:g,transitionMs:j},T)=>{const y=d(e);return t("details",{class:y({disabled:!0===i,open:!0===c}),open:!0===n,style:{"--collapsible-transition-duration":`${j}ms`}},t("summary",{"aria-controls":s,"aria-disabled":!0===i?"true":void 0,class:y("heading"),id:u,onClick:p,onMouseDown:!0===i?l:void 0,ref:g,tabIndex:!0===i?-1:void 0},t(a,{level:null!=v?v:0},t(m,{icons:f,label:b}))),t("div",{class:y("wrapper")},t("div",{class:y("wrapper-animation")},t("div",{"aria-hidden":!1===c?"true":void 0,"aria-labelledby":u,class:r(y("content"),o),id:s,role:"region"},T))))},v=300;function g({getTransitionMs:e,setDetailsOpen:o,setExpanded:s}){let n,i;const t=()=>{null==n||n(),n=void 0,clearTimeout(i),i=void 0};return{syncOpen(a,r){if(t(),a)return o(!0),void(r?n=function(e){if("function"==typeof requestAnimationFrame){const o=requestAnimationFrame(e);return()=>cancelAnimationFrame(o)}const o=setTimeout(e,0);return()=>clearTimeout(o)}((()=>s(!0))):s(!0));s(!1),r?i=setTimeout((()=>o(!1)),e()):o(!1)},dispose:t}}function j({getHost:e,getOn:o,isDisabled:s,isOpen:n,setOpen:i}){return t=>{if(t.preventDefault(),s())return;const a=!n();i(a),setTimeout((()=>{var s,n;const i=e();i&&(c(i,p.click,a),c(i,p.toggle,a));const r=o();null===(s=r.onClick)||void 0===s||s.call(r,t,a),null===(n=r.onToggle)||void 0===n||n.call(r,t,a)}),25)}}export{b as C,v as D,j as a,f as b,g as c,u as d}
4
+ import"./bem-registry.js";import{l as e}from"./level.js";import{a as o,g as n,B as i,e as s}from"./props-from-config.js";import{d as t}from"./disabled.js";import{l as a}from"./label-lang-segment.js";import{o as r}from"./open.js";import{h as l}from"@stencil/core/internal/client";import{K as d}from"./Heading.js";import{p as m}from"./element-interaction.js";import{S as c}from"./component6.js";import{d as p,K as u}from"./events.js";const f=o(),v={optional:[f,t,e,r],required:[a]},b=({block:e,contentClass:o,controlId:t,detailsOpen:a,disabled:r,expanded:p,handleToggle:u,headingId:f,icons:v,label:b,level:g,refHeadingButton:j,transitionMs:T},y)=>{const O=n(e);return l(i,{component:"details",block:e,modifiers:{disabled:!0===r,open:!0===p},open:!0===a,style:{"--collapsible-transition-duration":`${T}ms`}},l("summary",{"aria-controls":t,"aria-disabled":!0===r?"true":void 0,class:O("heading"),id:f,onClick:u,onMouseDown:!0===r?m:void 0,ref:j,tabIndex:!0===r?-1:void 0},l(d,{level:null!=g?g:0},l(c,{icons:v,label:b}))),l("div",{class:O("wrapper")},l("div",{class:O("wrapper-animation")},l("div",{"aria-hidden":!1===p?"true":void 0,"aria-labelledby":f,class:s(O("content"),o),id:t,role:"region"},y))))},g=300;function j({getTransitionMs:e,setDetailsOpen:o,setExpanded:n}){let i,s;const t=()=>{null==i||i(),i=void 0,clearTimeout(s),s=void 0};return{syncOpen(a,r){if(t(),a)return o(!0),void(r?i=function(e){if("function"==typeof requestAnimationFrame){const o=requestAnimationFrame(e);return()=>cancelAnimationFrame(o)}const o=setTimeout(e,0);return()=>clearTimeout(o)}((()=>n(!0))):n(!0));n(!1),r?s=setTimeout((()=>o(!1)),e()):o(!1)},dispose:t}}function T({getHost:e,getOn:o,isDisabled:n,isOpen:i,setOpen:s}){return t=>{if(t.preventDefault(),n())return;const a=!i();s(a),setTimeout((()=>{var n,i;const s=e();s&&(p(s,u.click,a),p(s,u.toggle,a));const r=o();null===(n=r.onClick)||void 0===n||n.call(r,t,a),null===(i=r.onToggle)||void 0===i||i.call(r,t,a)}),25)}}export{b as C,g as D,T as a,v as b,j as c,f as d}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as s,j as o,b as a}from"./props-from-config.js";const m=s("max",100,o,(s=>s>0)),r=s("unit","%",a,(s=>s.length>0));export{m,r as u}
4
+ import{c as o,o as s,b as a}from"./props-from-config.js";const m=o("max",100,s,(o=>o>0)),r=o("unit","%",a,(o=>o.length>0));export{m,r as u}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{o as s,A as a}from"./props-from-config.js";const o=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/,r=s=>"string"==typeof s&&o.test(s),p=a,t=a=>""===a||s(a),f=s=>""===s||p(s);export{r as a,t as b,p as c,f as i}
4
+ import{q as s,D as a}from"./props-from-config.js";const o=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/,r=s=>"string"==typeof s&&o.test(s),p=a,t=a=>""===a||s(a),f=s=>""===s||p(s);export{r as a,t as b,p as c,f as i}
@@ -2,8 +2,8 @@
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
4
  import { a as __rest } from './tslib.es6-QNbPBOk5.js';
5
- import { h } from './index-Dulj0jro.js';
6
- import { c as clsx } from './clsx-COFh-Vc8.js';
5
+ import { h } from './index-Bbr6Os1b.js';
6
+ import { e as clsx } from './props-from-config-BOUcpF7e.js';
7
7
 
8
8
  const MIN_HEADING_LEVEL = 1;
9
9
  const MAX_HEADING_LEVEL = 6;
@@ -3,28 +3,26 @@
3
3
  */
4
4
  import { a as __rest } from './tslib.es6-QNbPBOk5.js';
5
5
  import { p as parseJson, j as isObject, D as isString } from './common-BdSzSIXg.js';
6
- import { S as SpanFC, b as buildBadgeTextString, s as showExpertSlot } from './component-oUQcgxDj.js';
7
- import { r as resolveTargets } from './aria-labelledby-CLehu03h.js';
8
- import { c as createPropDefinition, n as normalizeBoolean, b as normalizeString, a as createCallbacksPropDefinition, t as trimLabel } from './props-from-config-ytxYrJUY.js';
9
- import { a as createRelatedUniqueId, c as createUniqueId, n as nonce } from './dev.utils-DDWOHUcg.js';
6
+ import { S as SpanFC, b as buildBadgeTextString, s as showExpertSlot } from './component-hiabKVP3.js';
7
+ import { r as resolveTargets } from './aria-labelledby-DqJY_4G-.js';
8
+ import { c as createPropDefinition, b as normalizeString, n as normalizeBoolean, a as createCallbacksPropDefinition, e as clsx, B as BemRootNodeFC, t as trimLabel } from './props-from-config-BOUcpF7e.js';
9
+ import { a as createRelatedUniqueId, c as createUniqueId, n as nonce } from './dev.utils-B0t4rcBV.js';
10
10
  import { K as KolEvent, d as dispatchDomEvent } from './events-CRHxtwup.js';
11
- import { F as FormAssociationBehavior, a as ariaDetailsProp } from './behavior-CkPQGfgo.js';
12
- import { d as disabledProp } from './disabled-BZXlWAgK.js';
13
- import { j as classNameFromVariant, h as hideLabelProp, e as tooltipAlignProp } from './component-C79oAu7a.js';
14
- import { l as labelWithExpertSlotProp } from './label-with-expert-slot-BbZ9nx0l.js';
15
- import { n as nameProp } from './component-B16Fbp3W.js';
16
- import { B as BaseWebComponent } from './base-web-component-CC_gpyDb.js';
17
- import { c as createButtonItem } from './item-8RKFpmbd.js';
18
- import { c as createPopoverButtonItem } from './item-DHZGDrAn.js';
19
- import { T as TooltipBehavior } from './behavior-Bb7JYoUn.js';
20
- import { h } from './index-Dulj0jro.js';
21
- import { t as translate } from './i18n-ePBcLlCr.js';
22
- import { b as bem } from './bem-registry-DQUGxdIS.js';
23
- import { c as clsx } from './clsx-COFh-Vc8.js';
24
- import { B as BemRootNodeFC } from './component-B05zRrM0.js';
25
- import { T as TooltipFC } from './component-W1KZI4h4.js';
26
- import { P as PopoverButtonFC } from './component-Bc2pdOk1.js';
27
- import { A as AlertFC } from './component-BI8jDgBz.js';
11
+ import { d as disabledProp } from './disabled-B2o4Ctgy.js';
12
+ import { j as classNameFromVariant, h as hideLabelProp, e as tooltipAlignProp } from './component-DEwcJKDA.js';
13
+ import { l as labelWithExpertSlotProp } from './label-with-expert-slot-D1tpX9DI.js';
14
+ import { n as nameProp } from './component-CNgECeRi.js';
15
+ import { B as BaseWebComponent } from './base-web-component-CYPdDdRn.js';
16
+ import { c as createButtonItem } from './item-hsQoejqZ.js';
17
+ import { F as FormAssociationBehavior } from './behavior-DlH8byIw.js';
18
+ import { c as createPopoverButtonItem } from './item-Dms_59sU.js';
19
+ import { T as TooltipBehavior } from './behavior-B6y5Gofe.js';
20
+ import { h } from './index-Bbr6Os1b.js';
21
+ import { t as translate } from './i18n-BLkzMf6D.js';
22
+ import { b as bem } from './bem-registry-SKACeCny.js';
23
+ import { T as TooltipFC } from './component-B8UMedaK.js';
24
+ import { P as PopoverButtonFC } from './component-CSsUaL_h.js';
25
+ import { A as AlertFC } from './component-ZdHnXLLI.js';
28
26
 
29
27
  function isMsgDefinedAndInputTouched(msg, touched) {
30
28
  return Boolean(msg) && touched === true;
@@ -51,6 +49,8 @@ function getMsgType(msg) {
51
49
  return (_a = msg === null || msg === void 0 ? void 0 : msg._type) !== null && _a !== void 0 ? _a : 'error';
52
50
  }
53
51
 
52
+ const ariaDetailsProp = createPropDefinition('ariaDetails', '', normalizeString);
53
+
54
54
  const hideMsgProp = createPropDefinition('hideMsg', false, normalizeBoolean);
55
55
 
56
56
  const hintProp = createPropDefinition('hint', '', normalizeString);
@@ -253,7 +253,6 @@ class BaseFormFieldWebComponent extends BaseWebComponent {
253
253
  }
254
254
  applyAriaDetails(value) {
255
255
  ariaDetailsProp.apply(value, (v) => this.shared.setRenderProp('ariaDetails', v));
256
- this.formAssociation.watchAriaDetails(value);
257
256
  this.syncAriaDetails();
258
257
  }
259
258
  syncAriaDetails() {
@@ -2,7 +2,7 @@
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
4
  import { L as Log, d as de, w } from './common-BdSzSIXg.js';
5
- import { a as setMode } from './index-Dulj0jro.js';
5
+ import { a as setMode } from './index-Bbr6Os1b.js';
6
6
 
7
7
  var script = () => {
8
8
  setMode((elm) => {
@@ -15,7 +15,7 @@ var script = () => {
15
15
  }
16
16
  return 'default';
17
17
  });
18
- import('./devtools-B0kEE_za.js')
18
+ import('./devtools-DuJRc6wJ.js')
19
19
  .then((devTools) => {
20
20
  if (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {
21
21
  devTools.initialize();
@@ -22,17 +22,5 @@ const resolveTargets = (host, value) => {
22
22
  };
23
23
  return ids.map(getById).filter((el) => !!el);
24
24
  };
25
- const attachInternals = (host) => {
26
- const attach = host === null || host === void 0 ? void 0 : host.attachInternals;
27
- if (!attach)
28
- return undefined;
29
- try {
30
- const internals = attach.call(host);
31
- return internals;
32
- }
33
- catch (_a) {
34
- return undefined;
35
- }
36
- };
37
25
 
38
- export { attachInternals as a, resolveTargets as r };
26
+ export { resolveTargets as r };