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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (969) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +9 -55
  7. package/dist/cjs/{Heading-C9osvqjY.js → Heading-o_m1bQbh.js} +7 -7
  8. package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BrLP4fF_.js} +2 -0
  9. package/dist/cjs/{api-U7I3XBPI.js → api-SFTkHR9W.js} +32 -34
  10. package/dist/cjs/{app-globals-DsADKGEe.js → app-globals-BVGzsN2O.js} +6 -5
  11. package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-CgJJS0K5.js} +2 -13
  12. package/dist/cjs/ariaCurrentService-aysGX58T.js +30 -0
  13. package/dist/cjs/{base-DCxbMk0f.js → base-4xLnw9ep.js} +17 -19
  14. package/dist/cjs/{base-l99dGLYo.js → base-DGpJZOXm.js} +67 -73
  15. package/dist/cjs/{base-DcN_YC72.js → base-DJhwvwdo.js} +13 -14
  16. package/dist/cjs/{base-CyqDmoZZ.js → base-DoujJ-Xz.js} +14 -15
  17. package/dist/cjs/{base-web-component-BnaxS2Z3.js → base-web-component-BgX5i_fc.js} +16 -19
  18. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-DSCg1arP.js} +2 -1
  19. package/dist/cjs/{base-web-component-DxJ0hQ9u.js → base-web-component-nGb9E-GX.js} +17 -19
  20. package/dist/cjs/{behavior-BNyFQ_B5.js → behavior-CBwUdaXu.js} +10 -10
  21. package/dist/cjs/{behavior-CTaw4dj3.js → behavior-DhfuU2HF.js} +5 -5
  22. package/dist/cjs/{behavior-DrFJy0QC.js → behavior-S2U8skNd.js} +33 -33
  23. package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-CMf1T2kb.js} +61 -15
  24. package/dist/cjs/bootstrap-C4GRmpTI.js +59 -0
  25. package/dist/cjs/{color-BW4t1Cif.js → color-BWamMCyw.js} +4 -4
  26. package/dist/cjs/{component-lmJOXuD6.js → component-BGIFlgKu.js} +8 -11
  27. package/dist/cjs/component-BM6eWMuC.js +177 -0
  28. package/dist/cjs/{component-Cvjqbxf4.js → component-CKc_-O64.js} +15 -18
  29. package/dist/cjs/{component-Cty_HlJR.js → component-CweSM_ze.js} +6 -5
  30. package/dist/cjs/{component-4OErV1Bg.js → component-DPCpVWBj.js} +11 -13
  31. package/dist/cjs/{component-DAQ1XSNA.js → component-DSlW2KVw.js} +6 -8
  32. package/dist/cjs/component-DTC3WbHR.js +52 -0
  33. package/dist/cjs/{component-DF5q9ssd.js → component-DUvRV4FE.js} +13 -14
  34. package/dist/cjs/component-SeQac11p.js +19 -0
  35. package/dist/cjs/component-names-CyEXMjv9.js +121 -0
  36. package/dist/cjs/{component-DtxKrISb.js → component-t6Upgw7f.js} +6 -7
  37. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-CXinV5ii.js} +5 -5
  38. package/dist/cjs/{controller-tEyAFJN9.js → controller-D4usgPg-.js} +20 -20
  39. package/dist/cjs/{dev.utils-D5qh-RLT.js → dev.utils-glOxiW4E.js} +9 -10
  40. package/dist/cjs/{devtools-Dtv-Apvj.js → devtools-VDx5moKY.js} +24 -25
  41. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-CZJO6fbW.js} +2 -1
  42. package/dist/cjs/{element-focus-CzkKMwtn.js → element-focus-IBv4yiNw.js} +1 -0
  43. package/dist/cjs/{element-interaction-BtYQAbhu.js → element-interaction-CvCJFwUh.js} +2 -1
  44. package/dist/cjs/{events-BJC5JJcU.js → events-fafEzzml.js} +2 -0
  45. package/dist/cjs/{field-control-Btb5zapE.js → field-control-xEw1WZFL.js} +12 -13
  46. package/dist/cjs/{group-Dg2gJze5.js → group-CMns8Vns.js} +8 -9
  47. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-Cs7BCj4r.js} +2 -1
  48. package/dist/cjs/{href-BBhiVyPb.js → href-C93ktLo4.js} +2 -1
  49. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DXYL9rIn.js} +11 -6
  50. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-YdI7_XKo.js} +3 -3
  51. package/dist/cjs/{id-D1VZsLkg.js → id-CtES_I0D.js} +2 -1
  52. package/dist/cjs/{index-BacpU-d0.js → index-B65pR1Ir.js} +1807 -61
  53. package/dist/cjs/index.cjs.js +20 -14
  54. package/dist/cjs/input-Bi8Zo8Bv.js +18 -0
  55. package/dist/cjs/{input-container-PaL4ZNf3.js → input-container-BErSDYvG.js} +17 -20
  56. package/dist/cjs/{item-CLnIJY4J.js → item-BHQRF4Sp.js} +9 -9
  57. package/dist/cjs/{item-CErU-EPA.js → item-BLhkAIub.js} +9 -9
  58. package/dist/cjs/{item-Cckqxc6T.js → item-BVHbqXo2.js} +56 -35
  59. package/dist/cjs/{item-CPxmIcoq.js → item-N9AmF46D.js} +16 -17
  60. package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-ecjkEvCG.js} +2 -0
  61. package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-DHPlsLs0.js} +2 -0
  62. package/dist/cjs/kol-abbr.cjs.entry.js +12 -16
  63. package/dist/cjs/kol-accordion.cjs.entry.js +23 -25
  64. package/dist/cjs/kol-alert.cjs.entry.js +34 -36
  65. package/dist/cjs/kol-avatar.cjs.entry.js +19 -19
  66. package/dist/cjs/kol-badge.cjs.entry.js +34 -37
  67. package/dist/cjs/kol-breadcrumb.cjs.entry.js +39 -42
  68. package/dist/cjs/kol-button-link.cjs.entry.js +33 -35
  69. package/dist/cjs/kol-button.cjs.entry.js +33 -35
  70. package/dist/cjs/kol-card.cjs.entry.js +35 -38
  71. package/dist/cjs/kol-combobox.cjs.entry.js +52 -54
  72. package/dist/cjs/kol-details.cjs.entry.js +23 -25
  73. package/dist/cjs/kol-dialog.cjs.entry.js +38 -41
  74. package/dist/cjs/kol-drawer.cjs.entry.js +38 -41
  75. package/dist/cjs/kol-form.cjs.entry.js +32 -35
  76. package/dist/cjs/kol-heading.cjs.entry.js +17 -19
  77. package/dist/cjs/kol-icon.cjs.entry.js +19 -17
  78. package/dist/cjs/kol-image.cjs.entry.js +12 -14
  79. package/dist/cjs/kol-input-checkbox.cjs.entry.js +62 -63
  80. package/dist/cjs/kol-input-color.cjs.entry.js +51 -52
  81. package/dist/cjs/kol-input-date.cjs.entry.js +54 -56
  82. package/dist/cjs/kol-input-email.cjs.entry.js +54 -55
  83. package/dist/cjs/kol-input-file.cjs.entry.js +49 -50
  84. package/dist/cjs/kol-input-number.cjs.entry.js +56 -57
  85. package/dist/cjs/kol-input-password.cjs.entry.js +54 -55
  86. package/dist/cjs/kol-input-radio.cjs.entry.js +50 -53
  87. package/dist/cjs/kol-input-range.cjs.entry.js +48 -50
  88. package/dist/cjs/kol-input-text.cjs.entry.js +55 -56
  89. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -16
  90. package/dist/cjs/kol-link-button.cjs.entry.js +34 -36
  91. package/dist/cjs/kol-link.cjs.entry.js +33 -35
  92. package/dist/cjs/kol-meter.cjs.entry.js +22 -25
  93. package/dist/cjs/kol-modal.cjs.entry.js +38 -41
  94. package/dist/cjs/kol-nav.cjs.entry.js +50 -53
  95. package/dist/cjs/kol-pagination.cjs.entry.js +55 -58
  96. package/dist/cjs/kol-popover-button.cjs.entry.js +34 -36
  97. package/dist/cjs/kol-progress.cjs.entry.js +22 -19
  98. package/dist/cjs/kol-quote.cjs.entry.js +13 -15
  99. package/dist/cjs/kol-select.cjs.entry.js +47 -49
  100. package/dist/cjs/kol-single-select.cjs.entry.js +59 -56
  101. package/dist/cjs/kol-skip-nav.cjs.entry.js +37 -40
  102. package/dist/cjs/kol-spin.cjs.entry.js +16 -19
  103. package/dist/cjs/kol-split-button.cjs.entry.js +39 -41
  104. package/dist/cjs/kol-table-stateful.cjs.entry.js +74 -75
  105. package/dist/cjs/kol-table-stateless.cjs.entry.js +54 -66
  106. package/dist/cjs/kol-tabs.cjs.entry.js +50 -56
  107. package/dist/cjs/kol-textarea.cjs.entry.js +55 -55
  108. package/dist/cjs/kol-toast-container.cjs.entry.js +24 -28
  109. package/dist/cjs/kol-toolbar.cjs.entry.js +57 -56
  110. package/dist/cjs/kol-tree-item.cjs.entry.js +38 -38
  111. package/dist/cjs/kol-tree.cjs.entry.js +35 -25
  112. package/dist/cjs/kol-version.cjs.entry.js +25 -28
  113. package/dist/cjs/kolibri.cjs.js +6 -5
  114. package/dist/cjs/{label-vVOiX4dC.js → label-0j3-2J3C.js} +4 -3
  115. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-DEiM49uy.js} +4 -4
  116. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-BBCLeyBy.js} +3 -2
  117. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-D0wokf7-.js} +4 -3
  118. package/dist/cjs/{level-BAiEYu4U.js → level-xVivGv7t.js} +2 -1
  119. package/dist/cjs/{link-target-4AzB3I84.js → link-target-D9qpCovV.js} +2 -1
  120. package/dist/cjs/{links-CPNK7VZo.js → links-DlW9up_d.js} +3 -3
  121. package/dist/cjs/loader.cjs.js +5 -4
  122. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-DO-asa_4.js} +2 -1
  123. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-BUKMKQvN.js} +2 -1
  124. package/dist/cjs/{open-CvoX_qxD.js → open-BVqlpoxd.js} +2 -1
  125. package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-DuXVixiW.js} +2 -0
  126. package/dist/cjs/{options-z7FKffHh.js → options-Dg3zz7Wo.js} +2 -0
  127. package/dist/cjs/{options-B2pQC9w2.js → options-vneqbPL0.js} +3 -3
  128. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-DL6G4K4r.js} +2 -1
  129. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-C-ecB96f.js} +2 -1
  130. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-Bm6Pf2tK.js} +96 -16
  131. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-D__auxXg.js} +2 -1
  132. package/dist/cjs/{required-CdXn16dq.js → required-DqW-WueJ.js} +2 -1
  133. package/dist/cjs/{resolve-props-B8kPPEMw.js → resolve-props-CjhxUwj-.js} +9 -9
  134. package/dist/cjs/{resolve-props-B5MED90T.js → resolve-props-DKYD6i56.js} +9 -10
  135. package/dist/cjs/{rows-Ca5ya9tG.js → rows-Z8UDqY9u.js} +2 -1
  136. package/dist/cjs/{scroll-lock-jojYHBR3.js → scroll-lock-DgqKifg3.js} +8 -7
  137. package/dist/cjs/shared-state-C2e8sL5f.js +16 -0
  138. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-C_S63qaB.js} +3 -3
  139. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-CT0WE9tq.js} +2 -1
  140. package/dist/cjs/{src-C3NG0rLO.js → src-Bwu1rJi2.js} +2 -1
  141. package/dist/cjs/{step-CZNyTb2h.js → step-W8T4AA1l.js} +2 -1
  142. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-C-tM7INY.js} +4 -4
  143. package/dist/cjs/{suggestions-CRyB_YCX.js → suggestions-DvPhi4lP.js} +3 -3
  144. package/dist/cjs/test-component.cjs.entry.js +3 -3
  145. package/dist/cjs/theme-store-CHGfvYB-.js +13 -0
  146. package/dist/cjs/{toggle-handler-DRPltZqQ.js → toggle-handler-DHEfrMM0.js} +13 -16
  147. package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-DaQFzT-b.js} +8 -5
  148. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CpJcPNBO.js} +3 -3
  149. package/dist/cjs/{unit-bsoemclF.js → unit-CNVBdvOH.js} +2 -1
  150. package/dist/cjs/{validators-DuLdbf2D.js → validators-BM9XrnzJ.js} +4 -1
  151. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-DXRes-dR.js} +2 -1
  152. package/dist/cjs/{width-BklaRCqt.js → width-BAwXHART.js} +2 -1
  153. package/dist/collection/collection-manifest.json +1 -8
  154. package/dist/collection/components/abbr/component.js +2 -2
  155. package/dist/collection/components/abbr/style.css +21 -0
  156. package/dist/collection/components/accordion/component.js +2 -2
  157. package/dist/collection/components/accordion/style.css +23 -2
  158. package/dist/collection/components/alert/component.js +6 -4
  159. package/dist/collection/components/alert/style.css +23 -2
  160. package/dist/collection/components/avatar/component.js +2 -2
  161. package/dist/collection/components/avatar/style.css +21 -0
  162. package/dist/collection/components/badge/component.js +2 -2
  163. package/dist/collection/components/badge/style.css +23 -2
  164. package/dist/collection/components/breadcrumb/component.js +2 -2
  165. package/dist/collection/components/breadcrumb/style.css +23 -2
  166. package/dist/collection/components/button/component.js +1 -1
  167. package/dist/collection/components/button/style.css +23 -2
  168. package/dist/collection/components/button-link/component.js +1 -1
  169. package/dist/collection/components/button-link/style.css +23 -2
  170. package/dist/collection/components/card/component.js +2 -2
  171. package/dist/collection/components/card/style.css +26 -2
  172. package/dist/collection/components/combobox/component.js +4 -4
  173. package/dist/collection/components/combobox/style.css +23 -2
  174. package/dist/collection/components/details/component.js +2 -2
  175. package/dist/collection/components/details/style.css +23 -2
  176. package/dist/collection/components/dialog/base.js +2 -2
  177. package/dist/collection/components/dialog/component.js +2 -2
  178. package/dist/collection/components/dialog/style.css +26 -2
  179. package/dist/collection/components/drawer/component.js +2 -2
  180. package/dist/collection/components/drawer/style.css +26 -2
  181. package/dist/collection/components/form/component.js +2 -2
  182. package/dist/collection/components/form/controller.js +4 -3
  183. package/dist/collection/components/form/style.css +23 -2
  184. package/dist/collection/components/heading/component.js +2 -2
  185. package/dist/collection/components/heading/style.css +21 -0
  186. package/dist/collection/components/icon/component.js +5 -5
  187. package/dist/collection/components/icon/style.css +2 -2
  188. package/dist/collection/components/image/component.js +2 -2
  189. package/dist/collection/components/image/style.css +21 -0
  190. package/dist/collection/components/input-checkbox/component.js +13 -11
  191. package/dist/collection/components/input-checkbox/style.css +23 -2
  192. package/dist/collection/components/input-color/component.js +6 -4
  193. package/dist/collection/components/input-color/style.css +23 -2
  194. package/dist/collection/components/input-date/component.js +9 -7
  195. package/dist/collection/components/input-date/style.css +23 -2
  196. package/dist/collection/components/input-email/component.js +4 -1
  197. package/dist/collection/components/input-email/style.css +23 -2
  198. package/dist/collection/components/input-file/component.js +6 -3
  199. package/dist/collection/components/input-file/style.css +23 -2
  200. package/dist/collection/components/input-number/component.js +6 -4
  201. package/dist/collection/components/input-number/style.css +23 -2
  202. package/dist/collection/components/input-password/component.js +5 -2
  203. package/dist/collection/components/input-password/style.css +23 -2
  204. package/dist/collection/components/input-radio/component.js +2 -3
  205. package/dist/collection/components/input-radio/style.css +23 -2
  206. package/dist/collection/components/input-range/component.js +2 -2
  207. package/dist/collection/components/input-range/style.css +23 -2
  208. package/dist/collection/components/input-text/component.js +4 -2
  209. package/dist/collection/components/input-text/style.css +23 -2
  210. package/dist/collection/components/kolibri/component.js +2 -2
  211. package/dist/collection/components/kolibri/style.css +21 -0
  212. package/dist/collection/components/link/ariaCurrentService.js +9 -9
  213. package/dist/collection/components/link/component.js +2 -2
  214. package/dist/collection/components/link/style.css +23 -2
  215. package/dist/collection/components/link-button/component.js +2 -2
  216. package/dist/collection/components/link-button/style.css +23 -2
  217. package/dist/collection/components/meter/component.js +2 -2
  218. package/dist/collection/components/meter/style.css +21 -0
  219. package/dist/collection/components/modal/component.js +2 -2
  220. package/dist/collection/components/modal/style.css +26 -2
  221. package/dist/collection/components/nav/component.js +2 -2
  222. package/dist/collection/components/nav/style.css +23 -2
  223. package/dist/collection/components/pagination/component.js +10 -12
  224. package/dist/collection/components/pagination/style.css +23 -2
  225. package/dist/collection/components/popover-button/component.js +1 -1
  226. package/dist/collection/components/popover-button/style.css +23 -2
  227. package/dist/collection/components/progress/component.js +6 -3
  228. package/dist/collection/components/progress/style.css +21 -0
  229. package/dist/collection/components/quote/component.js +2 -2
  230. package/dist/collection/components/quote/style.css +21 -0
  231. package/dist/collection/components/select/component.js +1 -1
  232. package/dist/collection/components/select/style.css +23 -2
  233. package/dist/collection/components/single-select/component.js +10 -6
  234. package/dist/collection/components/single-select/style.css +23 -2
  235. package/dist/collection/components/skip-nav/component.js +2 -2
  236. package/dist/collection/components/skip-nav/style.css +23 -2
  237. package/dist/collection/components/spin/component.js +2 -2
  238. package/dist/collection/components/spin/style.css +21 -0
  239. package/dist/collection/components/split-button/component.js +1 -1
  240. package/dist/collection/components/split-button/style.css +23 -2
  241. package/dist/collection/components/table-stateful/component.js +13 -18
  242. package/dist/collection/components/table-stateful/style.css +26 -2
  243. package/dist/collection/components/table-stateless/base.js +4 -1
  244. package/dist/collection/components/table-stateless/component.js +14 -55
  245. package/dist/collection/components/table-stateless/style.css +26 -2
  246. package/dist/collection/components/tabs/component.js +8 -17
  247. package/dist/collection/components/tabs/style.css +23 -2
  248. package/dist/collection/components/textarea/component.js +5 -3
  249. package/dist/collection/components/textarea/style.css +23 -2
  250. package/dist/collection/components/toaster/shadow.js +1 -2
  251. package/dist/collection/components/toaster/style.css +23 -2
  252. package/dist/collection/components/toaster/toaster.js +2 -1
  253. package/dist/collection/components/toolbar/component.js +14 -10
  254. package/dist/collection/components/toolbar/style.css +23 -2
  255. package/dist/collection/components/tree/component.js +22 -11
  256. package/dist/collection/components/tree/style.css +21 -0
  257. package/dist/collection/components/tree-item/component.js +9 -6
  258. package/dist/collection/components/tree-item/style.css +23 -2
  259. package/dist/collection/components/version/component.js +2 -2
  260. package/dist/collection/components/version/style.css +23 -2
  261. package/dist/collection/core/bootstrap.js +8 -5
  262. package/dist/collection/core/component-names.js +52 -106
  263. package/dist/collection/core/i18n.js +7 -6
  264. package/dist/collection/core/shared-state.js +10 -0
  265. package/dist/collection/core/tag-transformer.js +27 -0
  266. package/dist/collection/core/theme-store.js +8 -0
  267. package/dist/collection/global/script.js +2 -0
  268. package/dist/collection/index.js +2 -0
  269. package/dist/collection/internal/functional-components/alert/component.js +2 -1
  270. package/dist/collection/internal/functional-components/avatar/component.js +2 -2
  271. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  272. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  273. package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
  274. package/dist/collection/internal/functional-components/card/component.js +3 -1
  275. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  276. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  277. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  278. package/dist/collection/internal/functional-components/drawer/component.js +1 -1
  279. package/dist/collection/internal/functional-components/form-association/api.js +2 -2
  280. package/dist/collection/internal/functional-components/form-association/behavior.js +18 -15
  281. package/dist/collection/internal/functional-components/form-field/base-web-component.js +0 -1
  282. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  283. package/dist/collection/internal/functional-components/heading/component.js +3 -4
  284. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  285. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  286. package/dist/collection/internal/functional-components/image/component.js +2 -4
  287. package/dist/collection/internal/functional-components/link/component.js +1 -1
  288. package/dist/collection/internal/functional-components/meter/component.js +5 -7
  289. package/dist/collection/internal/functional-components/pagination/api.js +2 -2
  290. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  291. package/dist/collection/internal/functional-components/pagination/item.js +26 -11
  292. package/dist/collection/internal/functional-components/pagination/page-size-select.js +8 -0
  293. package/dist/collection/internal/functional-components/progress/component.js +2 -1
  294. package/dist/collection/internal/functional-components/quote/component.js +2 -3
  295. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  296. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  297. package/dist/collection/internal/functional-components/span/component.js +3 -2
  298. package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
  299. package/dist/collection/internal/functional-components/table-stateless/component.js +5 -5
  300. package/dist/collection/internal/functional-components/table-stateless/settings.js +10 -5
  301. package/dist/collection/internal/functional-components/table-stateless/table-model.js +2 -6
  302. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  303. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  304. package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
  305. package/dist/collection/internal/props/helpers/validators.js +1 -0
  306. package/dist/collection/internal/props/index.js +1 -0
  307. package/dist/collection/internal/props/label-decorative.js +10 -0
  308. package/dist/collection/locales/de.js +1 -0
  309. package/dist/collection/locales/en.js +1 -0
  310. package/dist/collection/schema/bem-registry.js +59 -13
  311. package/dist/collection/schema/i18n-keys.js +29 -28
  312. package/dist/collection/schema/props/aria-details.js +1 -22
  313. package/dist/collection/schema/props/aria-labelledby.js +3 -12
  314. package/dist/collection/schema/props/index.js +1 -1
  315. package/dist/collection/schema/props/table-headers.js +1 -0
  316. package/dist/collection/utils/aria-labelledby.js +0 -12
  317. package/dist/collection/utils/markdown.js +49 -3
  318. package/dist/collection/utils/tooltip-open-tracking.js +6 -5
  319. package/dist/components/Heading.js +1 -1
  320. package/dist/components/access-and-short-key.js +1 -1
  321. package/dist/components/ariaCurrentService.js +1 -1
  322. package/dist/components/base-web-component.js +1 -1
  323. package/dist/components/base-web-component2.js +1 -1
  324. package/dist/components/base-web-component3.js +1 -1
  325. package/dist/components/base-web-component4.js +1 -1
  326. package/dist/components/base.js +1 -1
  327. package/dist/components/base2.js +1 -1
  328. package/dist/components/base3.js +1 -1
  329. package/dist/components/base4.js +1 -1
  330. package/dist/components/behavior.js +1 -1
  331. package/dist/components/behavior2.js +1 -1
  332. package/dist/components/behavior3.js +1 -1
  333. package/dist/components/behavior4.js +1 -1
  334. package/dist/components/bem-registry.js +1 -1
  335. package/dist/components/bootstrap.js +1 -1
  336. package/dist/components/color.js +1 -1
  337. package/dist/components/common.js +4 -0
  338. package/dist/components/component-names.js +1 -1
  339. package/dist/components/component.js +1 -1
  340. package/dist/components/component10.js +1 -1
  341. package/dist/components/component11.js +1 -1
  342. package/dist/components/component12.js +4 -0
  343. package/dist/components/component13.js +4 -0
  344. package/dist/components/component14.js +4 -0
  345. package/dist/components/component2.js +1 -1
  346. package/dist/components/component3.js +1 -1
  347. package/dist/components/component4.js +1 -1
  348. package/dist/components/component5.js +1 -1
  349. package/dist/components/component6.js +1 -1
  350. package/dist/components/component7.js +1 -1
  351. package/dist/components/component8.js +1 -1
  352. package/dist/components/component9.js +1 -1
  353. package/dist/components/contrast.js +1 -1
  354. package/dist/components/controller.js +1 -1
  355. package/dist/components/dev.utils.js +1 -1
  356. package/dist/components/devtools.js +1 -1
  357. package/dist/components/disabled.js +1 -1
  358. package/dist/components/element-focus.js +1 -1
  359. package/dist/components/element-interaction.js +1 -1
  360. package/dist/components/events.js +1 -1
  361. package/dist/components/field-control.js +1 -1
  362. package/dist/components/group.js +1 -1
  363. package/dist/components/has-closer.js +1 -1
  364. package/dist/components/i18n.js +1 -1
  365. package/dist/components/i18n2.js +1 -1
  366. package/dist/components/id.js +1 -1
  367. package/dist/components/index.js +1 -1
  368. package/dist/components/input-container.js +1 -1
  369. package/dist/components/input.js +1 -1
  370. package/dist/components/item-pool.js +1 -1
  371. package/dist/components/item.js +1 -1
  372. package/dist/components/item2.js +1 -1
  373. package/dist/components/item3.js +1 -1
  374. package/dist/components/item4.js +1 -1
  375. package/dist/components/keyboard.js +1 -1
  376. package/dist/components/kol-abbr.js +1 -1
  377. package/dist/components/kol-accordion.js +1 -1
  378. package/dist/components/kol-alert.js +1 -1
  379. package/dist/components/kol-avatar.js +1 -1
  380. package/dist/components/kol-badge.js +1 -1
  381. package/dist/components/kol-breadcrumb.js +1 -1
  382. package/dist/components/kol-button-link.js +1 -1
  383. package/dist/components/kol-button.js +1 -1
  384. package/dist/components/kol-card.js +1 -1
  385. package/dist/components/kol-combobox.js +1 -1
  386. package/dist/components/kol-details.js +1 -1
  387. package/dist/components/kol-dialog.js +1 -1
  388. package/dist/components/kol-drawer.js +1 -1
  389. package/dist/components/kol-form.js +1 -1
  390. package/dist/components/kol-heading.js +1 -1
  391. package/dist/components/kol-icon.js +1 -1
  392. package/dist/components/kol-image.js +1 -1
  393. package/dist/components/kol-input-checkbox.js +1 -1
  394. package/dist/components/kol-input-color.js +1 -1
  395. package/dist/components/kol-input-date.js +1 -1
  396. package/dist/components/kol-input-email.js +1 -1
  397. package/dist/components/kol-input-file.js +1 -1
  398. package/dist/components/kol-input-number.js +1 -1
  399. package/dist/components/kol-input-password.js +1 -1
  400. package/dist/components/kol-input-radio.js +1 -1
  401. package/dist/components/kol-input-range.js +1 -1
  402. package/dist/components/kol-input-text.js +1 -1
  403. package/dist/components/kol-kolibri.js +1 -1
  404. package/dist/components/kol-link-button.js +1 -1
  405. package/dist/components/kol-link.js +1 -1
  406. package/dist/components/kol-meter.js +1 -1
  407. package/dist/components/kol-modal.js +1 -1
  408. package/dist/components/kol-nav.js +1 -1
  409. package/dist/components/kol-pagination.js +1 -1
  410. package/dist/components/kol-popover-button.js +1 -1
  411. package/dist/components/kol-progress.js +1 -1
  412. package/dist/components/kol-quote.js +1 -1
  413. package/dist/components/kol-select.js +1 -1
  414. package/dist/components/kol-single-select.js +1 -1
  415. package/dist/components/kol-skip-nav.js +1 -1
  416. package/dist/components/kol-spin.js +1 -1
  417. package/dist/components/kol-split-button.js +1 -1
  418. package/dist/components/kol-table-stateful.js +1 -1
  419. package/dist/components/kol-table-stateless.js +1 -1
  420. package/dist/components/kol-tabs.js +1 -1
  421. package/dist/components/kol-textarea.js +1 -1
  422. package/dist/components/kol-toast-container.js +1 -1
  423. package/dist/components/kol-toolbar.js +1 -1
  424. package/dist/components/kol-tree-item.js +1 -1
  425. package/dist/components/kol-tree.js +1 -1
  426. package/dist/components/kol-version.js +1 -1
  427. package/dist/components/label-hints.js +1 -1
  428. package/dist/components/label-lang-segment.js +1 -1
  429. package/dist/components/label-with-expert-slot.js +1 -1
  430. package/dist/components/label.js +1 -1
  431. package/dist/components/level.js +1 -1
  432. package/dist/components/link-target.js +1 -1
  433. package/dist/components/links.js +1 -1
  434. package/dist/components/multiple.js +1 -1
  435. package/dist/components/number-value.js +1 -1
  436. package/dist/components/open-items-cache.js +1 -1
  437. package/dist/components/open.js +1 -1
  438. package/dist/components/options.js +1 -1
  439. package/dist/components/options2.js +1 -1
  440. package/dist/components/orientation.js +1 -1
  441. package/dist/components/placeholder.js +1 -1
  442. package/dist/components/read-only.js +1 -1
  443. package/dist/components/required.js +1 -1
  444. package/dist/components/resolve-props.js +1 -1
  445. package/dist/components/resolve-props2.js +1 -1
  446. package/dist/components/rows.js +1 -1
  447. package/dist/components/scroll-lock.js +1 -1
  448. package/dist/components/shared-state.js +4 -0
  449. package/dist/components/smart-button.js +1 -1
  450. package/dist/components/spell-check.js +1 -1
  451. package/dist/components/src.js +1 -1
  452. package/dist/components/step.js +1 -1
  453. package/dist/components/suggestions.js +1 -1
  454. package/dist/components/suggestions2.js +1 -1
  455. package/dist/components/test-component.js +1 -1
  456. package/dist/components/toggle-handler.js +1 -1
  457. package/dist/components/tooltip-open-tracking.js +1 -1
  458. package/dist/components/unique-nav-labels.js +1 -1
  459. package/dist/components/unit.js +1 -1
  460. package/dist/components/validators.js +1 -1
  461. package/dist/components/value-string.js +1 -1
  462. package/dist/components/width.js +1 -1
  463. package/dist/esm/{Heading-BVhjT9av.js → Heading-Cynkalqu.js} +2 -2
  464. package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-CW0oxi_q.js} +2 -0
  465. package/dist/esm/{api-D92_O-0H.js → api-B76-Osk1.js} +21 -23
  466. package/dist/esm/{app-globals-CBGjgNge.js → app-globals-Dtu1AIr1.js} +4 -3
  467. package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-DQov9uSv.js} +3 -13
  468. package/dist/esm/ariaCurrentService-B9TgWLEw.js +27 -0
  469. package/dist/esm/{base-DIcqHqMz.js → base-BZCFxul4.js} +13 -14
  470. package/dist/esm/{base-BLBSJu_1.js → base-BpgzOuy3.js} +13 -14
  471. package/dist/esm/{base-qvPPg-dn.js → base-CAiOx0qs.js} +52 -58
  472. package/dist/esm/{base-CHmdLgoO.js → base-DJ3lTPYp.js} +14 -16
  473. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-D16FuHFf.js} +2 -1
  474. package/dist/esm/{base-web-component-CaAexWy_.js → base-web-component-E9cH8tf8.js} +16 -18
  475. package/dist/esm/{base-web-component-DbagnM7m.js → base-web-component-aOhHFXxF.js} +10 -13
  476. package/dist/esm/{behavior-DW7_5Wxp.js → behavior-ByyBa-o8.js} +5 -5
  477. package/dist/esm/{behavior-CwUUkdaP.js → behavior-DJQFXyfi.js} +6 -6
  478. package/dist/esm/{behavior-B08CXmI4.js → behavior-DnTJtQBK.js} +29 -28
  479. package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-CK2s_XZ4.js} +60 -14
  480. package/dist/esm/bootstrap-DUmk0ILT.js +52 -0
  481. package/dist/esm/{color-eAL9I7Wq.js → color-CEoIhjJR.js} +3 -3
  482. package/dist/esm/{component-8ALsFV4i.js → component-BPL1Mikq.js} +5 -6
  483. package/dist/esm/{component-D0mBOGjS.js → component-C0ijstyp.js} +10 -12
  484. package/dist/esm/component-C58IwTEf.js +47 -0
  485. package/dist/esm/{component-nR5Bf9G5.js → component-CAEpgoSo.js} +6 -5
  486. package/dist/esm/component-CDyoNoJe.js +17 -0
  487. package/dist/esm/{component-CdKSiR5P.js → component-CiTw4ODP.js} +6 -9
  488. package/dist/esm/component-DTV1Kuf1.js +172 -0
  489. package/dist/esm/{component-DCw1ZAE5.js → component-DeFANBua.js} +5 -7
  490. package/dist/esm/{component-DBAicJ2u.js → component-S6ib3O8N.js} +13 -16
  491. package/dist/esm/{component-BTMWoACz.js → component-XbTjo2nm.js} +11 -13
  492. package/dist/esm/component-names-Ur_UbEzI.js +115 -0
  493. package/dist/esm/{contrast-D78VGPFR.js → contrast-Ujnfz49m.js} +2 -2
  494. package/dist/esm/{controller-C3O9ohSP.js → controller-BdPVgWDs.js} +5 -5
  495. package/dist/esm/{dev.utils-wYkYn08d.js → dev.utils--eVyQ4zr.js} +1 -2
  496. package/dist/esm/{devtools-DrBkkLdP.js → devtools-CosbyboJ.js} +4 -5
  497. package/dist/esm/{disabled-Cqhc40CU.js → disabled-Cu0e92-b.js} +2 -1
  498. package/dist/esm/{element-focus-BIRmGg5W.js → element-focus-BYLFG-oz.js} +1 -0
  499. package/dist/esm/{element-interaction-sGYdEpmv.js → element-interaction-C2pgnQ6t.js} +2 -1
  500. package/dist/esm/{events-BIT-JUP2.js → events-B2UzbUT7.js} +2 -0
  501. package/dist/esm/{field-control-Cs5VvsYo.js → field-control-DbmtKHc1.js} +7 -8
  502. package/dist/esm/{group-uNo1CfbK.js → group-CqAFhkgE.js} +6 -7
  503. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-DOs1CXhp.js} +2 -1
  504. package/dist/esm/{href-JqLbNBsW.js → href-DQbHtp6T.js} +2 -1
  505. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-Bcb0tuyF.js} +11 -6
  506. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-Cf0DhAke.js} +2 -2
  507. package/dist/esm/{id-CIYvVaNr.js → id-BXwy9iRy.js} +2 -1
  508. package/dist/esm/{index-BKEJuyFi.js → index-Bsx5X6jK.js} +1745 -46
  509. package/dist/esm/index.js +14 -12
  510. package/dist/esm/{input-Dja5Qioc.js → input-RvLnUp6C.js} +4 -6
  511. package/dist/esm/{input-container-C2Am7LEP.js → input-container-BpG3WHug.js} +6 -9
  512. package/dist/esm/{item-D627ShRd.js → item-Cw_jdgc6.js} +14 -15
  513. package/dist/esm/{item-DIAFIFSy.js → item-DMttg5uX.js} +51 -30
  514. package/dist/esm/{item-ConW1c81.js → item-DibV9jD7.js} +8 -8
  515. package/dist/esm/{item-C4AmpdVD.js → item-KqTsA-5a.js} +8 -8
  516. package/dist/esm/{item-pool-BOxAYePG.js → item-pool-C_4Isquh.js} +2 -0
  517. package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-Cc1-_wSt.js} +2 -0
  518. package/dist/esm/kol-abbr.entry.js +11 -15
  519. package/dist/esm/kol-accordion.entry.js +22 -24
  520. package/dist/esm/kol-alert.entry.js +34 -36
  521. package/dist/esm/kol-avatar.entry.js +19 -19
  522. package/dist/esm/kol-badge.entry.js +31 -34
  523. package/dist/esm/kol-breadcrumb.entry.js +36 -39
  524. package/dist/esm/kol-button-link.entry.js +33 -35
  525. package/dist/esm/kol-button.entry.js +33 -35
  526. package/dist/esm/kol-card.entry.js +35 -38
  527. package/dist/esm/kol-combobox.entry.js +51 -53
  528. package/dist/esm/kol-details.entry.js +22 -24
  529. package/dist/esm/kol-dialog.entry.js +38 -41
  530. package/dist/esm/kol-drawer.entry.js +38 -41
  531. package/dist/esm/kol-form.entry.js +30 -33
  532. package/dist/esm/kol-heading.entry.js +17 -19
  533. package/dist/esm/kol-icon.entry.js +19 -17
  534. package/dist/esm/kol-image.entry.js +12 -14
  535. package/dist/esm/kol-input-checkbox.entry.js +57 -58
  536. package/dist/esm/kol-input-color.entry.js +51 -52
  537. package/dist/esm/kol-input-date.entry.js +53 -55
  538. package/dist/esm/kol-input-email.entry.js +54 -55
  539. package/dist/esm/kol-input-file.entry.js +49 -50
  540. package/dist/esm/kol-input-number.entry.js +55 -56
  541. package/dist/esm/kol-input-password.entry.js +53 -54
  542. package/dist/esm/kol-input-radio.entry.js +47 -50
  543. package/dist/esm/kol-input-range.entry.js +48 -50
  544. package/dist/esm/kol-input-text.entry.js +55 -56
  545. package/dist/esm/kol-kolibri.entry.js +12 -15
  546. package/dist/esm/kol-link-button.entry.js +33 -35
  547. package/dist/esm/kol-link.entry.js +33 -35
  548. package/dist/esm/kol-meter.entry.js +22 -25
  549. package/dist/esm/kol-modal.entry.js +38 -41
  550. package/dist/esm/kol-nav.entry.js +43 -46
  551. package/dist/esm/kol-pagination.entry.js +55 -58
  552. package/dist/esm/kol-popover-button.entry.js +34 -36
  553. package/dist/esm/kol-progress.entry.js +22 -19
  554. package/dist/esm/kol-quote.entry.js +13 -15
  555. package/dist/esm/kol-select.entry.js +47 -49
  556. package/dist/esm/kol-single-select.entry.js +58 -55
  557. package/dist/esm/kol-skip-nav.entry.js +35 -38
  558. package/dist/esm/kol-spin.entry.js +16 -19
  559. package/dist/esm/kol-split-button.entry.js +37 -39
  560. package/dist/esm/kol-table-stateful.entry.js +70 -71
  561. package/dist/esm/kol-table-stateless.entry.js +54 -66
  562. package/dist/esm/kol-tabs.entry.js +46 -52
  563. package/dist/esm/kol-textarea.entry.js +53 -53
  564. package/dist/esm/kol-toast-container.entry.js +22 -26
  565. package/dist/esm/kol-toolbar.entry.js +52 -51
  566. package/dist/esm/kol-tree-item.entry.js +38 -38
  567. package/dist/esm/kol-tree.entry.js +35 -25
  568. package/dist/esm/kol-version.entry.js +24 -27
  569. package/dist/esm/kolibri.js +7 -6
  570. package/dist/esm/{label-BRosRgdX.js → label-DEZIsnKw.js} +4 -3
  571. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-C--ftrg_.js} +2 -2
  572. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-B8ayoizG.js} +3 -2
  573. package/dist/esm/label-with-expert-slot-DXi27J4o.js +13 -0
  574. package/dist/esm/{level-CA1s1_Mf.js → level-BV6M_zmM.js} +2 -1
  575. package/dist/esm/{link-target-FX94oqMo.js → link-target-C9qzQAQg.js} +2 -1
  576. package/dist/esm/{links-DwucTqcR.js → links-Dt0OhMXb.js} +2 -2
  577. package/dist/esm/loader.js +6 -5
  578. package/dist/esm/{multiple-DqrZxybx.js → multiple-DQdOCIyW.js} +2 -1
  579. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-DtZloH4P.js} +2 -1
  580. package/dist/esm/{open-DRRv1KFK.js → open-DaO7wXMr.js} +2 -1
  581. package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-C98FzYQ9.js} +2 -0
  582. package/dist/esm/{options-DCaUcfAu.js → options-C8BsBGBl.js} +2 -2
  583. package/dist/esm/{options-B0rBHetL.js → options-CKAHQbcF.js} +2 -0
  584. package/dist/esm/{orientation-XNOCaPwy.js → orientation-VvJMCd9m.js} +2 -1
  585. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-7pbjAn-x.js} +2 -1
  586. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-DVxNB2Lx.js} +84 -7
  587. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-3XuQIAB8.js} +2 -1
  588. package/dist/esm/{required-hoaT7UmZ.js → required-CNgdXJ8H.js} +2 -1
  589. package/dist/esm/{resolve-props-BLZxWC3j.js → resolve-props-B1DQKjTD.js} +7 -8
  590. package/dist/esm/{resolve-props-D2KiItuv.js → resolve-props-DOaJCd7Y.js} +9 -9
  591. package/dist/esm/{rows-B0x8CR7K.js → rows-DL1whQNh.js} +2 -1
  592. package/dist/esm/{scroll-lock-Y2hf47KW.js → scroll-lock-CF_Z7MzO.js} +9 -7
  593. package/dist/esm/shared-state-sWI1upS8.js +14 -0
  594. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-BdA5-cUG.js} +2 -2
  595. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-B7J-eU5K.js} +2 -1
  596. package/dist/esm/{src-DaGhmCL1.js → src-C2baLPDp.js} +2 -1
  597. package/dist/esm/{step-Bdj89bGO.js → step-DmzcVFZB.js} +2 -1
  598. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-BJxNFtkL.js} +2 -2
  599. package/dist/esm/{suggestions-DuqzGDve.js → suggestions-BXp8OhOi.js} +3 -3
  600. package/dist/esm/test-component.entry.js +3 -3
  601. package/dist/esm/theme-store-CEu5d_EK.js +11 -0
  602. package/dist/esm/{toggle-handler-BRLmxe1J.js → toggle-handler-D7oFDKvq.js} +12 -15
  603. package/dist/esm/tooltip-open-tracking-DXhnfmA2.js +21 -0
  604. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-BOqpcYk4.js} +2 -2
  605. package/dist/esm/{unit-BUhhJbhT.js → unit-BFYz7QfA.js} +2 -1
  606. package/dist/esm/{validators-BVM40IEr.js → validators-DPSQyOeQ.js} +4 -2
  607. package/dist/esm/{value-string-e9pwLcS-.js → value-string-Cmozozek.js} +2 -1
  608. package/dist/esm/{width-CgYY17tL.js → width-D5-Licpp.js} +2 -1
  609. package/dist/kolibri/Heading-Cynkalqu.js +4 -0
  610. package/dist/kolibri/access-and-short-key-CW0oxi_q.js +4 -0
  611. package/dist/kolibri/api-B76-Osk1.js +4 -0
  612. package/dist/kolibri/app-globals-Dtu1AIr1.js +4 -0
  613. package/dist/kolibri/aria-labelledby-DQov9uSv.js +4 -0
  614. package/dist/kolibri/ariaCurrentService-B9TgWLEw.js +4 -0
  615. package/dist/kolibri/base-BZCFxul4.js +4 -0
  616. package/dist/kolibri/base-BpgzOuy3.js +4 -0
  617. package/dist/kolibri/base-CAiOx0qs.js +4 -0
  618. package/dist/kolibri/base-DJ3lTPYp.js +4 -0
  619. package/dist/kolibri/base-web-component-D16FuHFf.js +4 -0
  620. package/dist/kolibri/base-web-component-E9cH8tf8.js +4 -0
  621. package/dist/kolibri/base-web-component-aOhHFXxF.js +4 -0
  622. package/dist/kolibri/behavior-ByyBa-o8.js +4 -0
  623. package/dist/kolibri/behavior-DJQFXyfi.js +4 -0
  624. package/dist/kolibri/behavior-DnTJtQBK.js +4 -0
  625. package/dist/kolibri/bem-registry-CK2s_XZ4.js +4 -0
  626. package/dist/kolibri/bootstrap-DUmk0ILT.js +4 -0
  627. package/dist/kolibri/color-CEoIhjJR.js +4 -0
  628. package/dist/kolibri/component-BPL1Mikq.js +4 -0
  629. package/dist/kolibri/component-C0ijstyp.js +4 -0
  630. package/dist/kolibri/component-C58IwTEf.js +4 -0
  631. package/dist/kolibri/component-CAEpgoSo.js +4 -0
  632. package/dist/kolibri/component-CDyoNoJe.js +4 -0
  633. package/dist/kolibri/component-CiTw4ODP.js +4 -0
  634. package/dist/kolibri/component-DTV1Kuf1.js +4 -0
  635. package/dist/kolibri/component-DeFANBua.js +4 -0
  636. package/dist/kolibri/component-S6ib3O8N.js +4 -0
  637. package/dist/kolibri/component-XbTjo2nm.js +4 -0
  638. package/dist/kolibri/component-names-Ur_UbEzI.js +4 -0
  639. package/dist/kolibri/contrast-Ujnfz49m.js +4 -0
  640. package/dist/kolibri/controller-BdPVgWDs.js +4 -0
  641. package/dist/kolibri/dev.utils--eVyQ4zr.js +4 -0
  642. package/dist/kolibri/devtools-CosbyboJ.js +4 -0
  643. package/dist/kolibri/disabled-Cu0e92-b.js +4 -0
  644. package/dist/kolibri/element-focus-BYLFG-oz.js +4 -0
  645. package/dist/kolibri/element-interaction-C2pgnQ6t.js +4 -0
  646. package/dist/kolibri/events-B2UzbUT7.js +4 -0
  647. package/dist/kolibri/field-control-DbmtKHc1.js +4 -0
  648. package/dist/kolibri/group-CqAFhkgE.js +4 -0
  649. package/dist/kolibri/has-closer-DOs1CXhp.js +4 -0
  650. package/dist/kolibri/href-DQbHtp6T.js +4 -0
  651. package/dist/kolibri/i18n-Bcb0tuyF.js +4 -0
  652. package/dist/kolibri/i18n-Cf0DhAke.js +4 -0
  653. package/dist/kolibri/id-BXwy9iRy.js +4 -0
  654. package/dist/kolibri/index-Bsx5X6jK.js +6 -0
  655. package/dist/kolibri/index.esm.js +1 -1
  656. package/dist/kolibri/input-RvLnUp6C.js +4 -0
  657. package/dist/kolibri/input-container-BpG3WHug.js +4 -0
  658. package/dist/kolibri/item-Cw_jdgc6.js +4 -0
  659. package/dist/kolibri/item-DMttg5uX.js +4 -0
  660. package/dist/kolibri/item-DibV9jD7.js +4 -0
  661. package/dist/kolibri/item-KqTsA-5a.js +4 -0
  662. package/dist/kolibri/item-pool-C_4Isquh.js +4 -0
  663. package/dist/kolibri/keyboard-Cc1-_wSt.js +4 -0
  664. package/dist/kolibri/kol-abbr.entry.js +1 -1
  665. package/dist/kolibri/kol-accordion.entry.js +1 -1
  666. package/dist/kolibri/kol-alert.entry.js +1 -1
  667. package/dist/kolibri/kol-avatar.entry.js +1 -1
  668. package/dist/kolibri/kol-badge.entry.js +1 -1
  669. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  670. package/dist/kolibri/kol-button-link.entry.js +1 -1
  671. package/dist/kolibri/kol-button.entry.js +1 -1
  672. package/dist/kolibri/kol-card.entry.js +1 -1
  673. package/dist/kolibri/kol-combobox.entry.js +1 -1
  674. package/dist/kolibri/kol-details.entry.js +1 -1
  675. package/dist/kolibri/kol-dialog.entry.js +1 -1
  676. package/dist/kolibri/kol-drawer.entry.js +1 -1
  677. package/dist/kolibri/kol-form.entry.js +1 -1
  678. package/dist/kolibri/kol-heading.entry.js +1 -1
  679. package/dist/kolibri/kol-icon.entry.js +1 -1
  680. package/dist/kolibri/kol-image.entry.js +1 -1
  681. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  682. package/dist/kolibri/kol-input-color.entry.js +1 -1
  683. package/dist/kolibri/kol-input-date.entry.js +1 -1
  684. package/dist/kolibri/kol-input-email.entry.js +1 -1
  685. package/dist/kolibri/kol-input-file.entry.js +1 -1
  686. package/dist/kolibri/kol-input-number.entry.js +1 -1
  687. package/dist/kolibri/kol-input-password.entry.js +1 -1
  688. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  689. package/dist/kolibri/kol-input-range.entry.js +1 -1
  690. package/dist/kolibri/kol-input-text.entry.js +1 -1
  691. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  692. package/dist/kolibri/kol-link-button.entry.js +1 -1
  693. package/dist/kolibri/kol-link.entry.js +1 -1
  694. package/dist/kolibri/kol-meter.entry.js +1 -1
  695. package/dist/kolibri/kol-modal.entry.js +1 -1
  696. package/dist/kolibri/kol-nav.entry.js +1 -1
  697. package/dist/kolibri/kol-pagination.entry.js +1 -1
  698. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  699. package/dist/kolibri/kol-progress.entry.js +1 -1
  700. package/dist/kolibri/kol-quote.entry.js +1 -1
  701. package/dist/kolibri/kol-select.entry.js +1 -1
  702. package/dist/kolibri/kol-single-select.entry.js +1 -1
  703. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  704. package/dist/kolibri/kol-spin.entry.js +1 -1
  705. package/dist/kolibri/kol-split-button.entry.js +1 -1
  706. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  707. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  708. package/dist/kolibri/kol-tabs.entry.js +1 -1
  709. package/dist/kolibri/kol-textarea.entry.js +1 -1
  710. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  711. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  712. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  713. package/dist/kolibri/kol-tree.entry.js +1 -1
  714. package/dist/kolibri/kol-version.entry.js +1 -1
  715. package/dist/kolibri/kolibri.esm.js +1 -1
  716. package/dist/kolibri/label-DEZIsnKw.js +4 -0
  717. package/dist/kolibri/label-hints-C--ftrg_.js +4 -0
  718. package/dist/kolibri/label-lang-segment-B8ayoizG.js +4 -0
  719. package/dist/kolibri/label-with-expert-slot-DXi27J4o.js +4 -0
  720. package/dist/kolibri/level-BV6M_zmM.js +4 -0
  721. package/dist/kolibri/link-target-C9qzQAQg.js +4 -0
  722. package/dist/kolibri/links-Dt0OhMXb.js +4 -0
  723. package/dist/kolibri/multiple-DQdOCIyW.js +4 -0
  724. package/dist/kolibri/number-value-DtZloH4P.js +4 -0
  725. package/dist/kolibri/open-DaO7wXMr.js +4 -0
  726. package/dist/kolibri/open-items-cache-C98FzYQ9.js +4 -0
  727. package/dist/kolibri/options-C8BsBGBl.js +4 -0
  728. package/dist/kolibri/options-CKAHQbcF.js +4 -0
  729. package/dist/kolibri/orientation-VvJMCd9m.js +4 -0
  730. package/dist/kolibri/placeholder-7pbjAn-x.js +4 -0
  731. package/dist/kolibri/props-from-config-DVxNB2Lx.js +4 -0
  732. package/dist/kolibri/read-only-3XuQIAB8.js +4 -0
  733. package/dist/kolibri/required-CNgdXJ8H.js +4 -0
  734. package/dist/kolibri/resolve-props-B1DQKjTD.js +4 -0
  735. package/dist/kolibri/resolve-props-DOaJCd7Y.js +4 -0
  736. package/dist/kolibri/rows-DL1whQNh.js +4 -0
  737. package/dist/kolibri/scroll-lock-CF_Z7MzO.js +4 -0
  738. package/dist/kolibri/shared-state-sWI1upS8.js +4 -0
  739. package/dist/kolibri/smart-button-BdA5-cUG.js +4 -0
  740. package/dist/kolibri/spell-check-B7J-eU5K.js +4 -0
  741. package/dist/kolibri/src-C2baLPDp.js +4 -0
  742. package/dist/kolibri/step-DmzcVFZB.js +4 -0
  743. package/dist/kolibri/suggestions-BJxNFtkL.js +4 -0
  744. package/dist/kolibri/suggestions-BXp8OhOi.js +4 -0
  745. package/dist/kolibri/test-component.entry.js +1 -1
  746. package/dist/kolibri/theme-store-CEu5d_EK.js +4 -0
  747. package/dist/kolibri/toggle-handler-D7oFDKvq.js +4 -0
  748. package/dist/kolibri/tooltip-open-tracking-DXhnfmA2.js +4 -0
  749. package/dist/kolibri/unique-nav-labels-BOqpcYk4.js +4 -0
  750. package/dist/kolibri/unit-BFYz7QfA.js +4 -0
  751. package/dist/kolibri/validators-DPSQyOeQ.js +4 -0
  752. package/dist/kolibri/value-string-Cmozozek.js +4 -0
  753. package/dist/kolibri/width-D5-Licpp.js +4 -0
  754. package/dist/types/components/alert/component.d.ts +1 -0
  755. package/dist/types/components/input-date/component.d.ts +1 -1
  756. package/dist/types/components/pagination/component.d.ts +1 -1
  757. package/dist/types/components/progress/component.d.ts +1 -0
  758. package/dist/types/components/single-select/component.d.ts +1 -0
  759. package/dist/types/components/table-stateful/component.d.ts +3 -4
  760. package/dist/types/components/table-stateless/base.d.ts +2 -2
  761. package/dist/types/components/table-stateless/component.d.ts +3 -6
  762. package/dist/types/components/tabs/component.d.ts +1 -2
  763. package/dist/types/components/tree/component.d.ts +1 -0
  764. package/dist/types/components.d.ts +18 -125
  765. package/dist/types/core/component-names.d.ts +52 -53
  766. package/dist/types/core/i18n.d.ts +1 -1
  767. package/dist/types/core/shared-state.d.ts +1 -0
  768. package/dist/types/core/tag-transformer.d.ts +4 -0
  769. package/dist/types/core/theme-store.d.ts +1 -0
  770. package/dist/types/index.d.ts +3 -1
  771. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  772. package/dist/types/internal/functional-components/button/item.d.ts +1 -1
  773. package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
  774. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  775. package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -2
  776. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  777. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  778. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  779. package/dist/types/internal/functional-components/pagination/item.d.ts +5 -3
  780. package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +1 -0
  781. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  782. package/dist/types/internal/functional-components/table-stateful/model.d.ts +2 -2
  783. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  784. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +4 -4
  785. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  786. package/dist/types/internal/props/index.d.ts +1 -0
  787. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  788. package/dist/types/internal/props/table-headers.d.ts +2 -2
  789. package/dist/types/internal/props/table-stateful-headers.d.ts +2 -2
  790. package/dist/types/locales/de.d.ts +1 -0
  791. package/dist/types/locales/en.d.ts +1 -0
  792. package/dist/types/schema/bem-registry.d.ts +87 -23
  793. package/dist/types/schema/components/pagination.d.ts +2 -2
  794. package/dist/types/schema/components/table.d.ts +2 -3
  795. package/dist/types/schema/components/tableStateless.d.ts +5 -4
  796. package/dist/types/schema/i18n-keys.d.ts +29 -28
  797. package/dist/types/schema/index.d.ts +1 -1
  798. package/dist/types/schema/props/aria-details.d.ts +0 -2
  799. package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
  800. package/dist/types/schema/props/index.d.ts +1 -1
  801. package/dist/types/schema/props/label.d.ts +1 -0
  802. package/dist/types/schema/props/table-callbacks.d.ts +3 -3
  803. package/dist/types/schema/props/table-headers.d.ts +3 -0
  804. package/dist/types/stencil-public-runtime.d.ts +1 -1
  805. package/dist/types/utils/aria-labelledby.d.ts +0 -6
  806. package/doc/badge.md +15 -0
  807. package/doc/button.md +13 -0
  808. package/doc/input-checkbox.md +15 -0
  809. package/doc/input-number.md +15 -0
  810. package/doc/link.md +13 -0
  811. package/doc/pagination.md +13 -13
  812. package/doc/quote.md +13 -0
  813. package/doc/table-stateful.md +33 -16
  814. package/doc/table-stateless.md +31 -15
  815. package/package.json +23 -15
  816. package/vscode-custom-data.json +3 -20
  817. package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
  818. package/dist/cjs/block-bem-BI7yfoFU.js +0 -18
  819. package/dist/cjs/bootstrap-DkgMbRSL.js +0 -33
  820. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  821. package/dist/cjs/common-C-hcIfzh.js +0 -1755
  822. package/dist/cjs/component-BEzksV1U.js +0 -9300
  823. package/dist/cjs/component-BQUKg-qY.js +0 -53
  824. package/dist/cjs/component-BlAPlTfV.js +0 -20
  825. package/dist/cjs/component-DMfcX1br.js +0 -14
  826. package/dist/cjs/component-Dkx5Zyhq.js +0 -18
  827. package/dist/cjs/component-names-BMpML1sX.js +0 -113
  828. package/dist/cjs/input-CgTL2oH6.js +0 -20
  829. package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
  830. package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
  831. package/dist/cjs/name-D4qpL1m-.js +0 -10
  832. package/dist/collection/components/click-button/component.js +0 -105
  833. package/dist/collection/components/skeleton/component.js +0 -215
  834. package/dist/collection/internal/functional-components/click-button/api.js +0 -7
  835. package/dist/collection/internal/functional-components/click-button/component.js +0 -9
  836. package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
  837. package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
  838. package/dist/collection/schema/props/table-header-cells.js +0 -36
  839. package/dist/components/aria-labelledby.js +0 -4
  840. package/dist/components/block-bem.js +0 -4
  841. package/dist/components/clsx.js +0 -4
  842. package/dist/components/href.js +0 -4
  843. package/dist/components/kol-click-button.d.ts +0 -11
  844. package/dist/components/kol-click-button.js +0 -4
  845. package/dist/components/kol-skeleton.d.ts +0 -11
  846. package/dist/components/kol-skeleton.js +0 -4
  847. package/dist/components/name.js +0 -4
  848. package/dist/components/props-from-config.js +0 -4
  849. package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
  850. package/dist/esm/block-bem-BpQSY04L.js +0 -16
  851. package/dist/esm/bootstrap-B9DtStuh.js +0 -28
  852. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  853. package/dist/esm/common-OzsC_6kt.js +0 -1709
  854. package/dist/esm/component-Bc1n82Y8.js +0 -16
  855. package/dist/esm/component-CZZNha2e.js +0 -9295
  856. package/dist/esm/component-Cdnq5GYF.js +0 -18
  857. package/dist/esm/component-DLSlbWg8.js +0 -12
  858. package/dist/esm/component-DeMf195P.js +0 -48
  859. package/dist/esm/component-names-CrfBV37S.js +0 -111
  860. package/dist/esm/kol-click-button.entry.js +0 -53
  861. package/dist/esm/kol-skeleton.entry.js +0 -105
  862. package/dist/esm/label-with-expert-slot-CicRes-W.js +0 -12
  863. package/dist/esm/name-B2Yf3EpX.js +0 -8
  864. package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
  865. package/dist/kolibri/Heading-BVhjT9av.js +0 -4
  866. package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
  867. package/dist/kolibri/api-D92_O-0H.js +0 -4
  868. package/dist/kolibri/app-globals-CBGjgNge.js +0 -4
  869. package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
  870. package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
  871. package/dist/kolibri/base-BLBSJu_1.js +0 -4
  872. package/dist/kolibri/base-CHmdLgoO.js +0 -4
  873. package/dist/kolibri/base-DIcqHqMz.js +0 -4
  874. package/dist/kolibri/base-qvPPg-dn.js +0 -4
  875. package/dist/kolibri/base-web-component-CaAexWy_.js +0 -4
  876. package/dist/kolibri/base-web-component-DbagnM7m.js +0 -4
  877. package/dist/kolibri/base-web-component-XgI4wUyN.js +0 -4
  878. package/dist/kolibri/behavior-B08CXmI4.js +0 -4
  879. package/dist/kolibri/behavior-CwUUkdaP.js +0 -4
  880. package/dist/kolibri/behavior-DW7_5Wxp.js +0 -4
  881. package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
  882. package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
  883. package/dist/kolibri/bootstrap-B9DtStuh.js +0 -4
  884. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  885. package/dist/kolibri/color-eAL9I7Wq.js +0 -4
  886. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  887. package/dist/kolibri/component-8ALsFV4i.js +0 -4
  888. package/dist/kolibri/component-BTMWoACz.js +0 -4
  889. package/dist/kolibri/component-Bc1n82Y8.js +0 -4
  890. package/dist/kolibri/component-CZZNha2e.js +0 -4
  891. package/dist/kolibri/component-CdKSiR5P.js +0 -4
  892. package/dist/kolibri/component-Cdnq5GYF.js +0 -4
  893. package/dist/kolibri/component-D0mBOGjS.js +0 -4
  894. package/dist/kolibri/component-DBAicJ2u.js +0 -4
  895. package/dist/kolibri/component-DCw1ZAE5.js +0 -4
  896. package/dist/kolibri/component-DLSlbWg8.js +0 -4
  897. package/dist/kolibri/component-DeMf195P.js +0 -4
  898. package/dist/kolibri/component-nR5Bf9G5.js +0 -4
  899. package/dist/kolibri/component-names-CrfBV37S.js +0 -4
  900. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  901. package/dist/kolibri/controller-C3O9ohSP.js +0 -4
  902. package/dist/kolibri/dev.utils-wYkYn08d.js +0 -4
  903. package/dist/kolibri/devtools-DrBkkLdP.js +0 -4
  904. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  905. package/dist/kolibri/element-focus-BIRmGg5W.js +0 -4
  906. package/dist/kolibri/element-interaction-sGYdEpmv.js +0 -4
  907. package/dist/kolibri/events-BIT-JUP2.js +0 -4
  908. package/dist/kolibri/field-control-Cs5VvsYo.js +0 -4
  909. package/dist/kolibri/group-uNo1CfbK.js +0 -4
  910. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  911. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  912. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  913. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  914. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  915. package/dist/kolibri/index-BKEJuyFi.js +0 -6
  916. package/dist/kolibri/input-Dja5Qioc.js +0 -4
  917. package/dist/kolibri/input-container-C2Am7LEP.js +0 -4
  918. package/dist/kolibri/item-C4AmpdVD.js +0 -4
  919. package/dist/kolibri/item-ConW1c81.js +0 -4
  920. package/dist/kolibri/item-D627ShRd.js +0 -4
  921. package/dist/kolibri/item-DIAFIFSy.js +0 -4
  922. package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
  923. package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
  924. package/dist/kolibri/kol-click-button.entry.js +0 -4
  925. package/dist/kolibri/kol-skeleton.entry.js +0 -4
  926. package/dist/kolibri/label-BRosRgdX.js +0 -4
  927. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  928. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  929. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  930. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  931. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  932. package/dist/kolibri/links-DwucTqcR.js +0 -4
  933. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  934. package/dist/kolibri/name-B2Yf3EpX.js +0 -4
  935. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  936. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  937. package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
  938. package/dist/kolibri/options-B0rBHetL.js +0 -4
  939. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  940. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  941. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  942. package/dist/kolibri/props-from-config-Ci0dILpz.js +0 -4
  943. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  944. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  945. package/dist/kolibri/resolve-props-BLZxWC3j.js +0 -4
  946. package/dist/kolibri/resolve-props-D2KiItuv.js +0 -4
  947. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  948. package/dist/kolibri/scroll-lock-Y2hf47KW.js +0 -4
  949. package/dist/kolibri/smart-button-CS_ZriPt.js +0 -4
  950. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  951. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  952. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  953. package/dist/kolibri/suggestions-DuqzGDve.js +0 -4
  954. package/dist/kolibri/suggestions-Dy1X-Pc3.js +0 -4
  955. package/dist/kolibri/toggle-handler-BRLmxe1J.js +0 -4
  956. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
  957. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  958. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  959. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  960. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
  961. package/dist/kolibri/width-CgYY17tL.js +0 -4
  962. package/dist/types/components/click-button/component.d.ts +0 -15
  963. package/dist/types/components/skeleton/component.d.ts +0 -26
  964. package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
  965. package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
  966. package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
  967. package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
  968. package/dist/types/schema/props/table-header-cells.d.ts +0 -11
  969. package/doc/skeleton.md +0 -54
