@public-ui/components 4.6.0-rc.3 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (671) 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 +2 -2
  7. package/dist/cjs/{Heading-DqZXie2T.js → Heading-CnnBHLhu.js} +7 -7
  8. package/dist/cjs/{api-Cc1hT-oO.js → api-C-uDDxcA.js} +24 -26
  9. package/dist/cjs/{app-globals-DtXiFJRj.js → app-globals-BfpVa0Lg.js} +2 -2
  10. package/dist/cjs/{base-B-wbGF-X.js → base-BIbzHEVE.js} +47 -40
  11. package/dist/cjs/{base-BKsPSdXS.js → base-BZ3x1Yaj.js} +10 -10
  12. package/dist/cjs/{base-CoMrpiHg.js → base-Cc2tyQoy.js} +10 -10
  13. package/dist/cjs/{base-BjiXfuju.js → base-CeaAJa72.js} +10 -10
  14. package/dist/cjs/{base-web-component-DXCN-Sp3.js → base-web-component-B_zszxEg.js} +1 -1
  15. package/dist/cjs/{base-web-component-DApRK7Vs.js → base-web-component-CpqYvVDi.js} +14 -15
  16. package/dist/cjs/{base-web-component-BXtl3Nmq.js → base-web-component-Dk-So1FD.js} +12 -14
  17. package/dist/cjs/{behavior-GG5TOrTV.js → behavior--ZjzmIB4.js} +4 -4
  18. package/dist/cjs/{behavior-DtHCmCCv.js → behavior-CYg7XOXd.js} +4 -4
  19. package/dist/cjs/{behavior-DIv2ciyM.js → behavior-cEIf2evT.js} +4 -4
  20. package/dist/cjs/{bem-registry-h_moyLBn.js → bem-registry-CtnO3zCW.js} +22 -0
  21. package/dist/cjs/{bootstrap-HU5YhM_w.js → bootstrap-DOzWgRGX.js} +1 -1
  22. package/dist/cjs/{color-C3xsA3Uk.js → color-BJ776mPh.js} +2 -2
  23. package/dist/cjs/{component-BOI4FdZE.js → component-5ABjFE_U.js} +6 -7
  24. package/dist/cjs/{component-CNNGo5gU.js → component-BSx0ZVSD.js} +10 -12
  25. package/dist/cjs/component-BTfaB8W5.js +19 -0
  26. package/dist/cjs/{component-DlyhBQIa.js → component-BacsMsF-.js} +4 -4
  27. package/dist/cjs/component-C_9WksgV.js +53 -0
  28. package/dist/cjs/{component-CsnTf_45.js → component-D65WOH6c.js} +8 -10
  29. package/dist/cjs/{component-C9B-yJ93.js → component-DE4OHvyu.js} +7 -8
  30. package/dist/cjs/{component-D0uxhuF3.js → component-DVf7tz1e.js} +6 -5
  31. package/dist/cjs/{component-CxwSVBBv.js → component-Ddp-Luc6.js} +11 -12
  32. package/dist/cjs/{component-BE_fK-Xu.js → component-DuknrIKz.js} +14 -16
  33. package/dist/cjs/{component-Cnc2NyzE.js → component-DwuAKOV_.js} +4 -4
  34. package/dist/cjs/{contrast-6Nku3lih.js → contrast-DrGTr5zd.js} +1 -1
  35. package/dist/cjs/{dev.utils-DTQy7QrG.js → dev.utils-EwVibOKw.js} +1 -1
  36. package/dist/cjs/{devtools-BAChPN0l.js → devtools-CEqUJI9f.js} +2 -2
  37. package/dist/cjs/{disabled-CilmJ-p-.js → disabled-DBnI2OR4.js} +1 -1
  38. package/dist/cjs/{field-control-Bxj6Xuu8.js → field-control-Jhzreo_j.js} +12 -12
  39. package/dist/cjs/{group-BUdQbdkp.js → group-DDmENjNB.js} +7 -8
  40. package/dist/cjs/{has-closer-iSIrv52u.js → has-closer-DIk_toj-.js} +1 -1
  41. package/dist/cjs/{href-xojo1zy_.js → href-_UE7179j.js} +1 -1
  42. package/dist/cjs/{i18n-D7UmRsV8.js → i18n-4lKONPdP.js} +1 -1
  43. package/dist/cjs/{i18n-DgHI4-xa.js → i18n-CuXZ7SEi.js} +2 -1
  44. package/dist/cjs/{id-DP-w6i4q.js → id-JbinnWCW.js} +1 -1
  45. package/dist/cjs/{index-BaB_2Z5W.js → index-P8gY4ccL.js} +1 -1
  46. package/dist/cjs/index.cjs.js +3 -3
  47. package/dist/cjs/input-BYfPasa5.js +19 -0
  48. package/dist/cjs/{input-container-BcwbGU2R.js → input-container-BQlNjdk3.js} +8 -10
  49. package/dist/cjs/{item-DJ-XUS77.js → item-C6gnuMjx.js} +4 -4
  50. package/dist/cjs/{item-BLrLbhAD.js → item-CvvVUcQZ.js} +11 -11
  51. package/dist/cjs/{item-BYKMN41a.js → item-DSSJt2YS.js} +4 -4
  52. package/dist/cjs/{item-BXt0-A5j.js → item-Dgikq96R.js} +20 -21
  53. package/dist/cjs/kol-abbr.cjs.entry.js +8 -12
  54. package/dist/cjs/kol-accordion.cjs.entry.js +15 -17
  55. package/dist/cjs/kol-alert.cjs.entry.js +27 -30
  56. package/dist/cjs/kol-avatar.cjs.entry.js +14 -15
  57. package/dist/cjs/kol-badge.cjs.entry.js +23 -26
  58. package/dist/cjs/kol-breadcrumb.cjs.entry.js +26 -30
  59. package/dist/cjs/kol-button-link.cjs.entry.js +22 -25
  60. package/dist/cjs/kol-button.cjs.entry.js +22 -25
  61. package/dist/cjs/kol-card.cjs.entry.js +27 -30
  62. package/dist/cjs/kol-combobox.cjs.entry.js +37 -40
  63. package/dist/cjs/kol-details.cjs.entry.js +15 -17
  64. package/dist/cjs/kol-dialog.cjs.entry.js +30 -33
  65. package/dist/cjs/kol-drawer.cjs.entry.js +30 -33
  66. package/dist/cjs/kol-form.cjs.entry.js +24 -27
  67. package/dist/cjs/kol-heading.cjs.entry.js +13 -15
  68. package/dist/cjs/kol-icon.cjs.entry.js +8 -9
  69. package/dist/cjs/kol-image.cjs.entry.js +7 -9
  70. package/dist/cjs/kol-input-checkbox.cjs.entry.js +38 -41
  71. package/dist/cjs/kol-input-color.cjs.entry.js +35 -38
  72. package/dist/cjs/kol-input-date.cjs.entry.js +41 -45
  73. package/dist/cjs/kol-input-email.cjs.entry.js +42 -45
  74. package/dist/cjs/kol-input-file.cjs.entry.js +36 -39
  75. package/dist/cjs/kol-input-number.cjs.entry.js +40 -43
  76. package/dist/cjs/kol-input-password.cjs.entry.js +41 -44
  77. package/dist/cjs/kol-input-radio.cjs.entry.js +37 -40
  78. package/dist/cjs/kol-input-range.cjs.entry.js +35 -38
  79. package/dist/cjs/kol-input-text.cjs.entry.js +43 -46
  80. package/dist/cjs/kol-kolibri.cjs.entry.js +8 -12
  81. package/dist/cjs/kol-link-button.cjs.entry.js +23 -26
  82. package/dist/cjs/kol-link.cjs.entry.js +23 -26
  83. package/dist/cjs/kol-meter.cjs.entry.js +14 -15
  84. package/dist/cjs/kol-modal.cjs.entry.js +30 -33
  85. package/dist/cjs/kol-nav.cjs.entry.js +35 -38
  86. package/dist/cjs/kol-pagination.cjs.entry.js +41 -44
  87. package/dist/cjs/kol-popover-button.cjs.entry.js +23 -26
  88. package/dist/cjs/kol-progress.cjs.entry.js +13 -14
  89. package/dist/cjs/kol-quote.cjs.entry.js +9 -10
  90. package/dist/cjs/kol-select.cjs.entry.js +34 -37
  91. package/dist/cjs/kol-single-select.cjs.entry.js +37 -40
  92. package/dist/cjs/kol-skip-nav.cjs.entry.js +26 -30
  93. package/dist/cjs/kol-spin.cjs.entry.js +11 -15
  94. package/dist/cjs/kol-split-button.cjs.entry.js +28 -31
  95. package/dist/cjs/kol-table-stateful.cjs.entry.js +53 -54
  96. package/dist/cjs/kol-table-stateless.cjs.entry.js +37 -40
  97. package/dist/cjs/kol-tabs.cjs.entry.js +23 -26
  98. package/dist/cjs/kol-textarea.cjs.entry.js +39 -42
  99. package/dist/cjs/kol-toast-container.cjs.entry.js +20 -23
  100. package/dist/cjs/kol-toolbar.cjs.entry.js +29 -32
  101. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +11 -12
  102. package/dist/cjs/kol-tree-item.cjs.entry.js +22 -26
  103. package/dist/cjs/kol-tree.cjs.entry.js +9 -10
  104. package/dist/cjs/kol-version.cjs.entry.js +21 -24
  105. package/dist/cjs/kolibri.cjs.js +3 -3
  106. package/dist/cjs/{label-D6c6jfqK.js → label-BAULqhwq.js} +3 -3
  107. package/dist/cjs/{label-hints-q3XenWLW.js → label-hints-BHw-UcMt.js} +1 -1
  108. package/dist/cjs/{label-lang-segment-k4OY9qRY.js → label-lang-segment-D_UYFhgr.js} +2 -2
  109. package/dist/cjs/{label-with-expert-slot-CJoz7BLw.js → label-with-expert-slot-XZTOiRp-.js} +3 -3
  110. package/dist/cjs/{level-B6vFMm9s.js → level-CaJUuMiH.js} +1 -1
  111. package/dist/cjs/{link-target-0qSVsAb2.js → link-target-EZq24qVX.js} +1 -1
  112. package/dist/cjs/{links-Ur1e9DOK.js → links-CNPivOpm.js} +1 -1
  113. package/dist/cjs/loader.cjs.js +3 -3
  114. package/dist/cjs/{multiple-CCxtzqez.js → multiple-D4ktp4Q2.js} +1 -1
  115. package/dist/cjs/{number-value-DzAHCwlP.js → number-value-BzIR1UvL.js} +1 -1
  116. package/dist/cjs/{open-Gxr_K7HK.js → open-BYh5VAA1.js} +1 -1
  117. package/dist/cjs/{options-BT0m0gRT.js → options-DkF38kx_.js} +1 -1
  118. package/dist/cjs/{orientation-CeHU4dT8.js → orientation-D4yopkvP.js} +1 -1
  119. package/dist/cjs/{placeholder-22xUUFff.js → placeholder-CZOGOuLS.js} +1 -1
  120. package/dist/cjs/{props-from-config-D1qhXS9j.js → props-from-config-CiU21EHb.js} +86 -5
  121. package/dist/cjs/{read-only-iHApMQEg.js → read-only-PNG5jHgh.js} +1 -1
  122. package/dist/cjs/{required-BYdSI25I.js → required-mj54_vO_.js} +1 -1
  123. package/dist/cjs/{resolve-props-B7klWjLx.js → resolve-props-CH6OL2es.js} +7 -7
  124. package/dist/cjs/{resolve-props-c-uwDulF.js → resolve-props-DOnocHFi.js} +6 -6
  125. package/dist/cjs/{rows-C9vBSQK1.js → rows-YaAnXjAm.js} +1 -1
  126. package/dist/cjs/{scroll-lock-daUQqmx_.js → scroll-lock-D3pgiG8q.js} +8 -7
  127. package/dist/cjs/{smart-button-DRMmUyQ5.js → smart-button-BU7mWP5H.js} +1 -1
  128. package/dist/cjs/{spell-check-CxgvHcGA.js → spell-check-CZWiLkQE.js} +1 -1
  129. package/dist/cjs/{src-Bmd7gQCS.js → src-rB2yGTSn.js} +1 -1
  130. package/dist/cjs/{step-CCqgsPCX.js → step-Bo6ILIqa.js} +1 -1
  131. package/dist/cjs/{suggestions-CoUp7HmN.js → suggestions-BO4EvOXc.js} +1 -1
  132. package/dist/cjs/{suggestions-D3snLGL_.js → suggestions-Ca575hi-.js} +3 -3
  133. package/dist/cjs/test-component.cjs.entry.js +1 -1
  134. package/dist/cjs/{toggle-handler-B0xib7fH.js → toggle-handler-ByJYSOdb.js} +11 -13
  135. package/dist/cjs/{unique-nav-labels-CgxOyb6V.js → unique-nav-labels-_EHPpYUR.js} +1 -1
  136. package/dist/cjs/{unit-_oDj-vIB.js → unit-Bl0Lyk08.js} +1 -1
  137. package/dist/cjs/{validators-CpCJvM4r.js → validators-rLs6tEWo.js} +1 -1
  138. package/dist/cjs/{value-string-CKppMGVM.js → value-string-BKsvZy1q.js} +1 -1
  139. package/dist/cjs/{width-e7f3wHF3.js → width-DegQFxQB.js} +1 -1
  140. package/dist/collection/components/abbr/style.css +21 -0
  141. package/dist/collection/components/accordion/style.css +23 -2
  142. package/dist/collection/components/alert/component.js +6 -5
  143. package/dist/collection/components/alert/style.css +23 -2
  144. package/dist/collection/components/avatar/style.css +21 -0
  145. package/dist/collection/components/badge/style.css +23 -2
  146. package/dist/collection/components/breadcrumb/style.css +23 -2
  147. package/dist/collection/components/button/style.css +23 -2
  148. package/dist/collection/components/button-link/style.css +23 -2
  149. package/dist/collection/components/card/style.css +23 -2
  150. package/dist/collection/components/combobox/style.css +23 -2
  151. package/dist/collection/components/details/style.css +23 -2
  152. package/dist/collection/components/dialog/base.js +2 -2
  153. package/dist/collection/components/dialog/style.css +23 -2
  154. package/dist/collection/components/drawer/style.css +23 -2
  155. package/dist/collection/components/form/style.css +23 -2
  156. package/dist/collection/components/heading/style.css +21 -0
  157. package/dist/collection/components/icon/style.css +2 -2
  158. package/dist/collection/components/image/style.css +21 -0
  159. package/dist/collection/components/input-checkbox/style.css +23 -2
  160. package/dist/collection/components/input-color/style.css +23 -2
  161. package/dist/collection/components/input-date/component.js +6 -6
  162. package/dist/collection/components/input-date/style.css +23 -2
  163. package/dist/collection/components/input-email/style.css +23 -2
  164. package/dist/collection/components/input-file/component.js +1 -1
  165. package/dist/collection/components/input-file/style.css +23 -2
  166. package/dist/collection/components/input-number/style.css +23 -2
  167. package/dist/collection/components/input-password/style.css +23 -2
  168. package/dist/collection/components/input-radio/style.css +23 -2
  169. package/dist/collection/components/input-range/style.css +23 -2
  170. package/dist/collection/components/input-text/style.css +23 -2
  171. package/dist/collection/components/kolibri/style.css +21 -0
  172. package/dist/collection/components/link/style.css +23 -2
  173. package/dist/collection/components/link-button/style.css +23 -2
  174. package/dist/collection/components/meter/style.css +21 -0
  175. package/dist/collection/components/modal/style.css +23 -2
  176. package/dist/collection/components/nav/style.css +23 -2
  177. package/dist/collection/components/pagination/component.js +5 -5
  178. package/dist/collection/components/pagination/style.css +23 -2
  179. package/dist/collection/components/popover-button/style.css +23 -2
  180. package/dist/collection/components/progress/style.css +21 -0
  181. package/dist/collection/components/quote/style.css +21 -0
  182. package/dist/collection/components/select/style.css +23 -2
  183. package/dist/collection/components/single-select/style.css +23 -2
  184. package/dist/collection/components/skip-nav/style.css +23 -2
  185. package/dist/collection/components/spin/style.css +21 -0
  186. package/dist/collection/components/split-button/style.css +23 -2
  187. package/dist/collection/components/table-stateful/component.js +5 -2
  188. package/dist/collection/components/table-stateful/style.css +23 -2
  189. package/dist/collection/components/table-stateless/style.css +23 -2
  190. package/dist/collection/components/tabs/style.css +23 -2
  191. package/dist/collection/components/textarea/style.css +23 -2
  192. package/dist/collection/components/toaster/style.css +23 -2
  193. package/dist/collection/components/toolbar/style.css +23 -2
  194. package/dist/collection/components/tree/style.css +21 -0
  195. package/dist/collection/components/tree-item/style.css +23 -2
  196. package/dist/collection/components/version/style.css +23 -2
  197. package/dist/collection/core/i18n.js +2 -1
  198. package/dist/collection/internal/functional-components/alert/component.js +2 -1
  199. package/dist/collection/internal/functional-components/avatar/component.js +2 -2
  200. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  201. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  202. package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
  203. package/dist/collection/internal/functional-components/card/component.js +3 -1
  204. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  205. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  206. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  207. package/dist/collection/internal/functional-components/drawer/component.js +1 -1
  208. package/dist/collection/internal/functional-components/heading/component.js +3 -4
  209. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  210. package/dist/collection/internal/functional-components/image/component.js +2 -4
  211. package/dist/collection/internal/functional-components/link/component.js +1 -1
  212. package/dist/collection/internal/functional-components/meter/component.js +2 -1
  213. package/dist/collection/internal/functional-components/pagination/item.js +6 -6
  214. package/dist/collection/internal/functional-components/progress/component.js +2 -1
  215. package/dist/collection/internal/functional-components/quote/component.js +2 -2
  216. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  217. package/dist/collection/internal/functional-components/span/component.js +3 -2
  218. package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -4
  219. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  220. package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
  221. package/dist/collection/schema/bem-registry.js +22 -0
  222. package/dist/components/Heading.js +1 -1
  223. package/dist/components/base-web-component2.js +1 -1
  224. package/dist/components/base-web-component3.js +1 -1
  225. package/dist/components/base-web-component4.js +1 -1
  226. package/dist/components/base.js +1 -1
  227. package/dist/components/base2.js +1 -1
  228. package/dist/components/base3.js +1 -1
  229. package/dist/components/base4.js +1 -1
  230. package/dist/components/behavior.js +1 -1
  231. package/dist/components/behavior2.js +1 -1
  232. package/dist/components/behavior3.js +1 -1
  233. package/dist/components/behavior4.js +1 -1
  234. package/dist/components/bem-registry.js +1 -1
  235. package/dist/components/component.js +1 -1
  236. package/dist/components/component10.js +1 -1
  237. package/dist/components/component2.js +1 -1
  238. package/dist/components/component3.js +1 -1
  239. package/dist/components/component4.js +1 -1
  240. package/dist/components/component5.js +1 -1
  241. package/dist/components/component6.js +1 -1
  242. package/dist/components/component7.js +1 -1
  243. package/dist/components/component8.js +1 -1
  244. package/dist/components/component9.js +1 -1
  245. package/dist/components/contrast.js +1 -1
  246. package/dist/components/field-control.js +1 -1
  247. package/dist/components/group.js +1 -1
  248. package/dist/components/i18n2.js +1 -1
  249. package/dist/components/input-container.js +1 -1
  250. package/dist/components/input.js +1 -1
  251. package/dist/components/item2.js +1 -1
  252. package/dist/components/item4.js +1 -1
  253. package/dist/components/kol-abbr.js +1 -1
  254. package/dist/components/kol-accordion.js +1 -1
  255. package/dist/components/kol-alert.js +1 -1
  256. package/dist/components/kol-avatar.js +1 -1
  257. package/dist/components/kol-badge.js +1 -1
  258. package/dist/components/kol-breadcrumb.js +1 -1
  259. package/dist/components/kol-button-link.js +1 -1
  260. package/dist/components/kol-button.js +1 -1
  261. package/dist/components/kol-card.js +1 -1
  262. package/dist/components/kol-combobox.js +1 -1
  263. package/dist/components/kol-details.js +1 -1
  264. package/dist/components/kol-dialog.js +1 -1
  265. package/dist/components/kol-drawer.js +1 -1
  266. package/dist/components/kol-form.js +1 -1
  267. package/dist/components/kol-heading.js +1 -1
  268. package/dist/components/kol-icon.js +1 -1
  269. package/dist/components/kol-image.js +1 -1
  270. package/dist/components/kol-input-checkbox.js +1 -1
  271. package/dist/components/kol-input-color.js +1 -1
  272. package/dist/components/kol-input-date.js +1 -1
  273. package/dist/components/kol-input-email.js +1 -1
  274. package/dist/components/kol-input-file.js +1 -1
  275. package/dist/components/kol-input-number.js +1 -1
  276. package/dist/components/kol-input-password.js +1 -1
  277. package/dist/components/kol-input-radio.js +1 -1
  278. package/dist/components/kol-input-range.js +1 -1
  279. package/dist/components/kol-input-text.js +1 -1
  280. package/dist/components/kol-kolibri.js +1 -1
  281. package/dist/components/kol-link-button.js +1 -1
  282. package/dist/components/kol-link.js +1 -1
  283. package/dist/components/kol-meter.js +1 -1
  284. package/dist/components/kol-modal.js +1 -1
  285. package/dist/components/kol-nav.js +1 -1
  286. package/dist/components/kol-pagination.js +1 -1
  287. package/dist/components/kol-popover-button.js +1 -1
  288. package/dist/components/kol-progress.js +1 -1
  289. package/dist/components/kol-quote.js +1 -1
  290. package/dist/components/kol-select.js +1 -1
  291. package/dist/components/kol-single-select.js +1 -1
  292. package/dist/components/kol-skip-nav.js +1 -1
  293. package/dist/components/kol-spin.js +1 -1
  294. package/dist/components/kol-split-button.js +1 -1
  295. package/dist/components/kol-table-stateful.js +1 -1
  296. package/dist/components/kol-table-stateless.js +1 -1
  297. package/dist/components/kol-tabs.js +1 -1
  298. package/dist/components/kol-textarea.js +1 -1
  299. package/dist/components/kol-toast-container.js +1 -1
  300. package/dist/components/kol-toolbar.js +1 -1
  301. package/dist/components/kol-tooltip-wc.js +1 -1
  302. package/dist/components/kol-tree-item.js +1 -1
  303. package/dist/components/kol-tree.js +1 -1
  304. package/dist/components/kol-version.js +1 -1
  305. package/dist/components/label-hints.js +1 -1
  306. package/dist/components/label-lang-segment.js +1 -1
  307. package/dist/components/label-with-expert-slot.js +1 -1
  308. package/dist/components/level.js +1 -1
  309. package/dist/components/links.js +1 -1
  310. package/dist/components/number-value.js +1 -1
  311. package/dist/components/props-from-config.js +1 -1
  312. package/dist/components/resolve-props.js +1 -1
  313. package/dist/components/resolve-props2.js +1 -1
  314. package/dist/components/rows.js +1 -1
  315. package/dist/components/scroll-lock.js +1 -1
  316. package/dist/components/step.js +1 -1
  317. package/dist/components/toggle-handler.js +1 -1
  318. package/dist/components/unit.js +1 -1
  319. package/dist/components/validators.js +1 -1
  320. package/dist/esm/{Heading-GZb1f2pZ.js → Heading-BubZbykM.js} +2 -2
  321. package/dist/esm/{api-CBPlj155.js → api-D0RNr-zh.js} +18 -20
  322. package/dist/esm/{app-globals-DRl9A82c.js → app-globals-DYRte_jr.js} +2 -2
  323. package/dist/esm/{base-C7BBsrYZ.js → base-BP5SdLvQ.js} +35 -28
  324. package/dist/esm/{base-BByRnpRm.js → base-BbGt9eYx.js} +10 -10
  325. package/dist/esm/{base-Dtxcvto_.js → base-CLsKm3-e.js} +10 -10
  326. package/dist/esm/{base-DO0KvOv9.js → base-Cz00snD6.js} +10 -10
  327. package/dist/esm/{base-web-component-CC_gpyDb.js → base-web-component-CYPdDdRn.js} +1 -1
  328. package/dist/esm/{base-web-component-BxXLva5d.js → base-web-component-CdSFFCst.js} +8 -10
  329. package/dist/esm/{base-web-component-CfPyCJDJ.js → base-web-component-DP9_OPgV.js} +13 -14
  330. package/dist/esm/{behavior-CKU2tmCj.js → behavior-B6y5Gofe.js} +4 -4
  331. package/dist/esm/{behavior-CsNDRS2z.js → behavior-BJR8CKBx.js} +4 -4
  332. package/dist/esm/{behavior-ewHvUWVk.js → behavior-DlH8byIw.js} +4 -4
  333. package/dist/esm/{bem-registry-D1KgKnyz.js → bem-registry-SKACeCny.js} +22 -0
  334. package/dist/esm/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
  335. package/dist/esm/{color-D1gM-F2l.js → color-BbljGuAW.js} +2 -2
  336. package/dist/esm/component-6_YiKr2Z.js +48 -0
  337. package/dist/esm/{component-D6_K50vT.js → component-B8UMedaK.js} +4 -4
  338. package/dist/esm/{component-6l69Jvwl.js → component-CMHB3reH.js} +6 -5
  339. package/dist/esm/{component-B3OziaRC.js → component-CNgECeRi.js} +9 -11
  340. package/dist/esm/{component-By8ggItU.js → component-CSsUaL_h.js} +6 -8
  341. package/dist/esm/{component-CF8uFG0A.js → component-CiJGQTU0.js} +13 -15
  342. package/dist/esm/{component-D4-NVnsT.js → component-DEwcJKDA.js} +4 -4
  343. package/dist/esm/{component-D6lo0LzE.js → component-NOe28NXD.js} +5 -6
  344. package/dist/esm/{component-Cmi6iGfA.js → component-ZdHnXLLI.js} +10 -11
  345. package/dist/esm/component-bIIx1x7q.js +17 -0
  346. package/dist/esm/{component-D9NreIlK.js → component-hiabKVP3.js} +6 -7
  347. package/dist/esm/{contrast-BNoQruBh.js → contrast-DtK0a6X2.js} +1 -1
  348. package/dist/esm/{dev.utils-BwYCy1rP.js → dev.utils-B0t4rcBV.js} +1 -1
  349. package/dist/esm/{devtools-CGP3Nzsw.js → devtools-DuJRc6wJ.js} +2 -2
  350. package/dist/esm/{disabled-BZXlWAgK.js → disabled-B2o4Ctgy.js} +1 -1
  351. package/dist/esm/{field-control-0TRmF7Ea.js → field-control-C9dIXnES.js} +7 -7
  352. package/dist/esm/{group-DapkT_Yh.js → group-DydT1Z92.js} +5 -6
  353. package/dist/esm/{has-closer-DUB0QcS9.js → has-closer-BrG00xL7.js} +1 -1
  354. package/dist/esm/{href-CxokGOJ2.js → href-CfNF4pHX.js} +1 -1
  355. package/dist/esm/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
  356. package/dist/esm/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +2 -1
  357. package/dist/esm/{id-BI0ZuK17.js → id-Bh4FF8c0.js} +1 -1
  358. package/dist/esm/{index-DEcM8BEc.js → index-Bbr6Os1b.js} +1 -1
  359. package/dist/esm/index.js +4 -4
  360. package/dist/esm/{input-CDUCo1S5.js → input-C1YsxnDL.js} +4 -5
  361. package/dist/esm/{input-container-BipAkWn4.js → input-container-zXl_6y52.js} +6 -8
  362. package/dist/esm/{item-BvnZc8uV.js → item-DXDEHrEg.js} +4 -4
  363. package/dist/esm/{item-Boe3t0Dm.js → item-Dms_59sU.js} +11 -11
  364. package/dist/esm/{item-B0oQTeju.js → item-hsQoejqZ.js} +4 -4
  365. package/dist/esm/{item-UgJ2uikD.js → item-zXunNZh5.js} +17 -18
  366. package/dist/esm/kol-abbr.entry.js +7 -11
  367. package/dist/esm/kol-accordion.entry.js +15 -17
  368. package/dist/esm/kol-alert.entry.js +27 -30
  369. package/dist/esm/kol-avatar.entry.js +14 -15
  370. package/dist/esm/kol-badge.entry.js +23 -26
  371. package/dist/esm/kol-breadcrumb.entry.js +26 -30
  372. package/dist/esm/kol-button-link.entry.js +22 -25
  373. package/dist/esm/kol-button.entry.js +22 -25
  374. package/dist/esm/kol-card.entry.js +27 -30
  375. package/dist/esm/kol-combobox.entry.js +36 -39
  376. package/dist/esm/kol-details.entry.js +15 -17
  377. package/dist/esm/kol-dialog.entry.js +30 -33
  378. package/dist/esm/kol-drawer.entry.js +30 -33
  379. package/dist/esm/kol-form.entry.js +23 -26
  380. package/dist/esm/kol-heading.entry.js +13 -15
  381. package/dist/esm/kol-icon.entry.js +8 -9
  382. package/dist/esm/kol-image.entry.js +7 -9
  383. package/dist/esm/kol-input-checkbox.entry.js +32 -35
  384. package/dist/esm/kol-input-color.entry.js +35 -38
  385. package/dist/esm/kol-input-date.entry.js +40 -44
  386. package/dist/esm/kol-input-email.entry.js +41 -44
  387. package/dist/esm/kol-input-file.entry.js +35 -38
  388. package/dist/esm/kol-input-number.entry.js +39 -42
  389. package/dist/esm/kol-input-password.entry.js +39 -42
  390. package/dist/esm/kol-input-radio.entry.js +34 -37
  391. package/dist/esm/kol-input-range.entry.js +35 -38
  392. package/dist/esm/kol-input-text.entry.js +41 -44
  393. package/dist/esm/kol-kolibri.entry.js +7 -11
  394. package/dist/esm/kol-link-button.entry.js +23 -26
  395. package/dist/esm/kol-link.entry.js +23 -26
  396. package/dist/esm/kol-meter.entry.js +14 -15
  397. package/dist/esm/kol-modal.entry.js +30 -33
  398. package/dist/esm/kol-nav.entry.js +30 -33
  399. package/dist/esm/kol-pagination.entry.js +41 -44
  400. package/dist/esm/kol-popover-button.entry.js +23 -26
  401. package/dist/esm/kol-progress.entry.js +13 -14
  402. package/dist/esm/kol-quote.entry.js +9 -10
  403. package/dist/esm/kol-select.entry.js +34 -37
  404. package/dist/esm/kol-single-select.entry.js +36 -39
  405. package/dist/esm/kol-skip-nav.entry.js +26 -30
  406. package/dist/esm/kol-spin.entry.js +11 -15
  407. package/dist/esm/kol-split-button.entry.js +26 -29
  408. package/dist/esm/kol-table-stateful.entry.js +53 -54
  409. package/dist/esm/kol-table-stateless.entry.js +37 -40
  410. package/dist/esm/kol-tabs.entry.js +22 -25
  411. package/dist/esm/kol-textarea.entry.js +37 -40
  412. package/dist/esm/kol-toast-container.entry.js +19 -22
  413. package/dist/esm/kol-toolbar.entry.js +27 -30
  414. package/dist/esm/kol-tooltip-wc.entry.js +11 -12
  415. package/dist/esm/kol-tree-item.entry.js +22 -26
  416. package/dist/esm/kol-tree.entry.js +9 -10
  417. package/dist/esm/kol-version.entry.js +20 -23
  418. package/dist/esm/kolibri.js +4 -4
  419. package/dist/esm/{label-B-Dr7VaP.js → label-BQVd3bkc.js} +3 -3
  420. package/dist/esm/{label-hints-CLMiVvfk.js → label-hints-CZGo9ZD5.js} +1 -1
  421. package/dist/esm/{label-lang-segment-iVD9hoM3.js → label-lang-segment-C5LYGOHt.js} +2 -2
  422. package/dist/esm/label-with-expert-slot-D1tpX9DI.js +12 -0
  423. package/dist/esm/{level-DsQ_pcyD.js → level-BVXGgbSM.js} +1 -1
  424. package/dist/esm/{link-target-D7lYILOV.js → link-target-BWPSEd9a.js} +1 -1
  425. package/dist/esm/{links-IkK4zoXw.js → links-BbsnNXfa.js} +1 -1
  426. package/dist/esm/loader.js +4 -4
  427. package/dist/esm/{multiple--ay1C1n3.js → multiple-S3Ol1G6Z.js} +1 -1
  428. package/dist/esm/{number-value-Dl9-2O4r.js → number-value-DmOl1z7z.js} +1 -1
  429. package/dist/esm/{open-CNHJhHsy.js → open-DPP79Urq.js} +1 -1
  430. package/dist/esm/{options-DwO32GBF.js → options-aA3M-QV2.js} +1 -1
  431. package/dist/esm/{orientation-ChJ0S24M.js → orientation-DlsgaY1v.js} +1 -1
  432. package/dist/esm/{placeholder-UxmBJ4Vl.js → placeholder-DlHbiVjz.js} +1 -1
  433. package/dist/esm/{props-from-config-ytxYrJUY.js → props-from-config-BOUcpF7e.js} +84 -6
  434. package/dist/esm/{read-only-DytZ5HZJ.js → read-only-DSBWEPED.js} +1 -1
  435. package/dist/esm/{required-BriHhuO4.js → required-xw5BBPvV.js} +1 -1
  436. package/dist/esm/{resolve-props-kM9N-fzf.js → resolve-props-CL8wxjtP.js} +7 -7
  437. package/dist/esm/{resolve-props-DTXKtzir.js → resolve-props-DAVb5BM3.js} +6 -6
  438. package/dist/esm/{rows-I1jrTjzU.js → rows-DRV8YlQv.js} +1 -1
  439. package/dist/esm/{scroll-lock-Bv-U2FHM.js → scroll-lock-BxAe0gL5.js} +9 -7
  440. package/dist/esm/{smart-button-DM5g48-g.js → smart-button-CQps8AlL.js} +1 -1
  441. package/dist/esm/{spell-check-BWCnJG5v.js → spell-check-hy6xFhmT.js} +1 -1
  442. package/dist/esm/{src-ziOwSglN.js → src-AwoM1pRe.js} +1 -1
  443. package/dist/esm/{step-BcyhvRtu.js → step-CopA0_m7.js} +1 -1
  444. package/dist/esm/{suggestions-D0u80DtA.js → suggestions-BsiiaAxK.js} +3 -3
  445. package/dist/esm/{suggestions-LO267l8F.js → suggestions-CY8BJMOa.js} +1 -1
  446. package/dist/esm/test-component.entry.js +1 -1
  447. package/dist/esm/{toggle-handler-mPlmvrq7.js → toggle-handler-ZMs2rBXc.js} +10 -12
  448. package/dist/esm/{unique-nav-labels-CxFUYSVY.js → unique-nav-labels-BV-M3fPR.js} +1 -1
  449. package/dist/esm/{unit-1ix-K9SD.js → unit-hmMwqE9a.js} +1 -1
  450. package/dist/esm/{validators-CTjxOidB.js → validators-BgDmq-Qt.js} +1 -1
  451. package/dist/esm/{value-string-CxDz7dhD.js → value-string-Dy8zJxlP.js} +1 -1
  452. package/dist/esm/{width-C1_yZHyL.js → width-BHn7XHj_.js} +1 -1
  453. package/dist/kolibri/Heading-BubZbykM.js +4 -0
  454. package/dist/kolibri/api-D0RNr-zh.js +4 -0
  455. package/dist/kolibri/app-globals-DYRte_jr.js +4 -0
  456. package/dist/kolibri/base-BP5SdLvQ.js +4 -0
  457. package/dist/kolibri/{base-BByRnpRm.js → base-BbGt9eYx.js} +1 -1
  458. package/dist/kolibri/base-CLsKm3-e.js +4 -0
  459. package/dist/kolibri/base-Cz00snD6.js +4 -0
  460. package/dist/kolibri/{base-web-component-CC_gpyDb.js → base-web-component-CYPdDdRn.js} +1 -1
  461. package/dist/kolibri/base-web-component-CdSFFCst.js +4 -0
  462. package/dist/kolibri/base-web-component-DP9_OPgV.js +4 -0
  463. package/dist/kolibri/{behavior-CKU2tmCj.js → behavior-B6y5Gofe.js} +1 -1
  464. package/dist/kolibri/{behavior-CsNDRS2z.js → behavior-BJR8CKBx.js} +1 -1
  465. package/dist/kolibri/{behavior-ewHvUWVk.js → behavior-DlH8byIw.js} +1 -1
  466. package/dist/kolibri/bem-registry-SKACeCny.js +4 -0
  467. package/dist/kolibri/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
  468. package/dist/kolibri/{color-D1gM-F2l.js → color-BbljGuAW.js} +1 -1
  469. package/dist/kolibri/component-6_YiKr2Z.js +4 -0
  470. package/dist/kolibri/{component-D6_K50vT.js → component-B8UMedaK.js} +1 -1
  471. package/dist/kolibri/component-CMHB3reH.js +4 -0
  472. package/dist/kolibri/component-CNgECeRi.js +4 -0
  473. package/dist/kolibri/{component-By8ggItU.js → component-CSsUaL_h.js} +1 -1
  474. package/dist/kolibri/component-CiJGQTU0.js +4 -0
  475. package/dist/kolibri/component-DEwcJKDA.js +4 -0
  476. package/dist/kolibri/component-NOe28NXD.js +4 -0
  477. package/dist/kolibri/component-ZdHnXLLI.js +4 -0
  478. package/dist/kolibri/component-bIIx1x7q.js +4 -0
  479. package/dist/kolibri/component-hiabKVP3.js +4 -0
  480. package/dist/kolibri/contrast-DtK0a6X2.js +4 -0
  481. package/dist/kolibri/{dev.utils-BwYCy1rP.js → dev.utils-B0t4rcBV.js} +1 -1
  482. package/dist/kolibri/{devtools-CGP3Nzsw.js → devtools-DuJRc6wJ.js} +1 -1
  483. package/dist/kolibri/disabled-B2o4Ctgy.js +4 -0
  484. package/dist/kolibri/field-control-C9dIXnES.js +4 -0
  485. package/dist/kolibri/group-DydT1Z92.js +4 -0
  486. package/dist/kolibri/has-closer-BrG00xL7.js +4 -0
  487. package/dist/kolibri/href-CfNF4pHX.js +4 -0
  488. package/dist/kolibri/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
  489. package/dist/kolibri/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +1 -1
  490. package/dist/kolibri/id-Bh4FF8c0.js +4 -0
  491. package/dist/kolibri/index-Bbr6Os1b.js +6 -0
  492. package/dist/kolibri/index.esm.js +1 -1
  493. package/dist/kolibri/input-C1YsxnDL.js +4 -0
  494. package/dist/kolibri/input-container-zXl_6y52.js +4 -0
  495. package/dist/kolibri/item-DXDEHrEg.js +4 -0
  496. package/dist/kolibri/item-Dms_59sU.js +4 -0
  497. package/dist/kolibri/item-hsQoejqZ.js +4 -0
  498. package/dist/kolibri/item-zXunNZh5.js +4 -0
  499. package/dist/kolibri/kol-abbr.entry.js +1 -1
  500. package/dist/kolibri/kol-accordion.entry.js +1 -1
  501. package/dist/kolibri/kol-alert.entry.js +1 -1
  502. package/dist/kolibri/kol-avatar.entry.js +1 -1
  503. package/dist/kolibri/kol-badge.entry.js +1 -1
  504. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  505. package/dist/kolibri/kol-button-link.entry.js +1 -1
  506. package/dist/kolibri/kol-button.entry.js +1 -1
  507. package/dist/kolibri/kol-card.entry.js +1 -1
  508. package/dist/kolibri/kol-combobox.entry.js +1 -1
  509. package/dist/kolibri/kol-details.entry.js +1 -1
  510. package/dist/kolibri/kol-dialog.entry.js +1 -1
  511. package/dist/kolibri/kol-drawer.entry.js +1 -1
  512. package/dist/kolibri/kol-form.entry.js +1 -1
  513. package/dist/kolibri/kol-heading.entry.js +1 -1
  514. package/dist/kolibri/kol-icon.entry.js +1 -1
  515. package/dist/kolibri/kol-image.entry.js +1 -1
  516. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  517. package/dist/kolibri/kol-input-color.entry.js +1 -1
  518. package/dist/kolibri/kol-input-date.entry.js +1 -1
  519. package/dist/kolibri/kol-input-email.entry.js +1 -1
  520. package/dist/kolibri/kol-input-file.entry.js +1 -1
  521. package/dist/kolibri/kol-input-number.entry.js +1 -1
  522. package/dist/kolibri/kol-input-password.entry.js +1 -1
  523. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  524. package/dist/kolibri/kol-input-range.entry.js +1 -1
  525. package/dist/kolibri/kol-input-text.entry.js +1 -1
  526. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  527. package/dist/kolibri/kol-link-button.entry.js +1 -1
  528. package/dist/kolibri/kol-link.entry.js +1 -1
  529. package/dist/kolibri/kol-meter.entry.js +1 -1
  530. package/dist/kolibri/kol-modal.entry.js +1 -1
  531. package/dist/kolibri/kol-nav.entry.js +1 -1
  532. package/dist/kolibri/kol-pagination.entry.js +1 -1
  533. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  534. package/dist/kolibri/kol-progress.entry.js +1 -1
  535. package/dist/kolibri/kol-quote.entry.js +1 -1
  536. package/dist/kolibri/kol-select.entry.js +1 -1
  537. package/dist/kolibri/kol-single-select.entry.js +1 -1
  538. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  539. package/dist/kolibri/kol-spin.entry.js +1 -1
  540. package/dist/kolibri/kol-split-button.entry.js +1 -1
  541. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  542. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  543. package/dist/kolibri/kol-tabs.entry.js +1 -1
  544. package/dist/kolibri/kol-textarea.entry.js +1 -1
  545. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  546. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  547. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  548. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  549. package/dist/kolibri/kol-tree.entry.js +1 -1
  550. package/dist/kolibri/kol-version.entry.js +1 -1
  551. package/dist/kolibri/kolibri.esm.js +1 -1
  552. package/dist/kolibri/label-BQVd3bkc.js +4 -0
  553. package/dist/kolibri/label-hints-CZGo9ZD5.js +4 -0
  554. package/dist/kolibri/label-lang-segment-C5LYGOHt.js +4 -0
  555. package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +4 -0
  556. package/dist/kolibri/level-BVXGgbSM.js +4 -0
  557. package/dist/kolibri/link-target-BWPSEd9a.js +4 -0
  558. package/dist/kolibri/{links-IkK4zoXw.js → links-BbsnNXfa.js} +1 -1
  559. package/dist/kolibri/multiple-S3Ol1G6Z.js +4 -0
  560. package/dist/kolibri/number-value-DmOl1z7z.js +4 -0
  561. package/dist/kolibri/open-DPP79Urq.js +4 -0
  562. package/dist/kolibri/{options-DwO32GBF.js → options-aA3M-QV2.js} +1 -1
  563. package/dist/kolibri/orientation-DlsgaY1v.js +4 -0
  564. package/dist/kolibri/placeholder-DlHbiVjz.js +4 -0
  565. package/dist/kolibri/props-from-config-BOUcpF7e.js +4 -0
  566. package/dist/kolibri/read-only-DSBWEPED.js +4 -0
  567. package/dist/kolibri/required-xw5BBPvV.js +4 -0
  568. package/dist/kolibri/resolve-props-CL8wxjtP.js +4 -0
  569. package/dist/kolibri/resolve-props-DAVb5BM3.js +4 -0
  570. package/dist/kolibri/rows-DRV8YlQv.js +4 -0
  571. package/dist/kolibri/scroll-lock-BxAe0gL5.js +4 -0
  572. package/dist/kolibri/{smart-button-DM5g48-g.js → smart-button-CQps8AlL.js} +1 -1
  573. package/dist/kolibri/spell-check-hy6xFhmT.js +4 -0
  574. package/dist/kolibri/src-AwoM1pRe.js +4 -0
  575. package/dist/kolibri/step-CopA0_m7.js +4 -0
  576. package/dist/kolibri/{suggestions-D0u80DtA.js → suggestions-BsiiaAxK.js} +1 -1
  577. package/dist/kolibri/{suggestions-LO267l8F.js → suggestions-CY8BJMOa.js} +1 -1
  578. package/dist/kolibri/test-component.entry.js +1 -1
  579. package/dist/kolibri/toggle-handler-ZMs2rBXc.js +4 -0
  580. package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +4 -0
  581. package/dist/kolibri/unit-hmMwqE9a.js +4 -0
  582. package/dist/kolibri/validators-BgDmq-Qt.js +4 -0
  583. package/dist/kolibri/value-string-Dy8zJxlP.js +4 -0
  584. package/dist/kolibri/{width-C1_yZHyL.js → width-BHn7XHj_.js} +1 -1
  585. package/dist/types/components/alert/component.d.ts +1 -0
  586. package/dist/types/components/input-date/component.d.ts +1 -1
  587. package/dist/types/components.d.ts +2 -2
  588. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  589. package/dist/types/internal/functional-components/button/item.d.ts +1 -1
  590. package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
  591. package/dist/types/internal/functional-components/pagination/item.d.ts +4 -2
  592. package/dist/types/schema/bem-registry.d.ts +40 -0
  593. package/doc/pagination.md +13 -13
  594. package/package.json +10 -5
  595. package/vscode-custom-data.json +1 -1
  596. package/dist/cjs/block-bem-BVBM34Tu.js +0 -18
  597. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  598. package/dist/cjs/component-CVLJJvvd.js +0 -53
  599. package/dist/cjs/component-DNQW0lG8.js +0 -18
  600. package/dist/cjs/component-DfGgpwuP.js +0 -20
  601. package/dist/cjs/input-CtqTozTO.js +0 -20
  602. package/dist/components/block-bem.js +0 -4
  603. package/dist/components/clsx.js +0 -4
  604. package/dist/components/component11.js +0 -4
  605. package/dist/esm/block-bem-D3ixJyOY.js +0 -16
  606. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  607. package/dist/esm/component-Ccv2lqNq.js +0 -16
  608. package/dist/esm/component-DAk3R8NN.js +0 -48
  609. package/dist/esm/component-EDDTMC-J.js +0 -18
  610. package/dist/esm/label-with-expert-slot-BbZ9nx0l.js +0 -12
  611. package/dist/kolibri/Heading-GZb1f2pZ.js +0 -4
  612. package/dist/kolibri/api-CBPlj155.js +0 -4
  613. package/dist/kolibri/app-globals-DRl9A82c.js +0 -4
  614. package/dist/kolibri/base-C7BBsrYZ.js +0 -4
  615. package/dist/kolibri/base-DO0KvOv9.js +0 -4
  616. package/dist/kolibri/base-Dtxcvto_.js +0 -4
  617. package/dist/kolibri/base-web-component-BxXLva5d.js +0 -4
  618. package/dist/kolibri/base-web-component-CfPyCJDJ.js +0 -4
  619. package/dist/kolibri/bem-registry-D1KgKnyz.js +0 -4
  620. package/dist/kolibri/block-bem-D3ixJyOY.js +0 -4
  621. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  622. package/dist/kolibri/component-6l69Jvwl.js +0 -4
  623. package/dist/kolibri/component-B3OziaRC.js +0 -4
  624. package/dist/kolibri/component-CF8uFG0A.js +0 -4
  625. package/dist/kolibri/component-Ccv2lqNq.js +0 -4
  626. package/dist/kolibri/component-Cmi6iGfA.js +0 -4
  627. package/dist/kolibri/component-D4-NVnsT.js +0 -4
  628. package/dist/kolibri/component-D6lo0LzE.js +0 -4
  629. package/dist/kolibri/component-D9NreIlK.js +0 -4
  630. package/dist/kolibri/component-DAk3R8NN.js +0 -4
  631. package/dist/kolibri/component-EDDTMC-J.js +0 -4
  632. package/dist/kolibri/contrast-BNoQruBh.js +0 -4
  633. package/dist/kolibri/disabled-BZXlWAgK.js +0 -4
  634. package/dist/kolibri/field-control-0TRmF7Ea.js +0 -4
  635. package/dist/kolibri/group-DapkT_Yh.js +0 -4
  636. package/dist/kolibri/has-closer-DUB0QcS9.js +0 -4
  637. package/dist/kolibri/href-CxokGOJ2.js +0 -4
  638. package/dist/kolibri/id-BI0ZuK17.js +0 -4
  639. package/dist/kolibri/index-DEcM8BEc.js +0 -6
  640. package/dist/kolibri/input-CDUCo1S5.js +0 -4
  641. package/dist/kolibri/input-container-BipAkWn4.js +0 -4
  642. package/dist/kolibri/item-B0oQTeju.js +0 -4
  643. package/dist/kolibri/item-Boe3t0Dm.js +0 -4
  644. package/dist/kolibri/item-BvnZc8uV.js +0 -4
  645. package/dist/kolibri/item-UgJ2uikD.js +0 -4
  646. package/dist/kolibri/label-B-Dr7VaP.js +0 -4
  647. package/dist/kolibri/label-hints-CLMiVvfk.js +0 -4
  648. package/dist/kolibri/label-lang-segment-iVD9hoM3.js +0 -4
  649. package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +0 -4
  650. package/dist/kolibri/level-DsQ_pcyD.js +0 -4
  651. package/dist/kolibri/link-target-D7lYILOV.js +0 -4
  652. package/dist/kolibri/multiple--ay1C1n3.js +0 -4
  653. package/dist/kolibri/number-value-Dl9-2O4r.js +0 -4
  654. package/dist/kolibri/open-CNHJhHsy.js +0 -4
  655. package/dist/kolibri/orientation-ChJ0S24M.js +0 -4
  656. package/dist/kolibri/placeholder-UxmBJ4Vl.js +0 -4
  657. package/dist/kolibri/props-from-config-ytxYrJUY.js +0 -4
  658. package/dist/kolibri/read-only-DytZ5HZJ.js +0 -4
  659. package/dist/kolibri/required-BriHhuO4.js +0 -4
  660. package/dist/kolibri/resolve-props-DTXKtzir.js +0 -4
  661. package/dist/kolibri/resolve-props-kM9N-fzf.js +0 -4
  662. package/dist/kolibri/rows-I1jrTjzU.js +0 -4
  663. package/dist/kolibri/scroll-lock-Bv-U2FHM.js +0 -4
  664. package/dist/kolibri/spell-check-BWCnJG5v.js +0 -4
  665. package/dist/kolibri/src-ziOwSglN.js +0 -4
  666. package/dist/kolibri/step-BcyhvRtu.js +0 -4
  667. package/dist/kolibri/toggle-handler-mPlmvrq7.js +0 -4
  668. package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +0 -4
  669. package/dist/kolibri/unit-1ix-K9SD.js +0 -4
  670. package/dist/kolibri/validators-CTjxOidB.js +0 -4
  671. package/dist/kolibri/value-string-CxDz7dhD.js +0 -4
