@public-ui/components 1.7.6-rc.2 → 1.7.6

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 (1127) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/{a11y.tipps-411d547d.js → a11y.tipps-92411c71.js} +1 -1
  3. package/dist/cjs/{a11y.tipps-411d547d.js.map → a11y.tipps-92411c71.js.map} +1 -1
  4. package/dist/cjs/align-3d31e5d6.js +4 -0
  5. package/dist/cjs/{align-9188853a.js.map → align-3d31e5d6.js.map} +1 -1
  6. package/dist/cjs/{alignment-62eb6ada.js → alignment-c5614ef1.js} +1 -1
  7. package/dist/cjs/{alignment-62eb6ada.js.map → alignment-c5614ef1.js.map} +1 -1
  8. package/dist/cjs/{app-globals-a003081e.js → app-globals-5d8470ed.js} +1 -1
  9. package/dist/cjs/{app-globals-a003081e.js.map → app-globals-5d8470ed.js.map} +1 -1
  10. package/dist/cjs/aria-current-c3f2bebe.js +4 -0
  11. package/dist/cjs/{aria-current-814a3dc4.js.map → aria-current-c3f2bebe.js.map} +1 -1
  12. package/dist/cjs/{associated.controller-48c858f3.js → associated.controller-56d9e762.js} +1 -1
  13. package/dist/cjs/associated.controller-56d9e762.js.map +1 -0
  14. package/dist/cjs/{bund-f5184e9e.js.map → bund-4be96755.js.map} +1 -1
  15. package/dist/cjs/{color-61c2d789.js → color-0a7cfd01.js} +1 -1
  16. package/dist/cjs/color-0a7cfd01.js.map +1 -0
  17. package/dist/cjs/controller-8ae79249.js +4 -0
  18. package/dist/cjs/controller-8ae79249.js.map +1 -0
  19. package/dist/cjs/{controller-166aba29.js → controller-9a0673b6.js} +1 -1
  20. package/dist/cjs/controller-9a0673b6.js.map +1 -0
  21. package/dist/cjs/{controller-fd19ada2.js → controller-9f9ddc96.js} +1 -1
  22. package/dist/cjs/controller-9f9ddc96.js.map +1 -0
  23. package/dist/cjs/controller-b091f60e.js +4 -0
  24. package/dist/cjs/controller-b091f60e.js.map +1 -0
  25. package/dist/cjs/controller-e3a82ff0.js +4 -0
  26. package/dist/cjs/controller-e3a82ff0.js.map +1 -0
  27. package/dist/cjs/{controller-icon-7ac2c453.js → controller-icon-d1b86ea5.js} +1 -1
  28. package/dist/cjs/controller-icon-d1b86ea5.js.map +1 -0
  29. package/dist/cjs/{custom-class-a1281e0c.js → custom-class-5acfb25f.js} +1 -1
  30. package/dist/cjs/{custom-class-a1281e0c.js.map → custom-class-5acfb25f.js.map} +1 -1
  31. package/dist/cjs/{details-synced-open-state-f06dc47c.js.map → details-synced-open-state-a66cbea0.js.map} +1 -1
  32. package/dist/cjs/{dev.utils-6f091d59.js → dev.utils-c29072e2.js} +1 -1
  33. package/dist/cjs/dev.utils-c29072e2.js.map +1 -0
  34. package/dist/cjs/{devtools-5f571cd3.js → devtools-5711f93a.js} +1 -1
  35. package/dist/cjs/devtools-5711f93a.js.map +1 -0
  36. package/dist/cjs/{events-a0c291ce.js.map → events-e348a615.js.map} +1 -1
  37. package/dist/cjs/floating-ui.dom.esm-079798c6.js +4 -0
  38. package/dist/cjs/floating-ui.dom.esm-079798c6.js.map +1 -0
  39. package/dist/cjs/has-closer-ac74a785.js +4 -0
  40. package/dist/cjs/{has-closer-7fab148c.js.map → has-closer-ac74a785.js.map} +1 -1
  41. package/dist/cjs/hide-label-badb4945.js +4 -0
  42. package/dist/cjs/{hide-label-5dd90b4b.js.map → hide-label-badb4945.js.map} +1 -1
  43. package/dist/cjs/{i18n-b352d30e.js → i18n-f9e68722.js} +1 -1
  44. package/dist/cjs/{i18n-b352d30e.js.map → i18n-f9e68722.js.map} +1 -1
  45. package/dist/cjs/{icons-da95da9d.js → icons-b09e9f57.js} +1 -1
  46. package/dist/cjs/icons-b09e9f57.js.map +1 -0
  47. package/dist/cjs/image-source-db0ac5db.js +4 -0
  48. package/dist/cjs/{image-source-ac98802d.js.map → image-source-db0ac5db.js.map} +1 -1
  49. package/dist/cjs/index-84f67516.js +4 -0
  50. package/dist/cjs/{index-c3cd3623.js.map → index-84f67516.js.map} +1 -1
  51. package/dist/cjs/{index-82b810c3.js → index-a2400b65.js} +1 -1
  52. package/dist/cjs/index-a2400b65.js.map +1 -0
  53. package/dist/cjs/{index-7988944a.js.map → index-f8b26787.js.map} +1 -1
  54. package/dist/cjs/index.cjs.js +1 -1
  55. package/dist/cjs/index.cjs.js.map +1 -1
  56. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  58. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-alert-wc_3.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-alert-wc_3.cjs.entry.js.map +1 -1
  62. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  64. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-button-group-wc.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-button-link-text-switch.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-button-link-text-switch.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-icon-font-awesome.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-icon-font-awesome.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-icon-icofont.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-icon-icofont.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-input-radio-group.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  136. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  138. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  140. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  148. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  150. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  152. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  154. package/dist/cjs/kol-span-wc_2.cjs.entry.js +1 -1
  155. package/dist/cjs/kol-span-wc_2.cjs.entry.js.map +1 -1
  156. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  157. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  158. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  159. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  160. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  161. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  162. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  163. package/dist/cjs/kol-symbol.cjs.entry.js.map +1 -1
  164. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  165. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  166. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  168. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  169. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  170. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  171. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  172. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  173. package/dist/cjs/kol-toast.cjs.entry.js.map +1 -1
  174. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  175. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  176. package/dist/cjs/kolibri.cjs.js +1 -1
  177. package/dist/cjs/kolibri.cjs.js.map +1 -1
  178. package/dist/cjs/{label-83605bf9.js → label-03b63bfd.js} +1 -1
  179. package/dist/cjs/label-03b63bfd.js.map +1 -0
  180. package/dist/cjs/loader.cjs.js +1 -1
  181. package/dist/cjs/open-94bf5fc5.js +4 -0
  182. package/dist/cjs/{open-e3bdad37.js.map → open-94bf5fc5.js.map} +1 -1
  183. package/dist/cjs/{prop.validators-c681a995.js → prop.validators-1f99e6ff.js} +1 -1
  184. package/dist/cjs/prop.validators-1f99e6ff.js.map +1 -0
  185. package/dist/cjs/reprod-accordion-does-not-toggle-with-open-092e559d.js.map +1 -0
  186. package/dist/cjs/reuse-a4c8450e.js.map +1 -0
  187. package/dist/cjs/rows-d098de97.js +4 -0
  188. package/dist/cjs/{rows-e4592ff3.js.map → rows-d098de97.js.map} +1 -1
  189. package/dist/cjs/show-f96935a0.js +4 -0
  190. package/dist/cjs/{show-20042042.js.map → show-f96935a0.js.map} +1 -1
  191. package/dist/cjs/{suggestions-e61abf24.js → suggestions-879c67e1.js} +1 -1
  192. package/dist/cjs/suggestions-879c67e1.js.map +1 -0
  193. package/dist/cjs/{tab-index-7f4077e8.js → tab-index-96b0307a.js} +1 -1
  194. package/dist/cjs/tab-index-96b0307a.js.map +1 -0
  195. package/dist/cjs/{toaster-2958db57.js → toaster-ddf8c471.js} +1 -1
  196. package/dist/cjs/{toaster-2958db57.js.map → toaster-ddf8c471.js.map} +1 -1
  197. package/dist/cjs/toaster-fc0622bd.js.map +1 -0
  198. package/dist/cjs/{tooltip-align-a083b98c.js → tooltip-align-fe56af06.js} +1 -1
  199. package/dist/cjs/{tooltip-align-a083b98c.js.map → tooltip-align-fe56af06.js.map} +1 -1
  200. package/dist/cjs/{unique-nav-labels-9784a4c5.js.map → unique-nav-labels-363e1d71.js.map} +1 -1
  201. package/dist/cjs/{validation-ca6af306.js → validation-5c13ca37.js} +1 -1
  202. package/dist/cjs/{validation-ca6af306.js.map → validation-5c13ca37.js.map} +1 -1
  203. package/dist/cjs/{validation-bc917572.js → validation-f1cde09d.js} +1 -1
  204. package/dist/cjs/{validation-bc917572.js.map → validation-f1cde09d.js.map} +1 -1
  205. package/dist/components/align.js +1 -1
  206. package/dist/components/align.js.map +1 -1
  207. package/dist/components/bund.js.map +1 -1
  208. package/dist/components/color.js.map +1 -1
  209. package/dist/components/component.js.map +1 -1
  210. package/dist/components/component10.js.map +1 -1
  211. package/dist/components/component11.js.map +1 -1
  212. package/dist/components/component12.js +1 -1
  213. package/dist/components/component12.js.map +1 -1
  214. package/dist/components/component13.js +1 -1
  215. package/dist/components/component13.js.map +1 -1
  216. package/dist/components/component14.js +1 -1
  217. package/dist/components/component14.js.map +1 -1
  218. package/dist/components/component15.js +1 -1
  219. package/dist/components/component15.js.map +1 -1
  220. package/dist/components/component16.js +1 -1
  221. package/dist/components/component16.js.map +1 -1
  222. package/dist/components/component2.js +1 -1
  223. package/dist/components/component2.js.map +1 -1
  224. package/dist/components/component3.js +1 -1
  225. package/dist/components/component3.js.map +1 -1
  226. package/dist/components/component4.js.map +1 -1
  227. package/dist/components/component5.js.map +1 -1
  228. package/dist/components/component6.js.map +1 -1
  229. package/dist/components/component7.js.map +1 -1
  230. package/dist/components/component8.js +1 -1
  231. package/dist/components/component8.js.map +1 -1
  232. package/dist/components/component9.js.map +1 -1
  233. package/dist/components/controller-icon.js.map +1 -1
  234. package/dist/components/controller.js +1 -1
  235. package/dist/components/controller.js.map +1 -1
  236. package/dist/components/controller2.js +1 -1
  237. package/dist/components/controller2.js.map +1 -1
  238. package/dist/components/controller3.js +1 -1
  239. package/dist/components/controller3.js.map +1 -1
  240. package/dist/components/controller4.js +1 -1
  241. package/dist/components/controller4.js.map +1 -1
  242. package/dist/components/details-synced-open-state.js.map +1 -1
  243. package/dist/components/devtools.js.map +1 -1
  244. package/dist/components/events.js.map +1 -1
  245. package/dist/components/has-closer.js.map +1 -1
  246. package/dist/components/i18n.js.map +1 -1
  247. package/dist/components/image-source.js.map +1 -1
  248. package/dist/components/index.js.map +1 -1
  249. package/dist/components/index2.js.map +1 -1
  250. package/dist/components/kol-abbr.d.ts +2 -2
  251. package/dist/components/kol-abbr.js +1 -1
  252. package/dist/components/kol-abbr.js.map +1 -1
  253. package/dist/components/kol-accordion.d.ts +2 -2
  254. package/dist/components/kol-accordion.js +1 -1
  255. package/dist/components/kol-accordion.js.map +1 -1
  256. package/dist/components/kol-alert-wc.d.ts +2 -2
  257. package/dist/components/kol-alert.d.ts +2 -2
  258. package/dist/components/kol-avatar-wc.d.ts +2 -2
  259. package/dist/components/kol-avatar.d.ts +2 -2
  260. package/dist/components/kol-avatar.js +1 -1
  261. package/dist/components/kol-avatar.js.map +1 -1
  262. package/dist/components/kol-badge.d.ts +2 -2
  263. package/dist/components/kol-breadcrumb.d.ts +2 -2
  264. package/dist/components/kol-breadcrumb.js +1 -1
  265. package/dist/components/kol-breadcrumb.js.map +1 -1
  266. package/dist/components/kol-button-group-wc.d.ts +2 -2
  267. package/dist/components/kol-button-group.d.ts +2 -2
  268. package/dist/components/kol-button-group.js +1 -1
  269. package/dist/components/kol-button-group.js.map +1 -1
  270. package/dist/components/kol-button-link-text-switch.d.ts +2 -2
  271. package/dist/components/kol-button-link.d.ts +2 -2
  272. package/dist/components/kol-button-link.js +1 -1
  273. package/dist/components/kol-button-link.js.map +1 -1
  274. package/dist/components/kol-button-wc.d.ts +2 -2
  275. package/dist/components/kol-button.d.ts +2 -2
  276. package/dist/components/kol-card.d.ts +2 -2
  277. package/dist/components/kol-card.js +1 -1
  278. package/dist/components/kol-card.js.map +1 -1
  279. package/dist/components/kol-details.d.ts +2 -2
  280. package/dist/components/kol-details.js +1 -1
  281. package/dist/components/kol-details.js.map +1 -1
  282. package/dist/components/kol-form.d.ts +2 -2
  283. package/dist/components/kol-form.js.map +1 -1
  284. package/dist/components/kol-heading-wc.d.ts +2 -2
  285. package/dist/components/kol-heading.d.ts +2 -2
  286. package/dist/components/kol-heading.js +1 -1
  287. package/dist/components/kol-heading.js.map +1 -1
  288. package/dist/components/kol-icon-font-awesome.d.ts +2 -2
  289. package/dist/components/kol-icon-font-awesome.js.map +1 -1
  290. package/dist/components/kol-icon-icofont.d.ts +2 -2
  291. package/dist/components/kol-icon-icofont.js.map +1 -1
  292. package/dist/components/kol-icon.d.ts +2 -2
  293. package/dist/components/kol-image.d.ts +2 -2
  294. package/dist/components/kol-image.js.map +1 -1
  295. package/dist/components/kol-indented-text.d.ts +2 -2
  296. package/dist/components/kol-input-adapter-leanup.d.ts +2 -2
  297. package/dist/components/kol-input-adapter-leanup.js.map +1 -1
  298. package/dist/components/kol-input-checkbox.d.ts +2 -2
  299. package/dist/components/kol-input-checkbox.js +1 -1
  300. package/dist/components/kol-input-checkbox.js.map +1 -1
  301. package/dist/components/kol-input-color.d.ts +2 -2
  302. package/dist/components/kol-input-color.js +1 -1
  303. package/dist/components/kol-input-color.js.map +1 -1
  304. package/dist/components/kol-input-date.d.ts +2 -2
  305. package/dist/components/kol-input-date.js +1 -1
  306. package/dist/components/kol-input-date.js.map +1 -1
  307. package/dist/components/kol-input-email.d.ts +2 -2
  308. package/dist/components/kol-input-email.js +1 -1
  309. package/dist/components/kol-input-email.js.map +1 -1
  310. package/dist/components/kol-input-file.d.ts +2 -2
  311. package/dist/components/kol-input-file.js +1 -1
  312. package/dist/components/kol-input-file.js.map +1 -1
  313. package/dist/components/kol-input-number.d.ts +2 -2
  314. package/dist/components/kol-input-number.js +1 -1
  315. package/dist/components/kol-input-number.js.map +1 -1
  316. package/dist/components/kol-input-password.d.ts +2 -2
  317. package/dist/components/kol-input-password.js +1 -1
  318. package/dist/components/kol-input-password.js.map +1 -1
  319. package/dist/components/kol-input-radio-group.d.ts +2 -2
  320. package/dist/components/kol-input-radio-group.js.map +1 -1
  321. package/dist/components/kol-input-radio.d.ts +2 -2
  322. package/dist/components/kol-input-range.d.ts +2 -2
  323. package/dist/components/kol-input-range.js +1 -1
  324. package/dist/components/kol-input-range.js.map +1 -1
  325. package/dist/components/kol-input-text.d.ts +2 -2
  326. package/dist/components/kol-input-text.js +1 -1
  327. package/dist/components/kol-input-text.js.map +1 -1
  328. package/dist/components/kol-input.d.ts +2 -2
  329. package/dist/components/kol-kolibri.d.ts +2 -2
  330. package/dist/components/kol-kolibri.js +1 -1
  331. package/dist/components/kol-kolibri.js.map +1 -1
  332. package/dist/components/kol-link-button.d.ts +2 -2
  333. package/dist/components/kol-link-button.js +1 -1
  334. package/dist/components/kol-link-button.js.map +1 -1
  335. package/dist/components/kol-link-group.d.ts +2 -2
  336. package/dist/components/kol-link-group.js +1 -1
  337. package/dist/components/kol-link-group.js.map +1 -1
  338. package/dist/components/kol-link-wc.d.ts +2 -2
  339. package/dist/components/kol-link.d.ts +2 -2
  340. package/dist/components/kol-logo.d.ts +2 -2
  341. package/dist/components/kol-logo.js +1 -1
  342. package/dist/components/kol-logo.js.map +1 -1
  343. package/dist/components/kol-modal.d.ts +2 -2
  344. package/dist/components/kol-modal.js +1 -1
  345. package/dist/components/kol-modal.js.map +1 -1
  346. package/dist/components/kol-nav.d.ts +2 -2
  347. package/dist/components/kol-nav.js +1 -1
  348. package/dist/components/kol-nav.js.map +1 -1
  349. package/dist/components/kol-pagination.d.ts +2 -2
  350. package/dist/components/kol-popover-wc.d.ts +2 -2
  351. package/dist/components/kol-popover-wc.js +1 -1
  352. package/dist/components/kol-popover-wc.js.map +1 -1
  353. package/dist/components/kol-progress.d.ts +2 -2
  354. package/dist/components/kol-progress.js +1 -1
  355. package/dist/components/kol-progress.js.map +1 -1
  356. package/dist/components/kol-quote.d.ts +2 -2
  357. package/dist/components/kol-quote.js +1 -1
  358. package/dist/components/kol-quote.js.map +1 -1
  359. package/dist/components/kol-select.d.ts +2 -2
  360. package/dist/components/kol-skip-nav.d.ts +2 -2
  361. package/dist/components/kol-skip-nav.js +1 -1
  362. package/dist/components/kol-skip-nav.js.map +1 -1
  363. package/dist/components/kol-span-wc.d.ts +2 -2
  364. package/dist/components/kol-span.d.ts +2 -2
  365. package/dist/components/kol-span.js +1 -1
  366. package/dist/components/kol-span.js.map +1 -1
  367. package/dist/components/kol-spin.d.ts +2 -2
  368. package/dist/components/kol-spin.js +1 -1
  369. package/dist/components/kol-spin.js.map +1 -1
  370. package/dist/components/kol-split-button.d.ts +2 -2
  371. package/dist/components/kol-split-button.js +1 -1
  372. package/dist/components/kol-split-button.js.map +1 -1
  373. package/dist/components/kol-symbol.d.ts +2 -2
  374. package/dist/components/kol-symbol.js.map +1 -1
  375. package/dist/components/kol-table.d.ts +2 -2
  376. package/dist/components/kol-table.js +1 -1
  377. package/dist/components/kol-table.js.map +1 -1
  378. package/dist/components/kol-tabs.d.ts +2 -2
  379. package/dist/components/kol-tabs.js +1 -1
  380. package/dist/components/kol-tabs.js.map +1 -1
  381. package/dist/components/kol-textarea.d.ts +2 -2
  382. package/dist/components/kol-textarea.js +1 -1
  383. package/dist/components/kol-textarea.js.map +1 -1
  384. package/dist/components/kol-toast-container.d.ts +2 -2
  385. package/dist/components/kol-toast-container.js.map +1 -1
  386. package/dist/components/kol-toast.d.ts +2 -2
  387. package/dist/components/kol-toast.js +1 -1
  388. package/dist/components/kol-toast.js.map +1 -1
  389. package/dist/components/kol-tooltip-wc.d.ts +2 -2
  390. package/dist/components/kol-version.d.ts +2 -2
  391. package/dist/components/kol-version.js +1 -1
  392. package/dist/components/kol-version.js.map +1 -1
  393. package/dist/components/label.js.map +1 -1
  394. package/dist/components/open.js.map +1 -1
  395. package/dist/components/prop.validators.js +1 -1
  396. package/dist/components/prop.validators.js.map +1 -1
  397. package/dist/components/reprod-accordion-does-not-toggle-with-open.js.map +1 -1
  398. package/dist/components/rows.js.map +1 -1
  399. package/dist/components/shadow.js +1 -1
  400. package/dist/components/shadow.js.map +1 -1
  401. package/dist/components/shadow2.js +1 -1
  402. package/dist/components/shadow2.js.map +1 -1
  403. package/dist/components/shadow3.js +1 -1
  404. package/dist/components/shadow3.js.map +1 -1
  405. package/dist/components/show.js.map +1 -1
  406. package/dist/components/suggestions.js.map +1 -1
  407. package/dist/components/tab-index.js.map +1 -1
  408. package/dist/components/toaster.js.map +1 -1
  409. package/dist/components/tooltip-align.js.map +1 -1
  410. package/dist/components/unique-nav-labels.js.map +1 -1
  411. package/dist/components/validation.js.map +1 -1
  412. package/dist/esm/{a11y.tipps-786571db.js → a11y.tipps-42463a61.js} +1 -1
  413. package/dist/esm/{a11y.tipps-786571db.js.map → a11y.tipps-42463a61.js.map} +1 -1
  414. package/dist/esm/{align-86dcec9a.js → align-6ce8ea2d.js} +1 -1
  415. package/dist/esm/{align-86dcec9a.js.map → align-6ce8ea2d.js.map} +1 -1
  416. package/dist/esm/{alignment-d55c5a70.js → alignment-b3613da2.js} +1 -1
  417. package/dist/esm/{alignment-d55c5a70.js.map → alignment-b3613da2.js.map} +1 -1
  418. package/dist/esm/{app-globals-2d7e80b2.js → app-globals-4f3a6f5e.js} +1 -1
  419. package/dist/esm/{app-globals-2d7e80b2.js.map → app-globals-4f3a6f5e.js.map} +1 -1
  420. package/dist/esm/{aria-current-4178d859.js → aria-current-01b90ab1.js} +1 -1
  421. package/dist/esm/{aria-current-4178d859.js.map → aria-current-01b90ab1.js.map} +1 -1
  422. package/dist/esm/{associated.controller-90adea5d.js → associated.controller-4d29e8ed.js} +1 -1
  423. package/dist/esm/associated.controller-4d29e8ed.js.map +1 -0
  424. package/dist/esm/{bund-056aa89a.js.map → bund-ad41b762.js.map} +1 -1
  425. package/dist/esm/{color-acf7a646.js → color-4a54ac3f.js} +1 -1
  426. package/dist/esm/color-4a54ac3f.js.map +1 -0
  427. package/dist/esm/controller-1aaf6ed9.js +4 -0
  428. package/dist/esm/controller-1aaf6ed9.js.map +1 -0
  429. package/dist/esm/controller-3436387a.js +4 -0
  430. package/dist/esm/controller-3436387a.js.map +1 -0
  431. package/dist/esm/controller-34e3505b.js +4 -0
  432. package/dist/esm/controller-34e3505b.js.map +1 -0
  433. package/dist/esm/controller-7592ddb2.js +4 -0
  434. package/dist/esm/controller-7592ddb2.js.map +1 -0
  435. package/dist/esm/{controller-36de320d.js → controller-e18b0591.js} +1 -1
  436. package/dist/esm/controller-e18b0591.js.map +1 -0
  437. package/dist/esm/{controller-icon-105c05dd.js → controller-icon-e49f46ec.js} +1 -1
  438. package/dist/esm/controller-icon-e49f46ec.js.map +1 -0
  439. package/dist/esm/{custom-class-8f63371a.js → custom-class-9a4f82a2.js} +1 -1
  440. package/dist/esm/{custom-class-8f63371a.js.map → custom-class-9a4f82a2.js.map} +1 -1
  441. package/dist/esm/{details-synced-open-state-8c4176c9.js.map → details-synced-open-state-e1e2be6f.js.map} +1 -1
  442. package/dist/esm/{dev.utils-b8a2ec94.js → dev.utils-808b02af.js} +1 -1
  443. package/dist/esm/dev.utils-808b02af.js.map +1 -0
  444. package/dist/esm/{devtools-f0e85af4.js → devtools-6f72340c.js} +1 -1
  445. package/dist/esm/devtools-6f72340c.js.map +1 -0
  446. package/dist/esm/{events-2bb1065b.js.map → events-fa760b68.js.map} +1 -1
  447. package/dist/esm/floating-ui.dom.esm-dedb9a02.js +4 -0
  448. package/dist/esm/floating-ui.dom.esm-dedb9a02.js.map +1 -0
  449. package/dist/esm/{has-closer-ed97581f.js → has-closer-e33eb81d.js} +1 -1
  450. package/dist/esm/{has-closer-ed97581f.js.map → has-closer-e33eb81d.js.map} +1 -1
  451. package/dist/esm/{hide-label-f059671e.js → hide-label-c1cd274b.js} +1 -1
  452. package/dist/esm/{hide-label-f059671e.js.map → hide-label-c1cd274b.js.map} +1 -1
  453. package/dist/esm/{i18n-69ff3115.js → i18n-680a56fe.js} +1 -1
  454. package/dist/esm/{i18n-69ff3115.js.map → i18n-680a56fe.js.map} +1 -1
  455. package/dist/esm/{icons-5b410219.js → icons-6c80b022.js} +1 -1
  456. package/dist/esm/icons-6c80b022.js.map +1 -0
  457. package/dist/esm/{image-source-2aef1440.js → image-source-520ea2c2.js} +1 -1
  458. package/dist/esm/{image-source-2aef1440.js.map → image-source-520ea2c2.js.map} +1 -1
  459. package/dist/esm/{index-312dcd4f.js.map → index-3bbb36da.js.map} +1 -1
  460. package/dist/esm/index-5f832c94.js +4 -0
  461. package/dist/esm/{index-fb9ac195.js.map → index-5f832c94.js.map} +1 -1
  462. package/dist/esm/{index-d46a1c6a.js → index-e9d20d00.js} +1 -1
  463. package/dist/esm/index-e9d20d00.js.map +1 -0
  464. package/dist/esm/index.js +1 -1
  465. package/dist/esm/index.js.map +1 -1
  466. package/dist/esm/kol-abbr.entry.js +1 -1
  467. package/dist/esm/kol-abbr.entry.js.map +1 -1
  468. package/dist/esm/kol-accordion.entry.js +1 -1
  469. package/dist/esm/kol-accordion.entry.js.map +1 -1
  470. package/dist/esm/kol-alert-wc_3.entry.js +1 -1
  471. package/dist/esm/kol-alert-wc_3.entry.js.map +1 -1
  472. package/dist/esm/kol-alert.entry.js +1 -1
  473. package/dist/esm/kol-alert.entry.js.map +1 -1
  474. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  475. package/dist/esm/kol-avatar-wc.entry.js.map +1 -1
  476. package/dist/esm/kol-avatar.entry.js +1 -1
  477. package/dist/esm/kol-avatar.entry.js.map +1 -1
  478. package/dist/esm/kol-badge.entry.js +1 -1
  479. package/dist/esm/kol-badge.entry.js.map +1 -1
  480. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  481. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  482. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  483. package/dist/esm/kol-button-group-wc.entry.js.map +1 -1
  484. package/dist/esm/kol-button-group.entry.js +1 -1
  485. package/dist/esm/kol-button-group.entry.js.map +1 -1
  486. package/dist/esm/kol-button-link-text-switch.entry.js +1 -1
  487. package/dist/esm/kol-button-link-text-switch.entry.js.map +1 -1
  488. package/dist/esm/kol-button-link.entry.js +1 -1
  489. package/dist/esm/kol-button-link.entry.js.map +1 -1
  490. package/dist/esm/kol-button.entry.js +1 -1
  491. package/dist/esm/kol-button.entry.js.map +1 -1
  492. package/dist/esm/kol-card.entry.js +1 -1
  493. package/dist/esm/kol-card.entry.js.map +1 -1
  494. package/dist/esm/kol-details.entry.js +1 -1
  495. package/dist/esm/kol-details.entry.js.map +1 -1
  496. package/dist/esm/kol-form.entry.js +1 -1
  497. package/dist/esm/kol-form.entry.js.map +1 -1
  498. package/dist/esm/kol-heading.entry.js +1 -1
  499. package/dist/esm/kol-heading.entry.js.map +1 -1
  500. package/dist/esm/kol-icon-font-awesome.entry.js +1 -1
  501. package/dist/esm/kol-icon-font-awesome.entry.js.map +1 -1
  502. package/dist/esm/kol-icon-icofont.entry.js +1 -1
  503. package/dist/esm/kol-icon-icofont.entry.js.map +1 -1
  504. package/dist/esm/kol-icon.entry.js +1 -1
  505. package/dist/esm/kol-icon.entry.js.map +1 -1
  506. package/dist/esm/kol-image.entry.js +1 -1
  507. package/dist/esm/kol-image.entry.js.map +1 -1
  508. package/dist/esm/kol-indented-text.entry.js +1 -1
  509. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  510. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  511. package/dist/esm/kol-input-adapter-leanup.entry.js.map +1 -1
  512. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  513. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  514. package/dist/esm/kol-input-color.entry.js +1 -1
  515. package/dist/esm/kol-input-color.entry.js.map +1 -1
  516. package/dist/esm/kol-input-date.entry.js +1 -1
  517. package/dist/esm/kol-input-date.entry.js.map +1 -1
  518. package/dist/esm/kol-input-email.entry.js +1 -1
  519. package/dist/esm/kol-input-email.entry.js.map +1 -1
  520. package/dist/esm/kol-input-file.entry.js +1 -1
  521. package/dist/esm/kol-input-file.entry.js.map +1 -1
  522. package/dist/esm/kol-input-number.entry.js +1 -1
  523. package/dist/esm/kol-input-number.entry.js.map +1 -1
  524. package/dist/esm/kol-input-password.entry.js +1 -1
  525. package/dist/esm/kol-input-password.entry.js.map +1 -1
  526. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  527. package/dist/esm/kol-input-radio-group.entry.js.map +1 -1
  528. package/dist/esm/kol-input-radio.entry.js +1 -1
  529. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  530. package/dist/esm/kol-input-range.entry.js +1 -1
  531. package/dist/esm/kol-input-range.entry.js.map +1 -1
  532. package/dist/esm/kol-input-text.entry.js +1 -1
  533. package/dist/esm/kol-input-text.entry.js.map +1 -1
  534. package/dist/esm/kol-input.entry.js +1 -1
  535. package/dist/esm/kol-input.entry.js.map +1 -1
  536. package/dist/esm/kol-kolibri.entry.js +1 -1
  537. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  538. package/dist/esm/kol-link-button.entry.js +1 -1
  539. package/dist/esm/kol-link-button.entry.js.map +1 -1
  540. package/dist/esm/kol-link-group.entry.js +1 -1
  541. package/dist/esm/kol-link-group.entry.js.map +1 -1
  542. package/dist/esm/kol-link-wc.entry.js +1 -1
  543. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  544. package/dist/esm/kol-link.entry.js +1 -1
  545. package/dist/esm/kol-link.entry.js.map +1 -1
  546. package/dist/esm/kol-logo.entry.js +1 -1
  547. package/dist/esm/kol-logo.entry.js.map +1 -1
  548. package/dist/esm/kol-modal.entry.js +1 -1
  549. package/dist/esm/kol-modal.entry.js.map +1 -1
  550. package/dist/esm/kol-nav.entry.js +1 -1
  551. package/dist/esm/kol-nav.entry.js.map +1 -1
  552. package/dist/esm/kol-pagination.entry.js +1 -1
  553. package/dist/esm/kol-pagination.entry.js.map +1 -1
  554. package/dist/esm/kol-popover-wc.entry.js +1 -1
  555. package/dist/esm/kol-popover-wc.entry.js.map +1 -1
  556. package/dist/esm/kol-progress.entry.js +1 -1
  557. package/dist/esm/kol-progress.entry.js.map +1 -1
  558. package/dist/esm/kol-quote.entry.js +1 -1
  559. package/dist/esm/kol-quote.entry.js.map +1 -1
  560. package/dist/esm/kol-select.entry.js +1 -1
  561. package/dist/esm/kol-select.entry.js.map +1 -1
  562. package/dist/esm/kol-skip-nav.entry.js +1 -1
  563. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  564. package/dist/esm/kol-span-wc_2.entry.js +1 -1
  565. package/dist/esm/kol-span-wc_2.entry.js.map +1 -1
  566. package/dist/esm/kol-span.entry.js +1 -1
  567. package/dist/esm/kol-span.entry.js.map +1 -1
  568. package/dist/esm/kol-spin.entry.js +1 -1
  569. package/dist/esm/kol-spin.entry.js.map +1 -1
  570. package/dist/esm/kol-split-button.entry.js +1 -1
  571. package/dist/esm/kol-split-button.entry.js.map +1 -1
  572. package/dist/esm/kol-symbol.entry.js +1 -1
  573. package/dist/esm/kol-symbol.entry.js.map +1 -1
  574. package/dist/esm/kol-table.entry.js +1 -1
  575. package/dist/esm/kol-table.entry.js.map +1 -1
  576. package/dist/esm/kol-tabs.entry.js +1 -1
  577. package/dist/esm/kol-tabs.entry.js.map +1 -1
  578. package/dist/esm/kol-textarea.entry.js +1 -1
  579. package/dist/esm/kol-textarea.entry.js.map +1 -1
  580. package/dist/esm/kol-toast-container.entry.js +1 -1
  581. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  582. package/dist/esm/kol-toast.entry.js +1 -1
  583. package/dist/esm/kol-toast.entry.js.map +1 -1
  584. package/dist/esm/kol-version.entry.js +1 -1
  585. package/dist/esm/kol-version.entry.js.map +1 -1
  586. package/dist/esm/kolibri.js +1 -1
  587. package/dist/esm/kolibri.js.map +1 -1
  588. package/dist/esm/{label-d69274a4.js → label-485bdf3e.js} +1 -1
  589. package/dist/esm/label-485bdf3e.js.map +1 -0
  590. package/dist/esm/loader.js +1 -1
  591. package/dist/esm/{open-fd7a0838.js → open-01a637c6.js} +1 -1
  592. package/dist/esm/{open-fd7a0838.js.map → open-01a637c6.js.map} +1 -1
  593. package/dist/esm/{prop.validators-e20b06c5.js → prop.validators-8dc620b0.js} +1 -1
  594. package/dist/esm/prop.validators-8dc620b0.js.map +1 -0
  595. package/dist/esm/reprod-accordion-does-not-toggle-with-open-930fccf8.js.map +1 -0
  596. package/dist/esm/reuse-d79ab469.js.map +1 -0
  597. package/dist/esm/{rows-a15fdd10.js → rows-8affe873.js} +1 -1
  598. package/dist/esm/{rows-a15fdd10.js.map → rows-8affe873.js.map} +1 -1
  599. package/dist/esm/{show-a5ea5a25.js → show-65609af0.js} +1 -1
  600. package/dist/esm/{show-a5ea5a25.js.map → show-65609af0.js.map} +1 -1
  601. package/dist/esm/{suggestions-de4b0c1b.js → suggestions-292845f9.js} +1 -1
  602. package/dist/esm/suggestions-292845f9.js.map +1 -0
  603. package/dist/esm/{tab-index-c779bf01.js → tab-index-ff0d1137.js} +1 -1
  604. package/dist/esm/tab-index-ff0d1137.js.map +1 -0
  605. package/dist/esm/toaster-832ff321.js.map +1 -0
  606. package/dist/esm/{toaster-5d1ee30b.js → toaster-9c6c5ae2.js} +1 -1
  607. package/dist/esm/{toaster-5d1ee30b.js.map → toaster-9c6c5ae2.js.map} +1 -1
  608. package/dist/esm/{tooltip-align-8b359fe1.js → tooltip-align-33ca8332.js} +1 -1
  609. package/dist/esm/{tooltip-align-8b359fe1.js.map → tooltip-align-33ca8332.js.map} +1 -1
  610. package/dist/esm/{unique-nav-labels-c6750f60.js.map → unique-nav-labels-62d9802d.js.map} +1 -1
  611. package/dist/esm/validation-32870760.js +4 -0
  612. package/dist/esm/{validation-46f2e0d7.js.map → validation-32870760.js.map} +1 -1
  613. package/dist/esm/{validation-7dc6350a.js → validation-f7b0e97e.js} +1 -1
  614. package/dist/esm/{validation-7dc6350a.js.map → validation-f7b0e97e.js.map} +1 -1
  615. package/dist/kolibri/{a11y.tipps-786571db.js → a11y.tipps-42463a61.js} +1 -1
  616. package/dist/kolibri/align-6ce8ea2d.js +4 -0
  617. package/dist/kolibri/{alignment-d55c5a70.js → alignment-b3613da2.js} +1 -1
  618. package/dist/kolibri/app-globals-4f3a6f5e.js +4 -0
  619. package/dist/kolibri/aria-current-01b90ab1.js +4 -0
  620. package/dist/kolibri/{associated.controller-90adea5d.js → associated.controller-4d29e8ed.js} +1 -1
  621. package/dist/kolibri/{color-acf7a646.js → color-4a54ac3f.js} +1 -1
  622. package/dist/kolibri/controller-1aaf6ed9.js +4 -0
  623. package/dist/kolibri/controller-1aaf6ed9.js.map +1 -0
  624. package/dist/kolibri/controller-3436387a.js +4 -0
  625. package/dist/kolibri/controller-3436387a.js.map +1 -0
  626. package/dist/kolibri/controller-34e3505b.js +4 -0
  627. package/dist/kolibri/controller-34e3505b.js.map +1 -0
  628. package/dist/kolibri/controller-7592ddb2.js +4 -0
  629. package/dist/kolibri/controller-7592ddb2.js.map +1 -0
  630. package/dist/kolibri/{controller-36de320d.js → controller-e18b0591.js} +1 -1
  631. package/dist/kolibri/controller-icon-e49f46ec.js +4 -0
  632. package/dist/kolibri/{custom-class-8f63371a.js → custom-class-9a4f82a2.js} +1 -1
  633. package/dist/kolibri/{dev.utils-b8a2ec94.js → dev.utils-808b02af.js} +1 -1
  634. package/dist/kolibri/{dev.utils-b8a2ec94.js.map → dev.utils-808b02af.js.map} +1 -1
  635. package/dist/kolibri/{devtools-f0e85af4.js → devtools-6f72340c.js} +1 -1
  636. package/dist/kolibri/floating-ui.dom.esm-dedb9a02.js +4 -0
  637. package/dist/kolibri/floating-ui.dom.esm-dedb9a02.js.map +1 -0
  638. package/dist/kolibri/has-closer-e33eb81d.js +4 -0
  639. package/dist/kolibri/hide-label-c1cd274b.js +4 -0
  640. package/dist/kolibri/{i18n-69ff3115.js → i18n-680a56fe.js} +1 -1
  641. package/dist/kolibri/icons-6c80b022.js +4 -0
  642. package/dist/kolibri/image-source-520ea2c2.js +4 -0
  643. package/dist/kolibri/index-5f832c94.js +4 -0
  644. package/dist/kolibri/{index-d46a1c6a.js → index-e9d20d00.js} +1 -1
  645. package/dist/kolibri/index-e9d20d00.js.map +1 -0
  646. package/dist/kolibri/index.esm.js +1 -1
  647. package/dist/kolibri/kol-abbr.entry.js +1 -1
  648. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  649. package/dist/kolibri/kol-accordion.entry.js +1 -1
  650. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  651. package/dist/kolibri/kol-alert-wc_3.entry.js +1 -1
  652. package/dist/kolibri/kol-alert.entry.js +1 -1
  653. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  654. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  655. package/dist/kolibri/kol-avatar.entry.js +1 -1
  656. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  657. package/dist/kolibri/kol-badge.entry.js +1 -1
  658. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  659. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  660. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  661. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  662. package/dist/kolibri/kol-button-group.entry.js +1 -1
  663. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  664. package/dist/kolibri/kol-button-link-text-switch.entry.js +1 -1
  665. package/dist/kolibri/kol-button-link.entry.js +1 -1
  666. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  667. package/dist/kolibri/kol-button.entry.js +1 -1
  668. package/dist/kolibri/kol-button.entry.js.map +1 -1
  669. package/dist/kolibri/kol-card.entry.js +1 -1
  670. package/dist/kolibri/kol-card.entry.js.map +1 -1
  671. package/dist/kolibri/kol-details.entry.js +1 -1
  672. package/dist/kolibri/kol-details.entry.js.map +1 -1
  673. package/dist/kolibri/kol-form.entry.js +1 -1
  674. package/dist/kolibri/kol-heading.entry.js +1 -1
  675. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  676. package/dist/kolibri/kol-icon-font-awesome.entry.js +1 -1
  677. package/dist/kolibri/kol-icon-icofont.entry.js +1 -1
  678. package/dist/kolibri/kol-icon.entry.js +1 -1
  679. package/dist/kolibri/kol-image.entry.js +1 -1
  680. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  681. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  682. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  683. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  684. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  685. package/dist/kolibri/kol-input-color.entry.js +1 -1
  686. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  687. package/dist/kolibri/kol-input-date.entry.js +1 -1
  688. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  689. package/dist/kolibri/kol-input-email.entry.js +1 -1
  690. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  691. package/dist/kolibri/kol-input-file.entry.js +1 -1
  692. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  693. package/dist/kolibri/kol-input-number.entry.js +1 -1
  694. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  695. package/dist/kolibri/kol-input-password.entry.js +1 -1
  696. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  697. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  698. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  699. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  700. package/dist/kolibri/kol-input-range.entry.js +1 -1
  701. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  702. package/dist/kolibri/kol-input-text.entry.js +1 -1
  703. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  704. package/dist/kolibri/kol-input.entry.js +1 -1
  705. package/dist/kolibri/kol-input.entry.js.map +1 -1
  706. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  707. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  708. package/dist/kolibri/kol-link-button.entry.js +1 -1
  709. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  710. package/dist/kolibri/kol-link-group.entry.js +1 -1
  711. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  712. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  713. package/dist/kolibri/kol-link.entry.js +1 -1
  714. package/dist/kolibri/kol-link.entry.js.map +1 -1
  715. package/dist/kolibri/kol-logo.entry.js +1 -1
  716. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  717. package/dist/kolibri/kol-modal.entry.js +1 -1
  718. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  719. package/dist/kolibri/kol-nav.entry.js +1 -1
  720. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  721. package/dist/kolibri/kol-pagination.entry.js +1 -1
  722. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  723. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  724. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  725. package/dist/kolibri/kol-progress.entry.js +1 -1
  726. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  727. package/dist/kolibri/kol-quote.entry.js +1 -1
  728. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  729. package/dist/kolibri/kol-select.entry.js +1 -1
  730. package/dist/kolibri/kol-select.entry.js.map +1 -1
  731. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  732. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  733. package/dist/kolibri/kol-span-wc_2.entry.js +1 -1
  734. package/dist/kolibri/kol-span-wc_2.entry.js.map +1 -1
  735. package/dist/kolibri/kol-span.entry.js +1 -1
  736. package/dist/kolibri/kol-span.entry.js.map +1 -1
  737. package/dist/kolibri/kol-spin.entry.js +1 -1
  738. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  739. package/dist/kolibri/kol-split-button.entry.js +1 -1
  740. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  741. package/dist/kolibri/kol-symbol.entry.js +1 -1
  742. package/dist/kolibri/kol-table.entry.js +1 -1
  743. package/dist/kolibri/kol-table.entry.js.map +1 -1
  744. package/dist/kolibri/kol-tabs.entry.js +1 -1
  745. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  746. package/dist/kolibri/kol-textarea.entry.js +1 -1
  747. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  748. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  749. package/dist/kolibri/kol-toast.entry.js +1 -1
  750. package/dist/kolibri/kol-toast.entry.js.map +1 -1
  751. package/dist/kolibri/kol-version.entry.js +1 -1
  752. package/dist/kolibri/kol-version.entry.js.map +1 -1
  753. package/dist/kolibri/kolibri.esm.js +1 -1
  754. package/dist/kolibri/kolibri.esm.js.map +1 -1
  755. package/dist/kolibri/{label-d69274a4.js → label-485bdf3e.js} +1 -1
  756. package/dist/kolibri/open-01a637c6.js +4 -0
  757. package/dist/kolibri/{prop.validators-e20b06c5.js → prop.validators-8dc620b0.js} +1 -1
  758. package/dist/kolibri/rows-8affe873.js +4 -0
  759. package/dist/kolibri/show-65609af0.js +4 -0
  760. package/dist/kolibri/{suggestions-de4b0c1b.js → suggestions-292845f9.js} +1 -1
  761. package/dist/kolibri/{tab-index-c779bf01.js → tab-index-ff0d1137.js} +1 -1
  762. package/dist/kolibri/toaster-9c6c5ae2.js +4 -0
  763. package/dist/kolibri/tooltip-align-33ca8332.js +4 -0
  764. package/dist/kolibri/validation-32870760.js +4 -0
  765. package/dist/kolibri/{validation-7dc6350a.js → validation-f7b0e97e.js} +1 -1
  766. package/dist/types/components/@deprecated/input/controller-icon.d.ts +5 -5
  767. package/dist/types/components/@deprecated/input/controller.d.ts +29 -27
  768. package/dist/types/components/@deprecated/input/types-icon.d.ts +2 -2
  769. package/dist/types/components/@deprecated/input/types.d.ts +12 -11
  770. package/dist/types/components/@else/all/component.d.ts +2 -2
  771. package/dist/types/components/@else/color/component.d.ts +2 -2
  772. package/dist/types/components/@else/counter/component.d.ts +6 -6
  773. package/dist/types/components/abbr/component.d.ts +10 -10
  774. package/dist/types/components/abbr/types.d.ts +1 -1
  775. package/dist/types/components/accordion/component.d.ts +17 -17
  776. package/dist/types/components/accordion/test/html.mock.d.ts +3 -3
  777. package/dist/types/components/accordion/types.d.ts +4 -4
  778. package/dist/types/components/alert/component.d.ts +20 -20
  779. package/dist/types/components/alert/shadow.d.ts +10 -10
  780. package/dist/types/components/alert/types.d.ts +6 -6
  781. package/dist/types/components/avatar/component.d.ts +7 -7
  782. package/dist/types/components/avatar/shadow.d.ts +3 -3
  783. package/dist/types/components/badge/component.d.ts +17 -17
  784. package/dist/types/components/badge/contrast.d.ts +3 -3
  785. package/dist/types/components/badge/types.d.ts +7 -7
  786. package/dist/types/components/breadcrumb/component.d.ts +11 -11
  787. package/dist/types/components/breadcrumb/types.d.ts +2 -2
  788. package/dist/types/components/button/component.d.ts +57 -57
  789. package/dist/types/components/button/shadow.d.ts +27 -27
  790. package/dist/types/components/button/test/html.mock.d.ts +1 -1
  791. package/dist/types/components/button/types.d.ts +7 -7
  792. package/dist/types/components/button-group/component.d.ts +2 -2
  793. package/dist/types/components/button-group/shadow.d.ts +1 -1
  794. package/dist/types/components/button-link/component.d.ts +24 -24
  795. package/dist/types/components/button-link-text-switch/component.d.ts +6 -6
  796. package/dist/types/components/button-link-text-switch/types.d.ts +3 -3
  797. package/dist/types/components/card/component.d.ts +20 -20
  798. package/dist/types/components/card/types.d.ts +5 -5
  799. package/dist/types/components/details/DetailsAnimationController.d.ts +13 -13
  800. package/dist/types/components/details/component.d.ts +19 -19
  801. package/dist/types/components/details/test/html.mock.d.ts +1 -1
  802. package/dist/types/components/details/types.d.ts +3 -3
  803. package/dist/types/components/form/component.d.ts +9 -9
  804. package/dist/types/components/form/controller.d.ts +4 -4
  805. package/dist/types/components/form/types.d.ts +4 -4
  806. package/dist/types/components/heading/component.d.ts +11 -11
  807. package/dist/types/components/heading/shadow.d.ts +4 -4
  808. package/dist/types/components/heading/test/html.mock.d.ts +2 -2
  809. package/dist/types/components/heading/types.d.ts +4 -4
  810. package/dist/types/components/icon/component.d.ts +13 -13
  811. package/dist/types/components/icon/types.d.ts +3 -3
  812. package/dist/types/components/icon-font-awesome/component.d.ts +8 -8
  813. package/dist/types/components/icon-icofont/component.d.ts +6 -6
  814. package/dist/types/components/image/shadow.d.ts +13 -13
  815. package/dist/types/components/image/types.d.ts +7 -7
  816. package/dist/types/components/indented-text/component.d.ts +2 -2
  817. package/dist/types/components/indented-text/test/html.mock.d.ts +1 -1
  818. package/dist/types/components/input/component.d.ts +28 -28
  819. package/dist/types/components/input/controller.d.ts +7 -7
  820. package/dist/types/components/input/types.d.ts +8 -8
  821. package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +15 -15
  822. package/dist/types/components/input-adapter-leanup/component.d.ts +2 -2
  823. package/dist/types/components/input-adapter-leanup/controller.d.ts +5 -5
  824. package/dist/types/components/input-adapter-leanup/types.d.ts +2 -2
  825. package/dist/types/components/input-checkbox/component.d.ts +54 -54
  826. package/dist/types/components/input-checkbox/controller.d.ts +11 -13
  827. package/dist/types/components/input-checkbox/types.d.ts +33 -33
  828. package/dist/types/components/input-color/component.d.ts +51 -51
  829. package/dist/types/components/input-color/controller.d.ts +7 -9
  830. package/dist/types/components/input-color/types.d.ts +24 -24
  831. package/dist/types/components/input-date/component.d.ts +64 -64
  832. package/dist/types/components/input-date/controller.d.ts +25 -27
  833. package/dist/types/components/input-date/types.d.ts +19 -19
  834. package/dist/types/components/input-email/component.d.ts +68 -68
  835. package/dist/types/components/input-email/controller.d.ts +4 -6
  836. package/dist/types/components/input-email/types.d.ts +33 -33
  837. package/dist/types/components/input-file/component.d.ts +52 -52
  838. package/dist/types/components/input-file/controller.d.ts +7 -9
  839. package/dist/types/components/input-file/types.d.ts +21 -21
  840. package/dist/types/components/input-number/component.d.ts +66 -66
  841. package/dist/types/components/input-number/controller.d.ts +19 -21
  842. package/dist/types/components/input-number/types.d.ts +20 -20
  843. package/dist/types/components/input-password/component.d.ts +62 -62
  844. package/dist/types/components/input-password/controller.d.ts +15 -17
  845. package/dist/types/components/input-password/types.d.ts +31 -31
  846. package/dist/types/components/input-radio/component.d.ts +47 -47
  847. package/dist/types/components/input-radio/controller.d.ts +16 -18
  848. package/dist/types/components/input-radio/types.d.ts +18 -18
  849. package/dist/types/components/input-radio-group/component.d.ts +17 -17
  850. package/dist/types/components/input-range/component.d.ts +57 -57
  851. package/dist/types/components/input-range/controller.d.ts +10 -12
  852. package/dist/types/components/input-range/types.d.ts +27 -27
  853. package/dist/types/components/input-text/component.d.ts +71 -71
  854. package/dist/types/components/input-text/controller.d.ts +13 -15
  855. package/dist/types/components/input-text/types.d.ts +35 -35
  856. package/dist/types/components/kolibri/component.d.ts +13 -13
  857. package/dist/types/components/kolibri/types.d.ts +10 -10
  858. package/dist/types/components/link/component.d.ts +58 -58
  859. package/dist/types/components/link/shadow.d.ts +27 -27
  860. package/dist/types/components/link/types.d.ts +7 -7
  861. package/dist/types/components/link-button/component.d.ts +24 -24
  862. package/dist/types/components/link-group/component.d.ts +21 -21
  863. package/dist/types/components/link-group/types.d.ts +12 -12
  864. package/dist/types/components/logo/component.d.ts +7 -7
  865. package/dist/types/components/logo/types.d.ts +2 -2
  866. package/dist/types/components/modal/component.d.ts +17 -17
  867. package/dist/types/components/modal/service.d.ts +9 -9
  868. package/dist/types/components/modal/types.d.ts +6 -6
  869. package/dist/types/components/nav/component.d.ts +30 -30
  870. package/dist/types/components/nav/types.d.ts +9 -9
  871. package/dist/types/components/nav/validation.d.ts +3 -3
  872. package/dist/types/components/pagination/component.d.ts +45 -45
  873. package/dist/types/components/pagination/types.d.ts +22 -22
  874. package/dist/types/components/popover/component.d.ts +22 -22
  875. package/dist/types/components/popover/test/html.mock.d.ts +1 -1
  876. package/dist/types/components/popover/types.d.ts +1 -1
  877. package/dist/types/components/progress/component.d.ts +17 -17
  878. package/dist/types/components/progress/types.d.ts +8 -8
  879. package/dist/types/components/quote/shadow.d.ts +13 -13
  880. package/dist/types/components/quote/test/html.mock.d.ts +1 -1
  881. package/dist/types/components/quote/types.d.ts +5 -5
  882. package/dist/types/components/select/component.d.ts +59 -59
  883. package/dist/types/components/select/controller.d.ts +15 -17
  884. package/dist/types/components/select/types.d.ts +24 -24
  885. package/dist/types/components/skip-nav/component.d.ts +10 -10
  886. package/dist/types/components/skip-nav/types.d.ts +2 -2
  887. package/dist/types/components/span/component.d.ts +15 -15
  888. package/dist/types/components/span/shadow.d.ts +6 -6
  889. package/dist/types/components/span/test/html.mock.d.ts +3 -3
  890. package/dist/types/components/span/types.d.ts +12 -12
  891. package/dist/types/components/spin/component.d.ts +8 -8
  892. package/dist/types/components/split-button/component.d.ts +38 -38
  893. package/dist/types/components/split-button/types.d.ts +4 -4
  894. package/dist/types/components/symbol/component.d.ts +9 -9
  895. package/dist/types/components/symbol/types.d.ts +1 -1
  896. package/dist/types/components/table/component.d.ts +40 -40
  897. package/dist/types/components/table/types.d.ts +35 -35
  898. package/dist/types/components/tabs/component.d.ts +36 -36
  899. package/dist/types/components/tabs/types.d.ts +15 -15
  900. package/dist/types/components/textarea/component.d.ts +56 -56
  901. package/dist/types/components/textarea/controller.d.ts +12 -14
  902. package/dist/types/components/textarea/types.d.ts +23 -23
  903. package/dist/types/components/toast/component.d.ts +25 -25
  904. package/dist/types/components/toast/toaster.d.ts +14 -14
  905. package/dist/types/components/toast/types.d.ts +6 -6
  906. package/dist/types/components/toaster/InternalToast.d.ts +3 -3
  907. package/dist/types/components/toaster/component.d.ts +5 -5
  908. package/dist/types/components/toaster/toaster.d.ts +8 -8
  909. package/dist/types/components/toaster/types.d.ts +10 -10
  910. package/dist/types/components/tooltip/component.d.ts +32 -32
  911. package/dist/types/components/version/component.d.ts +7 -7
  912. package/dist/types/components/version/types.d.ts +2 -2
  913. package/dist/types/core/i18n.d.ts +13 -13
  914. package/dist/types/enums/bund.d.ts +58 -58
  915. package/dist/types/enums/color.d.ts +17 -17
  916. package/dist/types/enums/events.d.ts +17 -17
  917. package/dist/types/i18n.d.ts +4 -4
  918. package/dist/types/locales/de.d.ts +34 -34
  919. package/dist/types/locales/en.d.ts +34 -34
  920. package/dist/types/stencil-public-runtime.d.ts +8 -0
  921. package/dist/types/types/button-link-text.d.ts +6 -6
  922. package/dist/types/types/icons.d.ts +6 -6
  923. package/dist/types/types/input/control/number.d.ts +21 -21
  924. package/dist/types/types/input/types.d.ts +10 -10
  925. package/dist/types/types/modal.d.ts +1 -1
  926. package/dist/types/types/progress.d.ts +4 -4
  927. package/dist/types/types/props/adjust-height.d.ts +1 -1
  928. package/dist/types/types/props/alert.d.ts +1 -1
  929. package/dist/types/types/props/align.d.ts +1 -1
  930. package/dist/types/types/props/alternative-button-link-role.d.ts +1 -1
  931. package/dist/types/types/props/aria-controls.d.ts +1 -1
  932. package/dist/types/types/props/aria-current.d.ts +2 -2
  933. package/dist/types/types/props/aria-expanded.d.ts +1 -1
  934. package/dist/types/types/props/aria-label.d.ts +1 -1
  935. package/dist/types/types/props/aria-selected.d.ts +1 -1
  936. package/dist/types/types/props/button-callbacks.d.ts +3 -3
  937. package/dist/types/types/props/button-type.d.ts +1 -1
  938. package/dist/types/types/props/button-variant.d.ts +1 -1
  939. package/dist/types/types/props/checked.d.ts +1 -1
  940. package/dist/types/types/props/collapsible.d.ts +1 -1
  941. package/dist/types/types/props/color.d.ts +7 -7
  942. package/dist/types/types/props/compact.d.ts +1 -1
  943. package/dist/types/types/props/custom-class.d.ts +1 -1
  944. package/dist/types/types/props/disabled.d.ts +1 -1
  945. package/dist/types/types/props/download.d.ts +1 -1
  946. package/dist/types/types/props/has-closer.d.ts +1 -1
  947. package/dist/types/types/props/has-compact-button.d.ts +1 -1
  948. package/dist/types/types/props/has-counter.d.ts +1 -1
  949. package/dist/types/types/props/has-footer.d.ts +1 -1
  950. package/dist/types/types/props/hide-error.d.ts +1 -1
  951. package/dist/types/types/props/hide-label.d.ts +1 -1
  952. package/dist/types/types/props/href.d.ts +1 -1
  953. package/dist/types/types/props/icons.d.ts +1 -1
  954. package/dist/types/types/props/id.d.ts +1 -1
  955. package/dist/types/types/props/image-source.d.ts +1 -1
  956. package/dist/types/types/props/indeterminate.d.ts +1 -1
  957. package/dist/types/types/props/label.d.ts +2 -2
  958. package/dist/types/types/props/link-on-callbacks.d.ts +2 -2
  959. package/dist/types/types/props/link-target.d.ts +1 -1
  960. package/dist/types/types/props/max.d.ts +1 -1
  961. package/dist/types/types/props/multiple.d.ts +1 -1
  962. package/dist/types/types/props/name.d.ts +1 -1
  963. package/dist/types/types/props/open.d.ts +1 -1
  964. package/dist/types/types/props/options.d.ts +2 -2
  965. package/dist/types/types/props/read-only.d.ts +1 -1
  966. package/dist/types/types/props/required.d.ts +1 -1
  967. package/dist/types/types/props/rows.d.ts +1 -1
  968. package/dist/types/types/props/show.d.ts +1 -1
  969. package/dist/types/types/props/stealth.d.ts +1 -1
  970. package/dist/types/types/props/suggestions.d.ts +1 -1
  971. package/dist/types/types/props/sync-value-by-selector.d.ts +1 -1
  972. package/dist/types/types/props/tooltip-align.d.ts +1 -1
  973. package/dist/types/types/props/touched.d.ts +1 -1
  974. package/dist/types/types/props/variant/spin.d.ts +1 -1
  975. package/dist/types/types/toast.d.ts +1 -1
  976. package/dist/types/utils/a11y.tipps.d.ts +2 -2
  977. package/dist/types/utils/color.utils.d.ts +8 -8
  978. package/dist/types/utils/dev.utils.d.ts +13 -13
  979. package/dist/types/utils/prop.validators.d.ts +29 -29
  980. package/doc/alert.md +2 -2
  981. package/package.json +1 -1
  982. package/dist/cjs/align-9188853a.js +0 -4
  983. package/dist/cjs/aria-current-814a3dc4.js +0 -4
  984. package/dist/cjs/associated.controller-48c858f3.js.map +0 -1
  985. package/dist/cjs/color-61c2d789.js.map +0 -1
  986. package/dist/cjs/controller-0ec38672.js +0 -4
  987. package/dist/cjs/controller-0ec38672.js.map +0 -1
  988. package/dist/cjs/controller-166aba29.js.map +0 -1
  989. package/dist/cjs/controller-7f159844.js +0 -4
  990. package/dist/cjs/controller-7f159844.js.map +0 -1
  991. package/dist/cjs/controller-a0322805.js +0 -4
  992. package/dist/cjs/controller-a0322805.js.map +0 -1
  993. package/dist/cjs/controller-fd19ada2.js.map +0 -1
  994. package/dist/cjs/controller-icon-7ac2c453.js.map +0 -1
  995. package/dist/cjs/dev.utils-6f091d59.js.map +0 -1
  996. package/dist/cjs/devtools-5f571cd3.js.map +0 -1
  997. package/dist/cjs/floating-ui.dom.esm-c21c7751.js +0 -4
  998. package/dist/cjs/floating-ui.dom.esm-c21c7751.js.map +0 -1
  999. package/dist/cjs/has-closer-7fab148c.js +0 -4
  1000. package/dist/cjs/hide-label-5dd90b4b.js +0 -4
  1001. package/dist/cjs/icons-da95da9d.js.map +0 -1
  1002. package/dist/cjs/image-source-ac98802d.js +0 -4
  1003. package/dist/cjs/index-82b810c3.js.map +0 -1
  1004. package/dist/cjs/index-c3cd3623.js +0 -4
  1005. package/dist/cjs/label-83605bf9.js.map +0 -1
  1006. package/dist/cjs/open-e3bdad37.js +0 -4
  1007. package/dist/cjs/prop.validators-c681a995.js.map +0 -1
  1008. package/dist/cjs/reprod-accordion-does-not-toggle-with-open-53004853.js.map +0 -1
  1009. package/dist/cjs/reuse-786396d6.js.map +0 -1
  1010. package/dist/cjs/rows-e4592ff3.js +0 -4
  1011. package/dist/cjs/show-20042042.js +0 -4
  1012. package/dist/cjs/suggestions-e61abf24.js.map +0 -1
  1013. package/dist/cjs/tab-index-7f4077e8.js.map +0 -1
  1014. package/dist/cjs/toaster-d55e9636.js.map +0 -1
  1015. package/dist/esm/associated.controller-90adea5d.js.map +0 -1
  1016. package/dist/esm/color-acf7a646.js.map +0 -1
  1017. package/dist/esm/controller-3444f586.js +0 -4
  1018. package/dist/esm/controller-3444f586.js.map +0 -1
  1019. package/dist/esm/controller-36de320d.js.map +0 -1
  1020. package/dist/esm/controller-377660f4.js +0 -4
  1021. package/dist/esm/controller-377660f4.js.map +0 -1
  1022. package/dist/esm/controller-50ef7aa2.js +0 -4
  1023. package/dist/esm/controller-50ef7aa2.js.map +0 -1
  1024. package/dist/esm/controller-d6393b5d.js +0 -4
  1025. package/dist/esm/controller-d6393b5d.js.map +0 -1
  1026. package/dist/esm/controller-icon-105c05dd.js.map +0 -1
  1027. package/dist/esm/dev.utils-b8a2ec94.js.map +0 -1
  1028. package/dist/esm/devtools-f0e85af4.js.map +0 -1
  1029. package/dist/esm/floating-ui.dom.esm-e435ab9f.js +0 -4
  1030. package/dist/esm/floating-ui.dom.esm-e435ab9f.js.map +0 -1
  1031. package/dist/esm/icons-5b410219.js.map +0 -1
  1032. package/dist/esm/index-d46a1c6a.js.map +0 -1
  1033. package/dist/esm/index-fb9ac195.js +0 -4
  1034. package/dist/esm/label-d69274a4.js.map +0 -1
  1035. package/dist/esm/prop.validators-e20b06c5.js.map +0 -1
  1036. package/dist/esm/reprod-accordion-does-not-toggle-with-open-542a45b3.js.map +0 -1
  1037. package/dist/esm/reuse-b3566e4c.js.map +0 -1
  1038. package/dist/esm/suggestions-de4b0c1b.js.map +0 -1
  1039. package/dist/esm/tab-index-c779bf01.js.map +0 -1
  1040. package/dist/esm/toaster-210e0b2c.js.map +0 -1
  1041. package/dist/esm/validation-46f2e0d7.js +0 -4
  1042. package/dist/kolibri/align-86dcec9a.js +0 -4
  1043. package/dist/kolibri/app-globals-2d7e80b2.js +0 -4
  1044. package/dist/kolibri/aria-current-4178d859.js +0 -4
  1045. package/dist/kolibri/controller-3444f586.js +0 -4
  1046. package/dist/kolibri/controller-3444f586.js.map +0 -1
  1047. package/dist/kolibri/controller-377660f4.js +0 -4
  1048. package/dist/kolibri/controller-377660f4.js.map +0 -1
  1049. package/dist/kolibri/controller-50ef7aa2.js +0 -4
  1050. package/dist/kolibri/controller-50ef7aa2.js.map +0 -1
  1051. package/dist/kolibri/controller-d6393b5d.js +0 -4
  1052. package/dist/kolibri/controller-d6393b5d.js.map +0 -1
  1053. package/dist/kolibri/controller-icon-105c05dd.js +0 -4
  1054. package/dist/kolibri/floating-ui.dom.esm-e435ab9f.js +0 -4
  1055. package/dist/kolibri/floating-ui.dom.esm-e435ab9f.js.map +0 -1
  1056. package/dist/kolibri/has-closer-ed97581f.js +0 -4
  1057. package/dist/kolibri/hide-label-f059671e.js +0 -4
  1058. package/dist/kolibri/icons-5b410219.js +0 -4
  1059. package/dist/kolibri/image-source-2aef1440.js +0 -4
  1060. package/dist/kolibri/index-d46a1c6a.js.map +0 -1
  1061. package/dist/kolibri/index-fb9ac195.js +0 -4
  1062. package/dist/kolibri/open-fd7a0838.js +0 -4
  1063. package/dist/kolibri/rows-a15fdd10.js +0 -4
  1064. package/dist/kolibri/show-a5ea5a25.js +0 -4
  1065. package/dist/kolibri/toaster-5d1ee30b.js +0 -4
  1066. package/dist/kolibri/tooltip-align-8b359fe1.js +0 -4
  1067. package/dist/kolibri/validation-46f2e0d7.js +0 -4
  1068. /package/dist/cjs/{bund-f5184e9e.js → bund-4be96755.js} +0 -0
  1069. /package/dist/cjs/{details-synced-open-state-f06dc47c.js → details-synced-open-state-a66cbea0.js} +0 -0
  1070. /package/dist/cjs/{events-a0c291ce.js → events-e348a615.js} +0 -0
  1071. /package/dist/cjs/{index-7988944a.js → index-f8b26787.js} +0 -0
  1072. /package/dist/cjs/{reprod-accordion-does-not-toggle-with-open-53004853.js → reprod-accordion-does-not-toggle-with-open-092e559d.js} +0 -0
  1073. /package/dist/cjs/{reuse-786396d6.js → reuse-a4c8450e.js} +0 -0
  1074. /package/dist/cjs/{toaster-d55e9636.js → toaster-fc0622bd.js} +0 -0
  1075. /package/dist/cjs/{unique-nav-labels-9784a4c5.js → unique-nav-labels-363e1d71.js} +0 -0
  1076. /package/dist/esm/{bund-056aa89a.js → bund-ad41b762.js} +0 -0
  1077. /package/dist/esm/{details-synced-open-state-8c4176c9.js → details-synced-open-state-e1e2be6f.js} +0 -0
  1078. /package/dist/esm/{events-2bb1065b.js → events-fa760b68.js} +0 -0
  1079. /package/dist/esm/{index-312dcd4f.js → index-3bbb36da.js} +0 -0
  1080. /package/dist/esm/{reprod-accordion-does-not-toggle-with-open-542a45b3.js → reprod-accordion-does-not-toggle-with-open-930fccf8.js} +0 -0
  1081. /package/dist/esm/{reuse-b3566e4c.js → reuse-d79ab469.js} +0 -0
  1082. /package/dist/esm/{toaster-210e0b2c.js → toaster-832ff321.js} +0 -0
  1083. /package/dist/esm/{unique-nav-labels-c6750f60.js → unique-nav-labels-62d9802d.js} +0 -0
  1084. /package/dist/kolibri/{a11y.tipps-786571db.js.map → a11y.tipps-42463a61.js.map} +0 -0
  1085. /package/dist/kolibri/{align-86dcec9a.js.map → align-6ce8ea2d.js.map} +0 -0
  1086. /package/dist/kolibri/{alignment-d55c5a70.js.map → alignment-b3613da2.js.map} +0 -0
  1087. /package/dist/kolibri/{app-globals-2d7e80b2.js.map → app-globals-4f3a6f5e.js.map} +0 -0
  1088. /package/dist/kolibri/{aria-current-4178d859.js.map → aria-current-01b90ab1.js.map} +0 -0
  1089. /package/dist/kolibri/{associated.controller-90adea5d.js.map → associated.controller-4d29e8ed.js.map} +0 -0
  1090. /package/dist/kolibri/{bund-056aa89a.js → bund-ad41b762.js} +0 -0
  1091. /package/dist/kolibri/{bund-056aa89a.js.map → bund-ad41b762.js.map} +0 -0
  1092. /package/dist/kolibri/{color-acf7a646.js.map → color-4a54ac3f.js.map} +0 -0
  1093. /package/dist/kolibri/{controller-36de320d.js.map → controller-e18b0591.js.map} +0 -0
  1094. /package/dist/kolibri/{controller-icon-105c05dd.js.map → controller-icon-e49f46ec.js.map} +0 -0
  1095. /package/dist/kolibri/{custom-class-8f63371a.js.map → custom-class-9a4f82a2.js.map} +0 -0
  1096. /package/dist/kolibri/{details-synced-open-state-8c4176c9.js → details-synced-open-state-e1e2be6f.js} +0 -0
  1097. /package/dist/kolibri/{details-synced-open-state-8c4176c9.js.map → details-synced-open-state-e1e2be6f.js.map} +0 -0
  1098. /package/dist/kolibri/{devtools-f0e85af4.js.map → devtools-6f72340c.js.map} +0 -0
  1099. /package/dist/kolibri/{events-2bb1065b.js → events-fa760b68.js} +0 -0
  1100. /package/dist/kolibri/{events-2bb1065b.js.map → events-fa760b68.js.map} +0 -0
  1101. /package/dist/kolibri/{has-closer-ed97581f.js.map → has-closer-e33eb81d.js.map} +0 -0
  1102. /package/dist/kolibri/{hide-label-f059671e.js.map → hide-label-c1cd274b.js.map} +0 -0
  1103. /package/dist/kolibri/{i18n-69ff3115.js.map → i18n-680a56fe.js.map} +0 -0
  1104. /package/dist/kolibri/{icons-5b410219.js.map → icons-6c80b022.js.map} +0 -0
  1105. /package/dist/kolibri/{image-source-2aef1440.js.map → image-source-520ea2c2.js.map} +0 -0
  1106. /package/dist/kolibri/{index-312dcd4f.js → index-3bbb36da.js} +0 -0
  1107. /package/dist/kolibri/{index-312dcd4f.js.map → index-3bbb36da.js.map} +0 -0
  1108. /package/dist/kolibri/{index-fb9ac195.js.map → index-5f832c94.js.map} +0 -0
  1109. /package/dist/kolibri/{label-d69274a4.js.map → label-485bdf3e.js.map} +0 -0
  1110. /package/dist/kolibri/{open-fd7a0838.js.map → open-01a637c6.js.map} +0 -0
  1111. /package/dist/kolibri/{prop.validators-e20b06c5.js.map → prop.validators-8dc620b0.js.map} +0 -0
  1112. /package/dist/kolibri/{reprod-accordion-does-not-toggle-with-open-542a45b3.js → reprod-accordion-does-not-toggle-with-open-930fccf8.js} +0 -0
  1113. /package/dist/kolibri/{reprod-accordion-does-not-toggle-with-open-542a45b3.js.map → reprod-accordion-does-not-toggle-with-open-930fccf8.js.map} +0 -0
  1114. /package/dist/kolibri/{reuse-b3566e4c.js → reuse-d79ab469.js} +0 -0
  1115. /package/dist/kolibri/{reuse-b3566e4c.js.map → reuse-d79ab469.js.map} +0 -0
  1116. /package/dist/kolibri/{rows-a15fdd10.js.map → rows-8affe873.js.map} +0 -0
  1117. /package/dist/kolibri/{show-a5ea5a25.js.map → show-65609af0.js.map} +0 -0
  1118. /package/dist/kolibri/{suggestions-de4b0c1b.js.map → suggestions-292845f9.js.map} +0 -0
  1119. /package/dist/kolibri/{tab-index-c779bf01.js.map → tab-index-ff0d1137.js.map} +0 -0
  1120. /package/dist/kolibri/{toaster-210e0b2c.js → toaster-832ff321.js} +0 -0
  1121. /package/dist/kolibri/{toaster-210e0b2c.js.map → toaster-832ff321.js.map} +0 -0
  1122. /package/dist/kolibri/{toaster-5d1ee30b.js.map → toaster-9c6c5ae2.js.map} +0 -0
  1123. /package/dist/kolibri/{tooltip-align-8b359fe1.js.map → tooltip-align-33ca8332.js.map} +0 -0
  1124. /package/dist/kolibri/{unique-nav-labels-c6750f60.js → unique-nav-labels-62d9802d.js} +0 -0
  1125. /package/dist/kolibri/{unique-nav-labels-c6750f60.js.map → unique-nav-labels-62d9802d.js.map} +0 -0
  1126. /package/dist/kolibri/{validation-46f2e0d7.js.map → validation-32870760.js.map} +0 -0
  1127. /package/dist/kolibri/{validation-7dc6350a.js.map → validation-f7b0e97e.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{v as validateLabel}from"./label.js";import{r as removeNavLabel,a as addNavLabel}from"./unique-nav-labels.js";import{w as watchNavLinks}from"./validation.js";import{d as defineCustomElement$5}from"./component.js";import{d as defineCustomElement$4}from"./component9.js";import{d as defineCustomElement$3}from"./component2.js";import{d as defineCustomElement$2}from"./component3.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}ul{display:grid;list-style:none;place-items:center}ul li{height:0}kol-link-wc a{left:-99999px;overflow:hidden;position:absolute;z-index:9999999;line-height:1em}kol-link-wc a:focus{background-color:#fff;left:unset;position:unset}",KolSkipNav$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this._ariaLabel=void 0,this._label=void 0,this._links=void 0,this.state={_label:"…",_links:[]}}render(){return h("nav",{"aria-label":this.state._label},h("ul",null,this.state._links.map(((e,t)=>h("li",{key:t},h("kol-link-wc",Object.assign({},e)))))))}validateAriaLabel(e){this.validateLabel(e)}validateLabel(e,t,a=!1){a||removeNavLabel(this.state._label),validateLabel(this,e),addNavLabel(this.state._label)}validateLinks(e){watchNavLinks("KolSkipNav",this,e)}componentWillLoad(){this.validateLabel(this._label||this._ariaLabel,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){removeNavLabel(this.state._label)}static get watchers(){return{_ariaLabel:["validateAriaLabel"],_label:["validateLabel"],_links:["validateLinks"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-skip-nav",{_ariaLabel:[1,"_aria-label"],_label:[1],_links:[1],state:[32]},void 0,{_ariaLabel:["validateAriaLabel"],_label:["validateLabel"],_links:["validateLinks"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-skip-nav","kol-icon","kol-link-wc","kol-span-wc","kol-tooltip-wc"].forEach((e=>{switch(e){case"kol-skip-nav":customElements.get(e)||customElements.define(e,KolSkipNav$1);break;case"kol-icon":customElements.get(e)||defineCustomElement$5();break;case"kol-link-wc":customElements.get(e)||defineCustomElement$4();break;case"kol-span-wc":customElements.get(e)||defineCustomElement$3();break;case"kol-tooltip-wc":customElements.get(e)||defineCustomElement$2()}}))}const KolSkipNav=KolSkipNav$1,defineCustomElement=defineCustomElement$1;export{KolSkipNav,defineCustomElement};
4
+ import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{v as validateLabel}from"./label.js";import{r as removeNavLabel,a as addNavLabel}from"./unique-nav-labels.js";import{w as watchNavLinks}from"./validation.js";import{d as defineCustomElement$5}from"./component.js";import{d as defineCustomElement$4}from"./component9.js";import{d as defineCustomElement$3}from"./component2.js";import{d as defineCustomElement$2}from"./component3.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}ul{display:grid;list-style:none;place-items:center}ul li{height:0}kol-link-wc a{left:-99999px;overflow:hidden;position:absolute;z-index:9999999;line-height:1em}kol-link-wc a:focus{background-color:#fff;left:unset;position:unset}",KolSkipNav$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this._ariaLabel=void 0,this._label=void 0,this._links=void 0,this.state={_label:"…",_links:[]}}render(){return h("nav",{"aria-label":this.state._label},h("ul",null,this.state._links.map(((e,t)=>h("li",{key:t},h("kol-link-wc",Object.assign({},e)))))))}validateAriaLabel(e){this.validateLabel(e)}validateLabel(e,t,a=!1){a||removeNavLabel(this.state._label),validateLabel(this,e),addNavLabel(this.state._label)}validateLinks(e){watchNavLinks("KolSkipNav",this,e)}componentWillLoad(){this.validateLabel(this._label||this._ariaLabel,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){removeNavLabel(this.state._label)}static get watchers(){return{_ariaLabel:["validateAriaLabel"],_label:["validateLabel"],_links:["validateLinks"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-skip-nav",{_ariaLabel:[1,"_aria-label"],_label:[1],_links:[1],state:[32]},void 0,{_ariaLabel:["validateAriaLabel"],_label:["validateLabel"],_links:["validateLinks"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-skip-nav","kol-icon","kol-link-wc","kol-span-wc","kol-tooltip-wc"].forEach((e=>{switch(e){case"kol-skip-nav":customElements.get(e)||customElements.define(e,KolSkipNav$1);break;case"kol-icon":customElements.get(e)||defineCustomElement$5();break;case"kol-link-wc":customElements.get(e)||defineCustomElement$4();break;case"kol-span-wc":customElements.get(e)||defineCustomElement$3();break;case"kol-tooltip-wc":customElements.get(e)||defineCustomElement$2()}}))}const KolSkipNav=KolSkipNav$1,defineCustomElement=defineCustomElement$1;export{KolSkipNav,defineCustomElement};
@@ -1 +1 @@
1
- {"file":"kol-skip-nav.js","mappings":";;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,o2BAAo2B;;MCgB/2BA,YAAU;;;;;;;;iBAkCU;MAC/B,MAAM,EAAE,GAAG;MACX,MAAM,EAAE,EAAE;KACV;;EApCM,MAAM;IACZ,QACC,yBAAiB,IAAI,CAAC,KAAK,CAAC,MAAM,IACjC,cACE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAe,EAAE,KAAa;MACrD,QACC,UAAI,GAAG,EAAE,KAAK,IACb,mCAAiB,IAAI,EAAgB,CACjC,EACJ;KACF,CAAC,CACE,CACA,EACL;GACF;EA4BM,iBAAiB,CAAC,KAAc;IACtC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;GAC1B;EAGM,aAAa,CAAC,KAAqB,EAAE,SAAyB,EAAE,OAAO,GAAG,KAAK;IACrF,IAAI,CAAC,OAAO,EAAE;MACb,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAClC;IACD,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC3B,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;GAC/B;EAGM,aAAa,CAAC,KAAgC;IACpD,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;GACzC;EAEM,iBAAiB;IACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IACpE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;GAChC;EAEM,oBAAoB;IAC1B,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;GAClC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSkipNav"],"sources":["src/components/skip-nav/style.css?tag=kol-skip-nav&mode=default&encapsulation=shadow","src/components/skip-nav/component.tsx"],"sourcesContent":["@import url(../style.css);\nul {\n\tdisplay: grid;\n\tlist-style: none;\n\tplace-items: center;\n}\nul li {\n\theight: 0;\n}\nkol-link-wc a {\n\tleft: -99999px;\n\toverflow: hidden;\n\tposition: absolute;\n\tz-index: 9999999;\n\tline-height: 1em;\n}\nkol-link-wc a:focus {\n\tbackground-color: #fff;\n\tleft: unset;\n\tposition: unset;\n}\n","import { Component, h, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { Stringified } from '../../types/common';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { addNavLabel, removeNavLabel } from '../../utils/unique-nav-labels';\nimport { LinkProps } from '../link/types';\nimport { watchNavLinks } from '../nav/validation';\nimport { API, States } from './types';\n\n@Component({\n\ttag: 'kol-skip-nav',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSkipNav implements API {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<nav aria-label={this.state._label}>\n\t\t\t\t<ul>\n\t\t\t\t\t{this.state._links.map((link: LinkProps, index: number) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<li key={index}>\n\t\t\t\t\t\t\t\t<kol-link-wc {...link}></kol-link-wc>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</ul>\n\t\t\t</nav>\n\t\t);\n\t}\n\n\t/**\n\t * Deprecated: Setzt die semantische Beschriftung der Komponente.\n\t *\n\t * @deprecated use _label instead\n\t */\n\t@Prop() public _ariaLabel?: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType; // TODO: required in v2\n\n\t/**\n\t * Defines the list of links combined with their labels to render.\n\t */\n\t@Prop() public _links!: Stringified<LinkProps[]>;\n\n\t@State() public state: States = {\n\t\t_label: '…', // ⚠ required\n\t\t_links: [],\n\t};\n\n\t/**\n\t * @deprecated\n\t */\n\t@Watch('_ariaLabel')\n\tpublic validateAriaLabel(value?: string): void {\n\t\tthis.validateLabel(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType, _oldValue?: LabelPropType, initial = false): void {\n\t\tif (!initial) {\n\t\t\tremoveNavLabel(this.state._label); // remove the current\n\t\t}\n\t\tvalidateLabel(this, value);\n\t\taddNavLabel(this.state._label); // add the state instead of prop, because the prop could be invalid and not set as new label\n\t}\n\n\t@Watch('_links')\n\tpublic validateLinks(value?: Stringified<LinkProps[]>): void {\n\t\twatchNavLinks('KolSkipNav', this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label || this._ariaLabel, undefined, true);\n\t\tthis.validateLinks(this._links);\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tremoveNavLabel(this.state._label);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-skip-nav.js","mappings":";;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,u+BAAu+B;;MCgBl/BA,YAAU;;;;;;;;qBAkCU;YAC/B,MAAM,EAAE,GAAG;YACX,MAAM,EAAE,EAAE;SACV;;IApCM,MAAM;QACZ,QACC,yBAAiB,IAAI,CAAC,KAAK,CAAC,MAAM,IACjC,cACE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAe,EAAE,KAAa;YACrD,QACC,UAAI,GAAG,EAAE,KAAK,IACb,mCAAiB,IAAI,EAAgB,CACjC,EACJ;SACF,CAAC,CACE,CACA,EACL;KACF;IA4BM,iBAAiB,CAAC,KAAc;QACtC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KAC1B;IAGM,aAAa,CAAC,KAAqB,EAAE,SAAyB,EAAE,OAAO,GAAG,KAAK;QACrF,IAAI,CAAC,OAAO,EAAE;YACb,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;SAClC;QACD,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC3B,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC/B;IAGM,aAAa,CAAC,KAAgC;QACpD,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;KACzC;IAEM,iBAAiB;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;QACpE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAChC;IAEM,oBAAoB;QAC1B,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAClC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSkipNav"],"sources":["src/components/skip-nav/style.css?tag=kol-skip-nav&mode=default&encapsulation=shadow","src/components/skip-nav/component.tsx"],"sourcesContent":["@import url(../style.css);\nul {\n\tdisplay: grid;\n\tlist-style: none;\n\tplace-items: center;\n}\nul li {\n\theight: 0;\n}\nkol-link-wc a {\n\tleft: -99999px;\n\toverflow: hidden;\n\tposition: absolute;\n\tz-index: 9999999;\n\tline-height: 1em;\n}\nkol-link-wc a:focus {\n\tbackground-color: #fff;\n\tleft: unset;\n\tposition: unset;\n}\n","import { Component, h, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { Stringified } from '../../types/common';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { addNavLabel, removeNavLabel } from '../../utils/unique-nav-labels';\nimport { LinkProps } from '../link/types';\nimport { watchNavLinks } from '../nav/validation';\nimport { API, States } from './types';\n\n@Component({\n\ttag: 'kol-skip-nav',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSkipNav implements API {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<nav aria-label={this.state._label}>\n\t\t\t\t<ul>\n\t\t\t\t\t{this.state._links.map((link: LinkProps, index: number) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<li key={index}>\n\t\t\t\t\t\t\t\t<kol-link-wc {...link}></kol-link-wc>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</ul>\n\t\t\t</nav>\n\t\t);\n\t}\n\n\t/**\n\t * Deprecated: Setzt die semantische Beschriftung der Komponente.\n\t *\n\t * @deprecated use _label instead\n\t */\n\t@Prop() public _ariaLabel?: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType; // TODO: required in v2\n\n\t/**\n\t * Defines the list of links combined with their labels to render.\n\t */\n\t@Prop() public _links!: Stringified<LinkProps[]>;\n\n\t@State() public state: States = {\n\t\t_label: '…', // ⚠ required\n\t\t_links: [],\n\t};\n\n\t/**\n\t * @deprecated\n\t */\n\t@Watch('_ariaLabel')\n\tpublic validateAriaLabel(value?: string): void {\n\t\tthis.validateLabel(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType, _oldValue?: LabelPropType, initial = false): void {\n\t\tif (!initial) {\n\t\t\tremoveNavLabel(this.state._label); // remove the current\n\t\t}\n\t\tvalidateLabel(this, value);\n\t\taddNavLabel(this.state._label); // add the state instead of prop, because the prop could be invalid and not set as new label\n\t}\n\n\t@Watch('_links')\n\tpublic validateLinks(value?: Stringified<LinkProps[]>): void {\n\t\twatchNavLinks('KolSkipNav', this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label || this._ariaLabel, undefined, true);\n\t\tthis.validateLinks(this._links);\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tremoveNavLabel(this.state._label);\n\t}\n}\n"],"version":3}
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
2
2
 
3
3
  interface KolSpanWc extends Components.KolSpanWc, HTMLElement {}
4
4
  export const KolSpanWc: {
5
- prototype: KolSpanWc;
6
- new (): KolSpanWc;
5
+ prototype: KolSpanWc;
6
+ new (): KolSpanWc;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
2
2
 
3
3
  interface KolSpan extends Components.KolSpan, HTMLElement {}
4
4
  export const KolSpan: {
5
- prototype: KolSpan;
6
- new (): KolSpan;
5
+ prototype: KolSpan;
6
+ new (): KolSpan;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$3}from"./component.js";import{d as defineCustomElement$2}from"./component2.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}",KolSpan$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this._hideLabel=!1,this._icon=void 0,this._icons=void 0,this._iconOnly=void 0,this._label=void 0}render(){return h("kol-span-wc",{_icons:this._icons||this._icon,_hideLabel:this._hideLabel,_label:this._label},h("slot",{name:"expert",slot:"expert"}))}static get style(){return{default:defaultStyleCss}}},[33,"kol-span",{_hideLabel:[4,"_hide-label"],_icon:[1],_icons:[1],_iconOnly:[4,"_icon-only"],_label:[1]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-span","kol-icon","kol-span-wc"].forEach((e=>{switch(e){case"kol-span":customElements.get(e)||customElements.define(e,KolSpan$1);break;case"kol-icon":customElements.get(e)||defineCustomElement$3();break;case"kol-span-wc":customElements.get(e)||defineCustomElement$2()}}))}const KolSpan=KolSpan$1,defineCustomElement=defineCustomElement$1;export{KolSpan,defineCustomElement};
4
+ import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$3}from"./component.js";import{d as defineCustomElement$2}from"./component2.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}",KolSpan$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this._hideLabel=!1,this._icon=void 0,this._icons=void 0,this._iconOnly=void 0,this._label=void 0}render(){return h("kol-span-wc",{_icons:this._icons||this._icon,_hideLabel:this._hideLabel,_label:this._label},h("slot",{name:"expert",slot:"expert"}))}static get style(){return{default:defaultStyleCss}}},[33,"kol-span",{_hideLabel:[4,"_hide-label"],_icon:[1],_icons:[1],_iconOnly:[4,"_icon-only"],_label:[1]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-span","kol-icon","kol-span-wc"].forEach((e=>{switch(e){case"kol-span":customElements.get(e)||customElements.define(e,KolSpan$1);break;case"kol-icon":customElements.get(e)||defineCustomElement$3();break;case"kol-span-wc":customElements.get(e)||defineCustomElement$2()}}))}const KolSpan=KolSpan$1,defineCustomElement=defineCustomElement$1;export{KolSpan,defineCustomElement};
@@ -1 +1 @@
1
- {"file":"kol-span.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,goBAAgoB;;MCc3oBA,SAAO;;;;;sBAcmB,KAAK;;;;;;EAbpC,MAAM;IACZ,QACC,mBAAa,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAC/F,YAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CAC5B,EACb;GACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSpan"],"sources":["src/components/span/style.css?tag=kol-span&mode=default&encapsulation=shadow","src/components/span/shadow.tsx"],"sourcesContent":["@import url(../style.css);\n","import { Component, h, JSX, Prop } from '@stencil/core';\n\nimport { Stringified } from '../../types/common';\nimport { KoliBriIconsProp } from '../../types/icons';\nimport { LabelWithExpertSlotPropType } from '../../types/props/label';\nimport { Props } from './types';\n\n@Component({\n\ttag: 'kol-span',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSpan implements Props {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<kol-span-wc _icons={this._icons || this._icon} _hideLabel={this._hideLabel} _label={this._label}>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</kol-span-wc>\n\t\t);\n\t}\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 * @deprecated Use _icons.\n\t */\n\t@Prop() public _icon?: Stringified<KoliBriIconsProp>;\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 * Deprecated: Hides the label and shows the description in a Tooltip instead.\n\t * @deprecated use _hide-label\n\t */\n\t@Prop() public _iconOnly?: boolean;\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"],"version":3}
1
+ {"file":"kol-span.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,mwBAAmwB;;MCc9wBA,SAAO;;;;;0BAcmB,KAAK;;;;;;IAbpC,MAAM;QACZ,QACC,mBAAa,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAC/F,YAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CAC5B,EACb;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSpan"],"sources":["src/components/span/style.css?tag=kol-span&mode=default&encapsulation=shadow","src/components/span/shadow.tsx"],"sourcesContent":["@import url(../style.css);\n","import { Component, h, JSX, Prop } from '@stencil/core';\n\nimport { Stringified } from '../../types/common';\nimport { KoliBriIconsProp } from '../../types/icons';\nimport { LabelWithExpertSlotPropType } from '../../types/props/label';\nimport { Props } from './types';\n\n@Component({\n\ttag: 'kol-span',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSpan implements Props {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<kol-span-wc _icons={this._icons || this._icon} _hideLabel={this._hideLabel} _label={this._label}>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</kol-span-wc>\n\t\t);\n\t}\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 * @deprecated Use _icons.\n\t */\n\t@Prop() public _icon?: Stringified<KoliBriIconsProp>;\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 * Deprecated: Hides the label and shows the description in a Tooltip instead.\n\t * @deprecated use _hide-label\n\t */\n\t@Prop() public _iconOnly?: boolean;\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"],"version":3}
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
2
2
 
