@public-ui/components 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (551) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/{align-floating-elements-a2defb7a.js → align-floating-elements-d36239e1.js} +1 -1
  3. package/dist/cjs/{align-floating-elements-a2defb7a.js.map → align-floating-elements-d36239e1.js.map} +1 -1
  4. package/dist/cjs/{app-globals-70cfb4f9.js → app-globals-36b2927e.js} +1 -1
  5. package/dist/cjs/{app-globals-70cfb4f9.js.map → app-globals-36b2927e.js.map} +1 -1
  6. package/dist/cjs/associated.controller-bb6795bd.js +4 -0
  7. package/dist/cjs/associated.controller-bb6795bd.js.map +1 -0
  8. package/dist/cjs/{controller-3e0a6924.js → controller-1cba321f.js} +1 -1
  9. package/dist/cjs/controller-1cba321f.js.map +1 -0
  10. package/dist/cjs/{controller-c83c78df.js → controller-33e76eb0.js} +1 -1
  11. package/dist/cjs/{controller-c83c78df.js.map → controller-33e76eb0.js.map} +1 -1
  12. package/dist/cjs/{controller-43f9f81d.js → controller-8eb9efb3.js} +1 -1
  13. package/dist/cjs/{controller-43f9f81d.js.map → controller-8eb9efb3.js.map} +1 -1
  14. package/dist/cjs/{controller-c33aba84.js → controller-99f96990.js} +1 -1
  15. package/dist/cjs/{controller-c33aba84.js.map → controller-99f96990.js.map} +1 -1
  16. package/dist/cjs/{controller-6f2b7727.js → controller-9b9d5459.js} +1 -1
  17. package/dist/cjs/{controller-6f2b7727.js.map → controller-9b9d5459.js.map} +1 -1
  18. package/dist/cjs/{controller-icon-288a59db.js → controller-icon-e8abc692.js} +1 -1
  19. package/dist/cjs/{controller-icon-288a59db.js.map → controller-icon-e8abc692.js.map} +1 -1
  20. package/dist/cjs/{dev.utils-a1590740.js → dev.utils-0fc7119f.js} +1 -1
  21. package/dist/cjs/{dev.utils-a1590740.js.map → dev.utils-0fc7119f.js.map} +1 -1
  22. package/dist/cjs/{devtools-39ac03e1.js → devtools-568c4042.js} +1 -1
  23. package/dist/cjs/{devtools-39ac03e1.js.map → devtools-568c4042.js.map} +1 -1
  24. package/dist/cjs/{i18n-c4a24b56.js → i18n-82c97757.js} +1 -1
  25. package/dist/cjs/{i18n-c4a24b56.js.map → i18n-82c97757.js.map} +1 -1
  26. package/dist/cjs/{index-7215e5f8.js → index-3e2b9662.js} +1 -1
  27. package/dist/cjs/index-3e2b9662.js.map +1 -0
  28. package/dist/cjs/{index-29df180c.js → index-5ef2fde6.js} +1 -1
  29. package/dist/cjs/{index-29df180c.js.map → index-5ef2fde6.js.map} +1 -1
  30. package/dist/cjs/index.cjs.js +1 -1
  31. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  32. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  33. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  35. package/dist/cjs/kol-alert-wc_3.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  37. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  38. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  39. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  41. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  43. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  45. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  47. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  49. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  51. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  58. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  62. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  64. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  103. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +1 -1
  105. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-span-wc_2.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-span-wc_2.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  119. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  136. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  138. package/dist/cjs/kolibri.cjs.js +1 -1
  139. package/dist/cjs/loader.cjs.js +1 -1
  140. package/dist/cjs/{validation-ea46d26d.js → validation-86066145.js} +1 -1
  141. package/dist/cjs/{validation-ea46d26d.js.map → validation-86066145.js.map} +1 -1
  142. package/dist/cjs/{validation-e44562d8.js → validation-d8534dca.js} +1 -1
  143. package/dist/cjs/{validation-e44562d8.js.map → validation-d8534dca.js.map} +1 -1
  144. package/dist/components/component.js +1 -1
  145. package/dist/components/component.js.map +1 -1
  146. package/dist/components/component11.js +1 -1
  147. package/dist/components/component11.js.map +1 -1
  148. package/dist/components/component12.js +1 -1
  149. package/dist/components/component12.js.map +1 -1
  150. package/dist/components/component13.js +1 -1
  151. package/dist/components/component13.js.map +1 -1
  152. package/dist/components/component14.js +1 -1
  153. package/dist/components/component14.js.map +1 -1
  154. package/dist/components/component3.js +1 -1
  155. package/dist/components/component3.js.map +1 -1
  156. package/dist/components/component5.js +1 -1
  157. package/dist/components/component5.js.map +1 -1
  158. package/dist/components/component8.js +1 -1
  159. package/dist/components/component8.js.map +1 -1
  160. package/dist/components/dev.utils.js +1 -1
  161. package/dist/components/dev.utils.js.map +1 -1
  162. package/dist/components/index2.js +1 -1
  163. package/dist/components/index2.js.map +1 -1
  164. package/dist/components/kol-abbr.js +1 -1
  165. package/dist/components/kol-abbr.js.map +1 -1
  166. package/dist/components/kol-accordion.js +1 -1
  167. package/dist/components/kol-accordion.js.map +1 -1
  168. package/dist/components/kol-avatar.js +1 -1
  169. package/dist/components/kol-avatar.js.map +1 -1
  170. package/dist/components/kol-breadcrumb.js +1 -1
  171. package/dist/components/kol-breadcrumb.js.map +1 -1
  172. package/dist/components/kol-button-group.js +1 -1
  173. package/dist/components/kol-button-group.js.map +1 -1
  174. package/dist/components/kol-button-link.js +1 -1
  175. package/dist/components/kol-button-link.js.map +1 -1
  176. package/dist/components/kol-card.js +1 -1
  177. package/dist/components/kol-card.js.map +1 -1
  178. package/dist/components/kol-details.js +1 -1
  179. package/dist/components/kol-details.js.map +1 -1
  180. package/dist/components/kol-heading.js +1 -1
  181. package/dist/components/kol-heading.js.map +1 -1
  182. package/dist/components/kol-image.js +1 -1
  183. package/dist/components/kol-image.js.map +1 -1
  184. package/dist/components/kol-input-checkbox.js +1 -1
  185. package/dist/components/kol-input-checkbox.js.map +1 -1
  186. package/dist/components/kol-input-color.js +1 -1
  187. package/dist/components/kol-input-color.js.map +1 -1
  188. package/dist/components/kol-input-date.js +1 -1
  189. package/dist/components/kol-input-date.js.map +1 -1
  190. package/dist/components/kol-input-email.js +1 -1
  191. package/dist/components/kol-input-email.js.map +1 -1
  192. package/dist/components/kol-input-file.js +1 -1
  193. package/dist/components/kol-input-file.js.map +1 -1
  194. package/dist/components/kol-input-number.js +1 -1
  195. package/dist/components/kol-input-number.js.map +1 -1
  196. package/dist/components/kol-input-password.js +1 -1
  197. package/dist/components/kol-input-password.js.map +1 -1
  198. package/dist/components/kol-input-radio.js +1 -1
  199. package/dist/components/kol-input-radio.js.map +1 -1
  200. package/dist/components/kol-input-range.js +1 -1
  201. package/dist/components/kol-input-range.js.map +1 -1
  202. package/dist/components/kol-input-text.js +1 -1
  203. package/dist/components/kol-input-text.js.map +1 -1
  204. package/dist/components/kol-kolibri.js +1 -1
  205. package/dist/components/kol-kolibri.js.map +1 -1
  206. package/dist/components/kol-link-button.js +1 -1
  207. package/dist/components/kol-link-button.js.map +1 -1
  208. package/dist/components/kol-link-group.js +1 -1
  209. package/dist/components/kol-link-group.js.map +1 -1
  210. package/dist/components/kol-logo.js +1 -1
  211. package/dist/components/kol-logo.js.map +1 -1
  212. package/dist/components/kol-modal.js +1 -1
  213. package/dist/components/kol-modal.js.map +1 -1
  214. package/dist/components/kol-nav.js +1 -1
  215. package/dist/components/kol-nav.js.map +1 -1
  216. package/dist/components/kol-popover-wc.js +1 -1
  217. package/dist/components/kol-popover-wc.js.map +1 -1
  218. package/dist/components/kol-progress.js +1 -1
  219. package/dist/components/kol-progress.js.map +1 -1
  220. package/dist/components/kol-quote.js +1 -1
  221. package/dist/components/kol-quote.js.map +1 -1
  222. package/dist/components/kol-skip-nav.js +1 -1
  223. package/dist/components/kol-skip-nav.js.map +1 -1
  224. package/dist/components/kol-span.js +1 -1
  225. package/dist/components/kol-span.js.map +1 -1
  226. package/dist/components/kol-spin.js +1 -1
  227. package/dist/components/kol-spin.js.map +1 -1
  228. package/dist/components/kol-split-button.js +1 -1
  229. package/dist/components/kol-split-button.js.map +1 -1
  230. package/dist/components/kol-table.js +1 -1
  231. package/dist/components/kol-table.js.map +1 -1
  232. package/dist/components/kol-tabs.js +1 -1
  233. package/dist/components/kol-tabs.js.map +1 -1
  234. package/dist/components/kol-textarea.js +1 -1
  235. package/dist/components/kol-textarea.js.map +1 -1
  236. package/dist/components/kol-toast-container.js +1 -1
  237. package/dist/components/kol-toast-container.js.map +1 -1
  238. package/dist/components/kol-tree-item.js +1 -1
  239. package/dist/components/kol-tree-item.js.map +1 -1
  240. package/dist/components/kol-tree.js +1 -1
  241. package/dist/components/kol-tree.js.map +1 -1
  242. package/dist/components/kol-version.js +1 -1
  243. package/dist/components/kol-version.js.map +1 -1
  244. package/dist/components/shadow.js +1 -1
  245. package/dist/components/shadow.js.map +1 -1
  246. package/dist/components/shadow2.js +1 -1
  247. package/dist/components/shadow2.js.map +1 -1
  248. package/dist/components/shadow3.js +1 -1
  249. package/dist/components/shadow3.js.map +1 -1
  250. package/dist/esm/{align-floating-elements-f3802656.js → align-floating-elements-477c7acb.js} +1 -1
  251. package/dist/esm/{align-floating-elements-f3802656.js.map → align-floating-elements-477c7acb.js.map} +1 -1
  252. package/dist/esm/{app-globals-4bc3fa0d.js → app-globals-665820ef.js} +1 -1
  253. package/dist/esm/{app-globals-4bc3fa0d.js.map → app-globals-665820ef.js.map} +1 -1
  254. package/dist/esm/associated.controller-3f6bde32.js +4 -0
  255. package/dist/esm/associated.controller-3f6bde32.js.map +1 -0
  256. package/dist/esm/{controller-93f063a4.js → controller-0ea2a876.js} +1 -1
  257. package/dist/esm/{controller-93f063a4.js.map → controller-0ea2a876.js.map} +1 -1
  258. package/dist/esm/{controller-f6b65c59.js → controller-49b01330.js} +1 -1
  259. package/dist/esm/{controller-f6b65c59.js.map → controller-49b01330.js.map} +1 -1
  260. package/dist/esm/{controller-6550e078.js → controller-4e891541.js} +1 -1
  261. package/dist/esm/{controller-6550e078.js.map → controller-4e891541.js.map} +1 -1
  262. package/dist/esm/{controller-c8617df6.js → controller-b21789f7.js} +1 -1
  263. package/dist/esm/{controller-c8617df6.js.map → controller-b21789f7.js.map} +1 -1
  264. package/dist/esm/controller-ec7c96d6.js +4 -0
  265. package/dist/esm/controller-ec7c96d6.js.map +1 -0
  266. package/dist/esm/{controller-icon-deca4ea6.js → controller-icon-03261e4e.js} +1 -1
  267. package/dist/esm/{controller-icon-deca4ea6.js.map → controller-icon-03261e4e.js.map} +1 -1
  268. package/dist/esm/{dev.utils-601116f8.js → dev.utils-744f41b3.js} +1 -1
  269. package/dist/esm/{dev.utils-601116f8.js.map → dev.utils-744f41b3.js.map} +1 -1
  270. package/dist/esm/{devtools-eaf990e3.js → devtools-9428beb1.js} +1 -1
  271. package/dist/esm/{devtools-eaf990e3.js.map → devtools-9428beb1.js.map} +1 -1
  272. package/dist/esm/{i18n-5c235685.js → i18n-8b7a6ddc.js} +1 -1
  273. package/dist/esm/{i18n-5c235685.js.map → i18n-8b7a6ddc.js.map} +1 -1
  274. package/dist/esm/{index-ae3c46ca.js → index-8cb3c3b2.js} +1 -1
  275. package/dist/esm/{index-ae3c46ca.js.map → index-8cb3c3b2.js.map} +1 -1
  276. package/dist/esm/{index-c3ae175d.js → index-de9d4ee0.js} +1 -1
  277. package/dist/esm/index-de9d4ee0.js.map +1 -0
  278. package/dist/esm/index.js +1 -1
  279. package/dist/esm/kol-abbr.entry.js +1 -1
  280. package/dist/esm/kol-abbr.entry.js.map +1 -1
  281. package/dist/esm/kol-accordion.entry.js +1 -1
  282. package/dist/esm/kol-accordion.entry.js.map +1 -1
  283. package/dist/esm/kol-alert-wc_3.entry.js +1 -1
  284. package/dist/esm/kol-alert.entry.js +1 -1
  285. package/dist/esm/kol-alert.entry.js.map +1 -1
  286. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  287. package/dist/esm/kol-avatar.entry.js +1 -1
  288. package/dist/esm/kol-avatar.entry.js.map +1 -1
  289. package/dist/esm/kol-badge.entry.js +1 -1
  290. package/dist/esm/kol-badge.entry.js.map +1 -1
  291. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  292. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  293. package/dist/esm/kol-button-group.entry.js +1 -1
  294. package/dist/esm/kol-button-group.entry.js.map +1 -1
  295. package/dist/esm/kol-button-link.entry.js +1 -1
  296. package/dist/esm/kol-button-link.entry.js.map +1 -1
  297. package/dist/esm/kol-button.entry.js +1 -1
  298. package/dist/esm/kol-button.entry.js.map +1 -1
  299. package/dist/esm/kol-card.entry.js +1 -1
  300. package/dist/esm/kol-card.entry.js.map +1 -1
  301. package/dist/esm/kol-details.entry.js +1 -1
  302. package/dist/esm/kol-details.entry.js.map +1 -1
  303. package/dist/esm/kol-form.entry.js +1 -1
  304. package/dist/esm/kol-heading.entry.js +1 -1
  305. package/dist/esm/kol-heading.entry.js.map +1 -1
  306. package/dist/esm/kol-icon.entry.js +1 -1
  307. package/dist/esm/kol-icon.entry.js.map +1 -1
  308. package/dist/esm/kol-image.entry.js +1 -1
  309. package/dist/esm/kol-image.entry.js.map +1 -1
  310. package/dist/esm/kol-indented-text.entry.js +1 -1
  311. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  312. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  313. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  314. package/dist/esm/kol-input-color.entry.js +1 -1
  315. package/dist/esm/kol-input-color.entry.js.map +1 -1
  316. package/dist/esm/kol-input-date.entry.js +1 -1
  317. package/dist/esm/kol-input-date.entry.js.map +1 -1
  318. package/dist/esm/kol-input-email.entry.js +1 -1
  319. package/dist/esm/kol-input-email.entry.js.map +1 -1
  320. package/dist/esm/kol-input-file.entry.js +1 -1
  321. package/dist/esm/kol-input-file.entry.js.map +1 -1
  322. package/dist/esm/kol-input-number.entry.js +1 -1
  323. package/dist/esm/kol-input-number.entry.js.map +1 -1
  324. package/dist/esm/kol-input-password.entry.js +1 -1
  325. package/dist/esm/kol-input-password.entry.js.map +1 -1
  326. package/dist/esm/kol-input-radio.entry.js +1 -1
  327. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  328. package/dist/esm/kol-input-range.entry.js +1 -1
  329. package/dist/esm/kol-input-range.entry.js.map +1 -1
  330. package/dist/esm/kol-input-text.entry.js +1 -1
  331. package/dist/esm/kol-input-text.entry.js.map +1 -1
  332. package/dist/esm/kol-input.entry.js +1 -1
  333. package/dist/esm/kol-input.entry.js.map +1 -1
  334. package/dist/esm/kol-kolibri.entry.js +1 -1
  335. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  336. package/dist/esm/kol-link-button.entry.js +1 -1
  337. package/dist/esm/kol-link-button.entry.js.map +1 -1
  338. package/dist/esm/kol-link-group.entry.js +1 -1
  339. package/dist/esm/kol-link-group.entry.js.map +1 -1
  340. package/dist/esm/kol-link-wc.entry.js +1 -1
  341. package/dist/esm/kol-link.entry.js +1 -1
  342. package/dist/esm/kol-link.entry.js.map +1 -1
  343. package/dist/esm/kol-logo.entry.js +1 -1
  344. package/dist/esm/kol-logo.entry.js.map +1 -1
  345. package/dist/esm/kol-modal.entry.js +1 -1
  346. package/dist/esm/kol-modal.entry.js.map +1 -1
  347. package/dist/esm/kol-nav.entry.js +1 -1
  348. package/dist/esm/kol-nav.entry.js.map +1 -1
  349. package/dist/esm/kol-pagination.entry.js +1 -1
  350. package/dist/esm/kol-pagination.entry.js.map +1 -1
  351. package/dist/esm/kol-popover-wc.entry.js +1 -1
  352. package/dist/esm/kol-popover-wc.entry.js.map +1 -1
  353. package/dist/esm/kol-progress.entry.js +1 -1
  354. package/dist/esm/kol-progress.entry.js.map +1 -1
  355. package/dist/esm/kol-quote.entry.js +1 -1
  356. package/dist/esm/kol-quote.entry.js.map +1 -1
  357. package/dist/esm/kol-select.entry.js +1 -1
  358. package/dist/esm/kol-select.entry.js.map +1 -1
  359. package/dist/esm/kol-skip-nav.entry.js +1 -1
  360. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  361. package/dist/esm/kol-span-wc_2.entry.js +1 -1
  362. package/dist/esm/kol-span-wc_2.entry.js.map +1 -1
  363. package/dist/esm/kol-span.entry.js +1 -1
  364. package/dist/esm/kol-span.entry.js.map +1 -1
  365. package/dist/esm/kol-spin.entry.js +1 -1
  366. package/dist/esm/kol-spin.entry.js.map +1 -1
  367. package/dist/esm/kol-split-button.entry.js +1 -1
  368. package/dist/esm/kol-split-button.entry.js.map +1 -1
  369. package/dist/esm/kol-symbol.entry.js +1 -1
  370. package/dist/esm/kol-table.entry.js +1 -1
  371. package/dist/esm/kol-table.entry.js.map +1 -1
  372. package/dist/esm/kol-tabs.entry.js +1 -1
  373. package/dist/esm/kol-tabs.entry.js.map +1 -1
  374. package/dist/esm/kol-textarea.entry.js +1 -1
  375. package/dist/esm/kol-textarea.entry.js.map +1 -1
  376. package/dist/esm/kol-toast-container.entry.js +1 -1
  377. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  378. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  379. package/dist/esm/kol-tree-item.entry.js +1 -1
  380. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  381. package/dist/esm/kol-tree-wc.entry.js +1 -1
  382. package/dist/esm/kol-tree.entry.js +1 -1
  383. package/dist/esm/kol-tree.entry.js.map +1 -1
  384. package/dist/esm/kol-version.entry.js +1 -1
  385. package/dist/esm/kol-version.entry.js.map +1 -1
  386. package/dist/esm/kolibri.js +1 -1
  387. package/dist/esm/loader.js +1 -1
  388. package/dist/esm/{validation-005508b2.js → validation-6a9d569a.js} +1 -1
  389. package/dist/esm/{validation-005508b2.js.map → validation-6a9d569a.js.map} +1 -1
  390. package/dist/esm/validation-cd55e47b.js +4 -0
  391. package/dist/esm/{validation-f540005c.js.map → validation-cd55e47b.js.map} +1 -1
  392. package/dist/kolibri/{align-floating-elements-f3802656.js → align-floating-elements-477c7acb.js} +1 -1
  393. package/dist/kolibri/app-globals-665820ef.js +4 -0
  394. package/dist/kolibri/{app-globals-4bc3fa0d.js.map → app-globals-665820ef.js.map} +1 -1
  395. package/dist/kolibri/associated.controller-3f6bde32.js +4 -0
  396. package/dist/kolibri/associated.controller-3f6bde32.js.map +1 -0
  397. package/dist/kolibri/{controller-93f063a4.js → controller-0ea2a876.js} +1 -1
  398. package/dist/kolibri/{controller-f6b65c59.js → controller-49b01330.js} +1 -1
  399. package/dist/kolibri/{controller-6550e078.js → controller-4e891541.js} +1 -1
  400. package/dist/kolibri/{controller-c8617df6.js → controller-b21789f7.js} +1 -1
  401. package/dist/kolibri/controller-ec7c96d6.js +4 -0
  402. package/dist/kolibri/controller-ec7c96d6.js.map +1 -0
  403. package/dist/kolibri/{controller-icon-deca4ea6.js → controller-icon-03261e4e.js} +1 -1
  404. package/dist/kolibri/{dev.utils-601116f8.js → dev.utils-744f41b3.js} +1 -1
  405. package/dist/kolibri/{dev.utils-601116f8.js.map → dev.utils-744f41b3.js.map} +1 -1
  406. package/dist/kolibri/{devtools-eaf990e3.js → devtools-9428beb1.js} +1 -1
  407. package/dist/kolibri/{i18n-5c235685.js → i18n-8b7a6ddc.js} +1 -1
  408. package/dist/kolibri/{index-ae3c46ca.js → index-8cb3c3b2.js} +1 -1
  409. package/dist/kolibri/index-de9d4ee0.js +4 -0
  410. package/dist/kolibri/index-de9d4ee0.js.map +1 -0
  411. package/dist/kolibri/index.esm.js +1 -1
  412. package/dist/kolibri/kol-abbr.entry.js +1 -1
  413. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  414. package/dist/kolibri/kol-accordion.entry.js +1 -1
  415. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  416. package/dist/kolibri/kol-alert-wc_3.entry.js +1 -1
  417. package/dist/kolibri/kol-alert.entry.js +1 -1
  418. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  419. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  420. package/dist/kolibri/kol-avatar.entry.js +1 -1
  421. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  422. package/dist/kolibri/kol-badge.entry.js +1 -1
  423. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  424. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  425. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  426. package/dist/kolibri/kol-button-group.entry.js +1 -1
  427. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  428. package/dist/kolibri/kol-button-link.entry.js +1 -1
  429. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  430. package/dist/kolibri/kol-button.entry.js +1 -1
  431. package/dist/kolibri/kol-button.entry.js.map +1 -1
  432. package/dist/kolibri/kol-card.entry.js +1 -1
  433. package/dist/kolibri/kol-card.entry.js.map +1 -1
  434. package/dist/kolibri/kol-details.entry.js +1 -1
  435. package/dist/kolibri/kol-details.entry.js.map +1 -1
  436. package/dist/kolibri/kol-form.entry.js +1 -1
  437. package/dist/kolibri/kol-heading.entry.js +1 -1
  438. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  439. package/dist/kolibri/kol-icon.entry.js +1 -1
  440. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  441. package/dist/kolibri/kol-image.entry.js +1 -1
  442. package/dist/kolibri/kol-image.entry.js.map +1 -1
  443. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  444. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  445. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  446. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  447. package/dist/kolibri/kol-input-color.entry.js +1 -1
  448. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  449. package/dist/kolibri/kol-input-date.entry.js +1 -1
  450. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  451. package/dist/kolibri/kol-input-email.entry.js +1 -1
  452. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  453. package/dist/kolibri/kol-input-file.entry.js +1 -1
  454. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  455. package/dist/kolibri/kol-input-number.entry.js +1 -1
  456. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  457. package/dist/kolibri/kol-input-password.entry.js +1 -1
  458. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  459. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  460. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  461. package/dist/kolibri/kol-input-range.entry.js +1 -1
  462. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  463. package/dist/kolibri/kol-input-text.entry.js +1 -1
  464. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  465. package/dist/kolibri/kol-input.entry.js +1 -1
  466. package/dist/kolibri/kol-input.entry.js.map +1 -1
  467. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  468. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  469. package/dist/kolibri/kol-link-button.entry.js +1 -1
  470. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  471. package/dist/kolibri/kol-link-group.entry.js +1 -1
  472. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  473. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  474. package/dist/kolibri/kol-link.entry.js +1 -1
  475. package/dist/kolibri/kol-link.entry.js.map +1 -1
  476. package/dist/kolibri/kol-logo.entry.js +1 -1
  477. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  478. package/dist/kolibri/kol-modal.entry.js +1 -1
  479. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  480. package/dist/kolibri/kol-nav.entry.js +1 -1
  481. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  482. package/dist/kolibri/kol-pagination.entry.js +1 -1
  483. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  484. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  485. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  486. package/dist/kolibri/kol-progress.entry.js +1 -1
  487. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  488. package/dist/kolibri/kol-quote.entry.js +1 -1
  489. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  490. package/dist/kolibri/kol-select.entry.js +1 -1
  491. package/dist/kolibri/kol-select.entry.js.map +1 -1
  492. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  493. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  494. package/dist/kolibri/kol-span-wc_2.entry.js +1 -1
  495. package/dist/kolibri/kol-span-wc_2.entry.js.map +1 -1
  496. package/dist/kolibri/kol-span.entry.js +1 -1
  497. package/dist/kolibri/kol-span.entry.js.map +1 -1
  498. package/dist/kolibri/kol-spin.entry.js +1 -1
  499. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  500. package/dist/kolibri/kol-split-button.entry.js +1 -1
  501. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  502. package/dist/kolibri/kol-symbol.entry.js +1 -1
  503. package/dist/kolibri/kol-table.entry.js +1 -1
  504. package/dist/kolibri/kol-table.entry.js.map +1 -1
  505. package/dist/kolibri/kol-tabs.entry.js +1 -1
  506. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  507. package/dist/kolibri/kol-textarea.entry.js +1 -1
  508. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  509. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  510. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  511. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  512. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  513. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  514. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  515. package/dist/kolibri/kol-tree.entry.js +1 -1
  516. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  517. package/dist/kolibri/kol-version.entry.js +1 -1
  518. package/dist/kolibri/kol-version.entry.js.map +1 -1
  519. package/dist/kolibri/kolibri.esm.js +1 -1
  520. package/dist/kolibri/{validation-005508b2.js → validation-6a9d569a.js} +1 -1
  521. package/dist/kolibri/validation-cd55e47b.js +4 -0
  522. package/package.json +1 -1
  523. package/dist/cjs/associated.controller-73fa71d4.js +0 -4
  524. package/dist/cjs/associated.controller-73fa71d4.js.map +0 -1
  525. package/dist/cjs/controller-3e0a6924.js.map +0 -1
  526. package/dist/cjs/index-7215e5f8.js.map +0 -1
  527. package/dist/esm/associated.controller-9fa86919.js +0 -4
  528. package/dist/esm/associated.controller-9fa86919.js.map +0 -1
  529. package/dist/esm/controller-b7dcc094.js +0 -4
  530. package/dist/esm/controller-b7dcc094.js.map +0 -1
  531. package/dist/esm/index-c3ae175d.js.map +0 -1
  532. package/dist/esm/validation-f540005c.js +0 -4
  533. package/dist/kolibri/app-globals-4bc3fa0d.js +0 -4
  534. package/dist/kolibri/associated.controller-9fa86919.js +0 -4
  535. package/dist/kolibri/associated.controller-9fa86919.js.map +0 -1
  536. package/dist/kolibri/controller-b7dcc094.js +0 -4
  537. package/dist/kolibri/controller-b7dcc094.js.map +0 -1
  538. package/dist/kolibri/index-c3ae175d.js +0 -4
  539. package/dist/kolibri/index-c3ae175d.js.map +0 -1
  540. package/dist/kolibri/validation-f540005c.js +0 -4
  541. /package/dist/kolibri/{align-floating-elements-f3802656.js.map → align-floating-elements-477c7acb.js.map} +0 -0
  542. /package/dist/kolibri/{controller-93f063a4.js.map → controller-0ea2a876.js.map} +0 -0
  543. /package/dist/kolibri/{controller-f6b65c59.js.map → controller-49b01330.js.map} +0 -0
  544. /package/dist/kolibri/{controller-6550e078.js.map → controller-4e891541.js.map} +0 -0
  545. /package/dist/kolibri/{controller-c8617df6.js.map → controller-b21789f7.js.map} +0 -0
  546. /package/dist/kolibri/{controller-icon-deca4ea6.js.map → controller-icon-03261e4e.js.map} +0 -0
  547. /package/dist/kolibri/{devtools-eaf990e3.js.map → devtools-9428beb1.js.map} +0 -0
  548. /package/dist/kolibri/{i18n-5c235685.js.map → i18n-8b7a6ddc.js.map} +0 -0
  549. /package/dist/kolibri/{index-ae3c46ca.js.map → index-8cb3c3b2.js.map} +0 -0
  550. /package/dist/kolibri/{validation-005508b2.js.map → validation-6a9d569a.js.map} +0 -0
  551. /package/dist/kolibri/{validation-f540005c.js.map → validation-cd55e47b.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as n,H as e}from"./index-62e5924b.js";import{m as i,A as o,v as a}from"./index-c3ae175d.js";import{a as s}from"./i18n-5c235685.js";import{w as l}from"./validation-005508b2.js";import"./index-ae3c46ca.js";import"./dev.utils-601116f8.js";const r="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * Minimum size of interactive elements.\n\t\t */\n\t\t--a11y-min-size: 44px;\n\t\t/*\n\t\t * No element should be used without a background and font color whose contrast ratio has\n\t\t * not been checked. By initially setting the background color to white and the font color\n\t\t * to black, the contrast ratio is ensured and explicit adjustment is forced.\n\t\t */\n\t\tbackground-color: white;\n\t\tcolor: black;\n\t\t/*\n\t\t * Verdana is an accessible font that can be used without requiring additional loading time.\n\t\t */\n\t\tfont-family: Verdana;\n\t}\n\n\t* {\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\thyphens: auto;\n\t\t/*\n\t\t * Letter spacing is required for all texts.\n\t\t */\n\t\tletter-spacing: inherit;\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\tword-break: break-word;\n\t\t/*\n\t\t * Word spacing is required for all texts.\n\t\t */\n\t\tword-spacing: inherit;\n\t}\n\n\t/*\n\t * All interactive elements should have a minimum size of 44px.\n\t */\n\t/* input:not([type='checkbox'], [type='radio'], [type='range']), */\n\t/* option, */\n\t/* select, */\n\t/* textarea, */\n\t[role='button'],\n\tbutton:not([role='link']),\n\tkol-input .input {\n\t\tmin-height: var(--a11y-min-size);\n\t\tmin-width: var(--a11y-min-size);\n\t}\n\n\t/*\n\t * Some interactive elements should not inherit the font-family and font-size.\n\t */\n\ta,\n\tbutton,\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\t/*\n\t\t * All elements should inherit the font family from his parent element.\n\t\t */\n\t\tfont-family: inherit;\n\t\t/*\n\t\t * All elements should inherit the font size from his parent element.\n\t\t */\n\t\tfont-size: inherit;\n\t}\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\tclip: rect(0 0 0 0);\n\tclip-path: inset(50%);\n\theight: 1px;\n\toverflow: hidden;\n\tposition: absolute;\n\twhite-space: nowrap;\n\twidth: 1px;\n}\n\n@layer kol-global {\n\t/*\n\t * Dieses CSS stellt sicher, dass der Standard-Style\n\t * von A und Button resettet werden.\n\t */\n\t:is(a, button) {\n\t\tbackground-color: transparent;\n\t\tborder: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\twidth: 100%; /* 100% needed for custom width from outside */\n\t}\n\n\t/*\n\t * Ensure elements with hidden attribute to be actually not visible\n\t * @see https://meowni.ca/hidden.is.a.lie.html\n\t */\n\t[hidden] {\n\t\tdisplay: none !important;\n\t}\n}\n\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * The max-width is needed to prevent the table from overflowing the\n\t\t * parent node, if the table is wider than the parent node.\n\t\t */\n\t\tmax-width: 100%;\n\t}\n\n\t* {\n\t\t/*\n\t\t * We prefer to box-sizing: border-box for all elements.\n\t\t */\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n\tkol-span-wc {\n\t\tdisplay: grid;\n\t\tplace-items: center;\n\t}\n\n\t/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n\tkol-span-wc > span {\n\t\tdisplay: flex;\n\t\tplace-items: center;\n\t}\n\n\ta,\n\tbutton {\n\t\tcursor: pointer;\n\t}\n\n\t.hidden {\n\t\tdisplay: none;\n\t\tvisibility: hidden;\n\t}\n\n\t/* This is the text label. */\n\t.hide-label > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n\n\t.disabled label,\n\t[aria-disabled='true'],\n\t[disabled] {\n\t\tcursor: not-allowed;\n\t\topacity: 0.5;\n\t\toutline: none;\n\t}\n}\n\n@layer kol-component {\n\t:host > div.card {\n\t\theight: 100%;\n\t\tposition: relative;\n\t\toutline: transparent solid 1px; /* Visible with forced colors */\n\t}\n\n\t.close {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t}\n}\n",d=r,h=class{constructor(n){t(this,n),this.close=()=>{var t;void 0!==(null===(t=this._on)||void 0===t?void 0:t.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClick:this.close},this.validateOnValue=t=>"object"==typeof t&&null!==t&&"function"==typeof t.onClose,this._on=void 0,this._hasCloser=!1,this._label=void 0,this._level=1,this.state={_label:""}}render(){return n(e,{key:"37ad71d5f2139e179320e6851febe3be1b9b2bea"},n("div",{key:"88a0f248e55150345d9db00493554bc0b390602d",class:"card"},n("div",{key:"5f386f35d258bfca44452bd1097a28f6387f357e",class:"header"},n("kol-heading-wc",{key:"ef42ea80d858504380e8652f3311e4ab96012071",_label:this.state._label,_level:this.state._level})),n("div",{key:"3cc317335b260fe67c94f80eab0b6d36189bd387",class:"content"},n("slot",{key:"dc1210ec7880c6c89c0c689602265ef7e9b45ae1"})),this.state._hasCloser&&n("kol-button-wc",{class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:s("kol-close"),_on:this.on,_tooltipAlign:"left"})))}validateOn(t){this.validateOnValue(t)&&i(this,"_on",{onClose:t.onClose})}validateHasCloser(t){o(this,t)}validateLabel(t){a(this,t,{required:!0})}validateLevel(t){l(this,t)}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"]}}};h.style={default:d};export{h as kol_card};
4
+ import{r as n,h as e,H as t}from"./index-62e5924b.js";import{m as i,A as o,v as a}from"./index-de9d4ee0.js";import{a as s}from"./i18n-8b7a6ddc.js";import{w as l}from"./validation-6a9d569a.js";import"./index-8cb3c3b2.js";import"./dev.utils-744f41b3.js";const d="/*\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}",r=d,h=class{constructor(e){n(this,e),this.close=()=>{var n;void 0!==(null===(n=this._on)||void 0===n?void 0:n.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClick:this.close},this.validateOnValue=n=>"object"==typeof n&&null!==n&&"function"==typeof n.onClose,this._on=void 0,this._hasCloser=!1,this._label=void 0,this._level=1,this.state={_label:""}}render(){return e(t,{key:"cedd32f1f86999744fb365196da4474a2c293910"},e("div",{key:"cb44c0d9333f7ec26deb01c97f41191aa8f1a198",class:"card"},e("div",{key:"9468450bd10e60a389de45935e8545d1c1670db7",class:"header"},e("kol-heading-wc",{key:"48407663ce2b8e7cb80b86a554d5021b6f1f6ce2",_label:this.state._label,_level:this.state._level})),e("div",{key:"22db9c7015b929c52be42b9ded4b5a82ecced5e2",class:"content"},e("slot",{key:"7419762a2db00430c15487abc85ee2803e3a6075"})),this.state._hasCloser&&e("kol-button-wc",{class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:s("kol-close"),_on:this.on,_tooltipAlign:"left"})))}validateOn(n){this.validateOnValue(n)&&i(this,"_on",{onClose:n.onClose})}validateHasCloser(n){o(this,n)}validateLabel(n){a(this,n,{required:!0})}validateLevel(n){l(this,n)}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"]}}};h.style={default:r};export{h as kol_card};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolCardDefaultStyle0","KolCard","this","close","_a","_on","onClose","undefined","Event","on","onClick","validateOnValue","value","_label","render","h","Host","key","class","state","_level","_hasCloser","_hideLabel","_icons","left","icon","translate","_tooltipAlign","validateOn","setState","validateHasCloser","validateLabel","required","validateLevel","watchHeadingLevel","componentWillLoad"],"sources":["src/components/card/style.css?tag=kol-card&mode=default&encapsulation=shadow","src/components/card/component.tsx"],"sourcesContent":["@import url(../style.css);\n@layer kol-component {\n\t:host > div.card {\n\t\theight: 100%;\n\t\tposition: relative;\n\t\toutline: transparent solid 1px; /* Visible with forced colors */\n\t}\n\n\t.close {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t}\n}\n","import type {\n\tCardAPI,\n\tCardStates,\n\tHasCloserPropType,\n\tHeadingLevel,\n\tKoliBriAlertEventCallbacks,\n\tKoliBriCardEventCallbacks,\n\tLabelPropType,\n} from '@public-ui/schema';\nimport { setState, validateHasCloser, validateLabel } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { watchHeadingLevel } from '../heading/validation';\n\nimport type { JSX } from '@stencil/core';\n/**\n * @slot - Ermöglicht das Einfügen beliebigen HTML's in den Inhaltsbereich der Card.\n */\n@Component({\n\ttag: 'kol-card',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolCard implements CardAPI {\n\tprivate readonly close = () => {\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClick: this.close,\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div class=\"card\">\n\t\t\t\t\t<div class=\"header\">\n\t\t\t\t\t\t<kol-heading-wc _label={this.state._label} _level={this.state._level}></kol-heading-wc>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.state._hasCloser && (\n\t\t\t\t\t\t<kol-button-wc\n\t\t\t\t\t\t\tclass=\"close\"\n\t\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t_label={translate('kol-close')}\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t\t></kol-button-wc>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the event callback functions for the component.\n\t */\n\t@Prop() public _on?: KoliBriCardEventCallbacks;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t@State() public state: CardStates = {\n\t\t_label: '', // ⚠ required\n\t};\n\n\tprivate validateOnValue = (value: unknown): boolean =>\n\t\ttypeof value === 'object' && value !== null && typeof (value as KoliBriCardEventCallbacks).onClose === 'function';\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriCardEventCallbacks): void {\n\t\tif (this.validateOnValue(value)) {\n\t\t\tsetState<KoliBriCardEventCallbacks>(this, '_on', {\n\t\t\t\tonClose: (value as KoliBriAlertEventCallbacks).onClose,\n\t\t\t});\n\t\t}\n\t}\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateHasCloser(this._hasCloser);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t}\n}\n"],"mappings":";;;4PAAA,MAAMA,EAAkB,uhIACxB,MAAAC,EAAeD,E,MCyBFE,EAAO,M,yBACFC,KAAAC,MAAQ,K,MACxB,KAAIC,EAAAF,KAAKG,OAAG,MAAAD,SAAA,SAAAA,EAAEE,WAAYC,UAAW,CACpCL,KAAKG,IAAIC,QAAQ,IAAIE,MAAM,S,GAIZN,KAAAO,GAAK,CACrBC,QAASR,KAAKC,OAyDPD,KAAAS,gBAAmBC,UACnBA,IAAU,UAAYA,IAAU,aAAgBA,EAAoCN,UAAY,W,mCAjBlE,M,kCAUC,E,WAEH,CACnCO,OAAQ,G,CAnDF,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,2CAAKC,MAAM,QACVH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,UACVH,EAAA,kBAAAE,IAAA,2CAAgBJ,OAAQX,KAAKiB,MAAMN,OAAQO,OAAQlB,KAAKiB,MAAMC,UAE/DL,EAAA,OAAAE,IAAA,2CAAKC,MAAM,WACVH,EAAA,QAAAE,IAAA,8CAEAf,KAAKiB,MAAME,YACXN,EAAA,iBACCG,MAAM,QACNI,WAAU,KACVC,OAAQ,CACPC,KAAM,CACLC,KAAM,0BAGRZ,OAAQa,EAAU,aAClBrB,IAAKH,KAAKO,GACVkB,cAAc,U,CAqCb,UAAAC,CAAWhB,GACjB,GAAIV,KAAKS,gBAAgBC,GAAQ,CAChCiB,EAAoC3B,KAAM,MAAO,CAChDI,QAAUM,EAAqCN,S,EAM3C,iBAAAwB,CAAkBlB,GACxBkB,EAAkB5B,KAAMU,E,CAIlB,aAAAmB,CAAcnB,GACpBmB,EAAc7B,KAAMU,EAAO,CAC1BoB,SAAU,M,CAKL,aAAAC,CAAcrB,GACpBsB,EAAkBhC,KAAMU,E,CAGlB,iBAAAuB,GACNjC,KAAK4B,kBAAkB5B,KAAKmB,YAC5BnB,KAAK6B,cAAc7B,KAAKW,QACxBX,KAAK+B,cAAc/B,KAAKkB,QACxBlB,KAAK0B,WAAW1B,KAAKG,I"}
1
+ {"version":3,"names":["defaultStyleCss","KolCardDefaultStyle0","KolCard","this","close","_a","_on","onClose","undefined","Event","on","onClick","validateOnValue","value","_label","render","h","Host","key","class","state","_level","_hasCloser","_hideLabel","_icons","left","icon","translate","_tooltipAlign","validateOn","setState","validateHasCloser","validateLabel","required","validateLevel","watchHeadingLevel","componentWillLoad"],"sources":["src/components/card/style.scss?tag=kol-card&mode=default&encapsulation=shadow","src/components/card/component.tsx"],"sourcesContent":["@import '../style';\n\n@layer kol-component {\n\t:host > div.card {\n\t\theight: 100%;\n\t\tposition: relative;\n\t\t/* Visible with forced colors */\n\t\toutline: transparent solid 1px;\n\t}\n\n\t.close {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t}\n}\n","import type {\n\tCardAPI,\n\tCardStates,\n\tHasCloserPropType,\n\tHeadingLevel,\n\tKoliBriAlertEventCallbacks,\n\tKoliBriCardEventCallbacks,\n\tLabelPropType,\n} from '@public-ui/schema';\nimport { setState, validateHasCloser, validateLabel } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { watchHeadingLevel } from '../heading/validation';\n\nimport type { JSX } from '@stencil/core';\n/**\n * @slot - Ermöglicht das Einfügen beliebigen HTML's in den Inhaltsbereich der Card.\n */\n@Component({\n\ttag: 'kol-card',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolCard implements CardAPI {\n\tprivate readonly close = () => {\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClick: this.close,\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div class=\"card\">\n\t\t\t\t\t<div class=\"header\">\n\t\t\t\t\t\t<kol-heading-wc _label={this.state._label} _level={this.state._level}></kol-heading-wc>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.state._hasCloser && (\n\t\t\t\t\t\t<kol-button-wc\n\t\t\t\t\t\t\tclass=\"close\"\n\t\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t_label={translate('kol-close')}\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t\t></kol-button-wc>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the event callback functions for the component.\n\t */\n\t@Prop() public _on?: KoliBriCardEventCallbacks;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t@State() public state: CardStates = {\n\t\t_label: '', // ⚠ required\n\t};\n\n\tprivate validateOnValue = (value: unknown): boolean =>\n\t\ttypeof value === 'object' && value !== null && typeof (value as KoliBriCardEventCallbacks).onClose === 'function';\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriCardEventCallbacks): void {\n\t\tif (this.validateOnValue(value)) {\n\t\t\tsetState<KoliBriCardEventCallbacks>(this, '_on', {\n\t\t\t\tonClose: (value as KoliBriAlertEventCallbacks).onClose,\n\t\t\t});\n\t\t}\n\t}\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateHasCloser(this._hasCloser);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t}\n}\n"],"mappings":";;;4PAAA,MAAMA,EAAkB,8yIACxB,MAAAC,EAAeD,E,MCyBFE,EAAO,M,yBACFC,KAAAC,MAAQ,K,MACxB,KAAIC,EAAAF,KAAKG,OAAG,MAAAD,SAAA,SAAAA,EAAEE,WAAYC,UAAW,CACpCL,KAAKG,IAAIC,QAAQ,IAAIE,MAAM,S,GAIZN,KAAAO,GAAK,CACrBC,QAASR,KAAKC,OAyDPD,KAAAS,gBAAmBC,UACnBA,IAAU,UAAYA,IAAU,aAAgBA,EAAoCN,UAAY,W,mCAjBlE,M,kCAUC,E,WAEH,CACnCO,OAAQ,G,CAnDF,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,2CAAKC,MAAM,QACVH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,UACVH,EAAA,kBAAAE,IAAA,2CAAgBJ,OAAQX,KAAKiB,MAAMN,OAAQO,OAAQlB,KAAKiB,MAAMC,UAE/DL,EAAA,OAAAE,IAAA,2CAAKC,MAAM,WACVH,EAAA,QAAAE,IAAA,8CAEAf,KAAKiB,MAAME,YACXN,EAAA,iBACCG,MAAM,QACNI,WAAU,KACVC,OAAQ,CACPC,KAAM,CACLC,KAAM,0BAGRZ,OAAQa,EAAU,aAClBrB,IAAKH,KAAKO,GACVkB,cAAc,U,CAqCb,UAAAC,CAAWhB,GACjB,GAAIV,KAAKS,gBAAgBC,GAAQ,CAChCiB,EAAoC3B,KAAM,MAAO,CAChDI,QAAUM,EAAqCN,S,EAM3C,iBAAAwB,CAAkBlB,GACxBkB,EAAkB5B,KAAMU,E,CAIlB,aAAAmB,CAAcnB,GACpBmB,EAAc7B,KAAMU,EAAO,CAC1BoB,SAAU,M,CAKL,aAAAC,CAAcrB,GACpBsB,EAAkBhC,KAAMU,E,CAGlB,iBAAAuB,GACNjC,KAAK4B,kBAAkB5B,KAAKmB,YAC5BnB,KAAK6B,cAAc7B,KAAKW,QACxBX,KAAK+B,cAAc/B,KAAKkB,QACxBlB,KAAK0B,WAAW1B,KAAKG,I"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as n,H as e,g as i}from"./index-62e5924b.js";import{k as s,l as o,v as a,m as l,n as h}from"./index-c3ae175d.js";import{p as d,t as r}from"./events-29e84d75.js";class c{constructor(t,n,e){this.detailsElement=t,this.summaryElement=n,this.contentElement=e,this.isClosing=!1,this.isExpanding=!1,this.summaryElement.addEventListener("click",this.handleSummaryClick.bind(this))}handleSummaryClick(t){t.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(t){let n="expand"===t?0:this.contentElement.offsetHeight,e="expand"===t?this.contentElement.offsetHeight:0;this.animation&&(n=this.contentElement.offsetHeight,this.animation.cancel(),"expand"===t&&(e=this.contentElement.offsetHeight)),this.animation=this.contentElement.animate({height:[`${n}px`,`${e}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"===t?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 p="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * Minimum size of interactive elements.\n\t\t */\n\t\t--a11y-min-size: 44px;\n\t\t/*\n\t\t * No element should be used without a background and font color whose contrast ratio has\n\t\t * not been checked. By initially setting the background color to white and the font color\n\t\t * to black, the contrast ratio is ensured and explicit adjustment is forced.\n\t\t */\n\t\tbackground-color: white;\n\t\tcolor: black;\n\t\t/*\n\t\t * Verdana is an accessible font that can be used without requiring additional loading time.\n\t\t */\n\t\tfont-family: Verdana;\n\t}\n\n\t* {\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\thyphens: auto;\n\t\t/*\n\t\t * Letter spacing is required for all texts.\n\t\t */\n\t\tletter-spacing: inherit;\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\tword-break: break-word;\n\t\t/*\n\t\t * Word spacing is required for all texts.\n\t\t */\n\t\tword-spacing: inherit;\n\t}\n\n\t/*\n\t * All interactive elements should have a minimum size of 44px.\n\t */\n\t/* input:not([type='checkbox'], [type='radio'], [type='range']), */\n\t/* option, */\n\t/* select, */\n\t/* textarea, */\n\t[role='button'],\n\tbutton:not([role='link']),\n\tkol-input .input {\n\t\tmin-height: var(--a11y-min-size);\n\t\tmin-width: var(--a11y-min-size);\n\t}\n\n\t/*\n\t * Some interactive elements should not inherit the font-family and font-size.\n\t */\n\ta,\n\tbutton,\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\t/*\n\t\t * All elements should inherit the font family from his parent element.\n\t\t */\n\t\tfont-family: inherit;\n\t\t/*\n\t\t * All elements should inherit the font size from his parent element.\n\t\t */\n\t\tfont-size: inherit;\n\t}\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\tclip: rect(0 0 0 0);\n\tclip-path: inset(50%);\n\theight: 1px;\n\toverflow: hidden;\n\tposition: absolute;\n\twhite-space: nowrap;\n\twidth: 1px;\n}\n\n@layer kol-global {\n\t/*\n\t * Dieses CSS stellt sicher, dass der Standard-Style\n\t * von A und Button resettet werden.\n\t */\n\t:is(a, button) {\n\t\tbackground-color: transparent;\n\t\tborder: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\twidth: 100%; /* 100% needed for custom width from outside */\n\t}\n\n\t/*\n\t * Ensure elements with hidden attribute to be actually not visible\n\t * @see https://meowni.ca/hidden.is.a.lie.html\n\t */\n\t[hidden] {\n\t\tdisplay: none !important;\n\t}\n}\n\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * The max-width is needed to prevent the table from overflowing the\n\t\t * parent node, if the table is wider than the parent node.\n\t\t */\n\t\tmax-width: 100%;\n\t}\n\n\t* {\n\t\t/*\n\t\t * We prefer to box-sizing: border-box for all elements.\n\t\t */\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n\tkol-span-wc {\n\t\tdisplay: grid;\n\t\tplace-items: center;\n\t}\n\n\t/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n\tkol-span-wc > span {\n\t\tdisplay: flex;\n\t\tplace-items: center;\n\t}\n\n\ta,\n\tbutton {\n\t\tcursor: pointer;\n\t}\n\n\t.hidden {\n\t\tdisplay: none;\n\t\tvisibility: hidden;\n\t}\n\n\t/* This is the text label. */\n\t.hide-label > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n\n\t.disabled label,\n\t[aria-disabled='true'],\n\t[disabled] {\n\t\tcursor: not-allowed;\n\t\topacity: 0.5;\n\t\toutline: none;\n\t}\n}\n\n@layer kol-component {\n\t:host {\n\t\tdisplay: block;\n\t}\n}\n\n@layer kol-component {\n\tdetails {\n\t\tdisplay: grid;\n\t}\n\n\tdetails > summary {\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tplace-items: center;\n\t}\n\n\tdetails > summary > span {\n\t\tborder-bottom-color: grey;\n\t\tborder-bottom-style: solid;\n\t}\n\n\tdetails > summary:focus > span,\n\tdetails > summary:hover > span,\n\tdetails[open] > summary > span {\n\t\tborder-bottom-color: #000;\n\t}\n\n\t.content {\n\t\toverflow: hidden;\n\t}\n\n\tdetails > kol-indented-text {\n\t\tmargin: 0.25em 0 0 0.5em;\n\t}\n\n\t.icon.is-open::part(icon) {\n\t\ttransform: rotate(90deg);\n\t}\n}\n",b=p,f=class{constructor(n){t(this,n),this.catchDetails=t=>{this.detailsElement=t},this.catchSummary=t=>{this.summaryElement=t,s(this.host,this.summaryElement)},this.preventToggleIfDisabled=t=>{!0===this.state._disabled&&d(t)},this.handleToggle=t=>{clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout((()=>{var n,e,i,s;Boolean(null===(n=this.detailsElement)||void 0===n?void 0:n.open)!==this.state._open&&(this._open=Boolean(null===(e=this.detailsElement)||void 0===e?void 0:e.open),r("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(t,this._open)))}),25)},this._disabled=!1,this._label=void 0,this._on=void 0,this._open=!1,this.state={_label:"",_on:{}}}render(){return n(e,{key:"7ab10edda0368a0ac4bcd0b7f46b7134bbd3430d"},n("details",{key:"0b0c72fb5cb0e24410143ed61ecff54b2a932306",ref:this.catchDetails,class:{disabled:!0===this.state._disabled,open:!0===this.state._open},onToggle:this.handleToggle},n("summary",{key:"b5cfe622618b9b7b7a629f4a6856c4b2ee14716e",ref:this.catchSummary,"aria-disabled":this.state._disabled?"true":void 0,onClick:this.preventToggleIfDisabled,onKeyPress:this.preventToggleIfDisabled,tabIndex:this.state._disabled?-1:void 0},n("kol-icon",{key:"08c2e357a57bf92dd67029b0db473362cbe1945e",_label:"",_icons:"codicon codicon-chevron-right",class:"icon "+(this.state._open?"is-open":"")}),n("span",{key:"57aa8182fec67c7989ccb6788bcff481883004da"},this.state._label)),n("div",{key:"5023ecbb30d3cad07eb63d56f04147cf3b5f53b6","aria-hidden":!1===this.state._open?"true":void 0,class:"content",ref:t=>this.contentElement=t},n("kol-indented-text",{key:"c50a195c6b5ffe096ce1459b84b6fe4d6b080cc1"},n("slot",{key:"d61c17f9ac1d54e8645a575c1a98f366bcd4d223"})))))}validateDisabled(t){o(this,t)}validateLabel(t){a(this,t,{required:!0})}validateOn(t){"object"==typeof t&&null!==t&&"function"==typeof t.onToggle&&l(this,"_on",t)}validateOpen(t){h(this,t)}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 t=new c(this.detailsElement,this.summaryElement,this.contentElement);this.state._open&&t.open()}}get host(){return i(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_on:["validateOn"],_open:["validateOpen"]}}};f.style={default:b};export{f as kol_details};
4
+ import{r as n,h as e,H as t,g as i}from"./index-62e5924b.js";import{k as s,l as o,v as a,m as l,n as d}from"./index-de9d4ee0.js";import{p as h,t as r}from"./events-29e84d75.js";class c{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 p="/*\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}",f=p,u=class{constructor(e){n(this,e),this.catchDetails=e=>{this.detailsElement=e},this.catchSummary=e=>{this.summaryElement=e,s(this.host,this.summaryElement)},this.preventToggleIfDisabled=e=>{!0===this.state._disabled&&h(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),r("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 e(t,{key:"19a9ba1643545d503b5c3c24da5bf25c00c7b5be"},e("details",{key:"3ab637c36145d8bfc38fd812301f9b2b39d93c0e",ref:this.catchDetails,class:{disabled:!0===this.state._disabled,open:!0===this.state._open},onToggle:this.handleToggle},e("summary",{key:"300c130a467763e1d484effebfe9ec4356db376f",ref:this.catchSummary,"aria-disabled":this.state._disabled?"true":void 0,onClick:this.preventToggleIfDisabled,onKeyPress:this.preventToggleIfDisabled,tabIndex:this.state._disabled?-1:void 0},e("kol-icon",{key:"5f936b81f501e1dc4e42949880557a2036b776a8",_label:"",_icons:"codicon codicon-chevron-right",class:"icon "+(this.state._open?"is-open":"")}),e("span",{key:"9919b851361c1f50b88b35035c8db92eecc86a8c"},this.state._label)),e("div",{key:"d07f7f1d5358b1f6363e0d3ee129054f77e63c7e","aria-hidden":!1===this.state._open?"true":void 0,class:"content",ref:e=>this.contentElement=e},e("kol-indented-text",{key:"673da4e5cf44d5e14106a76ec6032165f25aa1b4"},e("slot",{key:"ccc843d742d1fa91e9ddd38dce808d547a0f85b8"})))))}validateDisabled(e){o(this,e)}validateLabel(e){a(this,e,{required:!0})}validateOn(e){"object"==typeof e&&null!==e&&"function"==typeof e.onToggle&&l(this,"_on",e)}validateOpen(e){d(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 c(this.detailsElement,this.summaryElement,this.contentElement);this.state._open&&e.open()}}get host(){return i(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_on:["validateOn"],_open:["validateOpen"]}}};u.style={default:f};export{u as kol_details};
@@ -1 +1 @@
1
- {"version":3,"names":["DetailsAnimationController","constructor","detailsElement","summaryElement","contentElement","this","isClosing","isExpanding","addEventListener","handleSummaryClick","bind","event","preventDefault","open","collapse","window","requestAnimationFrame","expand","animateContentHeight","direction","startHeight","offsetHeight","endHeight","animation","cancel","animate","height","duration","matchMedia","matches","easing","onAnimationFinish","once","undefined","defaultStyleCss","KolDetailsDefaultStyle0","KolDetails","catchDetails","ref","catchSummary","propagateFocus","host","preventToggleIfDisabled","state","_disabled","preventDefaultAndStopPropagation","handleToggle","clearTimeout","toggleTimeout","setTimeout","Boolean","_a","_open","_b","tryToDispatchKoliBriEvent","_c","_on","onToggle","_d","_label","render","h","Host","key","class","disabled","onClick","onKeyPress","tabIndex","_icons","element","validateDisabled","value","validateLabel","required","validateOn","on","setState","validateOpen","componentWillLoad","componentDidLoad","animationController"],"sources":["src/components/details/DetailsAnimationController.ts","src/components/details/style.css?tag=kol-details&mode=default&encapsulation=shadow","src/components/details/component.tsx"],"sourcesContent":["/* Heavily inspired by: https://codepen.io/Mamboleoo/pen/QWEpLqm */\n\nexport class DetailsAnimationController {\n\tprivate animation?: Animation;\n\tprivate isClosing = false;\n\tprivate isExpanding = false;\n\n\tconstructor(private detailsElement: HTMLDetailsElement, private summaryElement: HTMLElement, private contentElement: HTMLElement) {\n\t\tthis.summaryElement.addEventListener('click', this.handleSummaryClick.bind(this));\n\t}\n\n\tprivate handleSummaryClick(event: MouseEvent) {\n\t\tevent.preventDefault();\n\n\t\tif (this.isClosing || !this.detailsElement.open) {\n\t\t\tthis.open();\n\t\t} else if (this.isExpanding || this.detailsElement.open) {\n\t\t\tthis.collapse();\n\t\t}\n\t}\n\n\tpublic open() {\n\t\tthis.detailsElement.open = true;\n\t\twindow.requestAnimationFrame(this.expand.bind(this));\n\t}\n\n\tprivate expand() {\n\t\tthis.isExpanding = true;\n\t\tthis.animateContentHeight('expand');\n\t}\n\n\tprivate collapse() {\n\t\tthis.isClosing = true;\n\t\tthis.animateContentHeight('collapse');\n\t}\n\n\tprivate animateContentHeight(direction: 'expand' | 'collapse') {\n\t\tlet startHeight = direction === 'expand' ? 0 : this.contentElement.offsetHeight;\n\t\tlet endHeight = direction === 'expand' ? this.contentElement.offsetHeight : 0;\n\n\t\t/**\n\t\t * Override start and end height, when an animation is ongoing. During the animation, offsetHeight reflects the actual current height as it's being animated.\n\t\t * After canceling the animation, it reverts to the full height of the content container.\n\t\t */\n\t\tif (this.animation) {\n\t\t\tstartHeight = this.contentElement.offsetHeight;\n\t\t\tthis.animation.cancel();\n\t\t\tif (direction === 'expand') {\n\t\t\t\tendHeight = this.contentElement.offsetHeight;\n\t\t\t}\n\t\t}\n\n\t\tthis.animation = this.contentElement.animate(\n\t\t\t{\n\t\t\t\theight: [`${startHeight}px`, `${endHeight}px`],\n\t\t\t},\n\t\t\t{\n\t\t\t\tduration: matchMedia('(prefers-reduced-motion)').matches ? 0 : 250,\n\t\t\t\teasing: 'ease-out',\n\t\t\t}\n\t\t);\n\n\t\tthis.animation.addEventListener(\n\t\t\t'finish',\n\t\t\t() => {\n\t\t\t\tthis.onAnimationFinish();\n\t\t\t},\n\t\t\t{ once: true }\n\t\t);\n\t\tthis.animation.addEventListener(\n\t\t\t'cancel',\n\t\t\t() => {\n\t\t\t\tif (direction === 'expand') {\n\t\t\t\t\tthis.isExpanding = false;\n\t\t\t\t} else {\n\t\t\t\t\tthis.isClosing = false;\n\t\t\t\t}\n\t\t\t},\n\t\t\t{ once: true }\n\t\t);\n\t}\n\n\tprivate onAnimationFinish() {\n\t\tthis.detailsElement.open = this.isExpanding;\n\t\tthis.animation = undefined;\n\t\tthis.isClosing = false;\n\t\tthis.isExpanding = false;\n\t}\n}\n","@import url(../style.css);\n@import url(../host-display-block.css);\n@layer kol-component {\n\tdetails {\n\t\tdisplay: grid;\n\t}\n\n\tdetails > summary {\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tplace-items: center;\n\t}\n\n\tdetails > summary > span {\n\t\tborder-bottom-color: grey;\n\t\tborder-bottom-style: solid;\n\t}\n\n\tdetails > summary:focus > span,\n\tdetails > summary:hover > span,\n\tdetails[open] > summary > span {\n\t\tborder-bottom-color: #000;\n\t}\n\n\t.content {\n\t\toverflow: hidden;\n\t}\n\n\tdetails > kol-indented-text {\n\t\tmargin: 0.25em 0 0 0.5em;\n\t}\n\n\t.icon.is-open::part(icon) {\n\t\ttransform: rotate(90deg);\n\t}\n}\n","import type { DetailsAPI, DetailsStates, EventCallbacks, LabelPropType } from '@public-ui/schema';\nimport { propagateFocus, setState, validateLabel, validateOpen } from '@public-ui/schema';\nimport { Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\n\nimport { tryToDispatchKoliBriEvent } from '../../utils/events';\nimport { DetailsAnimationController } from './DetailsAnimationController';\n\nimport type { DisabledPropType } from '@public-ui/schema';\nimport { validateDisabled } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { preventDefaultAndStopPropagation } from '../../utils/events';\n\n/**\n * @slot - Der Inhalt, der in der Detailbeschreibung angezeigt wird.\n */\n@Component({\n\ttag: 'kol-details',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolDetails implements DetailsAPI {\n\t@Element() private readonly host?: HTMLKolDetailsElement;\n\tprivate detailsElement?: HTMLDetailsElement;\n\tprivate summaryElement?: HTMLElement;\n\tprivate contentElement?: HTMLElement;\n\n\tprivate readonly catchDetails = (ref?: HTMLElement) => {\n\t\tthis.detailsElement = ref as HTMLDetailsElement;\n\t};\n\n\tprivate readonly catchSummary = (ref?: HTMLElement) => {\n\t\tthis.summaryElement = ref;\n\t\tpropagateFocus(this.host, this.summaryElement);\n\t};\n\n\t/**\n\t * Handle disabled, because the toggle event is to late.\n\t */\n\tprivate readonly preventToggleIfDisabled = (event: Event) => {\n\t\tif (this.state._disabled === true) {\n\t\t\tpreventDefaultAndStopPropagation(event);\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<details\n\t\t\t\t\tref={this.catchDetails}\n\t\t\t\t\tclass={{\n\t\t\t\t\t\tdisabled: this.state._disabled === true,\n\t\t\t\t\t\topen: this.state._open === true,\n\t\t\t\t\t}}\n\t\t\t\t\tonToggle={this.handleToggle}\n\t\t\t\t>\n\t\t\t\t\t{/* eslint-disable-next-line jsx-a11y/no-static-element-interactions */}\n\t\t\t\t\t<summary\n\t\t\t\t\t\tref={this.catchSummary}\n\t\t\t\t\t\taria-disabled={this.state._disabled ? 'true' : undefined}\n\t\t\t\t\t\tonClick={this.preventToggleIfDisabled}\n\t\t\t\t\t\tonKeyPress={this.preventToggleIfDisabled}\n\t\t\t\t\t\ttabIndex={this.state._disabled ? -1 : undefined}\n\t\t\t\t\t>\n\t\t\t\t\t\t<kol-icon _label=\"\" _icons=\"codicon codicon-chevron-right\" class={`icon ${this.state._open ? 'is-open' : ''}`} />\n\t\t\t\t\t\t<span>{this.state._label}</span>\n\t\t\t\t\t</summary>\n\t\t\t\t\t<div aria-hidden={this.state._open === false ? 'true' : undefined} class=\"content\" ref={(element) => (this.contentElement = element)}>\n\t\t\t\t\t\t<kol-indented-text>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</kol-indented-text>\n\t\t\t\t\t</div>\n\t\t\t\t</details>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the callback functions for details.\n\t */\n\t@Prop() public _on?: EventCallbacks;\n\n\t/**\n\t * If set (to true) opens/expands the element, closes if not set (or set to false).\n\t * @TODO: Change type back to `OpenPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _open?: boolean = false;\n\n\t@State() public state: DetailsStates = {\n\t\t_label: '', // ⚠ required\n\t\t_on: {},\n\t};\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(on?: EventCallbacks) {\n\t\tif (typeof on === 'object' && on !== null && typeof on.onToggle === 'function') {\n\t\t\tsetState<EventCallbacks>(this, '_on', on);\n\t\t}\n\t}\n\n\t@Watch('_open')\n\tpublic validateOpen(value?: boolean): void {\n\t\tvalidateOpen(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateOpen(this._open);\n\t}\n\n\tpublic componentDidLoad() {\n\t\tif (this.detailsElement && this.summaryElement && this.contentElement) {\n\t\t\tconst animationController = new DetailsAnimationController(this.detailsElement, this.summaryElement, this.contentElement);\n\t\t\tif (this.state._open) {\n\t\t\t\tanimationController.open();\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate toggleTimeout?: ReturnType<typeof setTimeout>;\n\n\tprivate handleToggle = (event: Event) => {\n\t\tclearTimeout(this.toggleTimeout);\n\t\tthis.toggleTimeout = setTimeout(() => {\n\t\t\tconst open = Boolean(this.detailsElement?.open);\n\t\t\tif (open !== this.state._open) {\n\t\t\t\t// Update state\n\t\t\t\tthis._open = Boolean(this.detailsElement?.open);\n\n\t\t\t\t// Event handling\n\t\t\t\ttryToDispatchKoliBriEvent('toggle', this.host, this._open);\n\n\t\t\t\t// Callback\n\t\t\t\tif (typeof this.state._on?.onToggle === 'function') {\n\t\t\t\t\tthis.state._on?.onToggle(event, this._open);\n\t\t\t\t}\n\t\t\t}\n\t\t}, 25);\n\t};\n}\n"],"mappings":";;;uLAEaA,EAKZ,WAAAC,CAAoBC,EAA4CC,EAAqCC,GAAjFC,KAAAH,iBAA4CG,KAAAF,iBAAqCE,KAAAD,iBAH7FC,KAAAC,UAAY,MACZD,KAAAE,YAAc,MAGrBF,KAAKF,eAAeK,iBAAiB,QAASH,KAAKI,mBAAmBC,KAAKL,M,CAGpE,kBAAAI,CAAmBE,GAC1BA,EAAMC,iBAEN,GAAIP,KAAKC,YAAcD,KAAKH,eAAeW,KAAM,CAChDR,KAAKQ,M,MACC,GAAIR,KAAKE,aAAeF,KAAKH,eAAeW,KAAM,CACxDR,KAAKS,U,EAIA,IAAAD,GACNR,KAAKH,eAAeW,KAAO,KAC3BE,OAAOC,sBAAsBX,KAAKY,OAAOP,KAAKL,M,CAGvC,MAAAY,GACPZ,KAAKE,YAAc,KACnBF,KAAKa,qBAAqB,S,CAGnB,QAAAJ,GACPT,KAAKC,UAAY,KACjBD,KAAKa,qBAAqB,W,CAGnB,oBAAAA,CAAqBC,GAC5B,IAAIC,EAAcD,IAAc,SAAW,EAAId,KAAKD,eAAeiB,aACnE,IAAIC,EAAYH,IAAc,SAAWd,KAAKD,eAAeiB,aAAe,EAM5E,GAAIhB,KAAKkB,UAAW,CACnBH,EAAcf,KAAKD,eAAeiB,aAClChB,KAAKkB,UAAUC,SACf,GAAIL,IAAc,SAAU,CAC3BG,EAAYjB,KAAKD,eAAeiB,Y,EAIlChB,KAAKkB,UAAYlB,KAAKD,eAAeqB,QACpC,CACCC,OAAQ,CAAC,GAAGN,MAAiB,GAAGE,QAEjC,CACCK,SAAUC,WAAW,4BAA4BC,QAAU,EAAI,IAC/DC,OAAQ,aAIVzB,KAAKkB,UAAUf,iBACd,UACA,KACCH,KAAK0B,mBAAmB,GAEzB,CAAEC,KAAM,OAET3B,KAAKkB,UAAUf,iBACd,UACA,KACC,GAAIW,IAAc,SAAU,CAC3Bd,KAAKE,YAAc,K,KACb,CACNF,KAAKC,UAAY,K,IAGnB,CAAE0B,KAAM,M,CAIF,iBAAAD,GACP1B,KAAKH,eAAeW,KAAOR,KAAKE,YAChCF,KAAKkB,UAAYU,UACjB5B,KAAKC,UAAY,MACjBD,KAAKE,YAAc,K,ECtFrB,MAAM2B,EAAkB,07IACxB,MAAAC,EAAeD,E,MCqBFE,EAAU,M,yBAML/B,KAAAgC,aAAgBC,IAChCjC,KAAKH,eAAiBoC,CAAyB,EAG/BjC,KAAAkC,aAAgBD,IAChCjC,KAAKF,eAAiBmC,EACtBE,EAAenC,KAAKoC,KAAMpC,KAAKF,eAAe,EAM9BE,KAAAqC,wBAA2B/B,IAC3C,GAAIN,KAAKsC,MAAMC,YAAc,KAAM,CAClCC,EAAiClC,E,GAwG3BN,KAAAyC,aAAgBnC,IACvBoC,aAAa1C,KAAK2C,eAClB3C,KAAK2C,cAAgBC,YAAW,K,YAC/B,MAAMpC,EAAOqC,SAAQC,EAAA9C,KAAKH,kBAAc,MAAAiD,SAAA,SAAAA,EAAEtC,MAC1C,GAAIA,IAASR,KAAKsC,MAAMS,MAAO,CAE9B/C,KAAK+C,MAAQF,SAAQG,EAAAhD,KAAKH,kBAAc,MAAAmD,SAAA,SAAAA,EAAExC,MAG1CyC,EAA0B,SAAUjD,KAAKoC,KAAMpC,KAAK+C,OAGpD,WAAWG,EAAAlD,KAAKsC,MAAMa,OAAG,MAAAD,SAAA,SAAAA,EAAEE,YAAa,WAAY,EACnDC,EAAArD,KAAKsC,MAAMa,OAAG,MAAAE,SAAA,SAAAA,EAAED,SAAS9C,EAAON,KAAK+C,M,KAGrC,GAAG,E,eAjF8B,M,oDAgB4B,M,WAE1B,CACtCO,OAAQ,GACRH,IAAK,G,CAvDC,MAAAI,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,WAAAE,IAAA,2CACCzB,IAAKjC,KAAKgC,aACV2B,MAAO,CACNC,SAAU5D,KAAKsC,MAAMC,YAAc,KACnC/B,KAAMR,KAAKsC,MAAMS,QAAU,MAE5BK,SAAUpD,KAAKyC,cAGfe,EAAA,WAAAE,IAAA,2CACCzB,IAAKjC,KAAKkC,aAAY,gBACPlC,KAAKsC,MAAMC,UAAY,OAASX,UAC/CiC,QAAS7D,KAAKqC,wBACdyB,WAAY9D,KAAKqC,wBACjB0B,SAAU/D,KAAKsC,MAAMC,WAAa,EAAIX,WAEtC4B,EAAA,YAAAE,IAAA,2CAAUJ,OAAO,GAAGU,OAAO,gCAAgCL,MAAO,QAAQ3D,KAAKsC,MAAMS,MAAQ,UAAY,OACzGS,EAAA,QAAAE,IAAA,4CAAO1D,KAAKsC,MAAMgB,SAEnBE,EAAA,OAAAE,IAAA,yDAAkB1D,KAAKsC,MAAMS,QAAU,MAAQ,OAASnB,UAAW+B,MAAM,UAAU1B,IAAMgC,GAAajE,KAAKD,eAAiBkE,GAC3HT,EAAA,qBAAAE,IAAA,4CACCF,EAAA,QAAAE,IAAA,gD,CAmCC,gBAAAQ,CAAiBC,GACvBD,EAAiBlE,KAAMmE,E,CAIjB,aAAAC,CAAcD,GACpBC,EAAcpE,KAAMmE,EAAO,CAC1BE,SAAU,M,CAKL,UAAAC,CAAWC,GACjB,UAAWA,IAAO,UAAYA,IAAO,aAAeA,EAAGnB,WAAa,WAAY,CAC/EoB,EAAyBxE,KAAM,MAAOuE,E,EAKjC,YAAAE,CAAaN,GACnBM,EAAazE,KAAMmE,E,CAGb,iBAAAO,GACN1E,KAAKkE,iBAAiBlE,KAAKuC,WAC3BvC,KAAKoE,cAAcpE,KAAKsD,QACxBtD,KAAKsE,WAAWtE,KAAKmD,KACrBnD,KAAKyE,aAAazE,KAAK+C,M,CAGjB,gBAAA4B,GACN,GAAI3E,KAAKH,gBAAkBG,KAAKF,gBAAkBE,KAAKD,eAAgB,CACtE,MAAM6E,EAAsB,IAAIjF,EAA2BK,KAAKH,eAAgBG,KAAKF,eAAgBE,KAAKD,gBAC1G,GAAIC,KAAKsC,MAAMS,MAAO,CACrB6B,EAAoBpE,M"}
1
+ {"version":3,"names":["DetailsAnimationController","constructor","detailsElement","summaryElement","contentElement","this","isClosing","isExpanding","addEventListener","handleSummaryClick","bind","event","preventDefault","open","collapse","window","requestAnimationFrame","expand","animateContentHeight","direction","startHeight","offsetHeight","endHeight","animation","cancel","animate","height","duration","matchMedia","matches","easing","onAnimationFinish","once","undefined","defaultStyleCss","KolDetailsDefaultStyle0","KolDetails","catchDetails","ref","catchSummary","propagateFocus","host","preventToggleIfDisabled","state","_disabled","preventDefaultAndStopPropagation","handleToggle","clearTimeout","toggleTimeout","setTimeout","Boolean","_a","_open","_b","tryToDispatchKoliBriEvent","_c","_on","onToggle","_d","_label","render","h","Host","key","class","disabled","onClick","onKeyPress","tabIndex","_icons","element","validateDisabled","value","validateLabel","required","validateOn","on","setState","validateOpen","componentWillLoad","componentDidLoad","animationController"],"sources":["src/components/details/DetailsAnimationController.ts","src/components/details/style.scss?tag=kol-details&mode=default&encapsulation=shadow","src/components/details/component.tsx"],"sourcesContent":["/* Heavily inspired by: https://codepen.io/Mamboleoo/pen/QWEpLqm */\n\nexport class DetailsAnimationController {\n\tprivate animation?: Animation;\n\tprivate isClosing = false;\n\tprivate isExpanding = false;\n\n\tconstructor(private detailsElement: HTMLDetailsElement, private summaryElement: HTMLElement, private contentElement: HTMLElement) {\n\t\tthis.summaryElement.addEventListener('click', this.handleSummaryClick.bind(this));\n\t}\n\n\tprivate handleSummaryClick(event: MouseEvent) {\n\t\tevent.preventDefault();\n\n\t\tif (this.isClosing || !this.detailsElement.open) {\n\t\t\tthis.open();\n\t\t} else if (this.isExpanding || this.detailsElement.open) {\n\t\t\tthis.collapse();\n\t\t}\n\t}\n\n\tpublic open() {\n\t\tthis.detailsElement.open = true;\n\t\twindow.requestAnimationFrame(this.expand.bind(this));\n\t}\n\n\tprivate expand() {\n\t\tthis.isExpanding = true;\n\t\tthis.animateContentHeight('expand');\n\t}\n\n\tprivate collapse() {\n\t\tthis.isClosing = true;\n\t\tthis.animateContentHeight('collapse');\n\t}\n\n\tprivate animateContentHeight(direction: 'expand' | 'collapse') {\n\t\tlet startHeight = direction === 'expand' ? 0 : this.contentElement.offsetHeight;\n\t\tlet endHeight = direction === 'expand' ? this.contentElement.offsetHeight : 0;\n\n\t\t/**\n\t\t * Override start and end height, when an animation is ongoing. During the animation, offsetHeight reflects the actual current height as it's being animated.\n\t\t * After canceling the animation, it reverts to the full height of the content container.\n\t\t */\n\t\tif (this.animation) {\n\t\t\tstartHeight = this.contentElement.offsetHeight;\n\t\t\tthis.animation.cancel();\n\t\t\tif (direction === 'expand') {\n\t\t\t\tendHeight = this.contentElement.offsetHeight;\n\t\t\t}\n\t\t}\n\n\t\tthis.animation = this.contentElement.animate(\n\t\t\t{\n\t\t\t\theight: [`${startHeight}px`, `${endHeight}px`],\n\t\t\t},\n\t\t\t{\n\t\t\t\tduration: matchMedia('(prefers-reduced-motion)').matches ? 0 : 250,\n\t\t\t\teasing: 'ease-out',\n\t\t\t}\n\t\t);\n\n\t\tthis.animation.addEventListener(\n\t\t\t'finish',\n\t\t\t() => {\n\t\t\t\tthis.onAnimationFinish();\n\t\t\t},\n\t\t\t{ once: true }\n\t\t);\n\t\tthis.animation.addEventListener(\n\t\t\t'cancel',\n\t\t\t() => {\n\t\t\t\tif (direction === 'expand') {\n\t\t\t\t\tthis.isExpanding = false;\n\t\t\t\t} else {\n\t\t\t\t\tthis.isClosing = false;\n\t\t\t\t}\n\t\t\t},\n\t\t\t{ once: true }\n\t\t);\n\t}\n\n\tprivate onAnimationFinish() {\n\t\tthis.detailsElement.open = this.isExpanding;\n\t\tthis.animation = undefined;\n\t\tthis.isClosing = false;\n\t\tthis.isExpanding = false;\n\t}\n}\n","@import '../style';\n@import '../host-display-block';\n\n@layer kol-component {\n\tdetails {\n\t\tdisplay: grid;\n\t}\n\n\tdetails > summary {\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tplace-items: center;\n\t}\n\n\tdetails > summary > span {\n\t\tborder-bottom-color: grey;\n\t\tborder-bottom-style: solid;\n\t}\n\n\tdetails > summary:focus > span,\n\tdetails > summary:hover > span,\n\tdetails[open] > summary > span {\n\t\tborder-bottom-color: #000;\n\t}\n\n\t.content {\n\t\toverflow: hidden;\n\t}\n\n\tdetails > kol-indented-text {\n\t\tmargin: 0.25em 0 0 0.5em;\n\t}\n\n\t.icon.is-open::part(icon) {\n\t\ttransform: rotate(90deg);\n\t}\n}\n","import type { DetailsAPI, DetailsStates, EventCallbacks, LabelPropType } from '@public-ui/schema';\nimport { propagateFocus, setState, validateLabel, validateOpen } from '@public-ui/schema';\nimport { Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\n\nimport { tryToDispatchKoliBriEvent } from '../../utils/events';\nimport { DetailsAnimationController } from './DetailsAnimationController';\n\nimport type { DisabledPropType } from '@public-ui/schema';\nimport { validateDisabled } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { preventDefaultAndStopPropagation } from '../../utils/events';\n\n/**\n * @slot - Der Inhalt, der in der Detailbeschreibung angezeigt wird.\n */\n@Component({\n\ttag: 'kol-details',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolDetails implements DetailsAPI {\n\t@Element() private readonly host?: HTMLKolDetailsElement;\n\tprivate detailsElement?: HTMLDetailsElement;\n\tprivate summaryElement?: HTMLElement;\n\tprivate contentElement?: HTMLElement;\n\n\tprivate readonly catchDetails = (ref?: HTMLElement) => {\n\t\tthis.detailsElement = ref as HTMLDetailsElement;\n\t};\n\n\tprivate readonly catchSummary = (ref?: HTMLElement) => {\n\t\tthis.summaryElement = ref;\n\t\tpropagateFocus(this.host, this.summaryElement);\n\t};\n\n\t/**\n\t * Handle disabled, because the toggle event is to late.\n\t */\n\tprivate readonly preventToggleIfDisabled = (event: Event) => {\n\t\tif (this.state._disabled === true) {\n\t\t\tpreventDefaultAndStopPropagation(event);\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<details\n\t\t\t\t\tref={this.catchDetails}\n\t\t\t\t\tclass={{\n\t\t\t\t\t\tdisabled: this.state._disabled === true,\n\t\t\t\t\t\topen: this.state._open === true,\n\t\t\t\t\t}}\n\t\t\t\t\tonToggle={this.handleToggle}\n\t\t\t\t>\n\t\t\t\t\t{/* eslint-disable-next-line jsx-a11y/no-static-element-interactions */}\n\t\t\t\t\t<summary\n\t\t\t\t\t\tref={this.catchSummary}\n\t\t\t\t\t\taria-disabled={this.state._disabled ? 'true' : undefined}\n\t\t\t\t\t\tonClick={this.preventToggleIfDisabled}\n\t\t\t\t\t\tonKeyPress={this.preventToggleIfDisabled}\n\t\t\t\t\t\ttabIndex={this.state._disabled ? -1 : undefined}\n\t\t\t\t\t>\n\t\t\t\t\t\t<kol-icon _label=\"\" _icons=\"codicon codicon-chevron-right\" class={`icon ${this.state._open ? 'is-open' : ''}`} />\n\t\t\t\t\t\t<span>{this.state._label}</span>\n\t\t\t\t\t</summary>\n\t\t\t\t\t<div aria-hidden={this.state._open === false ? 'true' : undefined} class=\"content\" ref={(element) => (this.contentElement = element)}>\n\t\t\t\t\t\t<kol-indented-text>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</kol-indented-text>\n\t\t\t\t\t</div>\n\t\t\t\t</details>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the callback functions for details.\n\t */\n\t@Prop() public _on?: EventCallbacks;\n\n\t/**\n\t * If set (to true) opens/expands the element, closes if not set (or set to false).\n\t * @TODO: Change type back to `OpenPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _open?: boolean = false;\n\n\t@State() public state: DetailsStates = {\n\t\t_label: '', // ⚠ required\n\t\t_on: {},\n\t};\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(on?: EventCallbacks) {\n\t\tif (typeof on === 'object' && on !== null && typeof on.onToggle === 'function') {\n\t\t\tsetState<EventCallbacks>(this, '_on', on);\n\t\t}\n\t}\n\n\t@Watch('_open')\n\tpublic validateOpen(value?: boolean): void {\n\t\tvalidateOpen(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateOpen(this._open);\n\t}\n\n\tpublic componentDidLoad() {\n\t\tif (this.detailsElement && this.summaryElement && this.contentElement) {\n\t\t\tconst animationController = new DetailsAnimationController(this.detailsElement, this.summaryElement, this.contentElement);\n\t\t\tif (this.state._open) {\n\t\t\t\tanimationController.open();\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate toggleTimeout?: ReturnType<typeof setTimeout>;\n\n\tprivate handleToggle = (event: Event) => {\n\t\tclearTimeout(this.toggleTimeout);\n\t\tthis.toggleTimeout = setTimeout(() => {\n\t\t\tconst open = Boolean(this.detailsElement?.open);\n\t\t\tif (open !== this.state._open) {\n\t\t\t\t// Update state\n\t\t\t\tthis._open = Boolean(this.detailsElement?.open);\n\n\t\t\t\t// Event handling\n\t\t\t\ttryToDispatchKoliBriEvent('toggle', this.host, this._open);\n\n\t\t\t\t// Callback\n\t\t\t\tif (typeof this.state._on?.onToggle === 'function') {\n\t\t\t\t\tthis.state._on?.onToggle(event, this._open);\n\t\t\t\t}\n\t\t\t}\n\t\t}, 25);\n\t};\n}\n"],"mappings":";;;uLAEaA,EAKZ,WAAAC,CAAoBC,EAA4CC,EAAqCC,GAAjFC,KAAAH,iBAA4CG,KAAAF,iBAAqCE,KAAAD,iBAH7FC,KAAAC,UAAY,MACZD,KAAAE,YAAc,MAGrBF,KAAKF,eAAeK,iBAAiB,QAASH,KAAKI,mBAAmBC,KAAKL,M,CAGpE,kBAAAI,CAAmBE,GAC1BA,EAAMC,iBAEN,GAAIP,KAAKC,YAAcD,KAAKH,eAAeW,KAAM,CAChDR,KAAKQ,M,MACC,GAAIR,KAAKE,aAAeF,KAAKH,eAAeW,KAAM,CACxDR,KAAKS,U,EAIA,IAAAD,GACNR,KAAKH,eAAeW,KAAO,KAC3BE,OAAOC,sBAAsBX,KAAKY,OAAOP,KAAKL,M,CAGvC,MAAAY,GACPZ,KAAKE,YAAc,KACnBF,KAAKa,qBAAqB,S,CAGnB,QAAAJ,GACPT,KAAKC,UAAY,KACjBD,KAAKa,qBAAqB,W,CAGnB,oBAAAA,CAAqBC,GAC5B,IAAIC,EAAcD,IAAc,SAAW,EAAId,KAAKD,eAAeiB,aACnE,IAAIC,EAAYH,IAAc,SAAWd,KAAKD,eAAeiB,aAAe,EAM5E,GAAIhB,KAAKkB,UAAW,CACnBH,EAAcf,KAAKD,eAAeiB,aAClChB,KAAKkB,UAAUC,SACf,GAAIL,IAAc,SAAU,CAC3BG,EAAYjB,KAAKD,eAAeiB,Y,EAIlChB,KAAKkB,UAAYlB,KAAKD,eAAeqB,QACpC,CACCC,OAAQ,CAAC,GAAGN,MAAiB,GAAGE,QAEjC,CACCK,SAAUC,WAAW,4BAA4BC,QAAU,EAAI,IAC/DC,OAAQ,aAIVzB,KAAKkB,UAAUf,iBACd,UACA,KACCH,KAAK0B,mBAAmB,GAEzB,CAAEC,KAAM,OAET3B,KAAKkB,UAAUf,iBACd,UACA,KACC,GAAIW,IAAc,SAAU,CAC3Bd,KAAKE,YAAc,K,KACb,CACNF,KAAKC,UAAY,K,IAGnB,CAAE0B,KAAM,M,CAIF,iBAAAD,GACP1B,KAAKH,eAAeW,KAAOR,KAAKE,YAChCF,KAAKkB,UAAYU,UACjB5B,KAAKC,UAAY,MACjBD,KAAKE,YAAc,K,ECtFrB,MAAM2B,EAAkB,gsJACxB,MAAAC,EAAeD,E,MCqBFE,EAAU,M,yBAML/B,KAAAgC,aAAgBC,IAChCjC,KAAKH,eAAiBoC,CAAyB,EAG/BjC,KAAAkC,aAAgBD,IAChCjC,KAAKF,eAAiBmC,EACtBE,EAAenC,KAAKoC,KAAMpC,KAAKF,eAAe,EAM9BE,KAAAqC,wBAA2B/B,IAC3C,GAAIN,KAAKsC,MAAMC,YAAc,KAAM,CAClCC,EAAiClC,E,GAwG3BN,KAAAyC,aAAgBnC,IACvBoC,aAAa1C,KAAK2C,eAClB3C,KAAK2C,cAAgBC,YAAW,K,YAC/B,MAAMpC,EAAOqC,SAAQC,EAAA9C,KAAKH,kBAAc,MAAAiD,SAAA,SAAAA,EAAEtC,MAC1C,GAAIA,IAASR,KAAKsC,MAAMS,MAAO,CAE9B/C,KAAK+C,MAAQF,SAAQG,EAAAhD,KAAKH,kBAAc,MAAAmD,SAAA,SAAAA,EAAExC,MAG1CyC,EAA0B,SAAUjD,KAAKoC,KAAMpC,KAAK+C,OAGpD,WAAWG,EAAAlD,KAAKsC,MAAMa,OAAG,MAAAD,SAAA,SAAAA,EAAEE,YAAa,WAAY,EACnDC,EAAArD,KAAKsC,MAAMa,OAAG,MAAAE,SAAA,SAAAA,EAAED,SAAS9C,EAAON,KAAK+C,M,KAGrC,GAAG,E,eAjF8B,M,oDAgB4B,M,WAE1B,CACtCO,OAAQ,GACRH,IAAK,G,CAvDC,MAAAI,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,WAAAE,IAAA,2CACCzB,IAAKjC,KAAKgC,aACV2B,MAAO,CACNC,SAAU5D,KAAKsC,MAAMC,YAAc,KACnC/B,KAAMR,KAAKsC,MAAMS,QAAU,MAE5BK,SAAUpD,KAAKyC,cAGfe,EAAA,WAAAE,IAAA,2CACCzB,IAAKjC,KAAKkC,aAAY,gBACPlC,KAAKsC,MAAMC,UAAY,OAASX,UAC/CiC,QAAS7D,KAAKqC,wBACdyB,WAAY9D,KAAKqC,wBACjB0B,SAAU/D,KAAKsC,MAAMC,WAAa,EAAIX,WAEtC4B,EAAA,YAAAE,IAAA,2CAAUJ,OAAO,GAAGU,OAAO,gCAAgCL,MAAO,QAAQ3D,KAAKsC,MAAMS,MAAQ,UAAY,OACzGS,EAAA,QAAAE,IAAA,4CAAO1D,KAAKsC,MAAMgB,SAEnBE,EAAA,OAAAE,IAAA,yDAAkB1D,KAAKsC,MAAMS,QAAU,MAAQ,OAASnB,UAAW+B,MAAM,UAAU1B,IAAMgC,GAAajE,KAAKD,eAAiBkE,GAC3HT,EAAA,qBAAAE,IAAA,4CACCF,EAAA,QAAAE,IAAA,gD,CAmCC,gBAAAQ,CAAiBC,GACvBD,EAAiBlE,KAAMmE,E,CAIjB,aAAAC,CAAcD,GACpBC,EAAcpE,KAAMmE,EAAO,CAC1BE,SAAU,M,CAKL,UAAAC,CAAWC,GACjB,UAAWA,IAAO,UAAYA,IAAO,aAAeA,EAAGnB,WAAa,WAAY,CAC/EoB,EAAyBxE,KAAM,MAAOuE,E,EAKjC,YAAAE,CAAaN,GACnBM,EAAazE,KAAMmE,E,CAGb,iBAAAO,GACN1E,KAAKkE,iBAAiBlE,KAAKuC,WAC3BvC,KAAKoE,cAAcpE,KAAKsD,QACxBtD,KAAKsE,WAAWtE,KAAKmD,KACrBnD,KAAKyE,aAAazE,KAAK+C,M,CAGjB,gBAAA4B,GACN,GAAI3E,KAAKH,gBAAkBG,KAAKF,gBAAkBE,KAAKD,eAAgB,CACtE,MAAM6E,EAAsB,IAAIjF,EAA2BK,KAAKH,eAAgBG,KAAKF,eAAgBE,KAAKD,gBAC1G,GAAIC,KAAKsC,MAAMS,MAAO,CACrB6B,EAAoBpE,M"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as i}from"./index-62e5924b.js";import{B as e,C as o,D as s}from"./index-c3ae175d.js";import{a as r}from"./i18n-5c235685.js";import"./index-ae3c46ca.js";import"./dev.utils-601116f8.js";const l=class{constructor(e){t(this,e),this.onSubmit=t=>{var e,i;t.preventDefault(),t.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(i=this.state._on)||void 0===i||i.onSubmit(t))},this.onReset=t=>{var e,i;t.preventDefault(),t.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(i=this.state._on)||void 0===i||i.onReset(t))},this.handleLinkClick=t=>{var e;const i=null===(e=t.target)||void 0===e?void 0:e.href;if(i){const t=new URL(i),e=document.querySelector(t.hash);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())}},this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}render(){return i("form",{key:"dea80b85f061a10604684cdd6fc7e19493a01dbe",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},this._errorList&&this._errorList.length>0&&i("kol-alert",{_type:"error"},r("kol-error-list-message"),i("nav",{"aria-label":r("kol-error-list")},i("ul",null,this._errorList.map(((t,e)=>i("li",{key:e},i("kol-link",{_href:t.selector,_label:t.message,_on:{onClick:this.handleLinkClick},ref:t=>{0===e&&(this.errorListElement=t)}}))))))),!0===this.state._requiredText?i("p",null,i("kol-indented-text",null,r("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?i("p",null,i("kol-indented-text",null,this.state._requiredText)):null,i("slot",{key:"6c5120cbfab3903b5f8e1f5d29ed0849c646f5d1"}))}validateOn(t){"object"==typeof t&&null!==t&&(this.state=Object.assign(Object.assign({},this.state),{_on:t}))}validateRequiredText(t){"boolean"==typeof t?e(this,"_requiredText",t):o(this,"_requiredText",t)}validateErrorList(t){s(this,t)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}componentDidRender(){var t;this._errorList&&this._errorList.length>0&&(null===(t=this.errorListElement)||void 0===t||t.focus())}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};export{l as kol_form};
4
+ import{r as t,h as i}from"./index-62e5924b.js";import{B as e,C as o,D as s}from"./index-de9d4ee0.js";import{a as r}from"./i18n-8b7a6ddc.js";import"./index-8cb3c3b2.js";import"./dev.utils-744f41b3.js";const l=class{constructor(e){t(this,e),this.onSubmit=t=>{var e,i;t.preventDefault(),t.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(i=this.state._on)||void 0===i||i.onSubmit(t))},this.onReset=t=>{var e,i;t.preventDefault(),t.stopPropagation(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(i=this.state._on)||void 0===i||i.onReset(t))},this.handleLinkClick=t=>{var e;const i=null===(e=t.target)||void 0===e?void 0:e.href;if(i){const t=new URL(i),e=document.querySelector(t.hash);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())}},this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}render(){return i("form",{key:"dea80b85f061a10604684cdd6fc7e19493a01dbe",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},this._errorList&&this._errorList.length>0&&i("kol-alert",{_type:"error"},r("kol-error-list-message"),i("nav",{"aria-label":r("kol-error-list")},i("ul",null,this._errorList.map(((t,e)=>i("li",{key:e},i("kol-link",{_href:t.selector,_label:t.message,_on:{onClick:this.handleLinkClick},ref:t=>{0===e&&(this.errorListElement=t)}}))))))),!0===this.state._requiredText?i("p",null,i("kol-indented-text",null,r("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?i("p",null,i("kol-indented-text",null,this.state._requiredText)):null,i("slot",{key:"6c5120cbfab3903b5f8e1f5d29ed0849c646f5d1"}))}validateOn(t){"object"==typeof t&&null!==t&&(this.state=Object.assign(Object.assign({},this.state),{_on:t}))}validateRequiredText(t){"boolean"==typeof t?e(this,"_requiredText",t):o(this,"_requiredText",t)}validateErrorList(t){s(this,t)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}componentDidRender(){var t;this._errorList&&this._errorList.length>0&&(null===(t=this.errorListElement)||void 0===t||t.focus())}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};export{l as kol_form};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as n}from"./index-62e5924b.js";const e="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * Minimum size of interactive elements.\n\t\t */\n\t\t--a11y-min-size: 44px;\n\t\t/*\n\t\t * No element should be used without a background and font color whose contrast ratio has\n\t\t * not been checked. By initially setting the background color to white and the font color\n\t\t * to black, the contrast ratio is ensured and explicit adjustment is forced.\n\t\t */\n\t\tbackground-color: white;\n\t\tcolor: black;\n\t\t/*\n\t\t * Verdana is an accessible font that can be used without requiring additional loading time.\n\t\t */\n\t\tfont-family: Verdana;\n\t}\n\n\t* {\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\thyphens: auto;\n\t\t/*\n\t\t * Letter spacing is required for all texts.\n\t\t */\n\t\tletter-spacing: inherit;\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\tword-break: break-word;\n\t\t/*\n\t\t * Word spacing is required for all texts.\n\t\t */\n\t\tword-spacing: inherit;\n\t}\n\n\t/*\n\t * All interactive elements should have a minimum size of 44px.\n\t */\n\t/* input:not([type='checkbox'], [type='radio'], [type='range']), */\n\t/* option, */\n\t/* select, */\n\t/* textarea, */\n\t[role='button'],\n\tbutton:not([role='link']),\n\tkol-input .input {\n\t\tmin-height: var(--a11y-min-size);\n\t\tmin-width: var(--a11y-min-size);\n\t}\n\n\t/*\n\t * Some interactive elements should not inherit the font-family and font-size.\n\t */\n\ta,\n\tbutton,\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\t/*\n\t\t * All elements should inherit the font family from his parent element.\n\t\t */\n\t\tfont-family: inherit;\n\t\t/*\n\t\t * All elements should inherit the font size from his parent element.\n\t\t */\n\t\tfont-size: inherit;\n\t}\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\tclip: rect(0 0 0 0);\n\tclip-path: inset(50%);\n\theight: 1px;\n\toverflow: hidden;\n\tposition: absolute;\n\twhite-space: nowrap;\n\twidth: 1px;\n}\n\n@layer kol-global {\n\t/*\n\t * Dieses CSS stellt sicher, dass der Standard-Style\n\t * von A und Button resettet werden.\n\t */\n\t:is(a, button) {\n\t\tbackground-color: transparent;\n\t\tborder: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\twidth: 100%; /* 100% needed for custom width from outside */\n\t}\n\n\t/*\n\t * Ensure elements with hidden attribute to be actually not visible\n\t * @see https://meowni.ca/hidden.is.a.lie.html\n\t */\n\t[hidden] {\n\t\tdisplay: none !important;\n\t}\n}\n\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * The max-width is needed to prevent the table from overflowing the\n\t\t * parent node, if the table is wider than the parent node.\n\t\t */\n\t\tmax-width: 100%;\n\t}\n\n\t* {\n\t\t/*\n\t\t * We prefer to box-sizing: border-box for all elements.\n\t\t */\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n\tkol-span-wc {\n\t\tdisplay: grid;\n\t\tplace-items: center;\n\t}\n\n\t/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n\tkol-span-wc > span {\n\t\tdisplay: flex;\n\t\tplace-items: center;\n\t}\n\n\ta,\n\tbutton {\n\t\tcursor: pointer;\n\t}\n\n\t.hidden {\n\t\tdisplay: none;\n\t\tvisibility: hidden;\n\t}\n\n\t/* This is the text label. */\n\t.hide-label > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n\n\t.disabled label,\n\t[aria-disabled='true'],\n\t[disabled] {\n\t\tcursor: not-allowed;\n\t\topacity: 0.5;\n\t\toutline: none;\n\t}\n}\n\n",i=e,o=class{constructor(n){t(this,n),this._label=void 0,this._level=void 0,this._secondaryHeadline=void 0,this._variant=void 0}render(){return n("kol-heading-wc",{key:"9bd5fbd58d07dba0dec0ffd891855331aa529707",_label:this._label,_level:this._level,_secondaryHeadline:this._secondaryHeadline,_variant:this._variant},n("slot",{key:"15a9446734dda61f5c222c579ad674c9110b693a",name:"expert",slot:"expert"}))}};o.style={default:i};export{o as kol_heading};
4
+ import{r as n,h as e}from"./index-62e5924b.js";const t="/*\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}",i=t,o=class{constructor(e){n(this,e),this._label=void 0,this._level=void 0,this._secondaryHeadline=void 0,this._variant=void 0}render(){return e("kol-heading-wc",{key:"6bb6b392c7eb87f5b0028a8423d39150ebe2202e",_label:this._label,_level:this._level,_secondaryHeadline:this._secondaryHeadline,_variant:this._variant},e("slot",{key:"5a7ba9a99f01fb45abd70fed732c1024fb5682fa",name:"expert",slot:"expert"}))}};o.style={default:i};export{o as kol_heading};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolHeadingDefaultStyle0","KolHeading","render","h","key","_label","this","_level","_secondaryHeadline","_variant","name","slot"],"sources":["src/components/heading/style.css?tag=kol-heading&mode=default&encapsulation=shadow","src/components/heading/shadow.tsx"],"sourcesContent":["@import url(../style.css);\n","import type { HeadingLevel, HeadingProps, HeadingVariantPropType, LabelWithExpertSlotPropType } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Prop } from '@stencil/core';\n\n/**\n * @slot headline - Content of the headline.\n */\n@Component({\n\ttag: 'kol-heading',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolHeading implements HeadingProps {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<kol-heading-wc _label={this._label} _level={this._level} _secondaryHeadline={this._secondaryHeadline} _variant={this._variant}>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\" />\n\t\t\t</kol-heading-wc>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel;\n\n\t/**\n\t * Defines the text of the secondary headline.\n\t */\n\t@Prop() public _secondaryHeadline?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: HeadingVariantPropType;\n}\n"],"mappings":";;;+CAAA,MAAMA,EAAkB,syHACxB,MAAAC,EAAeD,E,MCaFE,EAAU,M,+HACf,MAAAC,GACN,OACCC,EAAA,kBAAAC,IAAA,2CAAgBC,OAAQC,KAAKD,OAAQE,OAAQD,KAAKC,OAAQC,mBAAoBF,KAAKE,mBAAoBC,SAAUH,KAAKG,UACrHN,EAAA,QAAAC,IAAA,2CAAMM,KAAK,SAASC,KAAK,W"}
1
+ {"version":3,"names":["defaultStyleCss","KolHeadingDefaultStyle0","KolHeading","render","h","key","_label","this","_level","_secondaryHeadline","_variant","name","slot"],"sources":["src/components/heading/style.scss?tag=kol-heading&mode=default&encapsulation=shadow","src/components/heading/shadow.tsx"],"sourcesContent":["@import '../style';\n","import type { HeadingLevel, HeadingProps, HeadingVariantPropType, LabelWithExpertSlotPropType } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Prop } from '@stencil/core';\n\n/**\n * @slot headline - Content of the headline.\n */\n@Component({\n\ttag: 'kol-heading',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolHeading implements HeadingProps {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<kol-heading-wc _label={this._label} _level={this._level} _secondaryHeadline={this._secondaryHeadline} _variant={this._variant}>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\" />\n\t\t\t</kol-heading-wc>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel;\n\n\t/**\n\t * Defines the text of the secondary headline.\n\t */\n\t@Prop() public _secondaryHeadline?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: HeadingVariantPropType;\n}\n"],"mappings":";;;+CAAA,MAAMA,EAAkB,0jIACxB,MAAAC,EAAeD,E,MCaFE,EAAU,M,+HACf,MAAAC,GACN,OACCC,EAAA,kBAAAC,IAAA,2CAAgBC,OAAQC,KAAKD,OAAQE,OAAQD,KAAKC,OAAQC,mBAAoBF,KAAKE,mBAAoBC,SAAUH,KAAKG,UACrHN,EAAA,QAAAC,IAAA,2CAAMM,KAAK,SAASC,KAAK,W"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as e,h as o,H as n}from"./index-62e5924b.js";import{C as c,v as t}from"./index-c3ae175d.js";const b='/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n@font-face {\n\tfont-family: "codicon";\n\tfont-display: block;\n\tsrc: url("./codicon.ttf?0e5b0adf625a37fbcd638d31f0fe72aa") format("truetype");\n}\n\n.codicon[class*=\'codicon-\'] {\n\tfont: normal normal normal 16px/1 codicon;\n\tdisplay: inline-block;\n\ttext-decoration: none;\n\ttext-rendering: auto;\n\ttext-align: center;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n/*---------------------\n * Modifiers\n *-------------------*/\n\n@keyframes codicon-spin {\n\t100% {\n\t\ttransform:rotate(360deg);\n\t}\n}\n\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin {\n\t/* Use steps to throttle FPS to reduce CPU usage */\n\tanimation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n\topacity: 0.5;\n}\n\n.codicon-modifier-hidden {\n\topacity: 0;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading {\n\tanimation-duration: 1s !important;\n\tanimation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n\n/*---------------------\n * Icons\n *-------------------*/\n\n.codicon-add:before { content: "\\ea60" }\n.codicon-plus:before { content: "\\ea60" }\n.codicon-gist-new:before { content: "\\ea60" }\n.codicon-repo-create:before { content: "\\ea60" }\n.codicon-lightbulb:before { content: "\\ea61" }\n.codicon-light-bulb:before { content: "\\ea61" }\n.codicon-repo:before { content: "\\ea62" }\n.codicon-repo-delete:before { content: "\\ea62" }\n.codicon-gist-fork:before { content: "\\ea63" }\n.codicon-repo-forked:before { content: "\\ea63" }\n.codicon-git-pull-request:before { content: "\\ea64" }\n.codicon-git-pull-request-abandoned:before { content: "\\ea64" }\n.codicon-record-keys:before { content: "\\ea65" }\n.codicon-keyboard:before { content: "\\ea65" }\n.codicon-tag:before { content: "\\ea66" }\n.codicon-tag-add:before { content: "\\ea66" }\n.codicon-tag-remove:before { content: "\\ea66" }\n.codicon-person:before { content: "\\ea67" }\n.codicon-person-follow:before { content: "\\ea67" }\n.codicon-person-outline:before { content: "\\ea67" }\n.codicon-person-filled:before { content: "\\ea67" }\n.codicon-git-branch:before { content: "\\ea68" }\n.codicon-git-branch-create:before { content: "\\ea68" }\n.codicon-git-branch-delete:before { content: "\\ea68" }\n.codicon-source-control:before { content: "\\ea68" }\n.codicon-mirror:before { content: "\\ea69" }\n.codicon-mirror-public:before { content: "\\ea69" }\n.codicon-star:before { content: "\\ea6a" }\n.codicon-star-add:before { content: "\\ea6a" }\n.codicon-star-delete:before { content: "\\ea6a" }\n.codicon-star-empty:before { content: "\\ea6a" }\n.codicon-comment:before { content: "\\ea6b" }\n.codicon-comment-add:before { content: "\\ea6b" }\n.codicon-alert:before { content: "\\ea6c" }\n.codicon-warning:before { content: "\\ea6c" }\n.codicon-search:before { content: "\\ea6d" }\n.codicon-search-save:before { content: "\\ea6d" }\n.codicon-log-out:before { content: "\\ea6e" }\n.codicon-sign-out:before { content: "\\ea6e" }\n.codicon-log-in:before { content: "\\ea6f" }\n.codicon-sign-in:before { content: "\\ea6f" }\n.codicon-eye:before { content: "\\ea70" }\n.codicon-eye-unwatch:before { content: "\\ea70" }\n.codicon-eye-watch:before { content: "\\ea70" }\n.codicon-circle-filled:before { content: "\\ea71" }\n.codicon-primitive-dot:before { content: "\\ea71" }\n.codicon-close-dirty:before { content: "\\ea71" }\n.codicon-debug-breakpoint:before { content: "\\ea71" }\n.codicon-debug-breakpoint-disabled:before { content: "\\ea71" }\n.codicon-debug-hint:before { content: "\\ea71" }\n.codicon-primitive-square:before { content: "\\ea72" }\n.codicon-edit:before { content: "\\ea73" }\n.codicon-pencil:before { content: "\\ea73" }\n.codicon-info:before { content: "\\ea74" }\n.codicon-issue-opened:before { content: "\\ea74" }\n.codicon-gist-private:before { content: "\\ea75" }\n.codicon-git-fork-private:before { content: "\\ea75" }\n.codicon-lock:before { content: "\\ea75" }\n.codicon-mirror-private:before { content: "\\ea75" }\n.codicon-close:before { content: "\\ea76" }\n.codicon-remove-close:before { content: "\\ea76" }\n.codicon-x:before { content: "\\ea76" }\n.codicon-repo-sync:before { content: "\\ea77" }\n.codicon-sync:before { content: "\\ea77" }\n.codicon-clone:before { content: "\\ea78" }\n.codicon-desktop-download:before { content: "\\ea78" }\n.codicon-beaker:before { content: "\\ea79" }\n.codicon-microscope:before { content: "\\ea79" }\n.codicon-vm:before { content: "\\ea7a" }\n.codicon-device-desktop:before { content: "\\ea7a" }\n.codicon-file:before { content: "\\ea7b" }\n.codicon-file-text:before { content: "\\ea7b" }\n.codicon-more:before { content: "\\ea7c" }\n.codicon-ellipsis:before { content: "\\ea7c" }\n.codicon-kebab-horizontal:before { content: "\\ea7c" }\n.codicon-mail-reply:before { content: "\\ea7d" }\n.codicon-reply:before { content: "\\ea7d" }\n.codicon-organization:before { content: "\\ea7e" }\n.codicon-organization-filled:before { content: "\\ea7e" }\n.codicon-organization-outline:before { content: "\\ea7e" }\n.codicon-new-file:before { content: "\\ea7f" }\n.codicon-file-add:before { content: "\\ea7f" }\n.codicon-new-folder:before { content: "\\ea80" }\n.codicon-file-directory-create:before { content: "\\ea80" }\n.codicon-trash:before { content: "\\ea81" }\n.codicon-trashcan:before { content: "\\ea81" }\n.codicon-history:before { content: "\\ea82" }\n.codicon-clock:before { content: "\\ea82" }\n.codicon-folder:before { content: "\\ea83" }\n.codicon-file-directory:before { content: "\\ea83" }\n.codicon-symbol-folder:before { content: "\\ea83" }\n.codicon-logo-github:before { content: "\\ea84" }\n.codicon-mark-github:before { content: "\\ea84" }\n.codicon-github:before { content: "\\ea84" }\n.codicon-terminal:before { content: "\\ea85" }\n.codicon-console:before { content: "\\ea85" }\n.codicon-repl:before { content: "\\ea85" }\n.codicon-zap:before { content: "\\ea86" }\n.codicon-symbol-event:before { content: "\\ea86" }\n.codicon-error:before { content: "\\ea87" }\n.codicon-stop:before { content: "\\ea87" }\n.codicon-variable:before { content: "\\ea88" }\n.codicon-symbol-variable:before { content: "\\ea88" }\n.codicon-array:before { content: "\\ea8a" }\n.codicon-symbol-array:before { content: "\\ea8a" }\n.codicon-symbol-module:before { content: "\\ea8b" }\n.codicon-symbol-package:before { content: "\\ea8b" }\n.codicon-symbol-namespace:before { content: "\\ea8b" }\n.codicon-symbol-object:before { content: "\\ea8b" }\n.codicon-symbol-method:before { content: "\\ea8c" }\n.codicon-symbol-function:before { content: "\\ea8c" }\n.codicon-symbol-constructor:before { content: "\\ea8c" }\n.codicon-symbol-boolean:before { content: "\\ea8f" }\n.codicon-symbol-null:before { content: "\\ea8f" }\n.codicon-symbol-numeric:before { content: "\\ea90" }\n.codicon-symbol-number:before { content: "\\ea90" }\n.codicon-symbol-structure:before { content: "\\ea91" }\n.codicon-symbol-struct:before { content: "\\ea91" }\n.codicon-symbol-parameter:before { content: "\\ea92" }\n.codicon-symbol-type-parameter:before { content: "\\ea92" }\n.codicon-symbol-key:before { content: "\\ea93" }\n.codicon-symbol-text:before { content: "\\ea93" }\n.codicon-symbol-reference:before { content: "\\ea94" }\n.codicon-go-to-file:before { content: "\\ea94" }\n.codicon-symbol-enum:before { content: "\\ea95" }\n.codicon-symbol-value:before { content: "\\ea95" }\n.codicon-symbol-ruler:before { content: "\\ea96" }\n.codicon-symbol-unit:before { content: "\\ea96" }\n.codicon-activate-breakpoints:before { content: "\\ea97" }\n.codicon-archive:before { content: "\\ea98" }\n.codicon-arrow-both:before { content: "\\ea99" }\n.codicon-arrow-down:before { content: "\\ea9a" }\n.codicon-arrow-left:before { content: "\\ea9b" }\n.codicon-arrow-right:before { content: "\\ea9c" }\n.codicon-arrow-small-down:before { content: "\\ea9d" }\n.codicon-arrow-small-left:before { content: "\\ea9e" }\n.codicon-arrow-small-right:before { content: "\\ea9f" }\n.codicon-arrow-small-up:before { content: "\\eaa0" }\n.codicon-arrow-up:before { content: "\\eaa1" }\n.codicon-bell:before { content: "\\eaa2" }\n.codicon-bold:before { content: "\\eaa3" }\n.codicon-book:before { content: "\\eaa4" }\n.codicon-bookmark:before { content: "\\eaa5" }\n.codicon-debug-breakpoint-conditional-unverified:before { content: "\\eaa6" }\n.codicon-debug-breakpoint-conditional:before { content: "\\eaa7" }\n.codicon-debug-breakpoint-conditional-disabled:before { content: "\\eaa7" }\n.codicon-debug-breakpoint-data-unverified:before { content: "\\eaa8" }\n.codicon-debug-breakpoint-data:before { content: "\\eaa9" }\n.codicon-debug-breakpoint-data-disabled:before { content: "\\eaa9" }\n.codicon-debug-breakpoint-log-unverified:before { content: "\\eaaa" }\n.codicon-debug-breakpoint-log:before { content: "\\eaab" }\n.codicon-debug-breakpoint-log-disabled:before { content: "\\eaab" }\n.codicon-briefcase:before { content: "\\eaac" }\n.codicon-broadcast:before { content: "\\eaad" }\n.codicon-browser:before { content: "\\eaae" }\n.codicon-bug:before { content: "\\eaaf" }\n.codicon-calendar:before { content: "\\eab0" }\n.codicon-case-sensitive:before { content: "\\eab1" }\n.codicon-check:before { content: "\\eab2" }\n.codicon-checklist:before { content: "\\eab3" }\n.codicon-chevron-down:before { content: "\\eab4" }\n.codicon-chevron-left:before { content: "\\eab5" }\n.codicon-chevron-right:before { content: "\\eab6" }\n.codicon-chevron-up:before { content: "\\eab7" }\n.codicon-chrome-close:before { content: "\\eab8" }\n.codicon-chrome-maximize:before { content: "\\eab9" }\n.codicon-chrome-minimize:before { content: "\\eaba" }\n.codicon-chrome-restore:before { content: "\\eabb" }\n.codicon-circle-outline:before { content: "\\eabc" }\n.codicon-debug-breakpoint-unverified:before { content: "\\eabc" }\n.codicon-circle-slash:before { content: "\\eabd" }\n.codicon-circuit-board:before { content: "\\eabe" }\n.codicon-clear-all:before { content: "\\eabf" }\n.codicon-clippy:before { content: "\\eac0" }\n.codicon-close-all:before { content: "\\eac1" }\n.codicon-cloud-download:before { content: "\\eac2" }\n.codicon-cloud-upload:before { content: "\\eac3" }\n.codicon-code:before { content: "\\eac4" }\n.codicon-collapse-all:before { content: "\\eac5" }\n.codicon-color-mode:before { content: "\\eac6" }\n.codicon-comment-discussion:before { content: "\\eac7" }\n.codicon-credit-card:before { content: "\\eac9" }\n.codicon-dash:before { content: "\\eacc" }\n.codicon-dashboard:before { content: "\\eacd" }\n.codicon-database:before { content: "\\eace" }\n.codicon-debug-continue:before { content: "\\eacf" }\n.codicon-debug-disconnect:before { content: "\\ead0" }\n.codicon-debug-pause:before { content: "\\ead1" }\n.codicon-debug-restart:before { content: "\\ead2" }\n.codicon-debug-start:before { content: "\\ead3" }\n.codicon-debug-step-into:before { content: "\\ead4" }\n.codicon-debug-step-out:before { content: "\\ead5" }\n.codicon-debug-step-over:before { content: "\\ead6" }\n.codicon-debug-stop:before { content: "\\ead7" }\n.codicon-debug:before { content: "\\ead8" }\n.codicon-device-camera-video:before { content: "\\ead9" }\n.codicon-device-camera:before { content: "\\eada" }\n.codicon-device-mobile:before { content: "\\eadb" }\n.codicon-diff-added:before { content: "\\eadc" }\n.codicon-diff-ignored:before { content: "\\eadd" }\n.codicon-diff-modified:before { content: "\\eade" }\n.codicon-diff-removed:before { content: "\\eadf" }\n.codicon-diff-renamed:before { content: "\\eae0" }\n.codicon-diff:before { content: "\\eae1" }\n.codicon-discard:before { content: "\\eae2" }\n.codicon-editor-layout:before { content: "\\eae3" }\n.codicon-empty-window:before { content: "\\eae4" }\n.codicon-exclude:before { content: "\\eae5" }\n.codicon-extensions:before { content: "\\eae6" }\n.codicon-eye-closed:before { content: "\\eae7" }\n.codicon-file-binary:before { content: "\\eae8" }\n.codicon-file-code:before { content: "\\eae9" }\n.codicon-file-media:before { content: "\\eaea" }\n.codicon-file-pdf:before { content: "\\eaeb" }\n.codicon-file-submodule:before { content: "\\eaec" }\n.codicon-file-symlink-directory:before { content: "\\eaed" }\n.codicon-file-symlink-file:before { content: "\\eaee" }\n.codicon-file-zip:before { content: "\\eaef" }\n.codicon-files:before { content: "\\eaf0" }\n.codicon-filter:before { content: "\\eaf1" }\n.codicon-flame:before { content: "\\eaf2" }\n.codicon-fold-down:before { content: "\\eaf3" }\n.codicon-fold-up:before { content: "\\eaf4" }\n.codicon-fold:before { content: "\\eaf5" }\n.codicon-folder-active:before { content: "\\eaf6" }\n.codicon-folder-opened:before { content: "\\eaf7" }\n.codicon-gear:before { content: "\\eaf8" }\n.codicon-gift:before { content: "\\eaf9" }\n.codicon-gist-secret:before { content: "\\eafa" }\n.codicon-gist:before { content: "\\eafb" }\n.codicon-git-commit:before { content: "\\eafc" }\n.codicon-git-compare:before { content: "\\eafd" }\n.codicon-compare-changes:before { content: "\\eafd" }\n.codicon-git-merge:before { content: "\\eafe" }\n.codicon-github-action:before { content: "\\eaff" }\n.codicon-github-alt:before { content: "\\eb00" }\n.codicon-globe:before { content: "\\eb01" }\n.codicon-grabber:before { content: "\\eb02" }\n.codicon-graph:before { content: "\\eb03" }\n.codicon-gripper:before { content: "\\eb04" }\n.codicon-heart:before { content: "\\eb05" }\n.codicon-home:before { content: "\\eb06" }\n.codicon-horizontal-rule:before { content: "\\eb07" }\n.codicon-hubot:before { content: "\\eb08" }\n.codicon-inbox:before { content: "\\eb09" }\n.codicon-issue-reopened:before { content: "\\eb0b" }\n.codicon-issues:before { content: "\\eb0c" }\n.codicon-italic:before { content: "\\eb0d" }\n.codicon-jersey:before { content: "\\eb0e" }\n.codicon-json:before { content: "\\eb0f" }\n.codicon-kebab-vertical:before { content: "\\eb10" }\n.codicon-key:before { content: "\\eb11" }\n.codicon-law:before { content: "\\eb12" }\n.codicon-lightbulb-autofix:before { content: "\\eb13" }\n.codicon-link-external:before { content: "\\eb14" }\n.codicon-link:before { content: "\\eb15" }\n.codicon-list-ordered:before { content: "\\eb16" }\n.codicon-list-unordered:before { content: "\\eb17" }\n.codicon-live-share:before { content: "\\eb18" }\n.codicon-loading:before { content: "\\eb19" }\n.codicon-location:before { content: "\\eb1a" }\n.codicon-mail-read:before { content: "\\eb1b" }\n.codicon-mail:before { content: "\\eb1c" }\n.codicon-markdown:before { content: "\\eb1d" }\n.codicon-megaphone:before { content: "\\eb1e" }\n.codicon-mention:before { content: "\\eb1f" }\n.codicon-milestone:before { content: "\\eb20" }\n.codicon-mortar-board:before { content: "\\eb21" }\n.codicon-move:before { content: "\\eb22" }\n.codicon-multiple-windows:before { content: "\\eb23" }\n.codicon-mute:before { content: "\\eb24" }\n.codicon-no-newline:before { content: "\\eb25" }\n.codicon-note:before { content: "\\eb26" }\n.codicon-octoface:before { content: "\\eb27" }\n.codicon-open-preview:before { content: "\\eb28" }\n.codicon-package:before { content: "\\eb29" }\n.codicon-paintcan:before { content: "\\eb2a" }\n.codicon-pin:before { content: "\\eb2b" }\n.codicon-play:before { content: "\\eb2c" }\n.codicon-run:before { content: "\\eb2c" }\n.codicon-plug:before { content: "\\eb2d" }\n.codicon-preserve-case:before { content: "\\eb2e" }\n.codicon-preview:before { content: "\\eb2f" }\n.codicon-project:before { content: "\\eb30" }\n.codicon-pulse:before { content: "\\eb31" }\n.codicon-question:before { content: "\\eb32" }\n.codicon-quote:before { content: "\\eb33" }\n.codicon-radio-tower:before { content: "\\eb34" }\n.codicon-reactions:before { content: "\\eb35" }\n.codicon-references:before { content: "\\eb36" }\n.codicon-refresh:before { content: "\\eb37" }\n.codicon-regex:before { content: "\\eb38" }\n.codicon-remote-explorer:before { content: "\\eb39" }\n.codicon-remote:before { content: "\\eb3a" }\n.codicon-remove:before { content: "\\eb3b" }\n.codicon-replace-all:before { content: "\\eb3c" }\n.codicon-replace:before { content: "\\eb3d" }\n.codicon-repo-clone:before { content: "\\eb3e" }\n.codicon-repo-force-push:before { content: "\\eb3f" }\n.codicon-repo-pull:before { content: "\\eb40" }\n.codicon-repo-push:before { content: "\\eb41" }\n.codicon-report:before { content: "\\eb42" }\n.codicon-request-changes:before { content: "\\eb43" }\n.codicon-rocket:before { content: "\\eb44" }\n.codicon-root-folder-opened:before { content: "\\eb45" }\n.codicon-root-folder:before { content: "\\eb46" }\n.codicon-rss:before { content: "\\eb47" }\n.codicon-ruby:before { content: "\\eb48" }\n.codicon-save-all:before { content: "\\eb49" }\n.codicon-save-as:before { content: "\\eb4a" }\n.codicon-save:before { content: "\\eb4b" }\n.codicon-screen-full:before { content: "\\eb4c" }\n.codicon-screen-normal:before { content: "\\eb4d" }\n.codicon-search-stop:before { content: "\\eb4e" }\n.codicon-server:before { content: "\\eb50" }\n.codicon-settings-gear:before { content: "\\eb51" }\n.codicon-settings:before { content: "\\eb52" }\n.codicon-shield:before { content: "\\eb53" }\n.codicon-smiley:before { content: "\\eb54" }\n.codicon-sort-precedence:before { content: "\\eb55" }\n.codicon-split-horizontal:before { content: "\\eb56" }\n.codicon-split-vertical:before { content: "\\eb57" }\n.codicon-squirrel:before { content: "\\eb58" }\n.codicon-star-full:before { content: "\\eb59" }\n.codicon-star-half:before { content: "\\eb5a" }\n.codicon-symbol-class:before { content: "\\eb5b" }\n.codicon-symbol-color:before { content: "\\eb5c" }\n.codicon-symbol-constant:before { content: "\\eb5d" }\n.codicon-symbol-enum-member:before { content: "\\eb5e" }\n.codicon-symbol-field:before { content: "\\eb5f" }\n.codicon-symbol-file:before { content: "\\eb60" }\n.codicon-symbol-interface:before { content: "\\eb61" }\n.codicon-symbol-keyword:before { content: "\\eb62" }\n.codicon-symbol-misc:before { content: "\\eb63" }\n.codicon-symbol-operator:before { content: "\\eb64" }\n.codicon-symbol-property:before { content: "\\eb65" }\n.codicon-wrench:before { content: "\\eb65" }\n.codicon-wrench-subaction:before { content: "\\eb65" }\n.codicon-symbol-snippet:before { content: "\\eb66" }\n.codicon-tasklist:before { content: "\\eb67" }\n.codicon-telescope:before { content: "\\eb68" }\n.codicon-text-size:before { content: "\\eb69" }\n.codicon-three-bars:before { content: "\\eb6a" }\n.codicon-thumbsdown:before { content: "\\eb6b" }\n.codicon-thumbsup:before { content: "\\eb6c" }\n.codicon-tools:before { content: "\\eb6d" }\n.codicon-triangle-down:before { content: "\\eb6e" }\n.codicon-triangle-left:before { content: "\\eb6f" }\n.codicon-triangle-right:before { content: "\\eb70" }\n.codicon-triangle-up:before { content: "\\eb71" }\n.codicon-twitter:before { content: "\\eb72" }\n.codicon-unfold:before { content: "\\eb73" }\n.codicon-unlock:before { content: "\\eb74" }\n.codicon-unmute:before { content: "\\eb75" }\n.codicon-unverified:before { content: "\\eb76" }\n.codicon-verified:before { content: "\\eb77" }\n.codicon-versions:before { content: "\\eb78" }\n.codicon-vm-active:before { content: "\\eb79" }\n.codicon-vm-outline:before { content: "\\eb7a" }\n.codicon-vm-running:before { content: "\\eb7b" }\n.codicon-watch:before { content: "\\eb7c" }\n.codicon-whitespace:before { content: "\\eb7d" }\n.codicon-whole-word:before { content: "\\eb7e" }\n.codicon-window:before { content: "\\eb7f" }\n.codicon-word-wrap:before { content: "\\eb80" }\n.codicon-zoom-in:before { content: "\\eb81" }\n.codicon-zoom-out:before { content: "\\eb82" }\n.codicon-list-filter:before { content: "\\eb83" }\n.codicon-list-flat:before { content: "\\eb84" }\n.codicon-list-selection:before { content: "\\eb85" }\n.codicon-selection:before { content: "\\eb85" }\n.codicon-list-tree:before { content: "\\eb86" }\n.codicon-debug-breakpoint-function-unverified:before { content: "\\eb87" }\n.codicon-debug-breakpoint-function:before { content: "\\eb88" }\n.codicon-debug-breakpoint-function-disabled:before { content: "\\eb88" }\n.codicon-debug-stackframe-active:before { content: "\\eb89" }\n.codicon-circle-small-filled:before { content: "\\eb8a" }\n.codicon-debug-stackframe-dot:before { content: "\\eb8a" }\n.codicon-debug-stackframe:before { content: "\\eb8b" }\n.codicon-debug-stackframe-focused:before { content: "\\eb8b" }\n.codicon-debug-breakpoint-unsupported:before { content: "\\eb8c" }\n.codicon-symbol-string:before { content: "\\eb8d" }\n.codicon-debug-reverse-continue:before { content: "\\eb8e" }\n.codicon-debug-step-back:before { content: "\\eb8f" }\n.codicon-debug-restart-frame:before { content: "\\eb90" }\n.codicon-debug-alt:before { content: "\\eb91" }\n.codicon-call-incoming:before { content: "\\eb92" }\n.codicon-call-outgoing:before { content: "\\eb93" }\n.codicon-menu:before { content: "\\eb94" }\n.codicon-expand-all:before { content: "\\eb95" }\n.codicon-feedback:before { content: "\\eb96" }\n.codicon-group-by-ref-type:before { content: "\\eb97" }\n.codicon-ungroup-by-ref-type:before { content: "\\eb98" }\n.codicon-account:before { content: "\\eb99" }\n.codicon-bell-dot:before { content: "\\eb9a" }\n.codicon-debug-console:before { content: "\\eb9b" }\n.codicon-library:before { content: "\\eb9c" }\n.codicon-output:before { content: "\\eb9d" }\n.codicon-run-all:before { content: "\\eb9e" }\n.codicon-sync-ignored:before { content: "\\eb9f" }\n.codicon-pinned:before { content: "\\eba0" }\n.codicon-github-inverted:before { content: "\\eba1" }\n.codicon-server-process:before { content: "\\eba2" }\n.codicon-server-environment:before { content: "\\eba3" }\n.codicon-pass:before { content: "\\eba4" }\n.codicon-issue-closed:before { content: "\\eba4" }\n.codicon-stop-circle:before { content: "\\eba5" }\n.codicon-play-circle:before { content: "\\eba6" }\n.codicon-record:before { content: "\\eba7" }\n.codicon-debug-alt-small:before { content: "\\eba8" }\n.codicon-vm-connect:before { content: "\\eba9" }\n.codicon-cloud:before { content: "\\ebaa" }\n.codicon-merge:before { content: "\\ebab" }\n.codicon-export:before { content: "\\ebac" }\n.codicon-graph-left:before { content: "\\ebad" }\n.codicon-magnet:before { content: "\\ebae" }\n.codicon-notebook:before { content: "\\ebaf" }\n.codicon-redo:before { content: "\\ebb0" }\n.codicon-check-all:before { content: "\\ebb1" }\n.codicon-pinned-dirty:before { content: "\\ebb2" }\n.codicon-pass-filled:before { content: "\\ebb3" }\n.codicon-circle-large-filled:before { content: "\\ebb4" }\n.codicon-circle-large-outline:before { content: "\\ebb5" }\n.codicon-combine:before { content: "\\ebb6" }\n.codicon-gather:before { content: "\\ebb6" }\n.codicon-table:before { content: "\\ebb7" }\n.codicon-variable-group:before { content: "\\ebb8" }\n.codicon-type-hierarchy:before { content: "\\ebb9" }\n.codicon-type-hierarchy-sub:before { content: "\\ebba" }\n.codicon-type-hierarchy-super:before { content: "\\ebbb" }\n.codicon-git-pull-request-create:before { content: "\\ebbc" }\n.codicon-run-above:before { content: "\\ebbd" }\n.codicon-run-below:before { content: "\\ebbe" }\n.codicon-notebook-template:before { content: "\\ebbf" }\n.codicon-debug-rerun:before { content: "\\ebc0" }\n.codicon-workspace-trusted:before { content: "\\ebc1" }\n.codicon-workspace-untrusted:before { content: "\\ebc2" }\n.codicon-workspace-unknown:before { content: "\\ebc3" }\n.codicon-terminal-cmd:before { content: "\\ebc4" }\n.codicon-terminal-debian:before { content: "\\ebc5" }\n.codicon-terminal-linux:before { content: "\\ebc6" }\n.codicon-terminal-powershell:before { content: "\\ebc7" }\n.codicon-terminal-tmux:before { content: "\\ebc8" }\n.codicon-terminal-ubuntu:before { content: "\\ebc9" }\n.codicon-terminal-bash:before { content: "\\ebca" }\n.codicon-arrow-swap:before { content: "\\ebcb" }\n.codicon-copy:before { content: "\\ebcc" }\n.codicon-person-add:before { content: "\\ebcd" }\n.codicon-filter-filled:before { content: "\\ebce" }\n.codicon-wand:before { content: "\\ebcf" }\n.codicon-debug-line-by-line:before { content: "\\ebd0" }\n.codicon-inspect:before { content: "\\ebd1" }\n.codicon-layers:before { content: "\\ebd2" }\n.codicon-layers-dot:before { content: "\\ebd3" }\n.codicon-layers-active:before { content: "\\ebd4" }\n.codicon-compass:before { content: "\\ebd5" }\n.codicon-compass-dot:before { content: "\\ebd6" }\n.codicon-compass-active:before { content: "\\ebd7" }\n.codicon-azure:before { content: "\\ebd8" }\n.codicon-issue-draft:before { content: "\\ebd9" }\n.codicon-git-pull-request-closed:before { content: "\\ebda" }\n.codicon-git-pull-request-draft:before { content: "\\ebdb" }\n.codicon-debug-all:before { content: "\\ebdc" }\n.codicon-debug-coverage:before { content: "\\ebdd" }\n.codicon-run-errors:before { content: "\\ebde" }\n.codicon-folder-library:before { content: "\\ebdf" }\n.codicon-debug-continue-small:before { content: "\\ebe0" }\n.codicon-beaker-stop:before { content: "\\ebe1" }\n.codicon-graph-line:before { content: "\\ebe2" }\n.codicon-graph-scatter:before { content: "\\ebe3" }\n.codicon-pie-chart:before { content: "\\ebe4" }\n.codicon-bracket:before { content: "\\eb0f" }\n.codicon-bracket-dot:before { content: "\\ebe5" }\n.codicon-bracket-error:before { content: "\\ebe6" }\n.codicon-lock-small:before { content: "\\ebe7" }\n.codicon-azure-devops:before { content: "\\ebe8" }\n.codicon-verified-filled:before { content: "\\ebe9" }\n.codicon-newline:before { content: "\\ebea" }\n.codicon-layout:before { content: "\\ebeb" }\n.codicon-layout-activitybar-left:before { content: "\\ebec" }\n.codicon-layout-activitybar-right:before { content: "\\ebed" }\n.codicon-layout-panel-left:before { content: "\\ebee" }\n.codicon-layout-panel-center:before { content: "\\ebef" }\n.codicon-layout-panel-justify:before { content: "\\ebf0" }\n.codicon-layout-panel-right:before { content: "\\ebf1" }\n.codicon-layout-panel:before { content: "\\ebf2" }\n.codicon-layout-sidebar-left:before { content: "\\ebf3" }\n.codicon-layout-sidebar-right:before { content: "\\ebf4" }\n.codicon-layout-statusbar:before { content: "\\ebf5" }\n.codicon-layout-menubar:before { content: "\\ebf6" }\n.codicon-layout-centered:before { content: "\\ebf7" }\n.codicon-target:before { content: "\\ebf8" }\n.codicon-indent:before { content: "\\ebf9" }\n.codicon-record-small:before { content: "\\ebfa" }\n.codicon-error-small:before { content: "\\ebfb" }\n.codicon-arrow-circle-down:before { content: "\\ebfc" }\n.codicon-arrow-circle-left:before { content: "\\ebfd" }\n.codicon-arrow-circle-right:before { content: "\\ebfe" }\n.codicon-arrow-circle-up:before { content: "\\ebff" }\n.codicon-layout-sidebar-right-off:before { content: "\\ec00" }\n.codicon-layout-panel-off:before { content: "\\ec01" }\n.codicon-layout-sidebar-left-off:before { content: "\\ec02" }\n.codicon-blank:before { content: "\\ec03" }\n.codicon-heart-filled:before { content: "\\ec04" }\n.codicon-map:before { content: "\\ec05" }\n.codicon-map-filled:before { content: "\\ec06" }\n.codicon-circle-small:before { content: "\\ec07" }\n.codicon-bell-slash:before { content: "\\ec08" }\n.codicon-bell-slash-dot:before { content: "\\ec09" }\n.codicon-comment-unresolved:before { content: "\\ec0a" }\n.codicon-git-pull-request-go-to-changes:before { content: "\\ec0b" }\n.codicon-git-pull-request-new-changes:before { content: "\\ec0c" }\n\n@layer kol-component {\n\t:host {\n\t\tcolor: inherit;\n\t\tdisplay: contents;\n\t\theight: 1em;\n\t\tline-height: inherit;\n\t\twidth: 1em;\n\t}\n\n\t:host > i {\n\t\theight: 1em;\n\t\twidth: 1em;\n\t}\n\n\t/*\n * The <code>:important</code> is important, because we should always override the font icon style.\n */\n\t:host > i,\n\t:host > i:before {\n\t\tfont-size: inherit !important;\n\t}\n}\n',r=b,i=class{constructor(o){e(this,o),this._icons=void 0,this._label=void 0,this.state={_icons:"codicon codicon-home",_label:""}}render(){const e=this.state._label.length>0;return o(n,{key:"c62ac4835d52e7e1ec559fb021c6450707313b28",exportparts:"icon"},o("i",{key:"b7f1f9bc1218abcc1fee4c480e3a01b25be509ec","aria-hidden":e?void 0:"true","aria-label":e?this.state._label:void 0,class:this.state._icons,part:"icon",role:"img"}))}validateIcons(e){c(this,"_icons",e,{required:!0})}validateLabel(e){t(this,e,{required:!0})}componentWillLoad(){this.validateIcons(this._icons),this.validateLabel(this._label)}static get watchers(){return{_icons:["validateIcons"],_label:["validateLabel"]}}};i.style={default:r};export{i as kol_icon};
4
+ import{r as n,h as e,H as o}from"./index-62e5924b.js";import{C as c,v as t}from"./index-de9d4ee0.js";const b='/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n@font-face {\n font-family: "codicon";\n font-display: block;\n src: url("./codicon.ttf?0e5b0adf625a37fbcd638d31f0fe72aa") format("truetype");\n}\n.codicon[class*=codicon-] {\n font: normal normal normal 16px/1 codicon;\n display: inline-block;\n text-decoration: none;\n text-rendering: auto;\n text-align: center;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n/*---------------------\n * Modifiers\n *-------------------*/\n@keyframes codicon-spin {\n 100% {\n transform: rotate(360deg);\n }\n}\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n opacity: 0.5;\n}\n\n.codicon-modifier-hidden {\n opacity: 0;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading {\n animation-duration: 1s !important;\n animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n\n/*---------------------\n * Icons\n *-------------------*/\n.codicon-add:before {\n content: "\\ea60";\n}\n\n.codicon-plus:before {\n content: "\\ea60";\n}\n\n.codicon-gist-new:before {\n content: "\\ea60";\n}\n\n.codicon-repo-create:before {\n content: "\\ea60";\n}\n\n.codicon-lightbulb:before {\n content: "\\ea61";\n}\n\n.codicon-light-bulb:before {\n content: "\\ea61";\n}\n\n.codicon-repo:before {\n content: "\\ea62";\n}\n\n.codicon-repo-delete:before {\n content: "\\ea62";\n}\n\n.codicon-gist-fork:before {\n content: "\\ea63";\n}\n\n.codicon-repo-forked:before {\n content: "\\ea63";\n}\n\n.codicon-git-pull-request:before {\n content: "\\ea64";\n}\n\n.codicon-git-pull-request-abandoned:before {\n content: "\\ea64";\n}\n\n.codicon-record-keys:before {\n content: "\\ea65";\n}\n\n.codicon-keyboard:before {\n content: "\\ea65";\n}\n\n.codicon-tag:before {\n content: "\\ea66";\n}\n\n.codicon-tag-add:before {\n content: "\\ea66";\n}\n\n.codicon-tag-remove:before {\n content: "\\ea66";\n}\n\n.codicon-person:before {\n content: "\\ea67";\n}\n\n.codicon-person-follow:before {\n content: "\\ea67";\n}\n\n.codicon-person-outline:before {\n content: "\\ea67";\n}\n\n.codicon-person-filled:before {\n content: "\\ea67";\n}\n\n.codicon-git-branch:before {\n content: "\\ea68";\n}\n\n.codicon-git-branch-create:before {\n content: "\\ea68";\n}\n\n.codicon-git-branch-delete:before {\n content: "\\ea68";\n}\n\n.codicon-source-control:before {\n content: "\\ea68";\n}\n\n.codicon-mirror:before {\n content: "\\ea69";\n}\n\n.codicon-mirror-public:before {\n content: "\\ea69";\n}\n\n.codicon-star:before {\n content: "\\ea6a";\n}\n\n.codicon-star-add:before {\n content: "\\ea6a";\n}\n\n.codicon-star-delete:before {\n content: "\\ea6a";\n}\n\n.codicon-star-empty:before {\n content: "\\ea6a";\n}\n\n.codicon-comment:before {\n content: "\\ea6b";\n}\n\n.codicon-comment-add:before {\n content: "\\ea6b";\n}\n\n.codicon-alert:before {\n content: "\\ea6c";\n}\n\n.codicon-warning:before {\n content: "\\ea6c";\n}\n\n.codicon-search:before {\n content: "\\ea6d";\n}\n\n.codicon-search-save:before {\n content: "\\ea6d";\n}\n\n.codicon-log-out:before {\n content: "\\ea6e";\n}\n\n.codicon-sign-out:before {\n content: "\\ea6e";\n}\n\n.codicon-log-in:before {\n content: "\\ea6f";\n}\n\n.codicon-sign-in:before {\n content: "\\ea6f";\n}\n\n.codicon-eye:before {\n content: "\\ea70";\n}\n\n.codicon-eye-unwatch:before {\n content: "\\ea70";\n}\n\n.codicon-eye-watch:before {\n content: "\\ea70";\n}\n\n.codicon-circle-filled:before {\n content: "\\ea71";\n}\n\n.codicon-primitive-dot:before {\n content: "\\ea71";\n}\n\n.codicon-close-dirty:before {\n content: "\\ea71";\n}\n\n.codicon-debug-breakpoint:before {\n content: "\\ea71";\n}\n\n.codicon-debug-breakpoint-disabled:before {\n content: "\\ea71";\n}\n\n.codicon-debug-hint:before {\n content: "\\ea71";\n}\n\n.codicon-primitive-square:before {\n content: "\\ea72";\n}\n\n.codicon-edit:before {\n content: "\\ea73";\n}\n\n.codicon-pencil:before {\n content: "\\ea73";\n}\n\n.codicon-info:before {\n content: "\\ea74";\n}\n\n.codicon-issue-opened:before {\n content: "\\ea74";\n}\n\n.codicon-gist-private:before {\n content: "\\ea75";\n}\n\n.codicon-git-fork-private:before {\n content: "\\ea75";\n}\n\n.codicon-lock:before {\n content: "\\ea75";\n}\n\n.codicon-mirror-private:before {\n content: "\\ea75";\n}\n\n.codicon-close:before {\n content: "\\ea76";\n}\n\n.codicon-remove-close:before {\n content: "\\ea76";\n}\n\n.codicon-x:before {\n content: "\\ea76";\n}\n\n.codicon-repo-sync:before {\n content: "\\ea77";\n}\n\n.codicon-sync:before {\n content: "\\ea77";\n}\n\n.codicon-clone:before {\n content: "\\ea78";\n}\n\n.codicon-desktop-download:before {\n content: "\\ea78";\n}\n\n.codicon-beaker:before {\n content: "\\ea79";\n}\n\n.codicon-microscope:before {\n content: "\\ea79";\n}\n\n.codicon-vm:before {\n content: "\\ea7a";\n}\n\n.codicon-device-desktop:before {\n content: "\\ea7a";\n}\n\n.codicon-file:before {\n content: "\\ea7b";\n}\n\n.codicon-file-text:before {\n content: "\\ea7b";\n}\n\n.codicon-more:before {\n content: "\\ea7c";\n}\n\n.codicon-ellipsis:before {\n content: "\\ea7c";\n}\n\n.codicon-kebab-horizontal:before {\n content: "\\ea7c";\n}\n\n.codicon-mail-reply:before {\n content: "\\ea7d";\n}\n\n.codicon-reply:before {\n content: "\\ea7d";\n}\n\n.codicon-organization:before {\n content: "\\ea7e";\n}\n\n.codicon-organization-filled:before {\n content: "\\ea7e";\n}\n\n.codicon-organization-outline:before {\n content: "\\ea7e";\n}\n\n.codicon-new-file:before {\n content: "\\ea7f";\n}\n\n.codicon-file-add:before {\n content: "\\ea7f";\n}\n\n.codicon-new-folder:before {\n content: "\\ea80";\n}\n\n.codicon-file-directory-create:before {\n content: "\\ea80";\n}\n\n.codicon-trash:before {\n content: "\\ea81";\n}\n\n.codicon-trashcan:before {\n content: "\\ea81";\n}\n\n.codicon-history:before {\n content: "\\ea82";\n}\n\n.codicon-clock:before {\n content: "\\ea82";\n}\n\n.codicon-folder:before {\n content: "\\ea83";\n}\n\n.codicon-file-directory:before {\n content: "\\ea83";\n}\n\n.codicon-symbol-folder:before {\n content: "\\ea83";\n}\n\n.codicon-logo-github:before {\n content: "\\ea84";\n}\n\n.codicon-mark-github:before {\n content: "\\ea84";\n}\n\n.codicon-github:before {\n content: "\\ea84";\n}\n\n.codicon-terminal:before {\n content: "\\ea85";\n}\n\n.codicon-console:before {\n content: "\\ea85";\n}\n\n.codicon-repl:before {\n content: "\\ea85";\n}\n\n.codicon-zap:before {\n content: "\\ea86";\n}\n\n.codicon-symbol-event:before {\n content: "\\ea86";\n}\n\n.codicon-error:before {\n content: "\\ea87";\n}\n\n.codicon-stop:before {\n content: "\\ea87";\n}\n\n.codicon-variable:before {\n content: "\\ea88";\n}\n\n.codicon-symbol-variable:before {\n content: "\\ea88";\n}\n\n.codicon-array:before {\n content: "\\ea8a";\n}\n\n.codicon-symbol-array:before {\n content: "\\ea8a";\n}\n\n.codicon-symbol-module:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-package:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-namespace:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-object:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-method:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-function:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-constructor:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-boolean:before {\n content: "\\ea8f";\n}\n\n.codicon-symbol-null:before {\n content: "\\ea8f";\n}\n\n.codicon-symbol-numeric:before {\n content: "\\ea90";\n}\n\n.codicon-symbol-number:before {\n content: "\\ea90";\n}\n\n.codicon-symbol-structure:before {\n content: "\\ea91";\n}\n\n.codicon-symbol-struct:before {\n content: "\\ea91";\n}\n\n.codicon-symbol-parameter:before {\n content: "\\ea92";\n}\n\n.codicon-symbol-type-parameter:before {\n content: "\\ea92";\n}\n\n.codicon-symbol-key:before {\n content: "\\ea93";\n}\n\n.codicon-symbol-text:before {\n content: "\\ea93";\n}\n\n.codicon-symbol-reference:before {\n content: "\\ea94";\n}\n\n.codicon-go-to-file:before {\n content: "\\ea94";\n}\n\n.codicon-symbol-enum:before {\n content: "\\ea95";\n}\n\n.codicon-symbol-value:before {\n content: "\\ea95";\n}\n\n.codicon-symbol-ruler:before {\n content: "\\ea96";\n}\n\n.codicon-symbol-unit:before {\n content: "\\ea96";\n}\n\n.codicon-activate-breakpoints:before {\n content: "\\ea97";\n}\n\n.codicon-archive:before {\n content: "\\ea98";\n}\n\n.codicon-arrow-both:before {\n content: "\\ea99";\n}\n\n.codicon-arrow-down:before {\n content: "\\ea9a";\n}\n\n.codicon-arrow-left:before {\n content: "\\ea9b";\n}\n\n.codicon-arrow-right:before {\n content: "\\ea9c";\n}\n\n.codicon-arrow-small-down:before {\n content: "\\ea9d";\n}\n\n.codicon-arrow-small-left:before {\n content: "\\ea9e";\n}\n\n.codicon-arrow-small-right:before {\n content: "\\ea9f";\n}\n\n.codicon-arrow-small-up:before {\n content: "\\eaa0";\n}\n\n.codicon-arrow-up:before {\n content: "\\eaa1";\n}\n\n.codicon-bell:before {\n content: "\\eaa2";\n}\n\n.codicon-bold:before {\n content: "\\eaa3";\n}\n\n.codicon-book:before {\n content: "\\eaa4";\n}\n\n.codicon-bookmark:before {\n content: "\\eaa5";\n}\n\n.codicon-debug-breakpoint-conditional-unverified:before {\n content: "\\eaa6";\n}\n\n.codicon-debug-breakpoint-conditional:before {\n content: "\\eaa7";\n}\n\n.codicon-debug-breakpoint-conditional-disabled:before {\n content: "\\eaa7";\n}\n\n.codicon-debug-breakpoint-data-unverified:before {\n content: "\\eaa8";\n}\n\n.codicon-debug-breakpoint-data:before {\n content: "\\eaa9";\n}\n\n.codicon-debug-breakpoint-data-disabled:before {\n content: "\\eaa9";\n}\n\n.codicon-debug-breakpoint-log-unverified:before {\n content: "\\eaaa";\n}\n\n.codicon-debug-breakpoint-log:before {\n content: "\\eaab";\n}\n\n.codicon-debug-breakpoint-log-disabled:before {\n content: "\\eaab";\n}\n\n.codicon-briefcase:before {\n content: "\\eaac";\n}\n\n.codicon-broadcast:before {\n content: "\\eaad";\n}\n\n.codicon-browser:before {\n content: "\\eaae";\n}\n\n.codicon-bug:before {\n content: "\\eaaf";\n}\n\n.codicon-calendar:before {\n content: "\\eab0";\n}\n\n.codicon-case-sensitive:before {\n content: "\\eab1";\n}\n\n.codicon-check:before {\n content: "\\eab2";\n}\n\n.codicon-checklist:before {\n content: "\\eab3";\n}\n\n.codicon-chevron-down:before {\n content: "\\eab4";\n}\n\n.codicon-chevron-left:before {\n content: "\\eab5";\n}\n\n.codicon-chevron-right:before {\n content: "\\eab6";\n}\n\n.codicon-chevron-up:before {\n content: "\\eab7";\n}\n\n.codicon-chrome-close:before {\n content: "\\eab8";\n}\n\n.codicon-chrome-maximize:before {\n content: "\\eab9";\n}\n\n.codicon-chrome-minimize:before {\n content: "\\eaba";\n}\n\n.codicon-chrome-restore:before {\n content: "\\eabb";\n}\n\n.codicon-circle-outline:before {\n content: "\\eabc";\n}\n\n.codicon-debug-breakpoint-unverified:before {\n content: "\\eabc";\n}\n\n.codicon-circle-slash:before {\n content: "\\eabd";\n}\n\n.codicon-circuit-board:before {\n content: "\\eabe";\n}\n\n.codicon-clear-all:before {\n content: "\\eabf";\n}\n\n.codicon-clippy:before {\n content: "\\eac0";\n}\n\n.codicon-close-all:before {\n content: "\\eac1";\n}\n\n.codicon-cloud-download:before {\n content: "\\eac2";\n}\n\n.codicon-cloud-upload:before {\n content: "\\eac3";\n}\n\n.codicon-code:before {\n content: "\\eac4";\n}\n\n.codicon-collapse-all:before {\n content: "\\eac5";\n}\n\n.codicon-color-mode:before {\n content: "\\eac6";\n}\n\n.codicon-comment-discussion:before {\n content: "\\eac7";\n}\n\n.codicon-credit-card:before {\n content: "\\eac9";\n}\n\n.codicon-dash:before {\n content: "\\eacc";\n}\n\n.codicon-dashboard:before {\n content: "\\eacd";\n}\n\n.codicon-database:before {\n content: "\\eace";\n}\n\n.codicon-debug-continue:before {\n content: "\\eacf";\n}\n\n.codicon-debug-disconnect:before {\n content: "\\ead0";\n}\n\n.codicon-debug-pause:before {\n content: "\\ead1";\n}\n\n.codicon-debug-restart:before {\n content: "\\ead2";\n}\n\n.codicon-debug-start:before {\n content: "\\ead3";\n}\n\n.codicon-debug-step-into:before {\n content: "\\ead4";\n}\n\n.codicon-debug-step-out:before {\n content: "\\ead5";\n}\n\n.codicon-debug-step-over:before {\n content: "\\ead6";\n}\n\n.codicon-debug-stop:before {\n content: "\\ead7";\n}\n\n.codicon-debug:before {\n content: "\\ead8";\n}\n\n.codicon-device-camera-video:before {\n content: "\\ead9";\n}\n\n.codicon-device-camera:before {\n content: "\\eada";\n}\n\n.codicon-device-mobile:before {\n content: "\\eadb";\n}\n\n.codicon-diff-added:before {\n content: "\\eadc";\n}\n\n.codicon-diff-ignored:before {\n content: "\\eadd";\n}\n\n.codicon-diff-modified:before {\n content: "\\eade";\n}\n\n.codicon-diff-removed:before {\n content: "\\eadf";\n}\n\n.codicon-diff-renamed:before {\n content: "\\eae0";\n}\n\n.codicon-diff:before {\n content: "\\eae1";\n}\n\n.codicon-discard:before {\n content: "\\eae2";\n}\n\n.codicon-editor-layout:before {\n content: "\\eae3";\n}\n\n.codicon-empty-window:before {\n content: "\\eae4";\n}\n\n.codicon-exclude:before {\n content: "\\eae5";\n}\n\n.codicon-extensions:before {\n content: "\\eae6";\n}\n\n.codicon-eye-closed:before {\n content: "\\eae7";\n}\n\n.codicon-file-binary:before {\n content: "\\eae8";\n}\n\n.codicon-file-code:before {\n content: "\\eae9";\n}\n\n.codicon-file-media:before {\n content: "\\eaea";\n}\n\n.codicon-file-pdf:before {\n content: "\\eaeb";\n}\n\n.codicon-file-submodule:before {\n content: "\\eaec";\n}\n\n.codicon-file-symlink-directory:before {\n content: "\\eaed";\n}\n\n.codicon-file-symlink-file:before {\n content: "\\eaee";\n}\n\n.codicon-file-zip:before {\n content: "\\eaef";\n}\n\n.codicon-files:before {\n content: "\\eaf0";\n}\n\n.codicon-filter:before {\n content: "\\eaf1";\n}\n\n.codicon-flame:before {\n content: "\\eaf2";\n}\n\n.codicon-fold-down:before {\n content: "\\eaf3";\n}\n\n.codicon-fold-up:before {\n content: "\\eaf4";\n}\n\n.codicon-fold:before {\n content: "\\eaf5";\n}\n\n.codicon-folder-active:before {\n content: "\\eaf6";\n}\n\n.codicon-folder-opened:before {\n content: "\\eaf7";\n}\n\n.codicon-gear:before {\n content: "\\eaf8";\n}\n\n.codicon-gift:before {\n content: "\\eaf9";\n}\n\n.codicon-gist-secret:before {\n content: "\\eafa";\n}\n\n.codicon-gist:before {\n content: "\\eafb";\n}\n\n.codicon-git-commit:before {\n content: "\\eafc";\n}\n\n.codicon-git-compare:before {\n content: "\\eafd";\n}\n\n.codicon-compare-changes:before {\n content: "\\eafd";\n}\n\n.codicon-git-merge:before {\n content: "\\eafe";\n}\n\n.codicon-github-action:before {\n content: "\\eaff";\n}\n\n.codicon-github-alt:before {\n content: "\\eb00";\n}\n\n.codicon-globe:before {\n content: "\\eb01";\n}\n\n.codicon-grabber:before {\n content: "\\eb02";\n}\n\n.codicon-graph:before {\n content: "\\eb03";\n}\n\n.codicon-gripper:before {\n content: "\\eb04";\n}\n\n.codicon-heart:before {\n content: "\\eb05";\n}\n\n.codicon-home:before {\n content: "\\eb06";\n}\n\n.codicon-horizontal-rule:before {\n content: "\\eb07";\n}\n\n.codicon-hubot:before {\n content: "\\eb08";\n}\n\n.codicon-inbox:before {\n content: "\\eb09";\n}\n\n.codicon-issue-reopened:before {\n content: "\\eb0b";\n}\n\n.codicon-issues:before {\n content: "\\eb0c";\n}\n\n.codicon-italic:before {\n content: "\\eb0d";\n}\n\n.codicon-jersey:before {\n content: "\\eb0e";\n}\n\n.codicon-json:before {\n content: "\\eb0f";\n}\n\n.codicon-kebab-vertical:before {\n content: "\\eb10";\n}\n\n.codicon-key:before {\n content: "\\eb11";\n}\n\n.codicon-law:before {\n content: "\\eb12";\n}\n\n.codicon-lightbulb-autofix:before {\n content: "\\eb13";\n}\n\n.codicon-link-external:before {\n content: "\\eb14";\n}\n\n.codicon-link:before {\n content: "\\eb15";\n}\n\n.codicon-list-ordered:before {\n content: "\\eb16";\n}\n\n.codicon-list-unordered:before {\n content: "\\eb17";\n}\n\n.codicon-live-share:before {\n content: "\\eb18";\n}\n\n.codicon-loading:before {\n content: "\\eb19";\n}\n\n.codicon-location:before {\n content: "\\eb1a";\n}\n\n.codicon-mail-read:before {\n content: "\\eb1b";\n}\n\n.codicon-mail:before {\n content: "\\eb1c";\n}\n\n.codicon-markdown:before {\n content: "\\eb1d";\n}\n\n.codicon-megaphone:before {\n content: "\\eb1e";\n}\n\n.codicon-mention:before {\n content: "\\eb1f";\n}\n\n.codicon-milestone:before {\n content: "\\eb20";\n}\n\n.codicon-mortar-board:before {\n content: "\\eb21";\n}\n\n.codicon-move:before {\n content: "\\eb22";\n}\n\n.codicon-multiple-windows:before {\n content: "\\eb23";\n}\n\n.codicon-mute:before {\n content: "\\eb24";\n}\n\n.codicon-no-newline:before {\n content: "\\eb25";\n}\n\n.codicon-note:before {\n content: "\\eb26";\n}\n\n.codicon-octoface:before {\n content: "\\eb27";\n}\n\n.codicon-open-preview:before {\n content: "\\eb28";\n}\n\n.codicon-package:before {\n content: "\\eb29";\n}\n\n.codicon-paintcan:before {\n content: "\\eb2a";\n}\n\n.codicon-pin:before {\n content: "\\eb2b";\n}\n\n.codicon-play:before {\n content: "\\eb2c";\n}\n\n.codicon-run:before {\n content: "\\eb2c";\n}\n\n.codicon-plug:before {\n content: "\\eb2d";\n}\n\n.codicon-preserve-case:before {\n content: "\\eb2e";\n}\n\n.codicon-preview:before {\n content: "\\eb2f";\n}\n\n.codicon-project:before {\n content: "\\eb30";\n}\n\n.codicon-pulse:before {\n content: "\\eb31";\n}\n\n.codicon-question:before {\n content: "\\eb32";\n}\n\n.codicon-quote:before {\n content: "\\eb33";\n}\n\n.codicon-radio-tower:before {\n content: "\\eb34";\n}\n\n.codicon-reactions:before {\n content: "\\eb35";\n}\n\n.codicon-references:before {\n content: "\\eb36";\n}\n\n.codicon-refresh:before {\n content: "\\eb37";\n}\n\n.codicon-regex:before {\n content: "\\eb38";\n}\n\n.codicon-remote-explorer:before {\n content: "\\eb39";\n}\n\n.codicon-remote:before {\n content: "\\eb3a";\n}\n\n.codicon-remove:before {\n content: "\\eb3b";\n}\n\n.codicon-replace-all:before {\n content: "\\eb3c";\n}\n\n.codicon-replace:before {\n content: "\\eb3d";\n}\n\n.codicon-repo-clone:before {\n content: "\\eb3e";\n}\n\n.codicon-repo-force-push:before {\n content: "\\eb3f";\n}\n\n.codicon-repo-pull:before {\n content: "\\eb40";\n}\n\n.codicon-repo-push:before {\n content: "\\eb41";\n}\n\n.codicon-report:before {\n content: "\\eb42";\n}\n\n.codicon-request-changes:before {\n content: "\\eb43";\n}\n\n.codicon-rocket:before {\n content: "\\eb44";\n}\n\n.codicon-root-folder-opened:before {\n content: "\\eb45";\n}\n\n.codicon-root-folder:before {\n content: "\\eb46";\n}\n\n.codicon-rss:before {\n content: "\\eb47";\n}\n\n.codicon-ruby:before {\n content: "\\eb48";\n}\n\n.codicon-save-all:before {\n content: "\\eb49";\n}\n\n.codicon-save-as:before {\n content: "\\eb4a";\n}\n\n.codicon-save:before {\n content: "\\eb4b";\n}\n\n.codicon-screen-full:before {\n content: "\\eb4c";\n}\n\n.codicon-screen-normal:before {\n content: "\\eb4d";\n}\n\n.codicon-search-stop:before {\n content: "\\eb4e";\n}\n\n.codicon-server:before {\n content: "\\eb50";\n}\n\n.codicon-settings-gear:before {\n content: "\\eb51";\n}\n\n.codicon-settings:before {\n content: "\\eb52";\n}\n\n.codicon-shield:before {\n content: "\\eb53";\n}\n\n.codicon-smiley:before {\n content: "\\eb54";\n}\n\n.codicon-sort-precedence:before {\n content: "\\eb55";\n}\n\n.codicon-split-horizontal:before {\n content: "\\eb56";\n}\n\n.codicon-split-vertical:before {\n content: "\\eb57";\n}\n\n.codicon-squirrel:before {\n content: "\\eb58";\n}\n\n.codicon-star-full:before {\n content: "\\eb59";\n}\n\n.codicon-star-half:before {\n content: "\\eb5a";\n}\n\n.codicon-symbol-class:before {\n content: "\\eb5b";\n}\n\n.codicon-symbol-color:before {\n content: "\\eb5c";\n}\n\n.codicon-symbol-constant:before {\n content: "\\eb5d";\n}\n\n.codicon-symbol-enum-member:before {\n content: "\\eb5e";\n}\n\n.codicon-symbol-field:before {\n content: "\\eb5f";\n}\n\n.codicon-symbol-file:before {\n content: "\\eb60";\n}\n\n.codicon-symbol-interface:before {\n content: "\\eb61";\n}\n\n.codicon-symbol-keyword:before {\n content: "\\eb62";\n}\n\n.codicon-symbol-misc:before {\n content: "\\eb63";\n}\n\n.codicon-symbol-operator:before {\n content: "\\eb64";\n}\n\n.codicon-symbol-property:before {\n content: "\\eb65";\n}\n\n.codicon-wrench:before {\n content: "\\eb65";\n}\n\n.codicon-wrench-subaction:before {\n content: "\\eb65";\n}\n\n.codicon-symbol-snippet:before {\n content: "\\eb66";\n}\n\n.codicon-tasklist:before {\n content: "\\eb67";\n}\n\n.codicon-telescope:before {\n content: "\\eb68";\n}\n\n.codicon-text-size:before {\n content: "\\eb69";\n}\n\n.codicon-three-bars:before {\n content: "\\eb6a";\n}\n\n.codicon-thumbsdown:before {\n content: "\\eb6b";\n}\n\n.codicon-thumbsup:before {\n content: "\\eb6c";\n}\n\n.codicon-tools:before {\n content: "\\eb6d";\n}\n\n.codicon-triangle-down:before {\n content: "\\eb6e";\n}\n\n.codicon-triangle-left:before {\n content: "\\eb6f";\n}\n\n.codicon-triangle-right:before {\n content: "\\eb70";\n}\n\n.codicon-triangle-up:before {\n content: "\\eb71";\n}\n\n.codicon-twitter:before {\n content: "\\eb72";\n}\n\n.codicon-unfold:before {\n content: "\\eb73";\n}\n\n.codicon-unlock:before {\n content: "\\eb74";\n}\n\n.codicon-unmute:before {\n content: "\\eb75";\n}\n\n.codicon-unverified:before {\n content: "\\eb76";\n}\n\n.codicon-verified:before {\n content: "\\eb77";\n}\n\n.codicon-versions:before {\n content: "\\eb78";\n}\n\n.codicon-vm-active:before {\n content: "\\eb79";\n}\n\n.codicon-vm-outline:before {\n content: "\\eb7a";\n}\n\n.codicon-vm-running:before {\n content: "\\eb7b";\n}\n\n.codicon-watch:before {\n content: "\\eb7c";\n}\n\n.codicon-whitespace:before {\n content: "\\eb7d";\n}\n\n.codicon-whole-word:before {\n content: "\\eb7e";\n}\n\n.codicon-window:before {\n content: "\\eb7f";\n}\n\n.codicon-word-wrap:before {\n content: "\\eb80";\n}\n\n.codicon-zoom-in:before {\n content: "\\eb81";\n}\n\n.codicon-zoom-out:before {\n content: "\\eb82";\n}\n\n.codicon-list-filter:before {\n content: "\\eb83";\n}\n\n.codicon-list-flat:before {\n content: "\\eb84";\n}\n\n.codicon-list-selection:before {\n content: "\\eb85";\n}\n\n.codicon-selection:before {\n content: "\\eb85";\n}\n\n.codicon-list-tree:before {\n content: "\\eb86";\n}\n\n.codicon-debug-breakpoint-function-unverified:before {\n content: "\\eb87";\n}\n\n.codicon-debug-breakpoint-function:before {\n content: "\\eb88";\n}\n\n.codicon-debug-breakpoint-function-disabled:before {\n content: "\\eb88";\n}\n\n.codicon-debug-stackframe-active:before {\n content: "\\eb89";\n}\n\n.codicon-circle-small-filled:before {\n content: "\\eb8a";\n}\n\n.codicon-debug-stackframe-dot:before {\n content: "\\eb8a";\n}\n\n.codicon-debug-stackframe:before {\n content: "\\eb8b";\n}\n\n.codicon-debug-stackframe-focused:before {\n content: "\\eb8b";\n}\n\n.codicon-debug-breakpoint-unsupported:before {\n content: "\\eb8c";\n}\n\n.codicon-symbol-string:before {\n content: "\\eb8d";\n}\n\n.codicon-debug-reverse-continue:before {\n content: "\\eb8e";\n}\n\n.codicon-debug-step-back:before {\n content: "\\eb8f";\n}\n\n.codicon-debug-restart-frame:before {\n content: "\\eb90";\n}\n\n.codicon-debug-alt:before {\n content: "\\eb91";\n}\n\n.codicon-call-incoming:before {\n content: "\\eb92";\n}\n\n.codicon-call-outgoing:before {\n content: "\\eb93";\n}\n\n.codicon-menu:before {\n content: "\\eb94";\n}\n\n.codicon-expand-all:before {\n content: "\\eb95";\n}\n\n.codicon-feedback:before {\n content: "\\eb96";\n}\n\n.codicon-group-by-ref-type:before {\n content: "\\eb97";\n}\n\n.codicon-ungroup-by-ref-type:before {\n content: "\\eb98";\n}\n\n.codicon-account:before {\n content: "\\eb99";\n}\n\n.codicon-bell-dot:before {\n content: "\\eb9a";\n}\n\n.codicon-debug-console:before {\n content: "\\eb9b";\n}\n\n.codicon-library:before {\n content: "\\eb9c";\n}\n\n.codicon-output:before {\n content: "\\eb9d";\n}\n\n.codicon-run-all:before {\n content: "\\eb9e";\n}\n\n.codicon-sync-ignored:before {\n content: "\\eb9f";\n}\n\n.codicon-pinned:before {\n content: "\\eba0";\n}\n\n.codicon-github-inverted:before {\n content: "\\eba1";\n}\n\n.codicon-server-process:before {\n content: "\\eba2";\n}\n\n.codicon-server-environment:before {\n content: "\\eba3";\n}\n\n.codicon-pass:before {\n content: "\\eba4";\n}\n\n.codicon-issue-closed:before {\n content: "\\eba4";\n}\n\n.codicon-stop-circle:before {\n content: "\\eba5";\n}\n\n.codicon-play-circle:before {\n content: "\\eba6";\n}\n\n.codicon-record:before {\n content: "\\eba7";\n}\n\n.codicon-debug-alt-small:before {\n content: "\\eba8";\n}\n\n.codicon-vm-connect:before {\n content: "\\eba9";\n}\n\n.codicon-cloud:before {\n content: "\\ebaa";\n}\n\n.codicon-merge:before {\n content: "\\ebab";\n}\n\n.codicon-export:before {\n content: "\\ebac";\n}\n\n.codicon-graph-left:before {\n content: "\\ebad";\n}\n\n.codicon-magnet:before {\n content: "\\ebae";\n}\n\n.codicon-notebook:before {\n content: "\\ebaf";\n}\n\n.codicon-redo:before {\n content: "\\ebb0";\n}\n\n.codicon-check-all:before {\n content: "\\ebb1";\n}\n\n.codicon-pinned-dirty:before {\n content: "\\ebb2";\n}\n\n.codicon-pass-filled:before {\n content: "\\ebb3";\n}\n\n.codicon-circle-large-filled:before {\n content: "\\ebb4";\n}\n\n.codicon-circle-large-outline:before {\n content: "\\ebb5";\n}\n\n.codicon-combine:before {\n content: "\\ebb6";\n}\n\n.codicon-gather:before {\n content: "\\ebb6";\n}\n\n.codicon-table:before {\n content: "\\ebb7";\n}\n\n.codicon-variable-group:before {\n content: "\\ebb8";\n}\n\n.codicon-type-hierarchy:before {\n content: "\\ebb9";\n}\n\n.codicon-type-hierarchy-sub:before {\n content: "\\ebba";\n}\n\n.codicon-type-hierarchy-super:before {\n content: "\\ebbb";\n}\n\n.codicon-git-pull-request-create:before {\n content: "\\ebbc";\n}\n\n.codicon-run-above:before {\n content: "\\ebbd";\n}\n\n.codicon-run-below:before {\n content: "\\ebbe";\n}\n\n.codicon-notebook-template:before {\n content: "\\ebbf";\n}\n\n.codicon-debug-rerun:before {\n content: "\\ebc0";\n}\n\n.codicon-workspace-trusted:before {\n content: "\\ebc1";\n}\n\n.codicon-workspace-untrusted:before {\n content: "\\ebc2";\n}\n\n.codicon-workspace-unknown:before {\n content: "\\ebc3";\n}\n\n.codicon-terminal-cmd:before {\n content: "\\ebc4";\n}\n\n.codicon-terminal-debian:before {\n content: "\\ebc5";\n}\n\n.codicon-terminal-linux:before {\n content: "\\ebc6";\n}\n\n.codicon-terminal-powershell:before {\n content: "\\ebc7";\n}\n\n.codicon-terminal-tmux:before {\n content: "\\ebc8";\n}\n\n.codicon-terminal-ubuntu:before {\n content: "\\ebc9";\n}\n\n.codicon-terminal-bash:before {\n content: "\\ebca";\n}\n\n.codicon-arrow-swap:before {\n content: "\\ebcb";\n}\n\n.codicon-copy:before {\n content: "\\ebcc";\n}\n\n.codicon-person-add:before {\n content: "\\ebcd";\n}\n\n.codicon-filter-filled:before {\n content: "\\ebce";\n}\n\n.codicon-wand:before {\n content: "\\ebcf";\n}\n\n.codicon-debug-line-by-line:before {\n content: "\\ebd0";\n}\n\n.codicon-inspect:before {\n content: "\\ebd1";\n}\n\n.codicon-layers:before {\n content: "\\ebd2";\n}\n\n.codicon-layers-dot:before {\n content: "\\ebd3";\n}\n\n.codicon-layers-active:before {\n content: "\\ebd4";\n}\n\n.codicon-compass:before {\n content: "\\ebd5";\n}\n\n.codicon-compass-dot:before {\n content: "\\ebd6";\n}\n\n.codicon-compass-active:before {\n content: "\\ebd7";\n}\n\n.codicon-azure:before {\n content: "\\ebd8";\n}\n\n.codicon-issue-draft:before {\n content: "\\ebd9";\n}\n\n.codicon-git-pull-request-closed:before {\n content: "\\ebda";\n}\n\n.codicon-git-pull-request-draft:before {\n content: "\\ebdb";\n}\n\n.codicon-debug-all:before {\n content: "\\ebdc";\n}\n\n.codicon-debug-coverage:before {\n content: "\\ebdd";\n}\n\n.codicon-run-errors:before {\n content: "\\ebde";\n}\n\n.codicon-folder-library:before {\n content: "\\ebdf";\n}\n\n.codicon-debug-continue-small:before {\n content: "\\ebe0";\n}\n\n.codicon-beaker-stop:before {\n content: "\\ebe1";\n}\n\n.codicon-graph-line:before {\n content: "\\ebe2";\n}\n\n.codicon-graph-scatter:before {\n content: "\\ebe3";\n}\n\n.codicon-pie-chart:before {\n content: "\\ebe4";\n}\n\n.codicon-bracket:before {\n content: "\\eb0f";\n}\n\n.codicon-bracket-dot:before {\n content: "\\ebe5";\n}\n\n.codicon-bracket-error:before {\n content: "\\ebe6";\n}\n\n.codicon-lock-small:before {\n content: "\\ebe7";\n}\n\n.codicon-azure-devops:before {\n content: "\\ebe8";\n}\n\n.codicon-verified-filled:before {\n content: "\\ebe9";\n}\n\n.codicon-newline:before {\n content: "\\ebea";\n}\n\n.codicon-layout:before {\n content: "\\ebeb";\n}\n\n.codicon-layout-activitybar-left:before {\n content: "\\ebec";\n}\n\n.codicon-layout-activitybar-right:before {\n content: "\\ebed";\n}\n\n.codicon-layout-panel-left:before {\n content: "\\ebee";\n}\n\n.codicon-layout-panel-center:before {\n content: "\\ebef";\n}\n\n.codicon-layout-panel-justify:before {\n content: "\\ebf0";\n}\n\n.codicon-layout-panel-right:before {\n content: "\\ebf1";\n}\n\n.codicon-layout-panel:before {\n content: "\\ebf2";\n}\n\n.codicon-layout-sidebar-left:before {\n content: "\\ebf3";\n}\n\n.codicon-layout-sidebar-right:before {\n content: "\\ebf4";\n}\n\n.codicon-layout-statusbar:before {\n content: "\\ebf5";\n}\n\n.codicon-layout-menubar:before {\n content: "\\ebf6";\n}\n\n.codicon-layout-centered:before {\n content: "\\ebf7";\n}\n\n.codicon-target:before {\n content: "\\ebf8";\n}\n\n.codicon-indent:before {\n content: "\\ebf9";\n}\n\n.codicon-record-small:before {\n content: "\\ebfa";\n}\n\n.codicon-error-small:before {\n content: "\\ebfb";\n}\n\n.codicon-arrow-circle-down:before {\n content: "\\ebfc";\n}\n\n.codicon-arrow-circle-left:before {\n content: "\\ebfd";\n}\n\n.codicon-arrow-circle-right:before {\n content: "\\ebfe";\n}\n\n.codicon-arrow-circle-up:before {\n content: "\\ebff";\n}\n\n.codicon-layout-sidebar-right-off:before {\n content: "\\ec00";\n}\n\n.codicon-layout-panel-off:before {\n content: "\\ec01";\n}\n\n.codicon-layout-sidebar-left-off:before {\n content: "\\ec02";\n}\n\n.codicon-blank:before {\n content: "\\ec03";\n}\n\n.codicon-heart-filled:before {\n content: "\\ec04";\n}\n\n.codicon-map:before {\n content: "\\ec05";\n}\n\n.codicon-map-filled:before {\n content: "\\ec06";\n}\n\n.codicon-circle-small:before {\n content: "\\ec07";\n}\n\n.codicon-bell-slash:before {\n content: "\\ec08";\n}\n\n.codicon-bell-slash-dot:before {\n content: "\\ec09";\n}\n\n.codicon-comment-unresolved:before {\n content: "\\ec0a";\n}\n\n.codicon-git-pull-request-go-to-changes:before {\n content: "\\ec0b";\n}\n\n.codicon-git-pull-request-new-changes:before {\n content: "\\ec0c";\n}\n\n@layer kol-component {\n :host {\n color: inherit;\n display: contents;\n height: 1em;\n line-height: inherit;\n width: 1em;\n }\n :host > i {\n height: 1em;\n width: 1em;\n }\n /*\n * The <code>:important</code> is important, because we should always override the font icon style.\n */\n :host > i,\n :host > i:before {\n font-size: inherit !important;\n }\n}',r=b,i=class{constructor(e){n(this,e),this._icons=void 0,this._label=void 0,this.state={_icons:"codicon codicon-home",_label:""}}render(){const n=this.state._label.length>0;return e(o,{key:"bb1b08e5ef77c5b3f47b40cf5e573127892797c7",exportparts:"icon"},e("i",{key:"4b6922c75b794b9bd1f24a922f4410c1fed0d242","aria-hidden":n?void 0:"true","aria-label":n?this.state._label:void 0,class:this.state._icons,part:"icon",role:"img"}))}validateIcons(n){c(this,"_icons",n,{required:!0})}validateLabel(n){t(this,n,{required:!0})}componentWillLoad(){this.validateIcons(this._icons),this.validateLabel(this._label)}static get watchers(){return{_icons:["validateIcons"],_label:["validateLabel"]}}};i.style={default:r};export{i as kol_icon};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolIconDefaultStyle0","KolIcon","_icons","_label","render","ariaShow","this","state","length","h","Host","key","exportparts","undefined","class","part","role","validateIcons","value","watchString","required","validateLabel","componentWillLoad"],"sources":["src/components/icon/style.css?tag=kol-icon&mode=default&encapsulation=shadow","src/components/icon/component.tsx"],"sourcesContent":["@import url(../../assets/codicons/codicon.css);\n@layer kol-component {\n\t:host {\n\t\tcolor: inherit;\n\t\tdisplay: contents;\n\t\theight: 1em;\n\t\tline-height: inherit;\n\t\twidth: 1em;\n\t}\n\n\t:host > i {\n\t\theight: 1em;\n\t\twidth: 1em;\n\t}\n\n\t/*\n * The <code>:important</code> is important, because we should always override the font icon style.\n */\n\t:host > i,\n\t:host > i:before {\n\t\tfont-size: inherit !important;\n\t}\n}\n","import type { IconAPI, IconStates, LabelPropType } from '@public-ui/schema';\nimport { validateLabel, watchString } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport type { JSX } from '@stencil/core';\n/**\n * @part icon - Ermöglicht das Styling des inneren Icons.\n */\n@Component({\n\ttag: 'kol-icon',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolIcon implements IconAPI {\n\tpublic render(): JSX.Element {\n\t\tconst ariaShow = this.state._label.length > 0;\n\t\treturn (\n\t\t\t<Host exportparts=\"icon\">\n\t\t\t\t<i\n\t\t\t\t\taria-hidden={ariaShow ? undefined : 'true'}\n\t\t\t\t\t/**\n\t\t\t\t\t * Die Auszeichnung `aria-hidden` ist eigentlich nicht erforderlich, da die aktuellen\n\t\t\t\t\t * Screenreader, wie NVDA und JAWS, es auch ohne `aria-hidden` nicht vorlesen.\n\t\t\t\t\t *\n\t\t\t\t\t * Referenz: https://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden\n\t\t\t\t\t */\n\t\t\t\t\taria-label={ariaShow ? this.state._label : undefined}\n\t\t\t\t\tclass={this.state._icons}\n\t\t\t\t\tpart=\"icon\"\n\t\t\t\t\trole=\"img\"\n\t\t\t\t></i>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons!: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t@State() public state: IconStates = {\n\t\t_icons: 'codicon codicon-home',\n\t\t_label: '', // ⚠ required\n\t};\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: string): void {\n\t\twatchString(this, '_icons', value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateLabel(this._label);\n\t}\n}\n"],"mappings":";;;qGAAA,MAAMA,EAAkB,mk3BACxB,MAAAC,EAAeD,E,MCcFE,EAAO,M,gFAgCiB,CACnCC,OAAQ,uBACRC,OAAQ,G,CAjCF,MAAAC,GACN,MAAMC,EAAWC,KAAKC,MAAMJ,OAAOK,OAAS,EAC5C,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,YAAY,QACjBH,EAAA,KAAAE,IAAA,yDACcN,EAAWQ,UAAY,OAAM,aAO9BR,EAAWC,KAAKC,MAAMJ,OAASU,UAC3CC,MAAOR,KAAKC,MAAML,OAClBa,KAAK,OACLC,KAAK,Q,CAsBF,aAAAC,CAAcC,GACpBC,EAAYb,KAAM,SAAUY,EAAO,CAClCE,SAAU,M,CAKL,aAAAC,CAAcH,GACpBG,EAAcf,KAAMY,EAAO,CAC1BE,SAAU,M,CAIL,iBAAAE,GACNhB,KAAKW,cAAcX,KAAKJ,QACxBI,KAAKe,cAAcf,KAAKH,O"}
1
+ {"version":3,"names":["defaultStyleCss","KolIconDefaultStyle0","KolIcon","_icons","_label","render","ariaShow","this","state","length","h","Host","key","exportparts","undefined","class","part","role","validateIcons","value","watchString","required","validateLabel","componentWillLoad"],"sources":["src/components/icon/style.scss?tag=kol-icon&mode=default&encapsulation=shadow","src/components/icon/component.tsx"],"sourcesContent":["@import '../../assets/codicons/codicon';\n\n@layer kol-component {\n\t:host {\n\t\tcolor: inherit;\n\t\tdisplay: contents;\n\t\theight: 1em;\n\t\tline-height: inherit;\n\t\twidth: 1em;\n\t}\n\n\t:host > i {\n\t\theight: 1em;\n\t\twidth: 1em;\n\t}\n\n\t/*\n * The <code>:important</code> is important, because we should always override the font icon style.\n */\n\t:host > i,\n\t:host > i:before {\n\t\tfont-size: inherit !important;\n\t}\n}\n","import type { IconAPI, IconStates, LabelPropType } from '@public-ui/schema';\nimport { validateLabel, watchString } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport type { JSX } from '@stencil/core';\n/**\n * @part icon - Ermöglicht das Styling des inneren Icons.\n */\n@Component({\n\ttag: 'kol-icon',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolIcon implements IconAPI {\n\tpublic render(): JSX.Element {\n\t\tconst ariaShow = this.state._label.length > 0;\n\t\treturn (\n\t\t\t<Host exportparts=\"icon\">\n\t\t\t\t<i\n\t\t\t\t\taria-hidden={ariaShow ? undefined : 'true'}\n\t\t\t\t\t/**\n\t\t\t\t\t * Die Auszeichnung `aria-hidden` ist eigentlich nicht erforderlich, da die aktuellen\n\t\t\t\t\t * Screenreader, wie NVDA und JAWS, es auch ohne `aria-hidden` nicht vorlesen.\n\t\t\t\t\t *\n\t\t\t\t\t * Referenz: https://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden\n\t\t\t\t\t */\n\t\t\t\t\taria-label={ariaShow ? this.state._label : undefined}\n\t\t\t\t\tclass={this.state._icons}\n\t\t\t\t\tpart=\"icon\"\n\t\t\t\t\trole=\"img\"\n\t\t\t\t></i>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons!: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t@State() public state: IconStates = {\n\t\t_icons: 'codicon codicon-home',\n\t\t_label: '', // ⚠ required\n\t};\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: string): void {\n\t\twatchString(this, '_icons', value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateLabel(this._label);\n\t}\n}\n"],"mappings":";;;qGAAA,MAAMA,EAAkB,gj+BACxB,MAAAC,EAAeD,E,MCcFE,EAAO,M,gFAgCiB,CACnCC,OAAQ,uBACRC,OAAQ,G,CAjCF,MAAAC,GACN,MAAMC,EAAWC,KAAKC,MAAMJ,OAAOK,OAAS,EAC5C,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,YAAY,QACjBH,EAAA,KAAAE,IAAA,yDACcN,EAAWQ,UAAY,OAAM,aAO9BR,EAAWC,KAAKC,MAAMJ,OAASU,UAC3CC,MAAOR,KAAKC,MAAML,OAClBa,KAAK,OACLC,KAAK,Q,CAsBF,aAAAC,CAAcC,GACpBC,EAAYb,KAAM,SAAUY,EAAO,CAClCE,SAAU,M,CAKL,aAAAC,CAAcH,GACpBG,EAAcf,KAAMY,EAAO,CAC1BE,SAAU,M,CAIL,iBAAAE,GACNhB,KAAKW,cAAcX,KAAKJ,QACxBI,KAAKe,cAAcf,KAAKH,O"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as i,H as s}from"./index-62e5924b.js";import{C as a,E as e,F as d}from"./index-c3ae175d.js";const n="@layer kol-component {\n\t:host {\n\t\tdisplay: inline-block;\n\t}\n\timg {\n\t\tmax-height: 100%;\n\t\tmax-width: 100%;\n\t}\n}\n",h=n,r=class{constructor(s){t(this,s),this._alt=void 0,this._loading="lazy",this._sizes=void 0,this._src=void 0,this._srcset=void 0,this.state={_alt:"",_loading:"lazy",_src:""}}validateAlt(t){a(this,"_alt",t,{required:!0})}validateLoading(t){e(this,t)}validateSizes(t){a(this,"_sizes",t)}validateSrc(t){d(this,t,{required:!0})}validateSrcset(t){a(this,"_srcset",t)}componentWillLoad(){this.validateAlt(this._alt),this.validateLoading(this._loading),this.validateSizes(this._sizes),this.validateSrc(this._src),this.validateSrcset(this._srcset)}render(){return i(s,{key:"fa4060a68dc8c17a0095fbbc022945fd0898a708"},i("img",{key:"01c112546e862a87b4dafb60575c973522aa87d7",alt:this.state._alt,loading:this.state._loading,sizes:this.state._sizes,src:this.state._src,srcset:this.state._srcset}))}static get watchers(){return{_alt:["validateAlt"],_loading:["validateLoading"],_sizes:["validateSizes"],_src:["validateSrc"],_srcset:["validateSrcset"]}}};r.style={default:h};export{r as kol_image};
4
+ import{r as t,h as i,H as s}from"./index-62e5924b.js";import{C as e,E as a,F as d}from"./index-de9d4ee0.js";const n="@layer kol-component {\n :host {\n display: inline-block;\n }\n img {\n max-height: 100%;\n max-width: 100%;\n }\n}",h=n,r=class{constructor(s){t(this,s),this._alt=void 0,this._loading="lazy",this._sizes=void 0,this._src=void 0,this._srcset=void 0,this.state={_alt:"",_loading:"lazy",_src:""}}validateAlt(t){e(this,"_alt",t,{required:!0})}validateLoading(t){a(this,t)}validateSizes(t){e(this,"_sizes",t)}validateSrc(t){d(this,t,{required:!0})}validateSrcset(t){e(this,"_srcset",t)}componentWillLoad(){this.validateAlt(this._alt),this.validateLoading(this._loading),this.validateSizes(this._sizes),this.validateSrc(this._src),this.validateSrcset(this._srcset)}render(){return i(s,{key:"a274fbeb038347870980b95c3bc4f7e0c72b9403"},i("img",{key:"4188ccb1e37d89b469efdd50c8a9d2039cb3d05b",alt:this.state._alt,loading:this.state._loading,sizes:this.state._sizes,src:this.state._src,srcset:this.state._srcset}))}static get watchers(){return{_alt:["validateAlt"],_loading:["validateLoading"],_sizes:["validateSizes"],_src:["validateSrc"],_srcset:["validateSrcset"]}}};r.style={default:h};export{r as kol_image};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolImageDefaultStyle0","KolImage","_alt","_loading","_src","validateAlt","value","watchString","this","required","validateLoading","validateSizes","validateSrc","validateImageSource","validateSrcset","componentWillLoad","_sizes","_srcset","render","h","Host","key","alt","state","loading","sizes","src","srcset"],"sources":["src/components/image/style.css?tag=kol-image&mode=default&encapsulation=shadow","src/components/image/shadow.tsx"],"sourcesContent":["@layer kol-component {\n\t:host {\n\t\tdisplay: inline-block;\n\t}\n\timg {\n\t\tmax-height: 100%;\n\t\tmax-width: 100%;\n\t}\n}\n","import type { ImageAPI, ImageSourcePropType, ImageStates, Loading } from '@public-ui/schema';\nimport { validateImageSource, validateLoading, watchString } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport type { JSX } from '@stencil/core';\n@Component({\n\ttag: 'kol-image',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolImage implements ImageAPI {\n\t/**\n\t * Setzt den alternativen Text.\n\t */\n\t@Prop() public _alt!: string;\n\n\t/**\n\t * Defines the loading mode for the image.\n\t */\n\t@Prop() public _loading?: Loading = 'lazy';\n\n\t/**\n\t * Defines the image sizes for different screen resolutions, supporting _srcset.\n\t */\n\t@Prop() public _sizes?: string;\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop() public _src!: ImageSourcePropType;\n\n\t/**\n\t * Setzt eine Liste von Quell-URLs mit Breiten der Bilder.\n\t */\n\t@Prop() public _srcset?: string;\n\n\t@State() public state: ImageStates = {\n\t\t_alt: '', // ⚠ required\n\t\t_loading: 'lazy',\n\t\t_src: '', // ⚠ required\n\t};\n\n\t@Watch('_alt')\n\tpublic validateAlt(value?: string): void {\n\t\twatchString(this, '_alt', value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_loading')\n\tpublic validateLoading(value?: Loading): void {\n\t\tvalidateLoading(this, value);\n\t}\n\n\t@Watch('_sizes')\n\tpublic validateSizes(value?: string): void {\n\t\twatchString(this, '_sizes', value);\n\t}\n\n\t@Watch('_src')\n\tpublic validateSrc(value?: ImageSourcePropType): void {\n\t\tvalidateImageSource(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_srcset')\n\tpublic validateSrcset(value?: string): void {\n\t\twatchString(this, '_srcset', value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlt(this._alt);\n\t\tthis.validateLoading(this._loading);\n\t\tthis.validateSizes(this._sizes);\n\t\tthis.validateSrc(this._src);\n\t\tthis.validateSrcset(this._srcset);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<img alt={this.state._alt} loading={this.state._loading} sizes={this.state._sizes} src={this.state._src} srcset={this.state._srcset}></img>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":";;;4GAAA,MAAMA,EAAkB,qIACxB,MAAAC,EAAeD,E,MCWFE,EAAQ,M,2DASgB,O,4EAiBC,CACpCC,KAAM,GACNC,SAAU,OACVC,KAAM,G,CAIA,WAAAC,CAAYC,GAClBC,EAAYC,KAAM,OAAQF,EAAO,CAChCG,SAAU,M,CAKL,eAAAC,CAAgBJ,GACtBI,EAAgBF,KAAMF,E,CAIhB,aAAAK,CAAcL,GACpBC,EAAYC,KAAM,SAAUF,E,CAItB,WAAAM,CAAYN,GAClBO,EAAoBL,KAAMF,EAAO,CAChCG,SAAU,M,CAKL,cAAAK,CAAeR,GACrBC,EAAYC,KAAM,UAAWF,E,CAGvB,iBAAAS,GACNP,KAAKH,YAAYG,KAAKN,MACtBM,KAAKE,gBAAgBF,KAAKL,UAC1BK,KAAKG,cAAcH,KAAKQ,QACxBR,KAAKI,YAAYJ,KAAKJ,MACtBI,KAAKM,eAAeN,KAAKS,Q,CAGnB,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,2CAAKC,IAAKd,KAAKe,MAAMrB,KAAMsB,QAAShB,KAAKe,MAAMpB,SAAUsB,MAAOjB,KAAKe,MAAMP,OAAQU,IAAKlB,KAAKe,MAAMnB,KAAMuB,OAAQnB,KAAKe,MAAMN,U"}
1
+ {"version":3,"names":["defaultStyleCss","KolImageDefaultStyle0","KolImage","_alt","_loading","_src","validateAlt","value","watchString","this","required","validateLoading","validateSizes","validateSrc","validateImageSource","validateSrcset","componentWillLoad","_sizes","_srcset","render","h","Host","key","alt","state","loading","sizes","src","srcset"],"sources":["src/components/image/style.scss?tag=kol-image&mode=default&encapsulation=shadow","src/components/image/shadow.tsx"],"sourcesContent":["@layer kol-component {\n\t:host {\n\t\tdisplay: inline-block;\n\t}\n\timg {\n\t\tmax-height: 100%;\n\t\tmax-width: 100%;\n\t}\n}\n","import type { ImageAPI, ImageSourcePropType, ImageStates, Loading } from '@public-ui/schema';\nimport { validateImageSource, validateLoading, watchString } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport type { JSX } from '@stencil/core';\n@Component({\n\ttag: 'kol-image',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolImage implements ImageAPI {\n\t/**\n\t * Setzt den alternativen Text.\n\t */\n\t@Prop() public _alt!: string;\n\n\t/**\n\t * Defines the loading mode for the image.\n\t */\n\t@Prop() public _loading?: Loading = 'lazy';\n\n\t/**\n\t * Defines the image sizes for different screen resolutions, supporting _srcset.\n\t */\n\t@Prop() public _sizes?: string;\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop() public _src!: ImageSourcePropType;\n\n\t/**\n\t * Setzt eine Liste von Quell-URLs mit Breiten der Bilder.\n\t */\n\t@Prop() public _srcset?: string;\n\n\t@State() public state: ImageStates = {\n\t\t_alt: '', // ⚠ required\n\t\t_loading: 'lazy',\n\t\t_src: '', // ⚠ required\n\t};\n\n\t@Watch('_alt')\n\tpublic validateAlt(value?: string): void {\n\t\twatchString(this, '_alt', value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_loading')\n\tpublic validateLoading(value?: Loading): void {\n\t\tvalidateLoading(this, value);\n\t}\n\n\t@Watch('_sizes')\n\tpublic validateSizes(value?: string): void {\n\t\twatchString(this, '_sizes', value);\n\t}\n\n\t@Watch('_src')\n\tpublic validateSrc(value?: ImageSourcePropType): void {\n\t\tvalidateImageSource(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_srcset')\n\tpublic validateSrcset(value?: string): void {\n\t\twatchString(this, '_srcset', value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlt(this._alt);\n\t\tthis.validateLoading(this._loading);\n\t\tthis.validateSizes(this._sizes);\n\t\tthis.validateSrc(this._src);\n\t\tthis.validateSrcset(this._srcset);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<img alt={this.state._alt} loading={this.state._loading} sizes={this.state._sizes} src={this.state._src} srcset={this.state._srcset}></img>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":";;;4GAAA,MAAMA,EAAkB,mIACxB,MAAAC,EAAeD,E,MCWFE,EAAQ,M,2DASgB,O,4EAiBC,CACpCC,KAAM,GACNC,SAAU,OACVC,KAAM,G,CAIA,WAAAC,CAAYC,GAClBC,EAAYC,KAAM,OAAQF,EAAO,CAChCG,SAAU,M,CAKL,eAAAC,CAAgBJ,GACtBI,EAAgBF,KAAMF,E,CAIhB,aAAAK,CAAcL,GACpBC,EAAYC,KAAM,SAAUF,E,CAItB,WAAAM,CAAYN,GAClBO,EAAoBL,KAAMF,EAAO,CAChCG,SAAU,M,CAKL,cAAAK,CAAeR,GACrBC,EAAYC,KAAM,UAAWF,E,CAGvB,iBAAAS,GACNP,KAAKH,YAAYG,KAAKN,MACtBM,KAAKE,gBAAgBF,KAAKL,UAC1BK,KAAKG,cAAcH,KAAKQ,QACxBR,KAAKI,YAAYJ,KAAKJ,MACtBI,KAAKM,eAAeN,KAAKS,Q,CAGnB,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,2CAAKC,IAAKd,KAAKe,MAAMrB,KAAMsB,QAAShB,KAAKe,MAAMpB,SAAUsB,MAAOjB,KAAKe,MAAMP,OAAQU,IAAKlB,KAAKe,MAAMnB,KAAMuB,OAAQnB,KAAKe,MAAMN,U"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as n,H as e}from"./index-62e5924b.js";const i="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * Minimum size of interactive elements.\n\t\t */\n\t\t--a11y-min-size: 44px;\n\t\t/*\n\t\t * No element should be used without a background and font color whose contrast ratio has\n\t\t * not been checked. By initially setting the background color to white and the font color\n\t\t * to black, the contrast ratio is ensured and explicit adjustment is forced.\n\t\t */\n\t\tbackground-color: white;\n\t\tcolor: black;\n\t\t/*\n\t\t * Verdana is an accessible font that can be used without requiring additional loading time.\n\t\t */\n\t\tfont-family: Verdana;\n\t}\n\n\t* {\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\thyphens: auto;\n\t\t/*\n\t\t * Letter spacing is required for all texts.\n\t\t */\n\t\tletter-spacing: inherit;\n\t\t/*\n\t\t * This rule enables the word dividing for all texts. That is important for high zoom levels.\n\t\t */\n\t\tword-break: break-word;\n\t\t/*\n\t\t * Word spacing is required for all texts.\n\t\t */\n\t\tword-spacing: inherit;\n\t}\n\n\t/*\n\t * All interactive elements should have a minimum size of 44px.\n\t */\n\t/* input:not([type='checkbox'], [type='radio'], [type='range']), */\n\t/* option, */\n\t/* select, */\n\t/* textarea, */\n\t[role='button'],\n\tbutton:not([role='link']),\n\tkol-input .input {\n\t\tmin-height: var(--a11y-min-size);\n\t\tmin-width: var(--a11y-min-size);\n\t}\n\n\t/*\n\t * Some interactive elements should not inherit the font-family and font-size.\n\t */\n\ta,\n\tbutton,\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\t/*\n\t\t * All elements should inherit the font family from his parent element.\n\t\t */\n\t\tfont-family: inherit;\n\t\t/*\n\t\t * All elements should inherit the font size from his parent element.\n\t\t */\n\t\tfont-size: inherit;\n\t}\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\tclip: rect(0 0 0 0);\n\tclip-path: inset(50%);\n\theight: 1px;\n\toverflow: hidden;\n\tposition: absolute;\n\twhite-space: nowrap;\n\twidth: 1px;\n}\n\n@layer kol-global {\n\t/*\n\t * Dieses CSS stellt sicher, dass der Standard-Style\n\t * von A und Button resettet werden.\n\t */\n\t:is(a, button) {\n\t\tbackground-color: transparent;\n\t\tborder: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\twidth: 100%; /* 100% needed for custom width from outside */\n\t}\n\n\t/*\n\t * Ensure elements with hidden attribute to be actually not visible\n\t * @see https://meowni.ca/hidden.is.a.lie.html\n\t */\n\t[hidden] {\n\t\tdisplay: none !important;\n\t}\n}\n\n@layer kol-global {\n\t:host {\n\t\t/*\n\t\t * The max-width is needed to prevent the table from overflowing the\n\t\t * parent node, if the table is wider than the parent node.\n\t\t */\n\t\tmax-width: 100%;\n\t}\n\n\t* {\n\t\t/*\n\t\t * We prefer to box-sizing: border-box for all elements.\n\t\t */\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n\tkol-span-wc {\n\t\tdisplay: grid;\n\t\tplace-items: center;\n\t}\n\n\t/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n\tkol-span-wc > span {\n\t\tdisplay: flex;\n\t\tplace-items: center;\n\t}\n\n\ta,\n\tbutton {\n\t\tcursor: pointer;\n\t}\n\n\t.hidden {\n\t\tdisplay: none;\n\t\tvisibility: hidden;\n\t}\n\n\t/* This is the text label. */\n\t.hide-label > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n\n\t.disabled label,\n\t[aria-disabled='true'],\n\t[disabled] {\n\t\tcursor: not-allowed;\n\t\topacity: 0.5;\n\t\toutline: none;\n\t}\n}\n\n@layer kol-component {\n\t:host {\n\t\tdisplay: block;\n\t}\n}\n\n@layer kol-component {\n\t:host > div {\n\t\tborder-left-style: solid;\n\t\tpadding-left: 0.5em;\n\t}\n}\n",o=i,a=class{constructor(n){t(this,n),this.state={}}render(){return n(e,{key:"c4a28b561e6f9759fed50c19ba6dd7731fbf6b68"},n("div",{key:"73f0c897232209f6027ff2f500cd4b4a9efb0331"},n("slot",{key:"a1ee7c1f37038705cbadd7632623d4e6ce2a5f55"})))}};a.style={default:o};export{a as kol_indented_text};
4
+ import{r as n,h as e,H as t}from"./index-62e5924b.js";const i="/*\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 :host > div {\n border-left-style: solid;\n padding-left: 0.5em;\n }\n}",o=i,a=class{constructor(e){n(this,e),this.state={}}render(){return e(t,{key:"62a2cc3d0c022eb93fd9661480f129c715f4a434"},e("div",{key:"32d7c6d57df2684bda333eda04976aded7cd0f4d"},e("slot",{key:"4db4d1cabe55b45220d1eb42f881ec687df8d6e7"})))}};a.style={default:o};export{a as kol_indented_text};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolIndentedTextDefaultStyle0","KolIndentedText","render","h","Host","key"],"sources":["src/components/indented-text/style.css?tag=kol-indented-text&mode=default&encapsulation=shadow","src/components/indented-text/component.tsx"],"sourcesContent":["@import url(../style.css);\n@import url(../host-display-block.css);\n@layer kol-component {\n\t:host > div {\n\t\tborder-left-style: solid;\n\t\tpadding-left: 0.5em;\n\t}\n}\n","import type { IndentedTextAPI, IndentedTextStates } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Host, State } from '@stencil/core';\n\n/**\n * @slot - Der Text.\n */\n@Component({\n\ttag: 'kol-indented-text',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolIndentedText implements IndentedTextAPI {\n\t@State() public state: IndentedTextStates = {};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div>\n\t\t\t\t\t{/* TODO: Für was wird dieses div benötigt? */}\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":";;;sDAAA,MAAMA,EAAkB,k9HACxB,MAAAC,EAAeD,E,MCaFE,EAAe,M,oCACiB,E,CAErC,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,4CAECF,EAAA,QAAAE,IAAA,8C"}
1
+ {"version":3,"names":["defaultStyleCss","KolIndentedTextDefaultStyle0","KolIndentedText","render","h","Host","key"],"sources":["src/components/indented-text/style.scss?tag=kol-indented-text&mode=default&encapsulation=shadow","src/components/indented-text/component.tsx"],"sourcesContent":["@import '../style';\n@import '../host-display-block';\n\n@layer kol-component {\n\t:host > div {\n\t\tborder-left-style: solid;\n\t\tpadding-left: 0.5em;\n\t}\n}\n","import type { IndentedTextAPI, IndentedTextStates } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Host, State } from '@stencil/core';\n\n/**\n * @slot - Der Text.\n */\n@Component({\n\ttag: 'kol-indented-text',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolIndentedText implements IndentedTextAPI {\n\t@State() public state: IndentedTextStates = {};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div>\n\t\t\t\t\t{/* TODO: Für was wird dieses div benötigt? */}\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":";;;sDAAA,MAAMA,EAAkB,ouIACxB,MAAAC,EAAeD,E,MCaFE,EAAe,M,oCACiB,E,CAErC,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,4CAECF,EAAA,QAAAE,IAAA,8C"}