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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (734) 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 -42
  7. package/dist/cjs/{Heading-CSxHzc97.js → Heading-CmnijhLd.js} +1 -1
  8. package/dist/cjs/{api-CgWeKMMq.js → api-Bg7hdIrJ.js} +22 -22
  9. package/dist/cjs/{app-globals-pY-Cyxgv.js → app-globals-BwYPSMbG.js} +3 -3
  10. package/dist/cjs/{base-YsLg9vB1.js → base-BVhV5HmV.js} +10 -10
  11. package/dist/cjs/{base-qwdvh9pf.js → base-CQB0r-ZQ.js} +11 -11
  12. package/dist/cjs/{base-CYqcl2o4.js → base-JFyPasp9.js} +27 -24
  13. package/dist/cjs/{base-Bza2102z.js → base-ob1X79UM.js} +13 -14
  14. package/dist/cjs/{base-web-component-Cp4fQ2Mh.js → base-web-component-DBcJrpRb.js} +15 -15
  15. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-DXCN-Sp3.js} +1 -1
  16. package/dist/cjs/{base-web-component-CkEUtzNr.js → base-web-component-dI9FmFIm.js} +10 -10
  17. package/dist/cjs/{behavior-DV-LMyJJ.js → behavior-B5wr2A8R.js} +7 -7
  18. package/dist/cjs/{behavior-DvLNQY2U.js → behavior-CUmF8rJf.js} +5 -5
  19. package/dist/cjs/{behavior-BqwUv55g.js → behavior-DujaVCwV.js} +5 -5
  20. package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-B6QoNC9E.js} +1 -16
  21. package/dist/cjs/{block-bem-BI7yfoFU.js → block-bem-ByCgFI2B.js} +1 -1
  22. package/dist/cjs/{bootstrap-C4lWLUW9.js → bootstrap-HU5YhM_w.js} +2 -2
  23. package/dist/cjs/{color-BW4t1Cif.js → color-C3xsA3Uk.js} +3 -3
  24. package/dist/cjs/{common-C-hcIfzh.js → common-CzGJx0nT.js} +31 -30
  25. package/dist/cjs/{component-CKMtvWhe.js → component-1J4G5HmZ.js} +14 -14
  26. package/dist/cjs/{component-D_9ZydZA.js → component-BexD3069.js} +15 -13
  27. package/dist/cjs/{component-CRDSSR7G.js → component-BilLJFfC.js} +5 -5
  28. package/dist/cjs/{component-BM0H6uUo.js → component-Bza8hlo-.js} +10 -10
  29. package/dist/cjs/{component-DXBzTkOY.js → component-Cbbx7Z6c.js} +4 -4
  30. package/dist/cjs/{component-D5PYQ9Ku.js → component-CjXcCX2V.js} +2 -2
  31. package/dist/cjs/{component-Br2jlQXL.js → component-Cqp00Tb9.js} +8 -8
  32. package/dist/cjs/{component-B9y7UnKg.js → component-DFhuXUqv.js} +15 -15
  33. package/dist/cjs/{component-DtmmNGjm.js → component-DGVc4bOy.js} +4 -4
  34. package/dist/cjs/{component-COEAaB_B.js → component-DkV9oPCL.js} +2 -2
  35. package/dist/cjs/{component-q87oQHev.js → component-Doln6Ltn.js} +5 -5
  36. package/dist/cjs/{component-CeT2UQLF.js → component-DprHBKdZ.js} +7 -7
  37. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-6Nku3lih.js} +2 -2
  38. package/dist/cjs/{controller-DcinOUmN.js → controller-D66Eq44x.js} +1 -1
  39. package/dist/cjs/{dev.utils-DOgQN_zk.js → dev.utils-Bx4sgPsr.js} +2 -2
  40. package/dist/cjs/{devtools-CG9Ov5FS.js → devtools-BXBKJice.js} +3 -3
  41. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-CilmJ-p-.js} +1 -1
  42. package/dist/cjs/{field-control-BT1ZyKNR.js → field-control-B95uzQnW.js} +8 -8
  43. package/dist/cjs/{group-0C7hEZpp.js → group-DGS7K6Ja.js} +7 -7
  44. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-iSIrv52u.js} +1 -1
  45. package/dist/cjs/{href-BBhiVyPb.js → href-xojo1zy_.js} +1 -1
  46. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-D7UmRsV8.js} +2 -2
  47. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DgHI4-xa.js} +2 -0
  48. package/dist/cjs/{id-D1VZsLkg.js → id-DP-w6i4q.js} +1 -1
  49. package/dist/cjs/{index-14cLFAPd.js → index-Ccvyz7Rq.js} +24 -43
  50. package/dist/cjs/index.cjs.js +4 -4
  51. package/dist/cjs/{input-DOHuLJaE.js → input-BKXEykG_.js} +5 -5
  52. package/dist/cjs/{input-container-Ddovz1-b.js → input-container-CWb_kRbs.js} +8 -8
  53. package/dist/cjs/{item--tny4oQM.js → item-C4Boh5Cz.js} +5 -5
  54. package/dist/cjs/{item-aV2WKcK3.js → item-DgNTEUz3.js} +35 -20
  55. package/dist/cjs/{item-CWoQfEPo.js → item-vDMQvV0t.js} +6 -6
  56. package/dist/cjs/{item-ZLQ1Yy47.js → item-wr5KfPYM.js} +13 -14
  57. package/dist/cjs/kol-abbr.cjs.entry.js +13 -12
  58. package/dist/cjs/kol-accordion.cjs.entry.js +21 -20
  59. package/dist/cjs/kol-alert.cjs.entry.js +32 -31
  60. package/dist/cjs/kol-avatar.cjs.entry.js +17 -16
  61. package/dist/cjs/kol-badge.cjs.entry.js +30 -30
  62. package/dist/cjs/kol-breadcrumb.cjs.entry.js +32 -31
  63. package/dist/cjs/kol-button-link.cjs.entry.js +29 -29
  64. package/dist/cjs/kol-button.cjs.entry.js +29 -29
  65. package/dist/cjs/kol-card.cjs.entry.js +34 -34
  66. package/dist/cjs/kol-combobox.cjs.entry.js +46 -46
  67. package/dist/cjs/kol-details.cjs.entry.js +21 -20
  68. package/dist/cjs/kol-dialog.cjs.entry.js +37 -37
  69. package/dist/cjs/kol-drawer.cjs.entry.js +36 -36
  70. package/dist/cjs/kol-form.cjs.entry.js +30 -30
  71. package/dist/cjs/kol-heading.cjs.entry.js +15 -14
  72. package/dist/cjs/kol-icon.cjs.entry.js +20 -16
  73. package/dist/cjs/kol-image.cjs.entry.js +10 -9
  74. package/dist/cjs/kol-input-checkbox.cjs.entry.js +41 -41
  75. package/dist/cjs/kol-input-color.cjs.entry.js +43 -43
  76. package/dist/cjs/kol-input-date.cjs.entry.js +45 -45
  77. package/dist/cjs/kol-input-email.cjs.entry.js +48 -48
  78. package/dist/cjs/kol-input-file.cjs.entry.js +42 -42
  79. package/dist/cjs/kol-input-number.cjs.entry.js +47 -47
  80. package/dist/cjs/kol-input-password.cjs.entry.js +46 -46
  81. package/dist/cjs/kol-input-radio.cjs.entry.js +41 -41
  82. package/dist/cjs/kol-input-range.cjs.entry.js +43 -43
  83. package/dist/cjs/kol-input-text.cjs.entry.js +48 -48
  84. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -12
  85. package/dist/cjs/kol-link-button.cjs.entry.js +30 -29
  86. package/dist/cjs/kol-link.cjs.entry.js +30 -29
  87. package/dist/cjs/kol-meter.cjs.entry.js +20 -22
  88. package/dist/cjs/kol-modal.cjs.entry.js +37 -37
  89. package/dist/cjs/kol-nav.cjs.entry.js +38 -38
  90. package/dist/cjs/kol-pagination.cjs.entry.js +47 -48
  91. package/dist/cjs/kol-popover-button.cjs.entry.js +30 -30
  92. package/dist/cjs/kol-progress.cjs.entry.js +21 -17
  93. package/dist/cjs/kol-quote.cjs.entry.js +12 -11
  94. package/dist/cjs/kol-select.cjs.entry.js +41 -41
  95. package/dist/cjs/kol-single-select.cjs.entry.js +53 -48
  96. package/dist/cjs/kol-skip-nav.cjs.entry.js +32 -31
  97. package/dist/cjs/kol-spin.cjs.entry.js +17 -16
  98. package/dist/cjs/kol-split-button.cjs.entry.js +33 -33
  99. package/dist/cjs/kol-table-stateful.cjs.entry.js +57 -57
  100. package/dist/cjs/kol-table-stateless.cjs.entry.js +45 -45
  101. package/dist/cjs/kol-tabs.cjs.entry.js +36 -39
  102. package/dist/cjs/kol-textarea.cjs.entry.js +48 -46
  103. package/dist/cjs/kol-toast-container.cjs.entry.js +25 -25
  104. package/dist/cjs/kol-toolbar.cjs.entry.js +35 -35
  105. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +15 -14
  106. package/dist/cjs/kol-tree-item.cjs.entry.js +28 -27
  107. package/dist/cjs/kol-tree.cjs.entry.js +12 -11
  108. package/dist/cjs/kol-version.cjs.entry.js +27 -27
  109. package/dist/cjs/kolibri.cjs.js +5 -5
  110. package/dist/cjs/{label-vVOiX4dC.js → label-D6c6jfqK.js} +3 -3
  111. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-q3XenWLW.js} +2 -2
  112. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-k4OY9qRY.js} +2 -2
  113. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-CJoz7BLw.js} +3 -3
  114. package/dist/cjs/{level-BAiEYu4U.js → level-B6vFMm9s.js} +1 -1
  115. package/dist/cjs/{link-target-4AzB3I84.js → link-target-0qSVsAb2.js} +1 -1
  116. package/dist/cjs/{links-CPNK7VZo.js → links-Ur1e9DOK.js} +2 -2
  117. package/dist/cjs/loader.cjs.js +4 -4
  118. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-CCxtzqez.js} +1 -1
  119. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-DzAHCwlP.js} +1 -1
  120. package/dist/cjs/{open-CvoX_qxD.js → open-Gxr_K7HK.js} +1 -1
  121. package/dist/cjs/{options-B2pQC9w2.js → options-BT0m0gRT.js} +2 -2
  122. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-CeHU4dT8.js} +1 -1
  123. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-22xUUFff.js} +1 -1
  124. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-D1qhXS9j.js} +1 -1
  125. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-iHApMQEg.js} +1 -1
  126. package/dist/cjs/{required-CdXn16dq.js → required-BYdSI25I.js} +1 -1
  127. package/dist/cjs/{resolve-props-BpLJmK75.js → resolve-props-B_ytLWBO.js} +8 -9
  128. package/dist/cjs/{resolve-props-DhLgYN4l.js → resolve-props-pZBj0tIz.js} +8 -8
  129. package/dist/cjs/{rows-Ca5ya9tG.js → rows-C9vBSQK1.js} +1 -1
  130. package/dist/cjs/{scroll-lock-C7PeigI_.js → scroll-lock-DguXX-Em.js} +2 -2
  131. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DRMmUyQ5.js} +2 -2
  132. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-CxgvHcGA.js} +1 -1
  133. package/dist/cjs/{src-C3NG0rLO.js → src-Bmd7gQCS.js} +1 -1
  134. package/dist/cjs/{step-CZNyTb2h.js → step-CCqgsPCX.js} +1 -1
  135. package/dist/cjs/{suggestions-CZjGY0Eu.js → suggestions-C6Q3kj5J.js} +3 -3
  136. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-CoUp7HmN.js} +2 -2
  137. package/dist/cjs/test-component.cjs.entry.js +4 -3
  138. package/dist/cjs/{toggle-handler-rQkcX4QY.js → toggle-handler-BaOOa9I5.js} +10 -10
  139. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CgxOyb6V.js} +2 -2
  140. package/dist/cjs/{unit-bsoemclF.js → unit-_oDj-vIB.js} +1 -1
  141. package/dist/cjs/{validators-DuLdbf2D.js → validators-CpCJvM4r.js} +3 -1
  142. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-CKppMGVM.js} +1 -1
  143. package/dist/cjs/{width-BklaRCqt.js → width-e7f3wHF3.js} +1 -1
  144. package/dist/collection/collection-manifest.json +1 -8
  145. package/dist/collection/components/abbr/component.js +2 -2
  146. package/dist/collection/components/accordion/component.js +2 -2
  147. package/dist/collection/components/accordion/style.css +2 -2
  148. package/dist/collection/components/alert/component.js +4 -3
  149. package/dist/collection/components/alert/style.css +2 -2
  150. package/dist/collection/components/avatar/component.js +2 -2
  151. package/dist/collection/components/badge/component.js +2 -2
  152. package/dist/collection/components/badge/style.css +2 -2
  153. package/dist/collection/components/breadcrumb/component.js +2 -2
  154. package/dist/collection/components/breadcrumb/style.css +2 -2
  155. package/dist/collection/components/button/component.js +1 -1
  156. package/dist/collection/components/button/style.css +2 -2
  157. package/dist/collection/components/button-link/component.js +1 -1
  158. package/dist/collection/components/button-link/style.css +2 -2
  159. package/dist/collection/components/card/component.js +2 -2
  160. package/dist/collection/components/card/style.css +2 -2
  161. package/dist/collection/components/combobox/component.js +4 -4
  162. package/dist/collection/components/combobox/style.css +2 -2
  163. package/dist/collection/components/details/component.js +2 -2
  164. package/dist/collection/components/details/style.css +2 -2
  165. package/dist/collection/components/dialog/component.js +2 -2
  166. package/dist/collection/components/dialog/style.css +2 -2
  167. package/dist/collection/components/drawer/component.js +2 -2
  168. package/dist/collection/components/drawer/style.css +2 -2
  169. package/dist/collection/components/form/component.js +2 -2
  170. package/dist/collection/components/form/style.css +2 -2
  171. package/dist/collection/components/heading/component.js +2 -2
  172. package/dist/collection/components/icon/component.js +5 -5
  173. package/dist/collection/components/icon/style.css +2 -2
  174. package/dist/collection/components/image/component.js +2 -2
  175. package/dist/collection/components/input-checkbox/component.js +3 -3
  176. package/dist/collection/components/input-checkbox/style.css +2 -2
  177. package/dist/collection/components/input-color/component.js +2 -2
  178. package/dist/collection/components/input-color/style.css +2 -2
  179. package/dist/collection/components/input-date/component.js +2 -2
  180. package/dist/collection/components/input-date/style.css +2 -2
  181. package/dist/collection/components/input-email/component.js +1 -1
  182. package/dist/collection/components/input-email/style.css +2 -2
  183. package/dist/collection/components/input-file/component.js +2 -2
  184. package/dist/collection/components/input-file/style.css +2 -2
  185. package/dist/collection/components/input-number/component.js +2 -2
  186. package/dist/collection/components/input-number/style.css +2 -2
  187. package/dist/collection/components/input-password/component.js +1 -1
  188. package/dist/collection/components/input-password/style.css +2 -2
  189. package/dist/collection/components/input-radio/component.js +1 -1
  190. package/dist/collection/components/input-radio/style.css +2 -2
  191. package/dist/collection/components/input-range/component.js +2 -2
  192. package/dist/collection/components/input-range/style.css +2 -2
  193. package/dist/collection/components/input-text/component.js +1 -1
  194. package/dist/collection/components/input-text/style.css +2 -2
  195. package/dist/collection/components/kolibri/component.js +2 -2
  196. package/dist/collection/components/link/component.js +2 -2
  197. package/dist/collection/components/link/style.css +2 -2
  198. package/dist/collection/components/link-button/component.js +2 -2
  199. package/dist/collection/components/link-button/style.css +2 -2
  200. package/dist/collection/components/meter/component.js +2 -2
  201. package/dist/collection/components/modal/component.js +2 -2
  202. package/dist/collection/components/modal/style.css +2 -2
  203. package/dist/collection/components/nav/component.js +2 -2
  204. package/dist/collection/components/nav/style.css +2 -2
  205. package/dist/collection/components/pagination/component.js +8 -10
  206. package/dist/collection/components/pagination/style.css +2 -2
  207. package/dist/collection/components/popover-button/component.js +1 -1
  208. package/dist/collection/components/popover-button/style.css +2 -2
  209. package/dist/collection/components/progress/component.js +6 -3
  210. package/dist/collection/components/quote/component.js +2 -2
  211. package/dist/collection/components/select/component.js +1 -1
  212. package/dist/collection/components/select/style.css +2 -2
  213. package/dist/collection/components/single-select/component.js +10 -6
  214. package/dist/collection/components/single-select/style.css +2 -2
  215. package/dist/collection/components/skip-nav/component.js +2 -2
  216. package/dist/collection/components/skip-nav/style.css +2 -2
  217. package/dist/collection/components/spin/component.js +2 -2
  218. package/dist/collection/components/split-button/component.js +1 -1
  219. package/dist/collection/components/split-button/style.css +2 -2
  220. package/dist/collection/components/table-stateful/component.js +3 -3
  221. package/dist/collection/components/table-stateful/style.css +2 -2
  222. package/dist/collection/components/table-stateless/base.js +3 -0
  223. package/dist/collection/components/table-stateless/component.js +2 -2
  224. package/dist/collection/components/table-stateless/style.css +2 -2
  225. package/dist/collection/components/tabs/component.js +2 -11
  226. package/dist/collection/components/tabs/style.css +2 -2
  227. package/dist/collection/components/textarea/component.js +5 -3
  228. package/dist/collection/components/textarea/style.css +2 -2
  229. package/dist/collection/components/toaster/shadow.js +1 -1
  230. package/dist/collection/components/toaster/style.css +2 -2
  231. package/dist/collection/components/toolbar/component.js +2 -2
  232. package/dist/collection/components/toolbar/style.css +2 -2
  233. package/dist/collection/components/tooltip/component.js +1 -1
  234. package/dist/collection/components/tree/component.js +2 -2
  235. package/dist/collection/components/tree-item/component.js +2 -2
  236. package/dist/collection/components/tree-item/style.css +2 -2
  237. package/dist/collection/components/version/component.js +2 -2
  238. package/dist/collection/components/version/style.css +2 -2
  239. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  240. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  241. package/dist/collection/internal/functional-components/link/component.js +1 -1
  242. package/dist/collection/internal/functional-components/meter/component.js +3 -6
  243. package/dist/collection/internal/functional-components/pagination/api.js +2 -2
  244. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  245. package/dist/collection/internal/functional-components/pagination/item.js +18 -3
  246. package/dist/collection/internal/functional-components/progress/component.js +1 -1
  247. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  248. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  249. package/dist/collection/internal/props/helpers/validators.js +1 -0
  250. package/dist/collection/internal/props/index.js +1 -0
  251. package/dist/collection/internal/props/label-decorative.js +10 -0
  252. package/dist/collection/locales/de.js +1 -0
  253. package/dist/collection/locales/en.js +1 -0
  254. package/dist/collection/schema/bem-registry.js +0 -15
  255. package/dist/collection/schema/i18n-keys.js +29 -28
  256. package/dist/components/base-web-component2.js +1 -1
  257. package/dist/components/base-web-component4.js +1 -1
  258. package/dist/components/base.js +1 -1
  259. package/dist/components/base2.js +1 -1
  260. package/dist/components/base4.js +1 -1
  261. package/dist/components/behavior.js +1 -1
  262. package/dist/components/behavior2.js +1 -1
  263. package/dist/components/behavior3.js +1 -1
  264. package/dist/components/behavior4.js +1 -1
  265. package/dist/components/bem-registry.js +1 -1
  266. package/dist/components/component10.js +1 -1
  267. package/dist/components/component11.js +1 -1
  268. package/dist/components/component2.js +1 -1
  269. package/dist/components/component3.js +1 -1
  270. package/dist/components/component4.js +1 -1
  271. package/dist/components/component6.js +1 -1
  272. package/dist/components/component7.js +1 -1
  273. package/dist/components/component8.js +1 -1
  274. package/dist/components/component9.js +1 -1
  275. package/dist/components/contrast.js +1 -1
  276. package/dist/components/field-control.js +1 -1
  277. package/dist/components/group.js +1 -1
  278. package/dist/components/i18n2.js +1 -1
  279. package/dist/components/input-container.js +1 -1
  280. package/dist/components/item2.js +1 -1
  281. package/dist/components/item4.js +1 -1
  282. package/dist/components/kol-abbr.js +1 -1
  283. package/dist/components/kol-accordion.js +1 -1
  284. package/dist/components/kol-alert.js +1 -1
  285. package/dist/components/kol-avatar.js +1 -1
  286. package/dist/components/kol-badge.js +1 -1
  287. package/dist/components/kol-breadcrumb.js +1 -1
  288. package/dist/components/kol-button-link.js +1 -1
  289. package/dist/components/kol-button.js +1 -1
  290. package/dist/components/kol-card.js +1 -1
  291. package/dist/components/kol-combobox.js +1 -1
  292. package/dist/components/kol-details.js +1 -1
  293. package/dist/components/kol-dialog.js +1 -1
  294. package/dist/components/kol-drawer.js +1 -1
  295. package/dist/components/kol-form.js +1 -1
  296. package/dist/components/kol-heading.js +1 -1
  297. package/dist/components/kol-icon.js +1 -1
  298. package/dist/components/kol-image.js +1 -1
  299. package/dist/components/kol-input-checkbox.js +1 -1
  300. package/dist/components/kol-input-color.js +1 -1
  301. package/dist/components/kol-input-date.js +1 -1
  302. package/dist/components/kol-input-email.js +1 -1
  303. package/dist/components/kol-input-file.js +1 -1
  304. package/dist/components/kol-input-number.js +1 -1
  305. package/dist/components/kol-input-password.js +1 -1
  306. package/dist/components/kol-input-radio.js +1 -1
  307. package/dist/components/kol-input-range.js +1 -1
  308. package/dist/components/kol-input-text.js +1 -1
  309. package/dist/components/kol-kolibri.js +1 -1
  310. package/dist/components/kol-link-button.js +1 -1
  311. package/dist/components/kol-link.js +1 -1
  312. package/dist/components/kol-meter.js +1 -1
  313. package/dist/components/kol-modal.js +1 -1
  314. package/dist/components/kol-nav.js +1 -1
  315. package/dist/components/kol-pagination.js +1 -1
  316. package/dist/components/kol-popover-button.js +1 -1
  317. package/dist/components/kol-progress.js +1 -1
  318. package/dist/components/kol-quote.js +1 -1
  319. package/dist/components/kol-select.js +1 -1
  320. package/dist/components/kol-single-select.js +1 -1
  321. package/dist/components/kol-skip-nav.js +1 -1
  322. package/dist/components/kol-spin.js +1 -1
  323. package/dist/components/kol-split-button.js +1 -1
  324. package/dist/components/kol-table-stateful.js +1 -1
  325. package/dist/components/kol-table-stateless.js +1 -1
  326. package/dist/components/kol-tabs.js +1 -1
  327. package/dist/components/kol-textarea.js +1 -1
  328. package/dist/components/kol-toast-container.js +1 -1
  329. package/dist/components/kol-toolbar.js +1 -1
  330. package/dist/components/kol-tooltip-wc.js +1 -1
  331. package/dist/components/kol-tree-item.js +1 -1
  332. package/dist/components/kol-tree.js +1 -1
  333. package/dist/components/kol-version.js +1 -1
  334. package/dist/components/label-hints.js +1 -1
  335. package/dist/components/label-lang-segment.js +1 -1
  336. package/dist/components/label-with-expert-slot.js +1 -1
  337. package/dist/components/label.js +1 -1
  338. package/dist/components/level.js +1 -1
  339. package/dist/components/props-from-config.js +1 -1
  340. package/dist/components/resolve-props.js +1 -1
  341. package/dist/components/rows.js +1 -1
  342. package/dist/components/unit.js +1 -1
  343. package/dist/components/validators.js +1 -1
  344. package/dist/esm/{Heading-Bj2Ma7Tr.js → Heading-C_CwXDMp.js} +1 -1
  345. package/dist/esm/{api-DhMNvXtN.js → api-DGiFM9p0.js} +20 -20
  346. package/dist/esm/{app-globals-Dpmwwlv-.js → app-globals-sZHZyXjD.js} +3 -3
  347. package/dist/esm/{base-DV_Pzm7z.js → base-B4sGK9cX.js} +12 -13
  348. package/dist/esm/{base-IzdO60L1.js → base-CWrvN3Gt.js} +10 -10
  349. package/dist/esm/{base-CJ5WCVaj.js → base-DTKJ1Z06.js} +27 -24
  350. package/dist/esm/{base-Ba-xzpOT.js → base-P1TaQ7Ba.js} +11 -11
  351. package/dist/esm/{base-web-component-BB3dHStd.js → base-web-component-Bq_B9edx.js} +15 -15
  352. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  353. package/dist/esm/{base-web-component-ug9DZUOx.js → base-web-component-CKgIOZqi.js} +10 -10
  354. package/dist/esm/{behavior-B4IW5_Qt.js → behavior-Bb7JYoUn.js} +5 -5
  355. package/dist/esm/{behavior-BgmZcrK6.js → behavior-CFG1f4KQ.js} +5 -5
  356. package/dist/esm/{behavior-BMXrK4gj.js → behavior-CkPQGfgo.js} +5 -5
  357. package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-DQUGxdIS.js} +1 -16
  358. package/dist/esm/{block-bem-BpQSY04L.js → block-bem-BGIVcYJu.js} +1 -1
  359. package/dist/esm/{bootstrap-DHXUvPBY.js → bootstrap-tgQ2nQQI.js} +2 -2
  360. package/dist/esm/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +3 -3
  361. package/dist/esm/{common-OzsC_6kt.js → common-BdSzSIXg.js} +31 -30
  362. package/dist/esm/{component-DdIOGRgB.js → component-5Uu-ahLC.js} +4 -4
  363. package/dist/esm/{component-scm3PBuq.js → component-B05zRrM0.js} +2 -2
  364. package/dist/esm/{component-Dt6efHXY.js → component-B16Fbp3W.js} +14 -13
  365. package/dist/esm/{component-BiYFPpjn.js → component-BI8jDgBz.js} +10 -10
  366. package/dist/esm/{component-Drxdk3mb.js → component-Bc2pdOk1.js} +8 -8
  367. package/dist/esm/{component-BvvE8aim.js → component-C79oAu7a.js} +5 -5
  368. package/dist/esm/{component-ChtW1HQv.js → component-CldKbBUh.js} +7 -7
  369. package/dist/esm/{component-C5QCCLLa.js → component-Clz6b6ho.js} +2 -2
  370. package/dist/esm/{component-gj7TBL0i.js → component-Ct11K0Gv.js} +14 -14
  371. package/dist/esm/{component-Ua7-J4C-.js → component-DAQzDMY8.js} +15 -15
  372. package/dist/esm/{component-BKfXEtN0.js → component-W1KZI4h4.js} +4 -4
  373. package/dist/esm/{component-C0zMsvYl.js → component-oUQcgxDj.js} +5 -5
  374. package/dist/esm/{contrast-D78VGPFR.js → contrast-BNoQruBh.js} +2 -2
  375. package/dist/esm/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  376. package/dist/esm/{dev.utils-CwXr_J8N.js → dev.utils-DDWOHUcg.js} +2 -2
  377. package/dist/esm/{devtools-QEDvmhav.js → devtools-B0kEE_za.js} +3 -3
  378. package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZXlWAgK.js} +1 -1
  379. package/dist/esm/{field-control-BOsAM8BW.js → field-control-DsQHa0v9.js} +8 -8
  380. package/dist/esm/{group-D4WbZY27.js → group-DUVsgWxS.js} +7 -7
  381. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-DUB0QcS9.js} +1 -1
  382. package/dist/esm/{href-JqLbNBsW.js → href-CxokGOJ2.js} +1 -1
  383. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-4J6U3ZDc.js} +2 -0
  384. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-ePBcLlCr.js} +2 -2
  385. package/dist/esm/{id-CIYvVaNr.js → id-BI0ZuK17.js} +1 -1
  386. package/dist/esm/{index-D_P2XoAc.js → index-Dulj0jro.js} +25 -43
  387. package/dist/esm/index.js +6 -6
  388. package/dist/esm/{input-C0kj1MmP.js → input-C0Li7DsE.js} +5 -5
  389. package/dist/esm/{input-container-B4TgBfDz.js → input-container-DmtMTcjB.js} +8 -8
  390. package/dist/esm/{item-e4SzwxHe.js → item-8RKFpmbd.js} +6 -6
  391. package/dist/esm/{item-DRC1CmzC.js → item-CnJMuEyl.js} +5 -5
  392. package/dist/esm/{item-WrCdQw7F.js → item-CxVe5INa.js} +35 -20
  393. package/dist/esm/{item-BMniY_My.js → item-DHZGDrAn.js} +12 -13
  394. package/dist/esm/kol-abbr.entry.js +13 -12
  395. package/dist/esm/kol-accordion.entry.js +21 -20
  396. package/dist/esm/kol-alert.entry.js +32 -31
  397. package/dist/esm/kol-avatar.entry.js +17 -16
  398. package/dist/esm/kol-badge.entry.js +30 -30
  399. package/dist/esm/kol-breadcrumb.entry.js +32 -31
  400. package/dist/esm/kol-button-link.entry.js +29 -29
  401. package/dist/esm/kol-button.entry.js +29 -29
  402. package/dist/esm/kol-card.entry.js +34 -34
  403. package/dist/esm/kol-combobox.entry.js +46 -46
  404. package/dist/esm/kol-details.entry.js +21 -20
  405. package/dist/esm/kol-dialog.entry.js +37 -37
  406. package/dist/esm/kol-drawer.entry.js +36 -36
  407. package/dist/esm/kol-form.entry.js +30 -30
  408. package/dist/esm/kol-heading.entry.js +15 -14
  409. package/dist/esm/kol-icon.entry.js +20 -16
  410. package/dist/esm/kol-image.entry.js +10 -9
  411. package/dist/esm/kol-input-checkbox.entry.js +41 -41
  412. package/dist/esm/kol-input-color.entry.js +43 -43
  413. package/dist/esm/kol-input-date.entry.js +45 -45
  414. package/dist/esm/kol-input-email.entry.js +48 -48
  415. package/dist/esm/kol-input-file.entry.js +42 -42
  416. package/dist/esm/kol-input-number.entry.js +47 -47
  417. package/dist/esm/kol-input-password.entry.js +46 -46
  418. package/dist/esm/kol-input-radio.entry.js +41 -41
  419. package/dist/esm/kol-input-range.entry.js +43 -43
  420. package/dist/esm/kol-input-text.entry.js +48 -48
  421. package/dist/esm/kol-kolibri.entry.js +13 -12
  422. package/dist/esm/kol-link-button.entry.js +30 -29
  423. package/dist/esm/kol-link.entry.js +30 -29
  424. package/dist/esm/kol-meter.entry.js +20 -22
  425. package/dist/esm/kol-modal.entry.js +37 -37
  426. package/dist/esm/kol-nav.entry.js +38 -38
  427. package/dist/esm/kol-pagination.entry.js +47 -48
  428. package/dist/esm/kol-popover-button.entry.js +30 -30
  429. package/dist/esm/kol-progress.entry.js +21 -17
  430. package/dist/esm/kol-quote.entry.js +12 -11
  431. package/dist/esm/kol-select.entry.js +41 -41
  432. package/dist/esm/kol-single-select.entry.js +53 -48
  433. package/dist/esm/kol-skip-nav.entry.js +32 -31
  434. package/dist/esm/kol-spin.entry.js +17 -16
  435. package/dist/esm/kol-split-button.entry.js +33 -33
  436. package/dist/esm/kol-table-stateful.entry.js +57 -57
  437. package/dist/esm/kol-table-stateless.entry.js +45 -45
  438. package/dist/esm/kol-tabs.entry.js +36 -39
  439. package/dist/esm/kol-textarea.entry.js +48 -46
  440. package/dist/esm/kol-toast-container.entry.js +25 -25
  441. package/dist/esm/kol-toolbar.entry.js +35 -35
  442. package/dist/esm/kol-tooltip-wc.entry.js +15 -14
  443. package/dist/esm/kol-tree-item.entry.js +28 -27
  444. package/dist/esm/kol-tree.entry.js +12 -11
  445. package/dist/esm/kol-version.entry.js +27 -27
  446. package/dist/esm/kolibri.js +6 -6
  447. package/dist/esm/{label-BRosRgdX.js → label-B-Dr7VaP.js} +3 -3
  448. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-CLMiVvfk.js} +2 -2
  449. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-iVD9hoM3.js} +2 -2
  450. package/dist/esm/{label-with-expert-slot-CicRes-W.js → label-with-expert-slot-BbZ9nx0l.js} +3 -3
  451. package/dist/esm/{level-CA1s1_Mf.js → level-DsQ_pcyD.js} +1 -1
  452. package/dist/esm/{link-target-FX94oqMo.js → link-target-D7lYILOV.js} +1 -1
  453. package/dist/esm/{links-DwucTqcR.js → links-IkK4zoXw.js} +2 -2
  454. package/dist/esm/loader.js +5 -5
  455. package/dist/esm/{multiple-DqrZxybx.js → multiple--ay1C1n3.js} +1 -1
  456. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-Dl9-2O4r.js} +1 -1
  457. package/dist/esm/{open-DRRv1KFK.js → open-CNHJhHsy.js} +1 -1
  458. package/dist/esm/{options-DCaUcfAu.js → options-DwO32GBF.js} +2 -2
  459. package/dist/esm/{orientation-XNOCaPwy.js → orientation-ChJ0S24M.js} +1 -1
  460. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-UxmBJ4Vl.js} +1 -1
  461. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  462. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DytZ5HZJ.js} +1 -1
  463. package/dist/esm/{required-hoaT7UmZ.js → required-BriHhuO4.js} +1 -1
  464. package/dist/esm/{resolve-props-CqTztQhV.js → resolve-props-02J6OCRf.js} +8 -8
  465. package/dist/esm/{resolve-props-B-67viId.js → resolve-props-Bj6IaybL.js} +7 -8
  466. package/dist/esm/{rows-B0x8CR7K.js → rows-I1jrTjzU.js} +1 -1
  467. package/dist/esm/{scroll-lock-CKnC0y0o.js → scroll-lock-B6hVv8A8.js} +2 -2
  468. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +2 -2
  469. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-BWCnJG5v.js} +1 -1
  470. package/dist/esm/{src-DaGhmCL1.js → src-ziOwSglN.js} +1 -1
  471. package/dist/esm/{step-Bdj89bGO.js → step-BcyhvRtu.js} +1 -1
  472. package/dist/esm/{suggestions-Be1_H9fA.js → suggestions-DaB3FVaz.js} +3 -3
  473. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +2 -2
  474. package/dist/esm/test-component.entry.js +4 -3
  475. package/dist/esm/{toggle-handler-Cjc991vd.js → toggle-handler-3qaN2kmt.js} +10 -10
  476. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CxFUYSVY.js} +2 -2
  477. package/dist/esm/{unit-BUhhJbhT.js → unit-1ix-K9SD.js} +1 -1
  478. package/dist/esm/{validators-BVM40IEr.js → validators-CTjxOidB.js} +3 -2
  479. package/dist/esm/{value-string-e9pwLcS-.js → value-string-CxDz7dhD.js} +1 -1
  480. package/dist/esm/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  481. package/dist/kolibri/Heading-C_CwXDMp.js +4 -0
  482. package/dist/kolibri/api-DGiFM9p0.js +4 -0
  483. package/dist/kolibri/app-globals-sZHZyXjD.js +4 -0
  484. package/dist/kolibri/base-B4sGK9cX.js +4 -0
  485. package/dist/kolibri/{base-IzdO60L1.js → base-CWrvN3Gt.js} +1 -1
  486. package/dist/kolibri/base-DTKJ1Z06.js +4 -0
  487. package/dist/kolibri/{base-Ba-xzpOT.js → base-P1TaQ7Ba.js} +1 -1
  488. package/dist/kolibri/{base-web-component-BB3dHStd.js → base-web-component-Bq_B9edx.js} +1 -1
  489. package/dist/kolibri/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  490. package/dist/kolibri/{base-web-component-ug9DZUOx.js → base-web-component-CKgIOZqi.js} +1 -1
  491. package/dist/kolibri/{behavior-B4IW5_Qt.js → behavior-Bb7JYoUn.js} +1 -1
  492. package/dist/kolibri/{behavior-BgmZcrK6.js → behavior-CFG1f4KQ.js} +1 -1
  493. package/dist/kolibri/behavior-CkPQGfgo.js +4 -0
  494. package/dist/kolibri/bem-registry-DQUGxdIS.js +4 -0
  495. package/dist/kolibri/{block-bem-BpQSY04L.js → block-bem-BGIVcYJu.js} +1 -1
  496. package/dist/kolibri/bootstrap-tgQ2nQQI.js +4 -0
  497. package/dist/kolibri/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +1 -1
  498. package/dist/kolibri/common-BdSzSIXg.js +4 -0
  499. package/dist/kolibri/component-5Uu-ahLC.js +4 -0
  500. package/dist/kolibri/component-B05zRrM0.js +4 -0
  501. package/dist/kolibri/component-B16Fbp3W.js +4 -0
  502. package/dist/kolibri/component-BI8jDgBz.js +4 -0
  503. package/dist/kolibri/{component-Drxdk3mb.js → component-Bc2pdOk1.js} +1 -1
  504. package/dist/kolibri/component-C79oAu7a.js +4 -0
  505. package/dist/kolibri/component-CldKbBUh.js +4 -0
  506. package/dist/kolibri/component-Clz6b6ho.js +4 -0
  507. package/dist/kolibri/component-Ct11K0Gv.js +4 -0
  508. package/dist/kolibri/component-DAQzDMY8.js +4 -0
  509. package/dist/kolibri/component-W1KZI4h4.js +4 -0
  510. package/dist/kolibri/{component-C0zMsvYl.js → component-oUQcgxDj.js} +1 -1
  511. package/dist/kolibri/contrast-BNoQruBh.js +4 -0
  512. package/dist/kolibri/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  513. package/dist/kolibri/dev.utils-DDWOHUcg.js +4 -0
  514. package/dist/kolibri/{devtools-QEDvmhav.js → devtools-B0kEE_za.js} +1 -1
  515. package/dist/kolibri/disabled-BZXlWAgK.js +4 -0
  516. package/dist/kolibri/field-control-DsQHa0v9.js +4 -0
  517. package/dist/kolibri/group-DUVsgWxS.js +4 -0
  518. package/dist/kolibri/has-closer-DUB0QcS9.js +4 -0
  519. package/dist/kolibri/href-CxokGOJ2.js +4 -0
  520. package/dist/kolibri/i18n-4J6U3ZDc.js +4 -0
  521. package/dist/kolibri/i18n-ePBcLlCr.js +4 -0
  522. package/dist/kolibri/id-BI0ZuK17.js +4 -0
  523. package/dist/kolibri/index-Dulj0jro.js +6 -0
  524. package/dist/kolibri/index.esm.js +1 -1
  525. package/dist/kolibri/input-C0Li7DsE.js +4 -0
  526. package/dist/kolibri/input-container-DmtMTcjB.js +4 -0
  527. package/dist/kolibri/item-8RKFpmbd.js +4 -0
  528. package/dist/kolibri/item-CnJMuEyl.js +4 -0
  529. package/dist/kolibri/item-CxVe5INa.js +4 -0
  530. package/dist/kolibri/item-DHZGDrAn.js +4 -0
  531. package/dist/kolibri/kol-abbr.entry.js +1 -1
  532. package/dist/kolibri/kol-accordion.entry.js +1 -1
  533. package/dist/kolibri/kol-alert.entry.js +1 -1
  534. package/dist/kolibri/kol-avatar.entry.js +1 -1
  535. package/dist/kolibri/kol-badge.entry.js +1 -1
  536. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  537. package/dist/kolibri/kol-button-link.entry.js +1 -1
  538. package/dist/kolibri/kol-button.entry.js +1 -1
  539. package/dist/kolibri/kol-card.entry.js +1 -1
  540. package/dist/kolibri/kol-combobox.entry.js +1 -1
  541. package/dist/kolibri/kol-details.entry.js +1 -1
  542. package/dist/kolibri/kol-dialog.entry.js +1 -1
  543. package/dist/kolibri/kol-drawer.entry.js +1 -1
  544. package/dist/kolibri/kol-form.entry.js +1 -1
  545. package/dist/kolibri/kol-heading.entry.js +1 -1
  546. package/dist/kolibri/kol-icon.entry.js +1 -1
  547. package/dist/kolibri/kol-image.entry.js +1 -1
  548. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  549. package/dist/kolibri/kol-input-color.entry.js +1 -1
  550. package/dist/kolibri/kol-input-date.entry.js +1 -1
  551. package/dist/kolibri/kol-input-email.entry.js +1 -1
  552. package/dist/kolibri/kol-input-file.entry.js +1 -1
  553. package/dist/kolibri/kol-input-number.entry.js +1 -1
  554. package/dist/kolibri/kol-input-password.entry.js +1 -1
  555. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  556. package/dist/kolibri/kol-input-range.entry.js +1 -1
  557. package/dist/kolibri/kol-input-text.entry.js +1 -1
  558. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  559. package/dist/kolibri/kol-link-button.entry.js +1 -1
  560. package/dist/kolibri/kol-link.entry.js +1 -1
  561. package/dist/kolibri/kol-meter.entry.js +1 -1
  562. package/dist/kolibri/kol-modal.entry.js +1 -1
  563. package/dist/kolibri/kol-nav.entry.js +1 -1
  564. package/dist/kolibri/kol-pagination.entry.js +1 -1
  565. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  566. package/dist/kolibri/kol-progress.entry.js +1 -1
  567. package/dist/kolibri/kol-quote.entry.js +1 -1
  568. package/dist/kolibri/kol-select.entry.js +1 -1
  569. package/dist/kolibri/kol-single-select.entry.js +1 -1
  570. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  571. package/dist/kolibri/kol-spin.entry.js +1 -1
  572. package/dist/kolibri/kol-split-button.entry.js +1 -1
  573. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  574. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  575. package/dist/kolibri/kol-tabs.entry.js +1 -1
  576. package/dist/kolibri/kol-textarea.entry.js +1 -1
  577. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  578. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  579. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  580. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  581. package/dist/kolibri/kol-tree.entry.js +1 -1
  582. package/dist/kolibri/kol-version.entry.js +1 -1
  583. package/dist/kolibri/kolibri.esm.js +1 -1
  584. package/dist/kolibri/label-B-Dr7VaP.js +4 -0
  585. package/dist/kolibri/label-hints-CLMiVvfk.js +4 -0
  586. package/dist/kolibri/label-lang-segment-iVD9hoM3.js +4 -0
  587. package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +4 -0
  588. package/dist/kolibri/level-DsQ_pcyD.js +4 -0
  589. package/dist/kolibri/link-target-D7lYILOV.js +4 -0
  590. package/dist/kolibri/links-IkK4zoXw.js +4 -0
  591. package/dist/kolibri/multiple--ay1C1n3.js +4 -0
  592. package/dist/kolibri/number-value-Dl9-2O4r.js +4 -0
  593. package/dist/kolibri/open-CNHJhHsy.js +4 -0
  594. package/dist/kolibri/options-DwO32GBF.js +4 -0
  595. package/dist/kolibri/orientation-ChJ0S24M.js +4 -0
  596. package/dist/kolibri/placeholder-UxmBJ4Vl.js +4 -0
  597. package/dist/kolibri/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  598. package/dist/kolibri/read-only-DytZ5HZJ.js +4 -0
  599. package/dist/kolibri/required-BriHhuO4.js +4 -0
  600. package/dist/kolibri/resolve-props-02J6OCRf.js +4 -0
  601. package/dist/kolibri/resolve-props-Bj6IaybL.js +4 -0
  602. package/dist/kolibri/rows-I1jrTjzU.js +4 -0
  603. package/dist/kolibri/scroll-lock-B6hVv8A8.js +4 -0
  604. package/dist/kolibri/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +1 -1
  605. package/dist/kolibri/spell-check-BWCnJG5v.js +4 -0
  606. package/dist/kolibri/src-ziOwSglN.js +4 -0
  607. package/dist/kolibri/step-BcyhvRtu.js +4 -0
  608. package/dist/kolibri/{suggestions-Be1_H9fA.js → suggestions-DaB3FVaz.js} +1 -1
  609. package/dist/kolibri/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +1 -1
  610. package/dist/kolibri/test-component.entry.js +1 -1
  611. package/dist/kolibri/{toggle-handler-Cjc991vd.js → toggle-handler-3qaN2kmt.js} +1 -1
  612. package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +4 -0
  613. package/dist/kolibri/unit-1ix-K9SD.js +4 -0
  614. package/dist/kolibri/validators-CTjxOidB.js +4 -0
  615. package/dist/kolibri/value-string-CxDz7dhD.js +4 -0
  616. package/dist/kolibri/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  617. package/dist/types/components/pagination/component.d.ts +1 -1
  618. package/dist/types/components/progress/component.d.ts +1 -0
  619. package/dist/types/components/single-select/component.d.ts +1 -0
  620. package/dist/types/components/tabs/component.d.ts +0 -1
  621. package/dist/types/components.d.ts +3 -97
  622. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  623. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  624. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  625. package/dist/types/internal/functional-components/pagination/item.d.ts +1 -1
  626. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  627. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  628. package/dist/types/internal/props/index.d.ts +1 -0
  629. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  630. package/dist/types/locales/de.d.ts +1 -0
  631. package/dist/types/locales/en.d.ts +1 -0
  632. package/dist/types/schema/bem-registry.d.ts +0 -25
  633. package/dist/types/schema/components/pagination.d.ts +2 -2
  634. package/dist/types/schema/i18n-keys.d.ts +29 -28
  635. package/dist/types/schema/index.d.ts +1 -1
  636. package/dist/types/schema/props/label.d.ts +1 -0
  637. package/dist/types/stencil-public-runtime.d.ts +1 -1
  638. package/doc/pagination.md +13 -13
  639. package/doc/table-stateful.md +1 -1
  640. package/package.json +8 -8
  641. package/vscode-custom-data.json +0 -13
  642. package/dist/cjs/component-r497oHWq.js +0 -14
  643. package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
  644. package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
  645. package/dist/cjs/name-D4qpL1m-.js +0 -10
  646. package/dist/collection/components/click-button/component.js +0 -105
  647. package/dist/collection/components/skeleton/component.js +0 -215
  648. package/dist/collection/internal/functional-components/click-button/api.js +0 -7
  649. package/dist/collection/internal/functional-components/click-button/component.js +0 -9
  650. package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
  651. package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
  652. package/dist/components/component12.js +0 -4
  653. package/dist/components/kol-click-button.d.ts +0 -11
  654. package/dist/components/kol-click-button.js +0 -4
  655. package/dist/components/kol-skeleton.d.ts +0 -11
  656. package/dist/components/kol-skeleton.js +0 -4
  657. package/dist/components/name.js +0 -4
  658. package/dist/esm/component-Db9HadXA.js +0 -12
  659. package/dist/esm/kol-click-button.entry.js +0 -53
  660. package/dist/esm/kol-skeleton.entry.js +0 -105
  661. package/dist/esm/name-B2Yf3EpX.js +0 -8
  662. package/dist/kolibri/Heading-Bj2Ma7Tr.js +0 -4
  663. package/dist/kolibri/api-DhMNvXtN.js +0 -4
  664. package/dist/kolibri/app-globals-Dpmwwlv-.js +0 -4
  665. package/dist/kolibri/base-CJ5WCVaj.js +0 -4
  666. package/dist/kolibri/base-DV_Pzm7z.js +0 -4
  667. package/dist/kolibri/behavior-BMXrK4gj.js +0 -4
  668. package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
  669. package/dist/kolibri/bootstrap-DHXUvPBY.js +0 -4
  670. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  671. package/dist/kolibri/component-BKfXEtN0.js +0 -4
  672. package/dist/kolibri/component-BiYFPpjn.js +0 -4
  673. package/dist/kolibri/component-BvvE8aim.js +0 -4
  674. package/dist/kolibri/component-C5QCCLLa.js +0 -4
  675. package/dist/kolibri/component-ChtW1HQv.js +0 -4
  676. package/dist/kolibri/component-Db9HadXA.js +0 -4
  677. package/dist/kolibri/component-DdIOGRgB.js +0 -4
  678. package/dist/kolibri/component-Dt6efHXY.js +0 -4
  679. package/dist/kolibri/component-Ua7-J4C-.js +0 -4
  680. package/dist/kolibri/component-gj7TBL0i.js +0 -4
  681. package/dist/kolibri/component-scm3PBuq.js +0 -4
  682. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  683. package/dist/kolibri/dev.utils-CwXr_J8N.js +0 -4
  684. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  685. package/dist/kolibri/field-control-BOsAM8BW.js +0 -4
  686. package/dist/kolibri/group-D4WbZY27.js +0 -4
  687. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  688. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  689. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  690. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  691. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  692. package/dist/kolibri/index-D_P2XoAc.js +0 -6
  693. package/dist/kolibri/input-C0kj1MmP.js +0 -4
  694. package/dist/kolibri/input-container-B4TgBfDz.js +0 -4
  695. package/dist/kolibri/item-BMniY_My.js +0 -4
  696. package/dist/kolibri/item-DRC1CmzC.js +0 -4
  697. package/dist/kolibri/item-WrCdQw7F.js +0 -4
  698. package/dist/kolibri/item-e4SzwxHe.js +0 -4
  699. package/dist/kolibri/kol-click-button.entry.js +0 -4
  700. package/dist/kolibri/kol-skeleton.entry.js +0 -4
  701. package/dist/kolibri/label-BRosRgdX.js +0 -4
  702. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  703. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  704. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  705. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  706. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  707. package/dist/kolibri/links-DwucTqcR.js +0 -4
  708. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  709. package/dist/kolibri/name-B2Yf3EpX.js +0 -4
  710. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  711. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  712. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  713. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  714. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  715. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  716. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  717. package/dist/kolibri/resolve-props-B-67viId.js +0 -4
  718. package/dist/kolibri/resolve-props-CqTztQhV.js +0 -4
  719. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  720. package/dist/kolibri/scroll-lock-CKnC0y0o.js +0 -4
  721. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  722. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  723. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  724. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  725. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  726. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  727. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
  728. package/dist/types/components/click-button/component.d.ts +0 -15
  729. package/dist/types/components/skeleton/component.d.ts +0 -26
  730. package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
  731. package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
  732. package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
  733. package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
  734. package/doc/skeleton.md +0 -54
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as e}from"./common-BdSzSIXg.js";var i,l,n=e(l?i:(l=1,i=function(e){return function(i,l){if(!i)return e;var n;"string"==typeof i?n=i:l=i;var o=e;return n&&(o+="__"+n),o+(l?Object.keys(l).reduce((function(e,i){var n=l[i];return n&&(e+=" "+("boolean"==typeof n?o+"--"+i:o+"--"+i+"_"+n)),e}),""):"")}}));const o=function(){const e=new Map,i=(i,l,o)=>{try{return e.get(i)(l,o)}catch{return e.set(i,n(i)).get(i)(l,o)}};return i.forBlock=e=>{const l=(l,n)=>i(e,l,n);return l.forElement=l=>n=>i(e,l,n),l},i}(),r={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{r as B,o as b}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as r}from"./bem-registry-CWN7_O1L.js";const t=new Map;function e(e){let n=t.get(e);return n||(n=r.forBlock(e),t.set(e,n)),n}export{e as g}
4
+ import{b as r}from"./bem-registry-DQUGxdIS.js";const t=new Map;function e(e){let n=t.get(e);return n||(n=r.forBlock(e),t.set(e,n)),n}export{e as g}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{g as o,h as n,L as s}from"./common-BdSzSIXg.js";import{s as i}from"./component-names-Dhbtt0mX.js";import{i as e}from"./i18n-4J6U3ZDc.js";let a,t=!1;const d=async(d,l,r)=>{var c,m;const u="undefined"!=typeof process&&process.env?"production":void 0;o((null==r?void 0:r.environment)||u||"production"),e(null!==(m=null===(c=null==r?void 0:r.translation)||void 0===c?void 0:c.name)&&void 0!==m?m:"de",null==r?void 0:r.translations),(null==r?void 0:r.transformTagName)&&i(null==r?void 0:r.transformTagName);const v=await n(d,l,r);return t=!0,a=r,s.info("Development mode active - Enhanced debugging features available"),v},l=d,r=()=>t,c=()=>a;export{d as b,c as g,r as i,l as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as o}from"./common-OzsC_6kt.js";import{c as r}from"./props-from-config-Ci0dILpz.js";import{c as n}from"./contrast-D78VGPFR.js";const t=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function f(o){return t.test(o)}const c=r("color",{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},(function(r){if("string"==typeof r&&f(r)){const o=n(r);return{backgroundColor:o.background,foregroundColor:o.foreground}}const t="string"==typeof r?o(r):r;if(Array.isArray(t)){const[o,r]=t;if("string"==typeof o&&"string"==typeof r&&f(o)&&f(r)){const t=n({background:o,foreground:r});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if("object"==typeof t&&t){const o=t;if("string"==typeof o.backgroundColor&&"string"==typeof o.foregroundColor&&f(o.backgroundColor)&&f(o.foregroundColor)){const r=n({background:o.backgroundColor,foreground:o.foregroundColor});return{backgroundColor:r.background,foregroundColor:r.foreground}}}throw new Error(`Invalid color ${r}`)}),(function(o){return f(o.foregroundColor)&&f(o.backgroundColor)}));export{c}
4
+ import{p as o}from"./common-BdSzSIXg.js";import{c as r}from"./props-from-config-ytxYrJUY.js";import{c as n}from"./contrast-BNoQruBh.js";const t=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function f(o){return t.test(o)}const c=r("color",{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},(function(r){if("string"==typeof r&&f(r)){const o=n(r);return{backgroundColor:o.background,foregroundColor:o.foreground}}const t="string"==typeof r?o(r):r;if(Array.isArray(t)){const[o,r]=t;if("string"==typeof o&&"string"==typeof r&&f(o)&&f(r)){const t=n({background:o,foreground:r});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if("object"==typeof t&&t){const o=t;if("string"==typeof o.backgroundColor&&"string"==typeof o.foregroundColor&&f(o.backgroundColor)&&f(o.foregroundColor)){const r=n({background:o.backgroundColor,foreground:o.foregroundColor});return{backgroundColor:r.background,foregroundColor:r.foreground}}}throw new Error(`Invalid color ${r}`)}),(function(o){return f(o.foregroundColor)&&f(o.backgroundColor)}));export{c}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t,n,r,o={exports:{}},a=(t||(t=1,n=o.exports,r=function(){var e=function(){},t="undefined",n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"],o={},a=null;function i(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function l(){for(var n=this.getLevel(),o=0;o<r.length;o++){var a=r[o];this[a]=o<n?e:this.methodFactory(a,n,this.name)}if(this.log=this.debug,typeof console===t&&n<this.levels.SILENT)return"No console available for logging"}function c(e){return function(){typeof console!==t&&(l.call(this),this[e].apply(this,arguments))}}function u(r,o,a){return function(r){return"debug"===r&&(r="log"),typeof console!==t&&("trace"===r&&n?s:void 0!==console[r]?i(console,r):void 0!==console.log?i(console,"log"):e)}(r)||c.apply(this,arguments)}function f(e,n){var i,s,c,f=this,d="loglevel";function p(){var e;if(typeof window!==t&&d){try{e=window.localStorage[d]}catch(e){}if(typeof e===t)try{var n=window.document.cookie,r=encodeURIComponent(d),o=n.indexOf(r+"=");-1!==o&&(e=/^([^;]+)/.exec(n.slice(o+r.length+1))[1])}catch(e){}return void 0===f.levels[e]&&(e=void 0),e}}function g(e){var t=e;if("string"==typeof t&&void 0!==f.levels[t.toUpperCase()]&&(t=f.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=f.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?d+=":"+e:"symbol"==typeof e&&(d=void 0),f.name=e,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=n||u,f.getLevel=function(){return null!=c?c:null!=s?s:i},f.setLevel=function(e,n){return c=g(e),!1!==n&&function(e){var n=(r[e]||"silent").toUpperCase();if(typeof window!==t&&d){try{return void(window.localStorage[d]=n)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"="+n+";"}catch(e){}}}(c),l.call(f)},f.setDefaultLevel=function(e){s=g(e),p()||f.setLevel(e,!1)},f.resetLevel=function(){c=null,function(){if(typeof window!==t&&d){try{window.localStorage.removeItem(d)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),l.call(f)},f.enableAll=function(e){f.setLevel(f.levels.TRACE,e)},f.disableAll=function(e){f.setLevel(f.levels.SILENT,e)},f.rebuild=function(){if(a!==f&&(i=g(a.getLevel())),l.call(f),a===f)for(var e in o)o[e].rebuild()},i=g(a?a.getLevel():"WARN");var b=p();null!=b&&(c=g(b)),l.call(f)}(a=new f).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=o[e];return t||(t=o[e]=new f(e,a.methodFactory)),t};var d=typeof window!==t?window.log:void 0;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=d),a},a.getLoggers=function(){return o},a.default=a,a},o.exports?o.exports=r():n.log=r()),o.exports),i=e(a);const s={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:(()=>{const e=typeof process<"u"&&process.env?process.env:{},t="test"===e.NODE_ENV,n="VITEST"in e,r="JEST_WORKER_ID"in e,o="PLAYWRIGHT_TEST_BASE_URL"in e,a="true"===e.CI,i="true"===e.TEST||"true"===e.IS_TEST,s=typeof navigator<"u"&&!0===navigator.webdriver,l=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||n||r||o||a||i||s||l})(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{const e={};for(const[t,n]of s.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];const t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}};let l=!0,c=!1;const u=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,f=e=>{if(!(e=>"string"==typeof e&&u.test(e))(e))throw new Error(`[Theming] The theme identifier "${"string"==typeof e?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},d=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),p=(e,t,n,r)=>{(r=r??{}).append=r.append??!1,f(e),l&&!c&&(c=!0,i.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let o=s.A11yUi.THEMES.get(e);if(o||(o=new Map,s.A11yUi.THEMES.set(e,o)),r.append&&o.has(t)){const e=o.get(t);o.set(t,d(`${e}${n}`))}else o.set(t,d(n))},g=(e,t,n,r)=>(f(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((o=>{const a=t[o],i=o.toLowerCase(),s="function"!=typeof r?.transformTagName||["GLOBAL","PROPERTIES"].includes(o)?o:r.transformTagName(i);"string"==typeof a&&a.length>0&&p(e,s.toUpperCase(),a,n)})),e),b=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;typeof ShadowRoot<"u"&&t instanceof ShadowRoot;)t=t.host;return b(t)}}return null},h=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},m=()=>"object"==typeof s.A11yUi.Theme&&null!==s.A11yUi.Theme&&"boolean"==typeof s.A11yUi.Theme.cache&&"object"==typeof s.A11yUi.Theme.encroachCss&&null!==s.A11yUi.Theme.encroachCss&&"string"==typeof s.A11yUi.Theme.encroachCss.mode&&"string"==typeof s.A11yUi.Theme.name,y=e=>{if(m())return s.A11yUi.Theme;{const t={cache:!0,encroachCss:h(),loglevel:"silent",mode:"csr",name:null},n=b(e);return n instanceof HTMLElement&&(t.cache="false"!==n.dataset.themeCache,t.encroachCss=h(n.dataset),t.loglevel="debug"===n.dataset.themeLoglevel?n.dataset.themeLoglevel:"silent",t.mode="ssr"===n.dataset.themeMode?n.dataset.themeMode:"csr",t.name=n.dataset.theme||null),t}},v=()=>m()?s.A11yUi.Theme.name:null,w=(...e)=>{const t={};for(const n of e)n&&Object.assign(t,n);return t},k=(e,t)=>{const n=s.A11yUi.FEATURES[e];if(void 0!==n)return n;const r=(e=>y(e).name)(t??null)??v();if(null!==r){const t=s.A11yUi.THEME_FEATURES[r];if(t&&void 0!==t[e])return t[e]}};let S=!1;const E=(e,t,n={})=>{S||(S=!0,l=!1,typeof window<"u"&&(window.A11yUi=s.A11yUi)),"function"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{"function"==typeof e&&1===e.length?((e,t)=>{!1===m()&&("object"!=typeof s.A11yUi.Theme||null===s.A11yUi.Theme||"default"!==s.A11yUi.Theme.name)&&"object"==typeof t&&null!==t&&(t=((e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",mode:"ssr"===t.mode?t.mode:"csr",name:"string"==typeof t.name?t.name:e}))(e,t),"fixed"===t.detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&(s.A11yUi.Theme=t,i.info(`[Theming] Theme "${e}" was set as default theme.`))):c||(c=!0,i.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))})(e(((e,t,r,o)=>(o&&(s.A11yUi.THEME_FEATURES[e]=w(s.A11yUi.THEME_FEATURES[e],o)),g(e,t,r,n)))),{cache:n.theme?.cache,detect:n.theme?.detect,encroachCss:n.theme?.encroachCss,mode:n.theme?.mode,name:n.theme?.name}):i.error("[Theming] An attempt was made to load an incompatible theme.")})),l=!0,n.features&&(s.A11yUi.FEATURES=w(s.A11yUi.FEATURES,n.features)),"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const r=[];return t.forEach((e=>{const t=e();t instanceof Promise&&r.push(t)})),Promise.all(r)},T=new Set,M=new Map,A=/--[^;]+/g,N=/:/,O=typeof MutationObserver<"u";let L=25,x=()=>{L=Math.min(25+20*Math.log2(s.A11yUi.STYLING_TASK_QUEUE.size+1),250)};const I=(e,t)=>{const n=s.A11yUi.THEMES.get(e);if(n instanceof Map){const e=n.get(t);if(void 0!==e)return e}return""},R=(e,t,n,r)=>{const o="debug"===s.A11yUi.Theme?.loglevel,a=o?performance.now():0;if((e=>{const t=e.firstChild;if(t instanceof HTMLStyleElement&&void 0===t.dataset.themingFallback)for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName&&void 0===t.dataset.themingFallback))break;e.removeChild(t)}})(t),((e,t)=>{try{if("ssr"===s.A11yUi.Theme?.mode)throw new Error("SSR");const n=t.filter((e=>"string"==typeof e&&e.length>0)).map((e=>{let t=M.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),M.set(e,t)),t}));e.adoptedStyleSheets=n}catch{for(let n=t.length-1;n>=0;n--){const r=t[n];if("string"!=typeof r||0===r.length)continue;const o=t.length-1-n,a=document.createElement("style");switch(a.dataset.themingFallback="",o){case 4:a.dataset.themingBaseA11y="";break;case 3:a.dataset.themingBaseGlobal="";break;case 2:a.dataset.themingBaseComponent="";break;case 1:a.dataset.themingCustomGlobal="";break;case 0:a.dataset.themingCustomComponent="";break;default:a.dataset.themingUnknown=""}a.innerHTML=r,e.insertBefore(a,e.firstChild)}}})(t,n),q(e),requestAnimationFrame(r),o){const t=performance.now()-a,n=s.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):s.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},C=e=>{const t=s.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:n,themeDetails:r}=t;((e,t,n)=>{const r=t.name||"default";let o;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");o=e.shadowRoot}catch{o=e}const a=s.A11yUi.CSS_STYLE_CACHE.get(r)?.get(e.tagName);if(a)R(e,o,a,n);else{const a=I(r,"PROPERTIES"),i=I(r,"GLOBAL"),l=I(r,e.tagName);!1===T.has(r)&&((e,t)=>{let n=t.match(A);if(Array.isArray(n)){n=n.filter((e=>N.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${n.join(";")}}`,document.querySelector("head")?.appendChild(t)}T.add(e)})(r,i);const c=[a,i,l];if(((e,t,n)=>{if(!1===n||"before"!==n?.mode&&"after"!==n?.mode)return;const r=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName));let o;try{o=Array.from(e.adoptedStyleSheets)}catch{o=[]}if(0!==r.length||0!==o.length)if("before"===n.mode){const e=[...o.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(""))),...r.map((e=>e.innerHTML))];t.unshift(...e)}else r.forEach((e=>t.push(e.innerHTML))),o.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))})(o,c,t.encroachCss),!0===t.cache){let t=s.A11yUi.CSS_STYLE_CACHE.get(r);t||(t=new Map,s.A11yUi.CSS_STYLE_CACHE.set(r,t)),t.set(e.tagName,c)}R(e,o,c,n)}})(e,r,n)}};let j=(e,t=0)=>{if(t>=100)return;const n=setTimeout((()=>{clearTimeout(n),e.classList.contains("hydrated")?C(e):j(e,t+1)}),L)};const $={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},F={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},_=O?new MutationObserver(((e,t)=>{const n=[];for(const t of e){const e=t.target;e.classList.contains("hydrated")&&s.A11yUi.STYLING_TASK_QUEUE.has(e)&&(C(e),n.push(e))}for(const e of n)t.observe(e,F)})):null;_&&(j=e=>_.observe(e,$),x=()=>{});const H=new Map;let P=(e,t)=>{if(t){const e=H.get(t);if(void 0!==e)return e}const n=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let r;if(n.endsWith("ms"))r=parseFloat(n);else if(n.endsWith("s"))r=1e3*parseFloat(n);else{const e=parseFloat(n);r=isNaN(e)?0:e}return t&&H.set(t,r),r};s.A11yUi.IS_TEST_ENVIRONMENT&&(P=()=>0);const U=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed=""},q=e=>{s.A11yUi.STYLING_TASK_QUEUE.delete(e),x()},z=(e,t)=>{((e,t)=>{const n=e.style.visibility||null,r=t.name||"default";s.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const t=P(e,r);t>0?setTimeout((()=>{U(e,n)}),t):U(e,n)},themeDetails:t}),"ssr"!==t.mode&&e.style.setProperty("visibility","hidden","important"),j(e)})(e,{...s.A11yUi.Theme,...t})};class J{Prefix;Key;Tag;createTheme=(e,t,n)=>((e,t,n)=>r=>r(e,t,{append:!1},n))(e,t,n);createTranslation=(e,t)=>((e,t)=>n=>n(e,t))(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}}var B,K;!function(e){e[e["action-done"]=0]="action-done",e[e["action-running"]=1]="action-running",e[e["avatar-alt"]=2]="avatar-alt",e[e["character-counter-current"]=3]="character-counter-current",e[e["character-counter-current-of-max"]=4]="character-counter-current-of-max",e[e["character-counter-current-of-max-aria"]=5]="character-counter-current-of-max-aria",e[e["character-counter-max-aria"]=6]="character-counter-max-aria",e[e["character-limit-exceeded"]=7]="character-limit-exceeded",e[e["character-limit-hint"]=8]="character-limit-hint",e[e["character-limit-remaining"]=9]="character-limit-remaining",e[e["clear-search"]=10]="clear-search",e[e.close=11]="close",e[e["close-alert"]=12]="close-alert",e[e["data-browse-text"]=13]="data-browse-text",e[e["delete-selection"]=14]="delete-selection",e[e["entries-per-site"]=15]="entries-per-site",e[e.error=16]="error",e[e["error-list"]=17]="error-list",e[e["error-list-message"]=18]="error-list-message",e[e["filename-text"]=19]="filename-text",e[e["form-description"]=20]="form-description",e[e["hide-password"]=21]="hide-password",e[e.info=22]="info",e[e["kolibri-logo"]=23]="kolibri-logo",e[e["live-value"]=24]="live-value",e[e["live-value-bounded"]=25]="live-value-bounded",e[e.message=26]="message",e[e["meter-state-critical"]=27]="meter-state-critical",e[e["meter-state-optimum"]=28]="meter-state-optimum",e[e["meter-state-suboptimal"]=29]="meter-state-suboptimal",e[e["nav-maximize"]=30]="nav-maximize",e[e["nav-minimize"]=31]="nav-minimize",e[e.new=32]="new",e[e["no-entries"]=33]="no-entries",e[e["no-results-message"]=34]="no-results-message",e[e["open-link-in-tab"]=35]="open-link-in-tab",e[e.page=36]="page",e[e["page-back"]=37]="page-back",e[e["page-first"]=38]="page-first",e[e["page-last"]=39]="page-last",e[e["page-next"]=40]="page-next",e[e.pagination=41]="pagination",e[e["pagination-position-bottom"]=42]="pagination-position-bottom",e[e["pagination-position-top"]=43]="pagination-position-top",e[e.progress=44]="progress",e[e.readonly=45]="readonly",e[e["show-password"]=46]="show-password",e[e["show-suggestions"]=47]="show-suggestions",e[e.sort=48]="sort",e[e["split-button-dropdown-label-open"]=49]="split-button-dropdown-label-open",e[e.success=50]="success",e[e["table-data-loading"]=51]="table-data-loading",e[e["table-data-loaded"]=52]="table-data-loaded",e[e["table-pagination-label"]=53]="table-pagination-label",e[e["table-selection"]=54]="table-selection",e[e["table-selection-all"]=55]="table-selection-all",e[e["table-selection-indeterminate"]=56]="table-selection-indeterminate",e[e["table-selection-none"]=57]="table-selection-none",e[e["table-settings"]=58]="table-settings",e[e["table-settings-apply"]=59]="table-settings-apply",e[e["table-settings-cancel"]=60]="table-settings-cancel",e[e["table-settings-column-hidable"]=61]="table-settings-column-hidable",e[e["table-settings-column-not-hidable"]=62]="table-settings-column-not-hidable",e[e["table-settings-column-width"]=63]="table-settings-column-width",e[e["table-settings-error-all-invisible"]=64]="table-settings-error-all-invisible",e[e["table-settings-move-down"]=65]="table-settings-move-down",e[e["table-settings-move-up"]=66]="table-settings-move-up",e[e["table-settings-not-move"]=67]="table-settings-not-move",e[e["table-sort-order"]=68]="table-sort-order",e[e["table-visible-range"]=69]="table-visible-range",e[e["toast-close-all"]=70]="toast-close-all",e[e.version=71]="version",e[e.warning=72]="warning"}(B||(B={})),function(e){e[e.abbr=0]="abbr",e[e.accordion=1]="accordion",e[e.alert=2]="alert",e[e.avatar=3]="avatar",e[e.badge=4]="badge",e[e.breadcrumb=5]="breadcrumb",e[e.button=6]="button",e[e["button-link"]=7]="button-link",e[e.card=8]="card",e[e.combobox=9]="combobox",e[e.details=10]="details",e[e.dialog=11]="dialog",e[e.drawer=12]="drawer",e[e.form=13]="form",e[e.heading=14]="heading",e[e.icon=15]="icon",e[e.image=16]="image",e[e["input-checkbox"]=17]="input-checkbox",e[e["input-color"]=18]="input-color",e[e["input-date"]=19]="input-date",e[e["input-email"]=20]="input-email",e[e["input-file"]=21]="input-file",e[e["input-number"]=22]="input-number",e[e["input-password"]=23]="input-password",e[e["input-radio"]=24]="input-radio",e[e["input-range"]=25]="input-range",e[e["input-text"]=26]="input-text",e[e.kolibri=27]="kolibri",e[e.link=28]="link",e[e["link-button"]=29]="link-button",e[e.logo=30]="logo",e[e.meter=31]="meter",e[e.modal=32]="modal",e[e.nav=33]="nav",e[e.pagination=34]="pagination",e[e["popover-button"]=35]="popover-button",e[e.progress=36]="progress",e[e.quote=37]="quote",e[e.select=38]="select",e[e["single-select"]=39]="single-select",e[e["skip-nav"]=40]="skip-nav",e[e.spin=41]="spin",e[e["split-button"]=42]="split-button",e[e.symbol=43]="symbol",e[e.table=44]="table",e[e["table-stateful"]=45]="table-stateful",e[e["table-stateless"]=46]="table-stateless",e[e.tabs=47]="tabs",e[e.textarea=48]="textarea",e[e["toast-container"]=49]="toast-container",e[e.toolbar=50]="toolbar",e[e.tooltip=51]="tooltip",e[e.tree=52]="tree",e[e["tree-item"]=53]="tree-item",e[e.version=54]="version"}(K||(K={}));const W=()=>"undefined"!=typeof window?window:{},D=()=>{const e=W();return e&&void 0!==e.document?e.document:{}},G=["development","production","test"];let Y="production";const V=e=>{try{if(!G.includes(e))throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${G.join(", ")}.`);Y=e}catch(e){Y="production"}},Q=()=>{try{return"undefined"!=typeof process&&process.env?process.env.NODE_ENV:void 0}catch(e){return}};V((()=>{const e=Q();return e&&G.includes(e)?e:"production"})());let X=!1,Z=!1;const ee=()=>"development"===Y,te=()=>"test"===Y,ne=()=>!0===X,re=e=>{X=!0===e},oe=()=>!0===Z,ae=e=>{Z=!0===e},ie=e=>Array.isArray(e)?e:[e],se=e=>`%c${e}`,le=(e,t)=>"string"==typeof t&&t.length>0?`${se(e)} | ${t}`:se(e),ce=(e,t)=>[le(e,null==t?void 0:t.classifier),`color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000;${(null==t?void 0:t.overwriteStyle)||""}`],ue=e=>ee()||!0===e,fe=new class{constructor(e){this.label=e}debug(e,t){ue(null==t?void 0:t.forceLog)&&console.debug(...ce(this.label,t),...ie(e))}info(e,t){ue(null==t?void 0:t.forceLog)&&console.info(...ce(this.label,t),...ie(e))}trace(e,t){ue(null==t?void 0:t.forceLog)&&console.trace(...ce(this.label,t),...ie(e))}warn(e,t){ue(null==t?void 0:t.forceLog)&&console.warn(...ce(this.label,t),...ie(e))}error(e,t){console.error(...ce(this.label,t),...ie(e))}throw(e,t){if(ue(null==t?void 0:t.forceLog))throw new Error(...ce(this.label,t),...ie(e))}}("KoliBri"),de=new Set,pe=e=>{!1===de.has(e)&&(de.add(e),fe.debug([e].concat([]),{classifier:"✋ a11y",forceLog:!1,overwriteStyle:"; background-color: #09f"}))},ge=new Set,be=e=>{!1===ge.has(e)&&(ge.add(e),fe.warn([e].concat([]),{classifier:"🔥 deprecated",forceLog:!1,overwriteStyle:"; background-color: #f00"}))},he=new Set,me=(e,t)=>{(!1===he.has(e)||(null==t?void 0:t.force))&&(he.add(e),fe.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #f09"}))},ye=e=>{!1===he.has(e)&&(he.add(e),fe.warn([e].concat([]),{classifier:"⚠️ dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))},ve=new Set,we=(e,t=!1)=>{!1===ve.has(e)&&(ve.add(e),fe.debug([e+=!0===t?" ✅":""].concat([]),{classifier:"🌟 feature",forceLog:!1,overwriteStyle:"; background-color: #309"}))};me("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");const ke=new Set,Se=e=>{!1===ke.has(e)&&(ke.add(e),fe.debug([e].concat([]),{classifier:"📑 ui/ux",forceLog:!1,overwriteStyle:"; background-color: #060;"}))},Ee=e=>{"string"==typeof e&&""!==e||pe("Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},Te=(e,t=8)=>{t>7&&Se(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var Me,Ae,Ne,Oe,Le=1/12.92;function xe(e){return Math.pow((e+.055)/1.055,2.4)}function Ie(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return.2126*(t<=.03928?t*Le:xe(t))+.7152*(n<=.03928?n*Le:xe(n))+.0722*(r<=.03928?r*Le:xe(r))}function Re(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function Ce(e,t){return function(e,t){return function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}(Ie(e),Ie(t))}(Re(e),Re(t))}var je=function(){if(Oe)return Ne;Oe=1;var e=Ae?Me:(Ae=1,Me={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]});Ne=function(n){var r,o,a=[],i=1;if("string"==typeof n)if(n=n.toLowerCase(),e[n])a=e[n].slice(),o="rgb";else if("transparent"===n)i=0,o="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);i=1,(u=s.length)<=4?(a=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===u&&(i=parseInt(s[3]+s[3],16)/255)):(a=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===u&&(i=parseInt(s[6]+s[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),o="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var l=r[1],c="rgb"===l;o=s=l.replace(/a$/,"");var u="cmyk"===s?4:"gray"===s?1:3;a=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e))return n===u?parseFloat(e)/100:"rgb"===s?255*parseFloat(e)/100:parseFloat(e);if("h"===s[n]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==t[e])return t[e]}return parseFloat(e)})),l===s&&a.push(1),i=c||void 0===a[u]?1:a[u],a=a.slice(0,u)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(a=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),o=n.match(/([a-z])/gi).join("").toLowerCase());else isNaN(n)?Array.isArray(n)||n.length?(a=[n[0],n[1],n[2]],o="rgb",i=4===n.length?n[3]:1):n instanceof Object&&(null!=n.r||null!=n.red||null!=n.R?(o="rgb",a=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(o="hsl",a=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),i=n.a||n.alpha||n.opacity||1,null!=n.opacity&&(i/=100)):(o="rgb",a=[n>>>16,(65280&n)>>>8,255&n]);return{space:o,values:a,alpha:i}};var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};return Ne}(),$e=e(je);const Fe={min:[0,0,0],max:[255,255,255]};var _e={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t,n,r,o,a,i=e[0]/360,s=e[1]/100,l=e[2]/100,c=0;if(0===s)return[a=255*l,a,a];for(t=2*l-(n=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];c<3;)(r=i+1/3*-(c-1))<0?r++:r>1&&r--,o[c++]=255*(a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return o}};Fe.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,a=e[2]/255,i=Math.min(r,o,a),s=Math.max(r,o,a),l=s-i;return s===i?t=0:r===s?t=(o-a)/l:o===s?t=2+(a-r)/l:a===s&&(t=4+(r-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+s)/2,[t,100*(s===i?0:n<=.5?l/(s+i):l/(2-s-i)),100*n]};var He,Pe={exports:{}},Ue=function(){if(He)return Pe.exports;function e(e){var n=t(e);return 3==n.length?n.concat(255):(n[3]=Math.round(n[3]),n)}function t(e){return"string"==typeof e?("red"==(t=e=e.toLowerCase())?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,""),n=t.length;if(3==n||4==n){var o=r(t[0]),a=r(t[1]),i=r(t[2]),s=3==n?255:r(t[3]);if(isNaN(o)||isNaN(a)||isNaN(i)||isNaN(s))return;return[o,a,i,s]}}(e)||function(e){var t=e.replace(/^#/,""),n=t.length;if(6==n||8==n){var o=r(t.slice(0,2)),a=r(t.slice(2,4)),i=r(t.slice(4,6)),s=6==n?255:r(t.slice(6,8));if(isNaN(o)||isNaN(a)||isNaN(i)||isNaN(s))return;return[o,a,i,s]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=o(t[0],!0),r=o(t[1],!0),a=o(t[2],!0);if(-1!=n&&-1!=r&&-1!=a)return[n,r,a,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=o(t[0],!0),r=o(t[1],!0),a=o(t[2],!0),i=o(255*t[3]);if(-1!=n&&-1!=r&&-1!=a&&-1!=i)return[n,r,a,i]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=o(null!=e.r?e.r:null!=e.red?e.red:0,!0),n=o(null!=e.g?e.g:null!=e.green?e.green:0,!0),r=o(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),a=o(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=n&&-1!=r&&-1!=a)return[t,n,r,a]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=o(e[0],!0),n=o(e[1],!0),r=o(e[2],!0),a=o(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=n&&-1!=r&&-1!=a)return[t,n,r,a]}}(e)||function(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}(e)||[0,0,0,255];var t}function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function r(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function o(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}return He=1,Pe.exports=e,Pe.exports.arr=e,Pe.exports.obj=function(e){var n=t(e);return{r:n[0],g:n[1],b:n[2],a:3==n.length?255:Math.round(n[3])}},Pe.exports.css=function(e){var n=t(e);return 3==n.length&&n.push(255),255==n[3]?"rgb("+n[0]+", "+n[1]+", "+n[2]+")":0==n[3]?"rgba("+n[0]+", "+n[1]+", "+n[2]+", 0)":"rgba("+n[0]+", "+n[1]+", "+n[2]+", "+String(n[3]/255).substr(1)+")"},Pe.exports.hex=function(e){var r=t(e);3==r.length&&r.push(255);var o=255==r[3],a=n(r[0]),i=n(r[1]),s=n(r[2]),l=function(e,t,n,r){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=o.indexOf(e)&&-1!=o.indexOf(t)&&-1!=o.indexOf(n)&&-1!=o.indexOf(r)}(a,i,s,r=n(Math.round(r[3])));return o?l?"#"+a.charAt(0)+i.charAt(0)+s.charAt(0):"#"+a+i+s:l?"#"+a.charAt(0)+i.charAt(0)+s.charAt(0)+r.charAt(0):"#"+a+i+s+r},Pe.exports.num=function(e){var n=t(e);return 3==n.length?n.push(255):n[3]=Math.round(n[3]),(n[3]<<24>>>0|n[0]<<16|n[1]<<8|n[2])>>>0},Pe.exports}(),qe=e(Ue);const ze=/\[object Object\]/,Je=(e,t)=>{"string"==typeof e&&ze.test(e)||t()},Be=(e,t)=>{ne()&&(fe.debug([e,t]),fe.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},Ke=(e,t,n,r={})=>{var o,a;void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextHooks.get(t)instanceof Map==0&&e.nextHooks.set(t,new Map),"function"==typeof r.afterPatch&&(null===(o=e.nextHooks.get(t))||void 0===o||o.set("afterPatch",r.afterPatch)),"function"==typeof r.beforePatch&&(null===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",r.beforePatch)),e.nextState.set(t,n),(e=>{var t,n,r;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,n)=>{var r;const o=t.get("beforePatch");"function"==typeof o&&o(null===(r=e.nextState)||void 0===r?void 0:r.get(n),e.nextState,e,n)})),(null===(n=e.nextState)||void 0===n?void 0:n.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(r=e.nextHooks)||void 0===r||r.forEach(((t,n)=>{const r=t.get("afterPatch");"function"==typeof r&&r(e.state[n],e.state,e,n)}))),delete e.nextHooks})(e)};function We(e,t,n,r,o,a={}){if("production"!==Y||"production"!==Q())if(n(o))Ke(e,t,o,a.hooks);else if(void 0===o&&!0!==a.required&&n(a.defaultValue))Ke(e,t,a.defaultValue,a.hooks);else{const n=new Set(r);a.required||n.add(null),((e,t,n,r)=>{me(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(r).join(", ")}`)})(e,t,o,n)}else void 0!==o?Ke(e,t,o,a.hooks):n(void 0)?Ke(e,t,void 0,a.hooks):!0!==a.required&&n(a.defaultValue)&&Ke(e,t,a.defaultValue,a.hooks)}const De=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw fe.warn(["stringifyJson",e]),fe.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},Ge=/^[{[]/,Ye=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(Ge.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){fe.warn(["parseJson",e]),fe.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).")}}throw new Error},Ve=(e,t)=>{if(!e)return;const n=new Set,r=[e];let o=0;for(;o<r.length;){const e=r[o++];if(n.has(e))continue;if(n.add(e),t(e))return;const a=Array.from(e.children||[]);for(let e=0;e<a.length;e++)r.push(a[e]);if(e instanceof HTMLElement&&e.shadowRoot&&r.push(e.shadowRoot),e instanceof HTMLSlotElement){const t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&r.push(t[e])}}},Qe=(e,t)=>((e,t)=>{let n=null;return Ve(t,(t=>!!(t instanceof Element&&t.matches(e))&&(n=t,!0))),n})(e,t||D()),Xe=(e,t)=>((e,t)=>{const n=[];return Ve(t,(t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1))),n})(e,t||D());let Ze=null;const et=()=>(Ze=Ze||{backgroundColor:"#00000000",color:"#00000000",domNode:D().body,level:"Fail",score:1},Ze),tt=/(\d+, ){3}0\)/,nt=(e,t=et())=>{const n=getComputedStyle(e),r=tt.test(n.backgroundColor)?t.backgroundColor:qe.hex(n.backgroundColor),o=tt.test(n.color)?t.color:qe.hex(n.color),a=Ce(r,o),i={backgroundColor:r,color:o,domNode:e,level:(s=a,s>=7?"AAA":s>=4.5?"AA":s>=3?"AA Large":"Fail"),score:a};var s;return a<4.5&&fe.error(["Color-Contrast-Error",{backgroundColor:i.backgroundColor,color:i.color,level:i.level,score:i.score},i.domNode]),i},rt=(e,t=et())=>{t.domNode instanceof HTMLElement&&(t=nt(t.domNode,t));const n=t.domNode.querySelector(e);if(null===n){const n=t.domNode.querySelectorAll('[class="hydrated"]');for(let r=0;r<n.length&&(t.domNode=n[r],null===(t=rt(e,t)).domNode);r++);return t}return nt(n,t)};class ot{static queryHtmlElementColors(e,t,n=!1,r=!0){let o=null;if(!0===n||!1===ot.executionLock)if(!1===n&&(ot.cache.clear(),ot.cache.set(t.domNode,t),ot.executionLock=!0,!0===r&&fe.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)o=t;else{const n=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)n.add(e[t])}const r=t.domNode;if("function"==typeof r.assignedNodes){const e=r.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&n.add(e[t])}const a=t.domNode.children;for(let e=0;e<a.length;e++)n.add(a[e]);const i=Array.from(n);for(let n=0;n<i.length;n++){let r=ot.cache.get(i[n]);void 0===r&&(r=nt(i[n],t)),ot.cache.set(i[n],r);const a=ot.queryHtmlElementColors(e,r,!0,!1);if(null!==a){o=a;break}}}else fe.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===r&&fe.debug(`[KoliBriUtils] Color contrast analysis finished (${ot.cache.size} DOM elements are analysed).`),ot.executionLock=!1,ot.cache.clear()),o}}ot.executionLock=!1,ot.cache=new Map;class at{}at.getCssStyle=I,at.patchTheme=(e,t,n,r)=>g(e,t,n,r),at.patchThemeTag=(e,t,n,r)=>p(e,t,n,r),at.querySelector=Qe,at.querySelectorAll=Xe,at.stringifyJson=De;const it=e=>"object"==typeof e&&null!==e,st=(e,t=0)=>"string"==typeof e&&e.length>=t,lt=e=>{if("object"!=typeof e||null===e)return st(e,1);for(const t in e)if(!1===st(t,1))return!1;return!0},ct=new Event("StateChange");export{Ce as A,Te as B,ne as C,st as D,J as E,lt as F,We as G,Qe as H,ee as I,nt as J,B as K,fe as L,Xe as M,rt as N,ot as O,De as P,oe as Q,v as R,ct as S,K as T,k as X,at as a,Ee as b,be as c,z as d,me as e,we as f,V as g,E as h,e as i,it as j,ye as k,$e as l,_e as m,pe as n,Je as o,Ye as p,D as q,Fe as r,Be as s,re as t,Se as u,ae as v,y as w,W as x,te as y,qe as z}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as o}from"./index-Dulj0jro.js";import{b as l}from"./bem-registry-DQUGxdIS.js";import{B as r}from"./component-B16Fbp3W.js";import{S as s}from"./component-oUQcgxDj.js";const a=l.forBlock("kol-badge"),t=a("label"),n=a("smart-button"),e=({color:l,icons:e,label:i,smartButton:c})=>o("div",{class:a({"has-smart-button":void 0!==c}),style:{backgroundColor:l.backgroundColor,color:l.foregroundColor}},o(s,{class:t,id:null==c?void 0:c.labelId,allowMarkdown:!0,icons:e,label:i}),c&&o(r,Object.assign({},c.resolvedButton,{class:n,ariaDescriptionId:c.ariaDescriptionId,handleBlur:c.handleBlur,handleClick:c.handleClick,handleFocus:c.handleFocus,handleMouseDown:c.handleMouseDown,refButton:c.refSmartButton,refTooltip:c.refTooltip})),o("br",null));export{e as B}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-Dulj0jro.js";import{c}from"./clsx-COFh-Vc8.js";import{g as r}from"./block-bem-BGIVcYJu.js";const m=(m,t)=>{var{block:i,modifiers:e,class:a,component:l="div"}=m,n=o(m,["block","modifiers","class","component"]);const b=r(i);return s(l,Object.assign({class:c(b(e),a)},n),t)};export{m as B}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a}from"./tslib.es6-QNbPBOk5.js";import{h as e}from"./index-Dulj0jro.js";import"./common-BdSzSIXg.js";import{c as o,i as s,u as i,a as t,b as r,r as n,t as l}from"./props-from-config-ytxYrJUY.js";import{a as d,b as c,c as p,f as m,g as u,h as b,i as f,l as h,d as x,s as v,t as j,e as y,v as g,A as B,j as I}from"./component-C79oAu7a.js";import{b as D}from"./bem-registry-DQUGxdIS.js";import{c as C}from"./clsx-COFh-Vc8.js";import{B as k}from"./component-B05zRrM0.js";import{S as w}from"./component-oUQcgxDj.js";import{T as K}from"./component-W1KZI4h4.js";import{d as S}from"./disabled-BZXlWAgK.js";import{i as F}from"./id-BI0ZuK17.js";import{l as T}from"./label-with-expert-slot-BbZ9nx0l.js";const A=["dialog","false","grid","listbox","menu","tree","true"],E=o("ariaHasPopup","",(function(a){if(""===a)return"";if(s(a,A))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${A.join(", ")}, got ${JSON.stringify(a)}`)})),M=o("ariaSelected","",(function(a){return i(a,"aria-selected")})),O=t(),P=["button","reset","submit"],Z=o("type","button",(function(a){const e=r(a);if(s(e,P))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>P.includes(a))),H=o("name","",r),L={required:[T],optional:[d,c,p,m,E,M,O,Z,u,S,b,F,f,h,H,x,v,j,y,g]},Q=D.forBlock("kol-button"),U=Q("interactive-element"),$=Q("text"),z=Q("tooltip"),J=o=>{const s=n(L,o),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:d,ariaExpanded:c,ariaHasPopup:p,ariaSelected:m,class:u,customClass:b,disabled:f,handleBlur:h,handleClick:x,handleFocus:v,handleMouseDown:j,hideLabel:y,icons:g,id:D,inline:S,label:F,name:T,refButton:A,refTooltip:E,role:M,shortKey:O,tabIndex:P,type:Z,variant:H}=s,Q=a(s,["accessKey","ariaControls","ariaDescription","ariaDescriptionId","ariaExpanded","ariaHasPopup","ariaSelected","class","customClass","disabled","handleBlur","handleClick","handleFocus","handleMouseDown","hideLabel","icons","id","inline","label","name","refButton","refTooltip","role","shortKey","tabIndex","type","variant","on","tooltipAlign"]),J=i||O,N=l(F).length>0,W=r.trim().length>0;return e(k,Object.assign({block:"kol-button",class:C(u,{[I(H,"button")]:H.length>0,[b]:b.length>0}),modifiers:{disabled:f,"hide-label":y,inline:!0===S,standalone:!1===S}},Q),e("button",{ref:A,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":W?d:void 0,"aria-expanded":c||void 0,"aria-haspopup":p||void 0,"aria-keyshortcuts":O||void 0,"aria-label":y&&N?l(F):void 0,"aria-selected":m||void 0,class:U,disabled:f,id:D||void 0,name:T||void 0,onBlur:h,onClick:x,onFocus:v,onMouseDown:j,role:M||void 0,tabIndex:P,type:Z},e(w,{class:$,badgeText:J,icons:g,hideLabel:y,label:F},e("slot",{name:"expert",slot:"expert"}))),y&&N&&e("div",{class:z},e(K,{badgeText:J,label:F,refFloating:E})),W&&e(B,{description:r,descriptionId:d}))};export{J as B,M as a,L as b,O as c,Z as d,E as e,H as n}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as l,F as e}from"./index-Dulj0jro.js";import{g as r}from"./Heading-C_CwXDMp.js";import{t as a}from"./i18n-ePBcLlCr.js";import"./common-BdSzSIXg.js";import{t as s}from"./props-from-config-ytxYrJUY.js";import{b as i}from"./bem-registry-DQUGxdIS.js";import{c as n}from"./clsx-COFh-Vc8.js";import{B as t}from"./component-B05zRrM0.js";import{B as c}from"./component-B16Fbp3W.js";import{r as d}from"./component-oUQcgxDj.js";import{I as p}from"./component-Clz6b6ho.js";const m=i.forBlock("kol-alert")("icon"),f={error:{label:a("kol-error"),icon:"kolicon-alert-error"},info:{label:a("kol-info"),icon:"kolicon-alert-info"},warning:{label:a("kol-warning"),icon:"kolicon-alert-warning"},success:{label:a("kol-success"),icon:"kolicon-alert-success"},default:{label:a("kol-message"),icon:"kolicon-alert-info"}},b=({type:o="default"})=>{const r=f[o||"default"];return l(e,null,l("span",{class:"visually-hidden"},r.label),l(p,{class:m,label:"",icons:r.icon}))},k=i.forBlock("kol-alert"),u=k("closer"),h=k("content"),C=void 0,j=(e,i)=>{const{alert:p,class:m,closerAriaDescriptionId:f,handleCloserClick:j,hasCloser:g,headingId:v,label:y,level:B,refCloserButton:D,refCloserTooltip:I,type:x,variant:w}=e,A=o(e,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),F=a("kol-close-alert"),S=r(null!=B?B:0);return l(t,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===g,[`type-${x}`]:!0,[`variant-${w}`]:!0},role:p?"alert":void 0},A),l(b,{type:x}),!!(null==y?void 0:y.length)&&l(S,{class:n("kol-headline",`kol-headline--${S}`,k("heading",{[`h${B}`]:!0}),"kol-headline--single"),id:v},d(y)),g&&l(c,{accessKey:"",ariaControls:"",ariaDescription:s(y),ariaDescriptionId:f,ariaExpanded:C,ariaHasPopup:"",ariaSelected:C,class:n(u,"kol-close-button"),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:j,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:F,name:"",on:{},refButton:D,refTooltip:I,role:C,shortKey:"",tabIndex:C,tooltipAlign:"top",type:"button",variant:["normal"]}),l("div",{"aria-describedby":(null==y?void 0:y.length)?v:void 0,class:h},i))};export{j as A}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as o}from"./component-BKfXEtN0.js";import{a as i,B as s,b as t,c as e}from"./behavior-B4IW5_Qt.js";import"./common-OzsC_6kt.js";import"./props-from-config-Ci0dILpz.js";import{h as r}from"./index-D_P2XoAc.js";import{B as a}from"./component-scm3PBuq.js";import{B as n}from"./component-Dt6efHXY.js";import{a as l}from"./tslib.es6-QNbPBOk5.js";import{b as p}from"./bem-registry-CWN7_O1L.js";import{c as h}from"./clsx-COFh-Vc8.js";const c=o("popoverAlign","bottom"),d={optional:[i]};class m extends s{constructor(o){super(o,d),this.show=!1,this.setPopoverElementRef=o=>{this.popoverElement=o,this.arrowElement=null==o?void 0:o.querySelector(".kol-popover__arrow")},this.setTriggerElement=o=>{this.triggerElement=o},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await t({align:this.getRenderProp("align"),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=e(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(o){this.watchAlign(o.align)}watchAlign(o){i.apply(o,(o=>{this.setRenderProp("align",o)}))}setShow(o){this.show=o,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var o;null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var o;if(!this.popoverElement)return;const i=this.popoverElement.matches(":popover-open");if(this.show){if(!i)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(o){}}else if(i)try{this.popoverElement.hidePopover(),null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0}catch(o){}}}const f=p.forBlock("kol-popover"),v=(o,i)=>{const{align:s="bottom",popoverRef:t,arrowRef:e,class:a}=o,n=l(o,["align","popoverRef","arrowRef","class"]);return r("div",Object.assign({},n,{class:h(f(),a),ref:t,popover:"auto"}),r("div",{class:h(f("arrow"),f("arrow",{[s]:!0})),ref:e}),i.length>0?i:r("slot",null))},u=(o,i)=>{const{accessKey:s,ariaDescription:t,ariaDescriptionId:e,ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:j,label:w,name:B,on:k,popoverAlign:C,popoverOpen:D,popoverId:_,ref:x,refButton:A,refPopover:I,refTooltip:P,role:O,shortKey:E,tabIndex:K,tooltipAlign:L,type:R,variant:F}=o;return r(a,{block:"kol-popover-button",class:o.class,ref:x,modifiers:{open:D,inline:!0===j}},r(n,{accessKey:s,ariaControls:_,ariaDescription:t,ariaDescriptionId:e,ariaExpanded:D?"true":"false",ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:j,label:w,name:B,on:k,refButton:A,refTooltip:P,role:O,shortKey:E,tabIndex:K,tooltipAlign:L,type:R,variant:F}),r(v,{align:C,class:"kol-popover-button__popover",id:_,popoverRef:I},i))};export{u as P,m as a,c as p}
4
+ import{c as o}from"./component-W1KZI4h4.js";import{a as i,B as s,b as t,c as e}from"./behavior-Bb7JYoUn.js";import"./common-BdSzSIXg.js";import"./props-from-config-ytxYrJUY.js";import{h as r}from"./index-Dulj0jro.js";import{B as a}from"./component-B05zRrM0.js";import{B as n}from"./component-B16Fbp3W.js";import{a as l}from"./tslib.es6-QNbPBOk5.js";import{b as p}from"./bem-registry-DQUGxdIS.js";import{c as h}from"./clsx-COFh-Vc8.js";const c=o("popoverAlign","bottom"),d={optional:[i]};class m extends s{constructor(o){super(o,d),this.show=!1,this.setPopoverElementRef=o=>{this.popoverElement=o,this.arrowElement=null==o?void 0:o.querySelector(".kol-popover__arrow")},this.setTriggerElement=o=>{this.triggerElement=o},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await t({align:this.getRenderProp("align"),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=e(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(o){this.watchAlign(o.align)}watchAlign(o){i.apply(o,(o=>{this.setRenderProp("align",o)}))}setShow(o){this.show=o,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var o;null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var o;if(!this.popoverElement)return;const i=this.popoverElement.matches(":popover-open");if(this.show){if(!i)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(o){}}else if(i)try{this.popoverElement.hidePopover(),null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0}catch(o){}}}const f=p.forBlock("kol-popover"),v=(o,i)=>{const{align:s="bottom",popoverRef:t,arrowRef:e,class:a}=o,n=l(o,["align","popoverRef","arrowRef","class"]);return r("div",Object.assign({},n,{class:h(f(),a),ref:t,popover:"auto"}),r("div",{class:h(f("arrow"),f("arrow",{[s]:!0})),ref:e}),i.length>0?i:r("slot",null))},u=(o,i)=>{const{accessKey:s,ariaDescription:t,ariaDescriptionId:e,ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:j,inline:y,label:B,name:w,on:x,popoverAlign:k,popoverOpen:D,popoverId:I,ref:A,refButton:C,refPopover:R,refTooltip:S,role:F,shortKey:K,tabIndex:P,tooltipAlign:E,type:O,variant:_}=o;return r(a,{block:"kol-popover-button",class:o.class,ref:A,modifiers:{open:D,inline:!0===y}},r(n,{accessKey:s,ariaControls:I,ariaDescription:t,ariaDescriptionId:e,ariaExpanded:D?"true":"false",ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:j,inline:y,label:B,name:w,on:x,refButton:C,refTooltip:S,role:F,shortKey:K,tabIndex:P,tooltipAlign:E,type:O,variant:_}),r(v,{align:k,class:"kol-popover-button__popover",id:I,popoverRef:R},i))};export{u as P,m as a,c as p}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{n as r}from"./common-BdSzSIXg.js";import{c as t,b as n,u as o,n as e,i as a,w as s,o as i}from"./props-from-config-ytxYrJUY.js";import{a as f}from"./validators-CTjxOidB.js";import{c as u}from"./component-W1KZI4h4.js";import{h as c}from"./index-Dulj0jro.js";const l=(r,t)=>{let n="";return Array.isArray(r)&&r.forEach((r=>{n+="kol-"+t+"--"+r+" "})),n},p=t("accessKey","",n),d=t("ariaControls","",n),m=t("ariaDescription","",n),y=t("ariaExpanded","",(function(r){return o(r,"aria-expanded")})),b=t("customClass","",n,(function(r){return""===r||f(r)})),g=t("hideLabel",!1,e),j=t("inline",!0,e),h=["tab","treeitem"],v=t("role","",(function(r){if(""===r)return"";if(a(r,h))return r;throw new Error(`Invalid role: expected one of ${h.join(", ")}, got ${JSON.stringify(r)}`)})),x=t("shortKey","",n),I=t("icons",{},(function(r){if(!r||"string"==typeof r&&""===r)return{};if("string"==typeof r&&/^[{[]/.test(r.trim()))return s(r);if("string"==typeof r)return n(r);if("object"==typeof r)return s(r);throw new Error("Invalid icons: "+typeof r)}),(function(r){return"string"==typeof r?r.length>0:"object"==typeof r&&null!==r})),w=t("tabIndex",0,i,void 0,{hints:(t,n)=>{"number"==typeof n&&n>0&&r(`Positive tabIndex values ("${n}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),A=u("tooltipAlign","right"),C=t("variant",[],(function(r){return Array.isArray(r)?r:"string"==typeof r?r.split(" "):[]}),(function(r){return 0===r.length||r.every(f)})),D=({description:r,descriptionId:t})=>r?c("span",{class:"visually-hidden",id:t},r):null;export{D as A,p as a,d as b,m as c,x as d,A as e,y as f,b as g,g as h,j as i,l as j,v as l,I as s,w as t,C as v}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as s,F as r}from"./index-Dulj0jro.js";import{t as a}from"./i18n-ePBcLlCr.js";import{b as n}from"./bem-registry-DQUGxdIS.js";import{B as o}from"./component-B05zRrM0.js";import{c as e,n as t,b as l,r as i}from"./props-from-config-ytxYrJUY.js";import"./common-BdSzSIXg.js";import{l as c}from"./label-B-Dr7VaP.js";const p=e("show",!1,t),m=["dot","cycle","none"],u=e("variant","dot",(s=>{const r=l(s);if(m.includes(r))return r;throw new Error(`Invalid spin variant: ${r}`)}),(()=>!0)),d={optional:[c,p,u]},f=n.forBlock("kol-spin"),j=f("loader"),b=["1","2","3","neutral"],y=n=>{const{show:e,label:t,variant:l}=i(d,n);return s(o,{block:"kol-spin"},e?s(r,null,s("span",{class:f("spinner",{[l]:!0})},function(r){switch(r){case"cycle":return s("span",{class:j});case"none":return s("slot",{name:"expert"});default:return b.map((r=>s("span",{class:f("spinner-element",{[r]:!0})})))}}(l)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},t||a("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},t||a("kol-action-done")))};export{y as S,p as a,d as s,u as v}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as s}from"./tslib.es6-QNbPBOk5.js";import{h as o}from"./index-Dulj0jro.js";import{b as i}from"./bem-registry-DQUGxdIS.js";import{c as r}from"./clsx-COFh-Vc8.js";const a=i.forBlock("kol-icon"),l=a(),e=a("icon"),t=i=>{var{class:a,icons:t,label:c}=i,n=s(i,["class","icons","label"]);const m=(null==c?void 0:c.length)>0;return o("i",Object.assign({},n,{"aria-hidden":m?void 0:"true","aria-label":m?c:void 0,class:r(l,e,t,a),role:m?"img":"presentation"}))};export{t as I}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{t as o}from"./i18n-ePBcLlCr.js";import{r as e}from"./resolve-props-Bj6IaybL.js";import{h as r}from"./index-Dulj0jro.js";import{K as l}from"./Heading-C_CwXDMp.js";import{b as s}from"./bem-registry-DQUGxdIS.js";import{c as a}from"./clsx-COFh-Vc8.js";import{B as t}from"./component-B16Fbp3W.js";import{a as i,r as n}from"./props-from-config-ytxYrJUY.js";import{r as c}from"./component-oUQcgxDj.js";import"./common-BdSzSIXg.js";import{l as m}from"./level-DsQ_pcyD.js";import{h as p}from"./has-closer-DUB0QcS9.js";import{h as d}from"./href-CxokGOJ2.js";import{l as f}from"./label-lang-segment-iVD9hoM3.js";import{l as h}from"./link-target-D7lYILOV.js";const j=i(),u={required:[f],optional:[j,p,d,m,h]};function b(r){return e({_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:o("kol-close"),_tooltipAlign:"top"},r)}const g=s.forBlock("kol-card"),B=g("close-button"),D=g("content"),C=g("header"),v=g("link"),I=()=>{},k=({headingId:o,label:e,level:s})=>r(l,{class:C,id:o,level:s},c(e)),x=(o,e)=>{const{ariaDescriptionId:l,class:s,closeButtonProps:i,handleBlur:c,handleClose:m,handleFocus:p,hasCloser:d,headingId:f,href:h,label:j,level:b,refCloseButton:C,refCta:x,refTooltip:_,target:y}=n(u,o);return r("article",{"aria-labelledby":f,class:a(g(),s)},h.length>0?r("a",{class:v,href:h,target:y||void 0,onBlur:c,onFocus:p,ref:x},r(k,{headingId:f,label:j,level:b})):r(k,{headingId:f,label:j,level:b}),r("div",{class:D},e),d&&r("div",{class:a(B,"kol-close-button")},r(t,Object.assign({},i,{ariaDescriptionId:l,handleBlur:I,handleClick:m,handleFocus:I,handleMouseDown:I,refButton:C,refTooltip:_}))))};export{x as C,j as a,u as c,b as r}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as o}from"./index-Dulj0jro.js";import{t as a}from"./i18n-ePBcLlCr.js";import{e}from"./common-BdSzSIXg.js";import{c as s,b as i,a as r,r as t,t as n}from"./props-from-config-ytxYrJUY.js";import{a as l,b as d,c,f as p,g as m,h as f,s as b,i as k,l as v,d as j,t as h,e as x,v as g,A as u,j as y}from"./component-C79oAu7a.js";import{b as C}from"./bem-registry-DQUGxdIS.js";import{c as w}from"./clsx-COFh-Vc8.js";import{p as I}from"./element-interaction-sGYdEpmv.js";import{B as _}from"./component-B05zRrM0.js";import{I as D}from"./component-Clz6b6ho.js";import{S as A}from"./component-oUQcgxDj.js";import{T as B}from"./component-W1KZI4h4.js";import{d as K}from"./disabled-BZXlWAgK.js";import{h as L}from"./href-CxokGOJ2.js";import{l as O}from"./label-with-expert-slot-BbZ9nx0l.js";import{l as S}from"./link-target-D7lYILOV.js";const T=["date","location","page","step","time","true","false"],Y=s("ariaCurrentValue","page",(function(o){const a=i(o);return T.includes(a)?a:"page"})),z=s("ariaOwns","",i),G=s("download",void 0,i),U=r(),V={required:[L],optional:[l,d,Y,c,p,z,m,K,G,f,b,k,O,U,v,S,j,h,x,g]},Z=C.forBlock("kol-link"),$=(s,i)=>{const{accessKey:r,ariaControls:l,ariaCurrent:d,ariaDescription:c,ariaDescriptionId:p,ariaExpanded:m,ariaOwns:f,class:b,customClass:k,disabled:v,download:j,handleAnchorClick:h,hideLabel:x,href:g,icons:C,inline:K,label:L,on:O,ref:S,refAnchor:T,refTooltip:Y,role:z,shortKey:G,tabIndex:U,target:$,variant:E,expertSlot:F}=t(V,s),J=a("kol-open-link-in-tab"),M="string"==typeof $&&$.length>0&&"_self"!==$,Q={href:"string"==typeof g&&g.length>0?g:"javascript:void(0);",target:"string"==typeof $&&$.length>0?$:void 0,rel:M?"noopener":void 0,download:"string"==typeof j?j:void 0};!0===x&&""===n(L)&&e("[KolLink] An aria-label must be set when _hide-label is set.");const W=null==c?void 0:c.trim(),X=z||void 0;return o(_,{block:"kol-link",ref:S,class:w(b,{[k]:E.includes("custom")&&k.length>0,[y(E,"link")]:E.length>0}),modifiers:{disabled:!0===v,"external-link":M,"hide-label":!0===x,inline:!0===K,standalone:!1===K}},o("a",Object.assign({ref:T},Q,{href:Q.href,accessKey:r||void 0,"aria-current":d||void 0,"aria-controls":l||void 0,"aria-describedby":W?p:void 0,"aria-disabled":v?"true":void 0,"aria-expanded":""===m?void 0:m,"aria-owns":f||void 0,"aria-label":x&&""!==n(L)?`${n(L)}${M?` (${J})`:""}`:void 0,"aria-keyshortcuts":G||void 0,class:Z("interactive-element")},O,{onClick:h,onMouseDown:v?I:void 0,role:X,tabIndex:v?-1:U}),o(A,{class:"kol-link__text",badgeText:r||G,icons:C,hideLabel:x,label:F?"":L||g},i.length>0?i:o("slot",{name:"expert",slot:"expert"})),M&&o(D,{class:"kol-link__icon",label:x?"":J,icons:"kolicon-link-external","aria-hidden":x})),!0===x&&!F&&o("div",{class:"kol-link__tooltip"},o(B,{badgeText:r||G||"",label:""!==n(L)?L:"string"==typeof g?g:"",refFloating:Y})),W&&o(u,{description:W,descriptionId:p}))};export{$ as L,Y as a,U as b,z as c,G as d,V as l}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o,b as r,i as t}from"./props-from-config-ytxYrJUY.js";import{h as s}from"./index-Dulj0jro.js";import{b as e}from"./bem-registry-DQUGxdIS.js";import{S as i}from"./component-oUQcgxDj.js";const a=["left","right","top","bottom"];function n(s,e){return o(s,e,(o=>{const e=r(o);if(t(e,a))return e;throw new Error(`Invalid ${s} value: ${e}`)}))}const l=e.forBlock("kol-tooltip"),c=({label:o,badgeText:r,id:t,refFloating:e})=>s("div",{class:l("floating"),hidden:!o,ref:e},s("div",{class:l("arrow")}),s(i,{class:l("content"),badgeText:r,id:t,label:o}));export{c as T,n as c}