@public-ui/components 1.6.0-rc.15 → 1.6.0-rc.17

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 (507) hide show
  1. package/custom-elements.json +89 -1
  2. package/dist/cjs/{a11y.tipps-dbfe482e.js → a11y.tipps-de7fbe54.js} +1 -1
  3. package/dist/cjs/{a11y.tipps-dbfe482e.js.map → a11y.tipps-de7fbe54.js.map} +1 -1
  4. package/dist/cjs/{app-globals-3c457229.js → app-globals-e83ee8b5.js} +1 -1
  5. package/dist/cjs/{app-globals-3c457229.js.map → app-globals-e83ee8b5.js.map} +1 -1
  6. package/dist/cjs/{aria-selected-b31756b3.js → aria-selected-0008cfb9.js} +1 -1
  7. package/dist/cjs/{aria-selected-b31756b3.js.map → aria-selected-0008cfb9.js.map} +1 -1
  8. package/dist/cjs/button-link-67bac64d.js +4 -0
  9. package/dist/cjs/{button-link-58e21d08.js.map → button-link-67bac64d.js.map} +1 -1
  10. package/dist/cjs/{color-3b22adaf.js → color-7b544771.js} +1 -1
  11. package/dist/cjs/{color-3b22adaf.js.map → color-7b544771.js.map} +1 -1
  12. package/dist/cjs/{controller-0cd28689.js → controller-054b1db3.js} +1 -1
  13. package/dist/cjs/{controller-0cd28689.js.map → controller-054b1db3.js.map} +1 -1
  14. package/dist/cjs/{controller-bc933b12.js → controller-0ff72c39.js} +1 -1
  15. package/dist/cjs/{controller-bc933b12.js.map → controller-0ff72c39.js.map} +1 -1
  16. package/dist/cjs/{controller-43fe103f.js → controller-4eb098e8.js} +1 -1
  17. package/dist/cjs/{controller-43fe103f.js.map → controller-4eb098e8.js.map} +1 -1
  18. package/dist/cjs/controller-916d9ca1.js +4 -0
  19. package/dist/cjs/controller-916d9ca1.js.map +1 -0
  20. package/dist/cjs/{controller-c3021b2f.js → controller-a297b03f.js} +1 -1
  21. package/dist/cjs/{controller-c3021b2f.js.map → controller-a297b03f.js.map} +1 -1
  22. package/dist/cjs/{controller-ceae9412.js → controller-dffea453.js} +1 -1
  23. package/dist/cjs/{controller-ceae9412.js.map → controller-dffea453.js.map} +1 -1
  24. package/dist/cjs/{controller-icon-ceafc344.js → controller-icon-9fc9f068.js} +1 -1
  25. package/dist/cjs/{controller-icon-ceafc344.js.map → controller-icon-9fc9f068.js.map} +1 -1
  26. package/dist/cjs/{dev.utils-78d00548.js → dev.utils-9c0958cf.js} +1 -1
  27. package/dist/cjs/{dev.utils-78d00548.js.map → dev.utils-9c0958cf.js.map} +1 -1
  28. package/dist/cjs/{devtools-7f99e00b.js → devtools-2e72dd9c.js} +1 -1
  29. package/dist/cjs/{devtools-7f99e00b.js.map → devtools-2e72dd9c.js.map} +1 -1
  30. package/dist/cjs/{disabled-959951da.js → disabled-33542b02.js} +1 -1
  31. package/dist/cjs/{disabled-959951da.js.map → disabled-33542b02.js.map} +1 -1
  32. package/dist/cjs/has-closer-c629ee07.js +4 -0
  33. package/dist/cjs/{has-closer-01ac076a.js.map → has-closer-c629ee07.js.map} +1 -1
  34. package/dist/cjs/hide-label-761f9c70.js +4 -0
  35. package/dist/cjs/{hide-label-4d99f1d9.js.map → hide-label-761f9c70.js.map} +1 -1
  36. package/dist/cjs/i18n-5aa005bd.js +4 -0
  37. package/dist/cjs/i18n-5aa005bd.js.map +1 -0
  38. package/dist/cjs/{icon-4b915891.js → icon-4c258aaa.js} +1 -1
  39. package/dist/cjs/{icon-4b915891.js.map → icon-4c258aaa.js.map} +1 -1
  40. package/dist/cjs/image-source-fe76fa4f.js +4 -0
  41. package/dist/cjs/image-source-fe76fa4f.js.map +1 -0
  42. package/dist/cjs/index.cjs.js +1 -1
  43. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-alert-wc_2.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-alert-wc_2.cjs.entry.js.map +1 -1
  47. package/dist/cjs/kol-avatar-wc.cjs.entry.js +4 -0
  48. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +1 -0
  49. package/dist/cjs/kol-avatar.cjs.entry.js +4 -0
  50. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -0
  51. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-button-wc_2.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  69. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  73. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  75. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  81. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-popover.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  105. package/dist/cjs/kolibri.cjs.js +1 -1
  106. package/dist/cjs/{label-f31696ce.js → label-9a5c5fc9.js} +1 -1
  107. package/dist/cjs/{label-f31696ce.js.map → label-9a5c5fc9.js.map} +1 -1
  108. package/dist/cjs/loader.cjs.js +1 -1
  109. package/dist/cjs/{prop.validators-7219caea.js → prop.validators-564c2db7.js} +1 -1
  110. package/dist/cjs/{prop.validators-7219caea.js.map → prop.validators-564c2db7.js.map} +1 -1
  111. package/dist/cjs/show-462d32c3.js +4 -0
  112. package/dist/cjs/{show-a8907ed7.js.map → show-462d32c3.js.map} +1 -1
  113. package/dist/cjs/{tab-index-fd4498b0.js → tab-index-a60b02ac.js} +1 -1
  114. package/dist/cjs/{tab-index-fd4498b0.js.map → tab-index-a60b02ac.js.map} +1 -1
  115. package/dist/cjs/{validation-8cba92a6.js → validation-18c0235d.js} +1 -1
  116. package/dist/cjs/{validation-8cba92a6.js.map → validation-18c0235d.js.map} +1 -1
  117. package/dist/cjs/validation-3e23c523.js +4 -0
  118. package/dist/cjs/{validation-6faf86e0.js.map → validation-3e23c523.js.map} +1 -1
  119. package/dist/components/component10.js +1 -1
  120. package/dist/components/component10.js.map +1 -1
  121. package/dist/components/component11.js +1 -1
  122. package/dist/components/component11.js.map +1 -1
  123. package/dist/components/component12.js +1 -1
  124. package/dist/components/component12.js.map +1 -1
  125. package/dist/components/component13.js +1 -1
  126. package/dist/components/component13.js.map +1 -1
  127. package/dist/components/component14.js +1 -1
  128. package/dist/components/component14.js.map +1 -1
  129. package/dist/components/component15.js +1 -1
  130. package/dist/components/component15.js.map +1 -1
  131. package/dist/components/component16.js +4 -0
  132. package/dist/components/component16.js.map +1 -0
  133. package/dist/components/component7.js +1 -1
  134. package/dist/components/component7.js.map +1 -1
  135. package/dist/components/component8.js +1 -1
  136. package/dist/components/component8.js.map +1 -1
  137. package/dist/components/component9.js +1 -1
  138. package/dist/components/component9.js.map +1 -1
  139. package/dist/components/controller.js +1 -1
  140. package/dist/components/controller.js.map +1 -1
  141. package/dist/components/i18n.js +1 -1
  142. package/dist/components/i18n.js.map +1 -1
  143. package/dist/components/kol-avatar-wc.d.ts +11 -0
  144. package/dist/components/kol-avatar-wc.js +4 -0
  145. package/dist/components/kol-avatar-wc.js.map +1 -0
  146. package/dist/components/kol-avatar.d.ts +11 -0
  147. package/dist/components/kol-avatar.js +4 -0
  148. package/dist/components/kol-avatar.js.map +1 -0
  149. package/dist/components/kol-badge.js +1 -1
  150. package/dist/components/kol-breadcrumb.js +1 -1
  151. package/dist/components/kol-button-group-wc.js +1 -1
  152. package/dist/components/kol-button-group.js +1 -1
  153. package/dist/components/kol-button-link-text-switch.js +1 -1
  154. package/dist/components/kol-button.js +1 -1
  155. package/dist/components/kol-details.js +1 -1
  156. package/dist/components/kol-form.js +1 -1
  157. package/dist/components/kol-image.js +1 -1
  158. package/dist/components/kol-image.js.map +1 -1
  159. package/dist/components/kol-indented-text.js +1 -1
  160. package/dist/components/kol-input-adapter-leanup.js +1 -1
  161. package/dist/components/kol-input-checkbox.js +1 -1
  162. package/dist/components/kol-input-checkbox.js.map +1 -1
  163. package/dist/components/kol-input-color.js +1 -1
  164. package/dist/components/kol-input-color.js.map +1 -1
  165. package/dist/components/kol-input-date.js +1 -1
  166. package/dist/components/kol-input-date.js.map +1 -1
  167. package/dist/components/kol-input-email.js +1 -1
  168. package/dist/components/kol-input-email.js.map +1 -1
  169. package/dist/components/kol-input-file.js +1 -1
  170. package/dist/components/kol-input-file.js.map +1 -1
  171. package/dist/components/kol-input-number.js +1 -1
  172. package/dist/components/kol-input-number.js.map +1 -1
  173. package/dist/components/kol-input-password.js +1 -1
  174. package/dist/components/kol-input-password.js.map +1 -1
  175. package/dist/components/kol-input-radio-group.js +1 -1
  176. package/dist/components/kol-input-radio.js +1 -1
  177. package/dist/components/kol-input-range.js +1 -1
  178. package/dist/components/kol-input-text.js +1 -1
  179. package/dist/components/kol-input-text.js.map +1 -1
  180. package/dist/components/kol-input.js +1 -1
  181. package/dist/components/kol-link-button.js +1 -1
  182. package/dist/components/kol-link-group.js +1 -1
  183. package/dist/components/kol-link-wc.js +1 -1
  184. package/dist/components/kol-link.js +1 -1
  185. package/dist/components/kol-nav.js +1 -1
  186. package/dist/components/kol-pagination.js +1 -1
  187. package/dist/components/kol-quote.js +1 -1
  188. package/dist/components/kol-select.js +1 -1
  189. package/dist/components/kol-skip-nav.js +1 -1
  190. package/dist/components/kol-table.js +1 -1
  191. package/dist/components/kol-tabs.js +1 -1
  192. package/dist/components/kol-textarea.js +1 -1
  193. package/dist/components/kol-version.js +1 -1
  194. package/dist/components/prop.validators.js +1 -1
  195. package/dist/components/prop.validators.js.map +1 -1
  196. package/dist/components/shadow2.js +1 -1
  197. package/dist/components/shadow2.js.map +1 -1
  198. package/dist/components/shadow3.js +1 -1
  199. package/dist/components/shadow3.js.map +1 -1
  200. package/dist/components/shadow4.js +4 -0
  201. package/dist/components/shadow4.js.map +1 -0
  202. package/dist/esm/{a11y.tipps-9f948961.js → a11y.tipps-255c885e.js} +1 -1
  203. package/dist/esm/{a11y.tipps-9f948961.js.map → a11y.tipps-255c885e.js.map} +1 -1
  204. package/dist/esm/app-globals-e49e1503.js +4 -0
  205. package/dist/esm/{app-globals-bf9eb17a.js.map → app-globals-e49e1503.js.map} +1 -1
  206. package/dist/esm/{aria-selected-b9d7d1e4.js → aria-selected-9745a637.js} +1 -1
  207. package/dist/esm/{aria-selected-b9d7d1e4.js.map → aria-selected-9745a637.js.map} +1 -1
  208. package/dist/esm/{button-link-99acae48.js → button-link-e7a5fabf.js} +1 -1
  209. package/dist/esm/{button-link-99acae48.js.map → button-link-e7a5fabf.js.map} +1 -1
  210. package/dist/esm/{color-408da8e8.js → color-b194e076.js} +1 -1
  211. package/dist/esm/{color-408da8e8.js.map → color-b194e076.js.map} +1 -1
  212. package/dist/esm/{controller-3391cc2d.js → controller-5940f710.js} +1 -1
  213. package/dist/esm/{controller-3391cc2d.js.map → controller-5940f710.js.map} +1 -1
  214. package/dist/esm/{controller-31db8bf4.js → controller-97df9666.js} +1 -1
  215. package/dist/esm/{controller-31db8bf4.js.map → controller-97df9666.js.map} +1 -1
  216. package/dist/esm/{controller-f8056e1a.js → controller-9d4a30f8.js} +1 -1
  217. package/dist/esm/{controller-f8056e1a.js.map → controller-9d4a30f8.js.map} +1 -1
  218. package/dist/esm/controller-a27433b4.js +4 -0
  219. package/dist/esm/controller-a27433b4.js.map +1 -0
  220. package/dist/esm/{controller-6ed90cd7.js → controller-cbd99b24.js} +1 -1
  221. package/dist/esm/{controller-6ed90cd7.js.map → controller-cbd99b24.js.map} +1 -1
  222. package/dist/esm/{controller-b036f128.js → controller-d9c05ca2.js} +1 -1
  223. package/dist/esm/{controller-b036f128.js.map → controller-d9c05ca2.js.map} +1 -1
  224. package/dist/esm/{controller-icon-7b8f547d.js → controller-icon-5a04613b.js} +1 -1
  225. package/dist/esm/{controller-icon-7b8f547d.js.map → controller-icon-5a04613b.js.map} +1 -1
  226. package/dist/esm/{dev.utils-4290338e.js → dev.utils-e98368e1.js} +1 -1
  227. package/dist/esm/{dev.utils-4290338e.js.map → dev.utils-e98368e1.js.map} +1 -1
  228. package/dist/esm/{devtools-57a6a46f.js → devtools-3b34fa30.js} +1 -1
  229. package/dist/esm/{devtools-57a6a46f.js.map → devtools-3b34fa30.js.map} +1 -1
  230. package/dist/esm/{disabled-559fd371.js → disabled-614216e9.js} +1 -1
  231. package/dist/esm/{disabled-559fd371.js.map → disabled-614216e9.js.map} +1 -1
  232. package/dist/esm/{has-closer-62a48dbd.js → has-closer-4415fbda.js} +1 -1
  233. package/dist/esm/{has-closer-62a48dbd.js.map → has-closer-4415fbda.js.map} +1 -1
  234. package/dist/esm/{hide-label-9248468d.js → hide-label-53a9f681.js} +1 -1
  235. package/dist/esm/{hide-label-9248468d.js.map → hide-label-53a9f681.js.map} +1 -1
  236. package/dist/esm/i18n-a5618943.js +4 -0
  237. package/dist/esm/i18n-a5618943.js.map +1 -0
  238. package/dist/esm/{icon-e03e73f6.js → icon-ae60c121.js} +1 -1
  239. package/dist/esm/{icon-e03e73f6.js.map → icon-ae60c121.js.map} +1 -1
  240. package/dist/esm/image-source-a6d9c13f.js +4 -0
  241. package/dist/esm/image-source-a6d9c13f.js.map +1 -0
  242. package/dist/esm/index.js +1 -1
  243. package/dist/esm/kol-abbr.entry.js +1 -1
  244. package/dist/esm/kol-accordion.entry.js +1 -1
  245. package/dist/esm/kol-alert-wc_2.entry.js +1 -1
  246. package/dist/esm/kol-alert-wc_2.entry.js.map +1 -1
  247. package/dist/esm/kol-avatar-wc.entry.js +4 -0
  248. package/dist/esm/kol-avatar-wc.entry.js.map +1 -0
  249. package/dist/esm/kol-avatar.entry.js +4 -0
  250. package/dist/esm/kol-avatar.entry.js.map +1 -0
  251. package/dist/esm/kol-badge.entry.js +1 -1
  252. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  253. package/dist/esm/kol-button-wc_2.entry.js +1 -1
  254. package/dist/esm/kol-card.entry.js +1 -1
  255. package/dist/esm/kol-details.entry.js +1 -1
  256. package/dist/esm/kol-form.entry.js +1 -1
  257. package/dist/esm/kol-icon.entry.js +1 -1
  258. package/dist/esm/kol-image.entry.js +1 -1
  259. package/dist/esm/kol-image.entry.js.map +1 -1
  260. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  261. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  262. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  263. package/dist/esm/kol-input-color.entry.js +1 -1
  264. package/dist/esm/kol-input-color.entry.js.map +1 -1
  265. package/dist/esm/kol-input-date.entry.js +1 -1
  266. package/dist/esm/kol-input-date.entry.js.map +1 -1
  267. package/dist/esm/kol-input-email.entry.js +1 -1
  268. package/dist/esm/kol-input-email.entry.js.map +1 -1
  269. package/dist/esm/kol-input-file.entry.js +1 -1
  270. package/dist/esm/kol-input-file.entry.js.map +1 -1
  271. package/dist/esm/kol-input-number.entry.js +1 -1
  272. package/dist/esm/kol-input-number.entry.js.map +1 -1
  273. package/dist/esm/kol-input-password.entry.js +1 -1
  274. package/dist/esm/kol-input-password.entry.js.map +1 -1
  275. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  276. package/dist/esm/kol-input-radio.entry.js +1 -1
  277. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  278. package/dist/esm/kol-input-range.entry.js +1 -1
  279. package/dist/esm/kol-input-text.entry.js +1 -1
  280. package/dist/esm/kol-input-text.entry.js.map +1 -1
  281. package/dist/esm/kol-kolibri.entry.js +1 -1
  282. package/dist/esm/kol-link-button.entry.js +1 -1
  283. package/dist/esm/kol-link-group.entry.js +1 -1
  284. package/dist/esm/kol-link-wc.entry.js +1 -1
  285. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  286. package/dist/esm/kol-logo.entry.js +1 -1
  287. package/dist/esm/kol-modal.entry.js +1 -1
  288. package/dist/esm/kol-nav.entry.js +1 -1
  289. package/dist/esm/kol-pagination.entry.js +1 -1
  290. package/dist/esm/kol-popover.entry.js +1 -1
  291. package/dist/esm/kol-progress.entry.js +1 -1
  292. package/dist/esm/kol-quote.entry.js +1 -1
  293. package/dist/esm/kol-select.entry.js +1 -1
  294. package/dist/esm/kol-skip-nav.entry.js +1 -1
  295. package/dist/esm/kol-span-wc.entry.js +1 -1
  296. package/dist/esm/kol-spin.entry.js +1 -1
  297. package/dist/esm/kol-split-button.entry.js +1 -1
  298. package/dist/esm/kol-symbol.entry.js +1 -1
  299. package/dist/esm/kol-table.entry.js +1 -1
  300. package/dist/esm/kol-tabs.entry.js +1 -1
  301. package/dist/esm/kol-textarea.entry.js +1 -1
  302. package/dist/esm/kol-toast.entry.js +1 -1
  303. package/dist/esm/kol-tooltip.entry.js +1 -1
  304. package/dist/esm/kol-version.entry.js +1 -1
  305. package/dist/esm/kolibri.js +1 -1
  306. package/dist/esm/{label-223fef8f.js → label-35927418.js} +1 -1
  307. package/dist/esm/{label-223fef8f.js.map → label-35927418.js.map} +1 -1
  308. package/dist/esm/loader.js +1 -1
  309. package/dist/esm/{prop.validators-601f1068.js → prop.validators-e3c93395.js} +1 -1
  310. package/dist/esm/{prop.validators-601f1068.js.map → prop.validators-e3c93395.js.map} +1 -1
  311. package/dist/esm/{show-6d33a33f.js → show-d72ff77e.js} +1 -1
  312. package/dist/esm/{show-6d33a33f.js.map → show-d72ff77e.js.map} +1 -1
  313. package/dist/esm/{tab-index-fc60df7a.js → tab-index-841e81ba.js} +1 -1
  314. package/dist/esm/{tab-index-fc60df7a.js.map → tab-index-841e81ba.js.map} +1 -1
  315. package/dist/esm/{validation-5300d0a1.js → validation-a9f13bf5.js} +1 -1
  316. package/dist/esm/{validation-5300d0a1.js.map → validation-a9f13bf5.js.map} +1 -1
  317. package/dist/esm/validation-bbab8795.js +4 -0
  318. package/dist/esm/{validation-4acc18ad.js.map → validation-bbab8795.js.map} +1 -1
  319. package/dist/kolibri/{a11y.tipps-9f948961.js → a11y.tipps-255c885e.js} +1 -1
  320. package/dist/kolibri/app-globals-e49e1503.js +4 -0
  321. package/dist/kolibri/aria-selected-9745a637.js +4 -0
  322. package/dist/kolibri/{button-link-99acae48.js → button-link-e7a5fabf.js} +1 -1
  323. package/dist/kolibri/{color-408da8e8.js → color-b194e076.js} +1 -1
  324. package/dist/kolibri/{controller-3391cc2d.js → controller-5940f710.js} +1 -1
  325. package/dist/kolibri/{controller-31db8bf4.js → controller-97df9666.js} +1 -1
  326. package/dist/kolibri/{controller-f8056e1a.js → controller-9d4a30f8.js} +1 -1
  327. package/dist/kolibri/controller-a27433b4.js +4 -0
  328. package/dist/kolibri/controller-a27433b4.js.map +1 -0
  329. package/dist/kolibri/{controller-6ed90cd7.js → controller-cbd99b24.js} +1 -1
  330. package/dist/kolibri/{controller-b036f128.js → controller-d9c05ca2.js} +1 -1
  331. package/dist/kolibri/{controller-icon-7b8f547d.js → controller-icon-5a04613b.js} +1 -1
  332. package/dist/kolibri/{dev.utils-4290338e.js → dev.utils-e98368e1.js} +1 -1
  333. package/dist/kolibri/{dev.utils-4290338e.js.map → dev.utils-e98368e1.js.map} +1 -1
  334. package/dist/kolibri/{devtools-57a6a46f.js → devtools-3b34fa30.js} +1 -1
  335. package/dist/kolibri/{disabled-559fd371.js → disabled-614216e9.js} +1 -1
  336. package/dist/kolibri/has-closer-4415fbda.js +4 -0
  337. package/dist/kolibri/hide-label-53a9f681.js +4 -0
  338. package/dist/kolibri/i18n-a5618943.js +4 -0
  339. package/dist/kolibri/i18n-a5618943.js.map +1 -0
  340. package/dist/kolibri/{icon-e03e73f6.js → icon-ae60c121.js} +1 -1
  341. package/dist/kolibri/image-source-a6d9c13f.js +4 -0
  342. package/dist/kolibri/image-source-a6d9c13f.js.map +1 -0
  343. package/dist/kolibri/index.esm.js +1 -1
  344. package/dist/kolibri/kol-abbr.entry.js +1 -1
  345. package/dist/kolibri/kol-accordion.entry.js +1 -1
  346. package/dist/kolibri/kol-alert-wc_2.entry.js +1 -1
  347. package/dist/kolibri/kol-alert-wc_2.entry.js.map +1 -1
  348. package/dist/kolibri/kol-avatar-wc.entry.js +4 -0
  349. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -0
  350. package/dist/kolibri/kol-avatar.entry.js +4 -0
  351. package/dist/kolibri/kol-avatar.entry.js.map +1 -0
  352. package/dist/kolibri/kol-badge.entry.js +1 -1
  353. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  354. package/dist/kolibri/kol-button-wc_2.entry.js +1 -1
  355. package/dist/kolibri/kol-card.entry.js +1 -1
  356. package/dist/kolibri/kol-details.entry.js +1 -1
  357. package/dist/kolibri/kol-form.entry.js +1 -1
  358. package/dist/kolibri/kol-icon.entry.js +1 -1
  359. package/dist/kolibri/kol-image.entry.js +1 -1
  360. package/dist/kolibri/kol-image.entry.js.map +1 -1
  361. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  362. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  363. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  364. package/dist/kolibri/kol-input-color.entry.js +1 -1
  365. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  366. package/dist/kolibri/kol-input-date.entry.js +1 -1
  367. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  368. package/dist/kolibri/kol-input-email.entry.js +1 -1
  369. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  370. package/dist/kolibri/kol-input-file.entry.js +1 -1
  371. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  372. package/dist/kolibri/kol-input-number.entry.js +1 -1
  373. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  374. package/dist/kolibri/kol-input-password.entry.js +1 -1
  375. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  376. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  377. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  378. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  379. package/dist/kolibri/kol-input-range.entry.js +1 -1
  380. package/dist/kolibri/kol-input-text.entry.js +1 -1
  381. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  382. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  383. package/dist/kolibri/kol-link-button.entry.js +1 -1
  384. package/dist/kolibri/kol-link-group.entry.js +1 -1
  385. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  386. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  387. package/dist/kolibri/kol-logo.entry.js +1 -1
  388. package/dist/kolibri/kol-modal.entry.js +1 -1
  389. package/dist/kolibri/kol-nav.entry.js +1 -1
  390. package/dist/kolibri/kol-pagination.entry.js +1 -1
  391. package/dist/kolibri/kol-popover.entry.js +1 -1
  392. package/dist/kolibri/kol-progress.entry.js +1 -1
  393. package/dist/kolibri/kol-quote.entry.js +1 -1
  394. package/dist/kolibri/kol-select.entry.js +1 -1
  395. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  396. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  397. package/dist/kolibri/kol-spin.entry.js +1 -1
  398. package/dist/kolibri/kol-split-button.entry.js +1 -1
  399. package/dist/kolibri/kol-symbol.entry.js +1 -1
  400. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  401. package/dist/kolibri/kol-table.entry.js +1 -1
  402. package/dist/kolibri/kol-tabs.entry.js +1 -1
  403. package/dist/kolibri/kol-textarea.entry.js +1 -1
  404. package/dist/kolibri/kol-toast.entry.js +1 -1
  405. package/dist/kolibri/kol-tooltip.entry.js +1 -1
  406. package/dist/kolibri/kol-version.entry.js +1 -1
  407. package/dist/kolibri/kolibri.esm.js +1 -1
  408. package/dist/kolibri/kolibri.esm.js.map +1 -1
  409. package/dist/kolibri/label-35927418.js +4 -0
  410. package/dist/kolibri/{label-223fef8f.js.map → label-35927418.js.map} +1 -1
  411. package/dist/kolibri/{prop.validators-601f1068.js → prop.validators-e3c93395.js} +1 -1
  412. package/dist/kolibri/show-d72ff77e.js +4 -0
  413. package/dist/kolibri/{tab-index-fc60df7a.js → tab-index-841e81ba.js} +1 -1
  414. package/dist/kolibri/{validation-5300d0a1.js → validation-a9f13bf5.js} +1 -1
  415. package/dist/kolibri/validation-bbab8795.js +4 -0
  416. package/dist/types/components/@deprecated/input/types.d.ts +2 -1
  417. package/dist/types/components/avatar/component.d.ts +13 -0
  418. package/dist/types/components/avatar/controller.d.ts +1 -0
  419. package/dist/types/components/avatar/shadow.d.ts +7 -0
  420. package/dist/types/components/avatar/test/html.mock.d.ts +2 -0
  421. package/dist/types/components/avatar/types.d.ts +15 -0
  422. package/dist/types/components/image/shadow.d.ts +3 -2
  423. package/dist/types/components/image/test/html.mock.d.ts +1 -1
  424. package/dist/types/components/image/types.d.ts +2 -1
  425. package/dist/types/components/input/component.d.ts +1 -1
  426. package/dist/types/components/input/types.d.ts +2 -1
  427. package/dist/types/components/input-color/component.d.ts +1 -1
  428. package/dist/types/components/input-color/types.d.ts +1 -1
  429. package/dist/types/components/input-date/component.d.ts +1 -1
  430. package/dist/types/components/input-email/component.d.ts +1 -1
  431. package/dist/types/components/input-email/types.d.ts +1 -1
  432. package/dist/types/components/input-file/component.d.ts +1 -1
  433. package/dist/types/components/input-file/types.d.ts +1 -1
  434. package/dist/types/components/input-number/component.d.ts +1 -1
  435. package/dist/types/components/input-password/component.d.ts +1 -1
  436. package/dist/types/components/input-password/types.d.ts +1 -1
  437. package/dist/types/components/input-text/component.d.ts +1 -1
  438. package/dist/types/components/input-text/types.d.ts +1 -1
  439. package/dist/types/components/symbol/types.d.ts +1 -1
  440. package/dist/types/components.d.ts +80 -20
  441. package/dist/types/i18n.d.ts +1 -1
  442. package/dist/types/locales/de.d.ts +1 -0
  443. package/dist/types/locales/en.d.ts +1 -0
  444. package/dist/types/types/input/control/number.d.ts +1 -1
  445. package/dist/types/types/props/image-source.d.ts +4 -0
  446. package/doc/abbr.md +1 -5
  447. package/doc/avatar.md +34 -0
  448. package/doc/image.md +13 -0
  449. package/doc/input-color.md +20 -20
  450. package/doc/input-date.md +26 -26
  451. package/doc/input-email.md +28 -28
  452. package/doc/input-file.md +21 -21
  453. package/doc/input-number.md +27 -27
  454. package/doc/input-password.md +26 -26
  455. package/doc/input-text.md +28 -28
  456. package/doc/logo.md +2 -2
  457. package/doc/symbol.md +45 -0
  458. package/jest-test-results.json +1 -1
  459. package/package.json +1 -1
  460. package/vscode-custom-data.json +62 -0
  461. package/dist/cjs/button-link-58e21d08.js +0 -4
  462. package/dist/cjs/controller-48d4248f.js +0 -4
  463. package/dist/cjs/controller-48d4248f.js.map +0 -1
  464. package/dist/cjs/has-closer-01ac076a.js +0 -4
  465. package/dist/cjs/hide-label-4d99f1d9.js +0 -4
  466. package/dist/cjs/i18n-8d483c7b.js +0 -4
  467. package/dist/cjs/i18n-8d483c7b.js.map +0 -1
  468. package/dist/cjs/show-a8907ed7.js +0 -4
  469. package/dist/cjs/validation-6faf86e0.js +0 -4
  470. package/dist/esm/app-globals-bf9eb17a.js +0 -4
  471. package/dist/esm/controller-b26721c9.js +0 -4
  472. package/dist/esm/controller-b26721c9.js.map +0 -1
  473. package/dist/esm/i18n-23b83118.js +0 -4
  474. package/dist/esm/i18n-23b83118.js.map +0 -1
  475. package/dist/esm/validation-4acc18ad.js +0 -4
  476. package/dist/kolibri/app-globals-bf9eb17a.js +0 -4
  477. package/dist/kolibri/aria-selected-b9d7d1e4.js +0 -4
  478. package/dist/kolibri/controller-b26721c9.js +0 -4
  479. package/dist/kolibri/controller-b26721c9.js.map +0 -1
  480. package/dist/kolibri/has-closer-62a48dbd.js +0 -4
  481. package/dist/kolibri/hide-label-9248468d.js +0 -4
  482. package/dist/kolibri/i18n-23b83118.js +0 -4
  483. package/dist/kolibri/i18n-23b83118.js.map +0 -1
  484. package/dist/kolibri/label-223fef8f.js +0 -4
  485. package/dist/kolibri/show-6d33a33f.js +0 -4
  486. package/dist/kolibri/validation-4acc18ad.js +0 -4
  487. /package/dist/kolibri/{a11y.tipps-9f948961.js.map → a11y.tipps-255c885e.js.map} +0 -0
  488. /package/dist/kolibri/{app-globals-bf9eb17a.js.map → app-globals-e49e1503.js.map} +0 -0
  489. /package/dist/kolibri/{aria-selected-b9d7d1e4.js.map → aria-selected-9745a637.js.map} +0 -0
  490. /package/dist/kolibri/{button-link-99acae48.js.map → button-link-e7a5fabf.js.map} +0 -0
  491. /package/dist/kolibri/{color-408da8e8.js.map → color-b194e076.js.map} +0 -0
  492. /package/dist/kolibri/{controller-3391cc2d.js.map → controller-5940f710.js.map} +0 -0
  493. /package/dist/kolibri/{controller-31db8bf4.js.map → controller-97df9666.js.map} +0 -0
  494. /package/dist/kolibri/{controller-f8056e1a.js.map → controller-9d4a30f8.js.map} +0 -0
  495. /package/dist/kolibri/{controller-6ed90cd7.js.map → controller-cbd99b24.js.map} +0 -0
  496. /package/dist/kolibri/{controller-b036f128.js.map → controller-d9c05ca2.js.map} +0 -0
  497. /package/dist/kolibri/{controller-icon-7b8f547d.js.map → controller-icon-5a04613b.js.map} +0 -0
  498. /package/dist/kolibri/{devtools-57a6a46f.js.map → devtools-3b34fa30.js.map} +0 -0
  499. /package/dist/kolibri/{disabled-559fd371.js.map → disabled-614216e9.js.map} +0 -0
  500. /package/dist/kolibri/{has-closer-62a48dbd.js.map → has-closer-4415fbda.js.map} +0 -0
  501. /package/dist/kolibri/{hide-label-9248468d.js.map → hide-label-53a9f681.js.map} +0 -0
  502. /package/dist/kolibri/{icon-e03e73f6.js.map → icon-ae60c121.js.map} +0 -0
  503. /package/dist/kolibri/{prop.validators-601f1068.js.map → prop.validators-e3c93395.js.map} +0 -0
  504. /package/dist/kolibri/{show-6d33a33f.js.map → show-d72ff77e.js.map} +0 -0
  505. /package/dist/kolibri/{tab-index-fc60df7a.js.map → tab-index-841e81ba.js.map} +0 -0
  506. /package/dist/kolibri/{validation-5300d0a1.js.map → validation-a9f13bf5.js.map} +0 -0
  507. /package/dist/kolibri/{validation-4acc18ad.js.map → validation-bbab8795.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.0.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":";;;gQAKA,MAAMA,EAAe,KAyBjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,EC/B/BH,IAAeQ,MAAKC,IAClBC,IACA,OAAOC,EAAcC,KAAAC,MAAA,m+eAAuCJ,EAAA"}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.0.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":";;;gQAKA,MAAMA,EAAe,KAyBjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,EC/B/BH,IAAeQ,MAAKC,IAClBC,IACA,OAAOC,EAAcC,KAAAC,MAAA,uufAAuCJ,EAAA"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as t,u as e}from"./a11y.tipps-255c885e.js";import{a as o}from"./prop.validators-e3c93395.js";const a=/[a-zA-Z0-9äöüÄÖÜß]/g,s=/^\d+$/;function n(t){var e;return"string"==typeof t&&(null===(e=t.match(a))||void 0===e?void 0:e.length)||0}function r(t,e=1){return n(t)>=e}function i(t){return s.test(t)}function l(o){var a;return{hooks:{afterPatch:(a,n,s,l)=>{var c,f;"function"==typeof(null===(c=o.hooks)||void 0===c?void 0:c.afterPatch)&&(null===(f=o.hooks)||void 0===f||f.afterPatch(a,n,s,l)),"string"==typeof a&&!1===r(a,3)&&!1===i(a)&&t(`The heading or label ("${a}") is not accessible. A label should consist of at least three readable characters.`),"string"==typeof a&&a.length>80&&e("A heading or label should not be longer than 80 characters.")},beforePatch:null===(a=o.hooks)||void 0===a?void 0:a.beforePatch}}}const f=new Set(["string"]),c=(t,e,a={})=>{o(t,"_label",(t=>"string"==typeof t),f,e,l(a))},u=new Set(["string","false"]),d=(t,e,a={})=>{""!==e&&"false"!==e||(e=!1),o(t,"_label",(t=>!1===t||"string"==typeof t),u,e,l(a))};export{d as a,i as c,r as h,c as v};
