@public-ui/components 5.0.0-beta.1 → 5.0.0-beta.3

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 (1397) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +31 -77
  7. package/dist/cjs/{Heading-C9osvqjY.js → Heading-D1EJem-Q.js} +7 -7
  8. package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BCyKbrgd.js} +2 -0
  9. package/dist/cjs/{api-U7I3XBPI.js → api-DU50b7pU.js} +39 -41
  10. package/dist/cjs/{app-globals-DsADKGEe.js → app-globals-Cshxaw1i.js} +6 -5
  11. package/dist/cjs/aria-current-service-XKodxE3I.js +30 -0
  12. package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-Du7FNBK5.js} +2 -13
  13. package/dist/cjs/{base-CyqDmoZZ.js → base-2k8L5Z0t.js} +14 -15
  14. package/dist/cjs/{base-l99dGLYo.js → base-CrH3N2Zu.js} +108 -80
  15. package/dist/cjs/{base-DcN_YC72.js → base-DXysZJF0.js} +13 -14
  16. package/dist/cjs/{base-DCxbMk0f.js → base-lY3OV-WH.js} +17 -19
  17. package/dist/cjs/{base-web-component-DxJ0hQ9u.js → base-web-component-CB32nH5g.js} +17 -19
  18. package/dist/cjs/{base-web-component-BnaxS2Z3.js → base-web-component-CnTCSVmC.js} +16 -19
  19. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-vlBTFoc9.js} +2 -1
  20. package/dist/cjs/{behavior-CTaw4dj3.js → behavior-BonfWPFJ.js} +6 -6
  21. package/dist/cjs/{behavior-BNyFQ_B5.js → behavior-DdUDpqCO.js} +10 -10
  22. package/dist/cjs/{behavior-DrFJy0QC.js → behavior-Dznxy-IT.js} +33 -33
  23. package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-CGf0w2u7.js} +61 -15
  24. package/dist/cjs/bootstrap-W0pDCbwR.js +59 -0
  25. package/dist/cjs/{color-BW4t1Cif.js → color-gGnOnvt7.js} +4 -4
  26. package/dist/cjs/component-B6wRTFBN.js +19 -0
  27. package/dist/cjs/component-B7ixbeft.js +52 -0
  28. package/dist/cjs/{component-4OErV1Bg.js → component-BaHA5GQ0.js} +11 -13
  29. package/dist/cjs/{component-Cty_HlJR.js → component-BeAWp-m9.js} +6 -5
  30. package/dist/cjs/component-Bnj9veMz.js +177 -0
  31. package/dist/cjs/{component-Cvjqbxf4.js → component-C9dVa2_4.js} +16 -19
  32. package/dist/cjs/{component-DF5q9ssd.js → component-D680TPaU.js} +13 -14
  33. package/dist/cjs/{component-DtxKrISb.js → component-DNRlsQ2M.js} +6 -7
  34. package/dist/cjs/{component-lmJOXuD6.js → component-WkG3-M2X.js} +8 -11
  35. package/dist/cjs/component-names-B-xDXf8U.js +121 -0
  36. package/dist/cjs/{component-DAQ1XSNA.js → component-vjLswij7.js} +6 -8
  37. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-B6L84xFP.js} +5 -5
  38. package/dist/cjs/{controller-tEyAFJN9.js → controller-BcC7oIkq.js} +20 -20
  39. package/dist/cjs/{dev.utils-D5qh-RLT.js → dev.utils-Bk_hA4qQ.js} +9 -10
  40. package/dist/cjs/{devtools-Dtv-Apvj.js → devtools-CJixr1wI.js} +24 -25
  41. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-BoM7lglH.js} +2 -1
  42. package/dist/cjs/{element-focus-CzkKMwtn.js → element-focus-BL2fXDD1.js} +1 -0
  43. package/dist/cjs/{element-interaction-BtYQAbhu.js → element-interaction-CKiHuPu0.js} +2 -1
  44. package/dist/cjs/{events-BJC5JJcU.js → events-Ce8f_epW.js} +2 -0
  45. package/dist/cjs/{field-control-Btb5zapE.js → field-control-Bn_hd-6N.js} +12 -13
  46. package/dist/cjs/{group-Dg2gJze5.js → group-TVkuA3Dx.js} +8 -9
  47. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-CKT_frM5.js} +2 -1
  48. package/dist/cjs/{href-BBhiVyPb.js → href-yo_BPSR1.js} +2 -1
  49. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DOGd0sdR.js} +15 -10
  50. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-DdWdytnt.js} +3 -3
  51. package/dist/cjs/{id-D1VZsLkg.js → id-C7_ak25l.js} +2 -1
  52. package/dist/cjs/{index-BacpU-d0.js → index-DLwNpyJ5.js} +1740 -61
  53. package/dist/cjs/index.cjs.js +21 -15
  54. package/dist/cjs/{input-container-PaL4ZNf3.js → input-container-CvDde8uk.js} +17 -20
  55. package/dist/cjs/input-uZRNVUsq.js +18 -0
  56. package/dist/cjs/{item-CLnIJY4J.js → item-D23h7gmK.js} +10 -10
  57. package/dist/cjs/{item-CPxmIcoq.js → item-D5hmTqf_.js} +17 -18
  58. package/dist/cjs/{item-Cckqxc6T.js → item-DimqWDZ7.js} +65 -44
  59. package/dist/cjs/{item-CErU-EPA.js → item-FYvfrXLj.js} +10 -10
  60. package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-BJcplkbh.js} +2 -0
  61. package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-21hAUDzL.js} +2 -0
  62. package/dist/cjs/kol-abbr.cjs.entry.js +12 -16
  63. package/dist/cjs/kol-accordion.cjs.entry.js +23 -25
  64. package/dist/cjs/kol-alert.cjs.entry.js +35 -37
  65. package/dist/cjs/kol-avatar.cjs.entry.js +22 -25
  66. package/dist/cjs/kol-badge.cjs.entry.js +35 -38
  67. package/dist/cjs/kol-breadcrumb.cjs.entry.js +41 -44
  68. package/dist/cjs/kol-button-link.cjs.entry.js +34 -36
  69. package/dist/cjs/kol-button.cjs.entry.js +34 -36
  70. package/dist/cjs/kol-card.cjs.entry.js +59 -101
  71. package/dist/cjs/kol-combobox.cjs.entry.js +88 -90
  72. package/dist/cjs/kol-details.cjs.entry.js +23 -25
  73. package/dist/cjs/kol-dialog.cjs.entry.js +39 -42
  74. package/dist/cjs/kol-drawer.cjs.entry.js +39 -42
  75. package/dist/cjs/kol-form.cjs.entry.js +34 -37
  76. package/dist/cjs/kol-heading.cjs.entry.js +20 -22
  77. package/dist/cjs/kol-icon.cjs.entry.js +20 -18
  78. package/dist/cjs/kol-image.cjs.entry.js +25 -27
  79. package/dist/cjs/kol-input-checkbox.cjs.entry.js +95 -96
  80. package/dist/cjs/kol-input-color.cjs.entry.js +69 -70
  81. package/dist/cjs/kol-input-date.cjs.entry.js +82 -84
  82. package/dist/cjs/kol-input-email.cjs.entry.js +85 -86
  83. package/dist/cjs/kol-input-file.cjs.entry.js +62 -63
  84. package/dist/cjs/kol-input-number.cjs.entry.js +84 -85
  85. package/dist/cjs/kol-input-password.cjs.entry.js +84 -85
  86. package/dist/cjs/kol-input-radio.cjs.entry.js +66 -69
  87. package/dist/cjs/kol-input-range.cjs.entry.js +67 -69
  88. package/dist/cjs/kol-input-text.cjs.entry.js +98 -99
  89. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -16
  90. package/dist/cjs/kol-link-button.cjs.entry.js +43 -45
  91. package/dist/cjs/kol-link.cjs.entry.js +41 -43
  92. package/dist/cjs/kol-meter.cjs.entry.js +27 -36
  93. package/dist/cjs/kol-modal.cjs.entry.js +39 -42
  94. package/dist/cjs/kol-nav.cjs.entry.js +51 -54
  95. package/dist/cjs/kol-pagination.cjs.entry.js +70 -73
  96. package/dist/cjs/kol-popover-button.cjs.entry.js +67 -104
  97. package/dist/cjs/kol-progress.cjs.entry.js +27 -27
  98. package/dist/cjs/kol-quote.cjs.entry.js +17 -19
  99. package/dist/cjs/kol-select.cjs.entry.js +73 -75
  100. package/dist/cjs/kol-single-select.cjs.entry.js +96 -93
  101. package/dist/cjs/kol-skip-nav.cjs.entry.js +40 -43
  102. package/dist/cjs/kol-spin.cjs.entry.js +26 -29
  103. package/dist/cjs/kol-split-button.cjs.entry.js +40 -42
  104. package/dist/cjs/kol-table-stateful.cjs.entry.js +140 -113
  105. package/dist/cjs/kol-table-stateless.cjs.entry.js +62 -74
  106. package/dist/cjs/kol-tabs.cjs.entry.js +58 -64
  107. package/dist/cjs/kol-textarea.cjs.entry.js +84 -84
  108. package/dist/cjs/kol-toast-container.cjs.entry.js +24 -28
  109. package/dist/cjs/kol-toolbar.cjs.entry.js +68 -67
  110. package/dist/cjs/kol-tree-item.cjs.entry.js +44 -44
  111. package/dist/cjs/kol-tree.cjs.entry.js +35 -25
  112. package/dist/cjs/kol-version.cjs.entry.js +26 -29
  113. package/dist/cjs/kolibri.cjs.js +6 -5
  114. package/dist/cjs/{label-vVOiX4dC.js → label-CCqNq5tW.js} +4 -3
  115. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-qecpxRCt.js} +4 -4
  116. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-BGLGUvz3.js} +3 -2
  117. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-VcIxokIa.js} +4 -3
  118. package/dist/cjs/{level-BAiEYu4U.js → level-CVJUatGG.js} +2 -1
  119. package/dist/cjs/{link-target-4AzB3I84.js → link-target-BchnvpO8.js} +2 -1
  120. package/dist/cjs/{links-CPNK7VZo.js → links-B1TspXWw.js} +3 -3
  121. package/dist/cjs/loader.cjs.js +5 -4
  122. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-DO-7DpoM.js} +2 -1
  123. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-C4kXarZR.js} +3 -2
  124. package/dist/cjs/{open-CvoX_qxD.js → open-Cmz8IDwx.js} +2 -1
  125. package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-C162W-_D.js} +2 -0
  126. package/dist/cjs/{options-z7FKffHh.js → options-B5TaPd9X.js} +2 -0
  127. package/dist/cjs/{options-B2pQC9w2.js → options-CYbRA9bk.js} +3 -3
  128. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-qw5D2TnY.js} +2 -1
  129. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-BKqOq75d.js} +2 -1
  130. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-utp9cExR.js} +149 -74
  131. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-BA_w8-u1.js} +2 -1
  132. package/dist/cjs/{required-CdXn16dq.js → required-CxAjKjbz.js} +2 -1
  133. package/dist/cjs/{resolve-props-B8kPPEMw.js → resolve-props--Nci0LhR.js} +9 -9
  134. package/dist/cjs/{resolve-props-B5MED90T.js → resolve-props-Dj6sEqG7.js} +9 -10
  135. package/dist/cjs/{rows-Ca5ya9tG.js → rows-DIswNtTH.js} +2 -1
  136. package/dist/cjs/{scroll-lock-jojYHBR3.js → scroll-lock-DCG-yvr9.js} +8 -7
  137. package/dist/cjs/shared-state-DgRutURI.js +16 -0
  138. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DseYlks-.js} +3 -3
  139. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-dk8U8oOc.js} +2 -1
  140. package/dist/cjs/{src-C3NG0rLO.js → src-CtFQUaCM.js} +2 -1
  141. package/dist/cjs/{step-CZNyTb2h.js → step-CvPxSo00.js} +2 -1
  142. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-DUxsRVmB.js} +4 -4
  143. package/dist/cjs/{suggestions-CRyB_YCX.js → suggestions-DgLZZdei.js} +3 -3
  144. package/dist/cjs/test-component.cjs.entry.js +3 -3
  145. package/dist/cjs/theme-store-CLf_JZmz.js +13 -0
  146. package/dist/cjs/{toggle-handler-DRPltZqQ.js → toggle-handler-B-_ojZ0I.js} +13 -16
  147. package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-CewIRZOe.js} +8 -5
  148. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CFCBdBmd.js} +3 -3
  149. package/dist/cjs/{unit-bsoemclF.js → unit-DexLlB8H.js} +2 -1
  150. package/dist/cjs/{validators-DuLdbf2D.js → validators-CxXwm4f6.js} +4 -1
  151. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-Ct7kzFWf.js} +2 -1
  152. package/dist/cjs/{width-BklaRCqt.js → width-BXrduM1f.js} +2 -1
  153. package/dist/collection/collection-manifest.json +1 -8
  154. package/dist/collection/components/abbr/component.js +2 -2
  155. package/dist/collection/components/abbr/style.css +21 -0
  156. package/dist/collection/components/accordion/component.js +2 -2
  157. package/dist/collection/components/accordion/style.css +23 -2
  158. package/dist/collection/components/alert/component.js +8 -6
  159. package/dist/collection/components/alert/style.css +23 -2
  160. package/dist/collection/components/avatar/component.js +5 -8
  161. package/dist/collection/components/avatar/style.css +21 -0
  162. package/dist/collection/components/badge/component.js +5 -5
  163. package/dist/collection/components/badge/style.css +23 -2
  164. package/dist/collection/components/breadcrumb/component.js +4 -4
  165. package/dist/collection/components/breadcrumb/style.css +23 -2
  166. package/dist/collection/components/button/component.js +3 -3
  167. package/dist/collection/components/button/style.css +23 -2
  168. package/dist/collection/components/button-link/component.js +3 -3
  169. package/dist/collection/components/button-link/style.css +23 -2
  170. package/dist/collection/components/card/component.js +54 -19
  171. package/dist/collection/components/card/style.css +26 -2
  172. package/dist/collection/components/combobox/component.js +116 -116
  173. package/dist/collection/components/combobox/style.css +23 -2
  174. package/dist/collection/components/details/component.js +2 -2
  175. package/dist/collection/components/details/style.css +23 -2
  176. package/dist/collection/components/dialog/base.js +2 -2
  177. package/dist/collection/components/dialog/component.js +6 -6
  178. package/dist/collection/components/dialog/style.css +26 -2
  179. package/dist/collection/components/drawer/component.js +4 -4
  180. package/dist/collection/components/drawer/style.css +26 -2
  181. package/dist/collection/components/form/component.js +4 -4
  182. package/dist/collection/components/form/controller.js +4 -3
  183. package/dist/collection/components/form/style.css +23 -2
  184. package/dist/collection/components/heading/component.js +5 -5
  185. package/dist/collection/components/heading/style.css +21 -0
  186. package/dist/collection/components/icon/component.js +6 -6
  187. package/dist/collection/components/icon/style.css +2 -2
  188. package/dist/collection/components/image/component.js +40 -40
  189. package/dist/collection/components/image/style.css +21 -0
  190. package/dist/collection/components/input-checkbox/component.js +119 -117
  191. package/dist/collection/components/input-checkbox/style.css +23 -2
  192. package/dist/collection/components/input-color/component.js +42 -40
  193. package/dist/collection/components/input-color/style.css +23 -2
  194. package/dist/collection/components/input-date/component.js +83 -81
  195. package/dist/collection/components/input-date/style.css +23 -2
  196. package/dist/collection/components/input-email/component.js +89 -86
  197. package/dist/collection/components/input-email/style.css +23 -2
  198. package/dist/collection/components/input-file/component.js +37 -34
  199. package/dist/collection/components/input-file/style.css +23 -2
  200. package/dist/collection/components/input-number/component.js +70 -68
  201. package/dist/collection/components/input-number/style.css +23 -2
  202. package/dist/collection/components/input-password/component.js +90 -87
  203. package/dist/collection/components/input-password/style.css +23 -2
  204. package/dist/collection/components/input-radio/component.js +36 -37
  205. package/dist/collection/components/input-radio/style.css +23 -2
  206. package/dist/collection/components/input-range/component.js +38 -38
  207. package/dist/collection/components/input-range/style.css +23 -2
  208. package/dist/collection/components/input-text/component.js +148 -146
  209. package/dist/collection/components/input-text/style.css +23 -2
  210. package/dist/collection/components/kolibri/component.js +2 -2
  211. package/dist/collection/components/kolibri/style.css +21 -0
  212. package/dist/collection/components/link/base.js +1 -1
  213. package/dist/collection/components/link/component.js +27 -27
  214. package/dist/collection/components/link/style.css +23 -2
  215. package/dist/collection/components/link-button/component.js +28 -28
  216. package/dist/collection/components/link-button/style.css +23 -2
  217. package/dist/collection/components/meter/component.js +7 -13
  218. package/dist/collection/components/meter/style.css +21 -0
  219. package/dist/collection/components/modal/component.js +6 -6
  220. package/dist/collection/components/modal/style.css +26 -2
  221. package/dist/collection/components/nav/component.js +3 -3
  222. package/dist/collection/components/nav/style.css +23 -2
  223. package/dist/collection/components/pagination/component.js +92 -94
  224. package/dist/collection/components/pagination/style.css +23 -2
  225. package/dist/collection/components/popover-button/component.js +40 -11
  226. package/dist/collection/components/popover-button/style.css +23 -2
  227. package/dist/collection/components/progress/component.js +10 -10
  228. package/dist/collection/components/progress/style.css +21 -0
  229. package/dist/collection/components/public-api/contract.js +46 -6
  230. package/dist/collection/components/quote/component.js +6 -6
  231. package/dist/collection/components/quote/style.css +21 -0
  232. package/dist/collection/components/select/component.js +61 -61
  233. package/dist/collection/components/select/style.css +23 -2
  234. package/dist/collection/components/single-select/component.js +141 -137
  235. package/dist/collection/components/single-select/style.css +23 -2
  236. package/dist/collection/components/skip-nav/component.js +3 -3
  237. package/dist/collection/components/skip-nav/style.css +23 -2
  238. package/dist/collection/components/spin/component.js +30 -30
  239. package/dist/collection/components/spin/style.css +29 -1
  240. package/dist/collection/components/split-button/component.js +5 -5
  241. package/dist/collection/components/split-button/style.css +23 -2
  242. package/dist/collection/components/table-stateful/component.js +118 -122
  243. package/dist/collection/components/table-stateful/style.css +35 -4
  244. package/dist/collection/components/table-stateless/base.js +11 -2
  245. package/dist/collection/components/table-stateless/component.js +34 -75
  246. package/dist/collection/components/table-stateless/style.css +35 -4
  247. package/dist/collection/components/tabs/component.js +19 -28
  248. package/dist/collection/components/tabs/style.css +24 -3
  249. package/dist/collection/components/textarea/component.js +91 -89
  250. package/dist/collection/components/textarea/style.css +23 -2
  251. package/dist/collection/components/toaster/shadow.js +3 -4
  252. package/dist/collection/components/toaster/style.css +23 -2
  253. package/dist/collection/components/toaster/toaster.js +2 -1
  254. package/dist/collection/components/toolbar/component.js +46 -42
  255. package/dist/collection/components/toolbar/style.css +23 -2
  256. package/dist/collection/components/tree/component.js +23 -12
  257. package/dist/collection/components/tree/style.css +21 -0
  258. package/dist/collection/components/tree-item/component.js +43 -40
  259. package/dist/collection/components/tree-item/style.css +23 -2
  260. package/dist/collection/components/version/component.js +3 -3
  261. package/dist/collection/components/version/style.css +23 -2
  262. package/dist/collection/core/bootstrap.js +8 -5
  263. package/dist/collection/core/component-names.js +52 -106
  264. package/dist/collection/core/i18n.js +7 -6
  265. package/dist/collection/core/shared-state.js +10 -0
  266. package/dist/collection/core/tag-transformer.js +27 -0
  267. package/dist/collection/core/theme-store.js +8 -0
  268. package/dist/collection/global/script.js +3 -1
  269. package/dist/collection/index.js +3 -1
  270. package/dist/collection/internal/functional-components/alert/component.js +2 -1
  271. package/dist/collection/internal/functional-components/avatar/component.js +2 -2
  272. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  273. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  274. package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
  275. package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
  276. package/dist/collection/internal/functional-components/button/item.js +2 -2
  277. package/dist/collection/internal/functional-components/card/component.js +3 -1
  278. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  279. package/dist/collection/internal/functional-components/counter/api.js +1 -1
  280. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  281. package/dist/collection/internal/functional-components/dialog/item.js +4 -4
  282. package/dist/collection/internal/functional-components/drawer/component.js +1 -1
  283. package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
  284. package/dist/collection/internal/functional-components/form-association/api.js +2 -2
  285. package/dist/collection/internal/functional-components/form-association/behavior.js +18 -15
  286. package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -8
  287. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  288. package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
  289. package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
  290. package/dist/collection/internal/functional-components/heading/component.js +3 -4
  291. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  292. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  293. package/dist/collection/internal/functional-components/image/component.js +2 -4
  294. package/dist/collection/internal/functional-components/link/api.js +1 -1
  295. package/dist/collection/internal/functional-components/link/aria-current-service.js +23 -0
  296. package/dist/collection/internal/functional-components/link/component.js +2 -2
  297. package/dist/collection/internal/functional-components/link/item.js +3 -3
  298. package/dist/collection/internal/functional-components/meter/component.js +5 -7
  299. package/dist/collection/internal/functional-components/pagination/api.js +2 -2
  300. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  301. package/dist/collection/internal/functional-components/pagination/item.js +26 -11
  302. package/dist/collection/internal/functional-components/pagination/page-size-select.js +17 -9
  303. package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
  304. package/dist/collection/internal/functional-components/progress/api.js +1 -1
  305. package/dist/collection/internal/functional-components/progress/component.js +2 -1
  306. package/dist/collection/internal/functional-components/quote/component.js +2 -3
  307. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  308. package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
  309. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  310. package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
  311. package/dist/collection/internal/functional-components/span/component.js +3 -2
  312. package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
  313. package/dist/collection/internal/functional-components/table-stateful/model.js +21 -7
  314. package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
  315. package/dist/collection/internal/functional-components/table-stateless/component.js +11 -8
  316. package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
  317. package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -7
  318. package/dist/collection/internal/functional-components/table-stateless/table-model.js +2 -6
  319. package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
  320. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  321. package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +4 -4
  322. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  323. package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
  324. package/dist/collection/internal/props/helpers/factory.js +1 -1
  325. package/dist/collection/internal/props/helpers/normalizers.js +2 -5
  326. package/dist/collection/internal/props/helpers/validators.js +1 -0
  327. package/dist/collection/internal/props/index.js +1 -1
  328. package/dist/collection/internal/props/label-decorative.js +10 -0
  329. package/dist/collection/locales/de.js +3 -2
  330. package/dist/collection/locales/en.js +3 -2
  331. package/dist/collection/schema/bem-registry.js +59 -13
  332. package/dist/collection/schema/components/index.js +0 -29
  333. package/dist/collection/schema/i18n-keys.js +29 -28
  334. package/dist/collection/schema/props/accept.js +1 -7
  335. package/dist/collection/schema/props/access-key.js +1 -7
  336. package/dist/collection/schema/props/active.js +1 -7
  337. package/dist/collection/schema/props/adjust-height.js +1 -7
  338. package/dist/collection/schema/props/alert-type.js +0 -7
  339. package/dist/collection/schema/props/align.js +0 -4
  340. package/dist/collection/schema/props/allow-multi-sort.js +1 -7
  341. package/dist/collection/schema/props/alt.js +1 -7
  342. package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
  343. package/dist/collection/schema/props/aria-controls.js +1 -7
  344. package/dist/collection/schema/props/aria-current-value.js +1 -10
  345. package/dist/collection/schema/props/aria-description.js +1 -7
  346. package/dist/collection/schema/props/aria-details.js +1 -22
  347. package/dist/collection/schema/props/aria-expanded.js +1 -7
  348. package/dist/collection/schema/props/aria-labelledby.js +8 -15
  349. package/dist/collection/schema/props/aria-owns.js +1 -9
  350. package/dist/collection/schema/props/aria-selected.js +1 -7
  351. package/dist/collection/schema/props/auto-complete.js +0 -6
  352. package/dist/collection/schema/props/badge-text.js +1 -7
  353. package/dist/collection/schema/props/button-callbacks.js +1 -7
  354. package/dist/collection/schema/props/button-type.js +1 -8
  355. package/dist/collection/schema/props/button-variant.js +1 -10
  356. package/dist/collection/schema/props/checked.js +1 -7
  357. package/dist/collection/schema/props/collapsible.js +1 -7
  358. package/dist/collection/schema/props/color.js +1 -14
  359. package/dist/collection/schema/props/current-length.js +1 -7
  360. package/dist/collection/schema/props/custom-class.js +1 -9
  361. package/dist/collection/schema/props/disabled.js +1 -15
  362. package/dist/collection/schema/props/download.js +1 -7
  363. package/dist/collection/schema/props/error-list.js +1 -14
  364. package/dist/collection/schema/props/has-closer.js +1 -7
  365. package/dist/collection/schema/props/has-compact-button.js +1 -7
  366. package/dist/collection/schema/props/has-counter.js +1 -7
  367. package/dist/collection/schema/props/has-create-button.js +1 -7
  368. package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
  369. package/dist/collection/schema/props/has-settings-menu.js +1 -7
  370. package/dist/collection/schema/props/has-value.js +1 -7
  371. package/dist/collection/schema/props/hide-label.js +1 -7
  372. package/dist/collection/schema/props/hide-msg.js +1 -7
  373. package/dist/collection/schema/props/hint.js +1 -7
  374. package/dist/collection/schema/props/href.js +1 -7
  375. package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
  376. package/dist/collection/schema/props/icons.js +0 -43
  377. package/dist/collection/schema/props/id.js +1 -7
  378. package/dist/collection/schema/props/image-sizes.js +1 -7
  379. package/dist/collection/schema/props/image-source.js +1 -7
  380. package/dist/collection/schema/props/image-srcset.js +1 -7
  381. package/dist/collection/schema/props/indeterminate.js +1 -7
  382. package/dist/collection/schema/props/index.js +5 -1
  383. package/dist/collection/schema/props/inline.js +1 -7
  384. package/dist/collection/schema/props/label-align.js +1 -8
  385. package/dist/collection/schema/props/label.js +0 -35
  386. package/dist/collection/schema/props/link-on-callbacks.js +1 -8
  387. package/dist/collection/schema/props/link-target.js +1 -7
  388. package/dist/collection/schema/props/loading.js +1 -8
  389. package/dist/collection/schema/props/max-length-behavior.js +1 -8
  390. package/dist/collection/schema/props/max-length.js +1 -7
  391. package/dist/collection/schema/props/max.js +1 -7
  392. package/dist/collection/schema/props/modal.js +1 -7
  393. package/dist/collection/schema/props/msg.js +1 -24
  394. package/dist/collection/schema/props/multiple.js +1 -7
  395. package/dist/collection/schema/props/name.js +1 -7
  396. package/dist/collection/schema/props/open.js +1 -7
  397. package/dist/collection/schema/props/options.js +1 -11
  398. package/dist/collection/schema/props/orientation.js +1 -10
  399. package/dist/collection/schema/props/pagination-position.js +1 -10
  400. package/dist/collection/schema/props/pattern.js +1 -7
  401. package/dist/collection/schema/props/placeholder.js +1 -7
  402. package/dist/collection/schema/props/popover-align.js +1 -7
  403. package/dist/collection/schema/props/read-only.js +1 -7
  404. package/dist/collection/schema/props/required.js +1 -7
  405. package/dist/collection/schema/props/resize-textarea.js +0 -9
  406. package/dist/collection/schema/props/rows.js +1 -7
  407. package/dist/collection/schema/props/short-key.js +1 -7
  408. package/dist/collection/schema/props/show.js +1 -7
  409. package/dist/collection/schema/props/spell-check.js +1 -9
  410. package/dist/collection/schema/props/suggestions.js +1 -16
  411. package/dist/collection/schema/props/tab-behavior.js +1 -8
  412. package/dist/collection/schema/props/tab-index.js +1 -16
  413. package/dist/collection/schema/props/table-data-foot.js +1 -21
  414. package/dist/collection/schema/props/table-data.js +1 -21
  415. package/dist/collection/schema/props/table-fixed-cols.js +1 -14
  416. package/dist/collection/schema/props/table-selection.js +1 -22
  417. package/dist/collection/schema/props/toolbar-items.js +1 -21
  418. package/dist/collection/schema/props/tooltip-align.js +1 -7
  419. package/dist/collection/schema/props/touched.js +1 -7
  420. package/dist/collection/schema/props/type-input-date.js +0 -7
  421. package/dist/collection/schema/props/type-input-text.js +0 -7
  422. package/dist/collection/schema/props/unit.js +1 -7
  423. package/dist/collection/schema/props/variant/dialog.js +1 -8
  424. package/dist/collection/schema/props/variant/modal.js +1 -4
  425. package/dist/collection/schema/props/variant/password-variant.js +1 -8
  426. package/dist/collection/schema/props/variant-alert.js +0 -7
  427. package/dist/collection/schema/props/variant-class-name.js +0 -33
  428. package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
  429. package/dist/collection/schema/props/variant-progress.js +0 -7
  430. package/dist/collection/schema/props/visibility-toggle.js +1 -7
  431. package/dist/collection/schema/props/width.js +1 -7
  432. package/dist/collection/schema/utils/contrast.js +1 -1
  433. package/dist/collection/schema/utils/prop.validators.js +1 -1
  434. package/dist/collection/schema/validators/common.js +4 -0
  435. package/dist/collection/schema/validators/index.js +0 -1
  436. package/dist/collection/utils/aria-labelledby.js +0 -12
  437. package/dist/collection/utils/dev.utils.js +1 -2
  438. package/dist/collection/utils/markdown.js +49 -3
  439. package/dist/collection/utils/testing/logged-messages.js +4 -0
  440. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
  441. package/dist/collection/utils/testing/snapshot-testing.js +2 -1
  442. package/dist/collection/utils/tooltip-open-tracking.js +6 -5
  443. package/dist/components/Heading.js +1 -1
  444. package/dist/components/access-and-short-key.js +1 -1
  445. package/dist/components/aria-current-service.js +4 -0
  446. package/dist/components/base-web-component.js +1 -1
  447. package/dist/components/base-web-component2.js +1 -1
  448. package/dist/components/base-web-component3.js +1 -1
  449. package/dist/components/base-web-component4.js +1 -1
  450. package/dist/components/base.js +1 -1
  451. package/dist/components/base2.js +1 -1
  452. package/dist/components/base3.js +1 -1
  453. package/dist/components/base4.js +1 -1
  454. package/dist/components/behavior.js +1 -1
  455. package/dist/components/behavior2.js +1 -1
  456. package/dist/components/behavior3.js +1 -1
  457. package/dist/components/behavior4.js +1 -1
  458. package/dist/components/bem-registry.js +1 -1
  459. package/dist/components/bootstrap.js +1 -1
  460. package/dist/components/color.js +1 -1
  461. package/dist/components/component-names.js +1 -1
  462. package/dist/components/component.js +1 -1
  463. package/dist/components/component10.js +1 -1
  464. package/dist/components/component11.js +1 -1
  465. package/dist/components/component12.js +4 -0
  466. package/dist/components/component13.js +4 -0
  467. package/dist/components/component14.js +4 -0
  468. package/dist/components/component2.js +1 -1
  469. package/dist/components/component3.js +1 -1
  470. package/dist/components/component4.js +1 -1
  471. package/dist/components/component5.js +1 -1
  472. package/dist/components/component6.js +1 -1
  473. package/dist/components/component7.js +1 -1
  474. package/dist/components/component8.js +1 -1
  475. package/dist/components/component9.js +1 -1
  476. package/dist/components/contrast.js +1 -1
  477. package/dist/components/controller.js +1 -1
  478. package/dist/components/dev.utils.js +1 -1
  479. package/dist/components/devtools.js +1 -1
  480. package/dist/components/disabled.js +1 -1
  481. package/dist/components/element-focus.js +1 -1
  482. package/dist/components/element-interaction.js +1 -1
  483. package/dist/components/events.js +1 -1
  484. package/dist/components/field-control.js +1 -1
  485. package/dist/components/group.js +1 -1
  486. package/dist/components/has-closer.js +1 -1
  487. package/dist/components/i18n.js +1 -1
  488. package/dist/components/i18n2.js +1 -1
  489. package/dist/components/id.js +1 -1
  490. package/dist/components/index.js +1 -1
  491. package/dist/components/input-container.js +1 -1
  492. package/dist/components/input.js +1 -1
  493. package/dist/components/item-pool.js +1 -1
  494. package/dist/components/item.js +1 -1
  495. package/dist/components/item2.js +1 -1
  496. package/dist/components/item3.js +1 -1
  497. package/dist/components/item4.js +1 -1
  498. package/dist/components/keyboard.js +1 -1
  499. package/dist/components/kol-abbr.js +1 -1
  500. package/dist/components/kol-accordion.js +1 -1
  501. package/dist/components/kol-alert.js +1 -1
  502. package/dist/components/kol-avatar.js +1 -1
  503. package/dist/components/kol-badge.js +1 -1
  504. package/dist/components/kol-breadcrumb.js +1 -1
  505. package/dist/components/kol-button-link.js +1 -1
  506. package/dist/components/kol-button.js +1 -1
  507. package/dist/components/kol-card.js +1 -1
  508. package/dist/components/kol-combobox.js +1 -1
  509. package/dist/components/kol-details.js +1 -1
  510. package/dist/components/kol-dialog.js +1 -1
  511. package/dist/components/kol-drawer.js +1 -1
  512. package/dist/components/kol-form.js +1 -1
  513. package/dist/components/kol-heading.js +1 -1
  514. package/dist/components/kol-icon.js +1 -1
  515. package/dist/components/kol-image.js +1 -1
  516. package/dist/components/kol-input-checkbox.js +1 -1
  517. package/dist/components/kol-input-color.js +1 -1
  518. package/dist/components/kol-input-date.js +1 -1
  519. package/dist/components/kol-input-email.js +1 -1
  520. package/dist/components/kol-input-file.js +1 -1
  521. package/dist/components/kol-input-number.js +1 -1
  522. package/dist/components/kol-input-password.js +1 -1
  523. package/dist/components/kol-input-radio.js +1 -1
  524. package/dist/components/kol-input-range.js +1 -1
  525. package/dist/components/kol-input-text.js +1 -1
  526. package/dist/components/kol-kolibri.js +1 -1
  527. package/dist/components/kol-link-button.js +1 -1
  528. package/dist/components/kol-link.js +1 -1
  529. package/dist/components/kol-meter.js +1 -1
  530. package/dist/components/kol-modal.js +1 -1
  531. package/dist/components/kol-nav.js +1 -1
  532. package/dist/components/kol-pagination.js +1 -1
  533. package/dist/components/kol-popover-button.js +1 -1
  534. package/dist/components/kol-progress.js +1 -1
  535. package/dist/components/kol-quote.js +1 -1
  536. package/dist/components/kol-select.js +1 -1
  537. package/dist/components/kol-single-select.js +1 -1
  538. package/dist/components/kol-skip-nav.js +1 -1
  539. package/dist/components/kol-spin.js +1 -1
  540. package/dist/components/kol-split-button.js +1 -1
  541. package/dist/components/kol-table-stateful.js +1 -1
  542. package/dist/components/kol-table-stateless.js +1 -1
  543. package/dist/components/kol-tabs.js +1 -1
  544. package/dist/components/kol-textarea.js +1 -1
  545. package/dist/components/kol-toast-container.js +1 -1
  546. package/dist/components/kol-toolbar.js +1 -1
  547. package/dist/components/kol-tree-item.js +1 -1
  548. package/dist/components/kol-tree.js +1 -1
  549. package/dist/components/kol-version.js +1 -1
  550. package/dist/components/label-hints.js +1 -1
  551. package/dist/components/label-lang-segment.js +1 -1
  552. package/dist/components/label-with-expert-slot.js +1 -1
  553. package/dist/components/label.js +1 -1
  554. package/dist/components/level.js +1 -1
  555. package/dist/components/link-target.js +1 -1
  556. package/dist/components/links.js +1 -1
  557. package/dist/components/multiple.js +1 -1
  558. package/dist/components/number-value.js +1 -1
  559. package/dist/components/open-items-cache.js +1 -1
  560. package/dist/components/open.js +1 -1
  561. package/dist/components/options.js +1 -1
  562. package/dist/components/options2.js +1 -1
  563. package/dist/components/orientation.js +1 -1
  564. package/dist/components/placeholder.js +1 -1
  565. package/dist/components/prop.validators.js +4 -0
  566. package/dist/components/read-only.js +1 -1
  567. package/dist/components/required.js +1 -1
  568. package/dist/components/resolve-props.js +1 -1
  569. package/dist/components/resolve-props2.js +1 -1
  570. package/dist/components/rows.js +1 -1
  571. package/dist/components/scroll-lock.js +1 -1
  572. package/dist/components/shared-state.js +4 -0
  573. package/dist/components/smart-button.js +1 -1
  574. package/dist/components/spell-check.js +1 -1
  575. package/dist/components/src.js +1 -1
  576. package/dist/components/step.js +1 -1
  577. package/dist/components/suggestions.js +1 -1
  578. package/dist/components/suggestions2.js +1 -1
  579. package/dist/components/test-component.js +1 -1
  580. package/dist/components/toggle-handler.js +1 -1
  581. package/dist/components/tooltip-open-tracking.js +1 -1
  582. package/dist/components/unique-nav-labels.js +1 -1
  583. package/dist/components/unit.js +1 -1
  584. package/dist/components/validators.js +1 -1
  585. package/dist/components/value-string.js +1 -1
  586. package/dist/components/width.js +1 -1
  587. package/dist/esm/{Heading-BVhjT9av.js → Heading-foerLIu9.js} +2 -2
  588. package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-BTEwnScd.js} +2 -0
  589. package/dist/esm/{api-D92_O-0H.js → api-Ba9FNPRn.js} +29 -31
  590. package/dist/esm/{app-globals-CBGjgNge.js → app-globals-CqYpXngl.js} +4 -3
  591. package/dist/esm/aria-current-service-4eUMzpeO.js +27 -0
  592. package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-C4wUnR-v.js} +3 -13
  593. package/dist/esm/{base-BLBSJu_1.js → base-AKIr0rpk.js} +13 -14
  594. package/dist/esm/{base-qvPPg-dn.js → base-C7nTPc7u.js} +95 -67
  595. package/dist/esm/{base-DIcqHqMz.js → base-CpUNedp9.js} +13 -14
  596. package/dist/esm/{base-CHmdLgoO.js → base-D7qItqyf.js} +14 -16
  597. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-B3wi5eWH.js} +2 -1
  598. package/dist/esm/{base-web-component-CaAexWy_.js → base-web-component-BpL_hXcg.js} +16 -18
  599. package/dist/esm/{base-web-component-DbagnM7m.js → base-web-component-DorOeD_U.js} +10 -13
  600. package/dist/esm/{behavior-B08CXmI4.js → behavior-D9BHiFnH.js} +29 -28
  601. package/dist/esm/{behavior-CwUUkdaP.js → behavior-DDo87iUM.js} +6 -6
  602. package/dist/esm/{behavior-DW7_5Wxp.js → behavior-XAV9GSxI.js} +6 -6
  603. package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-CrZZQahR.js} +60 -14
  604. package/dist/esm/bootstrap-Cz7Iq2I2.js +52 -0
  605. package/dist/esm/{color-eAL9I7Wq.js → color-CnVBqZd5.js} +3 -3
  606. package/dist/esm/{component-8ALsFV4i.js → component-0npqUhj2.js} +5 -6
  607. package/dist/esm/{component-nR5Bf9G5.js → component-BCKsZOoB.js} +6 -5
  608. package/dist/esm/component-BZjDp_Lf.js +17 -0
  609. package/dist/esm/component-CjdTbGlP.js +172 -0
  610. package/dist/esm/component-Cn693XeT.js +47 -0
  611. package/dist/esm/{component-D0mBOGjS.js → component-Cvd5HXbX.js} +10 -12
  612. package/dist/esm/{component-DCw1ZAE5.js → component-CvdxCpjC.js} +5 -7
  613. package/dist/esm/{component-CdKSiR5P.js → component-DFhRTaqb.js} +6 -9
  614. package/dist/esm/{component-BTMWoACz.js → component-DP_p5few.js} +11 -13
  615. package/dist/esm/{component-DBAicJ2u.js → component-DlROeCCe.js} +14 -17
  616. package/dist/esm/component-names-DzmdvSkQ.js +115 -0
  617. package/dist/esm/{contrast-D78VGPFR.js → contrast-BHjNzQvB.js} +2 -2
  618. package/dist/esm/{controller-C3O9ohSP.js → controller-DYkXzFqc.js} +5 -5
  619. package/dist/esm/{dev.utils-wYkYn08d.js → dev.utils-BgFDROtc.js} +1 -2
  620. package/dist/esm/{devtools-DrBkkLdP.js → devtools-B6h2bVMJ.js} +4 -5
  621. package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZIZZ6wy.js} +2 -1
  622. package/dist/esm/{element-focus-BIRmGg5W.js → element-focus-C0L8NWU8.js} +1 -0
  623. package/dist/esm/{element-interaction-sGYdEpmv.js → element-interaction-B3GEli6r.js} +2 -1
  624. package/dist/esm/{events-BIT-JUP2.js → events-DdfMb1U7.js} +2 -0
  625. package/dist/esm/{field-control-Cs5VvsYo.js → field-control-QF0yTcyb.js} +7 -8
  626. package/dist/esm/{group-uNo1CfbK.js → group-8Me6YSO8.js} +6 -7
  627. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-B-uYNNCw.js} +2 -1
  628. package/dist/esm/{href-JqLbNBsW.js → href-DKPJq0Rh.js} +2 -1
  629. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-TlIXBsgS.js} +15 -10
  630. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-Uze_l4Ts.js} +2 -2
  631. package/dist/esm/{id-CIYvVaNr.js → id-CkUYl2hO.js} +2 -1
  632. package/dist/esm/{index-BKEJuyFi.js → index-D1fZ9xFt.js} +1677 -46
  633. package/dist/esm/index.js +14 -12
  634. package/dist/esm/{input-Dja5Qioc.js → input-DwlolkOG.js} +4 -6
  635. package/dist/esm/{input-container-C2Am7LEP.js → input-container-DC3x4oGg.js} +6 -9
  636. package/dist/esm/{item-DIAFIFSy.js → item-DThxrTZc.js} +60 -39
  637. package/dist/esm/{item-C4AmpdVD.js → item-cArH2C6l.js} +9 -9
  638. package/dist/esm/{item-pool-BOxAYePG.js → item-pool-D4qvvY-S.js} +2 -0
  639. package/dist/esm/{item-D627ShRd.js → item-uC3h4pj3.js} +15 -16
  640. package/dist/esm/{item-ConW1c81.js → item-zPmzbSvE.js} +9 -9
  641. package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-DzlBdECG.js} +2 -0
  642. package/dist/esm/kol-abbr.entry.js +11 -15
  643. package/dist/esm/kol-accordion.entry.js +22 -24
  644. package/dist/esm/kol-alert.entry.js +35 -37
  645. package/dist/esm/kol-avatar.entry.js +22 -25
  646. package/dist/esm/kol-badge.entry.js +32 -35
  647. package/dist/esm/kol-breadcrumb.entry.js +38 -41
  648. package/dist/esm/kol-button-link.entry.js +34 -36
  649. package/dist/esm/kol-button.entry.js +34 -36
  650. package/dist/esm/kol-card.entry.js +59 -101
  651. package/dist/esm/kol-combobox.entry.js +87 -89
  652. package/dist/esm/kol-details.entry.js +22 -24
  653. package/dist/esm/kol-dialog.entry.js +39 -42
  654. package/dist/esm/kol-drawer.entry.js +39 -42
  655. package/dist/esm/kol-form.entry.js +32 -35
  656. package/dist/esm/kol-heading.entry.js +20 -22
  657. package/dist/esm/kol-icon.entry.js +20 -18
  658. package/dist/esm/kol-image.entry.js +25 -27
  659. package/dist/esm/kol-input-checkbox.entry.js +90 -91
  660. package/dist/esm/kol-input-color.entry.js +69 -70
  661. package/dist/esm/kol-input-date.entry.js +81 -83
  662. package/dist/esm/kol-input-email.entry.js +85 -86
  663. package/dist/esm/kol-input-file.entry.js +62 -63
  664. package/dist/esm/kol-input-number.entry.js +83 -84
  665. package/dist/esm/kol-input-password.entry.js +83 -84
  666. package/dist/esm/kol-input-radio.entry.js +63 -66
  667. package/dist/esm/kol-input-range.entry.js +67 -69
  668. package/dist/esm/kol-input-text.entry.js +98 -99
  669. package/dist/esm/kol-kolibri.entry.js +12 -15
  670. package/dist/esm/kol-link-button.entry.js +42 -44
  671. package/dist/esm/kol-link.entry.js +41 -43
  672. package/dist/esm/kol-meter.entry.js +27 -36
  673. package/dist/esm/kol-modal.entry.js +39 -42
  674. package/dist/esm/kol-nav.entry.js +44 -47
  675. package/dist/esm/kol-pagination.entry.js +70 -73
  676. package/dist/esm/kol-popover-button.entry.js +67 -104
  677. package/dist/esm/kol-progress.entry.js +27 -27
  678. package/dist/esm/kol-quote.entry.js +17 -19
  679. package/dist/esm/kol-select.entry.js +73 -75
  680. package/dist/esm/kol-single-select.entry.js +95 -92
  681. package/dist/esm/kol-skip-nav.entry.js +38 -41
  682. package/dist/esm/kol-spin.entry.js +26 -29
  683. package/dist/esm/kol-split-button.entry.js +38 -40
  684. package/dist/esm/kol-table-stateful.entry.js +136 -109
  685. package/dist/esm/kol-table-stateless.entry.js +62 -74
  686. package/dist/esm/kol-tabs.entry.js +54 -60
  687. package/dist/esm/kol-textarea.entry.js +82 -82
  688. package/dist/esm/kol-toast-container.entry.js +22 -26
  689. package/dist/esm/kol-toolbar.entry.js +63 -62
  690. package/dist/esm/kol-tree-item.entry.js +44 -44
  691. package/dist/esm/kol-tree.entry.js +35 -25
  692. package/dist/esm/kol-version.entry.js +25 -28
  693. package/dist/esm/kolibri.js +7 -6
  694. package/dist/esm/{label-BRosRgdX.js → label-G82W4YoW.js} +4 -3
  695. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-DiRb_zIZ.js} +2 -2
  696. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-BSVexfSR.js} +3 -2
  697. package/dist/esm/label-with-expert-slot-C1i0atAL.js +13 -0
  698. package/dist/esm/{level-CA1s1_Mf.js → level-CWkPM-CS.js} +2 -1
  699. package/dist/esm/{link-target-FX94oqMo.js → link-target-B2OC2sZU.js} +2 -1
  700. package/dist/esm/{links-DwucTqcR.js → links-CiNHSAYH.js} +2 -2
  701. package/dist/esm/loader.js +6 -5
  702. package/dist/esm/{multiple-DqrZxybx.js → multiple-CuU2AuEM.js} +2 -1
  703. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-adUq1zr1.js} +2 -1
  704. package/dist/esm/{open-DRRv1KFK.js → open-DR8Z7RtS.js} +2 -1
  705. package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-CS2mDRNB.js} +2 -0
  706. package/dist/esm/{options-B0rBHetL.js → options-BDTJtk6H.js} +2 -0
  707. package/dist/esm/{options-DCaUcfAu.js → options-BPwcDIDO.js} +2 -2
  708. package/dist/esm/{orientation-XNOCaPwy.js → orientation-BUPO9LJU.js} +2 -1
  709. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-BTFnryTd.js} +2 -1
  710. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-DqFgiUwD.js} +136 -63
  711. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DRmmHb2G.js} +2 -1
  712. package/dist/esm/{required-hoaT7UmZ.js → required-D4CdAA4s.js} +2 -1
  713. package/dist/esm/{resolve-props-D2KiItuv.js → resolve-props-BAambGug.js} +9 -9
  714. package/dist/esm/{resolve-props-BLZxWC3j.js → resolve-props-Dpl38Wpe.js} +7 -8
  715. package/dist/esm/{rows-B0x8CR7K.js → rows-DRKSoawJ.js} +2 -1
  716. package/dist/esm/{scroll-lock-Y2hf47KW.js → scroll-lock-C66lpb8L.js} +9 -7
  717. package/dist/esm/shared-state-Dn94ivRg.js +14 -0
  718. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-BYEk3DzS.js} +2 -2
  719. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-DlQ_d2GL.js} +2 -1
  720. package/dist/esm/{src-DaGhmCL1.js → src-Cikg9qhP.js} +2 -1
  721. package/dist/esm/{step-Bdj89bGO.js → step-C7WPZrUp.js} +2 -1
  722. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-CotfxJG1.js} +2 -2
  723. package/dist/esm/{suggestions-DuqzGDve.js → suggestions-qW9OdwO3.js} +3 -3
  724. package/dist/esm/test-component.entry.js +3 -3
  725. package/dist/esm/theme-store-DroJsU6S.js +11 -0
  726. package/dist/esm/{toggle-handler-BRLmxe1J.js → toggle-handler-BB_SIgS1.js} +12 -15
  727. package/dist/esm/tooltip-open-tracking-CxHWKk8f.js +21 -0
  728. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CQgKoOXd.js} +2 -2
  729. package/dist/esm/{unit-BUhhJbhT.js → unit-D2lG-lEM.js} +2 -1
  730. package/dist/esm/{validators-BVM40IEr.js → validators-yh10eyXe.js} +4 -2
  731. package/dist/esm/{value-string-e9pwLcS-.js → value-string-DwEIOG1f.js} +2 -1
  732. package/dist/esm/{width-CgYY17tL.js → width-xawzWTVW.js} +2 -1
  733. package/dist/kolibri/Heading-foerLIu9.js +4 -0
  734. package/dist/kolibri/access-and-short-key-BTEwnScd.js +4 -0
  735. package/dist/kolibri/api-Ba9FNPRn.js +4 -0
  736. package/dist/kolibri/app-globals-CqYpXngl.js +4 -0
  737. package/dist/kolibri/aria-current-service-4eUMzpeO.js +4 -0
  738. package/dist/kolibri/aria-labelledby-C4wUnR-v.js +4 -0
  739. package/dist/kolibri/base-AKIr0rpk.js +4 -0
  740. package/dist/kolibri/base-C7nTPc7u.js +4 -0
  741. package/dist/kolibri/base-CpUNedp9.js +4 -0
  742. package/dist/kolibri/base-D7qItqyf.js +4 -0
  743. package/dist/kolibri/base-web-component-B3wi5eWH.js +4 -0
  744. package/dist/kolibri/base-web-component-BpL_hXcg.js +4 -0
  745. package/dist/kolibri/base-web-component-DorOeD_U.js +4 -0
  746. package/dist/kolibri/behavior-D9BHiFnH.js +4 -0
  747. package/dist/kolibri/behavior-DDo87iUM.js +4 -0
  748. package/dist/kolibri/behavior-XAV9GSxI.js +4 -0
  749. package/dist/kolibri/bem-registry-CrZZQahR.js +4 -0
  750. package/dist/kolibri/bootstrap-Cz7Iq2I2.js +4 -0
  751. package/dist/kolibri/color-CnVBqZd5.js +4 -0
  752. package/dist/kolibri/component-0npqUhj2.js +4 -0
  753. package/dist/kolibri/component-BCKsZOoB.js +4 -0
  754. package/dist/kolibri/component-BZjDp_Lf.js +4 -0
  755. package/dist/kolibri/component-CjdTbGlP.js +4 -0
  756. package/dist/kolibri/component-Cn693XeT.js +4 -0
  757. package/dist/kolibri/component-Cvd5HXbX.js +4 -0
  758. package/dist/kolibri/component-CvdxCpjC.js +4 -0
  759. package/dist/kolibri/component-DFhRTaqb.js +4 -0
  760. package/dist/kolibri/component-DP_p5few.js +4 -0
  761. package/dist/kolibri/component-DlROeCCe.js +4 -0
  762. package/dist/kolibri/component-names-DzmdvSkQ.js +4 -0
  763. package/dist/kolibri/contrast-BHjNzQvB.js +4 -0
  764. package/dist/kolibri/controller-DYkXzFqc.js +4 -0
  765. package/dist/kolibri/dev.utils-BgFDROtc.js +4 -0
  766. package/dist/kolibri/devtools-B6h2bVMJ.js +4 -0
  767. package/dist/kolibri/disabled-BZIZZ6wy.js +4 -0
  768. package/dist/kolibri/element-focus-C0L8NWU8.js +4 -0
  769. package/dist/kolibri/element-interaction-B3GEli6r.js +4 -0
  770. package/dist/kolibri/events-DdfMb1U7.js +4 -0
  771. package/dist/kolibri/field-control-QF0yTcyb.js +4 -0
  772. package/dist/kolibri/group-8Me6YSO8.js +4 -0
  773. package/dist/kolibri/has-closer-B-uYNNCw.js +4 -0
  774. package/dist/kolibri/href-DKPJq0Rh.js +4 -0
  775. package/dist/kolibri/i18n-TlIXBsgS.js +4 -0
  776. package/dist/kolibri/i18n-Uze_l4Ts.js +4 -0
  777. package/dist/kolibri/id-CkUYl2hO.js +4 -0
  778. package/dist/kolibri/index-D1fZ9xFt.js +6 -0
  779. package/dist/kolibri/index.esm.js +1 -1
  780. package/dist/kolibri/input-DwlolkOG.js +4 -0
  781. package/dist/kolibri/input-container-DC3x4oGg.js +4 -0
  782. package/dist/kolibri/item-DThxrTZc.js +4 -0
  783. package/dist/kolibri/item-cArH2C6l.js +4 -0
  784. package/dist/kolibri/item-pool-D4qvvY-S.js +4 -0
  785. package/dist/kolibri/item-uC3h4pj3.js +4 -0
  786. package/dist/kolibri/item-zPmzbSvE.js +4 -0
  787. package/dist/kolibri/keyboard-DzlBdECG.js +4 -0
  788. package/dist/kolibri/kol-abbr.entry.js +1 -1
  789. package/dist/kolibri/kol-accordion.entry.js +1 -1
  790. package/dist/kolibri/kol-alert.entry.js +1 -1
  791. package/dist/kolibri/kol-avatar.entry.js +1 -1
  792. package/dist/kolibri/kol-badge.entry.js +1 -1
  793. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  794. package/dist/kolibri/kol-button-link.entry.js +1 -1
  795. package/dist/kolibri/kol-button.entry.js +1 -1
  796. package/dist/kolibri/kol-card.entry.js +1 -1
  797. package/dist/kolibri/kol-combobox.entry.js +1 -1
  798. package/dist/kolibri/kol-details.entry.js +1 -1
  799. package/dist/kolibri/kol-dialog.entry.js +1 -1
  800. package/dist/kolibri/kol-drawer.entry.js +1 -1
  801. package/dist/kolibri/kol-form.entry.js +1 -1
  802. package/dist/kolibri/kol-heading.entry.js +1 -1
  803. package/dist/kolibri/kol-icon.entry.js +1 -1
  804. package/dist/kolibri/kol-image.entry.js +1 -1
  805. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  806. package/dist/kolibri/kol-input-color.entry.js +1 -1
  807. package/dist/kolibri/kol-input-date.entry.js +1 -1
  808. package/dist/kolibri/kol-input-email.entry.js +1 -1
  809. package/dist/kolibri/kol-input-file.entry.js +1 -1
  810. package/dist/kolibri/kol-input-number.entry.js +1 -1
  811. package/dist/kolibri/kol-input-password.entry.js +1 -1
  812. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  813. package/dist/kolibri/kol-input-range.entry.js +1 -1
  814. package/dist/kolibri/kol-input-text.entry.js +1 -1
  815. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  816. package/dist/kolibri/kol-link-button.entry.js +1 -1
  817. package/dist/kolibri/kol-link.entry.js +1 -1
  818. package/dist/kolibri/kol-meter.entry.js +1 -1
  819. package/dist/kolibri/kol-modal.entry.js +1 -1
  820. package/dist/kolibri/kol-nav.entry.js +1 -1
  821. package/dist/kolibri/kol-pagination.entry.js +1 -1
  822. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  823. package/dist/kolibri/kol-progress.entry.js +1 -1
  824. package/dist/kolibri/kol-quote.entry.js +1 -1
  825. package/dist/kolibri/kol-select.entry.js +1 -1
  826. package/dist/kolibri/kol-single-select.entry.js +1 -1
  827. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  828. package/dist/kolibri/kol-spin.entry.js +1 -1
  829. package/dist/kolibri/kol-split-button.entry.js +1 -1
  830. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  831. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  832. package/dist/kolibri/kol-tabs.entry.js +1 -1
  833. package/dist/kolibri/kol-textarea.entry.js +1 -1
  834. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  835. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  836. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  837. package/dist/kolibri/kol-tree.entry.js +1 -1
  838. package/dist/kolibri/kol-version.entry.js +1 -1
  839. package/dist/kolibri/kolibri.esm.js +1 -1
  840. package/dist/kolibri/label-G82W4YoW.js +4 -0
  841. package/dist/kolibri/label-hints-DiRb_zIZ.js +4 -0
  842. package/dist/kolibri/label-lang-segment-BSVexfSR.js +4 -0
  843. package/dist/kolibri/label-with-expert-slot-C1i0atAL.js +4 -0
  844. package/dist/kolibri/level-CWkPM-CS.js +4 -0
  845. package/dist/kolibri/link-target-B2OC2sZU.js +4 -0
  846. package/dist/kolibri/links-CiNHSAYH.js +4 -0
  847. package/dist/kolibri/multiple-CuU2AuEM.js +4 -0
  848. package/dist/kolibri/number-value-adUq1zr1.js +4 -0
  849. package/dist/kolibri/open-DR8Z7RtS.js +4 -0
  850. package/dist/kolibri/open-items-cache-CS2mDRNB.js +4 -0
  851. package/dist/kolibri/options-BDTJtk6H.js +4 -0
  852. package/dist/kolibri/options-BPwcDIDO.js +4 -0
  853. package/dist/kolibri/orientation-BUPO9LJU.js +4 -0
  854. package/dist/kolibri/placeholder-BTFnryTd.js +4 -0
  855. package/dist/kolibri/props-from-config-DqFgiUwD.js +4 -0
  856. package/dist/kolibri/read-only-DRmmHb2G.js +4 -0
  857. package/dist/kolibri/required-D4CdAA4s.js +4 -0
  858. package/dist/kolibri/resolve-props-BAambGug.js +4 -0
  859. package/dist/kolibri/resolve-props-Dpl38Wpe.js +4 -0
  860. package/dist/kolibri/rows-DRKSoawJ.js +4 -0
  861. package/dist/kolibri/scroll-lock-C66lpb8L.js +4 -0
  862. package/dist/kolibri/shared-state-Dn94ivRg.js +4 -0
  863. package/dist/kolibri/smart-button-BYEk3DzS.js +4 -0
  864. package/dist/kolibri/spell-check-DlQ_d2GL.js +4 -0
  865. package/dist/kolibri/src-Cikg9qhP.js +4 -0
  866. package/dist/kolibri/step-C7WPZrUp.js +4 -0
  867. package/dist/kolibri/suggestions-CotfxJG1.js +4 -0
  868. package/dist/kolibri/suggestions-qW9OdwO3.js +4 -0
  869. package/dist/kolibri/test-component.entry.js +1 -1
  870. package/dist/kolibri/theme-store-DroJsU6S.js +4 -0
  871. package/dist/kolibri/toggle-handler-BB_SIgS1.js +4 -0
  872. package/dist/kolibri/tooltip-open-tracking-CxHWKk8f.js +4 -0
  873. package/dist/kolibri/unique-nav-labels-CQgKoOXd.js +4 -0
  874. package/dist/kolibri/unit-D2lG-lEM.js +4 -0
  875. package/dist/kolibri/validators-yh10eyXe.js +4 -0
  876. package/dist/kolibri/value-string-DwEIOG1f.js +4 -0
  877. package/dist/kolibri/width-xawzWTVW.js +4 -0
  878. package/dist/types/components/accordion/component.d.ts +2 -2
  879. package/dist/types/components/alert/component.d.ts +3 -2
  880. package/dist/types/components/badge/component.d.ts +2 -2
  881. package/dist/types/components/breadcrumb/component.d.ts +2 -2
  882. package/dist/types/components/button/base.d.ts +1 -1
  883. package/dist/types/components/button/component.d.ts +2 -2
  884. package/dist/types/components/button-link/component.d.ts +2 -2
  885. package/dist/types/components/card/component.d.ts +12 -5
  886. package/dist/types/components/combobox/component.d.ts +10 -10
  887. package/dist/types/components/details/component.d.ts +2 -2
  888. package/dist/types/components/dialog/base.d.ts +1 -1
  889. package/dist/types/components/dialog/component.d.ts +3 -3
  890. package/dist/types/components/drawer/component.d.ts +2 -2
  891. package/dist/types/components/form/component.d.ts +2 -2
  892. package/dist/types/components/heading/component.d.ts +2 -2
  893. package/dist/types/components/image/component.d.ts +2 -2
  894. package/dist/types/components/input-checkbox/component.d.ts +9 -9
  895. package/dist/types/components/input-color/component.d.ts +4 -4
  896. package/dist/types/components/input-date/component.d.ts +7 -7
  897. package/dist/types/components/input-email/component.d.ts +8 -8
  898. package/dist/types/components/input-file/component.d.ts +4 -4
  899. package/dist/types/components/input-number/component.d.ts +6 -6
  900. package/dist/types/components/input-password/component.d.ts +8 -8
  901. package/dist/types/components/input-radio/component.d.ts +5 -5
  902. package/dist/types/components/input-range/component.d.ts +4 -4
  903. package/dist/types/components/input-text/component.d.ts +12 -12
  904. package/dist/types/components/kolibri/component.d.ts +2 -2
  905. package/dist/types/components/link/component.d.ts +4 -4
  906. package/dist/types/components/link-button/component.d.ts +4 -4
  907. package/dist/types/components/modal/component.d.ts +3 -3
  908. package/dist/types/components/nav/component.d.ts +2 -2
  909. package/dist/types/components/pagination/component.d.ts +8 -8
  910. package/dist/types/components/popover-button/component.d.ts +10 -3
  911. package/dist/types/components/progress/component.d.ts +1 -0
  912. package/dist/types/components/public-api/contract.d.ts +7 -2
  913. package/dist/types/components/select/component.d.ts +6 -6
  914. package/dist/types/components/single-select/component.d.ts +11 -10
  915. package/dist/types/components/skip-nav/component.d.ts +2 -2
  916. package/dist/types/components/spin/component.d.ts +2 -2
  917. package/dist/types/components/split-button/component.d.ts +2 -2
  918. package/dist/types/components/table-stateful/component.d.ts +10 -11
  919. package/dist/types/components/table-stateless/base.d.ts +4 -2
  920. package/dist/types/components/table-stateless/component.d.ts +5 -8
  921. package/dist/types/components/tabs/component.d.ts +4 -5
  922. package/dist/types/components/textarea/component.d.ts +8 -8
  923. package/dist/types/components/toolbar/component.d.ts +6 -6
  924. package/dist/types/components/tree/component.d.ts +3 -2
  925. package/dist/types/components/tree-item/component.d.ts +4 -4
  926. package/dist/types/components/version/component.d.ts +2 -2
  927. package/dist/types/components.d.ts +64 -177
  928. package/dist/types/core/component-names.d.ts +52 -53
  929. package/dist/types/core/i18n.d.ts +1 -1
  930. package/dist/types/core/shared-state.d.ts +1 -0
  931. package/dist/types/core/tag-transformer.d.ts +4 -0
  932. package/dist/types/core/theme-store.d.ts +1 -0
  933. package/dist/types/index.d.ts +4 -2
  934. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  935. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  936. package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
  937. package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
  938. package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
  939. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  940. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  941. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  942. package/dist/types/internal/functional-components/button/item.d.ts +1 -1
  943. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  944. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  945. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  946. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  947. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  948. package/dist/types/internal/functional-components/dialog/component.d.ts +8 -4
  949. package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
  950. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  951. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  952. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  953. package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -2
  954. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  955. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
  956. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  957. package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
  958. package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
  959. package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
  960. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  961. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  962. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  963. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  964. package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
  965. package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
  966. package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
  967. package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
  968. package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
  969. package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
  970. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  971. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  972. package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
  973. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  974. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  975. package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
  976. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  977. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  978. package/dist/types/internal/functional-components/pagination/item.d.ts +5 -3
  979. package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +2 -1
  980. package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
  981. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  982. package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
  983. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  984. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  985. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  986. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  987. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  988. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  989. package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
  990. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  991. package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
  992. package/dist/types/internal/functional-components/table-stateful/model.d.ts +4 -2
  993. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  994. package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
  995. package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
  996. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +5 -5
  997. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  998. package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
  999. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  1000. package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
  1001. package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
  1002. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  1003. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  1004. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  1005. package/dist/types/internal/functional-components/version/api.d.ts +1 -1
  1006. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
  1007. package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
  1008. package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
  1009. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  1010. package/dist/types/internal/props/index.d.ts +2 -1
  1011. package/dist/types/internal/props/info-popover.d.ts +1 -1
  1012. package/dist/types/internal/props/input-date-max.d.ts +1 -1
  1013. package/dist/types/internal/props/input-date-min.d.ts +1 -1
  1014. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  1015. package/dist/types/internal/props/nav-links.d.ts +1 -1
  1016. package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
  1017. package/dist/types/internal/props/smart-button.d.ts +1 -25
  1018. package/dist/types/internal/props/table-headers.d.ts +2 -2
  1019. package/dist/types/internal/props/table-stateful-headers.d.ts +2 -2
  1020. package/dist/types/internal/props/value-input-date.d.ts +1 -1
  1021. package/dist/types/locales/de.d.ts +1 -0
  1022. package/dist/types/locales/en.d.ts +1 -0
  1023. package/dist/types/schema/bem-registry.d.ts +87 -23
  1024. package/dist/types/schema/components/alert.d.ts +2 -8
  1025. package/dist/types/schema/components/badge.d.ts +3 -16
  1026. package/dist/types/schema/components/breadcrumb.d.ts +0 -15
  1027. package/dist/types/schema/components/button.d.ts +3 -3
  1028. package/dist/types/schema/components/card.d.ts +0 -9
  1029. package/dist/types/schema/components/form.d.ts +0 -13
  1030. package/dist/types/schema/components/index.d.ts +0 -29
  1031. package/dist/types/schema/components/link.d.ts +2 -2
  1032. package/dist/types/schema/components/pagination.d.ts +3 -17
  1033. package/dist/types/schema/components/popover-button.d.ts +3 -6
  1034. package/dist/types/schema/components/table.d.ts +2 -3
  1035. package/dist/types/schema/components/tableStateless.d.ts +5 -4
  1036. package/dist/types/schema/components/tabs.d.ts +3 -21
  1037. package/dist/types/schema/components/textarea.d.ts +0 -28
  1038. package/dist/types/schema/i18n-keys.d.ts +29 -28
  1039. package/dist/types/schema/index.d.ts +1 -1
  1040. package/dist/types/schema/props/accept.d.ts +0 -3
  1041. package/dist/types/schema/props/access-key.d.ts +0 -2
  1042. package/dist/types/schema/props/active.d.ts +0 -3
  1043. package/dist/types/schema/props/adjust-height.d.ts +0 -2
  1044. package/dist/types/schema/props/alert-type.d.ts +0 -2
  1045. package/dist/types/schema/props/align.d.ts +0 -2
  1046. package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
  1047. package/dist/types/schema/props/alt.d.ts +0 -3
  1048. package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
  1049. package/dist/types/schema/props/aria-controls.d.ts +0 -2
  1050. package/dist/types/schema/props/aria-current-value.d.ts +1 -5
  1051. package/dist/types/schema/props/aria-description.d.ts +0 -2
  1052. package/dist/types/schema/props/aria-details.d.ts +0 -2
  1053. package/dist/types/schema/props/aria-expanded.d.ts +0 -2
  1054. package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
  1055. package/dist/types/schema/props/aria-owns.d.ts +0 -2
  1056. package/dist/types/schema/props/aria-selected.d.ts +0 -2
  1057. package/dist/types/schema/props/auto-complete.d.ts +0 -2
  1058. package/dist/types/schema/props/badge-text.d.ts +0 -2
  1059. package/dist/types/schema/props/button-callbacks.d.ts +0 -3
  1060. package/dist/types/schema/props/button-type.d.ts +1 -5
  1061. package/dist/types/schema/props/button-variant.d.ts +1 -5
  1062. package/dist/types/schema/props/checked.d.ts +0 -2
  1063. package/dist/types/schema/props/collapsible.d.ts +0 -2
  1064. package/dist/types/schema/props/color.d.ts +0 -4
  1065. package/dist/types/schema/props/current-length.d.ts +0 -3
  1066. package/dist/types/schema/props/custom-class.d.ts +0 -2
  1067. package/dist/types/schema/props/disabled.d.ts +0 -2
  1068. package/dist/types/schema/props/download.d.ts +0 -2
  1069. package/dist/types/schema/props/error-list.d.ts +0 -2
  1070. package/dist/types/schema/props/has-closer.d.ts +0 -2
  1071. package/dist/types/schema/props/has-compact-button.d.ts +0 -2
  1072. package/dist/types/schema/props/has-counter.d.ts +0 -3
  1073. package/dist/types/schema/props/has-create-button.d.ts +0 -2
  1074. package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
  1075. package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
  1076. package/dist/types/schema/props/has-value.d.ts +0 -3
  1077. package/dist/types/schema/props/hide-label.d.ts +0 -3
  1078. package/dist/types/schema/props/hide-msg.d.ts +0 -3
  1079. package/dist/types/schema/props/hint.d.ts +0 -2
  1080. package/dist/types/schema/props/href.d.ts +2 -4
  1081. package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
  1082. package/dist/types/schema/props/icons.d.ts +0 -3
  1083. package/dist/types/schema/props/id.d.ts +0 -2
  1084. package/dist/types/schema/props/image-sizes.d.ts +0 -3
  1085. package/dist/types/schema/props/image-source.d.ts +0 -3
  1086. package/dist/types/schema/props/image-srcset.d.ts +0 -3
  1087. package/dist/types/schema/props/indeterminate.d.ts +0 -2
  1088. package/dist/types/schema/props/index.d.ts +5 -1
  1089. package/dist/types/schema/props/inline.d.ts +0 -3
  1090. package/dist/types/schema/props/label-align.d.ts +1 -5
  1091. package/dist/types/schema/props/label.d.ts +4 -7
  1092. package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
  1093. package/dist/types/schema/props/link-target.d.ts +0 -2
  1094. package/dist/types/schema/props/loading.d.ts +1 -5
  1095. package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
  1096. package/dist/types/schema/props/max-length.d.ts +0 -3
  1097. package/dist/types/schema/props/max.d.ts +0 -4
  1098. package/dist/types/schema/props/modal.d.ts +0 -2
  1099. package/dist/types/schema/props/msg.d.ts +0 -2
  1100. package/dist/types/schema/props/multiple.d.ts +0 -3
  1101. package/dist/types/schema/props/name.d.ts +0 -3
  1102. package/dist/types/schema/props/open.d.ts +0 -3
  1103. package/dist/types/schema/props/options.d.ts +0 -4
  1104. package/dist/types/schema/props/orientation.d.ts +1 -5
  1105. package/dist/types/schema/props/pagination-position.d.ts +1 -5
  1106. package/dist/types/schema/props/pattern.d.ts +0 -3
  1107. package/dist/types/schema/props/placeholder.d.ts +0 -3
  1108. package/dist/types/schema/props/popover-align.d.ts +0 -2
  1109. package/dist/types/schema/props/read-only.d.ts +0 -2
  1110. package/dist/types/schema/props/required.d.ts +0 -2
  1111. package/dist/types/schema/props/resize-textarea.d.ts +0 -2
  1112. package/dist/types/schema/props/rows.d.ts +0 -2
  1113. package/dist/types/schema/props/short-key.d.ts +0 -2
  1114. package/dist/types/schema/props/show.d.ts +0 -3
  1115. package/dist/types/schema/props/spell-check.d.ts +0 -2
  1116. package/dist/types/schema/props/suggestions.d.ts +0 -2
  1117. package/dist/types/schema/props/tab-behavior.d.ts +1 -5
  1118. package/dist/types/schema/props/tab-index.d.ts +0 -2
  1119. package/dist/types/schema/props/table-callbacks.d.ts +5 -5
  1120. package/dist/types/schema/props/table-data-foot.d.ts +0 -3
  1121. package/dist/types/schema/props/table-data.d.ts +0 -3
  1122. package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
  1123. package/dist/types/schema/props/table-headers.d.ts +3 -0
  1124. package/dist/types/schema/props/table-selection.d.ts +0 -2
  1125. package/dist/types/schema/props/toolbar-items.d.ts +0 -2
  1126. package/dist/types/schema/props/tooltip-align.d.ts +0 -2
  1127. package/dist/types/schema/props/touched.d.ts +0 -2
  1128. package/dist/types/schema/props/type-input-date.d.ts +4 -2
  1129. package/dist/types/schema/props/type-input-text.d.ts +0 -2
  1130. package/dist/types/schema/props/unit.d.ts +0 -2
  1131. package/dist/types/schema/props/variant/dialog.d.ts +1 -5
  1132. package/dist/types/schema/props/variant/modal.d.ts +0 -1
  1133. package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
  1134. package/dist/types/schema/props/variant-alert.d.ts +0 -2
  1135. package/dist/types/schema/props/variant-class-name.d.ts +0 -3
  1136. package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
  1137. package/dist/types/schema/props/variant-progress.d.ts +0 -2
  1138. package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
  1139. package/dist/types/schema/props/width.d.ts +0 -3
  1140. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  1141. package/dist/types/schema/validators/common.d.ts +2 -0
  1142. package/dist/types/schema/validators/index.d.ts +0 -1
  1143. package/dist/types/stencil-public-runtime.d.ts +1 -1
  1144. package/dist/types/utils/aria-labelledby.d.ts +0 -6
  1145. package/dist/types/utils/testing/logged-messages.d.ts +1 -0
  1146. package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
  1147. package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
  1148. package/doc/badge.md +21 -6
  1149. package/doc/button.md +13 -0
  1150. package/doc/combobox.md +23 -23
  1151. package/doc/input-checkbox.md +17 -2
  1152. package/doc/input-color.md +22 -22
  1153. package/doc/input-date.md +28 -28
  1154. package/doc/input-email.md +30 -30
  1155. package/doc/input-file.md +22 -22
  1156. package/doc/input-number.md +43 -28
  1157. package/doc/input-password.md +29 -29
  1158. package/doc/input-radio.md +19 -19
  1159. package/doc/input-range.md +24 -24
  1160. package/doc/input-text.md +31 -31
  1161. package/doc/link.md +13 -0
  1162. package/doc/pagination.md +13 -13
  1163. package/doc/quote.md +13 -0
  1164. package/doc/select.md +24 -24
  1165. package/doc/single-select.md +24 -24
  1166. package/doc/table-stateful.md +33 -16
  1167. package/doc/table-stateless.md +31 -15
  1168. package/doc/tabs.md +1 -1
  1169. package/doc/textarea.md +29 -29
  1170. package/package.json +25 -17
  1171. package/vscode-custom-data.json +53 -158
  1172. package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
  1173. package/dist/cjs/block-bem-BI7yfoFU.js +0 -18
  1174. package/dist/cjs/bootstrap-DkgMbRSL.js +0 -33
  1175. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  1176. package/dist/cjs/common-C-hcIfzh.js +0 -1755
  1177. package/dist/cjs/component-BEzksV1U.js +0 -9300
  1178. package/dist/cjs/component-BQUKg-qY.js +0 -53
  1179. package/dist/cjs/component-BlAPlTfV.js +0 -20
  1180. package/dist/cjs/component-DMfcX1br.js +0 -14
  1181. package/dist/cjs/component-Dkx5Zyhq.js +0 -18
  1182. package/dist/cjs/component-names-BMpML1sX.js +0 -113
  1183. package/dist/cjs/input-CgTL2oH6.js +0 -20
  1184. package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
  1185. package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
  1186. package/dist/cjs/name-D4qpL1m-.js +0 -10
  1187. package/dist/collection/components/card/base.js +0 -79
  1188. package/dist/collection/components/click-button/component.js +0 -105
  1189. package/dist/collection/components/link/ariaCurrentService.js +0 -23
  1190. package/dist/collection/components/popover-button/base.js +0 -69
  1191. package/dist/collection/components/skeleton/component.js +0 -215
  1192. package/dist/collection/internal/functional-components/click-button/api.js +0 -7
  1193. package/dist/collection/internal/functional-components/click-button/component.js +0 -9
  1194. package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
  1195. package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
  1196. package/dist/collection/schema/components/button-link.js +0 -1
  1197. package/dist/collection/schema/components/collapsible.js +0 -1
  1198. package/dist/collection/schema/components/combobox.js +0 -1
  1199. package/dist/collection/schema/components/details.js +0 -1
  1200. package/dist/collection/schema/components/dialog.js +0 -1
  1201. package/dist/collection/schema/components/drawer.js +0 -1
  1202. package/dist/collection/schema/components/heading.js +0 -1
  1203. package/dist/collection/schema/components/input-checkbox.js +0 -1
  1204. package/dist/collection/schema/components/input-color.js +0 -1
  1205. package/dist/collection/schema/components/input-date.js +0 -1
  1206. package/dist/collection/schema/components/input-email.js +0 -1
  1207. package/dist/collection/schema/components/input-file.js +0 -1
  1208. package/dist/collection/schema/components/input-number.js +0 -1
  1209. package/dist/collection/schema/components/input-password.js +0 -1
  1210. package/dist/collection/schema/components/input-radio.js +0 -1
  1211. package/dist/collection/schema/components/input-range.js +0 -1
  1212. package/dist/collection/schema/components/input-text.js +0 -1
  1213. package/dist/collection/schema/components/kolibri.js +0 -1
  1214. package/dist/collection/schema/components/link-button.js +0 -1
  1215. package/dist/collection/schema/components/modal.js +0 -1
  1216. package/dist/collection/schema/components/nav.js +0 -1
  1217. package/dist/collection/schema/components/select.js +0 -1
  1218. package/dist/collection/schema/components/single-select.js +0 -1
  1219. package/dist/collection/schema/components/skip-nav.js +0 -1
  1220. package/dist/collection/schema/components/split-button.js +0 -1
  1221. package/dist/collection/schema/components/toolbar.js +0 -1
  1222. package/dist/collection/schema/components/tree-item.js +0 -1
  1223. package/dist/collection/schema/components/tree.js +0 -1
  1224. package/dist/collection/schema/components/version.js +0 -1
  1225. package/dist/collection/schema/props/table-header-cells.js +0 -36
  1226. package/dist/collection/schema/validators/alignment.js +0 -10
  1227. package/dist/collection/utils/testing/legacy-component.js +0 -16
  1228. package/dist/components/aria-labelledby.js +0 -4
  1229. package/dist/components/ariaCurrentService.js +0 -4
  1230. package/dist/components/block-bem.js +0 -4
  1231. package/dist/components/clsx.js +0 -4
  1232. package/dist/components/href.js +0 -4
  1233. package/dist/components/kol-click-button.d.ts +0 -11
  1234. package/dist/components/kol-click-button.js +0 -4
  1235. package/dist/components/kol-skeleton.d.ts +0 -11
  1236. package/dist/components/kol-skeleton.js +0 -4
  1237. package/dist/components/name.js +0 -4
  1238. package/dist/components/props-from-config.js +0 -4
  1239. package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
  1240. package/dist/esm/block-bem-BpQSY04L.js +0 -16
  1241. package/dist/esm/bootstrap-B9DtStuh.js +0 -28
  1242. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  1243. package/dist/esm/common-OzsC_6kt.js +0 -1709
  1244. package/dist/esm/component-Bc1n82Y8.js +0 -16
  1245. package/dist/esm/component-CZZNha2e.js +0 -9295
  1246. package/dist/esm/component-Cdnq5GYF.js +0 -18
  1247. package/dist/esm/component-DLSlbWg8.js +0 -12
  1248. package/dist/esm/component-DeMf195P.js +0 -48
  1249. package/dist/esm/component-names-CrfBV37S.js +0 -111
  1250. package/dist/esm/kol-click-button.entry.js +0 -53
  1251. package/dist/esm/kol-skeleton.entry.js +0 -105
  1252. package/dist/esm/label-with-expert-slot-CicRes-W.js +0 -12
  1253. package/dist/esm/name-B2Yf3EpX.js +0 -8
  1254. package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
  1255. package/dist/kolibri/Heading-BVhjT9av.js +0 -4
  1256. package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
  1257. package/dist/kolibri/api-D92_O-0H.js +0 -4
  1258. package/dist/kolibri/app-globals-CBGjgNge.js +0 -4
  1259. package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
  1260. package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
  1261. package/dist/kolibri/base-BLBSJu_1.js +0 -4
  1262. package/dist/kolibri/base-CHmdLgoO.js +0 -4
  1263. package/dist/kolibri/base-DIcqHqMz.js +0 -4
  1264. package/dist/kolibri/base-qvPPg-dn.js +0 -4
  1265. package/dist/kolibri/base-web-component-CaAexWy_.js +0 -4
  1266. package/dist/kolibri/base-web-component-DbagnM7m.js +0 -4
  1267. package/dist/kolibri/base-web-component-XgI4wUyN.js +0 -4
  1268. package/dist/kolibri/behavior-B08CXmI4.js +0 -4
  1269. package/dist/kolibri/behavior-CwUUkdaP.js +0 -4
  1270. package/dist/kolibri/behavior-DW7_5Wxp.js +0 -4
  1271. package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
  1272. package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
  1273. package/dist/kolibri/bootstrap-B9DtStuh.js +0 -4
  1274. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  1275. package/dist/kolibri/color-eAL9I7Wq.js +0 -4
  1276. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  1277. package/dist/kolibri/component-8ALsFV4i.js +0 -4
  1278. package/dist/kolibri/component-BTMWoACz.js +0 -4
  1279. package/dist/kolibri/component-Bc1n82Y8.js +0 -4
  1280. package/dist/kolibri/component-CZZNha2e.js +0 -4
  1281. package/dist/kolibri/component-CdKSiR5P.js +0 -4
  1282. package/dist/kolibri/component-Cdnq5GYF.js +0 -4
  1283. package/dist/kolibri/component-D0mBOGjS.js +0 -4
  1284. package/dist/kolibri/component-DBAicJ2u.js +0 -4
  1285. package/dist/kolibri/component-DCw1ZAE5.js +0 -4
  1286. package/dist/kolibri/component-DLSlbWg8.js +0 -4
  1287. package/dist/kolibri/component-DeMf195P.js +0 -4
  1288. package/dist/kolibri/component-nR5Bf9G5.js +0 -4
  1289. package/dist/kolibri/component-names-CrfBV37S.js +0 -4
  1290. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  1291. package/dist/kolibri/controller-C3O9ohSP.js +0 -4
  1292. package/dist/kolibri/dev.utils-wYkYn08d.js +0 -4
  1293. package/dist/kolibri/devtools-DrBkkLdP.js +0 -4
  1294. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  1295. package/dist/kolibri/element-focus-BIRmGg5W.js +0 -4
  1296. package/dist/kolibri/element-interaction-sGYdEpmv.js +0 -4
  1297. package/dist/kolibri/events-BIT-JUP2.js +0 -4
  1298. package/dist/kolibri/field-control-Cs5VvsYo.js +0 -4
  1299. package/dist/kolibri/group-uNo1CfbK.js +0 -4
  1300. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  1301. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  1302. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  1303. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  1304. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  1305. package/dist/kolibri/index-BKEJuyFi.js +0 -6
  1306. package/dist/kolibri/input-Dja5Qioc.js +0 -4
  1307. package/dist/kolibri/input-container-C2Am7LEP.js +0 -4
  1308. package/dist/kolibri/item-C4AmpdVD.js +0 -4
  1309. package/dist/kolibri/item-ConW1c81.js +0 -4
  1310. package/dist/kolibri/item-D627ShRd.js +0 -4
  1311. package/dist/kolibri/item-DIAFIFSy.js +0 -4
  1312. package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
  1313. package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
  1314. package/dist/kolibri/kol-click-button.entry.js +0 -4
  1315. package/dist/kolibri/kol-skeleton.entry.js +0 -4
  1316. package/dist/kolibri/label-BRosRgdX.js +0 -4
  1317. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  1318. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  1319. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  1320. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  1321. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  1322. package/dist/kolibri/links-DwucTqcR.js +0 -4
  1323. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  1324. package/dist/kolibri/name-B2Yf3EpX.js +0 -4
  1325. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  1326. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  1327. package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
  1328. package/dist/kolibri/options-B0rBHetL.js +0 -4
  1329. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  1330. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  1331. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  1332. package/dist/kolibri/props-from-config-Ci0dILpz.js +0 -4
  1333. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  1334. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  1335. package/dist/kolibri/resolve-props-BLZxWC3j.js +0 -4
  1336. package/dist/kolibri/resolve-props-D2KiItuv.js +0 -4
  1337. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  1338. package/dist/kolibri/scroll-lock-Y2hf47KW.js +0 -4
  1339. package/dist/kolibri/smart-button-CS_ZriPt.js +0 -4
  1340. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  1341. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  1342. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  1343. package/dist/kolibri/suggestions-DuqzGDve.js +0 -4
  1344. package/dist/kolibri/suggestions-Dy1X-Pc3.js +0 -4
  1345. package/dist/kolibri/toggle-handler-BRLmxe1J.js +0 -4
  1346. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
  1347. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  1348. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  1349. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  1350. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
  1351. package/dist/kolibri/width-CgYY17tL.js +0 -4
  1352. package/dist/types/components/card/base.d.ts +0 -27
  1353. package/dist/types/components/click-button/component.d.ts +0 -15
  1354. package/dist/types/components/popover-button/base.d.ts +0 -21
  1355. package/dist/types/components/skeleton/component.d.ts +0 -26
  1356. package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
  1357. package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
  1358. package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
  1359. package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
  1360. package/dist/types/schema/components/accordion.d.ts +0 -11
  1361. package/dist/types/schema/components/button-link.d.ts +0 -7
  1362. package/dist/types/schema/components/collapsible.d.ts +0 -7
  1363. package/dist/types/schema/components/combobox.d.ts +0 -26
  1364. package/dist/types/schema/components/details.d.ts +0 -11
  1365. package/dist/types/schema/components/dialog.d.ts +0 -21
  1366. package/dist/types/schema/components/drawer.d.ts +0 -17
  1367. package/dist/types/schema/components/heading.d.ts +0 -17
  1368. package/dist/types/schema/components/input-checkbox.d.ts +0 -25
  1369. package/dist/types/schema/components/input-color.d.ts +0 -25
  1370. package/dist/types/schema/components/input-date.d.ts +0 -34
  1371. package/dist/types/schema/components/input-email.d.ts +0 -31
  1372. package/dist/types/schema/components/input-file.d.ts +0 -22
  1373. package/dist/types/schema/components/input-number.d.ts +0 -33
  1374. package/dist/types/schema/components/input-password.d.ts +0 -31
  1375. package/dist/types/schema/components/input-radio.d.ts +0 -22
  1376. package/dist/types/schema/components/input-range.d.ts +0 -27
  1377. package/dist/types/schema/components/input-text.d.ts +0 -33
  1378. package/dist/types/schema/components/kolibri.d.ts +0 -21
  1379. package/dist/types/schema/components/link-button.d.ts +0 -7
  1380. package/dist/types/schema/components/modal.d.ts +0 -4
  1381. package/dist/types/schema/components/nav.d.ts +0 -16
  1382. package/dist/types/schema/components/select.d.ts +0 -24
  1383. package/dist/types/schema/components/single-select.d.ts +0 -24
  1384. package/dist/types/schema/components/skip-nav.d.ts +0 -16
  1385. package/dist/types/schema/components/split-button.d.ts +0 -9
  1386. package/dist/types/schema/components/toolbar.d.ts +0 -11
  1387. package/dist/types/schema/components/tree-item.d.ts +0 -12
  1388. package/dist/types/schema/components/tree.d.ts +0 -10
  1389. package/dist/types/schema/components/version.d.ts +0 -10
  1390. package/dist/types/schema/props/table-header-cells.d.ts +0 -11
  1391. package/dist/types/schema/validators/alignment.d.ts +0 -3
  1392. package/dist/types/utils/testing/legacy-component.d.ts +0 -4
  1393. package/doc/skeleton.md +0 -54
  1394. /package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
  1395. /package/dist/collection/schema/{components/accordion.js → props/table-headers.js} +0 -0
  1396. /package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
  1397. /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{t as n}from"./i18n.js";import"./bem-registry.js";import{l}from"./level.js";import{c as a,n as r,a as s,b as c}from"./props-from-config.js";import{h}from"./has-closer.js";import{l as d}from"./label-lang-segment.js";import{A as k}from"./component2.js";import{B as f}from"./base-web-component.js";import{T as b}from"./behavior.js";import{c as m,n as p}from"./dev.utils.js";import{c as u}from"./element-interaction.js";import{d as g,K as _}from"./events.js";const y=["default","info","success","warning","error"],v=["card","msg"],w=a("alert",!1,r),x=s(),T=a("type","default",(o=>{const e=c(o);if(y.includes(e))return e;throw Error("Invalid alert type: "+e)}),(()=>!0)),z=a("variant","msg",(o=>{const e=c(o);if(v.includes(e))return e;throw Error("Invalid alert variant: "+e)}),(()=>!0)),C={optional:[x,w,T,z,h,d,l]},j=o(class extends f{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.headingId=m("alert-heading"),this.closerAriaDescriptionId=p(),this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new b(this.stateAccess),this.propsConfig=C,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=o=>{var e,t;o.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(e=this.getRenderProp("on")).onClose)||void 0===t||t.call(e,new Event("Close")),this.host&&g(this.host,_.close)}}watchAlert(o){w.apply(o,(o=>{this.setRenderProp("alert",o),this.syncAlertEffects(o)}))}watchHasCloser(o){h.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){d.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){l.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){x.apply(o,(o=>this.setRenderProp("on",o)))}watchType(o){T.apply(o,(o=>this.setRenderProp("type",o)))}watchVariant(o){z.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(o){if(clearTimeout(this.alertTimeout),o){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return e(t,{key:"34a64885726f2b3ab4039f262b36835f6b297597"},e(k,{key:"5ac9dbf8db7ceb1d8dd1f4f606e9a6ecddf327aa",alert:this.getRenderProp("alert"),handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},e("slot",{key:"47cbfce06cffc52c82376f642245e97d6742e18e"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),B=j,I=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((o=>{"kol-alert"===o&&(customElements.get(i(o))||customElements.define(i(o),j))}))};export{B as KolAlert,I as defineCustomElement}
4
+ import{p as e,h as o,H as t,t as i}from"./prop.validators.js";import{t as n}from"./i18n.js";import{l}from"./level.js";import{c as a,n as r,b as s,d as c,a as d}from"./base-web-component.js";import{h}from"./has-closer.js";import{l as k}from"./label-lang-segment.js";import{A as b}from"./component.js";import{T as f}from"./behavior.js";import{c as m}from"./dev.utils.js";import{c as p}from"./element-interaction.js";import{d as u,K as g}from"./events.js";const _=["default","info","success","warning","error"],v=["card","msg"],y=a("alert",!1,r),w=s(),x=a("type","default",(e=>{const o=c(e);if(_.includes(o))return o;throw Error("Invalid alert type: "+o)}),(()=>!0)),T=a("variant","msg",(e=>{const o=c(e);if(v.includes(o))return o;throw Error("Invalid alert variant: "+o)}),(()=>!0)),C={optional:[w,y,x,T,h,k,l]},z=e(class extends d{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.headingId=m("alert-heading"),this.closerAriaDescriptionId=m("closer-description"),this.showAlert=!1,this.translateCloseAlert=n("kol-close-alert"),this.closerRef=p(),this.closerTooltipBehavior=new f(this.stateAccess),this.propsConfig=C,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=e=>{var o,t;e.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(o=this.getRenderProp("on")).onClose)||void 0===t||t.call(o,new Event("Close")),this.host&&u(this.host,g.close)}}watchAlert(e){y.apply(e,(e=>{this.showAlert=e,this.syncAlertEffects(e)}))}watchHasCloser(e){h.apply(e,(e=>this.setRenderProp("hasCloser",e)))}watchLabel(e){k.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchLevel(e){l.apply(e,(e=>this.setRenderProp("level",e)))}watchOn(e){w.apply(e,(e=>this.setRenderProp("on",e)))}watchType(e){x.apply(e,(e=>this.setRenderProp("type",e)))}watchVariant(e){T.apply(e,(e=>this.setRenderProp("variant",e)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(e){if(clearTimeout(this.alertTimeout),e){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const e=navigator.userActivation;if(((null==e?void 0:e.isActive)||(null==e?void 0:e.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(e){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return o(t,{key:"246302acfed34f83cf1cb1d1b4f62b864eb6db15"},o(b,{key:"dc8edb4ce66b4a7b721671815385907b22b2329e",alert:this.showAlert,handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},o("slot",{key:"049ab132e829ea4da883153e69f67dbcb7cc8433"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32],showAlert:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),j=z,A=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((e=>{"kol-alert"===e&&(customElements.get(i(e))||customElements.define(i(e),z))}))};export{j as KolAlert,A as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,proxyCustomElement as t,Host as e,transformTag as a}from"@stencil/core/internal/client";import{b as i}from"./bem-registry.js";import{c as l}from"./color.js";import{r,t as n}from"./props-from-config.js";import{l as s}from"./label.js";import{s as c}from"./src.js";import{t as d}from"./i18n.js";import{B as b}from"./base-web-component.js";const h={optional:[l,c],required:[s]},k=i.forBlock("kol-avatar"),u=k(),m=k("image"),p=k("initials"),f=t=>{const{color:e,initials:a,label:i,src:l}=r(h,t);return o("div",{"aria-label":d("kol-avatar-alt",{placeholders:{name:n(i)}}),class:u,role:"img",style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},l?o("img",{alt:"","aria-hidden":"true",class:m,src:l}):o("span",{"aria-hidden":"true",class:p},a))},_=o=>0===o.length?"":o[0].toUpperCase(),g=o=>{const t=n(o),e=t.split(/\s+/),a=e[0],i=e[e.length-1];return e.length>=2&&a&&i?`${_(a)}${_(i)}`:_(t)},y=t(class extends b{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.initials="",this.propsConfig=h,this._color=void 0,this._src=void 0}watchColor(o){l.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){s.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label"))}watchSrc(o){c.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){l.apply(this._color,(o=>this.setRenderProp("color",o))),s.apply(this._label,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label")),c.apply(this._src,(o=>this.setRenderProp("src",o)))}render(){return o(e,{key:"e3616a4b07d13b3582a77d5bc8d64c9a6031e39b"},o(f,{key:"0f8a9d71c76d321e697119712e19effe2e9f35c4",color:this.getRenderProp("color"),label:this.getRenderProp("label"),src:this.getRenderProp("src"),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }'}}},[545,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),x=y,v=function(){"undefined"!=typeof customElements&&["kol-avatar"].forEach((o=>{"kol-avatar"===o&&(customElements.get(a(o))||customElements.define(a(o),y))}))};export{x as KolAvatar,v as defineCustomElement}
4
+ import{h as o,p as e,H as t,t as a}from"./prop.validators.js";import{c as r}from"./color.js";import{r as l,t as i,B as n,a as s}from"./base-web-component.js";import{l as c}from"./label.js";import{s as d}from"./src.js";import{t as b}from"./i18n.js";import{b as k}from"./bem-registry.js";const m={optional:[r,d],required:[c]},h=k.forBlock("kol-avatar"),u=h("image"),p=h("initials"),f=e=>{const{color:t,initials:a,label:r,src:s}=l(m,e);return o(n,{"aria-label":b("kol-avatar-alt",{placeholders:{name:i(r)}}),block:"kol-avatar",role:"img",style:{backgroundColor:t.backgroundColor,color:t.foregroundColor}},s?o("img",{alt:"","aria-hidden":"true",class:u,src:s}):o("span",{"aria-hidden":"true",class:p},a))},g=o=>0===o.length?"":o[0].toUpperCase(),_=e(class extends s{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.initials="",this.propsConfig=m,this._color=void 0,this._src=void 0}watchColor(o){r.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){c.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",(o=>{const e=i(o),t=e.split(/\s+/),a=t[0],r=t[t.length-1];return t.length>=2&&a&&r?`${g(a)}${g(r)}`:g(e)})(o))}),this.isRequired("label"))}watchSrc(o){d.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){this.watchColor(this._color),this.watchLabel(this._label),this.watchSrc(this._src)}render(){return o(t,{key:"5493cb40531ef6788d2b018995affad25b915d27"},o(f,{key:"57331dd677d7470465bbdacc4e3c11f492b6f365",color:this.getRenderProp("color"),label:this.getRenderProp("label"),src:this.getRenderProp("src"),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }'}}},[545,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),y=_,v=function(){"undefined"!=typeof customElements&&["kol-avatar"].forEach((o=>{"kol-avatar"===o&&(customElements.get(a(o))||customElements.define(a(o),_))}))};export{y as KolAvatar,v as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as o,h as t,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{f as l,s as a,o as r}from"./bem-registry.js";import{c as s}from"./color.js";import"./props-from-config.js";import{l as c}from"./label-with-expert-slot.js";import{s as d}from"./smart-button.js";import{s as h}from"./component3.js";import{B as b}from"./component4.js";import{B as k}from"./base-web-component.js";import{r as f}from"./resolve-props.js";import{T as m}from"./behavior.js";import{c as u,n as p}from"./dev.utils.js";import{c as g,d as _}from"./element-interaction.js";import{d as y,K as v}from"./events.js";const w={required:[c],optional:[s,d,h]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=o(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=u("badge-label"),this.ariaDescriptionId=p(),this.ctaRef=g(),this.tooltipBehavior=new m(this.stateAccess),this.propsConfig=w,this._color="#000",this._icons=void 0,this._smartButton=void 0,this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const e=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof e&&(a(o,this.ctaRef.el),e(o,void 0)),this.host&&y(this.host,v.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&y(this.host,v.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&y(this.host,v.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&y(this.host,v.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){h.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){c.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchSmartButton(o){this.applySmartButton(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(o){r(o,(()=>{this.unsetRenderProp("smartButton"),this.smartButtonProps=void 0,null!=o&&d.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=f(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),i=this.smartButtonProps;return t(e,{key:"92a82608b8424d8b91480b7dd132afc12fec8717"},t(b,{key:"3a0ec94ab587dc7b6e49f2530ad61d7fb590b501",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==i?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:i}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);n([_("ctaRef")],x.prototype,"focus",null);const B=x,z=function(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(i(o))||customElements.define(i(o),x))}))};export{B as KolBadge,z as defineCustomElement}
4
+ import{K as o,d as s}from"./component2.js";const t=o,m=s;export{t as KolBadge,m as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,Fragment as e,proxyCustomElement as t,Host as i,transformTag as n}from"@stencil/core/internal/client";import{b as l,s as a,c as r,X as s}from"./bem-registry.js";import{B as c}from"./base-web-component.js";import{c as d}from"./links.js";import{t as k,d as b}from"./props-from-config.js";import{l as m}from"./label.js";import{I as f}from"./component5.js";import{L as h,l as p,a as u,d as g,b as y}from"./component6.js";import{r as _}from"./component7.js";import{v}from"./access-and-short-key.js";import{n as w}from"./dev.utils.js";import{c as x}from"./element-interaction.js";import{d as j,K as z}from"./events.js";import{a as T,b as L,c as B,h as C,s as G,i as I,d as O,t as P,e as E}from"./component3.js";import{d as S}from"./disabled.js";import{h as q}from"./href.js";import{l as F}from"./label-with-expert-slot.js";import{l as K}from"./link-target.js";import{T as D}from"./behavior.js";import{r as H,a as R}from"./unique-nav-labels.js";import{o as U}from"./ariaCurrentService.js";const V=d("KolBreadcrumb"),W={required:[V,m]},A=l.forBlock("kol-breadcrumb"),J=A(),M=A("icon"),N=A("link"),Q=A("list"),X=A("list-element"),Y=A("list-element-span"),Z=A("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return o("nav",{class:J,"aria-label":t},o("ul",{class:Q},0===i.length&&o("li",null,o(f,{class:"kol-breadcrumb_icon",icons:"kolicon-house",label:""}),"…"),i.map(((t,i)=>((t,i,n,l)=>{const a=l?i!==n:i<n-1;if(i===n&&!l)return o(e,null);const{link:r}=t;return o("li",{class:X,key:i},i===n?o("span",{class:Y,"aria-current":"page"},r._hideLabel?o(f,{class:M,icons:"string"==typeof r._icons?r._icons:"kolicon-link",label:r._label?k(r._label):r._href}):o(e,null,_(r._label))):o("div",{class:N},o(h,Object.assign({},t.fcProps))),a&&o(f,{class:Z,icons:"kolicon-chevron-right",label:""}))})(t,i,l,n)))))},oo=t(class extends c{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.showCurrentPage=!0,this.propsConfig=W}watchLabel(o){this.applyLabel(o)}watchLinks(o){this.applyLinks(o)}componentWillLoad(){this.applyLabel(this._label,!0),this.applyLinks(this._links),this.unsubscribeOnLocationChange=U((o=>{this.linkItems=this.linkItems.map((e=>{var t;const i=o===e.fcProps.href&&null!==(t=e.fcProps.ariaCurrentValue)&&void 0!==t?t:"";return e.fcProps.ariaCurrent===i?e:Object.assign(Object.assign({},e),{fcProps:Object.assign(Object.assign({},e.fcProps),{ariaCurrent:i})})}))}))}componentDidRender(){this.linkItems.forEach((o=>o.syncTooltipListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.linkItems.forEach((o=>o.destroy())),H(this.getRenderProp("label"))}applyLabel(o,e=!1){e||H(this.getRenderProp("label")),m.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),r(o),R(this.getRenderProp("label"))}applyLinks(o){V.apply(o,(o=>{this.setRenderProp("links",o),this.linkItems.forEach((o=>o.destroy())),this.linkItems=o.map((o=>((o,e)=>{var t;const i=new D(c.stateLess),n=x(),l=b(p);l.tabIndex=void 0;const r=(o,e)=>o.apply(e,(e=>{l[o.propName]=e}));return r(T,o._accessKey),r(L,o._ariaControls),r(u,o._ariaCurrentValue),r(B,o._ariaDescription),r(S,o._disabled),r(g,o._download),r(C,o._hideLabel),r(q,o._href),r(G,o._icons),r(I,null!==(t=o._inline)&&void 0!==t&&t),r(F,o._label),r(y,o._on),r(O,o._shortKey),"number"==typeof o._tabIndex&&r(P,o._tabIndex),r(K,o._target),r(E,o._tooltipAlign),v(o._accessKey,o._shortKey),i.componentWillLoad({label:(()=>{const o=l.label;if("string"==typeof o&&o.length>0)return o;const e=l.href;return"string"==typeof e?e:""})(),align:l.tooltipAlign}),l.ariaCurrent="",l.ariaDescriptionId=w(),l.expertSlot=""===o._label,l.handleAnchorClick=o=>{if(i.hideTooltip(),!0===l.disabled)return void o.preventDefault();const t="string"==typeof l.href?l.href:"",r=l.on;"function"==typeof(null==r?void 0:r.onClick)&&(a(o,n.el),r.onClick(o,t));const s=e();s&&j(s,z.click,t)},l.refAnchor=o=>{n(o)},l.refTooltip=i.setTooltipElementRef,{link:o,fcProps:l,syncTooltipListeners:()=>{n.el&&i.syncListeners(void 0,n.el,!0)},destroy:()=>{i.destroy()}}})(o,(()=>this.host))))}))}render(){return this.showCurrentPage="hide"!==s("breadcrumbCurrentPage",this.host),o(i,{key:"8a8c9137c0491103f54d65dfe8db53c0c7d629b6"},o($,{key:"ab994f68a8b57e4dae385927a592db76907537cc",label:this.getRenderProp("label"),links:this.getRenderProp("links"),linkItems:this.linkItems,showCurrentPage:this.showCurrentPage}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-breadcrumb__list, .kol-breadcrumb__list-element { display: flex; margin: 0; padding: 0; flex-wrap: wrap; place-items: center; list-style: none; } .kol-breadcrumb__list-element:first-child:last-child { min-height: var(--a11y-min-size); } }'}}},[545,"kol-breadcrumb",{_label:[1],_links:[1],linkItems:[32]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),eo=oo,to=function(){"undefined"!=typeof customElements&&["kol-breadcrumb"].forEach((o=>{"kol-breadcrumb"===o&&(customElements.get(n(o))||customElements.define(n(o),oo))}))};export{eo as KolBreadcrumb,to as defineCustomElement}
4
+ import{h as e,F as o,i as t,p as i,j as n,X as l,H as a,t as r}from"./prop.validators.js";import{B as s,t as c,a as d,e as k}from"./base-web-component.js";import{c as b}from"./links.js";import{l as m}from"./label.js";import{b as f}from"./bem-registry.js";import{I as h}from"./component3.js";import{L as p,l as u,a as g,d as y,b as _}from"./component4.js";import{r as v}from"./component5.js";import{v as w}from"./access-and-short-key.js";import{c as x}from"./dev.utils.js";import{c as j}from"./element-interaction.js";import{d as z,K as T}from"./events.js";import{a as C,b as L,c as B,h as G,s as I,i as O,d as P,t as E,e as F}from"./component6.js";import{d as q}from"./disabled.js";import{h as H,l as K}from"./link-target.js";import{l as S}from"./label-with-expert-slot.js";import{T as D}from"./behavior.js";import{o as R}from"./aria-current-service.js";import{r as U,a as V}from"./unique-nav-labels.js";const W=b("KolBreadcrumb"),A={required:[W,m]},J=f.forBlock("kol-breadcrumb"),M=J("icon"),N=J("link"),Q=J("list"),X=J("list-element"),Y=J("list-element-span"),Z=J("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return e(s,{component:"nav",block:"kol-breadcrumb","aria-label":t},e("ul",{class:Q},0===i.length&&e("li",null,e(h,{class:"kol-breadcrumb_icon",icons:"kolicon-house",label:""}),"…"),i.map(((t,i)=>((t,i,n,l)=>{const a=l?i!==n:i<n-1;if(i===n&&!l)return e(o,null);const{link:r}=t;return e("li",{class:X,key:i},i===n?e("span",{class:Y,"aria-current":"page"},r._hideLabel?e(h,{class:M,icons:"string"==typeof r._icons?r._icons:"kolicon-link",label:r._label?c(r._label):r._href}):e(o,null,v(r._label))):e("div",{class:N},e(p,Object.assign({},t.fcProps))),a&&e(h,{class:Z,icons:"kolicon-chevron-right",label:""}))})(t,i,l,n)))))},ee=i(class extends d{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.showCurrentPage=!0,this.propsConfig=A}watchLabel(e){this.applyLabel(e)}watchLinks(e){this.applyLinks(e)}componentWillLoad(){this.applyLabel(this._label,!0),this.watchLinks(this._links),this.unsubscribeOnLocationChange=R((e=>{this.linkItems=this.linkItems.map((o=>{var t;const i=e===o.fcProps.href&&null!==(t=o.fcProps.ariaCurrentValue)&&void 0!==t?t:"";return o.fcProps.ariaCurrent===i?o:Object.assign(Object.assign({},o),{fcProps:Object.assign(Object.assign({},o.fcProps),{ariaCurrent:i})})}))}))}componentDidRender(){this.linkItems.forEach((e=>e.syncTooltipListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.linkItems.forEach((e=>e.destroy())),U(this.getRenderProp("label"))}applyLabel(e,o=!1){o||U(this.getRenderProp("label")),m.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label")),n(e),V(this.getRenderProp("label"))}applyLinks(e){W.apply(e,(e=>{this.setRenderProp("links",e),this.linkItems.forEach((e=>e.destroy())),this.linkItems=e.map((e=>((e,o)=>{var i;const n=new D(d.stateLess),l=j(),a=k(u);a.tabIndex=void 0;const r=(e,o)=>e.apply(o,(o=>{a[e.propName]=o}));return r(C,e._accessKey),r(L,e._ariaControls),r(g,e._ariaCurrentValue),r(B,e._ariaDescription),r(q,e._disabled),r(y,e._download),r(G,e._hideLabel),r(H,e._href),r(I,e._icons),r(O,null!==(i=e._inline)&&void 0!==i&&i),r(S,e._label),r(_,e._on),r(P,e._shortKey),"number"==typeof e._tabIndex&&r(E,e._tabIndex),r(K,e._target),r(F,e._tooltipAlign),w(e._accessKey,e._shortKey),n.componentWillLoad({label:(()=>{const e=a.label;if("string"==typeof e&&e.length>0)return e;const o=a.href;return"string"==typeof o?o:""})(),align:a.tooltipAlign}),a.ariaCurrent="",a.ariaDescriptionId=x("aria-description"),a.expertSlot=""===e._label,a.handleAnchorClick=e=>{if(n.hideTooltip(),!0===a.disabled)return void e.preventDefault();const i="string"==typeof a.href?a.href:"",r=a.on;"function"==typeof(null==r?void 0:r.onClick)&&(t(e,l.el),r.onClick(e,i));const s=o();s&&z(s,T.click,i)},a.refAnchor=e=>{l(e)},a.refTooltip=n.setTooltipElementRef,{link:e,fcProps:a,syncTooltipListeners:()=>{l.el&&n.syncListeners(void 0,l.el,!0)},destroy:()=>{n.destroy()}}})(e,(()=>this.host))))}))}render(){return this.showCurrentPage="hide"!==l("breadcrumbCurrentPage",this.host),e(a,{key:"9cd1f3015e2123e94434bf8971fb6392556c94fe"},e($,{key:"cb3df5ec4a395eadfa7287a44b2ee3a4792730af",label:this.getRenderProp("label"),links:this.getRenderProp("links"),linkItems:this.linkItems,showCurrentPage:this.showCurrentPage}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-breadcrumb__list, .kol-breadcrumb__list-element { display: flex; margin: 0; padding: 0; flex-wrap: wrap; place-items: center; list-style: none; } .kol-breadcrumb__list-element:first-child:last-child { min-height: var(--a11y-min-size); } }'}}},[545,"kol-breadcrumb",{_label:[1],_links:[1],linkItems:[32]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),oe=ee,te=function(){"undefined"!=typeof customElements&&["kol-breadcrumb"].forEach((e=>{"kol-breadcrumb"===e&&(customElements.get(r(e))||customElements.define(r(e),ee))}))};export{oe as KolBreadcrumb,te as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as t,h as e,Host as o,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{n as a}from"./dev.utils.js";import{d as l,a as r}from"./element-interaction.js";import{B as c}from"./base.js";const s=t(class extends c{constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=a(),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(t){this.applyAccessKey(t,this._shortKey)}watchAriaControls(t){this.applyAriaControls(t)}watchAriaDescription(t){this.applyAriaDescription(t)}watchAriaExpanded(t){this.applyAriaExpanded(t)}watchAriaSelected(t){this.applyAriaSelected(t)}watchDisabled(t){this.applyDisabled(t)}watchHideLabel(t){this.applyHideLabel(t)}watchIcons(t){this.applyIcons(t)}watchInline(t){this.applyInline(t)}watchLabel(t){this.applyLabel(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRole(){}watchShortKey(t){this.applyShortKey(t,this._accessKey)}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchType(t){this.applyType(t)}watchValue(t){this.applyValue(t)}watchVariant(t){this.applyVariant(t)}getValue(){return Promise.resolve(this._value)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return e(o,{key:"30df0e7cb4eaf8c950f1ea6cd87719b954e8a311"},this.renderButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: inline-flex; max-width: fit-content; } .kol-button--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-button--standalone .kol-button__interactive-element { align-items: stretch; } .kol-button--standalone .kol-button__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-button__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-button__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-button__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-button .kol-span__label { text-decoration-line: underline; } .kol-button__icon { display: inline-flex; } .kol-button--inline { min-width: unset; min-height: unset; } .kol-button--inline .kol-button__interactive-element { min-width: unset; min-height: unset; } }'}}},[545,"kol-button-link",{_accessKey:[1,"_access-key"],_ariaControls:[1,"_aria-controls"],_ariaDescription:[1,"_aria-description"],_ariaExpanded:[4,"_aria-expanded"],_ariaSelected:[4,"_aria-selected"],_disabled:[4],_hideLabel:[4,"_hide-label"],_icons:[1],_inline:[4],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([l("ctaRef")],s.prototype,"focus",null),n([r("ctaRef")],s.prototype,"click",null);const h=s,d=function(){"undefined"!=typeof customElements&&["kol-button-link"].forEach((t=>{"kol-button-link"===t&&(customElements.get(i(t))||customElements.define(i(t),s))}))};export{h as KolButtonLink,d as defineCustomElement}
4
+ import{p as e,h as t,H as o,t as i}from"./prop.validators.js";import{_ as n}from"./tslib.es6.js";import{c as a}from"./dev.utils.js";import{d as l,a as r}from"./element-interaction.js";import{B as c}from"./base.js";const s=e(class extends c{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=a("aria-description"),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchAriaSelected(e){this.applyAriaSelected(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRole(){}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return t(o,{key:"17e39013a520e56954707b93aac270769d483214"},this.renderButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: inline-flex; max-width: fit-content; } .kol-button--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-button--standalone .kol-button__interactive-element { align-items: stretch; } .kol-button--standalone .kol-button__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-button__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-button__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-button__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-button .kol-span__label { text-decoration-line: underline; } .kol-button__icon { display: inline-flex; } .kol-button--inline { min-width: unset; min-height: unset; } .kol-button--inline .kol-button__interactive-element { min-width: unset; min-height: unset; } }'}}},[545,"kol-button-link",{_accessKey:[1,"_access-key"],_ariaControls:[1,"_aria-controls"],_ariaDescription:[1,"_aria-description"],_ariaExpanded:[4,"_aria-expanded"],_ariaSelected:[4,"_aria-selected"],_disabled:[4],_hideLabel:[4,"_hide-label"],_icons:[1],_inline:[4],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([l("ctaRef")],s.prototype,"focus",null),n([r("ctaRef")],s.prototype,"click",null);const h=s,d=function(){"undefined"!=typeof customElements&&["kol-button-link"].forEach((e=>{"kol-button-link"===e&&(customElements.get(i(e))||customElements.define(i(e),s))}))};export{h as KolButtonLink,d as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as t,h as o,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{n as a}from"./dev.utils.js";import{d as l,a as r}from"./element-interaction.js";import{B as c}from"./base.js";const s=t(class extends c{constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=a(),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(t){this.applyAccessKey(t,this._shortKey)}watchAriaControls(t){this.applyAriaControls(t)}watchAriaDescription(t){this.applyAriaDescription(t)}watchAriaExpanded(t){this.applyAriaExpanded(t)}watchAriaSelected(t){this.applyAriaSelected(t)}watchCustomClass(t){this.applyCustomClass(t)}watchDisabled(t){this.applyDisabled(t)}watchHideLabel(t){this.applyHideLabel(t)}watchIcons(t){this.applyIcons(t)}watchInline(t){this.applyInline(t)}watchLabel(t){this.applyLabel(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRole(t){this.applyRole(t)}watchShortKey(t){this.applyShortKey(t,this._accessKey)}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchType(t){this.applyType(t)}watchValue(t){this.applyValue(t)}watchVariant(t){this.applyVariant(t)}getValue(){return Promise.resolve(this._value)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchRole(this._role),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return o(e,{key:"9ed43938721a6b3e26e7024c1b0498f585f10158"},this.renderButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } }'}}},[545,"kol-button",{_accessKey:[1,"_access-key"],_ariaControls:[1,"_aria-controls"],_ariaDescription:[1,"_aria-description"],_ariaExpanded:[4,"_aria-expanded"],_ariaSelected:[4,"_aria-selected"],_customClass:[1,"_custom-class"],_disabled:[4],_hideLabel:[4,"_hide-label"],_icons:[1],_inline:[4],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([l("ctaRef")],s.prototype,"focus",null),n([r("ctaRef")],s.prototype,"click",null);const h=s,d=function(){"undefined"!=typeof customElements&&["kol-button"].forEach((t=>{"kol-button"===t&&(customElements.get(i(t))||customElements.define(i(t),s))}))};export{h as KolButton,d as defineCustomElement}
4
+ import{K as o,d as s}from"./component7.js";const t=o,m=s;export{t as KolButton,m as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,proxyCustomElement as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{n as l,c as a}from"./dev.utils.js";import{c as r,d as s,a as c}from"./element-interaction.js";import{B as h}from"./base-web-component.js";import{c as d,r as k,a as f,C as b}from"./component8.js";import{T as p}from"./behavior.js";import"./bem-registry.js";import{l as m}from"./level.js";import{h as u}from"./has-closer.js";import{h as g}from"./href.js";import"./props-from-config.js";import{l as _}from"./label-lang-segment.js";import{l as y}from"./link-target.js";import{d as v,K as w}from"./events.js";const x=class extends h{constructor(){super(...arguments),this.ctaRef=r(),this.closeButtonRef=r(),this.tooltipBehavior=new p(this.stateAccess),this.propsConfig=d,this.handleClose=()=>{var o,e;this.tooltipBehavior.hideTooltip(),null===(e=(o=this.getRenderProp("on")).onClose)||void 0===e||e.call(o,new Event("Close")),this.host&&v(this.host,w.close)},this.handleFocus=o=>{var e,t;null===(t=(e=this.getRenderProp("on")).onFocus)||void 0===t||t.call(e,o),this.host&&v(this.host,w.focus)},this.handleBlur=o=>{var e,t;null===(t=(e=this.getRenderProp("on")).onBlur)||void 0===t||t.call(e,o),this.host&&v(this.host,w.blur)}}initCardCloseButton(){this.closeButtonProps=k(this.host),this.tooltipBehavior.componentWillLoad({label:this.closeButtonProps.label,align:this.closeButtonProps.tooltipAlign})}syncTooltipListeners(){this.closeButtonRef.el&&this.tooltipBehavior.syncListeners(void 0,this.closeButtonRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyHasCloser(o){u.apply(o,(o=>this.setRenderProp("hasCloser",o)))}applyHref(o){g.apply(o,(o=>this.setRenderProp("href",o)),this.isRequired("href"))}applyLabel(o){_.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}applyLevel(o){m.apply(o,(o=>this.setRenderProp("level",o)))}applyOn(o){f.apply(o,(o=>this.setRenderProp("on",o)))}applyTarget(o){y.apply(o,(o=>this.setRenderProp("target",o)))}renderCardFC(){return o(b,{ariaDescriptionId:this.getState("ariaDescriptionId"),closeButtonProps:this.closeButtonProps,handleBlur:this.handleBlur,handleClose:this.handleClose,handleFocus:this.handleFocus,hasCloser:this.getRenderProp("hasCloser"),headingId:this.getState("headingId"),href:this.getRenderProp("href"),label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),refCloseButton:this.closeButtonRef,refCta:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,target:this.getRenderProp("target")},this.renderSlot())}},C=e(class extends x{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=l(),this.headingId=a("card-heading"),this._hasCloser=!1,this._href=void 0,this._level=0,this._on=void 0,this._target=void 0}watchHasCloser(o){this.applyHasCloser(o)}watchHref(o){this.applyHref(o)}watchLabel(o){this.applyLabel(o)}watchLevel(o){this.applyLevel(o)}watchOn(o){this.applyOn(o)}watchTarget(o){this.applyTarget(o)}focus(o){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.initCardCloseButton(),this.watchHasCloser(this._hasCloser),this.watchHref(this._href),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchTarget(this._target)}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}renderSlot(){return o("slot",null)}render(){return o(t,{key:"916261d714a813041360e0b82ffa1d3fc26d56e8"},this.renderCardFC())}get host(){return this}static get watchers(){return{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } }'}}},[801,"kol-card",{_hasCloser:[4,"_has-closer"],_href:[1],_label:[1],_level:[2],_on:[16],_target:[1],ariaDescriptionId:[32],headingId:[32],focus:[64],click:[64]},void 0,{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}]);n([s("ctaRef")],C.prototype,"focus",null),n([c("ctaRef")],C.prototype,"click",null);const T=C,z=function(){"undefined"!=typeof customElements&&["kol-card"].forEach((o=>{"kol-card"===o&&(customElements.get(i(o))||customElements.define(i(o),C))}))};export{T as KolCard,z as defineCustomElement}
4
+ import{p as o,h as e,H as t,t as i}from"./prop.validators.js";import{_ as n}from"./tslib.es6.js";import{a as l}from"./base-web-component.js";import{c as a,a as r,r as s,C as c}from"./component8.js";import{T as d}from"./behavior.js";import{l as h}from"./level.js";import{h as k}from"./has-closer.js";import{h as f,l as b}from"./link-target.js";import{l as m}from"./label-lang-segment.js";import{c as u}from"./dev.utils.js";import{c as p,d as g,a as _}from"./element-interaction.js";import{d as v,K as w}from"./events.js";const y=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=u("aria-description"),this.headingId=u("card-heading"),this.ctaRef=p(),this.closeButtonRef=p(),this.tooltipBehavior=new d(this.stateAccess),this.propsConfig=a,this._hasCloser=!1,this._href=void 0,this._level=0,this._on=void 0,this._target=void 0,this.handleClose=()=>{var o,e;this.tooltipBehavior.hideTooltip(),null===(e=(o=this.getRenderProp("on")).onClose)||void 0===e||e.call(o,new Event("Close")),this.host&&v(this.host,w.close)},this.handleFocus=o=>{var e,t;null===(t=(e=this.getRenderProp("on")).onFocus)||void 0===t||t.call(e,o),this.host&&v(this.host,w.focus)},this.handleBlur=o=>{var e,t;null===(t=(e=this.getRenderProp("on")).onBlur)||void 0===t||t.call(e,o),this.host&&v(this.host,w.blur)}}watchHasCloser(o){k.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchHref(o){f.apply(o,(o=>this.setRenderProp("href",o)),this.isRequired("href"))}watchLabel(o){m.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){h.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){r.apply(o,(o=>this.setRenderProp("on",o)))}watchTarget(o){b.apply(o,(o=>this.setRenderProp("target",o)))}focus(o){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.closeButtonProps=s(this.host),this.tooltipBehavior.componentWillLoad({label:this.closeButtonProps.label,align:this.closeButtonProps.tooltipAlign}),this.watchHasCloser(this._hasCloser),this.watchHref(this._href),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchTarget(this._target)}componentDidRender(){this.closeButtonRef.el&&this.tooltipBehavior.syncListeners(void 0,this.closeButtonRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}render(){return e(t,{key:"811746c0b6fef18d57af3cde07dcf25f7e0b0210"},e(c,{key:"e23f4d7e001a2ca052f75230f139a84dc0a0a0ee",ariaDescriptionId:this.getState("ariaDescriptionId"),closeButtonProps:this.closeButtonProps,handleBlur:this.handleBlur,handleClose:this.handleClose,handleFocus:this.handleFocus,hasCloser:this.getRenderProp("hasCloser"),headingId:this.getState("headingId"),href:this.getRenderProp("href"),label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),refCloseButton:this.closeButtonRef,refCta:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,target:this.getRenderProp("target")},e("slot",{key:"cc8faa2c63bd27c21dbb54beda275c7d62cb5532"})))}get host(){return this}static get watchers(){return{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } }'}}},[801,"kol-card",{_hasCloser:[4,"_has-closer"],_href:[1],_label:[1],_level:[2],_on:[16],_target:[1],ariaDescriptionId:[32],headingId:[32],focus:[64],click:[64]},void 0,{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}]);n([g("ctaRef")],y.prototype,"focus",null),n([_("ctaRef")],y.prototype,"click",null);const x=y,C=function(){"undefined"!=typeof customElements&&["kol-card"].forEach((o=>{"kol-card"===o&&(customElements.get(i(o))||customElements.define(i(o),y))}))};export{x as KolCard,C as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,proxyCustomElement as t,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{t as s}from"./i18n.js";import{v as l}from"./access-and-short-key.js";import{c as a}from"./clsx.js";import{c as r,a as c}from"./dev.utils.js";import{c as h}from"./element-focus.js";import{c as d,d as u,a as b}from"./element-interaction.js";import{c as k,K as m}from"./events.js";import{B as p}from"./component10.js";import{c as f}from"./item.js";import{b as g}from"./bem-registry.js";import{a as _,d as y,v}from"./component3.js";import{h as w,B as x,C as j,L as z,a as B}from"./group.js";import{h as K,g as O,I as S}from"./input-container.js";import"./props-from-config.js";import{p as A}from"./placeholder.js";import{r as C}from"./required.js";import{s as T}from"./suggestions.js";import{s as I}from"./value-string.js";import{f as D,F as H}from"./base-web-component2.js";import{I as V}from"./component5.js";import{I as q}from"./input.js";const F={required:[...D.required,T],optional:[...D.optional,_,w,K,A,C,y,I,v]},L=g.forBlock("kol-combobox")("delete"),M=g.forBlock("kol-combobox-toggle")(),P=({disabled:t,expanded:e,handleClick:i,label:n,listboxId:s})=>o("button",{type:"button",tabIndex:-1,class:M,"aria-controls":s,"aria-expanded":e?"true":"false","aria-label":n,onClick:i,disabled:t,hidden:t},o(V,{icons:"kolicon-chevron-down",label:""})),E=t(class extends x{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.id=r("combobox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=d(),this.clearButton=f((()=>this.host)),this.translateDeleteSelection=s("kol-delete-selection"),this.translateShowSuggestions=s("kol-show-suggestions"),this.hasValue=!1,this.propsConfig=F,this._accessKey=void 0,this._ariaDetails=void 0,this._placeholder=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._hasClearButton=!0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.toggleListbox=()=>{var o;if(!0===this.getRenderProp("disabled"))this.isOpen=!1;else if(null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.isOpen)this.isOpen=!1;else if(Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0){this.isOpen=!0;const o=this.filteredSuggestions.findIndex((o=>o===this.getRenderProp("value")));this.focusedIndex=o>=0?o:-1,this.focusOption(this.focusedIndex)}},this.handleComboboxInput=o=>{const t=o.target.value;this.setRenderProp("value",t),this._value=t,this.handleInput(o,t),this.setFilteredSuggestionsByQuery(t),this.focusedIndex=-1,o.stopImmediatePropagation()},this.handleComboboxChange=o=>{o.stopPropagation();const t=this.getRenderProp("value");this.handleChange(o,t),this.hasValue=!!t,this.formAssociation.setFormAssociatedValue(t)},this.handleInputBlur=o=>{this.handleFocusLeave(o)},this.stopClearButtonFocusEvent=o=>{o.stopPropagation()},this.handleDropdownKeyDown=o=>{1===o.key.length&&/[a-z0-9]/i.test(o.key)&&(this.isOpen=!0,this.focusSuggestionStartingWith(o.key))},this.initFormAssociation("combobox",this._name)}watchAccessKey(o){_.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchPlaceholder(o){A.apply(o,(o=>this.setRenderProp("placeholder",o)))}watchDisabled(o){this.applyDisabled(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHint(o){this.applyHint(o)}watchIcons(o){K.apply(o,(o=>this.setRenderProp("icons",o)))}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchHasClearButton(o){w.apply(o,(o=>this.setRenderProp("hasClearButton",o)))}watchSuggestions(o){var t;this.applySuggestions(o),this.setFilteredSuggestionsByQuery(null!==(t=this._value)&&void 0!==t?t:"")}watchRequired(o){C.apply(o,(o=>this.setRenderProp("required",o)))}watchShortKey(o){y.apply(o,(o=>this.setRenderProp("shortKey",o))),l(this._accessKey,o)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){this.applyValue(o),this.formAssociation.setFormAssociatedValue(o)}watchVariant(o){v.apply(o,(o=>this.setRenderProp("variant",o)))}getValue(){return Promise.resolve(this.getRenderProp("value"))}focus(o){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.setRenderProp("value",""),this.optionRefs=[],this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchHasClearButton(this._hasClearButton),this.watchPlaceholder(this._placeholder),this.watchRequired(this._required),this.applySuggestions(this._suggestions),this.applyValue(this._value),this.hasValue=!!this.getRenderProp("value"),this.filteredSuggestions=this.getRenderProp("suggestions")}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(o){this.handleListboxKeyDown(o)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(o){h(this.host)&&!this.inputHasFocus&&this.handleFocus(o)}handleFocusOut(o){var t;const e=o.relatedTarget,i=e&&(e===this.host||(null===(t=this.host)||void 0===t?void 0:t.contains(e)));this.inputHasFocus&&!i&&(this.handleBlur(o),this.isOpen&&(this.isOpen=!1))}getOptionCount(){return Array.isArray(this.filteredSuggestions)?this.filteredSuggestions.length:0}moveFocus(o){this.filteredSuggestions&&this.moveFocusWrapping(o)}focusFirstOption(){this.focusOption(0)}focusLastOption(){this.focusOption(this.filteredSuggestions?this.filteredSuggestions.length-1:0)}handleConfirmKey(o){const t=this.clearButton.getRootElement();t&&o.composedPath().includes(t)||(" "!==o.key?(this.isOpen&&this.selectFocusedOption()?this.isOpen=!1:this.toggleListbox(),o.preventDefault()):this.isOpen&&this.selectFocusedOption()&&(this.isOpen=!1,o.preventDefault()))}selectFocusedOption(){return!!(this.filteredSuggestions&&this.focusedIndex>=0&&this.focusedIndex<this.filteredSuggestions.length)&&(this.selectOption(this.filteredSuggestions[this.focusedIndex]),!0)}focusSuggestionStartingWith(o){const t=o.toLowerCase(),e=Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.findIndex((o=>o.toLowerCase().startsWith(t)));"number"==typeof e&&this.focusOption(e)}setFilteredSuggestionsByQuery(o){var t;if(void 0===o)return;const e=this.getRenderProp("suggestions");""===o.trim()?this.filteredSuggestions=[...e]:(this.filteredSuggestions=Array.isArray(e)?e.filter((t=>t.toLowerCase().includes(o.trim().toLowerCase()))):this.filteredSuggestions,this.isOpen=(1!==(null===(t=this.filteredSuggestions)||void 0===t?void 0:t.length)||this.filteredSuggestions[0]!==o)&&!!(this.filteredSuggestions&&this.filteredSuggestions.length>0))}selectOption(o){var t;const e=this.getRenderProp("name");this._value=o,this.handleInput(k(m.input,{name:e,value:o},this.ctaRef.el),o),this.handleChange(k(m.change,{name:e,value:o},this.ctaRef.el),o),this.hasValue=!!o,this.formAssociation.setFormAssociatedValue(o),this.filteredSuggestions=[...this.getRenderProp("suggestions")],this.setRenderProp("value",o),null===(t=this.ctaRef.el)||void 0===t||t.focus()}clearSelection(){var o;if(!0===this.getRenderProp("disabled"))return;null===(o=this.ctaRef.el)||void 0===o||o.focus();const t="";this.focusedIndex=-1,this._value=t,this.setRenderProp("value",t),this.filteredSuggestions=[...this.getRenderProp("suggestions")],this.isOpen=!1;const e={name:this.getRenderProp("name"),value:t};this.handleInput(k(m.input,e,this.ctaRef.el),t),this.handleChange(k(m.change,e,this.ctaRef.el),t),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(t)}getInputProps(){const{ariaDescribedBy:o,hasError:t}=this.getAria(),e=this.id,i=!0===this.getRenderProp("disabled"),n=this.getRenderProp("accessKey")||void 0,s=this.getRenderProp("placeholder"),l=this.getRenderProp("shortKey")||void 0,a=this.getRenderProp("hideLabel"),r=this.getRenderProp("label");return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:a,label:r,disabled:i,name:this.getRenderProp("name")||void 0},n?{accessKey:n}:{}),{value:this.getRenderProp("value"),required:this.getRenderProp("required")}),s?{placeholder:s}:{}),{touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),{ref:this.ctaRef,class:"kol-combobox__input",type:"text",role:"combobox","aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":"both","aria-controls":c(e,"listbox"),"aria-describedby":o.length>0?o.join(" "):void 0,"aria-expanded":this.isOpen?"true":"false","aria-label":a&&"string"==typeof r?r:void 0,"aria-labelledby":c(e,"label"),autocapitalize:"off",autocorrect:"off",autocomplete:"off",onBlur:this.handleInputBlur,onChange:this.handleComboboxChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleComboboxInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:o,"aria-invalid":t?"true":void 0})}renderOptions(){const t=this.getRenderProp("value");return Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.map(((e,i)=>o(j,{id:this.getOptionId(i),disabled:!1,index:i,option:e,searchTerm:t,ref:o=>{o&&(this.optionRefs[i]=o)},selected:t===e,onClick:()=>{this.selectOption(e),this.toggleListbox(),this.isOpen=!1},onMouseOver:()=>{this.blockSuggestionMouseOver||this.focusOption(i)},onFocus:()=>{this.focusOption(i)}})))}applySuggestions(o){T.apply(o,(o=>this.setRenderProp("suggestions",o)))}applyValue(o){null!=o&&I.apply(o,(o=>this.setRenderProp("value",o)))}render(){const t=!0===this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=O({icons:this.getRenderProp("icons")});return o(e,{key:"2c55e2d805fc70a16cc252ab4b454285a5f0e989"},o(H,Object.assign({key:"847c28d43f92191ae138b17bf24deb1ea6e6650f"},this.getFormFieldProps({class:a("kol-combobox",{"has-value":this.hasValue,"kol-combobox--open":this.isOpen}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")})),o(S,{key:"c56a6d3f4dd6b28aaaa08260c2cdefe9cb7745d7",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(z,{key:"51ebc2d5b0bd49bcf2e8c0a46464904bbe0f2fe5",block:"kol-combobox"},o(q,Object.assign({key:"23241d3f8d6c86639c0a9d347c53b2fe456471fb"},this.getInputProps())),this.getRenderProp("value")&&this.getRenderProp("hasClearButton")&&o(p,Object.assign({key:"464421143c503304ec7578a21daf6a5579325d14"},this.clearButton.getFcProps({_icons:"kolicon-cross",_label:this.translateDeleteSelection,_hideLabel:!0,_variant:"ghost",_disabled:t,_on:{onClick:()=>{this.clearSelection()}}},{class:L,hidden:t,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),o(P,{key:"45ce5c48050e4b05f748a81b7b9720c9aacd84c8",disabled:t,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:c(this.id,"listbox")})),o(B,{key:"9966a9ad789c5b0a44bb72f20cc2d109b592c527",blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,hidden:!this.isOpen||t,id:c(this.id,"listbox")},this.renderOptions()))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_hasClearButton:[{watchHasClearButton:0}],_suggestions:[{watchSuggestions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox { } .kol-combobox__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox__group :host { display: inline-block; } .kol-combobox__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element::before { content: "​"; } .kol-combobox__group .kol-button__text { flex: 1 0 100%; } .kol-combobox__group .kol-button { } .kol-combobox__group .kol-button__tooltip { height: 0; } .kol-combobox__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-combobox__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-combobox-toggle { min-height: 0; flex: 0; align-self: stretch; } .kol-combobox--open .kol-combobox-toggle { transform: rotate(180deg); } }'}}},[545,"kol-combobox",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_placeholder:[1],_disabled:[4],_hideMsg:[4,"_hide-msg"],_hideLabel:[4,"_hide-label"],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_hasClearButton:[4,"_has-clear-button"],_suggestions:[1],_required:[4],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],isOpen:[32],blockSuggestionMouseOver:[32],filteredSuggestions:[32],getValue:[64],focus:[64],click:[64]},[[0,"keydown","handleHostKeyDown"],[1,"mousemove","handleMouseEvent"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_hasClearButton:[{watchHasClearButton:0}],_suggestions:[{watchSuggestions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([u("ctaRef")],E.prototype,"focus",null),n([b("ctaRef")],E.prototype,"click",null);const G=E,R=function(){"undefined"!=typeof customElements&&["kol-combobox"].forEach((o=>{"kol-combobox"===o&&(customElements.get(i(o))||customElements.define(i(o),E))}))};export{G as KolCombobox,R as defineCustomElement}
4
+ import{h as o,p as t,H as e,t as i}from"./prop.validators.js";import{_ as n}from"./tslib.es6.js";import{t as s}from"./i18n.js";import{B as l}from"./component9.js";import{c as a}from"./item.js";import{a as r,d as c,v as h}from"./component6.js";import{h as d,B as u,C as b,L as k,a as m}from"./group.js";import{h as p,g as f,I as g}from"./input-container.js";import{f as _}from"./base-web-component.js";import{p as y}from"./placeholder.js";import{r as v}from"./required.js";import{s as w}from"./suggestions.js";import{s as x}from"./value-string.js";import{f as j,F as z}from"./base-web-component2.js";import{b as B}from"./bem-registry.js";import{I as C}from"./component3.js";import{I as K}from"./input.js";import{v as O}from"./access-and-short-key.js";import{c as S,a as T}from"./dev.utils.js";import{c as A}from"./element-focus.js";import{c as I,d as H,a as D}from"./element-interaction.js";import{c as V,K as q}from"./events.js";const F={required:[...j.required,w],optional:[...j.optional,r,d,p,y,v,c,x,h]},L=B.forBlock("kol-combobox")("delete"),M=B.forBlock("kol-combobox-toggle")(),P=({disabled:t,expanded:e,handleClick:i,label:n,listboxId:s})=>o("button",{type:"button",tabIndex:-1,class:M,"aria-controls":s,"aria-expanded":e?"true":"false","aria-label":n,onClick:i,disabled:t,hidden:t},o(C,{icons:"kolicon-chevron-down",label:""})),E=t(class extends u{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.id=S("combobox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=I(),this.clearButton=a((()=>this.host)),this.translateDeleteSelection=s("kol-delete-selection"),this.translateShowSuggestions=s("kol-show-suggestions"),this.hasValue=!1,this.propsConfig=F,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hasClearButton=!0,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.toggleListbox=()=>{var o;if(!0===this.getRenderProp("disabled"))this.isOpen=!1;else if(null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.isOpen)this.isOpen=!1;else if(Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0){this.isOpen=!0;const o=this.filteredSuggestions.findIndex((o=>o===this.getRenderProp("value")));this.focusedIndex=o>=0?o:-1,this.focusOption(this.focusedIndex)}},this.handleComboboxInput=o=>{const t=o.target.value;this.setRenderProp("value",t),this._value=t,this.handleInput(o,t),this.setFilteredSuggestionsByQuery(t),this.focusedIndex=-1,o.stopImmediatePropagation()},this.handleComboboxChange=o=>{o.stopPropagation();const t=this.getRenderProp("value");this.handleChange(o,t),this.hasValue=!!t,this.formAssociation.setFormAssociatedValue(t)},this.handleInputBlur=o=>{this.handleFocusLeave(o)},this.stopClearButtonFocusEvent=o=>{o.stopPropagation()},this.handleDropdownKeyDown=o=>{1===o.key.length&&/[a-z0-9]/i.test(o.key)&&(this.isOpen=!0,this.focusSuggestionStartingWith(o.key))},this.initFormAssociation("combobox",this._name)}watchAccessKey(o){r.apply(o,(o=>this.setRenderProp("accessKey",o))),O(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchDisabled(o){this.applyDisabled(o)}watchHasClearButton(o){d.apply(o,(o=>this.setRenderProp("hasClearButton",o)))}watchHideLabel(o){this.applyHideLabel(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHint(o){this.applyHint(o)}watchIcons(o){p.apply(o,(o=>this.setRenderProp("icons",o)))}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchPlaceholder(o){y.apply(o,(o=>this.setRenderProp("placeholder",o)))}watchRequired(o){v.apply(o,(o=>this.setRenderProp("required",o)))}watchShortKey(o){c.apply(o,(o=>this.setRenderProp("shortKey",o))),O(this._accessKey,o)}watchSuggestions(o){var t;this.applySuggestions(o),this.setFilteredSuggestionsByQuery(null!==(t=this._value)&&void 0!==t?t:"")}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){this.applyValue(o),this.formAssociation.setFormAssociatedValue(o)}watchVariant(o){h.apply(o,(o=>this.setRenderProp("variant",o)))}getValue(){return Promise.resolve(this.getRenderProp("value"))}focus(o){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.setRenderProp("value",""),this.optionRefs=[],this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHasClearButton(this._hasClearButton),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchPlaceholder(this._placeholder),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.applySuggestions(this._suggestions),this.applyValue(this._value),this.hasValue=!!this.getRenderProp("value"),this.filteredSuggestions=this.getRenderProp("suggestions")}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(o){this.handleListboxKeyDown(o)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(o){A(this.host)&&!this.inputHasFocus&&this.handleFocus(o)}handleFocusOut(o){var t;const e=o.relatedTarget,i=e&&(e===this.host||(null===(t=this.host)||void 0===t?void 0:t.contains(e)));this.inputHasFocus&&!i&&(this.handleBlur(o),this.isOpen&&(this.isOpen=!1))}getOptionCount(){return Array.isArray(this.filteredSuggestions)?this.filteredSuggestions.length:0}moveFocus(o){this.filteredSuggestions&&this.moveFocusWrapping(o)}focusFirstOption(){this.focusOption(0)}focusLastOption(){this.focusOption(this.filteredSuggestions?this.filteredSuggestions.length-1:0)}handleConfirmKey(o){const t=this.clearButton.getRootElement();t&&o.composedPath().includes(t)||(" "!==o.key?(this.isOpen&&this.selectFocusedOption()?this.isOpen=!1:this.toggleListbox(),o.preventDefault()):this.isOpen&&this.selectFocusedOption()&&(this.isOpen=!1,o.preventDefault()))}selectFocusedOption(){return!!(this.filteredSuggestions&&this.focusedIndex>=0&&this.focusedIndex<this.filteredSuggestions.length)&&(this.selectOption(this.filteredSuggestions[this.focusedIndex]),!0)}focusSuggestionStartingWith(o){const t=o.toLowerCase(),e=Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.findIndex((o=>o.toLowerCase().startsWith(t)));"number"==typeof e&&this.focusOption(e)}setFilteredSuggestionsByQuery(o){var t;if(void 0===o)return;const e=this.getRenderProp("suggestions");""===o.trim()?this.filteredSuggestions=[...e]:(this.filteredSuggestions=Array.isArray(e)?e.filter((t=>t.toLowerCase().includes(o.trim().toLowerCase()))):this.filteredSuggestions,this.isOpen=(1!==(null===(t=this.filteredSuggestions)||void 0===t?void 0:t.length)||this.filteredSuggestions[0]!==o)&&!!(this.filteredSuggestions&&this.filteredSuggestions.length>0))}selectOption(o){var t;const e=this.getRenderProp("name");this._value=o,this.handleInput(V(q.input,{name:e,value:o},this.ctaRef.el),o),this.handleChange(V(q.change,{name:e,value:o},this.ctaRef.el),o),this.hasValue=!!o,this.formAssociation.setFormAssociatedValue(o),this.filteredSuggestions=[...this.getRenderProp("suggestions")],this.setRenderProp("value",o),null===(t=this.ctaRef.el)||void 0===t||t.focus()}clearSelection(){var o;if(!0===this.getRenderProp("disabled"))return;null===(o=this.ctaRef.el)||void 0===o||o.focus();const t="";this.focusedIndex=-1,this._value=t,this.setRenderProp("value",t),this.filteredSuggestions=[...this.getRenderProp("suggestions")],this.isOpen=!1;const e={name:this.getRenderProp("name"),value:t};this.handleInput(V(q.input,e,this.ctaRef.el),t),this.handleChange(V(q.change,e,this.ctaRef.el),t),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(t)}getInputProps(){const{ariaDescribedBy:o,hasError:t}=this.getAria(),e=this.id,i=!0===this.getRenderProp("disabled"),n=this.getRenderProp("accessKey")||void 0,s=this.getRenderProp("placeholder"),l=this.getRenderProp("shortKey")||void 0,a=this.getRenderProp("hideLabel"),r=this.getRenderProp("label");return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:a,label:r,disabled:i,name:this.getRenderProp("name")||void 0},n?{accessKey:n}:{}),{value:this.getRenderProp("value"),required:this.getRenderProp("required")}),s?{placeholder:s}:{}),{touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),{ref:this.ctaRef,class:"kol-combobox__input",type:"text",role:"combobox","aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":"list","aria-controls":T(e,"listbox"),"aria-describedby":o.length>0?o.join(" "):void 0,"aria-expanded":this.isOpen?"true":"false","aria-label":a&&"string"==typeof r?r:void 0,"aria-labelledby":T(e,"label"),autocapitalize:"off",autocorrect:"off",autocomplete:"off",onBlur:this.handleInputBlur,onChange:this.handleComboboxChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleComboboxInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:o,"aria-invalid":t?"true":void 0})}renderOptions(){const t=this.getRenderProp("value");return Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.map(((e,i)=>o(b,{id:this.getOptionId(i),disabled:!1,index:i,option:e,searchTerm:t,ref:o=>{o&&(this.optionRefs[i]=o)},selected:t===e,onClick:()=>{this.selectOption(e),this.toggleListbox(),this.isOpen=!1},onMouseOver:()=>{this.blockSuggestionMouseOver||this.focusOption(i)},onFocus:()=>{this.focusOption(i)}})))}applySuggestions(o){w.apply(o,(o=>this.setRenderProp("suggestions",o)))}applyValue(o){null!=o&&x.apply(o,(o=>this.setRenderProp("value",o)))}render(){const t=!0===this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=f({icons:this.getRenderProp("icons")});return o(e,{key:"8a56f5f822b6287d855a5440736367bbc9820e6a"},o(z,Object.assign({key:"74405a36589559487c8ef480ad20986db4332c69"},this.getFormFieldProps({class:_("kol-combobox",{"has-value":this.hasValue,"kol-combobox--open":this.isOpen}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")})),o(g,{key:"225a16cde1e1939564ebe284bbd338434bee56aa",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(k,{key:"e8982a600e2f0236d50eb8c0e1e842449045448e",block:"kol-combobox"},o(K,Object.assign({key:"77bf716d5b0c02365b23c1cbf79135033507437b"},this.getInputProps())),this.getRenderProp("value")&&this.getRenderProp("hasClearButton")&&o(l,Object.assign({key:"40ad0f4f9bb47b8582ee3c35327ca5cd13df69bb"},this.clearButton.getFcProps({_icons:"kolicon-cross",_label:this.translateDeleteSelection,_hideLabel:!0,_variant:"ghost",_disabled:t,_on:{onClick:()=>{this.clearSelection()}}},{class:L,hidden:t,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),o(P,{key:"f9bbbc7e299707c0cc29d72c76048fc003331fe7",disabled:t,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:T(this.id,"listbox")})),o(m,{key:"cb590ad586a5ad996a4fc0e25afefa11d562334a",blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,hidden:!this.isOpen||t,id:T(this.id,"listbox"),"aria-labelledby":T(this.id,"label")},this.renderOptions()))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasClearButton:[{watchHasClearButton:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox { } .kol-combobox__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox__group :host { display: inline-block; } .kol-combobox__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element::before { content: "​"; } .kol-combobox__group .kol-button__text { flex: 1 0 100%; } .kol-combobox__group .kol-button { } .kol-combobox__group .kol-button__tooltip { height: 0; } .kol-combobox__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-combobox__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-combobox-toggle { min-height: 0; flex: 0; align-self: stretch; } .kol-combobox--open .kol-combobox-toggle { transform: rotate(180deg); } }'}}},[545,"kol-combobox",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_disabled:[4],_hasClearButton:[4,"_has-clear-button"],_hideLabel:[4,"_hide-label"],_hideMsg:[4,"_hide-msg"],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_placeholder:[1],_required:[4],_shortKey:[1,"_short-key"],_suggestions:[1],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],isOpen:[32],blockSuggestionMouseOver:[32],filteredSuggestions:[32],getValue:[64],focus:[64],click:[64]},[[0,"keydown","handleHostKeyDown"],[1,"mousemove","handleMouseEvent"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasClearButton:[{watchHasClearButton:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([H("ctaRef")],E.prototype,"focus",null),n([D("ctaRef")],E.prototype,"click",null);const G=E,R=function(){"undefined"!=typeof customElements&&["kol-combobox"].forEach((o=>{"kol-combobox"===o&&(customElements.get(i(o))||customElements.define(i(o),E))}))};export{G as KolCombobox,R as defineCustomElement}