@public-ui/components 1.7.0-rc.14 → 1.7.0-rc.15

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 (630) hide show
  1. package/custom-elements.json +28 -53
  2. package/dist/cjs/{a11y.tipps-66cfefcd.js → a11y.tipps-0134082a.js} +1 -1
  3. package/dist/cjs/{a11y.tipps-66cfefcd.js.map → a11y.tipps-0134082a.js.map} +1 -1
  4. package/dist/cjs/align-ffcd671e.js +4 -0
  5. package/dist/cjs/{align-a72e532d.js.map → align-ffcd671e.js.map} +1 -1
  6. package/dist/cjs/{alignment-f0930e04.js → alignment-a90208e0.js} +1 -1
  7. package/dist/cjs/{alignment-f0930e04.js.map → alignment-a90208e0.js.map} +1 -1
  8. package/dist/cjs/{app-globals-f5e7bd78.js → app-globals-8c537471.js} +1 -1
  9. package/dist/cjs/{app-globals-f5e7bd78.js.map → app-globals-8c537471.js.map} +1 -1
  10. package/dist/cjs/aria-current-e275ab88.js +4 -0
  11. package/dist/cjs/{aria-current-4e34cb0e.js.map → aria-current-e275ab88.js.map} +1 -1
  12. package/dist/cjs/{associated.controller-9fa9fcaa.js → associated.controller-fd72aae6.js} +1 -1
  13. package/dist/cjs/{associated.controller-9fa9fcaa.js.map → associated.controller-fd72aae6.js.map} +1 -1
  14. package/dist/cjs/{color-e18e2142.js → color-8637b9a0.js} +1 -1
  15. package/dist/cjs/{color-e18e2142.js.map → color-8637b9a0.js.map} +1 -1
  16. package/dist/cjs/{controller-66e67f2f.js → controller-183d5276.js} +1 -1
  17. package/dist/cjs/{controller-66e67f2f.js.map → controller-183d5276.js.map} +1 -1
  18. package/dist/cjs/{controller-09d250dc.js → controller-2b446dfd.js} +1 -1
  19. package/dist/cjs/{controller-09d250dc.js.map → controller-2b446dfd.js.map} +1 -1
  20. package/dist/cjs/{controller-470ec70f.js → controller-45b12d27.js} +1 -1
  21. package/dist/cjs/{controller-470ec70f.js.map → controller-45b12d27.js.map} +1 -1
  22. package/dist/cjs/{controller-21ea2ce0.js → controller-cf3f0890.js} +1 -1
  23. package/dist/cjs/{controller-21ea2ce0.js.map → controller-cf3f0890.js.map} +1 -1
  24. package/dist/cjs/{controller-465011ed.js → controller-f66c143b.js} +1 -1
  25. package/dist/cjs/{controller-465011ed.js.map → controller-f66c143b.js.map} +1 -1
  26. package/dist/cjs/{controller-icon-0d3f95c2.js → controller-icon-0ced64f4.js} +1 -1
  27. package/dist/cjs/{controller-icon-0d3f95c2.js.map → controller-icon-0ced64f4.js.map} +1 -1
  28. package/dist/cjs/{custom-class-1247b8ff.js → custom-class-d62facd4.js} +1 -1
  29. package/dist/cjs/{custom-class-1247b8ff.js.map → custom-class-d62facd4.js.map} +1 -1
  30. package/dist/cjs/{dev.utils-17b0ffeb.js → dev.utils-d2b2471b.js} +1 -1
  31. package/dist/cjs/{dev.utils-17b0ffeb.js.map → dev.utils-d2b2471b.js.map} +1 -1
  32. package/dist/cjs/{devtools-a6ae570c.js → devtools-9fa399ce.js} +1 -1
  33. package/dist/cjs/{devtools-a6ae570c.js.map → devtools-9fa399ce.js.map} +1 -1
  34. package/dist/cjs/floating-ui.dom.esm-c21c7751.js +4 -0
  35. package/dist/cjs/floating-ui.dom.esm-c21c7751.js.map +1 -0
  36. package/dist/cjs/has-closer-f703dbb9.js +4 -0
  37. package/dist/cjs/{has-closer-9b676d55.js.map → has-closer-f703dbb9.js.map} +1 -1
  38. package/dist/cjs/hide-label-1c014425.js +4 -0
  39. package/dist/cjs/{hide-label-9535ac09.js.map → hide-label-1c014425.js.map} +1 -1
  40. package/dist/cjs/{i18n-cfed41ab.js → i18n-f4e809a6.js} +1 -1
  41. package/dist/cjs/{i18n-cfed41ab.js.map → i18n-f4e809a6.js.map} +1 -1
  42. package/dist/cjs/{icon-dc0dad5b.js → icon-685623ce.js} +1 -1
  43. package/dist/cjs/{icon-dc0dad5b.js.map → icon-685623ce.js.map} +1 -1
  44. package/dist/cjs/image-source-8630b8ab.js +4 -0
  45. package/dist/cjs/{image-source-24237406.js.map → image-source-8630b8ab.js.map} +1 -1
  46. package/dist/cjs/index-2feae351.js.map +1 -0
  47. package/dist/cjs/{index-318ebe03.js → index-82aca647.js} +1 -1
  48. package/dist/cjs/{index-318ebe03.js.map → index-82aca647.js.map} +1 -1
  49. package/dist/cjs/{index-21737b53.js.map → index-f96a013d.js.map} +1 -1
  50. package/dist/cjs/index.cjs.js +1 -1
  51. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-alert-wc_3.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-alert-wc_3.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  61. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-button-link-text-switch.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  69. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-icon-font-awesome.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-icon-icofont.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-input-radio-group.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-popover.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-popover.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  123. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  125. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-span-wc_2.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-span-wc_2.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  138. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  141. package/dist/cjs/kolibri.cjs.js +1 -1
  142. package/dist/cjs/kolibri.cjs.js.map +1 -1
  143. package/dist/cjs/{label-a3f72682.js → label-d1cec9a8.js} +1 -1
  144. package/dist/cjs/{label-a3f72682.js.map → label-d1cec9a8.js.map} +1 -1
  145. package/dist/cjs/loader.cjs.js +1 -1
  146. package/dist/cjs/open-4cc804c4.js +4 -0
  147. package/dist/cjs/{open-e76337d6.js.map → open-4cc804c4.js.map} +1 -1
  148. package/dist/cjs/{prop.validators-c6674982.js → prop.validators-ac830edb.js} +1 -1
  149. package/dist/cjs/prop.validators-ac830edb.js.map +1 -0
  150. package/dist/cjs/rows-bbcd466f.js +4 -0
  151. package/dist/cjs/{rows-7cfd562c.js.map → rows-bbcd466f.js.map} +1 -1
  152. package/dist/cjs/show-c1eb3e41.js +4 -0
  153. package/dist/cjs/{show-b711d0dc.js.map → show-c1eb3e41.js.map} +1 -1
  154. package/dist/cjs/{suggestions-3955d219.js → suggestions-f1a217a2.js} +1 -1
  155. package/dist/cjs/{suggestions-3955d219.js.map → suggestions-f1a217a2.js.map} +1 -1
  156. package/dist/cjs/{tab-index-be7e3127.js → tab-index-caf936cb.js} +1 -1
  157. package/dist/cjs/{tab-index-be7e3127.js.map → tab-index-caf936cb.js.map} +1 -1
  158. package/dist/cjs/{tooltip-align-52e80b9f.js → tooltip-align-b3044d73.js} +1 -1
  159. package/dist/cjs/{tooltip-align-52e80b9f.js.map → tooltip-align-b3044d73.js.map} +1 -1
  160. package/dist/cjs/validation-d2c4dbc0.js +4 -0
  161. package/dist/cjs/{validation-9b4df76d.js.map → validation-d2c4dbc0.js.map} +1 -1
  162. package/dist/cjs/{validation-274fdcc8.js → validation-fa972660.js} +1 -1
  163. package/dist/cjs/{validation-274fdcc8.js.map → validation-fa972660.js.map} +1 -1
  164. package/dist/components/align.js +1 -1
  165. package/dist/components/align.js.map +1 -1
  166. package/dist/components/color.js.map +1 -1
  167. package/dist/components/component13.js +1 -1
  168. package/dist/components/component13.js.map +1 -1
  169. package/dist/components/component14.js.map +1 -1
  170. package/dist/components/component15.js.map +1 -1
  171. package/dist/components/component16.js +1 -1
  172. package/dist/components/component16.js.map +1 -1
  173. package/dist/components/component2.js +1 -1
  174. package/dist/components/component2.js.map +1 -1
  175. package/dist/components/component3.js.map +1 -1
  176. package/dist/components/component5.js +1 -1
  177. package/dist/components/component5.js.map +1 -1
  178. package/dist/components/component6.js +1 -1
  179. package/dist/components/component6.js.map +1 -1
  180. package/dist/components/component8.js +1 -1
  181. package/dist/components/component8.js.map +1 -1
  182. package/dist/components/component9.js +1 -1
  183. package/dist/components/component9.js.map +1 -1
  184. package/dist/components/i18n.js.map +1 -1
  185. package/dist/components/kol-button-link.js +1 -1
  186. package/dist/components/kol-button-link.js.map +1 -1
  187. package/dist/components/kol-card.js +1 -1
  188. package/dist/components/kol-card.js.map +1 -1
  189. package/dist/components/kol-input-checkbox.js.map +1 -1
  190. package/dist/components/kol-input-color.js.map +1 -1
  191. package/dist/components/kol-input-date.js.map +1 -1
  192. package/dist/components/kol-input-email.js.map +1 -1
  193. package/dist/components/kol-input-file.js.map +1 -1
  194. package/dist/components/kol-input-number.js.map +1 -1
  195. package/dist/components/kol-input-password.js.map +1 -1
  196. package/dist/components/kol-input-radio-group.js +1 -1
  197. package/dist/components/kol-input-radio-group.js.map +1 -1
  198. package/dist/components/kol-input-range.js.map +1 -1
  199. package/dist/components/kol-input-text.js.map +1 -1
  200. package/dist/components/kol-link-button.js +1 -1
  201. package/dist/components/kol-link-button.js.map +1 -1
  202. package/dist/components/kol-nav.js +1 -1
  203. package/dist/components/kol-nav.js.map +1 -1
  204. package/dist/components/kol-popover.js.map +1 -1
  205. package/dist/components/kol-quote.js.map +1 -1
  206. package/dist/components/kol-span.js +1 -1
  207. package/dist/components/kol-span.js.map +1 -1
  208. package/dist/components/kol-split-button.js +1 -1
  209. package/dist/components/kol-split-button.js.map +1 -1
  210. package/dist/components/kol-textarea.js +1 -1
  211. package/dist/components/kol-textarea.js.map +1 -1
  212. package/dist/components/prop.validators.js +1 -1
  213. package/dist/components/prop.validators.js.map +1 -1
  214. package/dist/components/shadow.js +1 -1
  215. package/dist/components/shadow.js.map +1 -1
  216. package/dist/components/shadow2.js +1 -1
  217. package/dist/components/shadow2.js.map +1 -1
  218. package/dist/components/shadow3.js +1 -1
  219. package/dist/components/shadow3.js.map +1 -1
  220. package/dist/esm/{a11y.tipps-d5e71271.js → a11y.tipps-86d2943f.js} +1 -1
  221. package/dist/esm/{a11y.tipps-d5e71271.js.map → a11y.tipps-86d2943f.js.map} +1 -1
  222. package/dist/esm/{align-af5d7662.js → align-40fbf369.js} +1 -1
  223. package/dist/esm/{align-af5d7662.js.map → align-40fbf369.js.map} +1 -1
  224. package/dist/esm/{alignment-40963ad9.js → alignment-f29c9e3c.js} +1 -1
  225. package/dist/esm/{alignment-40963ad9.js.map → alignment-f29c9e3c.js.map} +1 -1
  226. package/dist/esm/{app-globals-28e273ea.js → app-globals-50958dcb.js} +1 -1
  227. package/dist/esm/{app-globals-28e273ea.js.map → app-globals-50958dcb.js.map} +1 -1
  228. package/dist/esm/{aria-current-0d0f1e03.js → aria-current-3785ded3.js} +1 -1
  229. package/dist/esm/{aria-current-0d0f1e03.js.map → aria-current-3785ded3.js.map} +1 -1
  230. package/dist/esm/{associated.controller-bcd8b030.js → associated.controller-12885637.js} +1 -1
  231. package/dist/esm/{associated.controller-bcd8b030.js.map → associated.controller-12885637.js.map} +1 -1
  232. package/dist/esm/{color-9d685da7.js → color-3286e820.js} +1 -1
  233. package/dist/esm/{color-9d685da7.js.map → color-3286e820.js.map} +1 -1
  234. package/dist/esm/{controller-8f20ca63.js → controller-0214ed78.js} +1 -1
  235. package/dist/esm/{controller-8f20ca63.js.map → controller-0214ed78.js.map} +1 -1
  236. package/dist/esm/{controller-b7f0906a.js → controller-7378fe29.js} +1 -1
  237. package/dist/esm/{controller-b7f0906a.js.map → controller-7378fe29.js.map} +1 -1
  238. package/dist/esm/{controller-b5d2a6f6.js → controller-9313a601.js} +1 -1
  239. package/dist/esm/{controller-b5d2a6f6.js.map → controller-9313a601.js.map} +1 -1
  240. package/dist/esm/{controller-cca691e0.js → controller-d5bd0829.js} +1 -1
  241. package/dist/esm/{controller-cca691e0.js.map → controller-d5bd0829.js.map} +1 -1
  242. package/dist/esm/{controller-ab69b19f.js → controller-e361e808.js} +1 -1
  243. package/dist/esm/{controller-ab69b19f.js.map → controller-e361e808.js.map} +1 -1
  244. package/dist/esm/{controller-icon-290445e9.js → controller-icon-516c3ff2.js} +1 -1
  245. package/dist/esm/{controller-icon-290445e9.js.map → controller-icon-516c3ff2.js.map} +1 -1
  246. package/dist/esm/{custom-class-010ba23e.js → custom-class-08f5fafe.js} +1 -1
  247. package/dist/esm/{custom-class-010ba23e.js.map → custom-class-08f5fafe.js.map} +1 -1
  248. package/dist/esm/{dev.utils-ee97296f.js → dev.utils-387eb46c.js} +1 -1
  249. package/dist/esm/{dev.utils-ee97296f.js.map → dev.utils-387eb46c.js.map} +1 -1
  250. package/dist/esm/{devtools-0840683e.js → devtools-4ffc0378.js} +1 -1
  251. package/dist/esm/{devtools-0840683e.js.map → devtools-4ffc0378.js.map} +1 -1
  252. package/dist/esm/floating-ui.dom.esm-e435ab9f.js +4 -0
  253. package/dist/esm/floating-ui.dom.esm-e435ab9f.js.map +1 -0
  254. package/dist/esm/{has-closer-dde3d380.js → has-closer-e73838e1.js} +1 -1
  255. package/dist/esm/{has-closer-dde3d380.js.map → has-closer-e73838e1.js.map} +1 -1
  256. package/dist/esm/{hide-label-69fa12aa.js → hide-label-fa80738c.js} +1 -1
  257. package/dist/esm/{hide-label-69fa12aa.js.map → hide-label-fa80738c.js.map} +1 -1
  258. package/dist/esm/{i18n-e8d84b26.js → i18n-bbfd20b1.js} +1 -1
  259. package/dist/esm/{i18n-e8d84b26.js.map → i18n-bbfd20b1.js.map} +1 -1
  260. package/dist/esm/{icon-5329489f.js → icon-91abf20b.js} +1 -1
  261. package/dist/esm/{icon-5329489f.js.map → icon-91abf20b.js.map} +1 -1
  262. package/dist/esm/{image-source-6b5f8563.js → image-source-e8ad9cfc.js} +1 -1
  263. package/dist/esm/{image-source-6b5f8563.js.map → image-source-e8ad9cfc.js.map} +1 -1
  264. package/dist/esm/{index-98978c65.js → index-23225963.js} +1 -1
  265. package/dist/esm/{index-98978c65.js.map → index-23225963.js.map} +1 -1
  266. package/dist/esm/{index-d49940eb.js.map → index-3822b0c5.js.map} +1 -1
  267. package/dist/esm/index-536799d5.js.map +1 -0
  268. package/dist/esm/index.js +1 -1
  269. package/dist/esm/kol-abbr.entry.js +1 -1
  270. package/dist/esm/kol-accordion.entry.js +1 -1
  271. package/dist/esm/kol-alert-wc_3.entry.js +1 -1
  272. package/dist/esm/kol-alert-wc_3.entry.js.map +1 -1
  273. package/dist/esm/kol-alert.entry.js +1 -1
  274. package/dist/esm/kol-alert.entry.js.map +1 -1
  275. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  276. package/dist/esm/kol-avatar.entry.js +1 -1
  277. package/dist/esm/kol-badge.entry.js +1 -1
  278. package/dist/esm/kol-badge.entry.js.map +1 -1
  279. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  280. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  281. package/dist/esm/kol-button-group.entry.js +1 -1
  282. package/dist/esm/kol-button-link-text-switch.entry.js +1 -1
  283. package/dist/esm/kol-button-link.entry.js +1 -1
  284. package/dist/esm/kol-button-link.entry.js.map +1 -1
  285. package/dist/esm/kol-button.entry.js +1 -1
  286. package/dist/esm/kol-button.entry.js.map +1 -1
  287. package/dist/esm/kol-card.entry.js +1 -1
  288. package/dist/esm/kol-card.entry.js.map +1 -1
  289. package/dist/esm/kol-details.entry.js +1 -1
  290. package/dist/esm/kol-form.entry.js +1 -1
  291. package/dist/esm/kol-heading.entry.js +1 -1
  292. package/dist/esm/kol-icon-font-awesome.entry.js +1 -1
  293. package/dist/esm/kol-icon-icofont.entry.js +1 -1
  294. package/dist/esm/kol-icon.entry.js +1 -1
  295. package/dist/esm/kol-image.entry.js +1 -1
  296. package/dist/esm/kol-indented-text.entry.js +1 -1
  297. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  298. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  299. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  300. package/dist/esm/kol-input-color.entry.js +1 -1
  301. package/dist/esm/kol-input-color.entry.js.map +1 -1
  302. package/dist/esm/kol-input-date.entry.js +1 -1
  303. package/dist/esm/kol-input-date.entry.js.map +1 -1
  304. package/dist/esm/kol-input-email.entry.js +1 -1
  305. package/dist/esm/kol-input-email.entry.js.map +1 -1
  306. package/dist/esm/kol-input-file.entry.js +1 -1
  307. package/dist/esm/kol-input-file.entry.js.map +1 -1
  308. package/dist/esm/kol-input-number.entry.js +1 -1
  309. package/dist/esm/kol-input-number.entry.js.map +1 -1
  310. package/dist/esm/kol-input-password.entry.js +1 -1
  311. package/dist/esm/kol-input-password.entry.js.map +1 -1
  312. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  313. package/dist/esm/kol-input-radio-group.entry.js.map +1 -1
  314. package/dist/esm/kol-input-radio.entry.js +1 -1
  315. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  316. package/dist/esm/kol-input-range.entry.js +1 -1
  317. package/dist/esm/kol-input-range.entry.js.map +1 -1
  318. package/dist/esm/kol-input-text.entry.js +1 -1
  319. package/dist/esm/kol-input-text.entry.js.map +1 -1
  320. package/dist/esm/kol-input.entry.js +1 -1
  321. package/dist/esm/kol-input.entry.js.map +1 -1
  322. package/dist/esm/kol-kolibri.entry.js +1 -1
  323. package/dist/esm/kol-link-button.entry.js +1 -1
  324. package/dist/esm/kol-link-button.entry.js.map +1 -1
  325. package/dist/esm/kol-link-group.entry.js +1 -1
  326. package/dist/esm/kol-link-wc.entry.js +1 -1
  327. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  328. package/dist/esm/kol-link.entry.js +1 -1
  329. package/dist/esm/kol-link.entry.js.map +1 -1
  330. package/dist/esm/kol-logo.entry.js +1 -1
  331. package/dist/esm/kol-modal.entry.js +1 -1
  332. package/dist/esm/kol-nav.entry.js +1 -1
  333. package/dist/esm/kol-nav.entry.js.map +1 -1
  334. package/dist/esm/kol-pagination.entry.js +1 -1
  335. package/dist/esm/kol-pagination.entry.js.map +1 -1
  336. package/dist/esm/kol-popover.entry.js +1 -1
  337. package/dist/esm/kol-popover.entry.js.map +1 -1
  338. package/dist/esm/kol-progress.entry.js +1 -1
  339. package/dist/esm/kol-quote.entry.js +1 -1
  340. package/dist/esm/kol-quote.entry.js.map +1 -1
  341. package/dist/esm/kol-select.entry.js +1 -1
  342. package/dist/esm/kol-select.entry.js.map +1 -1
  343. package/dist/esm/kol-skip-nav.entry.js +1 -1
  344. package/dist/esm/kol-span-wc_2.entry.js +1 -1
  345. package/dist/esm/kol-span-wc_2.entry.js.map +1 -1
  346. package/dist/esm/kol-span.entry.js +1 -1
  347. package/dist/esm/kol-span.entry.js.map +1 -1
  348. package/dist/esm/kol-spin.entry.js +1 -1
  349. package/dist/esm/kol-split-button.entry.js +1 -1
  350. package/dist/esm/kol-split-button.entry.js.map +1 -1
  351. package/dist/esm/kol-symbol.entry.js +1 -1
  352. package/dist/esm/kol-table.entry.js +1 -1
  353. package/dist/esm/kol-tabs.entry.js +1 -1
  354. package/dist/esm/kol-textarea.entry.js +1 -1
  355. package/dist/esm/kol-textarea.entry.js.map +1 -1
  356. package/dist/esm/kol-toast-container.entry.js +1 -1
  357. package/dist/esm/kol-toast.entry.js +1 -1
  358. package/dist/esm/kol-version.entry.js +1 -1
  359. package/dist/esm/kolibri.js +1 -1
  360. package/dist/esm/kolibri.js.map +1 -1
  361. package/dist/esm/{label-8045c28a.js → label-4bb4b8b0.js} +1 -1
  362. package/dist/esm/{label-8045c28a.js.map → label-4bb4b8b0.js.map} +1 -1
  363. package/dist/esm/loader.js +1 -1
  364. package/dist/esm/{open-18b6a394.js → open-1bbc69de.js} +1 -1
  365. package/dist/esm/{open-18b6a394.js.map → open-1bbc69de.js.map} +1 -1
  366. package/dist/esm/polyfills/core-js.js +0 -0
  367. package/dist/esm/polyfills/dom.js +0 -0
  368. package/dist/esm/polyfills/es5-html-element.js +0 -0
  369. package/dist/esm/polyfills/index.js +0 -0
  370. package/dist/esm/polyfills/system.js +0 -0
  371. package/dist/esm/{prop.validators-86c144b1.js → prop.validators-25add96a.js} +1 -1
  372. package/dist/esm/prop.validators-25add96a.js.map +1 -0
  373. package/dist/esm/{rows-13a217bd.js → rows-727d397f.js} +1 -1
  374. package/dist/esm/{rows-13a217bd.js.map → rows-727d397f.js.map} +1 -1
  375. package/dist/esm/{show-1223e4b7.js → show-fc17fc91.js} +1 -1
  376. package/dist/esm/{show-1223e4b7.js.map → show-fc17fc91.js.map} +1 -1
  377. package/dist/esm/{suggestions-94063690.js → suggestions-20b7d471.js} +1 -1
  378. package/dist/esm/{suggestions-94063690.js.map → suggestions-20b7d471.js.map} +1 -1
  379. package/dist/esm/{tab-index-e9b61515.js → tab-index-f5544a7b.js} +1 -1
  380. package/dist/esm/{tab-index-e9b61515.js.map → tab-index-f5544a7b.js.map} +1 -1
  381. package/dist/esm/{tooltip-align-fdff250f.js → tooltip-align-87f02e9d.js} +1 -1
  382. package/dist/esm/{tooltip-align-fdff250f.js.map → tooltip-align-87f02e9d.js.map} +1 -1
  383. package/dist/esm/validation-b971b214.js +4 -0
  384. package/dist/esm/{validation-4ded4ab0.js.map → validation-b971b214.js.map} +1 -1
  385. package/dist/esm/validation-ff9bb97a.js +4 -0
  386. package/dist/esm/{validation-b9c1d8b0.js.map → validation-ff9bb97a.js.map} +1 -1
  387. package/dist/kolibri/{a11y.tipps-d5e71271.js → a11y.tipps-86d2943f.js} +1 -1
  388. package/dist/kolibri/align-40fbf369.js +4 -0
  389. package/dist/kolibri/alignment-f29c9e3c.js +4 -0
  390. package/dist/kolibri/app-globals-50958dcb.js +4 -0
  391. package/dist/kolibri/{aria-current-0d0f1e03.js → aria-current-3785ded3.js} +1 -1
  392. package/dist/kolibri/{associated.controller-bcd8b030.js → associated.controller-12885637.js} +1 -1
  393. package/dist/kolibri/{color-9d685da7.js → color-3286e820.js} +1 -1
  394. package/dist/kolibri/color-3286e820.js.map +1 -0
  395. package/dist/kolibri/{controller-8f20ca63.js → controller-0214ed78.js} +1 -1
  396. package/dist/kolibri/controller-7378fe29.js +4 -0
  397. package/dist/kolibri/{controller-b7f0906a.js.map → controller-7378fe29.js.map} +1 -1
  398. package/dist/kolibri/{controller-b5d2a6f6.js → controller-9313a601.js} +1 -1
  399. package/dist/kolibri/{controller-cca691e0.js → controller-d5bd0829.js} +1 -1
  400. package/dist/kolibri/{controller-ab69b19f.js → controller-e361e808.js} +1 -1
  401. package/dist/kolibri/controller-icon-516c3ff2.js +4 -0
  402. package/dist/kolibri/{custom-class-010ba23e.js → custom-class-08f5fafe.js} +1 -1
  403. package/dist/kolibri/{dev.utils-ee97296f.js → dev.utils-387eb46c.js} +1 -1
  404. package/dist/kolibri/{dev.utils-ee97296f.js.map → dev.utils-387eb46c.js.map} +1 -1
  405. package/dist/kolibri/devtools-4ffc0378.js +4 -0
  406. package/dist/kolibri/floating-ui.dom.esm-e435ab9f.js +4 -0
  407. package/dist/kolibri/floating-ui.dom.esm-e435ab9f.js.map +1 -0
  408. package/dist/kolibri/has-closer-e73838e1.js +4 -0
  409. package/dist/kolibri/{has-closer-dde3d380.js.map → has-closer-e73838e1.js.map} +1 -1
  410. package/dist/kolibri/hide-label-fa80738c.js +4 -0
  411. package/dist/kolibri/{i18n-e8d84b26.js → i18n-bbfd20b1.js} +1 -1
  412. package/dist/kolibri/{icon-5329489f.js → icon-91abf20b.js} +1 -1
  413. package/dist/kolibri/image-source-e8ad9cfc.js +4 -0
  414. package/dist/kolibri/{index-98978c65.js → index-23225963.js} +1 -1
  415. package/dist/kolibri/index-23225963.js.map +1 -0
  416. package/dist/kolibri/index-3822b0c5.js.map +1 -0
  417. package/dist/kolibri/index-536799d5.js.map +1 -0
  418. package/dist/kolibri/index.esm.js +1 -1
  419. package/dist/kolibri/kol-abbr.entry.js +1 -1
  420. package/dist/kolibri/kol-accordion.entry.js +1 -1
  421. package/dist/kolibri/kol-alert-wc_3.entry.js +1 -1
  422. package/dist/kolibri/kol-alert-wc_3.entry.js.map +1 -1
  423. package/dist/kolibri/kol-alert.entry.js +1 -1
  424. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  425. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  426. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
  427. package/dist/kolibri/kol-avatar.entry.js +1 -1
  428. package/dist/kolibri/kol-badge.entry.js +1 -1
  429. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  430. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  431. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  432. package/dist/kolibri/kol-button-group.entry.js +1 -1
  433. package/dist/kolibri/kol-button-link-text-switch.entry.js +1 -1
  434. package/dist/kolibri/kol-button-link.entry.js +1 -1
  435. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  436. package/dist/kolibri/kol-button.entry.js +1 -1
  437. package/dist/kolibri/kol-button.entry.js.map +1 -1
  438. package/dist/kolibri/kol-card.entry.js +1 -1
  439. package/dist/kolibri/kol-card.entry.js.map +1 -1
  440. package/dist/kolibri/kol-details.entry.js +1 -1
  441. package/dist/kolibri/kol-form.entry.js +1 -1
  442. package/dist/kolibri/kol-heading.entry.js +1 -1
  443. package/dist/kolibri/kol-icon-font-awesome.entry.js +1 -1
  444. package/dist/kolibri/kol-icon-icofont.entry.js +1 -1
  445. package/dist/kolibri/kol-icon.entry.js +1 -1
  446. package/dist/kolibri/kol-image.entry.js +1 -1
  447. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  448. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  449. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  450. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  451. package/dist/kolibri/kol-input-color.entry.js +1 -1
  452. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  453. package/dist/kolibri/kol-input-date.entry.js +1 -1
  454. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  455. package/dist/kolibri/kol-input-email.entry.js +1 -1
  456. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  457. package/dist/kolibri/kol-input-file.entry.js +1 -1
  458. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  459. package/dist/kolibri/kol-input-number.entry.js +1 -1
  460. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  461. package/dist/kolibri/kol-input-password.entry.js +1 -1
  462. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  463. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  464. package/dist/kolibri/kol-input-radio-group.entry.js.map +1 -1
  465. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  466. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  467. package/dist/kolibri/kol-input-range.entry.js +1 -1
  468. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  469. package/dist/kolibri/kol-input-text.entry.js +1 -1
  470. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  471. package/dist/kolibri/kol-input.entry.js +1 -1
  472. package/dist/kolibri/kol-input.entry.js.map +1 -1
  473. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  474. package/dist/kolibri/kol-link-button.entry.js +1 -1
  475. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  476. package/dist/kolibri/kol-link-group.entry.js +1 -1
  477. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  478. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  479. package/dist/kolibri/kol-link.entry.js +1 -1
  480. package/dist/kolibri/kol-link.entry.js.map +1 -1
  481. package/dist/kolibri/kol-logo.entry.js +1 -1
  482. package/dist/kolibri/kol-modal.entry.js +1 -1
  483. package/dist/kolibri/kol-nav.entry.js +1 -1
  484. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  485. package/dist/kolibri/kol-pagination.entry.js +1 -1
  486. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  487. package/dist/kolibri/kol-popover.entry.js +1 -1
  488. package/dist/kolibri/kol-popover.entry.js.map +1 -1
  489. package/dist/kolibri/kol-progress.entry.js +1 -1
  490. package/dist/kolibri/kol-quote.entry.js +1 -1
  491. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  492. package/dist/kolibri/kol-select.entry.js +1 -1
  493. package/dist/kolibri/kol-select.entry.js.map +1 -1
  494. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  495. package/dist/kolibri/kol-span-wc_2.entry.js +1 -1
  496. package/dist/kolibri/kol-span-wc_2.entry.js.map +1 -1
  497. package/dist/kolibri/kol-span.entry.js +1 -1
  498. package/dist/kolibri/kol-span.entry.js.map +1 -1
  499. package/dist/kolibri/kol-spin.entry.js +1 -1
  500. package/dist/kolibri/kol-split-button.entry.js +1 -1
  501. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  502. package/dist/kolibri/kol-symbol.entry.js +1 -1
  503. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  504. package/dist/kolibri/kol-table.entry.js +1 -1
  505. package/dist/kolibri/kol-tabs.entry.js +1 -1
  506. package/dist/kolibri/kol-textarea.entry.js +1 -1
  507. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  508. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  509. package/dist/kolibri/kol-toast.entry.js +1 -1
  510. package/dist/kolibri/kol-version.entry.js +1 -1
  511. package/dist/kolibri/kolibri.esm.js +1 -1
  512. package/dist/kolibri/kolibri.esm.js.map +1 -1
  513. package/dist/kolibri/{label-8045c28a.js → label-4bb4b8b0.js} +1 -1
  514. package/dist/kolibri/open-1bbc69de.js +4 -0
  515. package/dist/kolibri/{open-18b6a394.js.map → open-1bbc69de.js.map} +1 -1
  516. package/dist/kolibri/prop.validators-25add96a.js +4 -0
  517. package/dist/kolibri/prop.validators-25add96a.js.map +1 -0
  518. package/dist/kolibri/rows-727d397f.js +4 -0
  519. package/dist/kolibri/show-fc17fc91.js +4 -0
  520. package/dist/kolibri/{show-1223e4b7.js.map → show-fc17fc91.js.map} +1 -1
  521. package/dist/kolibri/{suggestions-94063690.js → suggestions-20b7d471.js} +1 -1
  522. package/dist/kolibri/tab-index-f5544a7b.js +4 -0
  523. package/dist/kolibri/{tab-index-e9b61515.js.map → tab-index-f5544a7b.js.map} +1 -1
  524. package/dist/kolibri/tooltip-align-87f02e9d.js +4 -0
  525. package/dist/kolibri/validation-b971b214.js +4 -0
  526. package/dist/kolibri/validation-ff9bb97a.js +4 -0
  527. package/dist/types/components/link/component.d.ts +2 -1
  528. package/dist/types/components/link/shadow.d.ts +2 -1
  529. package/dist/types/components.d.ts +84 -70
  530. package/doc/alert.md +2 -2
  531. package/doc/badge.md +1 -1
  532. package/doc/button-link.md +2 -2
  533. package/doc/button.md +2 -2
  534. package/doc/card.md +2 -2
  535. package/doc/input-checkbox.md +1 -1
  536. package/doc/input-color.md +1 -1
  537. package/doc/input-date.md +1 -1
  538. package/doc/input-email.md +1 -1
  539. package/doc/input-file.md +1 -1
  540. package/doc/input-number.md +1 -1
  541. package/doc/input-password.md +1 -1
  542. package/doc/input-radio-group.md +2 -2
  543. package/doc/input-radio.md +1 -1
  544. package/doc/input-range.md +1 -1
  545. package/doc/input-text.md +1 -1
  546. package/doc/link-button.md +2 -2
  547. package/doc/link.md +4 -4
  548. package/doc/nav.md +3 -3
  549. package/doc/pagination.md +1 -1
  550. package/doc/popover.md +4 -4
  551. package/doc/quote.md +1 -1
  552. package/doc/select.md +2 -2
  553. package/doc/span.md +1 -1
  554. package/doc/split-button.md +3 -3
  555. package/doc/textarea.md +2 -2
  556. package/doc/tooltip.md +1 -1
  557. package/package.json +18 -6
  558. package/vscode-custom-data.json +27 -27
  559. package/dist/cjs/align-a72e532d.js +0 -4
  560. package/dist/cjs/aria-current-4e34cb0e.js +0 -4
  561. package/dist/cjs/floating-ui.dom.esm-f74cc295.js +0 -4
  562. package/dist/cjs/floating-ui.dom.esm-f74cc295.js.map +0 -1
  563. package/dist/cjs/has-closer-9b676d55.js +0 -4
  564. package/dist/cjs/hide-label-9535ac09.js +0 -4
  565. package/dist/cjs/image-source-24237406.js +0 -4
  566. package/dist/cjs/index-330353f3.js.map +0 -1
  567. package/dist/cjs/open-e76337d6.js +0 -4
  568. package/dist/cjs/prop.validators-c6674982.js.map +0 -1
  569. package/dist/cjs/rows-7cfd562c.js +0 -4
  570. package/dist/cjs/show-b711d0dc.js +0 -4
  571. package/dist/cjs/validation-9b4df76d.js +0 -4
  572. package/dist/esm/floating-ui.dom.esm-9e2fa6c7.js +0 -4
  573. package/dist/esm/floating-ui.dom.esm-9e2fa6c7.js.map +0 -1
  574. package/dist/esm/index-c51a2b6f.js.map +0 -1
  575. package/dist/esm/prop.validators-86c144b1.js.map +0 -1
  576. package/dist/esm/validation-4ded4ab0.js +0 -4
  577. package/dist/esm/validation-b9c1d8b0.js +0 -4
  578. package/dist/kolibri/align-af5d7662.js +0 -4
  579. package/dist/kolibri/alignment-40963ad9.js +0 -4
  580. package/dist/kolibri/app-globals-28e273ea.js +0 -4
  581. package/dist/kolibri/color-9d685da7.js.map +0 -1
  582. package/dist/kolibri/controller-b7f0906a.js +0 -4
  583. package/dist/kolibri/controller-icon-290445e9.js +0 -4
  584. package/dist/kolibri/devtools-0840683e.js +0 -4
  585. package/dist/kolibri/floating-ui.dom.esm-9e2fa6c7.js +0 -4
  586. package/dist/kolibri/floating-ui.dom.esm-9e2fa6c7.js.map +0 -1
  587. package/dist/kolibri/has-closer-dde3d380.js +0 -4
  588. package/dist/kolibri/hide-label-69fa12aa.js +0 -4
  589. package/dist/kolibri/image-source-6b5f8563.js +0 -4
  590. package/dist/kolibri/index-98978c65.js.map +0 -1
  591. package/dist/kolibri/index-c51a2b6f.js.map +0 -1
  592. package/dist/kolibri/index-d49940eb.js.map +0 -1
  593. package/dist/kolibri/open-18b6a394.js +0 -4
  594. package/dist/kolibri/prop.validators-86c144b1.js +0 -4
  595. package/dist/kolibri/prop.validators-86c144b1.js.map +0 -1
  596. package/dist/kolibri/rows-13a217bd.js +0 -4
  597. package/dist/kolibri/show-1223e4b7.js +0 -4
  598. package/dist/kolibri/tab-index-e9b61515.js +0 -4
  599. package/dist/kolibri/tooltip-align-fdff250f.js +0 -4
  600. package/dist/kolibri/validation-4ded4ab0.js +0 -4
  601. package/dist/kolibri/validation-b9c1d8b0.js +0 -4
  602. /package/dist/cjs/{index-330353f3.js → index-2feae351.js} +0 -0
  603. /package/dist/cjs/{index-21737b53.js → index-f96a013d.js} +0 -0
  604. /package/dist/esm/{index-d49940eb.js → index-3822b0c5.js} +0 -0
  605. /package/dist/esm/{index-c51a2b6f.js → index-536799d5.js} +0 -0
  606. /package/dist/kolibri/{a11y.tipps-d5e71271.js.map → a11y.tipps-86d2943f.js.map} +0 -0
  607. /package/dist/kolibri/{align-af5d7662.js.map → align-40fbf369.js.map} +0 -0
  608. /package/dist/kolibri/{alignment-40963ad9.js.map → alignment-f29c9e3c.js.map} +0 -0
  609. /package/dist/kolibri/{app-globals-28e273ea.js.map → app-globals-50958dcb.js.map} +0 -0
  610. /package/dist/kolibri/{aria-current-0d0f1e03.js.map → aria-current-3785ded3.js.map} +0 -0
  611. /package/dist/kolibri/{associated.controller-bcd8b030.js.map → associated.controller-12885637.js.map} +0 -0
  612. /package/dist/kolibri/{controller-8f20ca63.js.map → controller-0214ed78.js.map} +0 -0
  613. /package/dist/kolibri/{controller-b5d2a6f6.js.map → controller-9313a601.js.map} +0 -0
  614. /package/dist/kolibri/{controller-cca691e0.js.map → controller-d5bd0829.js.map} +0 -0
  615. /package/dist/kolibri/{controller-ab69b19f.js.map → controller-e361e808.js.map} +0 -0
  616. /package/dist/kolibri/{controller-icon-290445e9.js.map → controller-icon-516c3ff2.js.map} +0 -0
  617. /package/dist/kolibri/{custom-class-010ba23e.js.map → custom-class-08f5fafe.js.map} +0 -0
  618. /package/dist/kolibri/{devtools-0840683e.js.map → devtools-4ffc0378.js.map} +0 -0
  619. /package/dist/kolibri/{hide-label-69fa12aa.js.map → hide-label-fa80738c.js.map} +0 -0
  620. /package/dist/kolibri/{i18n-e8d84b26.js.map → i18n-bbfd20b1.js.map} +0 -0
  621. /package/dist/kolibri/{icon-5329489f.js.map → icon-91abf20b.js.map} +0 -0
  622. /package/dist/kolibri/{image-source-6b5f8563.js.map → image-source-e8ad9cfc.js.map} +0 -0
  623. /package/dist/kolibri/{index-d49940eb.js → index-3822b0c5.js} +0 -0
  624. /package/dist/kolibri/{index-c51a2b6f.js → index-536799d5.js} +0 -0
  625. /package/dist/kolibri/{label-8045c28a.js.map → label-4bb4b8b0.js.map} +0 -0
  626. /package/dist/kolibri/{rows-13a217bd.js.map → rows-727d397f.js.map} +0 -0
  627. /package/dist/kolibri/{suggestions-94063690.js.map → suggestions-20b7d471.js.map} +0 -0
  628. /package/dist/kolibri/{tooltip-align-fdff250f.js.map → tooltip-align-87f02e9d.js.map} +0 -0
  629. /package/dist/kolibri/{validation-4ded4ab0.js.map → validation-b971b214.js.map} +0 -0
  630. /package/dist/kolibri/{validation-b9c1d8b0.js.map → validation-ff9bb97a.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.0-rc.14",
2
+ "version": "1.7.0-rc.15",
3
3
  "tags": [
4
4
  {
5
5
  "name": "kol-abbr",
@@ -94,14 +94,12 @@
94
94
  "name": "_alert",
95
95
  "type": "boolean | undefined",
96
96
  "description": "Defines whether the screen-readers should read out the notification.",
97
- "defaultValue": "false",
98
97
  "required": false
99
98
  },
100
99
  {
101
100
  "name": "_has-closer",
102
101
  "type": "boolean | undefined",
103
- "description": "Defines whether the card has a close button.",
104
- "defaultValue": "false",
102
+ "description": "Defines whether the element can be closed.",
105
103
  "required": false
106
104
  },
107
105
  {
@@ -157,14 +155,12 @@
157
155
  "name": "_alert",
158
156
  "type": "boolean | undefined",
159
157
  "description": "Defines whether the screen-readers should read out the notification.",
160
- "defaultValue": "false",
161
158
  "required": false
162
159
  },
163
160
  {
164
161
  "name": "_has-closer",
165
162
  "type": "boolean | undefined",
166
163
  "description": "Defines whether the element can be closed.",
167
- "defaultValue": "false",
168
164
  "required": false
169
165
  },
170
166
  {
@@ -267,7 +263,6 @@
267
263
  "name": "_hide-label",
268
264
  "type": "boolean | undefined",
269
265
  "description": "Deprecated:\n⚠️ We do not support the `_hide-label` property for the `kol-badge` element,\n since it would not be accessible without visible labeling. A separate tooltip\n is not planed, because a badge is not an interactive element.",
270
- "defaultValue": "false",
271
266
  "required": false
272
267
  },
273
268
  {
@@ -380,14 +375,12 @@
380
375
  "name": "_disabled",
381
376
  "type": "boolean | undefined",
382
377
  "description": "Makes the element not focusable and ignore all events.",
383
- "defaultValue": "false",
384
378
  "required": false
385
379
  },
386
380
  {
387
381
  "name": "_hide-label",
388
382
  "type": "boolean | undefined",
389
- "description": "Hides the label and shows the description in a Tooltip instead.",
390
- "defaultValue": "false",
383
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
391
384
  "required": false
392
385
  },
393
386
  {
@@ -536,14 +529,12 @@
536
529
  "name": "_disabled",
537
530
  "type": "boolean | undefined",
538
531
  "description": "Makes the element not focusable and ignore all events.",
539
- "defaultValue": "false",
540
532
  "required": false
541
533
  },
542
534
  {
543
535
  "name": "_hide-label",
544
536
  "type": "boolean | undefined",
545
- "description": "Hides the label and shows the description in a Tooltip instead.",
546
- "defaultValue": "false",
537
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
547
538
  "required": false
548
539
  },
549
540
  {
@@ -623,14 +614,12 @@
623
614
  "name": "_has-closer",
624
615
  "type": "boolean | undefined",
625
616
  "description": "Defines whether the element can be closed.",
626
- "defaultValue": "false",
627
617
  "required": false
628
618
  },
629
619
  {
630
620
  "name": "_has-footer",
631
621
  "type": "boolean | undefined",
632
622
  "description": "Shows the slot=\"footer\".",
633
- "defaultValue": "false",
634
623
  "required": false
635
624
  },
636
625
  {
@@ -1026,7 +1015,7 @@
1026
1015
  {
1027
1016
  "name": "_hide-label",
1028
1017
  "type": "boolean | undefined",
1029
- "description": "Hides the label and shows the description in a Tooltip instead.",
1018
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
1030
1019
  "required": false
1031
1020
  },
1032
1021
  {
@@ -1168,7 +1157,7 @@
1168
1157
  {
1169
1158
  "name": "_hide-label",
1170
1159
  "type": "boolean | undefined",
1171
- "description": "Hides the label.",
1160
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
1172
1161
  "required": false
1173
1162
  },
1174
1163
  {
@@ -1303,7 +1292,7 @@
1303
1292
  {
1304
1293
  "name": "_hide-label",
1305
1294
  "type": "boolean | undefined",
1306
- "description": "Hides the label.",
1295
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
1307
1296
  "required": false
1308
1297
  },
1309
1298
  {
@@ -1481,7 +1470,7 @@
1481
1470
  {
1482
1471
  "name": "_hide-label",
1483
1472
  "type": "boolean | undefined",
1484
- "description": "Hides the label.",
1473
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
1485
1474
  "required": false
1486
1475
  },
1487
1476
  {
@@ -1658,7 +1647,7 @@
1658
1647
  {
1659
1648
  "name": "_hide-label",
1660
1649
  "type": "boolean | undefined",
1661
- "description": "Hides the label.",
1650
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
1662
1651
  "required": false
1663
1652
  },
1664
1653
  {
@@ -1793,7 +1782,7 @@
1793
1782
  {
1794
1783
  "name": "_hide-label",
1795
1784
  "type": "boolean | undefined",
1796
- "description": "Hides the label.",
1785
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
1797
1786
  "required": false
1798
1787
  },
1799
1788
  {
@@ -1977,7 +1966,7 @@
1977
1966
  {
1978
1967
  "name": "_hide-label",
1979
1968
  "type": "boolean | undefined",
1980
- "description": "Hides the label.",
1969
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
1981
1970
  "required": false
1982
1971
  },
1983
1972
  {
@@ -2130,7 +2119,7 @@
2130
2119
  {
2131
2120
  "name": "_hide-label",
2132
2121
  "type": "boolean | undefined",
2133
- "description": "Hides the label.",
2122
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
2134
2123
  "required": false
2135
2124
  },
2136
2125
  {
@@ -2253,7 +2242,7 @@
2253
2242
  {
2254
2243
  "name": "_hide-label",
2255
2244
  "type": "boolean | undefined",
2256
- "description": "Hides the label and shows the description in a Tooltip instead.",
2245
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
2257
2246
  "required": false
2258
2247
  },
2259
2248
  {
@@ -2310,7 +2299,6 @@
2310
2299
  "name": "_touched",
2311
2300
  "type": "boolean | undefined",
2312
2301
  "description": "Gibt an, ob dieses Eingabefeld von Nutzer:innen einmal besucht/berührt wurde.",
2313
- "defaultValue": "false",
2314
2302
  "required": false
2315
2303
  },
2316
2304
  {
@@ -2371,7 +2359,7 @@
2371
2359
  {
2372
2360
  "name": "_hide-label",
2373
2361
  "type": "boolean | undefined",
2374
- "description": "Hides the label.",
2362
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
2375
2363
  "required": false
2376
2364
  },
2377
2365
  {
@@ -2524,7 +2512,7 @@
2524
2512
  {
2525
2513
  "name": "_hide-label",
2526
2514
  "type": "boolean | undefined",
2527
- "description": "Hides the label.",
2515
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
2528
2516
  "required": false
2529
2517
  },
2530
2518
  {
@@ -2725,7 +2713,6 @@
2725
2713
  "name": "_disabled",
2726
2714
  "type": "boolean | undefined",
2727
2715
  "description": "Deprecated: Makes the element not focusable and ignore all events.",
2728
- "defaultValue": "false",
2729
2716
  "required": false
2730
2717
  },
2731
2718
  {
@@ -2737,14 +2724,13 @@
2737
2724
  {
2738
2725
  "name": "_hide-label",
2739
2726
  "type": "boolean | undefined",
2740
- "description": "Hides the label and shows the description in a Tooltip instead.",
2741
- "defaultValue": "false",
2727
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
2742
2728
  "required": false
2743
2729
  },
2744
2730
  {
2745
2731
  "name": "_href",
2746
2732
  "type": "string",
2747
- "description": "Defines the target URI of the link.",
2733
+ "description": "Sets the target URI of the link or citation source.",
2748
2734
  "required": true
2749
2735
  },
2750
2736
  {
@@ -2793,7 +2779,6 @@
2793
2779
  "name": "_stealth",
2794
2780
  "type": "boolean | undefined",
2795
2781
  "description": "Deprecated: Gibt an, ob der Link nur beim Fokus sichtbar ist.",
2796
- "defaultValue": "false",
2797
2782
  "required": false
2798
2783
  },
2799
2784
  {
@@ -2880,7 +2865,6 @@
2880
2865
  "name": "_disabled",
2881
2866
  "type": "boolean | undefined",
2882
2867
  "description": "Deprecated: Makes the element not focusable and ignore all events.",
2883
- "defaultValue": "false",
2884
2868
  "required": false
2885
2869
  },
2886
2870
  {
@@ -2892,8 +2876,7 @@
2892
2876
  {
2893
2877
  "name": "_hide-label",
2894
2878
  "type": "boolean | undefined",
2895
- "description": "Hides the label and shows the description in a Tooltip instead.",
2896
- "defaultValue": "false",
2879
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
2897
2880
  "required": false
2898
2881
  },
2899
2882
  {
@@ -3118,21 +3101,18 @@
3118
3101
  "name": "_compact",
3119
3102
  "type": "boolean | undefined",
3120
3103
  "description": "Deprecated: Gibt an, ob die Navigation kompakt angezeigt wird.",
3121
- "defaultValue": "false",
3122
3104
  "required": false
3123
3105
  },
3124
3106
  {
3125
3107
  "name": "_has-compact-button",
3126
3108
  "type": "boolean | undefined",
3127
3109
  "description": "Deprecated: Gibt an, ob die Navigation eine zusätzliche Schaltfläche zum Aus- und Einklappen der Navigation anzeigen soll.",
3128
- "defaultValue": "false",
3129
3110
  "required": false
3130
3111
  },
3131
3112
  {
3132
3113
  "name": "_hide-label",
3133
3114
  "type": "boolean | undefined",
3134
- "description": "Hides the label.",
3135
- "defaultValue": "false",
3115
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
3136
3116
  "required": false
3137
3117
  },
3138
3118
  {
@@ -3182,7 +3162,7 @@
3182
3162
  {
3183
3163
  "name": "_custom-class",
3184
3164
  "type": "string | undefined",
3185
- "description": "Defines the custom class attribute for the buttons.",
3165
+ "description": "Defines the custom class attribute if _variant=\"custom\" is set.",
3186
3166
  "required": false
3187
3167
  },
3188
3168
  {
@@ -3259,7 +3239,7 @@
3259
3239
  {
3260
3240
  "name": "_align",
3261
3241
  "type": "\"bottom\" | \"left\" | \"right\" | \"top\" | undefined",
3262
- "description": "Defines where to show the Tooltip preferably: top, right, bottom or left. In relation to trigger element.",
3242
+ "description": "Defines the alignment of the tooltip, popover or tabs in relation to the element.",
3263
3243
  "defaultValue": "'top'",
3264
3244
  "required": false
3265
3245
  },
@@ -3343,7 +3323,7 @@
3343
3323
  {
3344
3324
  "name": "_href",
3345
3325
  "type": "string",
3346
- "description": "Defines the link to the source of the quote.",
3326
+ "description": "Sets the target URI of the link or citation source.",
3347
3327
  "required": true
3348
3328
  },
3349
3329
  {
@@ -3417,7 +3397,7 @@
3417
3397
  {
3418
3398
  "name": "_hide-label",
3419
3399
  "type": "boolean | undefined",
3420
- "description": "Hides the label.",
3400
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
3421
3401
  "required": false
3422
3402
  },
3423
3403
  {
@@ -3455,7 +3435,6 @@
3455
3435
  "name": "_multiple",
3456
3436
  "type": "boolean | undefined",
3457
3437
  "description": "Makes the input accept multiple inputs.",
3458
- "defaultValue": "false",
3459
3438
  "required": false
3460
3439
  },
3461
3440
  {
@@ -3562,8 +3541,7 @@
3562
3541
  {
3563
3542
  "name": "_hide-label",
3564
3543
  "type": "boolean | undefined",
3565
- "description": "Hides the label and shows the description in a Tooltip instead.",
3566
- "defaultValue": "false",
3544
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
3567
3545
  "required": false
3568
3546
  },
3569
3547
  {
@@ -3660,14 +3638,12 @@
3660
3638
  "name": "_disabled",
3661
3639
  "type": "boolean | undefined",
3662
3640
  "description": "Makes the element not focusable and ignore all events.",
3663
- "defaultValue": "false",
3664
3641
  "required": false
3665
3642
  },
3666
3643
  {
3667
3644
  "name": "_hide-label",
3668
3645
  "type": "boolean | undefined",
3669
- "description": "Hides the label and shows the description in a Tooltip instead.",
3670
- "defaultValue": "false",
3646
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
3671
3647
  "required": false
3672
3648
  },
3673
3649
  {
@@ -3710,7 +3686,7 @@
3710
3686
  {
3711
3687
  "name": "_show-dropdown",
3712
3688
  "type": "boolean | undefined",
3713
- "description": "Defines whether to show the dropdown menu.",
3689
+ "description": "Deprecated: Defines whether to show the dropdown menu.",
3714
3690
  "defaultValue": "false",
3715
3691
  "required": false
3716
3692
  },
@@ -3905,7 +3881,6 @@
3905
3881
  "name": "_adjust-height",
3906
3882
  "type": "boolean | undefined",
3907
3883
  "description": "Adjusts the height of the element to its content.",
3908
- "defaultValue": "false",
3909
3884
  "required": false
3910
3885
  },
3911
3886
  {
@@ -3943,7 +3918,7 @@
3943
3918
  {
3944
3919
  "name": "_hide-label",
3945
3920
  "type": "boolean | undefined",
3946
- "description": "Hides the label.",
3921
+ "description": "Hides the caption by default and displays the caption text with a tooltip when the\ninteractive element is focused or the mouse is over it.",
3947
3922
  "required": false
3948
3923
  },
3949
3924
  {
@@ -4104,7 +4079,7 @@
4104
4079
  {
4105
4080
  "name": "_align",
4106
4081
  "type": "\"bottom\" | \"left\" | \"right\" | \"top\" | undefined",
4107
- "description": "Defines the alignment of the tooltip in relation to the parent element.",
4082
+ "description": "Defines the alignment of the tooltip, popover or tabs in relation to the element.",
4108
4083
  "defaultValue": "'top'",
4109
4084
  "required": false
4110
4085
  },
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const dev_utils=require("./dev.utils-17b0ffeb.js"),a11yCache=new Set,a11yHint=(e,i)=>{(!1===a11yCache.has(e)||(null==i?void 0:i.force))&&(a11yCache.add(e),dev_utils.Log.debug([e].concat((null==i?void 0:i.details)||[]),{classifier:"✋ a11y",overwriteStyle:"; background-color: #09f"}))},deprecatedCache=new Set,deprecatedHint=(e,i)=>{(!1===deprecatedCache.has(e)||(null==i?void 0:i.force))&&(deprecatedCache.add(e),dev_utils.Log.warn([e].concat((null==i?void 0:i.details)||[]),{classifier:"🔥 deprecated",overwriteStyle:"; background-color: #f00"}))},devCache=new Set,devHint=(e,i)=>{(!1===devCache.has(e)||(null==i?void 0:i.force))&&(devCache.add(e),dev_utils.Log.debug([e].concat((null==i?void 0:i.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},devWarning=(e,i)=>{(!1===devCache.has(e)||(null==i?void 0:i.force))&&(devCache.add(e),dev_utils.Log.warn([e].concat((null==i?void 0:i.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},featureCache=new Set,featureHint=(e,i=!1,n)=>{(!1===featureCache.has(e)||(null==n?void 0:n.force))&&(featureCache.add(e),e+=!0===i?" ✅":"",dev_utils.Log.debug([e].concat((null==n?void 0:n.details)||[]),{classifier:"🌟 feature",overwriteStyle:"; background-color: #309"}))};devHint("Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!");const uiUxCache=new Set,uiUxHint=(e,i)=>{(!1===uiUxCache.has(e)||(null==i?void 0:i.force))&&(uiUxCache.add(e),dev_utils.Log.debug([e].concat((null==i?void 0:i.details)||[]),{classifier:"📑 ui/ux",overwriteStyle:"; background-color: #060;"}))},a11yHintDisabled=()=>{a11yHint('"Disabled" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae')},a11yHintLabelingLandmarks=e=>{"string"==typeof e&&""!==e||a11yHint("Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},uiUxHintMillerscheZahl=(e,i=8)=>{i>7&&uiUxHint(`[${e}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`)};exports.a11yHint=a11yHint,exports.a11yHintDisabled=a11yHintDisabled,exports.a11yHintLabelingLandmarks=a11yHintLabelingLandmarks,exports.deprecatedHint=deprecatedHint,exports.devHint=devHint,exports.devWarning=devWarning,exports.featureHint=featureHint,exports.uiUxHint=uiUxHint,exports.uiUxHintMillerscheZahl=uiUxHintMillerscheZahl;
4
+ "use strict";const dev_utils=require("./dev.utils-d2b2471b.js"),a11yCache=new Set,a11yHint=(e,i)=>{(!1===a11yCache.has(e)||(null==i?void 0:i.force))&&(a11yCache.add(e),dev_utils.Log.debug([e].concat((null==i?void 0:i.details)||[]),{classifier:"✋ a11y",overwriteStyle:"; background-color: #09f"}))},deprecatedCache=new Set,deprecatedHint=(e,i)=>{(!1===deprecatedCache.has(e)||(null==i?void 0:i.force))&&(deprecatedCache.add(e),dev_utils.Log.warn([e].concat((null==i?void 0:i.details)||[]),{classifier:"🔥 deprecated",overwriteStyle:"; background-color: #f00"}))},devCache=new Set,devHint=(e,i)=>{(!1===devCache.has(e)||(null==i?void 0:i.force))&&(devCache.add(e),dev_utils.Log.debug([e].concat((null==i?void 0:i.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},devWarning=(e,i)=>{(!1===devCache.has(e)||(null==i?void 0:i.force))&&(devCache.add(e),dev_utils.Log.warn([e].concat((null==i?void 0:i.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},featureCache=new Set,featureHint=(e,i=!1,n)=>{(!1===featureCache.has(e)||(null==n?void 0:n.force))&&(featureCache.add(e),e+=!0===i?" ✅":"",dev_utils.Log.debug([e].concat((null==n?void 0:n.details)||[]),{classifier:"🌟 feature",overwriteStyle:"; background-color: #309"}))};devHint("Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!");const uiUxCache=new Set,uiUxHint=(e,i)=>{(!1===uiUxCache.has(e)||(null==i?void 0:i.force))&&(uiUxCache.add(e),dev_utils.Log.debug([e].concat((null==i?void 0:i.details)||[]),{classifier:"📑 ui/ux",overwriteStyle:"; background-color: #060;"}))},a11yHintDisabled=()=>{a11yHint('"Disabled" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae')},a11yHintLabelingLandmarks=e=>{"string"==typeof e&&""!==e||a11yHint("Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},uiUxHintMillerscheZahl=(e,i=8)=>{i>7&&uiUxHint(`[${e}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`)};exports.a11yHint=a11yHint,exports.a11yHintDisabled=a11yHintDisabled,exports.a11yHintLabelingLandmarks=a11yHintLabelingLandmarks,exports.deprecatedHint=deprecatedHint,exports.devHint=devHint,exports.devWarning=devWarning,exports.featureHint=featureHint,exports.uiUxHint=uiUxHint,exports.uiUxHintMillerscheZahl=uiUxHintMillerscheZahl;
@@ -1 +1 @@
1
- {"file":"a11y.tipps-66cfefcd.js","mappings":";;;;;;;AAOA,MAAM,SAAS,GAAgB,IAAI,GAAG,EAAE,CAAC;MAC5B,QAAQ,GAAG,CAAC,GAAW,EAAE,OAAqB;EAC1D,IAAI,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,KAAK,IAAI,CAAC,EAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAA,EAAE;IACrD,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnBA,aAAG,CAAC,KAAK,CAAE,CAAC,GAAG,CAAe,CAAC,MAAM,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,KAAI,EAAE,CAAC,EAAE;MAC9D,UAAU,EAAE,QAAQ;MACpB,cAAc,EAAE,0BAA0B;KAC1C,CAAC,CAAC;GAC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OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,KAAI,EAAE,CAAC,EAAE;MAC9D,UAAU,EAAE,UAAU;MACtB,cAAc,EAAE,2BAA2B;KAC3C,CAAC,CAAC;GACH;AACF,EAAE;MAEW,gBAAgB,GAAG;EAC/B,QAAQ,CACP,oOAAoO,CACpO,CAAC;AACH,EAAE;MAEW,yBAAyB,GAAG,CAAC,KAAc;EACvD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE,EAAE;IAC9C,QAAQ,CACP,qVAAqV,CACrV,CAAC;GACF;AACF,EAAE;MAEW,sBAAsB,GAAG,CAAC,SAAiB,EAAE,MAAM,GAAG,CAAC;EACnE,IAAI,MAAM,GAAG,CAAC,EAAE;IACf,QAAQ,CACP,IAAI,SAAS;;;;gDAIgC,CAC7C,CAAC;GACF;AACF;;;;;;;;;;;;","names":["Log"],"sources":["src/utils/a11y.tipps.ts"],"sourcesContent":["import { Log } from './dev.utils';\n\ntype HintOptions = {\n\tdetails?: unknown[];\n\tforce?: boolean;\n};\n\nconst a11yCache: Set<string> = new Set();\nexport const a11yHint = (msg: string, options?: HintOptions): void => {\n\tif (a11yCache.has(msg) === false || !!options?.force) {\n\t\ta11yCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `✋ a11y`,\n\t\t\toverwriteStyle: '; background-color: #09f',\n\t\t});\n\t}\n};\n\nconst deprecatedCache: Set<string> = new Set();\nexport const deprecatedHint = (msg: string, options?: HintOptions): void => {\n\tif (deprecatedCache.has(msg) === false || !!options?.force) {\n\t\tdeprecatedCache.add(msg);\n\t\tLog.warn(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `🔥 deprecated`,\n\t\t\toverwriteStyle: '; background-color: #f00',\n\t\t});\n\t}\n};\n\nconst devCache: Set<string> = new Set();\nexport const devHint = (msg: string, options?: HintOptions): void => {\n\tif (devCache.has(msg) === false || !!options?.force) {\n\t\tdevCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `💻 dev`,\n\t\t\toverwriteStyle: '; background-color: #f09',\n\t\t});\n\t}\n};\nexport const devWarning = (msg: string, options?: HintOptions): void => {\n\tif (devCache.has(msg) === false || !!options?.force) {\n\t\tdevCache.add(msg);\n\t\tLog.warn(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `💻 dev`,\n\t\t\toverwriteStyle: '; background-color: #f09',\n\t\t});\n\t}\n};\n\nconst featureCache: Set<string> = new Set();\nexport const featureHint = (msg: string, done = false, options?: HintOptions): void => {\n\tif (featureCache.has(msg) === false || !!options?.force) {\n\t\tfeatureCache.add(msg);\n\t\tmsg += done === true ? ' ✅' : '';\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `🌟 feature`,\n\t\t\toverwriteStyle: '; background-color: #309',\n\t\t});\n\t}\n};\ndevHint(\n\t`Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!`\n);\n\nconst uiUxCache: Set<string> = new Set();\nexport const uiUxHint = (msg: string, options?: HintOptions): void => {\n\tif (uiUxCache.has(msg) === false || !!options?.force) {\n\t\tuiUxCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `📑 ui/ux`,\n\t\t\toverwriteStyle: '; background-color: #060;',\n\t\t});\n\t}\n};\n\nexport const a11yHintDisabled = (): void => {\n\ta11yHint(\n\t\t`\"Disabled\" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae`\n\t);\n};\n\nexport const a11yHintLabelingLandmarks = (value: unknown): void => {\n\tif (typeof value !== 'string' || value === '') {\n\t\ta11yHint(\n\t\t\t`Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`\n\t\t);\n\t}\n};\n\nexport const uiUxHintMillerscheZahl = (className: string, length = 8): void => {\n\tif (length > 7) {\n\t\tuiUxHint(\n\t\t\t`[${className}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`\n\t\t);\n\t}\n};\n"],"version":3}
1
+ {"file":"a11y.tipps-0134082a.js","mappings":";;;;;;;AAOA,MAAM,SAAS,GAAgB,IAAI,GAAG,EAAE,CAAC;MAC5B,QAAQ,GAAG,CAAC,GAAW,EAAE,OAAqB;EAC1D,IAAI,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,KAAK,IAAI,CAAC,EAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAA,EAAE;IACrD,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnBA,aAAG,CAAC,KAAK,CAAE,CAAC,GAAG,CAAe,CAAC,MAAM,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,KAAI,EAAE,CAAC,EAAE;MAC9D,UAAU,EAAE,QAAQ;MACpB,cAAc,EAAE,0BAA0B;KAC1C,CAAC,CAAC;GACH;AACF,EAAE;AAEF,MAAM,eAAe,GAAgB,IAAI,GAAG,EAAE,CAAC;MAClC,cAAc,GAAG,CAAC,GAAW,EAAE,OAAqB;EAChE,IAAI,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,KAAK,IAAI,CAAC,EAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK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AEW,yBAAyB,GAAG,CAAC,KAAc;EACvD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE,EAAE;IAC9C,QAAQ,CACP,qVAAqV,CACrV,CAAC;GACF;AACF,EAAE;MAEW,sBAAsB,GAAG,CAAC,SAAiB,EAAE,MAAM,GAAG,CAAC;EACnE,IAAI,MAAM,GAAG,CAAC,EAAE;IACf,QAAQ,CACP,IAAI,SAAS;;;;gDAIgC,CAC7C,CAAC;GACF;AACF;;;;;;;;;;;;","names":["Log"],"sources":["src/utils/a11y.tipps.ts"],"sourcesContent":["import { Log } from './dev.utils';\n\ntype HintOptions = {\n\tdetails?: unknown[];\n\tforce?: boolean;\n};\n\nconst a11yCache: Set<string> = new Set();\nexport const a11yHint = (msg: string, options?: HintOptions): void => {\n\tif (a11yCache.has(msg) === false || !!options?.force) {\n\t\ta11yCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `✋ a11y`,\n\t\t\toverwriteStyle: '; background-color: #09f',\n\t\t});\n\t}\n};\n\nconst deprecatedCache: Set<string> = new Set();\nexport const deprecatedHint = (msg: string, options?: HintOptions): void => {\n\tif (deprecatedCache.has(msg) === false || !!options?.force) {\n\t\tdeprecatedCache.add(msg);\n\t\tLog.warn(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `🔥 deprecated`,\n\t\t\toverwriteStyle: '; background-color: #f00',\n\t\t});\n\t}\n};\n\nconst devCache: Set<string> = new Set();\nexport const devHint = (msg: string, options?: HintOptions): void => {\n\tif (devCache.has(msg) === false || !!options?.force) {\n\t\tdevCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `💻 dev`,\n\t\t\toverwriteStyle: '; background-color: #f09',\n\t\t});\n\t}\n};\nexport const devWarning = (msg: string, options?: HintOptions): void => {\n\tif (devCache.has(msg) === false || !!options?.force) {\n\t\tdevCache.add(msg);\n\t\tLog.warn(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `💻 dev`,\n\t\t\toverwriteStyle: '; background-color: #f09',\n\t\t});\n\t}\n};\n\nconst featureCache: Set<string> = new Set();\nexport const featureHint = (msg: string, done = false, options?: HintOptions): void => {\n\tif (featureCache.has(msg) === false || !!options?.force) {\n\t\tfeatureCache.add(msg);\n\t\tmsg += done === true ? ' ✅' : '';\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `🌟 feature`,\n\t\t\toverwriteStyle: '; background-color: #309',\n\t\t});\n\t}\n};\ndevHint(\n\t`Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!`\n);\n\nconst uiUxCache: Set<string> = new Set();\nexport const uiUxHint = (msg: string, options?: HintOptions): void => {\n\tif (uiUxCache.has(msg) === false || !!options?.force) {\n\t\tuiUxCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `📑 ui/ux`,\n\t\t\toverwriteStyle: '; background-color: #060;',\n\t\t});\n\t}\n};\n\nexport const a11yHintDisabled = (): void => {\n\ta11yHint(\n\t\t`\"Disabled\" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae`\n\t);\n};\n\nexport const a11yHintLabelingLandmarks = (value: unknown): void => {\n\tif (typeof value !== 'string' || value === '') {\n\t\ta11yHint(\n\t\t\t`Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`\n\t\t);\n\t}\n};\n\nexport const uiUxHintMillerscheZahl = (className: string, length = 8): void => {\n\tif (length > 7) {\n\t\tuiUxHint(\n\t\t\t`[${className}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`\n\t\t);\n\t}\n};\n"],"version":3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ "use strict";const alignment=require("./alignment-a90208e0.js"),validateAlign=(i,a)=>{alignment.validateAlignment(i,"_align",a)};exports.validateAlign=validateAlign;
@@ -1 +1 @@
1
- {"file":"align-a72e532d.js","mappings":";;;;;;;MAiBa,aAAa,GAAG,CAAC,SAAoC,EAAE,KAAqB;EACxFA,2BAAiB,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AAC/C;;;;","names":["validateAlignment"],"sources":["src/types/props/align.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { validateAlignment } from '../../utils/validators/alignment';\n\n/* types */\ntype HorizontalAlign = 'left' | 'right';\ntype VerticalAlign = 'top' | 'bottom';\nexport type AlignPropType = HorizontalAlign | VerticalAlign;\n\n/**\n * Defines where to show the element preferably: top, right, bottom or left.\n */\nexport type PropAlign = {\n\talign: AlignPropType;\n};\n\n/* validator */\nexport const validateAlign = (component: Generic.Element.Component, value?: AlignPropType): void => {\n\tvalidateAlignment(component, '_align', value);\n};\n"],"version":3}
1
+ {"file":"align-ffcd671e.js","mappings":";;;;;;;MAiBa,aAAa,GAAG,CAAC,SAAoC,EAAE,KAAqB;EACxFA,2BAAiB,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AAC/C;;;;","names":["validateAlignment"],"sources":["src/types/props/align.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { validateAlignment } from '../../utils/validators/alignment';\n\n/* types */\ntype HorizontalAlign = 'left' | 'right';\ntype VerticalAlign = 'top' | 'bottom';\nexport type AlignPropType = HorizontalAlign | VerticalAlign;\n\n/**\n * Defines where to show the element preferably: top, right, bottom or left.\n */\nexport type PropAlign = {\n\talign: AlignPropType;\n};\n\n/* validator */\nexport const validateAlign = (component: Generic.Element.Component, value?: AlignPropType): void => {\n\tvalidateAlignment(component, '_align', value);\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const prop_validators=require("./prop.validators-c6674982.js"),AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES=new Set(['"left", "right"']),AVAILABLE_VERTICAL_ALIGNMENT_VALUES=new Set(['"bottom", "top"']),AVAILABLE_ALIGNMENT_VALUES=new Set([...AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES,...AVAILABLE_VERTICAL_ALIGNMENT_VALUES]),validateAlignment=(A,t,L)=>{prop_validators.watchValidator(A,t,(A=>"bottom"===A||"left"===A||"right"===A||"top"===A),AVAILABLE_ALIGNMENT_VALUES,L,{defaultValue:"top"})};exports.validateAlignment=validateAlignment;
4
+ "use strict";const prop_validators=require("./prop.validators-ac830edb.js"),AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES=new Set(['"left", "right"']),AVAILABLE_VERTICAL_ALIGNMENT_VALUES=new Set(['"bottom", "top"']),AVAILABLE_ALIGNMENT_VALUES=new Set([...AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES,...AVAILABLE_VERTICAL_ALIGNMENT_VALUES]),validateAlignment=(A,t,L)=>{prop_validators.watchValidator(A,t,(A=>"bottom"===A||"left"===A||"right"===A||"top"===A),AVAILABLE_ALIGNMENT_VALUES,L,{defaultValue:"top"})};exports.validateAlignment=validateAlignment;
@@ -1 +1 @@
1
- {"file":"alignment-f0930e04.js","mappings":";;;;;;;AAKA,MAAM,qCAAqC,GAAG,IAAI,GAAG,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAK3E,MAAM,mCAAmC,GAAG,IAAI,GAAG,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAKzE,MAAM,0BAA0B,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,qCAAqC,EAAE,GAAG,mCAAmC,CAAC,CAAC,CAAC;MAClH,iBAAiB,GAAG,CAAC,SAAoC,EAAE,QAAgB,EAAE,KAAqB;EAC9GA,8BAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAK,KAAK,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,KAAK,EACzF,0BAA0B,EAC1B,KAAK,EACL,EAAE,YAAY,EAAE,KAAK,EAAE,CACvB,CAAC;AACH;;;;","names":["watchValidator"],"sources":["src/utils/validators/alignment.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { AlignPropType } from '../../types/props/align';\nimport { watchValidator } from '../prop.validators';\n\nconst AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES = new Set(['\"left\", \"right\"']);\n// export const validateHorizontalAlignment = (component: Generic.Element.Component, propName: string, value?: HorizontalAlignment): void => {\n// \twatchValidator(component, propName, (value) => value === 'left' || value === 'right', AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES, value);\n// };\n\nconst AVAILABLE_VERTICAL_ALIGNMENT_VALUES = new Set(['\"bottom\", \"top\"']);\n// export const validateVertivalAlignment = (component: Generic.Element.Component, propName: string, value?: VerticalAlignment): void => {\n// \twatchValidator(component, propName, (value) => value === 'top' || value === 'bottom', AVAILABLE_VERTICAL_ALIGNMENT_VALUES, value);\n// };\n\nconst AVAILABLE_ALIGNMENT_VALUES = new Set([...AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES, ...AVAILABLE_VERTICAL_ALIGNMENT_VALUES]);\nexport const validateAlignment = (component: Generic.Element.Component, propName: string, value?: AlignPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value) => value === 'bottom' || value === 'left' || value === 'right' || value === 'top',\n\t\tAVAILABLE_ALIGNMENT_VALUES,\n\t\tvalue,\n\t\t{ defaultValue: 'top' }\n\t);\n};\n"],"version":3}
1
+ {"file":"alignment-a90208e0.js","mappings":";;;;;;;AAKA,MAAM,qCAAqC,GAAG,IAAI,GAAG,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAK3E,MAAM,mCAAmC,GAAG,IAAI,GAAG,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAKzE,MAAM,0BAA0B,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,qCAAqC,EAAE,GAAG,mCAAmC,CAAC,CAAC,CAAC;MAClH,iBAAiB,GAAG,CAAC,SAAoC,EAAE,QAAgB,EAAE,KAAqB;EAC9GA,8BAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAK,KAAK,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,KAAK,EACzF,0BAA0B,EAC1B,KAAK,EACL,EAAE,YAAY,EAAE,KAAK,EAAE,CACvB,CAAC;AACH;;;;","names":["watchValidator"],"sources":["src/utils/validators/alignment.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { AlignPropType } from '../../types/props/align';\nimport { watchValidator } from '../prop.validators';\n\nconst AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES = new Set(['\"left\", \"right\"']);\n// export const validateHorizontalAlignment = (component: Generic.Element.Component, propName: string, value?: HorizontalAlignment): void => {\n// \twatchValidator(component, propName, (value) => value === 'left' || value === 'right', AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES, value);\n// };\n\nconst AVAILABLE_VERTICAL_ALIGNMENT_VALUES = new Set(['\"bottom\", \"top\"']);\n// export const validateVertivalAlignment = (component: Generic.Element.Component, propName: string, value?: VerticalAlignment): void => {\n// \twatchValidator(component, propName, (value) => value === 'top' || value === 'bottom', AVAILABLE_VERTICAL_ALIGNMENT_VALUES, value);\n// };\n\nconst AVAILABLE_ALIGNMENT_VALUES = new Set([...AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES, ...AVAILABLE_VERTICAL_ALIGNMENT_VALUES]);\nexport const validateAlignment = (component: Generic.Element.Component, propName: string, value?: AlignPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value) => value === 'bottom' || value === 'left' || value === 'right' || value === 'top',\n\t\tAVAILABLE_ALIGNMENT_VALUES,\n\t\tvalue,\n\t\t{ defaultValue: 'top' }\n\t);\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const index$1=require("./index-330353f3.js"),index=require("./index-318ebe03.js"),dev_utils=require("./dev.utils-17b0ffeb.js"),reuse=require("./reuse-786396d6.js"),index$2=require("./index-21737b53.js"),appGlobalScript=async()=>{index$1.setMode((e=>(e.shadowRoot instanceof ShadowRoot&&index$2.setThemeStyle(e,index$2.getThemeDetails(e)),"default"))),await index.register([],[]),Promise.resolve().then((function(){return require("./devtools-a6ae570c.js")})).then((e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()})).catch((e=>{dev_utils.Log.error(e)})),reuse.processEnv&&Promise.resolve().then((function(){return require("./index-d94c6297.js")}))},globalScripts=appGlobalScript;exports.globalScripts=globalScripts;
4
+ "use strict";const index$1=require("./index-2feae351.js"),index=require("./index-82aca647.js"),dev_utils=require("./dev.utils-d2b2471b.js"),reuse=require("./reuse-786396d6.js"),index$2=require("./index-f96a013d.js"),appGlobalScript=async()=>{index$1.setMode((e=>(e.shadowRoot instanceof ShadowRoot&&index$2.setThemeStyle(e,index$2.getThemeDetails(e)),"default"))),await index.register([],[]),Promise.resolve().then((function(){return require("./devtools-9fa399ce.js")})).then((e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()})).catch((e=>{dev_utils.Log.error(e)})),reuse.processEnv&&Promise.resolve().then((function(){return require("./index-d94c6297.js")}))},globalScripts=appGlobalScript;exports.globalScripts=globalScripts;
@@ -1 +1 @@
1
- {"file":"app-globals-f5e7bd78.js","mappings":";;;;;;;;;;;AAQA,wBAAe;EACdA,eAAO,CAAC,CAAC,GAAG;IACX,IAAI,GAAG,CAAC,UAAU,YAAY,UAAU,EAAE;MACzCC,qBAAa,CAAC,GAAG,EAAEC,uBAAe,CAAC,GAAG,CAAC,CAAC,CAAC;KACzC;IACD,OAAO,SAAS,CAAC;GACjB,CAAC,CAAC;EAEH,MAAMC,cAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;EAEvB,oDAAO,wBAAY,KAAC;KAClB,IAAI,CAAC,CAAC,QAAQ;IACd,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,CAAC,UAAU,KAAK,UAAU,EAAE;MACnG,QAAQ,CAAC,UAAU,EAAE,CAAC;KACtB;GACD,CAAC;KACD,KAAK,CAAC,CAAC,KAAK;IACZC,aAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;GACjB,CAAC,CAAC;EAGJ,IAAIC,gBAAU,EAAE;IACf,oDAAO,qBAAQ,KAAC,CAAC;GACjB;AACF,CAAC;;AC/BW,MAAC,aAAa,GAAG;;;;","names":["setMode","setThemeStyle","getThemeDetails","register","Log","processEnv"],"sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from '@a11y-ui/core';\nimport { setMode } from '@stencil/core';\n\nimport { register } from '../core';\nimport { Log } from '../utils/dev.utils';\nimport { processEnv } from '../utils/reuse';\n\n// ts-prune-ignore-next\nexport default async (): Promise<void> => {\n\tsetMode((elm) => {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t\treturn 'default';\n\t});\n\n\tawait register([], []);\n\n\timport('./devtools')\n\t\t.then((devTools) => {\n\t\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\t\tdevTools.initialize();\n\t\t\t}\n\t\t})\n\t\t.catch((error) => {\n\t\t\tLog.error(error);\n\t\t});\n\n\t/* Import scripts necessary for the development server, i.e. the /dev/*.html files. Only include in development environment. */\n\tif (processEnv) {\n\t\timport('../dev');\n\t}\n};\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n"],"version":3}
1
+ {"file":"app-globals-8c537471.js","mappings":";;;;;;;;;;;AAQA,wBAAe;EACdA,eAAO,CAAC,CAAC,GAAG;IACX,IAAI,GAAG,CAAC,UAAU,YAAY,UAAU,EAAE;MACzCC,qBAAa,CAAC,GAAG,EAAEC,uBAAe,CAAC,GAAG,CAAC,CAAC,CAAC;KACzC;IACD,OAAO,SAAS,CAAC;GACjB,CAAC,CAAC;EAEH,MAAMC,cAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;EAEvB,oDAAO,wBAAY,KAAC;KAClB,IAAI,CAAC,CAAC,QAAQ;IACd,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,CAAC,UAAU,KAAK,UAAU,EAAE;MACnG,QAAQ,CAAC,UAAU,EAAE,CAAC;KACtB;GACD,CAAC;KACD,KAAK,CAAC,CAAC,KAAK;IACZC,aAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;GACjB,CAAC,CAAC;EAGJ,IAAIC,gBAAU,EAAE;IACf,oDAAO,qBAAQ,KAAC,CAAC;GACjB;AACF,CAAC;;AC/BW,MAAC,aAAa,GAAG;;;;","names":["setMode","setThemeStyle","getThemeDetails","register","Log","processEnv"],"sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from '@a11y-ui/core';\nimport { setMode } from '@stencil/core';\n\nimport { register } from '../core';\nimport { Log } from '../utils/dev.utils';\nimport { processEnv } from '../utils/reuse';\n\n// ts-prune-ignore-next\nexport default async (): Promise<void> => {\n\tsetMode((elm) => {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t\treturn 'default';\n\t});\n\n\tawait register([], []);\n\n\timport('./devtools')\n\t\t.then((devTools) => {\n\t\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\t\tdevTools.initialize();\n\t\t\t}\n\t\t})\n\t\t.catch((error) => {\n\t\t\tLog.error(error);\n\t\t});\n\n\t/* Import scripts necessary for the development server, i.e. the /dev/*.html files. Only include in development environment. */\n\tif (processEnv) {\n\t\timport('../dev');\n\t}\n};\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n"],"version":3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ "use strict";const prop_validators=require("./prop.validators-ac830edb.js"),validateAlternativeButtonLinkRole=(a,t)=>{prop_validators.watchString(a,"_role",t)},validateAriaControls=(a,t)=>{prop_validators.watchString(a,"_ariaControls",t)},validate=(a,t,r)=>{prop_validators.watchValidator(a,t,(a=>"date"===a||"location"===a||"page"===a||"step"===a||"time"===a||!0===a||!1===a),new Set(["String {data, location, page, step, time}","boolean"]),r)},validateAriaCurrent=(a,t)=>{validate(a,"_ariaCurrent",t)},validateListenAriaCurrent=(a,t)=>{validate(a,"_listenAriaCurrent",t)};exports.validateAlternativeButtonLinkRole=validateAlternativeButtonLinkRole,exports.validateAriaControls=validateAriaControls,exports.validateAriaCurrent=validateAriaCurrent,exports.validateListenAriaCurrent=validateListenAriaCurrent;
@@ -1 +1 @@
1
- {"file":"aria-current-4e34cb0e.js","mappings":";;;;;;;MAca,iCAAiC,GAAG,CAAC,SAAoC,EAAE,KAAyC;EAChIA,2BAAW,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AACxC;;MCGa,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B;EACtGA,2BAAW,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;AAChD;;ACKA,MAAM,QAAQ,GAAG,CAAC,SAAoC,EAAE,QAAgB,EAAE,KAA2B;EACpGC,8BAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAK,KAAK,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,UAAU,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,KAAK,EACpJ,IAAI,GAAG,CAAC,CAAC,2CAA2C,EAAE,SAAS,CAAC,CAAC,EACjE,KAAK,CACL,CAAC;AACH,CAAC,CAAC;MACW,mBAAmB,GAAG,CAAC,SAAoC,EAAE,KAA2B;EACpG,QAAQ,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC;AAC5C,EAAE;MACW,yBAAyB,GAAG,CAAC,SAAoC,EAAE,KAA2B;EAC1G,QAAQ,CAAC,SAAS,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;AAClD;;;;;;;","names":["watchString","watchValidator"],"sources":["src/types/props/alternative-button-link-role.ts","src/types/props/aria-controls.ts","src/types/props/aria-current.ts"],"sourcesContent":["/* types */\nimport { Generic } from '@a11y-ui/core';\nimport { watchString } from '../../utils/prop.validators';\n\nexport type AlternativeButtonLinkRolePropType = 'button' | 'link' | 'tab';\n\n/**\n * Defines the role of the components primary element.\n */\nexport type PropAlternativeButtonLinkRole = {\n\trole: AlternativeButtonLinkRolePropType;\n};\n\n/* validator */\nexport const validateAlternativeButtonLinkRole = (component: Generic.Element.Component, value?: AlternativeButtonLinkRolePropType) => {\n\twatchString(component, '_role', value);\n};\n","import { Generic } from '@a11y-ui/core';\n\nimport { watchString } from '../../utils/prop.validators';\n\n/* types */\n/**\n * Defines which elements are being controlled. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n * @deprecated\n */\ntype AriaControlsPropType = string;\n\n/**\n * @deprecated\n */\nexport type PropAriaControls = {\n\tariaControls: AriaControlsPropType;\n};\n\n/* validator */\nexport const validateAriaControls = (component: Generic.Element.Component, value?: AriaControlsPropType): void => {\n\twatchString(component, '_ariaControls', value);\n};\n","import { Generic } from '@a11y-ui/core';\n\nimport { watchValidator } from '../../utils/prop.validators';\n\n/* types */\n/**\n * Marks the element as the selected in a group of related elements. Can be one of the following: `date` | `location` | `page` | `step` | `time` | `true`.\n * (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)\n */\nexport type AriaCurrentPropType = 'date' | 'location' | 'page' | 'step' | 'time' | boolean;\n\n/**\n * @deprecated use `PropListenAriaCurrent` instead\n */\nexport type PropAriaCurrent = {\n\t/**\n\t * @deprecated use `listenAriaCurrent` instead\n\t */\n\tariaCurrent: AriaCurrentPropType;\n};\n\nexport type PropListenAriaCurrent = {\n\tlistenAriaCurrent: AriaCurrentPropType;\n};\n\n/* validator */\nconst validate = (component: Generic.Element.Component, propName: string, value?: AriaCurrentPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value) => value === 'date' || value === 'location' || value === 'page' || value === 'step' || value === 'time' || value === true || value === false,\n\t\tnew Set(['String {data, location, page, step, time}', 'boolean']),\n\t\tvalue\n\t);\n};\nexport const validateAriaCurrent = (component: Generic.Element.Component, value?: AriaCurrentPropType): void => {\n\tvalidate(component, '_ariaCurrent', value);\n};\nexport const validateListenAriaCurrent = (component: Generic.Element.Component, value?: AriaCurrentPropType): void => {\n\tvalidate(component, '_listenAriaCurrent', value);\n};\n"],"version":3}
1
+ {"file":"aria-current-e275ab88.js","mappings":";;;;;;;MAca,iCAAiC,GAAG,CAAC,SAAoC,EAAE,KAAyC;EAChIA,2BAAW,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AACxC;;MCGa,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B;EACtGA,2BAAW,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;AAChD;;ACKA,MAAM,QAAQ,GAAG,CAAC,SAAoC,EAAE,QAAgB,EAAE,KAA2B;EACpGC,8BAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAK,KAAK,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,UAAU,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,KAAK,EACpJ,IAAI,GAAG,CAAC,CAAC,2CAA2C,EAAE,SAAS,CAAC,CAAC,EACjE,KAAK,CACL,CAAC;AACH,CAAC,CAAC;MACW,mBAAmB,GAAG,CAAC,SAAoC,EAAE,KAA2B;EACpG,QAAQ,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC;AAC5C,EAAE;MACW,yBAAyB,GAAG,CAAC,SAAoC,EAAE,KAA2B;EAC1G,QAAQ,CAAC,SAAS,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;AAClD;;;;;;;","names":["watchString","watchValidator"],"sources":["src/types/props/alternative-button-link-role.ts","src/types/props/aria-controls.ts","src/types/props/aria-current.ts"],"sourcesContent":["/* types */\nimport { Generic } from '@a11y-ui/core';\nimport { watchString } from '../../utils/prop.validators';\n\nexport type AlternativeButtonLinkRolePropType = 'button' | 'link' | 'tab';\n\n/**\n * Defines the role of the components primary element.\n */\nexport type PropAlternativeButtonLinkRole = {\n\trole: AlternativeButtonLinkRolePropType;\n};\n\n/* validator */\nexport const validateAlternativeButtonLinkRole = (component: Generic.Element.Component, value?: AlternativeButtonLinkRolePropType) => {\n\twatchString(component, '_role', value);\n};\n","import { Generic } from '@a11y-ui/core';\n\nimport { watchString } from '../../utils/prop.validators';\n\n/* types */\n/**\n * Defines which elements are being controlled. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n * @deprecated\n */\ntype AriaControlsPropType = string;\n\n/**\n * @deprecated\n */\nexport type PropAriaControls = {\n\tariaControls: AriaControlsPropType;\n};\n\n/* validator */\nexport const validateAriaControls = (component: Generic.Element.Component, value?: AriaControlsPropType): void => {\n\twatchString(component, '_ariaControls', value);\n};\n","import { Generic } from '@a11y-ui/core';\n\nimport { watchValidator } from '../../utils/prop.validators';\n\n/* types */\n/**\n * Marks the element as the selected in a group of related elements. Can be one of the following: `date` | `location` | `page` | `step` | `time` | `true`.\n * (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)\n */\nexport type AriaCurrentPropType = 'date' | 'location' | 'page' | 'step' | 'time' | boolean;\n\n/**\n * @deprecated use `PropListenAriaCurrent` instead\n */\nexport type PropAriaCurrent = {\n\t/**\n\t * @deprecated use `listenAriaCurrent` instead\n\t */\n\tariaCurrent: AriaCurrentPropType;\n};\n\nexport type PropListenAriaCurrent = {\n\tlistenAriaCurrent: AriaCurrentPropType;\n};\n\n/* validator */\nconst validate = (component: Generic.Element.Component, propName: string, value?: AriaCurrentPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value) => value === 'date' || value === 'location' || value === 'page' || value === 'step' || value === 'time' || value === true || value === false,\n\t\tnew Set(['String {data, location, page, step, time}', 'boolean']),\n\t\tvalue\n\t);\n};\nexport const validateAriaCurrent = (component: Generic.Element.Component, value?: AriaCurrentPropType): void => {\n\tvalidate(component, '_ariaCurrent', value);\n};\nexport const validateListenAriaCurrent = (component: Generic.Element.Component, value?: AriaCurrentPropType): void => {\n\tvalidate(component, '_listenAriaCurrent', value);\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const prop_validators=require("./prop.validators-c6674982.js"),a11y_tipps=require("./a11y.tipps-66cfefcd.js"),dev_utils=require("./dev.utils-17b0ffeb.js"),validateName=(t,e,i)=>{prop_validators.watchString(t,"_name",e,i)},EXPERIMENTAL_MODE=dev_utils.getExperimentalMode();class AssociatedInputController{constructor(t,e,i){var s,o;if(this.setFormAssociatedValue=t=>{var e;const i=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==i&&""!==i||a11y_tipps.devHint(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);const s=this.tryToStringifyValue(t);this.syncValue(t,s,this.formAssociated),this.syncValue(t,s,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(i),this.name=e,EXPERIMENTAL_MODE){switch(null===(s=this.host)||void 0===s||s.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.name){case"button":this.formAssociated=document.createElement("button");break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("aria-hidden","true"),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(o=this.host)||void 0===o||o.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(EXPERIMENTAL_MODE)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return a11y_tipps.devWarning(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)if("select"===this.name)i.querySelectorAll("option").forEach((t=>{i.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}}));else"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}validateName(t){validateName(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&a11y_tipps.devHint("Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.")}validateSyncValueBySelector(t){if(EXPERIMENTAL_MODE&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}exports.AssociatedInputController=AssociatedInputController;
4
+ "use strict";const prop_validators=require("./prop.validators-ac830edb.js"),a11y_tipps=require("./a11y.tipps-0134082a.js"),dev_utils=require("./dev.utils-d2b2471b.js"),validateName=(t,e,i)=>{prop_validators.watchString(t,"_name",e,i)},EXPERIMENTAL_MODE=dev_utils.getExperimentalMode();class AssociatedInputController{constructor(t,e,i){var s,o;if(this.setFormAssociatedValue=t=>{var e;const i=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==i&&""!==i||a11y_tipps.devHint(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);const s=this.tryToStringifyValue(t);this.syncValue(t,s,this.formAssociated),this.syncValue(t,s,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(i),this.name=e,EXPERIMENTAL_MODE){switch(null===(s=this.host)||void 0===s||s.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.name){case"button":this.formAssociated=document.createElement("button");break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("aria-hidden","true"),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(o=this.host)||void 0===o||o.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(EXPERIMENTAL_MODE)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return a11y_tipps.devWarning(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)if("select"===this.name)i.querySelectorAll("option").forEach((t=>{i.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}}));else"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}validateName(t){validateName(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&a11y_tipps.devHint("Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.")}validateSyncValueBySelector(t){if(EXPERIMENTAL_MODE&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}exports.AssociatedInputController=AssociatedInputController;
@@ -1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;MACnD,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAA+D,CAAC;MAC1G,IAAI,KAAK,EAAwC;QAChD,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;OAC5B;KACD;GACD;EAEM,iBAAiB;IACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACxC,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;GACtE;;;;;","names":["watchString","getExperimentalMode","devHint","devWarning"],"sources":["src/types/props/name.ts","src/components/input-adapter-leanup/associated.controller.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { watchString, WatchStringOptions } from '../../utils/prop.validators';\n\n/* types */\nexport type NamePropType = string;\n\n/**\n * Defines the technical name of an input field.\n */\nexport type PropName = {\n\tname: NamePropType;\n};\n\n/* validator */\nexport const validateName = (component: Generic.Element.Component, value?: NamePropType, options?: WatchStringOptions): void => {\n\twatchString(component, '_name', value, options);\n};\n","import { Generic } from '@a11y-ui/core';\n\nimport { NamePropType, validateName } from '../../types/props/name';\nimport { PropSyncValueBySelector, SyncValueBySelectorPropType } from '../../types/props/sync-value-by-selector';\nimport { StencilUnknown } from '../../types/unknown';\nimport { devHint, devWarning } from '../../utils/a11y.tipps';\nimport { getExperimentalMode } from '../../utils/dev.utils';\n\nconst EXPERIMENTAL_MODE = getExperimentalMode();\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tname: string;\n} & PropSyncValueBySelector;\ntype Props = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport class AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprotected readonly name: string;\n\tprotected readonly host?: HTMLElement;\n\n\tpublic readonly formAssociated?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\tpublic syncToOwnInput?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tthis.component = component;\n\t\tthis.host = this.findHostWithShadowRoot(host);\n\t\tthis.name = name;\n\n\t\tif (EXPERIMENTAL_MODE) {\n\t\t\tthis.host?.querySelectorAll('input,select,textarea').forEach((el) => {\n\t\t\t\tthis.host?.removeChild(el);\n\t\t\t});\n\t\t\tswitch (this.name) {\n\t\t\t\tcase 'button':\n\t\t\t\t\tthis.formAssociated = document.createElement('button');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\tthis.formAssociated = document.createElement('select');\n\t\t\t\t\tthis.formAssociated.setAttribute('multiple', '');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'textarea':\n\t\t\t\t\tthis.formAssociated = document.createElement('textarea');\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', 'hidden');\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tthis.formAssociated.setAttribute('aria-hidden', 'true');\n\t\t\tthis.formAssociated.setAttribute('data-form-associated', '');\n\t\t\tthis.formAssociated.setAttribute('hidden', '');\n\t\t\tthis.host?.appendChild(this.formAssociated);\n\t\t}\n\t}\n\n\t/**\n\t * The associated elements must not reside within the ShadowRoot and must\n\t * reside as children in the host to be recognized by native forms.\n\t */\n\tprivate findHostWithShadowRoot(host?: HTMLElement): HTMLElement | undefined {\n\t\twhile (host?.shadowRoot === null && host !== document.body) {\n\t\t\thost = host?.parentNode as HTMLElement;\n\t\t\tif ((host as unknown as ShadowRoot).host) {\n\t\t\t\thost = (host as unknown as ShadowRoot).host as HTMLElement;\n\t\t\t}\n\t\t}\n\t\treturn host;\n\t}\n\n\tprotected setAttribute(qualifiedName: string, element?: HTMLElement, value?: string | number | boolean) {\n\t\tif (EXPERIMENTAL_MODE) {\n\t\t\ttry {\n\t\t\t\tvalue = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n\t\t\t\tif (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n\t\t\t\t\telement?.setAttribute(qualifiedName, `${value as string}`);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(`Invalid value type: ${typeof value}`);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\telement?.removeAttribute(qualifiedName);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * We need to stringify the value, for the setAttribute method.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes#value\n\t *\n\t * TODO: It is possible that the value are a cyclic object value. So we need a custom\n\t * JSON.stringify method from outside to convert it to string.\n\t */\n\tprivate tryToStringifyValue(value: StencilUnknown): string | null {\n\t\ttry {\n\t\t\treturn typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n\t\t} catch (e) {\n\t\t\tdevWarning(`The form field raw value is not able to stringify! ${e as string}`);\n\t\t\treturn '';\n\t\t}\n\t}\n\n\t/**\n\t * We try to support native form-associated custom elements.\n\t *\n\t * @see https://github.com/public-ui/kolibri/discussions/2821\n\t */\n\tpublic readonly setFormAssociatedValue = (rawValue: StencilUnknown) => {\n\t\tconst name = this.formAssociated?.getAttribute('name');\n\t\tif (name === null || name === '') {\n\t\t\tdevHint(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n\t\t}\n\t\tconst strValue = this.tryToStringifyValue(rawValue);\n\t\tthis.syncValue(rawValue, strValue, this.formAssociated);\n\t\tthis.syncValue(rawValue, strValue, this.syncToOwnInput);\n\t};\n\n\tprivate syncValue(\n\t\trawValue: StencilUnknown,\n\t\tstrValue: string | null,\n\t\tassociatedElement?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n\t) {\n\t\tif (associatedElement) {\n\t\t\tswitch (this.name) {\n\t\t\t\tcase 'select':\n\t\t\t\t\t(associatedElement as HTMLSelectElement).querySelectorAll('option').forEach((el) => {\n\t\t\t\t\t\t(associatedElement as HTMLSelectElement).removeChild(el);\n\t\t\t\t\t});\n\t\t\t\t\tif (Array.isArray(rawValue)) {\n\t\t\t\t\t\trawValue.forEach((rawValueItem) => {\n\t\t\t\t\t\t\tconst strValueItem = this.tryToStringifyValue(rawValueItem as string);\n\t\t\t\t\t\t\tif (typeof strValueItem === 'string') {\n\t\t\t\t\t\t\t\tconst option = document.createElement('option');\n\t\t\t\t\t\t\t\toption.setAttribute('value', strValueItem);\n\t\t\t\t\t\t\t\toption.setAttribute('selected', '');\n\t\t\t\t\t\t\t\t(associatedElement as HTMLSelectElement).appendChild(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tassociatedElement.removeAttribute('value');\n\t\t\t\t\t\tassociatedElement.value = '';\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateName(value?: NamePropType): void {\n\t\tvalidateName(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('name', this.formAssociated, this.component.state._name as string);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tif (typeof value === 'undefined') {\n\t\t\tdevHint(\n\t\t\t\t`Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.`\n\t\t\t);\n\t\t}\n\t}\n\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tif (EXPERIMENTAL_MODE && typeof value === 'string') {\n\t\t\tconst input = document.querySelector(value) as HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\t\t\tif (input /* SSR instanceof HTMLInputElement */) {\n\t\t\t\tthis.syncToOwnInput = input;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"version":3}
1
+ {"file":"associated.controller-fd72aae6.js","mappings":";;;;;;;;;AAeO,MAAM,YAAY,GAAG,CAAC,SAAoC,EAAE,KAAoB,EAAE,OAA4B;EACpHA,2BAAW,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AACjD,CAAC;;ACTD,MAAM,iBAAiB,GAAGC,6BAAmB,EAAE,CAAC;MASnC,yBAAyB;EAQrC,YAAmB,SAA4C,EAAE,IAAY,EAAE,IAAkB;;IAoFjF,2BAAsB,GAAG,CAAC,QAAwB;;MACjE,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,cAAc,0CAAE,YAAY,CAAC,MAAM,CAAC,CAAC;MACvD,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE,EAAE;QACjCC,kBAAO,CAAC,oBAAoB,IAAI,CAAC,IAAI,wFAAwF,CAAC,CAAC;OAC/H;MACD,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;MACpD,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;MACxD,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;KACxD,CAAC;IA3FD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,IAAI,GAAG,IAAI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E;UACX,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;SACrF;OACD;KACD,CAAC,CAAC;IACH,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;MACjCD,kBAAO,CACN,oLAAoL,CACpL,CAAC;KACF;GACD;EAEM,2BAA2B,CAAC,KAAmC;IACrE,IAAI,iBAAiB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;MACnD,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAA+D,CAAC;MAC1G,IAAI,KAAK,EAAwC;QAChD,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;OAC5B;KACD;GACD;EAEM,iBAAiB;IACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACxC,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;GACtE;;;;;","names":["watchString","getExperimentalMode","devHint","devWarning"],"sources":["src/types/props/name.ts","src/components/input-adapter-leanup/associated.controller.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { watchString, WatchStringOptions } from '../../utils/prop.validators';\n\n/* types */\nexport type NamePropType = string;\n\n/**\n * Defines the technical name of an input field.\n */\nexport type PropName = {\n\tname: NamePropType;\n};\n\n/* validator */\nexport const validateName = (component: Generic.Element.Component, value?: NamePropType, options?: WatchStringOptions): void => {\n\twatchString(component, '_name', value, options);\n};\n","import { Generic } from '@a11y-ui/core';\n\nimport { NamePropType, validateName } from '../../types/props/name';\nimport { PropSyncValueBySelector, SyncValueBySelectorPropType } from '../../types/props/sync-value-by-selector';\nimport { StencilUnknown } from '../../types/unknown';\nimport { devHint, devWarning } from '../../utils/a11y.tipps';\nimport { getExperimentalMode } from '../../utils/dev.utils';\n\nconst EXPERIMENTAL_MODE = getExperimentalMode();\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tname: string;\n} & PropSyncValueBySelector;\ntype Props = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport class AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprotected readonly name: string;\n\tprotected readonly host?: HTMLElement;\n\n\tpublic readonly formAssociated?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\tpublic syncToOwnInput?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tthis.component = component;\n\t\tthis.host = this.findHostWithShadowRoot(host);\n\t\tthis.name = name;\n\n\t\tif (EXPERIMENTAL_MODE) {\n\t\t\tthis.host?.querySelectorAll('input,select,textarea').forEach((el) => {\n\t\t\t\tthis.host?.removeChild(el);\n\t\t\t});\n\t\t\tswitch (this.name) {\n\t\t\t\tcase 'button':\n\t\t\t\t\tthis.formAssociated = document.createElement('button');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\tthis.formAssociated = document.createElement('select');\n\t\t\t\t\tthis.formAssociated.setAttribute('multiple', '');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'textarea':\n\t\t\t\t\tthis.formAssociated = document.createElement('textarea');\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', 'hidden');\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tthis.formAssociated.setAttribute('aria-hidden', 'true');\n\t\t\tthis.formAssociated.setAttribute('data-form-associated', '');\n\t\t\tthis.formAssociated.setAttribute('hidden', '');\n\t\t\tthis.host?.appendChild(this.formAssociated);\n\t\t}\n\t}\n\n\t/**\n\t * The associated elements must not reside within the ShadowRoot and must\n\t * reside as children in the host to be recognized by native forms.\n\t */\n\tprivate findHostWithShadowRoot(host?: HTMLElement): HTMLElement | undefined {\n\t\twhile (host?.shadowRoot === null && host !== document.body) {\n\t\t\thost = host?.parentNode as HTMLElement;\n\t\t\tif ((host as unknown as ShadowRoot).host) {\n\t\t\t\thost = (host as unknown as ShadowRoot).host as HTMLElement;\n\t\t\t}\n\t\t}\n\t\treturn host;\n\t}\n\n\tprotected setAttribute(qualifiedName: string, element?: HTMLElement, value?: string | number | boolean) {\n\t\tif (EXPERIMENTAL_MODE) {\n\t\t\ttry {\n\t\t\t\tvalue = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n\t\t\t\tif (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n\t\t\t\t\telement?.setAttribute(qualifiedName, `${value as string}`);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(`Invalid value type: ${typeof value}`);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\telement?.removeAttribute(qualifiedName);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * We need to stringify the value, for the setAttribute method.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes#value\n\t *\n\t * TODO: It is possible that the value are a cyclic object value. So we need a custom\n\t * JSON.stringify method from outside to convert it to string.\n\t */\n\tprivate tryToStringifyValue(value: StencilUnknown): string | null {\n\t\ttry {\n\t\t\treturn typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n\t\t} catch (e) {\n\t\t\tdevWarning(`The form field raw value is not able to stringify! ${e as string}`);\n\t\t\treturn '';\n\t\t}\n\t}\n\n\t/**\n\t * We try to support native form-associated custom elements.\n\t *\n\t * @see https://github.com/public-ui/kolibri/discussions/2821\n\t */\n\tpublic readonly setFormAssociatedValue = (rawValue: StencilUnknown) => {\n\t\tconst name = this.formAssociated?.getAttribute('name');\n\t\tif (name === null || name === '') {\n\t\t\tdevHint(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n\t\t}\n\t\tconst strValue = this.tryToStringifyValue(rawValue);\n\t\tthis.syncValue(rawValue, strValue, this.formAssociated);\n\t\tthis.syncValue(rawValue, strValue, this.syncToOwnInput);\n\t};\n\n\tprivate syncValue(\n\t\trawValue: StencilUnknown,\n\t\tstrValue: string | null,\n\t\tassociatedElement?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n\t) {\n\t\tif (associatedElement) {\n\t\t\tswitch (this.name) {\n\t\t\t\tcase 'select':\n\t\t\t\t\t(associatedElement as HTMLSelectElement).querySelectorAll('option').forEach((el) => {\n\t\t\t\t\t\t(associatedElement as HTMLSelectElement).removeChild(el);\n\t\t\t\t\t});\n\t\t\t\t\tif (Array.isArray(rawValue)) {\n\t\t\t\t\t\trawValue.forEach((rawValueItem) => {\n\t\t\t\t\t\t\tconst strValueItem = this.tryToStringifyValue(rawValueItem as string);\n\t\t\t\t\t\t\tif (typeof strValueItem === 'string') {\n\t\t\t\t\t\t\t\tconst option = document.createElement('option');\n\t\t\t\t\t\t\t\toption.setAttribute('value', strValueItem);\n\t\t\t\t\t\t\t\toption.setAttribute('selected', '');\n\t\t\t\t\t\t\t\t(associatedElement as HTMLSelectElement).appendChild(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tassociatedElement.removeAttribute('value');\n\t\t\t\t\t\tassociatedElement.value = '';\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateName(value?: NamePropType): void {\n\t\tvalidateName(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('name', this.formAssociated, this.component.state._name as string);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tif (typeof value === 'undefined') {\n\t\t\tdevHint(\n\t\t\t\t`Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.`\n\t\t\t);\n\t\t}\n\t}\n\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tif (EXPERIMENTAL_MODE && typeof value === 'string') {\n\t\t\tconst input = document.querySelector(value) as HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\t\t\tif (input /* SSR instanceof HTMLInputElement */) {\n\t\t\t\tthis.syncToOwnInput = input;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"version":3}