@@ -1 +1 @@
1
- {"version":3,"names":["READABLE_CHARS","ONLY_NUMBERS","countReadableChars","str","_a","match","length","hasEnoughReadableChars","min","containsOnlyNumbers","test","getValidationOptions","options","hooks","afterPatch","value","state","component","key","_b","a11yHint","uiUxHint","beforePatch","LABEL_VALUES","Set","validateLabel","watchValidator","LABEL_WITH_EXPERT_SLOT_VALUES","validateLabelWithExpertSlot"],"sources":["src/types/props/label.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { a11yHint, uiUxHint } from '../../utils/a11y.tipps';\nimport { WatchStringOptions, watchValidator } from '../../utils/prop.validators';\n\n/* types */\n\n/**\n * This is a regular expression that matches all readable characters.\n *\n * Interesting: https://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters\n */\nconst READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;\n\n/**\n * This is a regular expression that matches only numbers.\n */\nconst ONLY_NUMBERS = /^\\d+$/;\n\n/**\n * This function counts the number of readable characters in a string.\n * @param str The string to count.\n * @returns The number of readable characters in the string.\n */\nfunction countReadableChars(str: string): number {\n\treturn typeof str === 'string' ? str.match(READABLE_CHARS)?.length || 0 : 0;\n}\n\n/**\n * This function checks if a string has at least a certain number of readable characters.\n * @param str The string to check.\n * @param min The minimum number of readable characters.\n * @returns True if the string has at least the minimum number of readable characters, false otherwise.\n */\nexport function hasEnoughReadableChars(str: string, min = 1): boolean {\n\treturn countReadableChars(str) >= min;\n}\n\n/**\n * This function checks if a string contains only numbers.\n * @param str The string to check.\n * @returns True if the string contains only numbers, false otherwise.\n */\nexport function containsOnlyNumbers(str: string): boolean {\n\treturn ONLY_NUMBERS.test(str);\n}\n\n/**\n * Defines the type of the label property.\n */\nexport type LabelPropType = string;\n\n/**\n * Defines the type of the label with expert-slot toggle property.\n */\nexport type LabelWithExpertSlotPropType = LabelPropType | false;\n\n/**\n * The label property is used to label different elements:\n * - abbr -> title text\n * - button -> label text\n * - heading -> headline text\n * - input, select and textarea -> label text\n * - summary -> summary text\n * - quote, table -> caption text\n * - version -> version text\n * - etc.\n *\n * The label is often a mandatory attribute. If the value of the label is false,\n * the expert-slot will be used. Otherwise, the value of the label must be a string\n * and the expert-slot will be ignored.\n */\nexport type PropLabel = {\n\tlabel: LabelPropType;\n};\nexport type PropLabelWithExpertSlot = {\n\tlabel: LabelWithExpertSlotPropType;\n};\n\nexport type LabelProp = Generic.Element.Members<PropLabel, unknown>;\n// type LabelWithExpertSlotProp = Generic.Element.Members<PropLabelWithExpertSlot, unknown>;\n\nfunction getValidationOptions(options: WatchStringOptions): WatchStringOptions {\n\treturn {\n\t\thooks: {\n\t\t\tafterPatch: (value, state, component, key) => {\n\t\t\t\tif (typeof options.hooks?.afterPatch === 'function') {\n\t\t\t\t\toptions.hooks?.afterPatch(value, state, component, key);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && hasEnoughReadableChars(value, 3) === false && containsOnlyNumbers(value) === false) {\n\t\t\t\t\ta11yHint(`The heading or label (\"${value}\") is not accessible. A label should consist of at least three readable characters.`);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && value.length > 80) {\n\t\t\t\t\tuiUxHint(`A heading or label should not be longer than 80 characters.`);\n\t\t\t\t}\n\t\t\t},\n\t\t\tbeforePatch: options.hooks?.beforePatch,\n\t\t},\n\t};\n}\n\nconst LABEL_VALUES = new Set(['string']);\nexport const validateLabel = (component: Generic.Element.Component, value?: LabelPropType, options: WatchStringOptions = {}): void => {\n\twatchValidator(component, '_label', (value) => typeof value === 'string', LABEL_VALUES, value, getValidationOptions(options));\n};\n\nconst LABEL_WITH_EXPERT_SLOT_VALUES = new Set(['string', 'false']);\nexport const validateLabelWithExpertSlot = (\n\tcomponent: Generic.Element.Component,\n\tvalue?: LabelWithExpertSlotPropType,\n\toptions: WatchStringOptions = {}\n): void => {\n\tif (value === '' || value === 'false') {\n\t\tvalue = false; // TODO: remove this workaround in v2\n\t}\n\twatchValidator(\n\t\tcomponent,\n\t\t'_label',\n\t\t(value) => value === false || typeof value === 'string',\n\t\tLABEL_WITH_EXPERT_SLOT_VALUES,\n\t\tvalue,\n\t\tgetValidationOptions(options)\n\t);\n};\n\n// TODO: Validation for labelWithExpertSlot\n"],"mappings":";;;iGAYA,MAAMA,EAAiB,sBAKvB,MAAMC,EAAe,QAOrB,SAASC,EAAmBC,G,MAC3B,cAAcA,IAAQ,WAAWC,EAAAD,EAAIE,MAAML,MAAe,MAAAI,SAAA,SAAAA,EAAEE,SAAU,EAAI,CAC3E,C,SAQgBC,EAAuBJ,EAAaK,EAAM,GACzD,OAAON,EAAmBC,IAAQK,CACnC,C,SAOgBC,EAAoBN,GACnC,OAAOF,EAAaS,KAAKP,EAC1B,CAqCA,SAASQ,EAAqBC,G,MAC7B,MAAO,CACNC,MAAO,CACNC,WAAY,CAACC,EAAOC,EAAOC,EAAWC,K,QACrC,WAAWd,EAAAQ,EAAQC,SAAK,MAAAT,SAAA,SAAAA,EAAEU,cAAe,WAAY,EACpDK,EAAAP,EAAQC,SAAK,MAAAM,SAAA,SAAAA,EAAEL,WAAWC,EAAOC,EAAOC,EAAWC,E,CAEpD,UAAWH,IAAU,UAAYR,EAAuBQ,EAAO,KAAO,OAASN,EAAoBM,KAAW,MAAO,CACpHK,EAAS,0BAA0BL,uF,CAEpC,UAAWA,IAAU,UAAYA,EAAMT,OAAS,GAAI,CACnDe,EAAS,8D,GAGXC,aAAalB,EAAAQ,EAAQC,SAAK,MAAAT,SAAA,SAAAA,EAAEkB,aAG/B,CAEA,MAAMC,EAAe,IAAIC,IAAI,CAAC,W,MACjBC,EAAgB,CAACR,EAAsCF,EAAuBH,EAA8B,MACxHc,EAAeT,EAAW,UAAWF,UAAiBA,IAAU,UAAUQ,EAAcR,EAAOJ,EAAqBC,GAAS,EAG9H,MAAMe,EAAgC,IAAIH,IAAI,CAAC,SAAU,U,MAC5CI,EAA8B,CAC1CX,EACAF,EACAH,EAA8B,MAE9B,GAAIG,IAAU,IAAMA,IAAU,QAAS,CACtCA,EAAQ,K,CAETW,EACCT,EACA,UACCF,GAAUA,IAAU,cAAgBA,IAAU,UAC/CY,EACAZ,EACAJ,EAAqBC,GACrB,S"}
1
+ {"version":3,"names":["READABLE_CHARS","ONLY_NUMBERS","countReadableChars","str","_a","match","length","hasEnoughReadableChars","min","containsOnlyNumbers","test","getValidationOptions","options","hooks","afterPatch","value","state","component","key","_b","a11yHint","uiUxHint","beforePatch","LABEL_VALUES","Set","validateLabel","watchValidator","LABEL_WITH_EXPERT_SLOT_VALUES","validateLabelWithExpertSlot"],"sources":["src/types/props/label.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { a11yHint, uiUxHint } from '../../utils/a11y.tipps';\nimport { WatchStringOptions, watchValidator } from '../../utils/prop.validators';\n\n/* types */\n\n/**\n * This is a regular expression that matches all readable characters.\n *\n * Interesting: https://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters\n */\nconst READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;\n\n/**\n * This is a regular expression that matches only numbers.\n */\nconst ONLY_NUMBERS = /^\\d+$/;\n\n/**\n * This function counts the number of readable characters in a string.\n * @param str The string to count.\n * @returns The number of readable characters in the string.\n */\nfunction countReadableChars(str: string): number {\n\treturn typeof str === 'string' ? str.match(READABLE_CHARS)?.length || 0 : 0;\n}\n\n/**\n * This function checks if a string has at least a certain number of readable characters.\n * @param str The string to check.\n * @param min The minimum number of readable characters.\n * @returns True if the string has at least the minimum number of readable characters, false otherwise.\n */\nexport function hasEnoughReadableChars(str: string, min = 1): boolean {\n\treturn countReadableChars(str) >= min;\n}\n\n/**\n * This function checks if a string contains only numbers.\n * @param str The string to check.\n * @returns True if the string contains only numbers, false otherwise.\n */\nexport function containsOnlyNumbers(str: string): boolean {\n\treturn ONLY_NUMBERS.test(str);\n}\n\n/**\n * Defines the type of the label property.\n */\nexport type LabelPropType = string;\n\n/**\n * Defines the type of the label with expert-slot toggle property.\n */\nexport type LabelWithExpertSlotPropType = LabelPropType | false;\n\n/**\n * The label property is used to label different elements:\n * - abbr -> title text\n * - button -> label text\n * - heading -> headline text\n * - input, select and textarea -> label text\n * - summary -> summary text\n * - quote, table -> caption text\n * - version -> version text\n * - etc.\n *\n * The label is often a mandatory attribute. If the value of the label is false,\n * the expert-slot will be used. Otherwise, the value of the label must be a string\n * and the expert-slot will be ignored.\n */\nexport type PropLabel = {\n\tlabel: LabelPropType;\n};\nexport type PropLabelWithExpertSlot = {\n\tlabel: LabelWithExpertSlotPropType;\n};\n\nexport type LabelProp = Generic.Element.Members<PropLabel, unknown>;\n// type LabelWithExpertSlotProp = Generic.Element.Members<PropLabelWithExpertSlot, unknown>;\n\nfunction getValidationOptions(options: WatchStringOptions): WatchStringOptions {\n\treturn {\n\t\thooks: {\n\t\t\tafterPatch: (value, state, component, key) => {\n\t\t\t\tif (typeof options.hooks?.afterPatch === 'function') {\n\t\t\t\t\toptions.hooks?.afterPatch(value, state, component, key);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && hasEnoughReadableChars(value, 3) === false && containsOnlyNumbers(value) === false) {\n\t\t\t\t\ta11yHint(`The heading or label (\"${value}\") is not accessible. A label should consist of at least three readable characters.`);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && value.length > 80) {\n\t\t\t\t\tuiUxHint(`A heading or label should not be longer than 80 characters.`);\n\t\t\t\t}\n\t\t\t},\n\t\t\tbeforePatch: options.hooks?.beforePatch,\n\t\t},\n\t};\n}\n\nconst LABEL_VALUES = new Set(['string']);\nexport const validateLabel = (component: Generic.Element.Component, value?: LabelPropType, options: WatchStringOptions = {}): void => {\n\twatchValidator(component, '_label', (value) => typeof value === 'string', LABEL_VALUES, value, getValidationOptions(options));\n};\n\nconst LABEL_WITH_EXPERT_SLOT_VALUES = new Set(['string', 'false']);\nexport const validateLabelWithExpertSlot = (\n\tcomponent: Generic.Element.Component,\n\tvalue?: LabelWithExpertSlotPropType,\n\toptions: WatchStringOptions = {}\n): void => {\n\tif (value === '' || value === 'false') {\n\t\tvalue = false; // TODO: remove this workaround in v2\n\t}\n\twatchValidator(\n\t\tcomponent,\n\t\t'_label',\n\t\t(value) => value === false || typeof value === 'string',\n\t\tLABEL_WITH_EXPERT_SLOT_VALUES,\n\t\tvalue,\n\t\tgetValidationOptions(options)\n\t);\n};\n\n// TODO: Validation for labelWithExpertSlot\n"],"mappings":";;;sGAYA,MAAMA,EAAiB,sBAKvB,MAAMC,EAAe,QAOrB,SAASC,EAAmBC,G,MAC3B,cAAcA,IAAQ,WAAWC,EAAAD,EAAIE,MAAML,MAAe,MAAAI,SAAA,SAAAA,EAAEE,SAAU,EAAI,CAC3E,C,SAQgBC,EAAuBJ,EAAaK,EAAM,GACzD,OAAON,EAAmBC,IAAQK,CACnC,C,SAOgBC,EAAoBN,GACnC,OAAOF,EAAaS,KAAKP,EAC1B,CAqCA,SAASQ,EAAqBC,G,MAC7B,MAAO,CACNC,MAAO,CACNC,WAAY,CAACC,EAAOC,EAAOC,EAAWC,K,QACrC,WAAWd,EAAAQ,EAAQC,SAAK,MAAAT,SAAA,SAAAA,EAAEU,cAAe,WAAY,EACpDK,EAAAP,EAAQC,SAAK,MAAAM,SAAA,SAAAA,EAAEL,WAAWC,EAAOC,EAAOC,EAAWC,E,CAEpD,UAAWH,IAAU,UAAYR,EAAuBQ,EAAO,KAAO,OAASN,EAAoBM,KAAW,MAAO,CACpHK,EAAS,0BAA0BL,uF,CAEpC,UAAWA,IAAU,UAAYA,EAAMT,OAAS,GAAI,CACnDe,EAAS,8D,GAGXC,aAAalB,EAAAQ,EAAQC,SAAK,MAAAT,SAAA,SAAAA,EAAEkB,aAG/B,CAEA,MAAMC,EAAe,IAAIC,IAAI,CAAC,W,MACjBC,EAAgB,CAACR,EAAsCF,EAAuBH,EAA8B,MACxHc,EAAeT,EAAW,UAAWF,UAAiBA,IAAU,UAAUQ,EAAcR,EAAOJ,EAAqBC,GAAS,EAG9H,MAAMe,EAAgC,IAAIH,IAAI,CAAC,SAAU,U,MAC5CI,EAA8B,CAC1CX,EACAF,EACAH,EAA8B,MAE9B,GAAIG,IAAU,IAAMA,IAAU,QAAS,CACtCA,EAAQ,K,CAETW,EACCT,EACA,UACCF,GAAUA,IAAU,cAAgBA,IAAU,UAC/CY,EACAZ,EACAJ,EAAqBC,GACrB,S"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{d as e}from"./a11y.tipps-9f948961.js";import{L as t,g as r,a as n,b as o}from"./dev.utils-4290338e.js";import{p as i,a}from"./index-37b5cbcf.js";const s=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},f=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const r=new Set;s(r,t.querySelectorAll(e));const o=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<o.length;t++){const n=o[t].shadowRoot;s(r,f(e,"object"==typeof n&&null!==n?n:o[t]))}return Array.from(r)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},u=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let r=t.querySelector(e);if(null===r){const o=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<o.length;t++){const n=o[t].shadowRoot;if(r=u(e,"object"==typeof n&&null!==n?n:o[t]),null!==r)break}}return r}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var c=y,l=y,d=m,v=b,p=g,h=w;function y(e){var t=S(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function m(e){var t=S(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}}function b(e){var t=S(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function g(e){3==(t=S(e)).length&&t.push(255);var t,r=255==t[3],o=N(t[0]),n=N(t[1]),a=N(t[2]),s=M(o,n,a,t=N(Math.round(t[3])));return r?s?"#"+o.charAt(0)+n.charAt(0)+a.charAt(0):"#"+o+n+a:s?"#"+o.charAt(0)+n.charAt(0)+a.charAt(0)+t.charAt(0):"#"+o+n+a+t}function w(e){var t=S(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function S(e){return"string"==typeof e?E(e=e.toLowerCase())||O(e)||A(e)||L(e)||H(e)||[0,0,0,255]:D(e)||$(e)||T(e)||[0,0,0,255]}function N(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function M(e,t,r,o){var n=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=n.indexOf(e)&&-1!=n.indexOf(t)&&-1!=n.indexOf(r)&&-1!=n.indexOf(o)}function E(e){return"red"==e?[255,0,0]:"green"==e?[0,255,0]:"blue"==e?[0,0,255]:"black"==e?[0,0,0]:"white"==e?[255,255,255]:"cyan"==e?[0,255,255]:"gray"==e||"grey"==e?[128,128,128]:"magenta"==e||"pink"==e?[255,0,255]:"yellow"==e?[255,255,0]:void 0}function j(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function O(e){var t=e.replace(/^#/,""),r=t.length;if(3==r||4==r){var o=j(t[0]),n=j(t[1]),a=j(t[2]),s=3==r?255:j(t[3]);if(isNaN(o)||isNaN(n)||isNaN(a)||isNaN(s))return;return[o,n,a,s]}}function A(e){var t=e.replace(/^#/,""),r=t.length;if(6==r||8==r){var o=j(t.slice(0,2)),n=j(t.slice(2,4)),a=j(t.slice(4,6)),s=6==r?255:j(t.slice(6,8));if(isNaN(o)||isNaN(n)||isNaN(a)||isNaN(s))return;return[o,n,a,s]}}function k(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function D(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=k(null!=e.r?e.r:null!=e.red?e.red:0,!0),r=k(null!=e.g?e.g:null!=e.green?e.green:0,!0),o=k(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),n=k(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=r&&-1!=o&&-1!=n)return[t,r,o,n]}}function $(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=k(e[0],!0),r=k(e[1],!0),o=k(e[2],!0),n=k(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=r&&-1!=o&&-1!=n)return[t,r,o,n]}}function T(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}function L(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=k(t[0],!0),o=k(t[1],!0),n=k(t[2],!0);if(-1!=r&&-1!=o&&-1!=n)return[r,o,n,255]}}function H(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=k(t[0],!0),o=k(t[1],!0),n=k(t[2],!0),a=k(255*t[3]);if(-1!=r&&-1!=o&&-1!=n&&-1!=a)return[r,o,n,a]}}c.arr=l,c.obj=d,c.css=v,c.hex=p,c.num=h;var C=.2126,P=.7152,J=.0722,I=1/12.92;function q(e){return Math.pow((e+.055)/1.055,2.4)}function z(e){var t=e[0]/255,r=e[1]/255,o=e[2]/255,n=t<=.03928?t*I:q(t),a=r<=.03928?r*I:q(r),s=o<=.03928?o*I:q(o);return n*C+a*P+s*J}function B(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var r=parseInt(e,16);return[r>>16,r>>8&255,255&r,t]}function R(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function W(e,t){return R(z(e),z(t))}function x(e,t){return W(B(e),B(t))}function F(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}const K=/\[object Object\]/,U=(e,t)=>{"string"==typeof e&&K.test(e)||t()},_=(e,t)=>{"string"==typeof e&&""===e||t()},Y=(e,r)=>{o()&&(t.debug([e,r]),t.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:r,writable:!1})},G=e=>{var t,r,o;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,r)=>{var o;const n=t.get("beforePatch");"function"==typeof n&&n(null===(o=e.nextState)||void 0===o?void 0:o.get(r),e.nextState,e,r)})),(null===(r=e.nextState)||void 0===r?void 0:r.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(o=e.nextHooks)||void 0===o||o.forEach(((t,r)=>{const o=t.get("afterPatch");"function"==typeof o&&o(e.state[r],e.state,e,r)}))),delete e.nextHooks},Q=(e,t,r,o={})=>{var n,a;if(void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextState.get(t)!==r){e.nextHooks.get(t)instanceof Map==!1&&e.nextHooks.set(t,new Map),"function"==typeof o.afterPatch&&(null===(n=e.nextHooks.get(t))||void 0===n||n.set("afterPatch",o.afterPatch)),"function"==typeof o.beforePatch&&(null===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",o.beforePatch)),e.nextState.set(t,r),G(e)}},V=(t,r,o,n)=>{e(`[${t.constructor.name}] Der Property-Wert (${o}) für '${r}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(n).join(", ")}`)};function X(e,t,r,o,n,a={}){r(n)?Q(e,t,n,a.hooks):null!=n||a.required?(a.required||o.add(null),V(e,t,n,o)):Q(e,t,a.defaultValue,a.hooks)}const Z=(e,t,r,o)=>{X(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),r,o)},ee=(e,t,r,o={})=>{const n="number"==typeof o.minLength?null==o?void 0:o.minLength:0;X(e,t,(e=>"string"==typeof e&&e.length>=n&&(void 0===(null==o?void 0:o.maxLength)||e.length<=o.maxLength)),new Set(["String"]),r,o)},te=(e,t,r,o)=>{X(e,t,(e=>"number"==typeof e&&(void 0===(null==o?void 0:o.min)||"number"==typeof(null==o?void 0:o.min)&&e>=o.min)&&(void 0===(null==o?void 0:o.max)||"number"==typeof(null==o?void 0:o.max)&&e<=o.max)),new Set(["Number"]),r,o)},re=(e,r,o,n,a=(e=>e==e),s={})=>{_(n,(()=>{U(n,(()=>{void 0===n&&(n=[]);try{try{n=ue(n)}catch(e){}if(Array.isArray(n)){const l=n.find((e=>!o(e)));void 0===l&&a(n)?Q(e,r,n,s.hooks):U(l,(()=>{throw t.debug(l),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else U(n,(()=>{throw t.debug(n),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){t.debug(e)}}))}))},ne=/^(true|false)$/,oe=/^-?(0|[1-9]\d*)$/,ie=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,ae=t=>{const r=typeof t,o=`${t}`;if("string"==typeof t)if(ne.test(t))t="true"===t;else if(oe.test(t))t=parseInt(t);else if(ie.test(t))t=parseFloat(t);else if(fe.test(t))try{t=ue(t)}catch(e){}return r!==typeof t&&e(`You have used a stringified property value (${o} to ${JSON.stringify(t)}) which type switched from ${r} to ${typeof t}!`),t},se=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(r){throw t.warn(["stringifyJson",e]),t.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},fe=/^[{[]/,ue=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(r){if(fe.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(r){t.warn(["parseJson",e]),t.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (&#8216;).")}}throw new Error},ce=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,le=e=>"string"==typeof e?e:ce(e),de=(e,t)=>u(e,t||r()),ve=(e,t)=>f(e,t||r());let pe=null;const he=()=>(pe=pe||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},pe),ye=/(\d+, ){3}0\)/,me=(e,r=he())=>{const o=getComputedStyle(e),n=ye.test(o.backgroundColor)?r.backgroundColor:c.hex(o.backgroundColor),a=ye.test(o.color)?r.color:c.hex(o.color),s=x(n,a),l={backgroundColor:n,color:a,domNode:e,level:F(s),score:s};return s<4.5&&t.error(["Color-Contrast-Error",{backgroundColor:l.backgroundColor,color:l.color,level:l.level,score:l.score},l.domNode]),l},be=(e,t=he())=>{t.domNode instanceof HTMLElement&&(t=me(t.domNode,t));const r=t.domNode.querySelector(e);if(null===r){const r=t.domNode.querySelectorAll('[class="hydrated"]');for(let o=0;o<r.length&&(t.domNode=r[o],null===(t=be(e,t)).domNode);o++);return t}return me(r,t)},ge=(t,r=window)=>{t instanceof HTMLElement?(r.scrollTo({behavior:"smooth",top:t.getBoundingClientRect().top+n().pageYOffset-50}),t.focus()):e("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},we=(t,r)=>{if((t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot)&&"string"==typeof r){e("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const o=`${r}`;r=t,t=o}if("string"==typeof t){const o=de(t,r);o instanceof HTMLElement?ge(o):e(`Es konnte kein HTMLElement mit dem Selector (${t}) gefunden werden, zu dem gescrollt werden soll.`)}else e("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class Se{static queryHtmlElementColors(e,r,o=!1,n=!0){let a=null;if(!0===o||!1===Se.executionLock)if(!1===o&&(Se.cache.clear(),Se.cache.set(r.domNode,r),Se.executionLock=!0,!0===n&&t.debug("[KoliBriUtils] Color contrast analysis started...")),e===r.domNode)a=r;else{const t=new Set;if(r.domNode.shadowRoot){const e=r.domNode.shadowRoot.children;for(let r=0;r<e.length;r++)t.add(e[r])}const o=r.domNode;if("function"==typeof o.assignedNodes){const e=o.assignedNodes();for(let r=0;r<e.length;r++)e[r]instanceof HTMLElement&&t.add(e[r])}const n=r.domNode.children;for(let e=0;e<n.length;e++)t.add(n[e]);const s=Array.from(t);for(let t=0;t<s.length;t++){let o=Se.cache.get(s[t]);void 0===o&&(o=me(s[t],r)),Se.cache.set(s[t],o);const n=Se.queryHtmlElementColors(e,o,!0,!1);if(null!==n){a=n;break}}}else t.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&t.debug(`[KoliBriUtils] Color contrast analysis finished (${Se.cache.size} DOM elements are analysed).`),Se.executionLock=!1,Se.cache.clear()),a}}Se.executionLock=!1,Se.cache=new Map;class Ne{}Ne.patchTheme=i,Ne.patchThemeTag=a,Ne.querySelector=de,Ne.querySelectorAll=ve,Ne.scrollByHTMLElement=ge,Ne.scrollBySelector=we,Ne.stringifyJson=se;export{Ne as K,X as a,Z as b,x as c,re as d,te as e,Y as f,_ as g,ce as h,we as i,le as j,de as k,Se as l,ae as m,me as n,U as o,ue as p,ve as q,c as r,Q as s,be as t,se as u,ee as w};
4
+ import{d as e}from"./a11y.tipps-255c885e.js";import{L as t,g as r,a as n,b as o}from"./dev.utils-e98368e1.js";import{p as i,a}from"./index-37b5cbcf.js";const s=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},f=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const r=new Set;s(r,t.querySelectorAll(e));const o=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<o.length;t++){const n=o[t].shadowRoot;s(r,f(e,"object"==typeof n&&null!==n?n:o[t]))}return Array.from(r)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},c=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let r=t.querySelector(e);if(null===r){const o=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<o.length;t++){const n=o[t].shadowRoot;if(r=c(e,"object"==typeof n&&null!==n?n:o[t]),null!==r)break}}return r}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var u=y,l=y,d=m,v=b,p=g,h=w;function y(e){var t=S(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function m(e){var t=S(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}}function b(e){var t=S(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function g(e){3==(t=S(e)).length&&t.push(255);var t,r=255==t[3],o=N(t[0]),n=N(t[1]),a=N(t[2]),s=M(o,n,a,t=N(Math.round(t[3])));return r?s?"#"+o.charAt(0)+n.charAt(0)+a.charAt(0):"#"+o+n+a:s?"#"+o.charAt(0)+n.charAt(0)+a.charAt(0)+t.charAt(0):"#"+o+n+a+t}function w(e){var t=S(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function S(e){return"string"==typeof e?E(e=e.toLowerCase())||O(e)||A(e)||L(e)||H(e)||[0,0,0,255]:D(e)||$(e)||T(e)||[0,0,0,255]}function N(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function M(e,t,r,o){var n=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=n.indexOf(e)&&-1!=n.indexOf(t)&&-1!=n.indexOf(r)&&-1!=n.indexOf(o)}function E(e){return"red"==e?[255,0,0]:"green"==e?[0,255,0]:"blue"==e?[0,0,255]:"black"==e?[0,0,0]:"white"==e?[255,255,255]:"cyan"==e?[0,255,255]:"gray"==e||"grey"==e?[128,128,128]:"magenta"==e||"pink"==e?[255,0,255]:"yellow"==e?[255,255,0]:void 0}function j(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function O(e){var t=e.replace(/^#/,""),r=t.length;if(3==r||4==r){var o=j(t[0]),n=j(t[1]),a=j(t[2]),s=3==r?255:j(t[3]);if(isNaN(o)||isNaN(n)||isNaN(a)||isNaN(s))return;return[o,n,a,s]}}function A(e){var t=e.replace(/^#/,""),r=t.length;if(6==r||8==r){var o=j(t.slice(0,2)),n=j(t.slice(2,4)),a=j(t.slice(4,6)),s=6==r?255:j(t.slice(6,8));if(isNaN(o)||isNaN(n)||isNaN(a)||isNaN(s))return;return[o,n,a,s]}}function k(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function D(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=k(null!=e.r?e.r:null!=e.red?e.red:0,!0),r=k(null!=e.g?e.g:null!=e.green?e.green:0,!0),o=k(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),n=k(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=r&&-1!=o&&-1!=n)return[t,r,o,n]}}function $(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=k(e[0],!0),r=k(e[1],!0),o=k(e[2],!0),n=k(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=r&&-1!=o&&-1!=n)return[t,r,o,n]}}function T(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}function L(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=k(t[0],!0),o=k(t[1],!0),n=k(t[2],!0);if(-1!=r&&-1!=o&&-1!=n)return[r,o,n,255]}}function H(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=k(t[0],!0),o=k(t[1],!0),n=k(t[2],!0),a=k(255*t[3]);if(-1!=r&&-1!=o&&-1!=n&&-1!=a)return[r,o,n,a]}}u.arr=l,u.obj=d,u.css=v,u.hex=p,u.num=h;var C=.2126,P=.7152,J=.0722,I=1/12.92;function q(e){return Math.pow((e+.055)/1.055,2.4)}function z(e){var t=e[0]/255,r=e[1]/255,o=e[2]/255,n=t<=.03928?t*I:q(t),a=r<=.03928?r*I:q(r),s=o<=.03928?o*I:q(o);return n*C+a*P+s*J}function B(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var r=parseInt(e,16);return[r>>16,r>>8&255,255&r,t]}function R(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function W(e,t){return R(z(e),z(t))}function x(e,t){return W(B(e),B(t))}function F(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}const K=/\[object Object\]/,U=(e,t)=>{"string"==typeof e&&K.test(e)||t()},_=(e,t)=>{"string"==typeof e&&""===e||t()},Y=(e,r)=>{o()&&(t.debug([e,r]),t.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:r,writable:!1})},G=e=>{var t,r,o;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,r)=>{var o;const n=t.get("beforePatch");"function"==typeof n&&n(null===(o=e.nextState)||void 0===o?void 0:o.get(r),e.nextState,e,r)})),(null===(r=e.nextState)||void 0===r?void 0:r.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(o=e.nextHooks)||void 0===o||o.forEach(((t,r)=>{const o=t.get("afterPatch");"function"==typeof o&&o(e.state[r],e.state,e,r)}))),delete e.nextHooks},Q=(e,t,r,o={})=>{var n,a;if(void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextState.get(t)!==r){e.nextHooks.get(t)instanceof Map==!1&&e.nextHooks.set(t,new Map),"function"==typeof o.afterPatch&&(null===(n=e.nextHooks.get(t))||void 0===n||n.set("afterPatch",o.afterPatch)),"function"==typeof o.beforePatch&&(null===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",o.beforePatch)),e.nextState.set(t,r),G(e)}},V=(t,r,o,n)=>{e(`[${t.constructor.name}] Der Property-Wert (${o}) für '${r}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(n).join(", ")}`)};function X(e,t,r,o,n,a={}){r(n)?Q(e,t,n,a.hooks):null!=n||a.required?(a.required||o.add(null),V(e,t,n,o)):Q(e,t,a.defaultValue,a.hooks)}const Z=(e,t,r,o)=>{X(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),r,o)},ee=(e,t,r,o={})=>{const n="number"==typeof o.minLength?null==o?void 0:o.minLength:0;X(e,t,(e=>"string"==typeof e&&e.length>=n&&(void 0===(null==o?void 0:o.maxLength)||e.length<=o.maxLength)),new Set(["String"]),r,o)},te=(e,t,r,o)=>{X(e,t,(e=>"number"==typeof e&&(void 0===(null==o?void 0:o.min)||"number"==typeof(null==o?void 0:o.min)&&e>=o.min)&&(void 0===(null==o?void 0:o.max)||"number"==typeof(null==o?void 0:o.max)&&e<=o.max)),new Set(["Number"]),r,o)},re=(e,r,o,n,a=(e=>e==e),s={})=>{_(n,(()=>{U(n,(()=>{void 0===n&&(n=[]);try{try{n=ce(n)}catch(e){}if(Array.isArray(n)){const l=n.find((e=>!o(e)));void 0===l&&a(n)?Q(e,r,n,s.hooks):U(l,(()=>{throw t.debug(l),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else U(n,(()=>{throw t.debug(n),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){t.debug(e)}}))}))},ne=/^(true|false)$/,oe=/^-?(0|[1-9]\d*)$/,ie=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,ae=t=>{const r=typeof t,o=`${t}`;if("string"==typeof t)if(ne.test(t))t="true"===t;else if(oe.test(t))t=parseInt(t);else if(ie.test(t))t=parseFloat(t);else if(fe.test(t))try{t=ce(t)}catch(e){}return r!==typeof t&&e(`You have used a stringified property value (${o} to ${JSON.stringify(t)}) which type switched from ${r} to ${typeof t}!`),t},se=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(r){throw t.warn(["stringifyJson",e]),t.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},fe=/^[{[]/,ce=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(r){if(fe.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(r){t.warn(["parseJson",e]),t.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (&#8216;).")}}throw new Error},ue=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,le=e=>"string"==typeof e?e:ue(e),de=(e,t)=>c(e,t||r()),ve=(e,t)=>f(e,t||r());let pe=null;const he=()=>(pe=pe||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},pe),ye=/(\d+, ){3}0\)/,me=(e,r=he())=>{const o=getComputedStyle(e),n=ye.test(o.backgroundColor)?r.backgroundColor:u.hex(o.backgroundColor),a=ye.test(o.color)?r.color:u.hex(o.color),s=x(n,a),l={backgroundColor:n,color:a,domNode:e,level:F(s),score:s};return s<4.5&&t.error(["Color-Contrast-Error",{backgroundColor:l.backgroundColor,color:l.color,level:l.level,score:l.score},l.domNode]),l},be=(e,t=he())=>{t.domNode instanceof HTMLElement&&(t=me(t.domNode,t));const r=t.domNode.querySelector(e);if(null===r){const r=t.domNode.querySelectorAll('[class="hydrated"]');for(let o=0;o<r.length&&(t.domNode=r[o],null===(t=be(e,t)).domNode);o++);return t}return me(r,t)},ge=(t,r=window)=>{t instanceof HTMLElement?(r.scrollTo({behavior:"smooth",top:t.getBoundingClientRect().top+n().pageYOffset-50}),t.focus()):e("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},we=(t,r)=>{if((t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot)&&"string"==typeof r){e("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const o=`${r}`;r=t,t=o}if("string"==typeof t){const o=de(t,r);o instanceof HTMLElement?ge(o):e(`Es konnte kein HTMLElement mit dem Selector (${t}) gefunden werden, zu dem gescrollt werden soll.`)}else e("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class Se{static queryHtmlElementColors(e,r,o=!1,n=!0){let a=null;if(!0===o||!1===Se.executionLock)if(!1===o&&(Se.cache.clear(),Se.cache.set(r.domNode,r),Se.executionLock=!0,!0===n&&t.debug("[KoliBriUtils] Color contrast analysis started...")),e===r.domNode)a=r;else{const t=new Set;if(r.domNode.shadowRoot){const e=r.domNode.shadowRoot.children;for(let r=0;r<e.length;r++)t.add(e[r])}const o=r.domNode;if("function"==typeof o.assignedNodes){const e=o.assignedNodes();for(let r=0;r<e.length;r++)e[r]instanceof HTMLElement&&t.add(e[r])}const n=r.domNode.children;for(let e=0;e<n.length;e++)t.add(n[e]);const s=Array.from(t);for(let t=0;t<s.length;t++){let o=Se.cache.get(s[t]);void 0===o&&(o=me(s[t],r)),Se.cache.set(s[t],o);const n=Se.queryHtmlElementColors(e,o,!0,!1);if(null!==n){a=n;break}}}else t.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&t.debug(`[KoliBriUtils] Color contrast analysis finished (${Se.cache.size} DOM elements are analysed).`),Se.executionLock=!1,Se.cache.clear()),a}}Se.executionLock=!1,Se.cache=new Map;class Ne{}Ne.patchTheme=i,Ne.patchThemeTag=a,Ne.querySelector=de,Ne.querySelectorAll=ve,Ne.scrollByHTMLElement=ge,Ne.scrollBySelector=we,Ne.stringifyJson=se;export{Ne as K,X as a,Z as b,x as c,re as d,te as e,Y as f,_ as g,ue as h,we as i,le as j,de as k,Se as l,ae as m,me as n,U as o,ce as p,ve as q,u as r,Q as s,be as t,se as u,ee as w};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{b as o}from"./prop.validators-e3c93395.js";const s=(s,r,a)=>{o(s,"_show",r,a)};export{s as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{a as t}from"./a11y.tipps-9f948961.js";import{e as a}from"./prop.validators-601f1068.js";const o={hooks:{afterPatch:a=>{-1!==a&&0!==a&&t("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},r=(t,r)=>{a(t,"_tabIndex",r,o)};export{r as v};
4
+ import{a as t}from"./a11y.tipps-255c885e.js";import{e as a}from"./prop.validators-e3c93395.js";const e={hooks:{afterPatch:a=>{-1!==a&&0!==a&&t("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},o=(t,o)=>{a(t,"_tabIndex",o,e)};export{o as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{a as e}from"./prop.validators-601f1068.js";const r=(r,a)=>{e(r,"_level",(e=>"number"==typeof e&&0<=e&&e<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),a,{defaultValue:1,required:!0})};export{r as w};
4
+ import{a as e}from"./prop.validators-e3c93395.js";const r=(r,a)=>{e(r,"_level",(e=>"number"==typeof e&&0<=e&&e<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),a,{defaultValue:1,required:!0})};export{r as w};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o}from"./a11y.tipps-255c885e.js";import{d as t}from"./prop.validators-e3c93395.js";const s=(s,e,p)=>{t(e,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),p),o(s,e.state._links.length)};export{s as w};
@@ -1,4 +1,5 @@
1
1
  import { Generic } from '@a11y-ui/core';
2
+ import { Stringified } from '../../../components';
2
3
  import { ButtonProps } from '../../../types/button-link';
3
4
  import { InputTypeOnDefault } from '../../../types/input/types';
4
5
  import { PropLabelWithExpertSlot } from '../../../types/props/label';
@@ -13,7 +14,7 @@ type OptionalProps = {
13
14
  id: string;
14
15
  name: string;
15
16
  on: InputTypeOnDefault;
16
- smartButton: ButtonProps;
17
+ smartButton: Stringified<ButtonProps>;
17
18
  syncValueBySelector: string;
18
19
  tabIndex: number;
19
20
  };
@@ -0,0 +1,13 @@
1
+ import { JSX } from '../../stencil-public-runtime';
2
+ import { API, States } from './types';
3
+ import { LabelPropType } from '../../types/props/label';
4
+ import { ImageSourcePropType } from '../../types/props/image-source';
5
+ export declare class KolAvatarWc implements API {
6
+ render(): JSX.Element;
7
+ _src?: ImageSourcePropType;
8
+ _label: LabelPropType;
9
+ state: States;
10
+ validateSrc(value?: ImageSourcePropType): void;
11
+ validateLabel(value?: LabelPropType): void;
12
+ componentWillLoad(): void;
13
+ }
@@ -0,0 +1 @@
1
+ export declare const formatLabelAsInitials: (label: string) => string;
@@ -0,0 +1,7 @@
1
+ import { JSX } from '../../stencil-public-runtime';
2
+ import { Props } from './types';
3
+ export declare class KolAvatar implements Props {
4
+ render(): JSX.Element;
5
+ _src?: string;
6
+ _label: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ import { Props } from '../types';
2
+ export declare const getAvatarHtml: (props: Props) => string;
@@ -0,0 +1,15 @@
1
+ import { Generic } from '@a11y-ui/core';
2
+ import { LabelPropType } from '../../types/props/label';
3
+ import { ImageSourcePropType } from '../../types/props/image-source';
4
+ type RequiredAvatarProps = {
5
+ label: LabelPropType;
6
+ };
7
+ type OptionalAvatarProps = {
8
+ src: ImageSourcePropType;
9
+ };
10
+ type RequiredAvatarStates = RequiredAvatarProps;
11
+ type OptionalAvatarStates = OptionalAvatarProps;
12
+ export type Props = Generic.Element.Members<RequiredAvatarProps, OptionalAvatarProps>;
13
+ export type States = Generic.Element.Members<RequiredAvatarStates, OptionalAvatarStates>;
14
+ export type API = Generic.Element.ComponentApi<RequiredAvatarProps, OptionalAvatarProps, RequiredAvatarStates, OptionalAvatarStates>;
15
+ export {};
@@ -1,17 +1,18 @@
1
1
  import { JSX } from '../../stencil-public-runtime';
2
2
  import { Loading } from '../../utils/validators/loading';
3
3
  import { ComponentApi, States } from './types';
4
+ import { ImageSourcePropType } from '../../types/props/image-source';
4
5
  export declare class KolImage implements ComponentApi {
5
6
  _alt: string;
6
7
  _loading?: Loading;
7
8
  _sizes?: string;
8
- _src: string;
9
+ _src: ImageSourcePropType;
9
10
  _srcset?: string;
10
11
  state: States;
11
12
  validateAlt(value?: string): void;
12
13
  validateLoading(value?: Loading): void;
13
14
  validateSizes(value?: string): void;
14
- validateSrc(value?: string): void;
15
+ validateSrc(value?: ImageSourcePropType): void;
15
16
  validateSrcset(value?: string): void;
16
17
  componentWillLoad(): void;
17
18
  render(): JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { Props } from '../types';
2
- export declare const getImageHtml: (props: Props) => string;
2
+ export declare const getImageHtml: (props: Props, additionalAttrs?: string) => string;
@@ -1,7 +1,8 @@
1
1
  import { Generic } from '@a11y-ui/core';
2
2
  import { Loading } from '../../utils/validators/loading';
3
+ import { ImageSourcePropType } from '../../types/props/image-source';
3
4
  type RequiredProps = {
4
- src: string;
5
+ src: ImageSourcePropType;
5
6
  alt: string;
6
7
  };
7
8
  type OptionalProps = {
@@ -20,6 +20,6 @@ export declare class KolInput implements Props {
20
20
  _renderNoLabel?: boolean;
21
21
  _required?: boolean;
22
22
  _slotName?: string;
23
- _smartButton?: ButtonProps;
23
+ _smartButton?: Stringified<ButtonProps>;
24
24
  _touched?: boolean;
25
25
  }
@@ -1,4 +1,5 @@
1
1
  import { Generic } from '@a11y-ui/core';
2
+ import { Stringified } from '../../components';
2
3
  import { ButtonProps } from '../../types/button-link';
3
4
  import { KoliBriHorizontalIcon } from '../../types/icon';
4
5
  import { PropAlert } from '../../types/props/alert';
@@ -20,7 +21,7 @@ type OptionalProps = {
20
21
  icon: KoliBriHorizontalIcon;
21
22
  maxLength: number;
22
23
  slotName: string;
23
- smartButton: ButtonProps;
24
+ smartButton: Stringified<ButtonProps>;
24
25
  syncValueBySelector: string;
25
26
  } & PropAlert & PropDisabled & PropHasCounter & PropHideLabel & PropReadOnly & PropRequired & PropTouched;
26
27
  export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
@@ -25,7 +25,7 @@ export declare class KolInputColor implements ComponentApi {
25
25
  _list?: Stringified<string[]>;
26
26
  _name?: string;
27
27
  _on?: InputTypeOnDefault;
28
- _smartButton?: ButtonProps;
28
+ _smartButton?: Stringified<ButtonProps>;
29
29
  _syncValueBySelector?: string;
30
30
  _tabIndex?: number;
31
31
  _tooltipAlign?: Align;
@@ -18,7 +18,7 @@ type OptionalProps = {
18
18
  list: Stringified<string[]>;
19
19
  name: string;
20
20
  on: InputTypeOnDefault;
21
- smartButton: ButtonProps;
21
+ smartButton: Stringified<ButtonProps>;
22
22
  syncValueBySelector: string;
23
23
  touched: boolean;
24
24
  tabIndex: number;
@@ -32,7 +32,7 @@ export declare class KolInputDate implements ComponentApi {
32
32
  _on?: InputTypeOnDefault;
33
33
  _readOnly?: boolean;
34
34
  _required?: boolean;
35
- _smartButton?: ButtonProps;
35
+ _smartButton?: Stringified<ButtonProps>;
36
36
  _syncValueBySelector?: string;
37
37
  _step?: number;
38
38
  _tabIndex?: number;
@@ -34,7 +34,7 @@ export declare class KolInputEmail implements ComponentApi {
34
34
  _readOnly?: boolean;
35
35
  _required?: boolean;
36
36
  _size?: number;
37
- _smartButton?: ButtonProps;
37
+ _smartButton?: Stringified<ButtonProps>;
38
38
  _syncValueBySelector?: string;
39
39
  _tabIndex?: number;
40
40
  _tooltipAlign?: Align;
@@ -26,7 +26,7 @@ type OptionalProps = {
26
26
  readOnly: boolean;
27
27
  required: boolean;
28
28
  size: number;
29
- smartButton: ButtonProps;
29
+ smartButton: Stringified<ButtonProps>;
30
30
  syncValueBySelector: string;
31
31
  touched: boolean;
32
32
  tabIndex: number;
@@ -26,7 +26,7 @@ export declare class KolInputFile implements ComponentApi {
26
26
  _name?: string;
27
27
  _on?: InputTypeOnDefault;
28
28
  _required?: boolean;
29
- _smartButton?: ButtonProps;
29
+ _smartButton?: Stringified<ButtonProps>;
30
30
  _syncValueBySelector?: string;
31
31
  _tabIndex?: number;
32
32
  _tooltipAlign?: Align;
@@ -19,7 +19,7 @@ type OptionalProps = {
19
19
  name: string;
20
20
  on: InputTypeOnDefault;
21
21
  required: boolean;
22
- smartButton: ButtonProps;
22
+ smartButton: Stringified<ButtonProps>;
23
23
  syncValueBySelector: string;
24
24
  touched: boolean;
25
25
  tabIndex: number;
@@ -33,7 +33,7 @@ export declare class KolInputNumber implements ComponentApi {
33
33
  _placeholder?: string;
34
34
  _readOnly?: boolean;
35
35
  _required?: boolean;
36
- _smartButton?: ButtonProps;
36
+ _smartButton?: Stringified<ButtonProps>;
37
37
  _step?: number;
38
38
  _syncValueBySelector?: string;
39
39
  _tabIndex?: number;
@@ -32,7 +32,7 @@ export declare class KolInputPassword implements ComponentApi {
32
32
  _readOnly?: boolean;
33
33
  _required?: boolean;
34
34
  _size?: number;
35
- _smartButton?: ButtonProps;
35
+ _smartButton?: Stringified<ButtonProps>;
36
36
  _syncValueBySelector?: string;
37
37
  _tabIndex?: number;
38
38
  _tooltipAlign?: Align;
@@ -24,7 +24,7 @@ type OptionalProps = {
24
24
  readOnly: boolean;
25
25
  required: boolean;
26
26
  size: number;
27
- smartButton: ButtonProps;
27
+ smartButton: Stringified<ButtonProps>;
28
28
  syncValueBySelector: string;
29
29
  tabIndex: number;
30
30
  touched: boolean;
@@ -36,7 +36,7 @@ export declare class KolInputText implements ComponentApi {
36
36
  _readOnly?: boolean;
37
37
  _required?: boolean;
38
38
  _size?: number;
39
- _smartButton?: ButtonProps;
39
+ _smartButton?: Stringified<ButtonProps>;
40
40
  _syncValueBySelector?: string;
41
41
  _tabIndex?: number;
42
42
  _tooltipAlign?: Align;
@@ -27,7 +27,7 @@ type OptionalProps = {
27
27
  readOnly: boolean;
28
28
  required: boolean;
29
29
  size: number;
30
- smartButton: ButtonProps;
30
+ smartButton: Stringified<ButtonProps>;
31
31
  syncValueBySelector: string;
32
32
  tabIndex: number;
33
33
  touched: boolean;
@@ -7,7 +7,7 @@ type RequiredProps = {
7
7
  type OptionalProps = PropAriaLabel & PropLabel;
8
8
  export type KoliBriSymbolProps = Generic.Element.Members<RequiredProps, OptionalProps>;
9
9
  type RequiredStates = RequiredProps;
10
- type OptionalStates = OptionalProps;
10
+ type OptionalStates = PropLabel;
11
11
  export type KoliBriSymbolStates = Generic.Element.Members<RequiredStates, OptionalStates>;
12
12
  export type KoliBriSymbolAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
13
13
  export {};