@public-ui/components 2.0.10 → 2.0.12-rc.0

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 (377) hide show
  1. package/custom-elements.json +2 -2
  2. package/dist/cjs/{align-floating-elements-c34541f3.js → align-floating-elements-907f2fa3.js} +1 -1
  3. package/dist/cjs/{align-floating-elements-c34541f3.js.map → align-floating-elements-907f2fa3.js.map} +1 -1
  4. package/dist/cjs/app-globals-abe315cd.js +4 -0
  5. package/dist/cjs/app-globals-abe315cd.js.map +1 -0
  6. package/dist/cjs/{associated.controller-28e845cc.js → associated.controller-44964fd5.js} +1 -1
  7. package/dist/cjs/{associated.controller-28e845cc.js.map → associated.controller-44964fd5.js.map} +1 -1
  8. package/dist/cjs/{controller-d32be5e7.js → controller-0f81c0af.js} +1 -1
  9. package/dist/cjs/{controller-d32be5e7.js.map → controller-0f81c0af.js.map} +1 -1
  10. package/dist/cjs/controller-454910c1.js +4 -0
  11. package/dist/cjs/{controller-77b3e421.js.map → controller-454910c1.js.map} +1 -1
  12. package/dist/cjs/{controller-e9291e36.js → controller-77b081c6.js} +1 -1
  13. package/dist/cjs/{controller-e9291e36.js.map → controller-77b081c6.js.map} +1 -1
  14. package/dist/cjs/{controller-69278b68.js → controller-c78578f1.js} +1 -1
  15. package/dist/cjs/{controller-69278b68.js.map → controller-c78578f1.js.map} +1 -1
  16. package/dist/cjs/controller-ccfa3732.js +4 -0
  17. package/dist/cjs/controller-ccfa3732.js.map +1 -0
  18. package/dist/cjs/{controller-icon-d5ce4793.js → controller-icon-f31387fd.js} +1 -1
  19. package/dist/cjs/{controller-icon-d5ce4793.js.map → controller-icon-f31387fd.js.map} +1 -1
  20. package/dist/cjs/{dev.utils-487b14ca.js → dev.utils-18748d0d.js} +1 -1
  21. package/dist/cjs/{dev.utils-487b14ca.js.map → dev.utils-18748d0d.js.map} +1 -1
  22. package/dist/cjs/{devtools-13f5ce1f.js → devtools-f5b7dc5c.js} +1 -1
  23. package/dist/cjs/{devtools-13f5ce1f.js.map → devtools-f5b7dc5c.js.map} +1 -1
  24. package/dist/cjs/events-221fcb43.js.map +1 -1
  25. package/dist/cjs/{i18n-9f4d1694.js → i18n-7971042d.js} +1 -1
  26. package/dist/cjs/{i18n-9f4d1694.js.map → i18n-7971042d.js.map} +1 -1
  27. package/dist/cjs/{index-cb2ce614.js → index-6a8528c2.js} +1 -1
  28. package/dist/cjs/{index-cb2ce614.js.map → index-6a8528c2.js.map} +1 -1
  29. package/dist/cjs/{index-8b65ad54.js → index-d33b9844.js} +1 -1
  30. package/dist/cjs/{index-8b65ad54.js.map → index-d33b9844.js.map} +1 -1
  31. package/dist/cjs/index.cjs.js +1 -1
  32. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  33. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  35. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  37. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  39. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  41. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  49. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  52. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  54. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  56. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  58. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  81. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  94. package/dist/cjs/kolibri.cjs.js +1 -1
  95. package/dist/cjs/loader.cjs.js +1 -1
  96. package/dist/cjs/{toaster-281b2ba3.js → toaster-62a35c5f.js} +1 -1
  97. package/dist/cjs/{toaster-281b2ba3.js.map → toaster-62a35c5f.js.map} +1 -1
  98. package/dist/cjs/{toaster-71aaee9a.js → toaster-693061df.js} +1 -1
  99. package/dist/cjs/{toaster-71aaee9a.js.map → toaster-693061df.js.map} +1 -1
  100. package/dist/cjs/validation-a25ab901.js +4 -0
  101. package/dist/cjs/{validation-fd93c1f5.js.map → validation-a25ab901.js.map} +1 -1
  102. package/dist/cjs/{validation-dd7406a2.js → validation-cc617690.js} +1 -1
  103. package/dist/cjs/{validation-dd7406a2.js.map → validation-cc617690.js.map} +1 -1
  104. package/dist/components/controller2.js +1 -1
  105. package/dist/components/controller2.js.map +1 -1
  106. package/dist/components/events.js.map +1 -1
  107. package/dist/components/index.js +1 -1
  108. package/dist/components/index.js.map +1 -1
  109. package/dist/components/index2.js +1 -1
  110. package/dist/components/index2.js.map +1 -1
  111. package/dist/components/kol-input-checkbox.js +1 -1
  112. package/dist/components/kol-input-checkbox.js.map +1 -1
  113. package/dist/components/kol-input-date.js +1 -1
  114. package/dist/components/kol-input-date.js.map +1 -1
  115. package/dist/components/kol-input-email.js +1 -1
  116. package/dist/components/kol-input-email.js.map +1 -1
  117. package/dist/components/kol-input-file.js +1 -1
  118. package/dist/components/kol-input-file.js.map +1 -1
  119. package/dist/components/kol-input-number.js +1 -1
  120. package/dist/components/kol-input-number.js.map +1 -1
  121. package/dist/components/kol-input-password.js +1 -1
  122. package/dist/components/kol-input-password.js.map +1 -1
  123. package/dist/components/kol-input-range.js +1 -1
  124. package/dist/components/kol-input-range.js.map +1 -1
  125. package/dist/components/kol-input-text.js +1 -1
  126. package/dist/components/kol-input-text.js.map +1 -1
  127. package/dist/components/kol-progress.js +1 -1
  128. package/dist/components/kol-progress.js.map +1 -1
  129. package/dist/components/kol-select.js +1 -1
  130. package/dist/components/kol-select.js.map +1 -1
  131. package/dist/components/kol-textarea.js +1 -1
  132. package/dist/components/kol-textarea.js.map +1 -1
  133. package/dist/esm/{align-floating-elements-8fb7f6b0.js → align-floating-elements-a21bf44f.js} +1 -1
  134. package/dist/esm/{align-floating-elements-8fb7f6b0.js.map → align-floating-elements-a21bf44f.js.map} +1 -1
  135. package/dist/esm/app-globals-1181b095.js +4 -0
  136. package/dist/esm/app-globals-1181b095.js.map +1 -0
  137. package/dist/esm/{associated.controller-fa74caf7.js → associated.controller-c5369a0d.js} +1 -1
  138. package/dist/esm/{associated.controller-fa74caf7.js.map → associated.controller-c5369a0d.js.map} +1 -1
  139. package/dist/esm/controller-12bf050b.js +4 -0
  140. package/dist/esm/controller-12bf050b.js.map +1 -0
  141. package/dist/esm/{controller-a4e8cbd2.js → controller-19587a5f.js} +1 -1
  142. package/dist/esm/{controller-a4e8cbd2.js.map → controller-19587a5f.js.map} +1 -1
  143. package/dist/esm/{controller-a64ca69a.js → controller-64de63fb.js} +1 -1
  144. package/dist/esm/{controller-a64ca69a.js.map → controller-64de63fb.js.map} +1 -1
  145. package/dist/esm/{controller-860dc9e8.js → controller-b7d35f53.js} +1 -1
  146. package/dist/esm/{controller-860dc9e8.js.map → controller-b7d35f53.js.map} +1 -1
  147. package/dist/esm/{controller-d605890e.js → controller-c23290a9.js} +1 -1
  148. package/dist/esm/{controller-d605890e.js.map → controller-c23290a9.js.map} +1 -1
  149. package/dist/esm/{controller-icon-421820a1.js → controller-icon-c3bf90f3.js} +1 -1
  150. package/dist/esm/{controller-icon-421820a1.js.map → controller-icon-c3bf90f3.js.map} +1 -1
  151. package/dist/esm/{dev.utils-e81fbe6f.js → dev.utils-6d9b92c3.js} +1 -1
  152. package/dist/esm/{dev.utils-e81fbe6f.js.map → dev.utils-6d9b92c3.js.map} +1 -1
  153. package/dist/esm/{devtools-a322f324.js → devtools-d4cd0545.js} +1 -1
  154. package/dist/esm/{devtools-a322f324.js.map → devtools-d4cd0545.js.map} +1 -1
  155. package/dist/esm/events-29e84d75.js.map +1 -1
  156. package/dist/esm/{i18n-3bac791b.js → i18n-1e6a70ea.js} +1 -1
  157. package/dist/esm/{i18n-3bac791b.js.map → i18n-1e6a70ea.js.map} +1 -1
  158. package/dist/esm/{index-0489af72.js → index-fbc0a5be.js} +1 -1
  159. package/dist/esm/{index-0489af72.js.map → index-fbc0a5be.js.map} +1 -1
  160. package/dist/{kolibri/index-34632da4.js → esm/index-fff5a4e2.js} +1 -1
  161. package/dist/esm/{index-34632da4.js.map → index-fff5a4e2.js.map} +1 -1
  162. package/dist/esm/index.js +1 -1
  163. package/dist/esm/kol-abbr.entry.js +1 -1
  164. package/dist/esm/kol-accordion.entry.js +1 -1
  165. package/dist/esm/kol-alert-wc.entry.js +1 -1
  166. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  167. package/dist/esm/kol-badge.entry.js +1 -1
  168. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  169. package/dist/esm/kol-button-link.entry.js +1 -1
  170. package/dist/esm/kol-button-wc.entry.js +1 -1
  171. package/dist/esm/kol-button.entry.js +1 -1
  172. package/dist/esm/kol-card.entry.js +1 -1
  173. package/dist/esm/kol-details.entry.js +1 -1
  174. package/dist/esm/kol-form.entry.js +1 -1
  175. package/dist/esm/kol-heading-wc.entry.js +1 -1
  176. package/dist/esm/kol-icon.entry.js +1 -1
  177. package/dist/esm/kol-image.entry.js +1 -1
  178. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  179. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  180. package/dist/esm/kol-input-color.entry.js +1 -1
  181. package/dist/esm/kol-input-date.entry.js +1 -1
  182. package/dist/esm/kol-input-date.entry.js.map +1 -1
  183. package/dist/esm/kol-input-email.entry.js +1 -1
  184. package/dist/esm/kol-input-email.entry.js.map +1 -1
  185. package/dist/esm/kol-input-file.entry.js +1 -1
  186. package/dist/esm/kol-input-file.entry.js.map +1 -1
  187. package/dist/esm/kol-input-number.entry.js +1 -1
  188. package/dist/esm/kol-input-number.entry.js.map +1 -1
  189. package/dist/esm/kol-input-password.entry.js +1 -1
  190. package/dist/esm/kol-input-password.entry.js.map +1 -1
  191. package/dist/esm/kol-input-radio.entry.js +1 -1
  192. package/dist/esm/kol-input-range.entry.js +1 -1
  193. package/dist/esm/kol-input-range.entry.js.map +1 -1
  194. package/dist/esm/kol-input-text.entry.js +1 -1
  195. package/dist/esm/kol-input-text.entry.js.map +1 -1
  196. package/dist/esm/kol-input.entry.js +1 -1
  197. package/dist/esm/kol-kolibri.entry.js +1 -1
  198. package/dist/esm/kol-link-button.entry.js +1 -1
  199. package/dist/esm/kol-link-group.entry.js +1 -1
  200. package/dist/esm/kol-link-wc.entry.js +1 -1
  201. package/dist/esm/kol-link.entry.js +1 -1
  202. package/dist/esm/kol-logo.entry.js +1 -1
  203. package/dist/esm/kol-modal.entry.js +1 -1
  204. package/dist/esm/kol-nav.entry.js +1 -1
  205. package/dist/esm/kol-pagination.entry.js +1 -1
  206. package/dist/esm/kol-popover-wc.entry.js +1 -1
  207. package/dist/esm/kol-progress.entry.js +1 -1
  208. package/dist/esm/kol-progress.entry.js.map +1 -1
  209. package/dist/esm/kol-quote.entry.js +1 -1
  210. package/dist/esm/kol-select.entry.js +1 -1
  211. package/dist/esm/kol-select.entry.js.map +1 -1
  212. package/dist/esm/kol-skip-nav.entry.js +1 -1
  213. package/dist/esm/kol-span-wc.entry.js +1 -1
  214. package/dist/esm/kol-spin.entry.js +1 -1
  215. package/dist/esm/kol-symbol.entry.js +1 -1
  216. package/dist/esm/kol-table.entry.js +1 -1
  217. package/dist/esm/kol-tabs.entry.js +1 -1
  218. package/dist/esm/kol-textarea.entry.js +1 -1
  219. package/dist/esm/kol-textarea.entry.js.map +1 -1
  220. package/dist/esm/kol-toast-container.entry.js +1 -1
  221. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  222. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  223. package/dist/esm/kol-tree-wc.entry.js +1 -1
  224. package/dist/esm/kol-version.entry.js +1 -1
  225. package/dist/esm/kolibri.js +1 -1
  226. package/dist/esm/loader.js +1 -1
  227. package/dist/esm/{toaster-120588aa.js → toaster-1e7f1deb.js} +1 -1
  228. package/dist/esm/{toaster-120588aa.js.map → toaster-1e7f1deb.js.map} +1 -1
  229. package/dist/esm/{toaster-daca2296.js → toaster-98560ca8.js} +1 -1
  230. package/dist/esm/{toaster-daca2296.js.map → toaster-98560ca8.js.map} +1 -1
  231. package/dist/esm/{validation-40bdb90f.js → validation-ed139130.js} +1 -1
  232. package/dist/esm/{validation-40bdb90f.js.map → validation-ed139130.js.map} +1 -1
  233. package/dist/esm/{validation-7e615a5b.js → validation-ffb20598.js} +1 -1
  234. package/dist/esm/{validation-7e615a5b.js.map → validation-ffb20598.js.map} +1 -1
  235. package/dist/kolibri/{align-floating-elements-8fb7f6b0.js → align-floating-elements-a21bf44f.js} +1 -1
  236. package/dist/kolibri/app-globals-1181b095.js +4 -0
  237. package/dist/kolibri/{app-globals-c60fa356.js.map → app-globals-1181b095.js.map} +1 -1
  238. package/dist/kolibri/{associated.controller-fa74caf7.js → associated.controller-c5369a0d.js} +1 -1
  239. package/dist/kolibri/controller-12bf050b.js +4 -0
  240. package/dist/kolibri/controller-12bf050b.js.map +1 -0
  241. package/dist/kolibri/{controller-a4e8cbd2.js → controller-19587a5f.js} +1 -1
  242. package/dist/kolibri/{controller-a64ca69a.js → controller-64de63fb.js} +1 -1
  243. package/dist/kolibri/{controller-860dc9e8.js → controller-b7d35f53.js} +1 -1
  244. package/dist/kolibri/{controller-d605890e.js → controller-c23290a9.js} +1 -1
  245. package/dist/kolibri/controller-icon-c3bf90f3.js +4 -0
  246. package/dist/kolibri/{dev.utils-e81fbe6f.js → dev.utils-6d9b92c3.js} +1 -1
  247. package/dist/kolibri/{devtools-a322f324.js → devtools-d4cd0545.js} +1 -1
  248. package/dist/kolibri/events-29e84d75.js.map +1 -1
  249. package/dist/kolibri/{i18n-3bac791b.js → i18n-1e6a70ea.js} +1 -1
  250. package/dist/kolibri/{index-0489af72.js → index-fbc0a5be.js} +1 -1
  251. package/dist/kolibri/{index-0489af72.js.map → index-fbc0a5be.js.map} +1 -1
  252. package/dist/{esm/index-34632da4.js → kolibri/index-fff5a4e2.js} +1 -1
  253. package/dist/kolibri/index.esm.js +1 -1
  254. package/dist/kolibri/kol-abbr.entry.js +1 -1
  255. package/dist/kolibri/kol-accordion.entry.js +1 -1
  256. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  257. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  258. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  259. package/dist/kolibri/kol-badge.entry.js +1 -1
  260. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  261. package/dist/kolibri/kol-button-link.entry.js +1 -1
  262. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  263. package/dist/kolibri/kol-button.entry.js +1 -1
  264. package/dist/kolibri/kol-card.entry.js +1 -1
  265. package/dist/kolibri/kol-details.entry.js +1 -1
  266. package/dist/kolibri/kol-form.entry.js +1 -1
  267. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  268. package/dist/kolibri/kol-icon.entry.js +1 -1
  269. package/dist/kolibri/kol-image.entry.js +1 -1
  270. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  271. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  272. package/dist/kolibri/kol-input-color.entry.js +1 -1
  273. package/dist/kolibri/kol-input-date.entry.js +1 -1
  274. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  275. package/dist/kolibri/kol-input-email.entry.js +1 -1
  276. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  277. package/dist/kolibri/kol-input-file.entry.js +1 -1
  278. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  279. package/dist/kolibri/kol-input-number.entry.js +1 -1
  280. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  281. package/dist/kolibri/kol-input-password.entry.js +1 -1
  282. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  283. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  284. package/dist/kolibri/kol-input-range.entry.js +1 -1
  285. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  286. package/dist/kolibri/kol-input-text.entry.js +1 -1
  287. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  288. package/dist/kolibri/kol-input.entry.js +1 -1
  289. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  290. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  291. package/dist/kolibri/kol-link-button.entry.js +1 -1
  292. package/dist/kolibri/kol-link-group.entry.js +1 -1
  293. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  294. package/dist/kolibri/kol-link.entry.js +1 -1
  295. package/dist/kolibri/kol-logo.entry.js +1 -1
  296. package/dist/kolibri/kol-modal.entry.js +1 -1
  297. package/dist/kolibri/kol-nav.entry.js +1 -1
  298. package/dist/kolibri/kol-pagination.entry.js +1 -1
  299. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  300. package/dist/kolibri/kol-progress.entry.js +1 -1
  301. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  302. package/dist/kolibri/kol-quote.entry.js +1 -1
  303. package/dist/kolibri/kol-select.entry.js +1 -1
  304. package/dist/kolibri/kol-select.entry.js.map +1 -1
  305. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  306. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  307. package/dist/kolibri/kol-spin.entry.js +1 -1
  308. package/dist/kolibri/kol-symbol.entry.js +1 -1
  309. package/dist/kolibri/kol-table.entry.js +1 -1
  310. package/dist/kolibri/kol-tabs.entry.js +1 -1
  311. package/dist/kolibri/kol-textarea.entry.js +1 -1
  312. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  313. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  314. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  315. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  316. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  317. package/dist/kolibri/kol-version.entry.js +1 -1
  318. package/dist/kolibri/kolibri.esm.js +1 -1
  319. package/dist/kolibri/toaster-1e7f1deb.js +4 -0
  320. package/dist/kolibri/{toaster-daca2296.js → toaster-98560ca8.js} +1 -1
  321. package/dist/kolibri/{validation-40bdb90f.js → validation-ed139130.js} +1 -1
  322. package/dist/kolibri/{validation-7e615a5b.js → validation-ffb20598.js} +1 -1
  323. package/dist/types/components/@deprecated/input/controller.d.ts +2 -0
  324. package/dist/types/components/button/test/html.mock.d.ts +1 -5
  325. package/dist/types/components/details/test/html.mock.d.ts +1 -3
  326. package/dist/types/components/input-email/component.d.ts +1 -0
  327. package/dist/types/components/input-file/component.d.ts +1 -0
  328. package/dist/types/components/input-password/component.d.ts +1 -0
  329. package/dist/types/components/input-text/component.d.ts +2 -2
  330. package/dist/types/utils/events.d.ts +1 -1
  331. package/doc/input-checkbox.md +1 -1
  332. package/doc/input-color.md +1 -1
  333. package/doc/input-date.md +1 -1
  334. package/doc/input-email.md +1 -1
  335. package/doc/input-file.md +1 -1
  336. package/doc/input-number.md +1 -1
  337. package/doc/input-password.md +1 -1
  338. package/doc/input-radio.md +1 -1
  339. package/doc/input-range.md +1 -1
  340. package/doc/input-text.md +1 -1
  341. package/doc/progress.md +7 -7
  342. package/doc/select.md +1 -1
  343. package/doc/table.md +2 -7
  344. package/doc/textarea.md +1 -1
  345. package/doc/toaster.md +2 -2
  346. package/package.json +1 -1
  347. package/vscode-custom-data.json +0 -6
  348. package/dist/cjs/app-globals-f28351b3.js +0 -4
  349. package/dist/cjs/app-globals-f28351b3.js.map +0 -1
  350. package/dist/cjs/controller-1332def9.js +0 -4
  351. package/dist/cjs/controller-1332def9.js.map +0 -1
  352. package/dist/cjs/controller-77b3e421.js +0 -4
  353. package/dist/cjs/validation-fd93c1f5.js +0 -4
  354. package/dist/esm/app-globals-c60fa356.js +0 -4
  355. package/dist/esm/app-globals-c60fa356.js.map +0 -1
  356. package/dist/esm/controller-19ccfc94.js +0 -4
  357. package/dist/esm/controller-19ccfc94.js.map +0 -1
  358. package/dist/kolibri/app-globals-c60fa356.js +0 -4
  359. package/dist/kolibri/controller-19ccfc94.js +0 -4
  360. package/dist/kolibri/controller-19ccfc94.js.map +0 -1
  361. package/dist/kolibri/controller-icon-421820a1.js +0 -4
  362. package/dist/kolibri/toaster-120588aa.js +0 -4
  363. /package/dist/kolibri/{align-floating-elements-8fb7f6b0.js.map → align-floating-elements-a21bf44f.js.map} +0 -0
  364. /package/dist/kolibri/{associated.controller-fa74caf7.js.map → associated.controller-c5369a0d.js.map} +0 -0
  365. /package/dist/kolibri/{controller-a4e8cbd2.js.map → controller-19587a5f.js.map} +0 -0
  366. /package/dist/kolibri/{controller-a64ca69a.js.map → controller-64de63fb.js.map} +0 -0
  367. /package/dist/kolibri/{controller-860dc9e8.js.map → controller-b7d35f53.js.map} +0 -0
  368. /package/dist/kolibri/{controller-d605890e.js.map → controller-c23290a9.js.map} +0 -0
  369. /package/dist/kolibri/{controller-icon-421820a1.js.map → controller-icon-c3bf90f3.js.map} +0 -0
  370. /package/dist/kolibri/{dev.utils-e81fbe6f.js.map → dev.utils-6d9b92c3.js.map} +0 -0
  371. /package/dist/kolibri/{devtools-a322f324.js.map → devtools-d4cd0545.js.map} +0 -0
  372. /package/dist/kolibri/{i18n-3bac791b.js.map → i18n-1e6a70ea.js.map} +0 -0
  373. /package/dist/kolibri/{index-34632da4.js.map → index-fff5a4e2.js.map} +0 -0
  374. /package/dist/kolibri/{toaster-120588aa.js.map → toaster-1e7f1deb.js.map} +0 -0
  375. /package/dist/kolibri/{toaster-daca2296.js.map → toaster-98560ca8.js.map} +0 -0
  376. /package/dist/kolibri/{validation-40bdb90f.js.map → validation-ed139130.js.map} +0 -0
  377. /package/dist/kolibri/{validation-7e615a5b.js.map → validation-ffb20598.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";switch(location.pathname){case"/dev/toaster.html":Promise.resolve().then((function(){return require("./toaster-71aaee9a.js")}));break;case"/dev/input-error.html":Promise.resolve().then((function(){return require("./input-error-ac3a12f5.js")}));break;case"/dev/reprod-accordion-does-not-toggle-with-open.html":Promise.resolve().then((function(){return require("./reprod-accordion-does-not-toggle-with-open-092e559d.js")}));break;case"/dev/details-synced-open-state.html":Promise.resolve().then((function(){return require("./details-synced-open-state-e88811c7.js")}));break;case"/dev/table-render-function.html":Promise.resolve().then((function(){return require("./table-render-function-7d9ebadc.js")}))}
4
+ "use strict";switch(location.pathname){case"/dev/toaster.html":Promise.resolve().then((function(){return require("./toaster-693061df.js")}));break;case"/dev/input-error.html":Promise.resolve().then((function(){return require("./input-error-ac3a12f5.js")}));break;case"/dev/reprod-accordion-does-not-toggle-with-open.html":Promise.resolve().then((function(){return require("./reprod-accordion-does-not-toggle-with-open-092e559d.js")}));break;case"/dev/details-synced-open-state.html":Promise.resolve().then((function(){return require("./details-synced-open-state-e88811c7.js")}));break;case"/dev/table-render-function.html":Promise.resolve().then((function(){return require("./table-render-function-7d9ebadc.js")}))}
@@ -1 +1 @@
1
- {"file":"index-8b65ad54.js","mappings":";;;;;AAEA,QAAQ,QAAQ,CAAC,QAAQ;IACxB,KAAK,mBAAmB;QACvB,oDAAO,uBAAW,KAAC,CAAC;QACpB,MAAM;IACP,KAAK,uBAAuB;QAC3B,oDAAO,2BAAe,KAAC,CAAC;QACxB,MAAM;IACP,KAAK,sDAAsD;QAC1D,oDAAO,0DAA8C,KAAC,CAAC;QACvD,MAAM;IACP,KAAK,qCAAqC;QACzC,oDAAO,yCAA6B,KAAC,CAAC;QACtC,MAAM;IACP,KAAK,iCAAiC;QACrC,oDAAO,qCAAyB,KAAC,CAAC;QAClC,MAAM;AACR;;","names":[],"sources":["src/dev/index.ts"],"sourcesContent":["import './theme-registration';\n\nswitch (location.pathname) {\n\tcase '/dev/toaster.html':\n\t\timport('./toaster');\n\t\tbreak;\n\tcase '/dev/input-error.html':\n\t\timport('./input-error');\n\t\tbreak;\n\tcase '/dev/reprod-accordion-does-not-toggle-with-open.html':\n\t\timport('./reprod-accordion-does-not-toggle-with-open');\n\t\tbreak;\n\tcase '/dev/details-synced-open-state.html':\n\t\timport('./details-synced-open-state');\n\t\tbreak;\n\tcase '/dev/table-render-function.html':\n\t\timport('./table-render-function');\n\t\tbreak;\n}\n"],"version":3}
1
+ {"file":"index-d33b9844.js","mappings":";;;;;AAEA,QAAQ,QAAQ,CAAC,QAAQ;IACxB,KAAK,mBAAmB;QACvB,oDAAO,uBAAW,KAAC,CAAC;QACpB,MAAM;IACP,KAAK,uBAAuB;QAC3B,oDAAO,2BAAe,KAAC,CAAC;QACxB,MAAM;IACP,KAAK,sDAAsD;QAC1D,oDAAO,0DAA8C,KAAC,CAAC;QACvD,MAAM;IACP,KAAK,qCAAqC;QACzC,oDAAO,yCAA6B,KAAC,CAAC;QACtC,MAAM;IACP,KAAK,iCAAiC;QACrC,oDAAO,qCAAyB,KAAC,CAAC;QAClC,MAAM;AACR;;","names":[],"sources":["src/dev/index.ts"],"sourcesContent":["import './theme-registration';\n\nswitch (location.pathname) {\n\tcase '/dev/toaster.html':\n\t\timport('./toaster');\n\t\tbreak;\n\tcase '/dev/input-error.html':\n\t\timport('./input-error');\n\t\tbreak;\n\tcase '/dev/reprod-accordion-does-not-toggle-with-open.html':\n\t\timport('./reprod-accordion-does-not-toggle-with-open');\n\t\tbreak;\n\tcase '/dev/details-synced-open-state.html':\n\t\timport('./details-synced-open-state');\n\t\tbreak;\n\tcase '/dev/table-render-function.html':\n\t\timport('./table-render-function');\n\t\tbreak;\n}\n"],"version":3}
@@ -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 ariaCurrentService=require("./ariaCurrentService-53afa476.js"),toaster=require("./toaster-281b2ba3.js"),bund=require("./bund-4be96755.js"),index=require("./index-cb2ce614.js");require("./component-names-4cf3e7f5.js"),require("./i18n-c3fa5bd7.js"),exports.setCurrentLocation=ariaCurrentService.setCurrentLocation,exports.ToasterService=toaster.ToasterService,exports.bootstrap=toaster.bootstrap,exports.register=toaster.register,exports.BUNDESAEMTER=bund.BUNDESAEMTER,exports.BUNDESANSTALTEN=bund.BUNDESANSTALTEN,exports.BUNDESMINISTERIEN=bund.BUNDESMINISTERIEN,exports.BUND_LOGO_TEXT_MAP=bund.BUND_LOGO_TEXT_MAP,Object.defineProperty(exports,"Bundesamt",{enumerable:!0,get:function(){return bund.Bundesamt}}),Object.defineProperty(exports,"Bundesanstalt",{enumerable:!0,get:function(){return bund.Bundesanstalt}}),Object.defineProperty(exports,"Bundesministerium",{enumerable:!0,get:function(){return bund.Bundesministerium}}),exports.KoliBriDevHelper=index.KoliBriDevHelper;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ariaCurrentService=require("./ariaCurrentService-53afa476.js"),toaster=require("./toaster-62a35c5f.js"),bund=require("./bund-4be96755.js"),index=require("./index-6a8528c2.js");require("./component-names-4cf3e7f5.js"),require("./i18n-c3fa5bd7.js"),exports.setCurrentLocation=ariaCurrentService.setCurrentLocation,exports.ToasterService=toaster.ToasterService,exports.bootstrap=toaster.bootstrap,exports.register=toaster.register,exports.BUNDESAEMTER=bund.BUNDESAEMTER,exports.BUNDESANSTALTEN=bund.BUNDESANSTALTEN,exports.BUNDESMINISTERIEN=bund.BUNDESMINISTERIEN,exports.BUND_LOGO_TEXT_MAP=bund.BUND_LOGO_TEXT_MAP,Object.defineProperty(exports,"Bundesamt",{enumerable:!0,get:function(){return bund.Bundesamt}}),Object.defineProperty(exports,"Bundesanstalt",{enumerable:!0,get:function(){return bund.Bundesanstalt}}),Object.defineProperty(exports,"Bundesministerium",{enumerable:!0,get:function(){return bund.Bundesministerium}}),exports.KoliBriDevHelper=index.KoliBriDevHelper;
@@ -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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),dev_utils=require("./dev.utils-487b14ca.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 > abbr {\n cursor: help;\n }\n}",KolAbbrDefaultStyle0=defaultStyleCss,KolAbbr=class{constructor(n){index.registerInstance(this,n),this.nonce=dev_utils.nonce(),this._label=void 0,this._tooltipAlign="top",this.state={_label:"",_tooltipAlign:"top"}}render(){return index.h(index.Host,{key:"c925b5b379b596db99404d6c7d4507275d70496d",class:"kol-abbr"},index.h("abbr",{key:"c7a6a3482ea02fca65278aa28ea115f7a9a11f74","aria-labelledby":this.nonce,role:"definition",tabindex:"0",title:this.state._label},index.h("span",{key:"7179f3b594f6815c06c46dd465739376734ea940",title:""},index.h("slot",{key:"00590edd1ae4afeb4f4f066f0a16ce54c8af28a9"}))),index.h(componentNames.KolTooltipWcTag,{key:"2c44fa51a1849dabb59d0541a0d9dcc192e52bcd",_align:this.state._tooltipAlign,_id:this.nonce,_label:this.state._label}))}validateLabel(n){index$1.validateLabel(this,n,{required:!0})}validateTooltipAlign(n){index$1.validateTooltipAlign(this,n)}componentWillLoad(){this.validateLabel(this._label),this.validateTooltipAlign(this._tooltipAlign)}static get watchers(){return{_label:["validateLabel"],_tooltipAlign:["validateTooltipAlign"]}}};KolAbbr.style={default:KolAbbrDefaultStyle0},exports.kol_abbr=KolAbbr;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),dev_utils=require("./dev.utils-18748d0d.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 > abbr {\n cursor: help;\n }\n}",KolAbbrDefaultStyle0=defaultStyleCss,KolAbbr=class{constructor(n){index.registerInstance(this,n),this.nonce=dev_utils.nonce(),this._label=void 0,this._tooltipAlign="top",this.state={_label:"",_tooltipAlign:"top"}}render(){return index.h(index.Host,{key:"c925b5b379b596db99404d6c7d4507275d70496d",class:"kol-abbr"},index.h("abbr",{key:"c7a6a3482ea02fca65278aa28ea115f7a9a11f74","aria-labelledby":this.nonce,role:"definition",tabindex:"0",title:this.state._label},index.h("span",{key:"7179f3b594f6815c06c46dd465739376734ea940",title:""},index.h("slot",{key:"00590edd1ae4afeb4f4f066f0a16ce54c8af28a9"}))),index.h(componentNames.KolTooltipWcTag,{key:"2c44fa51a1849dabb59d0541a0d9dcc192e52bcd",_align:this.state._tooltipAlign,_id:this.nonce,_label:this.state._label}))}validateLabel(n){index$1.validateLabel(this,n,{required:!0})}validateTooltipAlign(n){index$1.validateTooltipAlign(this,n)}componentWillLoad(){this.validateLabel(this._label),this.validateTooltipAlign(this._tooltipAlign)}static get watchers(){return{_label:["validateLabel"],_tooltipAlign:["validateTooltipAlign"]}}};KolAbbr.style={default:KolAbbrDefaultStyle0},exports.kol_abbr=KolAbbr;
@@ -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$1=require("./index-f0fde70b.js"),index=require("./index-cb2ce614.js"),dev_utils=require("./dev.utils-487b14ca.js"),validation=require("./validation-dd7406a2.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 /* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n .wrapper {\n display: grid;\n grid-template-rows: 0fr;\n overflow: hidden;\n transition: grid-template-rows 0.3s;\n }\n .accordion.open .wrapper {\n grid-template-rows: 1fr;\n }\n .animation-wrapper {\n min-height: 0;\n transition: visibility 0.3s;\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n visibility: hidden;\n }\n .accordion.open .animation-wrapper {\n visibility: visible;\n }\n @media (prefers-reduced-motion) {\n .animation-wrapper,\n .wrapper {\n transition-duration: 0s;\n }\n }\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n @media print {\n .accordion:not(.open) .animation-wrapper {\n display: none;\n }\n }\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n .accordion .kol-heading-wc .kol-button-wc button .kol-span-wc {\n justify-items: start;\n }\n}",KolAccordionDefaultStyle0=defaultStyleCss;index.featureHint("[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend"),index.featureHint("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const KolAccordion=class{constructor(n){index$1.registerInstance(this,n),this.nonce=dev_utils.nonce(),this.catchRef=n=>{index.propagateFocus(this.host,n)},this.onClick=n=>{this._open=!this._open,setTimeout((()=>{var e;"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&this.state._on.onClick(n,!0===this._open)}))},this._disabled=!1,this._label=void 0,this._level=1,this._on=void 0,this._open=!1,this.state={_label:"",_level:1}}render(){return index$1.h(index$1.Host,{key:"375071dab3f67a8a9ea41166c5e5955a905ba04a",class:"kol-accordion"},index$1.h("div",{key:"44e8a90eed884c991797ea6e0e727777075d6d00",class:{accordion:!0,disabled:!0===this.state._disabled,open:!0===this.state._open}},index$1.h(componentNames.KolHeadingWcTag,{key:"6fdf9427c74afbcc932fa05c1840e8cb6b606b9a",_label:"",_level:this.state._level,class:"accordion-heading"},index$1.h(componentNames.KolButtonWcTag,{key:"4e82eb30cd0ff1fef25262dc0e34a3408b0aaad6",class:"accordion-button",ref:this.catchRef,slot:"expert",_ariaControls:this.nonce,_ariaExpanded:this.state._open,_disabled:this.state._disabled,_icons:this.state._open?"codicon codicon-remove":"codicon codicon-add",_label:this.state._label,_on:{onClick:this.onClick}})),index$1.h("div",{key:"0835efe279a9deb62190997682ef0e8fe4a1edf2",class:"wrapper"},index$1.h("div",{key:"f7244e8b9807223dd80f0b261ec1e2b730f95e85",class:"animation-wrapper"},index$1.h("div",{key:"4ef5849701c39fe7f738cd34661e5c0fc9f29efc","aria-hidden":!1===this.state._open?"true":void 0,class:"content",id:this.nonce},index$1.h("slot",{key:"324bf4086448b8c5700c98d6fa7d830846e362af"}))))))}validateDisabled(n){index.validateDisabled(this,n)}validateLabel(n){index.validateLabel(this,n,{required:!0})}validateLevel(n){validation.watchHeadingLevel(this,n)}validateOn(n){"object"==typeof n&&null!==n&&"function"==typeof n.onClick&&index.setState(this,"_on",n)}validateOpen(n){index.validateOpen(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return index$1.getElement(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};KolAccordion.style={default:KolAccordionDefaultStyle0},exports.kol_accordion=KolAccordion;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index$1=require("./index-f0fde70b.js"),index=require("./index-6a8528c2.js"),dev_utils=require("./dev.utils-18748d0d.js"),validation=require("./validation-cc617690.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 /* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n .wrapper {\n display: grid;\n grid-template-rows: 0fr;\n overflow: hidden;\n transition: grid-template-rows 0.3s;\n }\n .accordion.open .wrapper {\n grid-template-rows: 1fr;\n }\n .animation-wrapper {\n min-height: 0;\n transition: visibility 0.3s;\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n visibility: hidden;\n }\n .accordion.open .animation-wrapper {\n visibility: visible;\n }\n @media (prefers-reduced-motion) {\n .animation-wrapper,\n .wrapper {\n transition-duration: 0s;\n }\n }\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n @media print {\n .accordion:not(.open) .animation-wrapper {\n display: none;\n }\n }\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n .accordion .kol-heading-wc .kol-button-wc button .kol-span-wc {\n justify-items: start;\n }\n}",KolAccordionDefaultStyle0=defaultStyleCss;index.featureHint("[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend"),index.featureHint("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const KolAccordion=class{constructor(n){index$1.registerInstance(this,n),this.nonce=dev_utils.nonce(),this.catchRef=n=>{index.propagateFocus(this.host,n)},this.onClick=n=>{this._open=!this._open,setTimeout((()=>{var e;"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&this.state._on.onClick(n,!0===this._open)}))},this._disabled=!1,this._label=void 0,this._level=1,this._on=void 0,this._open=!1,this.state={_label:"",_level:1}}render(){return index$1.h(index$1.Host,{key:"375071dab3f67a8a9ea41166c5e5955a905ba04a",class:"kol-accordion"},index$1.h("div",{key:"44e8a90eed884c991797ea6e0e727777075d6d00",class:{accordion:!0,disabled:!0===this.state._disabled,open:!0===this.state._open}},index$1.h(componentNames.KolHeadingWcTag,{key:"6fdf9427c74afbcc932fa05c1840e8cb6b606b9a",_label:"",_level:this.state._level,class:"accordion-heading"},index$1.h(componentNames.KolButtonWcTag,{key:"4e82eb30cd0ff1fef25262dc0e34a3408b0aaad6",class:"accordion-button",ref:this.catchRef,slot:"expert",_ariaControls:this.nonce,_ariaExpanded:this.state._open,_disabled:this.state._disabled,_icons:this.state._open?"codicon codicon-remove":"codicon codicon-add",_label:this.state._label,_on:{onClick:this.onClick}})),index$1.h("div",{key:"0835efe279a9deb62190997682ef0e8fe4a1edf2",class:"wrapper"},index$1.h("div",{key:"f7244e8b9807223dd80f0b261ec1e2b730f95e85",class:"animation-wrapper"},index$1.h("div",{key:"4ef5849701c39fe7f738cd34661e5c0fc9f29efc","aria-hidden":!1===this.state._open?"true":void 0,class:"content",id:this.nonce},index$1.h("slot",{key:"324bf4086448b8c5700c98d6fa7d830846e362af"}))))))}validateDisabled(n){index.validateDisabled(this,n)}validateLabel(n){index.validateLabel(this,n,{required:!0})}validateLevel(n){validation.watchHeadingLevel(this,n)}validateOn(n){"object"==typeof n&&null!==n&&"function"==typeof n.onClick&&index.setState(this,"_on",n)}validateOpen(n){index.validateOpen(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return index$1.getElement(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};KolAccordion.style={default:KolAccordionDefaultStyle0},exports.kol_accordion=KolAccordion;
@@ -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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),i18n=require("./i18n-9f4d1694.js"),validation=require("./validation-dd7406a2.js"),componentNames=require("./component-names-4cf3e7f5.js");require("./i18n-c3fa5bd7.js");const Icon=e=>index.h(componentNames.KolIconTag,{class:"heading-icon",_label:"string"==typeof e.label&&e.label.length>0?"":e.ariaLabel,_icons:e.icon}),AlertIcon=e=>{switch(e.type){case"error":return index.h(Icon,{ariaLabel:i18n.translate("kol-error"),icon:"codicon codicon-error",label:e.label});case"info":return index.h(Icon,{ariaLabel:i18n.translate("kol-info"),icon:"codicon codicon-info",label:e.label});case"warning":return index.h(Icon,{ariaLabel:i18n.translate("kol-warning"),icon:"codicon codicon-warning",label:e.label});case"success":return index.h(Icon,{ariaLabel:i18n.translate("kol-success"),icon:"codicon codicon-pass",label:e.label});default:return index.h(Icon,{ariaLabel:i18n.translate("kol-message"),icon:"codicon codicon-comment",label:e.label})}},KolAlertWc=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._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){var e;if(this.state._alert){try{index$1.Log.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){index$1.Log.debug("Navigator does not support vibration.")}setTimeout((()=>{this.validateAlert(!1)}),1e4)}return index.h(index.Host,{key:"056ebeba8b0ebc0d76a98e3855a0022e1c689e09",class:{"kol-alert-wc":!0,alert:!0,[this.state._type]:!0,[this.state._variant]:!0,hasCloser:!!this.state._hasCloser},role:this.state._alert?"alert":void 0},index.h("div",{key:"e2807b51c729dc7814aa46bc40f371d9b785b590",class:"heading"},index.h(AlertIcon,{key:"207367acb5c59e0977feb68adefb0a7cdb0f4668",label:this.state._label,type:this.state._type}),index.h("div",{key:"1d9b3c352e84393eb31fbd056a6aa9ec639d13cd",class:"heading-content"},"string"==typeof this.state._label&&(null===(e=this.state._label)||void 0===e?void 0:e.length)>0&&index.h(componentNames.KolHeadingWcTag,{_label:this.state._label,_level:this.state._level}),"msg"===this.state._variant&&index.h("div",{class:"content"},index.h("slot",null))),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close"),_on:this.on,_tooltipAlign:"left"})),"card"===this.state._variant&&index.h("div",{class:"content"},index.h("slot",null)))}validateAlert(e){index$1.watchBoolean(this,"_alert",e)}validateHasCloser(e){index$1.validateHasCloser(this,e)}validateLabel(e){index$1.validateLabel(this,e)}validateLevel(e){validation.watchHeadingLevel(this,e)}validateOn(e){this.validateOnValue(e)&&index$1.setState(this,"_on",{onClose:e.onClose})}validateType(e){index$1.watchValidator(this,"_type",(e=>"string"==typeof e&&index$1.alertTypeOptions.includes(e)),new Set(`String {${index$1.alertTypeOptions.join(", ")}`),e)}validateVariant(e){index$1.watchValidator(this,"_variant",(e=>"string"==typeof e&&index$1.alertVariantOptions.includes(e)),new Set(`AlertVariant {${index$1.alertVariantOptions.join(", ")}`),e)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};exports.kol_alert_wc=KolAlertWc;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),i18n=require("./i18n-7971042d.js"),validation=require("./validation-cc617690.js"),componentNames=require("./component-names-4cf3e7f5.js");require("./i18n-c3fa5bd7.js");const Icon=e=>index.h(componentNames.KolIconTag,{class:"heading-icon",_label:"string"==typeof e.label&&e.label.length>0?"":e.ariaLabel,_icons:e.icon}),AlertIcon=e=>{switch(e.type){case"error":return index.h(Icon,{ariaLabel:i18n.translate("kol-error"),icon:"codicon codicon-error",label:e.label});case"info":return index.h(Icon,{ariaLabel:i18n.translate("kol-info"),icon:"codicon codicon-info",label:e.label});case"warning":return index.h(Icon,{ariaLabel:i18n.translate("kol-warning"),icon:"codicon codicon-warning",label:e.label});case"success":return index.h(Icon,{ariaLabel:i18n.translate("kol-success"),icon:"codicon codicon-pass",label:e.label});default:return index.h(Icon,{ariaLabel:i18n.translate("kol-message"),icon:"codicon codicon-comment",label:e.label})}},KolAlertWc=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._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){var e;if(this.state._alert){try{index$1.Log.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){index$1.Log.debug("Navigator does not support vibration.")}setTimeout((()=>{this.validateAlert(!1)}),1e4)}return index.h(index.Host,{key:"056ebeba8b0ebc0d76a98e3855a0022e1c689e09",class:{"kol-alert-wc":!0,alert:!0,[this.state._type]:!0,[this.state._variant]:!0,hasCloser:!!this.state._hasCloser},role:this.state._alert?"alert":void 0},index.h("div",{key:"e2807b51c729dc7814aa46bc40f371d9b785b590",class:"heading"},index.h(AlertIcon,{key:"207367acb5c59e0977feb68adefb0a7cdb0f4668",label:this.state._label,type:this.state._type}),index.h("div",{key:"1d9b3c352e84393eb31fbd056a6aa9ec639d13cd",class:"heading-content"},"string"==typeof this.state._label&&(null===(e=this.state._label)||void 0===e?void 0:e.length)>0&&index.h(componentNames.KolHeadingWcTag,{_label:this.state._label,_level:this.state._level}),"msg"===this.state._variant&&index.h("div",{class:"content"},index.h("slot",null))),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close"),_on:this.on,_tooltipAlign:"left"})),"card"===this.state._variant&&index.h("div",{class:"content"},index.h("slot",null)))}validateAlert(e){index$1.watchBoolean(this,"_alert",e)}validateHasCloser(e){index$1.validateHasCloser(this,e)}validateLabel(e){index$1.validateLabel(this,e)}validateLevel(e){validation.watchHeadingLevel(this,e)}validateOn(e){this.validateOnValue(e)&&index$1.setState(this,"_on",{onClose:e.onClose})}validateType(e){index$1.watchValidator(this,"_type",(e=>"string"==typeof e&&index$1.alertTypeOptions.includes(e)),new Set(`String {${index$1.alertTypeOptions.join(", ")}`),e)}validateVariant(e){index$1.watchValidator(this,"_variant",(e=>"string"==typeof e&&index$1.alertVariantOptions.includes(e)),new Set(`AlertVariant {${index$1.alertVariantOptions.join(", ")}`),e)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};exports.kol_alert_wc=KolAlertWc;
@@ -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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),i18n=require("./i18n-9f4d1694.js");require("./i18n-c3fa5bd7.js");const formatNameAsInitial=a=>0===a.length?"":a[0].toUpperCase(),formatLabelAsInitials=a=>{const e=a.split(/\s+/),t=e.at(0),i=e.at(-1);return e.length>=2&&t&&i?`${formatNameAsInitial(t)}${formatNameAsInitial(i)}`:formatNameAsInitial(a)},KolAvatarWc=class{constructor(a){index.registerInstance(this,a),this._src=void 0,this._label=void 0,this.state={_src:"",_label:""}}render(){return index.h(index.Host,{key:"f0faaa1a4b75a9e31a241db182d9995b847c7c2b",class:"kol-avatar-wc"},index.h("div",{key:"2a06a185324e0bc06e2843f909b236fa4dfed4f9","aria-label":i18n.translate("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"container",role:"img"},this.state._src?index.h("img",{alt:"","aria-hidden":"true",class:"image",src:this.state._src}):index.h("span",{"aria-hidden":"true",class:"initials"},formatLabelAsInitials(this.state._label.trim()))))}validateSrc(a){index$1.validateImageSource(this,a)}validateLabel(a){index$1.validateLabel(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};exports.kol_avatar_wc=KolAvatarWc;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),i18n=require("./i18n-7971042d.js");require("./i18n-c3fa5bd7.js");const formatNameAsInitial=a=>0===a.length?"":a[0].toUpperCase(),formatLabelAsInitials=a=>{const e=a.split(/\s+/),t=e.at(0),i=e.at(-1);return e.length>=2&&t&&i?`${formatNameAsInitial(t)}${formatNameAsInitial(i)}`:formatNameAsInitial(a)},KolAvatarWc=class{constructor(a){index.registerInstance(this,a),this._src=void 0,this._label=void 0,this.state={_src:"",_label:""}}render(){return index.h(index.Host,{key:"f0faaa1a4b75a9e31a241db182d9995b847c7c2b",class:"kol-avatar-wc"},index.h("div",{key:"2a06a185324e0bc06e2843f909b236fa4dfed4f9","aria-label":i18n.translate("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"container",role:"img"},this.state._src?index.h("img",{alt:"","aria-hidden":"true",class:"image",src:this.state._src}):index.h("span",{"aria-hidden":"true",class:"initials"},formatLabelAsInitials(this.state._label.trim()))))}validateSrc(a){index$1.validateImageSource(this,a)}validateLabel(a){index$1.validateLabel(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};exports.kol_avatar_wc=KolAvatarWc;
@@ -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$1=require("./index-f0fde70b.js"),index=require("./index-cb2ce614.js"),componentNames=require("./component-names-4cf3e7f5.js"),dev_utils=require("./dev.utils-487b14ca.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 > 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;index.featureHint("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const KolBadge=class{constructor(n){index$1.registerInstance(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=dev_utils.nonce(),this.handleColorChange=n=>{const e=index.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$1.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$1.h(index$1.Host,{key:"53553ba5c140ed0317b07f3614c178a06f48b5f6",class:"kol-badge"},index$1.h("span",{key:"eb2dd60af4f8c1a3db15d91b9419434917d0cecd",class:{"smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton},style:{backgroundColor:this.bgColorStr,color:this.colorStr}},index$1.h(componentNames.KolSpanWcTag,{key:"00a6f9b5dfb4c4402505c61d7a318e58a67982f9",id:n?this.id:void 0,_allowMarkdown:!0,_icons:this._icons,_label:this._label}),n&&this.renderSmartButton(this.state._smartButton)))}validateColor(n){index.validateColor(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){index.objectObjectHandler(n,(()=>{try{n=index.parseJson(n)}catch(n){}index.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$1=require("./index-f0fde70b.js"),index=require("./index-6a8528c2.js"),componentNames=require("./component-names-4cf3e7f5.js"),dev_utils=require("./dev.utils-18748d0d.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 > 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;index.featureHint("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const KolBadge=class{constructor(n){index$1.registerInstance(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=dev_utils.nonce(),this.handleColorChange=n=>{const e=index.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$1.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$1.h(index$1.Host,{key:"53553ba5c140ed0317b07f3614c178a06f48b5f6",class:"kol-badge"},index$1.h("span",{key:"eb2dd60af4f8c1a3db15d91b9419434917d0cecd",class:{"smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton},style:{backgroundColor:this.bgColorStr,color:this.colorStr}},index$1.h(componentNames.KolSpanWcTag,{key:"00a6f9b5dfb4c4402505c61d7a318e58a67982f9",id:n?this.id:void 0,_allowMarkdown:!0,_icons:this._icons,_label:this._label}),n&&this.renderSmartButton(this.state._smartButton)))}validateColor(n){index.validateColor(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){index.objectObjectHandler(n,(()=>{try{n=index.parseJson(n)}catch(n){}index.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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),uniqueNavLabels=require("./unique-nav-labels-363e1d71.js"),validation=require("./validation-fd93c1f5.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 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:"8207d01dbede825fd138abd0f162601a2a614073",class:"kol-breadcrumb"},index.h("nav",{key:"4e88e8fbfa6c1d992f5a2774a150abf0f62fb201","aria-label":this.state._label},index.h("ul",{key:"965b241c1bdab7d6fd533b8624701aa3a18e2ad5"},0===this.state._links.length&&index.h("li",null,index.h(componentNames.KolIconTag,{_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink))))}validateLabel(n,e,t=!1){t||uniqueNavLabels.removeNavLabel(this.state._label),index$1.validateLabel(this,n,{required:!0}),index$1.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-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),uniqueNavLabels=require("./unique-nav-labels-363e1d71.js"),validation=require("./validation-a25ab901.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 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:"8207d01dbede825fd138abd0f162601a2a614073",class:"kol-breadcrumb"},index.h("nav",{key:"4e88e8fbfa6c1d992f5a2774a150abf0f62fb201","aria-label":this.state._label},index.h("ul",{key:"965b241c1bdab7d6fd533b8624701aa3a18e2ad5"},0===this.state._links.length&&index.h("li",null,index.h(componentNames.KolIconTag,{_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink))))}validateLabel(n,e,t=!1){t||uniqueNavLabels.removeNavLabel(this.state._label),index$1.validateLabel(this,n,{required:!0}),index$1.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;
@@ -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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 }\n :is(a, button) {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: underline;\n }\n a:is(:focus, :hover):not([aria-disabled]),\n button:is(:focus, :hover):not([disabled]) {\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=>{index$1.propagateFocus(this.host,n)},this._accessKey=void 0,this._ariaControls=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}render(){return index.h(index.Host,{key:"81dd5ca6f4756ef3a97184dff6a36f19e75a3682",class:"kol-button-link"},index.h(componentNames.KolButtonWcTag,{key:"8333cafecd10ff34bb401dd4d2fb28c52d07a84d",ref:this.catchRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_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:"097b08bd7bfe43f999db5e73b176b423d270b0fe",name:"expert",slot:"expert"})))}get host(){return index.getElement(this)}};KolButtonLink.style={default:KolButtonLinkDefaultStyle0},exports.kol_button_link=KolButtonLink;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 }\n :is(a, button) {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: underline;\n }\n a:is(:focus, :hover):not([aria-disabled]),\n button:is(:focus, :hover):not([disabled]) {\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=>{index$1.propagateFocus(this.host,n)},this._accessKey=void 0,this._ariaControls=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}render(){return index.h(index.Host,{key:"81dd5ca6f4756ef3a97184dff6a36f19e75a3682",class:"kol-button-link"},index.h(componentNames.KolButtonWcTag,{key:"8333cafecd10ff34bb401dd4d2fb28c52d07a84d",ref:this.catchRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_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:"097b08bd7bfe43f999db5e73b176b423d270b0fe",name:"expert",slot:"expert"})))}get host(){return index.getElement(this)}};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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),events=require("./events-221fcb43.js"),controller=require("./controller-e9291e36.js"),associated_controller=require("./associated.controller-28e845cc.js"),componentNames=require("./component-names-4cf3e7f5.js"),KolButtonWc=class{render(){const t=index$1.showExpertSlot(this.state._label);return index.h(index.Host,{key:"dd5a9e3afb3250b04a4a2d012ca2885736d234e4",class:"kol-button-wc"},index.h("button",Object.assign({key:"9d985bf2bd663f8039ad7805ab81816c08abcd45",ref:this.catchRef,accessKey:this.state._accessKey||void 0,"aria-controls":this.state._ariaControls,"aria-expanded":index$1.mapBoolean2String(this.state._ariaExpanded),"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,"aria-selected":index$1.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:"2d1ac0b37da70e0fc2ec049a1c6bf835fededa56",class:"button-inner",_accessKey:this.state._accessKey,_icons:this.state._icons,_hideLabel:this.state._hideLabel,_label:t?"":this.state._label},index.h("slot",{key:"fc4422ac22bb63edb8ba2ecf768802392854b882",name:"expert",slot:"expert"}))),index.h(componentNames.KolTooltipWcTag,{key:"0228c4d7ecbeb88dcd16e244e5bc4e9b9becf1b0","aria-hidden":"true",hidden:t||!this.state._hideLabel,_accessKey:this._accessKey,_align:this.state._tooltipAlign,_label:"string"==typeof this.state._label?this.state._label:""}))}constructor(t){index.registerInstance(this,t),this.catchRef=t=>{this.ref=t,index$1.propagateFocus(this.host,this.ref)},this.onClick=t=>{var e,a;"submit"===this.state._type?controller.propagateSubmitEventToForm({form:this.host,ref:this.ref}):"reset"===this.state._type?controller.propagateResetEventToForm({form:this.host,ref:this.ref}):(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)&&(index$1.setEventTarget(t,this.ref),null===(a=this.state._on)||void 0===a||a.onClick(t,this.state._value)))},this._accessKey=void 0,this._ariaControls=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){index$1.validateAccessKey(this,t)}validateAriaControls(t){index$1.validateAriaControls(this,t)}validateAriaExpanded(t){index$1.validateAriaExpanded(this,t)}validateAriaSelected(t){index$1.validateAriaSelected(this,t)}validateCustomClass(t){index$1.validateCustomClass(this,t)}validateDisabled(t){index$1.validateDisabled(this,t)}validateHideLabel(t){index$1.validateHideLabel(this,t)}validateIcons(t){index$1.validateIcons(this,t)}validateId(t){index$1.watchString(this,"_id",t)}validateLabel(t){index$1.validateLabelWithExpertSlot(this,t,{required:!0})}validateName(t){this.controller.validateName(t)}validateOn(t){index$1.validateButtonCallbacks(this,t)}validateRole(t){index$1.validateAlternativeButtonLinkRole(this,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){index$1.validateTabIndex(this,t)}validateTooltipAlign(t){index$1.validateTooltipAlign(this,t)}validateType(t){index$1.validateButtonType(this,t)}validateValue(t){index$1.setState(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateVariant(t){index$1.validateButtonVariant(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),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"],_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-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),events=require("./events-221fcb43.js"),controller=require("./controller-77b081c6.js"),associated_controller=require("./associated.controller-44964fd5.js"),componentNames=require("./component-names-4cf3e7f5.js"),KolButtonWc=class{render(){const t=index$1.showExpertSlot(this.state._label);return index.h(index.Host,{key:"dd5a9e3afb3250b04a4a2d012ca2885736d234e4",class:"kol-button-wc"},index.h("button",Object.assign({key:"9d985bf2bd663f8039ad7805ab81816c08abcd45",ref:this.catchRef,accessKey:this.state._accessKey||void 0,"aria-controls":this.state._ariaControls,"aria-expanded":index$1.mapBoolean2String(this.state._ariaExpanded),"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,"aria-selected":index$1.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:"2d1ac0b37da70e0fc2ec049a1c6bf835fededa56",class:"button-inner",_accessKey:this.state._accessKey,_icons:this.state._icons,_hideLabel:this.state._hideLabel,_label:t?"":this.state._label},index.h("slot",{key:"fc4422ac22bb63edb8ba2ecf768802392854b882",name:"expert",slot:"expert"}))),index.h(componentNames.KolTooltipWcTag,{key:"0228c4d7ecbeb88dcd16e244e5bc4e9b9becf1b0","aria-hidden":"true",hidden:t||!this.state._hideLabel,_accessKey:this._accessKey,_align:this.state._tooltipAlign,_label:"string"==typeof this.state._label?this.state._label:""}))}constructor(t){index.registerInstance(this,t),this.catchRef=t=>{this.ref=t,index$1.propagateFocus(this.host,this.ref)},this.onClick=t=>{var e,a;"submit"===this.state._type?controller.propagateSubmitEventToForm({form:this.host,ref:this.ref}):"reset"===this.state._type?controller.propagateResetEventToForm({form:this.host,ref:this.ref}):(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)&&(index$1.setEventTarget(t,this.ref),null===(a=this.state._on)||void 0===a||a.onClick(t,this.state._value)))},this._accessKey=void 0,this._ariaControls=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){index$1.validateAccessKey(this,t)}validateAriaControls(t){index$1.validateAriaControls(this,t)}validateAriaExpanded(t){index$1.validateAriaExpanded(this,t)}validateAriaSelected(t){index$1.validateAriaSelected(this,t)}validateCustomClass(t){index$1.validateCustomClass(this,t)}validateDisabled(t){index$1.validateDisabled(this,t)}validateHideLabel(t){index$1.validateHideLabel(this,t)}validateIcons(t){index$1.validateIcons(this,t)}validateId(t){index$1.watchString(this,"_id",t)}validateLabel(t){index$1.validateLabelWithExpertSlot(this,t,{required:!0})}validateName(t){this.controller.validateName(t)}validateOn(t){index$1.validateButtonCallbacks(this,t)}validateRole(t){index$1.validateAlternativeButtonLinkRole(this,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){index$1.validateTabIndex(this,t)}validateTooltipAlign(t){index$1.validateTooltipAlign(this,t)}validateType(t){index$1.validateButtonType(this,t)}validateValue(t){index$1.setState(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateVariant(t){index$1.validateButtonVariant(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),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"],_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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 }\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=>{index$1.propagateFocus(this.host,n)},this._accessKey=void 0,this._ariaControls=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}render(){return index.h(index.Host,{key:"67fdae48e99dbeff6328fcc24853e293a249d3e1",class:"kol-button"},index.h(componentNames.KolButtonWcTag,{key:"2ecce25536995648275992c63f5dd953e8bcf034",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,_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:"cf135329e77904298eab357d91d14f4a2083f0c8",name:"expert",slot:"expert"})))}get host(){return index.getElement(this)}};KolButton.style={default:KolButtonDefaultStyle0},exports.kol_button=KolButton;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 }\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=>{index$1.propagateFocus(this.host,n)},this._accessKey=void 0,this._ariaControls=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}render(){return index.h(index.Host,{key:"67fdae48e99dbeff6328fcc24853e293a249d3e1",class:"kol-button"},index.h(componentNames.KolButtonWcTag,{key:"2ecce25536995648275992c63f5dd953e8bcf034",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,_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:"cf135329e77904298eab357d91d14f4a2083f0c8",name:"expert",slot:"expert"})))}get host(){return index.getElement(this)}};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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),i18n=require("./i18n-9f4d1694.js"),validation=require("./validation-dd7406a2.js"),componentNames=require("./component-names-4cf3e7f5.js");require("./i18n-c3fa5bd7.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 > 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:"3a58c3891d1edac983aa496b5edac9ec3aa8e2b4",class:"kol-card"},index.h("div",{key:"50bc445f86ca4c282600b7351bfbff4539c0decd",class:"card"},index.h("div",{key:"9e5d76560aead613b5fea37975e5bc43592808c5",class:"header"},index.h(componentNames.KolHeadingWcTag,{key:"278917cdfa2ed7b7034f0572796c149bb7fb8197",_label:this.state._label,_level:this.state._level})),index.h("div",{key:"37c5183d5efcdc6b948f0baa1ab892ad4df07558",class:"content"},index.h("slot",{key:"3d57f3d4911c7b7c5983a9b296e1bfee73a10f8b"})),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{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)&&index$1.setState(this,"_on",{onClose:e.onClose})}validateHasCloser(e){index$1.validateHasCloser(this,e)}validateLabel(e){index$1.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-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),i18n=require("./i18n-7971042d.js"),validation=require("./validation-cc617690.js"),componentNames=require("./component-names-4cf3e7f5.js");require("./i18n-c3fa5bd7.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 > 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:"3a58c3891d1edac983aa496b5edac9ec3aa8e2b4",class:"kol-card"},index.h("div",{key:"50bc445f86ca4c282600b7351bfbff4539c0decd",class:"card"},index.h("div",{key:"9e5d76560aead613b5fea37975e5bc43592808c5",class:"header"},index.h(componentNames.KolHeadingWcTag,{key:"278917cdfa2ed7b7034f0572796c149bb7fb8197",_label:this.state._label,_level:this.state._level})),index.h("div",{key:"37c5183d5efcdc6b948f0baa1ab892ad4df07558",class:"content"},index.h("slot",{key:"3d57f3d4911c7b7c5983a9b296e1bfee73a10f8b"})),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{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)&&index$1.setState(this,"_on",{onClose:e.onClose})}validateHasCloser(e){index$1.validateHasCloser(this,e)}validateLabel(e){index$1.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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),events=require("./events-221fcb43.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 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,index$1.propagateFocus(this.host,this.summaryElement)},this.preventToggleIfDisabled=e=>{!0===this.state._disabled&&events.preventDefaultAndStopPropagation(e)},this.handleToggle=e=>{clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout((()=>{var n,t,i,s;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===(s=this.state._on)||void 0===s||s.onToggle(e,this._open)))}),25)},this._disabled=!1,this._label=void 0,this._on=void 0,this._open=!1,this.state={_label:"",_on:{}}}render(){return index.h(index.Host,{key:"cda9e87d6f6a6a7803fd921180faf7a973f232b9",class:"kol-details"},index.h("details",{key:"f2b66dfeda3759ec143d6fcf6fccd26189dd3580",ref:this.catchDetails,class:{disabled:!0===this.state._disabled,open:!0===this.state._open},onToggle:this.handleToggle},index.h("summary",{key:"8e0742051d3344cab3e790915c974919c8ce2a4a",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:"39775945cdfbfc846138121bac62fc6f9e3a69dd",_label:"",_icons:"codicon codicon-chevron-right",class:"icon "+(this.state._open?"is-open":"")}),index.h("span",{key:"f990cbbe0104f5ae5d92cb81b24df94253e245c4"},this.state._label)),index.h("div",{key:"d753895b96f482f7a8248f1fc41ac00359534444","aria-hidden":!1===this.state._open?"true":void 0,class:"content",ref:e=>this.contentElement=e},index.h(componentNames.KolIndentedTextTag,{key:"6394a852168af08b09f3912245161332f2257af6"},index.h("slot",{key:"24dd7a5270024763791410594a0ccc9030781e20"})))))}validateDisabled(e){index$1.validateDisabled(this,e)}validateLabel(e){index$1.validateLabel(this,e,{required:!0})}validateOn(e){"object"==typeof e&&null!==e&&"function"==typeof e.onToggle&&index$1.setState(this,"_on",e)}validateOpen(e){index$1.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-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),events=require("./events-221fcb43.js"),componentNames=require("./component-names-4cf3e7f5.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 .hidden {\n display: none;\n visibility: hidden;\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 !important;\n opacity: 0.5 !important;\n outline: none !important;\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 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,index$1.propagateFocus(this.host,this.summaryElement)},this.preventToggleIfDisabled=e=>{!0===this.state._disabled&&events.preventDefaultAndStopPropagation(e)},this.handleToggle=e=>{clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout((()=>{var n,t,i,s;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===(s=this.state._on)||void 0===s||s.onToggle(e,this._open)))}),25)},this._disabled=!1,this._label=void 0,this._on=void 0,this._open=!1,this.state={_label:"",_on:{}}}render(){return index.h(index.Host,{key:"cda9e87d6f6a6a7803fd921180faf7a973f232b9",class:"kol-details"},index.h("details",{key:"f2b66dfeda3759ec143d6fcf6fccd26189dd3580",ref:this.catchDetails,class:{disabled:!0===this.state._disabled,open:!0===this.state._open},onToggle:this.handleToggle},index.h("summary",{key:"8e0742051d3344cab3e790915c974919c8ce2a4a",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:"39775945cdfbfc846138121bac62fc6f9e3a69dd",_label:"",_icons:"codicon codicon-chevron-right",class:"icon "+(this.state._open?"is-open":"")}),index.h("span",{key:"f990cbbe0104f5ae5d92cb81b24df94253e245c4"},this.state._label)),index.h("div",{key:"d753895b96f482f7a8248f1fc41ac00359534444","aria-hidden":!1===this.state._open?"true":void 0,class:"content",ref:e=>this.contentElement=e},index.h(componentNames.KolIndentedTextTag,{key:"6394a852168af08b09f3912245161332f2257af6"},index.h("slot",{key:"24dd7a5270024763791410594a0ccc9030781e20"})))))}validateDisabled(e){index$1.validateDisabled(this,e)}validateLabel(e){index$1.validateLabel(this,e,{required:!0})}validateOn(e){"object"==typeof e&&null!==e&&"function"==typeof e.onToggle&&index$1.setState(this,"_on",e)}validateOpen(e){index$1.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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),i18n=require("./i18n-9f4d1694.js"),componentNames=require("./component-names-4cf3e7f5.js");require("./i18n-c3fa5bd7.js");const KolForm=class{constructor(e){index.registerInstance(this,e),this.onSubmit=e=>{var t,i;e.preventDefault(),e.stopPropagation(),"function"==typeof(null===(t=this.state._on)||void 0===t?void 0:t.onSubmit)&&(null===(i=this.state._on)||void 0===i||i.onSubmit(e))},this.onReset=e=>{var t,i;e.preventDefault(),e.stopPropagation(),"function"==typeof(null===(t=this.state._on)||void 0===t?void 0:t.onReset)&&(null===(i=this.state._on)||void 0===i||i.onReset(e))},this.handleLinkClick=e=>{var t;const i=null===(t=e.target)||void 0===t?void 0:t.href;if(i){const e=new URL(i),t=document.querySelector(e.hash);t&&"function"==typeof t.focus&&(t.scrollIntoView({behavior:"smooth"}),t.focus())}},this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}render(){return index.h(index.Host,{key:"65d715836bb74ba26265a82596c68938518f1bd6",class:"kol-form"},this._errorList&&this._errorList.length>0&&index.h(componentNames.KolAlertTag,{_type:"error"},i18n.translate("kol-error-list-message"),index.h("nav",{"aria-label":i18n.translate("kol-error-list")},index.h("ul",null,this._errorList.map(((e,t)=>index.h("li",{key:t},index.h(componentNames.KolLinkTag,{_href:e.selector,_label:e.message,_on:{onClick:this.handleLinkClick},ref:e=>{0===t&&(this.errorListElement=e)}}))))))),index.h("form",{key:"47ab1f7b0e6ab78c81d63e073b9cde8baf007f39",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},!0===this.state._requiredText?index.h("p",null,index.h(componentNames.KolIndentedTextTag,null,i18n.translate("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?index.h("p",null,index.h(componentNames.KolIndentedTextTag,null,this.state._requiredText)):null,index.h("slot",{key:"235d3db4100f7f872803573a909f11c137f4504c"})))}async focusErrorList(){return setTimeout((()=>{var e;this._errorList&&this._errorList.length>0&&(null===(e=this.errorListElement)||void 0===e||e.focus())}),300),Promise.resolve()}validateOn(e){"object"==typeof e&&null!==e&&(this.state=Object.assign(Object.assign({},this.state),{_on:e}))}validateRequiredText(e){"boolean"==typeof e?index$1.watchBoolean(this,"_requiredText",e):index$1.watchString(this,"_requiredText",e)}validateErrorList(e){index$1.validateErrorList(this,e)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};exports.kol_form=KolForm;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),i18n=require("./i18n-7971042d.js"),componentNames=require("./component-names-4cf3e7f5.js");require("./i18n-c3fa5bd7.js");const KolForm=class{constructor(e){index.registerInstance(this,e),this.onSubmit=e=>{var t,i;e.preventDefault(),e.stopPropagation(),"function"==typeof(null===(t=this.state._on)||void 0===t?void 0:t.onSubmit)&&(null===(i=this.state._on)||void 0===i||i.onSubmit(e))},this.onReset=e=>{var t,i;e.preventDefault(),e.stopPropagation(),"function"==typeof(null===(t=this.state._on)||void 0===t?void 0:t.onReset)&&(null===(i=this.state._on)||void 0===i||i.onReset(e))},this.handleLinkClick=e=>{var t;const i=null===(t=e.target)||void 0===t?void 0:t.href;if(i){const e=new URL(i),t=document.querySelector(e.hash);t&&"function"==typeof t.focus&&(t.scrollIntoView({behavior:"smooth"}),t.focus())}},this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}render(){return index.h(index.Host,{key:"65d715836bb74ba26265a82596c68938518f1bd6",class:"kol-form"},this._errorList&&this._errorList.length>0&&index.h(componentNames.KolAlertTag,{_type:"error"},i18n.translate("kol-error-list-message"),index.h("nav",{"aria-label":i18n.translate("kol-error-list")},index.h("ul",null,this._errorList.map(((e,t)=>index.h("li",{key:t},index.h(componentNames.KolLinkTag,{_href:e.selector,_label:e.message,_on:{onClick:this.handleLinkClick},ref:e=>{0===t&&(this.errorListElement=e)}}))))))),index.h("form",{key:"47ab1f7b0e6ab78c81d63e073b9cde8baf007f39",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},!0===this.state._requiredText?index.h("p",null,index.h(componentNames.KolIndentedTextTag,null,i18n.translate("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?index.h("p",null,index.h(componentNames.KolIndentedTextTag,null,this.state._requiredText)):null,index.h("slot",{key:"235d3db4100f7f872803573a909f11c137f4504c"})))}async focusErrorList(){return setTimeout((()=>{var e;this._errorList&&this._errorList.length>0&&(null===(e=this.errorListElement)||void 0===e||e.focus())}),300),Promise.resolve()}validateOn(e){"object"==typeof e&&null!==e&&(this.state=Object.assign(Object.assign({},this.state),{_on:e}))}validateRequiredText(e){"boolean"==typeof e?index$1.watchBoolean(this,"_requiredText",e):index$1.watchString(this,"_requiredText",e)}validateErrorList(e){index$1.validateErrorList(this,e)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};exports.kol_form=KolForm;
@@ -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-f0fde70b.js"),index$1=require("./index-cb2ce614.js"),validation=require("./validation-dd7406a2.js"),KolHeadingWc=class{constructor(e){index.registerInstance(this,e),this.renderHeadline=(e,a)=>{const i="number"==typeof a&&a>0&&a<=6?`h${a}`:"strong",t=this._variant||i;return index.h(i,{class:{headline:!0,[`headline-${t}`]:!0}},e,index.h("slot",{name:"expert"}))},this.renderSecondaryHeadline=(e,a)=>{switch(a){case 1:return index.h("span",{class:"secondary-headline"},e);case 2:return index.h("h2",{class:"secondary-headline"},e);case 3:return index.h("h3",{class:"secondary-headline"},e);case 4:return index.h("h4",{class:"secondary-headline"},e);case 5:return index.h("h5",{class:"secondary-headline"},e);case 6:return index.h("h6",{class:"secondary-headline"},e);default:return index.h("strong",{class:"secondary-headline"},e)}},this._label=void 0,this._level=1,this._secondaryHeadline=void 0,this._variant=void 0,this.state={_label:"",_level:1}}validateLabel(e){index$1.validateLabelWithExpertSlot(this,e)}validateLevel(e){validation.watchHeadingLevel(this,e)}validateSecondaryHeadline(e){index$1.watchString(this,"_secondaryHeadline",e)}validateVariant(e){index$1.validateHeadingVariant(this,e)}componentWillLoad(){this.validateLabel(this._label),this.validateLevel(this._level),this.validateSecondaryHeadline(this._secondaryHeadline),this.validateVariant(this._variant)}render(){return index.h(index.Host,{key:"dfa23477ebaa707f973814ee68826a5447ee8fe8",class:"kol-heading-wc"},"string"==typeof this.state._secondaryHeadline&&this.state._secondaryHeadline.length>0?index.h("hgroup",null,this.renderHeadline(this.state._label,this.state._level),this.state._secondaryHeadline&&this.renderSecondaryHeadline(this.state._secondaryHeadline,this.state._level+1)):this.renderHeadline(this.state._label,this.state._level))}static get watchers(){return{_label:["validateLabel"],_level:["validateLevel"],_secondaryHeadline:["validateSecondaryHeadline"],_variant:["validateVariant"]}}};exports.kol_heading_wc=KolHeadingWc;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-f0fde70b.js"),index$1=require("./index-6a8528c2.js"),validation=require("./validation-cc617690.js"),KolHeadingWc=class{constructor(e){index.registerInstance(this,e),this.renderHeadline=(e,a)=>{const i="number"==typeof a&&a>0&&a<=6?`h${a}`:"strong",t=this._variant||i;return index.h(i,{class:{headline:!0,[`headline-${t}`]:!0}},e,index.h("slot",{name:"expert"}))},this.renderSecondaryHeadline=(e,a)=>{switch(a){case 1:return index.h("span",{class:"secondary-headline"},e);case 2:return index.h("h2",{class:"secondary-headline"},e);case 3:return index.h("h3",{class:"secondary-headline"},e);case 4:return index.h("h4",{class:"secondary-headline"},e);case 5:return index.h("h5",{class:"secondary-headline"},e);case 6:return index.h("h6",{class:"secondary-headline"},e);default:return index.h("strong",{class:"secondary-headline"},e)}},this._label=void 0,this._level=1,this._secondaryHeadline=void 0,this._variant=void 0,this.state={_label:"",_level:1}}validateLabel(e){index$1.validateLabelWithExpertSlot(this,e)}validateLevel(e){validation.watchHeadingLevel(this,e)}validateSecondaryHeadline(e){index$1.watchString(this,"_secondaryHeadline",e)}validateVariant(e){index$1.validateHeadingVariant(this,e)}componentWillLoad(){this.validateLabel(this._label),this.validateLevel(this._level),this.validateSecondaryHeadline(this._secondaryHeadline),this.validateVariant(this._variant)}render(){return index.h(index.Host,{key:"dfa23477ebaa707f973814ee68826a5447ee8fe8",class:"kol-heading-wc"},"string"==typeof this.state._secondaryHeadline&&this.state._secondaryHeadline.length>0?index.h("hgroup",null,this.renderHeadline(this.state._label,this.state._level),this.state._secondaryHeadline&&this.renderSecondaryHeadline(this.state._secondaryHeadline,this.state._level+1)):this.renderHeadline(this.state._label,this.state._level))}static get watchers(){return{_label:["validateLabel"],_level:["validateLevel"],_secondaryHeadline:["validateSecondaryHeadline"],_variant:["validateVariant"]}}};exports.kol_heading_wc=KolHeadingWc;