@public-ui/components 2.0.0-rc.6 → 2.0.0-rc.7

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 (368) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/{a11y.tipps-91e6a303.js → a11y.tipps-13961a3e.js} +1 -1
  3. package/dist/cjs/{a11y.tipps-91e6a303.js.map → a11y.tipps-13961a3e.js.map} +1 -1
  4. package/dist/cjs/access-key-66d949a2.js +4 -0
  5. package/dist/cjs/{access-key-5fe7eedb.js.map → access-key-66d949a2.js.map} +1 -1
  6. package/dist/cjs/{alignment-86e87aca.js → alignment-d8d93bcc.js} +1 -1
  7. package/dist/cjs/{alignment-86e87aca.js.map → alignment-d8d93bcc.js.map} +1 -1
  8. package/dist/cjs/alternative-button-link-role-32af3169.js +4 -0
  9. package/dist/cjs/{alternative-button-link-role-d99da0f8.js.map → alternative-button-link-role-32af3169.js.map} +1 -1
  10. package/dist/cjs/{app-globals-ac58ae8f.js → app-globals-76c9f3c4.js} +1 -1
  11. package/dist/cjs/{app-globals-ac58ae8f.js.map → app-globals-76c9f3c4.js.map} +1 -1
  12. package/dist/cjs/{associated.controller-2d107864.js → associated.controller-85ad4137.js} +1 -1
  13. package/dist/cjs/{associated.controller-2d107864.js.map → associated.controller-85ad4137.js.map} +1 -1
  14. package/dist/cjs/{color-03e36edf.js → color-0e083fb1.js} +1 -1
  15. package/dist/cjs/{color-03e36edf.js.map → color-0e083fb1.js.map} +1 -1
  16. package/dist/cjs/{controller-ee271465.js → controller-11d48c41.js} +1 -1
  17. package/dist/cjs/{controller-ee271465.js.map → controller-11d48c41.js.map} +1 -1
  18. package/dist/cjs/{controller-120e1333.js → controller-2f728a2a.js} +1 -1
  19. package/dist/cjs/{controller-120e1333.js.map → controller-2f728a2a.js.map} +1 -1
  20. package/dist/cjs/{controller-c15b473b.js → controller-4758e38e.js} +1 -1
  21. package/dist/cjs/{controller-c15b473b.js.map → controller-4758e38e.js.map} +1 -1
  22. package/dist/cjs/controller-5e097cbf.js +4 -0
  23. package/dist/cjs/{controller-56885ef0.js.map → controller-5e097cbf.js.map} +1 -1
  24. package/dist/cjs/{controller-19b94b08.js → controller-67d26bdb.js} +1 -1
  25. package/dist/cjs/{controller-19b94b08.js.map → controller-67d26bdb.js.map} +1 -1
  26. package/dist/cjs/{controller-icon-f7b60716.js → controller-icon-28ac9e91.js} +1 -1
  27. package/dist/cjs/{controller-icon-f7b60716.js.map → controller-icon-28ac9e91.js.map} +1 -1
  28. package/dist/cjs/custom-class-ad08f81b.js +4 -0
  29. package/dist/cjs/{custom-class-ed101b87.js.map → custom-class-ad08f81b.js.map} +1 -1
  30. package/dist/cjs/{dev.utils-5f0c3b7d.js → dev.utils-4a7a715c.js} +1 -1
  31. package/dist/cjs/{dev.utils-5f0c3b7d.js.map → dev.utils-4a7a715c.js.map} +1 -1
  32. package/dist/cjs/{devtools-26e86ead.js → devtools-29801d81.js} +1 -1
  33. package/dist/cjs/{devtools-26e86ead.js.map → devtools-29801d81.js.map} +1 -1
  34. package/dist/cjs/has-closer-f4c5efb9.js +4 -0
  35. package/dist/cjs/{has-closer-0140b049.js.map → has-closer-f4c5efb9.js.map} +1 -1
  36. package/dist/cjs/hide-label-859cd049.js +4 -0
  37. package/dist/cjs/{hide-label-72171d2b.js.map → hide-label-859cd049.js.map} +1 -1
  38. package/dist/cjs/{i18n-42767646.js → i18n-a60f7b8b.js} +1 -1
  39. package/dist/cjs/{i18n-42767646.js.map → i18n-a60f7b8b.js.map} +1 -1
  40. package/dist/cjs/{icons-6be116f2.js → icons-a479d531.js} +1 -1
  41. package/dist/cjs/{icons-6be116f2.js.map → icons-a479d531.js.map} +1 -1
  42. package/dist/cjs/image-source-771280d9.js +4 -0
  43. package/dist/cjs/{image-source-f283f0ea.js.map → image-source-771280d9.js.map} +1 -1
  44. package/dist/cjs/{index-d12ab3a8.js → index-18be06de.js} +1 -1
  45. package/dist/cjs/{index-d12ab3a8.js.map → index-18be06de.js.map} +1 -1
  46. package/dist/cjs/index.cjs.js +1 -1
  47. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-alert-wc_2.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-button-wc_2.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-popover.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  91. package/dist/cjs/kolibri.cjs.js +1 -1
  92. package/dist/cjs/{label-f1bb026a.js → label-16173ee3.js} +1 -1
  93. package/dist/cjs/{label-f1bb026a.js.map → label-16173ee3.js.map} +1 -1
  94. package/dist/cjs/loader.cjs.js +1 -1
  95. package/dist/cjs/open-83faa92b.js +4 -0
  96. package/dist/cjs/{open-b82318b2.js.map → open-83faa92b.js.map} +1 -1
  97. package/dist/cjs/{prop.validators-d0c36c3f.js → prop.validators-c97e54e9.js} +1 -1
  98. package/dist/cjs/{prop.validators-d0c36c3f.js.map → prop.validators-c97e54e9.js.map} +1 -1
  99. package/dist/cjs/rows-ba283da4.js +4 -0
  100. package/dist/cjs/{rows-3afa56f3.js.map → rows-ba283da4.js.map} +1 -1
  101. package/dist/cjs/show-ffec52ac.js +4 -0
  102. package/dist/cjs/{show-9104c9b1.js.map → show-ffec52ac.js.map} +1 -1
  103. package/dist/cjs/suggestions-e8517899.js +4 -0
  104. package/dist/cjs/{suggestions-f2df9189.js.map → suggestions-e8517899.js.map} +1 -1
  105. package/dist/cjs/{tab-index-bcdca21e.js → tab-index-b7f27fdd.js} +1 -1
  106. package/dist/cjs/{tab-index-bcdca21e.js.map → tab-index-b7f27fdd.js.map} +1 -1
  107. package/dist/cjs/{tooltip-align-0e5ab85b.js → tooltip-align-cbaec0e7.js} +1 -1
  108. package/dist/cjs/{tooltip-align-0e5ab85b.js.map → tooltip-align-cbaec0e7.js.map} +1 -1
  109. package/dist/cjs/{validation-5e914a29.js → validation-2e04a007.js} +1 -1
  110. package/dist/cjs/{validation-5e914a29.js.map → validation-2e04a007.js.map} +1 -1
  111. package/dist/cjs/{validation-c699f0e1.js → validation-5f949393.js} +1 -1
  112. package/dist/cjs/{validation-c699f0e1.js.map → validation-5f949393.js.map} +1 -1
  113. package/dist/components/prop.validators.js +1 -1
  114. package/dist/components/prop.validators.js.map +1 -1
  115. package/dist/esm/{a11y.tipps-06cd7c77.js → a11y.tipps-29a5e350.js} +1 -1
  116. package/dist/esm/{a11y.tipps-06cd7c77.js.map → a11y.tipps-29a5e350.js.map} +1 -1
  117. package/dist/esm/{access-key-d58c03d6.js → access-key-82fd2724.js} +1 -1
  118. package/dist/esm/{access-key-d58c03d6.js.map → access-key-82fd2724.js.map} +1 -1
  119. package/dist/esm/{alignment-de1c6559.js → alignment-e8b3d455.js} +1 -1
  120. package/dist/esm/{alignment-de1c6559.js.map → alignment-e8b3d455.js.map} +1 -1
  121. package/dist/esm/alternative-button-link-role-611e14a4.js +4 -0
  122. package/dist/esm/{alternative-button-link-role-8db83e93.js.map → alternative-button-link-role-611e14a4.js.map} +1 -1
  123. package/dist/esm/{app-globals-77b2422c.js → app-globals-05ba37c8.js} +1 -1
  124. package/dist/esm/{app-globals-77b2422c.js.map → app-globals-05ba37c8.js.map} +1 -1
  125. package/dist/esm/{associated.controller-1124284d.js → associated.controller-44a2c750.js} +1 -1
  126. package/dist/esm/{associated.controller-1124284d.js.map → associated.controller-44a2c750.js.map} +1 -1
  127. package/dist/esm/{color-84b42735.js → color-3735c03a.js} +1 -1
  128. package/dist/esm/{color-84b42735.js.map → color-3735c03a.js.map} +1 -1
  129. package/dist/esm/{controller-6a175634.js → controller-039bdc8a.js} +1 -1
  130. package/dist/esm/{controller-6a175634.js.map → controller-039bdc8a.js.map} +1 -1
  131. package/dist/esm/{controller-f38fc4fc.js → controller-57b57421.js} +1 -1
  132. package/dist/esm/{controller-f38fc4fc.js.map → controller-57b57421.js.map} +1 -1
  133. package/dist/esm/{controller-98501396.js → controller-5c808627.js} +1 -1
  134. package/dist/esm/{controller-98501396.js.map → controller-5c808627.js.map} +1 -1
  135. package/dist/esm/{controller-7e5c82c1.js → controller-6e746874.js} +1 -1
  136. package/dist/esm/{controller-7e5c82c1.js.map → controller-6e746874.js.map} +1 -1
  137. package/dist/esm/{controller-5a0cb886.js → controller-96c73cb1.js} +1 -1
  138. package/dist/esm/{controller-5a0cb886.js.map → controller-96c73cb1.js.map} +1 -1
  139. package/dist/esm/{controller-icon-ffe0af69.js → controller-icon-df4caeef.js} +1 -1
  140. package/dist/esm/{controller-icon-ffe0af69.js.map → controller-icon-df4caeef.js.map} +1 -1
  141. package/dist/esm/custom-class-78068fe1.js +4 -0
  142. package/dist/esm/{custom-class-6ba43df0.js.map → custom-class-78068fe1.js.map} +1 -1
  143. package/dist/esm/{dev.utils-075f4e7b.js → dev.utils-365879e7.js} +1 -1
  144. package/dist/esm/{dev.utils-075f4e7b.js.map → dev.utils-365879e7.js.map} +1 -1
  145. package/dist/esm/{devtools-d3472315.js → devtools-4b2aa3d1.js} +1 -1
  146. package/dist/esm/{devtools-d3472315.js.map → devtools-4b2aa3d1.js.map} +1 -1
  147. package/dist/esm/{has-closer-d28fec0f.js → has-closer-8722579a.js} +1 -1
  148. package/dist/esm/{has-closer-d28fec0f.js.map → has-closer-8722579a.js.map} +1 -1
  149. package/dist/esm/{hide-label-3381f0cc.js → hide-label-864b40c5.js} +1 -1
  150. package/dist/esm/{hide-label-3381f0cc.js.map → hide-label-864b40c5.js.map} +1 -1
  151. package/dist/esm/{i18n-8ec5b30e.js → i18n-08622fb5.js} +1 -1
  152. package/dist/esm/{i18n-8ec5b30e.js.map → i18n-08622fb5.js.map} +1 -1
  153. package/dist/esm/{icons-062ba29d.js → icons-548e1642.js} +1 -1
  154. package/dist/esm/{icons-062ba29d.js.map → icons-548e1642.js.map} +1 -1
  155. package/dist/esm/{image-source-ceb96521.js → image-source-a819638e.js} +1 -1
  156. package/dist/esm/{image-source-ceb96521.js.map → image-source-a819638e.js.map} +1 -1
  157. package/dist/esm/{index-b79e4012.js → index-44a0c937.js} +1 -1
  158. package/dist/esm/{index-b79e4012.js.map → index-44a0c937.js.map} +1 -1
  159. package/dist/esm/index.js +1 -1
  160. package/dist/esm/kol-abbr.entry.js +1 -1
  161. package/dist/esm/kol-accordion.entry.js +1 -1
  162. package/dist/esm/kol-alert-wc_2.entry.js +1 -1
  163. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  164. package/dist/esm/kol-badge.entry.js +1 -1
  165. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  166. package/dist/esm/kol-button-wc_2.entry.js +1 -1
  167. package/dist/esm/kol-card.entry.js +1 -1
  168. package/dist/esm/kol-details.entry.js +1 -1
  169. package/dist/esm/kol-form.entry.js +1 -1
  170. package/dist/esm/kol-icon.entry.js +1 -1
  171. package/dist/esm/kol-image.entry.js +1 -1
  172. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  173. package/dist/esm/kol-input-color.entry.js +1 -1
  174. package/dist/esm/kol-input-date.entry.js +1 -1
  175. package/dist/esm/kol-input-email.entry.js +1 -1
  176. package/dist/esm/kol-input-file.entry.js +1 -1
  177. package/dist/esm/kol-input-number.entry.js +1 -1
  178. package/dist/esm/kol-input-password.entry.js +1 -1
  179. package/dist/esm/kol-input-radio.entry.js +1 -1
  180. package/dist/esm/kol-input-range.entry.js +1 -1
  181. package/dist/esm/kol-input-text.entry.js +1 -1
  182. package/dist/esm/kol-input.entry.js +1 -1
  183. package/dist/esm/kol-kolibri.entry.js +1 -1
  184. package/dist/esm/kol-link-button.entry.js +1 -1
  185. package/dist/esm/kol-link-group.entry.js +1 -1
  186. package/dist/esm/kol-link-wc.entry.js +1 -1
  187. package/dist/esm/kol-logo.entry.js +1 -1
  188. package/dist/esm/kol-modal.entry.js +1 -1
  189. package/dist/esm/kol-nav.entry.js +1 -1
  190. package/dist/esm/kol-pagination.entry.js +1 -1
  191. package/dist/esm/kol-popover.entry.js +1 -1
  192. package/dist/esm/kol-progress.entry.js +1 -1
  193. package/dist/esm/kol-quote.entry.js +1 -1
  194. package/dist/esm/kol-select.entry.js +1 -1
  195. package/dist/esm/kol-skip-nav.entry.js +1 -1
  196. package/dist/esm/kol-span-wc.entry.js +1 -1
  197. package/dist/esm/kol-spin.entry.js +1 -1
  198. package/dist/esm/kol-symbol.entry.js +1 -1
  199. package/dist/esm/kol-table.entry.js +1 -1
  200. package/dist/esm/kol-tabs.entry.js +1 -1
  201. package/dist/esm/kol-textarea.entry.js +1 -1
  202. package/dist/esm/kol-toast-container.entry.js +1 -1
  203. package/dist/esm/kol-version.entry.js +1 -1
  204. package/dist/esm/kolibri.js +1 -1
  205. package/dist/esm/{label-5c173d60.js → label-d63f8231.js} +1 -1
  206. package/dist/esm/{label-5c173d60.js.map → label-d63f8231.js.map} +1 -1
  207. package/dist/esm/loader.js +1 -1
  208. package/dist/esm/{open-47384c18.js → open-8318a668.js} +1 -1
  209. package/dist/esm/{open-47384c18.js.map → open-8318a668.js.map} +1 -1
  210. package/dist/esm/{prop.validators-3d53ddab.js → prop.validators-9bbd95a9.js} +1 -1
  211. package/dist/esm/{prop.validators-3d53ddab.js.map → prop.validators-9bbd95a9.js.map} +1 -1
  212. package/dist/esm/{rows-1eebe49e.js → rows-f0d81385.js} +1 -1
  213. package/dist/esm/{rows-1eebe49e.js.map → rows-f0d81385.js.map} +1 -1
  214. package/dist/esm/{show-3e682c46.js → show-4fbd910d.js} +1 -1
  215. package/dist/esm/{show-3e682c46.js.map → show-4fbd910d.js.map} +1 -1
  216. package/dist/esm/{suggestions-04f64716.js → suggestions-c147fcd3.js} +1 -1
  217. package/dist/esm/{suggestions-04f64716.js.map → suggestions-c147fcd3.js.map} +1 -1
  218. package/dist/esm/{tab-index-d2d0d9db.js → tab-index-7088e34e.js} +1 -1
  219. package/dist/esm/{tab-index-d2d0d9db.js.map → tab-index-7088e34e.js.map} +1 -1
  220. package/dist/esm/{tooltip-align-c09e55cd.js → tooltip-align-e5d0e2b8.js} +1 -1
  221. package/dist/esm/{tooltip-align-c09e55cd.js.map → tooltip-align-e5d0e2b8.js.map} +1 -1
  222. package/dist/esm/{validation-c57e7be5.js → validation-e6649d46.js} +1 -1
  223. package/dist/esm/{validation-c57e7be5.js.map → validation-e6649d46.js.map} +1 -1
  224. package/dist/esm/validation-f6f3bfaa.js +4 -0
  225. package/dist/esm/{validation-68e14b6f.js.map → validation-f6f3bfaa.js.map} +1 -1
  226. package/dist/kolibri/{a11y.tipps-06cd7c77.js → a11y.tipps-29a5e350.js} +1 -1
  227. package/dist/kolibri/access-key-82fd2724.js +4 -0
  228. package/dist/kolibri/{alignment-de1c6559.js → alignment-e8b3d455.js} +1 -1
  229. package/dist/kolibri/alternative-button-link-role-611e14a4.js +4 -0
  230. package/dist/kolibri/app-globals-05ba37c8.js +4 -0
  231. package/dist/kolibri/{associated.controller-1124284d.js → associated.controller-44a2c750.js} +1 -1
  232. package/dist/kolibri/{color-84b42735.js → color-3735c03a.js} +1 -1
  233. package/dist/kolibri/{controller-6a175634.js → controller-039bdc8a.js} +1 -1
  234. package/dist/kolibri/{controller-f38fc4fc.js → controller-57b57421.js} +1 -1
  235. package/dist/kolibri/{controller-98501396.js → controller-5c808627.js} +1 -1
  236. package/dist/kolibri/{controller-7e5c82c1.js → controller-6e746874.js} +1 -1
  237. package/dist/kolibri/{controller-5a0cb886.js → controller-96c73cb1.js} +1 -1
  238. package/dist/kolibri/controller-icon-df4caeef.js +4 -0
  239. package/dist/kolibri/custom-class-78068fe1.js +4 -0
  240. package/dist/kolibri/{dev.utils-075f4e7b.js → dev.utils-365879e7.js} +1 -1
  241. package/dist/kolibri/{dev.utils-075f4e7b.js.map → dev.utils-365879e7.js.map} +1 -1
  242. package/dist/kolibri/{devtools-d3472315.js → devtools-4b2aa3d1.js} +1 -1
  243. package/dist/kolibri/has-closer-8722579a.js +4 -0
  244. package/dist/kolibri/hide-label-864b40c5.js +4 -0
  245. package/dist/kolibri/{i18n-8ec5b30e.js → i18n-08622fb5.js} +1 -1
  246. package/dist/kolibri/{icons-062ba29d.js → icons-548e1642.js} +1 -1
  247. package/dist/kolibri/image-source-a819638e.js +4 -0
  248. package/dist/kolibri/{index-b79e4012.js → index-44a0c937.js} +1 -1
  249. package/dist/kolibri/index.esm.js +1 -1
  250. package/dist/kolibri/kol-abbr.entry.js +1 -1
  251. package/dist/kolibri/kol-accordion.entry.js +1 -1
  252. package/dist/kolibri/kol-alert-wc_2.entry.js +1 -1
  253. package/dist/kolibri/kol-alert-wc_2.entry.js.map +1 -1
  254. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  255. package/dist/kolibri/kol-badge.entry.js +1 -1
  256. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  257. package/dist/kolibri/kol-button-wc_2.entry.js +1 -1
  258. package/dist/kolibri/kol-card.entry.js +1 -1
  259. package/dist/kolibri/kol-details.entry.js +1 -1
  260. package/dist/kolibri/kol-form.entry.js +1 -1
  261. package/dist/kolibri/kol-icon.entry.js +1 -1
  262. package/dist/kolibri/kol-image.entry.js +1 -1
  263. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  264. package/dist/kolibri/kol-input-color.entry.js +1 -1
  265. package/dist/kolibri/kol-input-date.entry.js +1 -1
  266. package/dist/kolibri/kol-input-email.entry.js +1 -1
  267. package/dist/kolibri/kol-input-file.entry.js +1 -1
  268. package/dist/kolibri/kol-input-number.entry.js +1 -1
  269. package/dist/kolibri/kol-input-password.entry.js +1 -1
  270. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  271. package/dist/kolibri/kol-input-range.entry.js +1 -1
  272. package/dist/kolibri/kol-input-text.entry.js +1 -1
  273. package/dist/kolibri/kol-input.entry.js +1 -1
  274. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  275. package/dist/kolibri/kol-link-button.entry.js +1 -1
  276. package/dist/kolibri/kol-link-group.entry.js +1 -1
  277. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  278. package/dist/kolibri/kol-logo.entry.js +1 -1
  279. package/dist/kolibri/kol-modal.entry.js +1 -1
  280. package/dist/kolibri/kol-nav.entry.js +1 -1
  281. package/dist/kolibri/kol-pagination.entry.js +1 -1
  282. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  283. package/dist/kolibri/kol-popover.entry.js +1 -1
  284. package/dist/kolibri/kol-progress.entry.js +1 -1
  285. package/dist/kolibri/kol-quote.entry.js +1 -1
  286. package/dist/kolibri/kol-select.entry.js +1 -1
  287. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  288. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  289. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  290. package/dist/kolibri/kol-spin.entry.js +1 -1
  291. package/dist/kolibri/kol-symbol.entry.js +1 -1
  292. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  293. package/dist/kolibri/kol-table.entry.js +1 -1
  294. package/dist/kolibri/kol-tabs.entry.js +1 -1
  295. package/dist/kolibri/kol-textarea.entry.js +1 -1
  296. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  297. package/dist/kolibri/kol-version.entry.js +1 -1
  298. package/dist/kolibri/kolibri.esm.js +1 -1
  299. package/dist/kolibri/{label-5c173d60.js → label-d63f8231.js} +1 -1
  300. package/dist/kolibri/open-8318a668.js +4 -0
  301. package/dist/kolibri/{prop.validators-3d53ddab.js → prop.validators-9bbd95a9.js} +1 -1
  302. package/dist/kolibri/rows-f0d81385.js +4 -0
  303. package/dist/kolibri/show-4fbd910d.js +4 -0
  304. package/dist/kolibri/{suggestions-04f64716.js → suggestions-c147fcd3.js} +1 -1
  305. package/dist/kolibri/tab-index-7088e34e.js +4 -0
  306. package/dist/kolibri/{tab-index-d2d0d9db.js.map → tab-index-7088e34e.js.map} +1 -1
  307. package/dist/kolibri/tooltip-align-e5d0e2b8.js +4 -0
  308. package/dist/kolibri/{validation-c57e7be5.js → validation-e6649d46.js} +1 -1
  309. package/dist/kolibri/validation-f6f3bfaa.js +4 -0
  310. package/package.json +1 -1
  311. package/dist/cjs/access-key-5fe7eedb.js +0 -4
  312. package/dist/cjs/alternative-button-link-role-d99da0f8.js +0 -4
  313. package/dist/cjs/controller-56885ef0.js +0 -4
  314. package/dist/cjs/custom-class-ed101b87.js +0 -4
  315. package/dist/cjs/has-closer-0140b049.js +0 -4
  316. package/dist/cjs/hide-label-72171d2b.js +0 -4
  317. package/dist/cjs/image-source-f283f0ea.js +0 -4
  318. package/dist/cjs/open-b82318b2.js +0 -4
  319. package/dist/cjs/rows-3afa56f3.js +0 -4
  320. package/dist/cjs/show-9104c9b1.js +0 -4
  321. package/dist/cjs/suggestions-f2df9189.js +0 -4
  322. package/dist/esm/alternative-button-link-role-8db83e93.js +0 -4
  323. package/dist/esm/custom-class-6ba43df0.js +0 -4
  324. package/dist/esm/validation-68e14b6f.js +0 -4
  325. package/dist/kolibri/access-key-d58c03d6.js +0 -4
  326. package/dist/kolibri/alternative-button-link-role-8db83e93.js +0 -4
  327. package/dist/kolibri/app-globals-77b2422c.js +0 -4
  328. package/dist/kolibri/controller-icon-ffe0af69.js +0 -4
  329. package/dist/kolibri/custom-class-6ba43df0.js +0 -4
  330. package/dist/kolibri/has-closer-d28fec0f.js +0 -4
  331. package/dist/kolibri/hide-label-3381f0cc.js +0 -4
  332. package/dist/kolibri/image-source-ceb96521.js +0 -4
  333. package/dist/kolibri/open-47384c18.js +0 -4
  334. package/dist/kolibri/rows-1eebe49e.js +0 -4
  335. package/dist/kolibri/show-3e682c46.js +0 -4
  336. package/dist/kolibri/tab-index-d2d0d9db.js +0 -4
  337. package/dist/kolibri/tooltip-align-c09e55cd.js +0 -4
  338. package/dist/kolibri/validation-68e14b6f.js +0 -4
  339. /package/dist/kolibri/{a11y.tipps-06cd7c77.js.map → a11y.tipps-29a5e350.js.map} +0 -0
  340. /package/dist/kolibri/{access-key-d58c03d6.js.map → access-key-82fd2724.js.map} +0 -0
  341. /package/dist/kolibri/{alignment-de1c6559.js.map → alignment-e8b3d455.js.map} +0 -0
  342. /package/dist/kolibri/{alternative-button-link-role-8db83e93.js.map → alternative-button-link-role-611e14a4.js.map} +0 -0
  343. /package/dist/kolibri/{app-globals-77b2422c.js.map → app-globals-05ba37c8.js.map} +0 -0
  344. /package/dist/kolibri/{associated.controller-1124284d.js.map → associated.controller-44a2c750.js.map} +0 -0
  345. /package/dist/kolibri/{color-84b42735.js.map → color-3735c03a.js.map} +0 -0
  346. /package/dist/kolibri/{controller-6a175634.js.map → controller-039bdc8a.js.map} +0 -0
  347. /package/dist/kolibri/{controller-f38fc4fc.js.map → controller-57b57421.js.map} +0 -0
  348. /package/dist/kolibri/{controller-98501396.js.map → controller-5c808627.js.map} +0 -0
  349. /package/dist/kolibri/{controller-7e5c82c1.js.map → controller-6e746874.js.map} +0 -0
  350. /package/dist/kolibri/{controller-5a0cb886.js.map → controller-96c73cb1.js.map} +0 -0
  351. /package/dist/kolibri/{controller-icon-ffe0af69.js.map → controller-icon-df4caeef.js.map} +0 -0
  352. /package/dist/kolibri/{custom-class-6ba43df0.js.map → custom-class-78068fe1.js.map} +0 -0
  353. /package/dist/kolibri/{devtools-d3472315.js.map → devtools-4b2aa3d1.js.map} +0 -0
  354. /package/dist/kolibri/{has-closer-d28fec0f.js.map → has-closer-8722579a.js.map} +0 -0
  355. /package/dist/kolibri/{hide-label-3381f0cc.js.map → hide-label-864b40c5.js.map} +0 -0
  356. /package/dist/kolibri/{i18n-8ec5b30e.js.map → i18n-08622fb5.js.map} +0 -0
  357. /package/dist/kolibri/{icons-062ba29d.js.map → icons-548e1642.js.map} +0 -0
  358. /package/dist/kolibri/{image-source-ceb96521.js.map → image-source-a819638e.js.map} +0 -0
  359. /package/dist/kolibri/{index-b79e4012.js.map → index-44a0c937.js.map} +0 -0
  360. /package/dist/kolibri/{label-5c173d60.js.map → label-d63f8231.js.map} +0 -0
  361. /package/dist/kolibri/{open-47384c18.js.map → open-8318a668.js.map} +0 -0
  362. /package/dist/kolibri/{prop.validators-3d53ddab.js.map → prop.validators-9bbd95a9.js.map} +0 -0
  363. /package/dist/kolibri/{rows-1eebe49e.js.map → rows-f0d81385.js.map} +0 -0
  364. /package/dist/kolibri/{show-3e682c46.js.map → show-4fbd910d.js.map} +0 -0
  365. /package/dist/kolibri/{suggestions-04f64716.js.map → suggestions-c147fcd3.js.map} +0 -0
  366. /package/dist/kolibri/{tooltip-align-c09e55cd.js.map → tooltip-align-e5d0e2b8.js.map} +0 -0
  367. /package/dist/kolibri/{validation-c57e7be5.js.map → validation-e6649d46.js.map} +0 -0
  368. /package/dist/kolibri/{validation-68e14b6f.js.map → validation-f6f3bfaa.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),label=require("./label-f1bb026a.js"),prop_validators=require("./prop.validators-d0c36c3f.js");var KoliBriProgressVariantEnum;require("./a11y.tipps-91e6a303.js"),require("./dev.utils-5f0c3b7d.js"),require("./reuse-786396d6.js"),function(t){t.bar="bar",t.cycle="cycle",t["cycle-value-label"]="cycle-value-label",t["cycle-label-value"]="cycle-label-value"}(KoliBriProgressVariantEnum||(KoliBriProgressVariantEnum={}));const defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\tprogress {\n\t\tdisplay: block;\n\t\theight: 0;\n\t\toverflow: hidden;\n\t\twidth: 0;\n\t}\n\n\t.bar .border {\n\t\tfill: transparent;\n\t\tstroke: black;\n\t}\n\n\t.bar .background {\n\t\tfill: lightgray;\n\t\tstroke: white;\n\t}\n\n\t.bar .progress {\n\t\tfill: #0075ff;\n\t\tstroke: transparent;\n\t\ttransition: 250ms ease-in-out 50ms;\n\t}\n\n\t.cycle .background {\n\t\tfill: transparent;\n\t\tstroke: lightgray;\n\t}\n\n\t.cycle .border {\n\t\tfill: transparent;\n\t\tstroke: black;\n\t}\n\n\t.cycle .whitespace {\n\t\tfill: transparent;\n\t\tstroke: white;\n\t}\n\n\t.cycle .progress {\n\t\tfill: transparent;\n\t\tstroke: #0075ff;\n\t\ttransform-origin: 50% 50%;\n\t\ttransform: rotate(-90deg);\n\t\ttransition: 250ms ease-in-out 50ms;\n\t}\n\n\t/* https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion */\n\t@media (prefers-reduced-motion) {\n\t\t.progress {\n\t\t\ttransition-duration: 0s;\n\t\t\ttransition-delay: 0s;\n\t\t}\n\t}\n}\n",VALID_VARIANTS=Object.keys(KoliBriProgressVariantEnum),createProgressSVG=t=>{let e="43%",n=t._label?"57%":"50%";switch(t._variant){case"cycle-value-label":t._label&&(e="57%",n="43%");case"cycle":case"cycle-label-value":return index.h("svg",{class:"cycle",width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},index.h("circle",{class:"background",cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),index.h("circle",{class:"whitespace",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),index.h("circle",{class:"border",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"whitespace",cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"border",cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"progress",fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":`${Math.round(t._value/t._max*342)}px 342px`,"stroke-width":"6",cx:"60",cy:"60",r:"54.5"}),t._label&&index.h("text",{"aria-hidden":"true",x:"50%",y:e,"text-anchor":"middle",fill:"currentColor"},t._label),index.h("text",{"aria-hidden":"true",x:"50%",y:n,"text-anchor":"middle",fill:"currentColor"},t._value,t._unit));default:return index.h("div",{class:"bar"},t._label&&index.h("div",null,t._label),index.h("div",{style:{display:"flex",gap:"0.3em"}},index.h("svg",{width:"100",viewBox:"0 0 102 8",xmlns:"http://www.w3.org/2000/svg"},index.h("rect",{class:"background",x:"1",y:"1",height:"10",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100"}),index.h("rect",{class:"progress",x:"2.5",y:"2.5",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:t._value/t._max*95}),index.h("rect",{class:"border",x:"1",y:"1",height:"10",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100"})),index.h("text",{"aria-hidden":"true","text-anchor":"middle","dominant-baseline":"central",fill:"currentColor"},t._value,t._unit)))}},KolProcess=class{constructor(t){index.registerInstance(this,t),this._label=void 0,this._max=void 0,this._unit="%",this._value=void 0,this._variant=void 0,this.state={_max:100,_unit:"%",_value:0,_variant:"bar",_liveValue:0}}render(){return index.h(index.Host,null,createProgressSVG(this.state),index.h("progress",{"aria-busy":this.state._value<this.state._max?"true":"false",max:this.state._max,value:this.state._value}),index.h("span",{"aria-live":"polite","aria-relevant":"removals text",hidden:!0},this.state._liveValue," von ",this.state._max," ",this.state._unit))}validateLabel(t){label.validateLabel(this,t)}validateMax(t){"number"!=typeof t&&(t=100),prop_validators.watchNumber(this,"_max",t,{required:!0})}validateUnit(t){prop_validators.watchString(this,"_unit",t)}validateValue(t){"number"!=typeof t&&(t=0),prop_validators.watchNumber(this,"_value",t,{required:!0})}validateVariant(t){prop_validators.watchValidator(this,"_variant",(t=>"string"==typeof t&&VALID_VARIANTS.includes(t)),new Set(VALID_VARIANTS),t)}componentWillLoad(){this.validateLabel(this._label),this.validateMax(this._max),this.validateUnit(this._unit),this.validateValue(this._value),this.validateVariant(this._variant),this.interval=setInterval((()=>{this.state._liveValue!==this.state._value&&(this.state=Object.assign(Object.assign({},this.state),{_liveValue:this.state._value}))}),5e3)}disconnectedCallback(){clearInterval(this.interval)}static get watchers(){return{_label:["validateLabel"],_max:["validateMax"],_unit:["validateUnit"],_value:["validateValue"],_variant:["validateVariant"]}}};KolProcess.style={default:defaultStyleCss},exports.kol_progress=KolProcess;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),label=require("./label-16173ee3.js"),prop_validators=require("./prop.validators-c97e54e9.js");var KoliBriProgressVariantEnum;require("./a11y.tipps-13961a3e.js"),require("./dev.utils-4a7a715c.js"),require("./reuse-786396d6.js"),function(t){t.bar="bar",t.cycle="cycle",t["cycle-value-label"]="cycle-value-label",t["cycle-label-value"]="cycle-label-value"}(KoliBriProgressVariantEnum||(KoliBriProgressVariantEnum={}));const defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\tprogress {\n\t\tdisplay: block;\n\t\theight: 0;\n\t\toverflow: hidden;\n\t\twidth: 0;\n\t}\n\n\t.bar .border {\n\t\tfill: transparent;\n\t\tstroke: black;\n\t}\n\n\t.bar .background {\n\t\tfill: lightgray;\n\t\tstroke: white;\n\t}\n\n\t.bar .progress {\n\t\tfill: #0075ff;\n\t\tstroke: transparent;\n\t\ttransition: 250ms ease-in-out 50ms;\n\t}\n\n\t.cycle .background {\n\t\tfill: transparent;\n\t\tstroke: lightgray;\n\t}\n\n\t.cycle .border {\n\t\tfill: transparent;\n\t\tstroke: black;\n\t}\n\n\t.cycle .whitespace {\n\t\tfill: transparent;\n\t\tstroke: white;\n\t}\n\n\t.cycle .progress {\n\t\tfill: transparent;\n\t\tstroke: #0075ff;\n\t\ttransform-origin: 50% 50%;\n\t\ttransform: rotate(-90deg);\n\t\ttransition: 250ms ease-in-out 50ms;\n\t}\n\n\t/* https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion */\n\t@media (prefers-reduced-motion) {\n\t\t.progress {\n\t\t\ttransition-duration: 0s;\n\t\t\ttransition-delay: 0s;\n\t\t}\n\t}\n}\n",VALID_VARIANTS=Object.keys(KoliBriProgressVariantEnum),createProgressSVG=t=>{let e="43%",n=t._label?"57%":"50%";switch(t._variant){case"cycle-value-label":t._label&&(e="57%",n="43%");case"cycle":case"cycle-label-value":return index.h("svg",{class:"cycle",width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},index.h("circle",{class:"background",cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),index.h("circle",{class:"whitespace",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),index.h("circle",{class:"border",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"whitespace",cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"border",cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"progress",fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":`${Math.round(t._value/t._max*342)}px 342px`,"stroke-width":"6",cx:"60",cy:"60",r:"54.5"}),t._label&&index.h("text",{"aria-hidden":"true",x:"50%",y:e,"text-anchor":"middle",fill:"currentColor"},t._label),index.h("text",{"aria-hidden":"true",x:"50%",y:n,"text-anchor":"middle",fill:"currentColor"},t._value,t._unit));default:return index.h("div",{class:"bar"},t._label&&index.h("div",null,t._label),index.h("div",{style:{display:"flex",gap:"0.3em"}},index.h("svg",{width:"100",viewBox:"0 0 102 8",xmlns:"http://www.w3.org/2000/svg"},index.h("rect",{class:"background",x:"1",y:"1",height:"10",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100"}),index.h("rect",{class:"progress",x:"2.5",y:"2.5",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:t._value/t._max*95}),index.h("rect",{class:"border",x:"1",y:"1",height:"10",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100"})),index.h("text",{"aria-hidden":"true","text-anchor":"middle","dominant-baseline":"central",fill:"currentColor"},t._value,t._unit)))}},KolProcess=class{constructor(t){index.registerInstance(this,t),this._label=void 0,this._max=void 0,this._unit="%",this._value=void 0,this._variant=void 0,this.state={_max:100,_unit:"%",_value:0,_variant:"bar",_liveValue:0}}render(){return index.h(index.Host,null,createProgressSVG(this.state),index.h("progress",{"aria-busy":this.state._value<this.state._max?"true":"false",max:this.state._max,value:this.state._value}),index.h("span",{"aria-live":"polite","aria-relevant":"removals text",hidden:!0},this.state._liveValue," von ",this.state._max," ",this.state._unit))}validateLabel(t){label.validateLabel(this,t)}validateMax(t){"number"!=typeof t&&(t=100),prop_validators.watchNumber(this,"_max",t,{required:!0})}validateUnit(t){prop_validators.watchString(this,"_unit",t)}validateValue(t){"number"!=typeof t&&(t=0),prop_validators.watchNumber(this,"_value",t,{required:!0})}validateVariant(t){prop_validators.watchValidator(this,"_variant",(t=>"string"==typeof t&&VALID_VARIANTS.includes(t)),new Set(VALID_VARIANTS),t)}componentWillLoad(){this.validateLabel(this._label),this.validateMax(this._max),this.validateUnit(this._unit),this.validateValue(this._value),this.validateVariant(this._variant),this.interval=setInterval((()=>{this.state._liveValue!==this.state._value&&(this.state=Object.assign(Object.assign({},this.state),{_liveValue:this.state._value}))}),5e3)}disconnectedCallback(){clearInterval(this.interval)}static get watchers(){return{_label:["validateLabel"],_max:["validateMax"],_unit:["validateUnit"],_value:["validateValue"],_variant:["validateVariant"]}}};KolProcess.style={default:defaultStyleCss},exports.kol_progress=KolProcess;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),label=require("./label-f1bb026a.js"),prop_validators=require("./prop.validators-d0c36c3f.js"),reuse=require("./reuse-786396d6.js");require("./a11y.tipps-91e6a303.js"),require("./dev.utils-5f0c3b7d.js");const koliBriQuoteVariantOptions=["block","inline"],defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\tcite,\n\tfigure,\n\tq + figcaption {\n\t\tdisplay: inline;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\tblockquote:before {\n\t\tcontent: open-quote;\n\t}\n\n\tblockquote::after {\n\t\tcontent: close-quote;\n\t}\n\n\tcite:before {\n\t\tcontent: '—';\n\t}\n\n\t.block cite:before {\n\t\tpadding-right: 0.5em;\n\t}\n\n\t.inline cite:before {\n\t\tpadding: 0.5em;\n\t}\n}\n",KolQuote=class{constructor(t){index.registerInstance(this,t),this._label=void 0,this._href=void 0,this._quote=void 0,this._variant="inline",this.state={_href:"…",_quote:"…",_variant:"inline"}}validateLabel(t){label.validateLabel(this,t)}validateHref(t){prop_validators.watchString(this,"_href",t,{required:!0})}validateQuote(t){prop_validators.watchString(this,"_quote",t,{required:!0})}validateVariant(t){prop_validators.watchValidator(this,"_variant",(t=>"string"==typeof t&&koliBriQuoteVariantOptions.includes(t)),new Set(koliBriQuoteVariantOptions),t)}componentWillLoad(){this.validateHref(this._href),this.validateLabel(this._label),this.validateQuote(this._quote),this.validateVariant(this._variant)}render(){const t=reuse.showExpertSlot(this.state._quote);return index.h(index.Host,null,index.h("figure",{class:{[this.state._variant]:!0}},"block"===this.state._variant?index.h("blockquote",{cite:this.state._href},this.state._quote,index.h("span",{"aria-hidden":t?void 0:"true",hidden:!t},index.h("slot",{name:"expert"}))):index.h("q",{cite:this.state._href},this.state._quote,index.h("span",{"aria-hidden":t?void 0:"true",hidden:!t},index.h("slot",{name:"expert"}))),"string"==typeof this.state._label&&this.state._label.length>0&&index.h("figcaption",null,index.h("cite",null,index.h("kol-link",{_href:this.state._href,_label:this.state._label,_target:"_blank"})))))}static get watchers(){return{_label:["validateLabel"],_href:["validateHref"],_quote:["validateQuote"],_variant:["validateVariant"]}}};KolQuote.style={default:defaultStyleCss},exports.kol_quote=KolQuote;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),label=require("./label-16173ee3.js"),prop_validators=require("./prop.validators-c97e54e9.js"),reuse=require("./reuse-786396d6.js");require("./a11y.tipps-13961a3e.js"),require("./dev.utils-4a7a715c.js");const koliBriQuoteVariantOptions=["block","inline"],defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\tcite,\n\tfigure,\n\tq + figcaption {\n\t\tdisplay: inline;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\tblockquote:before {\n\t\tcontent: open-quote;\n\t}\n\n\tblockquote::after {\n\t\tcontent: close-quote;\n\t}\n\n\tcite:before {\n\t\tcontent: '—';\n\t}\n\n\t.block cite:before {\n\t\tpadding-right: 0.5em;\n\t}\n\n\t.inline cite:before {\n\t\tpadding: 0.5em;\n\t}\n}\n",KolQuote=class{constructor(t){index.registerInstance(this,t),this._label=void 0,this._href=void 0,this._quote=void 0,this._variant="inline",this.state={_href:"…",_quote:"…",_variant:"inline"}}validateLabel(t){label.validateLabel(this,t)}validateHref(t){prop_validators.watchString(this,"_href",t,{required:!0})}validateQuote(t){prop_validators.watchString(this,"_quote",t,{required:!0})}validateVariant(t){prop_validators.watchValidator(this,"_variant",(t=>"string"==typeof t&&koliBriQuoteVariantOptions.includes(t)),new Set(koliBriQuoteVariantOptions),t)}componentWillLoad(){this.validateHref(this._href),this.validateLabel(this._label),this.validateQuote(this._quote),this.validateVariant(this._variant)}render(){const t=reuse.showExpertSlot(this.state._quote);return index.h(index.Host,null,index.h("figure",{class:{[this.state._variant]:!0}},"block"===this.state._variant?index.h("blockquote",{cite:this.state._href},this.state._quote,index.h("span",{"aria-hidden":t?void 0:"true",hidden:!t},index.h("slot",{name:"expert"}))):index.h("q",{cite:this.state._href},this.state._quote,index.h("span",{"aria-hidden":t?void 0:"true",hidden:!t},index.h("slot",{name:"expert"}))),"string"==typeof this.state._label&&this.state._label.length>0&&index.h("figcaption",null,index.h("cite",null,index.h("kol-link",{_href:this.state._href,_label:this.state._label,_target:"_blank"})))))}static get watchers(){return{_label:["validateLabel"],_href:["validateHref"],_quote:["validateQuote"],_variant:["validateVariant"]}}};KolQuote.style={default:defaultStyleCss},exports.kol_quote=KolQuote;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),dev_utils=require("./dev.utils-5f0c3b7d.js"),events=require("./events-a0c291ce.js"),reuse=require("./reuse-786396d6.js"),controller$1=require("./controller-19b94b08.js"),InternalUnderlinedAccessKey=require("./InternalUnderlinedAccessKey-2c4875d5.js"),controller=require("./controller-c15b473b.js"),rows=require("./rows-3afa56f3.js"),a11y_tipps=require("./a11y.tipps-91e6a303.js"),prop_validators=require("./prop.validators-d0c36c3f.js"),controllerIcon=require("./controller-icon-f7b60716.js");require("./hide-label-72171d2b.js"),require("./label-f1bb026a.js"),require("./tab-index-bcdca21e.js"),require("./associated.controller-2d107864.js"),require("./icons-6be116f2.js");class SelectController extends controllerIcon.InputIconController{constructor(t,e,n){super(t,e,n),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.isValueInOptions=(t,e)=>void 0!==e.find((e=>"string"==typeof e.value?e.value===t:!!Array.isArray(e.options)&&this.isValueInOptions(t,e.options))),this.filterValuesInOptions=(t,e)=>t.filter((t=>void 0!==this.isValueInOptions(t,e))),this.beforePatchOptions=(t,e)=>{const n=e.has("_options")?e.get("_options"):this.component.state._options;if(Array.isArray(n)&&n.length>0){this.keyOptionMap.clear(),controller.fillKeyOptionMap(this.keyOptionMap,n);const t=e.has("_value")?e.get("_value"):this.component.state._value,i=this.filterValuesInOptions(Array.isArray(t)&&t.length>0?t:[],n);!1===this.component._multiple&&0===i.length?(e.set("_value",[n[0].value]),this.onStateChange()):Array.isArray(t)&&i.length<t.length&&(e.set("_value",i),this.onStateChange())}},this.component=t}validateHideError(t){controller$1.validateHideError(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&a11y_tipps.a11yHint("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateOptions(t){controller.validateOptionsWithOptgroup(this.component,t,{hooks:{beforePatch:this.beforePatchOptions}})}validateMultiple(t){prop_validators.watchBoolean(this.component,"_multiple",t,{hooks:{beforePatch:this.beforePatchOptions}})}validateRequired(t){prop_validators.watchBoolean(this.component,"_required",t)}validateRows(t){rows.validateRows(this.component,t)}validateValue(t){prop_validators.watchJsonArrayString(this.component,"_value",(()=>!0),t,void 0,{hooks:{beforePatch:this.beforePatchOptions}}),this.setFormAssociatedValue(this.component._value)}componentWillLoad(t){super.componentWillLoad(),this.onStateChange=()=>{if("function"==typeof t){const e=setTimeout((()=>{clearTimeout(e),t(reuse.STATE_CHANGE_EVENT)}))}},this.validateHideError(this.component._hideError),this.validateOptions(this.component._options),this.validateMultiple(this.component._multiple),this.validateRequired(this.component._required),this.validateRows(this.component._rows),this.validateValue(this.component._value)}}const defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\t.required label > span::after,\n\t.required legend > span::after {\n\t\tcontent: '*';\n\t}\n}\n\n@layer kol-component {\n\t:host {\n\t\tdisplay: block;\n\t}\n}\n\n@layer kol-component {\n\tinput,\n\ttextarea {\n\t\tcursor: text;\n\t}\n\n\tinput[type='checkbox'],\n\tinput[type='color'],\n\tinput[type='file'],\n\tinput[type='radio'],\n\tinput[type='range'],\n\tlabel,\n\toption,\n\tselect {\n\t\tcursor: pointer;\n\t}\n\n\t/* input[type='checkbox'], */\n\t/* input[type='radio'], */\n\t/* input[type='range'], */\n\tinput[type='color'],\n\tinput[type='date'],\n\tinput[type='datetime-local'],\n\tinput[type='email'],\n\tinput[type='file'],\n\tinput[type='month'],\n\tinput[type='number'],\n\tinput[type='password'],\n\tinput[type='search'],\n\tinput[type='tel'],\n\tinput[type='text'],\n\tinput[type='time'],\n\tinput[type='url'],\n\tinput[type='week'],\n\tselect,\n\tselect[multiple] option,\n\ttextarea {\n\t\tfont-size: 1rem;\n\t\twidth: 100%;\n\t}\n\n\t/* needed hack for vertical alignment */\n\tinput[type='file'] {\n\t\tpadding: calc((var(--a11y-min-size) - 1rem) / 10) 0.5em;\n\t}\n\n\t/* needed hack for vertical alignment */\n\tselect[multiple] option {\n\t\tpadding: calc((var(--a11y-min-size) - 1rem) / 2) 0.5em;\n\t}\n\n\tkol-input.disabled :is(button, input, label, option, select, textarea) {\n\t\tcursor: not-allowed;\n\t\topacity: 0.5;\n\t}\n}\n\n@layer kol-component {\n\tkol-input {\n\t\tdisplay: grid;\n\t}\n\n\tkol-input .input-slot {\n\t\tflex-grow: 1;\n\t}\n\n\tinput:not([type='checkbox'], [type='radio']),\n\tselect:not([multiple], [size]) {\n\t\theight: 2.75em;\n\t}\n\n\tinput:focus,\n\toption:focus,\n\tselect:focus,\n\ttextarea:focus {\n\t\toutline: 0;\n\t}\n\n\t.input {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.input > kol-icon {\n\t\tdisplay: grid;\n\t\theight: var(--a11y-min-size);\n\t\tplace-items: center;\n\t}\n\n\tkol-input.required .input-tooltip .span-label::after {\n\t\tcontent: '*';\n\t}\n}\n\n@layer kol-component {\n\t.error.hidden {\n\t\tdisplay: none;\n\t}\n}\n",isSelected=(t,e)=>Array.isArray(t)&&t.includes(e),KolSelect=class{renderOptgroup(t,e){var n;return index.h("optgroup",{disabled:t.disabled,label:t.label},null===(n=t.options)||void 0===n?void 0:n.map(((t,n)=>{const i=`${e}-${n}`;return Array.isArray(t.options)?this.renderOptgroup(t,i):index.h("option",{disabled:t.disabled,key:i,selected:isSelected(this.state._value,t.value),value:i},t.label)})))}render(){const{ariaDescribedBy:t}=controller$1.getRenderStates(this.state),e=reuse.showExpertSlot(this.state._label);return index.h(index.Host,{class:{"has-value":this.state._hasValue}},index.h("kol-input",{class:{"hide-label":!!this.state._hideLabel,select:!0},_accessKey:this.state._accessKey,_disabled:this.state._disabled,_error:this.state._error,_hideError:this.state._hideError,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_icons:this.state._icons,_id:this.state._id,_label:this.state._label,_required:this.state._required,_tooltipAlign:this._tooltipAlign,_touched:this.state._touched,onClick:()=>{var t;return null===(t=this.ref)||void 0===t?void 0:t.focus()}},index.h("span",{slot:"label"},e?index.h("slot",{name:"expert"}):"string"==typeof this.state._accessKey?index.h(index.Fragment,null,index.h(InternalUnderlinedAccessKey.InternalUnderlinedAccessKey,{accessKey:this.state._accessKey,label:this.state._label})," ",index.h("span",{class:"access-key-hint","aria-hidden":"true"},this.state._accessKey)):index.h("span",null,this.state._label)),index.h("div",{slot:"input"},index.h("select",{ref:this.catchRef,title:"",accessKey:this.state._accessKey,"aria-describedby":t.length>0?t.join(" "):void 0,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,autoCapitalize:"off",autoCorrect:"off",disabled:this.state._disabled,id:this.state._id,multiple:this.state._multiple,name:this.state._name,required:this.state._required,size:this.state._rows,spellcheck:"false",onClick:this.controller.onFacade.onClick,onBlur:this.controller.onFacade.onBlur,onFocus:this.controller.onFacade.onFocus,onChange:this.onChange},this.state._options.map(((t,e)=>{const n=`-${e}`;return Array.isArray(t.options)?this.renderOptgroup(t,n):index.h("option",{disabled:t.disabled,key:n,selected:isSelected(this.state._value,t.value),value:n},t.label)}))))))}constructor(t){index.registerInstance(this,t),this.catchRef=t=>{this.ref=t,reuse.propagateFocus(this.host,this.ref)},this.onChange=t=>{var e,n;this._value=Array.from((null===(e=this.ref)||void 0===e?void 0:e.options)||[]).filter((t=>!0===t.selected)).map((t=>{var e;return null===(e=this.controller.getOptionByKey(t.value))||void 0===e?void 0:e.value})),events.stopPropagation(t),events.tryToDispatchKoliBriEvent("change",this.host,this._value),this.controller.setFormAssociatedValue(this._value),"function"==typeof(null===(n=this.state._on)||void 0===n?void 0:n.onChange)&&this.state._on.onChange(t,this._value)},this._accessKey=void 0,this._alert=!0,this._disabled=!1,this._error=void 0,this._hideError=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._options=void 0,this._required=!1,this._rows=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_hasValue:!1,_hideError:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_multiple:!1,_options:[],_value:[]},this.controller=new SelectController(this,"select",this.host)}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAlert(t){this.controller.validateAlert(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateError(t){this.controller.validateError(t)}validateHideError(t){this.controller.validateHideError(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHint(t){this.controller.validateHint(t)}validateIcons(t){this.controller.validateIcons(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMultiple(t){this.controller.validateMultiple(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validateOptions(t){this.controller.validateOptions(t)}validateRequired(t){this.controller.validateRequired(t)}validateRows(t){this.controller.validateRows(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){this.controller.validateTabIndex(t)}validateTouched(t){this.controller.validateTouched(t)}validateValue(t){this.controller.validateValue(t)}componentWillLoad(){this._alert=!0===this._alert,this._touched=!0===this._touched,this.controller.componentWillLoad(this.onChange),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener((t=>this.state._hasValue=!!t))}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_alert:["validateAlert"],_disabled:["validateDisabled"],_error:["validateError"],_hideError:["validateHideError"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_multiple:["validateMultiple"],_name:["validateName"],_on:["validateOn"],_options:["validateOptions"],_required:["validateRequired"],_rows:["validateRows"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};KolSelect.style={default:defaultStyleCss},exports.kol_select=KolSelect;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),dev_utils=require("./dev.utils-4a7a715c.js"),events=require("./events-a0c291ce.js"),reuse=require("./reuse-786396d6.js"),controller$1=require("./controller-67d26bdb.js"),InternalUnderlinedAccessKey=require("./InternalUnderlinedAccessKey-2c4875d5.js"),controller=require("./controller-4758e38e.js"),rows=require("./rows-ba283da4.js"),a11y_tipps=require("./a11y.tipps-13961a3e.js"),prop_validators=require("./prop.validators-c97e54e9.js"),controllerIcon=require("./controller-icon-28ac9e91.js");require("./hide-label-859cd049.js"),require("./label-16173ee3.js"),require("./tab-index-b7f27fdd.js"),require("./associated.controller-85ad4137.js"),require("./icons-a479d531.js");class SelectController extends controllerIcon.InputIconController{constructor(t,e,n){super(t,e,n),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.isValueInOptions=(t,e)=>void 0!==e.find((e=>"string"==typeof e.value?e.value===t:!!Array.isArray(e.options)&&this.isValueInOptions(t,e.options))),this.filterValuesInOptions=(t,e)=>t.filter((t=>void 0!==this.isValueInOptions(t,e))),this.beforePatchOptions=(t,e)=>{const n=e.has("_options")?e.get("_options"):this.component.state._options;if(Array.isArray(n)&&n.length>0){this.keyOptionMap.clear(),controller.fillKeyOptionMap(this.keyOptionMap,n);const t=e.has("_value")?e.get("_value"):this.component.state._value,i=this.filterValuesInOptions(Array.isArray(t)&&t.length>0?t:[],n);!1===this.component._multiple&&0===i.length?(e.set("_value",[n[0].value]),this.onStateChange()):Array.isArray(t)&&i.length<t.length&&(e.set("_value",i),this.onStateChange())}},this.component=t}validateHideError(t){controller$1.validateHideError(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&a11y_tipps.a11yHint("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateOptions(t){controller.validateOptionsWithOptgroup(this.component,t,{hooks:{beforePatch:this.beforePatchOptions}})}validateMultiple(t){prop_validators.watchBoolean(this.component,"_multiple",t,{hooks:{beforePatch:this.beforePatchOptions}})}validateRequired(t){prop_validators.watchBoolean(this.component,"_required",t)}validateRows(t){rows.validateRows(this.component,t)}validateValue(t){prop_validators.watchJsonArrayString(this.component,"_value",(()=>!0),t,void 0,{hooks:{beforePatch:this.beforePatchOptions}}),this.setFormAssociatedValue(this.component._value)}componentWillLoad(t){super.componentWillLoad(),this.onStateChange=()=>{if("function"==typeof t){const e=setTimeout((()=>{clearTimeout(e),t(reuse.STATE_CHANGE_EVENT)}))}},this.validateHideError(this.component._hideError),this.validateOptions(this.component._options),this.validateMultiple(this.component._multiple),this.validateRequired(this.component._required),this.validateRows(this.component._rows),this.validateValue(this.component._value)}}const defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\t.required label > span::after,\n\t.required legend > span::after {\n\t\tcontent: '*';\n\t}\n}\n\n@layer kol-component {\n\t:host {\n\t\tdisplay: block;\n\t}\n}\n\n@layer kol-component {\n\tinput,\n\ttextarea {\n\t\tcursor: text;\n\t}\n\n\tinput[type='checkbox'],\n\tinput[type='color'],\n\tinput[type='file'],\n\tinput[type='radio'],\n\tinput[type='range'],\n\tlabel,\n\toption,\n\tselect {\n\t\tcursor: pointer;\n\t}\n\n\t/* input[type='checkbox'], */\n\t/* input[type='radio'], */\n\t/* input[type='range'], */\n\tinput[type='color'],\n\tinput[type='date'],\n\tinput[type='datetime-local'],\n\tinput[type='email'],\n\tinput[type='file'],\n\tinput[type='month'],\n\tinput[type='number'],\n\tinput[type='password'],\n\tinput[type='search'],\n\tinput[type='tel'],\n\tinput[type='text'],\n\tinput[type='time'],\n\tinput[type='url'],\n\tinput[type='week'],\n\tselect,\n\tselect[multiple] option,\n\ttextarea {\n\t\tfont-size: 1rem;\n\t\twidth: 100%;\n\t}\n\n\t/* needed hack for vertical alignment */\n\tinput[type='file'] {\n\t\tpadding: calc((var(--a11y-min-size) - 1rem) / 10) 0.5em;\n\t}\n\n\t/* needed hack for vertical alignment */\n\tselect[multiple] option {\n\t\tpadding: calc((var(--a11y-min-size) - 1rem) / 2) 0.5em;\n\t}\n\n\tkol-input.disabled :is(button, input, label, option, select, textarea) {\n\t\tcursor: not-allowed;\n\t\topacity: 0.5;\n\t}\n}\n\n@layer kol-component {\n\tkol-input {\n\t\tdisplay: grid;\n\t}\n\n\tkol-input .input-slot {\n\t\tflex-grow: 1;\n\t}\n\n\tinput:not([type='checkbox'], [type='radio']),\n\tselect:not([multiple], [size]) {\n\t\theight: 2.75em;\n\t}\n\n\tinput:focus,\n\toption:focus,\n\tselect:focus,\n\ttextarea:focus {\n\t\toutline: 0;\n\t}\n\n\t.input {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.input > kol-icon {\n\t\tdisplay: grid;\n\t\theight: var(--a11y-min-size);\n\t\tplace-items: center;\n\t}\n\n\tkol-input.required .input-tooltip .span-label::after {\n\t\tcontent: '*';\n\t}\n}\n\n@layer kol-component {\n\t.error.hidden {\n\t\tdisplay: none;\n\t}\n}\n",isSelected=(t,e)=>Array.isArray(t)&&t.includes(e),KolSelect=class{renderOptgroup(t,e){var n;return index.h("optgroup",{disabled:t.disabled,label:t.label},null===(n=t.options)||void 0===n?void 0:n.map(((t,n)=>{const i=`${e}-${n}`;return Array.isArray(t.options)?this.renderOptgroup(t,i):index.h("option",{disabled:t.disabled,key:i,selected:isSelected(this.state._value,t.value),value:i},t.label)})))}render(){const{ariaDescribedBy:t}=controller$1.getRenderStates(this.state),e=reuse.showExpertSlot(this.state._label);return index.h(index.Host,{class:{"has-value":this.state._hasValue}},index.h("kol-input",{class:{"hide-label":!!this.state._hideLabel,select:!0},_accessKey:this.state._accessKey,_disabled:this.state._disabled,_error:this.state._error,_hideError:this.state._hideError,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_icons:this.state._icons,_id:this.state._id,_label:this.state._label,_required:this.state._required,_tooltipAlign:this._tooltipAlign,_touched:this.state._touched,onClick:()=>{var t;return null===(t=this.ref)||void 0===t?void 0:t.focus()}},index.h("span",{slot:"label"},e?index.h("slot",{name:"expert"}):"string"==typeof this.state._accessKey?index.h(index.Fragment,null,index.h(InternalUnderlinedAccessKey.InternalUnderlinedAccessKey,{accessKey:this.state._accessKey,label:this.state._label})," ",index.h("span",{class:"access-key-hint","aria-hidden":"true"},this.state._accessKey)):index.h("span",null,this.state._label)),index.h("div",{slot:"input"},index.h("select",{ref:this.catchRef,title:"",accessKey:this.state._accessKey,"aria-describedby":t.length>0?t.join(" "):void 0,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,autoCapitalize:"off",autoCorrect:"off",disabled:this.state._disabled,id:this.state._id,multiple:this.state._multiple,name:this.state._name,required:this.state._required,size:this.state._rows,spellcheck:"false",onClick:this.controller.onFacade.onClick,onBlur:this.controller.onFacade.onBlur,onFocus:this.controller.onFacade.onFocus,onChange:this.onChange},this.state._options.map(((t,e)=>{const n=`-${e}`;return Array.isArray(t.options)?this.renderOptgroup(t,n):index.h("option",{disabled:t.disabled,key:n,selected:isSelected(this.state._value,t.value),value:n},t.label)}))))))}constructor(t){index.registerInstance(this,t),this.catchRef=t=>{this.ref=t,reuse.propagateFocus(this.host,this.ref)},this.onChange=t=>{var e,n;this._value=Array.from((null===(e=this.ref)||void 0===e?void 0:e.options)||[]).filter((t=>!0===t.selected)).map((t=>{var e;return null===(e=this.controller.getOptionByKey(t.value))||void 0===e?void 0:e.value})),events.stopPropagation(t),events.tryToDispatchKoliBriEvent("change",this.host,this._value),this.controller.setFormAssociatedValue(this._value),"function"==typeof(null===(n=this.state._on)||void 0===n?void 0:n.onChange)&&this.state._on.onChange(t,this._value)},this._accessKey=void 0,this._alert=!0,this._disabled=!1,this._error=void 0,this._hideError=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._options=void 0,this._required=!1,this._rows=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_hasValue:!1,_hideError:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_multiple:!1,_options:[],_value:[]},this.controller=new SelectController(this,"select",this.host)}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAlert(t){this.controller.validateAlert(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateError(t){this.controller.validateError(t)}validateHideError(t){this.controller.validateHideError(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHint(t){this.controller.validateHint(t)}validateIcons(t){this.controller.validateIcons(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMultiple(t){this.controller.validateMultiple(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validateOptions(t){this.controller.validateOptions(t)}validateRequired(t){this.controller.validateRequired(t)}validateRows(t){this.controller.validateRows(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){this.controller.validateTabIndex(t)}validateTouched(t){this.controller.validateTouched(t)}validateValue(t){this.controller.validateValue(t)}componentWillLoad(){this._alert=!0===this._alert,this._touched=!0===this._touched,this.controller.componentWillLoad(this.onChange),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener((t=>this.state._hasValue=!!t))}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_alert:["validateAlert"],_disabled:["validateDisabled"],_error:["validateError"],_hideError:["validateHideError"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_multiple:["validateMultiple"],_name:["validateName"],_on:["validateOn"],_options:["validateOptions"],_required:["validateRequired"],_rows:["validateRows"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};KolSelect.style={default:defaultStyleCss},exports.kol_select=KolSelect;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),label=require("./label-f1bb026a.js"),uniqueNavLabels=require("./unique-nav-labels-9784a4c5.js"),validation=require("./validation-5e914a29.js");require("./a11y.tipps-91e6a303.js"),require("./dev.utils-5f0c3b7d.js"),require("./reuse-786396d6.js"),require("./prop.validators-d0c36c3f.js");const defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\tul {\n\t\tdisplay: grid;\n\t\tlist-style: none;\n\t\tplace-items: center;\n\t}\n\n\tul li {\n\t\theight: 0;\n\t}\n\n\tkol-link-wc a {\n\t\tleft: -99999px;\n\t\toverflow: hidden;\n\t\tposition: absolute;\n\t\tz-index: 9999999;\n\t\tline-height: 1em;\n\t}\n\n\tkol-link-wc a:focus {\n\t\tbackground-color: #fff;\n\t\tleft: unset;\n\t\tposition: unset;\n\t}\n}\n",KolSkipNav=class{constructor(t){index.registerInstance(this,t),this._label=void 0,this._links=void 0,this.state={_label:"…",_links:[]}}render(){return index.h("nav",{"aria-label":this.state._label},index.h("ul",null,this.state._links.map(((t,n)=>index.h("li",{key:n},index.h("kol-link-wc",Object.assign({},t)))))))}validateLabel(t,n,e=!1){e||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,t),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(t){validation.watchNavLinks("KolSkipNav",this,t)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};KolSkipNav.style={default:defaultStyleCss},exports.kol_skip_nav=KolSkipNav;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-d310c51c.js"),label=require("./label-16173ee3.js"),uniqueNavLabels=require("./unique-nav-labels-9784a4c5.js"),validation=require("./validation-2e04a007.js");require("./a11y.tipps-13961a3e.js"),require("./dev.utils-4a7a715c.js"),require("./reuse-786396d6.js"),require("./prop.validators-c97e54e9.js");const defaultStyleCss="@layer kol-global {\n\t/*\n\t * This file contains all rules for accessibility.\n\t */\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\tfont-size: inherit;\n\t}\n\n\t* {\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\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@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\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/* font-family is NOT inherited all HTML elements. */\n\tbutton,\n\tinput,\n\toption,\n\tselect,\n\ttextarea {\n\t\tfont-family: inherit;\n\t}\n\n\t/* This is the text label. */\n\t.icon-only > kol-span-wc > span > span {\n\t\tdisplay: none;\n\t}\n}\n\n@layer kol-component {\n\tul {\n\t\tdisplay: grid;\n\t\tlist-style: none;\n\t\tplace-items: center;\n\t}\n\n\tul li {\n\t\theight: 0;\n\t}\n\n\tkol-link-wc a {\n\t\tleft: -99999px;\n\t\toverflow: hidden;\n\t\tposition: absolute;\n\t\tz-index: 9999999;\n\t\tline-height: 1em;\n\t}\n\n\tkol-link-wc a:focus {\n\t\tbackground-color: #fff;\n\t\tleft: unset;\n\t\tposition: unset;\n\t}\n}\n",KolSkipNav=class{constructor(t){index.registerInstance(this,t),this._label=void 0,this._links=void 0,this.state={_label:"…",_links:[]}}render(){return index.h("nav",{"aria-label":this.state._label},index.h("ul",null,this.state._links.map(((t,n)=>index.h("li",{key:n},index.h("kol-link-wc",Object.assign({},t)))))))}validateLabel(t,n,e=!1){e||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,t),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(t){validation.watchNavLinks("KolSkipNav",this,t)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};KolSkipNav.style={default:defaultStyleCss},exports.kol_skip_nav=KolSkipNav;