@@ -1,1709 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- function getDefaultExportFromCjs (x) {
5
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
6
- }
7
-
8
- var loglevel$1 = {exports: {}};
9
-
10
- /*
11
- * loglevel - https://github.com/pimterry/loglevel
12
- *
13
- * Copyright (c) 2013 Tim Perry
14
- * Licensed under the MIT license.
15
- */
16
- var loglevel = loglevel$1.exports;
17
-
18
- var hasRequiredLoglevel;
19
-
20
- function requireLoglevel () {
21
- if (hasRequiredLoglevel) return loglevel$1.exports;
22
- hasRequiredLoglevel = 1;
23
- (function (module) {
24
- (function (root, definition) {
25
- if (module.exports) {
26
- module.exports = definition();
27
- } else {
28
- root.log = definition();
29
- }
30
- }(loglevel, function () {
31
-
32
- // Slightly dubious tricks to cut down minimized file size
33
- var noop = function() {};
34
- var undefinedType = "undefined";
35
- var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (
36
- /Trident\/|MSIE /.test(window.navigator.userAgent)
37
- );
38
-
39
- var logMethods = [
40
- "trace",
41
- "debug",
42
- "info",
43
- "warn",
44
- "error"
45
- ];
46
-
47
- var _loggersByName = {};
48
- var defaultLogger = null;
49
-
50
- // Cross-browser bind equivalent that works at least back to IE6
51
- function bindMethod(obj, methodName) {
52
- var method = obj[methodName];
53
- if (typeof method.bind === 'function') {
54
- return method.bind(obj);
55
- } else {
56
- try {
57
- return Function.prototype.bind.call(method, obj);
58
- } catch (e) {
59
- // Missing bind shim or IE8 + Modernizr, fallback to wrapping
60
- return function() {
61
- return Function.prototype.apply.apply(method, [obj, arguments]);
62
- };
63
- }
64
- }
65
- }
66
-
67
- // Trace() doesn't print the message in IE, so for that case we need to wrap it
68
- function traceForIE() {
69
- if (console.log) {
70
- if (console.log.apply) {
71
- console.log.apply(console, arguments);
72
- } else {
73
- // In old IE, native console methods themselves don't have apply().
74
- Function.prototype.apply.apply(console.log, [console, arguments]);
75
- }
76
- }
77
- if (console.trace) console.trace();
78
- }
79
-
80
- // Build the best logging method possible for this env
81
- // Wherever possible we want to bind, not wrap, to preserve stack traces
82
- function realMethod(methodName) {
83
- if (methodName === 'debug') {
84
- methodName = 'log';
85
- }
86
-
87
- if (typeof console === undefinedType) {
88
- return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives
89
- } else if (methodName === 'trace' && isIE) {
90
- return traceForIE;
91
- } else if (console[methodName] !== undefined) {
92
- return bindMethod(console, methodName);
93
- } else if (console.log !== undefined) {
94
- return bindMethod(console, 'log');
95
- } else {
96
- return noop;
97
- }
98
- }
99
-
100
- // These private functions always need `this` to be set properly
101
-
102
- function replaceLoggingMethods() {
103
- /*jshint validthis:true */
104
- var level = this.getLevel();
105
-
106
- // Replace the actual methods.
107
- for (var i = 0; i < logMethods.length; i++) {
108
- var methodName = logMethods[i];
109
- this[methodName] = (i < level) ?
110
- noop :
111
- this.methodFactory(methodName, level, this.name);
112
- }
113
-
114
- // Define log.log as an alias for log.debug
115
- this.log = this.debug;
116
-
117
- // Return any important warnings.
118
- if (typeof console === undefinedType && level < this.levels.SILENT) {
119
- return "No console available for logging";
120
- }
121
- }
122
-
123
- // In old IE versions, the console isn't present until you first open it.
124
- // We build realMethod() replacements here that regenerate logging methods
125
- function enableLoggingWhenConsoleArrives(methodName) {
126
- return function () {
127
- if (typeof console !== undefinedType) {
128
- replaceLoggingMethods.call(this);
129
- this[methodName].apply(this, arguments);
130
- }
131
- };
132
- }
133
-
134
- // By default, we use closely bound real methods wherever possible, and
135
- // otherwise we wait for a console to appear, and then try again.
136
- function defaultMethodFactory(methodName, _level, _loggerName) {
137
- /*jshint validthis:true */
138
- return realMethod(methodName) ||
139
- enableLoggingWhenConsoleArrives.apply(this, arguments);
140
- }
141
-
142
- function Logger(name, factory) {
143
- // Private instance variables.
144
- var self = this;
145
- /**
146
- * The level inherited from a parent logger (or a global default). We
147
- * cache this here rather than delegating to the parent so that it stays
148
- * in sync with the actual logging methods that we have installed (the
149
- * parent could change levels but we might not have rebuilt the loggers
150
- * in this child yet).
151
- * @type {number}
152
- */
153
- var inheritedLevel;
154
- /**
155
- * The default level for this logger, if any. If set, this overrides
156
- * `inheritedLevel`.
157
- * @type {number|null}
158
- */
159
- var defaultLevel;
160
- /**
161
- * A user-specific level for this logger. If set, this overrides
162
- * `defaultLevel`.
163
- * @type {number|null}
164
- */
165
- var userLevel;
166
-
167
- var storageKey = "loglevel";
168
- if (typeof name === "string") {
169
- storageKey += ":" + name;
170
- } else if (typeof name === "symbol") {
171
- storageKey = undefined;
172
- }
173
-
174
- function persistLevelIfPossible(levelNum) {
175
- var levelName = (logMethods[levelNum] || 'silent').toUpperCase();
176
-
177
- if (typeof window === undefinedType || !storageKey) return;
178
-
179
- // Use localStorage if available
180
- try {
181
- window.localStorage[storageKey] = levelName;
182
- return;
183
- } catch (ignore) {}
184
-
185
- // Use session cookie as fallback
186
- try {
187
- window.document.cookie =
188
- encodeURIComponent(storageKey) + "=" + levelName + ";";
189
- } catch (ignore) {}
190
- }
191
-
192
- function getPersistedLevel() {
193
- var storedLevel;
194
-
195
- if (typeof window === undefinedType || !storageKey) return;
196
-
197
- try {
198
- storedLevel = window.localStorage[storageKey];
199
- } catch (ignore) {}
200
-
201
- // Fallback to cookies if local storage gives us nothing
202
- if (typeof storedLevel === undefinedType) {
203
- try {
204
- var cookie = window.document.cookie;
205
- var cookieName = encodeURIComponent(storageKey);
206
- var location = cookie.indexOf(cookieName + "=");
207
- if (location !== -1) {
208
- storedLevel = /^([^;]+)/.exec(
209
- cookie.slice(location + cookieName.length + 1)
210
- )[1];
211
- }
212
- } catch (ignore) {}
213
- }
214
-
215
- // If the stored level is not valid, treat it as if nothing was stored.
216
- if (self.levels[storedLevel] === undefined) {
217
- storedLevel = undefined;
218
- }
219
-
220
- return storedLevel;
221
- }
222
-
223
- function clearPersistedLevel() {
224
- if (typeof window === undefinedType || !storageKey) return;
225
-
226
- // Use localStorage if available
227
- try {
228
- window.localStorage.removeItem(storageKey);
229
- } catch (ignore) {}
230
-
231
- // Use session cookie as fallback
232
- try {
233
- window.document.cookie =
234
- encodeURIComponent(storageKey) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
235
- } catch (ignore) {}
236
- }
237
-
238
- function normalizeLevel(input) {
239
- var level = input;
240
- if (typeof level === "string" && self.levels[level.toUpperCase()] !== undefined) {
241
- level = self.levels[level.toUpperCase()];
242
- }
243
- if (typeof level === "number" && level >= 0 && level <= self.levels.SILENT) {
244
- return level;
245
- } else {
246
- throw new TypeError("log.setLevel() called with invalid level: " + input);
247
- }
248
- }
249
-
250
- /*
251
- *
252
- * Public logger API - see https://github.com/pimterry/loglevel for details
253
- *
254
- */
255
-
256
- self.name = name;
257
-
258
- self.levels = { "TRACE": 0, "DEBUG": 1, "INFO": 2, "WARN": 3,
259
- "ERROR": 4, "SILENT": 5};
260
-
261
- self.methodFactory = factory || defaultMethodFactory;
262
-
263
- self.getLevel = function () {
264
- if (userLevel != null) {
265
- return userLevel;
266
- } else if (defaultLevel != null) {
267
- return defaultLevel;
268
- } else {
269
- return inheritedLevel;
270
- }
271
- };
272
-
273
- self.setLevel = function (level, persist) {
274
- userLevel = normalizeLevel(level);
275
- if (persist !== false) { // defaults to true
276
- persistLevelIfPossible(userLevel);
277
- }
278
-
279
- // NOTE: in v2, this should call rebuild(), which updates children.
280
- return replaceLoggingMethods.call(self);
281
- };
282
-
283
- self.setDefaultLevel = function (level) {
284
- defaultLevel = normalizeLevel(level);
285
- if (!getPersistedLevel()) {
286
- self.setLevel(level, false);
287
- }
288
- };
289
-
290
- self.resetLevel = function () {
291
- userLevel = null;
292
- clearPersistedLevel();
293
- replaceLoggingMethods.call(self);
294
- };
295
-
296
- self.enableAll = function(persist) {
297
- self.setLevel(self.levels.TRACE, persist);
298
- };
299
-
300
- self.disableAll = function(persist) {
301
- self.setLevel(self.levels.SILENT, persist);
302
- };
303
-
304
- self.rebuild = function () {
305
- if (defaultLogger !== self) {
306
- inheritedLevel = normalizeLevel(defaultLogger.getLevel());
307
- }
308
- replaceLoggingMethods.call(self);
309
-
310
- if (defaultLogger === self) {
311
- for (var childName in _loggersByName) {
312
- _loggersByName[childName].rebuild();
313
- }
314
- }
315
- };
316
-
317
- // Initialize all the internal levels.
318
- inheritedLevel = normalizeLevel(
319
- defaultLogger ? defaultLogger.getLevel() : "WARN"
320
- );
321
- var initialLevel = getPersistedLevel();
322
- if (initialLevel != null) {
323
- userLevel = normalizeLevel(initialLevel);
324
- }
325
- replaceLoggingMethods.call(self);
326
- }
327
-
328
- /*
329
- *
330
- * Top-level API
331
- *
332
- */
333
-
334
- defaultLogger = new Logger();
335
-
336
- defaultLogger.getLogger = function getLogger(name) {
337
- if ((typeof name !== "symbol" && typeof name !== "string") || name === "") {
338
- throw new TypeError("You must supply a name when creating a logger.");
339
- }
340
-
341
- var logger = _loggersByName[name];
342
- if (!logger) {
343
- logger = _loggersByName[name] = new Logger(
344
- name,
345
- defaultLogger.methodFactory
346
- );
347
- }
348
- return logger;
349
- };
350
-
351
- // Grab the current global log variable in case of overwrite
352
- var _log = (typeof window !== undefinedType) ? window.log : undefined;
353
- defaultLogger.noConflict = function() {
354
- if (typeof window !== undefinedType &&
355
- window.log === defaultLogger) {
356
- window.log = _log;
357
- }
358
-
359
- return defaultLogger;
360
- };
361
-
362
- defaultLogger.getLoggers = function getLoggers() {
363
- return _loggersByName;
364
- };
365
-
366
- // ES6 default export, for compatibility
367
- defaultLogger['default'] = defaultLogger;
368
-
369
- return defaultLogger;
370
- }));
371
- } (loglevel$1));
372
- return loglevel$1.exports;
373
- }
374
-
375
- var loglevelExports = requireLoglevel();
376
- var f$1 = /*@__PURE__*/getDefaultExportFromCjs(loglevelExports);
377
-
378
- const k=(e,t)=>s=>s(e,t),G=(e,t,s)=>o=>o(e,t,{append:false},s),x=()=>{const e=typeof process<"u"&&process.env?process.env:{},t=e.NODE_ENV==="test",s="VITEST"in e,o="JEST_WORKER_ID"in e,a="PLAYWRIGHT_TEST_BASE_URL"in e,r=e.CI==="true",i=e.TEST==="true"||e.IS_TEST==="true",c=typeof navigator<"u"&&navigator.webdriver===true,m=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||s||o||a||r||i||c||m},n$1={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:x(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{const e={};for(const[s,o]of n$1.A11yUi.PERFORMANCE_MEASURES.entries())e[s]=[o.totalTime/o.count,o.count];const t=Object.entries(e).sort((s,o)=>o[1][0]-s[1][0]);return console.table(Object.fromEntries(t.map(([s,[o,a]])=>[s,{"avg (ms)":parseFloat(o.toFixed(2)),count:a}]))),e}}};let E=true,u$1=false;const K=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,B=e=>typeof e=="string"&&K.test(e),U=e=>{if(!B(e))throw new Error(`[Theming] The theme identifier "${typeof e=="string"?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},b=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),D=(e,t,s,o)=>p(e,t,s,o),p=(e,t,s,o)=>{o=o??{},o.append=o.append??false,U(e),E&&!u$1&&(u$1=true,f$1.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.
379
-
380
- import { register } from 'adopted-style-sheets';
381
- import { defineCustomElements } from '...';
382
- import { THEME } from '...';
383
-
384
- register(THEME, defineCustomElements)
385
- .then(() => {
386
- // run your app or website
387
- })
388
- .catch(console.warn);`));let a=n$1.A11yUi.THEMES.get(e);if(a||(a=new Map,n$1.A11yUi.THEMES.set(e,a)),o.append&&a.has(t)){const r=a.get(t);a.set(t,b(`${r}${s}`));}else a.set(t,b(s));},z=(e,t,s,o)=>g(e,t,s,o),g=(e,t,s,o)=>(U(e),typeof t=="object"&&t!==null&&Object.getOwnPropertyNames(t).forEach(a=>{const r=t[a],i=a.toLowerCase(),c=typeof o?.transformTagName=="function"&&!["GLOBAL","PROPERTIES"].includes(a)?o.transformTagName(i):a;typeof r=="string"&&r.length>0&&p(e,c.toUpperCase(),r,s);}),e),C=e=>{if(e instanceof HTMLElement){if(typeof e.dataset.theme=="string")return e;{let t=e.parentNode;for(;typeof ShadowRoot<"u"&&t instanceof ShadowRoot;)t=t.host;return C(t)}}else return null},M=(e={})=>e.themeEncroachCss==="false"||e.themeReset==="true"?false:{mode:e.themeEncroachCssMode==="after"||e.themeEncroachCssMode==="before"?e.themeEncroachCssMode:"before"},y=()=>typeof n$1.A11yUi.Theme=="object"&&n$1.A11yUi.Theme!==null&&typeof n$1.A11yUi.Theme.cache=="boolean"&&typeof n$1.A11yUi.Theme.encroachCss=="object"&&n$1.A11yUi.Theme.encroachCss!==null&&typeof n$1.A11yUi.Theme.encroachCss.mode=="string"&&typeof n$1.A11yUi.Theme.name=="string",Q=()=>!(typeof n$1.A11yUi.Theme=="object"&&n$1.A11yUi.Theme!==null)||n$1.A11yUi.Theme.name!=="default",w=e=>{if(y())return n$1.A11yUi.Theme;{const t={cache:true,encroachCss:M(),loglevel:"silent",mode:"csr",name:null},s=C(e);return s instanceof HTMLElement&&(t.cache=s.dataset.themeCache!=="false",t.encroachCss=M(s.dataset),t.loglevel=s.dataset.themeLoglevel==="debug"?s.dataset.themeLoglevel:"silent",t.mode=s.dataset.themeMode==="ssr"?s.dataset.themeMode:"csr",t.name=s.dataset.theme||null),t}},v=e=>w(e).name,R=()=>y()?n$1.A11yUi.Theme.name:null,W=(e,t)=>({cache:t.cache!==false,detect:t.detect==="auto"?"auto":"fixed",encroachCss:t.encroachCss===false?false:typeof t.encroachCss=="object"&&t.encroachCss!=null&&(t.encroachCss.mode==="after"||t.encroachCss.mode==="before")?t.encroachCss:{mode:"before"},loglevel:t.loglevel==="debug"?t.loglevel:"silent",mode:t.mode==="ssr"?t.mode:"csr",name:typeof t.name=="string"?t.name:e}),q=(e,t)=>{y()===false&&Q()&&typeof t=="object"&&t!==null&&(t=W(e,t),t.detect==="fixed"?(t.name===null&&typeof e=="string"&&(t.name=e),e===t.name&&(n$1.A11yUi.Theme=t,f$1.info(`[Theming] Theme "${e}" was set as default theme.`))):u$1||(u$1=true,f$1.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")));},A=(...e)=>{const t={};for(const s of e)s&&Object.assign(t,s);return t},X=(e,t)=>{const s=n$1.A11yUi.FEATURES[e];if(s!==void 0)return s;const o=v(t??null)??R();if(o!==null){const a=n$1.A11yUi.THEME_FEATURES[o];if(a&&a[e]!==void 0)return a[e]}};let N=false;const se=(e,t,s={})=>{N||(N=true,E=false,typeof window<"u"&&(window.A11yUi=n$1.A11yUi)),typeof e=="function"?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach(a=>{typeof a=="function"&&a.length===1?q(a((r,i,c,m)=>(m&&(n$1.A11yUi.THEME_FEATURES[r]=A(n$1.A11yUi.THEME_FEATURES[r],m)),g(r,i,c,s))),{cache:s.theme?.cache,detect:s.theme?.detect,encroachCss:s.theme?.encroachCss,mode:s.theme?.mode,name:s.theme?.name}):f$1.error("[Theming] An attempt was made to load an incompatible theme.");}),E=true,s.features&&(n$1.A11yUi.FEATURES=A(n$1.A11yUi.FEATURES,s.features)),typeof t=="function"?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const o=[];return t.forEach(a=>{const r=a();r instanceof Promise&&o.push(r);}),Promise.all(o)};const _=new Set,L=new Map,oe=/--[^;]+/g,ae=/:/,ne=typeof MutationObserver<"u";let F=25,H=()=>{F=Math.min(25+Math.log2(n$1.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250);};const re=(e,t)=>{let s=t.match(oe);if(Array.isArray(s)){s=s.filter(a=>ae.test(a));const o=document.createElement("style");o.innerHTML=`.${e} {${s.join(";")}}`,document.querySelector("head")?.appendChild(o);}_.add(e);},T=(e,t)=>{const s=n$1.A11yUi.THEMES.get(e);if(s instanceof Map){const o=s.get(t);if(o!==void 0)return o}return ""},ie=e=>{const t=e.firstChild;if(!(!(t instanceof HTMLStyleElement)||t.dataset.themingFallback!==void 0))for(const s of Array.from(e.childNodes))if(s instanceof HTMLStyleElement&&s.tagName==="STYLE"&&s.dataset.themingFallback===void 0)e.removeChild(s);else break},ce=(e,t)=>{try{if(n$1.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const s=t.filter(o=>typeof o=="string"&&o.length>0).map(o=>{let a=L.get(o);return a||(a=new CSSStyleSheet,a.replaceSync(o),L.set(o,a)),a});e.adoptedStyleSheets=s;}catch{for(let o=t.length-1;o>=0;o--){const a=t[o];if(typeof a!="string"||a.length===0)continue;const r=t.length-1-o,i=document.createElement("style");switch(i.dataset.themingFallback="",r){case 4:i.dataset.themingBaseA11y="";break;case 3:i.dataset.themingBaseGlobal="";break;case 2:i.dataset.themingBaseComponent="";break;case 1:i.dataset.themingCustomGlobal="";break;case 0:i.dataset.themingCustomComponent="";break;default:i.dataset.themingUnknown="";break}i.innerHTML=a,e.insertBefore(i,e.firstChild);}}},le=(e,t,s)=>{if(s===false||s?.mode!=="before"&&s?.mode!=="after")return;const o=Array.from(e.childNodes).filter(r=>r instanceof HTMLStyleElement&&r.tagName==="STYLE");let a;try{a=Array.from(e.adoptedStyleSheets);}catch{a=[];}if(!(o.length===0&&a.length===0))if(s.mode==="before"){const r=[...a.map(i=>Array.from(i.cssRules).map(c=>c.cssText).join("")),...o.map(i=>i.innerHTML)];t.unshift(...r);}else o.forEach(r=>t.push(r.innerHTML)),a.forEach(r=>t.push(Array.from(r.cssRules).map(i=>i.cssText).join("")));},me=(e,t,s)=>{const o=t.name||"default";let a;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");a=e.shadowRoot;}catch{a=e;}const r=n$1.A11yUi.CSS_STYLE_CACHE.get(o)?.get(e.tagName);if(r)O(e,a,r,s);else {const i=T(o,"PROPERTIES"),c=T(o,"GLOBAL"),m=T(o,e.tagName);_.has(o)===false&&re(o,c);const d=[i,c,m];if(le(a,d,t.encroachCss),t.cache===true){let h=n$1.A11yUi.CSS_STYLE_CACHE.get(o);h||(h=new Map,n$1.A11yUi.CSS_STYLE_CACHE.set(o,h)),h.set(e.tagName,d);}O(e,a,d,s);}},O=(e,t,s,o)=>{const a=n$1.A11yUi.Theme?.loglevel==="debug",r=a?performance.now():0;if(ie(t),ce(t,s),Te(e),requestAnimationFrame(o),a){const i=performance.now()-r,c=n$1.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);c?(c.count+=1,c.totalTime+=i):n$1.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:i});}},I=e=>{const t=n$1.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:s,themeDetails:o}=t;me(e,o,s);}},he=100;let S=(e,t=0)=>{if(t>=he)return;const s=setTimeout(()=>{clearTimeout(s),e.classList.contains("hydrated")?I(e):S(e,t+1);},F);};const fe={attributes:true,attributeFilter:["class"],childList:false,subtree:false},ue={attributes:true,attributeFilter:[],childList:false,subtree:false},P=ne?new MutationObserver((e,t)=>{const s=[];for(const o of e){const a=o.target;a.classList.contains("hydrated")&&n$1.A11yUi.STYLING_TASK_QUEUE.has(a)&&(I(a),s.push(a));}for(const o of s)t.observe(o,ue);}):null;P&&(S=e=>P.observe(e,fe),H=()=>{});const $=new Map;let j=(e,t)=>{if(t){const a=$.get(t);if(a!==void 0)return a}const s=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let o;if(s.endsWith("ms"))o=parseFloat(s);else if(s.endsWith("s"))o=parseFloat(s)*1e3;else {const a=parseFloat(s);o=isNaN(a)?0:a;}return t&&$.set(t,o),o};n$1.A11yUi.IS_TEST_ENVIRONMENT&&(j=()=>0);const Y=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed="";},ye=(e,t)=>{const s=e.style.visibility||null,o=t.name||"default";n$1.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const a=j(e,o);a>0?setTimeout(()=>{Y(e,s);},a):Y(e,s);},themeDetails:t}),e.style.setProperty("visibility","hidden","important"),S(e);},Te=e=>{n$1.A11yUi.STYLING_TASK_QUEUE.delete(e),H();},de=(e,t)=>{ye(e,{...n$1.A11yUi.Theme,...t});};class Ee{Prefix;Key;Tag;createTheme=(t,s,o)=>G(t,s,o);createTranslation=(t,s)=>k(t,s);constructor(t,s,o){this.Prefix=t,this.Key=Object.getOwnPropertyNames(s),this.Tag=Object.getOwnPropertyNames(o);}}
389
-
390
- var KeyEnum;
391
- (function (KeyEnum) {
392
- KeyEnum[KeyEnum["action-done"] = 0] = "action-done";
393
- KeyEnum[KeyEnum["action-running"] = 1] = "action-running";
394
- KeyEnum[KeyEnum["avatar-alt"] = 2] = "avatar-alt";
395
- KeyEnum[KeyEnum["character-counter-current"] = 3] = "character-counter-current";
396
- KeyEnum[KeyEnum["character-counter-current-of-max"] = 4] = "character-counter-current-of-max";
397
- KeyEnum[KeyEnum["character-counter-current-of-max-aria"] = 5] = "character-counter-current-of-max-aria";
398
- KeyEnum[KeyEnum["character-counter-max-aria"] = 6] = "character-counter-max-aria";
399
- KeyEnum[KeyEnum["character-limit-exceeded"] = 7] = "character-limit-exceeded";
400
- KeyEnum[KeyEnum["character-limit-hint"] = 8] = "character-limit-hint";
401
- KeyEnum[KeyEnum["character-limit-remaining"] = 9] = "character-limit-remaining";
402
- KeyEnum[KeyEnum["clear-search"] = 10] = "clear-search";
403
- KeyEnum[KeyEnum["close"] = 11] = "close";
404
- KeyEnum[KeyEnum["close-alert"] = 12] = "close-alert";
405
- KeyEnum[KeyEnum["data-browse-text"] = 13] = "data-browse-text";
406
- KeyEnum[KeyEnum["delete-selection"] = 14] = "delete-selection";
407
- KeyEnum[KeyEnum["entries-per-site"] = 15] = "entries-per-site";
408
- KeyEnum[KeyEnum["error"] = 16] = "error";
409
- KeyEnum[KeyEnum["error-list"] = 17] = "error-list";
410
- KeyEnum[KeyEnum["error-list-message"] = 18] = "error-list-message";
411
- KeyEnum[KeyEnum["filename-text"] = 19] = "filename-text";
412
- KeyEnum[KeyEnum["form-description"] = 20] = "form-description";
413
- KeyEnum[KeyEnum["hide-password"] = 21] = "hide-password";
414
- KeyEnum[KeyEnum["info"] = 22] = "info";
415
- KeyEnum[KeyEnum["kolibri-logo"] = 23] = "kolibri-logo";
416
- KeyEnum[KeyEnum["live-value"] = 24] = "live-value";
417
- KeyEnum[KeyEnum["live-value-bounded"] = 25] = "live-value-bounded";
418
- KeyEnum[KeyEnum["message"] = 26] = "message";
419
- KeyEnum[KeyEnum["meter-state-critical"] = 27] = "meter-state-critical";
420
- KeyEnum[KeyEnum["meter-state-optimum"] = 28] = "meter-state-optimum";
421
- KeyEnum[KeyEnum["meter-state-suboptimal"] = 29] = "meter-state-suboptimal";
422
- KeyEnum[KeyEnum["nav-maximize"] = 30] = "nav-maximize";
423
- KeyEnum[KeyEnum["nav-minimize"] = 31] = "nav-minimize";
424
- KeyEnum[KeyEnum["new"] = 32] = "new";
425
- KeyEnum[KeyEnum["no-entries"] = 33] = "no-entries";
426
- KeyEnum[KeyEnum["no-results-message"] = 34] = "no-results-message";
427
- KeyEnum[KeyEnum["open-link-in-tab"] = 35] = "open-link-in-tab";
428
- KeyEnum[KeyEnum["page"] = 36] = "page";
429
- KeyEnum[KeyEnum["page-back"] = 37] = "page-back";
430
- KeyEnum[KeyEnum["page-first"] = 38] = "page-first";
431
- KeyEnum[KeyEnum["page-last"] = 39] = "page-last";
432
- KeyEnum[KeyEnum["page-next"] = 40] = "page-next";
433
- KeyEnum[KeyEnum["pagination"] = 41] = "pagination";
434
- KeyEnum[KeyEnum["pagination-position-bottom"] = 42] = "pagination-position-bottom";
435
- KeyEnum[KeyEnum["pagination-position-top"] = 43] = "pagination-position-top";
436
- KeyEnum[KeyEnum["readonly"] = 44] = "readonly";
437
- KeyEnum[KeyEnum["show-password"] = 45] = "show-password";
438
- KeyEnum[KeyEnum["show-suggestions"] = 46] = "show-suggestions";
439
- KeyEnum[KeyEnum["sort"] = 47] = "sort";
440
- KeyEnum[KeyEnum["split-button-dropdown-label-open"] = 48] = "split-button-dropdown-label-open";
441
- KeyEnum[KeyEnum["success"] = 49] = "success";
442
- KeyEnum[KeyEnum["table-data-loading"] = 50] = "table-data-loading";
443
- KeyEnum[KeyEnum["table-data-loaded"] = 51] = "table-data-loaded";
444
- KeyEnum[KeyEnum["table-pagination-label"] = 52] = "table-pagination-label";
445
- KeyEnum[KeyEnum["table-selection"] = 53] = "table-selection";
446
- KeyEnum[KeyEnum["table-selection-all"] = 54] = "table-selection-all";
447
- KeyEnum[KeyEnum["table-selection-indeterminate"] = 55] = "table-selection-indeterminate";
448
- KeyEnum[KeyEnum["table-selection-none"] = 56] = "table-selection-none";
449
- KeyEnum[KeyEnum["table-settings"] = 57] = "table-settings";
450
- KeyEnum[KeyEnum["table-settings-apply"] = 58] = "table-settings-apply";
451
- KeyEnum[KeyEnum["table-settings-cancel"] = 59] = "table-settings-cancel";
452
- KeyEnum[KeyEnum["table-settings-column-hidable"] = 60] = "table-settings-column-hidable";
453
- KeyEnum[KeyEnum["table-settings-column-not-hidable"] = 61] = "table-settings-column-not-hidable";
454
- KeyEnum[KeyEnum["table-settings-column-width"] = 62] = "table-settings-column-width";
455
- KeyEnum[KeyEnum["table-settings-error-all-invisible"] = 63] = "table-settings-error-all-invisible";
456
- KeyEnum[KeyEnum["table-settings-move-down"] = 64] = "table-settings-move-down";
457
- KeyEnum[KeyEnum["table-settings-move-up"] = 65] = "table-settings-move-up";
458
- KeyEnum[KeyEnum["table-settings-not-move"] = 66] = "table-settings-not-move";
459
- KeyEnum[KeyEnum["table-sort-order"] = 67] = "table-sort-order";
460
- KeyEnum[KeyEnum["table-visible-range"] = 68] = "table-visible-range";
461
- KeyEnum[KeyEnum["toast-close-all"] = 69] = "toast-close-all";
462
- KeyEnum[KeyEnum["version"] = 70] = "version";
463
- KeyEnum[KeyEnum["warning"] = 71] = "warning";
464
- })(KeyEnum || (KeyEnum = {}));
465
-
466
- var TagEnum;
467
- (function (TagEnum) {
468
- TagEnum[TagEnum["abbr"] = 0] = "abbr";
469
- TagEnum[TagEnum["accordion"] = 1] = "accordion";
470
- TagEnum[TagEnum["alert"] = 2] = "alert";
471
- TagEnum[TagEnum["avatar"] = 3] = "avatar";
472
- TagEnum[TagEnum["badge"] = 4] = "badge";
473
- TagEnum[TagEnum["breadcrumb"] = 5] = "breadcrumb";
474
- TagEnum[TagEnum["button"] = 6] = "button";
475
- TagEnum[TagEnum["button-link"] = 7] = "button-link";
476
- TagEnum[TagEnum["card"] = 8] = "card";
477
- TagEnum[TagEnum["combobox"] = 9] = "combobox";
478
- TagEnum[TagEnum["details"] = 10] = "details";
479
- TagEnum[TagEnum["dialog"] = 11] = "dialog";
480
- TagEnum[TagEnum["drawer"] = 12] = "drawer";
481
- TagEnum[TagEnum["form"] = 13] = "form";
482
- TagEnum[TagEnum["heading"] = 14] = "heading";
483
- TagEnum[TagEnum["icon"] = 15] = "icon";
484
- TagEnum[TagEnum["image"] = 16] = "image";
485
- TagEnum[TagEnum["input-checkbox"] = 17] = "input-checkbox";
486
- TagEnum[TagEnum["input-color"] = 18] = "input-color";
487
- TagEnum[TagEnum["input-date"] = 19] = "input-date";
488
- TagEnum[TagEnum["input-email"] = 20] = "input-email";
489
- TagEnum[TagEnum["input-file"] = 21] = "input-file";
490
- TagEnum[TagEnum["input-number"] = 22] = "input-number";
491
- TagEnum[TagEnum["input-password"] = 23] = "input-password";
492
- TagEnum[TagEnum["input-radio"] = 24] = "input-radio";
493
- TagEnum[TagEnum["input-range"] = 25] = "input-range";
494
- TagEnum[TagEnum["input-text"] = 26] = "input-text";
495
- TagEnum[TagEnum["kolibri"] = 27] = "kolibri";
496
- TagEnum[TagEnum["link"] = 28] = "link";
497
- TagEnum[TagEnum["link-button"] = 29] = "link-button";
498
- TagEnum[TagEnum["logo"] = 30] = "logo";
499
- TagEnum[TagEnum["meter"] = 31] = "meter";
500
- TagEnum[TagEnum["modal"] = 32] = "modal";
501
- TagEnum[TagEnum["nav"] = 33] = "nav";
502
- TagEnum[TagEnum["pagination"] = 34] = "pagination";
503
- TagEnum[TagEnum["popover-button"] = 35] = "popover-button";
504
- TagEnum[TagEnum["progress"] = 36] = "progress";
505
- TagEnum[TagEnum["quote"] = 37] = "quote";
506
- TagEnum[TagEnum["select"] = 38] = "select";
507
- TagEnum[TagEnum["single-select"] = 39] = "single-select";
508
- TagEnum[TagEnum["skip-nav"] = 40] = "skip-nav";
509
- TagEnum[TagEnum["spin"] = 41] = "spin";
510
- TagEnum[TagEnum["split-button"] = 42] = "split-button";
511
- TagEnum[TagEnum["symbol"] = 43] = "symbol";
512
- TagEnum[TagEnum["table"] = 44] = "table";
513
- TagEnum[TagEnum["table-stateful"] = 45] = "table-stateful";
514
- TagEnum[TagEnum["table-stateless"] = 46] = "table-stateless";
515
- TagEnum[TagEnum["tabs"] = 47] = "tabs";
516
- TagEnum[TagEnum["textarea"] = 48] = "textarea";
517
- TagEnum[TagEnum["toast-container"] = 49] = "toast-container";
518
- TagEnum[TagEnum["toolbar"] = 50] = "toolbar";
519
- TagEnum[TagEnum["tooltip"] = 51] = "tooltip";
520
- TagEnum[TagEnum["tree"] = 52] = "tree";
521
- TagEnum[TagEnum["tree-item"] = 53] = "tree-item";
522
- TagEnum[TagEnum["version"] = 54] = "version";
523
- })(TagEnum || (TagEnum = {}));
524
-
525
- const getWindow = () => {
526
- if (typeof window !== 'undefined')
527
- return window;
528
- return {};
529
- };
530
- const getDocument = () => {
531
- const win = getWindow();
532
- if (win && typeof win.document !== 'undefined')
533
- return win.document;
534
- return {};
535
- };
536
- const MODES = ['development', 'production', 'test'];
537
- let runtimeMode = 'production';
538
- const setRuntimeMode = (mode) => {
539
- try {
540
- if (MODES.includes(mode)) {
541
- runtimeMode = mode;
542
- }
543
- else {
544
- throw new Error(`Invalid NODE_ENV value: ${mode}. Expected one of ${MODES.join(', ')}.`);
545
- }
546
- }
547
- catch (_a) {
548
- runtimeMode = 'production';
549
- }
550
- };
551
- const getNodeEnv = () => {
552
- try {
553
- return typeof process !== 'undefined' && process.env ? process.env['NODE_ENV'] : undefined;
554
- }
555
- catch (_a) {
556
- return undefined;
557
- }
558
- };
559
- const getInitialMode = () => {
560
- const nodeEnv = getNodeEnv();
561
- return nodeEnv && MODES.includes(nodeEnv) ? nodeEnv : 'production';
562
- };
563
- setRuntimeMode(getInitialMode());
564
- let EXPERIMENTAL_MODE = false;
565
- let COLOR_CONTRAST_ANALYSIS = false;
566
- const isDevMode = () => runtimeMode === 'development';
567
- const isTestMode = () => runtimeMode === 'test';
568
- const isValidationEnabled = () => runtimeMode !== 'production' || getNodeEnv() !== 'production';
569
- const getExperimentalMode = () => EXPERIMENTAL_MODE === true;
570
- const setExperimentalMode = (mode) => {
571
- EXPERIMENTAL_MODE = mode === true;
572
- };
573
- const getColorContrastAnalysis = () => COLOR_CONTRAST_ANALYSIS === true;
574
- const setColorContrastAnalysis = (mode) => {
575
- COLOR_CONTRAST_ANALYSIS = mode === true;
576
- };
577
- const LOG_STYLE = 'color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000';
578
- const mapToArray = (msg) => {
579
- return Array.isArray(msg) ? msg : [msg];
580
- };
581
- const getLogLabel = (label) => {
582
- return `%c${label}`;
583
- };
584
- const handleClassifier = (label, classifier) => {
585
- if (typeof classifier === 'string' && classifier.length > 0) {
586
- return `${getLogLabel(label)} | ${classifier}`;
587
- }
588
- else {
589
- return getLogLabel(label);
590
- }
591
- };
592
- const getShield = (label, options) => {
593
- return [handleClassifier(label, options === null || options === void 0 ? void 0 : options.classifier), `${LOG_STYLE};${(options === null || options === void 0 ? void 0 : options.overwriteStyle) || ''}`];
594
- };
595
- const isDevModeOrForceLog = (forceLog) => isDevMode() || forceLog === true;
596
- class Logger {
597
- constructor(label) {
598
- this.label = label;
599
- }
600
- debug(msg, options) {
601
- if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
602
- console.debug(...getShield(this.label, options), ...mapToArray(msg));
603
- }
604
- }
605
- info(msg, options) {
606
- if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
607
- console.info(...getShield(this.label, options), ...mapToArray(msg));
608
- }
609
- }
610
- trace(msg, options) {
611
- if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
612
- console.trace(...getShield(this.label, options), ...mapToArray(msg));
613
- }
614
- }
615
- warn(msg, options) {
616
- if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
617
- console.warn(...getShield(this.label, options), ...mapToArray(msg));
618
- }
619
- }
620
- error(msg, options) {
621
- console.error(...getShield(this.label, options), ...mapToArray(msg));
622
- }
623
- throw(msg, options) {
624
- if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
625
- throw new Error(...getShield(this.label, options), ...mapToArray(msg));
626
- }
627
- }
628
- }
629
- const Log = new Logger('KoliBri');
630
-
631
- const a11yCache = new Set();
632
- const a11yHint = (msg, options) => {
633
- if (a11yCache.has(msg) === false || false) {
634
- a11yCache.add(msg);
635
- Log.debug([msg].concat([]), {
636
- classifier: `✋ a11y`,
637
- forceLog: false,
638
- overwriteStyle: '; background-color: #09f',
639
- });
640
- }
641
- };
642
- const deprecatedCache = new Set();
643
- const deprecatedHint = (msg, options) => {
644
- if (deprecatedCache.has(msg) === false || false) {
645
- deprecatedCache.add(msg);
646
- Log.warn([msg].concat([]), {
647
- classifier: `🔥 deprecated`,
648
- forceLog: false,
649
- overwriteStyle: '; background-color: #f00',
650
- });
651
- }
652
- };
653
- const devCache = new Set();
654
- const devHint = (msg, options) => {
655
- if (devCache.has(msg) === false || !!(options === null || options === void 0 ? void 0 : options.force)) {
656
- devCache.add(msg);
657
- Log.debug([msg].concat((options === null || options === void 0 ? void 0 : options.details) || []), {
658
- classifier: `💻 dev`,
659
- forceLog: !!(options === null || options === void 0 ? void 0 : options.force),
660
- overwriteStyle: '; background-color: #f09',
661
- });
662
- }
663
- };
664
- const devWarning = (msg, options) => {
665
- if (devCache.has(msg) === false || false) {
666
- devCache.add(msg);
667
- Log.warn([msg].concat([]), {
668
- classifier: `⚠️ dev`,
669
- forceLog: false,
670
- overwriteStyle: '; background-color: #f09',
671
- });
672
- }
673
- };
674
- const featureCache = new Set();
675
- const featureHint = (msg, done = false, options) => {
676
- if (featureCache.has(msg) === false || false) {
677
- featureCache.add(msg);
678
- msg += done === true ? ' ✅' : '';
679
- Log.debug([msg].concat([]), {
680
- classifier: `🌟 feature`,
681
- forceLog: false,
682
- overwriteStyle: '; background-color: #309',
683
- });
684
- }
685
- };
686
- devHint(`We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!`);
687
- const uiUxCache = new Set();
688
- const uiUxHint = (msg, options) => {
689
- if (uiUxCache.has(msg) === false || false) {
690
- uiUxCache.add(msg);
691
- Log.debug([msg].concat([]), {
692
- classifier: `📑 ui/ux`,
693
- forceLog: false,
694
- overwriteStyle: '; background-color: #060;',
695
- });
696
- }
697
- };
698
- const a11yHintLabelingLandmarks = (value) => {
699
- if (typeof value !== 'string' || value === '') {
700
- a11yHint(`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`);
701
- }
702
- };
703
- const uiUxHintMillerscheZahl = (className, length = 8) => {
704
- if (length > 7) {
705
- uiUxHint(`[${className}] Within navigation structures, it is recommended to use no more than 7 menu items.
706
-
707
- Link:
708
- - https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`);
709
- }
710
- };
711
-
712
- var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(n){return Math.pow((n+.055)/1.055,2.4)}function a(a){var i=a[0]/255,c=a[1]/255,o=a[2]/255,s=i<=.03928?i*e:u(i),f=c<=.03928?c*e:u(c),l=o<=.03928?o*e:u(o);return s*n+f*r+l*t}function i(n){var r=255;8===(n=n.replace(/^#/,"")).length&&(r=parseInt(n.slice(6,8),16),n=n.substring(0,6)),4===n.length&&(r=parseInt(n.slice(3,4).repeat(2),16),n=n.substring(0,3)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);var t=parseInt(n,16);return [t>>16,t>>8&255,255&t,r]}function c(n,r){return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function o(n,r){return c(a(n),a(r))}function s(n,r){return o(i(n),i(r))}function f(n){return n>=7?"AAA":n>=4.5?"AA":n>=3?"AA Large":"Fail"}
713
-
714
- var colorName;
715
- var hasRequiredColorName;
716
-
717
- function requireColorName () {
718
- if (hasRequiredColorName) return colorName;
719
- hasRequiredColorName = 1;
720
-
721
- colorName = {
722
- "aliceblue": [240, 248, 255],
723
- "antiquewhite": [250, 235, 215],
724
- "aqua": [0, 255, 255],
725
- "aquamarine": [127, 255, 212],
726
- "azure": [240, 255, 255],
727
- "beige": [245, 245, 220],
728
- "bisque": [255, 228, 196],
729
- "black": [0, 0, 0],
730
- "blanchedalmond": [255, 235, 205],
731
- "blue": [0, 0, 255],
732
- "blueviolet": [138, 43, 226],
733
- "brown": [165, 42, 42],
734
- "burlywood": [222, 184, 135],
735
- "cadetblue": [95, 158, 160],
736
- "chartreuse": [127, 255, 0],
737
- "chocolate": [210, 105, 30],
738
- "coral": [255, 127, 80],
739
- "cornflowerblue": [100, 149, 237],
740
- "cornsilk": [255, 248, 220],
741
- "crimson": [220, 20, 60],
742
- "cyan": [0, 255, 255],
743
- "darkblue": [0, 0, 139],
744
- "darkcyan": [0, 139, 139],
745
- "darkgoldenrod": [184, 134, 11],
746
- "darkgray": [169, 169, 169],
747
- "darkgreen": [0, 100, 0],
748
- "darkgrey": [169, 169, 169],
749
- "darkkhaki": [189, 183, 107],
750
- "darkmagenta": [139, 0, 139],
751
- "darkolivegreen": [85, 107, 47],
752
- "darkorange": [255, 140, 0],
753
- "darkorchid": [153, 50, 204],
754
- "darkred": [139, 0, 0],
755
- "darksalmon": [233, 150, 122],
756
- "darkseagreen": [143, 188, 143],
757
- "darkslateblue": [72, 61, 139],
758
- "darkslategray": [47, 79, 79],
759
- "darkslategrey": [47, 79, 79],
760
- "darkturquoise": [0, 206, 209],
761
- "darkviolet": [148, 0, 211],
762
- "deeppink": [255, 20, 147],
763
- "deepskyblue": [0, 191, 255],
764
- "dimgray": [105, 105, 105],
765
- "dimgrey": [105, 105, 105],
766
- "dodgerblue": [30, 144, 255],
767
- "firebrick": [178, 34, 34],
768
- "floralwhite": [255, 250, 240],
769
- "forestgreen": [34, 139, 34],
770
- "fuchsia": [255, 0, 255],
771
- "gainsboro": [220, 220, 220],
772
- "ghostwhite": [248, 248, 255],
773
- "gold": [255, 215, 0],
774
- "goldenrod": [218, 165, 32],
775
- "gray": [128, 128, 128],
776
- "green": [0, 128, 0],
777
- "greenyellow": [173, 255, 47],
778
- "grey": [128, 128, 128],
779
- "honeydew": [240, 255, 240],
780
- "hotpink": [255, 105, 180],
781
- "indianred": [205, 92, 92],
782
- "indigo": [75, 0, 130],
783
- "ivory": [255, 255, 240],
784
- "khaki": [240, 230, 140],
785
- "lavender": [230, 230, 250],
786
- "lavenderblush": [255, 240, 245],
787
- "lawngreen": [124, 252, 0],
788
- "lemonchiffon": [255, 250, 205],
789
- "lightblue": [173, 216, 230],
790
- "lightcoral": [240, 128, 128],
791
- "lightcyan": [224, 255, 255],
792
- "lightgoldenrodyellow": [250, 250, 210],
793
- "lightgray": [211, 211, 211],
794
- "lightgreen": [144, 238, 144],
795
- "lightgrey": [211, 211, 211],
796
- "lightpink": [255, 182, 193],
797
- "lightsalmon": [255, 160, 122],
798
- "lightseagreen": [32, 178, 170],
799
- "lightskyblue": [135, 206, 250],
800
- "lightslategray": [119, 136, 153],
801
- "lightslategrey": [119, 136, 153],
802
- "lightsteelblue": [176, 196, 222],
803
- "lightyellow": [255, 255, 224],
804
- "lime": [0, 255, 0],
805
- "limegreen": [50, 205, 50],
806
- "linen": [250, 240, 230],
807
- "magenta": [255, 0, 255],
808
- "maroon": [128, 0, 0],
809
- "mediumaquamarine": [102, 205, 170],
810
- "mediumblue": [0, 0, 205],
811
- "mediumorchid": [186, 85, 211],
812
- "mediumpurple": [147, 112, 219],
813
- "mediumseagreen": [60, 179, 113],
814
- "mediumslateblue": [123, 104, 238],
815
- "mediumspringgreen": [0, 250, 154],
816
- "mediumturquoise": [72, 209, 204],
817
- "mediumvioletred": [199, 21, 133],
818
- "midnightblue": [25, 25, 112],
819
- "mintcream": [245, 255, 250],
820
- "mistyrose": [255, 228, 225],
821
- "moccasin": [255, 228, 181],
822
- "navajowhite": [255, 222, 173],
823
- "navy": [0, 0, 128],
824
- "oldlace": [253, 245, 230],
825
- "olive": [128, 128, 0],
826
- "olivedrab": [107, 142, 35],
827
- "orange": [255, 165, 0],
828
- "orangered": [255, 69, 0],
829
- "orchid": [218, 112, 214],
830
- "palegoldenrod": [238, 232, 170],
831
- "palegreen": [152, 251, 152],
832
- "paleturquoise": [175, 238, 238],
833
- "palevioletred": [219, 112, 147],
834
- "papayawhip": [255, 239, 213],
835
- "peachpuff": [255, 218, 185],
836
- "peru": [205, 133, 63],
837
- "pink": [255, 192, 203],
838
- "plum": [221, 160, 221],
839
- "powderblue": [176, 224, 230],
840
- "purple": [128, 0, 128],
841
- "rebeccapurple": [102, 51, 153],
842
- "red": [255, 0, 0],
843
- "rosybrown": [188, 143, 143],
844
- "royalblue": [65, 105, 225],
845
- "saddlebrown": [139, 69, 19],
846
- "salmon": [250, 128, 114],
847
- "sandybrown": [244, 164, 96],
848
- "seagreen": [46, 139, 87],
849
- "seashell": [255, 245, 238],
850
- "sienna": [160, 82, 45],
851
- "silver": [192, 192, 192],
852
- "skyblue": [135, 206, 235],
853
- "slateblue": [106, 90, 205],
854
- "slategray": [112, 128, 144],
855
- "slategrey": [112, 128, 144],
856
- "snow": [255, 250, 250],
857
- "springgreen": [0, 255, 127],
858
- "steelblue": [70, 130, 180],
859
- "tan": [210, 180, 140],
860
- "teal": [0, 128, 128],
861
- "thistle": [216, 191, 216],
862
- "tomato": [255, 99, 71],
863
- "turquoise": [64, 224, 208],
864
- "violet": [238, 130, 238],
865
- "wheat": [245, 222, 179],
866
- "white": [255, 255, 255],
867
- "whitesmoke": [245, 245, 245],
868
- "yellow": [255, 255, 0],
869
- "yellowgreen": [154, 205, 50]
870
- };
871
- return colorName;
872
- }
873
-
874
- /**
875
- * @module color-parse
876
- */
877
-
878
- var colorParse;
879
- var hasRequiredColorParse;
880
-
881
- function requireColorParse () {
882
- if (hasRequiredColorParse) return colorParse;
883
- hasRequiredColorParse = 1;
884
-
885
- var names = requireColorName();
886
-
887
- colorParse = parse;
888
-
889
- /**
890
- * Base hues
891
- * http://dev.w3.org/csswg/css-color/#typedef-named-hue
892
- */
893
- //FIXME: use external hue detector
894
- var baseHues = {
895
- red: 0,
896
- orange: 60,
897
- yellow: 120,
898
- green: 180,
899
- blue: 240,
900
- purple: 300
901
- };
902
-
903
- /**
904
- * Parse color from the string passed
905
- *
906
- * @return {Object} A space indicator `space`, an array `values` and `alpha`
907
- */
908
- function parse(cstr) {
909
- var m, parts = [], alpha = 1, space;
910
-
911
- if (typeof cstr === 'string') {
912
- cstr = cstr.toLowerCase();
913
-
914
- //keyword
915
- if (names[cstr]) {
916
- parts = names[cstr].slice();
917
- space = 'rgb';
918
- }
919
-
920
- //reserved words
921
- else if (cstr === 'transparent') {
922
- alpha = 0;
923
- space = 'rgb';
924
- parts = [0, 0, 0];
925
- }
926
-
927
- //hex
928
- else if (/^#[A-Fa-f0-9]+$/.test(cstr)) {
929
- var base = cstr.slice(1);
930
- var size = base.length;
931
- var isShort = size <= 4;
932
- alpha = 1;
933
-
934
- if (isShort) {
935
- parts = [
936
- parseInt(base[0] + base[0], 16),
937
- parseInt(base[1] + base[1], 16),
938
- parseInt(base[2] + base[2], 16)
939
- ];
940
- if (size === 4) {
941
- alpha = parseInt(base[3] + base[3], 16) / 255;
942
- }
943
- }
944
- else {
945
- parts = [
946
- parseInt(base[0] + base[1], 16),
947
- parseInt(base[2] + base[3], 16),
948
- parseInt(base[4] + base[5], 16)
949
- ];
950
- if (size === 8) {
951
- alpha = parseInt(base[6] + base[7], 16) / 255;
952
- }
953
- }
954
-
955
- if (!parts[0]) parts[0] = 0;
956
- if (!parts[1]) parts[1] = 0;
957
- if (!parts[2]) parts[2] = 0;
958
-
959
- space = 'rgb';
960
- }
961
-
962
- //color space
963
- else if (m = /^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(cstr)) {
964
- var name = m[1];
965
- var isRGB = name === 'rgb';
966
- var base = name.replace(/a$/, '');
967
- space = base;
968
- var size = base === 'cmyk' ? 4 : base === 'gray' ? 1 : 3;
969
- parts = m[2].trim()
970
- .split(/\s*[,\/]\s*|\s+/)
971
- .map(function (x, i) {
972
- //<percentage>
973
- if (/%$/.test(x)) {
974
- //alpha
975
- if (i === size) return parseFloat(x) / 100
976
- //rgb
977
- if (base === 'rgb') return parseFloat(x) * 255 / 100
978
- return parseFloat(x)
979
- }
980
- //hue
981
- else if (base[i] === 'h') {
982
- //<deg>
983
- if (/deg$/.test(x)) {
984
- return parseFloat(x)
985
- }
986
- //<base-hue>
987
- else if (baseHues[x] !== undefined) {
988
- return baseHues[x]
989
- }
990
- }
991
- return parseFloat(x)
992
- });
993
-
994
- if (name === base) parts.push(1);
995
- alpha = (isRGB) ? 1 : (parts[size] === undefined) ? 1 : parts[size];
996
- parts = parts.slice(0, size);
997
- }
998
-
999
- //named channels case
1000
- else if (cstr.length > 10 && /[0-9](?:\s|\/)/.test(cstr)) {
1001
- parts = cstr.match(/([0-9]+)/g).map(function (value) {
1002
- return parseFloat(value)
1003
- });
1004
-
1005
- space = cstr.match(/([a-z])/ig).join('').toLowerCase();
1006
- }
1007
- }
1008
-
1009
- //numeric case
1010
- else if (!isNaN(cstr)) {
1011
- space = 'rgb';
1012
- parts = [cstr >>> 16, (cstr & 0x00ff00) >>> 8, cstr & 0x0000ff];
1013
- }
1014
-
1015
- //array-like
1016
- else if (Array.isArray(cstr) || cstr.length) {
1017
- parts = [cstr[0], cstr[1], cstr[2]];
1018
- space = 'rgb';
1019
- alpha = cstr.length === 4 ? cstr[3] : 1;
1020
- }
1021
-
1022
- //object case - detects css cases of rgb and hsl
1023
- else if (cstr instanceof Object) {
1024
- if (cstr.r != null || cstr.red != null || cstr.R != null) {
1025
- space = 'rgb';
1026
- parts = [
1027
- cstr.r || cstr.red || cstr.R || 0,
1028
- cstr.g || cstr.green || cstr.G || 0,
1029
- cstr.b || cstr.blue || cstr.B || 0
1030
- ];
1031
- }
1032
- else {
1033
- space = 'hsl';
1034
- parts = [
1035
- cstr.h || cstr.hue || cstr.H || 0,
1036
- cstr.s || cstr.saturation || cstr.S || 0,
1037
- cstr.l || cstr.lightness || cstr.L || cstr.b || cstr.brightness
1038
- ];
1039
- }
1040
-
1041
- alpha = cstr.a || cstr.alpha || cstr.opacity || 1;
1042
-
1043
- if (cstr.opacity != null) alpha /= 100;
1044
- }
1045
-
1046
- return {
1047
- space: space,
1048
- values: parts,
1049
- alpha: alpha
1050
- }
1051
- }
1052
- return colorParse;
1053
- }
1054
-
1055
- var colorParseExports = requireColorParse();
1056
- var parse = /*@__PURE__*/getDefaultExportFromCjs(colorParseExports);
1057
-
1058
- /**
1059
- * RGB space.
1060
- *
1061
- * @module color-space/rgb
1062
- */
1063
- const rgb = {
1064
- min: [0, 0, 0],
1065
- max: [255, 255, 255]};
1066
-
1067
- /**
1068
- * @module color-space/hsl
1069
- */
1070
-
1071
- var hsl = {
1072
- name: 'hsl',
1073
- min: [0, 0, 0],
1074
- max: [360, 100, 100],
1075
- channel: ['hue', 'saturation', 'lightness'],
1076
- alias: ['HSL'],
1077
-
1078
- rgb: function (hsl) {
1079
- var h = hsl[0] / 360, s = hsl[1] / 100, l = hsl[2] / 100, t1, t2, t3, rgb, val, i = 0;
1080
-
1081
- if (s === 0) return val = l * 255, [val, val, val];
1082
-
1083
- t2 = l < 0.5 ? l * (1 + s) : l + s - l * s;
1084
- t1 = 2 * l - t2;
1085
-
1086
- rgb = [0, 0, 0];
1087
- for (; i < 3;) {
1088
- t3 = h + 1 / 3 * - (i - 1);
1089
- t3 < 0 ? t3++ : t3 > 1 && t3--;
1090
- val = 6 * t3 < 1 ? t1 + (t2 - t1) * 6 * t3 :
1091
- 2 * t3 < 1 ? t2 :
1092
- 3 * t3 < 2 ? t1 + (t2 - t1) * (2 / 3 - t3) * 6 :
1093
- t1;
1094
- rgb[i++] = val * 255;
1095
- }
1096
-
1097
- return rgb;
1098
- }
1099
- };
1100
-
1101
-
1102
- //extend rgb
1103
- rgb.hsl = function (rgb) {
1104
- var r = rgb[0] / 255,
1105
- g = rgb[1] / 255,
1106
- b = rgb[2] / 255,
1107
- min = Math.min(r, g, b),
1108
- max = Math.max(r, g, b),
1109
- delta = max - min,
1110
- h, s, l;
1111
-
1112
- if (max === min) {
1113
- h = 0;
1114
- }
1115
- else if (r === max) {
1116
- h = (g - b) / delta;
1117
- }
1118
- else if (g === max) {
1119
- h = 2 + (b - r) / delta;
1120
- }
1121
- else if (b === max) {
1122
- h = 4 + (r - g) / delta;
1123
- }
1124
-
1125
- //FIXME h is possibly undefined
1126
- //@ts-ignore
1127
- h = Math.min(h * 60, 360);
1128
-
1129
- if (h < 0) {
1130
- h += 360;
1131
- }
1132
-
1133
- l = (min + max) / 2;
1134
-
1135
- if (max === min) {
1136
- s = 0;
1137
- }
1138
- else if (l <= 0.5) {
1139
- s = delta / (max + min);
1140
- }
1141
- else {
1142
- s = delta / (2 - max - min);
1143
- }
1144
-
1145
- return [h, s * 100, l * 100];
1146
- };
1147
-
1148
- var rgbaConvert = {exports: {}};
1149
-
1150
- var hasRequiredRgbaConvert;
1151
-
1152
- function requireRgbaConvert () {
1153
- if (hasRequiredRgbaConvert) return rgbaConvert.exports;
1154
- hasRequiredRgbaConvert = 1;
1155
- rgbaConvert.exports = arr;
1156
- rgbaConvert.exports.arr = arr;
1157
- rgbaConvert.exports.obj = obj;
1158
- rgbaConvert.exports.css = css;
1159
- rgbaConvert.exports.hex = hex;
1160
- rgbaConvert.exports.num = num;
1161
-
1162
- function arr(data) {
1163
- var a = parse(data);
1164
- if (a.length == 3) {
1165
- return a.concat(255)
1166
- } else {
1167
- a[3] = Math.round(a[3]);
1168
- return a
1169
- }
1170
- }
1171
-
1172
- function obj(data) {
1173
- var a = parse(data);
1174
- return {
1175
- r: a[0],
1176
- g: a[1],
1177
- b: a[2],
1178
- a: a.length == 3
1179
- ? 255
1180
- : Math.round(a[3])
1181
- }
1182
- }
1183
-
1184
- function css(data) {
1185
- var a = parse(data);
1186
- if (a.length == 3) a.push(255);
1187
-
1188
- return a[3] == 255
1189
- ? 'rgb(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')'
1190
- : a[3] == 0
1191
- ? 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', 0)'
1192
- : 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + String(a[3] / 255).substr(1) + ')'
1193
- }
1194
-
1195
- function hex(data) {
1196
- var a = parse(data);
1197
- if (a.length == 3) a.push(255);
1198
- var opaque = a[3] == 255;
1199
- var r = num2hex(a[0]);
1200
- var g = num2hex(a[1]);
1201
- var b = num2hex(a[2]);
1202
- var a = num2hex(Math.round(a[3]));
1203
- var is = isshort(r, g, b, a);
1204
- if (opaque) {
1205
- return is
1206
- ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0)
1207
- : '#' + r + g + b
1208
- }
1209
- return is
1210
- ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0) + a.charAt(0)
1211
- : '#' + r + g + b + a
1212
- }
1213
-
1214
- function num(data) {
1215
- var a = parse(data);
1216
- if (a.length == 3) a.push(255);
1217
- else a[3] = Math.round(a[3]);
1218
- return ((a[3] << 24) >>> 0 | a[0] << 16 | a[1] << 8 | a[2]) >>> 0
1219
- }
1220
-
1221
- function parse(data) {
1222
- if (typeof data == 'string') {
1223
- data = data.toLowerCase();
1224
- return name(data)
1225
- || hex3(data)
1226
- || hex6(data)
1227
- || rgb(data)
1228
- || rgba(data)
1229
- || [0, 0, 0, 255]
1230
- }
1231
- return object(data)
1232
- || array(data)
1233
- || number(data)
1234
- || [0, 0, 0, 255]
1235
- }
1236
-
1237
- function num2hex(num) {
1238
- var s = num.toString(16);
1239
- return s.length == 1
1240
- ? '0' + s
1241
- : s
1242
- }
1243
-
1244
- function isshort(r, g, b, a) {
1245
- var h = ['ff', '00', '11', '22', '33', '44', '55', '66',
1246
- '77', '88', '99', 'aa', 'bb', 'cc', 'dd', 'ee'];
1247
- return h.indexOf(r) != -1
1248
- && h.indexOf(g) != -1
1249
- && h.indexOf(b) != -1
1250
- && h.indexOf(a) != -1
1251
- }
1252
-
1253
- function name(str) {
1254
- if (str == 'red') return [255, 0, 0]
1255
- if (str == 'green') return [0, 255, 0]
1256
- if (str == 'blue') return [0, 0, 255]
1257
- if (str == 'black') return [0, 0, 0]
1258
- if (str == 'white') return [255, 255, 255]
1259
- if (str == 'cyan') return [0, 255, 255]
1260
- if (str == 'gray') return [128, 128, 128]
1261
- if (str == 'grey') return [128, 128, 128]
1262
- if (str == 'magenta') return [255, 0, 255]
1263
- // ok, not the real css `pink` but my personal `magenta` alias
1264
- // `pink` is simpler than `fuchsia`, whatever...
1265
- if (str == 'pink') return [255, 0, 255]
1266
- if (str == 'yellow') return [255, 255, 0]
1267
- }
1268
-
1269
- function hex2num(str) {
1270
- return str.length == 1
1271
- ? parseInt(str + str, 16)
1272
- : parseInt(str, 16)
1273
- }
1274
-
1275
- function hex3(str) {
1276
- var s = str.replace(/^#/,'');
1277
- var l = s.length;
1278
- if (l == 3 || l == 4) {
1279
- var r = hex2num(s[0]);
1280
- var g = hex2num(s[1]);
1281
- var b = hex2num(s[2]);
1282
- var a = l == 3
1283
- ? 255
1284
- : hex2num(s[3]);
1285
-
1286
- if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return
1287
-
1288
- return [r, g, b, a]
1289
- }
1290
- }
1291
-
1292
- function hex6(str) {
1293
- var s = str.replace(/^#/,'');
1294
- var l = s.length;
1295
- if (l == 6 || l == 8) {
1296
- var r = hex2num(s.slice(0, 2));
1297
- var g = hex2num(s.slice(2, 4));
1298
- var b = hex2num(s.slice(4, 6));
1299
- var a = l == 6
1300
- ? 255
1301
- : hex2num(s.slice(6, 8));
1302
-
1303
- if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return
1304
-
1305
- return [r, g, b, a]
1306
- }
1307
- }
1308
-
1309
- function getnum(val, integer) {
1310
- if (typeof val != 'number') return -1
1311
- if (integer === true && Math.floor(val) !== val) return -1
1312
- return val >= 0 && val <= 255
1313
- ? val
1314
- : -1
1315
- }
1316
-
1317
- function object(obj) {
1318
- if (Object.prototype.toString.call(obj) === '[object Object]'
1319
- && Object.getPrototypeOf(obj) === Object.getPrototypeOf({})) {
1320
- var r = getnum(obj.r != undefined ? obj.r : obj.red != undefined ? obj.red : 0, true);
1321
- var g = getnum(obj.g != undefined ? obj.g : obj.green != undefined ? obj.green : 0, true);
1322
- var b = getnum(obj.b != undefined ? obj.b : obj.blue != undefined ? obj.blue : 0, true);
1323
- var a = getnum(obj.a != undefined ? obj.a : obj.alpha != undefined ? obj.alpha : 255, true);
1324
- if (r != -1 && g != -1 && b != -1 && a != -1) {
1325
- return [r, g, b, a]
1326
- }
1327
- }
1328
- }
1329
-
1330
- function array(arr) {
1331
- if (Array.isArray(arr) && (arr.length == 3 || arr.length == 4)) {
1332
- var r = getnum(arr[0], true);
1333
- var g = getnum(arr[1], true);
1334
- var b = getnum(arr[2], true);
1335
- var a = getnum(arr[3] != undefined ? arr[3] : 255, true);
1336
- if (r != -1 && g != -1 && b != -1 && a != -1) {
1337
- return [r, g, b, a]
1338
- }
1339
- }
1340
- }
1341
-
1342
- function number(num) {
1343
- if (typeof num == 'number' && Math.floor(num) == num && num <= 4294967295 && num >= 0) {
1344
- var a = num >> 24 & 255;
1345
- var r = num >> 16 & 255;
1346
- var g = num >> 8 & 255;
1347
- var b = num & 255;
1348
- return [r, g, b, a]
1349
- }
1350
- }
1351
-
1352
- function rgb(str) {
1353
- if (str.substr(0, 4) == 'rgb(') {
1354
- str = str.match(/^rgb\(([^)]+)\)/)[1];
1355
- var t = str.split(/ *, */).map(Number);
1356
- var r = getnum(t[0], true);
1357
- var g = getnum(t[1], true);
1358
- var b = getnum(t[2], true);
1359
- if (r != -1 && g != -1 && b != -1) {
1360
- return [r, g, b, 255]
1361
- }
1362
- }
1363
- }
1364
-
1365
- function rgba(str) {
1366
- if (str.substr(0, 5) == 'rgba(') {
1367
- str = str.match(/^rgba\(([^)]+)\)/)[1];
1368
- var t = str.split(/ *, */).map(Number);
1369
- var r = getnum(t[0], true);
1370
- var g = getnum(t[1], true);
1371
- var b = getnum(t[2], true);
1372
- var a = getnum(t[3] * 255);
1373
- if (r != -1 && g != -1 && b != -1 && a != -1) {
1374
- return [r, g, b, a]
1375
- }
1376
- }
1377
- }
1378
- return rgbaConvert.exports;
1379
- }
1380
-
1381
- var rgbaConvertExports = requireRgbaConvert();
1382
- var rgba = /*@__PURE__*/getDefaultExportFromCjs(rgbaConvertExports);
1383
-
1384
- const OBJECT_OBJECT = /\[object Object\]/;
1385
- const objectObjectHandler = (value, cb) => {
1386
- if (typeof value === 'string' && OBJECT_OBJECT.test(value)) {
1387
- return;
1388
- }
1389
- cb();
1390
- };
1391
- const setEventTarget = (event, target) => {
1392
- if (getExperimentalMode()) {
1393
- Log.debug([event, target]);
1394
- Log.debug(`↑ We propagate the (submit) event to this target.`);
1395
- }
1396
- Object.defineProperty(event, 'target', {
1397
- value: target,
1398
- writable: false,
1399
- });
1400
- };
1401
- const patchState = (component) => {
1402
- var _a, _b, _c;
1403
- (_a = component.nextHooks) === null || _a === void 0 ? void 0 : _a.forEach((hooks, key) => {
1404
- var _a;
1405
- const beforePatch = hooks.get('beforePatch');
1406
- if (typeof beforePatch === 'function') {
1407
- beforePatch((_a = component.nextState) === null || _a === void 0 ? void 0 : _a.get(key), component.nextState, component, key);
1408
- }
1409
- });
1410
- if (((_b = component.nextState) === null || _b === void 0 ? void 0 : _b.size) > 0) {
1411
- component.state = Object.assign(Object.assign({}, component.state), Object.fromEntries(component.nextState));
1412
- delete component.nextState;
1413
- (_c = component.nextHooks) === null || _c === void 0 ? void 0 : _c.forEach((hooks, key) => {
1414
- const afterPatch = hooks.get('afterPatch');
1415
- if (typeof afterPatch === 'function') {
1416
- afterPatch(component.state[key], component.state, component, key);
1417
- }
1418
- });
1419
- }
1420
- delete component.nextHooks;
1421
- };
1422
- const setState = (component, propName, value, hooks = {}) => {
1423
- var _a, _b;
1424
- if (component.nextHooks === undefined) {
1425
- component.nextHooks = new Map();
1426
- }
1427
- if (component.nextState === undefined) {
1428
- component.nextState = new Map();
1429
- }
1430
- const nextHooks = component.nextHooks.get(propName);
1431
- if (nextHooks instanceof Map === false) {
1432
- component.nextHooks.set(propName, new Map());
1433
- }
1434
- if (typeof hooks.afterPatch === 'function') {
1435
- (_a = component.nextHooks.get(propName)) === null || _a === void 0 ? void 0 : _a.set('afterPatch', hooks.afterPatch);
1436
- }
1437
- if (typeof hooks.beforePatch === 'function') {
1438
- (_b = component.nextHooks.get(propName)) === null || _b === void 0 ? void 0 : _b.set('beforePatch', hooks.beforePatch);
1439
- }
1440
- component.nextState.set(propName, value);
1441
- patchState(component);
1442
- };
1443
- const logWarn = (component, propName, value, requiredGeneric) => {
1444
- devHint(`[${component.constructor.name}] The property value: (${value}) for '${propName}' is not valid. Allowed values are: ${Array.from(requiredGeneric).join(', ')}`);
1445
- };
1446
- function watchValidator(component, propName, validationFunction, requiredGeneric, value, options = {}) {
1447
- if (!isValidationEnabled()) {
1448
- if (value !== undefined) {
1449
- setState(component, propName, value, options.hooks);
1450
- }
1451
- else if (validationFunction(undefined)) {
1452
- setState(component, propName, undefined, options.hooks);
1453
- }
1454
- else if (options.required !== true && validationFunction(options.defaultValue)) {
1455
- setState(component, propName, options.defaultValue, options.hooks);
1456
- }
1457
- return;
1458
- }
1459
- if (validationFunction(value)) {
1460
- setState(component, propName, value, options.hooks);
1461
- }
1462
- else if (value === undefined && options.required !== true && validationFunction(options.defaultValue)) {
1463
- setState(component, propName, options.defaultValue, options.hooks);
1464
- }
1465
- else {
1466
- const allowedValues = new Set(requiredGeneric);
1467
- if (!options.required) {
1468
- allowedValues.add(null);
1469
- }
1470
- logWarn(component, propName, value, allowedValues);
1471
- }
1472
- }
1473
- const stringifyJson = (value) => {
1474
- try {
1475
- return JSON.stringify(value).replace(/"/g, "'");
1476
- }
1477
- catch (_a) {
1478
- Log.warn(['stringifyJson', value]);
1479
- Log.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`);
1480
- throw new Error();
1481
- }
1482
- };
1483
- const JSON_CHARS = /^[{[]/;
1484
- const parseJson = (value) => {
1485
- if (typeof value === 'string') {
1486
- try {
1487
- return JSON.parse(value);
1488
- }
1489
- catch (_a) {
1490
- if (JSON_CHARS.test(value)) {
1491
- try {
1492
- return JSON.parse(value.replace(/'/g, '"'));
1493
- }
1494
- catch (_b) {
1495
- Log.warn(['parseJson', value]);
1496
- Log.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).`);
1497
- }
1498
- }
1499
- }
1500
- }
1501
- throw new Error();
1502
- };
1503
- const traverseShadowDom = (rootNode, onNode) => {
1504
- if (!rootNode) {
1505
- return;
1506
- }
1507
- const visited = new Set();
1508
- const queue = [rootNode];
1509
- let index = 0;
1510
- while (index < queue.length) {
1511
- const current = queue[index++];
1512
- if (visited.has(current)) {
1513
- continue;
1514
- }
1515
- visited.add(current);
1516
- if (onNode(current)) {
1517
- return;
1518
- }
1519
- const children = Array.from(current.children || []);
1520
- for (let i = 0; i < children.length; i++) {
1521
- queue.push(children[i]);
1522
- }
1523
- if (current instanceof HTMLElement && current.shadowRoot) {
1524
- queue.push(current.shadowRoot);
1525
- }
1526
- if (current instanceof HTMLSlotElement) {
1527
- const assigned = current.assignedNodes({ flatten: true });
1528
- for (let i = 0; i < assigned.length; i++) {
1529
- if (assigned[i] instanceof Element) {
1530
- queue.push(assigned[i]);
1531
- }
1532
- }
1533
- }
1534
- }
1535
- };
1536
- const querySelectorShadow = (selector, rootNode) => {
1537
- let result = null;
1538
- traverseShadowDom(rootNode, (current) => {
1539
- if (current instanceof Element && current.matches(selector)) {
1540
- result = current;
1541
- return true;
1542
- }
1543
- return false;
1544
- });
1545
- return result;
1546
- };
1547
- const querySelectorAllShadow = (selector, rootNode) => {
1548
- const results = [];
1549
- traverseShadowDom(rootNode, (current) => {
1550
- if (current instanceof Element && current.matches(selector)) {
1551
- results.push(current);
1552
- }
1553
- return false;
1554
- });
1555
- return results;
1556
- };
1557
- const koliBriQuerySelector = (selector, node) => querySelectorShadow(selector, node || getDocument());
1558
- const koliBriQuerySelectorAll = (selector, node) => querySelectorAllShadow(selector, node || getDocument());
1559
- let DEFAULT_COLOR_CONTRAST = null;
1560
- const getDefaultColorContrast = () => {
1561
- DEFAULT_COLOR_CONTRAST = DEFAULT_COLOR_CONTRAST || {
1562
- backgroundColor: '#00000000',
1563
- color: '#00000000',
1564
- domNode: getDocument().body,
1565
- level: 'Fail',
1566
- score: 1,
1567
- };
1568
- return DEFAULT_COLOR_CONTRAST;
1569
- };
1570
- const TRANSPARENT_REGEXP = /(\d+, ){3}0\)/;
1571
- const koliBriA11yColorContrast = (domNode, a11yColorContrast = getDefaultColorContrast()) => {
1572
- const computedStyle = getComputedStyle(domNode);
1573
- const hexBG = TRANSPARENT_REGEXP.test(computedStyle.backgroundColor) ? a11yColorContrast.backgroundColor : rgba.hex(computedStyle.backgroundColor);
1574
- const hexC = TRANSPARENT_REGEXP.test(computedStyle.color) ? a11yColorContrast.color : rgba.hex(computedStyle.color);
1575
- const diff = s(hexBG, hexC);
1576
- const contrast = {
1577
- backgroundColor: hexBG,
1578
- color: hexC,
1579
- domNode: domNode,
1580
- level: f(diff),
1581
- score: diff,
1582
- };
1583
- if (diff < 4.5) {
1584
- Log.error([
1585
- 'Color-Contrast-Error',
1586
- {
1587
- backgroundColor: contrast.backgroundColor,
1588
- color: contrast.color,
1589
- level: contrast.level,
1590
- score: contrast.score,
1591
- },
1592
- contrast.domNode,
1593
- ]);
1594
- }
1595
- return contrast;
1596
- };
1597
- const koliBriQuerySelectorColors = (selector, a11yColorContrast = getDefaultColorContrast()) => {
1598
- if (a11yColorContrast.domNode instanceof HTMLElement) {
1599
- a11yColorContrast = koliBriA11yColorContrast(a11yColorContrast.domNode, a11yColorContrast);
1600
- }
1601
- const selectedNode = a11yColorContrast.domNode.querySelector(selector);
1602
- if (selectedNode === null) {
1603
- const nodeList = a11yColorContrast.domNode.querySelectorAll('[class="hydrated"]');
1604
- for (let i = 0; i < nodeList.length; i++) {
1605
- a11yColorContrast.domNode = nodeList[i];
1606
- a11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);
1607
- if (a11yColorContrast.domNode !== null) {
1608
- break;
1609
- }
1610
- }
1611
- return a11yColorContrast;
1612
- }
1613
- else {
1614
- return koliBriA11yColorContrast(selectedNode, a11yColorContrast);
1615
- }
1616
- };
1617
- class KoliBriUtils {
1618
- static queryHtmlElementColors(targetNode, a11yColorContrast, recursion = false, log = true) {
1619
- let returnValue = null;
1620
- if (recursion === true || KoliBriUtils.executionLock === false) {
1621
- if (recursion === false) {
1622
- KoliBriUtils.cache.clear();
1623
- KoliBriUtils.cache.set(a11yColorContrast.domNode, a11yColorContrast);
1624
- KoliBriUtils.executionLock = true;
1625
- if (log === true) {
1626
- Log.debug(`[KoliBriUtils] Color contrast analysis started...`);
1627
- }
1628
- }
1629
- if (targetNode === a11yColorContrast.domNode) {
1630
- returnValue = a11yColorContrast;
1631
- }
1632
- else {
1633
- const children = new Set();
1634
- if (a11yColorContrast.domNode.shadowRoot) {
1635
- const shadowChildren = a11yColorContrast.domNode.shadowRoot.children;
1636
- for (let i = 0; i < shadowChildren.length; i++) {
1637
- children.add(shadowChildren[i]);
1638
- }
1639
- }
1640
- const slotElement = a11yColorContrast.domNode;
1641
- if (typeof slotElement.assignedNodes === 'function') {
1642
- const slotChildren = slotElement.assignedNodes();
1643
- for (let i = 0; i < slotChildren.length; i++) {
1644
- if (slotChildren[i] instanceof HTMLElement) {
1645
- children.add(slotChildren[i]);
1646
- }
1647
- }
1648
- }
1649
- const domChildren = a11yColorContrast.domNode.children;
1650
- for (let i = 0; i < domChildren.length; i++) {
1651
- children.add(domChildren[i]);
1652
- }
1653
- const arrayChildren = Array.from(children);
1654
- for (let i = 0; i < arrayChildren.length; i++) {
1655
- let colorContrast = KoliBriUtils.cache.get(arrayChildren[i]);
1656
- if (colorContrast === undefined) {
1657
- colorContrast = koliBriA11yColorContrast(arrayChildren[i], a11yColorContrast);
1658
- }
1659
- KoliBriUtils.cache.set(arrayChildren[i], colorContrast);
1660
- const colors = KoliBriUtils.queryHtmlElementColors(targetNode, colorContrast, true, false);
1661
- if (colors !== null) {
1662
- returnValue = colors;
1663
- break;
1664
- }
1665
- }
1666
- }
1667
- }
1668
- else {
1669
- Log.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);
1670
- }
1671
- if (recursion === false) {
1672
- if (log === true) {
1673
- Log.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`);
1674
- }
1675
- KoliBriUtils.executionLock = false;
1676
- KoliBriUtils.cache.clear();
1677
- }
1678
- return returnValue;
1679
- }
1680
- }
1681
- KoliBriUtils.executionLock = false;
1682
- KoliBriUtils.cache = new Map();
1683
- class KoliBriDevHelper {
1684
- }
1685
- KoliBriDevHelper.getCssStyle = T;
1686
- KoliBriDevHelper.patchTheme = z;
1687
- KoliBriDevHelper.patchThemeTag = D;
1688
- KoliBriDevHelper.querySelector = koliBriQuerySelector;
1689
- KoliBriDevHelper.querySelectorAll = koliBriQuerySelectorAll;
1690
- KoliBriDevHelper.stringifyJson = stringifyJson;
1691
-
1692
- const isObject = (value) => typeof value === 'object' && value !== null;
1693
- const isString = (value, minLength = 0) => typeof value === 'string' && value.length >= minLength;
1694
- const isStyle = (style) => {
1695
- if (typeof style === 'object' && style !== null) {
1696
- for (const property in style) {
1697
- if (isString(property, 1) === false) {
1698
- return false;
1699
- }
1700
- }
1701
- }
1702
- else {
1703
- return isString(style, 1);
1704
- }
1705
- return true;
1706
- };
1707
- const STATE_CHANGE_EVENT = new Event('StateChange');
1708
-
1709
- export { s as A, uiUxHintMillerscheZahl as B, getExperimentalMode as C, isString as D, Ee as E, isStyle as F, watchValidator as G, koliBriQuerySelector as H, isDevMode as I, koliBriA11yColorContrast as J, KeyEnum as K, Log as L, koliBriQuerySelectorAll as M, koliBriQuerySelectorColors as N, KoliBriUtils as O, stringifyJson as P, getColorContrastAnalysis as Q, R, STATE_CHANGE_EVENT as S, TagEnum as T, X, KoliBriDevHelper as a, a11yHintLabelingLandmarks as b, deprecatedHint as c, de as d, devHint as e, featureHint as f, setRuntimeMode as g, se as h, getDefaultExportFromCjs as i, isObject as j, devWarning as k, parse as l, hsl as m, a11yHint as n, objectObjectHandler as o, parseJson as p, getDocument as q, rgb as r, setEventTarget as s, setExperimentalMode as t, uiUxHint as u, setColorContrastAnalysis as v, w, getWindow as x, isTestMode as y, rgba as z };