@public-ui/components 3.0.0-638ed75dd472d3e3ad4c1c3a3c72d705e6022731.0 → 3.0.0-9da5848955ab6cd75fb6415b51b281e3e7c3ae3d.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (946) hide show
  1. package/custom-elements.json +164 -4
  2. package/dist/cjs/{Alert-b4540575.js → Alert-61b8e66f.js} +1 -1
  3. package/dist/cjs/{Alert-b4540575.js.map → Alert-61b8e66f.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-2ca72ee6.js → Collapsible-a6d08cf5.js} +1 -1
  5. package/dist/cjs/{Collapsible-2ca72ee6.js.map → Collapsible-a6d08cf5.js.map} +1 -1
  6. package/dist/cjs/{CustomSuggestionsOptionsGroup-a0b5ff2d.js → CustomSuggestionsOptionsGroup-82f20582.js} +1 -1
  7. package/dist/cjs/{CustomSuggestionsOptionsGroup-a0b5ff2d.js.map → CustomSuggestionsOptionsGroup-82f20582.js.map} +1 -1
  8. package/dist/cjs/{FieldControlStateWrapper-294d6fce.js → FieldControlStateWrapper-99b3a9bc.js} +1 -1
  9. package/dist/cjs/{FieldControlStateWrapper-294d6fce.js.map → FieldControlStateWrapper-99b3a9bc.js.map} +1 -1
  10. package/dist/cjs/{Heading-75b2ccc1.js → Heading-8d84c490.js} +1 -1
  11. package/dist/cjs/{Heading-75b2ccc1.js.map → Heading-8d84c490.js.map} +1 -1
  12. package/dist/cjs/Icon-40516ba8.js +4 -0
  13. package/dist/cjs/{Icon-fdca4de2.js.map → Icon-40516ba8.js.map} +1 -1
  14. package/dist/cjs/{Input-bbc2770f.js → Input-90bb978c.js} +1 -1
  15. package/dist/cjs/{Input-bbc2770f.js.map → Input-90bb978c.js.map} +1 -1
  16. package/dist/cjs/{InputStateWrapper-2d480fef.js → InputStateWrapper-a0a1525a.js} +1 -1
  17. package/dist/cjs/{InputStateWrapper-2d480fef.js.map → InputStateWrapper-a0a1525a.js.map} +1 -1
  18. package/dist/cjs/{InternalUnderlinedBadgeText-32624684.js → InternalUnderlinedBadgeText-a2b25dd1.js} +1 -1
  19. package/dist/cjs/{InternalUnderlinedBadgeText-32624684.js.map → InternalUnderlinedBadgeText-a2b25dd1.js.map} +1 -1
  20. package/dist/cjs/{Span-2c064973.js → Span-cd267738.js} +1 -1
  21. package/dist/cjs/{Span-2c064973.js.map → Span-cd267738.js.map} +1 -1
  22. package/dist/cjs/{access-and-short-key-4ee0c067.js → access-and-short-key-6155af7d.js} +1 -1
  23. package/dist/cjs/{access-and-short-key-4ee0c067.js.map → access-and-short-key-6155af7d.js.map} +1 -1
  24. package/dist/cjs/{align-3fa838b5.js → align-a9f24187.js} +1 -1
  25. package/dist/cjs/{align-3fa838b5.js.map → align-a9f24187.js.map} +1 -1
  26. package/dist/cjs/align-floating-elements-f88156a1.js +4 -0
  27. package/dist/cjs/align-floating-elements-f88156a1.js.map +1 -0
  28. package/dist/cjs/app-globals-4efe2a1f.js +4 -0
  29. package/dist/cjs/{app-globals-eb224d6d.js.map → app-globals-4efe2a1f.js.map} +1 -1
  30. package/dist/cjs/{associated.controller-8d2d4650.js → associated.controller-2005f7f0.js} +1 -1
  31. package/dist/cjs/{associated.controller-8d2d4650.js.map → associated.controller-2005f7f0.js.map} +1 -1
  32. package/dist/cjs/{button-variant-fb9c6afd.js → button-variant-10ad2503.js} +1 -1
  33. package/dist/cjs/{button-variant-fb9c6afd.js.map → button-variant-10ad2503.js.map} +1 -1
  34. package/dist/cjs/{color-1a036a49.js → color-327a493c.js} +1 -1
  35. package/dist/cjs/{color-1a036a49.js.map → color-327a493c.js.map} +1 -1
  36. package/dist/cjs/component-names-82c4d68d.js +4 -0
  37. package/dist/cjs/component-names-82c4d68d.js.map +1 -0
  38. package/dist/cjs/{controller-fb006831.js → controller-1025bb87.js} +1 -1
  39. package/dist/cjs/{controller-fb006831.js.map → controller-1025bb87.js.map} +1 -1
  40. package/dist/cjs/{controller-a6da1eae.js → controller-47bdd203.js} +1 -1
  41. package/dist/cjs/{controller-a6da1eae.js.map → controller-47bdd203.js.map} +1 -1
  42. package/dist/cjs/{controller-69dcef9e.js → controller-49bb7ddd.js} +1 -1
  43. package/dist/cjs/{controller-69dcef9e.js.map → controller-49bb7ddd.js.map} +1 -1
  44. package/dist/cjs/controller-55f3597b.js +4 -0
  45. package/dist/cjs/{controller-1cae0572.js.map → controller-55f3597b.js.map} +1 -1
  46. package/dist/cjs/controller-icon-741b80f8.js +4 -0
  47. package/dist/cjs/controller-icon-741b80f8.js.map +1 -0
  48. package/dist/cjs/custom-class-1bd0519a.js +4 -0
  49. package/dist/cjs/{custom-class-8f276ee3.js.map → custom-class-1bd0519a.js.map} +1 -1
  50. package/dist/cjs/{dev.utils-f0b5521f.js → dev.utils-8c57f284.js} +1 -1
  51. package/dist/cjs/{dev.utils-f0b5521f.js.map → dev.utils-8c57f284.js.map} +1 -1
  52. package/dist/cjs/{devtools-155510c9.js → devtools-cda8060e.js} +1 -1
  53. package/dist/cjs/{devtools-155510c9.js.map → devtools-cda8060e.js.map} +1 -1
  54. package/dist/cjs/disabled-0ee19649.js +4 -0
  55. package/dist/cjs/{disabled-d424f708.js.map → disabled-0ee19649.js.map} +1 -1
  56. package/dist/cjs/{events-fc641593.js → events-40771c95.js} +1 -1
  57. package/dist/cjs/events-40771c95.js.map +1 -0
  58. package/dist/cjs/{getRenderStates-e0c2dd27.js → getRenderStates-787fe6bc.js} +1 -1
  59. package/dist/cjs/{getRenderStates-e0c2dd27.js.map → getRenderStates-787fe6bc.js.map} +1 -1
  60. package/dist/cjs/has-closer-51ccf77f.js +4 -0
  61. package/dist/cjs/{has-closer-d1310212.js.map → has-closer-51ccf77f.js.map} +1 -1
  62. package/dist/cjs/has-counter-8679115c.js +4 -0
  63. package/dist/cjs/{has-counter-878e61ea.js.map → has-counter-8679115c.js.map} +1 -1
  64. package/dist/cjs/hide-label-a9a94f19.js +4 -0
  65. package/dist/cjs/{hide-label-cfe594e0.js.map → hide-label-a9a94f19.js.map} +1 -1
  66. package/dist/cjs/href-c14d2c3e.js +4 -0
  67. package/dist/cjs/{href-51cfc659.js.map → href-c14d2c3e.js.map} +1 -1
  68. package/dist/cjs/{i18n-c745fb7d.js → i18n-0e710ccd.js} +1 -1
  69. package/dist/cjs/{i18n-c745fb7d.js.map → i18n-0e710ccd.js.map} +1 -1
  70. package/dist/cjs/i18n-8c288a27.js +4 -0
  71. package/dist/cjs/i18n-8c288a27.js.map +1 -0
  72. package/dist/cjs/{icons-3ad822d9.js → icons-cfdc392f.js} +1 -1
  73. package/dist/cjs/icons-cfdc392f.js.map +1 -0
  74. package/dist/cjs/image-source-3b5f1388.js +4 -0
  75. package/dist/cjs/{image-source-74bc2874.js.map → image-source-3b5f1388.js.map} +1 -1
  76. package/dist/cjs/index-06fe81a0.js +4 -0
  77. package/dist/cjs/{index-e2b73bdf.js.map → index-06fe81a0.js.map} +1 -1
  78. package/dist/cjs/index-c77a4142.js +4 -0
  79. package/dist/cjs/index-c77a4142.js.map +1 -0
  80. package/dist/cjs/index.cjs.js +1 -1
  81. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  119. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  123. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  125. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  131. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  135. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  137. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  139. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  148. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +4 -0
  149. package/dist/cjs/kol-popover-button-wc.cjs.entry.js.map +1 -0
  150. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  152. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  154. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  155. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  156. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  157. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  159. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  161. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  162. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  163. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  164. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  165. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  166. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  167. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +4 -0
  168. package/dist/cjs/kol-table-settings-wc.cjs.entry.js.map +1 -0
  169. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  170. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  171. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  172. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  173. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  174. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  175. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  176. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  177. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  178. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  179. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  180. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  181. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  182. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  183. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  184. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  185. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  186. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  187. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  188. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  189. package/dist/cjs/kol-tree-wc.cjs.entry.js.map +1 -1
  190. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  191. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  192. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  193. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  194. package/dist/cjs/kolibri.cjs.js +1 -1
  195. package/dist/cjs/{label-477be19d.js → label-3ce275fe.js} +1 -1
  196. package/dist/cjs/{label-477be19d.js.map → label-3ce275fe.js.map} +1 -1
  197. package/dist/cjs/loader.cjs.js +1 -1
  198. package/dist/cjs/open-e08280be.js +4 -0
  199. package/dist/cjs/{open-ef7b4602.js.map → open-e08280be.js.map} +1 -1
  200. package/dist/cjs/{prop.validators-888c8338.js → prop.validators-3c86f8eb.js} +1 -1
  201. package/dist/cjs/{prop.validators-888c8338.js.map → prop.validators-3c86f8eb.js.map} +1 -1
  202. package/dist/cjs/rows-24ccf646.js +4 -0
  203. package/dist/cjs/{rows-4d4438c2.js.map → rows-24ccf646.js.map} +1 -1
  204. package/dist/cjs/show-0625d136.js +4 -0
  205. package/dist/cjs/{show-ebdc6e78.js.map → show-0625d136.js.map} +1 -1
  206. package/dist/cjs/spell-check-d54fcffc.js +4 -0
  207. package/dist/cjs/{spell-check-beb27264.js.map → spell-check-d54fcffc.js.map} +1 -1
  208. package/dist/cjs/{suggestions-0e186f46.js → suggestions-eccef9c3.js} +1 -1
  209. package/dist/cjs/{suggestions-0e186f46.js.map → suggestions-eccef9c3.js.map} +1 -1
  210. package/dist/cjs/{callback-00e57b93.js → table-settings-e3e70637.js} +1 -1
  211. package/dist/cjs/table-settings-e3e70637.js.map +1 -0
  212. package/dist/cjs/test-component.cjs.entry.js +1 -1
  213. package/dist/cjs/tooltip-align-5aee86e8.js +4 -0
  214. package/dist/cjs/{tooltip-align-c6cf9049.js.map → tooltip-align-5aee86e8.js.map} +1 -1
  215. package/dist/cjs/{validation-244ee97f.js → validation-2820e912.js} +1 -1
  216. package/dist/cjs/{validation-244ee97f.js.map → validation-2820e912.js.map} +1 -1
  217. package/dist/cjs/{validation-cd978d87.js → validation-bcb18e67.js} +1 -1
  218. package/dist/cjs/{validation-cd978d87.js.map → validation-bcb18e67.js.map} +1 -1
  219. package/dist/components/InputContainerStateWrapper.js +1 -1
  220. package/dist/components/InputContainerStateWrapper.js.map +1 -1
  221. package/dist/components/access-and-short-key.js +1 -1
  222. package/dist/components/align-floating-elements.js +1 -1
  223. package/dist/components/align-floating-elements.js.map +1 -1
  224. package/dist/components/associated.controller.js +1 -1
  225. package/dist/components/button-variant.js +1 -1
  226. package/dist/components/color.js +1 -1
  227. package/dist/components/color.js.map +1 -1
  228. package/dist/components/component-names.js +1 -1
  229. package/dist/components/component-names.js.map +1 -1
  230. package/dist/components/controller.js +1 -1
  231. package/dist/components/controller2.js +1 -1
  232. package/dist/components/controller4.js +1 -1
  233. package/dist/components/custom-class.js +1 -1
  234. package/dist/components/devtools.js +1 -1
  235. package/dist/components/disabled.js +1 -1
  236. package/dist/components/events.js +1 -1
  237. package/dist/components/events.js.map +1 -1
  238. package/dist/components/getRenderStates.js +1 -1
  239. package/dist/components/has-closer.js +1 -1
  240. package/dist/components/has-counter.js +1 -1
  241. package/dist/components/hide-label.js +1 -1
  242. package/dist/components/href.js +1 -1
  243. package/dist/components/i18n.js +1 -1
  244. package/dist/components/i18n.js.map +1 -1
  245. package/dist/components/icons.js +1 -1
  246. package/dist/components/icons.js.map +1 -1
  247. package/dist/components/image-source.js +1 -1
  248. package/dist/components/index.js +1 -1
  249. package/dist/components/kol-abbr.js +1 -1
  250. package/dist/components/kol-abbr.js.map +1 -1
  251. package/dist/components/kol-accordion.js +1 -1
  252. package/dist/components/kol-accordion.js.map +1 -1
  253. package/dist/components/kol-alert-wc.js +1 -1
  254. package/dist/components/kol-alert.js +1 -1
  255. package/dist/components/kol-alert.js.map +1 -1
  256. package/dist/components/kol-avatar.js +1 -1
  257. package/dist/components/kol-avatar.js.map +1 -1
  258. package/dist/components/kol-badge.js +1 -1
  259. package/dist/components/kol-badge.js.map +1 -1
  260. package/dist/components/kol-breadcrumb.js +1 -1
  261. package/dist/components/kol-breadcrumb.js.map +1 -1
  262. package/dist/components/kol-button-link.js +1 -1
  263. package/dist/components/kol-button-link.js.map +1 -1
  264. package/dist/components/kol-button-wc.js +1 -1
  265. package/dist/components/kol-button.js +1 -1
  266. package/dist/components/kol-button.js.map +1 -1
  267. package/dist/components/kol-card.js +1 -1
  268. package/dist/components/kol-card.js.map +1 -1
  269. package/dist/components/kol-combobox.js +1 -1
  270. package/dist/components/kol-combobox.js.map +1 -1
  271. package/dist/components/kol-details.js +1 -1
  272. package/dist/components/kol-details.js.map +1 -1
  273. package/dist/components/kol-drawer.js +1 -1
  274. package/dist/components/kol-drawer.js.map +1 -1
  275. package/dist/components/kol-form.js +1 -1
  276. package/dist/components/kol-form.js.map +1 -1
  277. package/dist/components/kol-heading.js +1 -1
  278. package/dist/components/kol-heading.js.map +1 -1
  279. package/dist/components/kol-icon.js +1 -1
  280. package/dist/components/kol-image.js +1 -1
  281. package/dist/components/kol-image.js.map +1 -1
  282. package/dist/components/kol-input-checkbox.js +1 -1
  283. package/dist/components/kol-input-checkbox.js.map +1 -1
  284. package/dist/components/kol-input-color.js +1 -1
  285. package/dist/components/kol-input-color.js.map +1 -1
  286. package/dist/components/kol-input-date.js +1 -1
  287. package/dist/components/kol-input-date.js.map +1 -1
  288. package/dist/components/kol-input-email.js +1 -1
  289. package/dist/components/kol-input-email.js.map +1 -1
  290. package/dist/components/kol-input-file.js +1 -1
  291. package/dist/components/kol-input-file.js.map +1 -1
  292. package/dist/components/kol-input-number.js +1 -1
  293. package/dist/components/kol-input-number.js.map +1 -1
  294. package/dist/components/kol-input-password.js +1 -1
  295. package/dist/components/kol-input-password.js.map +1 -1
  296. package/dist/components/kol-input-radio.js +1 -1
  297. package/dist/components/kol-input-radio.js.map +1 -1
  298. package/dist/components/kol-input-range.js +1 -1
  299. package/dist/components/kol-input-range.js.map +1 -1
  300. package/dist/components/kol-input-text.js +1 -1
  301. package/dist/components/kol-input-text.js.map +1 -1
  302. package/dist/components/kol-kolibri.js +1 -1
  303. package/dist/components/kol-kolibri.js.map +1 -1
  304. package/dist/components/kol-link-button.js +1 -1
  305. package/dist/components/kol-link-button.js.map +1 -1
  306. package/dist/components/kol-link-wc.js +1 -1
  307. package/dist/components/kol-link.js +1 -1
  308. package/dist/components/kol-link.js.map +1 -1
  309. package/dist/components/kol-modal.js +1 -1
  310. package/dist/components/kol-modal.js.map +1 -1
  311. package/dist/components/kol-nav.js +1 -1
  312. package/dist/components/kol-nav.js.map +1 -1
  313. package/dist/components/kol-pagination.js +1 -1
  314. package/dist/components/kol-pagination.js.map +1 -1
  315. package/dist/components/kol-popover-button-wc.d.ts +11 -0
  316. package/dist/components/kol-popover-button-wc.js +4 -0
  317. package/dist/components/kol-popover-button-wc.js.map +1 -0
  318. package/dist/components/kol-popover-button.js +1 -1
  319. package/dist/components/kol-popover-button.js.map +1 -1
  320. package/dist/components/kol-progress.js +1 -1
  321. package/dist/components/kol-progress.js.map +1 -1
  322. package/dist/components/kol-quote.js +1 -1
  323. package/dist/components/kol-quote.js.map +1 -1
  324. package/dist/components/kol-select.js +1 -1
  325. package/dist/components/kol-select.js.map +1 -1
  326. package/dist/components/kol-single-select.js +1 -1
  327. package/dist/components/kol-single-select.js.map +1 -1
  328. package/dist/components/kol-skip-nav.js +1 -1
  329. package/dist/components/kol-skip-nav.js.map +1 -1
  330. package/dist/components/kol-spin.js +1 -1
  331. package/dist/components/kol-spin.js.map +1 -1
  332. package/dist/components/kol-split-button.js +1 -1
  333. package/dist/components/kol-split-button.js.map +1 -1
  334. package/dist/components/kol-table-settings-wc.d.ts +11 -0
  335. package/dist/components/kol-table-settings-wc.js +4 -0
  336. package/dist/components/kol-table-settings-wc.js.map +1 -0
  337. package/dist/components/kol-table-stateful.js +1 -1
  338. package/dist/components/kol-table-stateful.js.map +1 -1
  339. package/dist/components/kol-table-stateless-wc.js +1 -1
  340. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  341. package/dist/components/kol-table-stateless.js +1 -1
  342. package/dist/components/kol-table-stateless.js.map +1 -1
  343. package/dist/components/kol-tabs.js +1 -1
  344. package/dist/components/kol-tabs.js.map +1 -1
  345. package/dist/components/kol-textarea.js +1 -1
  346. package/dist/components/kol-textarea.js.map +1 -1
  347. package/dist/components/kol-toast-container.js +1 -1
  348. package/dist/components/kol-toast-container.js.map +1 -1
  349. package/dist/components/kol-toolbar.js +1 -1
  350. package/dist/components/kol-toolbar.js.map +1 -1
  351. package/dist/components/kol-tooltip-wc.js +1 -1
  352. package/dist/components/kol-tree-item-wc.js +1 -1
  353. package/dist/components/kol-tree-item-wc.js.map +1 -1
  354. package/dist/components/kol-tree-item.js +1 -1
  355. package/dist/components/kol-tree-item.js.map +1 -1
  356. package/dist/components/kol-tree-wc.js +1 -1
  357. package/dist/components/kol-tree-wc.js.map +1 -1
  358. package/dist/components/kol-tree.js +1 -1
  359. package/dist/components/kol-tree.js.map +1 -1
  360. package/dist/components/kol-version.js +1 -1
  361. package/dist/components/kol-version.js.map +1 -1
  362. package/dist/components/open.js +1 -1
  363. package/dist/components/prop.validators.js +1 -1
  364. package/dist/components/prop.validators.js.map +1 -1
  365. package/dist/components/rows.js +1 -1
  366. package/dist/components/show.js +1 -1
  367. package/dist/components/spell-check.js +1 -1
  368. package/dist/components/suggestions.js +1 -1
  369. package/dist/components/{callback.js → table-settings.js} +1 -1
  370. package/dist/components/table-settings.js.map +1 -0
  371. package/dist/components/validation2.js +1 -1
  372. package/dist/esm/{Alert-cff25992.js → Alert-89f8d3d3.js} +1 -1
  373. package/dist/esm/{Alert-cff25992.js.map → Alert-89f8d3d3.js.map} +1 -1
  374. package/dist/esm/{Collapsible-bf53bb8c.js → Collapsible-2f67d6f7.js} +1 -1
  375. package/dist/esm/{Collapsible-bf53bb8c.js.map → Collapsible-2f67d6f7.js.map} +1 -1
  376. package/dist/esm/{CustomSuggestionsOptionsGroup-5d718c8a.js → CustomSuggestionsOptionsGroup-93a69a98.js} +1 -1
  377. package/dist/esm/{CustomSuggestionsOptionsGroup-5d718c8a.js.map → CustomSuggestionsOptionsGroup-93a69a98.js.map} +1 -1
  378. package/dist/esm/{FieldControlStateWrapper-fde292ae.js → FieldControlStateWrapper-f7198312.js} +1 -1
  379. package/dist/esm/{FieldControlStateWrapper-fde292ae.js.map → FieldControlStateWrapper-f7198312.js.map} +1 -1
  380. package/dist/esm/{Heading-ee029adb.js → Heading-110efd91.js} +1 -1
  381. package/dist/esm/{Heading-ee029adb.js.map → Heading-110efd91.js.map} +1 -1
  382. package/dist/esm/Icon-2edabbd3.js +4 -0
  383. package/dist/esm/{Icon-ac50af26.js.map → Icon-2edabbd3.js.map} +1 -1
  384. package/dist/esm/{Input-0312721f.js → Input-86d13305.js} +1 -1
  385. package/dist/esm/{Input-0312721f.js.map → Input-86d13305.js.map} +1 -1
  386. package/dist/esm/{InputStateWrapper-1a92b6c6.js → InputStateWrapper-07488373.js} +1 -1
  387. package/dist/esm/{InputStateWrapper-1a92b6c6.js.map → InputStateWrapper-07488373.js.map} +1 -1
  388. package/dist/esm/{InternalUnderlinedBadgeText-1c8d1c58.js → InternalUnderlinedBadgeText-739d8c73.js} +1 -1
  389. package/dist/esm/{InternalUnderlinedBadgeText-1c8d1c58.js.map → InternalUnderlinedBadgeText-739d8c73.js.map} +1 -1
  390. package/dist/esm/{Span-0ba91a5c.js → Span-735e38db.js} +1 -1
  391. package/dist/esm/{Span-0ba91a5c.js.map → Span-735e38db.js.map} +1 -1
  392. package/dist/esm/{access-and-short-key-e094398d.js → access-and-short-key-16c1f3d9.js} +1 -1
  393. package/dist/esm/{access-and-short-key-e094398d.js.map → access-and-short-key-16c1f3d9.js.map} +1 -1
  394. package/dist/esm/{align-60c95351.js → align-61c6a220.js} +1 -1
  395. package/dist/esm/{align-60c95351.js.map → align-61c6a220.js.map} +1 -1
  396. package/dist/esm/align-floating-elements-7cdb6dc6.js +4 -0
  397. package/dist/esm/align-floating-elements-7cdb6dc6.js.map +1 -0
  398. package/dist/esm/app-globals-12756932.js +4 -0
  399. package/dist/esm/{app-globals-28eb0e7d.js.map → app-globals-12756932.js.map} +1 -1
  400. package/dist/esm/{associated.controller-5bee50ee.js → associated.controller-3b160a7e.js} +1 -1
  401. package/dist/esm/{associated.controller-5bee50ee.js.map → associated.controller-3b160a7e.js.map} +1 -1
  402. package/dist/esm/{button-variant-87a9d78a.js → button-variant-a4270d4a.js} +1 -1
  403. package/dist/esm/{button-variant-87a9d78a.js.map → button-variant-a4270d4a.js.map} +1 -1
  404. package/dist/esm/{color-4da01fff.js → color-c32d99db.js} +1 -1
  405. package/dist/esm/{color-4da01fff.js.map → color-c32d99db.js.map} +1 -1
  406. package/dist/esm/component-names-60d77143.js +4 -0
  407. package/dist/esm/component-names-60d77143.js.map +1 -0
  408. package/dist/esm/{controller-b8f57f13.js → controller-03f4036e.js} +1 -1
  409. package/dist/esm/{controller-b8f57f13.js.map → controller-03f4036e.js.map} +1 -1
  410. package/dist/esm/{controller-43a2b1d8.js → controller-4fb2a355.js} +1 -1
  411. package/dist/esm/{controller-43a2b1d8.js.map → controller-4fb2a355.js.map} +1 -1
  412. package/dist/esm/{controller-868d4820.js → controller-a31f303e.js} +1 -1
  413. package/dist/esm/{controller-868d4820.js.map → controller-a31f303e.js.map} +1 -1
  414. package/dist/esm/{controller-f7cecda9.js → controller-c45e4074.js} +1 -1
  415. package/dist/esm/{controller-f7cecda9.js.map → controller-c45e4074.js.map} +1 -1
  416. package/dist/esm/controller-icon-d8af89ec.js +4 -0
  417. package/dist/esm/controller-icon-d8af89ec.js.map +1 -0
  418. package/dist/esm/custom-class-c7abcffc.js +4 -0
  419. package/dist/esm/{custom-class-cedc9f43.js.map → custom-class-c7abcffc.js.map} +1 -1
  420. package/dist/esm/{dev.utils-ad5c4301.js → dev.utils-6720f330.js} +1 -1
  421. package/dist/esm/{dev.utils-ad5c4301.js.map → dev.utils-6720f330.js.map} +1 -1
  422. package/dist/esm/{devtools-8776d850.js → devtools-551f5768.js} +1 -1
  423. package/dist/esm/{devtools-8776d850.js.map → devtools-551f5768.js.map} +1 -1
  424. package/dist/esm/disabled-11f5f213.js +4 -0
  425. package/dist/esm/{disabled-e9084205.js.map → disabled-11f5f213.js.map} +1 -1
  426. package/dist/esm/{events-5adf6b62.js → events-5886c68b.js} +1 -1
  427. package/dist/esm/events-5886c68b.js.map +1 -0
  428. package/dist/esm/{getRenderStates-b9480d6e.js → getRenderStates-80356b7e.js} +1 -1
  429. package/dist/esm/{getRenderStates-b9480d6e.js.map → getRenderStates-80356b7e.js.map} +1 -1
  430. package/dist/esm/{has-closer-abdab7af.js → has-closer-b582e72a.js} +1 -1
  431. package/dist/esm/{has-closer-abdab7af.js.map → has-closer-b582e72a.js.map} +1 -1
  432. package/dist/esm/{has-counter-23a7a06b.js → has-counter-0ab5f398.js} +1 -1
  433. package/dist/esm/{has-counter-23a7a06b.js.map → has-counter-0ab5f398.js.map} +1 -1
  434. package/dist/esm/{hide-label-8c202307.js → hide-label-90b37cc2.js} +1 -1
  435. package/dist/esm/{hide-label-8c202307.js.map → hide-label-90b37cc2.js.map} +1 -1
  436. package/dist/esm/{href-cec41fcd.js → href-8bd5e6c9.js} +1 -1
  437. package/dist/esm/{href-cec41fcd.js.map → href-8bd5e6c9.js.map} +1 -1
  438. package/dist/esm/i18n-45224cc3.js +4 -0
  439. package/dist/esm/i18n-45224cc3.js.map +1 -0
  440. package/dist/esm/{i18n-005310a7.js → i18n-efbafc80.js} +1 -1
  441. package/dist/esm/{i18n-005310a7.js.map → i18n-efbafc80.js.map} +1 -1
  442. package/dist/esm/{icons-458eee6a.js → icons-6ec03aa3.js} +1 -1
  443. package/dist/esm/icons-6ec03aa3.js.map +1 -0
  444. package/dist/esm/{image-source-90db908f.js → image-source-6cc4aef4.js} +1 -1
  445. package/dist/esm/{image-source-90db908f.js.map → image-source-6cc4aef4.js.map} +1 -1
  446. package/dist/esm/index-60c1fed0.js +4 -0
  447. package/dist/esm/{index-4018f86a.js.map → index-60c1fed0.js.map} +1 -1
  448. package/dist/esm/index-6d801dad.js +4 -0
  449. package/dist/esm/index-6d801dad.js.map +1 -0
  450. package/dist/esm/index.js +1 -1
  451. package/dist/esm/kol-abbr.entry.js +1 -1
  452. package/dist/esm/kol-abbr.entry.js.map +1 -1
  453. package/dist/esm/kol-accordion.entry.js +1 -1
  454. package/dist/esm/kol-accordion.entry.js.map +1 -1
  455. package/dist/esm/kol-alert-wc.entry.js +1 -1
  456. package/dist/esm/kol-alert.entry.js +1 -1
  457. package/dist/esm/kol-alert.entry.js.map +1 -1
  458. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  459. package/dist/esm/kol-avatar.entry.js +1 -1
  460. package/dist/esm/kol-avatar.entry.js.map +1 -1
  461. package/dist/esm/kol-badge.entry.js +1 -1
  462. package/dist/esm/kol-badge.entry.js.map +1 -1
  463. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  464. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  465. package/dist/esm/kol-button-link.entry.js +1 -1
  466. package/dist/esm/kol-button-link.entry.js.map +1 -1
  467. package/dist/esm/kol-button-wc.entry.js +1 -1
  468. package/dist/esm/kol-button.entry.js +1 -1
  469. package/dist/esm/kol-button.entry.js.map +1 -1
  470. package/dist/esm/kol-card.entry.js +1 -1
  471. package/dist/esm/kol-card.entry.js.map +1 -1
  472. package/dist/esm/kol-combobox.entry.js +1 -1
  473. package/dist/esm/kol-combobox.entry.js.map +1 -1
  474. package/dist/esm/kol-details.entry.js +1 -1
  475. package/dist/esm/kol-details.entry.js.map +1 -1
  476. package/dist/esm/kol-drawer.entry.js +1 -1
  477. package/dist/esm/kol-drawer.entry.js.map +1 -1
  478. package/dist/esm/kol-form.entry.js +1 -1
  479. package/dist/esm/kol-form.entry.js.map +1 -1
  480. package/dist/esm/kol-heading.entry.js +1 -1
  481. package/dist/esm/kol-heading.entry.js.map +1 -1
  482. package/dist/esm/kol-icon.entry.js +1 -1
  483. package/dist/esm/kol-image.entry.js +1 -1
  484. package/dist/esm/kol-image.entry.js.map +1 -1
  485. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  486. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  487. package/dist/esm/kol-input-color.entry.js +1 -1
  488. package/dist/esm/kol-input-color.entry.js.map +1 -1
  489. package/dist/esm/kol-input-date.entry.js +1 -1
  490. package/dist/esm/kol-input-date.entry.js.map +1 -1
  491. package/dist/esm/kol-input-email.entry.js +1 -1
  492. package/dist/esm/kol-input-email.entry.js.map +1 -1
  493. package/dist/esm/kol-input-file.entry.js +1 -1
  494. package/dist/esm/kol-input-file.entry.js.map +1 -1
  495. package/dist/esm/kol-input-number.entry.js +1 -1
  496. package/dist/esm/kol-input-number.entry.js.map +1 -1
  497. package/dist/esm/kol-input-password.entry.js +1 -1
  498. package/dist/esm/kol-input-password.entry.js.map +1 -1
  499. package/dist/esm/kol-input-radio.entry.js +1 -1
  500. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  501. package/dist/esm/kol-input-range.entry.js +1 -1
  502. package/dist/esm/kol-input-range.entry.js.map +1 -1
  503. package/dist/esm/kol-input-text.entry.js +1 -1
  504. package/dist/esm/kol-input-text.entry.js.map +1 -1
  505. package/dist/esm/kol-kolibri.entry.js +1 -1
  506. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  507. package/dist/esm/kol-link-button.entry.js +1 -1
  508. package/dist/esm/kol-link-button.entry.js.map +1 -1
  509. package/dist/esm/kol-link-wc.entry.js +1 -1
  510. package/dist/esm/kol-link.entry.js +1 -1
  511. package/dist/esm/kol-link.entry.js.map +1 -1
  512. package/dist/esm/kol-modal.entry.js +1 -1
  513. package/dist/esm/kol-modal.entry.js.map +1 -1
  514. package/dist/esm/kol-nav.entry.js +1 -1
  515. package/dist/esm/kol-nav.entry.js.map +1 -1
  516. package/dist/esm/kol-pagination.entry.js +1 -1
  517. package/dist/esm/kol-pagination.entry.js.map +1 -1
  518. package/dist/esm/kol-popover-button-wc.entry.js +4 -0
  519. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -0
  520. package/dist/esm/kol-popover-button.entry.js +1 -1
  521. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  522. package/dist/esm/kol-popover-wc.entry.js +1 -1
  523. package/dist/esm/kol-progress.entry.js +1 -1
  524. package/dist/esm/kol-progress.entry.js.map +1 -1
  525. package/dist/esm/kol-quote.entry.js +1 -1
  526. package/dist/esm/kol-quote.entry.js.map +1 -1
  527. package/dist/esm/kol-select.entry.js +1 -1
  528. package/dist/esm/kol-select.entry.js.map +1 -1
  529. package/dist/esm/kol-single-select.entry.js +1 -1
  530. package/dist/esm/kol-single-select.entry.js.map +1 -1
  531. package/dist/esm/kol-skip-nav.entry.js +1 -1
  532. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  533. package/dist/esm/kol-spin.entry.js +1 -1
  534. package/dist/esm/kol-spin.entry.js.map +1 -1
  535. package/dist/esm/kol-split-button.entry.js +1 -1
  536. package/dist/esm/kol-split-button.entry.js.map +1 -1
  537. package/dist/esm/kol-table-settings-wc.entry.js +4 -0
  538. package/dist/esm/kol-table-settings-wc.entry.js.map +1 -0
  539. package/dist/esm/kol-table-stateful.entry.js +1 -1
  540. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  541. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  542. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  543. package/dist/esm/kol-table-stateless.entry.js +1 -1
  544. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  545. package/dist/esm/kol-tabs.entry.js +1 -1
  546. package/dist/esm/kol-tabs.entry.js.map +1 -1
  547. package/dist/esm/kol-textarea.entry.js +1 -1
  548. package/dist/esm/kol-textarea.entry.js.map +1 -1
  549. package/dist/esm/kol-toast-container.entry.js +1 -1
  550. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  551. package/dist/esm/kol-toolbar.entry.js +1 -1
  552. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  553. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  554. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  555. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  556. package/dist/esm/kol-tree-item.entry.js +1 -1
  557. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  558. package/dist/esm/kol-tree-wc.entry.js +1 -1
  559. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  560. package/dist/esm/kol-tree.entry.js +1 -1
  561. package/dist/esm/kol-tree.entry.js.map +1 -1
  562. package/dist/esm/kol-version.entry.js +1 -1
  563. package/dist/esm/kol-version.entry.js.map +1 -1
  564. package/dist/esm/kolibri.js +1 -1
  565. package/dist/esm/{label-e8ec0e3a.js → label-90c13388.js} +1 -1
  566. package/dist/esm/{label-e8ec0e3a.js.map → label-90c13388.js.map} +1 -1
  567. package/dist/esm/loader.js +1 -1
  568. package/dist/esm/{open-7e16be6b.js → open-4d9f16d0.js} +1 -1
  569. package/dist/esm/{open-7e16be6b.js.map → open-4d9f16d0.js.map} +1 -1
  570. package/dist/esm/{prop.validators-64749272.js → prop.validators-17aec743.js} +1 -1
  571. package/dist/esm/{prop.validators-64749272.js.map → prop.validators-17aec743.js.map} +1 -1
  572. package/dist/esm/{rows-3e585d8f.js → rows-f033b1b3.js} +1 -1
  573. package/dist/esm/{rows-3e585d8f.js.map → rows-f033b1b3.js.map} +1 -1
  574. package/dist/esm/show-c115b1eb.js +4 -0
  575. package/dist/esm/{show-6d1c1b72.js.map → show-c115b1eb.js.map} +1 -1
  576. package/dist/esm/spell-check-27a3f91d.js +4 -0
  577. package/dist/esm/{spell-check-cb87a985.js.map → spell-check-27a3f91d.js.map} +1 -1
  578. package/dist/esm/{suggestions-b6fd51c8.js → suggestions-04da2b2e.js} +1 -1
  579. package/dist/esm/{suggestions-b6fd51c8.js.map → suggestions-04da2b2e.js.map} +1 -1
  580. package/dist/esm/{callback-2c4e1e78.js → table-settings-d708d477.js} +1 -1
  581. package/dist/esm/table-settings-d708d477.js.map +1 -0
  582. package/dist/esm/test-component.entry.js +1 -1
  583. package/dist/esm/tooltip-align-7d5fdb9e.js +4 -0
  584. package/dist/esm/{tooltip-align-c6eb75ce.js.map → tooltip-align-7d5fdb9e.js.map} +1 -1
  585. package/dist/esm/{validation-3745ed01.js → validation-16bfc143.js} +1 -1
  586. package/dist/esm/{validation-3745ed01.js.map → validation-16bfc143.js.map} +1 -1
  587. package/dist/esm/{validation-3ba0e439.js → validation-81a4e752.js} +1 -1
  588. package/dist/esm/{validation-3ba0e439.js.map → validation-81a4e752.js.map} +1 -1
  589. package/dist/kolibri/Alert-89f8d3d3.js +4 -0
  590. package/dist/kolibri/{Collapsible-bf53bb8c.js → Collapsible-2f67d6f7.js} +1 -1
  591. package/dist/kolibri/{CustomSuggestionsOptionsGroup-5d718c8a.js → CustomSuggestionsOptionsGroup-93a69a98.js} +1 -1
  592. package/dist/kolibri/{FieldControlStateWrapper-fde292ae.js → FieldControlStateWrapper-f7198312.js} +1 -1
  593. package/dist/kolibri/{Heading-ee029adb.js → Heading-110efd91.js} +1 -1
  594. package/dist/kolibri/Icon-2edabbd3.js +4 -0
  595. package/dist/kolibri/{Input-0312721f.js → Input-86d13305.js} +1 -1
  596. package/dist/kolibri/{InputStateWrapper-1a92b6c6.js → InputStateWrapper-07488373.js} +1 -1
  597. package/dist/kolibri/{InternalUnderlinedBadgeText-1c8d1c58.js → InternalUnderlinedBadgeText-739d8c73.js} +1 -1
  598. package/dist/kolibri/{Span-0ba91a5c.js → Span-735e38db.js} +1 -1
  599. package/dist/kolibri/access-and-short-key-16c1f3d9.js +4 -0
  600. package/dist/kolibri/align-61c6a220.js +4 -0
  601. package/dist/kolibri/align-floating-elements-7cdb6dc6.js +4 -0
  602. package/dist/kolibri/align-floating-elements-7cdb6dc6.js.map +1 -0
  603. package/dist/kolibri/app-globals-12756932.js +4 -0
  604. package/dist/kolibri/{app-globals-28eb0e7d.js.map → app-globals-12756932.js.map} +1 -1
  605. package/dist/kolibri/{associated.controller-5bee50ee.js → associated.controller-3b160a7e.js} +1 -1
  606. package/dist/kolibri/{button-variant-87a9d78a.js → button-variant-a4270d4a.js} +1 -1
  607. package/dist/kolibri/{color-4da01fff.js → color-c32d99db.js} +1 -1
  608. package/dist/kolibri/color-c32d99db.js.map +1 -0
  609. package/dist/kolibri/component-names-60d77143.js +4 -0
  610. package/dist/kolibri/component-names-60d77143.js.map +1 -0
  611. package/dist/kolibri/{controller-b8f57f13.js → controller-03f4036e.js} +1 -1
  612. package/dist/kolibri/{controller-43a2b1d8.js → controller-4fb2a355.js} +1 -1
  613. package/dist/kolibri/{controller-868d4820.js → controller-a31f303e.js} +1 -1
  614. package/dist/kolibri/{controller-f7cecda9.js → controller-c45e4074.js} +1 -1
  615. package/dist/kolibri/controller-icon-d8af89ec.js +4 -0
  616. package/dist/kolibri/controller-icon-d8af89ec.js.map +1 -0
  617. package/dist/kolibri/custom-class-c7abcffc.js +4 -0
  618. package/dist/kolibri/{dev.utils-ad5c4301.js → dev.utils-6720f330.js} +1 -1
  619. package/dist/kolibri/devtools-551f5768.js +4 -0
  620. package/dist/kolibri/{devtools-8776d850.js.map → devtools-551f5768.js.map} +1 -1
  621. package/dist/kolibri/{disabled-e9084205.js → disabled-11f5f213.js} +1 -1
  622. package/dist/kolibri/events-5886c68b.js +4 -0
  623. package/dist/kolibri/events-5886c68b.js.map +1 -0
  624. package/dist/kolibri/{getRenderStates-b9480d6e.js → getRenderStates-80356b7e.js} +1 -1
  625. package/dist/kolibri/has-closer-b582e72a.js +4 -0
  626. package/dist/kolibri/has-counter-0ab5f398.js +4 -0
  627. package/dist/kolibri/hide-label-90b37cc2.js +4 -0
  628. package/dist/kolibri/href-8bd5e6c9.js +4 -0
  629. package/dist/kolibri/i18n-45224cc3.js +4 -0
  630. package/dist/kolibri/i18n-45224cc3.js.map +1 -0
  631. package/dist/kolibri/{i18n-005310a7.js → i18n-efbafc80.js} +1 -1
  632. package/dist/kolibri/icons-6ec03aa3.js +4 -0
  633. package/dist/kolibri/icons-6ec03aa3.js.map +1 -0
  634. package/dist/kolibri/image-source-6cc4aef4.js +4 -0
  635. package/dist/kolibri/{index-4018f86a.js → index-60c1fed0.js} +2 -2
  636. package/dist/kolibri/{index-4018f86a.js.map → index-60c1fed0.js.map} +1 -1
  637. package/dist/kolibri/{index-da3e0c00.js → index-6d801dad.js} +1 -1
  638. package/dist/kolibri/index-6d801dad.js.map +1 -0
  639. package/dist/kolibri/index.esm.js +1 -1
  640. package/dist/kolibri/kol-abbr.entry.js +1 -1
  641. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  642. package/dist/kolibri/kol-accordion.entry.js +1 -1
  643. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  644. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  645. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  646. package/dist/kolibri/kol-alert.entry.js +1 -1
  647. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  648. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  649. package/dist/kolibri/kol-avatar.entry.js +1 -1
  650. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  651. package/dist/kolibri/kol-badge.entry.js +1 -1
  652. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  653. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  654. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  655. package/dist/kolibri/kol-button-link.entry.js +1 -1
  656. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  657. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  658. package/dist/kolibri/kol-button.entry.js +1 -1
  659. package/dist/kolibri/kol-button.entry.js.map +1 -1
  660. package/dist/kolibri/kol-card.entry.js +1 -1
  661. package/dist/kolibri/kol-card.entry.js.map +1 -1
  662. package/dist/kolibri/kol-combobox.entry.js +1 -1
  663. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  664. package/dist/kolibri/kol-details.entry.js +1 -1
  665. package/dist/kolibri/kol-details.entry.js.map +1 -1
  666. package/dist/kolibri/kol-drawer.entry.js +1 -1
  667. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  668. package/dist/kolibri/kol-form.entry.js +1 -1
  669. package/dist/kolibri/kol-form.entry.js.map +1 -1
  670. package/dist/kolibri/kol-heading.entry.js +1 -1
  671. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  672. package/dist/kolibri/kol-icon.entry.js +1 -1
  673. package/dist/kolibri/kol-image.entry.js +1 -1
  674. package/dist/kolibri/kol-image.entry.js.map +1 -1
  675. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  676. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  677. package/dist/kolibri/kol-input-color.entry.js +1 -1
  678. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  679. package/dist/kolibri/kol-input-date.entry.js +1 -1
  680. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  681. package/dist/kolibri/kol-input-email.entry.js +1 -1
  682. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  683. package/dist/kolibri/kol-input-file.entry.js +1 -1
  684. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  685. package/dist/kolibri/kol-input-number.entry.js +1 -1
  686. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  687. package/dist/kolibri/kol-input-password.entry.js +1 -1
  688. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  689. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  690. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  691. package/dist/kolibri/kol-input-range.entry.js +1 -1
  692. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  693. package/dist/kolibri/kol-input-text.entry.js +1 -1
  694. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  695. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  696. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  697. package/dist/kolibri/kol-link-button.entry.js +1 -1
  698. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  699. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  700. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  701. package/dist/kolibri/kol-link.entry.js +1 -1
  702. package/dist/kolibri/kol-link.entry.js.map +1 -1
  703. package/dist/kolibri/kol-modal.entry.js +1 -1
  704. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  705. package/dist/kolibri/kol-nav.entry.js +1 -1
  706. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  707. package/dist/kolibri/kol-pagination.entry.js +1 -1
  708. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  709. package/dist/kolibri/kol-popover-button-wc.entry.js +4 -0
  710. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -0
  711. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  712. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  713. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  714. package/dist/kolibri/kol-progress.entry.js +1 -1
  715. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  716. package/dist/kolibri/kol-quote.entry.js +1 -1
  717. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  718. package/dist/kolibri/kol-select.entry.js +1 -1
  719. package/dist/kolibri/kol-select.entry.js.map +1 -1
  720. package/dist/kolibri/kol-single-select.entry.js +1 -1
  721. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  722. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  723. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  724. package/dist/kolibri/kol-spin.entry.js +1 -1
  725. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  726. package/dist/kolibri/kol-split-button.entry.js +1 -1
  727. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  728. package/dist/kolibri/kol-table-settings-wc.entry.js +4 -0
  729. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -0
  730. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  731. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  732. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  733. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  734. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  735. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  736. package/dist/kolibri/kol-tabs.entry.js +1 -1
  737. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  738. package/dist/kolibri/kol-textarea.entry.js +1 -1
  739. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  740. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  741. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  742. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  743. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  744. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  745. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  746. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  747. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  748. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  749. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  750. package/dist/kolibri/kol-tree-wc.entry.js.map +1 -1
  751. package/dist/kolibri/kol-tree.entry.js +1 -1
  752. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  753. package/dist/kolibri/kol-version.entry.js +1 -1
  754. package/dist/kolibri/kol-version.entry.js.map +1 -1
  755. package/dist/kolibri/kolibri.esm.js +1 -1
  756. package/dist/kolibri/kolibri.esm.js.map +1 -1
  757. package/dist/kolibri/{label-e8ec0e3a.js → label-90c13388.js} +1 -1
  758. package/dist/kolibri/open-4d9f16d0.js +4 -0
  759. package/dist/kolibri/{prop.validators-64749272.js → prop.validators-17aec743.js} +1 -1
  760. package/dist/kolibri/rows-f033b1b3.js +4 -0
  761. package/dist/kolibri/show-c115b1eb.js +4 -0
  762. package/dist/kolibri/spell-check-27a3f91d.js +4 -0
  763. package/dist/kolibri/{suggestions-b6fd51c8.js → suggestions-04da2b2e.js} +1 -1
  764. package/dist/kolibri/{callback-2c4e1e78.js → table-settings-d708d477.js} +1 -1
  765. package/dist/kolibri/table-settings-d708d477.js.map +1 -0
  766. package/dist/kolibri/test-component.entry.js +1 -1
  767. package/dist/kolibri/tooltip-align-7d5fdb9e.js +4 -0
  768. package/dist/kolibri/validation-16bfc143.js +4 -0
  769. package/dist/kolibri/validation-81a4e752.js +4 -0
  770. package/dist/types/components/@deprecated/input/controller-icon.d.ts +2 -2
  771. package/dist/types/components/@deprecated/input/types-icon.d.ts +2 -4
  772. package/dist/types/components/combobox/shadow.d.ts +4 -3
  773. package/dist/types/components/input/types.d.ts +2 -3
  774. package/dist/types/components/input-color/shadow.d.ts +3 -3
  775. package/dist/types/components/input-date/shadow.d.ts +3 -3
  776. package/dist/types/components/input-email/shadow.d.ts +3 -3
  777. package/dist/types/components/input-file/shadow.d.ts +3 -3
  778. package/dist/types/components/input-number/shadow.d.ts +3 -3
  779. package/dist/types/components/input-password/shadow.d.ts +3 -3
  780. package/dist/types/components/input-range/shadow.d.ts +3 -3
  781. package/dist/types/components/input-text/shadow.d.ts +3 -3
  782. package/dist/types/components/popover-button/component.d.ts +40 -0
  783. package/dist/types/components/popover-button/shadow.d.ts +3 -12
  784. package/dist/types/components/select/shadow.d.ts +4 -4
  785. package/dist/types/components/single-select/shadow.d.ts +4 -3
  786. package/dist/types/components/table-stateful/shadow.d.ts +3 -0
  787. package/dist/types/components/table-stateless/component.d.ts +10 -1
  788. package/dist/types/components/table-stateless/shadow.d.ts +2 -0
  789. package/dist/types/components/table-stateless/table-settings.d.ts +18 -0
  790. package/dist/types/components/textarea/shadow.d.ts +3 -3
  791. package/dist/types/components.d.ts +264 -28
  792. package/dist/types/core/component-names.d.ts +2 -0
  793. package/dist/types/locales/de.d.ts +10 -0
  794. package/dist/types/locales/en.d.ts +10 -0
  795. package/dist/types/schema/components/combobox.d.ts +4 -6
  796. package/dist/types/schema/components/input-color.d.ts +4 -6
  797. package/dist/types/schema/components/input-date.d.ts +3 -4
  798. package/dist/types/schema/components/input-email.d.ts +4 -6
  799. package/dist/types/schema/components/input-file.d.ts +4 -6
  800. package/dist/types/schema/components/input-number.d.ts +3 -4
  801. package/dist/types/schema/components/input-password.d.ts +5 -7
  802. package/dist/types/schema/components/input-range.d.ts +4 -6
  803. package/dist/types/schema/components/input-text.d.ts +4 -6
  804. package/dist/types/schema/components/input.d.ts +2 -3
  805. package/dist/types/schema/components/select.d.ts +5 -7
  806. package/dist/types/schema/components/single-select.d.ts +4 -6
  807. package/dist/types/schema/components/table.d.ts +3 -2
  808. package/dist/types/schema/components/tableStateless.d.ts +3 -2
  809. package/dist/types/schema/components/textarea.d.ts +4 -6
  810. package/dist/types/schema/props/icons.d.ts +5 -1
  811. package/dist/types/schema/props/table-settings.d.ts +7 -0
  812. package/dist/types/schema/types/icons.d.ts +4 -0
  813. package/dist/types/schema/types/index.d.ts +1 -1
  814. package/dist/types/schema/types/input/control/number.d.ts +2 -3
  815. package/dist/types/schema/types/table-settings.d.ts +10 -0
  816. package/dist/types/utils/events.d.ts +2 -1
  817. package/doc/popover-button.md +14 -1
  818. package/doc/select.md +22 -22
  819. package/doc/table-stateful.md +1 -0
  820. package/doc/table-stateless.md +1 -0
  821. package/doc/textarea.md +1 -1
  822. package/package.json +3 -3
  823. package/vscode-custom-data.json +169 -0
  824. package/dist/cjs/Icon-fdca4de2.js +0 -4
  825. package/dist/cjs/align-floating-elements-8bc6ec37.js +0 -4
  826. package/dist/cjs/align-floating-elements-8bc6ec37.js.map +0 -1
  827. package/dist/cjs/app-globals-eb224d6d.js +0 -4
  828. package/dist/cjs/callback-00e57b93.js.map +0 -1
  829. package/dist/cjs/component-names-74abfa2e.js +0 -4
  830. package/dist/cjs/component-names-74abfa2e.js.map +0 -1
  831. package/dist/cjs/controller-1cae0572.js +0 -4
  832. package/dist/cjs/controller-icon-067f8f7d.js +0 -4
  833. package/dist/cjs/controller-icon-067f8f7d.js.map +0 -1
  834. package/dist/cjs/custom-class-8f276ee3.js +0 -4
  835. package/dist/cjs/disabled-d424f708.js +0 -4
  836. package/dist/cjs/events-fc641593.js.map +0 -1
  837. package/dist/cjs/has-closer-d1310212.js +0 -4
  838. package/dist/cjs/has-counter-878e61ea.js +0 -4
  839. package/dist/cjs/hide-label-cfe594e0.js +0 -4
  840. package/dist/cjs/href-51cfc659.js +0 -4
  841. package/dist/cjs/i18n-583e3c4b.js +0 -4
  842. package/dist/cjs/i18n-583e3c4b.js.map +0 -1
  843. package/dist/cjs/icons-3ad822d9.js.map +0 -1
  844. package/dist/cjs/image-source-74bc2874.js +0 -4
  845. package/dist/cjs/index-38f5f0b2.js +0 -4
  846. package/dist/cjs/index-38f5f0b2.js.map +0 -1
  847. package/dist/cjs/index-e2b73bdf.js +0 -4
  848. package/dist/cjs/open-ef7b4602.js +0 -4
  849. package/dist/cjs/rows-4d4438c2.js +0 -4
  850. package/dist/cjs/show-ebdc6e78.js +0 -4
  851. package/dist/cjs/spell-check-beb27264.js +0 -4
  852. package/dist/cjs/tooltip-align-c6cf9049.js +0 -4
  853. package/dist/components/callback.js.map +0 -1
  854. package/dist/esm/Icon-ac50af26.js +0 -4
  855. package/dist/esm/align-floating-elements-387a1e9b.js +0 -4
  856. package/dist/esm/align-floating-elements-387a1e9b.js.map +0 -1
  857. package/dist/esm/app-globals-28eb0e7d.js +0 -4
  858. package/dist/esm/callback-2c4e1e78.js.map +0 -1
  859. package/dist/esm/component-names-545d6582.js +0 -4
  860. package/dist/esm/component-names-545d6582.js.map +0 -1
  861. package/dist/esm/controller-icon-5fdeb3bb.js +0 -4
  862. package/dist/esm/controller-icon-5fdeb3bb.js.map +0 -1
  863. package/dist/esm/custom-class-cedc9f43.js +0 -4
  864. package/dist/esm/disabled-e9084205.js +0 -4
  865. package/dist/esm/events-5adf6b62.js.map +0 -1
  866. package/dist/esm/i18n-c120df5c.js +0 -4
  867. package/dist/esm/i18n-c120df5c.js.map +0 -1
  868. package/dist/esm/icons-458eee6a.js.map +0 -1
  869. package/dist/esm/index-4018f86a.js +0 -4
  870. package/dist/esm/index-da3e0c00.js +0 -4
  871. package/dist/esm/index-da3e0c00.js.map +0 -1
  872. package/dist/esm/show-6d1c1b72.js +0 -4
  873. package/dist/esm/spell-check-cb87a985.js +0 -4
  874. package/dist/esm/tooltip-align-c6eb75ce.js +0 -4
  875. package/dist/kolibri/Alert-cff25992.js +0 -4
  876. package/dist/kolibri/Icon-ac50af26.js +0 -4
  877. package/dist/kolibri/access-and-short-key-e094398d.js +0 -4
  878. package/dist/kolibri/align-60c95351.js +0 -4
  879. package/dist/kolibri/align-floating-elements-387a1e9b.js +0 -4
  880. package/dist/kolibri/align-floating-elements-387a1e9b.js.map +0 -1
  881. package/dist/kolibri/app-globals-28eb0e7d.js +0 -4
  882. package/dist/kolibri/callback-2c4e1e78.js.map +0 -1
  883. package/dist/kolibri/color-4da01fff.js.map +0 -1
  884. package/dist/kolibri/component-names-545d6582.js +0 -4
  885. package/dist/kolibri/component-names-545d6582.js.map +0 -1
  886. package/dist/kolibri/controller-icon-5fdeb3bb.js +0 -4
  887. package/dist/kolibri/controller-icon-5fdeb3bb.js.map +0 -1
  888. package/dist/kolibri/custom-class-cedc9f43.js +0 -4
  889. package/dist/kolibri/devtools-8776d850.js +0 -4
  890. package/dist/kolibri/events-5adf6b62.js +0 -4
  891. package/dist/kolibri/events-5adf6b62.js.map +0 -1
  892. package/dist/kolibri/has-closer-abdab7af.js +0 -4
  893. package/dist/kolibri/has-counter-23a7a06b.js +0 -4
  894. package/dist/kolibri/hide-label-8c202307.js +0 -4
  895. package/dist/kolibri/href-cec41fcd.js +0 -4
  896. package/dist/kolibri/i18n-c120df5c.js +0 -4
  897. package/dist/kolibri/i18n-c120df5c.js.map +0 -1
  898. package/dist/kolibri/icons-458eee6a.js +0 -4
  899. package/dist/kolibri/icons-458eee6a.js.map +0 -1
  900. package/dist/kolibri/image-source-90db908f.js +0 -4
  901. package/dist/kolibri/index-da3e0c00.js.map +0 -1
  902. package/dist/kolibri/open-7e16be6b.js +0 -4
  903. package/dist/kolibri/rows-3e585d8f.js +0 -4
  904. package/dist/kolibri/show-6d1c1b72.js +0 -4
  905. package/dist/kolibri/spell-check-cb87a985.js +0 -4
  906. package/dist/kolibri/tooltip-align-c6eb75ce.js +0 -4
  907. package/dist/kolibri/validation-3745ed01.js +0 -4
  908. package/dist/kolibri/validation-3ba0e439.js +0 -4
  909. /package/dist/kolibri/{Alert-cff25992.js.map → Alert-89f8d3d3.js.map} +0 -0
  910. /package/dist/kolibri/{Collapsible-bf53bb8c.js.map → Collapsible-2f67d6f7.js.map} +0 -0
  911. /package/dist/kolibri/{CustomSuggestionsOptionsGroup-5d718c8a.js.map → CustomSuggestionsOptionsGroup-93a69a98.js.map} +0 -0
  912. /package/dist/kolibri/{FieldControlStateWrapper-fde292ae.js.map → FieldControlStateWrapper-f7198312.js.map} +0 -0
  913. /package/dist/kolibri/{Heading-ee029adb.js.map → Heading-110efd91.js.map} +0 -0
  914. /package/dist/kolibri/{Icon-ac50af26.js.map → Icon-2edabbd3.js.map} +0 -0
  915. /package/dist/kolibri/{Input-0312721f.js.map → Input-86d13305.js.map} +0 -0
  916. /package/dist/kolibri/{InputStateWrapper-1a92b6c6.js.map → InputStateWrapper-07488373.js.map} +0 -0
  917. /package/dist/kolibri/{InternalUnderlinedBadgeText-1c8d1c58.js.map → InternalUnderlinedBadgeText-739d8c73.js.map} +0 -0
  918. /package/dist/kolibri/{Span-0ba91a5c.js.map → Span-735e38db.js.map} +0 -0
  919. /package/dist/kolibri/{access-and-short-key-e094398d.js.map → access-and-short-key-16c1f3d9.js.map} +0 -0
  920. /package/dist/kolibri/{align-60c95351.js.map → align-61c6a220.js.map} +0 -0
  921. /package/dist/kolibri/{associated.controller-5bee50ee.js.map → associated.controller-3b160a7e.js.map} +0 -0
  922. /package/dist/kolibri/{button-variant-87a9d78a.js.map → button-variant-a4270d4a.js.map} +0 -0
  923. /package/dist/kolibri/{controller-b8f57f13.js.map → controller-03f4036e.js.map} +0 -0
  924. /package/dist/kolibri/{controller-43a2b1d8.js.map → controller-4fb2a355.js.map} +0 -0
  925. /package/dist/kolibri/{controller-868d4820.js.map → controller-a31f303e.js.map} +0 -0
  926. /package/dist/kolibri/{controller-f7cecda9.js.map → controller-c45e4074.js.map} +0 -0
  927. /package/dist/kolibri/{custom-class-cedc9f43.js.map → custom-class-c7abcffc.js.map} +0 -0
  928. /package/dist/kolibri/{dev.utils-ad5c4301.js.map → dev.utils-6720f330.js.map} +0 -0
  929. /package/dist/kolibri/{disabled-e9084205.js.map → disabled-11f5f213.js.map} +0 -0
  930. /package/dist/kolibri/{getRenderStates-b9480d6e.js.map → getRenderStates-80356b7e.js.map} +0 -0
  931. /package/dist/kolibri/{has-closer-abdab7af.js.map → has-closer-b582e72a.js.map} +0 -0
  932. /package/dist/kolibri/{has-counter-23a7a06b.js.map → has-counter-0ab5f398.js.map} +0 -0
  933. /package/dist/kolibri/{hide-label-8c202307.js.map → hide-label-90b37cc2.js.map} +0 -0
  934. /package/dist/kolibri/{href-cec41fcd.js.map → href-8bd5e6c9.js.map} +0 -0
  935. /package/dist/kolibri/{i18n-005310a7.js.map → i18n-efbafc80.js.map} +0 -0
  936. /package/dist/kolibri/{image-source-90db908f.js.map → image-source-6cc4aef4.js.map} +0 -0
  937. /package/dist/kolibri/{label-e8ec0e3a.js.map → label-90c13388.js.map} +0 -0
  938. /package/dist/kolibri/{open-7e16be6b.js.map → open-4d9f16d0.js.map} +0 -0
  939. /package/dist/kolibri/{prop.validators-64749272.js.map → prop.validators-17aec743.js.map} +0 -0
  940. /package/dist/kolibri/{rows-3e585d8f.js.map → rows-f033b1b3.js.map} +0 -0
  941. /package/dist/kolibri/{show-6d1c1b72.js.map → show-c115b1eb.js.map} +0 -0
  942. /package/dist/kolibri/{spell-check-cb87a985.js.map → spell-check-27a3f91d.js.map} +0 -0
  943. /package/dist/kolibri/{suggestions-b6fd51c8.js.map → suggestions-04da2b2e.js.map} +0 -0
  944. /package/dist/kolibri/{tooltip-align-c6eb75ce.js.map → tooltip-align-7d5fdb9e.js.map} +0 -0
  945. /package/dist/kolibri/{validation-3745ed01.js.map → validation-16bfc143.js.map} +0 -0
  946. /package/dist/kolibri/{validation-3ba0e439.js.map → validation-81a4e752.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"kol-input-text.entry.cjs.js","mappings":"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","names":["clsx","h","KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc","setState","propagateSubmitEventToForm","nonce","InputTextController"],"sources":["src/components/input-text/style.scss?tag=kol-input-text&mode=default&encapsulation=shadow","src/components/input-text/shadow.tsx"],"sourcesContent":["@use '../../styles/global' as *;\n@use '../../styles/kol-alert-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../../styles/kol-input-container-mixin' as *;\n@use '../../styles/kol-input-mixin' as *;\n@use '../@shared/mixins' as *;\n\n@include kol-alert;\n@include kol-form-field;\n@include kol-input-container;\n@include kol-input;\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport type {\n\tAccessKeyPropType,\n\tButtonProps,\n\tFocusableElement,\n\tHideMsgPropType,\n\tIdPropType,\n\tInputTextAPI,\n\tInputTextStates,\n\tInputTextType,\n\tInputTypeOnDefault,\n\tInputTypeOnOff,\n\tKoliBriHorizontalIcons,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { setState } from '../../schema';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper';\nimport { InputTextController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-text',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputText implements InputTextAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputTextElement;\n\tprivate inputRef?: HTMLInputElement;\n\tprivate oldValue?: string;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onBlur(event);\n\t\tthis.inputHasFocus = false;\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = this.inputRef?.value;\n\n\t\tif (this.oldValue !== value) {\n\t\t\tthis.oldValue = value;\n\t\t}\n\n\t\tthis.controller.onFacade.onChange(event);\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onFocus(event);\n\t\tthis.inputHasFocus = true;\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tconst value = this.inputRef?.value ?? '';\n\t\tsetState(this, '_currentLength', value.length);\n\n\t\tthis._value = value;\n\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.inputRef,\n\t\t\t});\n\t\t}\n\t};\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.inputRef?.value;\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-text', this.state._type as string, {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.inputRef?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\tref: this.catchRef,\n\t\t\tstate: this.state,\n\t\t\t...this.controller.onFacade,\n\t\t\tonBlur: this.onBlur,\n\t\t\tonChange: this.onChange,\n\t\t\tonFocus: this.onFocus,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputTextController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: InputTypeOnOff;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Shows the character count on the lower border of the input.\n\t * @TODO: Change type back to `HasCounterPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriHorizontalIcons>;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\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 the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<ButtonProps>;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: InputTextType = 'text';\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t@State() public state: InputTextStates = {\n\t\t_autoComplete: 'off',\n\t\t_currentLength: 0,\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_type: 'text',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputTextController(this, 'text', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: boolean): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: Stringified<KoliBriHorizontalIcons>): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: string): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: boolean): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: boolean): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_spellCheck')\n\tpublic validateSpellCheck(value?: SpellCheckPropType): void {\n\t\tthis.controller.validateSpellCheck(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: InputTextType): void {\n\t\tthis.controller.validateType(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t\tthis.oldValue = value;\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.oldValue = this._value;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-input-text.entry.cjs.js","mappings":"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","names":["clsx","h","KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc","setState","propagateSubmitEventToForm","nonce","InputTextController"],"sources":["src/components/input-text/style.scss?tag=kol-input-text&mode=default&encapsulation=shadow","src/components/input-text/shadow.tsx"],"sourcesContent":["@use '../../styles/global' as *;\n@use '../../styles/kol-alert-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../../styles/kol-input-container-mixin' as *;\n@use '../../styles/kol-input-mixin' as *;\n@use '../@shared/mixins' as *;\n\n@include kol-alert;\n@include kol-form-field;\n@include kol-input-container;\n@include kol-input;\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport type {\n\tAccessKeyPropType,\n\tButtonProps,\n\tFocusableElement,\n\tHideMsgPropType,\n\tIconsHorizontalPropType,\n\tIdPropType,\n\tInputTextAPI,\n\tInputTextStates,\n\tInputTextType,\n\tInputTypeOnDefault,\n\tInputTypeOnOff,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { setState } from '../../schema';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper';\nimport { InputTextController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-text',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputText implements InputTextAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputTextElement;\n\tprivate inputRef?: HTMLInputElement;\n\tprivate oldValue?: string;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onBlur(event);\n\t\tthis.inputHasFocus = false;\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = this.inputRef?.value;\n\n\t\tif (this.oldValue !== value) {\n\t\t\tthis.oldValue = value;\n\t\t}\n\n\t\tthis.controller.onFacade.onChange(event);\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onFocus(event);\n\t\tthis.inputHasFocus = true;\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tconst value = this.inputRef?.value ?? '';\n\t\tsetState(this, '_currentLength', value.length);\n\n\t\tthis._value = value;\n\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.inputRef,\n\t\t\t});\n\t\t}\n\t};\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.inputRef?.value;\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-text', this.state._type as string, {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.inputRef?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\tref: this.catchRef,\n\t\t\tstate: this.state,\n\t\t\t...this.controller.onFacade,\n\t\t\tonBlur: this.onBlur,\n\t\t\tonChange: this.onChange,\n\t\t\tonFocus: this.onFocus,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputTextController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: InputTypeOnOff;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Shows the character count on the lower border of the input.\n\t * @TODO: Change type back to `HasCounterPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\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 the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<ButtonProps>;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: InputTextType = 'text';\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t@State() public state: InputTextStates = {\n\t\t_autoComplete: 'off',\n\t\t_currentLength: 0,\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_type: 'text',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputTextController(this, 'text', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: boolean): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: string): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: boolean): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: boolean): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_spellCheck')\n\tpublic validateSpellCheck(value?: SpellCheckPropType): void {\n\t\tthis.controller.validateSpellCheck(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: InputTextType): void {\n\t\tthis.controller.validateType(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t\tthis.oldValue = value;\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.oldValue = this._value;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-e2b73bdf.js"),color=require("./color-1a036a49.js"),i18n=require("./i18n-c745fb7d.js"),prop_validators=require("./prop.validators-888c8338.js");require("./dev.utils-58fde089.js"),require("./i18n-583e3c4b.js"),require("./reuse-8650ea4e.js"),require("./index-38f5f0b2.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-kolibri {\n display: inline-block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: 100%;\n }\n .kol-kolibri__text {\n font-size: calc(90rem / var(--kolibri-root-font-size, 16));\n letter-spacing: normal;\n word-spacing: normal;\n }\n}",KolKolibriDefaultStyle0=defaultStyleCss,KolKolibri=class{constructor(e){index.registerInstance(this,e),this.handleColorChange=(e,n)=>{if("string"==typeof e){const t=color.colorRgba(e);n.set("_color",{red:t[0],green:t[1],blue:t[2]})}else prop_validators.devHint("[KolKolibri] You used the complex color schema. For the KoliBri we use need the color as hex string.")},this._color="#003c78",this._labeled=!0,this.state={_color:{red:0,green:60,blue:120},_labeled:!0}}render(){const e=`rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;return index.h("svg",{key:"490680370f1d5c2e66bd77f3afcd0749d54d0c6e",class:"kol-kolibri",role:"img","aria-label":i18n.translate("kol-kolibri-logo"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600",fill:e},index.h("path",{key:"b5d0186d1d0a1c007a0a9fa84321e4edf0e02dcf",d:"M353 322L213 304V434L353 322Z"}),index.h("path",{key:"d933f88df67a0e4b2e5c34a6dfb1c5c963a758da",d:"M209 564V304L149 434L209 564Z"}),index.h("path",{key:"8b3eb704585bac0bfceb99371d6922f4b94b170e",d:"M357 316L417 250L361 210L275 244L357 316Z"}),index.h("path",{key:"e07349bac5c63d8aa2cdec0929e6663d055491e9",d:"M329 218L237 92L250 222L272 241L329 218Z"}),index.h("path",{key:"648c28da54defcd245c3dfab02732d7e57ccbd18",d:"M353 318L35 36L213 300L353 318Z"}),index.h("path",{key:"14a0de9c0455a5a3c8b65cf12b1b47449666448c",d:"M391 286L565 272L421 252L391 286Z"}),!0===this.state._labeled&&index.h("text",{key:"5e4b6bee08779e34bee19d36ef2efee24312ed62",class:"kol-kolibri__text",x:"250",y:"525",fill:e},"KoliBri"))}validateColor(e){color.validateColor(this,e,{defaultValue:"#003c78",hooks:{beforePatch:this.handleColorChange}})}validateLabeled(e){prop_validators.watchBoolean(this,"_labeled",e,{defaultValue:!0})}componentWillLoad(){this.validateColor(this._color),this.validateLabeled(this._labeled)}static get watchers(){return{_color:["validateColor"],_labeled:["validateLabeled"]}}};KolKolibri.style={default:KolKolibriDefaultStyle0},exports.kol_kolibri=KolKolibri;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-06fe81a0.js"),color=require("./color-327a493c.js"),i18n=require("./i18n-0e710ccd.js"),prop_validators=require("./prop.validators-3c86f8eb.js");require("./dev.utils-58fde089.js"),require("./i18n-8c288a27.js"),require("./reuse-8650ea4e.js"),require("./index-c77a4142.js");const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-kolibri {\n display: inline-block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: 100%;\n }\n .kol-kolibri__text {\n font-size: calc(90rem / var(--kolibri-root-font-size, 16));\n letter-spacing: normal;\n word-spacing: normal;\n }\n}",KolKolibriDefaultStyle0=defaultStyleCss,KolKolibri=class{constructor(e){index.registerInstance(this,e),this.handleColorChange=(e,n)=>{if("string"==typeof e){const t=color.colorRgba(e);n.set("_color",{red:t[0],green:t[1],blue:t[2]})}else prop_validators.devHint("[KolKolibri] You used the complex color schema. For the KoliBri we use need the color as hex string.")},this._color="#003c78",this._labeled=!0,this.state={_color:{red:0,green:60,blue:120},_labeled:!0}}render(){const e=`rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;return index.h("svg",{key:"490680370f1d5c2e66bd77f3afcd0749d54d0c6e",class:"kol-kolibri",role:"img","aria-label":i18n.translate("kol-kolibri-logo"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600",fill:e},index.h("path",{key:"b5d0186d1d0a1c007a0a9fa84321e4edf0e02dcf",d:"M353 322L213 304V434L353 322Z"}),index.h("path",{key:"d933f88df67a0e4b2e5c34a6dfb1c5c963a758da",d:"M209 564V304L149 434L209 564Z"}),index.h("path",{key:"8b3eb704585bac0bfceb99371d6922f4b94b170e",d:"M357 316L417 250L361 210L275 244L357 316Z"}),index.h("path",{key:"e07349bac5c63d8aa2cdec0929e6663d055491e9",d:"M329 218L237 92L250 222L272 241L329 218Z"}),index.h("path",{key:"648c28da54defcd245c3dfab02732d7e57ccbd18",d:"M353 318L35 36L213 300L353 318Z"}),index.h("path",{key:"14a0de9c0455a5a3c8b65cf12b1b47449666448c",d:"M391 286L565 272L421 252L391 286Z"}),!0===this.state._labeled&&index.h("text",{key:"5e4b6bee08779e34bee19d36ef2efee24312ed62",class:"kol-kolibri__text",x:"250",y:"525",fill:e},"KoliBri"))}validateColor(e){color.validateColor(this,e,{defaultValue:"#003c78",hooks:{beforePatch:this.handleColorChange}})}validateLabeled(e){prop_validators.watchBoolean(this,"_labeled",e,{defaultValue:!0})}componentWillLoad(){this.validateColor(this._color),this.validateLabeled(this._labeled)}static get watchers(){return{_color:["validateColor"],_labeled:["validateLabeled"]}}};KolKolibri.style={default:KolKolibriDefaultStyle0},exports.kol_kolibri=KolKolibri;
@@ -1 +1 @@
1
- {"file":"kol-kolibri.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,m3IAAm3I,CAAC;AAC54I,gCAAe,eAAe;;MCkBjB,UAAU;;;QAuCd,sBAAiB,GAA2C,CAAC,SAAkB,EAAE,SAA+B;YACvH,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;gBAClC,MAAM,IAAI,GAAGA,eAAS,CAAC,SAAS,CAAC,CAAC;gBAClC,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE;oBACvB,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC;oBACZ,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;oBACd,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;iBACb,CAAC,CAAC;aACH;iBAAM;gBACNC,uBAAO,CAAC,sGAAsG,CAAC,CAAC;aAChH;SACD,CAAC;sBA3B+C,SAAS;wBAKtB,IAAI;qBAED;YACtC,MAAM,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,KAAK,EAAE,EAAE;gBACT,IAAI,EAAE,GAAG;aACT;YACD,QAAQ,EAAE,IAAI;SACd;;IApCM,MAAM;QACZ,MAAM,SAAS,GAAG,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC;QACvG,QACCC,kEAAK,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,KAAK,gBAAaC,cAAS,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,aAAa,EAAC,IAAI,EAAE,SAAS,IACtJD,mEAAM,CAAC,EAAC,+BAA+B,GAAG,EAC1CA,mEAAM,CAAC,EAAC,+BAA+B,GAAG,EAC1CA,mEAAM,CAAC,EAAC,2CAA2C,GAAG,EACtDA,mEAAM,CAAC,EAAC,0CAA0C,GAAG,EACrDA,mEAAM,CAAC,EAAC,iCAAiC,GAAG,EAC5CA,mEAAM,CAAC,EAAC,mCAAmC,GAAG,EAC7C,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,KAC5BA,mEAAM,KAAK,EAAC,mBAAmB,EAAC,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EAAC,IAAI,EAAE,SAAS,cAExD,CACP,CACI,EACL;KACF;IAmCM,aAAa,CAAC,KAA8B;QAClDE,mBAAa,CAAC,IAAI,EAAE,KAAK,EAAE;YAC1B,YAAY,EAAE,SAAS;YACvB,KAAK,EAAE;gBACN,WAAW,EAAE,IAAI,CAAC,iBAAiB;aACnC;SACD,CAAC,CAAC;KACH;IAGM,eAAe,CAAC,KAAe;QACrCC,4BAAY,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE;YACrC,YAAY,EAAE,IAAI;SAClB,CAAC,CAAC;KACH;IAEM,iBAAiB;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACpC;;;;;;;;;;;;","names":["colorRgba","devHint","h","translate","validateColor","watchBoolean"],"sources":["src/components/kolibri/style.scss?tag=kol-kolibri&mode=default&encapsulation=shadow","src/components/kolibri/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n\n@layer kol-component {\n\t.kol-kolibri {\n\t\tdisplay: inline-block;\n\t\tfont-size: rem(16);\n\t\tmax-height: 100%;\n\n\t\t&__text {\n\t\t\tfont-size: rem(90);\n\t\t\tletter-spacing: normal;\n\t\t\tword-spacing: normal;\n\t\t}\n\t}\n}\n","import { devHint, validateColor, watchBoolean } from '../../schema';\nimport { Component, Prop, State, Watch, h } from '@stencil/core';\n\nimport { colorRgba } from './color-rgba';\n\nimport { translate } from '../../i18n';\n\nimport type { JSX } from '@stencil/core';\nimport type { Generic } from 'adopted-style-sheets';\n\nimport type { KolibriAPI, KolibriStates, PropColor, Stringified } from '../../schema';\n\n@Component({\n\ttag: 'kol-kolibri',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolKolibri implements KolibriAPI {\n\tpublic render(): JSX.Element {\n\t\tconst fillColor = `rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;\n\t\treturn (\n\t\t\t<svg class=\"kol-kolibri\" role=\"img\" aria-label={translate('kol-kolibri-logo')} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 600 600\" fill={fillColor}>\n\t\t\t\t<path d=\"M353 322L213 304V434L353 322Z\" />\n\t\t\t\t<path d=\"M209 564V304L149 434L209 564Z\" />\n\t\t\t\t<path d=\"M357 316L417 250L361 210L275 244L357 316Z\" />\n\t\t\t\t<path d=\"M329 218L237 92L250 222L272 241L329 218Z\" />\n\t\t\t\t<path d=\"M353 318L35 36L213 300L353 318Z\" />\n\t\t\t\t<path d=\"M391 286L565 272L421 252L391 286Z\" />\n\t\t\t\t{this.state._labeled === true && (\n\t\t\t\t\t<text class=\"kol-kolibri__text\" x=\"250\" y=\"525\" fill={fillColor}>\n\t\t\t\t\t\tKoliBri\n\t\t\t\t\t</text>\n\t\t\t\t)}\n\t\t\t</svg>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the color of the logo and label.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#003c78';\n\n\t/**\n\t * Defines whether the component has a label.\n\t */\n\t@Prop() public _labeled?: boolean = true;\n\n\t@State() public state: KolibriStates = {\n\t\t_color: {\n\t\t\tred: 0,\n\t\t\tgreen: 60,\n\t\t\tblue: 120,\n\t\t},\n\t\t_labeled: true,\n\t};\n\n\tprivate handleColorChange: Generic.Element.NextStateHooksCallback = (nextValue: unknown, nextState: Map<string, unknown>): void => {\n\t\tif (typeof nextValue === 'string') {\n\t\t\tconst rgba = colorRgba(nextValue);\n\t\t\tnextState.set('_color', {\n\t\t\t\tred: rgba[0],\n\t\t\t\tgreen: rgba[1],\n\t\t\t\tblue: rgba[2],\n\t\t\t});\n\t\t} else {\n\t\t\tdevHint(`[KolKolibri] You used the complex color schema. For the KoliBri we use need the color as hex string.`);\n\t\t}\n\t};\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#003c78',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_labeled')\n\tpublic validateLabeled(value?: boolean): void {\n\t\twatchBoolean(this, '_labeled', value, {\n\t\t\tdefaultValue: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateColor(this._color);\n\t\tthis.validateLabeled(this._labeled);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-kolibri.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,w8IAAw8I,CAAC;AACj+I,gCAAe,eAAe;;MCkBjB,UAAU;;;QAuCd,sBAAiB,GAA2C,CAAC,SAAkB,EAAE,SAA+B;YACvH,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;gBAClC,MAAM,IAAI,GAAGA,eAAS,CAAC,SAAS,CAAC,CAAC;gBAClC,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE;oBACvB,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC;oBACZ,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;oBACd,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;iBACb,CAAC,CAAC;aACH;iBAAM;gBACNC,uBAAO,CAAC,sGAAsG,CAAC,CAAC;aAChH;SACD,CAAC;sBA3B+C,SAAS;wBAKtB,IAAI;qBAED;YACtC,MAAM,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,KAAK,EAAE,EAAE;gBACT,IAAI,EAAE,GAAG;aACT;YACD,QAAQ,EAAE,IAAI;SACd;;IApCM,MAAM;QACZ,MAAM,SAAS,GAAG,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC;QACvG,QACCC,kEAAK,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,KAAK,gBAAaC,cAAS,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,aAAa,EAAC,IAAI,EAAE,SAAS,IACtJD,mEAAM,CAAC,EAAC,+BAA+B,GAAG,EAC1CA,mEAAM,CAAC,EAAC,+BAA+B,GAAG,EAC1CA,mEAAM,CAAC,EAAC,2CAA2C,GAAG,EACtDA,mEAAM,CAAC,EAAC,0CAA0C,GAAG,EACrDA,mEAAM,CAAC,EAAC,iCAAiC,GAAG,EAC5CA,mEAAM,CAAC,EAAC,mCAAmC,GAAG,EAC7C,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,KAC5BA,mEAAM,KAAK,EAAC,mBAAmB,EAAC,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EAAC,IAAI,EAAE,SAAS,cAExD,CACP,CACI,EACL;KACF;IAmCM,aAAa,CAAC,KAA8B;QAClDE,mBAAa,CAAC,IAAI,EAAE,KAAK,EAAE;YAC1B,YAAY,EAAE,SAAS;YACvB,KAAK,EAAE;gBACN,WAAW,EAAE,IAAI,CAAC,iBAAiB;aACnC;SACD,CAAC,CAAC;KACH;IAGM,eAAe,CAAC,KAAe;QACrCC,4BAAY,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE;YACrC,YAAY,EAAE,IAAI;SAClB,CAAC,CAAC;KACH;IAEM,iBAAiB;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACpC;;;;;;;;;;;;","names":["colorRgba","devHint","h","translate","validateColor","watchBoolean"],"sources":["src/components/kolibri/style.scss?tag=kol-kolibri&mode=default&encapsulation=shadow","src/components/kolibri/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n\n@layer kol-component {\n\t.kol-kolibri {\n\t\tdisplay: inline-block;\n\t\tfont-size: rem(16);\n\t\tmax-height: 100%;\n\n\t\t&__text {\n\t\t\tfont-size: rem(90);\n\t\t\tletter-spacing: normal;\n\t\t\tword-spacing: normal;\n\t\t}\n\t}\n}\n","import { devHint, validateColor, watchBoolean } from '../../schema';\nimport { Component, Prop, State, Watch, h } from '@stencil/core';\n\nimport { colorRgba } from './color-rgba';\n\nimport { translate } from '../../i18n';\n\nimport type { JSX } from '@stencil/core';\nimport type { Generic } from 'adopted-style-sheets';\n\nimport type { KolibriAPI, KolibriStates, PropColor, Stringified } from '../../schema';\n\n@Component({\n\ttag: 'kol-kolibri',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolKolibri implements KolibriAPI {\n\tpublic render(): JSX.Element {\n\t\tconst fillColor = `rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;\n\t\treturn (\n\t\t\t<svg class=\"kol-kolibri\" role=\"img\" aria-label={translate('kol-kolibri-logo')} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 600 600\" fill={fillColor}>\n\t\t\t\t<path d=\"M353 322L213 304V434L353 322Z\" />\n\t\t\t\t<path d=\"M209 564V304L149 434L209 564Z\" />\n\t\t\t\t<path d=\"M357 316L417 250L361 210L275 244L357 316Z\" />\n\t\t\t\t<path d=\"M329 218L237 92L250 222L272 241L329 218Z\" />\n\t\t\t\t<path d=\"M353 318L35 36L213 300L353 318Z\" />\n\t\t\t\t<path d=\"M391 286L565 272L421 252L391 286Z\" />\n\t\t\t\t{this.state._labeled === true && (\n\t\t\t\t\t<text class=\"kol-kolibri__text\" x=\"250\" y=\"525\" fill={fillColor}>\n\t\t\t\t\t\tKoliBri\n\t\t\t\t\t</text>\n\t\t\t\t)}\n\t\t\t</svg>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the color of the logo and label.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#003c78';\n\n\t/**\n\t * Defines whether the component has a label.\n\t */\n\t@Prop() public _labeled?: boolean = true;\n\n\t@State() public state: KolibriStates = {\n\t\t_color: {\n\t\t\tred: 0,\n\t\t\tgreen: 60,\n\t\t\tblue: 120,\n\t\t},\n\t\t_labeled: true,\n\t};\n\n\tprivate handleColorChange: Generic.Element.NextStateHooksCallback = (nextValue: unknown, nextState: Map<string, unknown>): void => {\n\t\tif (typeof nextValue === 'string') {\n\t\t\tconst rgba = colorRgba(nextValue);\n\t\t\tnextState.set('_color', {\n\t\t\t\tred: rgba[0],\n\t\t\t\tgreen: rgba[1],\n\t\t\t\tblue: rgba[2],\n\t\t\t});\n\t\t} else {\n\t\t\tdevHint(`[KolKolibri] You used the complex color schema. For the KoliBri we use need the color as hex string.`);\n\t\t}\n\t};\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#003c78',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_labeled')\n\tpublic validateLabeled(value?: boolean): void {\n\t\twatchBoolean(this, '_labeled', value, {\n\t\t\tdefaultValue: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateColor(this._color);\n\t\tthis.validateLabeled(this._labeled);\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-e2b73bdf.js"),componentNames=require("./component-names-74abfa2e.js"),defaultStyleCss="@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-link::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-link__text {\n margin: auto;\n width: 100%;\n }\n}",KolLinkButtonDefaultStyle0=defaultStyleCss,KolLinkButton=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.linkWcRef=n},this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._href=void 0,this._icons=void 0,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign="right",this._variant="normal"}async kolFocus(){var n;await(null===(n=this.linkWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(componentNames.KolLinkWcTag,{key:"63b766a0b393724d79e346a7d23318b5a044d5b8",ref:this.catchRef,_accessKey:this._accessKey,_ariaCurrentValue:this._ariaCurrentValue,_ariaDescription:this._ariaDescription,_customClass:this._customClass,_disabled:this._disabled,_download:this._download,_hideLabel:this._hideLabel,_href:this._href,_icons:this._icons,_label:this._label,_on:this._on,_role:"button",_shortKey:this._shortKey,_target:this._target,_tooltipAlign:this._tooltipAlign,_variant:this._variant},index.h("slot",{key:"c2cdcf59de68e99b8fa026bb7f2f5e99169b945c",name:"expert",slot:"expert"}))}static get delegatesFocus(){return!0}};KolLinkButton.style={default:KolLinkButtonDefaultStyle0},exports.kol_link_button=KolLinkButton;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-06fe81a0.js"),componentNames=require("./component-names-82c4d68d.js"),defaultStyleCss="@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-link::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-link__text {\n margin: auto;\n width: 100%;\n }\n}",KolLinkButtonDefaultStyle0=defaultStyleCss,KolLinkButton=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.linkWcRef=n},this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._href=void 0,this._icons=void 0,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign="right",this._variant="normal"}async kolFocus(){var n;await(null===(n=this.linkWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(componentNames.KolLinkWcTag,{key:"63b766a0b393724d79e346a7d23318b5a044d5b8",ref:this.catchRef,_accessKey:this._accessKey,_ariaCurrentValue:this._ariaCurrentValue,_ariaDescription:this._ariaDescription,_customClass:this._customClass,_disabled:this._disabled,_download:this._download,_hideLabel:this._hideLabel,_href:this._href,_icons:this._icons,_label:this._label,_on:this._on,_role:"button",_shortKey:this._shortKey,_target:this._target,_tooltipAlign:this._tooltipAlign,_variant:this._variant},index.h("slot",{key:"c2cdcf59de68e99b8fa026bb7f2f5e99169b945c",name:"expert",slot:"expert"}))}static get delegatesFocus(){return!0}};KolLinkButton.style={default:KolLinkButtonDefaultStyle0},exports.kol_link_button=KolLinkButton;
@@ -1 +1 @@
1
- {"file":"kol-link-button.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,suLAAsuL,CAAC;AAC/vL,mCAAe,eAAe;;MC8BjB,aAAa;;;QAGR,aAAQ,GAAG,CAAC,GAA0B;YACtD,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;SACrB,CAAC;;;;;yBAwDmC,KAAK;;0BAYJ,KAAK;;;;;;;;6BAwCW,OAAO;wBAKX,QAAQ;;IA9GnD,MAAM,QAAQ;;QACpB,OAAM,MAAA,IAAI,CAAC,SAAS,0CAAE,QAAQ,EAAE,CAAA,CAAC;KACjC;IAEM,MAAM;QACZ,QACCA,QAACC,2BAAY,qDACZ,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,KAAK,EAAC,QAAQ,EACd,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvBD,mEAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CAC3B,EACd;KACF;;;;;;;;;","names":["h","KolLinkWcTag"],"sources":["src/components/link-button/style.scss?tag=kol-link-button&mode=default&encapsulation=shadow","src/components/link-button/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../@shared/kol-button-mixin' as *;\n\n@include kol-button-styles('kol-link');\n","import type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tButtonVariantPropType,\n\tCustomClassPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tIconsPropType,\n\tLabelWithExpertSlotPropType,\n\tLinkButtonProps,\n\tLinkOnCallbacksPropType,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-link-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolLinkButton implements LinkButtonProps, FocusableElement {\n\tprivate linkWcRef?: HTMLKolLinkWcElement;\n\n\tprivate readonly catchRef = (ref?: HTMLKolLinkWcElement) => {\n\t\tthis.linkWcRef = ref;\n\t};\n\n\t@Method()\n\tpublic async kolFocus() {\n\t\tawait this.linkWcRef?.kolFocus();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.catchRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_role=\"button\"\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the target URI of the link.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\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 the callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'right';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n}\n"],"version":3}
1
+ {"file":"kol-link-button.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,2zLAA2zL,CAAC;AACp1L,mCAAe,eAAe;;MC8BjB,aAAa;;;QAGR,aAAQ,GAAG,CAAC,GAA0B;YACtD,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;SACrB,CAAC;;;;;yBAwDmC,KAAK;;0BAYJ,KAAK;;;;;;;;6BAwCW,OAAO;wBAKX,QAAQ;;IA9GnD,MAAM,QAAQ;;QACpB,OAAM,MAAA,IAAI,CAAC,SAAS,0CAAE,QAAQ,EAAE,CAAA,CAAC;KACjC;IAEM,MAAM;QACZ,QACCA,QAACC,2BAAY,qDACZ,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,KAAK,EAAC,QAAQ,EACd,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvBD,mEAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CAC3B,EACd;KACF;;;;;;;;;","names":["h","KolLinkWcTag"],"sources":["src/components/link-button/style.scss?tag=kol-link-button&mode=default&encapsulation=shadow","src/components/link-button/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../@shared/kol-button-mixin' as *;\n\n@include kol-button-styles('kol-link');\n","import type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tButtonVariantPropType,\n\tCustomClassPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tIconsPropType,\n\tLabelWithExpertSlotPropType,\n\tLinkButtonProps,\n\tLinkOnCallbacksPropType,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-link-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolLinkButton implements LinkButtonProps, FocusableElement {\n\tprivate linkWcRef?: HTMLKolLinkWcElement;\n\n\tprivate readonly catchRef = (ref?: HTMLKolLinkWcElement) => {\n\t\tthis.linkWcRef = ref;\n\t};\n\n\t@Method()\n\tpublic async kolFocus() {\n\t\tawait this.linkWcRef?.kolFocus();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.catchRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_role=\"button\"\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the target URI of the link.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\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 the callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'right';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-e2b73bdf.js"),ariaCurrentService=require("./ariaCurrentService-53afa476.js"),events=require("./events-fc641593.js"),dev_utils=require("./dev.utils-f0b5521f.js"),componentNames=require("./component-names-74abfa2e.js"),i18n=require("./i18n-c745fb7d.js"),accessAndShortKey=require("./access-and-short-key-4ee0c067.js"),clsx=require("./clsx-dd4d6dd1.js"),Span=require("./Span-2c064973.js"),prop_validators=require("./prop.validators-888c8338.js"),href=require("./href-51cfc659.js"),reuse=require("./reuse-8650ea4e.js"),buttonVariant=require("./button-variant-fb9c6afd.js"),customClass=require("./custom-class-8f276ee3.js"),disabled=require("./disabled-d424f708.js"),hideLabel=require("./hide-label-cfe594e0.js"),icons=require("./icons-3ad822d9.js"),label=require("./label-477be19d.js"),tooltipAlign=require("./tooltip-align-c6cf9049.js");require("./dev.utils-58fde089.js"),require("./i18n-583e3c4b.js"),require("./tslib.es6-5e301284.js"),require("./Icon-fdca4de2.js"),require("./InternalUnderlinedBadgeText-32624684.js"),require("./isObject-6090b636.js"),require("./index-38f5f0b2.js"),require("./common-1ab929ac.js"),require("./align-3fa838b5.js");const ariaCurrentValuePropTypeOptions=["date","location","page","step","time","true","false"],validateAriaCurrentValue=(e,t)=>{prop_validators.watchValidator(e,"_ariaCurrentValue",(e=>"string"==typeof e&&ariaCurrentValuePropTypeOptions.includes(e)),new Set([`AriaCurrentValue {${ariaCurrentValuePropTypeOptions.join(", ")}`]),t,{defaultValue:"page"})},validateAriaOwns=(e,t)=>{prop_validators.watchString(e,"_ariaOwns",t,{defaultValue:void 0})},validateDownload=(e,t)=>{prop_validators.watchString(e,"_download",t)},validateLinkCallbacks=(e,t)=>{"object"==typeof t&&"function"==typeof(null==t?void 0:t.onClick)&&(e.state=Object.assign(Object.assign({},e.state),{_on:t}))},validateLinkTarget=(e,t)=>{prop_validators.watchString(e,"_target",t)},KolLinkWc=class{constructor(e){index.registerInstance(this,e),this.internalDescriptionById=dev_utils.nonce(),this.catchRef=e=>{this.anchorRef=e},this.onClick=e=>{var t,a;!0===this.state._disabled?e.preventDefault():("function"==typeof(null===(t=this.state._on)||void 0===t?void 0:t.onClick)&&(e.preventDefault(),prop_validators.setEventTarget(e,this.anchorRef),null===(a=this.state._on)||void 0===a||a.onClick(e,this.state._href)),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.click,this.state._href))},this.getRenderValues=()=>{const e="string"==typeof this.state._target&&"_self"!==this.state._target,t={href:"string"==typeof this.state._href&&this.state._href.length>0?this.state._href:"javascript:void(0);",target:"string"==typeof this.state._target&&this.state._target.length>0?this.state._target:void 0,rel:e?"noopener":void 0,download:"string"==typeof this.state._download?this.state._download:void 0};return!0!==this.state._hideLabel||this.state._label||prop_validators.devHint("[KolLink] An aria-label must be set when _hide-label is set."),{isExternal:e,tagAttrs:t}},this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaOwns=void 0,this._customClass=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._href=void 0,this._icons=void 0,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._tabIndex=void 0,this._target=void 0,this._tooltipAlign="right",this._variant="normal",this.state={_ariaCurrentValue:"page",_href:"",_icons:{}}}async kolFocus(){var e;null===(e=this.anchorRef)||void 0===e||e.focus()}render(){var e,t;const{isExternal:a,tagAttrs:i}=this.getRenderValues(),s=reuse.showExpertSlot(this.state._label),l=Boolean(null===(t=null===(e=this.state._ariaDescription)||void 0===e?void 0:e.trim())||void 0===t?void 0:t.length);return index.h(index.Host,{key:"587357d002a1ea7744990f5ce802f96af6baef5a"},index.h("a",Object.assign({key:"7f3fc17c83bbcfdc184b5edea97d25ce06f55227",ref:this.catchRef},i,{accessKey:this.state._accessKey,"aria-current":this.state._ariaCurrent,"aria-describedby":l?this.internalDescriptionById:void 0,"aria-disabled":this.state._disabled?"true":void 0,"aria-expanded":"boolean"==typeof this.state._ariaExpanded?String(this.state._ariaExpanded):void 0,"aria-owns":this.state._ariaOwns,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?`${this.state._label}${a?` (${i18n.translate("kol-open-link-in-tab")})`:""}`:void 0,class:clsx.clsx("kol-link",{"kol-link--disabled":!0===this.state._disabled,"kol-link--external-link":a,"kol-link--hide-label":!0===this.state._hideLabel,[`kol-link--${this.state._variant}`]:"button"===this.state._role&&"custom"!==this.state._variant,[this.state._customClass]:"custom"===this.state._variant&&"string"==typeof this.state._customClass&&this.state._customClass.length>0})},this.state._on,{onClick:this.onClick,onKeyPress:this.onClick,role:this.state._role,tabIndex:this.state._disabled?-1:this.state._tabIndex}),index.h(Span.KolSpanFc,{key:"b806611a5bb089b415a07d55dd6c070c9703c886",class:"kol-link__text",badgeText:this.state._accessKey||this.state._shortKey,icons:this.state._icons,hideLabel:this.state._hideLabel,label:s?"":this.state._label||this.state._href},index.h("slot",{key:"5a40e834255ae54cf719dd51a521e92874c89c47",name:"expert",slot:"expert"})),a&&index.h(componentNames.KolIconTag,{key:"f757a3dc5c051df590dc7048ae15a26e8c28ea8b",class:"kol-link__icon",_label:this.state._hideLabel?"":i18n.translate("kol-open-link-in-tab"),_icons:"codicon codicon-link-external","aria-hidden":this.state._hideLabel})),index.h(componentNames.KolTooltipWcTag,{key:"1fd1e9b9fcae9a8505f29cc6962d742670d96f84","aria-hidden":"true",class:"kol-link__tooltip",hidden:s||!this.state._hideLabel,_badgeText:this.state._accessKey||this.state._shortKey,_align:this.state._tooltipAlign,_label:this.state._label||this.state._href}),l&&index.h("span",{key:"4d5d88f8b21c251476b31533e8c54318fd087b27",class:"visually-hidden",id:this.internalDescriptionById},this.state._ariaDescription))}validateAccessKey(e){accessAndShortKey.validateAccessKey(this,e),accessAndShortKey.validateAccessAndShortKey(e,this._shortKey)}validateAriaCurrentValue(e){validateAriaCurrentValue(this,e)}validateAriaDescription(e){buttonVariant.validateAriaDescription(this,e)}validateAriaExpanded(e){buttonVariant.validateAriaExpanded(this,e)}validateAriaOwns(e){validateAriaOwns(this,e)}validateCustomClass(e){customClass.validateCustomClass(this,e)}validateDisabled(e){disabled.validateDisabled(this,e)}validateDownload(e){validateDownload(this,e)}validateHideLabel(e){hideLabel.validateHideLabel(this,e)}validateHref(e){href.validateHref(this,e,{required:!0})}validateIcons(e){icons.validateIcons(this,e)}validateLabel(e){label.validateLabelWithExpertSlot(this,e)}validateOn(e){validateLinkCallbacks(this,e)}validateRole(e){buttonVariant.validateAlternativeButtonLinkRole(this,e)}validateShortKey(e){accessAndShortKey.validateShortKey(this,e),accessAndShortKey.validateAccessAndShortKey(this._accessKey,e)}validateTabIndex(e){accessAndShortKey.validateTabIndex(this,e)}validateTarget(e){validateLinkTarget(this,e)}validateTooltipAlign(e){tooltipAlign.validateTooltipAlign(this,e)}validateVariant(e){buttonVariant.validateButtonVariant(this,e)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaCurrentValue(this._ariaCurrentValue),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaOwns(this._ariaOwns),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateDownload(this._download),this.validateHideLabel(this._hideLabel),this.validateHref(this._href),this.validateIcons(this._icons),this.validateLabel(this._label),this.validateOn(this._on),this.validateRole(this._role),this.validateShortKey(this._shortKey),this.validateTabIndex(this._tabIndex),this.validateTarget(this._target),this.validateTooltipAlign(this._tooltipAlign),this.validateVariant(this._variant),this.unsubscribeOnLocationChange=ariaCurrentService.onLocationChange((e=>{this.state._ariaCurrent=e===this.state._href?this.state._ariaCurrentValue:void 0})),accessAndShortKey.validateAccessAndShortKey(this._accessKey,this._shortKey)}disconnectedCallback(){this.unsubscribeOnLocationChange&&this.unsubscribeOnLocationChange()}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaCurrentValue:["validateAriaCurrentValue"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaOwns:["validateAriaOwns"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_download:["validateDownload"],_hideLabel:["validateHideLabel"],_href:["validateHref"],_icons:["validateIcons"],_label:["validateLabel"],_on:["validateOn"],_role:["validateRole"],_shortKey:["validateShortKey"],_tabIndex:["validateTabIndex"],_target:["validateTarget"],_tooltipAlign:["validateTooltipAlign"],_variant:["validateVariant"]}}};exports.kol_link_wc=KolLinkWc;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-06fe81a0.js"),ariaCurrentService=require("./ariaCurrentService-53afa476.js"),events=require("./events-40771c95.js"),dev_utils=require("./dev.utils-8c57f284.js"),componentNames=require("./component-names-82c4d68d.js"),i18n=require("./i18n-0e710ccd.js"),accessAndShortKey=require("./access-and-short-key-6155af7d.js"),clsx=require("./clsx-dd4d6dd1.js"),Span=require("./Span-cd267738.js"),prop_validators=require("./prop.validators-3c86f8eb.js"),href=require("./href-c14d2c3e.js"),reuse=require("./reuse-8650ea4e.js"),buttonVariant=require("./button-variant-10ad2503.js"),customClass=require("./custom-class-1bd0519a.js"),disabled=require("./disabled-0ee19649.js"),hideLabel=require("./hide-label-a9a94f19.js"),icons=require("./icons-cfdc392f.js"),label=require("./label-3ce275fe.js"),tooltipAlign=require("./tooltip-align-5aee86e8.js");require("./dev.utils-58fde089.js"),require("./i18n-8c288a27.js"),require("./tslib.es6-5e301284.js"),require("./Icon-40516ba8.js"),require("./InternalUnderlinedBadgeText-a2b25dd1.js"),require("./isObject-6090b636.js"),require("./index-c77a4142.js"),require("./common-1ab929ac.js"),require("./align-a9f24187.js");const ariaCurrentValuePropTypeOptions=["date","location","page","step","time","true","false"],validateAriaCurrentValue=(e,t)=>{prop_validators.watchValidator(e,"_ariaCurrentValue",(e=>"string"==typeof e&&ariaCurrentValuePropTypeOptions.includes(e)),new Set([`AriaCurrentValue {${ariaCurrentValuePropTypeOptions.join(", ")}`]),t,{defaultValue:"page"})},validateAriaOwns=(e,t)=>{prop_validators.watchString(e,"_ariaOwns",t,{defaultValue:void 0})},validateDownload=(e,t)=>{prop_validators.watchString(e,"_download",t)},validateLinkCallbacks=(e,t)=>{"object"==typeof t&&"function"==typeof(null==t?void 0:t.onClick)&&(e.state=Object.assign(Object.assign({},e.state),{_on:t}))},validateLinkTarget=(e,t)=>{prop_validators.watchString(e,"_target",t)},KolLinkWc=class{constructor(e){index.registerInstance(this,e),this.internalDescriptionById=dev_utils.nonce(),this.catchRef=e=>{this.anchorRef=e},this.onClick=e=>{var t,a;!0===this.state._disabled?e.preventDefault():("function"==typeof(null===(t=this.state._on)||void 0===t?void 0:t.onClick)&&(e.preventDefault(),prop_validators.setEventTarget(e,this.anchorRef),null===(a=this.state._on)||void 0===a||a.onClick(e,this.state._href)),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.click,this.state._href))},this.getRenderValues=()=>{const e="string"==typeof this.state._target&&"_self"!==this.state._target,t={href:"string"==typeof this.state._href&&this.state._href.length>0?this.state._href:"javascript:void(0);",target:"string"==typeof this.state._target&&this.state._target.length>0?this.state._target:void 0,rel:e?"noopener":void 0,download:"string"==typeof this.state._download?this.state._download:void 0};return!0!==this.state._hideLabel||this.state._label||prop_validators.devHint("[KolLink] An aria-label must be set when _hide-label is set."),{isExternal:e,tagAttrs:t}},this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaOwns=void 0,this._customClass=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._href=void 0,this._icons=void 0,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._tabIndex=void 0,this._target=void 0,this._tooltipAlign="right",this._variant="normal",this.state={_ariaCurrentValue:"page",_href:"",_icons:{}}}async kolFocus(){var e;null===(e=this.anchorRef)||void 0===e||e.focus()}render(){var e,t;const{isExternal:a,tagAttrs:i}=this.getRenderValues(),s=reuse.showExpertSlot(this.state._label),l=Boolean(null===(t=null===(e=this.state._ariaDescription)||void 0===e?void 0:e.trim())||void 0===t?void 0:t.length);return index.h(index.Host,{key:"587357d002a1ea7744990f5ce802f96af6baef5a"},index.h("a",Object.assign({key:"7f3fc17c83bbcfdc184b5edea97d25ce06f55227",ref:this.catchRef},i,{accessKey:this.state._accessKey,"aria-current":this.state._ariaCurrent,"aria-describedby":l?this.internalDescriptionById:void 0,"aria-disabled":this.state._disabled?"true":void 0,"aria-expanded":"boolean"==typeof this.state._ariaExpanded?String(this.state._ariaExpanded):void 0,"aria-owns":this.state._ariaOwns,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?`${this.state._label}${a?` (${i18n.translate("kol-open-link-in-tab")})`:""}`:void 0,class:clsx.clsx("kol-link",{"kol-link--disabled":!0===this.state._disabled,"kol-link--external-link":a,"kol-link--hide-label":!0===this.state._hideLabel,[`kol-link--${this.state._variant}`]:"button"===this.state._role&&"custom"!==this.state._variant,[this.state._customClass]:"custom"===this.state._variant&&"string"==typeof this.state._customClass&&this.state._customClass.length>0})},this.state._on,{onClick:this.onClick,onKeyPress:this.onClick,role:this.state._role,tabIndex:this.state._disabled?-1:this.state._tabIndex}),index.h(Span.KolSpanFc,{key:"b806611a5bb089b415a07d55dd6c070c9703c886",class:"kol-link__text",badgeText:this.state._accessKey||this.state._shortKey,icons:this.state._icons,hideLabel:this.state._hideLabel,label:s?"":this.state._label||this.state._href},index.h("slot",{key:"5a40e834255ae54cf719dd51a521e92874c89c47",name:"expert",slot:"expert"})),a&&index.h(componentNames.KolIconTag,{key:"f757a3dc5c051df590dc7048ae15a26e8c28ea8b",class:"kol-link__icon",_label:this.state._hideLabel?"":i18n.translate("kol-open-link-in-tab"),_icons:"codicon codicon-link-external","aria-hidden":this.state._hideLabel})),index.h(componentNames.KolTooltipWcTag,{key:"1fd1e9b9fcae9a8505f29cc6962d742670d96f84","aria-hidden":"true",class:"kol-link__tooltip",hidden:s||!this.state._hideLabel,_badgeText:this.state._accessKey||this.state._shortKey,_align:this.state._tooltipAlign,_label:this.state._label||this.state._href}),l&&index.h("span",{key:"4d5d88f8b21c251476b31533e8c54318fd087b27",class:"visually-hidden",id:this.internalDescriptionById},this.state._ariaDescription))}validateAccessKey(e){accessAndShortKey.validateAccessKey(this,e),accessAndShortKey.validateAccessAndShortKey(e,this._shortKey)}validateAriaCurrentValue(e){validateAriaCurrentValue(this,e)}validateAriaDescription(e){buttonVariant.validateAriaDescription(this,e)}validateAriaExpanded(e){buttonVariant.validateAriaExpanded(this,e)}validateAriaOwns(e){validateAriaOwns(this,e)}validateCustomClass(e){customClass.validateCustomClass(this,e)}validateDisabled(e){disabled.validateDisabled(this,e)}validateDownload(e){validateDownload(this,e)}validateHideLabel(e){hideLabel.validateHideLabel(this,e)}validateHref(e){href.validateHref(this,e,{required:!0})}validateIcons(e){icons.validateIcons(this,e)}validateLabel(e){label.validateLabelWithExpertSlot(this,e)}validateOn(e){validateLinkCallbacks(this,e)}validateRole(e){buttonVariant.validateAlternativeButtonLinkRole(this,e)}validateShortKey(e){accessAndShortKey.validateShortKey(this,e),accessAndShortKey.validateAccessAndShortKey(this._accessKey,e)}validateTabIndex(e){accessAndShortKey.validateTabIndex(this,e)}validateTarget(e){validateLinkTarget(this,e)}validateTooltipAlign(e){tooltipAlign.validateTooltipAlign(this,e)}validateVariant(e){buttonVariant.validateButtonVariant(this,e)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaCurrentValue(this._ariaCurrentValue),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaOwns(this._ariaOwns),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateDownload(this._download),this.validateHideLabel(this._hideLabel),this.validateHref(this._href),this.validateIcons(this._icons),this.validateLabel(this._label),this.validateOn(this._on),this.validateRole(this._role),this.validateShortKey(this._shortKey),this.validateTabIndex(this._tabIndex),this.validateTarget(this._target),this.validateTooltipAlign(this._tooltipAlign),this.validateVariant(this._variant),this.unsubscribeOnLocationChange=ariaCurrentService.onLocationChange((e=>{this.state._ariaCurrent=e===this.state._href?this.state._ariaCurrentValue:void 0})),accessAndShortKey.validateAccessAndShortKey(this._accessKey,this._shortKey)}disconnectedCallback(){this.unsubscribeOnLocationChange&&this.unsubscribeOnLocationChange()}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaCurrentValue:["validateAriaCurrentValue"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaOwns:["validateAriaOwns"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_download:["validateDownload"],_hideLabel:["validateHideLabel"],_href:["validateHref"],_icons:["validateIcons"],_label:["validateLabel"],_on:["validateOn"],_role:["validateRole"],_shortKey:["validateShortKey"],_tabIndex:["validateTabIndex"],_target:["validateTarget"],_tooltipAlign:["validateTooltipAlign"],_variant:["validateVariant"]}}};exports.kol_link_wc=KolLinkWc;
@@ -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-e2b73bdf.js"),componentNames=require("./component-names-74abfa2e.js"),defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}",KolLinkDefaultStyle0=defaultStyleCss,KolLink=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.linkWcRef=n},this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._href=void 0,this._icons=void 0,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign="right"}async kolFocus(){var n;await(null===(n=this.linkWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(componentNames.KolLinkWcTag,{key:"965a19f20c69923d4a0891604fba8aa15f9a1973",ref:this.catchRef,_accessKey:this._accessKey,_ariaCurrentValue:this._ariaCurrentValue,_ariaDescription:this._ariaDescription,_disabled:this._disabled,_download:this._download,_hideLabel:this._hideLabel,_href:this._href,_icons:this._icons,_label:this._label,_on:this._on,_role:this._role,_shortKey:this._shortKey,_target:this._target,_tooltipAlign:this._tooltipAlign},index.h("slot",{key:"86e618b375530f5c25757599f3ba713392a3a1f3",name:"expert",slot:"expert"}))}static get delegatesFocus(){return!0}};KolLink.style={default:KolLinkDefaultStyle0},exports.kol_link=KolLink;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-06fe81a0.js"),componentNames=require("./component-names-82c4d68d.js"),defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}",KolLinkDefaultStyle0=defaultStyleCss,KolLink=class{constructor(n){index.registerInstance(this,n),this.catchRef=n=>{this.linkWcRef=n},this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._href=void 0,this._icons=void 0,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign="right"}async kolFocus(){var n;await(null===(n=this.linkWcRef)||void 0===n?void 0:n.kolFocus())}render(){return index.h(componentNames.KolLinkWcTag,{key:"965a19f20c69923d4a0891604fba8aa15f9a1973",ref:this.catchRef,_accessKey:this._accessKey,_ariaCurrentValue:this._ariaCurrentValue,_ariaDescription:this._ariaDescription,_disabled:this._disabled,_download:this._download,_hideLabel:this._hideLabel,_href:this._href,_icons:this._icons,_label:this._label,_on:this._on,_role:this._role,_shortKey:this._shortKey,_target:this._target,_tooltipAlign:this._tooltipAlign},index.h("slot",{key:"86e618b375530f5c25757599f3ba713392a3a1f3",name:"expert",slot:"expert"}))}static get delegatesFocus(){return!0}};KolLink.style={default:KolLinkDefaultStyle0},exports.kol_link=KolLink;
@@ -1 +1 @@
1
- {"file":"kol-link.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,23LAA23L,CAAC;AACp5L,6BAAe,eAAe;;MC6BjB,OAAO;;;QAGF,aAAQ,GAAG,CAAC,GAA0B;YACtD,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;SACrB,CAAC;;;;yBAqDmC,KAAK;;0BAYJ,KAAK;;;;;;;;6BAwCW,OAAO;;IAtGtD,MAAM,QAAQ;;QACpB,OAAM,MAAA,IAAI,CAAC,SAAS,0CAAE,QAAQ,EAAE,CAAA,CAAC;KACjC;IAEM,MAAM;QACZ,QACCA,QAACC,2BAAY,qDACZ,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,aAAa,EAAE,IAAI,CAAC,aAAa,IAMjCD,mEAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CAC3B,EACd;KACF;;;;;;;;;","names":["h","KolLinkWcTag"],"sources":["src/components/link/style.scss?tag=kol-link&mode=default&encapsulation=shadow","src/components/link/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../@shared/kol-link-mixin' as *;\n\n@include kol-link-styles('kol-link');\n","import type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkProps,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-link',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolLink implements LinkProps, FocusableElement {\n\tprivate linkWcRef?: HTMLKolLinkWcElement;\n\n\tprivate readonly catchRef = (ref?: HTMLKolLinkWcElement) => {\n\t\tthis.linkWcRef = ref;\n\t};\n\n\t@Method()\n\tpublic async kolFocus() {\n\t\tawait this.linkWcRef?.kolFocus();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.catchRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_role={this._role}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t>\n\t\t\t\t{/*\n\t\t\t\t\t\tEs ist keine gute Idee hier einen Slot einzufügen, da dadurch ermöglicht wird,\n\t\t\t\t\t\tdie Unterstützung hinsichtlich der Barrierefreiheit der Komponente zu umgehen.\n\t\t\t\t\t*/}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\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 the callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'right';\n}\n"],"version":3}
1
+ {"file":"kol-link.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,g9LAAg9L,CAAC;AACz+L,6BAAe,eAAe;;MC6BjB,OAAO;;;QAGF,aAAQ,GAAG,CAAC,GAA0B;YACtD,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;SACrB,CAAC;;;;yBAqDmC,KAAK;;0BAYJ,KAAK;;;;;;;;6BAwCW,OAAO;;IAtGtD,MAAM,QAAQ;;QACpB,OAAM,MAAA,IAAI,CAAC,SAAS,0CAAE,QAAQ,EAAE,CAAA,CAAC;KACjC;IAEM,MAAM;QACZ,QACCA,QAACC,2BAAY,qDACZ,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,aAAa,EAAE,IAAI,CAAC,aAAa,IAMjCD,mEAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CAC3B,EACd;KACF;;;;;;;;;","names":["h","KolLinkWcTag"],"sources":["src/components/link/style.scss?tag=kol-link&mode=default&encapsulation=shadow","src/components/link/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../@shared/kol-link-mixin' as *;\n\n@include kol-link-styles('kol-link');\n","import type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkProps,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-link',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolLink implements LinkProps, FocusableElement {\n\tprivate linkWcRef?: HTMLKolLinkWcElement;\n\n\tprivate readonly catchRef = (ref?: HTMLKolLinkWcElement) => {\n\t\tthis.linkWcRef = ref;\n\t};\n\n\t@Method()\n\tpublic async kolFocus() {\n\t\tawait this.linkWcRef?.kolFocus();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.catchRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_role={this._role}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t>\n\t\t\t\t{/*\n\t\t\t\t\t\tEs ist keine gute Idee hier einen Slot einzufügen, da dadurch ermöglicht wird,\n\t\t\t\t\t\tdie Unterstützung hinsichtlich der Barrierefreiheit der Komponente zu umgehen.\n\t\t\t\t\t*/}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\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 the callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'right';\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-e2b73bdf.js"),events=require("./events-fc641593.js"),prop_validators=require("./prop.validators-888c8338.js"),componentNames=require("./component-names-74abfa2e.js"),i18n=require("./i18n-c745fb7d.js"),clsx=require("./clsx-dd4d6dd1.js"),label=require("./label-477be19d.js");require("./index-38f5f0b2.js"),require("./dev.utils-58fde089.js"),require("./i18n-583e3c4b.js"),require("./reuse-8650ea4e.js");const ModalVariantPropTypeOptions=["blank","card"],validateModalVariant=(n,e)=>{prop_validators.watchValidator(n,"_variant",(n=>"string"==typeof n&&ModalVariantPropTypeOptions.includes(n)),new Set(ModalVariantPropTypeOptions),e)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-modal {\n border: 0;\n padding: 0;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n position: relative;\n }\n .kol-modal::backdrop {\n background-color: rgba(0, 0, 0, 0.33);\n }\n .kol-modal__close-button {\n position: absolute;\n top: calc(1rem / var(--kolibri-root-font-size, 16));\n right: calc(1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n }\n}",KolModalDefaultStyle0=defaultStyleCss,KolModal=class{constructor(n){index.registerInstance(this,n),this.on={onClick:async()=>{await this.closeModal()}},this._label=void 0,this._on=void 0,this._width="100%",this._variant="blank",this.state={_label:"",_width:"100%"}}disconnectedCallback(){this.closeModal()}handleNativeCloseEvent(){var n,e;null===(e=null===(n=this.state._on)||void 0===n?void 0:n.onClose)||void 0===e||e.call(n),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.close)}async openModal(){var n;null===(n=this.refDialog)||void 0===n||n.showModal()}async closeModal(){var n,e;null===(e=null===(n=this.refDialog)||void 0===n?void 0:n.close)||void 0===e||e.call(n)}render(){return index.h("dialog",{key:"a7746d9555c2d6e0172e184e370562e7bf7d8967",class:clsx.clsx("kol-modal",{"kol-modal__card":"card"===this.state._variant}),ref:n=>{this.refDialog=n},style:{width:this.state._width},"aria-label":this.state._label,onClose:this.handleNativeCloseEvent.bind(this)},index.h("div",{key:"af55fc367328cff9c1495518b39b92941101d9be",tabindex:"-1"},index.h("slot",{key:"e83efa707edf86463258ec35c174f2553a8405bf"})),"card"===this.state._variant&&index.h(componentNames.KolButtonWcTag,{key:"234abb9a34c39e748a74471fb87595f9d144b994",class:"kol-modal__close-button","data-testid":"modal-close-button",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close"),_on:this.on,_tooltipAlign:"left"}))}validateLabel(n){label.validateLabel(this,n,{required:!0})}validateOn(n){if("object"==typeof n&&null!==n){const e={};"function"!=typeof n.onClose&&!0!==n.onClose||(e.onClose=n.onClose),prop_validators.setState(this,"_on",e)}}validateWidth(n){prop_validators.watchString(this,"_width",n,{defaultValue:"100%"})}validateVariant(n){validateModalVariant(this,n)}componentWillLoad(){this.validateLabel(this._label),this.validateOn(this._on),this.validateWidth(this._width),this.validateVariant(this._variant)}get host(){return index.getElement(this)}static get watchers(){return{_label:["validateLabel"],_on:["validateOn"],_width:["validateWidth"],_variant:["validateVariant"]}}};KolModal.style={default:KolModalDefaultStyle0},exports.kol_modal=KolModal;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-06fe81a0.js"),events=require("./events-40771c95.js"),prop_validators=require("./prop.validators-3c86f8eb.js"),componentNames=require("./component-names-82c4d68d.js"),i18n=require("./i18n-0e710ccd.js"),clsx=require("./clsx-dd4d6dd1.js"),label=require("./label-3ce275fe.js");require("./index-c77a4142.js"),require("./dev.utils-58fde089.js"),require("./i18n-8c288a27.js"),require("./reuse-8650ea4e.js");const ModalVariantPropTypeOptions=["blank","card"],validateModalVariant=(n,e)=>{prop_validators.watchValidator(n,"_variant",(n=>"string"==typeof n&&ModalVariantPropTypeOptions.includes(n)),new Set(ModalVariantPropTypeOptions),e)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-modal {\n border: 0;\n padding: 0;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n position: relative;\n }\n .kol-modal::backdrop {\n background-color: rgba(0, 0, 0, 0.33);\n }\n .kol-modal__close-button {\n position: absolute;\n top: calc(1rem / var(--kolibri-root-font-size, 16));\n right: calc(1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n }\n}",KolModalDefaultStyle0=defaultStyleCss,KolModal=class{constructor(n){index.registerInstance(this,n),this.on={onClick:async()=>{await this.closeModal()}},this._label=void 0,this._on=void 0,this._width="100%",this._variant="blank",this.state={_label:"",_width:"100%"}}disconnectedCallback(){this.closeModal()}handleNativeCloseEvent(){var n,e;null===(e=null===(n=this.state._on)||void 0===n?void 0:n.onClose)||void 0===e||e.call(n),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.close)}async openModal(){var n;null===(n=this.refDialog)||void 0===n||n.showModal()}async closeModal(){var n,e;null===(e=null===(n=this.refDialog)||void 0===n?void 0:n.close)||void 0===e||e.call(n)}render(){return index.h("dialog",{key:"a7746d9555c2d6e0172e184e370562e7bf7d8967",class:clsx.clsx("kol-modal",{"kol-modal__card":"card"===this.state._variant}),ref:n=>{this.refDialog=n},style:{width:this.state._width},"aria-label":this.state._label,onClose:this.handleNativeCloseEvent.bind(this)},index.h("div",{key:"af55fc367328cff9c1495518b39b92941101d9be",tabindex:"-1"},index.h("slot",{key:"e83efa707edf86463258ec35c174f2553a8405bf"})),"card"===this.state._variant&&index.h(componentNames.KolButtonWcTag,{key:"234abb9a34c39e748a74471fb87595f9d144b994",class:"kol-modal__close-button","data-testid":"modal-close-button",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close"),_on:this.on,_tooltipAlign:"left"}))}validateLabel(n){label.validateLabel(this,n,{required:!0})}validateOn(n){if("object"==typeof n&&null!==n){const e={};"function"!=typeof n.onClose&&!0!==n.onClose||(e.onClose=n.onClose),prop_validators.setState(this,"_on",e)}}validateWidth(n){prop_validators.watchString(this,"_width",n,{defaultValue:"100%"})}validateVariant(n){validateModalVariant(this,n)}componentWillLoad(){this.validateLabel(this._label),this.validateOn(this._on),this.validateWidth(this._width),this.validateVariant(this._variant)}get host(){return index.getElement(this)}static get watchers(){return{_label:["validateLabel"],_on:["validateOn"],_width:["validateWidth"],_variant:["validateVariant"]}}};KolModal.style={default:KolModalDefaultStyle0},exports.kol_modal=KolModal;
@@ -1 +1 @@
1
- {"file":"kol-modal.entry.cjs.js","mappings":"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","names":["watchValidator","dispatchDomEvent","KolEvent","h","clsx","KolButtonWcTag","translate","validateLabel","setState","watchString"],"sources":["src/schema/props/variant/modal.ts","src/components/modal/style.scss?tag=kol-modal&mode=default&encapsulation=shadow","src/components/modal/shadow.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchValidator } from '../../utils/prop.validators';\n\nconst ModalVariantPropTypeOptions = ['blank', 'card'] as const;\nexport type ModalVariantPropType = (typeof ModalVariantPropTypeOptions)[number];\n\n/**\n * Defines the different variants for displaying the Modal.\n */\nexport type PropModalVariant = {\n\tvariant: ModalVariantPropType;\n};\n\n/* validator */\nexport const validateModalVariant = (component: Generic.Element.Component, value?: ModalVariantPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_variant',\n\t\t(value) => typeof value === 'string' && ModalVariantPropTypeOptions.includes(value),\n\t\tnew Set(ModalVariantPropTypeOptions),\n\t\tvalue,\n\t);\n};\n","@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../tooltip/style.scss' as *;\n\n@layer kol-component {\n\t.kol-modal {\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tfont-size: rem(16);\n\t\tposition: relative;\n\n\t\t&::backdrop {\n\t\t\tbackground-color: rgba(0, 0, 0, 0.33);\n\t\t}\n\n\t\t&__close-button {\n\t\t\tposition: absolute;\n\t\t\ttop: rem(1);\n\t\t\tright: rem(1);\n\t\t\tz-index: 1;\n\t\t}\n\t}\n}\n","import type { KoliBriModalEventCallbacks, LabelPropType, ModalAPI, ModalStates } from '../../schema';\nimport { setState, validateLabel, watchString } from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport type { ModalVariantPropType } from '../../schema/props/variant/modal';\nimport { validateModalVariant } from '../../schema/props/variant/modal';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { translate } from '../../i18n';\nimport clsx from 'clsx';\n\n/**\n * https://en.wikipedia.org/wiki/Modal_window\n *\n * @slot - The modal's contents.\n */\n@Component({\n\ttag: 'kol-modal',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolModal implements ModalAPI {\n\t@Element() private readonly host?: HTMLKolModalElement;\n\tprivate refDialog?: HTMLDialogElement;\n\n\tpublic disconnectedCallback(): void {\n\t\tvoid this.closeModal();\n\t}\n\n\tprivate handleNativeCloseEvent() {\n\t\tthis.state._on?.onClose?.();\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.close);\n\t\t}\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tasync openModal() {\n\t\tthis.refDialog?.showModal();\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async closeModal() {\n\t\t/* The optional chaining for the `close` method is not strictly necessary, but a simple/lazy workaround for HTMLDialog not being implemented in jsdom, causing Jest tests to fail. It may be removed in the future. */\n\t\tthis.refDialog?.close?.();\n\t}\n\n\tprivate readonly on = {\n\t\tonClick: async () => {\n\t\t\tawait this.closeModal();\n\t\t},\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<dialog\n\t\t\t\tclass={clsx('kol-modal', { 'kol-modal__card': this.state._variant === 'card' })}\n\t\t\t\tref={(el) => {\n\t\t\t\t\tthis.refDialog = el;\n\t\t\t\t}}\n\t\t\t\tstyle={{\n\t\t\t\t\twidth: this.state._width,\n\t\t\t\t}}\n\t\t\t\taria-label={this.state._label}\n\t\t\t\tonClose={this.handleNativeCloseEvent.bind(this)}\n\t\t\t>\n\t\t\t\t{/* It's necessary to have a block element container for cross-browser compatibility. The display property for the slot content is unknown and could be inline. */}\n\t\t\t\t<div tabindex=\"-1\">\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t\t{this.state._variant === 'card' && (\n\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\tclass=\"kol-modal__close-button\"\n\t\t\t\t\t\tdata-testid=\"modal-close-button\"\n\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t_label={translate('kol-close')}\n\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t)}\n\t\t\t</dialog>\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.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the modal callback functions.\n\t */\n\t@Prop() public _on?: KoliBriModalEventCallbacks;\n\n\t/**\n\t * Defines the width of the modal. (max-width: 100%)\n\t */\n\t@Prop() public _width?: string = '100%';\n\n\t/**\n\t * Defines the variant of the modal.\n\t */\n\t@Prop() public _variant?: ModalVariantPropType = 'blank';\n\n\t@State() public state: ModalStates = {\n\t\t_label: '', // ⚠ required\n\t\t_width: '100%',\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(value?: KoliBriModalEventCallbacks): void {\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tconst callbacks: KoliBriModalEventCallbacks = {};\n\t\t\tif (typeof value.onClose === 'function' || value.onClose === true) {\n\t\t\t\tcallbacks.onClose = value.onClose;\n\t\t\t}\n\t\t\tsetState<KoliBriModalEventCallbacks>(this, '_on', callbacks);\n\t\t}\n\t}\n\n\t@Watch('_width')\n\tpublic validateWidth(value?: string): void {\n\t\twatchString(this, '_width', value, {\n\t\t\tdefaultValue: '100%',\n\t\t});\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: ModalVariantPropType): void {\n\t\tvalidateModalVariant(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateWidth(this._width);\n\t\tthis.validateVariant(this._variant);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-modal.entry.cjs.js","mappings":"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","names":["watchValidator","dispatchDomEvent","KolEvent","h","clsx","KolButtonWcTag","translate","validateLabel","setState","watchString"],"sources":["src/schema/props/variant/modal.ts","src/components/modal/style.scss?tag=kol-modal&mode=default&encapsulation=shadow","src/components/modal/shadow.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchValidator } from '../../utils/prop.validators';\n\nconst ModalVariantPropTypeOptions = ['blank', 'card'] as const;\nexport type ModalVariantPropType = (typeof ModalVariantPropTypeOptions)[number];\n\n/**\n * Defines the different variants for displaying the Modal.\n */\nexport type PropModalVariant = {\n\tvariant: ModalVariantPropType;\n};\n\n/* validator */\nexport const validateModalVariant = (component: Generic.Element.Component, value?: ModalVariantPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_variant',\n\t\t(value) => typeof value === 'string' && ModalVariantPropTypeOptions.includes(value),\n\t\tnew Set(ModalVariantPropTypeOptions),\n\t\tvalue,\n\t);\n};\n","@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../tooltip/style.scss' as *;\n\n@layer kol-component {\n\t.kol-modal {\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tfont-size: rem(16);\n\t\tposition: relative;\n\n\t\t&::backdrop {\n\t\t\tbackground-color: rgba(0, 0, 0, 0.33);\n\t\t}\n\n\t\t&__close-button {\n\t\t\tposition: absolute;\n\t\t\ttop: rem(1);\n\t\t\tright: rem(1);\n\t\t\tz-index: 1;\n\t\t}\n\t}\n}\n","import type { KoliBriModalEventCallbacks, LabelPropType, ModalAPI, ModalStates } from '../../schema';\nimport { setState, validateLabel, watchString } from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport type { ModalVariantPropType } from '../../schema/props/variant/modal';\nimport { validateModalVariant } from '../../schema/props/variant/modal';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { translate } from '../../i18n';\nimport clsx from 'clsx';\n\n/**\n * https://en.wikipedia.org/wiki/Modal_window\n *\n * @slot - The modal's contents.\n */\n@Component({\n\ttag: 'kol-modal',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolModal implements ModalAPI {\n\t@Element() private readonly host?: HTMLKolModalElement;\n\tprivate refDialog?: HTMLDialogElement;\n\n\tpublic disconnectedCallback(): void {\n\t\tvoid this.closeModal();\n\t}\n\n\tprivate handleNativeCloseEvent() {\n\t\tthis.state._on?.onClose?.();\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.close);\n\t\t}\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tasync openModal() {\n\t\tthis.refDialog?.showModal();\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async closeModal() {\n\t\t/* The optional chaining for the `close` method is not strictly necessary, but a simple/lazy workaround for HTMLDialog not being implemented in jsdom, causing Jest tests to fail. It may be removed in the future. */\n\t\tthis.refDialog?.close?.();\n\t}\n\n\tprivate readonly on = {\n\t\tonClick: async () => {\n\t\t\tawait this.closeModal();\n\t\t},\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<dialog\n\t\t\t\tclass={clsx('kol-modal', { 'kol-modal__card': this.state._variant === 'card' })}\n\t\t\t\tref={(el) => {\n\t\t\t\t\tthis.refDialog = el;\n\t\t\t\t}}\n\t\t\t\tstyle={{\n\t\t\t\t\twidth: this.state._width,\n\t\t\t\t}}\n\t\t\t\taria-label={this.state._label}\n\t\t\t\tonClose={this.handleNativeCloseEvent.bind(this)}\n\t\t\t>\n\t\t\t\t{/* It's necessary to have a block element container for cross-browser compatibility. The display property for the slot content is unknown and could be inline. */}\n\t\t\t\t<div tabindex=\"-1\">\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t\t{this.state._variant === 'card' && (\n\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\tclass=\"kol-modal__close-button\"\n\t\t\t\t\t\tdata-testid=\"modal-close-button\"\n\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t_label={translate('kol-close')}\n\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t)}\n\t\t\t</dialog>\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.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the modal callback functions.\n\t */\n\t@Prop() public _on?: KoliBriModalEventCallbacks;\n\n\t/**\n\t * Defines the width of the modal. (max-width: 100%)\n\t */\n\t@Prop() public _width?: string = '100%';\n\n\t/**\n\t * Defines the variant of the modal.\n\t */\n\t@Prop() public _variant?: ModalVariantPropType = 'blank';\n\n\t@State() public state: ModalStates = {\n\t\t_label: '', // ⚠ required\n\t\t_width: '100%',\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(value?: KoliBriModalEventCallbacks): void {\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tconst callbacks: KoliBriModalEventCallbacks = {};\n\t\t\tif (typeof value.onClose === 'function' || value.onClose === true) {\n\t\t\t\tcallbacks.onClose = value.onClose;\n\t\t\t}\n\t\t\tsetState<KoliBriModalEventCallbacks>(this, '_on', callbacks);\n\t\t}\n\t}\n\n\t@Watch('_width')\n\tpublic validateWidth(value?: string): void {\n\t\twatchString(this, '_width', value, {\n\t\t\tdefaultValue: '100%',\n\t\t});\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: ModalVariantPropType): void {\n\t\tvalidateModalVariant(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateWidth(this._width);\n\t\tthis.validateVariant(this._variant);\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-e2b73bdf.js"),i18n=require("./i18n-c745fb7d.js"),uniqueNavLabels=require("./unique-nav-labels-b12ecac7.js"),validation=require("./validation-244ee97f.js"),componentNames=require("./component-names-74abfa2e.js"),clsx=require("./clsx-dd4d6dd1.js"),prop_validators=require("./prop.validators-888c8338.js"),hideLabel=require("./hide-label-cfe594e0.js"),label=require("./label-477be19d.js");require("./i18n-583e3c4b.js"),require("./reuse-8650ea4e.js"),require("./dev.utils-58fde089.js"),require("./index-38f5f0b2.js");const validateCollapsible=(e,n)=>{prop_validators.watchBoolean(e,"_collapsible",n)},validateHasCompactButton=(e,n)=>{prop_validators.watchBoolean(e,"_hasCompactButton",n)},validateHasIconsWhenExpanded=(e,n)=>{prop_validators.watchBoolean(e,"_hasIconsWhenExpanded",n)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-nav {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n display: grid;\n place-items: center;\n }\n .kol-nav--horizontal {\n width: 100%;\n }\n .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation {\n width: 100%;\n }\n .kol-nav__list {\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n .kol-nav__list--vertical {\n flex-direction: column;\n }\n .kol-nav__list--horizontal {\n flex-wrap: wrap;\n }\n .kol-nav__entry-wrapper {\n display: flex;\n }\n .kol-nav__entry {\n flex-grow: 1;\n }\n}",KolNavDefaultStyle0=defaultStyleCss,entryIsLink=e=>"string"==typeof e._href,entryIsButton=e=>{var n;return void 0===e._href&&"function"==typeof(null===(n=e._on)||void 0===n?void 0:n.onClick)},KolNav=class{constructor(e){index.registerInstance(this,e),this.handleToggleExpansionClick=e=>{e&&(this.state._expandedChildren.includes(e)?this.collapseChildren(e):this.expandChildren(e))},this.linkList=e=>index.h("ul",{class:clsx.clsx("kol-nav__list",{"kol-nav__list--nested":e.deep>0,"kol-nav__list--horizontal":0===e.deep&&"horizontal"===e.orientation,"kol-nav__list--vertical":0!==e.deep||"vertical"===e.orientation}),"data-deep":e.deep},e.links.map(((n,t)=>this.li(e.collapsible,e.hideLabel,e.deep,t,n,e.orientation)))),this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this._label=void 0,this._links=void 0,this._orientation="vertical",this.state={_collapsible:!0,_hasCompactButton:!1,_hasIconsWhenExpanded:!1,_hideLabel:!1,_label:"",_links:[],_orientation:"vertical",_expandedChildren:[]}}expandChildren(e){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:[...this.state._expandedChildren,e]})}collapseChildren(e){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:this.state._expandedChildren.filter((n=>n!=e))})}entry(e,n,t,i,a){const o=this.state._hasIconsWhenExpanded||this.state._hideLabel?i._icons||(this.state._hideLabel?"codicon codicon-symbol-method":void 0):void 0;return index.h("div",{class:"kol-nav__entry-wrapper"},entryIsLink(i)?index.h(componentNames.KolLinkWcTag,Object.assign({class:"kol-nav__entry kol-nav__entry--link"},i,{_hideLabel:n,_icons:o})):index.h(componentNames.KolButtonWcTag,{class:"kol-nav__entry kol-nav__entry--button",_label:i._label,_hideLabel:n,_icons:o,_on:{onClick:(e,n)=>{entryIsButton(i)&&"function"==typeof i._on.onClick?i._on.onClick(e,n):this.handleToggleExpansionClick(i._children)}}}),t?this.expandButton(e,i,a):"")}expandButton(e,n,t){return index.h(componentNames.KolButtonWcTag,{class:clsx.clsx("kol-nav__expand-button",{"kol-nav__expand-button--expanded":t}),_ariaExpanded:t,_disabled:!e,_icons:"codicon codicon-"+(t?"remove":"add"),_hideLabel:!0,_label:`${t?i18n.translate("kol-nav-label-close",{placeholders:{label:n._label}}):i18n.translate("kol-nav-label-open",{placeholders:{label:n._label}})}`,_on:{onClick:()=>this.handleToggleExpansionClick(n._children)}})}li(e,n,t,i,a,o){const l=!!a._active,s=Array.isArray(a._children)&&a._children.length>0,d=Boolean(a._children&&this.state._expandedChildren.includes(a._children));return index.h("li",{class:clsx.clsx("kol-nav__list-item",{"kol-nav__list-item--active":l,"kol-nav__list-item--expanded":d,"kol-nav__list-item--has-children":s}),key:i},this.entry(e,n,s,a,d),d&&index.h(this.linkList,{collapsible:e,hideLabel:n,deep:t+1,links:a._children||[],orientation:o}))}initializeExpandedChildren(){const e=n=>{if(n._active)return n._children&&this.expandChildren(n._children),!0;if(n._children)for(const t of n._children)if(e(t))return this.expandChildren(n._children),!0;return!1};this.state._links.forEach(e)}render(){let e=this.state._hasCompactButton;"horizontal"===this.state._orientation&&!0===this.state._hasCompactButton&&(e=!1,prop_validators.devWarning("[KolNav] Wenn eine horizontale Navigation verwendet wird, kann die Option _hasCompactButton nicht aktiviert werden."));const n=!0===this.state._collapsible,t=!0===this.state._hideLabel,i=this.state._orientation;return index.h("div",{key:"52f1ba2a69870cd208aa9514b5cf8b4a99c8d3ab",class:clsx.clsx("kol-nav",`kol-nav--${i}`,{"kol-nav--is-compact":this.state._hideLabel})},index.h("nav",{key:"0ae9239598bde270bfefe8ee1e3077e9a2e80f88",class:"kol-nav__navigation","aria-label":this.state._label,id:"nav"},index.h(this.linkList,{key:"5b0555e0638e3029604e32d3e5496b88b6af288c",collapsible:n,hideLabel:t,deep:0,links:this.state._links,orientation:i})),e&&index.h("div",{key:"6e9f2a774c4b77eee0b2dcc306868e7b69bfcb5b",class:"kol-nav__compact"},index.h(componentNames.KolButtonTag,{key:"5c87da3c9b3e6884dbba58e5e29c2db9dfa04455",_ariaControls:"nav",_ariaExpanded:!t,_icons:t?"codicon codicon-chevron-right":"codicon codicon-chevron-left",_hideLabel:!0,_label:i18n.translate(t?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:()=>{this.state=Object.assign(Object.assign({},this.state),{_hideLabel:!1===this.state._hideLabel})}},_tooltipAlign:"right",_variant:"ghost"})))}validateCollapsible(e){validateCollapsible(this,e)}validateHasCompactButton(e){validateHasCompactButton(this,e)}validateHasIconsWhenExpanded(e){validateHasIconsWhenExpanded(this,e)}validateHideLabel(e){hideLabel.validateHideLabel(this,e)}validateLabel(e,n,t=!1){t||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,e,{required:!0}),prop_validators.a11yHintLabelingLandmarks(e),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(e){validation.watchNavLinks("KolNav",this,e),prop_validators.devHint("[KolNav] The navigation structure is not yet validated recursively.")}validateOrientation(e){prop_validators.watchValidator(this,"_orientation",(e=>"horizontal"===e||"vertical"===e),new Set(["Orientation {horizontal, vertical}"]),e,{defaultValue:"vertical"})}componentWillLoad(){this.validateCollapsible(this._collapsible),this.validateHideLabel(this._hideLabel),this.validateHasCompactButton(this._hasCompactButton),this.validateHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links),this.validateOrientation(this._orientation),this.initializeExpandedChildren()}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_collapsible:["validateCollapsible"],_hasCompactButton:["validateHasCompactButton"],_hasIconsWhenExpanded:["validateHasIconsWhenExpanded"],_hideLabel:["validateHideLabel"],_label:["validateLabel"],_links:["validateLinks"],_orientation:["validateOrientation"]}}};KolNav.style={default:KolNavDefaultStyle0},exports.kol_nav=KolNav;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-06fe81a0.js"),i18n=require("./i18n-0e710ccd.js"),uniqueNavLabels=require("./unique-nav-labels-b12ecac7.js"),validation=require("./validation-2820e912.js"),componentNames=require("./component-names-82c4d68d.js"),clsx=require("./clsx-dd4d6dd1.js"),prop_validators=require("./prop.validators-3c86f8eb.js"),hideLabel=require("./hide-label-a9a94f19.js"),label=require("./label-3ce275fe.js");require("./i18n-8c288a27.js"),require("./reuse-8650ea4e.js"),require("./dev.utils-58fde089.js"),require("./index-c77a4142.js");const validateCollapsible=(n,e)=>{prop_validators.watchBoolean(n,"_collapsible",e)},validateHasCompactButton=(n,e)=>{prop_validators.watchBoolean(n,"_hasCompactButton",e)},validateHasIconsWhenExpanded=(n,e)=>{prop_validators.watchBoolean(n,"_hasIconsWhenExpanded",e)},defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-nav {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n display: grid;\n place-items: center;\n }\n .kol-nav--horizontal {\n width: 100%;\n }\n .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation {\n width: 100%;\n }\n .kol-nav__list {\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n .kol-nav__list--vertical {\n flex-direction: column;\n }\n .kol-nav__list--horizontal {\n flex-wrap: wrap;\n }\n .kol-nav__entry-wrapper {\n display: flex;\n }\n .kol-nav__entry {\n flex-grow: 1;\n }\n .kol-button {\n text-align: left;\n }\n}",KolNavDefaultStyle0=defaultStyleCss,entryIsLink=n=>"string"==typeof n._href,entryIsButton=n=>{var e;return void 0===n._href&&"function"==typeof(null===(e=n._on)||void 0===e?void 0:e.onClick)},KolNav=class{constructor(n){index.registerInstance(this,n),this.handleToggleExpansionClick=n=>{n&&(this.state._expandedChildren.includes(n)?this.collapseChildren(n):this.expandChildren(n))},this.linkList=n=>index.h("ul",{class:clsx.clsx("kol-nav__list",{"kol-nav__list--nested":n.deep>0,"kol-nav__list--horizontal":0===n.deep&&"horizontal"===n.orientation,"kol-nav__list--vertical":0!==n.deep||"vertical"===n.orientation}),"data-deep":n.deep},n.links.map(((e,t)=>this.li(n.collapsible,n.hideLabel,n.deep,t,e,n.orientation)))),this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this._label=void 0,this._links=void 0,this._orientation="vertical",this.state={_collapsible:!0,_hasCompactButton:!1,_hasIconsWhenExpanded:!1,_hideLabel:!1,_label:"",_links:[],_orientation:"vertical",_expandedChildren:[]}}expandChildren(n){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:[...this.state._expandedChildren,n]})}collapseChildren(n){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:this.state._expandedChildren.filter((e=>e!=n))})}entry(n,e,t,i,a){const o=this.state._hasIconsWhenExpanded||this.state._hideLabel?i._icons||(this.state._hideLabel?"codicon codicon-symbol-method":void 0):void 0;return index.h("div",{class:"kol-nav__entry-wrapper"},entryIsLink(i)?index.h(componentNames.KolLinkWcTag,Object.assign({class:"kol-nav__entry kol-nav__entry--link"},i,{_hideLabel:e,_icons:o})):index.h(componentNames.KolButtonWcTag,{class:"kol-nav__entry kol-nav__entry--button",_label:i._label,_hideLabel:e,_icons:o,_on:{onClick:(n,e)=>{entryIsButton(i)&&"function"==typeof i._on.onClick?i._on.onClick(n,e):this.handleToggleExpansionClick(i._children)}}}),t?this.expandButton(n,i,a):"")}expandButton(n,e,t){return index.h(componentNames.KolButtonWcTag,{class:clsx.clsx("kol-nav__expand-button",{"kol-nav__expand-button--expanded":t}),_ariaExpanded:t,_disabled:!n,_icons:"codicon codicon-"+(t?"remove":"add"),_hideLabel:!0,_label:`${t?i18n.translate("kol-nav-label-close",{placeholders:{label:e._label}}):i18n.translate("kol-nav-label-open",{placeholders:{label:e._label}})}`,_on:{onClick:()=>this.handleToggleExpansionClick(e._children)}})}li(n,e,t,i,a,o){const l=!!a._active,s=Array.isArray(a._children)&&a._children.length>0,d=Boolean(a._children&&this.state._expandedChildren.includes(a._children));return index.h("li",{class:clsx.clsx("kol-nav__list-item",{"kol-nav__list-item--active":l,"kol-nav__list-item--expanded":d,"kol-nav__list-item--has-children":s}),key:i},this.entry(n,e,s,a,d),d&&index.h(this.linkList,{collapsible:n,hideLabel:e,deep:t+1,links:a._children||[],orientation:o}))}initializeExpandedChildren(){const n=e=>{if(e._active)return e._children&&this.expandChildren(e._children),!0;if(e._children)for(const t of e._children)if(n(t))return this.expandChildren(e._children),!0;return!1};this.state._links.forEach(n)}render(){let n=this.state._hasCompactButton;"horizontal"===this.state._orientation&&!0===this.state._hasCompactButton&&(n=!1,prop_validators.devWarning("[KolNav] Wenn eine horizontale Navigation verwendet wird, kann die Option _hasCompactButton nicht aktiviert werden."));const e=!0===this.state._collapsible,t=!0===this.state._hideLabel,i=this.state._orientation;return index.h("div",{key:"93757665047c23f9ed1339e16911376068df4443",class:clsx.clsx("kol-nav",`kol-nav--${i}`,{"kol-nav--is-compact":this.state._hideLabel})},index.h("nav",{key:"8d97dbdf8327d63448873a83585944dad8f38bf4",class:"kol-nav__navigation","aria-label":this.state._label,id:"nav"},index.h(this.linkList,{key:"c4ad4bb554917c2705af4db9d2b1b55e194732cb",collapsible:e,hideLabel:t,deep:0,links:this.state._links,orientation:i})),n&&index.h("div",{key:"de8a895e442929203ea710d8754fc686e9fb3e85",class:"kol-nav__compact"},index.h(componentNames.KolButtonWcTag,{key:"9b315aeea88bae247b48932a06c88309731fb9ad",class:"kol-nav__toggle-button",_ariaControls:"nav",_ariaExpanded:!t,_icons:t?"codicon codicon-chevron-right":"codicon codicon-chevron-left",_hideLabel:!0,_label:i18n.translate(t?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:()=>{this.state=Object.assign(Object.assign({},this.state),{_hideLabel:!1===this.state._hideLabel})}},_tooltipAlign:"right",_variant:"ghost"})))}validateCollapsible(n){validateCollapsible(this,n)}validateHasCompactButton(n){validateHasCompactButton(this,n)}validateHasIconsWhenExpanded(n){validateHasIconsWhenExpanded(this,n)}validateHideLabel(n){hideLabel.validateHideLabel(this,n)}validateLabel(n,e,t=!1){t||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,n,{required:!0}),prop_validators.a11yHintLabelingLandmarks(n),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(n){validation.watchNavLinks("KolNav",this,n),prop_validators.devHint("[KolNav] The navigation structure is not yet validated recursively.")}validateOrientation(n){prop_validators.watchValidator(this,"_orientation",(n=>"horizontal"===n||"vertical"===n),new Set(["Orientation {horizontal, vertical}"]),n,{defaultValue:"vertical"})}componentWillLoad(){this.validateCollapsible(this._collapsible),this.validateHideLabel(this._hideLabel),this.validateHasCompactButton(this._hasCompactButton),this.validateHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links),this.validateOrientation(this._orientation),this.initializeExpandedChildren()}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_collapsible:["validateCollapsible"],_hasCompactButton:["validateHasCompactButton"],_hasIconsWhenExpanded:["validateHasIconsWhenExpanded"],_hideLabel:["validateHideLabel"],_label:["validateLabel"],_links:["validateLinks"],_orientation:["validateOrientation"]}}};KolNav.style={default:KolNavDefaultStyle0},exports.kol_nav=KolNav;