@public-ui/components 1.6.0-rc.24 → 1.6.0-rc.25

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 (905) hide show
  1. package/custom-elements.json +162 -162
  2. package/dist/cjs/{a11y.tipps-410ee075.js → a11y.tipps-1ae09b29.js} +1 -1
  3. package/dist/cjs/{a11y.tipps-410ee075.js.map → a11y.tipps-1ae09b29.js.map} +1 -1
  4. package/dist/cjs/align-933b9f3b.js +4 -0
  5. package/dist/cjs/align-933b9f3b.js.map +1 -0
  6. package/dist/cjs/{align-f2e5e55b.js → alignment-bc8c7103.js} +1 -1
  7. package/dist/cjs/alignment-bc8c7103.js.map +1 -0
  8. package/dist/cjs/alternative-button-link-role-e9611969.js +4 -0
  9. package/dist/cjs/alternative-button-link-role-e9611969.js.map +1 -0
  10. package/dist/cjs/{app-globals-7e8b369e.js → app-globals-c2fa3f3b.js} +1 -1
  11. package/dist/cjs/{app-globals-7e8b369e.js.map → app-globals-c2fa3f3b.js.map} +1 -1
  12. package/dist/cjs/aria-selected-c8a48388.js +4 -0
  13. package/dist/cjs/aria-selected-c8a48388.js.map +1 -0
  14. package/dist/cjs/{associated.controller-6beebfb6.js → associated.controller-1c65b6fb.js} +1 -1
  15. package/dist/cjs/associated.controller-1c65b6fb.js.map +1 -0
  16. package/dist/cjs/button-type-e393af65.js +4 -0
  17. package/dist/cjs/button-type-e393af65.js.map +1 -0
  18. package/dist/cjs/button-variant-7f5d0b45.js +4 -0
  19. package/dist/cjs/button-variant-7f5d0b45.js.map +1 -0
  20. package/dist/cjs/{color-513d5264.js → color-61874991.js} +1 -1
  21. package/dist/cjs/{color-513d5264.js.map → color-61874991.js.map} +1 -1
  22. package/dist/cjs/{controller-3226fe83.js → controller-41825902.js} +1 -1
  23. package/dist/cjs/{controller-3226fe83.js.map → controller-41825902.js.map} +1 -1
  24. package/dist/cjs/{controller-15b2c983.js → controller-4599f3a8.js} +1 -1
  25. package/dist/cjs/{controller-15b2c983.js.map → controller-4599f3a8.js.map} +1 -1
  26. package/dist/cjs/{controller-d8e002ab.js → controller-4f13a920.js} +1 -1
  27. package/dist/cjs/{controller-d8e002ab.js.map → controller-4f13a920.js.map} +1 -1
  28. package/dist/cjs/{controller-f809f265.js → controller-88518751.js} +1 -1
  29. package/dist/cjs/{controller-f809f265.js.map → controller-88518751.js.map} +1 -1
  30. package/dist/cjs/{controller-52018655.js → controller-cd5d3127.js} +1 -1
  31. package/dist/cjs/controller-cd5d3127.js.map +1 -0
  32. package/dist/cjs/{controller-icon-a7345929.js → controller-icon-9e415963.js} +1 -1
  33. package/dist/cjs/{controller-icon-a7345929.js.map → controller-icon-9e415963.js.map} +1 -1
  34. package/dist/cjs/custom-class-47d7e19b.js +4 -0
  35. package/dist/cjs/custom-class-47d7e19b.js.map +1 -0
  36. package/dist/cjs/{dev.utils-d6ba8e97.js → dev.utils-8c8d0972.js} +1 -1
  37. package/dist/cjs/{dev.utils-d6ba8e97.js.map → dev.utils-8c8d0972.js.map} +1 -1
  38. package/dist/cjs/{devtools-b4cc6600.js → devtools-4f210fda.js} +1 -1
  39. package/dist/cjs/{devtools-b4cc6600.js.map → devtools-4f210fda.js.map} +1 -1
  40. package/dist/cjs/has-closer-2ac86bba.js +4 -0
  41. package/dist/cjs/{has-closer-ba283450.js.map → has-closer-2ac86bba.js.map} +1 -1
  42. package/dist/cjs/hide-label-050ec47a.js +4 -0
  43. package/dist/cjs/{hide-label-edf70971.js.map → hide-label-050ec47a.js.map} +1 -1
  44. package/dist/cjs/{i18n-ea77a601.js → i18n-e437fc0f.js} +1 -1
  45. package/dist/cjs/{i18n-ea77a601.js.map → i18n-e437fc0f.js.map} +1 -1
  46. package/dist/cjs/{icon-ccb23476.js → icon-c86632b9.js} +1 -1
  47. package/dist/cjs/icon-c86632b9.js.map +1 -0
  48. package/dist/cjs/image-source-195f6e3f.js +4 -0
  49. package/dist/cjs/{image-source-47ee14b1.js.map → image-source-195f6e3f.js.map} +1 -1
  50. package/dist/cjs/index.cjs.js +1 -1
  51. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-alert-wc_2.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-alert-wc_2.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  58. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  61. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-button-group-wc.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-button-wc_2.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-button-wc_2.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  73. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  75. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  77. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  103. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  105. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-popover.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-popover.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  135. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  137. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  139. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-symbol.cjs.entry.js.map +1 -1
  141. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  143. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  144. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  145. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  146. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  147. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  148. package/dist/cjs/kol-toast.cjs.entry.js.map +1 -1
  149. package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
  150. package/dist/cjs/kol-tooltip.cjs.entry.js.map +1 -1
  151. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  152. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  153. package/dist/cjs/kolibri.cjs.js +1 -1
  154. package/dist/cjs/{label-dea575c5.js → label-06fe06a4.js} +1 -1
  155. package/dist/cjs/{label-dea575c5.js.map → label-06fe06a4.js.map} +1 -1
  156. package/dist/cjs/loader.cjs.js +1 -1
  157. package/dist/cjs/{prop.validators-d3b07c9b.js → prop.validators-25e9b642.js} +1 -1
  158. package/dist/cjs/{prop.validators-d3b07c9b.js.map → prop.validators-25e9b642.js.map} +1 -1
  159. package/dist/cjs/rows-42fe9ce5.js +4 -0
  160. package/dist/cjs/{rows-435bcf3a.js.map → rows-42fe9ce5.js.map} +1 -1
  161. package/dist/cjs/show-a89c1958.js +4 -0
  162. package/dist/cjs/{show-e15f52b3.js.map → show-a89c1958.js.map} +1 -1
  163. package/dist/cjs/{suggestions-bca02582.js → suggestions-278663f9.js} +1 -1
  164. package/dist/cjs/{suggestions-bca02582.js.map → suggestions-278663f9.js.map} +1 -1
  165. package/dist/cjs/{tab-index-0767b320.js → tab-index-3ed70cf5.js} +1 -1
  166. package/dist/cjs/{tab-index-0767b320.js.map → tab-index-3ed70cf5.js.map} +1 -1
  167. package/dist/cjs/tooltip-align-92b20352.js +4 -0
  168. package/dist/cjs/tooltip-align-92b20352.js.map +1 -0
  169. package/dist/cjs/{validation-4106a2ad.js → validation-22d217d1.js} +1 -1
  170. package/dist/cjs/{validation-4106a2ad.js.map → validation-22d217d1.js.map} +1 -1
  171. package/dist/cjs/{validation-634af29b.js → validation-be2dd2b9.js} +1 -1
  172. package/dist/cjs/{validation-634af29b.js.map → validation-be2dd2b9.js.map} +1 -1
  173. package/dist/components/align.js +1 -1
  174. package/dist/components/align.js.map +1 -1
  175. package/dist/components/{tab-index.js → alternative-button-link-role.js} +1 -1
  176. package/dist/components/alternative-button-link-role.js.map +1 -0
  177. package/dist/components/aria-selected.js +1 -1
  178. package/dist/components/aria-selected.js.map +1 -1
  179. package/dist/components/color.js +1 -1
  180. package/dist/components/component.js +1 -1
  181. package/dist/components/component.js.map +1 -1
  182. package/dist/components/component10.js.map +1 -1
  183. package/dist/components/component11.js +1 -1
  184. package/dist/components/component12.js.map +1 -1
  185. package/dist/components/component13.js +1 -1
  186. package/dist/components/component13.js.map +1 -1
  187. package/dist/components/component14.js +1 -1
  188. package/dist/components/component14.js.map +1 -1
  189. package/dist/components/component15.js +1 -1
  190. package/dist/components/component15.js.map +1 -1
  191. package/dist/components/component16.js +1 -1
  192. package/dist/components/component16.js.map +1 -1
  193. package/dist/components/component2.js +1 -1
  194. package/dist/components/component2.js.map +1 -1
  195. package/dist/components/component3.js +1 -1
  196. package/dist/components/component3.js.map +1 -1
  197. package/dist/components/component4.js +1 -1
  198. package/dist/components/component4.js.map +1 -1
  199. package/dist/components/component5.js +1 -1
  200. package/dist/components/component5.js.map +1 -1
  201. package/dist/components/component6.js +1 -1
  202. package/dist/components/component6.js.map +1 -1
  203. package/dist/components/component7.js.map +1 -1
  204. package/dist/components/component8.js +1 -1
  205. package/dist/components/component8.js.map +1 -1
  206. package/dist/components/component9.js +1 -1
  207. package/dist/components/component9.js.map +1 -1
  208. package/dist/components/controller-icon.js +1 -1
  209. package/dist/components/controller.js +1 -1
  210. package/dist/components/controller.js.map +1 -1
  211. package/dist/components/controller2.js +1 -1
  212. package/dist/components/controller2.js.map +1 -1
  213. package/dist/components/controller4.js +1 -1
  214. package/dist/components/devtools.js +1 -1
  215. package/dist/components/has-closer.js +1 -1
  216. package/dist/components/image-source.js +1 -1
  217. package/dist/components/kol-abbr.js +1 -1
  218. package/dist/components/kol-abbr.js.map +1 -1
  219. package/dist/components/kol-accordion.js +1 -1
  220. package/dist/components/kol-accordion.js.map +1 -1
  221. package/dist/components/kol-avatar.js.map +1 -1
  222. package/dist/components/kol-breadcrumb.js +1 -1
  223. package/dist/components/kol-breadcrumb.js.map +1 -1
  224. package/dist/components/kol-button-group.js.map +1 -1
  225. package/dist/components/kol-button-link.js +1 -1
  226. package/dist/components/kol-button-link.js.map +1 -1
  227. package/dist/components/kol-card.js +1 -1
  228. package/dist/components/kol-card.js.map +1 -1
  229. package/dist/components/kol-details.js +1 -1
  230. package/dist/components/kol-details.js.map +1 -1
  231. package/dist/components/kol-form.js +1 -1
  232. package/dist/components/kol-form.js.map +1 -1
  233. package/dist/components/kol-heading.js.map +1 -1
  234. package/dist/components/kol-icon-font-awesome.js +1 -1
  235. package/dist/components/kol-icon-icofont.js +1 -1
  236. package/dist/components/kol-icon.js +1 -1
  237. package/dist/components/kol-image.js +1 -1
  238. package/dist/components/kol-image.js.map +1 -1
  239. package/dist/components/kol-input-adapter-leanup.js +1 -1
  240. package/dist/components/kol-input-checkbox.js +1 -1
  241. package/dist/components/kol-input-checkbox.js.map +1 -1
  242. package/dist/components/kol-input-color.js +1 -1
  243. package/dist/components/kol-input-color.js.map +1 -1
  244. package/dist/components/kol-input-date.js +1 -1
  245. package/dist/components/kol-input-date.js.map +1 -1
  246. package/dist/components/kol-input-email.js +1 -1
  247. package/dist/components/kol-input-email.js.map +1 -1
  248. package/dist/components/kol-input-file.js +1 -1
  249. package/dist/components/kol-input-file.js.map +1 -1
  250. package/dist/components/kol-input-number.js +1 -1
  251. package/dist/components/kol-input-number.js.map +1 -1
  252. package/dist/components/kol-input-password.js +1 -1
  253. package/dist/components/kol-input-password.js.map +1 -1
  254. package/dist/components/kol-input-radio-group.js +1 -1
  255. package/dist/components/kol-input-range.js +1 -1
  256. package/dist/components/kol-input-range.js.map +1 -1
  257. package/dist/components/kol-input-text.js +1 -1
  258. package/dist/components/kol-input-text.js.map +1 -1
  259. package/dist/components/kol-kolibri.js +1 -1
  260. package/dist/components/kol-kolibri.js.map +1 -1
  261. package/dist/components/kol-link-button.js +1 -1
  262. package/dist/components/kol-link-button.js.map +1 -1
  263. package/dist/components/kol-link-group.js +1 -1
  264. package/dist/components/kol-link-group.js.map +1 -1
  265. package/dist/components/kol-logo.js.map +1 -1
  266. package/dist/components/kol-modal.js +1 -1
  267. package/dist/components/kol-modal.js.map +1 -1
  268. package/dist/components/kol-nav.js +1 -1
  269. package/dist/components/kol-nav.js.map +1 -1
  270. package/dist/components/kol-popover.js +1 -1
  271. package/dist/components/kol-popover.js.map +1 -1
  272. package/dist/components/kol-progress.js +1 -1
  273. package/dist/components/kol-progress.js.map +1 -1
  274. package/dist/components/kol-quote.js +1 -1
  275. package/dist/components/kol-quote.js.map +1 -1
  276. package/dist/components/kol-skip-nav.js +1 -1
  277. package/dist/components/kol-skip-nav.js.map +1 -1
  278. package/dist/components/kol-span-wc.js +1 -1
  279. package/dist/components/kol-span.js +1 -1
  280. package/dist/components/kol-span.js.map +1 -1
  281. package/dist/components/kol-spin.js.map +1 -1
  282. package/dist/components/kol-split-button.js +1 -1
  283. package/dist/components/kol-split-button.js.map +1 -1
  284. package/dist/components/kol-symbol.js +1 -1
  285. package/dist/components/kol-symbol.js.map +1 -1
  286. package/dist/components/kol-table.js +1 -1
  287. package/dist/components/kol-table.js.map +1 -1
  288. package/dist/components/kol-tabs.js +1 -1
  289. package/dist/components/kol-tabs.js.map +1 -1
  290. package/dist/components/kol-textarea.js +1 -1
  291. package/dist/components/kol-textarea.js.map +1 -1
  292. package/dist/components/kol-toast.js +1 -1
  293. package/dist/components/kol-toast.js.map +1 -1
  294. package/dist/components/kol-tooltip.js +1 -1
  295. package/dist/components/kol-version.js +1 -1
  296. package/dist/components/kol-version.js.map +1 -1
  297. package/dist/components/label.js +1 -1
  298. package/dist/components/prop.validators.js +1 -1
  299. package/dist/components/prop.validators.js.map +1 -1
  300. package/dist/components/shadow.js +1 -1
  301. package/dist/components/shadow.js.map +1 -1
  302. package/dist/components/shadow2.js +1 -1
  303. package/dist/components/shadow2.js.map +1 -1
  304. package/dist/components/shadow3.js +1 -1
  305. package/dist/components/shadow3.js.map +1 -1
  306. package/dist/components/show.js +1 -1
  307. package/dist/components/suggestions.js +1 -1
  308. package/dist/components/tooltip-align.js +4 -0
  309. package/dist/components/tooltip-align.js.map +1 -0
  310. package/dist/esm/{a11y.tipps-010cc7bb.js → a11y.tipps-3dbf06fc.js} +1 -1
  311. package/dist/esm/{a11y.tipps-010cc7bb.js.map → a11y.tipps-3dbf06fc.js.map} +1 -1
  312. package/dist/esm/align-770e1701.js +4 -0
  313. package/dist/esm/align-770e1701.js.map +1 -0
  314. package/dist/esm/{align-c8603a23.js → alignment-18ef41f0.js} +1 -1
  315. package/dist/esm/alignment-18ef41f0.js.map +1 -0
  316. package/dist/esm/alternative-button-link-role-dfbba37c.js +4 -0
  317. package/dist/esm/alternative-button-link-role-dfbba37c.js.map +1 -0
  318. package/dist/esm/app-globals-0c370b67.js +4 -0
  319. package/dist/esm/{app-globals-12365829.js.map → app-globals-0c370b67.js.map} +1 -1
  320. package/dist/esm/{aria-selected-6e7689ae.js → aria-selected-c5542038.js} +1 -1
  321. package/dist/esm/aria-selected-c5542038.js.map +1 -0
  322. package/dist/esm/{associated.controller-9d8da408.js → associated.controller-6c7440df.js} +1 -1
  323. package/dist/esm/associated.controller-6c7440df.js.map +1 -0
  324. package/dist/esm/button-type-a25d8975.js +4 -0
  325. package/dist/esm/button-type-a25d8975.js.map +1 -0
  326. package/dist/esm/button-variant-fbb48c03.js +4 -0
  327. package/dist/esm/button-variant-fbb48c03.js.map +1 -0
  328. package/dist/esm/{color-bee2a268.js → color-845e0378.js} +1 -1
  329. package/dist/esm/{color-bee2a268.js.map → color-845e0378.js.map} +1 -1
  330. package/dist/esm/{controller-f3db680c.js → controller-152cc0b9.js} +1 -1
  331. package/dist/esm/{controller-f3db680c.js.map → controller-152cc0b9.js.map} +1 -1
  332. package/dist/esm/{controller-76742dfc.js → controller-3788b559.js} +1 -1
  333. package/dist/esm/{controller-76742dfc.js.map → controller-3788b559.js.map} +1 -1
  334. package/dist/esm/{controller-108aa205.js → controller-ab167bf7.js} +1 -1
  335. package/dist/esm/{controller-108aa205.js.map → controller-ab167bf7.js.map} +1 -1
  336. package/dist/esm/{controller-dc2f0e5c.js → controller-d04db4dd.js} +1 -1
  337. package/dist/esm/{controller-dc2f0e5c.js.map → controller-d04db4dd.js.map} +1 -1
  338. package/dist/esm/{controller-3213f6ba.js → controller-f073ed22.js} +1 -1
  339. package/dist/esm/controller-f073ed22.js.map +1 -0
  340. package/dist/esm/{controller-icon-e6f72083.js → controller-icon-cfbc5bbf.js} +1 -1
  341. package/dist/esm/{controller-icon-e6f72083.js.map → controller-icon-cfbc5bbf.js.map} +1 -1
  342. package/dist/esm/custom-class-c9653859.js +4 -0
  343. package/dist/esm/custom-class-c9653859.js.map +1 -0
  344. package/dist/esm/{dev.utils-2f404ce5.js → dev.utils-1ee29ed1.js} +1 -1
  345. package/dist/esm/{dev.utils-2f404ce5.js.map → dev.utils-1ee29ed1.js.map} +1 -1
  346. package/dist/esm/{devtools-4e3e4963.js → devtools-67de7ff1.js} +1 -1
  347. package/dist/esm/{devtools-4e3e4963.js.map → devtools-67de7ff1.js.map} +1 -1
  348. package/dist/esm/{has-closer-e01aaeae.js → has-closer-49b6c8b7.js} +1 -1
  349. package/dist/esm/{has-closer-e01aaeae.js.map → has-closer-49b6c8b7.js.map} +1 -1
  350. package/dist/esm/{hide-label-c77474b5.js → hide-label-16112af9.js} +1 -1
  351. package/dist/esm/{hide-label-c77474b5.js.map → hide-label-16112af9.js.map} +1 -1
  352. package/dist/esm/{i18n-042ef6ee.js → i18n-53e49b2a.js} +1 -1
  353. package/dist/esm/{i18n-042ef6ee.js.map → i18n-53e49b2a.js.map} +1 -1
  354. package/dist/esm/{icon-a0bacdc8.js → icon-a7195182.js} +1 -1
  355. package/dist/esm/icon-a7195182.js.map +1 -0
  356. package/dist/esm/{image-source-abdd2521.js → image-source-d2f4a35e.js} +1 -1
  357. package/dist/esm/{image-source-abdd2521.js.map → image-source-d2f4a35e.js.map} +1 -1
  358. package/dist/esm/index.js +1 -1
  359. package/dist/esm/kol-abbr.entry.js +1 -1
  360. package/dist/esm/kol-abbr.entry.js.map +1 -1
  361. package/dist/esm/kol-accordion.entry.js +1 -1
  362. package/dist/esm/kol-accordion.entry.js.map +1 -1
  363. package/dist/esm/kol-alert-wc_2.entry.js +1 -1
  364. package/dist/esm/kol-alert-wc_2.entry.js.map +1 -1
  365. package/dist/esm/kol-alert.entry.js.map +1 -1
  366. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  367. package/dist/esm/kol-avatar-wc.entry.js.map +1 -1
  368. package/dist/esm/kol-avatar.entry.js.map +1 -1
  369. package/dist/esm/kol-badge.entry.js +1 -1
  370. package/dist/esm/kol-badge.entry.js.map +1 -1
  371. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  372. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  373. package/dist/esm/kol-button-group-wc.entry.js.map +1 -1
  374. package/dist/esm/kol-button-group.entry.js.map +1 -1
  375. package/dist/esm/kol-button-link.entry.js.map +1 -1
  376. package/dist/esm/kol-button-wc_2.entry.js +1 -1
  377. package/dist/esm/kol-button-wc_2.entry.js.map +1 -1
  378. package/dist/esm/kol-button.entry.js.map +1 -1
  379. package/dist/esm/kol-card.entry.js +1 -1
  380. package/dist/esm/kol-card.entry.js.map +1 -1
  381. package/dist/esm/kol-details.entry.js +1 -1
  382. package/dist/esm/kol-details.entry.js.map +1 -1
  383. package/dist/esm/kol-form.entry.js +1 -1
  384. package/dist/esm/kol-form.entry.js.map +1 -1
  385. package/dist/esm/kol-heading.entry.js.map +1 -1
  386. package/dist/esm/kol-icon.entry.js +1 -1
  387. package/dist/esm/kol-icon.entry.js.map +1 -1
  388. package/dist/esm/kol-image.entry.js +1 -1
  389. package/dist/esm/kol-image.entry.js.map +1 -1
  390. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  391. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  392. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  393. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  394. package/dist/esm/kol-input-color.entry.js +1 -1
  395. package/dist/esm/kol-input-color.entry.js.map +1 -1
  396. package/dist/esm/kol-input-date.entry.js +1 -1
  397. package/dist/esm/kol-input-date.entry.js.map +1 -1
  398. package/dist/esm/kol-input-email.entry.js +1 -1
  399. package/dist/esm/kol-input-email.entry.js.map +1 -1
  400. package/dist/esm/kol-input-file.entry.js +1 -1
  401. package/dist/esm/kol-input-file.entry.js.map +1 -1
  402. package/dist/esm/kol-input-number.entry.js +1 -1
  403. package/dist/esm/kol-input-number.entry.js.map +1 -1
  404. package/dist/esm/kol-input-password.entry.js +1 -1
  405. package/dist/esm/kol-input-password.entry.js.map +1 -1
  406. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  407. package/dist/esm/kol-input-radio.entry.js +1 -1
  408. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  409. package/dist/esm/kol-input-range.entry.js +1 -1
  410. package/dist/esm/kol-input-range.entry.js.map +1 -1
  411. package/dist/esm/kol-input-text.entry.js +1 -1
  412. package/dist/esm/kol-input-text.entry.js.map +1 -1
  413. package/dist/esm/kol-kolibri.entry.js +1 -1
  414. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  415. package/dist/esm/kol-link-button.entry.js +1 -1
  416. package/dist/esm/kol-link-button.entry.js.map +1 -1
  417. package/dist/esm/kol-link-group.entry.js +1 -1
  418. package/dist/esm/kol-link-group.entry.js.map +1 -1
  419. package/dist/esm/kol-link-wc.entry.js +1 -1
  420. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  421. package/dist/esm/kol-link.entry.js.map +1 -1
  422. package/dist/esm/kol-logo.entry.js +1 -1
  423. package/dist/esm/kol-logo.entry.js.map +1 -1
  424. package/dist/esm/kol-modal.entry.js +1 -1
  425. package/dist/esm/kol-modal.entry.js.map +1 -1
  426. package/dist/esm/kol-nav.entry.js +1 -1
  427. package/dist/esm/kol-nav.entry.js.map +1 -1
  428. package/dist/esm/kol-pagination.entry.js +1 -1
  429. package/dist/esm/kol-pagination.entry.js.map +1 -1
  430. package/dist/esm/kol-popover.entry.js +1 -1
  431. package/dist/esm/kol-popover.entry.js.map +1 -1
  432. package/dist/esm/kol-progress.entry.js +1 -1
  433. package/dist/esm/kol-progress.entry.js.map +1 -1
  434. package/dist/esm/kol-quote.entry.js +1 -1
  435. package/dist/esm/kol-quote.entry.js.map +1 -1
  436. package/dist/esm/kol-select.entry.js +1 -1
  437. package/dist/esm/kol-select.entry.js.map +1 -1
  438. package/dist/esm/kol-skip-nav.entry.js +1 -1
  439. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  440. package/dist/esm/kol-span-wc.entry.js +1 -1
  441. package/dist/esm/kol-span-wc.entry.js.map +1 -1
  442. package/dist/esm/kol-span.entry.js.map +1 -1
  443. package/dist/esm/kol-spin.entry.js +1 -1
  444. package/dist/esm/kol-spin.entry.js.map +1 -1
  445. package/dist/esm/kol-split-button.entry.js +1 -1
  446. package/dist/esm/kol-split-button.entry.js.map +1 -1
  447. package/dist/esm/kol-symbol.entry.js +1 -1
  448. package/dist/esm/kol-symbol.entry.js.map +1 -1
  449. package/dist/esm/kol-table.entry.js +1 -1
  450. package/dist/esm/kol-table.entry.js.map +1 -1
  451. package/dist/esm/kol-tabs.entry.js +1 -1
  452. package/dist/esm/kol-tabs.entry.js.map +1 -1
  453. package/dist/esm/kol-textarea.entry.js +1 -1
  454. package/dist/esm/kol-textarea.entry.js.map +1 -1
  455. package/dist/esm/kol-toast.entry.js +1 -1
  456. package/dist/esm/kol-toast.entry.js.map +1 -1
  457. package/dist/esm/kol-tooltip.entry.js +1 -1
  458. package/dist/esm/kol-tooltip.entry.js.map +1 -1
  459. package/dist/esm/kol-version.entry.js +1 -1
  460. package/dist/esm/kol-version.entry.js.map +1 -1
  461. package/dist/esm/kolibri.js +1 -1
  462. package/dist/esm/{label-8596593d.js → label-162d9b49.js} +1 -1
  463. package/dist/esm/{label-8596593d.js.map → label-162d9b49.js.map} +1 -1
  464. package/dist/esm/loader.js +1 -1
  465. package/dist/esm/{prop.validators-286b41b1.js → prop.validators-6cf6ed2d.js} +1 -1
  466. package/dist/esm/{prop.validators-286b41b1.js.map → prop.validators-6cf6ed2d.js.map} +1 -1
  467. package/dist/esm/{rows-ab605374.js → rows-c5b1e0bc.js} +1 -1
  468. package/dist/esm/{rows-ab605374.js.map → rows-c5b1e0bc.js.map} +1 -1
  469. package/dist/esm/{show-090f6bc3.js → show-a8f7aa56.js} +1 -1
  470. package/dist/esm/{show-090f6bc3.js.map → show-a8f7aa56.js.map} +1 -1
  471. package/dist/esm/{suggestions-3df3e5fd.js → suggestions-efa371a2.js} +1 -1
  472. package/dist/esm/{suggestions-3df3e5fd.js.map → suggestions-efa371a2.js.map} +1 -1
  473. package/dist/esm/{tab-index-a7766f42.js → tab-index-cda3bf60.js} +1 -1
  474. package/dist/esm/{tab-index-a7766f42.js.map → tab-index-cda3bf60.js.map} +1 -1
  475. package/dist/esm/tooltip-align-c2603081.js +4 -0
  476. package/dist/esm/tooltip-align-c2603081.js.map +1 -0
  477. package/dist/esm/{validation-46697821.js → validation-9d2bdef4.js} +1 -1
  478. package/dist/esm/{validation-46697821.js.map → validation-9d2bdef4.js.map} +1 -1
  479. package/dist/esm/validation-ad3aded3.js +4 -0
  480. package/dist/esm/{validation-5be5b0a8.js.map → validation-ad3aded3.js.map} +1 -1
  481. package/dist/kolibri/{a11y.tipps-010cc7bb.js → a11y.tipps-3dbf06fc.js} +1 -1
  482. package/dist/kolibri/align-770e1701.js +4 -0
  483. package/dist/kolibri/align-770e1701.js.map +1 -0
  484. package/dist/kolibri/alignment-18ef41f0.js +4 -0
  485. package/dist/kolibri/alignment-18ef41f0.js.map +1 -0
  486. package/dist/kolibri/{aria-current-78222a8a.js → alternative-button-link-role-dfbba37c.js} +1 -1
  487. package/dist/kolibri/alternative-button-link-role-dfbba37c.js.map +1 -0
  488. package/dist/kolibri/app-globals-0c370b67.js +4 -0
  489. package/dist/kolibri/aria-selected-c5542038.js +4 -0
  490. package/dist/kolibri/aria-selected-c5542038.js.map +1 -0
  491. package/dist/kolibri/{associated.controller-9d8da408.js → associated.controller-6c7440df.js} +1 -1
  492. package/dist/kolibri/associated.controller-6c7440df.js.map +1 -0
  493. package/dist/kolibri/button-type-a25d8975.js +4 -0
  494. package/dist/kolibri/button-type-a25d8975.js.map +1 -0
  495. package/dist/kolibri/button-variant-fbb48c03.js +4 -0
  496. package/dist/kolibri/button-variant-fbb48c03.js.map +1 -0
  497. package/dist/kolibri/{color-bee2a268.js → color-845e0378.js} +1 -1
  498. package/dist/kolibri/{controller-f3db680c.js → controller-152cc0b9.js} +1 -1
  499. package/dist/kolibri/{controller-76742dfc.js → controller-3788b559.js} +1 -1
  500. package/dist/kolibri/controller-3788b559.js.map +1 -0
  501. package/dist/kolibri/{controller-108aa205.js → controller-ab167bf7.js} +1 -1
  502. package/dist/kolibri/controller-ab167bf7.js.map +1 -0
  503. package/dist/kolibri/{controller-dc2f0e5c.js → controller-d04db4dd.js} +1 -1
  504. package/dist/kolibri/{controller-3213f6ba.js → controller-f073ed22.js} +1 -1
  505. package/dist/kolibri/controller-f073ed22.js.map +1 -0
  506. package/dist/kolibri/controller-icon-cfbc5bbf.js +4 -0
  507. package/dist/kolibri/custom-class-c9653859.js +4 -0
  508. package/dist/kolibri/custom-class-c9653859.js.map +1 -0
  509. package/dist/kolibri/{dev.utils-2f404ce5.js → dev.utils-1ee29ed1.js} +1 -1
  510. package/dist/kolibri/{dev.utils-2f404ce5.js.map → dev.utils-1ee29ed1.js.map} +1 -1
  511. package/dist/kolibri/{devtools-4e3e4963.js → devtools-67de7ff1.js} +1 -1
  512. package/dist/kolibri/has-closer-49b6c8b7.js +4 -0
  513. package/dist/kolibri/hide-label-16112af9.js +4 -0
  514. package/dist/kolibri/{i18n-042ef6ee.js → i18n-53e49b2a.js} +1 -1
  515. package/dist/kolibri/{icon-a0bacdc8.js → icon-a7195182.js} +1 -1
  516. package/dist/kolibri/icon-a7195182.js.map +1 -0
  517. package/dist/kolibri/image-source-d2f4a35e.js +4 -0
  518. package/dist/kolibri/index.esm.js +1 -1
  519. package/dist/kolibri/kol-abbr.entry.js +1 -1
  520. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  521. package/dist/kolibri/kol-accordion.entry.js +1 -1
  522. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  523. package/dist/kolibri/kol-alert-wc_2.entry.js +1 -1
  524. package/dist/kolibri/kol-alert-wc_2.entry.js.map +1 -1
  525. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  526. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  527. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
  528. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  529. package/dist/kolibri/kol-badge.entry.js +1 -1
  530. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  531. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  532. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  533. package/dist/kolibri/kol-button-group-wc.entry.js.map +1 -1
  534. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  535. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  536. package/dist/kolibri/kol-button-wc_2.entry.js +1 -1
  537. package/dist/kolibri/kol-button-wc_2.entry.js.map +1 -1
  538. package/dist/kolibri/kol-button.entry.js.map +1 -1
  539. package/dist/kolibri/kol-card.entry.js +1 -1
  540. package/dist/kolibri/kol-card.entry.js.map +1 -1
  541. package/dist/kolibri/kol-details.entry.js +1 -1
  542. package/dist/kolibri/kol-details.entry.js.map +1 -1
  543. package/dist/kolibri/kol-form.entry.js +1 -1
  544. package/dist/kolibri/kol-form.entry.js.map +1 -1
  545. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  546. package/dist/kolibri/kol-icon.entry.js +1 -1
  547. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  548. package/dist/kolibri/kol-image.entry.js +1 -1
  549. package/dist/kolibri/kol-image.entry.js.map +1 -1
  550. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  551. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  552. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  553. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  554. package/dist/kolibri/kol-input-color.entry.js +1 -1
  555. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  556. package/dist/kolibri/kol-input-date.entry.js +1 -1
  557. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  558. package/dist/kolibri/kol-input-email.entry.js +1 -1
  559. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  560. package/dist/kolibri/kol-input-file.entry.js +1 -1
  561. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  562. package/dist/kolibri/kol-input-number.entry.js +1 -1
  563. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  564. package/dist/kolibri/kol-input-password.entry.js +1 -1
  565. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  566. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  567. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  568. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  569. package/dist/kolibri/kol-input-range.entry.js +1 -1
  570. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  571. package/dist/kolibri/kol-input-text.entry.js +1 -1
  572. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  573. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  574. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  575. package/dist/kolibri/kol-link-button.entry.js +1 -1
  576. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  577. package/dist/kolibri/kol-link-group.entry.js +1 -1
  578. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  579. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  580. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  581. package/dist/kolibri/kol-link.entry.js.map +1 -1
  582. package/dist/kolibri/kol-logo.entry.js +1 -1
  583. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  584. package/dist/kolibri/kol-modal.entry.js +1 -1
  585. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  586. package/dist/kolibri/kol-nav.entry.js +1 -1
  587. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  588. package/dist/kolibri/kol-pagination.entry.js +1 -1
  589. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  590. package/dist/kolibri/kol-popover.entry.js +1 -1
  591. package/dist/kolibri/kol-popover.entry.js.map +1 -1
  592. package/dist/kolibri/kol-progress.entry.js +1 -1
  593. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  594. package/dist/kolibri/kol-quote.entry.js +1 -1
  595. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  596. package/dist/kolibri/kol-select.entry.js +1 -1
  597. package/dist/kolibri/kol-select.entry.js.map +1 -1
  598. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  599. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  600. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  601. package/dist/kolibri/kol-span-wc.entry.js.map +1 -1
  602. package/dist/kolibri/kol-span.entry.js.map +1 -1
  603. package/dist/kolibri/kol-spin.entry.js +1 -1
  604. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  605. package/dist/kolibri/kol-split-button.entry.js +1 -1
  606. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  607. package/dist/kolibri/kol-symbol.entry.js +1 -1
  608. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  609. package/dist/kolibri/kol-table.entry.js +1 -1
  610. package/dist/kolibri/kol-table.entry.js.map +1 -1
  611. package/dist/kolibri/kol-tabs.entry.js +1 -1
  612. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  613. package/dist/kolibri/kol-textarea.entry.js +1 -1
  614. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  615. package/dist/kolibri/kol-toast.entry.js +1 -1
  616. package/dist/kolibri/kol-toast.entry.js.map +1 -1
  617. package/dist/kolibri/kol-tooltip.entry.js +1 -1
  618. package/dist/kolibri/kol-tooltip.entry.js.map +1 -1
  619. package/dist/kolibri/kol-version.entry.js +1 -1
  620. package/dist/kolibri/kol-version.entry.js.map +1 -1
  621. package/dist/kolibri/kolibri.esm.js +1 -1
  622. package/dist/kolibri/label-162d9b49.js +4 -0
  623. package/dist/kolibri/prop.validators-6cf6ed2d.js +4 -0
  624. package/dist/kolibri/rows-c5b1e0bc.js +4 -0
  625. package/dist/kolibri/show-a8f7aa56.js +4 -0
  626. package/dist/kolibri/{suggestions-3df3e5fd.js → suggestions-efa371a2.js} +1 -1
  627. package/dist/kolibri/{tab-index-a7766f42.js → tab-index-cda3bf60.js} +1 -1
  628. package/dist/kolibri/tooltip-align-c2603081.js +4 -0
  629. package/dist/kolibri/tooltip-align-c2603081.js.map +1 -0
  630. package/dist/kolibri/{validation-46697821.js → validation-9d2bdef4.js} +1 -1
  631. package/dist/kolibri/validation-ad3aded3.js +4 -0
  632. package/dist/types/components/@deprecated/input/controller.d.ts +1 -1
  633. package/dist/types/components/@deprecated/input/types.d.ts +1 -1
  634. package/dist/types/components/@else/all/component.d.ts +2 -2
  635. package/dist/types/components/abbr/component.d.ts +3 -3
  636. package/dist/types/components/abbr/types.d.ts +4 -5
  637. package/dist/types/components/accordion/component.d.ts +1 -1
  638. package/dist/types/components/accordion/types.d.ts +1 -1
  639. package/dist/types/components/alert/component.d.ts +1 -1
  640. package/dist/types/components/alert/types.d.ts +4 -4
  641. package/dist/types/components/badge/component.d.ts +5 -7
  642. package/dist/types/components/badge/test/html.mock.d.ts +2 -2
  643. package/dist/types/components/badge/types.d.ts +14 -11
  644. package/dist/types/components/breadcrumb/component.d.ts +4 -4
  645. package/dist/types/components/breadcrumb/test/html.mock.d.ts +2 -2
  646. package/dist/types/components/breadcrumb/types.d.ts +4 -4
  647. package/dist/types/components/button/component.d.ts +27 -20
  648. package/dist/types/components/button/shadow.d.ts +18 -12
  649. package/dist/types/components/button/test/html.mock.d.ts +3 -3
  650. package/dist/types/components/button/types.d.ts +39 -0
  651. package/dist/types/components/button-group/component.d.ts +2 -9
  652. package/dist/types/components/button-group/shadow.d.ts +1 -1
  653. package/dist/types/components/button-group/types.d.ts +9 -0
  654. package/dist/types/components/button-link/component.d.ts +16 -12
  655. package/dist/types/components/button-link/test/html.mock.d.ts +2 -2
  656. package/dist/types/components/button-link/types.d.ts +8 -0
  657. package/dist/types/components/button-link-text-switch/types.d.ts +2 -2
  658. package/dist/types/components/card/component.d.ts +5 -5
  659. package/dist/types/components/card/test/html.mock.d.ts +2 -2
  660. package/dist/types/components/card/types.d.ts +4 -4
  661. package/dist/types/components/details/component.d.ts +3 -3
  662. package/dist/types/components/details/test/html.mock.d.ts +2 -2
  663. package/dist/types/components/details/types.d.ts +6 -6
  664. package/dist/types/components/form/component.d.ts +3 -3
  665. package/dist/types/components/form/test/html.mock.d.ts +2 -2
  666. package/dist/types/components/form/types.d.ts +4 -4
  667. package/dist/types/components/heading/component.d.ts +3 -3
  668. package/dist/types/components/heading/shadow.d.ts +2 -2
  669. package/dist/types/components/heading/test/html.mock.d.ts +3 -3
  670. package/dist/types/components/heading/types.d.ts +5 -5
  671. package/dist/types/components/icon/component.d.ts +3 -3
  672. package/dist/types/components/icon/test/html.mock.d.ts +2 -2
  673. package/dist/types/components/icon/types.d.ts +3 -3
  674. package/dist/types/components/image/shadow.d.ts +2 -2
  675. package/dist/types/components/image/types.d.ts +1 -1
  676. package/dist/types/components/indented-text/component.d.ts +2 -9
  677. package/dist/types/components/indented-text/test/html.mock.d.ts +1 -1
  678. package/dist/types/components/indented-text/types.d.ts +9 -0
  679. package/dist/types/components/input/component.d.ts +10 -16
  680. package/dist/types/components/input/types.d.ts +5 -8
  681. package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +4 -4
  682. package/dist/types/components/input-adapter-leanup/types.d.ts +1 -1
  683. package/dist/types/components/input-checkbox/component.d.ts +13 -10
  684. package/dist/types/components/input-checkbox/types.d.ts +12 -18
  685. package/dist/types/components/input-color/component.d.ts +12 -9
  686. package/dist/types/components/input-color/types.d.ts +10 -15
  687. package/dist/types/components/input-date/component.d.ts +11 -8
  688. package/dist/types/components/input-date/types.d.ts +12 -13
  689. package/dist/types/components/input-email/component.d.ts +13 -10
  690. package/dist/types/components/input-email/types.d.ts +15 -23
  691. package/dist/types/components/input-file/component.d.ts +12 -9
  692. package/dist/types/components/input-file/types.d.ts +14 -22
  693. package/dist/types/components/input-number/component.d.ts +12 -9
  694. package/dist/types/components/input-number/types.d.ts +13 -14
  695. package/dist/types/components/input-password/component.d.ts +12 -9
  696. package/dist/types/components/input-password/types.d.ts +15 -23
  697. package/dist/types/components/input-radio/component.d.ts +11 -8
  698. package/dist/types/components/input-radio/types.d.ts +12 -18
  699. package/dist/types/components/input-range/component.d.ts +11 -8
  700. package/dist/types/components/input-range/types.d.ts +11 -16
  701. package/dist/types/components/input-text/component.d.ts +13 -10
  702. package/dist/types/components/input-text/types.d.ts +15 -24
  703. package/dist/types/components/kolibri/component.d.ts +3 -3
  704. package/dist/types/components/kolibri/types.d.ts +4 -4
  705. package/dist/types/components/link/component.d.ts +13 -8
  706. package/dist/types/components/link/shadow.d.ts +9 -5
  707. package/dist/types/components/link/test/html.mock.d.ts +2 -2
  708. package/dist/types/components/link/types.d.ts +34 -0
  709. package/dist/types/components/link-button/component.d.ts +17 -12
  710. package/dist/types/components/link-button/types.d.ts +7 -0
  711. package/dist/types/components/link-group/component.d.ts +4 -4
  712. package/dist/types/components/link-group/types.d.ts +3 -3
  713. package/dist/types/components/logo/component.d.ts +3 -3
  714. package/dist/types/components/logo/types.d.ts +2 -2
  715. package/dist/types/components/modal/component.d.ts +3 -3
  716. package/dist/types/components/modal/types.d.ts +3 -3
  717. package/dist/types/components/nav/component.d.ts +5 -5
  718. package/dist/types/components/nav/types.d.ts +2 -2
  719. package/dist/types/components/pagination/component.d.ts +12 -11
  720. package/dist/types/components/pagination/types.d.ts +8 -10
  721. package/dist/types/components/popover/component.d.ts +4 -4
  722. package/dist/types/components/popover/test/html.mock.d.ts +2 -2
  723. package/dist/types/components/popover/types.d.ts +5 -5
  724. package/dist/types/components/progress/component.d.ts +3 -3
  725. package/dist/types/components/progress/types.d.ts +2 -2
  726. package/dist/types/components/quote/shadow.d.ts +3 -3
  727. package/dist/types/components/quote/test/html.mock.d.ts +2 -2
  728. package/dist/types/components/quote/types.d.ts +3 -3
  729. package/dist/types/components/select/component.d.ts +11 -8
  730. package/dist/types/components/select/types.d.ts +13 -21
  731. package/dist/types/components/skip-nav/component.d.ts +4 -4
  732. package/dist/types/components/skip-nav/types.d.ts +3 -3
  733. package/dist/types/components/span/component.d.ts +4 -4
  734. package/dist/types/components/span/shadow.d.ts +3 -4
  735. package/dist/types/components/span/test/html.mock.d.ts +3 -3
  736. package/dist/types/components/span/types.d.ts +3 -3
  737. package/dist/types/components/spin/component.d.ts +4 -4
  738. package/dist/types/components/spin/test/html.mock.d.ts +2 -2
  739. package/dist/types/components/spin/types.d.ts +4 -4
  740. package/dist/types/components/split-button/component.d.ts +18 -15
  741. package/dist/types/components/split-button/types.d.ts +6 -3
  742. package/dist/types/components/symbol/component.d.ts +3 -3
  743. package/dist/types/components/symbol/test/html.mock.d.ts +2 -2
  744. package/dist/types/components/symbol/types.d.ts +3 -3
  745. package/dist/types/components/table/component.d.ts +3 -3
  746. package/dist/types/components/table/types.d.ts +2 -2
  747. package/dist/types/components/tabs/component.d.ts +3 -3
  748. package/dist/types/components/tabs/types.d.ts +5 -5
  749. package/dist/types/components/textarea/component.d.ts +13 -10
  750. package/dist/types/components/textarea/types.d.ts +13 -20
  751. package/dist/types/components/toast/component.d.ts +5 -5
  752. package/dist/types/components/toast/test/html.mock.d.ts +2 -2
  753. package/dist/types/components/toast/types.d.ts +4 -4
  754. package/dist/types/components/tooltip/component.d.ts +3 -3
  755. package/dist/types/components/tooltip/test/html.mock.d.ts +2 -2
  756. package/dist/types/components/tooltip/types.d.ts +6 -8
  757. package/dist/types/components/version/component.d.ts +3 -3
  758. package/dist/types/components/version/test/html.mock.d.ts +2 -2
  759. package/dist/types/components/version/types.d.ts +4 -4
  760. package/dist/types/components.d.ts +594 -598
  761. package/dist/types/types/button-link-text.d.ts +5 -7
  762. package/dist/types/types/button-link.d.ts +1 -105
  763. package/dist/types/types/input/control/number.d.ts +1 -1
  764. package/dist/types/types/props/alternative-button-link-role.d.ts +6 -0
  765. package/dist/types/types/props/aria-expanded.d.ts +2 -1
  766. package/dist/types/types/props/aria-selected.d.ts +3 -1
  767. package/dist/types/types/props/button-callbacks.d.ts +12 -0
  768. package/dist/types/types/props/button-type.d.ts +6 -0
  769. package/dist/types/types/props/button-variant.d.ts +6 -0
  770. package/dist/types/types/props/custom-class.d.ts +6 -0
  771. package/dist/types/types/props/icon.d.ts +1 -2
  772. package/dist/types/types/props/link-target.d.ts +6 -0
  773. package/dist/types/types/props/required.d.ts +2 -1
  774. package/dist/types/types/props/sync-value-by-selector.d.ts +4 -0
  775. package/dist/types/types/props/tooltip-align.d.ts +7 -0
  776. package/doc/abbr.md +1 -1
  777. package/doc/accordion.md +7 -7
  778. package/doc/alert.md +2 -2
  779. package/doc/avatar.md +4 -4
  780. package/doc/badge.md +8 -8
  781. package/doc/button-link.md +6 -6
  782. package/doc/button.md +8 -8
  783. package/doc/card.md +2 -2
  784. package/doc/details.md +5 -5
  785. package/doc/icon-font-awesome.md +1 -1
  786. package/doc/icon-icofont.md +1 -1
  787. package/doc/input-checkbox.md +22 -22
  788. package/doc/input-color.md +21 -21
  789. package/doc/input-date.md +27 -27
  790. package/doc/input-email.md +29 -29
  791. package/doc/input-file.md +21 -21
  792. package/doc/input-number.md +28 -28
  793. package/doc/input-password.md +26 -26
  794. package/doc/input-radio.md +6 -6
  795. package/doc/input-range.md +5 -5
  796. package/doc/input-text.md +29 -29
  797. package/doc/kolibri.md +5 -5
  798. package/doc/link-button.md +7 -7
  799. package/doc/link-group.md +2 -2
  800. package/doc/link.md +2 -2
  801. package/doc/modal.md +1 -1
  802. package/doc/nav.md +3 -3
  803. package/doc/pagination.md +2 -2
  804. package/doc/popover.md +1 -1
  805. package/doc/progress.md +1 -1
  806. package/doc/quote.md +1 -1
  807. package/doc/select.md +7 -7
  808. package/doc/skip-nav.md +5 -5
  809. package/doc/span.md +1 -1
  810. package/doc/spin.md +4 -4
  811. package/doc/split-button.md +5 -5
  812. package/doc/table.md +9 -9
  813. package/doc/tabs.md +1 -1
  814. package/doc/textarea.md +9 -9
  815. package/doc/toast.md +3 -3
  816. package/doc/tooltip.md +5 -5
  817. package/doc/version.md +4 -4
  818. package/jest-test-results.json +1 -1
  819. package/package.json +1 -1
  820. package/vscode-custom-data.json +180 -180
  821. package/dist/cjs/align-f2e5e55b.js.map +0 -1
  822. package/dist/cjs/aria-current-1d49e28b.js +0 -4
  823. package/dist/cjs/aria-current-1d49e28b.js.map +0 -1
  824. package/dist/cjs/aria-selected-ed02ff9d.js +0 -4
  825. package/dist/cjs/aria-selected-ed02ff9d.js.map +0 -1
  826. package/dist/cjs/associated.controller-6beebfb6.js.map +0 -1
  827. package/dist/cjs/button-link-a4c35b18.js +0 -4
  828. package/dist/cjs/button-link-a4c35b18.js.map +0 -1
  829. package/dist/cjs/controller-52018655.js.map +0 -1
  830. package/dist/cjs/controller-f733e612.js +0 -4
  831. package/dist/cjs/controller-f733e612.js.map +0 -1
  832. package/dist/cjs/disabled-1e3895a4.js +0 -4
  833. package/dist/cjs/disabled-1e3895a4.js.map +0 -1
  834. package/dist/cjs/has-closer-ba283450.js +0 -4
  835. package/dist/cjs/hide-label-edf70971.js +0 -4
  836. package/dist/cjs/icon-ccb23476.js.map +0 -1
  837. package/dist/cjs/image-source-47ee14b1.js +0 -4
  838. package/dist/cjs/rows-435bcf3a.js +0 -4
  839. package/dist/cjs/show-e15f52b3.js +0 -4
  840. package/dist/components/floating-ui.dom.esm.js +0 -4
  841. package/dist/components/floating-ui.dom.esm.js.map +0 -1
  842. package/dist/components/tab-index.js.map +0 -1
  843. package/dist/declare.d.ts +0 -26
  844. package/dist/esm/align-c8603a23.js.map +0 -1
  845. package/dist/esm/app-globals-12365829.js +0 -4
  846. package/dist/esm/aria-current-78222a8a.js +0 -4
  847. package/dist/esm/aria-current-78222a8a.js.map +0 -1
  848. package/dist/esm/aria-selected-6e7689ae.js.map +0 -1
  849. package/dist/esm/associated.controller-9d8da408.js.map +0 -1
  850. package/dist/esm/button-link-e0b05c0a.js +0 -4
  851. package/dist/esm/button-link-e0b05c0a.js.map +0 -1
  852. package/dist/esm/controller-3213f6ba.js.map +0 -1
  853. package/dist/esm/controller-d46a9e29.js +0 -4
  854. package/dist/esm/controller-d46a9e29.js.map +0 -1
  855. package/dist/esm/disabled-0d2979dd.js +0 -4
  856. package/dist/esm/disabled-0d2979dd.js.map +0 -1
  857. package/dist/esm/icon-a0bacdc8.js.map +0 -1
  858. package/dist/esm/validation-5be5b0a8.js +0 -4
  859. package/dist/kolibri/align-c8603a23.js +0 -4
  860. package/dist/kolibri/align-c8603a23.js.map +0 -1
  861. package/dist/kolibri/app-globals-12365829.js +0 -4
  862. package/dist/kolibri/aria-current-78222a8a.js.map +0 -1
  863. package/dist/kolibri/aria-selected-6e7689ae.js +0 -4
  864. package/dist/kolibri/aria-selected-6e7689ae.js.map +0 -1
  865. package/dist/kolibri/associated.controller-9d8da408.js.map +0 -1
  866. package/dist/kolibri/button-link-e0b05c0a.js +0 -4
  867. package/dist/kolibri/button-link-e0b05c0a.js.map +0 -1
  868. package/dist/kolibri/controller-108aa205.js.map +0 -1
  869. package/dist/kolibri/controller-3213f6ba.js.map +0 -1
  870. package/dist/kolibri/controller-76742dfc.js.map +0 -1
  871. package/dist/kolibri/controller-d46a9e29.js +0 -4
  872. package/dist/kolibri/controller-d46a9e29.js.map +0 -1
  873. package/dist/kolibri/controller-icon-e6f72083.js +0 -4
  874. package/dist/kolibri/disabled-0d2979dd.js +0 -4
  875. package/dist/kolibri/disabled-0d2979dd.js.map +0 -1
  876. package/dist/kolibri/has-closer-e01aaeae.js +0 -4
  877. package/dist/kolibri/hide-label-c77474b5.js +0 -4
  878. package/dist/kolibri/icon-a0bacdc8.js.map +0 -1
  879. package/dist/kolibri/image-source-abdd2521.js +0 -4
  880. package/dist/kolibri/label-8596593d.js +0 -4
  881. package/dist/kolibri/prop.validators-286b41b1.js +0 -4
  882. package/dist/kolibri/rows-ab605374.js +0 -4
  883. package/dist/kolibri/show-090f6bc3.js +0 -4
  884. package/dist/kolibri/validation-5be5b0a8.js +0 -4
  885. package/dist/types/components/button/controller.d.ts +0 -4
  886. package/dist/types/core/declare.d.ts +0 -10
  887. /package/dist/kolibri/{a11y.tipps-010cc7bb.js.map → a11y.tipps-3dbf06fc.js.map} +0 -0
  888. /package/dist/kolibri/{app-globals-12365829.js.map → app-globals-0c370b67.js.map} +0 -0
  889. /package/dist/kolibri/{color-bee2a268.js.map → color-845e0378.js.map} +0 -0
  890. /package/dist/kolibri/{controller-f3db680c.js.map → controller-152cc0b9.js.map} +0 -0
  891. /package/dist/kolibri/{controller-dc2f0e5c.js.map → controller-d04db4dd.js.map} +0 -0
  892. /package/dist/kolibri/{controller-icon-e6f72083.js.map → controller-icon-cfbc5bbf.js.map} +0 -0
  893. /package/dist/kolibri/{devtools-4e3e4963.js.map → devtools-67de7ff1.js.map} +0 -0
  894. /package/dist/kolibri/{has-closer-e01aaeae.js.map → has-closer-49b6c8b7.js.map} +0 -0
  895. /package/dist/kolibri/{hide-label-c77474b5.js.map → hide-label-16112af9.js.map} +0 -0
  896. /package/dist/kolibri/{i18n-042ef6ee.js.map → i18n-53e49b2a.js.map} +0 -0
  897. /package/dist/kolibri/{image-source-abdd2521.js.map → image-source-d2f4a35e.js.map} +0 -0
  898. /package/dist/kolibri/{label-8596593d.js.map → label-162d9b49.js.map} +0 -0
  899. /package/dist/kolibri/{prop.validators-286b41b1.js.map → prop.validators-6cf6ed2d.js.map} +0 -0
  900. /package/dist/kolibri/{rows-ab605374.js.map → rows-c5b1e0bc.js.map} +0 -0
  901. /package/dist/kolibri/{show-090f6bc3.js.map → show-a8f7aa56.js.map} +0 -0
  902. /package/dist/kolibri/{suggestions-3df3e5fd.js.map → suggestions-efa371a2.js.map} +0 -0
  903. /package/dist/kolibri/{tab-index-a7766f42.js.map → tab-index-cda3bf60.js.map} +0 -0
  904. /package/dist/kolibri/{validation-46697821.js.map → validation-9d2bdef4.js.map} +0 -0
  905. /package/dist/kolibri/{validation-5be5b0a8.js.map → validation-ad3aded3.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as i,H as e}from"./index-5ab2ea42.js";import{v as s}from"./has-closer-e01aaeae.js";import{v as a}from"./label-8596593d.js";import{v as o}from"./show-090f6bc3.js";import{a as h,s as n,e as r,w as l}from"./prop.validators-286b41b1.js";import{w as d}from"./validation-46697821.js";import"./a11y.tipps-010cc7bb.js";import"./dev.utils-2f404ce5.js";import"./reuse-c2156413.js";import"./index-37b5cbcf.js";const p=":host{--a11y-min-size:44px;font-size:inherit}*{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}button,input,option,select,textarea{font-family:inherit}.icon-only>kol-span-wc>span>span{display:none}:host{display:block}:host>div{background-color:#fff;height:0;left:0;position:fixed;top:0;width:100%;z-index:200}:host>div>kol-alert{display:block;margin:auto;max-width:750px}:host>div>kol-button-wc{display:block;margin:auto;position:relative;top:0;width:1em}",c=class{constructor(i){t(this,i),this.handleShowAndDuration=()=>{!0===this.state._show&&"number"==typeof this.state._showDuration&&this.state._showDuration>=0&&(clearTimeout(this.durationTimeout),this.durationTimeout=setTimeout((()=>{this.close()}),this.state._showDuration))},this.close=()=>{var t;this._show=!1,this.state=Object.assign(Object.assign({},this.state),{_show:!1}),void 0!==(null===(t=this._on)||void 0===t?void 0:t.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClose:this.close},this._alert=!0,this._hasCloser=!1,this._heading="",this._label=void 0,this._level=1,this._on=void 0,this._show=!0,this._showDuration=1e4,this._type="default",this.state={_alert:!0,_level:1,_show:!0}}validateAlert(t){h(this,"_alert",t)}validateHasCloser(t){s(this,t)}validateHeading(t){this.validateLabel(t)}validateLabel(t){a(this,t)}validateLevel(t){d(this,t)}validateOn(t){"object"!=typeof t||"function"!=typeof(null==t?void 0:t.onClose)&&!0!==t.onClose||n(this,"_on",{onClose:t.onClose})}validateShow(t){o(this,t,{hooks:{afterPatch:this.handleShowAndDuration}})}validateShowDuration(t){r(this,"_showDuration",t,{hooks:{afterPatch:this.handleShowAndDuration}})}validateType(t){l(this,"_type",(t=>"string"==typeof t&&("default"===t||"error"===t||"info"===t||"success"===t||"warning"===t)),new Set("String {success, info, warning, error}"),t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label||this._heading),this.validateLevel(this._level),this.validateOn(this._on),this.validateShow(this._show),this.validateShowDuration(this._showDuration),this.validateType(this._type)}render(){return i(e,null,this.state._show&&i("div",null,i("kol-alert",{_alert:this.state._alert,_label:this.state._label,_level:this.state._level,_hasCloser:this.state._hasCloser,_type:this.state._type,_variant:"card",_on:this.on},i("slot",null))))}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_heading:["validateHeading"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_show:["validateShow"],_showDuration:["validateShowDuration"],_type:["validateType"]}}};c.style={default:p};export{c as kol_toast};