@@ -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-DEcM8BEc.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 m}from"./label-B-Dr7VaP.js";import{b}from"./bem-registry-D1KgKnyz.js";import{I as p}from"./component-EDDTMC-J.js";import{L as f,l as h,a as u,d as g,b as y}from"./component-CF8uFG0A.js";import{r as _}from"./component-D9NreIlK.js";import{v}from"./access-and-short-key-ijzCZfHm.js";import{n as x}from"./dev.utils-BwYCy1rP.js";import{c as w}from"./element-interaction-sGYdEpmv.js";import{d as j,K as C}from"./events-CRHxtwup.js";import{a as z,b as T,c as B,h as D,s as L,i as G,d as I,t as O,e as K}from"./component-D4-NVnsT.js";import{d as P}from"./disabled-BZXlWAgK.js";import{h as Y}from"./href-CxokGOJ2.js";import{l as V}from"./label-with-expert-slot-BbZ9nx0l.js";import{l as F}from"./link-target-D7lYILOV.js";import{T as S}from"./behavior-CKU2tmCj.js";import{r as J,a as N}from"./unique-nav-labels-CxFUYSVY.js";import{o as U}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-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./component-D6_K50vT.js";import"./element-focus-BIRmGg5W.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-BI0ZuK17.js";import"./label-lang-segment-iVD9hoM3.js";const Z=c("KolBreadcrumb"),q={required:[Z,m]},E=b.forBlock("kol-breadcrumb"),H=E(),M=E("icon"),R=E("link"),W=E("list"),X=E("list-element"),A=E("list-element-span"),Q=E("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return o("nav",{class:H,"aria-label":t},o("ul",{class:W},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:X,key:i},i===n?o("span",{class:A,"aria-current":"page"},r._hideLabel?o(p,{class:M,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:R},o(f,Object.assign({},t.fcProps))),a&&o(p,{class:Q,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=q}watchLabel(o){this.applyLabel(o)}watchLinks(o){this.applyLinks(o)}componentWillLoad(){this.applyLabel(this._label,!0),this.applyLinks(this._links),this.unsubscribeOnLocationChange=U((o=>{this.linkItems=this.linkItems.map((e=>{var t;const i=o===e.fcProps.href&&null!==(t=e.fcProps.ariaCurrentValue)&&void 0!==t?t:"";return e.fcProps.ariaCurrent===i?e:Object.assign(Object.assign({},e),{fcProps:Object.assign(Object.assign({},e.fcProps),{ariaCurrent:i})})}))}))}componentDidRender(){this.linkItems.forEach((o=>o.syncTooltipListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.linkItems.forEach((o=>o.destroy())),J(this.getRenderProp("label"))}applyLabel(o,e=!1){e||J(this.getRenderProp("label")),m.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),a(o),N(this.getRenderProp("label"))}applyLinks(o){Z.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 S(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(z,o._accessKey),r(T,o._ariaControls),r(u,o._ariaCurrentValue),r(B,o._ariaDescription),r(P,o._disabled),r(g,o._download),r(D,o._hideLabel),r(Y,o._href),r(L,o._icons),r(G,null!==(t=o._inline)&&void 0!==t&&t),r(V,o._label),r(y,o._on),r(I,o._shortKey),"number"==typeof o._tabIndex&&r(O,o._tabIndex),r(F,o._target),r(K,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,C.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=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#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-Bbr6Os1b.js";import{s as l,b as a,X as r}from"./common-BdSzSIXg.js";import{B as s}from"./base-web-component-CYPdDdRn.js";import{c}from"./links-BbsnNXfa.js";import{B as d,t as k,d as m}from"./props-from-config-BOUcpF7e.js";import{l as b}from"./label-BQVd3bkc.js";import{b as p}from"./bem-registry-SKACeCny.js";import{I as f}from"./component-bIIx1x7q.js";import{L as h,l as u,a as g,d as y,b as _}from"./component-CiJGQTU0.js";import{r as v}from"./component-hiabKVP3.js";import{v as x}from"./access-and-short-key-ijzCZfHm.js";import{n as w}from"./dev.utils-B0t4rcBV.js";import{c as j}from"./element-interaction-sGYdEpmv.js";import{d as B,K as C}from"./events-CRHxtwup.js";import{a as z,b as T,c as G,h as L,s as D,i as P,d as I,t as O,e as S}from"./component-DEwcJKDA.js";import{d as F}from"./disabled-B2o4Ctgy.js";import{h as H}from"./href-CfNF4pHX.js";import{l as K}from"./label-with-expert-slot-D1tpX9DI.js";import{l as R}from"./link-target-BWPSEd9a.js";import{T as V}from"./behavior-B6y5Gofe.js";import{r as q,a as N}from"./unique-nav-labels-BV-M3fPR.js";import{o as Q}from"./ariaCurrentService-YoLNpD5S.js";import"./validators-BgDmq-Qt.js";import"./label-hints-CZGo9ZD5.js";import"./tslib.es6-QNbPBOk5.js";import"./i18n-BLkzMf6D.js";import"./i18n-BRgvVqCf.js";import"./component-B8UMedaK.js";import"./element-focus-BIRmGg5W.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-Bh4FF8c0.js";import"./label-lang-segment-C5LYGOHt.js";const U=c("KolBreadcrumb"),X={required:[U,b]},Y=p.forBlock("kol-breadcrumb"),E=Y("icon"),M=Y("link"),W=Y("list"),Z=Y("list-element"),A=Y("list-element-span"),J=Y("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return o(d,{component:"nav",block:"kol-breadcrumb","aria-label":t},o("ul",{class:W},0===i.length&&o("li",null,o(f,{class:"kol-breadcrumb_icon",icons:"kolicon-house",label:""}),"…"),i.map(((t,i)=>((t,i,n,l)=>{const a=l?i!==n:i<n-1;if(i===n&&!l)return o(e,null);const{link:r}=t;return o("li",{class:Z,key:i},i===n?o("span",{class:A,"aria-current":"page"},r._hideLabel?o(f,{class:E,icons:"string"==typeof r._icons?r._icons:"kolicon-link",label:r._label?k(r._label):r._href}):o(e,null,v(r._label))):o("div",{class:M},o(h,Object.assign({},t.fcProps))),a&&o(f,{class:J,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=X}watchLabel(o){this.applyLabel(o)}watchLinks(o){this.applyLinks(o)}componentWillLoad(){this.applyLabel(this._label,!0),this.applyLinks(this._links),this.unsubscribeOnLocationChange=Q((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())),q(this.getRenderProp("label"))}applyLabel(o,e=!1){e||q(this.getRenderProp("label")),b.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),a(o),N(this.getRenderProp("label"))}applyLinks(o){U.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 V(s.stateLess),n=j(),a=m(u);a.tabIndex=void 0;const r=(o,e)=>o.apply(e,(e=>{a[o.propName]=e}));return r(z,o._accessKey),r(T,o._ariaControls),r(g,o._ariaCurrentValue),r(G,o._ariaDescription),r(F,o._disabled),r(y,o._download),r(L,o._hideLabel),r(H,o._href),r(D,o._icons),r(P,null!==(t=o._inline)&&void 0!==t&&t),r(K,o._label),r(_,o._on),r(I,o._shortKey),"number"==typeof o._tabIndex&&r(O,o._tabIndex),r(R,o._target),r(S,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=w(),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&&B(s,C.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-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#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-DEcM8BEc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-BwYCy1rP.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-BByRnpRm.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-B3OziaRC.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./behavior-ewHvUWVk.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./behavior-CKU2tmCj.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=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#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 t,h as o,H as e,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-B0t4rcBV.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-BbGt9eYx.js";import"./common-BdSzSIXg.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-CYPdDdRn.js";import"./props-from-config-BOUcpF7e.js";import"./bem-registry-SKACeCny.js";import"./component-CNgECeRi.js";import"./component-DEwcJKDA.js";import"./validators-BgDmq-Qt.js";import"./component-B8UMedaK.js";import"./component-hiabKVP3.js";import"./component-bIIx1x7q.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./label-hints-CZGo9ZD5.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./component-names-Dhbtt0mX.js";import"./i18n-BRgvVqCf.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.js";import"./access-and-short-key-ijzCZfHm.js";import"./events-CRHxtwup.js";import"./controller-CZcQ57AP.js";const c=class extends s{constructor(o){super(),new.target===c&&t(this,o),this.ariaDescriptionId=a(),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(t){this.applyAccessKey(t,this._shortKey)}watchAriaControls(t){this.applyAriaControls(t)}watchAriaDescription(t){this.applyAriaDescription(t)}watchAriaExpanded(t){this.applyAriaExpanded(t)}watchAriaSelected(t){this.applyAriaSelected(t)}watchDisabled(t){this.applyDisabled(t)}watchHideLabel(t){this.applyHideLabel(t)}watchIcons(t){this.applyIcons(t)}watchInline(t){this.applyInline(t)}watchLabel(t){this.applyLabel(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRole(){}watchShortKey(t){this.applyShortKey(t,this._accessKey)}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchType(t){this.applyType(t)}watchValue(t){this.applyValue(t)}watchVariant(t){this.applyVariant(t)}getValue(){return Promise.resolve(this._value)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return o(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-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#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-DEcM8BEc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-BwYCy1rP.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-BByRnpRm.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-B3OziaRC.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./behavior-ewHvUWVk.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./behavior-CKU2tmCj.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=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#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-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as a}from"./dev.utils-B0t4rcBV.js";import{d as l,a as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-BbGt9eYx.js";import"./common-BdSzSIXg.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-CYPdDdRn.js";import"./props-from-config-BOUcpF7e.js";import"./bem-registry-SKACeCny.js";import"./component-CNgECeRi.js";import"./component-DEwcJKDA.js";import"./validators-BgDmq-Qt.js";import"./component-B8UMedaK.js";import"./component-hiabKVP3.js";import"./component-bIIx1x7q.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./label-hints-CZGo9ZD5.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./component-names-Dhbtt0mX.js";import"./i18n-BRgvVqCf.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.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-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#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-DEcM8BEc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as l,c as r}from"./dev.utils-BwYCy1rP.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-DAk3R8NN.js";import{T as m}from"./behavior-CKU2tmCj.js";import"./common-BdSzSIXg.js";import{l as b}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-DTXKtzir.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";import"./component-B3OziaRC.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./Heading-GZb1f2pZ.js";import"./tooltip-open-tracking-D3tCiiGP.js";class w extends h{constructor(){super(...arguments),this.ctaRef=a(),this.closeButtonRef=a(),this.tooltipBehavior=new m(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){b.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=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } }'};export{j as kol_card}
4
+ import{h as o,r as e,H as t,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{n as l,c as r}from"./dev.utils-B0t4rcBV.js";import{c as a,d as s,a as c}from"./element-interaction-sGYdEpmv.js";import{B as d}from"./base-web-component-CYPdDdRn.js";import{c as h,r as k,a as m,C as p}from"./component-6_YiKr2Z.js";import{T as b}from"./behavior-B6y5Gofe.js";import"./common-BdSzSIXg.js";import{l as f}from"./level-BVXGgbSM.js";import{h as u}from"./has-closer-BrG00xL7.js";import{h as g}from"./href-CfNF4pHX.js";import"./props-from-config-BOUcpF7e.js";import{l as v}from"./label-lang-segment-C5LYGOHt.js";import{l as _}from"./link-target-BWPSEd9a.js";import{d as y,K as w}from"./events-CRHxtwup.js";import"./element-focus-BIRmGg5W.js";import"./i18n-BLkzMf6D.js";import"./i18n-BRgvVqCf.js";import"./resolve-props-DAVb5BM3.js";import"./component-DEwcJKDA.js";import"./validators-BgDmq-Qt.js";import"./component-B8UMedaK.js";import"./bem-registry-SKACeCny.js";import"./component-hiabKVP3.js";import"./component-bIIx1x7q.js";import"./component-CNgECeRi.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./label-hints-CZGo9ZD5.js";import"./Heading-BubZbykM.js";import"./tooltip-open-tracking-D3tCiiGP.js";class x extends d{constructor(){super(...arguments),this.ctaRef=a(),this.closeButtonRef=a(),this.tooltipBehavior=new b(this.stateAccess),this.propsConfig=h,this.handleClose=()=>{var o,e;this.tooltipBehavior.hideTooltip(),null===(e=(o=this.getRenderProp("on")).onClose)||void 0===e||e.call(o,new Event("Close")),this.host&&y(this.host,w.close)},this.handleFocus=o=>{var e,t;null===(t=(e=this.getRenderProp("on")).onFocus)||void 0===t||t.call(e,o),this.host&&y(this.host,w.focus)},this.handleBlur=o=>{var e,t;null===(t=(e=this.getRenderProp("on")).onBlur)||void 0===t||t.call(e,o),this.host&&y(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){v.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}applyLevel(o){f.apply(o,(o=>this.setRenderProp("level",o)))}applyOn(o){m.apply(o,(o=>this.setRenderProp("on",o)))}applyTarget(o){_.apply(o,(o=>this.setRenderProp("target",o)))}renderCardFC(){return o(p,{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 C=class extends x{constructor(o){super(...arguments),new.target===C&&e(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(t,{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")],C.prototype,"focus",null),n([c("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-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } }'};export{C 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 i,g as e}from"./index-DEcM8BEc.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-BwYCy1rP.js";import{c as h}from"./element-focus-BIRmGg5W.js";import{d,a as b,c as m}from"./element-interaction-sGYdEpmv.js";import{c as p,K as u}from"./events-CRHxtwup.js";import{B as k}from"./component-B3OziaRC.js";import{c as f}from"./item-B0oQTeju.js";import"./common-BdSzSIXg.js";import{a as g,d as _,v as y}from"./component-D4-NVnsT.js";import{h as v,B as x,C as w,L as j,a as z}from"./group-DapkT_Yh.js";import{h as B,g as C,I as D}from"./input-container-BipAkWn4.js";import"./props-from-config-ytxYrJUY.js";import{p as K}from"./placeholder-UxmBJ4Vl.js";import{r as O}from"./required-BriHhuO4.js";import{s as T}from"./suggestions-LO267l8F.js";import{s as I}from"./value-string-CxDz7dhD.js";import{f as A,F as S}from"./api-CBPlj155.js";import{b as H}from"./bem-registry-D1KgKnyz.js";import{I as V}from"./component-EDDTMC-J.js";import{I as q}from"./input-CDUCo1S5.js";import"./i18n-4J6U3ZDc.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./component-D9NreIlK.js";import"./component-D6_K50vT.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-CKU2tmCj.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./resolve-props-DTXKtzir.js";import"./aria-labelledby-DqJY_4G-.js";import"./behavior-ewHvUWVk.js";import"./bootstrap-tgQ2nQQI.js";import"./item-Boe3t0Dm.js";import"./component-By8ggItU.js";import"./component-Cmi6iGfA.js";import"./Heading-GZb1f2pZ.js";const P={required:[...A.required,T],optional:[...A.optional,g,v,B,K,O,_,I,y]},F=H.forBlock("kol-combobox")("delete"),L=H.forBlock("kol-combobox-toggle")(),G=({disabled:t,expanded:i,handleClick:e,label:n,listboxId:s})=>o("button",{type:"button",tabIndex:-1,class:L,"aria-controls":s,"aria-expanded":i?"true":"false","aria-label":n,onClick:e,disabled:t,hidden:t},o(V,{icons:"kolicon-chevron-down",label:""})),M=class extends x{constructor(o){super(),new.target===M&&t(this,o),this.id=r("combobox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=m(),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){K.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){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){O.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(p(u.input,{name:i,value:o},this.ctaRef.el),o),this.handleChange(p(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(p(u.input,i,this.ctaRef.el),t),this.handleChange(p(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){T.apply(o,(o=>this.setRenderProp("suggestions",o)))}applyValue(o){null!=o&&I.apply(o,(o=>this.setRenderProp("value",o)))}render(){const t=!0===this.getRenderProp("disabled"),{startAdornment:e,endAdornment:n}=C({icons:this.getRenderProp("icons")});return o(i,{key:"0c05822b15984bdc3532b9a79fb5c059de9bff57"},o(S,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(q,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:F,hidden:t,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),o(G,{key:"606aa1a136ee653ccdc5d08f0bc7c63345956f7c",disabled:t,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:c(this.id,"listbox")})),o(z,{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")],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=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#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 e,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{t as s}from"./i18n-BLkzMf6D.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{e as a}from"./props-from-config-BOUcpF7e.js";import{c as r,a as c}from"./dev.utils-B0t4rcBV.js";import{c as h}from"./element-focus-BIRmGg5W.js";import{d,a as b,c as m}from"./element-interaction-sGYdEpmv.js";import{c as u,K as k}from"./events-CRHxtwup.js";import{B as p}from"./component-CNgECeRi.js";import{c as f}from"./item-hsQoejqZ.js";import"./common-BdSzSIXg.js";import{a as g,d as _,v}from"./component-DEwcJKDA.js";import{h as y,B as x,C as w,L as j,a as z}from"./group-DydT1Z92.js";import{h as B,g as C,I as D}from"./input-container-zXl_6y52.js";import{p as O}from"./placeholder-DlHbiVjz.js";import{r as K}from"./required-xw5BBPvV.js";import{s as T}from"./suggestions-CY8BJMOa.js";import{s as I}from"./value-string-Dy8zJxlP.js";import{f as S,F as A}from"./api-D0RNr-zh.js";import{b as H}from"./bem-registry-SKACeCny.js";import{I as q}from"./component-bIIx1x7q.js";import{I as L}from"./input-C1YsxnDL.js";import"./i18n-BRgvVqCf.js";import"./component-hiabKVP3.js";import"./component-B8UMedaK.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./validators-BgDmq-Qt.js";import"./label-hints-CZGo9ZD5.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./base-web-component-CYPdDdRn.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.js";import"./resolve-props-DAVb5BM3.js";import"./aria-labelledby-DqJY_4G-.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./item-Dms_59sU.js";import"./component-CSsUaL_h.js";import"./component-ZdHnXLLI.js";import"./Heading-BubZbykM.js";const P={required:[...S.required,T],optional:[...S.optional,g,y,B,O,K,_,I,v]},V=H.forBlock("kol-combobox")("delete"),F=H.forBlock("kol-combobox-toggle")(),G=({disabled:t,expanded:e,handleClick:i,label:n,listboxId:s})=>o("button",{type:"button",tabIndex:-1,class:F,"aria-controls":s,"aria-expanded":e?"true":"false","aria-label":n,onClick:i,disabled:t,hidden:t},o(q,{icons:"kolicon-chevron-down",label:""})),M=class extends x{constructor(o){super(),new.target===M&&t(this,o),this.id=r("combobox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=m(),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){K.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(k.input,{name:e,value:o},this.ctaRef.el),o),this.handleChange(u(k.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(k.input,e,this.ctaRef.el),t),this.handleChange(u(k.change,e,this.ctaRef.el),t),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(t)}getInputProps(){const{ariaDescribedBy:o,hasError:t}=this.getAria(),e=this.id,i=!0===this.getRenderProp("disabled"),n=this.getRenderProp("accessKey")||void 0,s=this.getRenderProp("placeholder"),l=this.getRenderProp("shortKey")||void 0,a=this.getRenderProp("hideLabel"),r=this.getRenderProp("label");return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:a,label:r,disabled:i,name:this.getRenderProp("name")||void 0},n?{accessKey:n}:{}),{value:this.getRenderProp("value"),required:this.getRenderProp("required")}),s?{placeholder:s}:{}),{touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),{ref:this.ctaRef,class:"kol-combobox__input",type:"text",role:"combobox","aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":"list","aria-controls":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){T.apply(o,(o=>this.setRenderProp("suggestions",o)))}applyValue(o){null!=o&&I.apply(o,(o=>this.setRenderProp("value",o)))}render(){const t=!0===this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=C({icons:this.getRenderProp("icons")});return o(e,{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:i,endAdornment:n},o(j,{key:"8f6c478ef7575f0048b29a0c3c0b2d7d6f0bc955",block:"kol-combobox"},o(L,Object.assign({key:"fd611d1eac02a9506f3ae771722fabae0fdd3d80"},this.getInputProps())),this.getRenderProp("value")&&this.getRenderProp("hasClearButton")&&o(p,Object.assign({key:"4f2a719306f763c44fa0db9a41eea881a8ef6c7a"},this.clearButton.getFcProps({_icons:"kolicon-cross",_label:this.translateDeleteSelection,_hideLabel:!0,_variant:"ghost",_disabled:t,_on:{onClick:()=>{this.clearSelection()}}},{class:V,hidden:t,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),o(G,{key:"606aa1a136ee653ccdc5d08f0bc7c63345956f7c",disabled:t,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:c(this.id,"listbox")})),o(z,{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 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-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#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}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as e,h as o,H as t,g as i}from"./index-DEcM8BEc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as l}from"./common-BdSzSIXg.js";import{B as a}from"./base-web-component-CC_gpyDb.js";import{D as r,c as s,a as c,b as d,d as h,C as k}from"./toggle-handler-mPlmvrq7.js";import{l as b}from"./level-DsQ_pcyD.js";import{d as p}from"./disabled-BZXlWAgK.js";import"./props-from-config-ytxYrJUY.js";import{l as f}from"./label-lang-segment-iVD9hoM3.js";import{o as m}from"./open-CNHJhHsy.js";import{c as u,a as g}from"./dev.utils-BwYCy1rP.js";import{d as _,a as y,c as w}from"./element-interaction-sGYdEpmv.js";import"./Heading-GZb1f2pZ.js";import"./clsx-COFh-Vc8.js";import"./block-bem-D3ixJyOY.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./component-EDDTMC-J.js";import"./events-CRHxtwup.js";import"./label-hints-CLMiVvfk.js";import"./element-focus-BIRmGg5W.js";const v=class extends a{constructor(o){super(...arguments),new.target===v&&e(this,o),this.detailsId=u("details"),this.controlId=g(this.detailsId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=g(this.detailsId,"heading"),this.transitionMs=r,this.ctaRef=w((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:e=>this.detailsOpen=e,setExpanded:e=>this.expanded=e}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:e=>this._open=e}),this.propsConfig=d,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(e){p.apply(e,(e=>this.setRenderProp("disabled",e)))}watchLabel(e){f.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchLevel(e){b.apply(e,(e=>this.setRenderProp("level",e)))}watchOn(e){h.apply(e,(e=>this.setRenderProp("on",e)))}watchOpen(e){m.apply(e,(e=>{this.setRenderProp("open",e),this.openAnimation.syncOpen(e,this.hasLoaded)}))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){var e;this.transitionMs=null!==(e=l("collapsibleTransitionMs",this.host))&&void 0!==e?e:r,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return o(t,{key:"b5a35968058d7262f0d4fc0f1d13b49e02f4033e"},o(k,{key:"f82fdcb5684df1d8d2182fd142c41941a53350c3",block:"kol-details",contentClass:"indented-text",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:"kolicon-chevron-right",label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),open:this.getRenderProp("open"),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},o("slot",{key:"33775c434926dcb6dfa6471c80f39ffe5aabc29c"})))}get host(){return i(this)}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}};n([_("ctaRef")],v.prototype,"focus",null),n([y("ctaRef")],v.prototype,"click",null),v.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=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#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 { :host { display: inline-block; } .kol-details { } .kol-details__heading { display: flex; min-height: var(--a11y-min-size); } .kol-details__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-details__heading { } .kol-details__heading::before { content: "​"; } .kol-details__heading { } .kol-details__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-details__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-details__wrapper-animation, .kol-details__wrapper { transition: none !important; } } .kol-details { } @media print { .kol-details:not(.kol-details--open) .kol-details__wrapper-animation { display: none; } } .kol-details__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-details__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-details--open .kol-details__wrapper { grid-template-rows: 1fr; } .kol-details--open .kol-details__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-details--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-details--open .kol-details__heading .kol-icon { transform: rotate(90deg); } }'};export{v as kol_details}
4
+ import{r as e,h as o,H as t,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as a}from"./common-BdSzSIXg.js";import{B as l}from"./base-web-component-CYPdDdRn.js";import{D as r,c as s,a as c,b as d,d as h,C as b}from"./toggle-handler-ZMs2rBXc.js";import{l as k}from"./level-BVXGgbSM.js";import{d as p}from"./disabled-B2o4Ctgy.js";import"./props-from-config-BOUcpF7e.js";import{l as f}from"./label-lang-segment-C5LYGOHt.js";import{o as m}from"./open-DPP79Urq.js";import{c as u,a as g}from"./dev.utils-B0t4rcBV.js";import{d as _,a as y,c as v}from"./element-interaction-sGYdEpmv.js";import"./Heading-BubZbykM.js";import"./component-hiabKVP3.js";import"./bem-registry-SKACeCny.js";import"./component-bIIx1x7q.js";import"./events-CRHxtwup.js";import"./label-hints-CZGo9ZD5.js";import"./element-focus-BIRmGg5W.js";const w=class extends l{constructor(o){super(...arguments),new.target===w&&e(this,o),this.detailsId=u("details"),this.controlId=g(this.detailsId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=g(this.detailsId,"heading"),this.transitionMs=r,this.ctaRef=v((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:e=>this.detailsOpen=e,setExpanded:e=>this.expanded=e}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:e=>this._open=e}),this.propsConfig=d,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(e){p.apply(e,(e=>this.setRenderProp("disabled",e)))}watchLabel(e){f.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchLevel(e){k.apply(e,(e=>this.setRenderProp("level",e)))}watchOn(e){h.apply(e,(e=>this.setRenderProp("on",e)))}watchOpen(e){m.apply(e,(e=>{this.setRenderProp("open",e),this.openAnimation.syncOpen(e,this.hasLoaded)}))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){var e;this.transitionMs=null!==(e=a("collapsibleTransitionMs",this.host))&&void 0!==e?e:r,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return o(t,{key:"b5a35968058d7262f0d4fc0f1d13b49e02f4033e"},o(b,{key:"f82fdcb5684df1d8d2182fd142c41941a53350c3",block:"kol-details",contentClass:"indented-text",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:"kolicon-chevron-right",label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),open:this.getRenderProp("open"),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},o("slot",{key:"33775c434926dcb6dfa6471c80f39ffe5aabc29c"})))}get host(){return i(this)}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}};n([_("ctaRef")],w.prototype,"focus",null),n([y("ctaRef")],w.prototype,"click",null),w.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-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#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 { :host { display: inline-block; } .kol-details { } .kol-details__heading { display: flex; min-height: var(--a11y-min-size); } .kol-details__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-details__heading { } .kol-details__heading::before { content: "​"; } .kol-details__heading { } .kol-details__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-details__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-details__wrapper-animation, .kol-details__wrapper { transition: none !important; } } .kol-details { } @media print { .kol-details:not(.kol-details--open) .kol-details__wrapper-animation { display: none; } } .kol-details__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-details__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-details--open .kol-details__wrapper { grid-template-rows: 1fr; } .kol-details--open .kol-details__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-details--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-details--open .kol-details__heading .kol-icon { transform: rotate(90deg); } }'};export{w as kol_details}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as o,h as e,H as t,g as i}from"./index-DEcM8BEc.js";import{n,c as l}from"./dev.utils-BwYCy1rP.js";import{B as r}from"./base-Dtxcvto_.js";import"./common-BdSzSIXg.js";import"./base-web-component-CC_gpyDb.js";import"./props-from-config-ytxYrJUY.js";import"./component-DAk3R8NN.js";import"./i18n-ePBcLlCr.js";import"./i18n-4J6U3ZDc.js";import"./resolve-props-DTXKtzir.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";import"./component-B3OziaRC.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./Heading-GZb1f2pZ.js";import"./level-DsQ_pcyD.js";import"./has-closer-DUB0QcS9.js";import"./href-CxokGOJ2.js";import"./label-lang-segment-iVD9hoM3.js";import"./link-target-D7lYILOV.js";import"./width-C1_yZHyL.js";import"./scroll-lock-Bv-U2FHM.js";import"./behavior-CKU2tmCj.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./events-CRHxtwup.js";const a=class extends r{constructor(e){super(...arguments),new.target===a&&o(this,e),this.ariaDescriptionId=n(),this.headingId=l("dialog-heading"),this.modal=!0,this._level=0,this._on=void 0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchLevel(o){this.applyLevel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(o=!1){return this.showDialog(o),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){return await this.close(),Promise.resolve()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"77a90db335d0d9d277fc8acd3fde91e3ac0a7309"},this.renderDialogFC())}get host(){return i(this)}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}};a.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=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'};export{a as kol_dialog}
4
+ import{r as o,h as e,H as t,g as i}from"./index-Bbr6Os1b.js";import{n,c as l}from"./dev.utils-B0t4rcBV.js";import{B as r}from"./base-CLsKm3-e.js";import"./common-BdSzSIXg.js";import"./base-web-component-CYPdDdRn.js";import"./props-from-config-BOUcpF7e.js";import"./bem-registry-SKACeCny.js";import"./component-6_YiKr2Z.js";import"./i18n-BLkzMf6D.js";import"./i18n-BRgvVqCf.js";import"./resolve-props-DAVb5BM3.js";import"./component-DEwcJKDA.js";import"./validators-BgDmq-Qt.js";import"./component-B8UMedaK.js";import"./component-hiabKVP3.js";import"./tslib.es6-QNbPBOk5.js";import"./component-bIIx1x7q.js";import"./component-CNgECeRi.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./label-hints-CZGo9ZD5.js";import"./Heading-BubZbykM.js";import"./level-BVXGgbSM.js";import"./has-closer-BrG00xL7.js";import"./href-CfNF4pHX.js";import"./label-lang-segment-C5LYGOHt.js";import"./link-target-BWPSEd9a.js";import"./width-BHn7XHj_.js";import"./scroll-lock-BxAe0gL5.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./events-CRHxtwup.js";const a=class extends r{constructor(e){super(...arguments),new.target===a&&o(this,e),this.ariaDescriptionId=n(),this.headingId=l("dialog-heading"),this.modal=!0,this._level=0,this._on=void 0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchLevel(o){this.applyLevel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(o=!1){return this.showDialog(o),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){return await this.close(),Promise.resolve()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"77a90db335d0d9d277fc8acd3fde91e3ac0a7309"},this.renderDialogFC())}get host(){return i(this)}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}};a.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-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'};export{a as kol_dialog}