@public-ui/components 4.6.0-rc.1 → 4.6.0-rc.2

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 (664) 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 +1 -1
  7. package/dist/cjs/{Heading-DpKpW9_U.js → Heading-CmnijhLd.js} +1 -1
  8. package/dist/cjs/{api-DSnFV5pX.js → api-Bg7hdIrJ.js} +20 -20
  9. package/dist/cjs/{app-globals-DWk29tH4.js → app-globals-BwYPSMbG.js} +3 -3
  10. package/dist/cjs/{base-Cdk10fDz.js → base-BVhV5HmV.js} +10 -10
  11. package/dist/cjs/{base-B1L6tTOu.js → base-CQB0r-ZQ.js} +11 -11
  12. package/dist/cjs/{base-uTtcb6OV.js → base-JFyPasp9.js} +27 -24
  13. package/dist/cjs/{base-DB-5MCfF.js → base-ob1X79UM.js} +12 -12
  14. package/dist/cjs/{base-web-component-CyF5QpIH.js → base-web-component-DBcJrpRb.js} +15 -15
  15. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-DXCN-Sp3.js} +1 -1
  16. package/dist/cjs/{base-web-component-BdHm5Oq9.js → base-web-component-dI9FmFIm.js} +10 -10
  17. package/dist/cjs/{behavior-BnUihLzw.js → behavior-B5wr2A8R.js} +5 -5
  18. package/dist/cjs/{behavior-D5F_9gEC.js → behavior-CUmF8rJf.js} +5 -5
  19. package/dist/cjs/{behavior-C3w_8ifK.js → behavior-DujaVCwV.js} +5 -5
  20. package/dist/cjs/{bem-registry-ZJZujhCi.js → bem-registry-B6QoNC9E.js} +1 -1
  21. package/dist/cjs/{block-bem-CMvCkLkl.js → block-bem-ByCgFI2B.js} +1 -1
  22. package/dist/cjs/{bootstrap-C4lWLUW9.js → bootstrap-HU5YhM_w.js} +2 -2
  23. package/dist/cjs/{color-BW4t1Cif.js → color-C3xsA3Uk.js} +3 -3
  24. package/dist/cjs/{common-C-hcIfzh.js → common-CzGJx0nT.js} +31 -30
  25. package/dist/cjs/{component-_p4OHWcc.js → component-1J4G5HmZ.js} +14 -14
  26. package/dist/cjs/{component-C46QQbMS.js → component-BexD3069.js} +11 -11
  27. package/dist/cjs/{component-CrW05zUq.js → component-BilLJFfC.js} +5 -5
  28. package/dist/cjs/{component-DfChjUi8.js → component-Bza8hlo-.js} +10 -10
  29. package/dist/cjs/{component-BwrQID5A.js → component-Cbbx7Z6c.js} +4 -4
  30. package/dist/cjs/{component-eYoUHQ64.js → component-CjXcCX2V.js} +2 -2
  31. package/dist/cjs/{component-N-3XFtFS.js → component-Cqp00Tb9.js} +8 -8
  32. package/dist/cjs/{component-BXz1XtoE.js → component-DFhuXUqv.js} +15 -15
  33. package/dist/cjs/{component-B2l8N5t_.js → component-DGVc4bOy.js} +4 -4
  34. package/dist/cjs/{component-BE_gS80r.js → component-DkV9oPCL.js} +2 -2
  35. package/dist/cjs/{component-CWEYNtAH.js → component-Doln6Ltn.js} +5 -5
  36. package/dist/cjs/{component-DsWMXDya.js → component-DprHBKdZ.js} +7 -7
  37. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-6Nku3lih.js} +2 -2
  38. package/dist/cjs/{controller-DcinOUmN.js → controller-D66Eq44x.js} +1 -1
  39. package/dist/cjs/{dev.utils-Bxq7b-n1.js → dev.utils-Bx4sgPsr.js} +2 -2
  40. package/dist/cjs/{devtools-BLvPSoCH.js → devtools-BXBKJice.js} +3 -3
  41. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-CilmJ-p-.js} +1 -1
  42. package/dist/cjs/{field-control-D9t3USqP.js → field-control-B95uzQnW.js} +8 -8
  43. package/dist/cjs/{group-CFBPF3hG.js → group-DGS7K6Ja.js} +7 -7
  44. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-iSIrv52u.js} +1 -1
  45. package/dist/cjs/{href-BBhiVyPb.js → href-xojo1zy_.js} +1 -1
  46. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-D7UmRsV8.js} +2 -2
  47. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DgHI4-xa.js} +2 -0
  48. package/dist/cjs/{id-D1VZsLkg.js → id-DP-w6i4q.js} +1 -1
  49. package/dist/cjs/{index-CNhjOFBg.js → index-Ccvyz7Rq.js} +23 -12
  50. package/dist/cjs/index.cjs.js +4 -4
  51. package/dist/cjs/{input-C3F73RZW.js → input-BKXEykG_.js} +5 -5
  52. package/dist/cjs/{input-container-B5-_NcRy.js → input-container-CWb_kRbs.js} +8 -8
  53. package/dist/cjs/{item-CfCrfeQL.js → item-C4Boh5Cz.js} +5 -5
  54. package/dist/cjs/{item-dlea1NHr.js → item-DgNTEUz3.js} +30 -15
  55. package/dist/cjs/{item-DvddzW3M.js → item-vDMQvV0t.js} +6 -6
  56. package/dist/cjs/{item-nAB1wPvv.js → item-wr5KfPYM.js} +12 -12
  57. package/dist/cjs/kol-abbr.cjs.entry.js +13 -12
  58. package/dist/cjs/kol-accordion.cjs.entry.js +21 -20
  59. package/dist/cjs/kol-alert.cjs.entry.js +32 -30
  60. package/dist/cjs/kol-avatar.cjs.entry.js +17 -16
  61. package/dist/cjs/kol-badge.cjs.entry.js +30 -29
  62. package/dist/cjs/kol-breadcrumb.cjs.entry.js +32 -31
  63. package/dist/cjs/kol-button-link.cjs.entry.js +29 -28
  64. package/dist/cjs/kol-button.cjs.entry.js +29 -28
  65. package/dist/cjs/kol-card.cjs.entry.js +34 -33
  66. package/dist/cjs/kol-combobox.cjs.entry.js +46 -45
  67. package/dist/cjs/kol-details.cjs.entry.js +21 -20
  68. package/dist/cjs/kol-dialog.cjs.entry.js +37 -36
  69. package/dist/cjs/kol-drawer.cjs.entry.js +36 -35
  70. package/dist/cjs/kol-form.cjs.entry.js +30 -29
  71. package/dist/cjs/kol-heading.cjs.entry.js +15 -14
  72. package/dist/cjs/kol-icon.cjs.entry.js +20 -16
  73. package/dist/cjs/kol-image.cjs.entry.js +10 -9
  74. package/dist/cjs/kol-input-checkbox.cjs.entry.js +41 -40
  75. package/dist/cjs/kol-input-color.cjs.entry.js +43 -42
  76. package/dist/cjs/kol-input-date.cjs.entry.js +45 -44
  77. package/dist/cjs/kol-input-email.cjs.entry.js +48 -47
  78. package/dist/cjs/kol-input-file.cjs.entry.js +42 -41
  79. package/dist/cjs/kol-input-number.cjs.entry.js +47 -46
  80. package/dist/cjs/kol-input-password.cjs.entry.js +46 -45
  81. package/dist/cjs/kol-input-radio.cjs.entry.js +41 -40
  82. package/dist/cjs/kol-input-range.cjs.entry.js +43 -42
  83. package/dist/cjs/kol-input-text.cjs.entry.js +48 -47
  84. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -12
  85. package/dist/cjs/kol-link-button.cjs.entry.js +30 -29
  86. package/dist/cjs/kol-link.cjs.entry.js +30 -29
  87. package/dist/cjs/kol-meter.cjs.entry.js +20 -22
  88. package/dist/cjs/kol-modal.cjs.entry.js +37 -36
  89. package/dist/cjs/kol-nav.cjs.entry.js +38 -37
  90. package/dist/cjs/kol-pagination.cjs.entry.js +45 -44
  91. package/dist/cjs/kol-popover-button.cjs.entry.js +30 -29
  92. package/dist/cjs/kol-progress.cjs.entry.js +21 -17
  93. package/dist/cjs/kol-quote.cjs.entry.js +12 -11
  94. package/dist/cjs/kol-select.cjs.entry.js +41 -40
  95. package/dist/cjs/kol-single-select.cjs.entry.js +53 -47
  96. package/dist/cjs/kol-skip-nav.cjs.entry.js +32 -31
  97. package/dist/cjs/kol-spin.cjs.entry.js +17 -16
  98. package/dist/cjs/kol-split-button.cjs.entry.js +33 -32
  99. package/dist/cjs/kol-table-stateful.cjs.entry.js +57 -56
  100. package/dist/cjs/kol-table-stateless.cjs.entry.js +45 -44
  101. package/dist/cjs/kol-tabs.cjs.entry.js +36 -38
  102. package/dist/cjs/kol-textarea.cjs.entry.js +48 -45
  103. package/dist/cjs/kol-toast-container.cjs.entry.js +25 -24
  104. package/dist/cjs/kol-toolbar.cjs.entry.js +35 -34
  105. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +15 -14
  106. package/dist/cjs/kol-tree-item.cjs.entry.js +28 -27
  107. package/dist/cjs/kol-tree.cjs.entry.js +12 -11
  108. package/dist/cjs/kol-version.cjs.entry.js +27 -26
  109. package/dist/cjs/kolibri.cjs.js +4 -4
  110. package/dist/cjs/{label-vVOiX4dC.js → label-D6c6jfqK.js} +3 -3
  111. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-q3XenWLW.js} +2 -2
  112. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-k4OY9qRY.js} +2 -2
  113. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-CJoz7BLw.js} +3 -3
  114. package/dist/cjs/{level-BAiEYu4U.js → level-B6vFMm9s.js} +1 -1
  115. package/dist/cjs/{link-target-4AzB3I84.js → link-target-0qSVsAb2.js} +1 -1
  116. package/dist/cjs/{links-CPNK7VZo.js → links-Ur1e9DOK.js} +2 -2
  117. package/dist/cjs/loader.cjs.js +3 -3
  118. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-CCxtzqez.js} +1 -1
  119. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-DzAHCwlP.js} +1 -1
  120. package/dist/cjs/{open-CvoX_qxD.js → open-Gxr_K7HK.js} +1 -1
  121. package/dist/cjs/{options-B2pQC9w2.js → options-BT0m0gRT.js} +2 -2
  122. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-CeHU4dT8.js} +1 -1
  123. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-22xUUFff.js} +1 -1
  124. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-D1qhXS9j.js} +1 -1
  125. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-iHApMQEg.js} +1 -1
  126. package/dist/cjs/{required-CdXn16dq.js → required-BYdSI25I.js} +1 -1
  127. package/dist/cjs/{resolve-props-ClWlRbhz.js → resolve-props-B_ytLWBO.js} +7 -7
  128. package/dist/cjs/{resolve-props-BUSerQcI.js → resolve-props-pZBj0tIz.js} +8 -8
  129. package/dist/cjs/{rows-Ca5ya9tG.js → rows-C9vBSQK1.js} +1 -1
  130. package/dist/cjs/{scroll-lock-CSW_wA0P.js → scroll-lock-DguXX-Em.js} +2 -2
  131. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DRMmUyQ5.js} +2 -2
  132. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-CxgvHcGA.js} +1 -1
  133. package/dist/cjs/{src-C3NG0rLO.js → src-Bmd7gQCS.js} +1 -1
  134. package/dist/cjs/{step-CZNyTb2h.js → step-CCqgsPCX.js} +1 -1
  135. package/dist/cjs/{suggestions-CIGYxDps.js → suggestions-C6Q3kj5J.js} +3 -3
  136. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-CoUp7HmN.js} +2 -2
  137. package/dist/cjs/test-component.cjs.entry.js +4 -3
  138. package/dist/cjs/{toggle-handler-Cy5RcTS_.js → toggle-handler-BaOOa9I5.js} +10 -10
  139. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CgxOyb6V.js} +2 -2
  140. package/dist/cjs/{unit-bsoemclF.js → unit-_oDj-vIB.js} +1 -1
  141. package/dist/cjs/{validators-DuLdbf2D.js → validators-CpCJvM4r.js} +3 -1
  142. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-CKppMGVM.js} +1 -1
  143. package/dist/cjs/{width-BklaRCqt.js → width-e7f3wHF3.js} +1 -1
  144. package/dist/collection/collection-manifest.json +1 -1
  145. package/dist/collection/components/abbr/component.js +2 -2
  146. package/dist/collection/components/accordion/component.js +2 -2
  147. package/dist/collection/components/accordion/style.css +2 -2
  148. package/dist/collection/components/alert/component.js +4 -3
  149. package/dist/collection/components/alert/style.css +2 -2
  150. package/dist/collection/components/avatar/component.js +2 -2
  151. package/dist/collection/components/badge/component.js +2 -2
  152. package/dist/collection/components/badge/style.css +2 -2
  153. package/dist/collection/components/breadcrumb/component.js +2 -2
  154. package/dist/collection/components/breadcrumb/style.css +2 -2
  155. package/dist/collection/components/button/component.js +1 -1
  156. package/dist/collection/components/button/style.css +2 -2
  157. package/dist/collection/components/button-link/component.js +1 -1
  158. package/dist/collection/components/button-link/style.css +2 -2
  159. package/dist/collection/components/card/component.js +2 -2
  160. package/dist/collection/components/card/style.css +2 -2
  161. package/dist/collection/components/combobox/component.js +4 -4
  162. package/dist/collection/components/combobox/style.css +2 -2
  163. package/dist/collection/components/details/component.js +2 -2
  164. package/dist/collection/components/details/style.css +2 -2
  165. package/dist/collection/components/dialog/component.js +2 -2
  166. package/dist/collection/components/dialog/style.css +2 -2
  167. package/dist/collection/components/drawer/component.js +2 -2
  168. package/dist/collection/components/drawer/style.css +2 -2
  169. package/dist/collection/components/form/component.js +2 -2
  170. package/dist/collection/components/form/style.css +2 -2
  171. package/dist/collection/components/heading/component.js +2 -2
  172. package/dist/collection/components/icon/component.js +5 -5
  173. package/dist/collection/components/icon/style.css +2 -2
  174. package/dist/collection/components/image/component.js +2 -2
  175. package/dist/collection/components/input-checkbox/component.js +3 -3
  176. package/dist/collection/components/input-checkbox/style.css +2 -2
  177. package/dist/collection/components/input-color/component.js +2 -2
  178. package/dist/collection/components/input-color/style.css +2 -2
  179. package/dist/collection/components/input-date/component.js +2 -2
  180. package/dist/collection/components/input-date/style.css +2 -2
  181. package/dist/collection/components/input-email/component.js +1 -1
  182. package/dist/collection/components/input-email/style.css +2 -2
  183. package/dist/collection/components/input-file/component.js +2 -2
  184. package/dist/collection/components/input-file/style.css +2 -2
  185. package/dist/collection/components/input-number/component.js +2 -2
  186. package/dist/collection/components/input-number/style.css +2 -2
  187. package/dist/collection/components/input-password/component.js +1 -1
  188. package/dist/collection/components/input-password/style.css +2 -2
  189. package/dist/collection/components/input-radio/component.js +1 -1
  190. package/dist/collection/components/input-radio/style.css +2 -2
  191. package/dist/collection/components/input-range/component.js +2 -2
  192. package/dist/collection/components/input-range/style.css +2 -2
  193. package/dist/collection/components/input-text/component.js +1 -1
  194. package/dist/collection/components/input-text/style.css +2 -2
  195. package/dist/collection/components/kolibri/component.js +2 -2
  196. package/dist/collection/components/link/component.js +2 -2
  197. package/dist/collection/components/link/style.css +2 -2
  198. package/dist/collection/components/link-button/component.js +2 -2
  199. package/dist/collection/components/link-button/style.css +2 -2
  200. package/dist/collection/components/meter/component.js +2 -2
  201. package/dist/collection/components/modal/component.js +2 -2
  202. package/dist/collection/components/modal/style.css +2 -2
  203. package/dist/collection/components/nav/component.js +2 -2
  204. package/dist/collection/components/nav/style.css +2 -2
  205. package/dist/collection/components/pagination/component.js +2 -2
  206. package/dist/collection/components/pagination/style.css +2 -2
  207. package/dist/collection/components/popover-button/component.js +1 -1
  208. package/dist/collection/components/popover-button/style.css +2 -2
  209. package/dist/collection/components/progress/component.js +6 -3
  210. package/dist/collection/components/quote/component.js +2 -2
  211. package/dist/collection/components/select/component.js +1 -1
  212. package/dist/collection/components/select/style.css +2 -2
  213. package/dist/collection/components/single-select/component.js +10 -6
  214. package/dist/collection/components/single-select/style.css +2 -2
  215. package/dist/collection/components/skip-nav/component.js +2 -2
  216. package/dist/collection/components/skip-nav/style.css +2 -2
  217. package/dist/collection/components/spin/component.js +2 -2
  218. package/dist/collection/components/split-button/component.js +1 -1
  219. package/dist/collection/components/split-button/style.css +2 -2
  220. package/dist/collection/components/table-stateful/component.js +2 -2
  221. package/dist/collection/components/table-stateful/style.css +2 -2
  222. package/dist/collection/components/table-stateless/base.js +3 -0
  223. package/dist/collection/components/table-stateless/component.js +2 -2
  224. package/dist/collection/components/table-stateless/style.css +2 -2
  225. package/dist/collection/components/tabs/component.js +2 -11
  226. package/dist/collection/components/tabs/style.css +2 -2
  227. package/dist/collection/components/textarea/component.js +5 -3
  228. package/dist/collection/components/textarea/style.css +2 -2
  229. package/dist/collection/components/toaster/shadow.js +1 -1
  230. package/dist/collection/components/toaster/style.css +2 -2
  231. package/dist/collection/components/toolbar/component.js +2 -2
  232. package/dist/collection/components/toolbar/style.css +2 -2
  233. package/dist/collection/components/tooltip/component.js +1 -1
  234. package/dist/collection/components/tree/component.js +2 -2
  235. package/dist/collection/components/tree-item/component.js +2 -2
  236. package/dist/collection/components/tree-item/style.css +2 -2
  237. package/dist/collection/components/version/component.js +2 -2
  238. package/dist/collection/components/version/style.css +2 -2
  239. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  240. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  241. package/dist/collection/internal/functional-components/link/component.js +1 -1
  242. package/dist/collection/internal/functional-components/meter/component.js +3 -6
  243. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  244. package/dist/collection/internal/functional-components/pagination/item.js +15 -0
  245. package/dist/collection/internal/functional-components/progress/component.js +1 -1
  246. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  247. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  248. package/dist/collection/internal/props/helpers/validators.js +1 -0
  249. package/dist/collection/internal/props/index.js +1 -0
  250. package/dist/collection/internal/props/label-decorative.js +10 -0
  251. package/dist/collection/locales/de.js +1 -0
  252. package/dist/collection/locales/en.js +1 -0
  253. package/dist/collection/schema/i18n-keys.js +29 -28
  254. package/dist/components/base4.js +1 -1
  255. package/dist/components/bem-registry.js +1 -1
  256. package/dist/components/component3.js +1 -1
  257. package/dist/components/component6.js +1 -1
  258. package/dist/components/group.js +1 -1
  259. package/dist/components/i18n2.js +1 -1
  260. package/dist/components/item4.js +1 -1
  261. package/dist/components/kol-abbr.js +1 -1
  262. package/dist/components/kol-accordion.js +1 -1
  263. package/dist/components/kol-alert.js +1 -1
  264. package/dist/components/kol-avatar.js +1 -1
  265. package/dist/components/kol-badge.js +1 -1
  266. package/dist/components/kol-breadcrumb.js +1 -1
  267. package/dist/components/kol-button-link.js +1 -1
  268. package/dist/components/kol-button.js +1 -1
  269. package/dist/components/kol-card.js +1 -1
  270. package/dist/components/kol-combobox.js +1 -1
  271. package/dist/components/kol-details.js +1 -1
  272. package/dist/components/kol-dialog.js +1 -1
  273. package/dist/components/kol-drawer.js +1 -1
  274. package/dist/components/kol-form.js +1 -1
  275. package/dist/components/kol-heading.js +1 -1
  276. package/dist/components/kol-icon.js +1 -1
  277. package/dist/components/kol-image.js +1 -1
  278. package/dist/components/kol-input-checkbox.js +1 -1
  279. package/dist/components/kol-input-color.js +1 -1
  280. package/dist/components/kol-input-date.js +1 -1
  281. package/dist/components/kol-input-email.js +1 -1
  282. package/dist/components/kol-input-file.js +1 -1
  283. package/dist/components/kol-input-number.js +1 -1
  284. package/dist/components/kol-input-password.js +1 -1
  285. package/dist/components/kol-input-radio.js +1 -1
  286. package/dist/components/kol-input-range.js +1 -1
  287. package/dist/components/kol-input-text.js +1 -1
  288. package/dist/components/kol-kolibri.js +1 -1
  289. package/dist/components/kol-link-button.js +1 -1
  290. package/dist/components/kol-link.js +1 -1
  291. package/dist/components/kol-meter.js +1 -1
  292. package/dist/components/kol-modal.js +1 -1
  293. package/dist/components/kol-nav.js +1 -1
  294. package/dist/components/kol-pagination.js +1 -1
  295. package/dist/components/kol-popover-button.js +1 -1
  296. package/dist/components/kol-progress.js +1 -1
  297. package/dist/components/kol-quote.js +1 -1
  298. package/dist/components/kol-select.js +1 -1
  299. package/dist/components/kol-single-select.js +1 -1
  300. package/dist/components/kol-skip-nav.js +1 -1
  301. package/dist/components/kol-spin.js +1 -1
  302. package/dist/components/kol-split-button.js +1 -1
  303. package/dist/components/kol-table-stateful.js +1 -1
  304. package/dist/components/kol-table-stateless.js +1 -1
  305. package/dist/components/kol-tabs.js +1 -1
  306. package/dist/components/kol-textarea.js +1 -1
  307. package/dist/components/kol-toast-container.js +1 -1
  308. package/dist/components/kol-toolbar.js +1 -1
  309. package/dist/components/kol-tooltip-wc.js +1 -1
  310. package/dist/components/kol-tree-item.js +1 -1
  311. package/dist/components/kol-tree.js +1 -1
  312. package/dist/components/kol-version.js +1 -1
  313. package/dist/components/label-with-expert-slot.js +1 -1
  314. package/dist/components/label.js +1 -1
  315. package/dist/components/validators.js +1 -1
  316. package/dist/esm/{Heading-wrhAEuG3.js → Heading-C_CwXDMp.js} +1 -1
  317. package/dist/esm/{api-7B_iI89k.js → api-DGiFM9p0.js} +20 -20
  318. package/dist/esm/{app-globals-tRqgHq3P.js → app-globals-sZHZyXjD.js} +3 -3
  319. package/dist/esm/{base-C32RNC8q.js → base-B4sGK9cX.js} +12 -12
  320. package/dist/esm/{base-BDYPTFjC.js → base-CWrvN3Gt.js} +10 -10
  321. package/dist/esm/{base-BVztEKgJ.js → base-DTKJ1Z06.js} +27 -24
  322. package/dist/esm/{base-D_-9Lzkd.js → base-P1TaQ7Ba.js} +11 -11
  323. package/dist/esm/{base-web-component-BUu68byc.js → base-web-component-Bq_B9edx.js} +15 -15
  324. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  325. package/dist/esm/{base-web-component-DdY5aIHN.js → base-web-component-CKgIOZqi.js} +10 -10
  326. package/dist/esm/{behavior-fGxZN96S.js → behavior-Bb7JYoUn.js} +5 -5
  327. package/dist/esm/{behavior-DsTiTiJC.js → behavior-CFG1f4KQ.js} +5 -5
  328. package/dist/esm/{behavior-DN-22cB1.js → behavior-CkPQGfgo.js} +5 -5
  329. package/dist/esm/{bem-registry-Crcs_65u.js → bem-registry-DQUGxdIS.js} +1 -1
  330. package/dist/esm/{block-bem-DehcAQZQ.js → block-bem-BGIVcYJu.js} +1 -1
  331. package/dist/esm/{bootstrap-DHXUvPBY.js → bootstrap-tgQ2nQQI.js} +2 -2
  332. package/dist/esm/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +3 -3
  333. package/dist/esm/{common-OzsC_6kt.js → common-BdSzSIXg.js} +31 -30
  334. package/dist/esm/{component-4xXBb7K-.js → component-5Uu-ahLC.js} +4 -4
  335. package/dist/esm/{component-BJ4gGOph.js → component-B05zRrM0.js} +2 -2
  336. package/dist/esm/{component-Cxdi6on4.js → component-B16Fbp3W.js} +11 -11
  337. package/dist/esm/{component-0IO2wu9i.js → component-BI8jDgBz.js} +10 -10
  338. package/dist/esm/{component-DHNcVTi0.js → component-Bc2pdOk1.js} +8 -8
  339. package/dist/esm/{component-CPq3i3I_.js → component-C79oAu7a.js} +5 -5
  340. package/dist/esm/{component-CTOYF3q6.js → component-CldKbBUh.js} +7 -7
  341. package/dist/esm/{component-et0GdBuf.js → component-Clz6b6ho.js} +2 -2
  342. package/dist/esm/{component-DWywPG_a.js → component-Ct11K0Gv.js} +14 -14
  343. package/dist/esm/{component-EK9BJR6z.js → component-DAQzDMY8.js} +15 -15
  344. package/dist/esm/{component-ChuoBFI-.js → component-W1KZI4h4.js} +4 -4
  345. package/dist/esm/{component-NEw1tN3M.js → component-oUQcgxDj.js} +5 -5
  346. package/dist/esm/{contrast-D78VGPFR.js → contrast-BNoQruBh.js} +2 -2
  347. package/dist/esm/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  348. package/dist/esm/{dev.utils-Bg7nZBMk.js → dev.utils-DDWOHUcg.js} +2 -2
  349. package/dist/esm/{devtools-nUT3JVTV.js → devtools-B0kEE_za.js} +3 -3
  350. package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZXlWAgK.js} +1 -1
  351. package/dist/esm/{field-control-D2tOd14v.js → field-control-DsQHa0v9.js} +8 -8
  352. package/dist/esm/{group-CxWsx0aJ.js → group-DUVsgWxS.js} +7 -7
  353. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-DUB0QcS9.js} +1 -1
  354. package/dist/esm/{href-JqLbNBsW.js → href-CxokGOJ2.js} +1 -1
  355. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-4J6U3ZDc.js} +2 -0
  356. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-ePBcLlCr.js} +2 -2
  357. package/dist/esm/{id-CIYvVaNr.js → id-BI0ZuK17.js} +1 -1
  358. package/dist/esm/{index-B_bJG8-2.js → index-Dulj0jro.js} +23 -12
  359. package/dist/esm/index.js +6 -6
  360. package/dist/esm/{input-Ia9Z3AP7.js → input-C0Li7DsE.js} +5 -5
  361. package/dist/esm/{input-container-Y_8n5Sen.js → input-container-DmtMTcjB.js} +8 -8
  362. package/dist/esm/{item-BjriQHQl.js → item-8RKFpmbd.js} +6 -6
  363. package/dist/esm/{item-BZtI88zF.js → item-CnJMuEyl.js} +5 -5
  364. package/dist/esm/{item-BKVeXzUO.js → item-CxVe5INa.js} +30 -15
  365. package/dist/esm/{item-BuqBMSYI.js → item-DHZGDrAn.js} +12 -12
  366. package/dist/esm/kol-abbr.entry.js +13 -12
  367. package/dist/esm/kol-accordion.entry.js +21 -20
  368. package/dist/esm/kol-alert.entry.js +32 -30
  369. package/dist/esm/kol-avatar.entry.js +17 -16
  370. package/dist/esm/kol-badge.entry.js +30 -29
  371. package/dist/esm/kol-breadcrumb.entry.js +32 -31
  372. package/dist/esm/kol-button-link.entry.js +29 -28
  373. package/dist/esm/kol-button.entry.js +29 -28
  374. package/dist/esm/kol-card.entry.js +34 -33
  375. package/dist/esm/kol-combobox.entry.js +46 -45
  376. package/dist/esm/kol-details.entry.js +21 -20
  377. package/dist/esm/kol-dialog.entry.js +37 -36
  378. package/dist/esm/kol-drawer.entry.js +36 -35
  379. package/dist/esm/kol-form.entry.js +30 -29
  380. package/dist/esm/kol-heading.entry.js +15 -14
  381. package/dist/esm/kol-icon.entry.js +20 -16
  382. package/dist/esm/kol-image.entry.js +10 -9
  383. package/dist/esm/kol-input-checkbox.entry.js +41 -40
  384. package/dist/esm/kol-input-color.entry.js +43 -42
  385. package/dist/esm/kol-input-date.entry.js +45 -44
  386. package/dist/esm/kol-input-email.entry.js +48 -47
  387. package/dist/esm/kol-input-file.entry.js +42 -41
  388. package/dist/esm/kol-input-number.entry.js +47 -46
  389. package/dist/esm/kol-input-password.entry.js +46 -45
  390. package/dist/esm/kol-input-radio.entry.js +41 -40
  391. package/dist/esm/kol-input-range.entry.js +43 -42
  392. package/dist/esm/kol-input-text.entry.js +48 -47
  393. package/dist/esm/kol-kolibri.entry.js +13 -12
  394. package/dist/esm/kol-link-button.entry.js +30 -29
  395. package/dist/esm/kol-link.entry.js +30 -29
  396. package/dist/esm/kol-meter.entry.js +20 -22
  397. package/dist/esm/kol-modal.entry.js +37 -36
  398. package/dist/esm/kol-nav.entry.js +38 -37
  399. package/dist/esm/kol-pagination.entry.js +45 -44
  400. package/dist/esm/kol-popover-button.entry.js +30 -29
  401. package/dist/esm/kol-progress.entry.js +21 -17
  402. package/dist/esm/kol-quote.entry.js +12 -11
  403. package/dist/esm/kol-select.entry.js +41 -40
  404. package/dist/esm/kol-single-select.entry.js +53 -47
  405. package/dist/esm/kol-skip-nav.entry.js +32 -31
  406. package/dist/esm/kol-spin.entry.js +17 -16
  407. package/dist/esm/kol-split-button.entry.js +33 -32
  408. package/dist/esm/kol-table-stateful.entry.js +57 -56
  409. package/dist/esm/kol-table-stateless.entry.js +45 -44
  410. package/dist/esm/kol-tabs.entry.js +36 -38
  411. package/dist/esm/kol-textarea.entry.js +48 -45
  412. package/dist/esm/kol-toast-container.entry.js +25 -24
  413. package/dist/esm/kol-toolbar.entry.js +35 -34
  414. package/dist/esm/kol-tooltip-wc.entry.js +15 -14
  415. package/dist/esm/kol-tree-item.entry.js +28 -27
  416. package/dist/esm/kol-tree.entry.js +12 -11
  417. package/dist/esm/kol-version.entry.js +27 -26
  418. package/dist/esm/kolibri.js +5 -5
  419. package/dist/esm/{label-BRosRgdX.js → label-B-Dr7VaP.js} +3 -3
  420. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-CLMiVvfk.js} +2 -2
  421. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-iVD9hoM3.js} +2 -2
  422. package/dist/esm/{label-with-expert-slot-CicRes-W.js → label-with-expert-slot-BbZ9nx0l.js} +3 -3
  423. package/dist/esm/{level-CA1s1_Mf.js → level-DsQ_pcyD.js} +1 -1
  424. package/dist/esm/{link-target-FX94oqMo.js → link-target-D7lYILOV.js} +1 -1
  425. package/dist/esm/{links-DwucTqcR.js → links-IkK4zoXw.js} +2 -2
  426. package/dist/esm/loader.js +4 -4
  427. package/dist/esm/{multiple-DqrZxybx.js → multiple--ay1C1n3.js} +1 -1
  428. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-Dl9-2O4r.js} +1 -1
  429. package/dist/esm/{open-DRRv1KFK.js → open-CNHJhHsy.js} +1 -1
  430. package/dist/esm/{options-DCaUcfAu.js → options-DwO32GBF.js} +2 -2
  431. package/dist/esm/{orientation-XNOCaPwy.js → orientation-ChJ0S24M.js} +1 -1
  432. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-UxmBJ4Vl.js} +1 -1
  433. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  434. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DytZ5HZJ.js} +1 -1
  435. package/dist/esm/{required-hoaT7UmZ.js → required-BriHhuO4.js} +1 -1
  436. package/dist/esm/{resolve-props-BkF1VBBB.js → resolve-props-02J6OCRf.js} +8 -8
  437. package/dist/esm/{resolve-props-CHPFh7Tn.js → resolve-props-Bj6IaybL.js} +7 -7
  438. package/dist/esm/{rows-B0x8CR7K.js → rows-I1jrTjzU.js} +1 -1
  439. package/dist/esm/{scroll-lock-D7Zo0QLt.js → scroll-lock-B6hVv8A8.js} +2 -2
  440. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +2 -2
  441. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-BWCnJG5v.js} +1 -1
  442. package/dist/esm/{src-DaGhmCL1.js → src-ziOwSglN.js} +1 -1
  443. package/dist/esm/{step-Bdj89bGO.js → step-BcyhvRtu.js} +1 -1
  444. package/dist/esm/{suggestions-GEr-cvbz.js → suggestions-DaB3FVaz.js} +3 -3
  445. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +2 -2
  446. package/dist/esm/test-component.entry.js +4 -3
  447. package/dist/esm/{toggle-handler-Bqoo8tCo.js → toggle-handler-3qaN2kmt.js} +10 -10
  448. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CxFUYSVY.js} +2 -2
  449. package/dist/esm/{unit-BUhhJbhT.js → unit-1ix-K9SD.js} +1 -1
  450. package/dist/esm/{validators-BVM40IEr.js → validators-CTjxOidB.js} +3 -2
  451. package/dist/esm/{value-string-e9pwLcS-.js → value-string-CxDz7dhD.js} +1 -1
  452. package/dist/esm/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  453. package/dist/kolibri/{Heading-wrhAEuG3.js → Heading-C_CwXDMp.js} +1 -1
  454. package/dist/kolibri/api-DGiFM9p0.js +4 -0
  455. package/dist/kolibri/app-globals-sZHZyXjD.js +4 -0
  456. package/dist/kolibri/{base-C32RNC8q.js → base-B4sGK9cX.js} +1 -1
  457. package/dist/kolibri/{base-BDYPTFjC.js → base-CWrvN3Gt.js} +1 -1
  458. package/dist/kolibri/base-DTKJ1Z06.js +4 -0
  459. package/dist/kolibri/{base-D_-9Lzkd.js → base-P1TaQ7Ba.js} +1 -1
  460. package/dist/kolibri/{base-web-component-BUu68byc.js → base-web-component-Bq_B9edx.js} +1 -1
  461. package/dist/kolibri/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  462. package/dist/kolibri/{base-web-component-DdY5aIHN.js → base-web-component-CKgIOZqi.js} +1 -1
  463. package/dist/kolibri/{behavior-fGxZN96S.js → behavior-Bb7JYoUn.js} +1 -1
  464. package/dist/kolibri/{behavior-DsTiTiJC.js → behavior-CFG1f4KQ.js} +1 -1
  465. package/dist/kolibri/{behavior-DN-22cB1.js → behavior-CkPQGfgo.js} +1 -1
  466. package/dist/kolibri/{bem-registry-Crcs_65u.js → bem-registry-DQUGxdIS.js} +1 -1
  467. package/dist/kolibri/block-bem-BGIVcYJu.js +4 -0
  468. package/dist/kolibri/bootstrap-tgQ2nQQI.js +4 -0
  469. package/dist/kolibri/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +1 -1
  470. package/dist/kolibri/common-BdSzSIXg.js +4 -0
  471. package/dist/kolibri/component-5Uu-ahLC.js +4 -0
  472. package/dist/kolibri/component-B05zRrM0.js +4 -0
  473. package/dist/kolibri/component-B16Fbp3W.js +4 -0
  474. package/dist/kolibri/component-BI8jDgBz.js +4 -0
  475. package/dist/kolibri/{component-DHNcVTi0.js → component-Bc2pdOk1.js} +1 -1
  476. package/dist/kolibri/component-C79oAu7a.js +4 -0
  477. package/dist/kolibri/component-CldKbBUh.js +4 -0
  478. package/dist/kolibri/component-Clz6b6ho.js +4 -0
  479. package/dist/kolibri/component-Ct11K0Gv.js +4 -0
  480. package/dist/kolibri/component-DAQzDMY8.js +4 -0
  481. package/dist/kolibri/component-W1KZI4h4.js +4 -0
  482. package/dist/kolibri/{component-NEw1tN3M.js → component-oUQcgxDj.js} +1 -1
  483. package/dist/kolibri/contrast-BNoQruBh.js +4 -0
  484. package/dist/kolibri/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  485. package/dist/kolibri/dev.utils-DDWOHUcg.js +4 -0
  486. package/dist/kolibri/{devtools-nUT3JVTV.js → devtools-B0kEE_za.js} +1 -1
  487. package/dist/kolibri/disabled-BZXlWAgK.js +4 -0
  488. package/dist/kolibri/field-control-DsQHa0v9.js +4 -0
  489. package/dist/kolibri/group-DUVsgWxS.js +4 -0
  490. package/dist/kolibri/has-closer-DUB0QcS9.js +4 -0
  491. package/dist/kolibri/href-CxokGOJ2.js +4 -0
  492. package/dist/kolibri/i18n-4J6U3ZDc.js +4 -0
  493. package/dist/kolibri/i18n-ePBcLlCr.js +4 -0
  494. package/dist/kolibri/id-BI0ZuK17.js +4 -0
  495. package/dist/kolibri/index-Dulj0jro.js +6 -0
  496. package/dist/kolibri/index.esm.js +1 -1
  497. package/dist/kolibri/input-C0Li7DsE.js +4 -0
  498. package/dist/kolibri/{input-container-Y_8n5Sen.js → input-container-DmtMTcjB.js} +1 -1
  499. package/dist/kolibri/item-8RKFpmbd.js +4 -0
  500. package/dist/kolibri/item-CnJMuEyl.js +4 -0
  501. package/dist/kolibri/item-CxVe5INa.js +4 -0
  502. package/dist/kolibri/item-DHZGDrAn.js +4 -0
  503. package/dist/kolibri/kol-abbr.entry.js +1 -1
  504. package/dist/kolibri/kol-accordion.entry.js +1 -1
  505. package/dist/kolibri/kol-alert.entry.js +1 -1
  506. package/dist/kolibri/kol-avatar.entry.js +1 -1
  507. package/dist/kolibri/kol-badge.entry.js +1 -1
  508. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  509. package/dist/kolibri/kol-button-link.entry.js +1 -1
  510. package/dist/kolibri/kol-button.entry.js +1 -1
  511. package/dist/kolibri/kol-card.entry.js +1 -1
  512. package/dist/kolibri/kol-combobox.entry.js +1 -1
  513. package/dist/kolibri/kol-details.entry.js +1 -1
  514. package/dist/kolibri/kol-dialog.entry.js +1 -1
  515. package/dist/kolibri/kol-drawer.entry.js +1 -1
  516. package/dist/kolibri/kol-form.entry.js +1 -1
  517. package/dist/kolibri/kol-heading.entry.js +1 -1
  518. package/dist/kolibri/kol-icon.entry.js +1 -1
  519. package/dist/kolibri/kol-image.entry.js +1 -1
  520. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  521. package/dist/kolibri/kol-input-color.entry.js +1 -1
  522. package/dist/kolibri/kol-input-date.entry.js +1 -1
  523. package/dist/kolibri/kol-input-email.entry.js +1 -1
  524. package/dist/kolibri/kol-input-file.entry.js +1 -1
  525. package/dist/kolibri/kol-input-number.entry.js +1 -1
  526. package/dist/kolibri/kol-input-password.entry.js +1 -1
  527. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  528. package/dist/kolibri/kol-input-range.entry.js +1 -1
  529. package/dist/kolibri/kol-input-text.entry.js +1 -1
  530. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  531. package/dist/kolibri/kol-link-button.entry.js +1 -1
  532. package/dist/kolibri/kol-link.entry.js +1 -1
  533. package/dist/kolibri/kol-meter.entry.js +1 -1
  534. package/dist/kolibri/kol-modal.entry.js +1 -1
  535. package/dist/kolibri/kol-nav.entry.js +1 -1
  536. package/dist/kolibri/kol-pagination.entry.js +1 -1
  537. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  538. package/dist/kolibri/kol-progress.entry.js +1 -1
  539. package/dist/kolibri/kol-quote.entry.js +1 -1
  540. package/dist/kolibri/kol-select.entry.js +1 -1
  541. package/dist/kolibri/kol-single-select.entry.js +1 -1
  542. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  543. package/dist/kolibri/kol-spin.entry.js +1 -1
  544. package/dist/kolibri/kol-split-button.entry.js +1 -1
  545. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  546. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  547. package/dist/kolibri/kol-tabs.entry.js +1 -1
  548. package/dist/kolibri/kol-textarea.entry.js +1 -1
  549. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  550. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  551. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  552. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  553. package/dist/kolibri/kol-tree.entry.js +1 -1
  554. package/dist/kolibri/kol-version.entry.js +1 -1
  555. package/dist/kolibri/kolibri.esm.js +1 -1
  556. package/dist/kolibri/label-B-Dr7VaP.js +4 -0
  557. package/dist/kolibri/label-hints-CLMiVvfk.js +4 -0
  558. package/dist/kolibri/label-lang-segment-iVD9hoM3.js +4 -0
  559. package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +4 -0
  560. package/dist/kolibri/level-DsQ_pcyD.js +4 -0
  561. package/dist/kolibri/link-target-D7lYILOV.js +4 -0
  562. package/dist/kolibri/links-IkK4zoXw.js +4 -0
  563. package/dist/kolibri/multiple--ay1C1n3.js +4 -0
  564. package/dist/kolibri/number-value-Dl9-2O4r.js +4 -0
  565. package/dist/kolibri/open-CNHJhHsy.js +4 -0
  566. package/dist/kolibri/options-DwO32GBF.js +4 -0
  567. package/dist/kolibri/orientation-ChJ0S24M.js +4 -0
  568. package/dist/kolibri/placeholder-UxmBJ4Vl.js +4 -0
  569. package/dist/kolibri/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  570. package/dist/kolibri/read-only-DytZ5HZJ.js +4 -0
  571. package/dist/kolibri/required-BriHhuO4.js +4 -0
  572. package/dist/kolibri/resolve-props-02J6OCRf.js +4 -0
  573. package/dist/kolibri/resolve-props-Bj6IaybL.js +4 -0
  574. package/dist/kolibri/rows-I1jrTjzU.js +4 -0
  575. package/dist/kolibri/scroll-lock-B6hVv8A8.js +4 -0
  576. package/dist/kolibri/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +1 -1
  577. package/dist/kolibri/spell-check-BWCnJG5v.js +4 -0
  578. package/dist/kolibri/src-ziOwSglN.js +4 -0
  579. package/dist/kolibri/step-BcyhvRtu.js +4 -0
  580. package/dist/kolibri/suggestions-DaB3FVaz.js +4 -0
  581. package/dist/kolibri/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +1 -1
  582. package/dist/kolibri/test-component.entry.js +1 -1
  583. package/dist/kolibri/toggle-handler-3qaN2kmt.js +4 -0
  584. package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +4 -0
  585. package/dist/kolibri/unit-1ix-K9SD.js +4 -0
  586. package/dist/kolibri/validators-CTjxOidB.js +4 -0
  587. package/dist/kolibri/value-string-CxDz7dhD.js +4 -0
  588. package/dist/kolibri/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  589. package/dist/types/components/progress/component.d.ts +1 -0
  590. package/dist/types/components/single-select/component.d.ts +1 -0
  591. package/dist/types/components/tabs/component.d.ts +0 -1
  592. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  593. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  594. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  595. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  596. package/dist/types/internal/props/index.d.ts +1 -0
  597. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  598. package/dist/types/locales/de.d.ts +1 -0
  599. package/dist/types/locales/en.d.ts +1 -0
  600. package/dist/types/schema/i18n-keys.d.ts +29 -28
  601. package/dist/types/schema/index.d.ts +1 -1
  602. package/dist/types/schema/props/label.d.ts +1 -0
  603. package/dist/types/stencil-public-runtime.d.ts +1 -1
  604. package/package.json +6 -6
  605. package/dist/kolibri/api-7B_iI89k.js +0 -4
  606. package/dist/kolibri/app-globals-tRqgHq3P.js +0 -4
  607. package/dist/kolibri/base-BVztEKgJ.js +0 -4
  608. package/dist/kolibri/block-bem-DehcAQZQ.js +0 -4
  609. package/dist/kolibri/bootstrap-DHXUvPBY.js +0 -4
  610. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  611. package/dist/kolibri/component-0IO2wu9i.js +0 -4
  612. package/dist/kolibri/component-4xXBb7K-.js +0 -4
  613. package/dist/kolibri/component-BJ4gGOph.js +0 -4
  614. package/dist/kolibri/component-CPq3i3I_.js +0 -4
  615. package/dist/kolibri/component-CTOYF3q6.js +0 -4
  616. package/dist/kolibri/component-ChuoBFI-.js +0 -4
  617. package/dist/kolibri/component-Cxdi6on4.js +0 -4
  618. package/dist/kolibri/component-DWywPG_a.js +0 -4
  619. package/dist/kolibri/component-EK9BJR6z.js +0 -4
  620. package/dist/kolibri/component-et0GdBuf.js +0 -4
  621. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  622. package/dist/kolibri/dev.utils-Bg7nZBMk.js +0 -4
  623. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  624. package/dist/kolibri/field-control-D2tOd14v.js +0 -4
  625. package/dist/kolibri/group-CxWsx0aJ.js +0 -4
  626. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  627. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  628. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  629. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  630. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  631. package/dist/kolibri/index-B_bJG8-2.js +0 -6
  632. package/dist/kolibri/input-Ia9Z3AP7.js +0 -4
  633. package/dist/kolibri/item-BKVeXzUO.js +0 -4
  634. package/dist/kolibri/item-BZtI88zF.js +0 -4
  635. package/dist/kolibri/item-BjriQHQl.js +0 -4
  636. package/dist/kolibri/item-BuqBMSYI.js +0 -4
  637. package/dist/kolibri/label-BRosRgdX.js +0 -4
  638. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  639. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  640. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  641. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  642. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  643. package/dist/kolibri/links-DwucTqcR.js +0 -4
  644. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  645. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  646. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  647. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  648. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  649. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  650. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  651. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  652. package/dist/kolibri/resolve-props-BkF1VBBB.js +0 -4
  653. package/dist/kolibri/resolve-props-CHPFh7Tn.js +0 -4
  654. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  655. package/dist/kolibri/scroll-lock-D7Zo0QLt.js +0 -4
  656. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  657. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  658. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  659. package/dist/kolibri/suggestions-GEr-cvbz.js +0 -4
  660. package/dist/kolibri/toggle-handler-Bqoo8tCo.js +0 -4
  661. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  662. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  663. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  664. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,r as t,H as e}from"./index-B_bJG8-2.js";import"./common-OzsC_6kt.js";import{c as a}from"./color-eAL9I7Wq.js";import{r as i,t as l}from"./props-from-config-Ci0dILpz.js";import{l as r}from"./label-BRosRgdX.js";import{s as n}from"./src-DaGhmCL1.js";import{t as s}from"./i18n-DtLKn3Xt.js";import{b as c}from"./bem-registry-Crcs_65u.js";import{B as d}from"./base-web-component-XgI4wUyN.js";import"./contrast-D78VGPFR.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./i18n-Dl6Jjofb.js";const b={optional:[a,n],required:[r]},h=c.forBlock("kol-avatar"),k=h(),p=h("image"),m=h("initials"),u=t=>{const{color:e,initials:a,label:r,src:n}=i(b,t);return o("div",{"aria-label":s("kol-avatar-alt",{placeholders:{name:l(r)}}),class:k,role:"img",style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},n?o("img",{alt:"","aria-hidden":"true",class:p,src:n}):o("span",{"aria-hidden":"true",class:m},a))},f=o=>0===o.length?"":o[0].toUpperCase(),_=o=>{const t=l(o),e=t.split(/\s+/),a=e[0],i=e[e.length-1];return e.length>=2&&a&&i?`${f(a)}${f(i)}`:f(t)},g=class extends d{constructor(o){super(),t(this,o),this.initials="",this.propsConfig=b,this._color=void 0,this._src=void 0}watchColor(o){a.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){r.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",_(o))}),this.isRequired("label"))}watchSrc(o){n.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){a.apply(this._color,(o=>this.setRenderProp("color",o))),r.apply(this._label,(o=>{this.setRenderProp("label",o),this.setState("initials",_(o))}),this.isRequired("label")),n.apply(this._src,(o=>this.setRenderProp("src",o)))}render(){return o(e,{key:"ded031cc2406d97bfd577d910b84d08ddd9b34e0"},o(u,{key:"f0c6cdc76bce1233ff8b6c4bce7df8b8fa5275d6",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}]}}};g.style={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; } }'};export{g as kol_avatar}
4
+ import{h as o,r as t,H as e}from"./index-Dulj0jro.js";import"./common-BdSzSIXg.js";import{c as a}from"./color-D1gM-F2l.js";import{r as i,t as l}from"./props-from-config-ytxYrJUY.js";import{l as r}from"./label-B-Dr7VaP.js";import{s as n}from"./src-ziOwSglN.js";import{t as s}from"./i18n-ePBcLlCr.js";import{b as c}from"./bem-registry-DQUGxdIS.js";import{B as d}from"./base-web-component-CC_gpyDb.js";import"./contrast-BNoQruBh.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./i18n-4J6U3ZDc.js";const b={optional:[a,n],required:[r]},h=c.forBlock("kol-avatar"),k=h(),p=h("image"),m=h("initials"),u=t=>{const{color:e,initials:a,label:r,src:n}=i(b,t);return o("div",{"aria-label":s("kol-avatar-alt",{placeholders:{name:l(r)}}),class:k,role:"img",style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},n?o("img",{alt:"","aria-hidden":"true",class:p,src:n}):o("span",{"aria-hidden":"true",class:m},a))},f=o=>0===o.length?"":o[0].toUpperCase(),g=o=>{const t=l(o),e=t.split(/\s+/),a=e[0],i=e[e.length-1];return e.length>=2&&a&&i?`${f(a)}${f(i)}`:f(t)},_=class extends d{constructor(o){super(...arguments),new.target===_&&t(this,o),this.initials="",this.propsConfig=b,this._color=void 0,this._src=void 0}watchColor(o){a.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){r.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label"))}watchSrc(o){n.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){a.apply(this._color,(o=>this.setRenderProp("color",o))),r.apply(this._label,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label")),n.apply(this._src,(o=>this.setRenderProp("src",o)))}render(){return o(e,{key:"e3616a4b07d13b3582a77d5bc8d64c9a6031e39b"},o(u,{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}]}}};_.style={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; } }'};export{_ as kol_avatar}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as o,h as t,H as e,g as i}from"./index-B_bJG8-2.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{f as l,s as a,o as r}from"./common-OzsC_6kt.js";import{c as s}from"./color-eAL9I7Wq.js";import"./props-from-config-Ci0dILpz.js";import{l as c}from"./label-with-expert-slot-CicRes-W.js";import{s as d}from"./smart-button-CS_ZriPt.js";import{s as h}from"./component-CPq3i3I_.js";import{B as b}from"./component-4xXBb7K-.js";import{B as m}from"./base-web-component-XgI4wUyN.js";import{r as p}from"./resolve-props-CHPFh7Tn.js";import{T as k}from"./behavior-fGxZN96S.js";import{c as f,n as u}from"./dev.utils-Bg7nZBMk.js";import{d as g,c as y}from"./element-interaction-sGYdEpmv.js";import{d as _,K as v}from"./events-CRHxtwup.js";import"./contrast-D78VGPFR.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./component-ChuoBFI-.js";import"./bem-registry-Crcs_65u.js";import"./component-NEw1tN3M.js";import"./clsx-COFh-Vc8.js";import"./component-et0GdBuf.js";import"./component-Cxdi6on4.js";import"./component-BJ4gGOph.js";import"./block-bem-DehcAQZQ.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./element-focus-BIRmGg5W.js";const w={required:[c],optional:[s,d,h]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=class extends m{constructor(t){super(),o(this,t),this.labelId=f("badge-label"),this.ariaDescriptionId=u(),this.ctaRef=y(),this.tooltipBehavior=new k(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&&_(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&&_(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&&_(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&&_(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=p(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:"ade712d3a4e96f74674d1a743152bf8f041ae53d"},t(b,{key:"42cd4c0cc0ce507bdea1c16fb3f3c53c95ba74f7",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 i(this)}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}};n([g("ctaRef")],x.prototype,"focus",null),x.style={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=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#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; } }'};export{x as kol_badge}
4
+ import{r as o,h as t,H as e,g as i}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{f as l,s as a,o as r}from"./common-BdSzSIXg.js";import{c as s}from"./color-D1gM-F2l.js";import"./props-from-config-ytxYrJUY.js";import{l as c}from"./label-with-expert-slot-BbZ9nx0l.js";import{s as d}from"./smart-button-DM5g48-g.js";import{s as h}from"./component-C79oAu7a.js";import{B as b}from"./component-5Uu-ahLC.js";import{B as m}from"./base-web-component-CC_gpyDb.js";import{r as p}from"./resolve-props-Bj6IaybL.js";import{T as k}from"./behavior-Bb7JYoUn.js";import{c as f,n as u}from"./dev.utils-DDWOHUcg.js";import{d as g,c as y}from"./element-interaction-sGYdEpmv.js";import{d as v,K as _}from"./events-CRHxtwup.js";import"./contrast-BNoQruBh.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./component-W1KZI4h4.js";import"./bem-registry-DQUGxdIS.js";import"./component-oUQcgxDj.js";import"./clsx-COFh-Vc8.js";import"./component-Clz6b6ho.js";import"./component-B16Fbp3W.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./element-focus-BIRmGg5W.js";const w={required:[c],optional:[s,d,h]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=class extends m{constructor(t){super(...arguments),new.target===x&&o(this,t),this.labelId=f("badge-label"),this.ariaDescriptionId=u(),this.ctaRef=y(),this.tooltipBehavior=new k(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&&v(this.host,_.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&&v(this.host,_.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&&v(this.host,_.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&&v(this.host,_.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=p(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 i(this)}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}};n([g("ctaRef")],x.prototype,"focus",null),x.style={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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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; } }'};export{x as kol_badge}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,F as e,r as t,H as i,g as n}from"./index-B_bJG8-2.js";import{s as l,b as a,X as r}from"./common-OzsC_6kt.js";import{B as s}from"./base-web-component-XgI4wUyN.js";import{c}from"./links-DwucTqcR.js";import{t as d,d as k}from"./props-from-config-Ci0dILpz.js";import{l as b}from"./label-BRosRgdX.js";import{b as m}from"./bem-registry-Crcs_65u.js";import{I as p}from"./component-et0GdBuf.js";import{L as f,l as h,a as u,d as g,b as y}from"./component-EK9BJR6z.js";import{r as _}from"./component-NEw1tN3M.js";import{v}from"./access-and-short-key-ijzCZfHm.js";import{n as x}from"./dev.utils-Bg7nZBMk.js";import{c as w}from"./element-interaction-sGYdEpmv.js";import{d as j,K as z}from"./events-CRHxtwup.js";import{a as C,b as B,c as T,h as G,s as L,i as I,d as O,t as R,e as N}from"./component-CPq3i3I_.js";import{d as P}from"./disabled-Cqhc40CU.js";import{h as q}from"./href-JqLbNBsW.js";import{l as D}from"./label-with-expert-slot-CicRes-W.js";import{l as F}from"./link-target-FX94oqMo.js";import{T as J}from"./behavior-fGxZN96S.js";import{r as K,a as S}from"./unique-nav-labels-h2KOu5Qy.js";import{o as E}from"./ariaCurrentService-YoLNpD5S.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./i18n-DtLKn3Xt.js";import"./i18n-Dl6Jjofb.js";import"./component-BJ4gGOph.js";import"./block-bem-DehcAQZQ.js";import"./component-ChuoBFI-.js";import"./element-focus-BIRmGg5W.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-CIYvVaNr.js";import"./label-lang-segment-2_GnxjFp.js";const H=c("KolBreadcrumb"),M={required:[H,b]},Q=m.forBlock("kol-breadcrumb"),U=Q(),V=Q("icon"),W=Q("link"),X=Q("list"),Z=Q("list-element"),Y=Q("list-element-span"),A=Q("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return o("nav",{class:U,"aria-label":t},o("ul",{class:X},0===i.length&&o("li",null,o(p,{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:Z,key:i},i===n?o("span",{class:Y,"aria-current":"page"},r._hideLabel?o(p,{class:V,icons:"string"==typeof r._icons?r._icons:"kolicon-link",label:r._label?d(r._label):r._href}):o(e,null,_(r._label))):o("div",{class:W},o(f,Object.assign({},t.fcProps))),a&&o(p,{class:A,icons:"kolicon-chevron-right",label:""}))})(t,i,l,n)))))},oo=class extends s{constructor(o){super(),t(this,o),this.linkItems=[],this.showCurrentPage=!0,this.propsConfig=M}watchLabel(o){this.applyLabel(o)}watchLinks(o){this.applyLinks(o)}componentWillLoad(){this.applyLabel(this._label,!0),this.applyLinks(this._links),this.unsubscribeOnLocationChange=E((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())),K(this.getRenderProp("label"))}applyLabel(o,e=!1){e||K(this.getRenderProp("label")),b.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),a(o),S(this.getRenderProp("label"))}applyLinks(o){H.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 J(s.stateLess),n=w(),a=k(h);a.tabIndex=void 0;const r=(o,e)=>o.apply(e,(e=>{a[o.propName]=e}));return r(C,o._accessKey),r(B,o._ariaControls),r(u,o._ariaCurrentValue),r(T,o._ariaDescription),r(P,o._disabled),r(g,o._download),r(G,o._hideLabel),r(q,o._href),r(L,o._icons),r(I,null!==(t=o._inline)&&void 0!==t&&t),r(D,o._label),r(y,o._on),r(O,o._shortKey),"number"==typeof o._tabIndex&&r(R,o._tabIndex),r(F,o._target),r(N,o._tooltipAlign),v(o._accessKey,o._shortKey),i.componentWillLoad({label:(()=>{const o=a.label;if("string"==typeof o&&o.length>0)return o;const e=a.href;return"string"==typeof e?e:""})(),align:a.tooltipAlign}),a.ariaCurrent="",a.ariaDescriptionId=x(),a.expertSlot=""===o._label,a.handleAnchorClick=o=>{if(i.hideTooltip(),!0===a.disabled)return void o.preventDefault();const t="string"==typeof a.href?a.href:"",r=a.on;"function"==typeof(null==r?void 0:r.onClick)&&(l(o,n.el),r.onClick(o,t));const s=e();s&&j(s,z.click,t)},a.refAnchor=o=>{n(o)},a.refTooltip=i.setTooltipElementRef,{link:o,fcProps:a,syncTooltipListeners:()=>{n.el&&i.syncListeners(void 0,n.el,!0)},destroy:()=>{i.destroy()}}})(o,(()=>this.host))))}))}render(){return this.showCurrentPage="hide"!==r("breadcrumbCurrentPage",this.host),o(i,{key:"10fc0c2ce98b8fae53cdf896e0a65a55ed04c774"},o($,{key:"cc38455aed82b67c836b96d5cb671fe97ddcc914",label:this.getRenderProp("label"),links:this.getRenderProp("links"),linkItems:this.linkItems,showCurrentPage:this.showCurrentPage}))}get host(){return n(this)}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}};oo.style={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=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#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); } }'};export{oo as kol_breadcrumb}
4
+ import{h as o,F as e,r as t,H as i,g as n}from"./index-Dulj0jro.js";import{s as l,b as a,X as r}from"./common-BdSzSIXg.js";import{B as s}from"./base-web-component-CC_gpyDb.js";import{c}from"./links-IkK4zoXw.js";import{t as d,d as k}from"./props-from-config-ytxYrJUY.js";import{l as b}from"./label-B-Dr7VaP.js";import{b as m}from"./bem-registry-DQUGxdIS.js";import{I as p}from"./component-Clz6b6ho.js";import{L as f,l as h,a as u,d as g,b as y}from"./component-DAQzDMY8.js";import{r as _}from"./component-oUQcgxDj.js";import{v as x}from"./access-and-short-key-ijzCZfHm.js";import{n as v}from"./dev.utils-DDWOHUcg.js";import{c as w}from"./element-interaction-sGYdEpmv.js";import{d as j,K as z}from"./events-CRHxtwup.js";import{a as C,b as B,c as T,h as D,s as I,i as L,d as G,t as O,e as Y}from"./component-C79oAu7a.js";import{d as P}from"./disabled-BZXlWAgK.js";import{h as S}from"./href-CxokGOJ2.js";import{l as U}from"./label-with-expert-slot-BbZ9nx0l.js";import{l as V}from"./link-target-D7lYILOV.js";import{T as K}from"./behavior-Bb7JYoUn.js";import{r as Z,a as F}from"./unique-nav-labels-CxFUYSVY.js";import{o as H}from"./ariaCurrentService-YoLNpD5S.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./i18n-ePBcLlCr.js";import"./i18n-4J6U3ZDc.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./component-W1KZI4h4.js";import"./element-focus-BIRmGg5W.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-BI0ZuK17.js";import"./label-lang-segment-iVD9hoM3.js";const J=c("KolBreadcrumb"),W={required:[J,b]},M=m.forBlock("kol-breadcrumb"),Q=M(),R=M("icon"),A=M("link"),X=M("list"),q=M("list-element"),N=M("list-element-span"),E=M("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return o("nav",{class:Q,"aria-label":t},o("ul",{class:X},0===i.length&&o("li",null,o(p,{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:q,key:i},i===n?o("span",{class:N,"aria-current":"page"},r._hideLabel?o(p,{class:R,icons:"string"==typeof r._icons?r._icons:"kolicon-link",label:r._label?d(r._label):r._href}):o(e,null,_(r._label))):o("div",{class:A},o(f,Object.assign({},t.fcProps))),a&&o(p,{class:E,icons:"kolicon-chevron-right",label:""}))})(t,i,l,n)))))},oo=class extends s{constructor(o){super(...arguments),new.target===oo&&t(this,o),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=H((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())),Z(this.getRenderProp("label"))}applyLabel(o,e=!1){e||Z(this.getRenderProp("label")),b.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),a(o),F(this.getRenderProp("label"))}applyLinks(o){J.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 K(s.stateLess),n=w(),a=k(h);a.tabIndex=void 0;const r=(o,e)=>o.apply(e,(e=>{a[o.propName]=e}));return r(C,o._accessKey),r(B,o._ariaControls),r(u,o._ariaCurrentValue),r(T,o._ariaDescription),r(P,o._disabled),r(g,o._download),r(D,o._hideLabel),r(S,o._href),r(I,o._icons),r(L,null!==(t=o._inline)&&void 0!==t&&t),r(U,o._label),r(y,o._on),r(G,o._shortKey),"number"==typeof o._tabIndex&&r(O,o._tabIndex),r(V,o._target),r(Y,o._tooltipAlign),x(o._accessKey,o._shortKey),i.componentWillLoad({label:(()=>{const o=a.label;if("string"==typeof o&&o.length>0)return o;const e=a.href;return"string"==typeof e?e:""})(),align:a.tooltipAlign}),a.ariaCurrent="",a.ariaDescriptionId=v(),a.expertSlot=""===o._label,a.handleAnchorClick=o=>{if(i.hideTooltip(),!0===a.disabled)return void o.preventDefault();const t="string"==typeof a.href?a.href:"",r=a.on;"function"==typeof(null==r?void 0:r.onClick)&&(l(o,n.el),r.onClick(o,t));const s=e();s&&j(s,z.click,t)},a.refAnchor=o=>{n(o)},a.refTooltip=i.setTooltipElementRef,{link:o,fcProps:a,syncTooltipListeners:()=>{n.el&&i.syncListeners(void 0,n.el,!0)},destroy:()=>{i.destroy()}}})(o,(()=>this.host))))}))}render(){return this.showCurrentPage="hide"!==r("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 n(this)}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}};oo.style={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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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); } }'};export{oo as kol_breadcrumb}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as o,h as t,H as e,g as i}from"./index-B_bJG8-2.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-Bg7nZBMk.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-C32RNC8q.js";import"./common-OzsC_6kt.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-XgI4wUyN.js";import"./props-from-config-Ci0dILpz.js";import"./component-Cxdi6on4.js";import"./component-CPq3i3I_.js";import"./validators-BVM40IEr.js";import"./component-ChuoBFI-.js";import"./bem-registry-Crcs_65u.js";import"./component-NEw1tN3M.js";import"./clsx-COFh-Vc8.js";import"./component-et0GdBuf.js";import"./component-BJ4gGOph.js";import"./block-bem-DehcAQZQ.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./label-hints-Jn18RUT-.js";import"./behavior-DN-22cB1.js";import"./bootstrap-DHXUvPBY.js";import"./component-names-Dhbtt0mX.js";import"./i18n-Dl6Jjofb.js";import"./behavior-fGxZN96S.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./access-and-short-key-ijzCZfHm.js";import"./events-CRHxtwup.js";import"./controller-Cb-96wE-.js";const c=class extends s{constructor(t){super(),o(this,t),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(o){this.applyAccessKey(o,this._shortKey)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchAriaSelected(o){this.applyAriaSelected(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchRole(){}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}getValue(){return Promise.resolve(this._value)}focus(o){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(e,{key:"2e96377cb348bc7ec4c1e3f622d4a58677a3ff29"},this.renderButtonFC())}get host(){return i(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}]}}};n([l("ctaRef")],c.prototype,"focus",null),n([r("ctaRef")],c.prototype,"click",null),c.style={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=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#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; } }'};export{c as kol_button_link}
4
+ import{r as o,h as t,H as e,g as i}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-DDWOHUcg.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-B4sGK9cX.js";import"./common-BdSzSIXg.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-CC_gpyDb.js";import"./props-from-config-ytxYrJUY.js";import"./component-B16Fbp3W.js";import"./component-C79oAu7a.js";import"./validators-CTjxOidB.js";import"./component-W1KZI4h4.js";import"./bem-registry-DQUGxdIS.js";import"./component-oUQcgxDj.js";import"./clsx-COFh-Vc8.js";import"./component-Clz6b6ho.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./access-and-short-key-ijzCZfHm.js";import"./events-CRHxtwup.js";import"./controller-CZcQ57AP.js";const c=class extends s{constructor(t){super(),new.target===c&&o(this,t),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(o){this.applyAccessKey(o,this._shortKey)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchAriaSelected(o){this.applyAriaSelected(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchRole(){}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}getValue(){return Promise.resolve(this._value)}focus(o){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(e,{key:"30df0e7cb4eaf8c950f1ea6cd87719b954e8a311"},this.renderButtonFC())}get host(){return i(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}]}}};n([l("ctaRef")],c.prototype,"focus",null),n([r("ctaRef")],c.prototype,"click",null),c.style={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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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; } }'};export{c as kol_button_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as o,h as t,H as e,g as i}from"./index-B_bJG8-2.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-Bg7nZBMk.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-C32RNC8q.js";import"./common-OzsC_6kt.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-XgI4wUyN.js";import"./props-from-config-Ci0dILpz.js";import"./component-Cxdi6on4.js";import"./component-CPq3i3I_.js";import"./validators-BVM40IEr.js";import"./component-ChuoBFI-.js";import"./bem-registry-Crcs_65u.js";import"./component-NEw1tN3M.js";import"./clsx-COFh-Vc8.js";import"./component-et0GdBuf.js";import"./component-BJ4gGOph.js";import"./block-bem-DehcAQZQ.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./label-hints-Jn18RUT-.js";import"./behavior-DN-22cB1.js";import"./bootstrap-DHXUvPBY.js";import"./component-names-Dhbtt0mX.js";import"./i18n-Dl6Jjofb.js";import"./behavior-fGxZN96S.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./access-and-short-key-ijzCZfHm.js";import"./events-CRHxtwup.js";import"./controller-Cb-96wE-.js";const c=class extends s{constructor(t){super(),o(this,t),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(o){this.applyAccessKey(o,this._shortKey)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchAriaSelected(o){this.applyAriaSelected(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchRole(o){this.applyRole(o)}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}getValue(){return Promise.resolve(this._value)}focus(o){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 t(e,{key:"3b0e4a543a0bb650033a6e19efa842470a7b352d"},this.renderButtonFC())}get host(){return i(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}]}}};n([l("ctaRef")],c.prototype,"focus",null),n([r("ctaRef")],c.prototype,"click",null),c.style={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=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#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; } }'};export{c as kol_button}
4
+ import{r as o,h as t,H as e,g as i}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-DDWOHUcg.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-B4sGK9cX.js";import"./common-BdSzSIXg.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-CC_gpyDb.js";import"./props-from-config-ytxYrJUY.js";import"./component-B16Fbp3W.js";import"./component-C79oAu7a.js";import"./validators-CTjxOidB.js";import"./component-W1KZI4h4.js";import"./bem-registry-DQUGxdIS.js";import"./component-oUQcgxDj.js";import"./clsx-COFh-Vc8.js";import"./component-Clz6b6ho.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./access-and-short-key-ijzCZfHm.js";import"./events-CRHxtwup.js";import"./controller-CZcQ57AP.js";const c=class extends s{constructor(t){super(),new.target===c&&o(this,t),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(o){this.applyAccessKey(o,this._shortKey)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchAriaSelected(o){this.applyAriaSelected(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchRole(o){this.applyRole(o)}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}getValue(){return Promise.resolve(this._value)}focus(o){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 t(e,{key:"9ed43938721a6b3e26e7024c1b0498f585f10158"},this.renderButtonFC())}get host(){return i(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}]}}};n([l("ctaRef")],c.prototype,"focus",null),n([r("ctaRef")],c.prototype,"click",null),c.style={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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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; } }'};export{c as kol_button}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,r as t,H as e,g as i}from"./index-B_bJG8-2.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as l,c as r}from"./dev.utils-Bg7nZBMk.js";import{c as a,d as s,a as c}from"./element-interaction-sGYdEpmv.js";import{B as h}from"./base-web-component-XgI4wUyN.js";import{c as d,r as k,a as p,C as f}from"./component-DWywPG_a.js";import{T as b}from"./behavior-fGxZN96S.js";import"./common-OzsC_6kt.js";import{l as m}from"./level-CA1s1_Mf.js";import{h as u}from"./has-closer-B9NQY7BK.js";import{h as g}from"./href-JqLbNBsW.js";import"./props-from-config-Ci0dILpz.js";import{l as _}from"./label-lang-segment-2_GnxjFp.js";import{l as y}from"./link-target-FX94oqMo.js";import{d as v,K as w}from"./events-CRHxtwup.js";import"./element-focus-BIRmGg5W.js";import"./i18n-DtLKn3Xt.js";import"./i18n-Dl6Jjofb.js";import"./resolve-props-CHPFh7Tn.js";import"./component-CPq3i3I_.js";import"./validators-BVM40IEr.js";import"./component-ChuoBFI-.js";import"./bem-registry-Crcs_65u.js";import"./component-NEw1tN3M.js";import"./clsx-COFh-Vc8.js";import"./component-et0GdBuf.js";import"./component-Cxdi6on4.js";import"./component-BJ4gGOph.js";import"./block-bem-DehcAQZQ.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./label-hints-Jn18RUT-.js";import"./Heading-wrhAEuG3.js";import"./tooltip-open-tracking-D3tCiiGP.js";class x extends h{constructor(){super(...arguments),this.ctaRef=a(),this.closeButtonRef=a(),this.tooltipBehavior=new b(this.stateAccess),this.propsConfig=d,this.handleClose=()=>{var o,t;this.tooltipBehavior.hideTooltip(),null===(t=(o=this.getRenderProp("on")).onClose)||void 0===t||t.call(o,new Event("Close")),this.host&&v(this.host,w.close)},this.handleFocus=o=>{var t,e;null===(e=(t=this.getRenderProp("on")).onFocus)||void 0===e||e.call(t,o),this.host&&v(this.host,w.focus)},this.handleBlur=o=>{var t,e;null===(e=(t=this.getRenderProp("on")).onBlur)||void 0===e||e.call(t,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){p.apply(o,(o=>this.setRenderProp("on",o)))}applyTarget(o){y.apply(o,(o=>this.setRenderProp("target",o)))}renderCardFC(){return o(f,{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())}}const j=class extends x{constructor(o){super(),t(this,o),this.ariaDescriptionId=l(),this.headingId=r("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(e,{key:"c248b4a9c76d839ca94d96c19a725acb5a17e0a8"},this.renderCardFC())}get host(){return i(this)}static get watchers(){return{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}}};n([s("ctaRef")],j.prototype,"focus",null),n([c("ctaRef")],j.prototype,"click",null),j.style={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=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#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; } }'};export{j as kol_card}
4
+ import{h as o,r as t,H as e,g as i}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as l,c as r}from"./dev.utils-DDWOHUcg.js";import{c as a,d as s,a as c}from"./element-interaction-sGYdEpmv.js";import{B as h}from"./base-web-component-CC_gpyDb.js";import{c as d,r as k,a as p,C as f}from"./component-Ct11K0Gv.js";import{T as b}from"./behavior-Bb7JYoUn.js";import"./common-BdSzSIXg.js";import{l as m}from"./level-DsQ_pcyD.js";import{h as u}from"./has-closer-DUB0QcS9.js";import{h as g}from"./href-CxokGOJ2.js";import"./props-from-config-ytxYrJUY.js";import{l as _}from"./label-lang-segment-iVD9hoM3.js";import{l as y}from"./link-target-D7lYILOV.js";import{d as v,K as x}from"./events-CRHxtwup.js";import"./element-focus-BIRmGg5W.js";import"./i18n-ePBcLlCr.js";import"./i18n-4J6U3ZDc.js";import"./resolve-props-Bj6IaybL.js";import"./component-C79oAu7a.js";import"./validators-CTjxOidB.js";import"./component-W1KZI4h4.js";import"./bem-registry-DQUGxdIS.js";import"./component-oUQcgxDj.js";import"./clsx-COFh-Vc8.js";import"./component-Clz6b6ho.js";import"./component-B16Fbp3W.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./Heading-C_CwXDMp.js";import"./tooltip-open-tracking-D3tCiiGP.js";class w extends h{constructor(){super(...arguments),this.ctaRef=a(),this.closeButtonRef=a(),this.tooltipBehavior=new b(this.stateAccess),this.propsConfig=d,this.handleClose=()=>{var o,t;this.tooltipBehavior.hideTooltip(),null===(t=(o=this.getRenderProp("on")).onClose)||void 0===t||t.call(o,new Event("Close")),this.host&&v(this.host,x.close)},this.handleFocus=o=>{var t,e;null===(e=(t=this.getRenderProp("on")).onFocus)||void 0===e||e.call(t,o),this.host&&v(this.host,x.focus)},this.handleBlur=o=>{var t,e;null===(e=(t=this.getRenderProp("on")).onBlur)||void 0===e||e.call(t,o),this.host&&v(this.host,x.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){p.apply(o,(o=>this.setRenderProp("on",o)))}applyTarget(o){y.apply(o,(o=>this.setRenderProp("target",o)))}renderCardFC(){return o(f,{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())}}const j=class extends w{constructor(o){super(...arguments),new.target===j&&t(this,o),this.ariaDescriptionId=l(),this.headingId=r("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(e,{key:"916261d714a813041360e0b82ffa1d3fc26d56e8"},this.renderCardFC())}get host(){return i(this)}static get watchers(){return{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}}};n([s("ctaRef")],j.prototype,"focus",null),n([c("ctaRef")],j.prototype,"click",null),j.style={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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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; } }'};export{j as kol_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,r as t,H as e,g as i}from"./index-B_bJG8-2.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{t as s}from"./i18n-DtLKn3Xt.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{c as a}from"./clsx-COFh-Vc8.js";import{c as r,a as c}from"./dev.utils-Bg7nZBMk.js";import{c as h}from"./element-focus-BIRmGg5W.js";import{d,a as b,c as p}from"./element-interaction-sGYdEpmv.js";import{c as u,K as m}from"./events-CRHxtwup.js";import{B as k}from"./component-Cxdi6on4.js";import{c as f}from"./item-BjriQHQl.js";import"./common-OzsC_6kt.js";import{a as g,d as _,v}from"./component-CPq3i3I_.js";import{h as y,B as x,C as w,L as j,a as z}from"./group-CxWsx0aJ.js";import{h as B,g as C,I}from"./input-container-Y_8n5Sen.js";import"./props-from-config-Ci0dILpz.js";import{p as O}from"./placeholder-BeLIzdJv.js";import{r as T}from"./required-hoaT7UmZ.js";import{s as K}from"./suggestions-Dy1X-Pc3.js";import{s as S}from"./value-string-e9pwLcS-.js";import{f as D,F as A}from"./api-7B_iI89k.js";import{b as H}from"./bem-registry-Crcs_65u.js";import{I as F}from"./component-et0GdBuf.js";import{I as L}from"./input-Ia9Z3AP7.js";import"./i18n-Dl6Jjofb.js";import"./component-BJ4gGOph.js";import"./block-bem-DehcAQZQ.js";import"./component-NEw1tN3M.js";import"./component-ChuoBFI-.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./controller-Cb-96wE-.js";import"./component-names-Dhbtt0mX.js";import"./base-web-component-XgI4wUyN.js";import"./behavior-fGxZN96S.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./resolve-props-CHPFh7Tn.js";import"./aria-labelledby-CLehu03h.js";import"./behavior-DN-22cB1.js";import"./bootstrap-DHXUvPBY.js";import"./item-BuqBMSYI.js";import"./component-DHNcVTi0.js";import"./component-0IO2wu9i.js";import"./Heading-wrhAEuG3.js";const P={required:[...D.required,K],optional:[...D.optional,g,y,B,O,T,_,S,v]},q=H.forBlock("kol-combobox")("delete"),G=H.forBlock("kol-combobox-toggle")(),V=({disabled:t,expanded:e,handleClick:i,label:n,listboxId:s})=>o("button",{type:"button",tabIndex:-1,class:G,"aria-controls":s,"aria-expanded":e?"true":"false","aria-label":n,onClick:i,disabled:t,hidden:t},o(F,{icons:"kolicon-chevron-down",label:""})),M=class extends x{constructor(o){super(),t(this,o),this.id=r("combobox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=p(),this.clearButton=f((()=>this.host)),this.translateDeleteSelection=s("kol-delete-selection"),this.translateShowSuggestions=s("kol-show-suggestions"),this.hasValue=!1,this.propsConfig=P,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){g.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchPlaceholder(o){O.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){B.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){y.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){T.apply(o,(o=>this.setRenderProp("required",o)))}watchShortKey(o){_.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(u(m.input,{name:e,value:o},this.ctaRef.el),o),this.handleChange(u(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(u(m.input,e,this.ctaRef.el),t),this.handleChange(u(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(w,{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){K.apply(o,(o=>this.setRenderProp("suggestions",o)))}applyValue(o){null!=o&&S.apply(o,(o=>this.setRenderProp("value",o)))}render(){const t=!0===this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=C({icons:this.getRenderProp("icons")});return o(e,{key:"f7b1bb3488be9bfd771fceb938e0f1fe03879e53"},o(A,Object.assign({key:"630149dbf58f1ea6b0f7aab345c61b3374142d31"},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(I,{key:"243d8e534ea8501fa90d54aaf354eee3e8eb338b",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(j,{key:"705ea4cdaaec20d9204ade84ab194f73a7ddb338",block:"kol-combobox"},o(L,Object.assign({key:"4e8725ed00170ea0d22681cef1f8ef825018f96f"},this.getInputProps())),this.getRenderProp("value")&&this.getRenderProp("hasClearButton")&&o(k,Object.assign({key:"2008b58b11f2127f8ffd657dfba72ae7e2b8b224"},this.clearButton.getFcProps({_icons:"kolicon-cross",_label:this.translateDeleteSelection,_hideLabel:!0,_variant:"ghost",_disabled:t,_on:{onClick:()=>{this.clearSelection()}}},{class:q,hidden:t,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),o(V,{key:"bf4b8c4c2ea5d44a6cf5992b1282777970cb13a1",disabled:t,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:c(this.id,"listbox")})),o(z,{key:"9e83634ca9182edf49ae282043a7a2e8d495fee9",blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,hidden:!this.isOpen||t,id:c(this.id,"listbox")},this.renderOptions()))))}get host(){return i(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}]}}};n([d("ctaRef")],M.prototype,"focus",null),n([b("ctaRef")],M.prototype,"click",null),M.style={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=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#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); } }'};export{M as kol_combobox}
4
+ import{h as o,r as t,H as i,g as e}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{t as s}from"./i18n-ePBcLlCr.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{c as a}from"./clsx-COFh-Vc8.js";import{c as r,a as c}from"./dev.utils-DDWOHUcg.js";import{c as h}from"./element-focus-BIRmGg5W.js";import{d,a as b,c as p}from"./element-interaction-sGYdEpmv.js";import{c as m,K as u}from"./events-CRHxtwup.js";import{B as k}from"./component-B16Fbp3W.js";import{c as f}from"./item-8RKFpmbd.js";import"./common-BdSzSIXg.js";import{a as g,d as _,v as y}from"./component-C79oAu7a.js";import{h as v,B as x,C as w,L as j,a as B}from"./group-DUVsgWxS.js";import{h as z,g as C,I as D}from"./input-container-DmtMTcjB.js";import"./props-from-config-ytxYrJUY.js";import{p as O}from"./placeholder-UxmBJ4Vl.js";import{r as I}from"./required-BriHhuO4.js";import{s as K}from"./suggestions-LO267l8F.js";import{s as S}from"./value-string-CxDz7dhD.js";import{f as T,F as A}from"./api-DGiFM9p0.js";import{b as F}from"./bem-registry-DQUGxdIS.js";import{I as H}from"./component-Clz6b6ho.js";import{I as L}from"./input-C0Li7DsE.js";import"./i18n-4J6U3ZDc.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./component-oUQcgxDj.js";import"./component-W1KZI4h4.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./base-web-component-CC_gpyDb.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./resolve-props-Bj6IaybL.js";import"./aria-labelledby-CLehu03h.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./item-DHZGDrAn.js";import"./component-Bc2pdOk1.js";import"./component-BI8jDgBz.js";import"./Heading-C_CwXDMp.js";const V={required:[...T.required,K],optional:[...T.optional,g,v,z,O,I,_,S,y]},G=F.forBlock("kol-combobox")("delete"),M=F.forBlock("kol-combobox-toggle")(),P=({disabled:t,expanded:i,handleClick:e,label:n,listboxId:s})=>o("button",{type:"button",tabIndex:-1,class:M,"aria-controls":s,"aria-expanded":i?"true":"false","aria-label":n,onClick:e,disabled:t,hidden:t},o(H,{icons:"kolicon-chevron-down",label:""})),q=class extends x{constructor(o){super(),new.target===q&&t(this,o),this.id=r("combobox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=p(),this.clearButton=f((()=>this.host)),this.translateDeleteSelection=s("kol-delete-selection"),this.translateShowSuggestions=s("kol-show-suggestions"),this.hasValue=!1,this.propsConfig=V,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){g.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchPlaceholder(o){O.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){z.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){v.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){I.apply(o,(o=>this.setRenderProp("required",o)))}watchShortKey(o){_.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){y.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 i=o.relatedTarget,e=i&&(i===this.host||(null===(t=this.host)||void 0===t?void 0:t.contains(i)));this.inputHasFocus&&!e&&(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(),i=Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.findIndex((o=>o.toLowerCase().startsWith(t)));"number"==typeof i&&this.focusOption(i)}setFilteredSuggestionsByQuery(o){var t;if(void 0===o)return;const i=this.getRenderProp("suggestions");""===o.trim()?this.filteredSuggestions=[...i]:(this.filteredSuggestions=Array.isArray(i)?i.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 i=this.getRenderProp("name");this._value=o,this.handleInput(m(u.input,{name:i,value:o},this.ctaRef.el),o),this.handleChange(m(u.change,{name:i,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 i={name:this.getRenderProp("name"),value:t};this.handleInput(m(u.input,i,this.ctaRef.el),t),this.handleChange(m(u.change,i,this.ctaRef.el),t),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(t)}getInputProps(){const{ariaDescribedBy:o,hasError:t}=this.getAria(),i=this.id,e=!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:i,hideLabel:a,label:r,disabled:e,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":c(i,"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(i,"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(((i,e)=>o(w,{id:this.getOptionId(e),disabled:!1,index:e,option:i,searchTerm:t,ref:o=>{o&&(this.optionRefs[e]=o)},selected:t===i,onClick:()=>{this.selectOption(i),this.toggleListbox(),this.isOpen=!1},onMouseOver:()=>{this.blockSuggestionMouseOver||this.focusOption(e)},onFocus:()=>{this.focusOption(e)}})))}applySuggestions(o){K.apply(o,(o=>this.setRenderProp("suggestions",o)))}applyValue(o){null!=o&&S.apply(o,(o=>this.setRenderProp("value",o)))}render(){const t=!0===this.getRenderProp("disabled"),{startAdornment:e,endAdornment:n}=C({icons:this.getRenderProp("icons")});return o(i,{key:"0c05822b15984bdc3532b9a79fb5c059de9bff57"},o(A,Object.assign({key:"145a6885cf2091df4928d7b814a7a323913ab8a2"},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(D,{key:"4f401e2b893d91ddbb1b0a46405445182c1c77ce",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:e,endAdornment:n},o(j,{key:"8f6c478ef7575f0048b29a0c3c0b2d7d6f0bc955",block:"kol-combobox"},o(L,Object.assign({key:"fd611d1eac02a9506f3ae771722fabae0fdd3d80"},this.getInputProps())),this.getRenderProp("value")&&this.getRenderProp("hasClearButton")&&o(k,Object.assign({key:"4f2a719306f763c44fa0db9a41eea881a8ef6c7a"},this.clearButton.getFcProps({_icons:"kolicon-cross",_label:this.translateDeleteSelection,_hideLabel:!0,_variant:"ghost",_disabled:t,_on:{onClick:()=>{this.clearSelection()}}},{class:G,hidden:t,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),o(P,{key:"606aa1a136ee653ccdc5d08f0bc7c63345956f7c",disabled:t,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:c(this.id,"listbox")})),o(B,{key:"fdd860c7e3fe2f58931054edb1d6399c18ff7a39",blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,hidden:!this.isOpen||t,id:c(this.id,"listbox"),"aria-labelledby":c(this.id,"label")},this.renderOptions()))))}get host(){return e(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}]}}};n([d("ctaRef")],q.prototype,"focus",null),n([b("ctaRef")],q.prototype,"click",null),q.style={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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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); } }'};export{q as kol_combobox}