4
+ import{r as t,h as i,H as e}from"./index-5ab2ea42.js";import{v as s}from"./has-closer-49b6c8b7.js";import{v as a}from"./label-162d9b49.js";import{v as o}from"./show-a8f7aa56.js";import{a as h,s as n,e as r,w as l}from"./prop.validators-6cf6ed2d.js";import{w as d}from"./validation-9d2bdef4.js";import"./a11y.tipps-3dbf06fc.js";import"./dev.utils-1ee29ed1.js";import"./reuse-c2156413.js";import"./index-37b5cbcf.js";const p=":host{--a11y-min-size:44px;font-size:inherit}*{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}button,input,option,select,textarea{font-family:inherit}.icon-only>kol-span-wc>span>span{display:none}:host{display:block}:host>div{background-color:#fff;height:0;left:0;position:fixed;top:0;width:100%;z-index:200}:host>div>kol-alert{display:block;margin:auto;max-width:750px}:host>div>kol-button-wc{display:block;margin:auto;position:relative;top:0;width:1em}",u=class{constructor(i){t(this,i),this.handleShowAndDuration=()=>{!0===this.state._show&&"number"==typeof this.state._showDuration&&this.state._showDuration>=0&&(clearTimeout(this.durationTimeout),this.durationTimeout=setTimeout((()=>{this.close()}),this.state._showDuration))},this.close=()=>{var t;this._show=!1,this.state=Object.assign(Object.assign({},this.state),{_show:!1}),void 0!==(null===(t=this._on)||void 0===t?void 0:t.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClose:this.close},this._alert=!0,this._hasCloser=!1,this._heading="",this._label=void 0,this._level=1,this._on=void 0,this._show=!0,this._showDuration=1e4,this._type="default",this.state={_alert:!0,_level:1,_show:!0}}validateAlert(t){h(this,"_alert",t)}validateHasCloser(t){s(this,t)}validateHeading(t){this.validateLabel(t)}validateLabel(t){a(this,t)}validateLevel(t){d(this,t)}validateOn(t){"object"!=typeof t||"function"!=typeof(null==t?void 0:t.onClose)&&!0!==t.onClose||n(this,"_on",{onClose:t.onClose})}validateShow(t){o(this,t,{hooks:{afterPatch:this.handleShowAndDuration}})}validateShowDuration(t){r(this,"_showDuration",t,{hooks:{afterPatch:this.handleShowAndDuration}})}validateType(t){l(this,"_type",(t=>"string"==typeof t&&("default"===t||"error"===t||"info"===t||"success"===t||"warning"===t)),new Set("String {success, info, warning, error}"),t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label||this._heading),this.validateLevel(this._level),this.validateOn(this._on),this.validateShow(this._show),this.validateShowDuration(this._showDuration),this.validateType(this._type)}render(){return i(e,null,this.state._show&&i("div",null,i("kol-alert",{_alert:this.state._alert,_label:this.state._label,_level:this.state._level,_hasCloser:this.state._hasCloser,_type:this.state._type,_variant:"card",_on:this.on},i("slot",null))))}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_heading:["validateHeading"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_show:["validateShow"],_showDuration:["validateShowDuration"],_type:["validateType"]}}};u.style={default:p};export{u as kol_toast};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolToast","this","handleShowAndDuration","state","_show","_showDuration","clearTimeout","durationTimeout","setTimeout","close","Object","assign","_a","_on","onClose","undefined","Event","on","_alert","_level","validateAlert","value","watchBoolean","validateHasCloser","validateHeading","validateLabel","validateLevel","watchHeadingLevel","validateOn","setState","validateShow","hooks","afterPatch","validateShowDuration","watchNumber","validateType","watchValidator","Set","componentWillLoad","_hasCloser","_label","_heading","_type","render","h","Host","_variant"],"sources":["src/components/toast/style.css?tag=kol-toast&mode=default&encapsulation=shadow","src/components/toast/component.tsx"],"sourcesContent":["@import url(../style.css);\n@import url(../host-display-block.css);\n:host > div {\n\tbackground-color: #fff;\n\t/* needed for overlay situations */\n\theight: 0;\n\tleft: 0;\n\tposition: fixed;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 200;\n}\n:host > div > kol-alert {\n\tdisplay: block;\n\tmargin: auto;\n\tmax-width: 750px;\n}\n:host > div > kol-button-wc {\n\tdisplay: block;\n\tmargin: auto;\n\tposition: relative;\n\ttop: 0;\n\twidth: 1em;\n}\n","import { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { HeadingLevel } from '../../types/heading-level';\nimport { HasCloserPropType, validateHasCloser } from '../../types/props/has-closer';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { ShowPropType, validateShow } from '../../types/props/show';\nimport { KoliBriToastEventCallbacks } from '../../types/toast';\nimport { setState, watchBoolean, watchNumber, watchValidator } from '../../utils/prop.validators';\nimport { AlertType } from '../alert/types';\nimport { watchHeadingLevel } from '../heading/validation';\nimport { KoliBriToastAPI, KoliBriToastStates } from './types';\n\n/**\n * @slot - Der Inhalt der Meldung.\n */\n@Component({\n\ttag: 'kol-toast',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolToast implements KoliBriToastAPI {\n\t/**\n\t * Gibt an, ob der Screenreader die Meldung aktiv vorlesen soll.\n\t */\n\t@Prop() public _alert?: boolean = true;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t */\n\t@Prop() public _hasCloser?: HasCloserPropType = false;\n\n\t/**\n\t * Gibt die Beschriftung der Komponente an.\n\t * @deprecated Use _label.\n\t */\n\t@Prop() public _heading?: string = '';\n\n\t/**\n\t * Defines the text to show in the Toast.\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Gibt an, welchen H-Level von 1 bis 6 die Überschrift hat. Oder bei 0, ob es keine Überschrift ist und als fett gedruckter Text angezeigt werden soll.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Function für das Schließen des Toasts an.\n\t */\n\t@Prop() public _on?: KoliBriToastEventCallbacks;\n\n\t/**\n\t * Makes the element show up.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _show?: ShowPropType = true;\n\n\t/**\n\t * Gibt an, wie viele Millisekunden der Toast eingeblendet werden soll.\n\t */\n\t@Prop() public _showDuration?: number = 10000;\n\n\t/**\n\t * Setzt den Typ der Komponente oder des interaktiven Elements in der Komponente an.\n\t */\n\t@Prop() public _type?: AlertType = 'default';\n\n\t@State() public state: KoliBriToastStates = {\n\t\t_alert: true,\n\t\t_level: 1,\n\t\t_show: true,\n\t};\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this, '_alert', value);\n\t}\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_heading')\n\tpublic validateHeading(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('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriToastEventCallbacks): void {\n\t\tif (typeof value === 'object' && (typeof value?.onClose === 'function' || value.onClose === true)) {\n\t\t\tsetState<KoliBriToastEventCallbacks>(this, '_on', { onClose: value.onClose });\n\t\t}\n\t}\n\n\t@Watch('_show')\n\tpublic validateShow(value?: ShowPropType): void {\n\t\tvalidateShow(this, value, { hooks: { afterPatch: this.handleShowAndDuration } });\n\t}\n\n\t@Watch('_showDuration')\n\tpublic validateShowDuration(value?: number): void {\n\t\twatchNumber(this, '_showDuration', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.handleShowAndDuration,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: AlertType): void {\n\t\twatchValidator(\n\t\t\tthis,\n\t\t\t'_type',\n\t\t\t(value) => typeof value === 'string' && (value === 'default' || value === 'error' || value === 'info' || value === 'success' || value === 'warning'),\n\t\t\tnew Set('String {success, info, warning, error}'),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlert(this._alert);\n\t\tthis.validateHasCloser(this._hasCloser);\n\t\tthis.validateLabel(this._label || this._heading);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateShow(this._show);\n\t\tthis.validateShowDuration(this._showDuration);\n\t\tthis.validateType(this._type);\n\t}\n\n\tprivate durationTimeout?: number;\n\n\tprivate readonly handleShowAndDuration = () => {\n\t\tif (this.state._show === true && typeof this.state._showDuration === 'number' && this.state._showDuration >= 0) {\n\t\t\tclearTimeout(this.durationTimeout);\n\t\t\tthis.durationTimeout = setTimeout(() => {\n\t\t\t\tthis.close();\n\t\t\t}, this.state._showDuration) as unknown as number;\n\t\t}\n\t};\n\n\tprivate readonly close = () => {\n\t\tthis._show = false;\n\t\tthis.state = {\n\t\t\t...this.state,\n\t\t\t_show: false,\n\t\t};\n\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClose: this.close,\n\t};\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<div>\n\t\t\t\t\t\t<kol-alert\n\t\t\t\t\t\t\t_alert={this.state._alert}\n\t\t\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t\t\t_level={this.state._level}\n\t\t\t\t\t\t\t_hasCloser={this.state._hasCloser}\n\t\t\t\t\t\t\t_type={this.state._type}\n\t\t\t\t\t\t\t_variant=\"card\"\n\t\t\t\t\t\t\t// tabindex=\"0\"\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</kol-alert>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":";;;+ZAAA,MAAMA,EAAkB,y7B,MCsBXC,EAAQ,M,yBA2HHC,KAAAC,sBAAwB,KACxC,GAAID,KAAKE,MAAMC,QAAU,aAAeH,KAAKE,MAAME,gBAAkB,UAAYJ,KAAKE,MAAME,eAAiB,EAAG,CAC/GC,aAAaL,KAAKM,iBAClBN,KAAKM,gBAAkBC,YAAW,KACjCP,KAAKQ,OAAO,GACVR,KAAKE,MAAME,c,GAICJ,KAAAQ,MAAQ,K,MACxBR,KAAKG,MAAQ,MACbH,KAAKE,MAAKO,OAAAC,OAAAD,OAAAC,OAAA,GACNV,KAAKE,OAAK,CACbC,MAAO,QAGR,KAAIQ,EAAAX,KAAKY,OAAG,MAAAD,SAAA,SAAAA,EAAEE,WAAYC,UAAW,CACpCd,KAAKY,IAAIC,QAAQ,IAAIE,MAAM,S,GAIZf,KAAAgB,GAAK,CACrBH,QAASb,KAAKQ,O,YA7ImB,K,gBAKc,M,cAMb,G,kCAUI,E,8BAU+B,K,mBAK9B,I,WAKL,U,WAES,CAC3CS,OAAQ,KACRC,OAAQ,EACRf,MAAO,K,CAID,aAAAgB,CAAcC,GACpBC,EAAarB,KAAM,SAAUoB,E,CAIvB,iBAAAE,CAAkBF,GACxBE,EAAkBtB,KAAMoB,E,CAIlB,eAAAG,CAAgBH,GACtBpB,KAAKwB,cAAcJ,E,CAIb,aAAAI,CAAcJ,GACpBI,EAAcxB,KAAMoB,E,CAId,aAAAK,CAAcL,GACpBM,EAAkB1B,KAAMoB,E,CAIlB,UAAAO,CAAWP,GACjB,UAAWA,IAAU,kBAAoBA,IAAK,MAALA,SAAK,SAALA,EAAOP,WAAY,YAAcO,EAAMP,UAAY,MAAO,CAClGe,EAAqC5B,KAAM,MAAO,CAAEa,QAASO,EAAMP,S,EAK9D,YAAAgB,CAAaT,GACnBS,EAAa7B,KAAMoB,EAAO,CAAEU,MAAO,CAAEC,WAAY/B,KAAKC,wB,CAIhD,oBAAA+B,CAAqBZ,GAC3Ba,EAAYjC,KAAM,gBAAiBoB,EAAO,CACzCU,MAAO,CACNC,WAAY/B,KAAKC,wB,CAMb,YAAAiC,CAAad,GACnBe,EACCnC,KACA,SACCoB,UAAiBA,IAAU,WAAaA,IAAU,WAAaA,IAAU,SAAWA,IAAU,QAAUA,IAAU,WAAaA,IAAU,YAC1I,IAAIgB,IAAI,0CACRhB,E,CAIK,iBAAAiB,GACNrC,KAAKmB,cAAcnB,KAAKiB,QACxBjB,KAAKsB,kBAAkBtB,KAAKsC,YAC5BtC,KAAKwB,cAAcxB,KAAKuC,QAAUvC,KAAKwC,UACvCxC,KAAKyB,cAAczB,KAAKkB,QACxBlB,KAAK2B,WAAW3B,KAAKY,KACrBZ,KAAK6B,aAAa7B,KAAKG,OACvBH,KAAKgC,qBAAqBhC,KAAKI,eAC/BJ,KAAKkC,aAAalC,KAAKyC,M,CA8BjB,MAAAC,GACN,OACCC,EAACC,EAAI,KACH5C,KAAKE,MAAMC,OACXwC,EAAA,WACCA,EAAA,aACC1B,OAAQjB,KAAKE,MAAMe,OACnBsB,OAAQvC,KAAKE,MAAMqC,OACnBrB,OAAQlB,KAAKE,MAAMgB,OACnBoB,WAAYtC,KAAKE,MAAMoC,WACvBG,MAAOzC,KAAKE,MAAMuC,MAClBI,SAAS,OAETjC,IAAKZ,KAAKgB,IAEV2B,EAAA,e"}
1
+ {"version":3,"names":["defaultStyleCss","KolToast","this","handleShowAndDuration","state","_show","_showDuration","clearTimeout","durationTimeout","setTimeout","close","Object","assign","_a","_on","onClose","undefined","Event","on","_alert","_level","validateAlert","value","watchBoolean","validateHasCloser","validateHeading","validateLabel","validateLevel","watchHeadingLevel","validateOn","setState","validateShow","hooks","afterPatch","validateShowDuration","watchNumber","validateType","watchValidator","Set","componentWillLoad","_hasCloser","_label","_heading","_type","render","h","Host","_variant"],"sources":["src/components/toast/style.css?tag=kol-toast&mode=default&encapsulation=shadow","src/components/toast/component.tsx"],"sourcesContent":["@import url(../style.css);\n@import url(../host-display-block.css);\n:host > div {\n\tbackground-color: #fff;\n\t/* needed for overlay situations */\n\theight: 0;\n\tleft: 0;\n\tposition: fixed;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 200;\n}\n:host > div > kol-alert {\n\tdisplay: block;\n\tmargin: auto;\n\tmax-width: 750px;\n}\n:host > div > kol-button-wc {\n\tdisplay: block;\n\tmargin: auto;\n\tposition: relative;\n\ttop: 0;\n\twidth: 1em;\n}\n","import { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { HeadingLevel } from '../../types/heading-level';\nimport { HasCloserPropType, validateHasCloser } from '../../types/props/has-closer';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { ShowPropType, validateShow } from '../../types/props/show';\nimport { KoliBriToastEventCallbacks } from '../../types/toast';\nimport { setState, watchBoolean, watchNumber, watchValidator } from '../../utils/prop.validators';\nimport { AlertType } from '../alert/types';\nimport { watchHeadingLevel } from '../heading/validation';\nimport { API, States } from './types';\n\n/**\n * @slot - Der Inhalt der Meldung.\n */\n@Component({\n\ttag: 'kol-toast',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolToast implements API {\n\t/**\n\t * Gibt an, ob der Screenreader die Meldung aktiv vorlesen soll.\n\t */\n\t@Prop() public _alert?: boolean = true;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Gibt die Beschriftung der Komponente an.\n\t * @deprecated Use _label.\n\t */\n\t@Prop() public _heading?: string = '';\n\n\t/**\n\t * Setzt die sichtbare oder semantische Beschriftung der Komponente (z.B. Aria-Label, Label, Headline, Caption, Summary usw.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Gibt an, welchen H-Level von 1 bis 6 die Überschrift hat. Oder bei 0, ob es keine Überschrift ist und als fett gedruckter Text angezeigt werden soll.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Function für das Schließen des Toasts an.\n\t */\n\t@Prop() public _on?: KoliBriToastEventCallbacks;\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 = true;\n\n\t/**\n\t * Gibt an, wie viele Millisekunden der Toast eingeblendet werden soll.\n\t */\n\t@Prop() public _showDuration?: number = 10000;\n\n\t/**\n\t * Setzt den Typ der Komponente oder des interaktiven Elements in der Komponente an.\n\t */\n\t@Prop() public _type?: AlertType = 'default';\n\n\t@State() public state: States = {\n\t\t_alert: true,\n\t\t_level: 1,\n\t\t_show: true,\n\t};\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this, '_alert', value);\n\t}\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_heading')\n\tpublic validateHeading(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('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriToastEventCallbacks): void {\n\t\tif (typeof value === 'object' && (typeof value?.onClose === 'function' || value.onClose === true)) {\n\t\t\tsetState<KoliBriToastEventCallbacks>(this, '_on', { onClose: value.onClose });\n\t\t}\n\t}\n\n\t@Watch('_show')\n\tpublic validateShow(value?: ShowPropType): void {\n\t\tvalidateShow(this, value, { hooks: { afterPatch: this.handleShowAndDuration } });\n\t}\n\n\t@Watch('_showDuration')\n\tpublic validateShowDuration(value?: number): void {\n\t\twatchNumber(this, '_showDuration', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.handleShowAndDuration,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: AlertType): void {\n\t\twatchValidator(\n\t\t\tthis,\n\t\t\t'_type',\n\t\t\t(value) => typeof value === 'string' && (value === 'default' || value === 'error' || value === 'info' || value === 'success' || value === 'warning'),\n\t\t\tnew Set('String {success, info, warning, error}'),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlert(this._alert);\n\t\tthis.validateHasCloser(this._hasCloser);\n\t\tthis.validateLabel(this._label || this._heading);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateShow(this._show);\n\t\tthis.validateShowDuration(this._showDuration);\n\t\tthis.validateType(this._type);\n\t}\n\n\tprivate durationTimeout?: number;\n\n\tprivate readonly handleShowAndDuration = () => {\n\t\tif (this.state._show === true && typeof this.state._showDuration === 'number' && this.state._showDuration >= 0) {\n\t\t\tclearTimeout(this.durationTimeout);\n\t\t\tthis.durationTimeout = setTimeout(() => {\n\t\t\t\tthis.close();\n\t\t\t}, this.state._showDuration) as unknown as number;\n\t\t}\n\t};\n\n\tprivate readonly close = () => {\n\t\tthis._show = false;\n\t\tthis.state = {\n\t\t\t...this.state,\n\t\t\t_show: false,\n\t\t};\n\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClose: this.close,\n\t};\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<div>\n\t\t\t\t\t\t<kol-alert\n\t\t\t\t\t\t\t_alert={this.state._alert}\n\t\t\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t\t\t_level={this.state._level}\n\t\t\t\t\t\t\t_hasCloser={this.state._hasCloser}\n\t\t\t\t\t\t\t_type={this.state._type}\n\t\t\t\t\t\t\t_variant=\"card\"\n\t\t\t\t\t\t\t// tabindex=\"0\"\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</kol-alert>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":";;;+ZAAA,MAAMA,EAAkB,y7B,MCsBXC,EAAQ,M,yBA6HHC,KAAAC,sBAAwB,KACxC,GAAID,KAAKE,MAAMC,QAAU,aAAeH,KAAKE,MAAME,gBAAkB,UAAYJ,KAAKE,MAAME,eAAiB,EAAG,CAC/GC,aAAaL,KAAKM,iBAClBN,KAAKM,gBAAkBC,YAAW,KACjCP,KAAKQ,OAAO,GACVR,KAAKE,MAAME,c,GAICJ,KAAAQ,MAAQ,K,MACxBR,KAAKG,MAAQ,MACbH,KAAKE,MAAKO,OAAAC,OAAAD,OAAAC,OAAA,GACNV,KAAKE,OAAK,CACbC,MAAO,QAGR,KAAIQ,EAAAX,KAAKY,OAAG,MAAAD,SAAA,SAAAA,EAAEE,WAAYC,UAAW,CACpCd,KAAKY,IAAIC,QAAQ,IAAIE,MAAM,S,GAIZf,KAAAgB,GAAK,CACrBH,QAASb,KAAKQ,O,YA/ImB,K,gBAMI,M,cAMH,G,kCAUI,E,8BAW0B,K,mBAKzB,I,WAKL,U,WAEH,CAC/BS,OAAQ,KACRC,OAAQ,EACRf,MAAO,K,CAID,aAAAgB,CAAcC,GACpBC,EAAarB,KAAM,SAAUoB,E,CAIvB,iBAAAE,CAAkBF,GACxBE,EAAkBtB,KAAMoB,E,CAIlB,eAAAG,CAAgBH,GACtBpB,KAAKwB,cAAcJ,E,CAIb,aAAAI,CAAcJ,GACpBI,EAAcxB,KAAMoB,E,CAId,aAAAK,CAAcL,GACpBM,EAAkB1B,KAAMoB,E,CAIlB,UAAAO,CAAWP,GACjB,UAAWA,IAAU,kBAAoBA,IAAK,MAALA,SAAK,SAALA,EAAOP,WAAY,YAAcO,EAAMP,UAAY,MAAO,CAClGe,EAAqC5B,KAAM,MAAO,CAAEa,QAASO,EAAMP,S,EAK9D,YAAAgB,CAAaT,GACnBS,EAAa7B,KAAMoB,EAAO,CAAEU,MAAO,CAAEC,WAAY/B,KAAKC,wB,CAIhD,oBAAA+B,CAAqBZ,GAC3Ba,EAAYjC,KAAM,gBAAiBoB,EAAO,CACzCU,MAAO,CACNC,WAAY/B,KAAKC,wB,CAMb,YAAAiC,CAAad,GACnBe,EACCnC,KACA,SACCoB,UAAiBA,IAAU,WAAaA,IAAU,WAAaA,IAAU,SAAWA,IAAU,QAAUA,IAAU,WAAaA,IAAU,YAC1I,IAAIgB,IAAI,0CACRhB,E,CAIK,iBAAAiB,GACNrC,KAAKmB,cAAcnB,KAAKiB,QACxBjB,KAAKsB,kBAAkBtB,KAAKsC,YAC5BtC,KAAKwB,cAAcxB,KAAKuC,QAAUvC,KAAKwC,UACvCxC,KAAKyB,cAAczB,KAAKkB,QACxBlB,KAAK2B,WAAW3B,KAAKY,KACrBZ,KAAK6B,aAAa7B,KAAKG,OACvBH,KAAKgC,qBAAqBhC,KAAKI,eAC/BJ,KAAKkC,aAAalC,KAAKyC,M,CA8BjB,MAAAC,GACN,OACCC,EAACC,EAAI,KACH5C,KAAKE,MAAMC,OACXwC,EAAA,WACCA,EAAA,aACC1B,OAAQjB,KAAKE,MAAMe,OACnBsB,OAAQvC,KAAKE,MAAMqC,OACnBrB,OAAQlB,KAAKE,MAAMgB,OACnBoB,WAAYtC,KAAKE,MAAMoC,WACvBG,MAAOzC,KAAKE,MAAMuC,MAClBI,SAAS,OAETjC,IAAKZ,KAAKgB,IAEV2B,EAAA,e"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as i,h as t,H as s}from"./index-5ab2ea42.js";import{c as o,b as e,o as n,f as a,s as h,a as l}from"./floating-ui.dom.esm-0bd7d943.js";import{w as r}from"./button-link-e0b05c0a.js";import{d as p}from"./prop.validators-286b41b1.js";import{v as d}from"./label-8596593d.js";import{g as c,n as f}from"./dev.utils-2f404ce5.js";import{p as m}from"./reuse-c2156413.js";import"./a11y.tipps-010cc7bb.js";import"./index-37b5cbcf.js";const u=(t,i)=>{p(t,"_id",i)},b=new Set;function v(t){b.forEach((t=>{t.style.setProperty("z-index","999")})),b.add(t),t.style.setProperty("z-index","1000")}function x(t){if(b.delete(t),b.size>0){const t=Array.from(b).pop();t&&t.style.setProperty("z-index","1000")}}const g=":host{--a11y-min-size:44px;font-size:inherit}*{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}button,input,option,select,textarea{font-family:inherit}.icon-only>kol-span-wc>span>span{display:none}kol-tooltip .tooltip-floating{animation-duration:0.5s;animation-iteration-count:1;animation-name:fadeInOpacity;animation-timing-function:ease-in;box-sizing:border-box;display:none;position:absolute;visibility:hidden;top:0;left:0;max-width:90vw;max-height:90vh}kol-tooltip .tooltip-area{background-color:#fff;color:#000}kol-tooltip .tooltip-arrow{height:10px;position:absolute;transform:rotate(45deg);width:10px;z-index:999}kol-tooltip .tooltip-content{position:relative;z-index:1000}@keyframes fadeInOpacity{0%{opacity:0}100%{opacity:1}}",y=class{constructor(t){i(this,t),this.alignTooltip=()=>{var t;if("test"!==m&&this.previousSibling&&this.tooltipElement){const i=this.previousSibling,e=this.tooltipElement,s=this.arrowElement,r=[n(null!==(t=null==s?void 0:s.offsetHeight)&&void 0!==t?t:10),a(),h()];s&&r.push(l({element:s})),o(i,e,{placement:this.state._align,middleware:r}).then((({x:t,y:i,middlewareData:o,placement:n})=>{var l,r;Object.assign(e.style,{left:`${t}px`,top:`${i}px`,visibility:"visible"}),s&&((null===(l=o.arrow)||void 0===l?void 0:l.x)?Object.assign(s.style,{left:`${o.arrow.x}px`,top:"bottom"===n?-s.offsetHeight/2+"px":"",bottom:"top"===n?-s.offsetHeight/2+"px":""}):(null===(r=o.arrow)||void 0===r?void 0:r.y)&&Object.assign(s.style,{left:"right"===n?-s.offsetWidth/2+"px":"",right:"left"===n?-s.offsetWidth/2+"px":"",top:`${o.arrow.y}px`}))}))}},this.showTooltip=()=>{if(this.previousSibling&&this.tooltipElement){v(this.tooltipElement),this.tooltipElement.style.setProperty("display","block"),c().body.addEventListener("keyup",this.hideTooltipByEscape);const t=this.previousSibling,i=this.tooltipElement;this.cleanupAutoPositioning=e(t,i,this.alignTooltip)}},this.hideTooltip=()=>{this.tooltipElement&&(x(this.tooltipElement),this.tooltipElement.style.setProperty("display","none"),this.tooltipElement.style.setProperty("visibility","hidden"),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0))},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(c().body.removeEventListener("keyup",this.hideTooltipByEscape),this.hideTooltip())},this.addListeners=t=>{t.addEventListener("mouseover",this.incrementOverFocusCount),t.addEventListener("focus",this.incrementOverFocusCount),t.addEventListener("mouseout",this.decrementOverFocusCount),t.addEventListener("blur",this.decrementOverFocusCount)},this.removeListeners=t=>{t.removeEventListener("mouseover",this.incrementOverFocusCount),t.removeEventListener("focus",this.incrementOverFocusCount),t.removeEventListener("mouseout",this.decrementOverFocusCount),t.removeEventListener("blur",this.decrementOverFocusCount)},this.resyncListeners=t=>{this.removeListeners(t),this.addListeners(t)},this.catchHostElement=t=>{t&&(this.previousSibling=t.previousElementSibling,this.previousSibling&&this.resyncListeners(this.previousSibling))},this.catchTooltipElement=t=>{this.tooltipElement=t,this.tooltipElement&&this.resyncListeners(this.tooltipElement)},this.catchArrowElement=t=>{this.arrowElement=t},this.overFocusCount=0,this.incrementOverFocusCount=()=>{this.overFocusCount++,this.showOrHideTooltip()},this.decrementOverFocusCount=()=>{this.overFocusCount--,this.showOrHideTooltip()},this.showOrHideTooltip=()=>{clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{clearTimeout(this.overFocusTimeout),this.overFocusCount>0?this.showTooltip():this.hideTooltip()}),250)},this._align="top",this._id=void 0,this._label=void 0,this.state={_align:"top",_id:f(),_label:"…"}}render(){return t(s,{ref:this.catchHostElement},""!==this.state._label&&t("div",{class:"tooltip-floating",ref:this.catchTooltipElement},t("div",{class:"tooltip-area tooltip-arrow",ref:this.catchArrowElement}),t("kol-span-wc",{class:"tooltip-area tooltip-content",id:this.state._id,_label:this.state._label})))}validateAlign(t){r(this,"_align",t)}validateId(t){u(this,t)}validateLabel(t){d(this,t)}componentWillLoad(){this.validateAlign(this._align),this.validateId(this._id),this.validateLabel(this._label)}disconnectedCallback(){this.previousSibling&&this.removeListeners(this.previousSibling),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&this.cleanupAutoPositioning()}static get watchers(){return{_align:["validateAlign"],_id:["validateId"],_label:["validateLabel"]}}};y.style=g;export{y as kol_tooltip};
4
+ import{r as i,h as t,H as s}from"./index-5ab2ea42.js";import{c as o,b as e,o as n,f as a,s as h,a as l}from"./floating-ui.dom.esm-0bd7d943.js";import{v as r}from"./align-770e1701.js";import{d as p}from"./prop.validators-6cf6ed2d.js";import{v as d}from"./label-162d9b49.js";import{g as c,n as f}from"./dev.utils-1ee29ed1.js";import{p as m}from"./reuse-c2156413.js";import"./alignment-18ef41f0.js";import"./a11y.tipps-3dbf06fc.js";import"./index-37b5cbcf.js";const u=(t,i)=>{p(t,"_id",i)},b=new Set;function v(t){b.forEach((t=>{t.style.setProperty("z-index","999")})),b.add(t),t.style.setProperty("z-index","1000")}function x(t){if(b.delete(t),b.size>0){const t=Array.from(b).pop();t&&t.style.setProperty("z-index","1000")}}const g=":host{--a11y-min-size:44px;font-size:inherit}*{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}button,input,option,select,textarea{font-family:inherit}.icon-only>kol-span-wc>span>span{display:none}kol-tooltip .tooltip-floating{animation-duration:0.5s;animation-iteration-count:1;animation-name:fadeInOpacity;animation-timing-function:ease-in;box-sizing:border-box;display:none;position:absolute;visibility:hidden;top:0;left:0;max-width:90vw;max-height:90vh}kol-tooltip .tooltip-area{background-color:#fff;color:#000}kol-tooltip .tooltip-arrow{height:10px;position:absolute;transform:rotate(45deg);width:10px;z-index:999}kol-tooltip .tooltip-content{position:relative;z-index:1000}@keyframes fadeInOpacity{0%{opacity:0}100%{opacity:1}}",y=class{constructor(t){i(this,t),this.alignTooltip=()=>{var t;if("test"!==m&&this.previousSibling&&this.tooltipElement){const i=this.previousSibling,e=this.tooltipElement,s=this.arrowElement,r=[n(null!==(t=null==s?void 0:s.offsetHeight)&&void 0!==t?t:10),a(),h()];s&&r.push(l({element:s})),o(i,e,{placement:this.state._align,middleware:r}).then((({x:t,y:i,middlewareData:o,placement:n})=>{var l,r;Object.assign(e.style,{left:`${t}px`,top:`${i}px`,visibility:"visible"}),s&&((null===(l=o.arrow)||void 0===l?void 0:l.x)?Object.assign(s.style,{left:`${o.arrow.x}px`,top:"bottom"===n?-s.offsetHeight/2+"px":"",bottom:"top"===n?-s.offsetHeight/2+"px":""}):(null===(r=o.arrow)||void 0===r?void 0:r.y)&&Object.assign(s.style,{left:"right"===n?-s.offsetWidth/2+"px":"",right:"left"===n?-s.offsetWidth/2+"px":"",top:`${o.arrow.y}px`}))}))}},this.showTooltip=()=>{if(this.previousSibling&&this.tooltipElement){v(this.tooltipElement),this.tooltipElement.style.setProperty("display","block"),c().body.addEventListener("keyup",this.hideTooltipByEscape);const t=this.previousSibling,i=this.tooltipElement;this.cleanupAutoPositioning=e(t,i,this.alignTooltip)}},this.hideTooltip=()=>{this.tooltipElement&&(x(this.tooltipElement),this.tooltipElement.style.setProperty("display","none"),this.tooltipElement.style.setProperty("visibility","hidden"),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0))},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(c().body.removeEventListener("keyup",this.hideTooltipByEscape),this.hideTooltip())},this.addListeners=t=>{t.addEventListener("mouseover",this.incrementOverFocusCount),t.addEventListener("focus",this.incrementOverFocusCount),t.addEventListener("mouseout",this.decrementOverFocusCount),t.addEventListener("blur",this.decrementOverFocusCount)},this.removeListeners=t=>{t.removeEventListener("mouseover",this.incrementOverFocusCount),t.removeEventListener("focus",this.incrementOverFocusCount),t.removeEventListener("mouseout",this.decrementOverFocusCount),t.removeEventListener("blur",this.decrementOverFocusCount)},this.resyncListeners=t=>{this.removeListeners(t),this.addListeners(t)},this.catchHostElement=t=>{t&&(this.previousSibling=t.previousElementSibling,this.previousSibling&&this.resyncListeners(this.previousSibling))},this.catchTooltipElement=t=>{this.tooltipElement=t,this.tooltipElement&&this.resyncListeners(this.tooltipElement)},this.catchArrowElement=t=>{this.arrowElement=t},this.overFocusCount=0,this.incrementOverFocusCount=()=>{this.overFocusCount++,this.showOrHideTooltip()},this.decrementOverFocusCount=()=>{this.overFocusCount--,this.showOrHideTooltip()},this.showOrHideTooltip=()=>{clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{clearTimeout(this.overFocusTimeout),this.overFocusCount>0?this.showTooltip():this.hideTooltip()}),250)},this._align="top",this._id=void 0,this._label=void 0,this.state={_align:"top",_id:f(),_label:"…"}}render(){return t(s,{ref:this.catchHostElement},""!==this.state._label&&t("div",{class:"tooltip-floating",ref:this.catchTooltipElement},t("div",{class:"tooltip-area tooltip-arrow",ref:this.catchArrowElement}),t("kol-span-wc",{class:"tooltip-area tooltip-content",id:this.state._id,_label:this.state._label})))}validateAlign(t){r(this,t)}validateId(t){u(this,t)}validateLabel(t){d(this,t)}componentWillLoad(){this.validateAlign(this._align),this.validateId(this._id),this.validateLabel(this._label)}disconnectedCallback(){this.previousSibling&&this.removeListeners(this.previousSibling),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&this.cleanupAutoPositioning()}static get watchers(){return{_align:["validateAlign"],_id:["validateId"],_label:["validateLabel"]}}};y.style=g;export{y as kol_tooltip};
@@ -1 +1 @@
1
- {"version":3,"names":["validateId","component","value","watchString","VISIBLE_OVERLAYS","Set","showOverlay","overlay","forEach","visibleOverlay","style","setProperty","add","hideOverlay","delete","size","last","Array","from","pop","styleCss","KolTooltip","this","alignTooltip","processEnv","previousSibling","tooltipElement","target","tooltipEl","arrowEl","arrowElement","middleware","offset","_a","offsetHeight","flip","shift","push","arrow","element","computePosition","placement","state","_align","then","x","y","middlewareData","Object","assign","left","top","visibility","bottom","_b","offsetWidth","right","showTooltip","getDocument","body","addEventListener","hideTooltipByEscape","cleanupAutoPositioning","autoUpdate","hideTooltip","undefined","event","key","removeEventListener","addListeners","el","incrementOverFocusCount","decrementOverFocusCount","removeListeners","resyncListeners","catchHostElement","previousElementSibling","catchTooltipElement","catchArrowElement","overFocusCount","showOrHideTooltip","clearTimeout","overFocusTimeout","setTimeout","_id","nonce","_label","render","h","Host","ref","class","id","validateAlign","watchTooltipAlignment","validateLabel","componentWillLoad","disconnectedCallback"],"sources":["src/types/props/id.ts","src/utils/overlay.ts","src/components/tooltip/style.css?tag=kol-tooltip","src/components/tooltip/component.tsx"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { watchString } from '../../utils/prop.validators';\n\n/* types */\nexport type IdPropType = string;\n\n/**\n * Defines the internal ID of the primary component element.\n */\nexport type PropId = {\n\tid: IdPropType;\n};\n\n/* validator */\nexport const validateId = (component: Generic.Element.Component, value?: IdPropType): void => {\n\twatchString(component, '_id', value);\n};\n","/**\n * This file contains the functions used to manage the visible overlays.\n */\n\n/**\n * This set contains all the visible overlays.\n */\nconst VISIBLE_OVERLAYS: Set<HTMLElement> = new Set();\n\n/**\n * This function is used to add an overlay to the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function showOverlay(overlay: HTMLElement): void {\n\tVISIBLE_OVERLAYS.forEach((visibleOverlay) => {\n\t\tvisibleOverlay.style.setProperty('z-index', '999');\n\t});\n\tVISIBLE_OVERLAYS.add(overlay);\n\toverlay.style.setProperty('z-index', '1000');\n}\n\n/**\n * This function is used to remove an overlay from the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function hideOverlay(overlay: HTMLElement): void {\n\tVISIBLE_OVERLAYS.delete(overlay);\n\tif (VISIBLE_OVERLAYS.size > 0) {\n\t\tconst last = Array.from(VISIBLE_OVERLAYS).pop();\n\t\tif (last) {\n\t\t\tlast.style.setProperty('z-index', '1000');\n\t\t}\n\t}\n}\n","@import url(../style.css);\nkol-tooltip .tooltip-floating {\n\tanimation-duration: 0.5s;\n\tanimation-iteration-count: 1;\n\tanimation-name: fadeInOpacity;\n\tanimation-timing-function: ease-in;\n\tbox-sizing: border-box;\n\tdisplay: none;\n\tposition: absolute;\n\tvisibility: hidden;\n\t/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n\ttop: 0;\n\tleft: 0;\n\tmax-width: 90vw;\n\tmax-height: 90vh;\n}\n/* Shared between content and arrow */\nkol-tooltip .tooltip-area {\n\tbackground-color: #fff;\n\tcolor: #000;\n}\nkol-tooltip .tooltip-arrow {\n\theight: 10px;\n\tposition: absolute;\n\ttransform: rotate(45deg);\n\twidth: 10px;\n\tz-index: 999;\n}\nkol-tooltip .tooltip-content {\n\tposition: relative;\n\tz-index: 1000;\n}\n@keyframes fadeInOpacity {\n\t0% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n","import { arrow, autoUpdate, computePosition, flip, offset, shift } from '@floating-ui/dom';\nimport { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { watchTooltipAlignment } from '../../types/button-link';\nimport { AlignPropType } from '../../types/props/align';\nimport { IdPropType, validateId } from '../../types/props/id';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { getDocument, nonce } from '../../utils/dev.utils';\nimport { hideOverlay, showOverlay } from '../../utils/overlay';\nimport { processEnv } from '../../utils/reuse';\nimport { KoliBriTooltipAPI, KoliBriTooltipStates } from './types';\n\n@Component({\n\ttag: 'kol-tooltip',\n\tstyleUrl: './style.css',\n\tshadow: false,\n})\nexport class KolTooltip implements KoliBriTooltipAPI {\n\tprivate previousSibling?: HTMLElement | null;\n\tprivate tooltipElement?: HTMLDivElement;\n\tprivate arrowElement?: HTMLDivElement;\n\tprivate cleanupAutoPositioning?: () => void;\n\n\tprivate alignTooltip = (): void => {\n\t\tif (processEnv !== 'test' && this.previousSibling /* SSR instanceof HTMLElement */ && this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tconst target = this.previousSibling;\n\t\t\tconst tooltipEl = this.tooltipElement;\n\t\t\tconst arrowEl = this.arrowElement;\n\n\t\t\tconst middleware = [offset(arrowEl?.offsetHeight ?? 10), flip(), shift()];\n\t\t\tif (arrowEl) {\n\t\t\t\tmiddleware.push(arrow({ element: arrowEl }));\n\t\t\t}\n\n\t\t\tvoid computePosition(target, tooltipEl, {\n\t\t\t\tplacement: this.state._align,\n\t\t\t\tmiddleware: middleware,\n\t\t\t}).then(({ x, y, middlewareData, placement }) => {\n\t\t\t\tObject.assign(tooltipEl.style, {\n\t\t\t\t\tleft: `${x}px`,\n\t\t\t\t\ttop: `${y}px`,\n\t\t\t\t\tvisibility: 'visible',\n\t\t\t\t});\n\n\t\t\t\tif (arrowEl) {\n\t\t\t\t\tif (middlewareData.arrow?.x) {\n\t\t\t\t\t\tObject.assign(arrowEl.style, {\n\t\t\t\t\t\t\tleft: `${middlewareData.arrow.x}px`,\n\t\t\t\t\t\t\ttop: placement === 'bottom' ? `${-arrowEl.offsetHeight / 2}px` : '',\n\t\t\t\t\t\t\tbottom: placement === 'top' ? `${-arrowEl.offsetHeight / 2}px` : '',\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (middlewareData.arrow?.y) {\n\t\t\t\t\t\tObject.assign(arrowEl.style, {\n\t\t\t\t\t\t\tleft: placement === 'right' ? `${-arrowEl.offsetWidth / 2}px` : '',\n\t\t\t\t\t\t\tright: placement === 'left' ? `${-arrowEl.offsetWidth / 2}px` : '',\n\t\t\t\t\t\t\ttop: `${middlewareData.arrow.y}px`,\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n\n\tprivate showTooltip = (): void => {\n\t\tif (this.previousSibling && this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tshowOverlay(this.tooltipElement);\n\t\t\tthis.tooltipElement.style.setProperty('display', 'block');\n\t\t\tgetDocument().body.addEventListener('keyup', this.hideTooltipByEscape);\n\n\t\t\tconst target = this.previousSibling;\n\t\t\tconst tooltipEl = this.tooltipElement;\n\t\t\tthis.cleanupAutoPositioning = autoUpdate(target, tooltipEl, this.alignTooltip);\n\t\t}\n\t};\n\n\tprivate hideTooltip = (): void => {\n\t\tif (this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\thideOverlay(this.tooltipElement);\n\t\t\tthis.tooltipElement.style.setProperty('display', 'none');\n\t\t\tthis.tooltipElement.style.setProperty('visibility', 'hidden');\n\t\t\tif (this.cleanupAutoPositioning) {\n\t\t\t\tthis.cleanupAutoPositioning();\n\t\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate hideTooltipByEscape = (event: KeyboardEvent): void => {\n\t\tif (event.key === 'Escape') {\n\t\t\tgetDocument().body.removeEventListener('keyup', this.hideTooltipByEscape);\n\t\t\tthis.hideTooltip();\n\t\t}\n\t};\n\n\tprivate addListeners = (el: Element): void => {\n\t\tel.addEventListener('mouseover', this.incrementOverFocusCount);\n\t\tel.addEventListener('focus', this.incrementOverFocusCount);\n\t\tel.addEventListener('mouseout', this.decrementOverFocusCount);\n\t\tel.addEventListener('blur', this.decrementOverFocusCount);\n\t};\n\n\tprivate removeListeners = (el: Element): void => {\n\t\tel.removeEventListener('mouseover', this.incrementOverFocusCount);\n\t\tel.removeEventListener('focus', this.incrementOverFocusCount);\n\t\tel.removeEventListener('mouseout', this.decrementOverFocusCount);\n\t\tel.removeEventListener('blur', this.decrementOverFocusCount);\n\t};\n\n\tprivate resyncListeners = (el: Element): void => {\n\t\tthis.removeListeners(el);\n\t\tthis.addListeners(el);\n\t};\n\n\tprivate catchHostElement = (el: HTMLElement | null): void => {\n\t\tif (el /* SSR instanceof HTMLElement */) {\n\t\t\tthis.previousSibling = el.previousElementSibling as HTMLElement | null;\n\t\t\tif (this.previousSibling /* SSR instanceof HTMLElement */) {\n\t\t\t\tthis.resyncListeners(this.previousSibling);\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate catchTooltipElement = (el?: HTMLDivElement): void => {\n\t\tthis.tooltipElement = el;\n\t\tif (this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tthis.resyncListeners(this.tooltipElement);\n\t\t}\n\t};\n\tprivate catchArrowElement = (element?: HTMLDivElement): void => {\n\t\tthis.arrowElement = element;\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host ref={this.catchHostElement}>\n\t\t\t\t{this.state._label !== '' && (\n\t\t\t\t\t<div class=\"tooltip-floating\" ref={this.catchTooltipElement}>\n\t\t\t\t\t\t<div class=\"tooltip-area tooltip-arrow\" ref={this.catchArrowElement} />\n\t\t\t\t\t\t<kol-span-wc class=\"tooltip-area tooltip-content\" id={this.state._id} _label={this.state._label}></kol-span-wc>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the alignment of the tooltip in relation to the parent element.\n\t */\n\t@Prop() public _align?: AlignPropType = 'top';\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Sets the visible or semantic label of the component (e.g. Aria label, Label, Headline, Caption, Summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t@State() public state: KoliBriTooltipStates = {\n\t\t_align: 'top',\n\t\t_id: nonce(),\n\t\t_label: '…', // ⚠ required\n\t};\n\n\t@Watch('_align')\n\tpublic validateAlign(value?: AlignPropType): void {\n\t\twatchTooltipAlignment(this, '_align', value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: IdPropType): void {\n\t\tvalidateId(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\tprivate overFocusCount = 0;\n\tprivate overFocusTimeout?: ReturnType<typeof setTimeout>;\n\n\tprivate incrementOverFocusCount = (): void => {\n\t\tthis.overFocusCount++;\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate decrementOverFocusCount = (): void => {\n\t\tthis.overFocusCount--;\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate showOrHideTooltip = (): void => {\n\t\tclearTimeout(this.overFocusTimeout);\n\t\tthis.overFocusTimeout = setTimeout(() => {\n\t\t\tclearTimeout(this.overFocusTimeout);\n\t\t\tif (this.overFocusCount > 0) {\n\t\t\t\tthis.showTooltip();\n\t\t\t} else {\n\t\t\t\tthis.hideTooltip();\n\t\t\t}\n\t\t}, 250);\n\t};\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlign(this._align);\n\t\tthis.validateId(this._id);\n\t\tthis.validateLabel(this._label);\n\t}\n\n\t/**\n\t * @see: components/abbr/component.tsx (componentDidLoad)\n\t */\n\tpublic disconnectedCallback(): void {\n\t\tif (this.previousSibling /* SSR instanceof HTMLElement */) {\n\t\t\tthis.removeListeners(this.previousSibling);\n\t\t}\n\t\tif (this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tthis.removeListeners(this.tooltipElement);\n\t\t}\n\t\tif (this.cleanupAutoPositioning) {\n\t\t\tthis.cleanupAutoPositioning();\n\t\t}\n\t}\n}\n"],"mappings":";;;+aAeO,MAAMA,EAAa,CAACC,EAAsCC,KAChEC,EAAYF,EAAW,MAAOC,EAAM,ECTrC,MAAME,EAAqC,IAAIC,I,SAS/BC,EAAYC,GAC3BH,EAAiBI,SAASC,IACzBA,EAAeC,MAAMC,YAAY,UAAW,MAAM,IAEnDP,EAAiBQ,IAAIL,GACrBA,EAAQG,MAAMC,YAAY,UAAW,OACtC,C,SASgBE,EAAYN,GAC3BH,EAAiBU,OAAOP,GACxB,GAAIH,EAAiBW,KAAO,EAAG,CAC9B,MAAMC,EAAOC,MAAMC,KAAKd,GAAkBe,MAC1C,GAAIH,EAAM,CACTA,EAAKN,MAAMC,YAAY,UAAW,O,EAGrC,CCvCA,MAAMS,EAAW,gtC,MCiBJC,EAAU,M,yBAMdC,KAAAC,aAAe,K,MACtB,GAAIC,IAAe,QAAUF,KAAKG,iBAAoDH,KAAKI,eAAiD,CAC3I,MAAMC,EAASL,KAAKG,gBACpB,MAAMG,EAAYN,KAAKI,eACvB,MAAMG,EAAUP,KAAKQ,aAErB,MAAMC,EAAa,CAACC,GAAOC,EAAAJ,IAAO,MAAPA,SAAO,SAAPA,EAASK,gBAAY,MAAAD,SAAA,EAAAA,EAAI,IAAKE,IAAQC,KACjE,GAAIP,EAAS,CACZE,EAAWM,KAAKC,EAAM,CAAEC,QAASV,I,MAG7BW,EAAgBb,EAAQC,EAAW,CACvCa,UAAWnB,KAAKoB,MAAMC,OACtBZ,WAAYA,IACVa,MAAK,EAAGC,IAAGC,IAAGC,iBAAgBN,gB,QAChCO,OAAOC,OAAOrB,EAAUlB,MAAO,CAC9BwC,KAAM,GAAGL,MACTM,IAAK,GAAGL,MACRM,WAAY,YAGb,GAAIvB,EAAS,CACZ,IAAII,EAAAc,EAAeT,SAAK,MAAAL,SAAA,SAAAA,EAAEY,EAAG,CAC5BG,OAAOC,OAAOpB,EAAQnB,MAAO,CAC5BwC,KAAM,GAAGH,EAAeT,MAAMO,MAC9BM,IAAKV,IAAc,SAAW,IAAIZ,EAAQK,aAAe,MAAQ,GACjEmB,OAAQZ,IAAc,MAAQ,IAAIZ,EAAQK,aAAe,MAAQ,I,MAE5D,IAAIoB,EAAAP,EAAeT,SAAK,MAAAgB,SAAA,SAAAA,EAAER,EAAG,CACnCE,OAAOC,OAAOpB,EAAQnB,MAAO,CAC5BwC,KAAMT,IAAc,QAAU,IAAIZ,EAAQ0B,YAAc,MAAQ,GAChEC,MAAOf,IAAc,OAAS,IAAIZ,EAAQ0B,YAAc,MAAQ,GAChEJ,IAAK,GAAGJ,EAAeT,MAAMQ,O,QAQ3BxB,KAAAmC,YAAc,KACrB,GAAInC,KAAKG,iBAAmBH,KAAKI,eAAiD,CACjFpB,EAAYgB,KAAKI,gBACjBJ,KAAKI,eAAehB,MAAMC,YAAY,UAAW,SACjD+C,IAAcC,KAAKC,iBAAiB,QAAStC,KAAKuC,qBAElD,MAAMlC,EAASL,KAAKG,gBACpB,MAAMG,EAAYN,KAAKI,eACvBJ,KAAKwC,uBAAyBC,EAAWpC,EAAQC,EAAWN,KAAKC,a,GAI3DD,KAAA0C,YAAc,KACrB,GAAI1C,KAAKI,eAAiD,CACzDb,EAAYS,KAAKI,gBACjBJ,KAAKI,eAAehB,MAAMC,YAAY,UAAW,QACjDW,KAAKI,eAAehB,MAAMC,YAAY,aAAc,UACpD,GAAIW,KAAKwC,uBAAwB,CAChCxC,KAAKwC,yBACLxC,KAAKwC,uBAAyBG,S,IAKzB3C,KAAAuC,oBAAuBK,IAC9B,GAAIA,EAAMC,MAAQ,SAAU,CAC3BT,IAAcC,KAAKS,oBAAoB,QAAS9C,KAAKuC,qBACrDvC,KAAK0C,a,GAIC1C,KAAA+C,aAAgBC,IACvBA,EAAGV,iBAAiB,YAAatC,KAAKiD,yBACtCD,EAAGV,iBAAiB,QAAStC,KAAKiD,yBAClCD,EAAGV,iBAAiB,WAAYtC,KAAKkD,yBACrCF,EAAGV,iBAAiB,OAAQtC,KAAKkD,wBAAwB,EAGlDlD,KAAAmD,gBAAmBH,IAC1BA,EAAGF,oBAAoB,YAAa9C,KAAKiD,yBACzCD,EAAGF,oBAAoB,QAAS9C,KAAKiD,yBACrCD,EAAGF,oBAAoB,WAAY9C,KAAKkD,yBACxCF,EAAGF,oBAAoB,OAAQ9C,KAAKkD,wBAAwB,EAGrDlD,KAAAoD,gBAAmBJ,IAC1BhD,KAAKmD,gBAAgBH,GACrBhD,KAAK+C,aAAaC,EAAG,EAGdhD,KAAAqD,iBAAoBL,IAC3B,GAAIA,EAAqC,CACxChD,KAAKG,gBAAkB6C,EAAGM,uBAC1B,GAAItD,KAAKG,gBAAkD,CAC1DH,KAAKoD,gBAAgBpD,KAAKG,gB,IAKrBH,KAAAuD,oBAAuBP,IAC9BhD,KAAKI,eAAiB4C,EACtB,GAAIhD,KAAKI,eAAiD,CACzDJ,KAAKoD,gBAAgBpD,KAAKI,e,GAGpBJ,KAAAwD,kBAAqBvC,IAC5BjB,KAAKQ,aAAeS,CAAO,EAoDpBjB,KAAAyD,eAAiB,EAGjBzD,KAAAiD,wBAA0B,KACjCjD,KAAKyD,iBACLzD,KAAK0D,mBAAmB,EAGjB1D,KAAAkD,wBAA0B,KACjClD,KAAKyD,iBACLzD,KAAK0D,mBAAmB,EAGjB1D,KAAA0D,kBAAoB,KAC3BC,aAAa3D,KAAK4D,kBAClB5D,KAAK4D,iBAAmBC,YAAW,KAClCF,aAAa3D,KAAK4D,kBAClB,GAAI5D,KAAKyD,eAAiB,EAAG,CAC5BzD,KAAKmC,a,KACC,CACNnC,KAAK0C,a,IAEJ,IAAI,E,YAvDgC,M,oDAYM,CAC7CrB,OAAQ,MACRyC,IAAKC,IACLC,OAAQ,I,CA/BF,MAAAC,GACN,OACCC,EAACC,EAAI,CAACC,IAAKpE,KAAKqD,kBACdrD,KAAKoB,MAAM4C,SAAW,IACtBE,EAAA,OAAKG,MAAM,mBAAmBD,IAAKpE,KAAKuD,qBACvCW,EAAA,OAAKG,MAAM,6BAA6BD,IAAKpE,KAAKwD,oBAClDU,EAAA,eAAaG,MAAM,+BAA+BC,GAAItE,KAAKoB,MAAM0C,IAAKE,OAAQhE,KAAKoB,MAAM4C,U,CA6BvF,aAAAO,CAAc3F,GACpB4F,EAAsBxE,KAAM,SAAUpB,E,CAIhC,UAAAF,CAAWE,GACjBF,EAAWsB,KAAMpB,E,CAIX,aAAA6F,CAAc7F,GACpB6F,EAAczE,KAAMpB,E,CA4Bd,iBAAA8F,GACN1E,KAAKuE,cAAcvE,KAAKqB,QACxBrB,KAAKtB,WAAWsB,KAAK8D,KACrB9D,KAAKyE,cAAczE,KAAKgE,O,CAMlB,oBAAAW,GACN,GAAI3E,KAAKG,gBAAkD,CAC1DH,KAAKmD,gBAAgBnD,KAAKG,gB,CAE3B,GAAIH,KAAKI,eAAiD,CACzDJ,KAAKmD,gBAAgBnD,KAAKI,e,CAE3B,GAAIJ,KAAKwC,uBAAwB,CAChCxC,KAAKwC,wB"}
1
+ {"version":3,"names":["validateId","component","value","watchString","VISIBLE_OVERLAYS","Set","showOverlay","overlay","forEach","visibleOverlay","style","setProperty","add","hideOverlay","delete","size","last","Array","from","pop","styleCss","KolTooltip","this","alignTooltip","processEnv","previousSibling","tooltipElement","target","tooltipEl","arrowEl","arrowElement","middleware","offset","_a","offsetHeight","flip","shift","push","arrow","element","computePosition","placement","state","_align","then","x","y","middlewareData","Object","assign","left","top","visibility","bottom","_b","offsetWidth","right","showTooltip","getDocument","body","addEventListener","hideTooltipByEscape","cleanupAutoPositioning","autoUpdate","hideTooltip","undefined","event","key","removeEventListener","addListeners","el","incrementOverFocusCount","decrementOverFocusCount","removeListeners","resyncListeners","catchHostElement","previousElementSibling","catchTooltipElement","catchArrowElement","overFocusCount","showOrHideTooltip","clearTimeout","overFocusTimeout","setTimeout","_id","nonce","_label","render","h","Host","ref","class","id","validateAlign","validateLabel","componentWillLoad","disconnectedCallback"],"sources":["src/types/props/id.ts","src/utils/overlay.ts","src/components/tooltip/style.css?tag=kol-tooltip","src/components/tooltip/component.tsx"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { watchString } from '../../utils/prop.validators';\n\n/* types */\nexport type IdPropType = string;\n\n/**\n * Defines the internal ID of the primary component element.\n */\nexport type PropId = {\n\tid: IdPropType;\n};\n\n/* validator */\nexport const validateId = (component: Generic.Element.Component, value?: IdPropType): void => {\n\twatchString(component, '_id', value);\n};\n","/**\n * This file contains the functions used to manage the visible overlays.\n */\n\n/**\n * This set contains all the visible overlays.\n */\nconst VISIBLE_OVERLAYS: Set<HTMLElement> = new Set();\n\n/**\n * This function is used to add an overlay to the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function showOverlay(overlay: HTMLElement): void {\n\tVISIBLE_OVERLAYS.forEach((visibleOverlay) => {\n\t\tvisibleOverlay.style.setProperty('z-index', '999');\n\t});\n\tVISIBLE_OVERLAYS.add(overlay);\n\toverlay.style.setProperty('z-index', '1000');\n}\n\n/**\n * This function is used to remove an overlay from the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function hideOverlay(overlay: HTMLElement): void {\n\tVISIBLE_OVERLAYS.delete(overlay);\n\tif (VISIBLE_OVERLAYS.size > 0) {\n\t\tconst last = Array.from(VISIBLE_OVERLAYS).pop();\n\t\tif (last) {\n\t\t\tlast.style.setProperty('z-index', '1000');\n\t\t}\n\t}\n}\n","@import url(../style.css);\nkol-tooltip .tooltip-floating {\n\tanimation-duration: 0.5s;\n\tanimation-iteration-count: 1;\n\tanimation-name: fadeInOpacity;\n\tanimation-timing-function: ease-in;\n\tbox-sizing: border-box;\n\tdisplay: none;\n\tposition: absolute;\n\tvisibility: hidden;\n\t/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n\ttop: 0;\n\tleft: 0;\n\tmax-width: 90vw;\n\tmax-height: 90vh;\n}\n/* Shared between content and arrow */\nkol-tooltip .tooltip-area {\n\tbackground-color: #fff;\n\tcolor: #000;\n}\nkol-tooltip .tooltip-arrow {\n\theight: 10px;\n\tposition: absolute;\n\ttransform: rotate(45deg);\n\twidth: 10px;\n\tz-index: 999;\n}\nkol-tooltip .tooltip-content {\n\tposition: relative;\n\tz-index: 1000;\n}\n@keyframes fadeInOpacity {\n\t0% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n","import { arrow, autoUpdate, computePosition, flip, offset, shift } from '@floating-ui/dom';\nimport { Component, h, Host, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { AlignPropType, validateAlign } from '../../types/props/align';\nimport { IdPropType, validateId } from '../../types/props/id';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { getDocument, nonce } from '../../utils/dev.utils';\nimport { hideOverlay, showOverlay } from '../../utils/overlay';\nimport { processEnv } from '../../utils/reuse';\nimport { API, States } from './types';\n\n@Component({\n\ttag: 'kol-tooltip',\n\tstyleUrl: './style.css',\n\tshadow: false,\n})\nexport class KolTooltip implements API {\n\tprivate previousSibling?: HTMLElement | null;\n\tprivate tooltipElement?: HTMLDivElement;\n\tprivate arrowElement?: HTMLDivElement;\n\tprivate cleanupAutoPositioning?: () => void;\n\n\tprivate alignTooltip = (): void => {\n\t\tif (processEnv !== 'test' && this.previousSibling /* SSR instanceof HTMLElement */ && this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tconst target = this.previousSibling;\n\t\t\tconst tooltipEl = this.tooltipElement;\n\t\t\tconst arrowEl = this.arrowElement;\n\n\t\t\tconst middleware = [offset(arrowEl?.offsetHeight ?? 10), flip(), shift()];\n\t\t\tif (arrowEl) {\n\t\t\t\tmiddleware.push(arrow({ element: arrowEl }));\n\t\t\t}\n\n\t\t\tvoid computePosition(target, tooltipEl, {\n\t\t\t\tplacement: this.state._align,\n\t\t\t\tmiddleware: middleware,\n\t\t\t}).then(({ x, y, middlewareData, placement }) => {\n\t\t\t\tObject.assign(tooltipEl.style, {\n\t\t\t\t\tleft: `${x}px`,\n\t\t\t\t\ttop: `${y}px`,\n\t\t\t\t\tvisibility: 'visible',\n\t\t\t\t});\n\n\t\t\t\tif (arrowEl) {\n\t\t\t\t\tif (middlewareData.arrow?.x) {\n\t\t\t\t\t\tObject.assign(arrowEl.style, {\n\t\t\t\t\t\t\tleft: `${middlewareData.arrow.x}px`,\n\t\t\t\t\t\t\ttop: placement === 'bottom' ? `${-arrowEl.offsetHeight / 2}px` : '',\n\t\t\t\t\t\t\tbottom: placement === 'top' ? `${-arrowEl.offsetHeight / 2}px` : '',\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (middlewareData.arrow?.y) {\n\t\t\t\t\t\tObject.assign(arrowEl.style, {\n\t\t\t\t\t\t\tleft: placement === 'right' ? `${-arrowEl.offsetWidth / 2}px` : '',\n\t\t\t\t\t\t\tright: placement === 'left' ? `${-arrowEl.offsetWidth / 2}px` : '',\n\t\t\t\t\t\t\ttop: `${middlewareData.arrow.y}px`,\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n\n\tprivate showTooltip = (): void => {\n\t\tif (this.previousSibling && this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tshowOverlay(this.tooltipElement);\n\t\t\tthis.tooltipElement.style.setProperty('display', 'block');\n\t\t\tgetDocument().body.addEventListener('keyup', this.hideTooltipByEscape);\n\n\t\t\tconst target = this.previousSibling;\n\t\t\tconst tooltipEl = this.tooltipElement;\n\t\t\tthis.cleanupAutoPositioning = autoUpdate(target, tooltipEl, this.alignTooltip);\n\t\t}\n\t};\n\n\tprivate hideTooltip = (): void => {\n\t\tif (this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\thideOverlay(this.tooltipElement);\n\t\t\tthis.tooltipElement.style.setProperty('display', 'none');\n\t\t\tthis.tooltipElement.style.setProperty('visibility', 'hidden');\n\t\t\tif (this.cleanupAutoPositioning) {\n\t\t\t\tthis.cleanupAutoPositioning();\n\t\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate hideTooltipByEscape = (event: KeyboardEvent): void => {\n\t\tif (event.key === 'Escape') {\n\t\t\tgetDocument().body.removeEventListener('keyup', this.hideTooltipByEscape);\n\t\t\tthis.hideTooltip();\n\t\t}\n\t};\n\n\tprivate addListeners = (el: Element): void => {\n\t\tel.addEventListener('mouseover', this.incrementOverFocusCount);\n\t\tel.addEventListener('focus', this.incrementOverFocusCount);\n\t\tel.addEventListener('mouseout', this.decrementOverFocusCount);\n\t\tel.addEventListener('blur', this.decrementOverFocusCount);\n\t};\n\n\tprivate removeListeners = (el: Element): void => {\n\t\tel.removeEventListener('mouseover', this.incrementOverFocusCount);\n\t\tel.removeEventListener('focus', this.incrementOverFocusCount);\n\t\tel.removeEventListener('mouseout', this.decrementOverFocusCount);\n\t\tel.removeEventListener('blur', this.decrementOverFocusCount);\n\t};\n\n\tprivate resyncListeners = (el: Element): void => {\n\t\tthis.removeListeners(el);\n\t\tthis.addListeners(el);\n\t};\n\n\tprivate catchHostElement = (el: HTMLElement | null): void => {\n\t\tif (el /* SSR instanceof HTMLElement */) {\n\t\t\tthis.previousSibling = el.previousElementSibling as HTMLElement | null;\n\t\t\tif (this.previousSibling /* SSR instanceof HTMLElement */) {\n\t\t\t\tthis.resyncListeners(this.previousSibling);\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate catchTooltipElement = (el?: HTMLDivElement): void => {\n\t\tthis.tooltipElement = el;\n\t\tif (this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tthis.resyncListeners(this.tooltipElement);\n\t\t}\n\t};\n\tprivate catchArrowElement = (element?: HTMLDivElement): void => {\n\t\tthis.arrowElement = element;\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host ref={this.catchHostElement}>\n\t\t\t\t{this.state._label !== '' && (\n\t\t\t\t\t<div class=\"tooltip-floating\" ref={this.catchTooltipElement}>\n\t\t\t\t\t\t<div class=\"tooltip-area tooltip-arrow\" ref={this.catchArrowElement} />\n\t\t\t\t\t\t<kol-span-wc class=\"tooltip-area tooltip-content\" id={this.state._id} _label={this.state._label}></kol-span-wc>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the alignment of the tooltip in relation to the parent element.\n\t */\n\t@Prop() public _align?: AlignPropType = 'top';\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Setzt die sichtbare oder semantische Beschriftung der Komponente (z.B. Aria-Label, Label, Headline, Caption, Summary usw.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t@State() public state: States = {\n\t\t_align: 'top',\n\t\t_id: nonce(),\n\t\t_label: '…', // ⚠ required\n\t};\n\n\t@Watch('_align')\n\tpublic validateAlign(value?: AlignPropType): void {\n\t\tvalidateAlign(this, value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: IdPropType): void {\n\t\tvalidateId(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\tprivate overFocusCount = 0;\n\tprivate overFocusTimeout?: ReturnType<typeof setTimeout>;\n\n\tprivate incrementOverFocusCount = (): void => {\n\t\tthis.overFocusCount++;\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate decrementOverFocusCount = (): void => {\n\t\tthis.overFocusCount--;\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate showOrHideTooltip = (): void => {\n\t\tclearTimeout(this.overFocusTimeout);\n\t\tthis.overFocusTimeout = setTimeout(() => {\n\t\t\tclearTimeout(this.overFocusTimeout);\n\t\t\tif (this.overFocusCount > 0) {\n\t\t\t\tthis.showTooltip();\n\t\t\t} else {\n\t\t\t\tthis.hideTooltip();\n\t\t\t}\n\t\t}, 250);\n\t};\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlign(this._align);\n\t\tthis.validateId(this._id);\n\t\tthis.validateLabel(this._label);\n\t}\n\n\t/**\n\t * @see: components/abbr/component.tsx (componentDidLoad)\n\t */\n\tpublic disconnectedCallback(): void {\n\t\tif (this.previousSibling /* SSR instanceof HTMLElement */) {\n\t\t\tthis.removeListeners(this.previousSibling);\n\t\t}\n\t\tif (this.tooltipElement /* SSR instanceof HTMLElement */) {\n\t\t\tthis.removeListeners(this.tooltipElement);\n\t\t}\n\t\tif (this.cleanupAutoPositioning) {\n\t\t\tthis.cleanupAutoPositioning();\n\t\t}\n\t}\n}\n"],"mappings":";;;ycAeO,MAAMA,EAAa,CAACC,EAAsCC,KAChEC,EAAYF,EAAW,MAAOC,EAAM,ECTrC,MAAME,EAAqC,IAAIC,I,SAS/BC,EAAYC,GAC3BH,EAAiBI,SAASC,IACzBA,EAAeC,MAAMC,YAAY,UAAW,MAAM,IAEnDP,EAAiBQ,IAAIL,GACrBA,EAAQG,MAAMC,YAAY,UAAW,OACtC,C,SASgBE,EAAYN,GAC3BH,EAAiBU,OAAOP,GACxB,GAAIH,EAAiBW,KAAO,EAAG,CAC9B,MAAMC,EAAOC,MAAMC,KAAKd,GAAkBe,MAC1C,GAAIH,EAAM,CACTA,EAAKN,MAAMC,YAAY,UAAW,O,EAGrC,CCvCA,MAAMS,EAAW,gtC,MCgBJC,EAAU,M,yBAMdC,KAAAC,aAAe,K,MACtB,GAAIC,IAAe,QAAUF,KAAKG,iBAAoDH,KAAKI,eAAiD,CAC3I,MAAMC,EAASL,KAAKG,gBACpB,MAAMG,EAAYN,KAAKI,eACvB,MAAMG,EAAUP,KAAKQ,aAErB,MAAMC,EAAa,CAACC,GAAOC,EAAAJ,IAAO,MAAPA,SAAO,SAAPA,EAASK,gBAAY,MAAAD,SAAA,EAAAA,EAAI,IAAKE,IAAQC,KACjE,GAAIP,EAAS,CACZE,EAAWM,KAAKC,EAAM,CAAEC,QAASV,I,MAG7BW,EAAgBb,EAAQC,EAAW,CACvCa,UAAWnB,KAAKoB,MAAMC,OACtBZ,WAAYA,IACVa,MAAK,EAAGC,IAAGC,IAAGC,iBAAgBN,gB,QAChCO,OAAOC,OAAOrB,EAAUlB,MAAO,CAC9BwC,KAAM,GAAGL,MACTM,IAAK,GAAGL,MACRM,WAAY,YAGb,GAAIvB,EAAS,CACZ,IAAII,EAAAc,EAAeT,SAAK,MAAAL,SAAA,SAAAA,EAAEY,EAAG,CAC5BG,OAAOC,OAAOpB,EAAQnB,MAAO,CAC5BwC,KAAM,GAAGH,EAAeT,MAAMO,MAC9BM,IAAKV,IAAc,SAAW,IAAIZ,EAAQK,aAAe,MAAQ,GACjEmB,OAAQZ,IAAc,MAAQ,IAAIZ,EAAQK,aAAe,MAAQ,I,MAE5D,IAAIoB,EAAAP,EAAeT,SAAK,MAAAgB,SAAA,SAAAA,EAAER,EAAG,CACnCE,OAAOC,OAAOpB,EAAQnB,MAAO,CAC5BwC,KAAMT,IAAc,QAAU,IAAIZ,EAAQ0B,YAAc,MAAQ,GAChEC,MAAOf,IAAc,OAAS,IAAIZ,EAAQ0B,YAAc,MAAQ,GAChEJ,IAAK,GAAGJ,EAAeT,MAAMQ,O,QAQ3BxB,KAAAmC,YAAc,KACrB,GAAInC,KAAKG,iBAAmBH,KAAKI,eAAiD,CACjFpB,EAAYgB,KAAKI,gBACjBJ,KAAKI,eAAehB,MAAMC,YAAY,UAAW,SACjD+C,IAAcC,KAAKC,iBAAiB,QAAStC,KAAKuC,qBAElD,MAAMlC,EAASL,KAAKG,gBACpB,MAAMG,EAAYN,KAAKI,eACvBJ,KAAKwC,uBAAyBC,EAAWpC,EAAQC,EAAWN,KAAKC,a,GAI3DD,KAAA0C,YAAc,KACrB,GAAI1C,KAAKI,eAAiD,CACzDb,EAAYS,KAAKI,gBACjBJ,KAAKI,eAAehB,MAAMC,YAAY,UAAW,QACjDW,KAAKI,eAAehB,MAAMC,YAAY,aAAc,UACpD,GAAIW,KAAKwC,uBAAwB,CAChCxC,KAAKwC,yBACLxC,KAAKwC,uBAAyBG,S,IAKzB3C,KAAAuC,oBAAuBK,IAC9B,GAAIA,EAAMC,MAAQ,SAAU,CAC3BT,IAAcC,KAAKS,oBAAoB,QAAS9C,KAAKuC,qBACrDvC,KAAK0C,a,GAIC1C,KAAA+C,aAAgBC,IACvBA,EAAGV,iBAAiB,YAAatC,KAAKiD,yBACtCD,EAAGV,iBAAiB,QAAStC,KAAKiD,yBAClCD,EAAGV,iBAAiB,WAAYtC,KAAKkD,yBACrCF,EAAGV,iBAAiB,OAAQtC,KAAKkD,wBAAwB,EAGlDlD,KAAAmD,gBAAmBH,IAC1BA,EAAGF,oBAAoB,YAAa9C,KAAKiD,yBACzCD,EAAGF,oBAAoB,QAAS9C,KAAKiD,yBACrCD,EAAGF,oBAAoB,WAAY9C,KAAKkD,yBACxCF,EAAGF,oBAAoB,OAAQ9C,KAAKkD,wBAAwB,EAGrDlD,KAAAoD,gBAAmBJ,IAC1BhD,KAAKmD,gBAAgBH,GACrBhD,KAAK+C,aAAaC,EAAG,EAGdhD,KAAAqD,iBAAoBL,IAC3B,GAAIA,EAAqC,CACxChD,KAAKG,gBAAkB6C,EAAGM,uBAC1B,GAAItD,KAAKG,gBAAkD,CAC1DH,KAAKoD,gBAAgBpD,KAAKG,gB,IAKrBH,KAAAuD,oBAAuBP,IAC9BhD,KAAKI,eAAiB4C,EACtB,GAAIhD,KAAKI,eAAiD,CACzDJ,KAAKoD,gBAAgBpD,KAAKI,e,GAGpBJ,KAAAwD,kBAAqBvC,IAC5BjB,KAAKQ,aAAeS,CAAO,EAoDpBjB,KAAAyD,eAAiB,EAGjBzD,KAAAiD,wBAA0B,KACjCjD,KAAKyD,iBACLzD,KAAK0D,mBAAmB,EAGjB1D,KAAAkD,wBAA0B,KACjClD,KAAKyD,iBACLzD,KAAK0D,mBAAmB,EAGjB1D,KAAA0D,kBAAoB,KAC3BC,aAAa3D,KAAK4D,kBAClB5D,KAAK4D,iBAAmBC,YAAW,KAClCF,aAAa3D,KAAK4D,kBAClB,GAAI5D,KAAKyD,eAAiB,EAAG,CAC5BzD,KAAKmC,a,KACC,CACNnC,KAAK0C,a,IAEJ,IAAI,E,YAvDgC,M,oDAYR,CAC/BrB,OAAQ,MACRyC,IAAKC,IACLC,OAAQ,I,CA/BF,MAAAC,GACN,OACCC,EAACC,EAAI,CAACC,IAAKpE,KAAKqD,kBACdrD,KAAKoB,MAAM4C,SAAW,IACtBE,EAAA,OAAKG,MAAM,mBAAmBD,IAAKpE,KAAKuD,qBACvCW,EAAA,OAAKG,MAAM,6BAA6BD,IAAKpE,KAAKwD,oBAClDU,EAAA,eAAaG,MAAM,+BAA+BC,GAAItE,KAAKoB,MAAM0C,IAAKE,OAAQhE,KAAKoB,MAAM4C,U,CA6BvF,aAAAO,CAAc3F,GACpB2F,EAAcvE,KAAMpB,E,CAId,UAAAF,CAAWE,GACjBF,EAAWsB,KAAMpB,E,CAIX,aAAA4F,CAAc5F,GACpB4F,EAAcxE,KAAMpB,E,CA4Bd,iBAAA6F,GACNzE,KAAKuE,cAAcvE,KAAKqB,QACxBrB,KAAKtB,WAAWsB,KAAK8D,KACrB9D,KAAKwE,cAAcxE,KAAKgE,O,CAMlB,oBAAAU,GACN,GAAI1E,KAAKG,gBAAkD,CAC1DH,KAAKmD,gBAAgBnD,KAAKG,gB,CAE3B,GAAIH,KAAKI,eAAiD,CACzDJ,KAAKmD,gBAAgBnD,KAAKI,e,CAE3B,GAAIJ,KAAKwC,uBAAwB,CAChCxC,KAAKwC,wB"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as i,h as t}from"./index-5ab2ea42.js";import{v as e}from"./label-8596593d.js";import"./a11y.tipps-010cc7bb.js";import"./dev.utils-2f404ce5.js";import"./reuse-c2156413.js";import"./prop.validators-286b41b1.js";import"./index-37b5cbcf.js";var n;!function(e){e.Violett="#5f316e",e.Dunkelrot="#780f2d",e.Rot="#c0003c",e.Orange="#cd5038",e.Hellorange="#f7bb3d",e.Gelb="#f9e03a",e["Hellgrün"]="#c1ca31",e.Oliv="#597c39",e["Dunkelgrün"]="#005c45",e["Grün"]="#00854a",e["Türkis"]="#00818b",e.Hellblau="#80cdec",e.Blau="#0077b6",e.Petrol="#007194",e.Dunkelblau="#004b76",e.Dunkelgrau="#576164",e.Hellgrau="#bec5c9"}(n||(n={}));const o=":host{--a11y-min-size:44px;font-size:inherit}*{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}button,input,option,select,textarea{font-family:inherit}.icon-only>kol-span-wc>span>span{display:none}",a=class{constructor(e){i(this,e),this._label=void 0,this._version=void 0,this.state={_label:"0.0.0-alpha.0"}}render(){return t("kol-badge",{_color:n.Hellgrau,_icon:"codicon codicon-versions",_label:`v${this.state._label}`})}validateLabel(t){e(this,t)}validateVersion(e){this.validateLabel(e)}componentWillLoad(){this.validateLabel(this._label||this._version)}static get watchers(){return{_label:["validateLabel"],_version:["validateVersion"]}}};a.style={default:o};export{a as kol_version};
4
+ import{r as i,h as t}from"./index-5ab2ea42.js";import{v as e}from"./label-162d9b49.js";import"./a11y.tipps-3dbf06fc.js";import"./dev.utils-1ee29ed1.js";import"./reuse-c2156413.js";import"./prop.validators-6cf6ed2d.js";import"./index-37b5cbcf.js";var n;!function(e){e.Violett="#5f316e",e.Dunkelrot="#780f2d",e.Rot="#c0003c",e.Orange="#cd5038",e.Hellorange="#f7bb3d",e.Gelb="#f9e03a",e["Hellgrün"]="#c1ca31",e.Oliv="#597c39",e["Dunkelgrün"]="#005c45",e["Grün"]="#00854a",e["Türkis"]="#00818b",e.Hellblau="#80cdec",e.Blau="#0077b6",e.Petrol="#007194",e.Dunkelblau="#004b76",e.Dunkelgrau="#576164",e.Hellgrau="#bec5c9"}(n||(n={}));const o=":host{--a11y-min-size:44px;font-size:inherit}*{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}button,input,option,select,textarea{font-family:inherit}.icon-only>kol-span-wc>span>span{display:none}",a=class{constructor(e){i(this,e),this._label=void 0,this._version=void 0,this.state={_label:"0.0.0-alpha.0"}}render(){return t("kol-badge",{_color:n.Hellgrau,_icon:"codicon codicon-versions",_label:`v${this.state._label}`})}validateLabel(t){e(this,t)}validateVersion(e){this.validateLabel(e)}componentWillLoad(){this.validateLabel(this._label||this._version)}static get watchers(){return{_label:["validateLabel"],_version:["validateVersion"]}}};a.style={default:o};export{a as kol_version};
@@ -1 +1 @@
1
- {"version":3,"names":["Farbspektrum","defaultStyleCss","KolVersion","_label","render","h","_color","Hellgrau","_icon","this","state","validateLabel","value","validateVersion","componentWillLoad","_version"],"sources":["src/enums/color.ts","src/components/version/style.css?tag=kol-version&mode=default&encapsulation=shadow","src/components/version/component.tsx"],"sourcesContent":["/**\n * @deprecated We will remove this enum in the next major release.\n */\nexport type FarbspektrumNames =\n\t| 'Violett'\n\t| 'Dunkelrot'\n\t| 'Rot'\n\t| 'Orange'\n\t| 'Hellorange'\n\t| 'Gelb'\n\t| 'Hellgrün'\n\t| 'Oliv'\n\t| 'Dunkelgrün'\n\t| 'Grün'\n\t| 'Türkis'\n\t| 'Hellblau'\n\t| 'Blau'\n\t| 'Petrol'\n\t| 'Dunkelblau'\n\t| 'Dunkelgrau'\n\t| 'Hellgrau';\n\n/**\n * @deprecated We will remove this enum in the next major release.\n */\nexport enum Farbspektrum {\n\t'Violett' = '#5f316e',\n\t'Dunkelrot' = '#780f2d',\n\t'Rot' = '#c0003c',\n\t'Orange' = '#cd5038',\n\t'Hellorange' = '#f7bb3d',\n\t'Gelb' = '#f9e03a',\n\t'Hellgrün' = '#c1ca31',\n\t'Oliv' = '#597c39',\n\t'Dunkelgrün' = '#005c45',\n\t'Grün' = '#00854a',\n\t'Türkis' = '#00818b',\n\t'Hellblau' = '#80cdec',\n\t'Blau' = '#0077b6',\n\t'Petrol' = '#007194',\n\t'Dunkelblau' = '#004b76',\n\t'Dunkelgrau' = '#576164',\n\t'Hellgrau' = '#bec5c9',\n}\n","@import url(../style.css);\n","import { Component, h, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { Farbspektrum } from '../../enums/color';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { KoliBriVersionAPI, KoliBriVersionStates } from './types';\n\n@Component({\n\ttag: 'kol-version',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolVersion implements KoliBriVersionAPI {\n\tpublic render(): JSX.Element {\n\t\treturn <kol-badge _color={Farbspektrum.Hellgrau} _icon=\"codicon codicon-versions\" _label={`v${this.state._label}`} />;\n\t}\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@Prop() public _label?: LabelPropType; // TODO: required in v2\n\n\t/**\n\t * Gibt die Versionsnummer als Text an.\n\t * @deprecated use _label instead\n\t */\n\t@Prop() public _version?: string;\n\n\t@State() public state: KoliBriVersionStates = {\n\t\t_label: '0.0.0-alpha.0',\n\t};\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t@Watch('_version')\n\tpublic validateVersion(value?: string): void {\n\t\tthis.validateLabel(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label || this._version);\n\t}\n}\n"],"mappings":";;;sPAyBA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,qBACAA,EAAA,uBACAA,EAAA,iBACAA,EAAA,oBACAA,EAAA,wBACAA,EAAA,kBACAA,EAAA,sBACAA,EAAA,kBACAA,EAAA,wBACAA,EAAA,kBACAA,EAAA,oBACAA,EAAA,sBACAA,EAAA,kBACAA,EAAA,oBACAA,EAAA,wBACAA,EAAA,wBACAA,EAAA,qBACA,EAlBD,CAAYA,MAAY,KCzBxB,MAAMC,EAAkB,urB,MCaXC,EAAU,M,kFAgBwB,CAC7CC,OAAQ,gB,CAhBF,MAAAC,GACN,OAAOC,EAAA,aAAWC,OAAQN,EAAaO,SAAUC,MAAM,2BAA2BL,OAAQ,IAAIM,KAAKC,MAAMP,U,CAmBnG,aAAAQ,CAAcC,GACpBD,EAAcF,KAAMG,E,CAId,eAAAC,CAAgBD,GACtBH,KAAKE,cAAcC,E,CAGb,iBAAAE,GACNL,KAAKE,cAAcF,KAAKN,QAAUM,KAAKM,S"}
1
+ {"version":3,"names":["Farbspektrum","defaultStyleCss","KolVersion","_label","render","h","_color","Hellgrau","_icon","this","state","validateLabel","value","validateVersion","componentWillLoad","_version"],"sources":["src/enums/color.ts","src/components/version/style.css?tag=kol-version&mode=default&encapsulation=shadow","src/components/version/component.tsx"],"sourcesContent":["/**\n * @deprecated We will remove this enum in the next major release.\n */\nexport type FarbspektrumNames =\n\t| 'Violett'\n\t| 'Dunkelrot'\n\t| 'Rot'\n\t| 'Orange'\n\t| 'Hellorange'\n\t| 'Gelb'\n\t| 'Hellgrün'\n\t| 'Oliv'\n\t| 'Dunkelgrün'\n\t| 'Grün'\n\t| 'Türkis'\n\t| 'Hellblau'\n\t| 'Blau'\n\t| 'Petrol'\n\t| 'Dunkelblau'\n\t| 'Dunkelgrau'\n\t| 'Hellgrau';\n\n/**\n * @deprecated We will remove this enum in the next major release.\n */\nexport enum Farbspektrum {\n\t'Violett' = '#5f316e',\n\t'Dunkelrot' = '#780f2d',\n\t'Rot' = '#c0003c',\n\t'Orange' = '#cd5038',\n\t'Hellorange' = '#f7bb3d',\n\t'Gelb' = '#f9e03a',\n\t'Hellgrün' = '#c1ca31',\n\t'Oliv' = '#597c39',\n\t'Dunkelgrün' = '#005c45',\n\t'Grün' = '#00854a',\n\t'Türkis' = '#00818b',\n\t'Hellblau' = '#80cdec',\n\t'Blau' = '#0077b6',\n\t'Petrol' = '#007194',\n\t'Dunkelblau' = '#004b76',\n\t'Dunkelgrau' = '#576164',\n\t'Hellgrau' = '#bec5c9',\n}\n","@import url(../style.css);\n","import { Component, h, JSX, Prop, State, Watch } from '@stencil/core';\n\nimport { Farbspektrum } from '../../enums/color';\nimport { LabelPropType, validateLabel } from '../../types/props/label';\nimport { API, States } from './types';\n\n@Component({\n\ttag: 'kol-version',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolVersion implements API {\n\tpublic render(): JSX.Element {\n\t\treturn <kol-badge _color={Farbspektrum.Hellgrau} _icon=\"codicon codicon-versions\" _label={`v${this.state._label}`} />;\n\t}\n\n\t/**\n\t * Setzt die sichtbare oder semantische Beschriftung der Komponente (z.B. Aria-Label, Label, Headline, Caption, Summary usw.).\n\t */\n\t@Prop() public _label?: LabelPropType; // TODO: required in v2\n\n\t/**\n\t * Gibt die Versionsnummer als Text an.\n\t * @deprecated use _label instead\n\t */\n\t@Prop() public _version?: string;\n\n\t@State() public state: States = {\n\t\t_label: '0.0.0-alpha.0',\n\t};\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t@Watch('_version')\n\tpublic validateVersion(value?: string): void {\n\t\tthis.validateLabel(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label || this._version);\n\t}\n}\n"],"mappings":";;;sPAyBA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,qBACAA,EAAA,uBACAA,EAAA,iBACAA,EAAA,oBACAA,EAAA,wBACAA,EAAA,kBACAA,EAAA,sBACAA,EAAA,kBACAA,EAAA,wBACAA,EAAA,kBACAA,EAAA,oBACAA,EAAA,sBACAA,EAAA,kBACAA,EAAA,oBACAA,EAAA,wBACAA,EAAA,wBACAA,EAAA,qBACA,EAlBD,CAAYA,MAAY,KCzBxB,MAAMC,EAAkB,urB,MCaXC,EAAU,M,kFAgBU,CAC/BC,OAAQ,gB,CAhBF,MAAAC,GACN,OAAOC,EAAA,aAAWC,OAAQN,EAAaO,SAAUC,MAAM,2BAA2BL,OAAQ,IAAIM,KAAKC,MAAMP,U,CAmBnG,aAAAQ,CAAcC,GACpBD,EAAcF,KAAMG,E,CAId,eAAAC,CAAgBD,GACtBH,KAAKE,cAAcC,E,CAGb,iBAAAE,GACNL,KAAKE,cAAcF,KAAKN,QAAUM,KAAKM,S"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as e,b as a}from"./index-5ab2ea42.js";export{s as setNonce}from"./index-5ab2ea42.js";import{g as _}from"./app-globals-12365829.js";import"./index-d8ac1088.js";import"./index-37b5cbcf.js";import"./dev.utils-2f404ce5.js";import"./reuse-c2156413.js";const l=()=>{const a=import.meta.url,_={};return""!==a&&(_.resourcesUrl=new URL(".",a).href),e(_)};l().then((e=>(_(),a(JSON.parse('[["kol-table",[[33,"kol-table",{"_caption":[1],"_data":[1],"_dataFoot":[1,"_data-foot"],"_headers":[1],"_label":[1],"_minWidth":[1,"_min-width"],"_pagination":[8],"state":[32]}]]],["kol-input-adapter-leanup",[[1,"kol-input-adapter-leanup"]]],["kol-input-radio-group",[[1,"kol-input-radio-group",{"_accessKey":[1,"_access-key"],"_alert":[4],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[8],"_list":[1],"_name":[1],"_on":[16],"_orientation":[1],"_required":[4],"_tabIndex":[2,"_tab-index"],"_touched":[4],"_value":[8]}]]],["kol-input-checkbox",[[33,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_checked":[1540],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_indeterminate":[1540],"_label":[8],"_name":[1],"_on":[16],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-input-color",[[33,"kol-input-color",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_name":[1],"_on":[16],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-date",[[33,"kol-input-date",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_max":[1],"_min":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[2],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32]}]]],["kol-input-email",[[33,"kol-input-email",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_maxLength":[2,"_max-length"],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_size":[2],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-file",[[33,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-number",[[33,"kol-input-number",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_max":[8],"_min":[8],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1032],"state":[32]}]]],["kol-input-password",[[33,"kol-input-password",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_size":[2],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-range",[[33,"kol-input-range",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_max":[2],"_min":[2],"_name":[1],"_on":[16],"_step":[2],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[2],"state":[32]}]]],["kol-input-text",[[33,"kol-input-text",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_size":[2],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32]}]]],["kol-textarea",[[33,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[8],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-nav",[[33,"kol-nav",{"_ariaCurrentValue":[8,"_aria-current-value"],"_ariaLabel":[1,"_aria-label"],"_collapsible":[4],"_compact":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"_orientation":[1],"_variant":[1],"state":[32]}]]],["kol-toast",[[33,"kol-toast",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_heading":[1],"_label":[1],"_level":[2],"_on":[16],"_show":[1540],"_showDuration":[2,"_show-duration"],"_type":[1],"state":[32]}]]],["kol-link-group",[[33,"kol-link-group",{"_ariaLabel":[1,"_aria-label"],"_listStyleType":[1,"_list-style-type"],"_heading":[1],"_label":[1],"_level":[2],"_links":[1],"_ordered":[4],"_orientation":[1],"state":[32]}]]],["kol-accordion",[[33,"kol-accordion",{"_heading":[1],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32]}]]],["kol-breadcrumb",[[33,"kol-breadcrumb",{"_ariaLabel":[1,"_aria-label"],"_label":[1],"_links":[1],"state":[32]}]]],["kol-card",[[33,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_hasFooter":[4,"_has-footer"],"_heading":[1],"_headline":[1],"_label":[1],"_level":[2],"state":[32]}]]],["kol-quote",[[33,"kol-quote",{"_caption":[1],"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]}]]],["kol-tabs",[[33,"kol-tabs",{"_align":[1],"_ariaLabel":[1,"_aria-label"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"_tabsAlign":[1,"_tabs-align"],"state":[32]}]]],["kol-version",[[33,"kol-version",{"_label":[1],"_version":[1],"state":[32]}]]],["kol-button-link",[[33,"kol-button-link",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1025,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_id":[1],"_label":[8],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8]}]]],["kol-link-button",[[33,"kol-link-button",{"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[8],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[8],"_listenAriaCurrent":[8,"_listen-aria-current"],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_targetDescription":[1,"_target-description"],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1]}]]],["kol-skip-nav",[[33,"kol-skip-nav",{"_ariaLabel":[1,"_aria-label"],"_label":[1],"_links":[1],"state":[32]}]]],["kol-split-button",[[33,"kol-split-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1025,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_showDropdown":[1540,"_show-dropdown"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-abbr",[[33,"kol-abbr",{"_label":[1],"_tooltipAlign":[1,"_tooltip-align"],"_title":[1],"state":[32]}]]],["kol-details",[[33,"kol-details",{"_label":[1],"_open":[1540],"_summary":[1],"state":[32]}]]],["kol-span",[[33,"kol-span",{"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[8]}]]],["kol-avatar",[[33,"kol-avatar",{"_src":[1],"_label":[1]}]]],["kol-button-group",[[33,"kol-button-group"]]],["kol-indented-text",[[33,"kol-indented-text",{"state":[32]}]]],["kol-form",[[1,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"state":[32]}]]],["kol-heading",[[33,"kol-heading",{"_label":[8],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"]}]]],["kol-icon",[[33,"kol-icon",{"_ariaLabel":[1,"_aria-label"],"_icon":[1],"_label":[1],"_part":[1],"state":[32]}]]],["kol-icon-font-awesome",[[0,"kol-icon-font-awesome",{"_ariaLabel":[1,"_aria-label"],"_icon":[1],"_prefix":[1],"_part":[1]}]]],["kol-icon-icofont",[[0,"kol-icon-icofont",{"_ariaLabel":[1,"_aria-label"],"_icon":[1],"_part":[1]}]]],["kol-image",[[33,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"state":[32]}]]],["kol-kolibri",[[33,"kol-kolibri",{"_animate":[4],"_color":[1],"_labeled":[4],"state":[32]}]]],["kol-logo",[[33,"kol-logo",{"_abbr":[1],"_org":[1],"state":[32]}]]],["kol-modal",[[33,"kol-modal",{"_activeElement":[1040],"_ariaLabel":[1,"_aria-label"],"_label":[1],"_on":[16],"_width":[1],"state":[32]}]]],["kol-popover",[[4,"kol-popover",{"_align":[1],"_show":[1540],"state":[32]}]]],["kol-progress",[[33,"kol-progress",{"_label":[1],"_max":[2],"_type":[1],"_unit":[1],"_value":[2],"_variant":[1],"state":[32]}]]],["kol-spin",[[33,"kol-spin",{"_show":[4],"_variant":[1],"state":[32]}]]],["kol-symbol",[[0,"kol-symbol",{"_ariaLabel":[1,"_aria-label"],"_label":[1],"_symbol":[1],"state":[32]}]]],["kol-span-wc",[[4,"kol-span-wc",{"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[8],"state":[32]}]]],["kol-tooltip",[[0,"kol-tooltip",{"_align":[1],"_id":[1],"_label":[1],"state":[32]}]]],["kol-button-wc_2",[[4,"kol-heading-wc",{"_label":[8],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]}],[4,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_id":[1],"_label":[8],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-pagination",[[33,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_total":[2],"_variant":[1],"state":[32]}]]],["kol-input-radio",[[33,"kol-input-radio",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[8],"_list":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"state":[32]}]]],["kol-button-link-text-switch",[[0,"kol-button-link-text-switch",{"_link":[16]}]]],["kol-badge",[[33,"kol-badge",{"_color":[1],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32]}]]],["kol-avatar-wc",[[0,"kol-avatar-wc",{"_src":[1],"_label":[1],"state":[32]}]]],["kol-select",[[33,"kol-select",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_height":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_rows":[2],"_size":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1025],"state":[32]}]]],["kol-button-group-wc",[[4,"kol-button-group-wc",{"state":[32]}]]],["kol-button",[[33,"kol-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_id":[1],"_label":[8],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1]}]]],["kol-link-wc",[[4,"kol-link-wc",{"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_download":[8],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_label":[8],"_listenAriaCurrent":[8,"_listen-aria-current"],"_on":[16],"_role":[1],"_selector":[1],"_stealth":[4],"_tabIndex":[2,"_tab-index"],"_target":[1],"_targetDescription":[1,"_target-description"],"_tooltipAlign":[1,"_tooltip-align"],"_useCase":[1,"_use-case"],"state":[32]}]]],["kol-link",[[33,"kol-link",{"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_download":[8],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_label":[8],"_listenAriaCurrent":[8,"_listen-aria-current"],"_on":[16],"_role":[1],"_selector":[1],"_stealth":[4],"_tabIndex":[2,"_tab-index"],"_target":[1],"_targetDescription":[1,"_target-description"],"_tooltipAlign":[1,"_tooltip-align"],"_useCase":[1,"_use-case"]}]]],["kol-alert",[[33,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_heading":[1],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc_2",[[4,"kol-input",{"_alert":[4],"_currentLength":[2,"_current-length"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[16],"_id":[1],"_maxLength":[2,"_max-length"],"_readOnly":[4,"_read-only"],"_renderNoLabel":[4,"_render-no-label"],"_required":[4],"_slotName":[1,"_slot-name"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_touched":[4]}],[4,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]]]'),e))));
4
+ import{p as e,b as a}from"./index-5ab2ea42.js";export{s as setNonce}from"./index-5ab2ea42.js";import{g as _}from"./app-globals-0c370b67.js";import"./index-d8ac1088.js";import"./index-37b5cbcf.js";import"./dev.utils-1ee29ed1.js";import"./reuse-c2156413.js";const l=()=>{const a=import.meta.url,_={};return""!==a&&(_.resourcesUrl=new URL(".",a).href),e(_)};l().then((e=>(_(),a(JSON.parse('[["kol-table",[[33,"kol-table",{"_caption":[1],"_data":[1],"_dataFoot":[1,"_data-foot"],"_headers":[1],"_label":[1],"_minWidth":[1,"_min-width"],"_pagination":[8],"state":[32]}]]],["kol-input-adapter-leanup",[[1,"kol-input-adapter-leanup"]]],["kol-input-radio-group",[[1,"kol-input-radio-group",{"_accessKey":[1,"_access-key"],"_alert":[4],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[8],"_list":[1],"_name":[1],"_on":[16],"_orientation":[1],"_required":[4],"_tabIndex":[2,"_tab-index"],"_touched":[4],"_value":[8]}]]],["kol-input-checkbox",[[33,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_checked":[1540],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_indeterminate":[1540],"_label":[8],"_name":[1],"_on":[16],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-input-color",[[33,"kol-input-color",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_name":[1],"_on":[16],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-date",[[33,"kol-input-date",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_max":[1],"_min":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[2],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32]}]]],["kol-input-email",[[33,"kol-input-email",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_maxLength":[2,"_max-length"],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_size":[2],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-file",[[33,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-number",[[33,"kol-input-number",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_max":[8],"_min":[8],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1032],"state":[32]}]]],["kol-input-password",[[33,"kol-input-password",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_size":[2],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-input-range",[[33,"kol-input-range",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_max":[2],"_min":[2],"_name":[1],"_on":[16],"_step":[2],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[2],"state":[32]}]]],["kol-input-text",[[33,"kol-input-text",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_size":[2],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32]}]]],["kol-textarea",[[33,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[8],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32]}]]],["kol-nav",[[33,"kol-nav",{"_ariaCurrentValue":[8,"_aria-current-value"],"_ariaLabel":[1,"_aria-label"],"_collapsible":[4],"_compact":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"_orientation":[1],"_variant":[1],"state":[32]}]]],["kol-toast",[[33,"kol-toast",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_heading":[1],"_label":[1],"_level":[2],"_on":[16],"_show":[1540],"_showDuration":[2,"_show-duration"],"_type":[1],"state":[32]}]]],["kol-link-group",[[33,"kol-link-group",{"_ariaLabel":[1,"_aria-label"],"_listStyleType":[1,"_list-style-type"],"_heading":[1],"_label":[1],"_level":[2],"_links":[1],"_ordered":[4],"_orientation":[1],"state":[32]}]]],["kol-accordion",[[33,"kol-accordion",{"_heading":[1],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32]}]]],["kol-breadcrumb",[[33,"kol-breadcrumb",{"_ariaLabel":[1,"_aria-label"],"_label":[1],"_links":[1],"state":[32]}]]],["kol-card",[[33,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_hasFooter":[4,"_has-footer"],"_heading":[1],"_headline":[1],"_label":[1],"_level":[2],"state":[32]}]]],["kol-quote",[[33,"kol-quote",{"_caption":[1],"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]}]]],["kol-tabs",[[33,"kol-tabs",{"_align":[1],"_ariaLabel":[1,"_aria-label"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"_tabsAlign":[1,"_tabs-align"],"state":[32]}]]],["kol-version",[[33,"kol-version",{"_label":[1],"_version":[1],"state":[32]}]]],["kol-button-link",[[33,"kol-button-link",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1025,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_id":[1],"_label":[8],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8]}]]],["kol-link-button",[[33,"kol-link-button",{"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[8],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[8],"_listenAriaCurrent":[8,"_listen-aria-current"],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_targetDescription":[1,"_target-description"],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1]}]]],["kol-skip-nav",[[33,"kol-skip-nav",{"_ariaLabel":[1,"_aria-label"],"_label":[1],"_links":[1],"state":[32]}]]],["kol-split-button",[[33,"kol-split-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1025,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_showDropdown":[1540,"_show-dropdown"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-abbr",[[33,"kol-abbr",{"_label":[1],"_tooltipAlign":[1,"_tooltip-align"],"_title":[1],"state":[32]}]]],["kol-details",[[33,"kol-details",{"_label":[1],"_open":[1540],"_summary":[1],"state":[32]}]]],["kol-span",[[33,"kol-span",{"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[8]}]]],["kol-avatar",[[33,"kol-avatar",{"_src":[1],"_label":[1]}]]],["kol-button-group",[[33,"kol-button-group"]]],["kol-indented-text",[[33,"kol-indented-text",{"state":[32]}]]],["kol-form",[[1,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"state":[32]}]]],["kol-heading",[[33,"kol-heading",{"_label":[8],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"]}]]],["kol-icon",[[33,"kol-icon",{"_ariaLabel":[1,"_aria-label"],"_icon":[1],"_label":[1],"_part":[1],"state":[32]}]]],["kol-icon-font-awesome",[[0,"kol-icon-font-awesome",{"_ariaLabel":[1,"_aria-label"],"_icon":[1],"_prefix":[1],"_part":[1]}]]],["kol-icon-icofont",[[0,"kol-icon-icofont",{"_ariaLabel":[1,"_aria-label"],"_icon":[1],"_part":[1]}]]],["kol-image",[[33,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"state":[32]}]]],["kol-kolibri",[[33,"kol-kolibri",{"_animate":[4],"_color":[1],"_labeled":[4],"state":[32]}]]],["kol-logo",[[33,"kol-logo",{"_abbr":[1],"_org":[1],"state":[32]}]]],["kol-modal",[[33,"kol-modal",{"_activeElement":[1040],"_ariaLabel":[1,"_aria-label"],"_label":[1],"_on":[16],"_width":[1],"state":[32]}]]],["kol-popover",[[4,"kol-popover",{"_align":[1],"_show":[1540],"state":[32]}]]],["kol-progress",[[33,"kol-progress",{"_label":[1],"_max":[2],"_type":[1],"_unit":[1],"_value":[2],"_variant":[1],"state":[32]}]]],["kol-spin",[[33,"kol-spin",{"_show":[4],"_variant":[1],"state":[32]}]]],["kol-symbol",[[0,"kol-symbol",{"_ariaLabel":[1,"_aria-label"],"_label":[1],"_symbol":[1],"state":[32]}]]],["kol-span-wc",[[4,"kol-span-wc",{"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[8],"state":[32]}]]],["kol-tooltip",[[0,"kol-tooltip",{"_align":[1],"_id":[1],"_label":[1],"state":[32]}]]],["kol-button-wc_2",[[4,"kol-heading-wc",{"_label":[8],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]}],[4,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_id":[1],"_label":[8],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-pagination",[[33,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_total":[2],"_variant":[1],"state":[32]}]]],["kol-input-radio",[[33,"kol-input-radio",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[8],"_list":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"state":[32]}]]],["kol-button-link-text-switch",[[0,"kol-button-link-text-switch",{"_link":[16]}]]],["kol-badge",[[33,"kol-badge",{"_color":[1],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconOnly":[4,"_icon-only"],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32]}]]],["kol-avatar-wc",[[0,"kol-avatar-wc",{"_src":[1],"_label":[1],"state":[32]}]]],["kol-select",[[33,"kol-select",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_height":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[1],"_id":[1],"_label":[8],"_list":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_rows":[2],"_size":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1025],"state":[32]}]]],["kol-button-group-wc",[[4,"kol-button-group-wc",{"state":[32]}]]],["kol-button",[[33,"kol-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_id":[1],"_label":[8],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1]}]]],["kol-link-wc",[[4,"kol-link-wc",{"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_download":[8],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_label":[8],"_listenAriaCurrent":[8,"_listen-aria-current"],"_on":[16],"_role":[1],"_selector":[1],"_stealth":[4],"_tabIndex":[2,"_tab-index"],"_target":[1],"_targetDescription":[1,"_target-description"],"_tooltipAlign":[1,"_tooltip-align"],"_useCase":[1,"_use-case"],"state":[32]}]]],["kol-link",[[33,"kol-link",{"_ariaControls":[1,"_aria-controls"],"_ariaCurrent":[8,"_aria-current"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaLabel":[1,"_aria-label"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_download":[8],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icon":[1],"_iconAlign":[1,"_icon-align"],"_iconOnly":[4,"_icon-only"],"_label":[8],"_listenAriaCurrent":[8,"_listen-aria-current"],"_on":[16],"_role":[1],"_selector":[1],"_stealth":[4],"_tabIndex":[2,"_tab-index"],"_target":[1],"_targetDescription":[1,"_target-description"],"_tooltipAlign":[1,"_tooltip-align"],"_useCase":[1,"_use-case"]}]]],["kol-alert",[[33,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_heading":[1],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc_2",[[4,"kol-input",{"_alert":[4],"_currentLength":[2,"_current-length"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icon":[16],"_id":[1],"_maxLength":[2,"_max-length"],"_readOnly":[4,"_read-only"],"_renderNoLabel":[4,"_render-no-label"],"_required":[4],"_slotName":[1,"_slot-name"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_touched":[4]}],[4,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]]]'),e))));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as t,u as e}from"./a11y.tipps-3dbf06fc.js";import{w as o}from"./prop.validators-6cf6ed2d.js";const a=/[a-zA-Z0-9äöüÄÖÜß]/g,s=/^\d+$/;function n(t){var e;return"string"==typeof t&&(null===(e=t.match(a))||void 0===e?void 0:e.length)||0}function r(t,e=1){return n(t)>=e}function i(t){return s.test(t)}function l(o){var a;return{hooks:{afterPatch:(a,n,s,l)=>{var f,c;"function"==typeof(null===(f=o.hooks)||void 0===f?void 0:f.afterPatch)&&(null===(c=o.hooks)||void 0===c||c.afterPatch(a,n,s,l)),"string"==typeof a&&!1===r(a,3)&&!1===i(a)&&t(`The heading or label ("${a}") is not accessible. A label should consist of at least three readable characters.`),"string"==typeof a&&a.length>80&&e("A heading or label should not be longer than 80 characters.")},beforePatch:null===(a=o.hooks)||void 0===a?void 0:a.beforePatch}}}const f=new Set(["string"]),c=(t,e,a={})=>{o(t,"_label",(t=>"string"==typeof t),f,e,l(a))},d=new Set(["string","false"]),u=(t,e,a={})=>{""!==e&&"false"!==e||(e=!1),o(t,"_label",(t=>!1===t||"string"==typeof t),d,e,l(a))};export{u as a,i as c,r as h,c as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{d as e}from"./a11y.tipps-3dbf06fc.js";import{L as t,g as r,b as n,d as i}from"./dev.utils-1ee29ed1.js";import{p as o,a as s}from"./index-37b5cbcf.js";const a=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},u=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const r=new Set;a(r,t.querySelectorAll(e));const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const o=n[t].shadowRoot;a(r,u(e,"object"==typeof o&&null!==o?o:n[t]))}return Array.from(r)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},c=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let r=t.querySelector(e);if(null===r){const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const o=n[t].shadowRoot;if(r=c(e,"object"==typeof o&&null!==o?o:n[t]),null!==r)break}}return r}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var f=b,l=b,d=y,h=m,v=w,p=g;function b(e){var t=S(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function y(e){var t=S(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}}function m(e){var t=S(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function w(e){3==(t=S(e)).length&&t.push(255);var t,r=255==t[3],n=E(t[0]),o=E(t[1]),s=E(t[2]),i=N(n,o,s,t=E(Math.round(t[3])));return r?i?"#"+n.charAt(0)+o.charAt(0)+s.charAt(0):"#"+n+o+s:i?"#"+n.charAt(0)+o.charAt(0)+s.charAt(0)+t.charAt(0):"#"+n+o+s+t}function g(e){var t=S(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function S(e){return"string"==typeof e?M(e=e.toLowerCase())||_(e)||j(e)||k(e)||D(e)||[0,0,0,255]:x(e)||T(e)||$(e)||[0,0,0,255]}function E(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function N(e,t,r,n){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=o.indexOf(e)&&-1!=o.indexOf(t)&&-1!=o.indexOf(r)&&-1!=o.indexOf(n)}function M(e){return"red"==e?[255,0,0]:"green"==e?[0,255,0]:"blue"==e?[0,0,255]:"black"==e?[0,0,0]:"white"==e?[255,255,255]:"cyan"==e?[0,255,255]:"gray"==e||"grey"==e?[128,128,128]:"magenta"==e||"pink"==e?[255,0,255]:"yellow"==e?[255,255,0]:void 0}function O(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function _(e){var t=e.replace(/^#/,""),r=t.length;if(3==r||4==r){var n=O(t[0]),o=O(t[1]),s=O(t[2]),i=3==r?255:O(t[3]);if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function j(e){var t=e.replace(/^#/,""),r=t.length;if(6==r||8==r){var n=O(t.slice(0,2)),o=O(t.slice(2,4)),s=O(t.slice(4,6)),i=6==r?255:O(t.slice(6,8));if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function A(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function x(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=A(null!=e.r?e.r:null!=e.red?e.red:0,!0),r=A(null!=e.g?e.g:null!=e.green?e.green:0,!0),n=A(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),o=A(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=r&&-1!=n&&-1!=o)return[t,r,n,o]}}function T(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=A(e[0],!0),r=A(e[1],!0),n=A(e[2],!0),o=A(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=r&&-1!=n&&-1!=o)return[t,r,n,o]}}function $(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}function k(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(t[0],!0),n=A(t[1],!0),o=A(t[2],!0);if(-1!=r&&-1!=n&&-1!=o)return[r,n,o,255]}}function D(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(t[0],!0),n=A(t[1],!0),o=A(t[2],!0),s=A(255*t[3]);if(-1!=r&&-1!=n&&-1!=o&&-1!=s)return[r,n,o,s]}}function P(e){return"function"==typeof e}function C(e){const t=e((e=>{Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}f.arr=l,f.obj=d,f.css=h,f.hex=v,f.num=p;const H=C((e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map(((e,t)=>`${t+1}) ${e.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t}));function L(e,t){if(e){const r=e.indexOf(t);0<=r&&e.splice(r,1)}}class J{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const e of t)e.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(P(r))try{r()}catch(t){e=t instanceof H?t.errors:[t]}const{_finalizers:n}=this;if(n){this._finalizers=null;for(const t of n)try{U(t)}catch(t){e=null!=e?e:[],t instanceof H?e=[...e,...t.errors]:e.push(t)}}if(e)throw new H(e)}}add(e){var t;if(e&&e!==this)if(this.closed)U(e);else{if(e instanceof J){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&L(t,e)}remove(e){const{_finalizers:t}=this;t&&L(t,e),e instanceof J&&e._removeParent(this)}}J.EMPTY=(()=>{const e=new J;return e.closed=!0,e})();const z=J.EMPTY;function I(e){return e instanceof J||e&&"closed"in e&&P(e.remove)&&P(e.add)&&P(e.unsubscribe)}function U(e){P(e)?e():e.unsubscribe()}const F={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},q={setTimeout(e,t,...r){const{delegate:n}=q;return(null==n?void 0:n.setTimeout)?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){const{delegate:t}=q;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function B(e){q.setTimeout((()=>{const{onUnhandledError:t}=F;if(!t)throw e;t(e)}))}function R(){}const W=G("C",void 0,void 0);function K(e){return G("E",void 0,e)}function Y(e){return G("N",e,void 0)}function G(e,t,r){return{kind:e,value:t,error:r}}function Q(e){e()}class V extends J{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,I(e)&&e.add(this)):this.destination=oe}static create(e,t,r){return new te(e,t,r)}next(e){this.isStopped?ie(Y(e),this):this._next(e)}error(e){this.isStopped?ie(K(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ie(W,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const X=Function.prototype.bind;function Z(e,t){return X.call(e,t)}class ee{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(e){re(e)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(e){re(e)}else re(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(e){re(e)}}}class te extends V{constructor(e,t,r){let n;if(super(),P(e)||!e)n={next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0};else{let t;this&&F.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),n={next:e.next&&Z(e.next,t),error:e.error&&Z(e.error,t),complete:e.complete&&Z(e.complete,t)}):n=e}this.destination=new ee(n)}}function re(e){B(e)}function ne(e){throw e}function ie(e,t){const{onStoppedNotification:r}=F;r&&q.setTimeout((()=>r(e,t)))}const oe={closed:!0,next:R,error:ne,complete:R},se="function"==typeof Symbol&&Symbol.observable||"@@observable";function ae(e){return e}function ue(e){return 0===e.length?ae:1===e.length?e[0]:function(t){return e.reduce(((e,t)=>t(e)),t)}}class ce{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new ce;return t.source=this,t.operator=e,t}subscribe(e,t,r){const n=de(e)?e:new te(e,t,r);return Q((()=>{const{operator:e,source:t}=this;n.add(e?e.call(n,t):t?this._subscribe(n):this._trySubscribe(n))})),n}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=fe(t))(((t,r)=>{const n=new te({next:t=>{try{e(t)}catch(e){r(e),n.unsubscribe()}},error:r,complete:t});this.subscribe(n)}))}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[se](){return this}pipe(...e){return ue(e)(this)}toPromise(e){return new(e=fe(e))(((e,t)=>{let r;this.subscribe((e=>r=e),(e=>t(e)),(()=>e(r)))}))}}function fe(e){var t;return null!==(t=null!=e?e:F.Promise)&&void 0!==t?t:Promise}function le(e){return e&&P(e.next)&&P(e.error)&&P(e.complete)}function de(e){return e&&e instanceof V||le(e)&&I(e)}ce.create=e=>new ce(e);const he=C((e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));class ve extends ce{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new pe(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new he}next(e){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}}))}error(e){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}}))}complete(){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:r,observers:n}=this;return t||r?z:(this.currentObservers=null,n.push(e),new J((()=>{this.currentObservers=null,L(n,e)})))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:r,isStopped:n}=this;t?e.error(r):n&&e.complete()}asObservable(){const e=new ce;return e.source=this,e}}ve.create=(e,t)=>new pe(e,t);class pe extends ve{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)}error(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:z}}var be=.2126,ye=.7152,me=.0722,we=1/12.92;function ge(e){return Math.pow((e+.055)/1.055,2.4)}function Se(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,o=t<=.03928?t*we:ge(t),s=r<=.03928?r*we:ge(r),i=n<=.03928?n*we:ge(n);return o*be+s*ye+i*me}function Ee(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var r=parseInt(e,16);return[r>>16,r>>8&255,255&r,t]}function Ne(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function Me(e,t){return Ne(Se(e),Se(t))}function Oe(e,t){return Me(Ee(e),Ee(t))}function _e(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}const je=/\[object Object\]/,Ae=(e,t)=>{"string"==typeof e&&je.test(e)||t()},xe=(e,t)=>{"string"==typeof e&&""===e||t()},Te=(e,r)=>{i()&&(t.debug([e,r]),t.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:r,writable:!1})},$e=e=>{var t,r,n;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,r)=>{var n;const o=t.get("beforePatch");"function"==typeof o&&o(null===(n=e.nextState)||void 0===n?void 0:n.get(r),e.nextState,e,r)})),(null===(r=e.nextState)||void 0===r?void 0:r.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(n=e.nextHooks)||void 0===n||n.forEach(((t,r)=>{const n=t.get("afterPatch");"function"==typeof n&&n(e.state[r],e.state,e,r)}))),delete e.nextHooks},ke=(e,t,r,n={})=>{var o,s;if(void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextState.get(t)!==r){e.nextHooks.get(t)instanceof Map==!1&&e.nextHooks.set(t,new Map),"function"==typeof n.afterPatch&&(null===(o=e.nextHooks.get(t))||void 0===o||o.set("afterPatch",n.afterPatch)),"function"==typeof n.beforePatch&&(null===(s=e.nextHooks.get(t))||void 0===s||s.set("beforePatch",n.beforePatch)),e.nextState.set(t,r),$e(e)}},De=(t,r,n,o)=>{e(`[${t.constructor.name}] Der Property-Wert (${n}) für '${r}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(o).join(", ")}`)};function Pe(e,t,r,n,o,s={}){r(o)?ke(e,t,o,s.hooks):null!=o||s.required?(s.required||n.add(null),De(e,t,o,n)):ke(e,t,s.defaultValue,s.hooks)}const Ce=(e,t,r,n)=>{Pe(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),r,n)},He=(e,t,r,n={})=>{const o="number"==typeof n.minLength?null==n?void 0:n.minLength:0;Pe(e,t,(e=>"string"==typeof e&&e.length>=o&&(void 0===(null==n?void 0:n.maxLength)||e.length<=n.maxLength)),new Set(["String"]),r,n)},Le=(e,t,r,n)=>{Pe(e,t,(e=>"number"==typeof e&&(void 0===(null==n?void 0:n.min)||"number"==typeof(null==n?void 0:n.min)&&e>=n.min)&&(void 0===(null==n?void 0:n.max)||"number"==typeof(null==n?void 0:n.max)&&e<=n.max)),new Set(["Number"]),r,n)},Je=(e,r,n,o,s=(e=>e==e),i={})=>{xe(o,(()=>{Ae(o,(()=>{void 0===o&&(o=[]);try{try{o=Re(o)}catch(e){}if(Array.isArray(o)){const c=o.find((e=>!n(e)));void 0===c&&s(o)?ke(e,r,o,i.hooks):Ae(c,(()=>{throw t.debug(c),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else Ae(o,(()=>{throw t.debug(o),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){t.debug(e)}}))}))},ze=/^(true|false)$/,Ie=/^-?(0|[1-9]\d*)$/,Ue=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,Fe=t=>{const r=typeof t,n=`${t}`;if("string"==typeof t)if(ze.test(t))t="true"===t;else if(Ie.test(t))t=parseInt(t);else if(Ue.test(t))t=parseFloat(t);else if(Be.test(t))try{t=Re(t)}catch(e){}return r!==typeof t&&e(`You have used a stringified property value (${n} to ${JSON.stringify(t)}) which type switched from ${r} to ${typeof t}!`),t},qe=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(r){throw t.warn(["stringifyJson",e]),t.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},Be=/^[{[]/,Re=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(r){if(Be.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(r){t.warn(["parseJson",e]),t.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (&#8216;).")}}throw new Error},We=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,Ke=e=>"string"==typeof e?e:We(e),Ye=(e,t)=>c(e,t||r()),Ge=(e,t)=>u(e,t||r());let Qe=null;const Ve=()=>(Qe=Qe||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},Qe),Xe=/(\d+, ){3}0\)/,Ze=(e,r=Ve())=>{const n=getComputedStyle(e),o=Xe.test(n.backgroundColor)?r.backgroundColor:f.hex(n.backgroundColor),s=Xe.test(n.color)?r.color:f.hex(n.color),i=Oe(o,s),c={backgroundColor:o,color:s,domNode:e,level:_e(i),score:i};return i<4.5&&t.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},et=(e,t=Ve())=>{t.domNode instanceof HTMLElement&&(t=Ze(t.domNode,t));const r=t.domNode.querySelector(e);if(null===r){const r=t.domNode.querySelectorAll('[class="hydrated"]');for(let n=0;n<r.length&&(t.domNode=r[n],null===(t=et(e,t)).domNode);n++);return t}return Ze(r,t)},tt=(t,r=window)=>{t instanceof HTMLElement?(r.scrollTo({behavior:"smooth",top:t.getBoundingClientRect().top+n().pageYOffset-50}),t.focus()):e("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},rt=(t,r)=>{if((t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot)&&"string"==typeof r){e("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const n=`${r}`;r=t,t=n}if("string"==typeof t){const n=Ye(t,r);n instanceof HTMLElement?tt(n):e(`Es konnte kein HTMLElement mit dem Selector (${t}) gefunden werden, zu dem gescrollt werden soll.`)}else e("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class nt{static queryHtmlElementColors(e,r,n=!1,o=!0){let s=null;if(!0===n||!1===nt.executionLock)if(!1===n&&(nt.cache.clear(),nt.cache.set(r.domNode,r),nt.executionLock=!0,!0===o&&t.debug("[KoliBriUtils] Color contrast analysis started...")),e===r.domNode)s=r;else{const t=new Set;if(r.domNode.shadowRoot){const e=r.domNode.shadowRoot.children;for(let r=0;r<e.length;r++)t.add(e[r])}const n=r.domNode;if("function"==typeof n.assignedNodes){const e=n.assignedNodes();for(let r=0;r<e.length;r++)e[r]instanceof HTMLElement&&t.add(e[r])}const o=r.domNode.children;for(let e=0;e<o.length;e++)t.add(o[e]);const i=Array.from(t);for(let t=0;t<i.length;t++){let n=nt.cache.get(i[t]);void 0===n&&(n=Ze(i[t],r)),nt.cache.set(i[t],n);const o=nt.queryHtmlElementColors(e,n,!0,!1);if(null!==o){s=o;break}}}else t.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===o&&t.debug(`[KoliBriUtils] Color contrast analysis finished (${nt.cache.size} DOM elements are analysed).`),nt.executionLock=!1,nt.cache.clear()),s}}nt.executionLock=!1,nt.cache=new Map;const it=new ve;class ot{}ot.ariaCurrentSubject=it,ot.patchTheme=o,ot.patchThemeTag=s,ot.querySelector=Ye,ot.querySelectorAll=Ge,ot.scrollByHTMLElement=tt,ot.scrollBySelector=rt,ot.stringifyJson=qe;export{ot as K,Ce as a,Oe as b,Je as c,He as d,Le as e,Te as f,xe as g,it as h,We as i,rt as j,Ye as k,Ke as l,Fe as m,nt as n,Ae as o,Re as p,Ze as q,f as r,ke as s,Ge as t,et as u,qe as v,Pe as w};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{e as o}from"./prop.validators-6cf6ed2d.js";const r=(r,s)=>{o(r,"_rows",s,{min:1})};export{r as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as o}from"./prop.validators-6cf6ed2d.js";const s=(s,a,r)=>{o(s,"_show",a,r)};export{s as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as s}from"./prop.validators-286b41b1.js";import{a as o}from"./a11y.tipps-010cc7bb.js";const e=(e,t)=>{s(e,"_suggestions",(s=>"string"==typeof s||"number"==typeof s),t,void 0,{hooks:{afterPatch:s=>{Array.isArray(s)&&s.length&&o("Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.")}}})};export{e as v};
4
+ import{c as s}from"./prop.validators-6cf6ed2d.js";import{a as o}from"./a11y.tipps-3dbf06fc.js";const e=(e,t)=>{s(e,"_suggestions",(s=>"string"==typeof s||"number"==typeof s),t,void 0,{hooks:{afterPatch:s=>{Array.isArray(s)&&s.length&&o("Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.")}}})};export{e as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{a as t}from"./a11y.tipps-010cc7bb.js";import{e as a}from"./prop.validators-286b41b1.js";const o={hooks:{afterPatch:a=>{-1!==a&&0!==a&&t("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},r=(t,r)=>{a(t,"_tabIndex",r,o)};export{r as v};
4
+ import{a as t}from"./a11y.tipps-3dbf06fc.js";import{e as a}from"./prop.validators-6cf6ed2d.js";const o={hooks:{afterPatch:a=>{-1!==a&&0!==a&&t("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},e=(t,e)=>{a(t,"_tabIndex",e,o)};export{e as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{v as a}from"./alignment-18ef41f0.js";const n=(n,o)=>{a(n,"_align",o)};export{n as v};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["validateTooltipAlign","component","value","validateAlignment"],"sources":["src/types/props/tooltip-align.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { validateAlignment } from '../../utils/validators/alignment';\nimport { AlignPropType } from './align';\n\n/* types */\nexport type TooltipAlignPropType = AlignPropType;\n\n/**\n * Defines where to show the Tooltip preferably: top, right, bottom or left.\n */\nexport type PropTooltipAlign = {\n\ttooltipAlign: TooltipAlignPropType;\n};\n\n/* validator */\nexport const validateTooltipAlign = (component: Generic.Element.Component, value?: TooltipAlignPropType): void => {\n\tvalidateAlignment(component, '_align', value);\n};\n"],"mappings":";;;kDAgBaA,EAAuB,CAACC,EAAsCC,KAC1EC,EAAkBF,EAAW,SAAUC,EAAM,S"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as e}from"./prop.validators-286b41b1.js";const r=(r,o)=>{e(r,"_level",(e=>"number"==typeof e&&0<=e&&e<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),o,{defaultValue:1,required:!0})};export{r as w};
4
+ import{w as e}from"./prop.validators-6cf6ed2d.js";const r=(r,o)=>{e(r,"_level",(e=>"number"==typeof e&&0<=e&&e<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),o,{defaultValue:1,required:!0})};export{r as w};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o}from"./a11y.tipps-3dbf06fc.js";import{c as t}from"./prop.validators-6cf6ed2d.js";const s=(s,e,p)=>{t(e,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),p),o(s,e.state._links.length)};export{s as w};
@@ -1,9 +1,9 @@
1
1
  import { Generic } from '@a11y-ui/core';
2
- import { ButtonProps } from '../../../types/button-link';
3
2
  import { InputTypeOnDefault } from '../../../types/input/types';
4
3
  import { AdjustHeightPropType } from '../../../types/props/adjust-height';
5
4
  import { LabelWithExpertSlotPropType } from '../../../types/props/label';
6
5
  import { ControlledInputController } from '../../input-adapter-leanup/controller';
6
+ import { Props as ButtonProps } from '../../button/types';
7
7
  import { Props as AdapterProps } from '../../input-adapter-leanup/types';
8
8
  import { Props, Watches } from './types';
9
9
  type ValueChangeListener = (value: string) => void;
@@ -1,5 +1,5 @@
1
1
  import { Generic } from '@a11y-ui/core';
2
- import { ButtonProps } from '../../../types/button-link';
2
+ import { Props as ButtonProps } from '../../button/types';
3
3
  import { Stringified } from '../../../types/common';
4
4
  import { InputTypeOnDefault } from '../../../types/input/types';
5
5
  import { PropLabelWithExpertSlot } from '../../../types/props/label';
@@ -1,7 +1,7 @@
1
1
  import { Generic } from '@a11y-ui/core';
2
2
  import { JSX } from '../../../stencil-public-runtime';
3
- type RequiredProps = unknown;
4
- type OptionalProps = unknown;
3
+ type RequiredProps = NonNullable<unknown>;
4
+ type OptionalProps = NonNullable<unknown>;
5
5
  type RequiredStates = RequiredProps & OptionalProps;
6
6
  type OptionalStates = OptionalProps;
7
7
  type States = Generic.Element.Members<RequiredStates, OptionalStates>;
@@ -1,16 +1,16 @@
1
1
  import { JSX } from '../../stencil-public-runtime';
2
- import { AlignPropType } from '../../types/props/align';
3
2
  import { LabelPropType } from '../../types/props/label';
4
3
  import { API, States } from './types';
4
+ import { TooltipAlignPropType } from '../../types/props/tooltip-align';
5
5
  export declare class KolAbbr implements API {
6
6
  private readonly nonce;
7
7
  render(): JSX.Element;
8
8
  _label?: LabelPropType;
9
- _tooltipAlign?: AlignPropType;
9
+ _tooltipAlign?: TooltipAlignPropType;
10
10
  _title?: string;
11
11
  state: States;
12
12
  validateLabel(value?: LabelPropType): void;
13
13
  validateTitle(value?: string): void;
14
- validateTooltipAlign(value?: AlignPropType): void;
14
+ validateTooltipAlign(value?: TooltipAlignPropType): void;
15
15
  componentWillLoad(): void;
16
16
  }
@@ -1,13 +1,12 @@
1
1
  import { Generic } from '@a11y-ui/core';
2
- import { AlignPropType } from '../../types/props/align';
3
2
  import { PropLabel } from '../../types/props/label';
4
- type RequiredProps = unknown;
3
+ import { PropTooltipAlign } from '../../types/props/tooltip-align';
4
+ type RequiredProps = NonNullable<unknown>;
5
5
  type OptionalProps = {
6
6
  title: string;
7
- tooltipAlign: AlignPropType;
8
- } & PropLabel;
7
+ } & PropLabel & PropTooltipAlign;
9
8
  type RequiredStates = RequiredProps & Omit<OptionalProps, 'title'>;
10
- type OptionalStates = unknown;
9
+ type OptionalStates = NonNullable<unknown>;
11
10
  export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
12
11
  export type States = Generic.Element.Members<RequiredStates, OptionalStates>;
13
12
  export type API = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
@@ -17,7 +17,7 @@ export declare class KolAccordion implements API {
17
17
  _label?: string;
18
18
  _level?: HeadingLevel;
19
19
  _on?: KoliBriAccordionCallbacks;
20
- _open?: OpenPropType;
20
+ _open?: boolean;
21
21
  state: States;
22
22
  validateHeading(value?: string): void;
23
23
  validateLabel(value?: LabelPropType): void;
@@ -7,7 +7,7 @@ import { PropOpen } from '../../types/props/open';
7
7
  export type KoliBriAccordionCallbacks = {
8
8
  [Events.onClick]?: EventValueOrEventCallback<Event, boolean>;
9
9
  };
10
- type RequiredProps = unknown;
10
+ type RequiredProps = NonNullable<unknown>;
11
11
  type OptionalProps = {
12
12
  heading: string;
13
13
  level: HeadingLevel;
@@ -8,7 +8,7 @@ export declare class KolAlertWc implements API {
8
8
  private readonly on;
9
9
  render(): JSX.Element;
10
10
  _alert?: boolean;
11
- _hasCloser?: HasCloserPropType;
11
+ _hasCloser?: boolean;
12
12
  _label?: LabelPropType;
13
13
  _level?: HeadingLevel;
14
14
  _on?: KoliBriAlertEventCallbacks;