@public-ui/components 2.1.7 → 2.1.8

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 (639) hide show
  1. package/custom-elements.json +23 -10
  2. package/dist/cjs/{InternalUnderlinedAccessKey-c22d55f9.js → InternalUnderlinedAccessKey-60129593.js} +1 -1
  3. package/dist/cjs/{InternalUnderlinedAccessKey-c22d55f9.js.map → InternalUnderlinedAccessKey-60129593.js.map} +1 -1
  4. package/dist/cjs/access-key-34e56e4c.js +4 -0
  5. package/dist/cjs/{access-key-12589f9b.js.map → access-key-34e56e4c.js.map} +1 -1
  6. package/dist/cjs/{align-cf181773.js → align-3c503831.js} +1 -1
  7. package/dist/cjs/{align-cf181773.js.map → align-3c503831.js.map} +1 -1
  8. package/dist/cjs/align-floating-elements-fa02822a.js +4 -0
  9. package/dist/cjs/align-floating-elements-fa02822a.js.map +1 -0
  10. package/dist/cjs/app-globals-f9dcd92b.js +4 -0
  11. package/dist/cjs/{app-globals-80ac5154.js.map → app-globals-f9dcd92b.js.map} +1 -1
  12. package/dist/cjs/aria-expanded-23b849c8.js +4 -0
  13. package/dist/cjs/aria-expanded-23b849c8.js.map +1 -0
  14. package/dist/cjs/{associated.controller-17a88d17.js → associated.controller-e7651bb3.js} +1 -1
  15. package/dist/cjs/{associated.controller-17a88d17.js.map → associated.controller-e7651bb3.js.map} +1 -1
  16. package/dist/cjs/{color-e9f9368d.js → color-d5846b87.js} +1 -1
  17. package/dist/cjs/{color-e9f9368d.js.map → color-d5846b87.js.map} +1 -1
  18. package/dist/cjs/{controller-ff4a9f64.js → controller-0369bad4.js} +1 -1
  19. package/dist/cjs/{controller-ff4a9f64.js.map → controller-0369bad4.js.map} +1 -1
  20. package/dist/cjs/{controller-e2f6b61c.js → controller-2a716a90.js} +1 -1
  21. package/dist/cjs/{controller-e2f6b61c.js.map → controller-2a716a90.js.map} +1 -1
  22. package/dist/cjs/controller-43f44829.js +4 -0
  23. package/dist/cjs/controller-43f44829.js.map +1 -0
  24. package/dist/cjs/{controller-bd9f9fcd.js → controller-b94161ed.js} +1 -1
  25. package/dist/cjs/{controller-bd9f9fcd.js.map → controller-b94161ed.js.map} +1 -1
  26. package/dist/cjs/{controller-f984e45f.js → controller-f053c10d.js} +1 -1
  27. package/dist/cjs/controller-f053c10d.js.map +1 -0
  28. package/dist/cjs/{controller-icon-885a15b3.js → controller-icon-38bb0eaa.js} +1 -1
  29. package/dist/cjs/{controller-icon-885a15b3.js.map → controller-icon-38bb0eaa.js.map} +1 -1
  30. package/dist/cjs/custom-class-3504ba89.js +4 -0
  31. package/dist/cjs/{custom-class-5a76b8cc.js.map → custom-class-3504ba89.js.map} +1 -1
  32. package/dist/cjs/{dev.utils-807035c8.js → dev.utils-a61d0ca3.js} +1 -1
  33. package/dist/cjs/{dev.utils-807035c8.js.map → dev.utils-a61d0ca3.js.map} +1 -1
  34. package/dist/cjs/{devtools-f6a085c7.js → devtools-678fa438.js} +1 -1
  35. package/dist/cjs/{devtools-f6a085c7.js.map → devtools-678fa438.js.map} +1 -1
  36. package/dist/cjs/{disabled-4f7a7b7e.js → disabled-b52570d6.js} +1 -1
  37. package/dist/cjs/{disabled-4f7a7b7e.js.map → disabled-b52570d6.js.map} +1 -1
  38. package/dist/cjs/{events-bf0426a9.js → events-d31764bd.js} +1 -1
  39. package/dist/cjs/{events-bf0426a9.js.map → events-d31764bd.js.map} +1 -1
  40. package/dist/cjs/{form-field-msg-34f12619.js → form-field-msg-afe32eeb.js} +1 -1
  41. package/dist/cjs/{form-field-msg-34f12619.js.map → form-field-msg-afe32eeb.js.map} +1 -1
  42. package/dist/cjs/has-closer-ec9dd05f.js +4 -0
  43. package/dist/cjs/{has-closer-354720e1.js.map → has-closer-ec9dd05f.js.map} +1 -1
  44. package/dist/cjs/has-counter-df7be5b1.js +4 -0
  45. package/dist/cjs/has-counter-df7be5b1.js.map +1 -0
  46. package/dist/cjs/hide-label-9c7c3e00.js +4 -0
  47. package/dist/cjs/{hide-label-7e4f3ef4.js.map → hide-label-9c7c3e00.js.map} +1 -1
  48. package/dist/cjs/href-9981395d.js +4 -0
  49. package/dist/cjs/{href-87a51631.js.map → href-9981395d.js.map} +1 -1
  50. package/dist/cjs/i18n-737701e2.js +4 -0
  51. package/dist/cjs/i18n-737701e2.js.map +1 -0
  52. package/dist/cjs/{i18n-c8be9482.js → i18n-b46c3c64.js} +1 -1
  53. package/dist/cjs/{i18n-c8be9482.js.map → i18n-b46c3c64.js.map} +1 -1
  54. package/dist/cjs/{icons-3f3e0089.js → icons-a8d865aa.js} +1 -1
  55. package/dist/cjs/{icons-3f3e0089.js.map → icons-a8d865aa.js.map} +1 -1
  56. package/dist/cjs/image-source-59cf6672.js +4 -0
  57. package/dist/cjs/{image-source-7ee44fb4.js.map → image-source-59cf6672.js.map} +1 -1
  58. package/dist/cjs/index-10e5a011.js +4 -0
  59. package/dist/cjs/index-10e5a011.js.map +1 -0
  60. package/dist/cjs/{index-1285d2d1.js.map → index-45dd33c3.js.map} +1 -1
  61. package/dist/cjs/index.cjs.js +1 -1
  62. package/dist/cjs/index.cjs.js.map +1 -1
  63. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  135. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  141. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  144. package/dist/cjs/kolibri.cjs.js +1 -1
  145. package/dist/cjs/kolibri.cjs.js.map +1 -1
  146. package/dist/cjs/{label-5ba50d8b.js → label-601352a4.js} +1 -1
  147. package/dist/cjs/{label-5ba50d8b.js.map → label-601352a4.js.map} +1 -1
  148. package/dist/cjs/loader.cjs.js +1 -1
  149. package/dist/cjs/open-589280df.js +4 -0
  150. package/dist/cjs/{open-f0d79417.js.map → open-589280df.js.map} +1 -1
  151. package/dist/cjs/{prop.validators-37113ad1.js → prop.validators-68958b0a.js} +1 -1
  152. package/dist/cjs/{prop.validators-37113ad1.js.map → prop.validators-68958b0a.js.map} +1 -1
  153. package/dist/cjs/rows-f05a1422.js +4 -0
  154. package/dist/cjs/{rows-4c48715e.js.map → rows-f05a1422.js.map} +1 -1
  155. package/dist/cjs/show-a1694e78.js +4 -0
  156. package/dist/cjs/{show-b03b7745.js.map → show-a1694e78.js.map} +1 -1
  157. package/dist/cjs/{suggestions-3dbb61f0.js → suggestions-ebc74ae9.js} +1 -1
  158. package/dist/cjs/{suggestions-3dbb61f0.js.map → suggestions-ebc74ae9.js.map} +1 -1
  159. package/dist/cjs/{tab-index-621163bf.js → tab-index-74743c67.js} +1 -1
  160. package/dist/cjs/{tab-index-621163bf.js.map → tab-index-74743c67.js.map} +1 -1
  161. package/dist/cjs/tooltip-align-fa4e1395.js +4 -0
  162. package/dist/cjs/{tooltip-align-18f90f3f.js.map → tooltip-align-fa4e1395.js.map} +1 -1
  163. package/dist/cjs/{validation-ccf9173b.js → validation-406b147b.js} +1 -1
  164. package/dist/cjs/{validation-ccf9173b.js.map → validation-406b147b.js.map} +1 -1
  165. package/dist/cjs/{validation-c5bb8a53.js → validation-eebfcfd4.js} +1 -1
  166. package/dist/cjs/{validation-c5bb8a53.js.map → validation-eebfcfd4.js.map} +1 -1
  167. package/dist/components/align-floating-elements.js +1 -1
  168. package/dist/components/align-floating-elements.js.map +1 -1
  169. package/dist/components/aria-expanded.js +1 -1
  170. package/dist/components/aria-expanded.js.map +1 -1
  171. package/dist/components/controller4.js +1 -1
  172. package/dist/components/controller4.js.map +1 -1
  173. package/dist/components/controller5.js +1 -1
  174. package/dist/components/controller5.js.map +1 -1
  175. package/dist/components/has-counter.js +4 -0
  176. package/dist/components/has-counter.js.map +1 -0
  177. package/dist/components/i18n.js +1 -1
  178. package/dist/components/i18n.js.map +1 -1
  179. package/dist/components/index.js +1 -1
  180. package/dist/components/index.js.map +1 -1
  181. package/dist/components/kol-alert-wc.js +1 -1
  182. package/dist/components/kol-alert-wc.js.map +1 -1
  183. package/dist/components/kol-icon.js +1 -1
  184. package/dist/components/kol-icon.js.map +1 -1
  185. package/dist/components/kol-input-checkbox.js +1 -1
  186. package/dist/components/kol-input-checkbox.js.map +1 -1
  187. package/dist/components/kol-input-date.js +1 -1
  188. package/dist/components/kol-input-date.js.map +1 -1
  189. package/dist/components/kol-input-password.js +1 -1
  190. package/dist/components/kol-input-password.js.map +1 -1
  191. package/dist/components/kol-input.js +1 -1
  192. package/dist/components/kol-input.js.map +1 -1
  193. package/dist/components/kol-nav.js +1 -1
  194. package/dist/components/kol-nav.js.map +1 -1
  195. package/dist/components/kol-span-wc.js +1 -1
  196. package/dist/components/kol-table-stateless-wc.js +1 -1
  197. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  198. package/dist/components/kol-tabs.js +1 -1
  199. package/dist/components/kol-tabs.js.map +1 -1
  200. package/dist/components/kol-textarea.js +1 -1
  201. package/dist/components/kol-textarea.js.map +1 -1
  202. package/dist/components/kol-tree-item.js +1 -1
  203. package/dist/components/kol-tree-item.js.map +1 -1
  204. package/dist/components/prop.validators.js.map +1 -1
  205. package/dist/esm/{InternalUnderlinedAccessKey-6dcea924.js → InternalUnderlinedAccessKey-cddf8c77.js} +1 -1
  206. package/dist/esm/{InternalUnderlinedAccessKey-6dcea924.js.map → InternalUnderlinedAccessKey-cddf8c77.js.map} +1 -1
  207. package/dist/esm/{access-key-6ced3097.js → access-key-34f992c3.js} +1 -1
  208. package/dist/esm/{access-key-6ced3097.js.map → access-key-34f992c3.js.map} +1 -1
  209. package/dist/esm/{align-89a65800.js → align-51311afa.js} +1 -1
  210. package/dist/esm/{align-89a65800.js.map → align-51311afa.js.map} +1 -1
  211. package/dist/esm/align-floating-elements-8dfecb37.js +4 -0
  212. package/dist/esm/align-floating-elements-8dfecb37.js.map +1 -0
  213. package/dist/esm/{app-globals-af8ec159.js → app-globals-d84172a7.js} +1 -1
  214. package/dist/esm/{app-globals-af8ec159.js.map → app-globals-d84172a7.js.map} +1 -1
  215. package/dist/esm/aria-expanded-2a5c6c4e.js +4 -0
  216. package/dist/esm/aria-expanded-2a5c6c4e.js.map +1 -0
  217. package/dist/esm/{associated.controller-8e2d43be.js → associated.controller-4715556c.js} +1 -1
  218. package/dist/esm/{associated.controller-8e2d43be.js.map → associated.controller-4715556c.js.map} +1 -1
  219. package/dist/esm/{color-52b1b536.js → color-44dcb59b.js} +1 -1
  220. package/dist/esm/{color-52b1b536.js.map → color-44dcb59b.js.map} +1 -1
  221. package/dist/esm/{controller-1ef92bc2.js → controller-65234607.js} +1 -1
  222. package/dist/esm/{controller-1ef92bc2.js.map → controller-65234607.js.map} +1 -1
  223. package/dist/esm/{controller-056d0f3b.js → controller-724a3665.js} +1 -1
  224. package/dist/esm/{controller-056d0f3b.js.map → controller-724a3665.js.map} +1 -1
  225. package/dist/esm/controller-e14790bc.js +4 -0
  226. package/dist/esm/controller-e14790bc.js.map +1 -0
  227. package/dist/esm/controller-f4077180.js +4 -0
  228. package/dist/esm/controller-f4077180.js.map +1 -0
  229. package/dist/esm/{controller-ec76e4bf.js → controller-f99ec155.js} +1 -1
  230. package/dist/esm/{controller-ec76e4bf.js.map → controller-f99ec155.js.map} +1 -1
  231. package/dist/esm/{controller-icon-e155a2b1.js → controller-icon-1320c05c.js} +1 -1
  232. package/dist/esm/{controller-icon-e155a2b1.js.map → controller-icon-1320c05c.js.map} +1 -1
  233. package/dist/esm/custom-class-918278a4.js +4 -0
  234. package/dist/esm/{custom-class-2d443ea5.js.map → custom-class-918278a4.js.map} +1 -1
  235. package/dist/esm/{dev.utils-e03eae45.js → dev.utils-27d22034.js} +1 -1
  236. package/dist/esm/{dev.utils-e03eae45.js.map → dev.utils-27d22034.js.map} +1 -1
  237. package/dist/esm/{devtools-5ea408e2.js → devtools-bd589090.js} +1 -1
  238. package/dist/esm/{devtools-5ea408e2.js.map → devtools-bd589090.js.map} +1 -1
  239. package/dist/esm/{disabled-d5b4a883.js → disabled-0e948e69.js} +1 -1
  240. package/dist/esm/{disabled-d5b4a883.js.map → disabled-0e948e69.js.map} +1 -1
  241. package/dist/esm/{events-4ee0f1f6.js → events-44f13b27.js} +1 -1
  242. package/dist/esm/{events-4ee0f1f6.js.map → events-44f13b27.js.map} +1 -1
  243. package/dist/esm/{form-field-msg-4b82d64f.js → form-field-msg-8050e5c3.js} +1 -1
  244. package/dist/esm/{form-field-msg-4b82d64f.js.map → form-field-msg-8050e5c3.js.map} +1 -1
  245. package/dist/esm/{has-closer-67035624.js → has-closer-1805c7a8.js} +1 -1
  246. package/dist/esm/{has-closer-67035624.js.map → has-closer-1805c7a8.js.map} +1 -1
  247. package/dist/esm/has-counter-d51a01dd.js +4 -0
  248. package/dist/esm/has-counter-d51a01dd.js.map +1 -0
  249. package/dist/esm/{hide-label-6424f890.js → hide-label-7d9e8ee6.js} +1 -1
  250. package/dist/esm/{hide-label-6424f890.js.map → hide-label-7d9e8ee6.js.map} +1 -1
  251. package/dist/esm/{href-e8c05473.js → href-876b240a.js} +1 -1
  252. package/dist/esm/{href-e8c05473.js.map → href-876b240a.js.map} +1 -1
  253. package/dist/esm/i18n-7ea9f137.js +4 -0
  254. package/dist/esm/i18n-7ea9f137.js.map +1 -0
  255. package/dist/esm/i18n-8640d789.js +4 -0
  256. package/dist/esm/{i18n-80da5843.js.map → i18n-8640d789.js.map} +1 -1
  257. package/dist/esm/{icons-bd60f3a5.js → icons-33fc85f1.js} +1 -1
  258. package/dist/esm/{icons-bd60f3a5.js.map → icons-33fc85f1.js.map} +1 -1
  259. package/dist/esm/{image-source-c68f09bf.js → image-source-7b92b206.js} +1 -1
  260. package/dist/esm/{image-source-c68f09bf.js.map → image-source-7b92b206.js.map} +1 -1
  261. package/dist/esm/index-72fcfd9d.js +4 -0
  262. package/dist/esm/index-72fcfd9d.js.map +1 -0
  263. package/dist/esm/{index-db4aa6e4.js.map → index-fcc5bd94.js.map} +1 -1
  264. package/dist/esm/index.js +1 -1
  265. package/dist/esm/index.js.map +1 -1
  266. package/dist/esm/kol-abbr.entry.js +1 -1
  267. package/dist/esm/kol-accordion.entry.js +1 -1
  268. package/dist/esm/kol-alert-wc.entry.js +1 -1
  269. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  270. package/dist/esm/kol-alert.entry.js +1 -1
  271. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  272. package/dist/esm/kol-avatar.entry.js +1 -1
  273. package/dist/esm/kol-badge.entry.js +1 -1
  274. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  275. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  276. package/dist/esm/kol-button-group.entry.js +1 -1
  277. package/dist/esm/kol-button-link.entry.js +1 -1
  278. package/dist/esm/kol-button-wc.entry.js +1 -1
  279. package/dist/esm/kol-button.entry.js +1 -1
  280. package/dist/esm/kol-card.entry.js +1 -1
  281. package/dist/esm/kol-combobox.entry.js +1 -1
  282. package/dist/esm/kol-details.entry.js +1 -1
  283. package/dist/esm/kol-drawer.entry.js +1 -1
  284. package/dist/esm/kol-form.entry.js +1 -1
  285. package/dist/esm/kol-heading-wc.entry.js +1 -1
  286. package/dist/esm/kol-heading.entry.js +1 -1
  287. package/dist/esm/kol-icon.entry.js +1 -1
  288. package/dist/esm/kol-icon.entry.js.map +1 -1
  289. package/dist/esm/kol-image.entry.js +1 -1
  290. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  291. package/dist/esm/kol-indented-text.entry.js +1 -1
  292. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  293. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  294. package/dist/esm/kol-input-color.entry.js +1 -1
  295. package/dist/esm/kol-input-date.entry.js +1 -1
  296. package/dist/esm/kol-input-date.entry.js.map +1 -1
  297. package/dist/esm/kol-input-email.entry.js +1 -1
  298. package/dist/esm/kol-input-email.entry.js.map +1 -1
  299. package/dist/esm/kol-input-file.entry.js +1 -1
  300. package/dist/esm/kol-input-number.entry.js +1 -1
  301. package/dist/esm/kol-input-password.entry.js +1 -1
  302. package/dist/esm/kol-input-password.entry.js.map +1 -1
  303. package/dist/esm/kol-input-radio.entry.js +1 -1
  304. package/dist/esm/kol-input-range.entry.js +1 -1
  305. package/dist/esm/kol-input-text.entry.js +1 -1
  306. package/dist/esm/kol-input-text.entry.js.map +1 -1
  307. package/dist/esm/kol-input.entry.js +1 -1
  308. package/dist/esm/kol-input.entry.js.map +1 -1
  309. package/dist/esm/kol-kolibri.entry.js +1 -1
  310. package/dist/esm/kol-link-button.entry.js +1 -1
  311. package/dist/esm/kol-link-group.entry.js +1 -1
  312. package/dist/esm/kol-link-wc.entry.js +1 -1
  313. package/dist/esm/kol-link.entry.js +1 -1
  314. package/dist/esm/kol-logo.entry.js +1 -1
  315. package/dist/esm/kol-modal.entry.js +1 -1
  316. package/dist/esm/kol-nav.entry.js +1 -1
  317. package/dist/esm/kol-nav.entry.js.map +1 -1
  318. package/dist/esm/kol-pagination.entry.js +1 -1
  319. package/dist/esm/kol-popover-wc.entry.js +1 -1
  320. package/dist/esm/kol-progress.entry.js +1 -1
  321. package/dist/esm/kol-quote.entry.js +1 -1
  322. package/dist/esm/kol-select.entry.js +1 -1
  323. package/dist/esm/kol-single-select.entry.js +1 -1
  324. package/dist/esm/kol-skip-nav.entry.js +1 -1
  325. package/dist/esm/kol-span-wc.entry.js +1 -1
  326. package/dist/esm/kol-spin.entry.js +1 -1
  327. package/dist/esm/kol-split-button.entry.js +1 -1
  328. package/dist/esm/kol-symbol.entry.js +1 -1
  329. package/dist/esm/kol-table-stateful.entry.js +1 -1
  330. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  331. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  332. package/dist/esm/kol-table-stateless.entry.js +1 -1
  333. package/dist/esm/kol-table.entry.js +1 -1
  334. package/dist/esm/kol-tabs.entry.js +1 -1
  335. package/dist/esm/kol-tabs.entry.js.map +1 -1
  336. package/dist/esm/kol-textarea.entry.js +1 -1
  337. package/dist/esm/kol-textarea.entry.js.map +1 -1
  338. package/dist/esm/kol-toast-container.entry.js +1 -1
  339. package/dist/esm/kol-toolbar.entry.js +1 -1
  340. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  341. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  342. package/dist/esm/kol-tree-item.entry.js +1 -1
  343. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  344. package/dist/esm/kol-tree-wc.entry.js +1 -1
  345. package/dist/esm/kol-tree.entry.js +1 -1
  346. package/dist/esm/kol-version.entry.js +1 -1
  347. package/dist/esm/kolibri.js +1 -1
  348. package/dist/esm/kolibri.js.map +1 -1
  349. package/dist/esm/{label-37acddfe.js → label-541a8424.js} +1 -1
  350. package/dist/esm/{label-37acddfe.js.map → label-541a8424.js.map} +1 -1
  351. package/dist/esm/loader.js +1 -1
  352. package/dist/esm/{open-8e6f0bcd.js → open-b0401165.js} +1 -1
  353. package/dist/esm/{open-8e6f0bcd.js.map → open-b0401165.js.map} +1 -1
  354. package/dist/esm/{prop.validators-f89d26b4.js → prop.validators-543d0c7b.js} +1 -1
  355. package/dist/esm/{prop.validators-f89d26b4.js.map → prop.validators-543d0c7b.js.map} +1 -1
  356. package/dist/esm/{rows-9afeef27.js → rows-2ccfdbdc.js} +1 -1
  357. package/dist/esm/{rows-9afeef27.js.map → rows-2ccfdbdc.js.map} +1 -1
  358. package/dist/esm/{show-d234ff64.js → show-4cb5cfd2.js} +1 -1
  359. package/dist/esm/{show-d234ff64.js.map → show-4cb5cfd2.js.map} +1 -1
  360. package/dist/esm/{suggestions-1d994338.js → suggestions-4fedd765.js} +1 -1
  361. package/dist/esm/{suggestions-1d994338.js.map → suggestions-4fedd765.js.map} +1 -1
  362. package/dist/esm/{tab-index-a117f598.js → tab-index-aa2012d4.js} +1 -1
  363. package/dist/esm/{tab-index-a117f598.js.map → tab-index-aa2012d4.js.map} +1 -1
  364. package/dist/esm/tooltip-align-01afdf25.js +4 -0
  365. package/dist/esm/{tooltip-align-b217e9d0.js.map → tooltip-align-01afdf25.js.map} +1 -1
  366. package/dist/esm/{validation-381a4169.js → validation-25fb8bf6.js} +1 -1
  367. package/dist/esm/{validation-381a4169.js.map → validation-25fb8bf6.js.map} +1 -1
  368. package/dist/esm/{validation-80318b2c.js → validation-2e99145a.js} +1 -1
  369. package/dist/esm/{validation-80318b2c.js.map → validation-2e99145a.js.map} +1 -1
  370. package/dist/kolibri/InternalUnderlinedAccessKey-cddf8c77.js +4 -0
  371. package/dist/kolibri/access-key-34f992c3.js +4 -0
  372. package/dist/kolibri/{align-89a65800.js → align-51311afa.js} +1 -1
  373. package/dist/kolibri/align-floating-elements-8dfecb37.js +4 -0
  374. package/dist/kolibri/align-floating-elements-8dfecb37.js.map +1 -0
  375. package/dist/kolibri/app-globals-d84172a7.js +4 -0
  376. package/dist/kolibri/aria-expanded-2a5c6c4e.js +4 -0
  377. package/dist/kolibri/aria-expanded-2a5c6c4e.js.map +1 -0
  378. package/dist/kolibri/{associated.controller-8e2d43be.js → associated.controller-4715556c.js} +1 -1
  379. package/dist/kolibri/{color-52b1b536.js → color-44dcb59b.js} +1 -1
  380. package/dist/kolibri/{controller-1ef92bc2.js → controller-65234607.js} +1 -1
  381. package/dist/kolibri/{controller-056d0f3b.js → controller-724a3665.js} +1 -1
  382. package/dist/kolibri/controller-e14790bc.js +4 -0
  383. package/dist/kolibri/controller-e14790bc.js.map +1 -0
  384. package/dist/kolibri/controller-f4077180.js +4 -0
  385. package/dist/kolibri/controller-f4077180.js.map +1 -0
  386. package/dist/kolibri/{controller-ec76e4bf.js → controller-f99ec155.js} +1 -1
  387. package/dist/kolibri/controller-icon-1320c05c.js +4 -0
  388. package/dist/kolibri/custom-class-918278a4.js +4 -0
  389. package/dist/kolibri/{dev.utils-e03eae45.js → dev.utils-27d22034.js} +1 -1
  390. package/dist/kolibri/devtools-bd589090.js +4 -0
  391. package/dist/kolibri/{disabled-d5b4a883.js → disabled-0e948e69.js} +1 -1
  392. package/dist/kolibri/{events-4ee0f1f6.js → events-44f13b27.js} +1 -1
  393. package/dist/kolibri/form-field-msg-8050e5c3.js +4 -0
  394. package/dist/kolibri/has-closer-1805c7a8.js +4 -0
  395. package/dist/kolibri/has-counter-d51a01dd.js +4 -0
  396. package/dist/kolibri/has-counter-d51a01dd.js.map +1 -0
  397. package/dist/kolibri/hide-label-7d9e8ee6.js +4 -0
  398. package/dist/kolibri/href-876b240a.js +4 -0
  399. package/dist/kolibri/i18n-7ea9f137.js +4 -0
  400. package/dist/kolibri/i18n-7ea9f137.js.map +1 -0
  401. package/dist/kolibri/i18n-8640d789.js +4 -0
  402. package/dist/kolibri/{icons-bd60f3a5.js → icons-33fc85f1.js} +1 -1
  403. package/dist/kolibri/image-source-7b92b206.js +4 -0
  404. package/dist/kolibri/index-72fcfd9d.js +5 -0
  405. package/dist/kolibri/index-72fcfd9d.js.map +1 -0
  406. package/dist/kolibri/{index-db4aa6e4.js.map → index-fcc5bd94.js.map} +1 -1
  407. package/dist/kolibri/index.esm.js +1 -1
  408. package/dist/kolibri/index.esm.js.map +1 -1
  409. package/dist/kolibri/kol-abbr.entry.js +1 -1
  410. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  411. package/dist/kolibri/kol-accordion.entry.js +1 -1
  412. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  413. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  414. package/dist/kolibri/kol-alert.entry.js +1 -1
  415. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  416. package/dist/kolibri/kol-avatar.entry.js +1 -1
  417. package/dist/kolibri/kol-badge.entry.js +1 -1
  418. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  419. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  420. package/dist/kolibri/kol-button-group.entry.js +1 -1
  421. package/dist/kolibri/kol-button-link.entry.js +1 -1
  422. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  423. package/dist/kolibri/kol-button.entry.js +1 -1
  424. package/dist/kolibri/kol-card.entry.js +1 -1
  425. package/dist/kolibri/kol-combobox.entry.js +1 -1
  426. package/dist/kolibri/kol-details.entry.js +1 -1
  427. package/dist/kolibri/kol-drawer.entry.js +1 -1
  428. package/dist/kolibri/kol-form.entry.js +1 -1
  429. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  430. package/dist/kolibri/kol-heading.entry.js +1 -1
  431. package/dist/kolibri/kol-icon.entry.js +1 -1
  432. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  433. package/dist/kolibri/kol-image.entry.js +1 -1
  434. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  435. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  436. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  437. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  438. package/dist/kolibri/kol-input-color.entry.js +1 -1
  439. package/dist/kolibri/kol-input-date.entry.js +1 -1
  440. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  441. package/dist/kolibri/kol-input-email.entry.js +1 -1
  442. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  443. package/dist/kolibri/kol-input-file.entry.js +1 -1
  444. package/dist/kolibri/kol-input-number.entry.js +1 -1
  445. package/dist/kolibri/kol-input-password.entry.js +1 -1
  446. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  447. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  448. package/dist/kolibri/kol-input-range.entry.js +1 -1
  449. package/dist/kolibri/kol-input-text.entry.js +1 -1
  450. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  451. package/dist/kolibri/kol-input.entry.js +1 -1
  452. package/dist/kolibri/kol-input.entry.js.map +1 -1
  453. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  454. package/dist/kolibri/kol-link-button.entry.js +1 -1
  455. package/dist/kolibri/kol-link-group.entry.js +1 -1
  456. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  457. package/dist/kolibri/kol-link.entry.js +1 -1
  458. package/dist/kolibri/kol-logo.entry.js +1 -1
  459. package/dist/kolibri/kol-modal.entry.js +1 -1
  460. package/dist/kolibri/kol-nav.entry.js +1 -1
  461. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  462. package/dist/kolibri/kol-pagination.entry.js +1 -1
  463. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  464. package/dist/kolibri/kol-progress.entry.js +1 -1
  465. package/dist/kolibri/kol-quote.entry.js +1 -1
  466. package/dist/kolibri/kol-select.entry.js +1 -1
  467. package/dist/kolibri/kol-single-select.entry.js +1 -1
  468. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  469. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  470. package/dist/kolibri/kol-spin.entry.js +1 -1
  471. package/dist/kolibri/kol-split-button.entry.js +1 -1
  472. package/dist/kolibri/kol-symbol.entry.js +1 -1
  473. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  474. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  475. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  476. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  477. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  478. package/dist/kolibri/kol-table.entry.js +1 -1
  479. package/dist/kolibri/kol-tabs.entry.js +1 -1
  480. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  481. package/dist/kolibri/kol-textarea.entry.js +1 -1
  482. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  483. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  484. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  485. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  486. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  487. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  488. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  489. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  490. package/dist/kolibri/kol-tree.entry.js +1 -1
  491. package/dist/kolibri/kol-version.entry.js +1 -1
  492. package/dist/kolibri/kolibri.esm.js +1 -1
  493. package/dist/kolibri/kolibri.esm.js.map +1 -1
  494. package/dist/kolibri/{label-37acddfe.js → label-541a8424.js} +1 -1
  495. package/dist/kolibri/open-b0401165.js +4 -0
  496. package/dist/kolibri/{prop.validators-f89d26b4.js → prop.validators-543d0c7b.js} +1 -1
  497. package/dist/kolibri/rows-2ccfdbdc.js +4 -0
  498. package/dist/kolibri/show-4cb5cfd2.js +4 -0
  499. package/dist/kolibri/{suggestions-1d994338.js → suggestions-4fedd765.js} +1 -1
  500. package/dist/kolibri/{tab-index-a117f598.js → tab-index-aa2012d4.js} +1 -1
  501. package/dist/kolibri/tooltip-align-01afdf25.js +4 -0
  502. package/dist/kolibri/{validation-381a4169.js → validation-25fb8bf6.js} +1 -1
  503. package/dist/kolibri/validation-2e99145a.js +4 -0
  504. package/dist/types/components/input-checkbox/controller.d.ts +2 -1
  505. package/dist/types/components/input-checkbox/shadow.d.ts +3 -1
  506. package/dist/types/components/input-date/controller.d.ts +1 -1
  507. package/dist/types/components/input-password/controller.d.ts +1 -0
  508. package/dist/types/components/input-text/controller.d.ts +0 -1
  509. package/dist/types/components/table-stateless/component.d.ts +2 -0
  510. package/dist/types/components/tabs/shadow.d.ts +13 -1
  511. package/dist/types/components.d.ts +18 -2
  512. package/dist/types/index.d.ts +3 -4
  513. package/dist/types/schema/components/input-checkbox.d.ts +3 -3
  514. package/dist/types/schema/components/tabs.d.ts +3 -3
  515. package/dist/types/schema/enums/index.d.ts +1 -1
  516. package/dist/types/schema/enums/keyboard.d.ts +8 -0
  517. package/dist/types/schema/index.d.ts +1 -1
  518. package/dist/types/schema/props/alternative-button-link-role.d.ts +3 -1
  519. package/dist/types/schema/props/has-counter.d.ts +2 -1
  520. package/dist/types/schema/props/index.d.ts +1 -1
  521. package/dist/types/schema/props/label-align.d.ts +8 -0
  522. package/dist/types/schema/props/tab-behavior.d.ts +8 -0
  523. package/dist/types/schema/utils/prop.validators.d.ts +5 -5
  524. package/dist/types/schema/utils/reuse.d.ts +1 -1
  525. package/doc/badge.md +6 -6
  526. package/doc/input-checkbox.md +1 -0
  527. package/doc/input-color.md +22 -22
  528. package/doc/input-date.md +28 -28
  529. package/doc/input-email.md +29 -29
  530. package/doc/input-file.md +23 -23
  531. package/doc/input-number.md +28 -28
  532. package/doc/input-password.md +28 -28
  533. package/doc/input-text.md +29 -29
  534. package/doc/table.md +1 -1
  535. package/doc/tabs.md +1 -0
  536. package/package.json +4 -1
  537. package/vscode-custom-data.json +97 -1
  538. package/dist/cjs/access-key-12589f9b.js +0 -4
  539. package/dist/cjs/align-floating-elements-e55859b9.js +0 -4
  540. package/dist/cjs/align-floating-elements-e55859b9.js.map +0 -1
  541. package/dist/cjs/app-globals-80ac5154.js +0 -4
  542. package/dist/cjs/aria-expanded-be98ced6.js +0 -4
  543. package/dist/cjs/aria-expanded-be98ced6.js.map +0 -1
  544. package/dist/cjs/controller-cbd26426.js +0 -4
  545. package/dist/cjs/controller-cbd26426.js.map +0 -1
  546. package/dist/cjs/controller-f984e45f.js.map +0 -1
  547. package/dist/cjs/custom-class-5a76b8cc.js +0 -4
  548. package/dist/cjs/has-closer-354720e1.js +0 -4
  549. package/dist/cjs/hide-label-7e4f3ef4.js +0 -4
  550. package/dist/cjs/href-87a51631.js +0 -4
  551. package/dist/cjs/i18n-41ebfcca.js +0 -4
  552. package/dist/cjs/i18n-41ebfcca.js.map +0 -1
  553. package/dist/cjs/image-source-7ee44fb4.js +0 -4
  554. package/dist/cjs/index-69c6474f.js +0 -4
  555. package/dist/cjs/index-69c6474f.js.map +0 -1
  556. package/dist/cjs/open-f0d79417.js +0 -4
  557. package/dist/cjs/rows-4c48715e.js +0 -4
  558. package/dist/cjs/show-b03b7745.js +0 -4
  559. package/dist/cjs/tooltip-align-18f90f3f.js +0 -4
  560. package/dist/esm/align-floating-elements-42e5ff04.js +0 -4
  561. package/dist/esm/align-floating-elements-42e5ff04.js.map +0 -1
  562. package/dist/esm/aria-expanded-e75617bf.js +0 -4
  563. package/dist/esm/aria-expanded-e75617bf.js.map +0 -1
  564. package/dist/esm/controller-3cb3d1e6.js +0 -4
  565. package/dist/esm/controller-3cb3d1e6.js.map +0 -1
  566. package/dist/esm/controller-4bd39719.js +0 -4
  567. package/dist/esm/controller-4bd39719.js.map +0 -1
  568. package/dist/esm/custom-class-2d443ea5.js +0 -4
  569. package/dist/esm/i18n-80da5843.js +0 -4
  570. package/dist/esm/i18n-ece780dd.js +0 -4
  571. package/dist/esm/i18n-ece780dd.js.map +0 -1
  572. package/dist/esm/index-5ca1f480.js +0 -4
  573. package/dist/esm/index-5ca1f480.js.map +0 -1
  574. package/dist/esm/tooltip-align-b217e9d0.js +0 -4
  575. package/dist/kolibri/InternalUnderlinedAccessKey-6dcea924.js +0 -4
  576. package/dist/kolibri/access-key-6ced3097.js +0 -4
  577. package/dist/kolibri/align-floating-elements-42e5ff04.js +0 -4
  578. package/dist/kolibri/align-floating-elements-42e5ff04.js.map +0 -1
  579. package/dist/kolibri/app-globals-af8ec159.js +0 -4
  580. package/dist/kolibri/aria-expanded-e75617bf.js +0 -4
  581. package/dist/kolibri/aria-expanded-e75617bf.js.map +0 -1
  582. package/dist/kolibri/controller-3cb3d1e6.js +0 -4
  583. package/dist/kolibri/controller-3cb3d1e6.js.map +0 -1
  584. package/dist/kolibri/controller-4bd39719.js +0 -4
  585. package/dist/kolibri/controller-4bd39719.js.map +0 -1
  586. package/dist/kolibri/controller-icon-e155a2b1.js +0 -4
  587. package/dist/kolibri/custom-class-2d443ea5.js +0 -4
  588. package/dist/kolibri/devtools-5ea408e2.js +0 -4
  589. package/dist/kolibri/form-field-msg-4b82d64f.js +0 -4
  590. package/dist/kolibri/has-closer-67035624.js +0 -4
  591. package/dist/kolibri/hide-label-6424f890.js +0 -4
  592. package/dist/kolibri/href-e8c05473.js +0 -4
  593. package/dist/kolibri/i18n-80da5843.js +0 -4
  594. package/dist/kolibri/i18n-ece780dd.js +0 -4
  595. package/dist/kolibri/i18n-ece780dd.js.map +0 -1
  596. package/dist/kolibri/image-source-c68f09bf.js +0 -4
  597. package/dist/kolibri/index-5ca1f480.js +0 -5
  598. package/dist/kolibri/index-5ca1f480.js.map +0 -1
  599. package/dist/kolibri/open-8e6f0bcd.js +0 -4
  600. package/dist/kolibri/rows-9afeef27.js +0 -4
  601. package/dist/kolibri/show-d234ff64.js +0 -4
  602. package/dist/kolibri/tooltip-align-b217e9d0.js +0 -4
  603. package/dist/kolibri/validation-80318b2c.js +0 -4
  604. /package/dist/cjs/{index-1285d2d1.js → index-45dd33c3.js} +0 -0
  605. /package/dist/esm/{index-db4aa6e4.js → index-fcc5bd94.js} +0 -0
  606. /package/dist/kolibri/{InternalUnderlinedAccessKey-6dcea924.js.map → InternalUnderlinedAccessKey-cddf8c77.js.map} +0 -0
  607. /package/dist/kolibri/{access-key-6ced3097.js.map → access-key-34f992c3.js.map} +0 -0
  608. /package/dist/kolibri/{align-89a65800.js.map → align-51311afa.js.map} +0 -0
  609. /package/dist/kolibri/{app-globals-af8ec159.js.map → app-globals-d84172a7.js.map} +0 -0
  610. /package/dist/kolibri/{associated.controller-8e2d43be.js.map → associated.controller-4715556c.js.map} +0 -0
  611. /package/dist/kolibri/{color-52b1b536.js.map → color-44dcb59b.js.map} +0 -0
  612. /package/dist/kolibri/{controller-1ef92bc2.js.map → controller-65234607.js.map} +0 -0
  613. /package/dist/kolibri/{controller-056d0f3b.js.map → controller-724a3665.js.map} +0 -0
  614. /package/dist/kolibri/{controller-ec76e4bf.js.map → controller-f99ec155.js.map} +0 -0
  615. /package/dist/kolibri/{controller-icon-e155a2b1.js.map → controller-icon-1320c05c.js.map} +0 -0
  616. /package/dist/kolibri/{custom-class-2d443ea5.js.map → custom-class-918278a4.js.map} +0 -0
  617. /package/dist/kolibri/{dev.utils-e03eae45.js.map → dev.utils-27d22034.js.map} +0 -0
  618. /package/dist/kolibri/{devtools-5ea408e2.js.map → devtools-bd589090.js.map} +0 -0
  619. /package/dist/kolibri/{disabled-d5b4a883.js.map → disabled-0e948e69.js.map} +0 -0
  620. /package/dist/kolibri/{events-4ee0f1f6.js.map → events-44f13b27.js.map} +0 -0
  621. /package/dist/kolibri/{form-field-msg-4b82d64f.js.map → form-field-msg-8050e5c3.js.map} +0 -0
  622. /package/dist/kolibri/{has-closer-67035624.js.map → has-closer-1805c7a8.js.map} +0 -0
  623. /package/dist/kolibri/{hide-label-6424f890.js.map → hide-label-7d9e8ee6.js.map} +0 -0
  624. /package/dist/kolibri/{href-e8c05473.js.map → href-876b240a.js.map} +0 -0
  625. /package/dist/kolibri/{i18n-80da5843.js.map → i18n-8640d789.js.map} +0 -0
  626. /package/dist/kolibri/{icons-bd60f3a5.js.map → icons-33fc85f1.js.map} +0 -0
  627. /package/dist/kolibri/{image-source-c68f09bf.js.map → image-source-7b92b206.js.map} +0 -0
  628. /package/dist/kolibri/{index-db4aa6e4.js → index-fcc5bd94.js} +0 -0
  629. /package/dist/kolibri/{label-37acddfe.js.map → label-541a8424.js.map} +0 -0
  630. /package/dist/kolibri/{open-8e6f0bcd.js.map → open-b0401165.js.map} +0 -0
  631. /package/dist/kolibri/{prop.validators-f89d26b4.js.map → prop.validators-543d0c7b.js.map} +0 -0
  632. /package/dist/kolibri/{rows-9afeef27.js.map → rows-2ccfdbdc.js.map} +0 -0
  633. /package/dist/kolibri/{show-d234ff64.js.map → show-4cb5cfd2.js.map} +0 -0
  634. /package/dist/kolibri/{suggestions-1d994338.js.map → suggestions-4fedd765.js.map} +0 -0
  635. /package/dist/kolibri/{tab-index-a117f598.js.map → tab-index-aa2012d4.js.map} +0 -0
  636. /package/dist/kolibri/{tooltip-align-b217e9d0.js.map → tooltip-align-01afdf25.js.map} +0 -0
  637. /package/dist/kolibri/{validation-381a4169.js.map → validation-25fb8bf6.js.map} +0 -0
  638. /package/dist/kolibri/{validation-80318b2c.js.map → validation-2e99145a.js.map} +0 -0
  639. /package/dist/{declare.d.ts → types/declare.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),componentNames=require("./component-names-4a2d0b57.js"),dev_utils=require("./dev.utils-807035c8.js"),color=require("./color-e9f9368d.js"),prop_validators=require("./prop.validators-37113ad1.js");require("./reuse-50a5792c.js"),require("./dev.utils-58fde089.js"),require("./index-1285d2d1.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n /* :host implicitly inherits font-size, e.g. for usage in headlines */\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > span {\n display: inline-flex;\n place-items: center;\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n :host > span > .kol-button-wc button {\n color: inherit;\n }\n}",KolBadgeDefaultStyle0=defaultStyleCss;prop_validators.featureHint("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const KolBadge=class{constructor(n){index.registerInstance(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=dev_utils.nonce(),this.handleColorChange=n=>{const e=color.handleColorChange(n);this.bgColorStr=e.backgroundColor,this.colorStr=e.foregroundColor},this._color="#000",this._icons=void 0,this._label=void 0,this._smartButton=void 0,this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"}}}renderSmartButton(n){return index.h(componentNames.KolButtonWcTag,{_ariaControls:this.id,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign,_variant:n._variant})}render(){const n="object"==typeof this.state._smartButton&&null!==this.state._smartButton;return index.h(index.Host,{key:"0b334746c26463bbc697f08077e165e56b34a97f",class:"kol-badge"},index.h("span",{key:"83210f467b224cb691d844a0311f4a31a1ad6e79",class:{"smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton},style:{backgroundColor:this.bgColorStr,color:this.colorStr}},index.h(componentNames.KolSpanWcTag,{key:"d5a3248d67baa494d9671e0da7de918511af084b",id:n?this.id:void 0,_allowMarkdown:!0,_icons:this._icons,_label:this._label}),n&&this.renderSmartButton(this.state._smartButton)))}validateColor(n){color.validateColor(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){prop_validators.objectObjectHandler(n,(()=>{try{n=prop_validators.parseJson(n)}catch(n){}prop_validators.setState(this,"_smartButton",n)}))}componentWillLoad(){this.validateColor(this._color),this.validateSmartButton(this._smartButton)}static get watchers(){return{_color:["validateColor"],_smartButton:["validateSmartButton"]}}};KolBadge.style={default:KolBadgeDefaultStyle0},exports.kol_badge=KolBadge;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),componentNames=require("./component-names-4a2d0b57.js"),dev_utils=require("./dev.utils-a61d0ca3.js"),color=require("./color-d5846b87.js"),prop_validators=require("./prop.validators-68958b0a.js");require("./reuse-50a5792c.js"),require("./dev.utils-58fde089.js"),require("./index-45dd33c3.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n /* :host implicitly inherits font-size, e.g. for usage in headlines */\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > span {\n display: inline-flex;\n place-items: center;\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n :host > span > .kol-button-wc button {\n color: inherit;\n }\n}",KolBadgeDefaultStyle0=defaultStyleCss;prop_validators.featureHint("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const KolBadge=class{constructor(n){index.registerInstance(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=dev_utils.nonce(),this.handleColorChange=n=>{const e=color.handleColorChange(n);this.bgColorStr=e.backgroundColor,this.colorStr=e.foregroundColor},this._color="#000",this._icons=void 0,this._label=void 0,this._smartButton=void 0,this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"}}}renderSmartButton(n){return index.h(componentNames.KolButtonWcTag,{_ariaControls:this.id,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign,_variant:n._variant})}render(){const n="object"==typeof this.state._smartButton&&null!==this.state._smartButton;return index.h(index.Host,{key:"0b334746c26463bbc697f08077e165e56b34a97f",class:"kol-badge"},index.h("span",{key:"83210f467b224cb691d844a0311f4a31a1ad6e79",class:{"smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton},style:{backgroundColor:this.bgColorStr,color:this.colorStr}},index.h(componentNames.KolSpanWcTag,{key:"d5a3248d67baa494d9671e0da7de918511af084b",id:n?this.id:void 0,_allowMarkdown:!0,_icons:this._icons,_label:this._label}),n&&this.renderSmartButton(this.state._smartButton)))}validateColor(n){color.validateColor(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){prop_validators.objectObjectHandler(n,(()=>{try{n=prop_validators.parseJson(n)}catch(n){}prop_validators.setState(this,"_smartButton",n)}))}componentWillLoad(){this.validateColor(this._color),this.validateSmartButton(this._smartButton)}static get watchers(){return{_color:["validateColor"],_smartButton:["validateSmartButton"]}}};KolBadge.style={default:KolBadgeDefaultStyle0},exports.kol_badge=KolBadge;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),uniqueNavLabels=require("./unique-nav-labels-b12ecac7.js"),validation=require("./validation-c5bb8a53.js"),componentNames=require("./component-names-4a2d0b57.js"),prop_validators=require("./prop.validators-37113ad1.js"),label=require("./label-5ba50d8b.js");require("./dev.utils-58fde089.js"),require("./index-1285d2d1.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n li,\n ul {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}",KolBreadcrumbDefaultStyle0=defaultStyleCss,KolBreadcrumb=class{constructor(n){index.registerInstance(this,n),this.renderLink=(n,e)=>{const t=this.state._links.length-1;return index.h("li",{key:e},0!==e&&index.h(componentNames.KolIconTag,{_label:"",_icons:"codicon codicon-chevron-right"}),e===t?index.h("span",null,n._hideLabel?index.h(componentNames.KolIconTag,{_label:n._label,_icons:"string"==typeof n._icons?n._icons:"codicon codicon-symbol-event"}):index.h(index.Fragment,null,n._label)):index.h(componentNames.KolLinkTag,Object.assign({},n)))},this._label=void 0,this._links=void 0,this.state={_label:"",_links:[]}}render(){return index.h(index.Host,{key:"1cfa36fa9a381d7b470854ec4a550b54817e37d6",class:"kol-breadcrumb"},index.h("nav",{key:"d913f0b8853e65302801b62abb9ee1a7911ba264","aria-label":this.state._label},index.h("ul",{key:"9719d99bcfedb925e819b0abf14977692fdabc76"},0===this.state._links.length&&index.h("li",{key:"1681efdfcdb0eb6d31fe0baf14efa89208ef04e9"},index.h(componentNames.KolIconTag,{key:"21f1969a164aaa85d48a8e985e2e788be10a5135",_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink))))}validateLabel(n,e,t=!1){t||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,n,{required:!0}),prop_validators.a11yHintLabelingLandmarks(n),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(n){validation.watchNavLinks("KolBreadcrumb",this,n)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};KolBreadcrumb.style={default:KolBreadcrumbDefaultStyle0},exports.kol_breadcrumb=KolBreadcrumb;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),uniqueNavLabels=require("./unique-nav-labels-b12ecac7.js"),validation=require("./validation-eebfcfd4.js"),componentNames=require("./component-names-4a2d0b57.js"),prop_validators=require("./prop.validators-68958b0a.js"),label=require("./label-601352a4.js");require("./dev.utils-58fde089.js"),require("./index-45dd33c3.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n li,\n ul {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}",KolBreadcrumbDefaultStyle0=defaultStyleCss,KolBreadcrumb=class{constructor(e){index.registerInstance(this,e),this.renderLink=(e,n)=>{const t=this.state._links.length-1;return index.h("li",{key:n},0!==n&&index.h(componentNames.KolIconTag,{_label:"",_icons:"codicon codicon-chevron-right"}),n===t?index.h("span",null,e._hideLabel?index.h(componentNames.KolIconTag,{_label:e._label,_icons:"string"==typeof e._icons?e._icons:"codicon codicon-symbol-event"}):index.h(index.Fragment,null,e._label)):index.h(componentNames.KolLinkTag,Object.assign({},e)))},this._label=void 0,this._links=void 0,this.state={_label:"",_links:[]}}render(){return index.h(index.Host,{key:"1cfa36fa9a381d7b470854ec4a550b54817e37d6",class:"kol-breadcrumb"},index.h("nav",{key:"d913f0b8853e65302801b62abb9ee1a7911ba264","aria-label":this.state._label},index.h("ul",{key:"9719d99bcfedb925e819b0abf14977692fdabc76"},0===this.state._links.length&&index.h("li",{key:"1681efdfcdb0eb6d31fe0baf14efa89208ef04e9"},index.h(componentNames.KolIconTag,{key:"21f1969a164aaa85d48a8e985e2e788be10a5135",_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink))))}validateLabel(e,n,t=!1){t||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,e,{required:!0}),prop_validators.a11yHintLabelingLandmarks(e),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(e){validation.watchNavLinks("KolBreadcrumb",this,e)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};KolBreadcrumb.style={default:KolBreadcrumbDefaultStyle0},exports.kol_breadcrumb=KolBreadcrumb;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),KolButtonGroupWc=class{constructor(e){index.registerInstance(this,e),this.state={}}render(){return index.h(index.Host,{key:"d70d07aee8bf780d21f93ad48d5549e65e889f02",class:"kol-button-group-wc"},index.h("slot",{key:"3dfb84fee69b23211aab06b29d28690cdebe5ffc"}))}};exports.kol_button_group_wc=KolButtonGroupWc;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),KolButtonGroupWc=class{constructor(e){index.registerInstance(this,e),this.state={}}render(){return index.h(index.Host,{key:"d70d07aee8bf780d21f93ad48d5549e65e889f02",class:"kol-button-group-wc"},index.h("slot",{key:"3dfb84fee69b23211aab06b29d28690cdebe5ffc"}))}};exports.kol_button_group_wc=KolButtonGroupWc;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),componentNames=require("./component-names-4a2d0b57.js"),defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > .kol-button-group-wc {\n display: flex;\n flex-wrap: wrap;\n }\n}",KolButtonGroupDefaultStyle0=defaultStyleCss,KolButtonGroup=class{constructor(n){index.registerInstance(this,n)}render(){return index.h(index.Host,{key:"e53bb9644f55447a8d34607dcf23cd22afba7cc3",class:"kol-button-group"},index.h(componentNames.KolButtonGroupWcTag,{key:"b4ddb170e6b597a461a4106d2903ecedc9741e6d"},index.h("slot",{key:"c0297ef635d4a7b87e8c4ab5f2a9e5235eb059ca"})))}};KolButtonGroup.style={default:KolButtonGroupDefaultStyle0},exports.kol_button_group=KolButtonGroup;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),componentNames=require("./component-names-4a2d0b57.js"),defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > .kol-button-group-wc {\n display: flex;\n flex-wrap: wrap;\n }\n}",KolButtonGroupDefaultStyle0=defaultStyleCss,KolButtonGroup=class{constructor(n){index.registerInstance(this,n)}render(){return index.h(index.Host,{key:"e53bb9644f55447a8d34607dcf23cd22afba7cc3",class:"kol-button-group"},index.h(componentNames.KolButtonGroupWcTag,{key:"b4ddb170e6b597a461a4106d2903ecedc9741e6d"},index.h("slot",{key:"c0297ef635d4a7b87e8c4ab5f2a9e5235eb059ca"})))}};KolButtonGroup.style={default:KolButtonGroupDefaultStyle0},exports.kol_button_group=KolButtonGroup;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),componentNames=require("./component-names-4a2d0b57.js"),defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :is(a, button) {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n :is(a, button) .kol-span-wc .span-label {\n text-decoration-line: underline;\n }\n a:is(:focus, :hover):not([aria-disabled]) .kol-span-wc .span-label,\n button:is(:focus, :hover):not([disabled]) .kol-span-wc .span-label {\n text-decoration-thickness: 0.2em;\n }\n .skip {\n left: -99999px;\n overflow: hidden;\n position: absolute;\n z-index: 9999999;\n line-height: 1em;\n }\n .skip:focus {\n background-color: #fff;\n left: unset;\n padding: 1em;\n position: unset;\n }\n .kol-icon.external-link-icon {\n display: inline-flex;\n }\n}",KolButtonLinkDefaultStyle0=defaultStyleCss,KolButtonLink=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.buttonWcRef=n},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0}async getValue(){return this._value}async focus(){await this.kolFocus()}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(index.Host,{key:"3742a4fb39143d12413b25ea1e3bf1f392be2869",class:"kol-button-link"},index.h(componentNames.KolButtonWcTag,{key:"95ff1c9b62b871a945c82d3ff421a11f1dbdf04e",ref:this.catchRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_disabled:this._disabled,_icons:this._icons,_hideLabel:this._hideLabel,_id:this._id,_label:this._label,_name:this._name,_on:this._on,_role:"link",_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value},index.h("slot",{key:"1f37a941df1a123f98e5a18199d5d77581344982",name:"expert",slot:"expert"})))}};KolButtonLink.style={default:KolButtonLinkDefaultStyle0},exports.kol_button_link=KolButtonLink;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),componentNames=require("./component-names-4a2d0b57.js"),defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :is(a, button) {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n :is(a, button) .kol-span-wc .span-label {\n text-decoration-line: underline;\n }\n a:is(:focus, :hover):not([aria-disabled]) .kol-span-wc .span-label,\n button:is(:focus, :hover):not([disabled]) .kol-span-wc .span-label {\n text-decoration-thickness: 0.2em;\n }\n .skip {\n left: -99999px;\n overflow: hidden;\n position: absolute;\n z-index: 9999999;\n line-height: 1em;\n }\n .skip:focus {\n background-color: #fff;\n left: unset;\n padding: 1em;\n position: unset;\n }\n .kol-icon.external-link-icon {\n display: inline-flex;\n }\n}",KolButtonLinkDefaultStyle0=defaultStyleCss,KolButtonLink=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.buttonWcRef=n},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0}async getValue(){return this._value}async focus(){await this.kolFocus()}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(index.Host,{key:"3742a4fb39143d12413b25ea1e3bf1f392be2869",class:"kol-button-link"},index.h(componentNames.KolButtonWcTag,{key:"95ff1c9b62b871a945c82d3ff421a11f1dbdf04e",ref:this.catchRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_disabled:this._disabled,_icons:this._icons,_hideLabel:this._hideLabel,_id:this._id,_label:this._label,_name:this._name,_on:this._on,_role:"link",_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value},index.h("slot",{key:"1f37a941df1a123f98e5a18199d5d77581344982",name:"expert",slot:"expert"})))}};KolButtonLink.style={default:KolButtonLinkDefaultStyle0},exports.kol_button_link=KolButtonLink;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),events=require("./events-221fcb43.js"),dev_utils=require("./dev.utils-807035c8.js"),controller=require("./controller-ff4a9f64.js"),associated_controller=require("./associated.controller-17a88d17.js"),componentNames=require("./component-names-4a2d0b57.js"),prop_validators=require("./prop.validators-37113ad1.js"),accessKey=require("./access-key-12589f9b.js"),ariaExpanded=require("./aria-expanded-be98ced6.js"),icons=require("./icons-3f3e0089.js"),reuse=require("./reuse-50a5792c.js"),customClass=require("./custom-class-5a76b8cc.js"),disabled=require("./disabled-4f7a7b7e.js"),hideLabel=require("./hide-label-7e4f3ef4.js"),label=require("./label-5ba50d8b.js"),tabIndex=require("./tab-index-621163bf.js"),tooltipAlign=require("./tooltip-align-18f90f3f.js");require("./dev.utils-58fde089.js"),require("./index-1285d2d1.js"),require("./common-1ab929ac.js"),require("./align-cf181773.js");const validateAriaControls=(t,e)=>{prop_validators.watchString(t,"_ariaControls",e)},validateAriaSelected=(t,e)=>{prop_validators.watchBoolean(t,"_ariaSelected",e)},validateButtonCallbacks=(t,e)=>{prop_validators.watchValidator(t,"_on",(t=>"object"==typeof t&&null!==t),new Set(["ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}"]),e)},buttonTypePropTypeOptions=["button","reset","submit"],validateButtonType=(t,e)=>{prop_validators.watchValidator(t,"_type",(t=>"string"==typeof t&&buttonTypePropTypeOptions.includes(t)),new Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(", ")}`]),e)},buttonVariantPropTypeOptions=["primary","secondary","normal","tertiary","danger","ghost","custom"],validateButtonVariant=(t,e)=>{prop_validators.watchValidator(t,"_variant",(t=>"string"==typeof t&&buttonVariantPropTypeOptions.includes(t)),new Set([`KoliBriButtonVariant {${buttonVariantPropTypeOptions.join(", ")}`]),e,{defaultValue:"normal"})},KolButtonWc=class{async kolFocus(){var t;null===(t=this.buttonRef)||void 0===t||t.focus()}render(){var t,e;const a=reuse.showExpertSlot(this.state._label),i=Boolean(null===(e=null===(t=this.state._ariaDescription)||void 0===t?void 0:t.trim())||void 0===e?void 0:e.length);return index.h(index.Host,{key:"5516bef539eb9262e669fe92f72dc243d8920bd0",class:"kol-button-wc"},index.h("button",Object.assign({key:"1d3eb3a7720f306a3c186feedfd365bf5331c86c",ref:this.catchRef,accessKey:this.state._accessKey||void 0,"aria-controls":this.state._ariaControls,"aria-describedby":i?this.internalDescriptionById:void 0,"aria-expanded":prop_validators.mapBoolean2String(this.state._ariaExpanded),"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,"aria-selected":prop_validators.mapStringOrBoolean2String(this.state._ariaSelected),class:{button:!0,disabled:!0===this.state._disabled,[this.state._variant]:"custom"!==this.state._variant,[this.state._customClass]:"custom"===this.state._variant&&"string"==typeof this.state._customClass&&this.state._customClass.length>0,"hide-label":!0===this.state._hideLabel},disabled:this.state._disabled,id:this.state._id,name:this.state._name},this.state._on,{onClick:this.onClick,role:this.state._role,tabIndex:this.state._tabIndex,type:this.state._type}),index.h(componentNames.KolSpanWcTag,{key:"3ba922687287ba66ce958e13b98802e62f333079",class:"button-inner",_accessKey:this.state._accessKey,_icons:this.state._icons,_hideLabel:this.state._hideLabel,_label:a?"":this.state._label},index.h("slot",{key:"9ee6d1239e3012f306e0b3ae8fc984db25225507",name:"expert",slot:"expert"}))),index.h(componentNames.KolTooltipWcTag,{key:"8ece133d5b3f4f3832e60e26b804c58244c8b364","aria-hidden":"true",hidden:a||!this.state._hideLabel,_accessKey:this._accessKey,_align:this.state._tooltipAlign,_label:"string"==typeof this.state._label?this.state._label:""}),i&&index.h("span",{key:"f2a460b10f336b17add6fd3663c0f4ceef91ddb5",class:"visually-hidden",id:this.internalDescriptionById},this.state._ariaDescription))}constructor(t){index.registerInstance(this,t),this.internalDescriptionById=dev_utils.nonce(),this.catchRef=t=>{this.buttonRef=t},this.onClick=t=>{var e,a;"submit"===this.state._type?controller.propagateSubmitEventToForm({form:this.host,ref:this.buttonRef}):"reset"===this.state._type?controller.propagateResetEventToForm({form:this.host,ref:this.buttonRef}):(events.stopPropagation(t),events.tryToDispatchKoliBriEvent("click",this.host,this.state._value),this.controller.setFormAssociatedValue(this.state._value),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&(prop_validators.setEventTarget(t,this.buttonRef),null===(a=this.state._on)||void 0===a||a.onClick(t,this.state._value)))},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant="normal",this.state={_icons:{},_label:"",_on:{},_type:"button",_variant:"normal"},this.controller=new associated_controller.AssociatedInputController(this,"button",this.host)}validateAccessKey(t){accessKey.validateAccessKey(this,t)}validateAriaControls(t){validateAriaControls(this,t)}validateAriaDescription(t){ariaExpanded.validateAriaDescription(this,t)}validateAriaExpanded(t){ariaExpanded.validateAriaExpanded(this,t)}validateAriaSelected(t){validateAriaSelected(this,t)}validateCustomClass(t){customClass.validateCustomClass(this,t)}validateDisabled(t){disabled.validateDisabled(this,t)}validateHideLabel(t){hideLabel.validateHideLabel(this,t)}validateIcons(t){icons.validateIcons(this,t)}validateId(t){prop_validators.watchString(this,"_id",t)}validateLabel(t){label.validateLabelWithExpertSlot(this,t,{required:!0})}validateName(t){this.controller.validateName(t)}validateOn(t){validateButtonCallbacks(this,t)}validateRole(t){ariaExpanded.validateAlternativeButtonLinkRole(this,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){tabIndex.validateTabIndex(this,t)}validateTooltipAlign(t){tooltipAlign.validateTooltipAlign(this,t)}validateType(t){validateButtonType(this,t)}validateValue(t){prop_validators.setState(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateVariant(t){validateButtonVariant(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaSelected(this._ariaSelected),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateHideLabel(this._hideLabel),this.validateIcons(this._icons),this.validateId(this._id),this.validateLabel(this._label),this.validateName(this._name),this.validateOn(this._on),this.validateRole(this._role),this.validateSyncValueBySelector(this._syncValueBySelector),this.validateTabIndex(this._tabIndex),this.validateTooltipAlign(this._tooltipAlign),this.validateType(this._type),this.validateValue(this._value),this.validateVariant(this._variant)}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaControls:["validateAriaControls"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaSelected:["validateAriaSelected"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_name:["validateName"],_on:["validateOn"],_role:["validateRole"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_tooltipAlign:["validateTooltipAlign"],_type:["validateType"],_value:["validateValue"],_variant:["validateVariant"]}}};exports.kol_button_wc=KolButtonWc;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),events=require("./events-221fcb43.js"),dev_utils=require("./dev.utils-a61d0ca3.js"),controller=require("./controller-0369bad4.js"),associated_controller=require("./associated.controller-e7651bb3.js"),componentNames=require("./component-names-4a2d0b57.js"),prop_validators=require("./prop.validators-68958b0a.js"),accessKey=require("./access-key-34e56e4c.js"),ariaExpanded=require("./aria-expanded-23b849c8.js"),icons=require("./icons-a8d865aa.js"),reuse=require("./reuse-50a5792c.js"),customClass=require("./custom-class-3504ba89.js"),disabled=require("./disabled-b52570d6.js"),hideLabel=require("./hide-label-9c7c3e00.js"),label=require("./label-601352a4.js"),tabIndex=require("./tab-index-74743c67.js"),tooltipAlign=require("./tooltip-align-fa4e1395.js");require("./dev.utils-58fde089.js"),require("./index-45dd33c3.js"),require("./common-1ab929ac.js"),require("./align-3c503831.js");const validateAriaControls=(t,e)=>{prop_validators.watchString(t,"_ariaControls",e)},validateAriaSelected=(t,e)=>{prop_validators.watchBoolean(t,"_ariaSelected",e)},validateButtonCallbacks=(t,e)=>{prop_validators.watchValidator(t,"_on",(t=>"object"==typeof t&&null!==t),new Set(["ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}"]),e)},buttonTypePropTypeOptions=["button","reset","submit"],validateButtonType=(t,e)=>{prop_validators.watchValidator(t,"_type",(t=>"string"==typeof t&&buttonTypePropTypeOptions.includes(t)),new Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(", ")}`]),e)},buttonVariantPropTypeOptions=["primary","secondary","normal","tertiary","danger","ghost","custom"],validateButtonVariant=(t,e)=>{prop_validators.watchValidator(t,"_variant",(t=>"string"==typeof t&&buttonVariantPropTypeOptions.includes(t)),new Set([`KoliBriButtonVariant {${buttonVariantPropTypeOptions.join(", ")}`]),e,{defaultValue:"normal"})},KolButtonWc=class{async kolFocus(){var t;null===(t=this.buttonRef)||void 0===t||t.focus()}render(){var t,e;const a=reuse.showExpertSlot(this.state._label),i=Boolean(null===(e=null===(t=this.state._ariaDescription)||void 0===t?void 0:t.trim())||void 0===e?void 0:e.length);return index.h(index.Host,{key:"5516bef539eb9262e669fe92f72dc243d8920bd0",class:"kol-button-wc"},index.h("button",Object.assign({key:"1d3eb3a7720f306a3c186feedfd365bf5331c86c",ref:this.catchRef,accessKey:this.state._accessKey||void 0,"aria-controls":this.state._ariaControls,"aria-describedby":i?this.internalDescriptionById:void 0,"aria-expanded":prop_validators.mapBoolean2String(this.state._ariaExpanded),"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,"aria-selected":prop_validators.mapStringOrBoolean2String(this.state._ariaSelected),class:{button:!0,disabled:!0===this.state._disabled,[this.state._variant]:"custom"!==this.state._variant,[this.state._customClass]:"custom"===this.state._variant&&"string"==typeof this.state._customClass&&this.state._customClass.length>0,"hide-label":!0===this.state._hideLabel},disabled:this.state._disabled,id:this.state._id,name:this.state._name},this.state._on,{onClick:this.onClick,role:this.state._role,tabIndex:this.state._tabIndex,type:this.state._type}),index.h(componentNames.KolSpanWcTag,{key:"3ba922687287ba66ce958e13b98802e62f333079",class:"button-inner",_accessKey:this.state._accessKey,_icons:this.state._icons,_hideLabel:this.state._hideLabel,_label:a?"":this.state._label},index.h("slot",{key:"9ee6d1239e3012f306e0b3ae8fc984db25225507",name:"expert",slot:"expert"}))),index.h(componentNames.KolTooltipWcTag,{key:"8ece133d5b3f4f3832e60e26b804c58244c8b364","aria-hidden":"true",hidden:a||!this.state._hideLabel,_accessKey:this._accessKey,_align:this.state._tooltipAlign,_label:"string"==typeof this.state._label?this.state._label:""}),i&&index.h("span",{key:"f2a460b10f336b17add6fd3663c0f4ceef91ddb5",class:"visually-hidden",id:this.internalDescriptionById},this.state._ariaDescription))}constructor(t){index.registerInstance(this,t),this.internalDescriptionById=dev_utils.nonce(),this.catchRef=t=>{this.buttonRef=t},this.onClick=t=>{var e,a;"submit"===this.state._type?controller.propagateSubmitEventToForm({form:this.host,ref:this.buttonRef}):"reset"===this.state._type?controller.propagateResetEventToForm({form:this.host,ref:this.buttonRef}):(events.stopPropagation(t),events.tryToDispatchKoliBriEvent("click",this.host,this.state._value),this.controller.setFormAssociatedValue(this.state._value),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&(prop_validators.setEventTarget(t,this.buttonRef),null===(a=this.state._on)||void 0===a||a.onClick(t,this.state._value)))},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant="normal",this.state={_icons:{},_label:"",_on:{},_type:"button",_variant:"normal"},this.controller=new associated_controller.AssociatedInputController(this,"button",this.host)}validateAccessKey(t){accessKey.validateAccessKey(this,t)}validateAriaControls(t){validateAriaControls(this,t)}validateAriaDescription(t){ariaExpanded.validateAriaDescription(this,t)}validateAriaExpanded(t){ariaExpanded.validateAriaExpanded(this,t)}validateAriaSelected(t){validateAriaSelected(this,t)}validateCustomClass(t){customClass.validateCustomClass(this,t)}validateDisabled(t){disabled.validateDisabled(this,t)}validateHideLabel(t){hideLabel.validateHideLabel(this,t)}validateIcons(t){icons.validateIcons(this,t)}validateId(t){prop_validators.watchString(this,"_id",t)}validateLabel(t){label.validateLabelWithExpertSlot(this,t,{required:!0})}validateName(t){this.controller.validateName(t)}validateOn(t){validateButtonCallbacks(this,t)}validateRole(t){ariaExpanded.validateAlternativeButtonLinkRole(this,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){tabIndex.validateTabIndex(this,t)}validateTooltipAlign(t){tooltipAlign.validateTooltipAlign(this,t)}validateType(t){validateButtonType(this,t)}validateValue(t){prop_validators.setState(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateVariant(t){validateButtonVariant(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaSelected(this._ariaSelected),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateHideLabel(this._hideLabel),this.validateIcons(this._icons),this.validateId(this._id),this.validateLabel(this._label),this.validateName(this._name),this.validateOn(this._on),this.validateRole(this._role),this.validateSyncValueBySelector(this._syncValueBySelector),this.validateTabIndex(this._tabIndex),this.validateTooltipAlign(this._tooltipAlign),this.validateType(this._type),this.validateValue(this._value),this.validateVariant(this._variant)}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaControls:["validateAriaControls"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaSelected:["validateAriaSelected"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_name:["validateName"],_on:["validateOn"],_role:["validateRole"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_tooltipAlign:["validateTooltipAlign"],_type:["validateType"],_value:["validateValue"],_variant:["validateVariant"]}}};exports.kol_button_wc=KolButtonWc;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),componentNames=require("./component-names-4a2d0b57.js"),defaultStyleCss="@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-block;\n }\n :is(a, button) {\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n :is(a, button)::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n /* TODO: Why we need this? */\n :is(a, button) > .kol-span-wc {\n margin: auto;\n width: 100%;\n }\n}",KolButtonDefaultStyle0=defaultStyleCss,KolButton=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.buttonWcRef=n},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant="normal"}async getValue(){return this._value}async focus(){await this.kolFocus()}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(index.Host,{key:"515bfb8d7870ebf2aca5f0c4d824e26d580c7d5d",class:"kol-button"},index.h(componentNames.KolButtonWcTag,{key:"d072d81aac487b8534b42ef47df1cfa016352290",ref:this.catchRef,class:{button:!0,[this._variant]:"custom"!==this._variant,[this._customClass]:"custom"===this._variant&&"string"==typeof this._customClass&&this._customClass.length>0},_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_id:this._id,_label:this._label,_name:this._name,_on:this._on,_role:this._role,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"412a7bc77ba0903f3d3db904e112c81c55ca4baa",name:"expert",slot:"expert"})))}};KolButton.style={default:KolButtonDefaultStyle0},exports.kol_button=KolButton;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),componentNames=require("./component-names-4a2d0b57.js"),defaultStyleCss="@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-block;\n }\n :is(a, button) {\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n :is(a, button)::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n /* TODO: Why we need this? */\n :is(a, button) > .kol-span-wc {\n margin: auto;\n width: 100%;\n }\n}",KolButtonDefaultStyle0=defaultStyleCss,KolButton=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.buttonWcRef=n},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant="normal"}async getValue(){return this._value}async focus(){await this.kolFocus()}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(index.Host,{key:"515bfb8d7870ebf2aca5f0c4d824e26d580c7d5d",class:"kol-button"},index.h(componentNames.KolButtonWcTag,{key:"d072d81aac487b8534b42ef47df1cfa016352290",ref:this.catchRef,class:{button:!0,[this._variant]:"custom"!==this._variant,[this._customClass]:"custom"===this._variant&&"string"==typeof this._customClass&&this._customClass.length>0},_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_id:this._id,_label:this._label,_name:this._name,_on:this._on,_role:this._role,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"412a7bc77ba0903f3d3db904e112c81c55ca4baa",name:"expert",slot:"expert"})))}};KolButton.style={default:KolButtonDefaultStyle0},exports.kol_button=KolButton;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),i18n=require("./i18n-c8be9482.js"),validation=require("./validation-ccf9173b.js"),componentNames=require("./component-names-4a2d0b57.js"),hasCloser=require("./has-closer-354720e1.js"),prop_validators=require("./prop.validators-37113ad1.js"),label=require("./label-5ba50d8b.js");require("./i18n-41ebfcca.js"),require("./reuse-50a5792c.js"),require("./index-1285d2d1.js"),require("./dev.utils-58fde089.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > div.card {\n height: 100%;\n position: relative;\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n .close {\n position: absolute;\n top: 0;\n right: 0;\n }\n}",KolCardDefaultStyle0=defaultStyleCss,KolCard=class{constructor(e){index.registerInstance(this,e),this.close=()=>{var e;void 0!==(null===(e=this._on)||void 0===e?void 0:e.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClick:this.close},this.validateOnValue=e=>"object"==typeof e&&null!==e&&"function"==typeof e.onClose,this._on=void 0,this._hasCloser=!1,this._label=void 0,this._level=1,this.state={_label:""}}render(){return index.h(index.Host,{key:"d709f6f5929c6f14ec756692979b28b54f68a3d8",class:"kol-card"},index.h("div",{key:"4124876ff829f50bcaa6ba42ede3bc6510bec733",class:"card"},index.h("div",{key:"1fb33811e88ea804e0547d4d4f2ecc0f57cb0bec",class:"header"},index.h(componentNames.KolHeadingWcTag,{key:"9b3123c1e1017af55116f42c05b618a2b76279ef",_label:this.state._label,_level:this.state._level})),index.h("div",{key:"06e5801a62c8630820cac20f8c314c9bb23879ca",class:"content"},index.h("slot",{key:"7facf55ee995d0d008d1cdaa3a0fd0d0a83acbd7"})),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{key:"48ef49d7d188f505c294b85ab41060a175e5cbd4",class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close"),_on:this.on,_tooltipAlign:"left"})))}validateOn(e){this.validateOnValue(e)&&prop_validators.setState(this,"_on",{onClose:e.onClose})}validateHasCloser(e){hasCloser.validateHasCloser(this,e)}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateLevel(e){validation.watchHeadingLevel(this,e)}componentWillLoad(){this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on)}static get watchers(){return{_on:["validateOn"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"]}}};KolCard.style={default:KolCardDefaultStyle0},exports.kol_card=KolCard;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),i18n=require("./i18n-b46c3c64.js"),validation=require("./validation-406b147b.js"),componentNames=require("./component-names-4a2d0b57.js"),hasCloser=require("./has-closer-ec9dd05f.js"),prop_validators=require("./prop.validators-68958b0a.js"),label=require("./label-601352a4.js");require("./i18n-737701e2.js"),require("./reuse-50a5792c.js"),require("./index-45dd33c3.js"),require("./dev.utils-58fde089.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > div.card {\n height: 100%;\n position: relative;\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n .close {\n position: absolute;\n top: 0;\n right: 0;\n }\n}",KolCardDefaultStyle0=defaultStyleCss,KolCard=class{constructor(e){index.registerInstance(this,e),this.close=()=>{var e;void 0!==(null===(e=this._on)||void 0===e?void 0:e.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClick:this.close},this.validateOnValue=e=>"object"==typeof e&&null!==e&&"function"==typeof e.onClose,this._on=void 0,this._hasCloser=!1,this._label=void 0,this._level=1,this.state={_label:""}}render(){return index.h(index.Host,{key:"d709f6f5929c6f14ec756692979b28b54f68a3d8",class:"kol-card"},index.h("div",{key:"4124876ff829f50bcaa6ba42ede3bc6510bec733",class:"card"},index.h("div",{key:"1fb33811e88ea804e0547d4d4f2ecc0f57cb0bec",class:"header"},index.h(componentNames.KolHeadingWcTag,{key:"9b3123c1e1017af55116f42c05b618a2b76279ef",_label:this.state._label,_level:this.state._level})),index.h("div",{key:"06e5801a62c8630820cac20f8c314c9bb23879ca",class:"content"},index.h("slot",{key:"7facf55ee995d0d008d1cdaa3a0fd0d0a83acbd7"})),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{key:"48ef49d7d188f505c294b85ab41060a175e5cbd4",class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close"),_on:this.on,_tooltipAlign:"left"})))}validateOn(e){this.validateOnValue(e)&&prop_validators.setState(this,"_on",{onClose:e.onClose})}validateHasCloser(e){hasCloser.validateHasCloser(this,e)}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateLevel(e){validation.watchHeadingLevel(this,e)}componentWillLoad(){this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on)}static get watchers(){return{_on:["validateOn"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"]}}};KolCard.style={default:KolCardDefaultStyle0},exports.kol_card=KolCard;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),dev_utils=require("./dev.utils-807035c8.js"),events=require("./events-221fcb43.js"),controllerIcon=require("./controller-icon-885a15b3.js"),suggestions=require("./suggestions-3dbb61f0.js"),prop_validators=require("./prop.validators-37113ad1.js"),controller=require("./controller-e2f6b61c.js"),componentNames=require("./component-names-4a2d0b57.js"),InternalUnderlinedAccessKey=require("./InternalUnderlinedAccessKey-c22d55f9.js"),i18n=require("./i18n-c8be9482.js"),clsx=require("./clsx-dd4d6dd1.js"),reuse=require("./reuse-50a5792c.js");require("./dev.utils-58fde089.js"),require("./icons-3f3e0089.js"),require("./common-1ab929ac.js"),require("./index-1285d2d1.js"),require("./associated.controller-17a88d17.js"),require("./hide-label-7e4f3ef4.js"),require("./label-5ba50d8b.js"),require("./tab-index-621163bf.js"),require("./tooltip-align-18f90f3f.js"),require("./align-cf181773.js"),require("./i18n-41ebfcca.js");class ComboboxController extends controllerIcon.InputIconController{constructor(e,t,n){super(e,t,n),this.component=e}validateSuggestions(e){suggestions.validateSuggestions(this.component,e)}validateRequired(e){prop_validators.watchBoolean(this.component,"_required",e)}validateValue(e){prop_validators.watchString(this.component,"_value",e)}validateMsg(e){controller.validateMsg(this.component,e)}validatePlaceholder(e){prop_validators.watchString(this.component,"_placeholder",e)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validatePlaceholder(this.component._placeholder)}}const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n .required label > span::after,\n .required legend > span::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n input,\n textarea {\n cursor: text;\n }\n input[type=checkbox],\n input[type=color],\n input[type=file],\n input[type=radio],\n input[type=range],\n label,\n option,\n select {\n cursor: pointer;\n }\n /* input[type='checkbox'], */\n /* input[type='radio'], */\n /* input[type='range'], */\n input[type=color],\n input[type=date],\n input[type=datetime-local],\n input[type=email],\n input[type=file],\n input[type=month],\n input[type=number],\n input[type=password],\n input[type=search],\n input[type=tel],\n input[type=text],\n input[type=time],\n input[type=url],\n input[type=week],\n select,\n select[multiple] option,\n textarea {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n /* needed hack for vertical alignment */\n input[type=file] {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n }\n /* needed hack for vertical alignment */\n select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}\n@layer kol-component {\n .kol-input {\n display: grid;\n }\n .kol-input .input-slot {\n flex-grow: 1;\n }\n input:not([type=checkbox], [type=radio]),\n select:not([multiple], [size]) {\n height: 2.75em;\n }\n input:focus,\n option:focus,\n select:focus,\n textarea:focus {\n outline: 0;\n }\n .input {\n display: flex;\n align-items: center;\n }\n .input > .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input.required .input-tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .combobox {\n position: relative;\n }\n .combobox--disabled, .combobox--disabled * {\n cursor: not-allowed !important;\n }\n .combobox--disabled {\n opacity: 0.5;\n outline: none;\n }\n .combobox__group {\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n }\n .combobox__input {\n flex-grow: 1;\n }\n .combobox__icon {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n width: var(--a11y-min-size);\n }\n .combobox__listbox {\n display: block;\n position: absolute;\n list-style-type: none;\n margin: 0;\n padding: 0;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 2;\n background-color: white;\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\n }\n .combobox__item {\n cursor: pointer;\n }\n .combobox__listbox--cursor-hidden .combobox__item {\n cursor: none !important;\n }\n}",KolComboboxDefaultStyle0=defaultStyleCss,KolCombobox=class{async getValue(){return this.state._value}async kolFocus(){var e;null===(e=this.refInput)||void 0===e||e.focus()}selectOption(e,t){var n;this.controller.onFacade.onInput(e,!0,t),this.controller.onFacade.onChange(e,t),this.controller.setFormAssociatedValue(t),this.state._value=t,null===(n=this.refInput)||void 0===n||n.focus()}onInput(e){const t=e.target;this.state._value=t.value,this.controller.onFacade.onInput(e),this.setFilteredSuggestionsByQuery(t.value),this._focusedOptionIndex=-1}handleKeyDownDropdown(e){1===e.key.length&&/[a-z0-9]/i.test(e.key)&&(this._isOpen=!0,this.focusSuggestionStartingWith(e.key))}setFilteredSuggestionsByQuery(e){""===e.trim()?this._filteredSuggestions=[...this._suggestions]:(this._filteredSuggestions=Array.isArray(this._suggestions)?this._suggestions.filter((t=>t.toLowerCase().includes(e.toLowerCase()))):this._filteredSuggestions,this._isOpen=!!(this._filteredSuggestions&&this._filteredSuggestions.length>0))}moveFocus(e){if(!this._filteredSuggestions)return;let t=this._focusedOptionIndex+e;t>=this._filteredSuggestions.length&&(t=0),t<0&&(t=this._filteredSuggestions.length-1),this.focusOption(t)}focusOption(e){if(this._focusedOptionIndex=e,this.refSuggestions){const t=this.refSuggestions[e];null==t||t.focus()}}focusSuggestionStartingWith(e){const t=e.toLowerCase(),n=Array.isArray(this._filteredSuggestions)&&this._filteredSuggestions.length>0&&this._filteredSuggestions.findIndex((e=>e.toLowerCase().startsWith(t)));"number"==typeof n&&this.focusOption(n)}render(){const e=reuse.showExpertSlot(this.state._label),{ariaDescribedBy:t}=controller.getRenderStates(this.state);return index.h(index.Host,{key:"520b90a5b17719f0acd633ca8a9a3b313b8fef41",class:"kol-combobox"},index.h("div",{key:"7e5a3ec03dcd6769a16d181cd1b26beb26af2a9a",class:clsx.clsx("combobox",this.state._disabled&&"combobox--disabled")},index.h(componentNames.KolInputWcTag,{key:"5501454ee81df1d0811d0835409126506a334983",_accessKey:this.state._accessKey,_disabled:this.state._disabled,_hideError:this.state._hideError,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_icons:this.state._icons,_id:this.state._id,_label:this.state._label,_msg:this.state._msg,_required:this.state._required,_tooltipAlign:this._tooltipAlign,_touched:this.state._touched,onClick:()=>{var e;return null===(e=this.refInput)||void 0===e?void 0:e.focus()},role:"presentation"},index.h("span",{key:"e9dd3f2cf17eaf4e5d295f0bd9fc37aa9085b8b9",slot:"label"},e?index.h("slot",{name:"expert"}):"string"==typeof this.state._accessKey?index.h(index.Fragment,null,index.h(InternalUnderlinedAccessKey.InternalUnderlinedAccessKey,{accessKey:this.state._accessKey,label:this.state._label})," ",index.h("span",{class:"access-key-hint","aria-hidden":"true"},this.state._accessKey)):index.h("span",null,this.state._label)),index.h("div",{key:"afba7d4ff0b569da313797721270311242e34734",slot:"input"},index.h("div",{key:"f5f1db833f8695b125a834b884b4673121a0dc1e",class:"combobox__group"},index.h("input",Object.assign({key:"caa86d47cf25063b487b62d78fdc2e7010da5e0a",ref:this.catchRef,class:"combobox__input",type:"text",role:"combobox","aria-autocomplete":"both","aria-expanded":this._isOpen?"true":"false","aria-controls":"listbox",value:this.state._value,accessKey:this.state._accessKey,"aria-describedby":t.length>0?t.join(" "):void 0,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,"aria-labelledby":this.state._id,"aria-activedescendant":this._isOpen&&this._focusedOptionIndex>=0?`option-${this._focusedOptionIndex}`:void 0,autoCapitalize:"off",autoCorrect:"off",disabled:this.state._disabled,id:this.state._id,name:this.state._name,required:this.state._required,spellcheck:"false"},this.controller.onFacade,{onInput:this.onInput.bind(this),onChange:this.onChange.bind(this),placeholder:this.state._placeholder})),index.h("button",{key:"0cd5a3bcf6b5ad52e86795465dadbaeee2604c80",tabindex:"-1",class:"combobox__icon",onClick:this.toggleListbox.bind(this),disabled:this.state._disabled},index.h(componentNames.KolIconTag,{key:"2ad19cc55158c2016008fd362d86eae5772d4e18",_icons:"codicon codicon-triangle-down",_label:i18n.translate("kol-dropdown")}))),this._isOpen&&!(!0===this.state._disabled)&&index.h("ul",{key:"d9e2426f5780921c805644d56c51e4d9e554ec3d",role:"listbox",class:clsx.clsx("combobox__listbox",this.blockSuggestionMouseOver&&"combobox__listbox--cursor-hidden"),onKeyDown:this.handleKeyDownDropdown.bind(this)},Array.isArray(this._filteredSuggestions)&&this._filteredSuggestions.length>0&&this._filteredSuggestions.map(((e,t)=>index.h("li",{id:`option-${t}`,key:`-${t}`,ref:e=>{e&&(this.refSuggestions[t]=e)},"data-index":t,tabIndex:-1,role:"option","aria-selected":this.state._value===e,onClick:t=>{this.selectOption(t,e),this.toggleListbox()},onMouseOver:()=>{this.blockSuggestionMouseOver||this.focusOption(t)},onFocus:()=>{this.focusOption(t)},class:"combobox__item",onKeyDown:t=>{"Enter"!==t.key&&"NumpadEnter"!==t.key||(this.selectOption(t,e),this.toggleListbox(),t.preventDefault())}},e))))))))}handleKeyDown(e){var t,n;const i=(t,n)=>{var i;e.preventDefault(),void 0!==t&&(this._isOpen=t,t||null===(i=this.refInput)||void 0===i||i.focus()),null==n||n()};switch(e.key){case"Down":case"ArrowDown":this.blockSuggestionMouseOver=!0,i(!0,(()=>this.moveFocus(1)));break;case"Up":case"ArrowUp":this.blockSuggestionMouseOver=!0,i(!0,(()=>this.moveFocus(-1)));break;case"Tab":this._isOpen&&(this._isOpen=!this._isOpen,null===(t=this.refInput)||void 0===t||t.focus());break;case"Esc":case"Escape":i(!1),null===(n=this.refInput)||void 0===n||n.focus();break;case"NumpadEnter":case"Enter":this.toggleListbox();break;case"Home":this.blockSuggestionMouseOver=!0,i(void 0,(()=>{this._isOpen&&this.focusOption(0)}));break;case"End":this.blockSuggestionMouseOver=!0,i(void 0,(()=>{this._isOpen&&this.focusOption(this._filteredSuggestions?this._filteredSuggestions.length-1:0)}));break;case"PageUp":this.blockSuggestionMouseOver=!0,i(void 0,(()=>this._isOpen&&this.moveFocus(-10)));break;case"PageDown":this.blockSuggestionMouseOver=!0,i(void 0,(()=>this._isOpen&&this.moveFocus(10)))}}handleWindowClick(e){null==this.host||this.host.contains(e.target)||(this._isOpen=!1)}constructor(e){index.registerInstance(this,e),this.refSuggestions=[],this._focusedOptionIndex=-1,this.toggleListbox=()=>{var e;if(!0===this.state._disabled)this._isOpen=!1;else if(this._isOpen=!this._isOpen,null===(e=this.refInput)||void 0===e||e.focus(),this._isOpen&&Array.isArray(this._filteredSuggestions)&&this._filteredSuggestions.length>0){const e=this._filteredSuggestions.findIndex((e=>e===this.state._value));this._focusedOptionIndex=e>=0?e:0,this.focusOption(this._focusedOptionIndex)}},this.catchRef=e=>{this.refInput=e},this.blockSuggestionMouseOver=!1,this._isOpen=!1,this._filteredSuggestions=void 0,this._accessKey=void 0,this._placeholder=void 0,this._alert=!0,this._disabled=!1,this._hideError=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._suggestions=void 0,this._required=!1,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_hasValue:!1,_hideError:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_suggestions:[],_value:""},this.controller=new ComboboxController(this,"combobox",this.host),this.onInput=this.onInput.bind(this)}validatePlaceholder(e){this.controller.validatePlaceholder(e)}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAlert(e){this.controller.validateAlert(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideError(e){this.controller.validateHideError(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateSuggestions(e){this.controller.validateSuggestions(e)}validateRequired(e){this.controller.validateRequired(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTabIndex(e){this.controller.validateTabIndex(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e),this.controller.setFormAssociatedValue(e)}componentWillLoad(){this.refSuggestions=[],this._alert=!0===this._alert,this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener((e=>this.state._hasValue=!!e)),this._filteredSuggestions=this.state._suggestions}handleMouseEvent(){this.blockSuggestionMouseOver=!1}handleFocusOut(){setTimeout((()=>{var e;(null===(e=this.host)||void 0===e?void 0:e.contains(document.activeElement))||this.onBlur()}),0)}handleWindowBlur(){this.onBlur()}onBlur(){var e;this._isOpen&&(this._isOpen=!this._isOpen,null===(e=this.refInput)||void 0===e||e.focus())}onChange(e){var t;events.stopPropagation(e),events.tryToDispatchKoliBriEvent("change",this.host,this.state._value),this.controller.setFormAssociatedValue(this.state._value),"function"!=typeof(null===(t=this.state._on)||void 0===t?void 0:t.onChange)||this._isOpen||this.state._on.onChange(e,this.state._value)}get host(){return index.getElement(this)}static get watchers(){return{_placeholder:["validatePlaceholder"],_accessKey:["validateAccessKey"],_alert:["validateAlert"],_disabled:["validateDisabled"],_hideError:["validateHideError"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_suggestions:["validateSuggestions"],_required:["validateRequired"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};KolCombobox.style={default:KolComboboxDefaultStyle0},exports.kol_combobox=KolCombobox;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),dev_utils=require("./dev.utils-a61d0ca3.js"),events=require("./events-221fcb43.js"),controllerIcon=require("./controller-icon-38bb0eaa.js"),suggestions=require("./suggestions-ebc74ae9.js"),prop_validators=require("./prop.validators-68958b0a.js"),controller=require("./controller-2a716a90.js"),componentNames=require("./component-names-4a2d0b57.js"),InternalUnderlinedAccessKey=require("./InternalUnderlinedAccessKey-60129593.js"),i18n=require("./i18n-b46c3c64.js"),clsx=require("./clsx-dd4d6dd1.js"),reuse=require("./reuse-50a5792c.js");require("./dev.utils-58fde089.js"),require("./icons-a8d865aa.js"),require("./common-1ab929ac.js"),require("./index-45dd33c3.js"),require("./associated.controller-e7651bb3.js"),require("./hide-label-9c7c3e00.js"),require("./label-601352a4.js"),require("./tab-index-74743c67.js"),require("./tooltip-align-fa4e1395.js"),require("./align-3c503831.js"),require("./i18n-737701e2.js");class ComboboxController extends controllerIcon.InputIconController{constructor(e,t,n){super(e,t,n),this.component=e}validateSuggestions(e){suggestions.validateSuggestions(this.component,e)}validateRequired(e){prop_validators.watchBoolean(this.component,"_required",e)}validateValue(e){prop_validators.watchString(this.component,"_value",e)}validateMsg(e){controller.validateMsg(this.component,e)}validatePlaceholder(e){prop_validators.watchString(this.component,"_placeholder",e)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validatePlaceholder(this.component._placeholder)}}const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n .required label > span::after,\n .required legend > span::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n input,\n textarea {\n cursor: text;\n }\n input[type=checkbox],\n input[type=color],\n input[type=file],\n input[type=radio],\n input[type=range],\n label,\n option,\n select {\n cursor: pointer;\n }\n /* input[type='checkbox'], */\n /* input[type='radio'], */\n /* input[type='range'], */\n input[type=color],\n input[type=date],\n input[type=datetime-local],\n input[type=email],\n input[type=file],\n input[type=month],\n input[type=number],\n input[type=password],\n input[type=search],\n input[type=tel],\n input[type=text],\n input[type=time],\n input[type=url],\n input[type=week],\n select,\n select[multiple] option,\n textarea {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n /* needed hack for vertical alignment */\n input[type=file] {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n }\n /* needed hack for vertical alignment */\n select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}\n@layer kol-component {\n .kol-input {\n display: grid;\n }\n .kol-input .input-slot {\n flex-grow: 1;\n }\n input:not([type=checkbox], [type=radio]),\n select:not([multiple], [size]) {\n height: 2.75em;\n }\n input:focus,\n option:focus,\n select:focus,\n textarea:focus {\n outline: 0;\n }\n .input {\n display: flex;\n align-items: center;\n }\n .input > .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input.required .input-tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .combobox {\n position: relative;\n }\n .combobox--disabled, .combobox--disabled * {\n cursor: not-allowed !important;\n }\n .combobox--disabled {\n opacity: 0.5;\n outline: none;\n }\n .combobox__group {\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n }\n .combobox__input {\n flex-grow: 1;\n }\n .combobox__icon {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n width: var(--a11y-min-size);\n }\n .combobox__listbox {\n display: block;\n position: absolute;\n list-style-type: none;\n margin: 0;\n padding: 0;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 2;\n background-color: white;\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\n }\n .combobox__item {\n cursor: pointer;\n }\n .combobox__listbox--cursor-hidden .combobox__item {\n cursor: none !important;\n }\n}",KolComboboxDefaultStyle0=defaultStyleCss,KolCombobox=class{async getValue(){return this.state._value}async kolFocus(){var e;null===(e=this.refInput)||void 0===e||e.focus()}selectOption(e,t){var n;this.controller.onFacade.onInput(e,!0,t),this.controller.onFacade.onChange(e,t),this.controller.setFormAssociatedValue(t),this.state._value=t,null===(n=this.refInput)||void 0===n||n.focus()}onInput(e){const t=e.target;this.state._value=t.value,this.controller.onFacade.onInput(e),this.setFilteredSuggestionsByQuery(t.value),this._focusedOptionIndex=-1}handleKeyDownDropdown(e){1===e.key.length&&/[a-z0-9]/i.test(e.key)&&(this._isOpen=!0,this.focusSuggestionStartingWith(e.key))}setFilteredSuggestionsByQuery(e){""===e.trim()?this._filteredSuggestions=[...this._suggestions]:(this._filteredSuggestions=Array.isArray(this._suggestions)?this._suggestions.filter((t=>t.toLowerCase().includes(e.toLowerCase()))):this._filteredSuggestions,this._isOpen=!!(this._filteredSuggestions&&this._filteredSuggestions.length>0))}moveFocus(e){if(!this._filteredSuggestions)return;let t=this._focusedOptionIndex+e;t>=this._filteredSuggestions.length&&(t=0),t<0&&(t=this._filteredSuggestions.length-1),this.focusOption(t)}focusOption(e){if(this._focusedOptionIndex=e,this.refSuggestions){const t=this.refSuggestions[e];null==t||t.focus()}}focusSuggestionStartingWith(e){const t=e.toLowerCase(),n=Array.isArray(this._filteredSuggestions)&&this._filteredSuggestions.length>0&&this._filteredSuggestions.findIndex((e=>e.toLowerCase().startsWith(t)));"number"==typeof n&&this.focusOption(n)}render(){const e=reuse.showExpertSlot(this.state._label),{ariaDescribedBy:t}=controller.getRenderStates(this.state);return index.h(index.Host,{key:"520b90a5b17719f0acd633ca8a9a3b313b8fef41",class:"kol-combobox"},index.h("div",{key:"7e5a3ec03dcd6769a16d181cd1b26beb26af2a9a",class:clsx.clsx("combobox",this.state._disabled&&"combobox--disabled")},index.h(componentNames.KolInputWcTag,{key:"5501454ee81df1d0811d0835409126506a334983",_accessKey:this.state._accessKey,_disabled:this.state._disabled,_hideError:this.state._hideError,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_icons:this.state._icons,_id:this.state._id,_label:this.state._label,_msg:this.state._msg,_required:this.state._required,_tooltipAlign:this._tooltipAlign,_touched:this.state._touched,onClick:()=>{var e;return null===(e=this.refInput)||void 0===e?void 0:e.focus()},role:"presentation"},index.h("span",{key:"e9dd3f2cf17eaf4e5d295f0bd9fc37aa9085b8b9",slot:"label"},e?index.h("slot",{name:"expert"}):"string"==typeof this.state._accessKey?index.h(index.Fragment,null,index.h(InternalUnderlinedAccessKey.InternalUnderlinedAccessKey,{accessKey:this.state._accessKey,label:this.state._label})," ",index.h("span",{class:"access-key-hint","aria-hidden":"true"},this.state._accessKey)):index.h("span",null,this.state._label)),index.h("div",{key:"afba7d4ff0b569da313797721270311242e34734",slot:"input"},index.h("div",{key:"f5f1db833f8695b125a834b884b4673121a0dc1e",class:"combobox__group"},index.h("input",Object.assign({key:"caa86d47cf25063b487b62d78fdc2e7010da5e0a",ref:this.catchRef,class:"combobox__input",type:"text",role:"combobox","aria-autocomplete":"both","aria-expanded":this._isOpen?"true":"false","aria-controls":"listbox",value:this.state._value,accessKey:this.state._accessKey,"aria-describedby":t.length>0?t.join(" "):void 0,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,"aria-labelledby":this.state._id,"aria-activedescendant":this._isOpen&&this._focusedOptionIndex>=0?`option-${this._focusedOptionIndex}`:void 0,autoCapitalize:"off",autoCorrect:"off",disabled:this.state._disabled,id:this.state._id,name:this.state._name,required:this.state._required,spellcheck:"false"},this.controller.onFacade,{onInput:this.onInput.bind(this),onChange:this.onChange.bind(this),placeholder:this.state._placeholder})),index.h("button",{key:"0cd5a3bcf6b5ad52e86795465dadbaeee2604c80",tabindex:"-1",class:"combobox__icon",onClick:this.toggleListbox.bind(this),disabled:this.state._disabled},index.h(componentNames.KolIconTag,{key:"2ad19cc55158c2016008fd362d86eae5772d4e18",_icons:"codicon codicon-triangle-down",_label:i18n.translate("kol-dropdown")}))),this._isOpen&&!(!0===this.state._disabled)&&index.h("ul",{key:"d9e2426f5780921c805644d56c51e4d9e554ec3d",role:"listbox",class:clsx.clsx("combobox__listbox",this.blockSuggestionMouseOver&&"combobox__listbox--cursor-hidden"),onKeyDown:this.handleKeyDownDropdown.bind(this)},Array.isArray(this._filteredSuggestions)&&this._filteredSuggestions.length>0&&this._filteredSuggestions.map(((e,t)=>index.h("li",{id:`option-${t}`,key:`-${t}`,ref:e=>{e&&(this.refSuggestions[t]=e)},"data-index":t,tabIndex:-1,role:"option","aria-selected":this.state._value===e,onClick:t=>{this.selectOption(t,e),this.toggleListbox()},onMouseOver:()=>{this.blockSuggestionMouseOver||this.focusOption(t)},onFocus:()=>{this.focusOption(t)},class:"combobox__item",onKeyDown:t=>{"Enter"!==t.key&&"NumpadEnter"!==t.key||(this.selectOption(t,e),this.toggleListbox(),t.preventDefault())}},e))))))))}handleKeyDown(e){var t,n;const i=(t,n)=>{var i;e.preventDefault(),void 0!==t&&(this._isOpen=t,t||null===(i=this.refInput)||void 0===i||i.focus()),null==n||n()};switch(e.key){case"Down":case"ArrowDown":this.blockSuggestionMouseOver=!0,i(!0,(()=>this.moveFocus(1)));break;case"Up":case"ArrowUp":this.blockSuggestionMouseOver=!0,i(!0,(()=>this.moveFocus(-1)));break;case"Tab":this._isOpen&&(this._isOpen=!this._isOpen,null===(t=this.refInput)||void 0===t||t.focus());break;case"Esc":case"Escape":i(!1),null===(n=this.refInput)||void 0===n||n.focus();break;case"NumpadEnter":case"Enter":this.toggleListbox();break;case"Home":this.blockSuggestionMouseOver=!0,i(void 0,(()=>{this._isOpen&&this.focusOption(0)}));break;case"End":this.blockSuggestionMouseOver=!0,i(void 0,(()=>{this._isOpen&&this.focusOption(this._filteredSuggestions?this._filteredSuggestions.length-1:0)}));break;case"PageUp":this.blockSuggestionMouseOver=!0,i(void 0,(()=>this._isOpen&&this.moveFocus(-10)));break;case"PageDown":this.blockSuggestionMouseOver=!0,i(void 0,(()=>this._isOpen&&this.moveFocus(10)))}}handleWindowClick(e){null==this.host||this.host.contains(e.target)||(this._isOpen=!1)}constructor(e){index.registerInstance(this,e),this.refSuggestions=[],this._focusedOptionIndex=-1,this.toggleListbox=()=>{var e;if(!0===this.state._disabled)this._isOpen=!1;else if(this._isOpen=!this._isOpen,null===(e=this.refInput)||void 0===e||e.focus(),this._isOpen&&Array.isArray(this._filteredSuggestions)&&this._filteredSuggestions.length>0){const e=this._filteredSuggestions.findIndex((e=>e===this.state._value));this._focusedOptionIndex=e>=0?e:0,this.focusOption(this._focusedOptionIndex)}},this.catchRef=e=>{this.refInput=e},this.blockSuggestionMouseOver=!1,this._isOpen=!1,this._filteredSuggestions=void 0,this._accessKey=void 0,this._placeholder=void 0,this._alert=!0,this._disabled=!1,this._hideError=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._suggestions=void 0,this._required=!1,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_hasValue:!1,_hideError:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_suggestions:[],_value:""},this.controller=new ComboboxController(this,"combobox",this.host),this.onInput=this.onInput.bind(this)}validatePlaceholder(e){this.controller.validatePlaceholder(e)}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAlert(e){this.controller.validateAlert(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideError(e){this.controller.validateHideError(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateSuggestions(e){this.controller.validateSuggestions(e)}validateRequired(e){this.controller.validateRequired(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTabIndex(e){this.controller.validateTabIndex(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e),this.controller.setFormAssociatedValue(e)}componentWillLoad(){this.refSuggestions=[],this._alert=!0===this._alert,this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener((e=>this.state._hasValue=!!e)),this._filteredSuggestions=this.state._suggestions}handleMouseEvent(){this.blockSuggestionMouseOver=!1}handleFocusOut(){setTimeout((()=>{var e;(null===(e=this.host)||void 0===e?void 0:e.contains(document.activeElement))||this.onBlur()}),0)}handleWindowBlur(){this.onBlur()}onBlur(){var e;this._isOpen&&(this._isOpen=!this._isOpen,null===(e=this.refInput)||void 0===e||e.focus())}onChange(e){var t;events.stopPropagation(e),events.tryToDispatchKoliBriEvent("change",this.host,this.state._value),this.controller.setFormAssociatedValue(this.state._value),"function"!=typeof(null===(t=this.state._on)||void 0===t?void 0:t.onChange)||this._isOpen||this.state._on.onChange(e,this.state._value)}get host(){return index.getElement(this)}static get watchers(){return{_placeholder:["validatePlaceholder"],_accessKey:["validateAccessKey"],_alert:["validateAlert"],_disabled:["validateDisabled"],_hideError:["validateHideError"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_suggestions:["validateSuggestions"],_required:["validateRequired"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};KolCombobox.style={default:KolComboboxDefaultStyle0},exports.kol_combobox=KolCombobox;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),events=require("./events-221fcb43.js"),componentNames=require("./component-names-4a2d0b57.js"),disabled=require("./disabled-4f7a7b7e.js"),label=require("./label-5ba50d8b.js"),prop_validators=require("./prop.validators-37113ad1.js"),open=require("./open-f0d79417.js");require("./index-1285d2d1.js"),require("./dev.utils-58fde089.js");class DetailsAnimationController{constructor(e,n,t){this.detailsElement=e,this.summaryElement=n,this.contentElement=t,this.isClosing=!1,this.isExpanding=!1,this.summaryElement.addEventListener("click",this.handleSummaryClick.bind(this))}handleSummaryClick(e){e.preventDefault(),this.isClosing||!this.detailsElement.open?this.open():(this.isExpanding||this.detailsElement.open)&&this.collapse()}open(){this.detailsElement.open=!0,window.requestAnimationFrame(this.expand.bind(this))}expand(){this.isExpanding=!0,this.animateContentHeight("expand")}collapse(){this.isClosing=!0,this.animateContentHeight("collapse")}animateContentHeight(e){let n="expand"===e?0:this.contentElement.offsetHeight,t="expand"===e?this.contentElement.offsetHeight:0;this.animation&&(n=this.contentElement.offsetHeight,this.animation.cancel(),"expand"===e&&(t=this.contentElement.offsetHeight)),this.animation=this.contentElement.animate({height:[`${n}px`,`${t}px`]},{duration:matchMedia("(prefers-reduced-motion)").matches?0:250,easing:"ease-out"}),this.animation.addEventListener("finish",(()=>{this.onAnimationFinish()}),{once:!0}),this.animation.addEventListener("cancel",(()=>{"expand"===e?this.isExpanding=!1:this.isClosing=!1}),{once:!0})}onAnimationFinish(){this.detailsElement.open=this.isExpanding,this.animation=void 0,this.isClosing=!1,this.isExpanding=!1}}const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n details {\n display: grid;\n }\n details > summary {\n cursor: pointer;\n display: flex;\n place-items: center;\n }\n details > summary > span {\n border-bottom-color: grey;\n border-bottom-style: solid;\n }\n details > summary:focus > span,\n details > summary:hover > span,\n details[open] > summary > span {\n border-bottom-color: #000;\n }\n .content {\n overflow: hidden;\n }\n details > .kol-indented-text {\n margin: 0.25em 0 0 0.5em;\n }\n .icon.is-open::part(icon) {\n transform: rotate(90deg);\n }\n}",KolDetailsDefaultStyle0=defaultStyleCss,KolDetails=class{constructor(e){index.registerInstance(this,e),this.catchDetails=e=>{this.detailsElement=e},this.catchSummary=e=>{this.summaryElement=e},this.preventToggleIfDisabled=e=>{!0===this.state._disabled&&events.preventDefaultAndStopPropagation(e)},this.handleToggle=e=>{clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout((()=>{var n,t,i,a;Boolean(null===(n=this.detailsElement)||void 0===n?void 0:n.open)!==this.state._open&&(this._open=Boolean(null===(t=this.detailsElement)||void 0===t?void 0:t.open),events.tryToDispatchKoliBriEvent("toggle",this.host,this._open),"function"==typeof(null===(i=this.state._on)||void 0===i?void 0:i.onToggle)&&(null===(a=this.state._on)||void 0===a||a.onToggle(e,this._open)))}),25)},this._disabled=!1,this._label=void 0,this._on=void 0,this._open=!1,this.state={_label:"",_on:{}}}async focus(){await this.kolFocus()}async kolFocus(){var e;null===(e=this.summaryElement)||void 0===e||e.focus()}render(){return index.h(index.Host,{key:"2acc7482e04c1586f0eaa18394d4f0b6319d5eca",class:"kol-details"},index.h("details",{key:"f81c39a0976ff683933b79267b3cc8ab5f9c79e1",ref:this.catchDetails,class:{disabled:!0===this.state._disabled,open:!0===this.state._open},onToggle:this.handleToggle},index.h("summary",{key:"644b159a65e37f184b1d76fb0a5ad5a39a734c47",ref:this.catchSummary,"aria-disabled":this.state._disabled?"true":void 0,onClick:this.preventToggleIfDisabled,onKeyPress:this.preventToggleIfDisabled,tabIndex:this.state._disabled?-1:void 0},index.h(componentNames.KolIconTag,{key:"31854deab53e40ed9df847a798489166f1d6a3e3",_label:"",_icons:"codicon codicon-chevron-right",class:"icon "+(this.state._open?"is-open":"")}),index.h("span",{key:"55828be257eca8d29fa7d9729d48e703fd1a08b8"},this.state._label)),index.h("div",{key:"6c5a9d68b6d58e045018010f35758c253a77240a","aria-hidden":!1===this.state._open?"true":void 0,class:"content",ref:e=>this.contentElement=e},index.h(componentNames.KolIndentedTextTag,{key:"a7da0cad9ac40c30f0264c75f987a6dfc7968d40"},index.h("slot",{key:"cf3f792a9988a7ee869b79a2d9b3537f6fa7722c"})))))}validateDisabled(e){disabled.validateDisabled(this,e)}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateOn(e){"object"==typeof e&&null!==e&&"function"==typeof e.onToggle&&prop_validators.setState(this,"_on",e)}validateOpen(e){open.validateOpen(this,e)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateOn(this._on),this.validateOpen(this._open)}componentDidLoad(){if(this.detailsElement&&this.summaryElement&&this.contentElement){const e=new DetailsAnimationController(this.detailsElement,this.summaryElement,this.contentElement);this.state._open&&e.open()}}get host(){return index.getElement(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_on:["validateOn"],_open:["validateOpen"]}}};KolDetails.style={default:KolDetailsDefaultStyle0},exports.kol_details=KolDetails;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),events=require("./events-221fcb43.js"),componentNames=require("./component-names-4a2d0b57.js"),disabled=require("./disabled-b52570d6.js"),label=require("./label-601352a4.js"),prop_validators=require("./prop.validators-68958b0a.js"),open=require("./open-589280df.js");require("./index-45dd33c3.js"),require("./dev.utils-58fde089.js");class DetailsAnimationController{constructor(e,n,t){this.detailsElement=e,this.summaryElement=n,this.contentElement=t,this.isClosing=!1,this.isExpanding=!1,this.summaryElement.addEventListener("click",this.handleSummaryClick.bind(this))}handleSummaryClick(e){e.preventDefault(),this.isClosing||!this.detailsElement.open?this.open():(this.isExpanding||this.detailsElement.open)&&this.collapse()}open(){this.detailsElement.open=!0,window.requestAnimationFrame(this.expand.bind(this))}expand(){this.isExpanding=!0,this.animateContentHeight("expand")}collapse(){this.isClosing=!0,this.animateContentHeight("collapse")}animateContentHeight(e){let n="expand"===e?0:this.contentElement.offsetHeight,t="expand"===e?this.contentElement.offsetHeight:0;this.animation&&(n=this.contentElement.offsetHeight,this.animation.cancel(),"expand"===e&&(t=this.contentElement.offsetHeight)),this.animation=this.contentElement.animate({height:[`${n}px`,`${t}px`]},{duration:matchMedia("(prefers-reduced-motion)").matches?0:250,easing:"ease-out"}),this.animation.addEventListener("finish",(()=>{this.onAnimationFinish()}),{once:!0}),this.animation.addEventListener("cancel",(()=>{"expand"===e?this.isExpanding=!1:this.isClosing=!1}),{once:!0})}onAnimationFinish(){this.detailsElement.open=this.isExpanding,this.animation=void 0,this.isClosing=!1,this.isExpanding=!1}}const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n details {\n display: grid;\n }\n details > summary {\n cursor: pointer;\n display: flex;\n place-items: center;\n }\n details > summary > span {\n border-bottom-color: grey;\n border-bottom-style: solid;\n }\n details > summary:focus > span,\n details > summary:hover > span,\n details[open] > summary > span {\n border-bottom-color: #000;\n }\n .content {\n overflow: hidden;\n }\n details > .kol-indented-text {\n margin: 0.25em 0 0 0.5em;\n }\n .icon.is-open::part(icon) {\n transform: rotate(90deg);\n }\n}",KolDetailsDefaultStyle0=defaultStyleCss,KolDetails=class{constructor(e){index.registerInstance(this,e),this.catchDetails=e=>{this.detailsElement=e},this.catchSummary=e=>{this.summaryElement=e},this.preventToggleIfDisabled=e=>{!0===this.state._disabled&&events.preventDefaultAndStopPropagation(e)},this.handleToggle=e=>{clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout((()=>{var n,t,i,a;Boolean(null===(n=this.detailsElement)||void 0===n?void 0:n.open)!==this.state._open&&(this._open=Boolean(null===(t=this.detailsElement)||void 0===t?void 0:t.open),events.tryToDispatchKoliBriEvent("toggle",this.host,this._open),"function"==typeof(null===(i=this.state._on)||void 0===i?void 0:i.onToggle)&&(null===(a=this.state._on)||void 0===a||a.onToggle(e,this._open)))}),25)},this._disabled=!1,this._label=void 0,this._on=void 0,this._open=!1,this.state={_label:"",_on:{}}}async focus(){await this.kolFocus()}async kolFocus(){var e;null===(e=this.summaryElement)||void 0===e||e.focus()}render(){return index.h(index.Host,{key:"2acc7482e04c1586f0eaa18394d4f0b6319d5eca",class:"kol-details"},index.h("details",{key:"f81c39a0976ff683933b79267b3cc8ab5f9c79e1",ref:this.catchDetails,class:{disabled:!0===this.state._disabled,open:!0===this.state._open},onToggle:this.handleToggle},index.h("summary",{key:"644b159a65e37f184b1d76fb0a5ad5a39a734c47",ref:this.catchSummary,"aria-disabled":this.state._disabled?"true":void 0,onClick:this.preventToggleIfDisabled,onKeyPress:this.preventToggleIfDisabled,tabIndex:this.state._disabled?-1:void 0},index.h(componentNames.KolIconTag,{key:"31854deab53e40ed9df847a798489166f1d6a3e3",_label:"",_icons:"codicon codicon-chevron-right",class:"icon "+(this.state._open?"is-open":"")}),index.h("span",{key:"55828be257eca8d29fa7d9729d48e703fd1a08b8"},this.state._label)),index.h("div",{key:"6c5a9d68b6d58e045018010f35758c253a77240a","aria-hidden":!1===this.state._open?"true":void 0,class:"content",ref:e=>this.contentElement=e},index.h(componentNames.KolIndentedTextTag,{key:"a7da0cad9ac40c30f0264c75f987a6dfc7968d40"},index.h("slot",{key:"cf3f792a9988a7ee869b79a2d9b3537f6fa7722c"})))))}validateDisabled(e){disabled.validateDisabled(this,e)}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateOn(e){"object"==typeof e&&null!==e&&"function"==typeof e.onToggle&&prop_validators.setState(this,"_on",e)}validateOpen(e){open.validateOpen(this,e)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateOn(this._on),this.validateOpen(this._open)}componentDidLoad(){if(this.detailsElement&&this.summaryElement&&this.contentElement){const e=new DetailsAnimationController(this.detailsElement,this.summaryElement,this.contentElement);this.state._open&&e.open()}}get host(){return index.getElement(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_on:["validateOn"],_open:["validateOpen"]}}};KolDetails.style={default:KolDetailsDefaultStyle0},exports.kol_details=KolDetails;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),align=require("./align-cf181773.js"),prop_validators=require("./prop.validators-37113ad1.js"),label=require("./label-5ba50d8b.js"),open=require("./open-f0d79417.js");require("./index-1285d2d1.js"),require("./dev.utils-58fde089.js");const validateModal=(e,n)=>{prop_validators.watchBoolean(e,"_modal",n)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .drawer__dialog {\n padding: 0;\n border: none;\n }\n .drawer__wrapper {\n position: fixed;\n width: auto;\n overflow: auto;\n background: white;\n }\n .drawer__wrapper--left {\n top: 0;\n left: 0;\n height: 100vh;\n max-height: 100%;\n }\n .drawer__wrapper--right {\n top: 0;\n right: 0;\n height: 100vh;\n max-height: 100%;\n }\n .drawer__wrapper--top {\n left: 0;\n top: 0;\n width: 100vw;\n max-width: 100%;\n }\n .drawer__wrapper--bottom {\n left: 0;\n bottom: 0;\n width: 100vw;\n max-width: 100%;\n }\n .drawer__content {\n position: relative;\n padding: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}",KolDrawerDefaultStyle0=defaultStyleCss,KolDrawer=class{constructor(e){index.registerInstance(this,e),this.getWrapperRef=e=>this.dialogWrapperElement=e,this.getRef=e=>this.dialogElement=e,this._open=void 0,this._align=void 0,this._label=void 0,this._modal=void 0,this._on=void 0,this.state={_label:"",_open:!1,_align:"left"}}async open(){var e,n;this.state=Object.assign(Object.assign({},this.state),{_open:!0}),this.state._modal?null===(e=this.dialogElement)||void 0===e||e.showModal():null===(n=this.dialogElement)||void 0===n||n.show()}async close(){this.state=Object.assign(Object.assign({},this.state),{_open:!1});const e=this.dialogWrapperElement;if(!e)return;"none"===window.getComputedStyle(e).animationName&&this.handleCloseDialog()}renderDialogContent(){const e=this.state._align;return index.h("div",{ref:this.getWrapperRef,class:`drawer__wrapper drawer__wrapper--${e} ${this.state._open?"drawer__wrapper--open":"is-closing"}`,"aria-label":this.state._label},index.h("div",{class:"drawer__content"},index.h("slot",null)))}render(){const e=this.state._modal;return index.h(index.Host,{key:"c4eb14d5c56ecd8448f144944c2e102fadd6d97f",class:"kol-drawer drawer "+(e?"drawer--modal":""),ref:e=>this.hostElement=e},index.h("dialog",{key:"16d62e5e7689543ddbb7be000e8dd283879357bc",class:"drawer__dialog",ref:this.getRef},this.renderDialogContent()))}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateAlign(e){align.validateAlign(this,e)}validateModal(e){validateModal(this,e)}async validateOpen(e){"boolean"==typeof e&&(open.validateOpen(this,e),e?await this.open():await this.close())}validateOn(e){if("object"==typeof e&&null!==e){const n={};"function"==typeof e.onClose&&(n.onClose=e.onClose),prop_validators.setState(this,"_on",n)}}handleCloseDialog(){var e,n,t;null===(e=this.dialogElement)||void 0===e||e.close(),null===(t=null===(n=this._on)||void 0===n?void 0:n.onClose)||void 0===t||t.call(n)}handleClose(){}handleAnimationEnd(e){e.animationName.includes("slideOut")&&this.handleCloseDialog()}componentDidLoad(){var e,n;null===(e=this.dialogElement)||void 0===e||e.addEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(n=this.dialogElement)||void 0===n||n.addEventListener("close",this.handleClose.bind(this))}disconnectedCallback(){var e,n;null===(e=this.dialogElement)||void 0===e||e.removeEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(n=this.dialogElement)||void 0===n||n.removeEventListener("close",this.handleClose.bind(this))}async componentWillLoad(){this.validateLabel(this._label),await this.validateOpen(this._open),this.validateAlign(this._align),this.validateModal(this._modal),this.validateOn(this._on)}static get watchers(){return{_label:["validateLabel"],_align:["validateAlign"],_modal:["validateModal"],_open:["validateOpen"],_on:["validateOn"]}}};KolDrawer.style={default:KolDrawerDefaultStyle0},exports.kol_drawer=KolDrawer;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),align=require("./align-3c503831.js"),prop_validators=require("./prop.validators-68958b0a.js"),label=require("./label-601352a4.js"),open=require("./open-589280df.js");require("./index-45dd33c3.js"),require("./dev.utils-58fde089.js");const validateModal=(e,n)=>{prop_validators.watchBoolean(e,"_modal",n)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .drawer__dialog {\n padding: 0;\n border: none;\n }\n .drawer__wrapper {\n position: fixed;\n width: auto;\n overflow: auto;\n background: white;\n }\n .drawer__wrapper--left {\n top: 0;\n left: 0;\n height: 100vh;\n max-height: 100%;\n }\n .drawer__wrapper--right {\n top: 0;\n right: 0;\n height: 100vh;\n max-height: 100%;\n }\n .drawer__wrapper--top {\n left: 0;\n top: 0;\n width: 100vw;\n max-width: 100%;\n }\n .drawer__wrapper--bottom {\n left: 0;\n bottom: 0;\n width: 100vw;\n max-width: 100%;\n }\n .drawer__content {\n position: relative;\n padding: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}",KolDrawerDefaultStyle0=defaultStyleCss,KolDrawer=class{constructor(e){index.registerInstance(this,e),this.getWrapperRef=e=>this.dialogWrapperElement=e,this.getRef=e=>this.dialogElement=e,this._open=void 0,this._align=void 0,this._label=void 0,this._modal=void 0,this._on=void 0,this.state={_label:"",_open:!1,_align:"left"}}async open(){var e,n;this.state=Object.assign(Object.assign({},this.state),{_open:!0}),this.state._modal?null===(e=this.dialogElement)||void 0===e||e.showModal():null===(n=this.dialogElement)||void 0===n||n.show()}async close(){this.state=Object.assign(Object.assign({},this.state),{_open:!1});const e=this.dialogWrapperElement;if(!e)return;"none"===window.getComputedStyle(e).animationName&&this.handleCloseDialog()}renderDialogContent(){const e=this.state._align;return index.h("div",{ref:this.getWrapperRef,class:`drawer__wrapper drawer__wrapper--${e} ${this.state._open?"drawer__wrapper--open":"is-closing"}`,"aria-label":this.state._label},index.h("div",{class:"drawer__content"},index.h("slot",null)))}render(){const e=this.state._modal;return index.h(index.Host,{key:"c4eb14d5c56ecd8448f144944c2e102fadd6d97f",class:"kol-drawer drawer "+(e?"drawer--modal":""),ref:e=>this.hostElement=e},index.h("dialog",{key:"16d62e5e7689543ddbb7be000e8dd283879357bc",class:"drawer__dialog",ref:this.getRef},this.renderDialogContent()))}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateAlign(e){align.validateAlign(this,e)}validateModal(e){validateModal(this,e)}async validateOpen(e){"boolean"==typeof e&&(open.validateOpen(this,e),e?await this.open():await this.close())}validateOn(e){if("object"==typeof e&&null!==e){const n={};"function"==typeof e.onClose&&(n.onClose=e.onClose),prop_validators.setState(this,"_on",n)}}handleCloseDialog(){var e,n,t;null===(e=this.dialogElement)||void 0===e||e.close(),null===(t=null===(n=this._on)||void 0===n?void 0:n.onClose)||void 0===t||t.call(n)}handleClose(){}handleAnimationEnd(e){e.animationName.includes("slideOut")&&this.handleCloseDialog()}componentDidLoad(){var e,n;null===(e=this.dialogElement)||void 0===e||e.addEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(n=this.dialogElement)||void 0===n||n.addEventListener("close",this.handleClose.bind(this))}disconnectedCallback(){var e,n;null===(e=this.dialogElement)||void 0===e||e.removeEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(n=this.dialogElement)||void 0===n||n.removeEventListener("close",this.handleClose.bind(this))}async componentWillLoad(){this.validateLabel(this._label),await this.validateOpen(this._open),this.validateAlign(this._align),this.validateModal(this._modal),this.validateOn(this._on)}static get watchers(){return{_label:["validateLabel"],_align:["validateAlign"],_modal:["validateModal"],_open:["validateOpen"],_on:["validateOn"]}}};KolDrawer.style={default:KolDrawerDefaultStyle0},exports.kol_drawer=KolDrawer;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-69c6474f.js"),i18n=require("./i18n-c8be9482.js"),componentNames=require("./component-names-4a2d0b57.js"),prop_validators=require("./prop.validators-37113ad1.js");require("./i18n-41ebfcca.js"),require("./reuse-50a5792c.js"),require("./index-1285d2d1.js"),require("./dev.utils-58fde089.js");const validateErrorList=(n,e)=>{prop_validators.watchValidator(n,"errorList",(n=>"object"==typeof n),new Set(["Object"]),e)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n .required label > span::after,\n .required legend > span::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n input,\n textarea {\n cursor: text;\n }\n input[type=checkbox],\n input[type=color],\n input[type=file],\n input[type=radio],\n input[type=range],\n label,\n option,\n select {\n cursor: pointer;\n }\n /* input[type='checkbox'], */\n /* input[type='radio'], */\n /* input[type='range'], */\n input[type=color],\n input[type=date],\n input[type=datetime-local],\n input[type=email],\n input[type=file],\n input[type=month],\n input[type=number],\n input[type=password],\n input[type=search],\n input[type=tel],\n input[type=text],\n input[type=time],\n input[type=url],\n input[type=week],\n select,\n select[multiple] option,\n textarea {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n /* needed hack for vertical alignment */\n input[type=file] {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n }\n /* needed hack for vertical alignment */\n select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}\n@layer kol-component {\n .kol-input {\n display: grid;\n }\n .kol-input .input-slot {\n flex-grow: 1;\n }\n input:not([type=checkbox], [type=radio]),\n select:not([multiple], [size]) {\n height: 2.75em;\n }\n input:focus,\n option:focus,\n select:focus,\n textarea:focus {\n outline: 0;\n }\n .input {\n display: flex;\n align-items: center;\n }\n .input > .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input.required .input-tooltip .span-label::after {\n content: \"*\";\n }\n}\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-alert-wc {\n display: grid;\n }\n .kol-alert-wc .heading {\n display: flex;\n place-items: center;\n }\n .kol-alert-wc .heading > div {\n flex-grow: 1;\n }\n .close {\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}",KolFormDefaultStyle0=defaultStyleCss,KolForm=class{constructor(n){index.registerInstance(this,n),this.onSubmit=n=>{var e,t;n.preventDefault(),n.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(t=this.state._on)||void 0===t||t.onSubmit(n))},this.onReset=n=>{var e,t;n.preventDefault(),n.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(t=this.state._on)||void 0===t||t.onReset(n))},this.handleLinkClick=n=>{var e;const t=null===(e=n.target)||void 0===e?void 0:e.href;if(t){const n=new URL(t),e=document.querySelector(n.hash);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())}},this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}render(){return index.h(index.Host,{key:"14641ff8ec7ae1a8cd644657d3d430ce16ad807a",class:"kol-form"},this._errorList&&this._errorList.length>0&&index.h(componentNames.KolAlertWcTag,{key:"7d835a8feb70e1f46364936db5af85c1cbd27d37",_type:"error"},i18n.translate("kol-error-list-message"),index.h("nav",{key:"4c021cc452697bd96cbc403026a24d7e5055babe","aria-label":i18n.translate("kol-error-list")},index.h("ul",{key:"f17c2e0bccc8c7b32c10d3b07d242f73661be066"},this._errorList.map(((n,e)=>index.h("li",{key:e},index.h(componentNames.KolLinkTag,{_href:n.selector,_label:n.message,_on:{onClick:this.handleLinkClick},ref:n=>{0===e&&(this.errorListElement=n)}}))))))),index.h("form",{key:"663fa6f4e400b6f459ff9bcdc62f3f306c31ba4d",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},!0===this.state._requiredText?index.h("p",null,index.h(componentNames.KolIndentedTextWcTag,null,i18n.translate("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?index.h("p",null,index.h(componentNames.KolIndentedTextWcTag,null,this.state._requiredText)):null,index.h("slot",{key:"fc64235dc566b7b3dcdbca92ffbcd552750cca54"})))}async focusErrorList(){return setTimeout((()=>{var n;this._errorList&&this._errorList.length>0&&(null===(n=this.errorListElement)||void 0===n||n.focus())}),300),Promise.resolve()}validateOn(n){"object"==typeof n&&null!==n&&(this.state=Object.assign(Object.assign({},this.state),{_on:n}))}validateRequiredText(n){"boolean"==typeof n?prop_validators.watchBoolean(this,"_requiredText",n):prop_validators.watchString(this,"_requiredText",n)}validateErrorList(n){validateErrorList(this,n)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};KolForm.style={default:KolFormDefaultStyle0},exports.kol_form=KolForm;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-10e5a011.js"),i18n=require("./i18n-b46c3c64.js"),componentNames=require("./component-names-4a2d0b57.js"),prop_validators=require("./prop.validators-68958b0a.js");require("./i18n-737701e2.js"),require("./reuse-50a5792c.js"),require("./index-45dd33c3.js"),require("./dev.utils-58fde089.js");const validateErrorList=(n,e)=>{prop_validators.watchValidator(n,"errorList",(n=>"object"==typeof n),new Set(["Object"]),e)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n .required label > span::after,\n .required legend > span::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n input,\n textarea {\n cursor: text;\n }\n input[type=checkbox],\n input[type=color],\n input[type=file],\n input[type=radio],\n input[type=range],\n label,\n option,\n select {\n cursor: pointer;\n }\n /* input[type='checkbox'], */\n /* input[type='radio'], */\n /* input[type='range'], */\n input[type=color],\n input[type=date],\n input[type=datetime-local],\n input[type=email],\n input[type=file],\n input[type=month],\n input[type=number],\n input[type=password],\n input[type=search],\n input[type=tel],\n input[type=text],\n input[type=time],\n input[type=url],\n input[type=week],\n select,\n select[multiple] option,\n textarea {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n /* needed hack for vertical alignment */\n input[type=file] {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n }\n /* needed hack for vertical alignment */\n select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}\n@layer kol-component {\n .kol-input {\n display: grid;\n }\n .kol-input .input-slot {\n flex-grow: 1;\n }\n input:not([type=checkbox], [type=radio]),\n select:not([multiple], [size]) {\n height: 2.75em;\n }\n input:focus,\n option:focus,\n select:focus,\n textarea:focus {\n outline: 0;\n }\n .input {\n display: flex;\n align-items: center;\n }\n .input > .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input.required .input-tooltip .span-label::after {\n content: \"*\";\n }\n}\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-alert-wc {\n display: grid;\n }\n .kol-alert-wc .heading {\n display: flex;\n place-items: center;\n }\n .kol-alert-wc .heading > div {\n flex-grow: 1;\n }\n .close {\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}",KolFormDefaultStyle0=defaultStyleCss,KolForm=class{constructor(n){index.registerInstance(this,n),this.onSubmit=n=>{var e,t;n.preventDefault(),n.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(t=this.state._on)||void 0===t||t.onSubmit(n))},this.onReset=n=>{var e,t;n.preventDefault(),n.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(t=this.state._on)||void 0===t||t.onReset(n))},this.handleLinkClick=n=>{var e;const t=null===(e=n.target)||void 0===e?void 0:e.href;if(t){const n=new URL(t),e=document.querySelector(n.hash);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())}},this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}render(){return index.h(index.Host,{key:"14641ff8ec7ae1a8cd644657d3d430ce16ad807a",class:"kol-form"},this._errorList&&this._errorList.length>0&&index.h(componentNames.KolAlertWcTag,{key:"7d835a8feb70e1f46364936db5af85c1cbd27d37",_type:"error"},i18n.translate("kol-error-list-message"),index.h("nav",{key:"4c021cc452697bd96cbc403026a24d7e5055babe","aria-label":i18n.translate("kol-error-list")},index.h("ul",{key:"f17c2e0bccc8c7b32c10d3b07d242f73661be066"},this._errorList.map(((n,e)=>index.h("li",{key:e},index.h(componentNames.KolLinkTag,{_href:n.selector,_label:n.message,_on:{onClick:this.handleLinkClick},ref:n=>{0===e&&(this.errorListElement=n)}}))))))),index.h("form",{key:"663fa6f4e400b6f459ff9bcdc62f3f306c31ba4d",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},!0===this.state._requiredText?index.h("p",null,index.h(componentNames.KolIndentedTextWcTag,null,i18n.translate("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?index.h("p",null,index.h(componentNames.KolIndentedTextWcTag,null,this.state._requiredText)):null,index.h("slot",{key:"fc64235dc566b7b3dcdbca92ffbcd552750cca54"})))}async focusErrorList(){return setTimeout((()=>{var n;this._errorList&&this._errorList.length>0&&(null===(n=this.errorListElement)||void 0===n||n.focus())}),300),Promise.resolve()}validateOn(n){"object"==typeof n&&null!==n&&(this.state=Object.assign(Object.assign({},this.state),{_on:n}))}validateRequiredText(n){"boolean"==typeof n?prop_validators.watchBoolean(this,"_requiredText",n):prop_validators.watchString(this,"_requiredText",n)}validateErrorList(n){validateErrorList(this,n)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};KolForm.style={default:KolFormDefaultStyle0},exports.kol_form=KolForm;