3
3
  interface KolSpin extends Components.KolSpin, HTMLElement {}
4
4
  export const KolSpin: {
5
- prototype: KolSpin;
6
- new (): KolSpin;
5
+ prototype: KolSpin;
6
+ new (): KolSpin;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement,HTMLElement,h,Host,Fragment}from"@stencil/core/internal/client";import{a as translate}from"./i18n.js";import{v as validateShow}from"./show.js";import{w as watchValidator}from"./prop.validators.js";const validateSpinVariant=(t,i)=>{watchValidator(t,"_variant",(t=>"cycle"===t||"dot"===t||"none"===t),new Set(["cycle","dot","none"]),i)},defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}.spin.cycle{width:3rem;height:3rem}.spin.cycle>.loader{display:block;width:100%;height:100%;border-radius:50%;position:relative;animation:2s linear infinite rotate}.spin.cycle>.loader::before{content:'';box-sizing:border-box;position:absolute;inset:0px;border-radius:50%;border:5px solid #333;animation:3s linear infinite prixClipFix}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes prixClipFix{0%{border-color:#fff;clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}25%{border-color:#666;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}50%{border-color:#fc0;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}75%{border-color:red;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}100%{border-color:#000;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}}@media (prefers-reduced-motion){.spin.cycle>.loader{animation-duration:4s}.spin.cycle>.loader::before{animation-duration:6s}}.spin.dot{height:1rem;width:3rem}.spin.dot>span{animation-timing-function:cubic-bezier(0, 1, 1, 0);border-radius:50%;border:0.1rem solid #fff;height:0.8rem;position:absolute;top:0.1rem;width:0.8rem}.spin.dot>span:first-child{background-color:#fc0;z-index:0;animation:1s infinite spin1;left:0.1rem}.spin.dot>span:nth-child(2){background-color:red;z-index:1;animation:1s infinite spin2;left:0.1rem}.spin.dot>span:nth-child(3){background-color:#000;z-index:1;animation:1s infinite spin2;left:1.1rem}.spin.dot>span:nth-child(4){background-color:#666;z-index:0;animation:1s infinite spin3;left:2.1rem}@keyframes spin1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes spin2{0%{transform:translate(0, 0)}100%{transform:translate(1rem, 0)}}@keyframes spin3{0%{transform:scale(1)}100%{transform:scale(0)}}@media (prefers-reduced-motion){.spin.dot>span:first-child,.spin.dot>span:nth-child(2),.spin.dot>span:nth-child(3),.spin.dot>span:nth-child(4){animation-duration:2s}}.spin{display:block;padding:0.125rem;position:relative}";function renderSpin(t){switch(t){case"cycle":return h("span",{class:"loader"});case"none":return h("slot",{name:"expert"});default:return h(Fragment,null,h("span",{class:"bg-spin-1"}),h("span",{class:"bg-spin-2"}),h("span",{class:"bg-spin-3"}),h("span",{class:"bg-neutral"}))}}const KolSpin$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.showToggled=!1,this._show=!1,this._variant="dot",this.state={_variant:"dot"}}render(){return h(Host,null,this.state._show?h("span",{"aria-busy":"true","aria-label":translate("kol-action-running"),"aria-live":"polite",class:{spin:!0,[this.state._variant]:!0},role:"alert"},renderSpin(this.state._variant)):this.showToggled&&h("span",{"aria-label":translate("kol-action-done"),"aria-busy":"false","aria-live":"polite",role:"alert"}))}validateShow(t){this.showToggled=!0===this.state._show&&!1===this._show,validateShow(this,t)}validateVariant(t){validateSpinVariant(this,t)}componentWillLoad(){this.validateShow(this._show),this.validateVariant(this._variant)}static get watchers(){return{_show:["validateShow"],_variant:["validateVariant"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-spin",{_show:[1540],_variant:[1],state:[32]},void 0,{_show:["validateShow"],_variant:["validateVariant"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-spin"].forEach((t=>{if("kol-spin"===t)customElements.get(t)||customElements.define(t,KolSpin$1)}))}const KolSpin=KolSpin$1,defineCustomElement=defineCustomElement$1;export{KolSpin,defineCustomElement};
4
+ import{proxyCustomElement,HTMLElement,h,Host,Fragment}from"@stencil/core/internal/client";import{a as translate}from"./i18n.js";import{v as validateShow}from"./show.js";import{w as watchValidator}from"./prop.validators.js";const validateSpinVariant=(t,i)=>{watchValidator(t,"_variant",(t=>"cycle"===t||"dot"===t||"none"===t),new Set(["cycle","dot","none"]),i)},defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}.spin.cycle{width:3rem;height:3rem}.spin.cycle>.loader{display:block;width:100%;height:100%;border-radius:50%;position:relative;animation:2s linear infinite rotate}.spin.cycle>.loader::before{content:'';box-sizing:border-box;position:absolute;inset:0px;border-radius:50%;border:5px solid #333;animation:3s linear infinite prixClipFix}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes prixClipFix{0%{border-color:#fff;clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}25%{border-color:#666;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}50%{border-color:#fc0;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}75%{border-color:red;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}100%{border-color:#000;clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}}@media (prefers-reduced-motion){.spin.cycle>.loader{animation-duration:4s}.spin.cycle>.loader::before{animation-duration:6s}}.spin.dot{height:1rem;width:3rem}.spin.dot>span{animation-timing-function:cubic-bezier(0, 1, 1, 0);border-radius:50%;border:0.1rem solid #fff;height:0.8rem;position:absolute;top:0.1rem;width:0.8rem}.spin.dot>span:first-child{background-color:#fc0;z-index:0;animation:1s infinite spin1;left:0.1rem}.spin.dot>span:nth-child(2){background-color:red;z-index:1;animation:1s infinite spin2;left:0.1rem}.spin.dot>span:nth-child(3){background-color:#000;z-index:1;animation:1s infinite spin2;left:1.1rem}.spin.dot>span:nth-child(4){background-color:#666;z-index:0;animation:1s infinite spin3;left:2.1rem}@keyframes spin1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes spin2{0%{transform:translate(0, 0)}100%{transform:translate(1rem, 0)}}@keyframes spin3{0%{transform:scale(1)}100%{transform:scale(0)}}@media (prefers-reduced-motion){.spin.dot>span:first-child,.spin.dot>span:nth-child(2),.spin.dot>span:nth-child(3),.spin.dot>span:nth-child(4){animation-duration:2s}}.spin{display:block;padding:0.125rem;position:relative}";function renderSpin(t){switch(t){case"cycle":return h("span",{class:"loader"});case"none":return h("slot",{name:"expert"});default:return h(Fragment,null,h("span",{class:"bg-spin-1"}),h("span",{class:"bg-spin-2"}),h("span",{class:"bg-spin-3"}),h("span",{class:"bg-neutral"}))}}const KolSpin$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.showToggled=!1,this._show=!1,this._variant="dot",this.state={_variant:"dot"}}render(){return h(Host,null,this.state._show?h("span",{"aria-busy":"true","aria-label":translate("kol-action-running"),"aria-live":"polite",class:{spin:!0,[this.state._variant]:!0},role:"alert"},renderSpin(this.state._variant)):this.showToggled&&h("span",{"aria-label":translate("kol-action-done"),"aria-busy":"false","aria-live":"polite",role:"alert"}))}validateShow(t){this.showToggled=!0===this.state._show&&!1===this._show,validateShow(this,t)}validateVariant(t){validateSpinVariant(this,t)}componentWillLoad(){this.validateShow(this._show),this.validateVariant(this._variant)}static get watchers(){return{_show:["validateShow"],_variant:["validateVariant"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-spin",{_show:[1540],_variant:[1],state:[32]},void 0,{_show:["validateShow"],_variant:["validateVariant"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-spin"].forEach((t=>{if("kol-spin"===t)customElements.get(t)||customElements.define(t,KolSpin$1)}))}const KolSpin=KolSpin$1,defineCustomElement=defineCustomElement$1;export{KolSpin,defineCustomElement};
@@ -1 +1 @@
1
- {"file":"kol-spin.js","mappings":";;;;;;;;AAmBO,MAAM,mBAAmB,GAAG,CAAC,SAAoC,EAAE,KAA2B;EACpG,cAAc,CAAC,SAAS,EAAE,UAAU,EAAE,CAAC,KAAK,KAAK,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;AACtJ,CAAC;;ACrBD,MAAM,eAAe,GAAG,mkFAAmkF;;ACO3lF,SAAS,UAAU,CAAC,OAA4B;EAC/C,QAAQ,OAAO;IACd,KAAK,OAAO;MACX,OAAO,YAAM,KAAK,EAAC,QAAQ,GAAQ,CAAC;IACrC,KAAK,MAAM;MACV,OAAO,YAAM,IAAI,EAAC,QAAQ,GAAQ,CAAC;IACpC;MACC,QACC,EAAC,QAAQ,QACR,YAAM,KAAK,EAAC,WAAW,GAAQ,EAC/B,YAAM,KAAK,EAAC,WAAW,GAAQ,EAC/B,YAAM,KAAK,EAAC,WAAW,GAAQ,EAC/B,YAAM,KAAK,EAAC,YAAY,GAAQ,CACtB,EACV;GACH;AACF,CAAC;MASYA,SAAO;;;;;IACX,gBAAW,GAAG,KAAK,CAAC;iBA8BqC,KAAK;oBAKtB,KAAK;iBAErB;MAC/B,QAAQ,EAAE,KAAK;KACf;;EArCM,MAAM;IACZ,QACC,EAAC,IAAI,QACH,IAAI,CAAC,KAAK,CAAC,KAAK,IAChB,yBACW,MAAM,gBACJ,SAAS,CAAC,oBAAoB,CAAC,eACjC,QAAQ,EAClB,KAAK,EAAE;QACN,IAAI,EAAE,IAAI;QACV,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI;OAE3B,EACD,IAAI,EAAC,OAAO,IAEX,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAC1B,KAEP,IAAI,CAAC,WAAW,IAAI,0BAAkB,SAAS,CAAC,iBAAiB,CAAC,eAAY,OAAO,eAAW,QAAQ,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC7H,CACK,EACN;GACF;EAkBM,YAAY,CAAC,KAAoB;IACvC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC;IACrE,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;GAC1B;EAGM,eAAe,CAAC,KAA2B;IACjD,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;GACjC;EAEM,iBAAiB;IACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;GACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSpin"],"sources":["src/types/props/variant/spin.ts","src/components/spin/style.css?tag=kol-spin&mode=default&encapsulation=shadow","src/components/spin/component.tsx"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { watchValidator } from '../../../utils/prop.validators';\n\n/* types */\n/**\n * Loading-spinner\n * - https://github.com/vineethtrv/css-loader\n */\nexport type SpinVariantPropType = 'cycle' | 'dot' | 'none';\n\n/**\n * Defines the variant of spin navigation.\n */\nexport type PropSpinVariant = {\n\tvariant: SpinVariantPropType;\n};\n\n/* validator */\nexport const validateSpinVariant = (component: Generic.Element.Component, value?: SpinVariantPropType): void => {\n\twatchValidator(component, '_variant', (value) => value === 'cycle' || value === 'dot' || value === 'none', new Set(['cycle', 'dot', 'none']), value);\n};\n","@import url(../style.css);\n@import url(cycle.css);\n@import url(dot.css);\n.spin {\n\tdisplay: block;\n\tpadding: 0.125rem;\n\tposition: relative;\n}\n","import { Component, Fragment, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { ShowPropType, validateShow } from '../../types/props/show';\nimport { SpinVariantPropType, validateSpinVariant } from '../../types/props/variant/spin';\nimport { API, States } from './types';\n\nfunction renderSpin(variant: SpinVariantPropType): JSX.Element {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <span class=\"loader\"></span>;\n\t\tcase 'none':\n\t\t\treturn <slot name=\"expert\"></slot>;\n\t\tdefault:\n\t\t\treturn (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<span class=\"bg-spin-1\"></span>\n\t\t\t\t\t<span class=\"bg-spin-2\"></span>\n\t\t\t\t\t<span class=\"bg-spin-3\"></span>\n\t\t\t\t\t<span class=\"bg-neutral\"></span>\n\t\t\t\t</Fragment>\n\t\t\t);\n\t}\n}\n\n@Component({\n\ttag: 'kol-spin',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSpin implements API {\n\tprivate showToggled = false;\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t{this.state._show ? (\n\t\t\t\t\t<span\n\t\t\t\t\t\taria-busy=\"true\"\n\t\t\t\t\t\taria-label={translate('kol-action-running')}\n\t\t\t\t\t\taria-live=\"polite\"\n\t\t\t\t\t\tclass={{\n\t\t\t\t\t\t\tspin: true,\n\t\t\t\t\t\t\t[this.state._variant]: true,\n\t\t\t\t\t\t\t/* [`spin--${this.state._variant}`]: true, witch benefit have this notation? */\n\t\t\t\t\t\t}}\n\t\t\t\t\t\trole=\"alert\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{renderSpin(this.state._variant)}\n\t\t\t\t\t</span>\n\t\t\t\t) : (\n\t\t\t\t\tthis.showToggled && <span aria-label={translate('kol-action-done')} aria-busy=\"false\" aria-live=\"polite\" role=\"alert\"></span>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Makes the element show up.\n\t * @TODO: Change type back to `ShowPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _show?: boolean = false;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: SpinVariantPropType = 'dot';\n\n\t@State() public state: States = {\n\t\t_variant: 'dot',\n\t};\n\n\t@Watch('_show')\n\tpublic validateShow(value?: ShowPropType): void {\n\t\tthis.showToggled = this.state._show === true && this._show === false;\n\t\tvalidateShow(this, value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: SpinVariantPropType): void {\n\t\tvalidateSpinVariant(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateShow(this._show);\n\t\tthis.validateVariant(this._variant);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-spin.js","mappings":";;;;;;;;AAmBO,MAAM,mBAAmB,GAAG,CAAC,SAAoC,EAAE,KAA2B;IACpG,cAAc,CAAC,SAAS,EAAE,UAAU,EAAE,CAAC,KAAK,KAAK,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;AACtJ,CAAC;;ACrBD,MAAM,eAAe,GAAG,ssFAAssF;;ACO9tF,SAAS,UAAU,CAAC,OAA4B;IAC/C,QAAQ,OAAO;QACd,KAAK,OAAO;YACX,OAAO,YAAM,KAAK,EAAC,QAAQ,GAAQ,CAAC;QACrC,KAAK,MAAM;YACV,OAAO,YAAM,IAAI,EAAC,QAAQ,GAAQ,CAAC;QACpC;YACC,QACC,EAAC,QAAQ,QACR,YAAM,KAAK,EAAC,WAAW,GAAQ,EAC/B,YAAM,KAAK,EAAC,WAAW,GAAQ,EAC/B,YAAM,KAAK,EAAC,WAAW,GAAQ,EAC/B,YAAM,KAAK,EAAC,YAAY,GAAQ,CACtB,EACV;KACH;AACF,CAAC;MASYA,SAAO;;;;;QACX,gBAAW,GAAG,KAAK,CAAC;qBA8BqC,KAAK;wBAKtB,KAAK;qBAErB;YAC/B,QAAQ,EAAE,KAAK;SACf;;IArCM,MAAM;QACZ,QACC,EAAC,IAAI,QACH,IAAI,CAAC,KAAK,CAAC,KAAK,IAChB,yBACW,MAAM,gBACJ,SAAS,CAAC,oBAAoB,CAAC,eACjC,QAAQ,EAClB,KAAK,EAAE;gBACN,IAAI,EAAE,IAAI;gBACV,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI;aAE3B,EACD,IAAI,EAAC,OAAO,IAEX,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAC1B,KAEP,IAAI,CAAC,WAAW,IAAI,0BAAkB,SAAS,CAAC,iBAAiB,CAAC,eAAY,OAAO,eAAW,QAAQ,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC7H,CACK,EACN;KACF;IAkBM,YAAY,CAAC,KAAoB;QACvC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC;QACrE,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KAC1B;IAGM,eAAe,CAAC,KAA2B;QACjD,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KACjC;IAEM,iBAAiB;QACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC9B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSpin"],"sources":["src/types/props/variant/spin.ts","src/components/spin/style.css?tag=kol-spin&mode=default&encapsulation=shadow","src/components/spin/component.tsx"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { watchValidator } from '../../../utils/prop.validators';\n\n/* types */\n/**\n * Loading-spinner\n * - https://github.com/vineethtrv/css-loader\n */\nexport type SpinVariantPropType = 'cycle' | 'dot' | 'none';\n\n/**\n * Defines the variant of spin navigation.\n */\nexport type PropSpinVariant = {\n\tvariant: SpinVariantPropType;\n};\n\n/* validator */\nexport const validateSpinVariant = (component: Generic.Element.Component, value?: SpinVariantPropType): void => {\n\twatchValidator(component, '_variant', (value) => value === 'cycle' || value === 'dot' || value === 'none', new Set(['cycle', 'dot', 'none']), value);\n};\n","@import url(../style.css);\n@import url(cycle.css);\n@import url(dot.css);\n.spin {\n\tdisplay: block;\n\tpadding: 0.125rem;\n\tposition: relative;\n}\n","import { Component, Fragment, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { ShowPropType, validateShow } from '../../types/props/show';\nimport { SpinVariantPropType, validateSpinVariant } from '../../types/props/variant/spin';\nimport { API, States } from './types';\n\nfunction renderSpin(variant: SpinVariantPropType): JSX.Element {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <span class=\"loader\"></span>;\n\t\tcase 'none':\n\t\t\treturn <slot name=\"expert\"></slot>;\n\t\tdefault:\n\t\t\treturn (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<span class=\"bg-spin-1\"></span>\n\t\t\t\t\t<span class=\"bg-spin-2\"></span>\n\t\t\t\t\t<span class=\"bg-spin-3\"></span>\n\t\t\t\t\t<span class=\"bg-neutral\"></span>\n\t\t\t\t</Fragment>\n\t\t\t);\n\t}\n}\n\n@Component({\n\ttag: 'kol-spin',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSpin implements API {\n\tprivate showToggled = false;\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t{this.state._show ? (\n\t\t\t\t\t<span\n\t\t\t\t\t\taria-busy=\"true\"\n\t\t\t\t\t\taria-label={translate('kol-action-running')}\n\t\t\t\t\t\taria-live=\"polite\"\n\t\t\t\t\t\tclass={{\n\t\t\t\t\t\t\tspin: true,\n\t\t\t\t\t\t\t[this.state._variant]: true,\n\t\t\t\t\t\t\t/* [`spin--${this.state._variant}`]: true, witch benefit have this notation? */\n\t\t\t\t\t\t}}\n\t\t\t\t\t\trole=\"alert\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{renderSpin(this.state._variant)}\n\t\t\t\t\t</span>\n\t\t\t\t) : (\n\t\t\t\t\tthis.showToggled && <span aria-label={translate('kol-action-done')} aria-busy=\"false\" aria-live=\"polite\" role=\"alert\"></span>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Makes the element show up.\n\t * @TODO: Change type back to `ShowPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _show?: boolean = false;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: SpinVariantPropType = 'dot';\n\n\t@State() public state: States = {\n\t\t_variant: 'dot',\n\t};\n\n\t@Watch('_show')\n\tpublic validateShow(value?: ShowPropType): void {\n\t\tthis.showToggled = this.state._show === true && this._show === false;\n\t\tvalidateShow(this, value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: SpinVariantPropType): void {\n\t\tvalidateSpinVariant(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateShow(this._show);\n\t\tthis.validateVariant(this._variant);\n\t}\n}\n"],"version":3}
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
2
2
 
3
3
  interface KolSplitButton extends Components.KolSplitButton, HTMLElement {}
4
4
  export const KolSplitButton: {
5
- prototype: KolSplitButton;
6
- new (): KolSplitButton;
5
+ prototype: KolSplitButton;
6
+ new (): KolSplitButton;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{v as validateShow}from"./show.js";import{d as defineCustomElement$5}from"./component5.js";import{d as defineCustomElement$4}from"./component.js";import{d as defineCustomElement$3}from"./component2.js";import{d as defineCustomElement$2}from"./component3.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}:host{display:flex;position:relative}.main-button{flex-grow:1;text-align:left}.main-button kol-span-wc{place-items:start}.secondary-button button{height:100%}.horizontal-line{background-color:rgba(0, 0, 0, 0.2);border-radius:2px;height:70%;margin-block:auto;width:1px}.popover{height:0;left:0;min-width:100%;overflow:hidden;position:absolute;top:100%;transition:height 0.3s ease-in-out}.popover-content{inset:0 0 auto 0;min-width:100%;position:absolute}",KolSplitButton$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.clickButtonHandler={onClick:t=>{var o,e;"function"==typeof(null===(o=this._on)||void 0===o?void 0:o.onClick)?null===(e=this._on)||void 0===e||e.onClick(t,this._value):this.toggleDropdown()}},this.clickToggleHandler={onClick:()=>this.toggleDropdown()},this.openDropdown=()=>{this.dropdown&&this.dropdownContent&&(this.dropdown.style.height=`${this.dropdownContent.clientHeight}px`,this.state=Object.assign(Object.assign({},this.state),{_show:!0}))},this.closeDropdown=()=>{this.dropdown&&this.dropdownContent&&(this.dropdown.style.height="",this.state=Object.assign(Object.assign({},this.state),{_show:!1}))},this.toggleDropdown=t=>{("boolean"==typeof t?t:!this.state._show)?this.openDropdown():this.closeDropdown()},this.forceCounter=100,this.forceOpenDropdown=()=>{var t;this.forceCounter>0&&((null===(t=this.dropdownContent)||void 0===t?void 0:t.clientHeight)?this.openDropdown():setTimeout(this.forceOpenDropdown,10),this.forceCounter--)},this.catchDropdownElements=t=>{t&&(this.dropdown=t,setTimeout((()=>{this.dropdownContent=t.firstChild,this._show&&this.forceOpenDropdown()})))},this._accessKey=void 0,this._ariaControls=void 0,this._ariaExpanded=void 0,this._ariaLabel=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icon=void 0,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._show=!1,this._showDropdown=!1,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant="normal",this.state={_show:!1}}render(){return h(Host,null,h("kol-button-wc",{class:{"main-button":!0,button:!0,[this._variant]:"custom"!==this._variant,[this._customClass]:"custom"===this._variant&&"string"==typeof this._customClass&&this._customClass.length>0},_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_customClass:this._customClass,_disabled:this._disabled,_icons:this._icons||this._icon,_hideLabel:this._hideLabel,_label:this._label,_name:this._name,_on:this.clickButtonHandler,_role:this._role,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant}),h("div",{class:"horizontal-line"}),h("kol-button-wc",{class:"secondary-button",_disabled:this._disabled,_hideLabel:!0,_icons:"codicon codicon-triangle-down",_label:"dropdown "+(this.state._show?"schließen":"öffnen"),_on:this.clickToggleHandler}),h("div",{class:"popover",ref:this.catchDropdownElements},h("div",{class:"popover-content"},h("slot",null))))}validateShowDropdown(t){this.validateShow(t)}validateShow(t){validateShow(this,t,{hooks:{afterPatch:t=>{this.toggleDropdown(!!t)}}})}componentWillLoad(){this.validateShow(this._show||this._show)}static get watchers(){return{_show:["validateShowDropdown","validateShow"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-split-button",{_accessKey:[1,"_access-key"],_ariaControls:[1,"_aria-controls"],_ariaExpanded:[4,"_aria-expanded"],_ariaLabel:[1,"_aria-label"],_ariaSelected:[4,"_aria-selected"],_customClass:[1,"_custom-class"],_disabled:[4],_hideLabel:[4,"_hide-label"],_icon:[1],_icons:[1],_id:[1],_label:[1],_name:[1],_on:[16],_role:[1],_syncValueBySelector:[1,"_sync-value-by-selector"],_show:[1540],_showDropdown:[1540,"_show-dropdown"],_tabIndex:[2,"_tab-index"],_tooltipAlign:[1,"_tooltip-align"],_type:[1],_value:[8],_variant:[1],state:[32]},void 0,{_show:["validateShowDropdown","validateShow"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-split-button","kol-button-wc","kol-icon","kol-span-wc","kol-tooltip-wc"].forEach((t=>{switch(t){case"kol-split-button":customElements.get(t)||customElements.define(t,KolSplitButton$1);break;case"kol-button-wc":customElements.get(t)||defineCustomElement$5();break;case"kol-icon":customElements.get(t)||defineCustomElement$4();break;case"kol-span-wc":customElements.get(t)||defineCustomElement$3();break;case"kol-tooltip-wc":customElements.get(t)||defineCustomElement$2()}}))}const KolSplitButton=KolSplitButton$1,defineCustomElement=defineCustomElement$1;export{KolSplitButton,defineCustomElement};
4
+ import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{v as validateShow}from"./show.js";import{d as defineCustomElement$5}from"./component5.js";import{d as defineCustomElement$4}from"./component.js";import{d as defineCustomElement$3}from"./component2.js";import{d as defineCustomElement$2}from"./component3.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}:host{display:flex;position:relative}.main-button{flex-grow:1;text-align:left}.main-button kol-span-wc{place-items:start}.secondary-button button{height:100%}.horizontal-line{background-color:rgba(0, 0, 0, 0.2);border-radius:2px;height:70%;margin-block:auto;width:1px}.popover{height:0;left:0;min-width:100%;overflow:hidden;position:absolute;top:100%;transition:height 0.3s ease-in-out}.popover-content{inset:0 0 auto 0;min-width:100%;position:absolute}",KolSplitButton$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.clickButtonHandler={onClick:t=>{var o,e;"function"==typeof(null===(o=this._on)||void 0===o?void 0:o.onClick)?null===(e=this._on)||void 0===e||e.onClick(t,this._value):this.toggleDropdown()}},this.clickToggleHandler={onClick:()=>this.toggleDropdown()},this.openDropdown=()=>{this.dropdown&&this.dropdownContent&&(this.dropdown.style.height=`${this.dropdownContent.clientHeight}px`,this.state=Object.assign(Object.assign({},this.state),{_show:!0}))},this.closeDropdown=()=>{this.dropdown&&this.dropdownContent&&(this.dropdown.style.height="",this.state=Object.assign(Object.assign({},this.state),{_show:!1}))},this.toggleDropdown=t=>{("boolean"==typeof t?t:!this.state._show)?this.openDropdown():this.closeDropdown()},this.forceCounter=100,this.forceOpenDropdown=()=>{var t;this.forceCounter>0&&((null===(t=this.dropdownContent)||void 0===t?void 0:t.clientHeight)?this.openDropdown():setTimeout(this.forceOpenDropdown,10),this.forceCounter--)},this.catchDropdownElements=t=>{t&&(this.dropdown=t,setTimeout((()=>{this.dropdownContent=t.firstChild,this._show&&this.forceOpenDropdown()})))},this._accessKey=void 0,this._ariaControls=void 0,this._ariaExpanded=void 0,this._ariaLabel=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icon=void 0,this._icons=void 0,this._id=void 0,this._label=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._syncValueBySelector=void 0,this._show=!1,this._showDropdown=!1,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant="normal",this.state={_show:!1}}render(){return h(Host,null,h("kol-button-wc",{class:{"main-button":!0,button:!0,[this._variant]:"custom"!==this._variant,[this._customClass]:"custom"===this._variant&&"string"==typeof this._customClass&&this._customClass.length>0},_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_customClass:this._customClass,_disabled:this._disabled,_icons:this._icons||this._icon,_hideLabel:this._hideLabel,_label:this._label,_name:this._name,_on:this.clickButtonHandler,_role:this._role,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant}),h("div",{class:"horizontal-line"}),h("kol-button-wc",{class:"secondary-button",_disabled:this._disabled,_hideLabel:!0,_icons:"codicon codicon-triangle-down",_label:"dropdown "+(this.state._show?"schließen":"öffnen"),_on:this.clickToggleHandler}),h("div",{class:"popover",ref:this.catchDropdownElements},h("div",{class:"popover-content"},h("slot",null))))}validateShowDropdown(t){this.validateShow(t)}validateShow(t){validateShow(this,t,{hooks:{afterPatch:t=>{this.toggleDropdown(!!t)}}})}componentWillLoad(){this.validateShow(this._show||this._show)}static get watchers(){return{_show:["validateShowDropdown","validateShow"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-split-button",{_accessKey:[1,"_access-key"],_ariaControls:[1,"_aria-controls"],_ariaExpanded:[4,"_aria-expanded"],_ariaLabel:[1,"_aria-label"],_ariaSelected:[4,"_aria-selected"],_customClass:[1,"_custom-class"],_disabled:[4],_hideLabel:[4,"_hide-label"],_icon:[1],_icons:[1],_id:[1],_label:[1],_name:[1],_on:[16],_role:[1],_syncValueBySelector:[1,"_sync-value-by-selector"],_show:[1540],_showDropdown:[1540,"_show-dropdown"],_tabIndex:[2,"_tab-index"],_tooltipAlign:[1,"_tooltip-align"],_type:[1],_value:[8],_variant:[1],state:[32]},void 0,{_show:["validateShowDropdown","validateShow"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-split-button","kol-button-wc","kol-icon","kol-span-wc","kol-tooltip-wc"].forEach((t=>{switch(t){case"kol-split-button":customElements.get(t)||customElements.define(t,KolSplitButton$1);break;case"kol-button-wc":customElements.get(t)||defineCustomElement$5();break;case"kol-icon":customElements.get(t)||defineCustomElement$4();break;case"kol-span-wc":customElements.get(t)||defineCustomElement$3();break;case"kol-tooltip-wc":customElements.get(t)||defineCustomElement$2()}}))}const KolSplitButton=KolSplitButton$1,defineCustomElement=defineCustomElement$1;export{KolSplitButton,defineCustomElement};
@@ -1 +1 @@
1
- {"file":"kol-split-button.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,qkCAAqkC;;MC0BhlCA,gBAAc;;;;;IAIT,uBAAkB,GAAG;MACrC,OAAO,EAAE,CAAC,CAAa;;QACtB,IAAI,QAAO,MAAA,IAAI,CAAC,GAAG,0CAAE,OAAO,CAAA,KAAK,UAAU,EAAE;UAE5C,MAAA,IAAI,CAAC,GAAG,0CAAE,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;SAClC;aAAM;UACN,IAAI,CAAC,cAAc,EAAE,CAAC;SACtB;OACD;KACD,CAAC;IACe,uBAAkB,GAAG,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;IAE9D,iBAAY,GAAG;MAC/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,eAAe,EAAE;QAC1C,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,IAAI,CAAC;QACtE,IAAI,CAAC,KAAK,mCAAQ,IAAI,CAAC,KAAK,KAAE,KAAK,EAAE,IAAI,GAAE,CAAC;OAC5C;KACD,CAAC;IACe,kBAAa,GAAG;MAChC,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,eAAe,EAAE;QAC1C,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,GAAG,EAAE,CAAC;QAChC,IAAI,CAAC,KAAK,mCAAQ,IAAI,CAAC,KAAK,KAAE,KAAK,EAAE,KAAK,GAAE,CAAC;OAC7C;KACD,CAAC;IACe,mBAAc,GAAG,CAAC,KAAe;MACjD,MAAM,MAAM,GAAG,OAAO,KAAK,KAAK,SAAS,GAAG,KAAK,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;MACtE,IAAI,MAAM;QAAE,IAAI,CAAC,YAAY,EAAE,CAAC;;QAC3B,IAAI,CAAC,aAAa,EAAE,CAAC;KAC1B,CAAC;IACM,iBAAY,GAAG,GAAG,CAAC;IACV,sBAAiB,GAAG;;MACpC,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC,EAAE;QAC1B,IAAI,MAAA,IAAI,CAAC,eAAe,0CAAE,YAAY;UAAE,IAAI,CAAC,YAAY,EAAE,CAAC;;UACvD,UAAU,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,EAAE,CAAC;OACpB;KACD,CAAC;IAEe,0BAAqB,GAAG,CAAC,CAAyB;MAClE,IAAI,CAAC,EAAE;QACN,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,UAAU,CAAC;UACV,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC,UAA4B,CAAC;UACtD,IAAI,IAAI,CAAC,KAAK;YAAE,IAAI,CAAC,iBAAiB,EAAE,CAAC;SACzC,CAAC,CAAC;OACH;KACD,CAAC;;;;;;;qBAoFmC,KAAK;sBAOJ,KAAK;;;;;;;;;iBA+CsB,KAAK;yBAMG,KAAK;;yBAUxB,KAAK;iBAKf,QAAQ;;oBAUF,QAAQ;iBAE1B;MAC/B,KAAK,EAAE,KAAK;KACZ;;EA3KM,MAAM;IACZ,QACC,EAAC,IAAI,QACJ,qBACC,KAAK,EAAE;QACN,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,IAAI;QACZ,CAAC,IAAI,CAAC,QAAkB,GAAG,IAAI,CAAC,QAAQ,KAAK,QAAQ;QACrD,CAAC,IAAI,CAAC,YAAsB,GAAG,IAAI,CAAC,QAAQ,KAAK,QAAQ,IAAI,OAAO,IAAI,CAAC,YAAY,KAAK,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC;OAClI,EACD,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,EACjC,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,kBAAkB,EAC5B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACP,EACjB,WAAK,KAAK,EAAC,iBAAiB,GAAO,EACnC,qBACC,KAAK,EAAC,kBAAkB,EACxB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,QACV,MAAM,EAAC,+BAA+B,EACtC,MAAM,EAAE,YAAY,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,WAAW,GAAG,QAAQ,EAAE,EAC/D,GAAG,EAAE,IAAI,CAAC,kBAAkB,GACZ,EACjB,WAAK,KAAK,EAAC,SAAS,EAAC,GAAG,EAAE,IAAI,CAAC,qBAAqB,IACnD,WAAK,KAAK,EAAC,iBAAiB,IAC3B,eAAQ,CACH,CACD,CACA,EACN;GACF;EAoIM,oBAAoB,CAAC,KAAe;IAC1C,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;GACzB;EAGM,YAAY,CAAC,KAAe;IAClC,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE;MACzB,KAAK,EAAE;QACN,UAAU,EAAE,CAAC,KAAK;UACjB,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;SAC7B;OACD;KACD,CAAC,CAAC;GACH;EAEM,iBAAiB;IACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;GAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSplitButton"],"sources":["src/components/split-button/style.css?tag=kol-split-button&mode=default&encapsulation=shadow","src/components/split-button/component.tsx"],"sourcesContent":["@import url(../style.css);\n:host {\n\tdisplay: flex;\n\tposition: relative;\n}\n.main-button {\n\tflex-grow: 1;\n\ttext-align: left;\n}\n.main-button kol-span-wc {\n\tplace-items: start;\n}\n.secondary-button button {\n\theight: 100%;\n}\n.horizontal-line {\n\tbackground-color: rgba(0, 0, 0, 0.2);\n\tborder-radius: 2px;\n\theight: 70%;\n\tmargin-block: auto;\n\twidth: 1px;\n}\n/* popover */\n.popover {\n\theight: 0;\n\tleft: 0;\n\tmin-width: 100%;\n\toverflow: hidden;\n\tposition: absolute;\n\ttop: 100%;\n\ttransition: height 0.3s ease-in-out;\n}\n.popover-content {\n\tinset: 0 0 auto 0;\n\tmin-width: 100%;\n\tposition: absolute;\n}\n","import { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { Stringified } from '../../types/common';\nimport { AlternativeButtonLinkRolePropType } from '../../types/props/alternative-button-link-role';\nimport { ButtonCallbacksPropType } from '../../types/props/button-callbacks';\nimport { ButtonTypePropType } from '../../types/props/button-type';\nimport { ButtonVariantPropType } from '../../types/props/button-variant';\nimport { CustomClassPropType } from '../../types/props/custom-class';\nimport { IconsPropType } from '../../types/props/icons';\nimport { LabelPropType } from '../../types/props/label';\nimport { validateShow } from '../../types/props/show';\nimport { SyncValueBySelectorPropType } from '../../types/props/sync-value-by-selector';\nimport { TooltipAlignPropType } from '../../types/props/tooltip-align';\nimport { StencilUnknown } from '../../types/unknown';\nimport { API, States } from './types';\n\n/**\n * @slot - Ermöglicht das Einfügen beliebigen HTMLs in das dropdown.\n */\n@Component({\n\ttag: 'kol-split-button',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSplitButton implements API {\n\tprivate dropdown: HTMLDivElement | undefined;\n\tprivate dropdownContent: HTMLDivElement | undefined;\n\n\tprivate readonly clickButtonHandler = {\n\t\tonClick: (e: MouseEvent) => {\n\t\t\tif (typeof this._on?.onClick === 'function') {\n\t\t\t\t// TODO: this._on is not validated\n\t\t\t\tthis._on?.onClick(e, this._value);\n\t\t\t} else {\n\t\t\t\tthis.toggleDropdown();\n\t\t\t}\n\t\t},\n\t};\n\tprivate readonly clickToggleHandler = { onClick: () => this.toggleDropdown() };\n\n\tprivate readonly openDropdown = () => {\n\t\tif (this.dropdown && this.dropdownContent) {\n\t\t\tthis.dropdown.style.height = `${this.dropdownContent.clientHeight}px`;\n\t\t\tthis.state = { ...this.state, _show: true };\n\t\t}\n\t};\n\tprivate readonly closeDropdown = () => {\n\t\tif (this.dropdown && this.dropdownContent) {\n\t\t\tthis.dropdown.style.height = ``;\n\t\t\tthis.state = { ...this.state, _show: false };\n\t\t}\n\t};\n\tprivate readonly toggleDropdown = (value?: boolean) => {\n\t\tconst openIt = typeof value === 'boolean' ? value : !this.state._show;\n\t\tif (openIt) this.openDropdown();\n\t\telse this.closeDropdown();\n\t};\n\tprivate forceCounter = 100; // because the dropdown could be empty\n\tprivate readonly forceOpenDropdown = () => {\n\t\tif (this.forceCounter > 0) {\n\t\t\tif (this.dropdownContent?.clientHeight) this.openDropdown();\n\t\t\telse setTimeout(this.forceOpenDropdown, 10);\n\t\t\tthis.forceCounter--;\n\t\t}\n\t};\n\n\tprivate readonly catchDropdownElements = (e?: HTMLDivElement | null) => {\n\t\tif (e) {\n\t\t\tthis.dropdown = e;\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.dropdownContent = e.firstChild as HTMLDivElement;\n\t\t\t\tif (this._show) this.forceOpenDropdown();\n\t\t\t});\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<kol-button-wc\n\t\t\t\t\tclass={{\n\t\t\t\t\t\t'main-button': true,\n\t\t\t\t\t\tbutton: true,\n\t\t\t\t\t\t[this._variant as string]: this._variant !== 'custom',\n\t\t\t\t\t\t[this._customClass as string]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,\n\t\t\t\t\t}}\n\t\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t\t_customClass={this._customClass}\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_icons={this._icons || this._icon}\n\t\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_name={this._name}\n\t\t\t\t\t_on={this.clickButtonHandler}\n\t\t\t\t\t_role={this._role}\n\t\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_value={this._value}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t></kol-button-wc>\n\t\t\t\t<div class=\"horizontal-line\"></div>\n\t\t\t\t<kol-button-wc\n\t\t\t\t\tclass=\"secondary-button\"\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_hideLabel\n\t\t\t\t\t_icons=\"codicon codicon-triangle-down\"\n\t\t\t\t\t_label={`dropdown ${this.state._show ? 'schließen' : 'öffnen'}`} // @todo: translate\n\t\t\t\t\t_on={this.clickToggleHandler}\n\t\t\t\t></kol-button-wc>\n\t\t\t\t<div class=\"popover\" ref={this.catchDropdownElements}>\n\t\t\t\t\t<div class=\"popover-content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\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?: string;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Deprecated: Setzt die semantische Beschriftung der Komponente.\n\t *\n\t * @deprecated use _label instead\n\t */\n\t@Prop() public _ariaLabel?: string;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\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 * 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 * @deprecated Use _icons.\n\t */\n\t@Prop() public _icon?: IconsPropType;\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 internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\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 * 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 * Makes the element show up.\n\t * @TODO: Change type back to `ShowPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _show?: boolean = false;\n\n\t/**\n\t * Deprecated: Defines whether to show the dropdown menu.\n\t * @deprecated use _show instead\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _showDropdown?: boolean = false;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\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 * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value that the button emits on click.\n\t */\n\t@Prop() public _value?: Stringified<StencilUnknown>;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n\n\t@State() public state: States = {\n\t\t_show: false,\n\t};\n\n\t/**\n\t * @deprecated will be removed in the next major version\n\t */\n\t@Watch('_show')\n\tpublic validateShowDropdown(value?: boolean): void {\n\t\tthis.validateShow(value);\n\t}\n\n\t@Watch('_show')\n\tpublic validateShow(value?: boolean): void {\n\t\tvalidateShow(this, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: (value) => {\n\t\t\t\t\tthis.toggleDropdown(!!value);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateShow(this._show || this._show);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-split-button.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,wsCAAwsC;;MC0BntCA,gBAAc;;;;;QAIT,uBAAkB,GAAG;YACrC,OAAO,EAAE,CAAC,CAAa;;gBACtB,IAAI,QAAO,MAAA,IAAI,CAAC,GAAG,0CAAE,OAAO,CAAA,KAAK,UAAU,EAAE;oBAE5C,MAAA,IAAI,CAAC,GAAG,0CAAE,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;iBAClC;qBAAM;oBACN,IAAI,CAAC,cAAc,EAAE,CAAC;iBACtB;aACD;SACD,CAAC;QACe,uBAAkB,GAAG,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;QAE9D,iBAAY,GAAG;YAC/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,eAAe,EAAE;gBAC1C,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,IAAI,CAAC;gBACtE,IAAI,CAAC,KAAK,mCAAQ,IAAI,CAAC,KAAK,KAAE,KAAK,EAAE,IAAI,GAAE,CAAC;aAC5C;SACD,CAAC;QACe,kBAAa,GAAG;YAChC,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,eAAe,EAAE;gBAC1C,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,GAAG,EAAE,CAAC;gBAChC,IAAI,CAAC,KAAK,mCAAQ,IAAI,CAAC,KAAK,KAAE,KAAK,EAAE,KAAK,GAAE,CAAC;aAC7C;SACD,CAAC;QACe,mBAAc,GAAG,CAAC,KAAe;YACjD,MAAM,MAAM,GAAG,OAAO,KAAK,KAAK,SAAS,GAAG,KAAK,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;YACtE,IAAI,MAAM;gBAAE,IAAI,CAAC,YAAY,EAAE,CAAC;;gBAC3B,IAAI,CAAC,aAAa,EAAE,CAAC;SAC1B,CAAC;QACM,iBAAY,GAAG,GAAG,CAAC;QACV,sBAAiB,GAAG;;YACpC,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC,EAAE;gBAC1B,IAAI,MAAA,IAAI,CAAC,eAAe,0CAAE,YAAY;oBAAE,IAAI,CAAC,YAAY,EAAE,CAAC;;oBACvD,UAAU,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;gBAC5C,IAAI,CAAC,YAAY,EAAE,CAAC;aACpB;SACD,CAAC;QAEe,0BAAqB,GAAG,CAAC,CAAyB;YAClE,IAAI,CAAC,EAAE;gBACN,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;gBAClB,UAAU,CAAC;oBACV,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC,UAA4B,CAAC;oBACtD,IAAI,IAAI,CAAC,KAAK;wBAAE,IAAI,CAAC,iBAAiB,EAAE,CAAC;iBACzC,CAAC,CAAC;aACH;SACD,CAAC;;;;;;;yBAoFmC,KAAK;0BAOJ,KAAK;;;;;;;;;qBA+CsB,KAAK;6BAMG,KAAK;;6BAUxB,KAAK;qBAKf,QAAQ;;wBAUF,QAAQ;qBAE1B;YAC/B,KAAK,EAAE,KAAK;SACZ;;IA3KM,MAAM;QACZ,QACC,EAAC,IAAI,QACJ,qBACC,KAAK,EAAE;gBACN,aAAa,EAAE,IAAI;gBACnB,MAAM,EAAE,IAAI;gBACZ,CAAC,IAAI,CAAC,QAAkB,GAAG,IAAI,CAAC,QAAQ,KAAK,QAAQ;gBACrD,CAAC,IAAI,CAAC,YAAsB,GAAG,IAAI,CAAC,QAAQ,KAAK,QAAQ,IAAI,OAAO,IAAI,CAAC,YAAY,KAAK,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC;aAClI,EACD,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,EACjC,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,kBAAkB,EAC5B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACP,EACjB,WAAK,KAAK,EAAC,iBAAiB,GAAO,EACnC,qBACC,KAAK,EAAC,kBAAkB,EACxB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,QACV,MAAM,EAAC,+BAA+B,EACtC,MAAM,EAAE,YAAY,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,WAAW,GAAG,QAAQ,EAAE,EAC/D,GAAG,EAAE,IAAI,CAAC,kBAAkB,GACZ,EACjB,WAAK,KAAK,EAAC,SAAS,EAAC,GAAG,EAAE,IAAI,CAAC,qBAAqB,IACnD,WAAK,KAAK,EAAC,iBAAiB,IAC3B,eAAQ,CACH,CACD,CACA,EACN;KACF;IAoIM,oBAAoB,CAAC,KAAe;QAC1C,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;KACzB;IAGM,YAAY,CAAC,KAAe;QAClC,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE;YACzB,KAAK,EAAE;gBACN,UAAU,EAAE,CAAC,KAAK;oBACjB,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;iBAC7B;aACD;SACD,CAAC,CAAC;KACH;IAEM,iBAAiB;QACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSplitButton"],"sources":["src/components/split-button/style.css?tag=kol-split-button&mode=default&encapsulation=shadow","src/components/split-button/component.tsx"],"sourcesContent":["@import url(../style.css);\n:host {\n\tdisplay: flex;\n\tposition: relative;\n}\n.main-button {\n\tflex-grow: 1;\n\ttext-align: left;\n}\n.main-button kol-span-wc {\n\tplace-items: start;\n}\n.secondary-button button {\n\theight: 100%;\n}\n.horizontal-line {\n\tbackground-color: rgba(0, 0, 0, 0.2);\n\tborder-radius: 2px;\n\theight: 70%;\n\tmargin-block: auto;\n\twidth: 1px;\n}\n/* popover */\n.popover {\n\theight: 0;\n\tleft: 0;\n\tmin-width: 100%;\n\toverflow: hidden;\n\tposition: absolute;\n\ttop: 100%;\n\ttransition: height 0.3s ease-in-out;\n}\n.popover-content {\n\tinset: 0 0 auto 0;\n\tmin-width: 100%;\n\tposition: absolute;\n}\n","import { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { Stringified } from '../../types/common';\nimport { AlternativeButtonLinkRolePropType } from '../../types/props/alternative-button-link-role';\nimport { ButtonCallbacksPropType } from '../../types/props/button-callbacks';\nimport { ButtonTypePropType } from '../../types/props/button-type';\nimport { ButtonVariantPropType } from '../../types/props/button-variant';\nimport { CustomClassPropType } from '../../types/props/custom-class';\nimport { IconsPropType } from '../../types/props/icons';\nimport { LabelPropType } from '../../types/props/label';\nimport { validateShow } from '../../types/props/show';\nimport { SyncValueBySelectorPropType } from '../../types/props/sync-value-by-selector';\nimport { TooltipAlignPropType } from '../../types/props/tooltip-align';\nimport { StencilUnknown } from '../../types/unknown';\nimport { API, States } from './types';\n\n/**\n * @slot - Ermöglicht das Einfügen beliebigen HTMLs in das dropdown.\n */\n@Component({\n\ttag: 'kol-split-button',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolSplitButton implements API {\n\tprivate dropdown: HTMLDivElement | undefined;\n\tprivate dropdownContent: HTMLDivElement | undefined;\n\n\tprivate readonly clickButtonHandler = {\n\t\tonClick: (e: MouseEvent) => {\n\t\t\tif (typeof this._on?.onClick === 'function') {\n\t\t\t\t// TODO: this._on is not validated\n\t\t\t\tthis._on?.onClick(e, this._value);\n\t\t\t} else {\n\t\t\t\tthis.toggleDropdown();\n\t\t\t}\n\t\t},\n\t};\n\tprivate readonly clickToggleHandler = { onClick: () => this.toggleDropdown() };\n\n\tprivate readonly openDropdown = () => {\n\t\tif (this.dropdown && this.dropdownContent) {\n\t\t\tthis.dropdown.style.height = `${this.dropdownContent.clientHeight}px`;\n\t\t\tthis.state = { ...this.state, _show: true };\n\t\t}\n\t};\n\tprivate readonly closeDropdown = () => {\n\t\tif (this.dropdown && this.dropdownContent) {\n\t\t\tthis.dropdown.style.height = ``;\n\t\t\tthis.state = { ...this.state, _show: false };\n\t\t}\n\t};\n\tprivate readonly toggleDropdown = (value?: boolean) => {\n\t\tconst openIt = typeof value === 'boolean' ? value : !this.state._show;\n\t\tif (openIt) this.openDropdown();\n\t\telse this.closeDropdown();\n\t};\n\tprivate forceCounter = 100; // because the dropdown could be empty\n\tprivate readonly forceOpenDropdown = () => {\n\t\tif (this.forceCounter > 0) {\n\t\t\tif (this.dropdownContent?.clientHeight) this.openDropdown();\n\t\t\telse setTimeout(this.forceOpenDropdown, 10);\n\t\t\tthis.forceCounter--;\n\t\t}\n\t};\n\n\tprivate readonly catchDropdownElements = (e?: HTMLDivElement | null) => {\n\t\tif (e) {\n\t\t\tthis.dropdown = e;\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.dropdownContent = e.firstChild as HTMLDivElement;\n\t\t\t\tif (this._show) this.forceOpenDropdown();\n\t\t\t});\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<kol-button-wc\n\t\t\t\t\tclass={{\n\t\t\t\t\t\t'main-button': true,\n\t\t\t\t\t\tbutton: true,\n\t\t\t\t\t\t[this._variant as string]: this._variant !== 'custom',\n\t\t\t\t\t\t[this._customClass as string]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,\n\t\t\t\t\t}}\n\t\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t\t_customClass={this._customClass}\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_icons={this._icons || this._icon}\n\t\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_name={this._name}\n\t\t\t\t\t_on={this.clickButtonHandler}\n\t\t\t\t\t_role={this._role}\n\t\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_value={this._value}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t></kol-button-wc>\n\t\t\t\t<div class=\"horizontal-line\"></div>\n\t\t\t\t<kol-button-wc\n\t\t\t\t\tclass=\"secondary-button\"\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_hideLabel\n\t\t\t\t\t_icons=\"codicon codicon-triangle-down\"\n\t\t\t\t\t_label={`dropdown ${this.state._show ? 'schließen' : 'öffnen'}`} // @todo: translate\n\t\t\t\t\t_on={this.clickToggleHandler}\n\t\t\t\t></kol-button-wc>\n\t\t\t\t<div class=\"popover\" ref={this.catchDropdownElements}>\n\t\t\t\t\t<div class=\"popover-content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\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?: string;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Deprecated: Setzt die semantische Beschriftung der Komponente.\n\t *\n\t * @deprecated use _label instead\n\t */\n\t@Prop() public _ariaLabel?: string;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\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 * 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 * @deprecated Use _icons.\n\t */\n\t@Prop() public _icon?: IconsPropType;\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 internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\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 * 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 * Makes the element show up.\n\t * @TODO: Change type back to `ShowPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _show?: boolean = false;\n\n\t/**\n\t * Deprecated: Defines whether to show the dropdown menu.\n\t * @deprecated use _show instead\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _showDropdown?: boolean = false;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\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 * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value that the button emits on click.\n\t */\n\t@Prop() public _value?: Stringified<StencilUnknown>;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n\n\t@State() public state: States = {\n\t\t_show: false,\n\t};\n\n\t/**\n\t * @deprecated will be removed in the next major version\n\t */\n\t@Watch('_show')\n\tpublic validateShowDropdown(value?: boolean): void {\n\t\tthis.validateShow(value);\n\t}\n\n\t@Watch('_show')\n\tpublic validateShow(value?: boolean): void {\n\t\tvalidateShow(this, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: (value) => {\n\t\t\t\t\tthis.toggleDropdown(!!value);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateShow(this._show || this._show);\n\t}\n}\n"],"version":3}
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
2
2
 
3
3
  interface KolSymbol extends Components.KolSymbol, HTMLElement {}
4
4
  export const KolSymbol: {
5
- prototype: KolSymbol;
6
- new (): KolSymbol;
5
+ prototype: KolSymbol;
6
+ new (): KolSymbol;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -1 +1 @@
1
- {"file":"kol-symbol.js","mappings":";;;;;;;;MAWaA,WAAS;;;;;;;iBA4BW;MAC/B,MAAM,EAAE,SAAS,CAAC,aAAa,CAAC;MAChC,OAAO,EAAE,GAAG;KACZ;;EA9BM,MAAM;IACZ,QACC,EAAC,IAAI,QACJ,0BAAkB,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAC,MAAM,IAC9C,IAAI,CAAC,KAAK,CAAC,OAAO,CACb,CACD,EACN;GACF;EA4BM,iBAAiB,CAAC,KAAc;IACtC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;GAC1B;EAGM,aAAa,CAAC,KAAqB;IACzC,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;GAC3B;EAGM,cAAc,CAAC,KAAc;IACnC,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE;MACnC,QAAQ,EAAE,IAAI;KACd,CAAC,CAAC;GACH;EAEM,iBAAiB;IACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;IACnD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;GAClC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSymbol"],"sources":["src/components/symbol/component.tsx"],"sourcesContent":["import { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { watchString } from '../../utils/prop.validators';\nimport { API, States } from './types';\n\n@Component({\n\ttag: 'kol-symbol',\n\tshadow: false,\n})\nexport class KolSymbol implements API {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<span aria-label={this.state._label} role=\"term\">\n\t\t\t\t\t{this.state._symbol}\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Deprecated: Setzt die semantische Beschriftung der Komponente.\n\t * @deprecated use _label\n\t */\n\t@Prop() public _ariaLabel?: string;\n\n\t/**\n\t * Sets the visible or semantic label of the component (e.g. Aria label, Label, Headline, Caption, Summary, etc.).\n\t */\n\t// TODO v2: make required\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Dieses Property gibt den String an der angezeigt werden soll.\n\t */\n\t@Prop() public _symbol!: string;\n\n\t@State() public state: States = {\n\t\t_label: translate('kol-warning'),\n\t\t_symbol: '…', // ⚠ required\n\t};\n\n\t/**\n\t * @deprecated use _label\n\t */\n\t@Watch('_ariaLabel')\n\tpublic validateAriaLabel(value?: string): void {\n\t\tthis.validateLabel(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t@Watch('_symbol')\n\tpublic validateSymbol(value?: string): void {\n\t\twatchString(this, '_symbol', value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label || this._ariaLabel);\n\t\tthis.validateSymbol(this._symbol);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-symbol.js","mappings":";;;;;;;;MAWaA,WAAS;;;;;;;qBA4BW;YAC/B,MAAM,EAAE,SAAS,CAAC,aAAa,CAAC;YAChC,OAAO,EAAE,GAAG;SACZ;;IA9BM,MAAM;QACZ,QACC,EAAC,IAAI,QACJ,0BAAkB,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAC,MAAM,IAC9C,IAAI,CAAC,KAAK,CAAC,OAAO,CACb,CACD,EACN;KACF;IA4BM,iBAAiB,CAAC,KAAc;QACtC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KAC1B;IAGM,aAAa,CAAC,KAAqB;QACzC,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KAC3B;IAGM,cAAc,CAAC,KAAc;QACnC,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE;YACnC,QAAQ,EAAE,IAAI;SACd,CAAC,CAAC;KACH;IAEM,iBAAiB;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAClC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolSymbol"],"sources":["src/components/symbol/component.tsx"],"sourcesContent":["import { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { watchString } from '../../utils/prop.validators';\nimport { API, States } from './types';\n\n@Component({\n\ttag: 'kol-symbol',\n\tshadow: false,\n})\nexport class KolSymbol implements API {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<span aria-label={this.state._label} role=\"term\">\n\t\t\t\t\t{this.state._symbol}\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Deprecated: Setzt die semantische Beschriftung der Komponente.\n\t * @deprecated use _label\n\t */\n\t@Prop() public _ariaLabel?: string;\n\n\t/**\n\t * Sets the visible or semantic label of the component (e.g. Aria label, Label, Headline, Caption, Summary, etc.).\n\t */\n\t// TODO v2: make required\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Dieses Property gibt den String an der angezeigt werden soll.\n\t */\n\t@Prop() public _symbol!: string;\n\n\t@State() public state: States = {\n\t\t_label: translate('kol-warning'),\n\t\t_symbol: '…', // ⚠ required\n\t};\n\n\t/**\n\t * @deprecated use _label\n\t */\n\t@Watch('_ariaLabel')\n\tpublic validateAriaLabel(value?: string): void {\n\t\tthis.validateLabel(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t@Watch('_symbol')\n\tpublic validateSymbol(value?: string): void {\n\t\twatchString(this, '_symbol', value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label || this._ariaLabel);\n\t\tthis.validateSymbol(this._symbol);\n\t}\n}\n"],"version":3}
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
2
2
 
3
3
  interface KolTable extends Components.KolTable, HTMLElement {}
4
4
  export const KolTable: {
5
- prototype: KolTable;
6
- new (): KolTable;
5
+ prototype: KolTable;
6
+ new (): KolTable;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{a as translate}from"./i18n.js";import{v as validateLabel}from"./label.js";import{v as setState,T as emptyStringByArrayHandler,b as watchString,f as parseJson,w as watchValidator,o as objectObjectHandler,d as devHint}from"./prop.validators.js";import{d as defineCustomElement$c}from"./shadow.js";import{d as defineCustomElement$b}from"./component6.js";import{d as defineCustomElement$a}from"./shadow3.js";import{d as defineCustomElement$9}from"./component5.js";import{d as defineCustomElement$8}from"./component4.js";import{d as defineCustomElement$7}from"./component.js";import{d as defineCustomElement$6}from"./component13.js";import{d as defineCustomElement$5}from"./component15.js";import{d as defineCustomElement$4}from"./component16.js";import{d as defineCustomElement$3}from"./component2.js";import{d as defineCustomElement$2}from"./component3.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}:host{display:block}:host{display:grid}:host>div.table{max-width:100%;order:1;overflow-x:auto;overflow-y:hidden}:host>div.table table{width:100%}th>div{display:grid;grid-template-columns:1fr auto;place-items:center}div.pagination{order:2}div.pagination,div.pagination>div:last-child{display:grid;place-items:center}@media (min-width: 1024px){div.pagination,div.pagination>div:last-child{grid-auto-flow:column}div.pagination kol-pagination{display:flex}}",PAGINATION_OPTIONS=[10,20,50,100],CELL_REFS=new Map,KolTable$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.horizontal=!0,this.sortDirections=new Map,this.showPagination=!1,this.pageStartSlice=0,this.pageEndSlice=10,this.disableSort=!1,this.sortedColumnHead={label:"",key:"",sortDirection:"NOS"},this.ariaLive="",this.setSortDirection=(t,e)=>{this.sortDirections.clear(),this.sortDirections.set(t,e),this.sortFunction=t},this.handlePagination={onClick:(t,e)=>{var a;"function"==typeof(null===(a=this.state._pagination._on)||void 0===a?void 0:a.onClick)&&this.state._pagination._on.onClick(t,e),setState(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_page:e}))},onChangePage:(t,e)=>{var a;"function"==typeof(null===(a=this.state._pagination._on)||void 0===a?void 0:a.onChangePage)&&this.state._pagination._on.onChangePage(t,e),setState(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_page:e}))},onChangePageSize:(t,e)=>{var a;"function"==typeof(null===(a=this.state._pagination._on)||void 0===a?void 0:a.onChangePageSize)&&this.state._pagination._on.onChangePageSize(t,e),setState(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_pageSize:e})),setState(this,"_pageSize",e)}},this.beforePatchPagination=(t,e,a,i)=>{"_pagination"===i&&(this.showPagination=!0===t||""===t||"object"==typeof t&&null!==t)},this.updateSortedData=(t=this.sortedColumnHead)=>{let e=this.state._data;if("function"==typeof this.sortFunction)switch(this.sortDirections.get(this.sortFunction)){case"ASC":e=this.sortFunction([...this.state._data]),this.ariaLive=translate("kol-sort-ascending",{placeholders:{column:t.label}}),this.sortedColumnHead={label:t.label,key:t.key,sortDirection:"ASC"};break;case"DESC":e=this.sortFunction([...this.state._data]).reverse(),this.ariaLive=translate("kol-sort-descending",{placeholders:{column:t.label}}),this.sortedColumnHead={label:t.label,key:t.key,sortDirection:"DESC"};break;default:e=[...this.state._data],this.sortedColumnHead={label:"",key:"",sortDirection:"NOS"},this.ariaLive=translate("kol-sort-none",{placeholders:{column:t.label}})}setState(this,"_sortedData",e)},this.renderTableRow=(t,e)=>h("tr",{key:`tbody-${e}`},t.map(((t,a)=>this.renderTableCell(t,e,a)))),this.renderTableCell=(t,e,a)=>{if(!1===t.asTd){const i=t;let o,n="codicon codicon-fold";if(!this.disableSort&&i.key===this.sortedColumnHead.key)switch(this.sortedColumnHead.sortDirection){case"ASC":n="codicon codicon-chevron-up",o="ascending";break;case"DESC":n="codicon codicon-chevron-down",o="descending"}return h("th",{key:`tbody-${e}-${a}-${i.label}`,scope:"number"==typeof i.rowSpan&&i.rowSpan>1?"rowgroup":"row",colSpan:i.colSpan,rowSpan:i.rowSpan,style:{textAlign:i.textAlign,width:i.width},"aria-sort":o,"data-sort":`sort-${this.sortDirections.get(i.sort)}`},h("div",{class:"w-full flex gap-1 items-center"},h("div",{class:{"w-full":!0,[i.textAlign]:"string"==typeof i.textAlign&&i.textAlign.length>0},style:{textAlign:i.textAlign}},i.label),!this.disableSort&&"function"==typeof i.sort&&h("kol-button",{exportparts:"icon",_icon:n,_hideLabel:!0,_label:translate("kol-change-order",{placeholders:{colLabel:i.label}}),_on:{onClick:()=>{if("function"==typeof i.sort){switch(this.sortFunction=i.sort,this.sortDirections.get(this.sortFunction)){case"ASC":this.setSortDirection(this.sortFunction,"DESC");break;case"DESC":this.setSortDirection(this.sortFunction,"NOS");break;default:this.setSortDirection(this.sortFunction,"ASC")}this.updateSortedData(i)}}},_variant:"ghost"})))}return h("td",{key:`tbody-${e}-${a}-${t.label}`,class:{[t.textAlign]:"string"==typeof t.textAlign&&t.textAlign.length>0},colSpan:t.colSpan,rowSpan:t.rowSpan,style:{textAlign:t.textAlign,width:t.width},ref:"function"==typeof t.render?e=>{this.cellRender(t,e)}:void 0},"function"!=typeof t.render?t.label:"")},this.renderFoot=()=>{const t=this.createDataField(this.state._dataFoot,this.state._headers,!0);return h("tfoot",null,t.map(this.renderTableRow))},this._caption=void 0,this._data=void 0,this._dataFoot=void 0,this._headers=void 0,this._label=void 0,this._minWidth=void 0,this._pagination=void 0,this.state={_label:"…",_data:[],_dataFoot:[],_headers:{horizontal:[],vertical:[]},_pagination:{_page:1,_pageSize:10,_max:0},_sortedData:[]}}validateCaption(t){this.validateLabel(t)}validateData(t){emptyStringByArrayHandler(t,(()=>{objectObjectHandler(t,(()=>{void 0===t&&(t=[]);try{t=parseJson(t)}catch(t){}Array.isArray(t)&&void 0===t.find((t=>!("object"==typeof t&&null!==t)))&&setState(this,"_data",t,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}))}))}validateDataFoot(t){emptyStringByArrayHandler(t,(()=>{objectObjectHandler(t,(()=>{void 0===t&&(t=[]);try{t=parseJson(t)}catch(t){}Array.isArray(t)&&void 0===t.find((t=>!("object"==typeof t&&null!==t)))&&setState(this,"_dataFoot",t,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}))}))}validateHeaders(t){emptyStringByArrayHandler(t,(()=>{objectObjectHandler(t,(()=>{try{t=parseJson(t)}catch(t){}watchValidator(this,"_headers",(t=>"object"==typeof t&&null!==t),new Set(["KoliBriTableHeaders"]),t,{hooks:{beforePatch:t=>{var e,a,i,o;const n=t=>{t.forEach(((t,e)=>{const a=t.sortDirection;"function"!=typeof t.sort||"ASC"!==a&&"DESC"!==a||(this.setSortDirection(t.sort,a),setTimeout((()=>this.updateSortedData({key:t.key||`cell-${e}`,label:t.label,sortDirection:a}))))}))},s=t;null===(e=s.horizontal)||void 0===e||e.forEach(n),null===(a=s.vertical)||void 0===a||a.forEach(n),s.horizontal&&s.vertical&&(null===(i=s.horizontal)||void 0===i?void 0:i.length)>0&&(null===(o=s.vertical)||void 0===o?void 0:o.length)>0&&(this.disableSort=!0,devHint("Table: You can not sort the table data, if horizontal and vertical headers are defined at the same time. (https://github.com/public-ui/kolibri/issues/2372)"))}}})}))}))}validateLabel(t){validateLabel(this,t)}validateMinWidth(t){watchString(this,"_minWidth",t,{defaultValue:void 0})}validatePagination(t){try{t=parseJson(t)}catch(t){}watchValidator(this,"_pagination",(()=>!0),new Set(["boolean","KoliBriTablePagination"]),t,{hooks:{beforePatch:this.beforePatchPagination}})}componentWillLoad(){this.validateData(this._data),this.validateDataFoot(this._dataFoot),this.validateHeaders(this._headers),this.validateLabel(this._label||this._caption),this.validateMinWidth(this._minWidth),this.validatePagination(this._pagination)}getNumberOfCols(t,e){let a=0;return t.forEach((t=>{let e=0;t.forEach((t=>{var a;return e+=null!==(a=t.colSpan)&&void 0!==a?a:1})),a<e&&(a=e)})),0===a&&(a=e.length),a}getNumberOfRows(t,e){let a=0;return t.forEach((t=>{let e=0;t.forEach((t=>{var a;return e+=null!==(a=t.rowSpan)&&void 0!==a?a:1})),a<e&&(a=e)})),0===a?a=e.length:a-=this.state._dataFoot.length,a}filterHeaderKeys(t){const e=[];return t.forEach((t=>{t.forEach((t=>{"string"==typeof t.key&&e.push(t)}))})),e}getPrimaryHeader(t){var e,a;let i=this.filterHeaderKeys(null!==(e=t.horizontal)&&void 0!==e?e:[]);return this.horizontal=!0,0===i.length&&(i=this.filterHeaderKeys(null!==(a=t.vertical)&&void 0!==a?a:[]),i.length>0&&(this.horizontal=!1)),i}createDataField(t,e,a){e.horizontal=Array.isArray(null==e?void 0:e.horizontal)?e.horizontal:[],e.vertical=Array.isArray(null==e?void 0:e.vertical)?e.vertical:[];const i=this.getPrimaryHeader(e),o=this.getNumberOfCols(e.horizontal,t);let n=this.getNumberOfRows(e.vertical,t),s=0;a&&(s=n,n+=this.state._dataFoot.length);const l=[],r=[],d=[];e.vertical.forEach(((t,e)=>{r[e]=0,d[e]=[]}));for(let h=s;h<n;h++){const n=[];e.vertical.forEach(((t,e)=>{let a=0;if(d[e].forEach((t=>a+=t)),a<=h){const i=t[h-a+r[e]];if("object"==typeof i){n.push(Object.assign(Object.assign({},i),{asTd:!1,data:{}}));let t=1;if("number"==typeof i.rowSpan&&i.rowSpan>1&&(t=i.rowSpan),d[e].push(t),"number"==typeof i.colSpan&&i.colSpan>1)for(let a=1;a<i.colSpan;a++)d[e+a].push(t);r[e]++}}}));for(let e=0;e<o;e++)if(!0===this.horizontal){const o=a?this.state._dataFoot[h-s]:t[h];"object"==typeof i[e]&&null!==i[e]&&"string"==typeof i[e].key&&"object"==typeof o&&null!==o&&n.push(Object.assign(Object.assign({},i[e]),{colSpan:void 0,data:o,label:o[i[e].key],rowSpan:void 0}))}else"object"==typeof i[h]&&null!==i[h]&&"string"==typeof i[h].key&&"object"==typeof t[e]&&null!==t[e]&&n.push(Object.assign(Object.assign({},i[h]),{colSpan:void 0,data:t[e],label:t[e][i[h].key],rowSpan:void 0}));l.push(n)}if(0===t.length){let t=0,a=0;Array.isArray(e.horizontal)&&e.horizontal.length>0&&e.horizontal[0].forEach((e=>{t+=e.colSpan||1})),Array.isArray(e.vertical)&&e.vertical.length>0&&(t-=e.vertical.length,e.vertical[0].forEach((t=>{a+=t.rowSpan||1})));const i={colSpan:t,label:translate("kol-no-entries"),render:void 0,rowSpan:Math.max(a,1)};0===l.length?l.push([i]):l[0].push(i)}return l}selectDisplayedData(t,e,a){return"number"==typeof e&&e>0&&"number"==typeof a&&a>0?(this.pageStartSlice=e*(a-1),this.pageEndSlice=e*a>t.length?t.length:e*a,t.slice(this.pageStartSlice,this.pageEndSlice)):(this.pageStartSlice=0,this.pageEndSlice=t.length,t)}cellRender(t,e){e&&(clearTimeout(CELL_REFS.get(e)),CELL_REFS.set(e,setTimeout((()=>{clearTimeout(CELL_REFS.get(e));const a=t.render(e,{asTd:t.asTd,label:t.label,textAlign:t.textAlign,width:t.width},t.data,this.state._data);"string"==typeof a&&(e.textContent=a)}))))}render(){var t,e;const a=this.selectDisplayedData(this.state._sortedData,this.showPagination?null!==(e=null===(t=this.state._pagination)||void 0===t?void 0:t._pageSize)&&void 0!==e?e:10:this.state._sortedData.length,this.state._pagination._page||1),i=this.createDataField(a,this.state._headers);return h(Host,null,h("span",{style:{height:"0",width:"0",overflow:"hidden"},"aria-live":"assertive"},this.ariaLive),this.pageEndSlice>0&&this.showPagination&&h("div",{class:"pagination"},h("span",null,"Einträge ",this.pageEndSlice>0?this.pageStartSlice+1:0," bis ",this.pageEndSlice," von"," ",this.state._pagination._max||(Array.isArray(this.state._data)?this.state._data.length:0)," angezeigt"),h("div",null,h("kol-pagination",{_boundaryCount:this.state._pagination._boundaryCount,_customClass:this.state._pagination._customClass,_on:this.handlePagination,_page:this.state._pagination._page,_pageSize:this.state._pagination._pageSize,_pageSizeOptions:this.state._pagination._pageSizeOptions||PAGINATION_OPTIONS,_siblingCount:this.state._pagination._siblingCount,_tooltipAlign:"bottom",_max:this.state._pagination._max||this.state._pagination._total||this.state._data.length,_label:translate("kol-table-pagination-label",{placeholders:{label:this.state._label}})}))),h("div",{class:"table",tabindex:"0"},h("table",{style:{minWidth:this.state._minWidth}},h("caption",null,this.state._label),Array.isArray(this.state._headers.horizontal)&&h("thead",null,this.state._headers.horizontal.map(((t,e)=>h("tr",{key:`thead-${e}`},t.map(((t,a)=>{if(!0===t.asTd)return h("td",{key:`thead-${e}-${a}-${t.label}`,class:{[t.textAlign]:"string"==typeof t.textAlign&&t.textAlign.length>0},colSpan:t.colSpan,rowSpan:t.rowSpan,style:{textAlign:t.textAlign,width:t.width},ref:"function"==typeof t.render?e=>{this.cellRender(t,e)}:void 0},"function"!=typeof t.render?t.label:"");{const i=t;let o,n="codicon codicon-fold";if(i.key===this.sortedColumnHead.key)switch(this.sortedColumnHead.sortDirection){case"ASC":n="codicon codicon-chevron-up",o="ascending";break;case"DESC":n="codicon codicon-chevron-down",o="descending"}return h("th",{key:`thead-${e}-${a}-${i.label}`,scope:"number"==typeof i.colSpan&&i.colSpan>1?"colgroup":"col",colSpan:i.colSpan,rowSpan:i.rowSpan,style:{textAlign:t.textAlign,width:t.width},"aria-sort":o,"data-sort":o?`sort-${this.sortedColumnHead.sortDirection}`:"sort-NOS"},h("div",{class:"w-full flex gap-1 items-center"},h("div",{class:{"w-full":!0,[t.textAlign]:"string"==typeof t.textAlign&&t.textAlign.length>0},style:{textAlign:t.textAlign}},t.label),!this.disableSort&&"function"==typeof i.sort&&h("kol-button",{exportparts:"icon",_icon:n,_hideLabel:!0,_label:translate("kol-change-order",{placeholders:{colLabel:t.label}}),_on:{onClick:()=>{if("function"==typeof i.sort){switch(this.sortFunction=i.sort,this.sortDirections.get(this.sortFunction)){case"ASC":this.setSortDirection(this.sortFunction,"DESC");break;case"DESC":this.setSortDirection(this.sortFunction,"NOS");break;default:this.setSortDirection(this.sortFunction,"ASC")}this.updateSortedData(i)}}},_variant:"ghost"})))}})))))),h("tbody",null,i.map(this.renderTableRow)),this.state._dataFoot.length>0?this.renderFoot():"")))}static get watchers(){return{_caption:["validateCaption"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headers:["validateHeaders"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_pagination:["validatePagination"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-table",{_caption:[1],_data:[1],_dataFoot:[1,"_data-foot"],_headers:[1],_label:[1],_minWidth:[1,"_min-width"],_pagination:[8],state:[32]},void 0,{_caption:["validateCaption"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headers:["validateHeaders"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_pagination:["validatePagination"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-table","kol-alert","kol-alert-wc","kol-button","kol-button-wc","kol-heading-wc","kol-icon","kol-input","kol-pagination","kol-select","kol-span-wc","kol-tooltip-wc"].forEach((t=>{switch(t){case"kol-table":customElements.get(t)||customElements.define(t,KolTable$1);break;case"kol-alert":customElements.get(t)||defineCustomElement$c();break;case"kol-alert-wc":customElements.get(t)||defineCustomElement$b();break;case"kol-button":customElements.get(t)||defineCustomElement$a();break;case"kol-button-wc":customElements.get(t)||defineCustomElement$9();break;case"kol-heading-wc":customElements.get(t)||defineCustomElement$8();break;case"kol-icon":customElements.get(t)||defineCustomElement$7();break;case"kol-input":customElements.get(t)||defineCustomElement$6();break;case"kol-pagination":customElements.get(t)||defineCustomElement$5();break;case"kol-select":customElements.get(t)||defineCustomElement$4();break;case"kol-span-wc":customElements.get(t)||defineCustomElement$3();break;case"kol-tooltip-wc":customElements.get(t)||defineCustomElement$2()}}))}const KolTable=KolTable$1,defineCustomElement=defineCustomElement$1;export{KolTable,defineCustomElement};
4
+ import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{a as translate}from"./i18n.js";import{v as validateLabel}from"./label.js";import{v as setState,T as emptyStringByArrayHandler,b as watchString,f as parseJson,w as watchValidator,o as objectObjectHandler,d as devHint}from"./prop.validators.js";import{d as defineCustomElement$c}from"./shadow.js";import{d as defineCustomElement$b}from"./component6.js";import{d as defineCustomElement$a}from"./shadow3.js";import{d as defineCustomElement$9}from"./component5.js";import{d as defineCustomElement$8}from"./component4.js";import{d as defineCustomElement$7}from"./component.js";import{d as defineCustomElement$6}from"./component13.js";import{d as defineCustomElement$5}from"./component15.js";import{d as defineCustomElement$4}from"./component16.js";import{d as defineCustomElement$3}from"./component2.js";import{d as defineCustomElement$2}from"./component3.js";const defaultStyleCss=":host{--a11y-min-size:44px;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>kol-span-wc>span>span{display:none}:host{display:block}:host{display:grid}:host>div.table{max-width:100%;order:1;overflow-x:auto;overflow-y:hidden}:host>div.table table{width:100%}th>div{display:grid;grid-template-columns:1fr auto;place-items:center}div.pagination{order:2}div.pagination,div.pagination>div:last-child{display:grid;place-items:center}@media (min-width: 1024px){div.pagination,div.pagination>div:last-child{grid-auto-flow:column}div.pagination kol-pagination{display:flex}}",PAGINATION_OPTIONS=[10,20,50,100],CELL_REFS=new Map,KolTable$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.horizontal=!0,this.sortDirections=new Map,this.showPagination=!1,this.pageStartSlice=0,this.pageEndSlice=10,this.disableSort=!1,this.sortedColumnHead={label:"",key:"",sortDirection:"NOS"},this.ariaLive="",this.setSortDirection=(t,e)=>{this.sortDirections.clear(),this.sortDirections.set(t,e),this.sortFunction=t},this.handlePagination={onClick:(t,e)=>{var a;"function"==typeof(null===(a=this.state._pagination._on)||void 0===a?void 0:a.onClick)&&this.state._pagination._on.onClick(t,e),setState(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_page:e}))},onChangePage:(t,e)=>{var a;"function"==typeof(null===(a=this.state._pagination._on)||void 0===a?void 0:a.onChangePage)&&this.state._pagination._on.onChangePage(t,e),setState(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_page:e}))},onChangePageSize:(t,e)=>{var a;"function"==typeof(null===(a=this.state._pagination._on)||void 0===a?void 0:a.onChangePageSize)&&this.state._pagination._on.onChangePageSize(t,e),setState(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_pageSize:e})),setState(this,"_pageSize",e)}},this.beforePatchPagination=(t,e,a,i)=>{"_pagination"===i&&(this.showPagination=!0===t||""===t||"object"==typeof t&&null!==t)},this.updateSortedData=(t=this.sortedColumnHead)=>{let e=this.state._data;if("function"==typeof this.sortFunction)switch(this.sortDirections.get(this.sortFunction)){case"ASC":e=this.sortFunction([...this.state._data]),this.ariaLive=translate("kol-sort-ascending",{placeholders:{column:t.label}}),this.sortedColumnHead={label:t.label,key:t.key,sortDirection:"ASC"};break;case"DESC":e=this.sortFunction([...this.state._data]).reverse(),this.ariaLive=translate("kol-sort-descending",{placeholders:{column:t.label}}),this.sortedColumnHead={label:t.label,key:t.key,sortDirection:"DESC"};break;default:e=[...this.state._data],this.sortedColumnHead={label:"",key:"",sortDirection:"NOS"},this.ariaLive=translate("kol-sort-none",{placeholders:{column:t.label}})}setState(this,"_sortedData",e)},this.renderTableRow=(t,e)=>h("tr",{key:`tbody-${e}`},t.map(((t,a)=>this.renderTableCell(t,e,a)))),this.renderTableCell=(t,e,a)=>{if(!1===t.asTd){const i=t;let o,n="codicon codicon-fold";if(!this.disableSort&&i.key===this.sortedColumnHead.key)switch(this.sortedColumnHead.sortDirection){case"ASC":n="codicon codicon-chevron-up",o="ascending";break;case"DESC":n="codicon codicon-chevron-down",o="descending"}return h("th",{key:`tbody-${e}-${a}-${i.label}`,scope:"number"==typeof i.rowSpan&&i.rowSpan>1?"rowgroup":"row",colSpan:i.colSpan,rowSpan:i.rowSpan,style:{textAlign:i.textAlign,width:i.width},"aria-sort":o,"data-sort":`sort-${this.sortDirections.get(i.sort)}`},h("div",{class:"w-full flex gap-1 items-center"},h("div",{class:{"w-full":!0,[i.textAlign]:"string"==typeof i.textAlign&&i.textAlign.length>0},style:{textAlign:i.textAlign}},i.label),!this.disableSort&&"function"==typeof i.sort&&h("kol-button",{exportparts:"icon",_icon:n,_hideLabel:!0,_label:translate("kol-change-order",{placeholders:{colLabel:i.label}}),_on:{onClick:()=>{if("function"==typeof i.sort){switch(this.sortFunction=i.sort,this.sortDirections.get(this.sortFunction)){case"ASC":this.setSortDirection(this.sortFunction,"DESC");break;case"DESC":this.setSortDirection(this.sortFunction,"NOS");break;default:this.setSortDirection(this.sortFunction,"ASC")}this.updateSortedData(i)}}},_variant:"ghost"})))}return h("td",{key:`tbody-${e}-${a}-${t.label}`,class:{[t.textAlign]:"string"==typeof t.textAlign&&t.textAlign.length>0},colSpan:t.colSpan,rowSpan:t.rowSpan,style:{textAlign:t.textAlign,width:t.width},ref:"function"==typeof t.render?e=>{this.cellRender(t,e)}:void 0},"function"!=typeof t.render?t.label:"")},this.renderFoot=()=>{const t=this.createDataField(this.state._dataFoot,this.state._headers,!0);return h("tfoot",null,t.map(this.renderTableRow))},this._caption=void 0,this._data=void 0,this._dataFoot=void 0,this._headers=void 0,this._label=void 0,this._minWidth=void 0,this._pagination=void 0,this.state={_label:"…",_data:[],_dataFoot:[],_headers:{horizontal:[],vertical:[]},_pagination:{_page:1,_pageSize:10,_max:0},_sortedData:[]}}validateCaption(t){this.validateLabel(t)}validateData(t){emptyStringByArrayHandler(t,(()=>{objectObjectHandler(t,(()=>{void 0===t&&(t=[]);try{t=parseJson(t)}catch(t){}Array.isArray(t)&&void 0===t.find((t=>!("object"==typeof t&&null!==t)))&&setState(this,"_data",t,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}))}))}validateDataFoot(t){emptyStringByArrayHandler(t,(()=>{objectObjectHandler(t,(()=>{void 0===t&&(t=[]);try{t=parseJson(t)}catch(t){}Array.isArray(t)&&void 0===t.find((t=>!("object"==typeof t&&null!==t)))&&setState(this,"_dataFoot",t,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}))}))}validateHeaders(t){emptyStringByArrayHandler(t,(()=>{objectObjectHandler(t,(()=>{try{t=parseJson(t)}catch(t){}watchValidator(this,"_headers",(t=>"object"==typeof t&&null!==t),new Set(["KoliBriTableHeaders"]),t,{hooks:{beforePatch:t=>{var e,a,i,o;const n=t=>{t.forEach(((t,e)=>{const a=t.sortDirection;"function"!=typeof t.sort||"ASC"!==a&&"DESC"!==a||(this.setSortDirection(t.sort,a),setTimeout((()=>this.updateSortedData({key:t.key||`cell-${e}`,label:t.label,sortDirection:a}))))}))},s=t;null===(e=s.horizontal)||void 0===e||e.forEach(n),null===(a=s.vertical)||void 0===a||a.forEach(n),s.horizontal&&s.vertical&&(null===(i=s.horizontal)||void 0===i?void 0:i.length)>0&&(null===(o=s.vertical)||void 0===o?void 0:o.length)>0&&(this.disableSort=!0,devHint("Table: You can not sort the table data, if horizontal and vertical headers are defined at the same time. (https://github.com/public-ui/kolibri/issues/2372)"))}}})}))}))}validateLabel(t){validateLabel(this,t)}validateMinWidth(t){watchString(this,"_minWidth",t,{defaultValue:void 0})}validatePagination(t){try{t=parseJson(t)}catch(t){}watchValidator(this,"_pagination",(()=>!0),new Set(["boolean","KoliBriTablePagination"]),t,{hooks:{beforePatch:this.beforePatchPagination}})}componentWillLoad(){this.validateData(this._data),this.validateDataFoot(this._dataFoot),this.validateHeaders(this._headers),this.validateLabel(this._label||this._caption),this.validateMinWidth(this._minWidth),this.validatePagination(this._pagination)}getNumberOfCols(t,e){let a=0;return t.forEach((t=>{let e=0;t.forEach((t=>{var a;return e+=null!==(a=t.colSpan)&&void 0!==a?a:1})),a<e&&(a=e)})),0===a&&(a=e.length),a}getNumberOfRows(t,e){let a=0;return t.forEach((t=>{let e=0;t.forEach((t=>{var a;return e+=null!==(a=t.rowSpan)&&void 0!==a?a:1})),a<e&&(a=e)})),0===a?a=e.length:a-=this.state._dataFoot.length,a}filterHeaderKeys(t){const e=[];return t.forEach((t=>{t.forEach((t=>{"string"==typeof t.key&&e.push(t)}))})),e}getPrimaryHeader(t){var e,a;let i=this.filterHeaderKeys(null!==(e=t.horizontal)&&void 0!==e?e:[]);return this.horizontal=!0,0===i.length&&(i=this.filterHeaderKeys(null!==(a=t.vertical)&&void 0!==a?a:[]),i.length>0&&(this.horizontal=!1)),i}createDataField(t,e,a){e.horizontal=Array.isArray(null==e?void 0:e.horizontal)?e.horizontal:[],e.vertical=Array.isArray(null==e?void 0:e.vertical)?e.vertical:[];const i=this.getPrimaryHeader(e),o=this.getNumberOfCols(e.horizontal,t);let n=this.getNumberOfRows(e.vertical,t),s=0;a&&(s=n,n+=this.state._dataFoot.length);const l=[],r=[],d=[];e.vertical.forEach(((t,e)=>{r[e]=0,d[e]=[]}));for(let h=s;h<n;h++){const n=[];e.vertical.forEach(((t,e)=>{let a=0;if(d[e].forEach((t=>a+=t)),a<=h){const i=t[h-a+r[e]];if("object"==typeof i){n.push(Object.assign(Object.assign({},i),{asTd:!1,data:{}}));let t=1;if("number"==typeof i.rowSpan&&i.rowSpan>1&&(t=i.rowSpan),d[e].push(t),"number"==typeof i.colSpan&&i.colSpan>1)for(let a=1;a<i.colSpan;a++)d[e+a].push(t);r[e]++}}}));for(let e=0;e<o;e++)if(!0===this.horizontal){const o=a?this.state._dataFoot[h-s]:t[h];"object"==typeof i[e]&&null!==i[e]&&"string"==typeof i[e].key&&"object"==typeof o&&null!==o&&n.push(Object.assign(Object.assign({},i[e]),{colSpan:void 0,data:o,label:o[i[e].key],rowSpan:void 0}))}else"object"==typeof i[h]&&null!==i[h]&&"string"==typeof i[h].key&&"object"==typeof t[e]&&null!==t[e]&&n.push(Object.assign(Object.assign({},i[h]),{colSpan:void 0,data:t[e],label:t[e][i[h].key],rowSpan:void 0}));l.push(n)}if(0===t.length){let t=0,a=0;Array.isArray(e.horizontal)&&e.horizontal.length>0&&e.horizontal[0].forEach((e=>{t+=e.colSpan||1})),Array.isArray(e.vertical)&&e.vertical.length>0&&(t-=e.vertical.length,e.vertical[0].forEach((t=>{a+=t.rowSpan||1})));const i={colSpan:t,label:translate("kol-no-entries"),render:void 0,rowSpan:Math.max(a,1)};0===l.length?l.push([i]):l[0].push(i)}return l}selectDisplayedData(t,e,a){return"number"==typeof e&&e>0&&"number"==typeof a&&a>0?(this.pageStartSlice=e*(a-1),this.pageEndSlice=e*a>t.length?t.length:e*a,t.slice(this.pageStartSlice,this.pageEndSlice)):(this.pageStartSlice=0,this.pageEndSlice=t.length,t)}cellRender(t,e){e&&(clearTimeout(CELL_REFS.get(e)),CELL_REFS.set(e,setTimeout((()=>{clearTimeout(CELL_REFS.get(e));const a=t.render(e,{asTd:t.asTd,label:t.label,textAlign:t.textAlign,width:t.width},t.data,this.state._data);"string"==typeof a&&(e.textContent=a)}))))}render(){var t,e;const a=this.selectDisplayedData(this.state._sortedData,this.showPagination?null!==(e=null===(t=this.state._pagination)||void 0===t?void 0:t._pageSize)&&void 0!==e?e:10:this.state._sortedData.length,this.state._pagination._page||1),i=this.createDataField(a,this.state._headers);return h(Host,null,h("span",{style:{height:"0",width:"0",overflow:"hidden"},"aria-live":"assertive"},this.ariaLive),this.pageEndSlice>0&&this.showPagination&&h("div",{class:"pagination"},h("span",null,"Einträge ",this.pageEndSlice>0?this.pageStartSlice+1:0," bis ",this.pageEndSlice," von"," ",this.state._pagination._max||(Array.isArray(this.state._data)?this.state._data.length:0)," angezeigt"),h("div",null,h("kol-pagination",{_boundaryCount:this.state._pagination._boundaryCount,_customClass:this.state._pagination._customClass,_on:this.handlePagination,_page:this.state._pagination._page,_pageSize:this.state._pagination._pageSize,_pageSizeOptions:this.state._pagination._pageSizeOptions||PAGINATION_OPTIONS,_siblingCount:this.state._pagination._siblingCount,_tooltipAlign:"bottom",_max:this.state._pagination._max||this.state._pagination._total||this.state._data.length,_label:translate("kol-table-pagination-label",{placeholders:{label:this.state._label}})}))),h("div",{class:"table",tabindex:"0"},h("table",{style:{minWidth:this.state._minWidth}},h("caption",null,this.state._label),Array.isArray(this.state._headers.horizontal)&&h("thead",null,this.state._headers.horizontal.map(((t,e)=>h("tr",{key:`thead-${e}`},t.map(((t,a)=>{if(!0===t.asTd)return h("td",{key:`thead-${e}-${a}-${t.label}`,class:{[t.textAlign]:"string"==typeof t.textAlign&&t.textAlign.length>0},colSpan:t.colSpan,rowSpan:t.rowSpan,style:{textAlign:t.textAlign,width:t.width},ref:"function"==typeof t.render?e=>{this.cellRender(t,e)}:void 0},"function"!=typeof t.render?t.label:"");{const i=t;let o,n="codicon codicon-fold";if(i.key===this.sortedColumnHead.key)switch(this.sortedColumnHead.sortDirection){case"ASC":n="codicon codicon-chevron-up",o="ascending";break;case"DESC":n="codicon codicon-chevron-down",o="descending"}return h("th",{key:`thead-${e}-${a}-${i.label}`,scope:"number"==typeof i.colSpan&&i.colSpan>1?"colgroup":"col",colSpan:i.colSpan,rowSpan:i.rowSpan,style:{textAlign:t.textAlign,width:t.width},"aria-sort":o,"data-sort":o?`sort-${this.sortedColumnHead.sortDirection}`:"sort-NOS"},h("div",{class:"w-full flex gap-1 items-center"},h("div",{class:{"w-full":!0,[t.textAlign]:"string"==typeof t.textAlign&&t.textAlign.length>0},style:{textAlign:t.textAlign}},t.label),!this.disableSort&&"function"==typeof i.sort&&h("kol-button",{exportparts:"icon",_icon:n,_hideLabel:!0,_label:translate("kol-change-order",{placeholders:{colLabel:t.label}}),_on:{onClick:()=>{if("function"==typeof i.sort){switch(this.sortFunction=i.sort,this.sortDirections.get(this.sortFunction)){case"ASC":this.setSortDirection(this.sortFunction,"DESC");break;case"DESC":this.setSortDirection(this.sortFunction,"NOS");break;default:this.setSortDirection(this.sortFunction,"ASC")}this.updateSortedData(i)}}},_variant:"ghost"})))}})))))),h("tbody",null,i.map(this.renderTableRow)),this.state._dataFoot.length>0?this.renderFoot():"")))}static get watchers(){return{_caption:["validateCaption"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headers:["validateHeaders"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_pagination:["validatePagination"]}}static get style(){return{default:defaultStyleCss}}},[33,"kol-table",{_caption:[1],_data:[1],_dataFoot:[1,"_data-foot"],_headers:[1],_label:[1],_minWidth:[1,"_min-width"],_pagination:[8],state:[32]},void 0,{_caption:["validateCaption"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headers:["validateHeaders"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_pagination:["validatePagination"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-table","kol-alert","kol-alert-wc","kol-button","kol-button-wc","kol-heading-wc","kol-icon","kol-input","kol-pagination","kol-select","kol-span-wc","kol-tooltip-wc"].forEach((t=>{switch(t){case"kol-table":customElements.get(t)||customElements.define(t,KolTable$1);break;case"kol-alert":customElements.get(t)||defineCustomElement$c();break;case"kol-alert-wc":customElements.get(t)||defineCustomElement$b();break;case"kol-button":customElements.get(t)||defineCustomElement$a();break;case"kol-button-wc":customElements.get(t)||defineCustomElement$9();break;case"kol-heading-wc":customElements.get(t)||defineCustomElement$8();break;case"kol-icon":customElements.get(t)||defineCustomElement$7();break;case"kol-input":customElements.get(t)||defineCustomElement$6();break;case"kol-pagination":customElements.get(t)||defineCustomElement$5();break;case"kol-select":customElements.get(t)||defineCustomElement$4();break;case"kol-span-wc":customElements.get(t)||defineCustomElement$3();break;case"kol-tooltip-wc":customElements.get(t)||defineCustomElement$2()}}))}const KolTable=KolTable$1,defineCustomElement=defineCustomElement$1;export{KolTable,defineCustomElement};