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

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 (1160) 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 +24 -24
  7. package/dist/cjs/{Heading-CnnBHLhu.js → Heading-DgfHX8iO.js} +2 -2
  8. package/dist/cjs/{api-C-uDDxcA.js → api-Bco3zhNl.js} +30 -30
  9. package/dist/cjs/{app-globals-BfpVa0Lg.js → app-globals-BfjEc9BA.js} +5 -5
  10. package/dist/cjs/{base-BZ3x1Yaj.js → base-BlhVYuZN.js} +14 -14
  11. package/dist/cjs/{base-CeaAJa72.js → base-CaTF8Lsq.js} +10 -10
  12. package/dist/cjs/{base-BIbzHEVE.js → base-CaYE9fE3.js} +70 -36
  13. package/dist/cjs/{base-Cc2tyQoy.js → base-DRkg3lke.js} +13 -13
  14. package/dist/cjs/{base-web-component-B_zszxEg.js → base-web-component-BF8Oc_jN.js} +1 -1
  15. package/dist/cjs/{base-web-component-Dk-So1FD.js → base-web-component-CBcdTiXS.js} +11 -11
  16. package/dist/cjs/{base-web-component-CpqYvVDi.js → base-web-component-CZJc9Ld3.js} +15 -15
  17. package/dist/cjs/{behavior--ZjzmIB4.js → behavior-BsDVus9x.js} +9 -9
  18. package/dist/cjs/{behavior-cEIf2evT.js → behavior-DnJZI13z.js} +9 -9
  19. package/dist/cjs/{behavior-CYg7XOXd.js → behavior-OgRkvokv.js} +6 -6
  20. package/dist/cjs/{bem-registry-CtnO3zCW.js → bem-registry-_oyuMzRs.js} +2 -2
  21. package/dist/cjs/{bootstrap-DOzWgRGX.js → bootstrap-jLvMy9on.js} +5 -5
  22. package/dist/cjs/{color-BJ776mPh.js → color-CBtx0JEd.js} +4 -4
  23. package/dist/cjs/{component-DwuAKOV_.js → component-6M5X_cZt.js} +6 -6
  24. package/dist/cjs/{component-5ABjFE_U.js → component-BG4f8vbN.js} +6 -6
  25. package/dist/cjs/{component-C_9WksgV.js → component-BZT4ABhJ.js} +14 -14
  26. package/dist/cjs/{component-BacsMsF-.js → component-Bf1srWgT.js} +4 -4
  27. package/dist/cjs/{component-Ddp-Luc6.js → component-CYZ74d6d.js} +9 -9
  28. package/dist/cjs/{component-BSx0ZVSD.js → component-CZATN7e7.js} +10 -10
  29. package/dist/cjs/component-CcR692_g.js +178 -0
  30. package/dist/cjs/{component-BTfaB8W5.js → component-DD4gW4Wv.js} +3 -3
  31. package/dist/cjs/{component-D65WOH6c.js → component-DELokt1e.js} +7 -7
  32. package/dist/cjs/{component-DuknrIKz.js → component-G9OBs93q.js} +15 -15
  33. package/dist/cjs/{component-DVf7tz1e.js → component-b8Mw23VK.js} +5 -5
  34. package/dist/cjs/{contrast-DrGTr5zd.js → contrast-Dq0rQJv4.js} +5 -5
  35. package/dist/cjs/{controller-D66Eq44x.js → controller-CYSgD2og.js} +16 -16
  36. package/dist/cjs/{dev.utils-EwVibOKw.js → dev.utils-DbZjSMB_.js} +10 -10
  37. package/dist/cjs/{devtools-CEqUJI9f.js → devtools-Cf9tA39t.js} +24 -24
  38. package/dist/cjs/{disabled-DBnI2OR4.js → disabled-iY2F8CXF.js} +1 -1
  39. package/dist/cjs/{field-control-Jhzreo_j.js → field-control-C23Zk-tt.js} +8 -8
  40. package/dist/cjs/{group-DDmENjNB.js → group-CLctawrF.js} +5 -5
  41. package/dist/cjs/{has-closer-DIk_toj-.js → has-closer-DmnD5ziV.js} +1 -1
  42. package/dist/cjs/{href-_UE7179j.js → href-CPwjE6oZ.js} +1 -1
  43. package/dist/cjs/{i18n-4lKONPdP.js → i18n--y6dSQBm.js} +3 -3
  44. package/dist/cjs/{i18n-CuXZ7SEi.js → i18n-bT7xr2k5.js} +4 -4
  45. package/dist/cjs/{id-JbinnWCW.js → id-hO96Hkhh.js} +1 -1
  46. package/dist/cjs/{index-P8gY4ccL.js → index-B302UiQS.js} +2 -2
  47. package/dist/cjs/index.cjs.js +11 -11
  48. package/dist/cjs/{input-BYfPasa5.js → input-CypPMvU-.js} +5 -5
  49. package/dist/cjs/{input-container-BQlNjdk3.js → input-container-jziuknSu.js} +16 -16
  50. package/dist/cjs/{item-DSSJt2YS.js → item-BkH81iun.js} +8 -8
  51. package/dist/cjs/{item-C6gnuMjx.js → item-DO5SWoIT.js} +8 -8
  52. package/dist/cjs/{item-Dgikq96R.js → item-DyUR8LQP.js} +24 -24
  53. package/dist/cjs/{item-CvvVUcQZ.js → item-FIjcvq4Y.js} +14 -14
  54. package/dist/cjs/kol-abbr.cjs.entry.js +8 -8
  55. package/dist/cjs/kol-accordion.cjs.entry.js +18 -18
  56. package/dist/cjs/kol-alert.cjs.entry.js +27 -27
  57. package/dist/cjs/kol-avatar.cjs.entry.js +17 -20
  58. package/dist/cjs/kol-badge.cjs.entry.js +29 -29
  59. package/dist/cjs/kol-breadcrumb.cjs.entry.js +33 -33
  60. package/dist/cjs/kol-button-link.cjs.entry.js +26 -26
  61. package/dist/cjs/kol-button.cjs.entry.js +26 -26
  62. package/dist/cjs/kol-card.cjs.entry.js +57 -96
  63. package/dist/cjs/kol-combobox.cjs.entry.js +77 -77
  64. package/dist/cjs/kol-details.cjs.entry.js +18 -18
  65. package/dist/cjs/kol-dialog.cjs.entry.js +33 -33
  66. package/dist/cjs/kol-drawer.cjs.entry.js +32 -32
  67. package/dist/cjs/kol-form.cjs.entry.js +28 -28
  68. package/dist/cjs/kol-heading.cjs.entry.js +15 -15
  69. package/dist/cjs/kol-icon.cjs.entry.js +12 -12
  70. package/dist/cjs/kol-image.cjs.entry.js +20 -20
  71. package/dist/cjs/kol-input-checkbox.cjs.entry.js +70 -70
  72. package/dist/cjs/kol-input-color.cjs.entry.js +57 -57
  73. package/dist/cjs/kol-input-date.cjs.entry.js +70 -70
  74. package/dist/cjs/kol-input-email.cjs.entry.js +75 -75
  75. package/dist/cjs/kol-input-file.cjs.entry.js +52 -52
  76. package/dist/cjs/kol-input-number.cjs.entry.js +72 -72
  77. package/dist/cjs/kol-input-password.cjs.entry.js +74 -74
  78. package/dist/cjs/kol-input-radio.cjs.entry.js +53 -53
  79. package/dist/cjs/kol-input-range.cjs.entry.js +58 -58
  80. package/dist/cjs/kol-input-text.cjs.entry.js +87 -87
  81. package/dist/cjs/kol-kolibri.cjs.entry.js +8 -8
  82. package/dist/cjs/kol-link-button.cjs.entry.js +36 -36
  83. package/dist/cjs/kol-link.cjs.entry.js +34 -34
  84. package/dist/cjs/kol-meter.cjs.entry.js +19 -25
  85. package/dist/cjs/kol-modal.cjs.entry.js +33 -33
  86. package/dist/cjs/kol-nav.cjs.entry.js +38 -38
  87. package/dist/cjs/kol-pagination.cjs.entry.js +57 -57
  88. package/dist/cjs/kol-popover-button.cjs.entry.js +60 -95
  89. package/dist/cjs/kol-progress.cjs.entry.js +18 -21
  90. package/dist/cjs/kol-quote.cjs.entry.js +13 -13
  91. package/dist/cjs/kol-select.cjs.entry.js +63 -63
  92. package/dist/cjs/kol-single-select.cjs.entry.js +78 -78
  93. package/dist/cjs/kol-skip-nav.cjs.entry.js +32 -32
  94. package/dist/cjs/kol-spin.cjs.entry.js +23 -23
  95. package/dist/cjs/kol-split-button.cjs.entry.js +30 -30
  96. package/dist/cjs/kol-table-stateful.cjs.entry.js +112 -101
  97. package/dist/cjs/kol-table-stateless.cjs.entry.js +55 -55
  98. package/dist/cjs/kol-tabs.cjs.entry.js +36 -36
  99. package/dist/cjs/kol-textarea.cjs.entry.js +70 -70
  100. package/dist/cjs/kol-toast-container.cjs.entry.js +22 -22
  101. package/dist/cjs/kol-toolbar.cjs.entry.js +45 -45
  102. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +13 -13
  103. package/dist/cjs/kol-tree-item.cjs.entry.js +31 -31
  104. package/dist/cjs/kol-tree.cjs.entry.js +10 -10
  105. package/dist/cjs/kol-version.cjs.entry.js +23 -23
  106. package/dist/cjs/kolibri.cjs.js +4 -4
  107. package/dist/cjs/{label-BAULqhwq.js → label-D2VlEzVW.js} +3 -3
  108. package/dist/cjs/{label-hints-BHw-UcMt.js → label-hints-CeYTIMWM.js} +4 -4
  109. package/dist/cjs/{label-lang-segment-D_UYFhgr.js → label-lang-segment-n4JXXvXq.js} +2 -2
  110. package/dist/cjs/{label-with-expert-slot-XZTOiRp-.js → label-with-expert-slot-BMZi_Wf-.js} +3 -3
  111. package/dist/cjs/{level-CaJUuMiH.js → level-zFWeAW3T.js} +1 -1
  112. package/dist/cjs/{link-target-EZq24qVX.js → link-target-CHHUlWut.js} +1 -1
  113. package/dist/cjs/{links-CNPivOpm.js → links-DNq836FP.js} +3 -3
  114. package/dist/cjs/loader.cjs.js +4 -4
  115. package/dist/cjs/{multiple-D4ktp4Q2.js → multiple-CqTw5Zl-.js} +1 -1
  116. package/dist/cjs/{number-value-BzIR1UvL.js → number-value-CI4C8lZR.js} +3 -2
  117. package/dist/cjs/{open-BYh5VAA1.js → open-CMvvGqsm.js} +1 -1
  118. package/dist/cjs/{options-DkF38kx_.js → options-TlEddxWf.js} +3 -3
  119. package/dist/cjs/{orientation-D4yopkvP.js → orientation-Bw6xTtO9.js} +1 -1
  120. package/dist/cjs/{placeholder-CZOGOuLS.js → placeholder-DuCgyrEW.js} +1 -1
  121. package/dist/cjs/{common-CzGJx0nT.js → prop.validators-C4SLGjLp.js} +24 -91
  122. package/dist/cjs/{props-from-config-CiU21EHb.js → props-from-config-DaGKZuLa.js} +66 -71
  123. package/dist/cjs/{read-only-PNG5jHgh.js → read-only-5clAe4ux.js} +1 -1
  124. package/dist/cjs/{required-mj54_vO_.js → required-G3fEcN7P.js} +1 -1
  125. package/dist/cjs/{resolve-props-CH6OL2es.js → resolve-props-Bbb07BLa.js} +8 -8
  126. package/dist/cjs/{resolve-props-DOnocHFi.js → resolve-props-Csah9JNe.js} +8 -8
  127. package/dist/cjs/{rows-YaAnXjAm.js → rows-DTo_lgOT.js} +1 -1
  128. package/dist/cjs/{scroll-lock-D3pgiG8q.js → scroll-lock-BhxtYYKV.js} +3 -3
  129. package/dist/cjs/{smart-button-BU7mWP5H.js → smart-button-BN5aGm8g.js} +3 -3
  130. package/dist/cjs/{spell-check-CZWiLkQE.js → spell-check-Dv6XW8fA.js} +1 -1
  131. package/dist/cjs/{src-rB2yGTSn.js → src-BaxsjPdd.js} +1 -1
  132. package/dist/cjs/{step-Bo6ILIqa.js → step-yJC7o2qO.js} +1 -1
  133. package/dist/cjs/{suggestions-Ca575hi-.js → suggestions-Bk2UPut-.js} +3 -3
  134. package/dist/cjs/{suggestions-BO4EvOXc.js → suggestions-Bn2BAzI8.js} +4 -4
  135. package/dist/cjs/test-component.cjs.entry.js +2 -2
  136. package/dist/cjs/{toggle-handler-ByJYSOdb.js → toggle-handler-BXGDSkBB.js} +9 -9
  137. package/dist/cjs/{unique-nav-labels-_EHPpYUR.js → unique-nav-labels-CNsmbg7l.js} +3 -3
  138. package/dist/cjs/{unit-Bl0Lyk08.js → unit-Zuxajtin.js} +1 -1
  139. package/dist/cjs/{validators-rLs6tEWo.js → validators-DRNw98Il.js} +1 -1
  140. package/dist/cjs/{value-string-BKsvZy1q.js → value-string-BEW6PiK0.js} +1 -1
  141. package/dist/cjs/{width-DegQFxQB.js → width-BMlp2iV4.js} +1 -1
  142. package/dist/collection/components/abbr/component.js +1 -1
  143. package/dist/collection/components/accordion/component.js +1 -1
  144. package/dist/collection/components/accordion/style.css +2 -2
  145. package/dist/collection/components/alert/component.js +3 -3
  146. package/dist/collection/components/alert/style.css +2 -2
  147. package/dist/collection/components/avatar/component.js +4 -7
  148. package/dist/collection/components/badge/component.js +4 -4
  149. package/dist/collection/components/badge/style.css +2 -2
  150. package/dist/collection/components/breadcrumb/component.js +3 -3
  151. package/dist/collection/components/breadcrumb/style.css +2 -2
  152. package/dist/collection/components/button/base.js +1 -1
  153. package/dist/collection/components/button/component.js +3 -3
  154. package/dist/collection/components/button/style.css +2 -2
  155. package/dist/collection/components/button-link/component.js +3 -3
  156. package/dist/collection/components/button-link/style.css +2 -2
  157. package/dist/collection/components/card/component.js +53 -18
  158. package/dist/collection/components/card/style.css +2 -2
  159. package/dist/collection/components/combobox/component.js +115 -115
  160. package/dist/collection/components/combobox/style.css +2 -2
  161. package/dist/collection/components/details/component.js +1 -1
  162. package/dist/collection/components/details/style.css +2 -2
  163. package/dist/collection/components/dialog/component.js +5 -5
  164. package/dist/collection/components/dialog/style.css +2 -2
  165. package/dist/collection/components/drawer/component.js +3 -3
  166. package/dist/collection/components/drawer/style.css +2 -2
  167. package/dist/collection/components/form/component.js +3 -3
  168. package/dist/collection/components/form/style.css +2 -2
  169. package/dist/collection/components/heading/component.js +4 -4
  170. package/dist/collection/components/icon/component.js +3 -3
  171. package/dist/collection/components/icon/style.css +2 -2
  172. package/dist/collection/components/image/component.js +39 -39
  173. package/dist/collection/components/input-checkbox/component.js +111 -111
  174. package/dist/collection/components/input-checkbox/style.css +2 -2
  175. package/dist/collection/components/input-color/component.js +39 -39
  176. package/dist/collection/components/input-color/style.css +2 -2
  177. package/dist/collection/components/input-date/component.js +78 -78
  178. package/dist/collection/components/input-date/style.css +2 -2
  179. package/dist/collection/components/input-email/component.js +86 -86
  180. package/dist/collection/components/input-email/style.css +2 -2
  181. package/dist/collection/components/input-file/component.js +34 -34
  182. package/dist/collection/components/input-file/style.css +2 -2
  183. package/dist/collection/components/input-number/component.js +68 -68
  184. package/dist/collection/components/input-number/style.css +2 -2
  185. package/dist/collection/components/input-password/component.js +87 -87
  186. package/dist/collection/components/input-password/style.css +2 -2
  187. package/dist/collection/components/input-radio/component.js +36 -36
  188. package/dist/collection/components/input-radio/style.css +2 -2
  189. package/dist/collection/components/input-range/component.js +39 -39
  190. package/dist/collection/components/input-range/style.css +2 -2
  191. package/dist/collection/components/input-text/component.js +145 -145
  192. package/dist/collection/components/input-text/style.css +2 -2
  193. package/dist/collection/components/kolibri/component.js +1 -1
  194. package/dist/collection/components/link/base.js +1 -1
  195. package/dist/collection/components/link/component.js +26 -26
  196. package/dist/collection/components/link/style.css +2 -2
  197. package/dist/collection/components/link-button/component.js +27 -27
  198. package/dist/collection/components/link-button/style.css +2 -2
  199. package/dist/collection/components/meter/component.js +6 -12
  200. package/dist/collection/components/modal/component.js +5 -5
  201. package/dist/collection/components/modal/style.css +2 -2
  202. package/dist/collection/components/nav/component.js +2 -2
  203. package/dist/collection/components/nav/style.css +2 -2
  204. package/dist/collection/components/pagination/component.js +85 -85
  205. package/dist/collection/components/pagination/style.css +2 -2
  206. package/dist/collection/components/popover-button/component.js +40 -11
  207. package/dist/collection/components/popover-button/style.css +2 -2
  208. package/dist/collection/components/progress/component.js +5 -8
  209. package/dist/collection/components/public-api/contract.js +46 -6
  210. package/dist/collection/components/quote/component.js +5 -5
  211. package/dist/collection/components/select/component.js +61 -61
  212. package/dist/collection/components/select/style.css +2 -2
  213. package/dist/collection/components/single-select/component.js +134 -134
  214. package/dist/collection/components/single-select/style.css +2 -2
  215. package/dist/collection/components/skip-nav/component.js +2 -2
  216. package/dist/collection/components/skip-nav/style.css +2 -2
  217. package/dist/collection/components/spin/component.js +29 -29
  218. package/dist/collection/components/spin/style.css +8 -1
  219. package/dist/collection/components/split-button/component.js +5 -5
  220. package/dist/collection/components/split-button/style.css +2 -2
  221. package/dist/collection/components/table-stateful/component.js +107 -113
  222. package/dist/collection/components/table-stateful/style.css +11 -4
  223. package/dist/collection/components/table-stateless/base.js +7 -1
  224. package/dist/collection/components/table-stateless/component.js +53 -53
  225. package/dist/collection/components/table-stateless/style.css +11 -4
  226. package/dist/collection/components/tabs/component.js +12 -12
  227. package/dist/collection/components/tabs/style.css +3 -3
  228. package/dist/collection/components/textarea/component.js +88 -88
  229. package/dist/collection/components/textarea/style.css +2 -2
  230. package/dist/collection/components/toaster/shadow.js +3 -3
  231. package/dist/collection/components/toaster/style.css +2 -2
  232. package/dist/collection/components/toolbar/component.js +33 -33
  233. package/dist/collection/components/toolbar/style.css +2 -2
  234. package/dist/collection/components/tooltip/component.js +1 -1
  235. package/dist/collection/components/tree/component.js +2 -2
  236. package/dist/collection/components/tree-item/component.js +35 -35
  237. package/dist/collection/components/tree-item/style.css +2 -2
  238. package/dist/collection/components/version/component.js +2 -2
  239. package/dist/collection/components/version/style.css +2 -2
  240. package/dist/collection/global/script.js +1 -1
  241. package/dist/collection/index.js +1 -1
  242. package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
  243. package/dist/collection/internal/functional-components/button/item.js +3 -3
  244. package/dist/collection/internal/functional-components/counter/api.js +1 -1
  245. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  246. package/dist/collection/{components → internal/functional-components}/form/controller.js +2 -2
  247. package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
  248. package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -7
  249. package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
  250. package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
  251. package/dist/collection/internal/functional-components/link/api.js +1 -1
  252. package/dist/collection/internal/functional-components/link/component.js +1 -1
  253. package/dist/collection/internal/functional-components/link/item.js +3 -3
  254. package/dist/collection/internal/functional-components/pagination/item.js +1 -1
  255. package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
  256. package/dist/collection/internal/functional-components/progress/api.js +1 -1
  257. package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
  258. package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
  259. package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
  260. package/dist/collection/internal/functional-components/table-stateful/model.js +11 -7
  261. package/dist/collection/internal/functional-components/table-stateless/component.js +6 -3
  262. package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
  263. package/dist/collection/internal/functional-components/table-stateless/settings.js +2 -2
  264. package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
  265. package/dist/collection/internal/functional-components/text-input/base-web-component.js +1 -1
  266. package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +5 -5
  267. package/dist/collection/internal/props/helpers/factory.js +1 -1
  268. package/dist/collection/internal/props/helpers/normalizers.js +2 -5
  269. package/dist/collection/internal/props/index.js +0 -1
  270. package/dist/collection/locales/de.js +2 -2
  271. package/dist/collection/locales/en.js +2 -2
  272. package/dist/collection/schema/components/index.js +0 -30
  273. package/dist/collection/schema/props/accept.js +1 -7
  274. package/dist/collection/schema/props/access-key.js +1 -7
  275. package/dist/collection/schema/props/active.js +1 -7
  276. package/dist/collection/schema/props/adjust-height.js +1 -7
  277. package/dist/collection/schema/props/alert-type.js +0 -7
  278. package/dist/collection/schema/props/align.js +0 -4
  279. package/dist/collection/schema/props/allow-multi-sort.js +1 -7
  280. package/dist/collection/schema/props/alt.js +1 -7
  281. package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
  282. package/dist/collection/schema/props/aria-controls.js +1 -7
  283. package/dist/collection/schema/props/aria-current-value.js +1 -10
  284. package/dist/collection/schema/props/aria-description.js +1 -7
  285. package/dist/collection/schema/props/aria-expanded.js +1 -7
  286. package/dist/collection/schema/props/aria-labelledby.js +6 -4
  287. package/dist/collection/schema/props/aria-owns.js +1 -9
  288. package/dist/collection/schema/props/aria-selected.js +1 -7
  289. package/dist/collection/schema/props/auto-complete.js +0 -6
  290. package/dist/collection/schema/props/badge-text.js +1 -7
  291. package/dist/collection/schema/props/button-callbacks.js +1 -7
  292. package/dist/collection/schema/props/button-type.js +1 -8
  293. package/dist/collection/schema/props/button-variant.js +1 -10
  294. package/dist/collection/schema/props/checked.js +1 -7
  295. package/dist/collection/schema/props/collapsible.js +1 -7
  296. package/dist/collection/schema/props/color.js +1 -14
  297. package/dist/collection/schema/props/current-length.js +1 -7
  298. package/dist/collection/schema/props/custom-class.js +1 -9
  299. package/dist/collection/schema/props/disabled.js +1 -15
  300. package/dist/collection/schema/props/download.js +1 -7
  301. package/dist/collection/schema/props/error-list.js +1 -14
  302. package/dist/collection/schema/props/has-closer.js +1 -7
  303. package/dist/collection/schema/props/has-compact-button.js +1 -7
  304. package/dist/collection/schema/props/has-counter.js +1 -7
  305. package/dist/collection/schema/props/has-create-button.js +1 -7
  306. package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
  307. package/dist/collection/schema/props/has-settings-menu.js +1 -7
  308. package/dist/collection/schema/props/has-value.js +1 -7
  309. package/dist/collection/schema/props/hide-label.js +1 -7
  310. package/dist/collection/schema/props/hide-msg.js +1 -7
  311. package/dist/collection/schema/props/hint.js +1 -7
  312. package/dist/collection/schema/props/href.js +1 -7
  313. package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
  314. package/dist/collection/schema/props/icons.js +0 -43
  315. package/dist/collection/schema/props/id.js +1 -7
  316. package/dist/collection/schema/props/image-sizes.js +1 -7
  317. package/dist/collection/schema/props/image-source.js +1 -7
  318. package/dist/collection/schema/props/image-srcset.js +1 -7
  319. package/dist/collection/schema/props/indeterminate.js +1 -7
  320. package/dist/collection/schema/props/index.js +4 -0
  321. package/dist/collection/schema/props/inline.js +1 -7
  322. package/dist/collection/schema/props/label-align.js +1 -8
  323. package/dist/collection/schema/props/label.js +0 -35
  324. package/dist/collection/schema/props/link-on-callbacks.js +1 -8
  325. package/dist/collection/schema/props/link-target.js +1 -7
  326. package/dist/collection/schema/props/loading.js +1 -8
  327. package/dist/collection/schema/props/max-length-behavior.js +1 -8
  328. package/dist/collection/schema/props/max-length.js +1 -7
  329. package/dist/collection/schema/props/max.js +1 -7
  330. package/dist/collection/schema/props/modal.js +1 -7
  331. package/dist/collection/schema/props/msg.js +1 -24
  332. package/dist/collection/schema/props/multiple.js +1 -7
  333. package/dist/collection/schema/props/name.js +1 -7
  334. package/dist/collection/schema/props/open.js +1 -7
  335. package/dist/collection/schema/props/options.js +1 -11
  336. package/dist/collection/schema/props/orientation.js +1 -10
  337. package/dist/collection/schema/props/pagination-position.js +1 -10
  338. package/dist/collection/schema/props/pattern.js +1 -7
  339. package/dist/collection/schema/props/placeholder.js +1 -7
  340. package/dist/collection/schema/props/popover-align.js +1 -7
  341. package/dist/collection/schema/props/read-only.js +1 -7
  342. package/dist/collection/schema/props/required.js +1 -7
  343. package/dist/collection/schema/props/resize-textarea.js +0 -9
  344. package/dist/collection/schema/props/rows.js +1 -7
  345. package/dist/collection/schema/props/short-key.js +1 -7
  346. package/dist/collection/schema/props/show.js +1 -7
  347. package/dist/collection/schema/props/spell-check.js +1 -9
  348. package/dist/collection/schema/props/suggestions.js +1 -16
  349. package/dist/collection/schema/props/tab-behavior.js +1 -8
  350. package/dist/collection/schema/props/tab-index.js +1 -16
  351. package/dist/collection/schema/props/table-callbacks.js +1 -10
  352. package/dist/collection/schema/props/table-data-foot.js +1 -21
  353. package/dist/collection/schema/props/table-data.js +1 -21
  354. package/dist/collection/schema/props/table-fixed-cols.js +1 -14
  355. package/dist/collection/schema/props/table-header-cells.js +1 -36
  356. package/dist/collection/schema/props/table-selection.js +1 -22
  357. package/dist/collection/schema/props/toolbar-items.js +1 -21
  358. package/dist/collection/schema/props/tooltip-align.js +1 -7
  359. package/dist/collection/schema/props/touched.js +1 -7
  360. package/dist/collection/schema/props/type-input-date.js +0 -7
  361. package/dist/collection/schema/props/type-input-text.js +0 -7
  362. package/dist/collection/schema/props/unit.js +1 -7
  363. package/dist/collection/schema/props/variant/dialog.js +1 -8
  364. package/dist/collection/schema/props/variant/modal.js +1 -4
  365. package/dist/collection/schema/props/variant/password-variant.js +1 -8
  366. package/dist/collection/schema/props/variant-alert.js +0 -7
  367. package/dist/collection/schema/props/variant-class-name.js +0 -33
  368. package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
  369. package/dist/collection/schema/props/variant-progress.js +0 -7
  370. package/dist/collection/schema/props/visibility-toggle.js +1 -7
  371. package/dist/collection/schema/props/width.js +1 -7
  372. package/dist/collection/schema/utils/contrast.js +1 -1
  373. package/dist/collection/schema/utils/prop.validators.js +1 -132
  374. package/dist/collection/schema/validators/common.js +4 -0
  375. package/dist/collection/schema/validators/index.js +0 -1
  376. package/dist/collection/utils/dev.utils.js +1 -2
  377. package/dist/collection/utils/markdown.js +49 -3
  378. package/dist/collection/utils/testing/logged-messages.js +4 -0
  379. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
  380. package/dist/collection/utils/testing/snapshot-testing.js +2 -1
  381. package/dist/components/base-web-component2.js +1 -1
  382. package/dist/components/base-web-component3.js +1 -1
  383. package/dist/components/base-web-component4.js +1 -1
  384. package/dist/components/base.js +1 -1
  385. package/dist/components/base2.js +1 -1
  386. package/dist/components/base3.js +1 -1
  387. package/dist/components/base4.js +1 -1
  388. package/dist/components/behavior.js +1 -1
  389. package/dist/components/behavior2.js +1 -1
  390. package/dist/components/behavior3.js +1 -1
  391. package/dist/components/bem-registry.js +1 -1
  392. package/dist/components/bootstrap.js +1 -1
  393. package/dist/components/component2.js +1 -1
  394. package/dist/components/component5.js +1 -1
  395. package/dist/components/component6.js +1 -1
  396. package/dist/components/component8.js +1 -1
  397. package/dist/components/contrast.js +1 -1
  398. package/dist/components/dev.utils.js +1 -1
  399. package/dist/components/devtools.js +1 -1
  400. package/dist/components/i18n.js +1 -1
  401. package/dist/components/i18n2.js +1 -1
  402. package/dist/components/index.js +1 -1
  403. package/dist/components/input-container.js +1 -1
  404. package/dist/components/item.js +1 -1
  405. package/dist/components/item2.js +1 -1
  406. package/dist/components/item3.js +1 -1
  407. package/dist/components/item4.js +1 -1
  408. package/dist/components/kol-abbr.js +1 -1
  409. package/dist/components/kol-accordion.js +1 -1
  410. package/dist/components/kol-alert.js +1 -1
  411. package/dist/components/kol-avatar.js +1 -1
  412. package/dist/components/kol-badge.js +1 -1
  413. package/dist/components/kol-breadcrumb.js +1 -1
  414. package/dist/components/kol-button-link.js +1 -1
  415. package/dist/components/kol-button.js +1 -1
  416. package/dist/components/kol-card.js +1 -1
  417. package/dist/components/kol-combobox.js +1 -1
  418. package/dist/components/kol-details.js +1 -1
  419. package/dist/components/kol-dialog.js +1 -1
  420. package/dist/components/kol-drawer.js +1 -1
  421. package/dist/components/kol-form.js +1 -1
  422. package/dist/components/kol-heading.js +1 -1
  423. package/dist/components/kol-icon.js +1 -1
  424. package/dist/components/kol-image.js +1 -1
  425. package/dist/components/kol-input-checkbox.js +1 -1
  426. package/dist/components/kol-input-color.js +1 -1
  427. package/dist/components/kol-input-date.js +1 -1
  428. package/dist/components/kol-input-email.js +1 -1
  429. package/dist/components/kol-input-file.js +1 -1
  430. package/dist/components/kol-input-number.js +1 -1
  431. package/dist/components/kol-input-password.js +1 -1
  432. package/dist/components/kol-input-radio.js +1 -1
  433. package/dist/components/kol-input-range.js +1 -1
  434. package/dist/components/kol-input-text.js +1 -1
  435. package/dist/components/kol-kolibri.js +1 -1
  436. package/dist/components/kol-link-button.js +1 -1
  437. package/dist/components/kol-link.js +1 -1
  438. package/dist/components/kol-meter.js +1 -1
  439. package/dist/components/kol-modal.js +1 -1
  440. package/dist/components/kol-nav.js +1 -1
  441. package/dist/components/kol-pagination.js +1 -1
  442. package/dist/components/kol-popover-button.js +1 -1
  443. package/dist/components/kol-progress.js +1 -1
  444. package/dist/components/kol-quote.js +1 -1
  445. package/dist/components/kol-select.js +1 -1
  446. package/dist/components/kol-single-select.js +1 -1
  447. package/dist/components/kol-skip-nav.js +1 -1
  448. package/dist/components/kol-spin.js +1 -1
  449. package/dist/components/kol-split-button.js +1 -1
  450. package/dist/components/kol-table-stateful.js +1 -1
  451. package/dist/components/kol-table-stateless.js +1 -1
  452. package/dist/components/kol-tabs.js +1 -1
  453. package/dist/components/kol-textarea.js +1 -1
  454. package/dist/components/kol-toast-container.js +1 -1
  455. package/dist/components/kol-toolbar.js +1 -1
  456. package/dist/components/kol-tooltip-wc.js +1 -1
  457. package/dist/components/kol-tree-item.js +1 -1
  458. package/dist/components/kol-tree.js +1 -1
  459. package/dist/components/kol-version.js +1 -1
  460. package/dist/components/label-hints.js +1 -1
  461. package/dist/components/label-lang-segment.js +1 -1
  462. package/dist/components/label-with-expert-slot.js +1 -1
  463. package/dist/components/level.js +1 -1
  464. package/dist/components/number-value.js +1 -1
  465. package/dist/components/props-from-config.js +1 -1
  466. package/dist/components/rows.js +1 -1
  467. package/dist/components/unit.js +1 -1
  468. package/dist/components/validators.js +1 -1
  469. package/dist/esm/{Heading-BubZbykM.js → Heading-Cjeak0Ip.js} +2 -2
  470. package/dist/esm/{api-D0RNr-zh.js → api-lgc52EwH.js} +27 -27
  471. package/dist/esm/{app-globals-DYRte_jr.js → app-globals-CJI5vjfG.js} +3 -3
  472. package/dist/esm/{base-BbGt9eYx.js → base-4vZOpHqg.js} +12 -12
  473. package/dist/esm/{base-BP5SdLvQ.js → base-CrFm3Vt_.js} +66 -32
  474. package/dist/esm/{base-Cz00snD6.js → base-DyVivWCE.js} +12 -12
  475. package/dist/esm/{base-CLsKm3-e.js → base-jUFiFkFq.js} +10 -10
  476. package/dist/esm/{base-web-component-DP9_OPgV.js → base-web-component-BhT6Ab3x.js} +15 -15
  477. package/dist/esm/{base-web-component-CdSFFCst.js → base-web-component-Ci40K_CL.js} +9 -9
  478. package/dist/esm/{base-web-component-CYPdDdRn.js → base-web-component-puo2mSiH.js} +1 -1
  479. package/dist/esm/{behavior-DlH8byIw.js → behavior-BOUrKwXj.js} +5 -5
  480. package/dist/esm/{behavior-BJR8CKBx.js → behavior-BeStbAbq.js} +6 -6
  481. package/dist/esm/{behavior-B6y5Gofe.js → behavior-vf9LgKnJ.js} +5 -5
  482. package/dist/esm/{bem-registry-SKACeCny.js → bem-registry-jPrVOPGX.js} +1 -1
  483. package/dist/esm/{bootstrap-Bp7i4RJQ.js → bootstrap-tModZ1Zn.js} +2 -2
  484. package/dist/esm/{color-BbljGuAW.js → color-BBs35rDv.js} +3 -3
  485. package/dist/esm/{component-ZdHnXLLI.js → component-8rE7KeIV.js} +9 -9
  486. package/dist/esm/{component-bIIx1x7q.js → component-B2hvPtlq.js} +3 -3
  487. package/dist/esm/{component-DEwcJKDA.js → component-BGqaexiY.js} +5 -5
  488. package/dist/esm/{component-B8UMedaK.js → component-C3fJM1FJ.js} +4 -4
  489. package/dist/esm/{component-CMHB3reH.js → component-C5YYCLBG.js} +5 -5
  490. package/dist/esm/{component-CiJGQTU0.js → component-CYv5K14M.js} +14 -14
  491. package/dist/esm/{component-CNgECeRi.js → component-ComtEOJP.js} +10 -10
  492. package/dist/esm/{component-6_YiKr2Z.js → component-CtnZeJ8i.js} +14 -14
  493. package/dist/esm/{component-CSsUaL_h.js → component-CuBrmISS.js} +7 -7
  494. package/dist/esm/component-CuPl7i5J.js +173 -0
  495. package/dist/esm/{component-NOe28NXD.js → component-DzwUKDj3.js} +6 -6
  496. package/dist/esm/{contrast-DtK0a6X2.js → contrast-DiGJSn0q.js} +2 -2
  497. package/dist/esm/{controller-CZcQ57AP.js → controller-BNVDUbSt.js} +1 -1
  498. package/dist/esm/{dev.utils-B0t4rcBV.js → dev.utils-CS2a1Xpz.js} +2 -2
  499. package/dist/esm/{devtools-DuJRc6wJ.js → devtools-DDKKBFlN.js} +3 -3
  500. package/dist/esm/{disabled-B2o4Ctgy.js → disabled-CnKpxKzf.js} +1 -1
  501. package/dist/esm/{field-control-C9dIXnES.js → field-control-BRw1DpB2.js} +8 -8
  502. package/dist/esm/{group-DydT1Z92.js → group-CeF4yHhL.js} +5 -5
  503. package/dist/esm/{has-closer-BrG00xL7.js → has-closer-DYgccfEw.js} +1 -1
  504. package/dist/esm/{href-CfNF4pHX.js → href-BJ2DdiWo.js} +1 -1
  505. package/dist/esm/{i18n-BRgvVqCf.js → i18n-6bNr_AKM.js} +4 -4
  506. package/dist/esm/{i18n-BLkzMf6D.js → i18n-DsSD0Coa.js} +2 -2
  507. package/dist/esm/{id-Bh4FF8c0.js → id-BBQitGSa.js} +1 -1
  508. package/dist/esm/{index-Bbr6Os1b.js → index-BFGAlyrC.js} +2 -2
  509. package/dist/esm/index.js +7 -7
  510. package/dist/esm/{input-C1YsxnDL.js → input-Br0RXmck.js} +5 -5
  511. package/dist/esm/{input-container-zXl_6y52.js → input-container-C8HGQnts.js} +7 -7
  512. package/dist/esm/{item-DXDEHrEg.js → item-BHmWBVJU.js} +7 -7
  513. package/dist/esm/{item-zXunNZh5.js → item-C0BsuFnx.js} +21 -21
  514. package/dist/esm/{item-Dms_59sU.js → item-CKABE_5V.js} +13 -13
  515. package/dist/esm/{item-hsQoejqZ.js → item-D-uF2_uB.js} +7 -7
  516. package/dist/esm/kol-abbr.entry.js +8 -8
  517. package/dist/esm/kol-accordion.entry.js +17 -17
  518. package/dist/esm/kol-alert.entry.js +27 -27
  519. package/dist/esm/kol-avatar.entry.js +17 -20
  520. package/dist/esm/kol-badge.entry.js +26 -26
  521. package/dist/esm/kol-breadcrumb.entry.js +30 -30
  522. package/dist/esm/kol-button-link.entry.js +26 -26
  523. package/dist/esm/kol-button.entry.js +26 -26
  524. package/dist/esm/kol-card.entry.js +58 -97
  525. package/dist/esm/kol-combobox.entry.js +77 -77
  526. package/dist/esm/kol-details.entry.js +17 -17
  527. package/dist/esm/kol-dialog.entry.js +33 -33
  528. package/dist/esm/kol-drawer.entry.js +32 -32
  529. package/dist/esm/kol-form.entry.js +27 -27
  530. package/dist/esm/kol-heading.entry.js +15 -15
  531. package/dist/esm/kol-icon.entry.js +12 -12
  532. package/dist/esm/kol-image.entry.js +20 -20
  533. package/dist/esm/kol-input-checkbox.entry.js +70 -70
  534. package/dist/esm/kol-input-color.entry.js +57 -57
  535. package/dist/esm/kol-input-date.entry.js +69 -69
  536. package/dist/esm/kol-input-email.entry.js +75 -75
  537. package/dist/esm/kol-input-file.entry.js +52 -52
  538. package/dist/esm/kol-input-number.entry.js +71 -71
  539. package/dist/esm/kol-input-password.entry.js +73 -73
  540. package/dist/esm/kol-input-radio.entry.js +53 -53
  541. package/dist/esm/kol-input-range.entry.js +58 -58
  542. package/dist/esm/kol-input-text.entry.js +87 -87
  543. package/dist/esm/kol-kolibri.entry.js +8 -8
  544. package/dist/esm/kol-link-button.entry.js +35 -35
  545. package/dist/esm/kol-link.entry.js +34 -34
  546. package/dist/esm/kol-meter.entry.js +19 -25
  547. package/dist/esm/kol-modal.entry.js +33 -33
  548. package/dist/esm/kol-nav.entry.js +36 -36
  549. package/dist/esm/kol-pagination.entry.js +57 -57
  550. package/dist/esm/kol-popover-button.entry.js +60 -95
  551. package/dist/esm/kol-progress.entry.js +18 -21
  552. package/dist/esm/kol-quote.entry.js +13 -13
  553. package/dist/esm/kol-select.entry.js +63 -63
  554. package/dist/esm/kol-single-select.entry.js +78 -78
  555. package/dist/esm/kol-skip-nav.entry.js +30 -30
  556. package/dist/esm/kol-spin.entry.js +23 -23
  557. package/dist/esm/kol-split-button.entry.js +30 -30
  558. package/dist/esm/kol-table-stateful.entry.js +108 -97
  559. package/dist/esm/kol-table-stateless.entry.js +55 -55
  560. package/dist/esm/kol-tabs.entry.js +32 -32
  561. package/dist/esm/kol-textarea.entry.js +70 -70
  562. package/dist/esm/kol-toast-container.entry.js +21 -21
  563. package/dist/esm/kol-toolbar.entry.js +42 -42
  564. package/dist/esm/kol-tooltip-wc.entry.js +13 -13
  565. package/dist/esm/kol-tree-item.entry.js +31 -31
  566. package/dist/esm/kol-tree.entry.js +10 -10
  567. package/dist/esm/kol-version.entry.js +23 -23
  568. package/dist/esm/kolibri.js +5 -5
  569. package/dist/esm/{label-BQVd3bkc.js → label-DQC6csvN.js} +3 -3
  570. package/dist/esm/{label-hints-CZGo9ZD5.js → label-hints-Y3Zh7X3N.js} +2 -2
  571. package/dist/esm/{label-lang-segment-C5LYGOHt.js → label-lang-segment-BnLCd3lO.js} +2 -2
  572. package/dist/esm/{label-with-expert-slot-D1tpX9DI.js → label-with-expert-slot-BxbzJ0aJ.js} +3 -3
  573. package/dist/esm/{level-BVXGgbSM.js → level-BaaaBkKR.js} +1 -1
  574. package/dist/esm/{link-target-BWPSEd9a.js → link-target-BgH0UuzW.js} +1 -1
  575. package/dist/esm/{links-BbsnNXfa.js → links-DnB1I1Gi.js} +2 -2
  576. package/dist/esm/loader.js +5 -5
  577. package/dist/esm/{multiple-S3Ol1G6Z.js → multiple-CoXuIBC5.js} +1 -1
  578. package/dist/esm/{number-value-DmOl1z7z.js → number-value-MjxRVb0R.js} +2 -1
  579. package/dist/esm/{open-DPP79Urq.js → open-DBrDqNNt.js} +1 -1
  580. package/dist/esm/{options-aA3M-QV2.js → options-CQrFWcRm.js} +2 -2
  581. package/dist/esm/{orientation-DlsgaY1v.js → orientation-Dd57TF4f.js} +1 -1
  582. package/dist/esm/{placeholder-DlHbiVjz.js → placeholder-C2TRH0yn.js} +1 -1
  583. package/dist/esm/{common-BdSzSIXg.js → prop.validators-kX7xC6qj.js} +23 -91
  584. package/dist/esm/{props-from-config-BOUcpF7e.js → props-from-config-B_k4h7ak.js} +56 -60
  585. package/dist/esm/{read-only-DSBWEPED.js → read-only-Do20HzKS.js} +1 -1
  586. package/dist/esm/{required-xw5BBPvV.js → required-DBer2Rxa.js} +1 -1
  587. package/dist/esm/{resolve-props-CL8wxjtP.js → resolve-props-BzL6wFWn.js} +8 -8
  588. package/dist/esm/{resolve-props-DAVb5BM3.js → resolve-props-DUtwGFZS.js} +7 -7
  589. package/dist/esm/{rows-DRV8YlQv.js → rows-CA8QgHMZ.js} +1 -1
  590. package/dist/esm/{scroll-lock-BxAe0gL5.js → scroll-lock-Ch4ulFTS.js} +3 -3
  591. package/dist/esm/{smart-button-CQps8AlL.js → smart-button-BB671N1B.js} +2 -2
  592. package/dist/esm/{spell-check-hy6xFhmT.js → spell-check-F1_tx4iu.js} +1 -1
  593. package/dist/esm/{src-AwoM1pRe.js → src-CkojG2tS.js} +1 -1
  594. package/dist/esm/{step-CopA0_m7.js → step-CTjZRMNh.js} +1 -1
  595. package/dist/esm/{suggestions-BsiiaAxK.js → suggestions-By7hmqB7.js} +3 -3
  596. package/dist/esm/{suggestions-CY8BJMOa.js → suggestions-G70JmX5_.js} +2 -2
  597. package/dist/esm/test-component.entry.js +2 -2
  598. package/dist/esm/{toggle-handler-ZMs2rBXc.js → toggle-handler-Cx8yn4d5.js} +9 -9
  599. package/dist/esm/{unique-nav-labels-BV-M3fPR.js → unique-nav-labels-Civ833r0.js} +2 -2
  600. package/dist/esm/{unit-hmMwqE9a.js → unit-JYCI5y5-.js} +1 -1
  601. package/dist/esm/{validators-BgDmq-Qt.js → validators-CAtXsuiZ.js} +1 -1
  602. package/dist/esm/{value-string-Dy8zJxlP.js → value-string-Dz7Sa2ex.js} +1 -1
  603. package/dist/esm/{width-BHn7XHj_.js → width-BikKpAHu.js} +1 -1
  604. package/dist/kolibri/Heading-Cjeak0Ip.js +4 -0
  605. package/dist/kolibri/api-lgc52EwH.js +4 -0
  606. package/dist/kolibri/app-globals-CJI5vjfG.js +4 -0
  607. package/dist/kolibri/base-4vZOpHqg.js +4 -0
  608. package/dist/kolibri/base-CrFm3Vt_.js +4 -0
  609. package/dist/kolibri/base-DyVivWCE.js +4 -0
  610. package/dist/kolibri/base-jUFiFkFq.js +4 -0
  611. package/dist/kolibri/base-web-component-BhT6Ab3x.js +4 -0
  612. package/dist/kolibri/base-web-component-Ci40K_CL.js +4 -0
  613. package/dist/kolibri/{base-web-component-CYPdDdRn.js → base-web-component-puo2mSiH.js} +1 -1
  614. package/dist/kolibri/behavior-BOUrKwXj.js +4 -0
  615. package/dist/kolibri/behavior-BeStbAbq.js +4 -0
  616. package/dist/kolibri/behavior-vf9LgKnJ.js +4 -0
  617. package/dist/kolibri/bem-registry-jPrVOPGX.js +4 -0
  618. package/dist/kolibri/bootstrap-tModZ1Zn.js +4 -0
  619. package/dist/kolibri/color-BBs35rDv.js +4 -0
  620. package/dist/kolibri/component-8rE7KeIV.js +4 -0
  621. package/dist/kolibri/component-B2hvPtlq.js +4 -0
  622. package/dist/kolibri/component-BGqaexiY.js +4 -0
  623. package/dist/kolibri/component-C3fJM1FJ.js +4 -0
  624. package/dist/kolibri/component-C5YYCLBG.js +4 -0
  625. package/dist/kolibri/component-CYv5K14M.js +4 -0
  626. package/dist/kolibri/component-ComtEOJP.js +4 -0
  627. package/dist/kolibri/component-CtnZeJ8i.js +4 -0
  628. package/dist/kolibri/component-CuBrmISS.js +4 -0
  629. package/dist/kolibri/component-CuPl7i5J.js +4 -0
  630. package/dist/kolibri/component-DzwUKDj3.js +4 -0
  631. package/dist/kolibri/contrast-DiGJSn0q.js +4 -0
  632. package/dist/kolibri/controller-BNVDUbSt.js +4 -0
  633. package/dist/kolibri/dev.utils-CS2a1Xpz.js +4 -0
  634. package/dist/kolibri/devtools-DDKKBFlN.js +4 -0
  635. package/dist/kolibri/disabled-CnKpxKzf.js +4 -0
  636. package/dist/kolibri/field-control-BRw1DpB2.js +4 -0
  637. package/dist/kolibri/{group-DydT1Z92.js → group-CeF4yHhL.js} +1 -1
  638. package/dist/kolibri/has-closer-DYgccfEw.js +4 -0
  639. package/dist/kolibri/href-BJ2DdiWo.js +4 -0
  640. package/dist/kolibri/i18n-6bNr_AKM.js +4 -0
  641. package/dist/kolibri/i18n-DsSD0Coa.js +4 -0
  642. package/dist/kolibri/id-BBQitGSa.js +4 -0
  643. package/dist/kolibri/index-BFGAlyrC.js +6 -0
  644. package/dist/kolibri/index.esm.js +1 -1
  645. package/dist/kolibri/input-Br0RXmck.js +4 -0
  646. package/dist/kolibri/input-container-C8HGQnts.js +4 -0
  647. package/dist/kolibri/item-BHmWBVJU.js +4 -0
  648. package/dist/kolibri/item-C0BsuFnx.js +4 -0
  649. package/dist/kolibri/item-CKABE_5V.js +4 -0
  650. package/dist/kolibri/item-D-uF2_uB.js +4 -0
  651. package/dist/kolibri/kol-abbr.entry.js +1 -1
  652. package/dist/kolibri/kol-accordion.entry.js +1 -1
  653. package/dist/kolibri/kol-alert.entry.js +1 -1
  654. package/dist/kolibri/kol-avatar.entry.js +1 -1
  655. package/dist/kolibri/kol-badge.entry.js +1 -1
  656. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  657. package/dist/kolibri/kol-button-link.entry.js +1 -1
  658. package/dist/kolibri/kol-button.entry.js +1 -1
  659. package/dist/kolibri/kol-card.entry.js +1 -1
  660. package/dist/kolibri/kol-combobox.entry.js +1 -1
  661. package/dist/kolibri/kol-details.entry.js +1 -1
  662. package/dist/kolibri/kol-dialog.entry.js +1 -1
  663. package/dist/kolibri/kol-drawer.entry.js +1 -1
  664. package/dist/kolibri/kol-form.entry.js +1 -1
  665. package/dist/kolibri/kol-heading.entry.js +1 -1
  666. package/dist/kolibri/kol-icon.entry.js +1 -1
  667. package/dist/kolibri/kol-image.entry.js +1 -1
  668. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  669. package/dist/kolibri/kol-input-color.entry.js +1 -1
  670. package/dist/kolibri/kol-input-date.entry.js +1 -1
  671. package/dist/kolibri/kol-input-email.entry.js +1 -1
  672. package/dist/kolibri/kol-input-file.entry.js +1 -1
  673. package/dist/kolibri/kol-input-number.entry.js +1 -1
  674. package/dist/kolibri/kol-input-password.entry.js +1 -1
  675. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  676. package/dist/kolibri/kol-input-range.entry.js +1 -1
  677. package/dist/kolibri/kol-input-text.entry.js +1 -1
  678. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  679. package/dist/kolibri/kol-link-button.entry.js +1 -1
  680. package/dist/kolibri/kol-link.entry.js +1 -1
  681. package/dist/kolibri/kol-meter.entry.js +1 -1
  682. package/dist/kolibri/kol-modal.entry.js +1 -1
  683. package/dist/kolibri/kol-nav.entry.js +1 -1
  684. package/dist/kolibri/kol-pagination.entry.js +1 -1
  685. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  686. package/dist/kolibri/kol-progress.entry.js +1 -1
  687. package/dist/kolibri/kol-quote.entry.js +1 -1
  688. package/dist/kolibri/kol-select.entry.js +1 -1
  689. package/dist/kolibri/kol-single-select.entry.js +1 -1
  690. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  691. package/dist/kolibri/kol-spin.entry.js +1 -1
  692. package/dist/kolibri/kol-split-button.entry.js +1 -1
  693. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  694. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  695. package/dist/kolibri/kol-tabs.entry.js +1 -1
  696. package/dist/kolibri/kol-textarea.entry.js +1 -1
  697. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  698. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  699. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  700. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  701. package/dist/kolibri/kol-tree.entry.js +1 -1
  702. package/dist/kolibri/kol-version.entry.js +1 -1
  703. package/dist/kolibri/kolibri.esm.js +1 -1
  704. package/dist/kolibri/label-DQC6csvN.js +4 -0
  705. package/dist/kolibri/label-hints-Y3Zh7X3N.js +4 -0
  706. package/dist/kolibri/label-lang-segment-BnLCd3lO.js +4 -0
  707. package/dist/kolibri/label-with-expert-slot-BxbzJ0aJ.js +4 -0
  708. package/dist/kolibri/level-BaaaBkKR.js +4 -0
  709. package/dist/kolibri/link-target-BgH0UuzW.js +4 -0
  710. package/dist/kolibri/links-DnB1I1Gi.js +4 -0
  711. package/dist/kolibri/multiple-CoXuIBC5.js +4 -0
  712. package/dist/kolibri/number-value-MjxRVb0R.js +4 -0
  713. package/dist/kolibri/open-DBrDqNNt.js +4 -0
  714. package/dist/kolibri/options-CQrFWcRm.js +4 -0
  715. package/dist/kolibri/{orientation-DlsgaY1v.js → orientation-Dd57TF4f.js} +1 -1
  716. package/dist/kolibri/placeholder-C2TRH0yn.js +4 -0
  717. package/dist/kolibri/prop.validators-kX7xC6qj.js +4 -0
  718. package/dist/kolibri/props-from-config-B_k4h7ak.js +4 -0
  719. package/dist/kolibri/read-only-Do20HzKS.js +4 -0
  720. package/dist/kolibri/required-DBer2Rxa.js +4 -0
  721. package/dist/kolibri/resolve-props-BzL6wFWn.js +4 -0
  722. package/dist/kolibri/resolve-props-DUtwGFZS.js +4 -0
  723. package/dist/kolibri/rows-CA8QgHMZ.js +4 -0
  724. package/dist/kolibri/{scroll-lock-BxAe0gL5.js → scroll-lock-Ch4ulFTS.js} +1 -1
  725. package/dist/kolibri/smart-button-BB671N1B.js +4 -0
  726. package/dist/kolibri/spell-check-F1_tx4iu.js +4 -0
  727. package/dist/kolibri/src-CkojG2tS.js +4 -0
  728. package/dist/kolibri/step-CTjZRMNh.js +4 -0
  729. package/dist/kolibri/suggestions-By7hmqB7.js +4 -0
  730. package/dist/kolibri/suggestions-G70JmX5_.js +4 -0
  731. package/dist/kolibri/test-component.entry.js +1 -1
  732. package/dist/kolibri/toggle-handler-Cx8yn4d5.js +4 -0
  733. package/dist/kolibri/unique-nav-labels-Civ833r0.js +4 -0
  734. package/dist/kolibri/unit-JYCI5y5-.js +4 -0
  735. package/dist/kolibri/validators-CAtXsuiZ.js +4 -0
  736. package/dist/kolibri/value-string-Dz7Sa2ex.js +4 -0
  737. package/dist/kolibri/{width-BHn7XHj_.js → width-BikKpAHu.js} +1 -1
  738. package/dist/types/components/accordion/component.d.ts +2 -2
  739. package/dist/types/components/alert/component.d.ts +2 -2
  740. package/dist/types/components/badge/component.d.ts +2 -2
  741. package/dist/types/components/breadcrumb/component.d.ts +2 -2
  742. package/dist/types/components/button/base.d.ts +1 -1
  743. package/dist/types/components/button/component.d.ts +2 -2
  744. package/dist/types/components/button-link/component.d.ts +2 -2
  745. package/dist/types/components/card/component.d.ts +12 -5
  746. package/dist/types/components/combobox/component.d.ts +10 -10
  747. package/dist/types/components/details/component.d.ts +2 -2
  748. package/dist/types/components/dialog/base.d.ts +1 -1
  749. package/dist/types/components/dialog/component.d.ts +3 -3
  750. package/dist/types/components/drawer/component.d.ts +2 -2
  751. package/dist/types/components/form/component.d.ts +2 -2
  752. package/dist/types/components/heading/component.d.ts +2 -2
  753. package/dist/types/components/image/component.d.ts +2 -2
  754. package/dist/types/components/input-checkbox/component.d.ts +9 -9
  755. package/dist/types/components/input-color/component.d.ts +4 -4
  756. package/dist/types/components/input-date/component.d.ts +6 -6
  757. package/dist/types/components/input-email/component.d.ts +8 -8
  758. package/dist/types/components/input-file/component.d.ts +4 -4
  759. package/dist/types/components/input-number/component.d.ts +6 -6
  760. package/dist/types/components/input-password/component.d.ts +8 -8
  761. package/dist/types/components/input-radio/component.d.ts +5 -5
  762. package/dist/types/components/input-range/component.d.ts +4 -4
  763. package/dist/types/components/input-text/component.d.ts +12 -12
  764. package/dist/types/components/kolibri/component.d.ts +2 -2
  765. package/dist/types/components/link/component.d.ts +4 -4
  766. package/dist/types/components/link-button/component.d.ts +4 -4
  767. package/dist/types/components/modal/component.d.ts +3 -3
  768. package/dist/types/components/nav/component.d.ts +2 -2
  769. package/dist/types/components/pagination/component.d.ts +8 -8
  770. package/dist/types/components/popover-button/component.d.ts +10 -3
  771. package/dist/types/components/public-api/contract.d.ts +7 -2
  772. package/dist/types/components/select/component.d.ts +6 -6
  773. package/dist/types/components/single-select/component.d.ts +10 -10
  774. package/dist/types/components/skip-nav/component.d.ts +2 -2
  775. package/dist/types/components/spin/component.d.ts +2 -2
  776. package/dist/types/components/split-button/component.d.ts +2 -2
  777. package/dist/types/components/table-stateful/component.d.ts +7 -8
  778. package/dist/types/components/table-stateless/base.d.ts +2 -0
  779. package/dist/types/components/table-stateless/component.d.ts +7 -7
  780. package/dist/types/components/tabs/component.d.ts +3 -3
  781. package/dist/types/components/textarea/component.d.ts +8 -8
  782. package/dist/types/components/toaster/shadow.d.ts +5 -3
  783. package/dist/types/components/toolbar/component.d.ts +6 -6
  784. package/dist/types/components/tree/component.d.ts +2 -2
  785. package/dist/types/components/tree-item/component.d.ts +4 -4
  786. package/dist/types/components/version/component.d.ts +2 -2
  787. package/dist/types/components.d.ts +48 -56
  788. package/dist/types/index.d.ts +1 -1
  789. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  790. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  791. package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
  792. package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
  793. package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
  794. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  795. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  796. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  797. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  798. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  799. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  800. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  801. package/dist/types/internal/functional-components/dialog/component.d.ts +1 -1
  802. package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
  803. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  804. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  805. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  806. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  807. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
  808. package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
  809. package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
  810. package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
  811. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  812. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  813. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  814. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  815. package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
  816. package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
  817. package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
  818. package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
  819. package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
  820. package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
  821. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  822. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  823. package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
  824. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  825. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  826. package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
  827. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  828. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  829. package/dist/types/internal/functional-components/pagination/component.d.ts +1 -1
  830. package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
  831. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  832. package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
  833. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  834. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  835. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  836. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  837. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  838. package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
  839. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  840. package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
  841. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  842. package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
  843. package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
  844. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +1 -1
  845. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  846. package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
  847. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  848. package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
  849. package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
  850. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  851. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  852. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  853. package/dist/types/internal/functional-components/version/api.d.ts +1 -1
  854. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
  855. package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
  856. package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
  857. package/dist/types/internal/props/index.d.ts +1 -1
  858. package/dist/types/internal/props/info-popover.d.ts +1 -1
  859. package/dist/types/internal/props/input-date-max.d.ts +1 -1
  860. package/dist/types/internal/props/input-date-min.d.ts +1 -1
  861. package/dist/types/internal/props/nav-links.d.ts +1 -1
  862. package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
  863. package/dist/types/internal/props/smart-button.d.ts +1 -25
  864. package/dist/types/internal/props/value-input-date.d.ts +1 -1
  865. package/dist/types/schema/components/alert.d.ts +2 -8
  866. package/dist/types/schema/components/badge.d.ts +3 -16
  867. package/dist/types/schema/components/breadcrumb.d.ts +0 -15
  868. package/dist/types/schema/components/button.d.ts +3 -3
  869. package/dist/types/schema/components/card.d.ts +0 -9
  870. package/dist/types/schema/components/form.d.ts +0 -13
  871. package/dist/types/schema/components/index.d.ts +0 -30
  872. package/dist/types/schema/components/link.d.ts +2 -2
  873. package/dist/types/schema/components/pagination.d.ts +1 -15
  874. package/dist/types/schema/components/popover-button.d.ts +3 -6
  875. package/dist/types/schema/components/table.d.ts +4 -34
  876. package/dist/types/schema/components/tabs.d.ts +3 -21
  877. package/dist/types/schema/components/textarea.d.ts +0 -28
  878. package/dist/types/schema/components/toaster.d.ts +0 -10
  879. package/dist/types/schema/index.d.ts +1 -1
  880. package/dist/types/schema/props/accept.d.ts +0 -3
  881. package/dist/types/schema/props/access-key.d.ts +0 -2
  882. package/dist/types/schema/props/active.d.ts +0 -3
  883. package/dist/types/schema/props/adjust-height.d.ts +0 -2
  884. package/dist/types/schema/props/alert-type.d.ts +0 -2
  885. package/dist/types/schema/props/align.d.ts +0 -2
  886. package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
  887. package/dist/types/schema/props/alt.d.ts +0 -3
  888. package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
  889. package/dist/types/schema/props/aria-controls.d.ts +0 -2
  890. package/dist/types/schema/props/aria-current-value.d.ts +1 -5
  891. package/dist/types/schema/props/aria-description.d.ts +0 -2
  892. package/dist/types/schema/props/aria-expanded.d.ts +0 -2
  893. package/dist/types/schema/props/aria-owns.d.ts +0 -2
  894. package/dist/types/schema/props/aria-selected.d.ts +0 -2
  895. package/dist/types/schema/props/auto-complete.d.ts +0 -2
  896. package/dist/types/schema/props/badge-text.d.ts +0 -2
  897. package/dist/types/schema/props/button-callbacks.d.ts +0 -3
  898. package/dist/types/schema/props/button-type.d.ts +1 -5
  899. package/dist/types/schema/props/button-variant.d.ts +1 -5
  900. package/dist/types/schema/props/checked.d.ts +0 -2
  901. package/dist/types/schema/props/collapsible.d.ts +0 -2
  902. package/dist/types/schema/props/color.d.ts +0 -4
  903. package/dist/types/schema/props/current-length.d.ts +0 -3
  904. package/dist/types/schema/props/custom-class.d.ts +0 -2
  905. package/dist/types/schema/props/disabled.d.ts +0 -2
  906. package/dist/types/schema/props/download.d.ts +0 -2
  907. package/dist/types/schema/props/error-list.d.ts +0 -2
  908. package/dist/types/schema/props/has-closer.d.ts +0 -2
  909. package/dist/types/schema/props/has-compact-button.d.ts +0 -2
  910. package/dist/types/schema/props/has-counter.d.ts +0 -3
  911. package/dist/types/schema/props/has-create-button.d.ts +0 -2
  912. package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
  913. package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
  914. package/dist/types/schema/props/has-value.d.ts +0 -3
  915. package/dist/types/schema/props/hide-label.d.ts +0 -3
  916. package/dist/types/schema/props/hide-msg.d.ts +0 -3
  917. package/dist/types/schema/props/hint.d.ts +0 -2
  918. package/dist/types/schema/props/href.d.ts +2 -4
  919. package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
  920. package/dist/types/schema/props/icons.d.ts +0 -3
  921. package/dist/types/schema/props/id.d.ts +0 -2
  922. package/dist/types/schema/props/image-sizes.d.ts +0 -3
  923. package/dist/types/schema/props/image-source.d.ts +0 -3
  924. package/dist/types/schema/props/image-srcset.d.ts +0 -3
  925. package/dist/types/schema/props/indeterminate.d.ts +0 -2
  926. package/dist/types/schema/props/index.d.ts +4 -0
  927. package/dist/types/schema/props/inline.d.ts +0 -3
  928. package/dist/types/schema/props/label-align.d.ts +1 -5
  929. package/dist/types/schema/props/label.d.ts +3 -7
  930. package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
  931. package/dist/types/schema/props/link-target.d.ts +0 -2
  932. package/dist/types/schema/props/loading.d.ts +1 -5
  933. package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
  934. package/dist/types/schema/props/max-length.d.ts +0 -3
  935. package/dist/types/schema/props/max.d.ts +0 -4
  936. package/dist/types/schema/props/modal.d.ts +0 -2
  937. package/dist/types/schema/props/msg.d.ts +0 -2
  938. package/dist/types/schema/props/multiple.d.ts +0 -3
  939. package/dist/types/schema/props/name.d.ts +0 -3
  940. package/dist/types/schema/props/open.d.ts +0 -3
  941. package/dist/types/schema/props/options.d.ts +0 -4
  942. package/dist/types/schema/props/orientation.d.ts +1 -5
  943. package/dist/types/schema/props/pagination-position.d.ts +1 -5
  944. package/dist/types/schema/props/pattern.d.ts +0 -3
  945. package/dist/types/schema/props/placeholder.d.ts +0 -3
  946. package/dist/types/schema/props/popover-align.d.ts +0 -2
  947. package/dist/types/schema/props/read-only.d.ts +0 -2
  948. package/dist/types/schema/props/required.d.ts +0 -2
  949. package/dist/types/schema/props/resize-textarea.d.ts +0 -2
  950. package/dist/types/schema/props/rows.d.ts +0 -2
  951. package/dist/types/schema/props/short-key.d.ts +0 -2
  952. package/dist/types/schema/props/show.d.ts +0 -3
  953. package/dist/types/schema/props/spell-check.d.ts +0 -2
  954. package/dist/types/schema/props/suggestions.d.ts +0 -2
  955. package/dist/types/schema/props/tab-behavior.d.ts +1 -5
  956. package/dist/types/schema/props/tab-index.d.ts +0 -2
  957. package/dist/types/schema/props/table-callbacks.d.ts +1 -4
  958. package/dist/types/schema/props/table-data-foot.d.ts +0 -3
  959. package/dist/types/schema/props/table-data.d.ts +0 -3
  960. package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
  961. package/dist/types/schema/props/table-header-cells.d.ts +0 -2
  962. package/dist/types/schema/props/table-selection.d.ts +0 -2
  963. package/dist/types/schema/props/toolbar-items.d.ts +0 -2
  964. package/dist/types/schema/props/tooltip-align.d.ts +0 -2
  965. package/dist/types/schema/props/touched.d.ts +0 -2
  966. package/dist/types/schema/props/type-input-date.d.ts +4 -2
  967. package/dist/types/schema/props/type-input-text.d.ts +0 -2
  968. package/dist/types/schema/props/unit.d.ts +0 -2
  969. package/dist/types/schema/props/variant/dialog.d.ts +1 -5
  970. package/dist/types/schema/props/variant/modal.d.ts +0 -1
  971. package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
  972. package/dist/types/schema/props/variant-alert.d.ts +0 -2
  973. package/dist/types/schema/props/variant-class-name.d.ts +0 -3
  974. package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
  975. package/dist/types/schema/props/variant-progress.d.ts +0 -2
  976. package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
  977. package/dist/types/schema/props/width.d.ts +0 -3
  978. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  979. package/dist/types/schema/utils/prop.validators.d.ts +11 -34
  980. package/dist/types/schema/validators/common.d.ts +2 -0
  981. package/dist/types/schema/validators/index.d.ts +0 -1
  982. package/dist/types/utils/testing/logged-messages.d.ts +1 -0
  983. package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
  984. package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
  985. package/doc/badge.md +6 -6
  986. package/doc/combobox.md +23 -23
  987. package/doc/input-checkbox.md +2 -2
  988. package/doc/input-color.md +22 -22
  989. package/doc/input-date.md +28 -28
  990. package/doc/input-email.md +30 -30
  991. package/doc/input-file.md +22 -22
  992. package/doc/input-number.md +28 -28
  993. package/doc/input-password.md +29 -29
  994. package/doc/input-radio.md +19 -19
  995. package/doc/input-range.md +24 -24
  996. package/doc/input-text.md +31 -31
  997. package/doc/select.md +24 -24
  998. package/doc/single-select.md +24 -24
  999. package/doc/table-stateful.md +16 -16
  1000. package/doc/tabs.md +1 -1
  1001. package/doc/textarea.md +29 -29
  1002. package/package.json +5 -6
  1003. package/vscode-custom-data.json +50 -138
  1004. package/dist/cjs/component-DE4OHvyu.js +0 -9299
  1005. package/dist/collection/components/card/base.js +0 -79
  1006. package/dist/collection/components/popover-button/base.js +0 -69
  1007. package/dist/collection/schema/components/accordion.js +0 -1
  1008. package/dist/collection/schema/components/button-link.js +0 -1
  1009. package/dist/collection/schema/components/collapsible.js +0 -1
  1010. package/dist/collection/schema/components/combobox.js +0 -1
  1011. package/dist/collection/schema/components/details.js +0 -1
  1012. package/dist/collection/schema/components/dialog.js +0 -1
  1013. package/dist/collection/schema/components/drawer.js +0 -1
  1014. package/dist/collection/schema/components/heading.js +0 -1
  1015. package/dist/collection/schema/components/input-checkbox.js +0 -1
  1016. package/dist/collection/schema/components/input-color.js +0 -1
  1017. package/dist/collection/schema/components/input-date.js +0 -1
  1018. package/dist/collection/schema/components/input-email.js +0 -1
  1019. package/dist/collection/schema/components/input-file.js +0 -1
  1020. package/dist/collection/schema/components/input-number.js +0 -1
  1021. package/dist/collection/schema/components/input-password.js +0 -1
  1022. package/dist/collection/schema/components/input-radio.js +0 -1
  1023. package/dist/collection/schema/components/input-range.js +0 -1
  1024. package/dist/collection/schema/components/input-text.js +0 -1
  1025. package/dist/collection/schema/components/kolibri.js +0 -1
  1026. package/dist/collection/schema/components/link-button.js +0 -1
  1027. package/dist/collection/schema/components/modal.js +0 -1
  1028. package/dist/collection/schema/components/nav.js +0 -1
  1029. package/dist/collection/schema/components/select.js +0 -1
  1030. package/dist/collection/schema/components/single-select.js +0 -1
  1031. package/dist/collection/schema/components/skip-nav.js +0 -1
  1032. package/dist/collection/schema/components/split-button.js +0 -1
  1033. package/dist/collection/schema/components/tableStateless.js +0 -1
  1034. package/dist/collection/schema/components/toolbar.js +0 -1
  1035. package/dist/collection/schema/components/tree-item.js +0 -1
  1036. package/dist/collection/schema/components/tree.js +0 -1
  1037. package/dist/collection/schema/components/version.js +0 -1
  1038. package/dist/collection/schema/validators/alignment.js +0 -10
  1039. package/dist/collection/utils/testing/legacy-component.js +0 -16
  1040. package/dist/esm/component-hiabKVP3.js +0 -9294
  1041. package/dist/kolibri/Heading-BubZbykM.js +0 -4
  1042. package/dist/kolibri/api-D0RNr-zh.js +0 -4
  1043. package/dist/kolibri/app-globals-DYRte_jr.js +0 -4
  1044. package/dist/kolibri/base-BP5SdLvQ.js +0 -4
  1045. package/dist/kolibri/base-BbGt9eYx.js +0 -4
  1046. package/dist/kolibri/base-CLsKm3-e.js +0 -4
  1047. package/dist/kolibri/base-Cz00snD6.js +0 -4
  1048. package/dist/kolibri/base-web-component-CdSFFCst.js +0 -4
  1049. package/dist/kolibri/base-web-component-DP9_OPgV.js +0 -4
  1050. package/dist/kolibri/behavior-B6y5Gofe.js +0 -4
  1051. package/dist/kolibri/behavior-BJR8CKBx.js +0 -4
  1052. package/dist/kolibri/behavior-DlH8byIw.js +0 -4
  1053. package/dist/kolibri/bem-registry-SKACeCny.js +0 -4
  1054. package/dist/kolibri/bootstrap-Bp7i4RJQ.js +0 -4
  1055. package/dist/kolibri/color-BbljGuAW.js +0 -4
  1056. package/dist/kolibri/common-BdSzSIXg.js +0 -4
  1057. package/dist/kolibri/component-6_YiKr2Z.js +0 -4
  1058. package/dist/kolibri/component-B8UMedaK.js +0 -4
  1059. package/dist/kolibri/component-CMHB3reH.js +0 -4
  1060. package/dist/kolibri/component-CNgECeRi.js +0 -4
  1061. package/dist/kolibri/component-CSsUaL_h.js +0 -4
  1062. package/dist/kolibri/component-CiJGQTU0.js +0 -4
  1063. package/dist/kolibri/component-DEwcJKDA.js +0 -4
  1064. package/dist/kolibri/component-NOe28NXD.js +0 -4
  1065. package/dist/kolibri/component-ZdHnXLLI.js +0 -4
  1066. package/dist/kolibri/component-bIIx1x7q.js +0 -4
  1067. package/dist/kolibri/component-hiabKVP3.js +0 -4
  1068. package/dist/kolibri/contrast-DtK0a6X2.js +0 -4
  1069. package/dist/kolibri/controller-CZcQ57AP.js +0 -4
  1070. package/dist/kolibri/dev.utils-B0t4rcBV.js +0 -4
  1071. package/dist/kolibri/devtools-DuJRc6wJ.js +0 -4
  1072. package/dist/kolibri/disabled-B2o4Ctgy.js +0 -4
  1073. package/dist/kolibri/field-control-C9dIXnES.js +0 -4
  1074. package/dist/kolibri/has-closer-BrG00xL7.js +0 -4
  1075. package/dist/kolibri/href-CfNF4pHX.js +0 -4
  1076. package/dist/kolibri/i18n-BLkzMf6D.js +0 -4
  1077. package/dist/kolibri/i18n-BRgvVqCf.js +0 -4
  1078. package/dist/kolibri/id-Bh4FF8c0.js +0 -4
  1079. package/dist/kolibri/index-Bbr6Os1b.js +0 -6
  1080. package/dist/kolibri/input-C1YsxnDL.js +0 -4
  1081. package/dist/kolibri/input-container-zXl_6y52.js +0 -4
  1082. package/dist/kolibri/item-DXDEHrEg.js +0 -4
  1083. package/dist/kolibri/item-Dms_59sU.js +0 -4
  1084. package/dist/kolibri/item-hsQoejqZ.js +0 -4
  1085. package/dist/kolibri/item-zXunNZh5.js +0 -4
  1086. package/dist/kolibri/label-BQVd3bkc.js +0 -4
  1087. package/dist/kolibri/label-hints-CZGo9ZD5.js +0 -4
  1088. package/dist/kolibri/label-lang-segment-C5LYGOHt.js +0 -4
  1089. package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +0 -4
  1090. package/dist/kolibri/level-BVXGgbSM.js +0 -4
  1091. package/dist/kolibri/link-target-BWPSEd9a.js +0 -4
  1092. package/dist/kolibri/links-BbsnNXfa.js +0 -4
  1093. package/dist/kolibri/multiple-S3Ol1G6Z.js +0 -4
  1094. package/dist/kolibri/number-value-DmOl1z7z.js +0 -4
  1095. package/dist/kolibri/open-DPP79Urq.js +0 -4
  1096. package/dist/kolibri/options-aA3M-QV2.js +0 -4
  1097. package/dist/kolibri/placeholder-DlHbiVjz.js +0 -4
  1098. package/dist/kolibri/props-from-config-BOUcpF7e.js +0 -4
  1099. package/dist/kolibri/read-only-DSBWEPED.js +0 -4
  1100. package/dist/kolibri/required-xw5BBPvV.js +0 -4
  1101. package/dist/kolibri/resolve-props-CL8wxjtP.js +0 -4
  1102. package/dist/kolibri/resolve-props-DAVb5BM3.js +0 -4
  1103. package/dist/kolibri/rows-DRV8YlQv.js +0 -4
  1104. package/dist/kolibri/smart-button-CQps8AlL.js +0 -4
  1105. package/dist/kolibri/spell-check-hy6xFhmT.js +0 -4
  1106. package/dist/kolibri/src-AwoM1pRe.js +0 -4
  1107. package/dist/kolibri/step-CopA0_m7.js +0 -4
  1108. package/dist/kolibri/suggestions-BsiiaAxK.js +0 -4
  1109. package/dist/kolibri/suggestions-CY8BJMOa.js +0 -4
  1110. package/dist/kolibri/toggle-handler-ZMs2rBXc.js +0 -4
  1111. package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +0 -4
  1112. package/dist/kolibri/unit-hmMwqE9a.js +0 -4
  1113. package/dist/kolibri/validators-BgDmq-Qt.js +0 -4
  1114. package/dist/kolibri/value-string-Dy8zJxlP.js +0 -4
  1115. package/dist/types/components/card/base.d.ts +0 -27
  1116. package/dist/types/components/popover-button/base.d.ts +0 -21
  1117. package/dist/types/schema/components/accordion.d.ts +0 -11
  1118. package/dist/types/schema/components/button-link.d.ts +0 -7
  1119. package/dist/types/schema/components/collapsible.d.ts +0 -7
  1120. package/dist/types/schema/components/combobox.d.ts +0 -26
  1121. package/dist/types/schema/components/details.d.ts +0 -11
  1122. package/dist/types/schema/components/dialog.d.ts +0 -21
  1123. package/dist/types/schema/components/drawer.d.ts +0 -17
  1124. package/dist/types/schema/components/heading.d.ts +0 -17
  1125. package/dist/types/schema/components/input-checkbox.d.ts +0 -25
  1126. package/dist/types/schema/components/input-color.d.ts +0 -25
  1127. package/dist/types/schema/components/input-date.d.ts +0 -34
  1128. package/dist/types/schema/components/input-email.d.ts +0 -31
  1129. package/dist/types/schema/components/input-file.d.ts +0 -22
  1130. package/dist/types/schema/components/input-number.d.ts +0 -33
  1131. package/dist/types/schema/components/input-password.d.ts +0 -31
  1132. package/dist/types/schema/components/input-radio.d.ts +0 -22
  1133. package/dist/types/schema/components/input-range.d.ts +0 -27
  1134. package/dist/types/schema/components/input-text.d.ts +0 -33
  1135. package/dist/types/schema/components/kolibri.d.ts +0 -21
  1136. package/dist/types/schema/components/link-button.d.ts +0 -7
  1137. package/dist/types/schema/components/modal.d.ts +0 -4
  1138. package/dist/types/schema/components/nav.d.ts +0 -16
  1139. package/dist/types/schema/components/select.d.ts +0 -24
  1140. package/dist/types/schema/components/single-select.d.ts +0 -24
  1141. package/dist/types/schema/components/skip-nav.d.ts +0 -16
  1142. package/dist/types/schema/components/split-button.d.ts +0 -9
  1143. package/dist/types/schema/components/tableStateless.d.ts +0 -24
  1144. package/dist/types/schema/components/toolbar.d.ts +0 -11
  1145. package/dist/types/schema/components/tree-item.d.ts +0 -12
  1146. package/dist/types/schema/components/tree.d.ts +0 -10
  1147. package/dist/types/schema/components/version.d.ts +0 -10
  1148. package/dist/types/schema/validators/alignment.d.ts +0 -3
  1149. package/dist/types/utils/testing/legacy-component.d.ts +0 -4
  1150. package/dist/cjs/{ariaCurrentService-3051l6MI.js → aria-current-service-3051l6MI.js} +0 -0
  1151. package/dist/collection/{components/link/ariaCurrentService.js → internal/functional-components/link/aria-current-service.js} +0 -0
  1152. package/dist/collection/internal/functional-components/pagination/{page-size-select.js → select-item.js} +9 -9
  1153. package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
  1154. package/dist/components/{ariaCurrentService.js → aria-current-service.js} +0 -0
  1155. package/dist/esm/{ariaCurrentService-YoLNpD5S.js → aria-current-service-YoLNpD5S.js} +0 -0
  1156. package/dist/kolibri/{ariaCurrentService-YoLNpD5S.js → aria-current-service-YoLNpD5S.js} +0 -0
  1157. package/dist/types/{components → internal/functional-components}/form/controller.d.ts +0 -0
  1158. package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
  1159. package/dist/types/internal/functional-components/pagination/{page-size-select.d.ts → select-item.d.ts} +1 -1
  1160. /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{E as e,K as t,T as n,d as u,w as d,L as o}from"./bem-registry.js";export{B as BEM,a as KoliBriDevHelper,R as getDefaultThemeName}from"./bem-registry.js";import{setMode as m}from"@stencil/core/internal/client";export{getAssetPath,render,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";export{s as setCurrentLocation}from"./ariaCurrentService.js";import{i as f}from"./bootstrap.js";export{b as bootstrap,r as register}from"./bootstrap.js";import{K as h}from"./component-names.js";export{K as KolEvent}from"./events.js";export{i as isTooltipOpen}from"./tooltip-open-tracking.js";const c=new e("kol",t,n),l=(()=>{m((e=>{try{e.shadowRoot instanceof ShadowRoot&&u(e,d(e))}catch(e){}return"default"})),import("./devtools.js").then((e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()})).catch((e=>{o.error(e)}))})||(()=>{});class g{constructor(e,t){var n;this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(h),this.document.body.prepend(this.toastContainerElement),(null===(n=this.options)||void 0===n?void 0:n.defaultVariant)&&o.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(e,t){if(!f())throw Error("Toaster: Call KoliBri bootstrap/register method first.");let n=this.instances.get(e);return n||(n=new g(e,t),this.instances.set(e,n)),n}dispose(){const e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):o.warn("Toaster service is already disposed.")}enqueue(e){if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var p;g.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(p||(p={}));const A=Object.getOwnPropertyNames(p);var M;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(M||(M={}));const S=Object.getOwnPropertyNames(M);var v;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(v||(v={}));const k=Object.getOwnPropertyNames(v),z=new Map;z.set(p["Die Bundesregierung"],["Die","Bundesregierung"]),z.set(p["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),z.set(p["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),z.set(p["Auswärtiges Amt"],["Auswärtiges Amt"]),z.set(p["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),z.set(p["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),z.set(p["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),z.set(p["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),z.set(p["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),z.set(p["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),z.set(p["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),z.set(p["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),z.set(p["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),z.set(p["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),z.set(p["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),z.set(M["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),z.set(M["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),z.set(M["Bundesamt für äußere Restitutionen"],[]),z.set(M["Bundesamt für Bauwesen und Raumordnung"],[]),z.set(M["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),z.set(M["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),z.set(M["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),z.set(M["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),z.set(M["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),z.set(M["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),z.set(M["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),z.set(M["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),z.set(M["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),z.set(M["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),z.set(M["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),z.set(M["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),z.set(M["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),z.set(M.Bundesarchiv,["Das","Bundesarchiv"]),z.set(M["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),z.set(M.Bundesausgleichsamt,["Bundesausgleichsamt"]),z.set(M.Bundeskartellamt,["Bundeskartellamt"]),z.set(M.Bundeskriminalamt,["Bundeskriminalamt"]),z.set(M.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),z.set(M["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),z.set(M["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),z.set(M["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),z.set(M.Bundessortenamt,["Bundessortenamt"]),z.set(M.Bundessprachenamt,["Bundessprachenamt"]),z.set(M["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),z.set(M.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),z.set(M["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),z.set(M["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),z.set(M["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),z.set(M.Generalzolldirektion,["Generalzolldirektion"]),z.set(M["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),z.set(M["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),z.set(v["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),z.set(v["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),z.set(v["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),z.set(v["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),z.set(v["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),z.set(v["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),z.set(v["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]),l();export{S as BUNDESAEMTER,k as BUNDESANSTALTEN,A as BUNDESMINISTERIEN,z as BUND_LOGO_TEXT_MAP,M as Bundesamt,v as Bundesanstalt,p as Bundesministerium,c as KoliBri,g as ToasterService,f as isInitialized}
4
+ import{setMode as e}from"@stencil/core/internal/client";export{getAssetPath,render,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";import{E as t,K as n,T as u,d,w as o,L as m}from"./bem-registry.js";export{B as BEM,a as KoliBriDevHelper,R as getDefaultThemeName}from"./bem-registry.js";import{i as f}from"./bootstrap.js";export{b as bootstrap,r as register}from"./bootstrap.js";import{K as h}from"./component-names.js";export{s as setCurrentLocation}from"./aria-current-service.js";export{K as KolEvent}from"./events.js";export{i as isTooltipOpen}from"./tooltip-open-tracking.js";const c=new t("kol",n,u),l=(()=>{e((e=>{try{e.shadowRoot instanceof ShadowRoot&&d(e,o(e))}catch(e){}return"default"})),import("./devtools.js").then((e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()})).catch((e=>{m.error(e)}))})||(()=>{});class g{constructor(e,t){var n;this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(h),this.document.body.prepend(this.toastContainerElement),(null===(n=this.options)||void 0===n?void 0:n.defaultVariant)&&m.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(e,t){if(!f())throw Error("Toaster: Call KoliBri bootstrap/register method first.");let n=this.instances.get(e);return n||(n=new g(e,t),this.instances.set(e,n)),n}dispose(){const e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):m.warn("Toaster service is already disposed.")}enqueue(e){if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var p;g.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(p||(p={}));const A=Object.getOwnPropertyNames(p);var M;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(M||(M={}));const S=Object.getOwnPropertyNames(M);var v;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(v||(v={}));const k=Object.getOwnPropertyNames(v),z=new Map;z.set(p["Die Bundesregierung"],["Die","Bundesregierung"]),z.set(p["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),z.set(p["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),z.set(p["Auswärtiges Amt"],["Auswärtiges Amt"]),z.set(p["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),z.set(p["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),z.set(p["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),z.set(p["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),z.set(p["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),z.set(p["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),z.set(p["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),z.set(p["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),z.set(p["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),z.set(p["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),z.set(p["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),z.set(M["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),z.set(M["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),z.set(M["Bundesamt für äußere Restitutionen"],[]),z.set(M["Bundesamt für Bauwesen und Raumordnung"],[]),z.set(M["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),z.set(M["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),z.set(M["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),z.set(M["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),z.set(M["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),z.set(M["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),z.set(M["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),z.set(M["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),z.set(M["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),z.set(M["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),z.set(M["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),z.set(M["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),z.set(M["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),z.set(M.Bundesarchiv,["Das","Bundesarchiv"]),z.set(M["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),z.set(M.Bundesausgleichsamt,["Bundesausgleichsamt"]),z.set(M.Bundeskartellamt,["Bundeskartellamt"]),z.set(M.Bundeskriminalamt,["Bundeskriminalamt"]),z.set(M.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),z.set(M["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),z.set(M["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),z.set(M["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),z.set(M.Bundessortenamt,["Bundessortenamt"]),z.set(M.Bundessprachenamt,["Bundessprachenamt"]),z.set(M["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),z.set(M.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),z.set(M["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),z.set(M["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),z.set(M["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),z.set(M.Generalzolldirektion,["Generalzolldirektion"]),z.set(M["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),z.set(M["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),z.set(v["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),z.set(v["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),z.set(v["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),z.set(v["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),z.set(v["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),z.set(v["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),z.set(v["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]),l();export{S as BUNDESAEMTER,k as BUNDESANSTALTEN,A as BUNDESMINISTERIEN,z as BUND_LOGO_TEXT_MAP,M as Bundesamt,v as Bundesanstalt,p as Bundesministerium,c as KoliBri,g as ToasterService,f as isInitialized}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{G as o,H as t,k as n,p as s,b as e}from"./bem-registry.js";import{c as r,B as i,e as l}from"./props-from-config.js";import{h as a}from"@stencil/core/internal/client";import{B as c}from"./component8.js";import{I as m}from"./component4.js";import{a as d}from"./tslib.es6.js";import{i as p,g as u}from"./base-web-component2.js";const f=(o,s,e)=>{n(e)?o[s]=e:t(e,1)&&(o[s]={icon:e})},b=o=>{let n={};return t(o,1)?n={left:{icon:o}}:"object"==typeof o&&null!==o&&(f(n,"top",o.top),f(n,"right",o.right),f(n,"bottom",o.bottom),f(n,"left",o.left)),n},j=r("icons",{},(function(n){let e=n;if("string"==typeof n)try{e=s(n)}catch(o){}if(t(e,1))return b(e);if("object"==typeof e&&null!==e){const n=e;if(0===Object.keys(n).length||["left","right","top","bottom"].some((s=>(n=>t(n,0)||(n=>"object"==typeof n&&null!==n&&(void 0===n.style||o(n.style))&&(void 0===n.label||t(n.label))&&t(n.icon,1))(n))(n[s]))))return b(e)}throw new Error("Invalid icons: "+typeof n)})),g=o=>{var t;return o?a(m,"string"==typeof o?{class:"kol-input-container__icon",icons:o,label:""}:{class:"kol-input-container__icon",icons:o.icon,label:null!==(t=o.label)&&void 0!==t?t:"",style:o.style}):null},v=({icons:o,smartButton:t,startAdornment:n,endAdornment:s})=>({startAdornment:[null!=n?n:null,g(null==o?void 0:o.left)].filter(Boolean),endAdornment:[t?a(c,Object.assign({},t)):null,g(null==o?void 0:o.right),null!=s?s:null].filter(Boolean)}),y=e.forBlock("kol-input-container"),A=(o,t)=>{var{position:n="start",class:s}=o,e=d(o,["position","class"]);return a("div",Object.assign({class:l(y("adornment",{[n]:!0}),s)},e),t)};function h(o){return!!o&&(Array.isArray(o)?o.length>0:Boolean(o))}const B=(o,t)=>{const{class:n,startAdornment:s,endAdornment:e,disabled:r,msg:l,touched:c}=o,m=d(o,["class","startAdornment","endAdornment","disabled","msg","touched"]),f=h(s)||h(e);return a(i,Object.assign({block:"kol-input-container",modifiers:Object.assign({disabled:Boolean(r)},p(l,c)?{[u(l)]:!0}:{}),class:n},m),f&&a(A,{position:"start"},s),a("div",{class:y("container")},t),f&&a(A,{position:"end"},e))};export{B as I,v as g,j as h}
4
+ import{G as o,H as t,l as n,p as s,b as e}from"./bem-registry.js";import{c as r,B as i,e as l}from"./props-from-config.js";import{h as a}from"@stencil/core/internal/client";import{B as c}from"./component8.js";import{I as m}from"./component4.js";import{a as d}from"./tslib.es6.js";import{i as p,g as u}from"./base-web-component2.js";const f=(o,s,e)=>{n(e)?o[s]=e:t(e,1)&&(o[s]={icon:e})},b=o=>{let n={};return t(o,1)?n={left:{icon:o}}:"object"==typeof o&&null!==o&&(f(n,"top",o.top),f(n,"right",o.right),f(n,"bottom",o.bottom),f(n,"left",o.left)),n},j=r("icons",{},(function(n){let e=n;if("string"==typeof n)try{e=s(n)}catch(o){}if(t(e,1))return b(e);if("object"==typeof e&&null!==e){const n=e;if(0===Object.keys(n).length||["left","right","top","bottom"].some((s=>(n=>t(n,0)||(n=>"object"==typeof n&&null!==n&&(void 0===n.style||o(n.style))&&(void 0===n.label||t(n.label))&&t(n.icon,1))(n))(n[s]))))return b(e)}throw new Error("Invalid icons: "+typeof n)})),g=o=>{var t;return o?a(m,"string"==typeof o?{class:"kol-input-container__icon",icons:o,label:""}:{class:"kol-input-container__icon",icons:o.icon,label:null!==(t=o.label)&&void 0!==t?t:"",style:o.style}):null},v=({icons:o,smartButton:t,startAdornment:n,endAdornment:s})=>({startAdornment:[null!=n?n:null,g(null==o?void 0:o.left)].filter(Boolean),endAdornment:[t?a(c,Object.assign({},t)):null,g(null==o?void 0:o.right),null!=s?s:null].filter(Boolean)}),y=e.forBlock("kol-input-container"),A=(o,t)=>{var{position:n="start",class:s}=o,e=d(o,["position","class"]);return a("div",Object.assign({class:l(y("adornment",{[n]:!0}),s)},e),t)};function h(o){return!!o&&(Array.isArray(o)?o.length>0:Boolean(o))}const B=(o,t)=>{const{class:n,startAdornment:s,endAdornment:e,disabled:r,msg:l,touched:c}=o,m=d(o,["class","startAdornment","endAdornment","disabled","msg","touched"]),f=h(s)||h(e);return a(i,Object.assign({block:"kol-input-container",modifiers:Object.assign({disabled:Boolean(r)},p(l,c)?{[u(l)]:!0}:{}),class:n},m),f&&a(A,{position:"start"},s),a("div",{class:y("container")},t),f&&a(A,{position:"end"},e))};export{B as I,v as g,j as h}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as o,a as e}from"./controller.js";import{s as r}from"./bem-registry.js";import{n as s}from"./dev.utils.js";import{c as t}from"./element-interaction.js";import{d as l,K as n}from"./events.js";import{B as i}from"./base-web-component.js";import{T as a}from"./behavior.js";import{r as m}from"./resolve-props.js";const c=c=>{const d=new a(i.stateLess),f=t(),p=s();let u,v,j;const b=(o,e)=>{j&&l(j,o,e)},g=s=>{if(s.stopPropagation(),d.hideTooltip(),"submit"===(null==u?void 0:u.type))o({form:j});else if("reset"===(null==u?void 0:u.type))e({form:j});else{const o=null==u?void 0:u.on.onClick;"function"==typeof o&&(r(s,f.el),o(s,v))}b(n.click,v)},h=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onMouseDown)||void 0===r||r.call(e,o),b(n.mousedown)},y=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onFocus)||void 0===r||r.call(e,o),b(n.focus)},w=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onBlur)||void 0===r||r.call(e,o),b(n.blur)},B=o=>{o&&(j=o)};return{getFcProps:(o,e)=>(u=m(o,c()),v=o._value,d.componentWillLoad({label:u.label,align:u.tooltipAlign}),Object.assign(Object.assign(Object.assign({},u),e),{ariaDescriptionId:p,handleBlur:w,handleClick:g,handleFocus:y,handleMouseDown:h,ref:B,refButton:f,refTooltip:d.setTooltipElementRef})),getElement:()=>f.el,getRootElement:()=>j,syncListeners:()=>{f.el&&d.syncListeners(void 0,f.el,!0)},destroy:()=>{d.destroy()}}};export{c}
4
+ import{s as o}from"./bem-registry.js";import{c as e}from"./dev.utils.js";import{c as r}from"./element-interaction.js";import{d as s,K as t}from"./events.js";import{B as l}from"./base-web-component.js";import{p as i,a as n}from"./controller.js";import{T as a}from"./behavior.js";import{r as m}from"./resolve-props.js";const c=c=>{const d=new a(l.stateLess),p=r(),f=e("aria-description");let u,v,j;const b=(o,e)=>{j&&s(j,o,e)},g=e=>{if(e.stopPropagation(),d.hideTooltip(),"submit"===(null==u?void 0:u.type))i({form:j});else if("reset"===(null==u?void 0:u.type))n({form:j});else{const r=null==u?void 0:u.on.onClick;"function"==typeof r&&(o(e,p.el),r(e,v))}b(t.click,v)},h=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onMouseDown)||void 0===r||r.call(e,o),b(t.mousedown)},y=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onFocus)||void 0===r||r.call(e,o),b(t.focus)},w=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onBlur)||void 0===r||r.call(e,o),b(t.blur)},B=o=>{o&&(j=o)};return{getFcProps:(o,e)=>(u=m(o,c()),v=o._value,d.componentWillLoad({label:u.label,align:u.tooltipAlign}),Object.assign(Object.assign(Object.assign({},u),e),{ariaDescriptionId:f,handleBlur:w,handleClick:g,handleFocus:y,handleMouseDown:h,ref:B,refButton:p,refTooltip:d.setTooltipElementRef})),getElement:()=>p.el,getRootElement:()=>j,syncListeners:()=>{p.el&&d.syncListeners(void 0,p.el,!0)},destroy:()=>{d.destroy()}}};export{c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{X as o}from"./bem-registry.js";import{n as s,c as t}from"./dev.utils.js";import{c as r}from"./element-interaction.js";import{d as e,K as a}from"./events.js";import{e as n,a as i,c as m,d as p,n as l}from"./component8.js";import{d as c}from"./disabled.js";import{a as d,c as f,g as j,h as v,i as b,l as g,d as u,s as h,t as O,e as w,v as y}from"./component2.js";import{d as x}from"./props-from-config.js";import{l as D}from"./label-with-expert-slot.js";import{p as _,a as q}from"./behavior4.js";import{B}from"./base-web-component.js";import{r as F}from"./resolve-props.js";import{T as K}from"./behavior.js";import{i as L}from"./id.js";const P={required:[D],optional:[d,f,n,i,m,p,j,c,v,L,b,g,l,_,u,h,O,w,y]},T=n=>{var i;const m=new q(B.stateLess),l=new K(B.stateLess),d=r();let f,j;const g=x(P);delete g.tabIndex;const u=o=>{c.apply(o,(o=>{g.disabled=o}))};u(n.disabled),v.apply(n.hideLabel,(o=>{g.hideLabel=o})),h.apply(n.icons,(o=>{g.icons=o})),b.apply(!1,(o=>{g.inline=o})),w.apply("top",(o=>{g.tooltipAlign=o})),p.apply("button",(o=>{g.type=o})),D.apply(n.label,(o=>{g.label=o}));let O=_.getDefaultValue();_.apply(n.popoverAlign,(o=>{O=o})),g.popoverAlign=O,m.componentWillLoad({align:O}),y.apply(null!==(i=o("buttonVariantDefault",n.getFlagHost()))&&void 0!==i?i:"normal",(o=>{g.variant=o})),g.ariaDescriptionId=s(),g.popoverId=t("popover");const L=o=>{const s=n.getEventTarget?n.getEventTarget():j;s&&e(s,o)},T=o=>{n.setOpen("open"===o.newState)};g.handleClick=o=>{o.stopPropagation(),l.hideTooltip(),m.setShow(!n.getOpen()),L(a.click)},g.handleMouseDown=()=>L(a.mousedown),g.handleFocus=()=>L(a.focus),g.handleBlur=()=>L(a.blur),g.refButton=o=>{d(o),m.setTriggerElement(o)},g.refPopover=o=>{f=o,m.setPopoverElementRef(o)},g.refTooltip=l.setTooltipElementRef;const V=o=>{j=o},k=()=>{l.componentWillLoad({label:g.label,align:g.tooltipAlign})};return k(),{getFcProps:o=>(o&&(o=>{var s,t;const r=F(Object.assign(Object.assign({},o),{_on:void 0,_variant:null!==(s=o._variant)&&void 0!==s?s:"normal"}),n.getFlagHost());g.accessKey=r.accessKey,g.ariaDescription=r.ariaDescription,g.customClass=r.customClass,g.disabled=r.disabled,g.hideLabel=r.hideLabel,g.icons=r.icons,g.id=r.id,g.inline=r.inline,g.label=r.label,g.name=r.name,g.shortKey=r.shortKey,g.tabIndex=r.tabIndex,g.tooltipAlign=r.tooltipAlign,g.type=r.type,g.variant=r.variant,_.apply(null!==(t=o._popoverAlign)&&void 0!==t?t:"bottom",(o=>{g.popoverAlign=o,m.watchAlign(o)})),k()})(o),Object.assign(Object.assign({},g),{popoverOpen:n.getOpen(),ref:V})),hide:()=>m.setShow(!1),setDisabled:u,syncListeners:()=>{d.el&&l.syncListeners(void 0,d.el,!0),null==f||f.addEventListener("toggle",T)},destroy:()=>{l.destroy(),f&&(f.removeEventListener("toggle",T),f=void 0),m.destroy()}}};export{T as c}
4
+ import{X as o}from"./bem-registry.js";import{c as s}from"./dev.utils.js";import{c as t}from"./element-interaction.js";import{d as r,K as e}from"./events.js";import{e as a,a as i,c as n,d as m,n as p}from"./component8.js";import{d as l}from"./disabled.js";import{a as c,c as d,g as f,h as j,i as v,l as b,d as g,s as u,t as h,e as O,v as w}from"./component2.js";import{d as y}from"./props-from-config.js";import{l as x}from"./label-with-expert-slot.js";import{p as D,a as _}from"./behavior4.js";import{B as q}from"./base-web-component.js";import{r as B}from"./resolve-props.js";import{T as F}from"./behavior.js";import{i as K}from"./id.js";const L={required:[x],optional:[c,d,a,i,n,m,f,l,j,K,v,b,p,D,g,u,h,O,w]},P=a=>{var i;const n=new _(q.stateLess),p=new F(q.stateLess),c=t();let d,f;const b=y(L);delete b.tabIndex;const g=o=>{l.apply(o,(o=>{b.disabled=o}))};g(a.disabled),j.apply(a.hideLabel,(o=>{b.hideLabel=o})),u.apply(a.icons,(o=>{b.icons=o})),v.apply(!1,(o=>{b.inline=o})),O.apply("top",(o=>{b.tooltipAlign=o})),m.apply("button",(o=>{b.type=o})),x.apply(a.label,(o=>{b.label=o}));let h=D.getDefaultValue();D.apply(a.popoverAlign,(o=>{h=o})),b.popoverAlign=h,n.componentWillLoad({align:h}),w.apply(null!==(i=o("buttonVariantDefault",a.getFlagHost()))&&void 0!==i?i:"normal",(o=>{b.variant=o})),b.ariaDescriptionId=s("aria-description"),b.popoverId=s("popover");const K=o=>{const s=a.getEventTarget?a.getEventTarget():f;s&&r(s,o)},P=o=>{a.setOpen("open"===o.newState)};b.handleClick=o=>{o.stopPropagation(),p.hideTooltip(),n.setShow(!a.getOpen()),K(e.click)},b.handleMouseDown=()=>K(e.mousedown),b.handleFocus=()=>K(e.focus),b.handleBlur=()=>K(e.blur),b.refButton=o=>{c(o),n.setTriggerElement(o)},b.refPopover=o=>{d=o,n.setPopoverElementRef(o)},b.refTooltip=p.setTooltipElementRef;const T=o=>{f=o},V=()=>{p.componentWillLoad({label:b.label,align:b.tooltipAlign})};return V(),{getFcProps:o=>(o&&(o=>{var s,t;const r=B(Object.assign(Object.assign({},o),{_on:void 0,_variant:null!==(s=o._variant)&&void 0!==s?s:"normal"}),a.getFlagHost());b.accessKey=r.accessKey,b.ariaDescription=r.ariaDescription,b.customClass=r.customClass,b.disabled=r.disabled,b.hideLabel=r.hideLabel,b.icons=r.icons,b.id=r.id,b.inline=r.inline,b.label=r.label,b.name=r.name,b.shortKey=r.shortKey,b.tabIndex=r.tabIndex,b.tooltipAlign=r.tooltipAlign,b.type=r.type,b.variant=r.variant,D.apply(null!==(t=o._popoverAlign)&&void 0!==t?t:"bottom",(o=>{b.popoverAlign=o,n.watchAlign(o)})),V()})(o),Object.assign(Object.assign({},b),{popoverOpen:a.getOpen(),ref:T})),hide:()=>n.setShow(!1),setDisabled:g,syncListeners:()=>{c.el&&p.syncListeners(void 0,c.el,!0),null==d||d.addEventListener("toggle",P)},destroy:()=>{p.destroy(),d&&(d.removeEventListener("toggle",P),d=void 0),n.destroy()}}};export{P as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{o}from"./ariaCurrentService.js";import{s as r}from"./bem-registry.js";import{n as t}from"./dev.utils.js";import{c as e}from"./element-interaction.js";import{d as s,K as n}from"./events.js";import{B as i}from"./base-web-component.js";import{T as l}from"./behavior.js";import{r as a}from"./resolve-props2.js";const c=c=>{const m=new l(i.stateLess),p=e(),f=t();let d,u,v,j="",b=!1;const y=()=>"string"==typeof(null==d?void 0:d.href)?d.href:"",g=()=>{const o=null==d?void 0:d.label;return"string"==typeof o&&o.length>0?o:y()},h=o=>{const r=o===(null==d?void 0:d.href)?d.ariaCurrentValue:"";j!==r&&(j=r,b||c())},C=o=>{if(m.hideTooltip(),!0===(null==d?void 0:d.disabled))return void o.preventDefault();const t=y(),e=null==d?void 0:d.on;"function"==typeof(null==e?void 0:e.onClick)&&(r(o,p.el),e.onClick(o,t)),u&&s(u,n.click,t)},O=o=>{o&&(u=o)};return{getFcProps:(r,t)=>(d=a(r),v||(b=!0,v=o(h),b=!1),m.componentWillLoad({label:g(),align:d.tooltipAlign}),Object.assign(Object.assign(Object.assign({},d),t),{ariaCurrent:j,ariaDescriptionId:f,expertSlot:""===r._label,handleAnchorClick:C,ref:O,refAnchor:p,refTooltip:m.setTooltipElementRef})),syncListeners:()=>{p.el&&m.syncListeners(void 0,p.el,!0)},destroy:()=>{null==v||v(),v=void 0,m.destroy()}}};export{c}
4
+ import{s as o}from"./bem-registry.js";import{c as r}from"./dev.utils.js";import{c as t}from"./element-interaction.js";import{d as e,K as s}from"./events.js";import{B as i}from"./base-web-component.js";import{T as n}from"./behavior.js";import{o as l}from"./aria-current-service.js";import{r as a}from"./resolve-props2.js";const c=c=>{const p=new n(i.stateLess),m=t(),f=r("aria-description");let d,u,v,j="",b=!1;const y=()=>"string"==typeof(null==d?void 0:d.href)?d.href:"",g=()=>{const o=null==d?void 0:d.label;return"string"==typeof o&&o.length>0?o:y()},h=o=>{const r=o===(null==d?void 0:d.href)?d.ariaCurrentValue:"";j!==r&&(j=r,b||c())},O=r=>{if(p.hideTooltip(),!0===(null==d?void 0:d.disabled))return void r.preventDefault();const t=y(),i=null==d?void 0:d.on;"function"==typeof(null==i?void 0:i.onClick)&&(o(r,m.el),i.onClick(r,t)),u&&e(u,s.click,t)},w=o=>{o&&(u=o)};return{getFcProps:(o,r)=>(d=a(o),v||(b=!0,v=l(h),b=!1),p.componentWillLoad({label:g(),align:d.tooltipAlign}),Object.assign(Object.assign(Object.assign({},d),r),{ariaCurrent:j,ariaDescriptionId:f,expertSlot:""===o._label,handleAnchorClick:O,ref:w,refAnchor:m,refTooltip:p.setTooltipElementRef})),syncListeners:()=>{m.el&&p.syncListeners(void 0,m.el,!0)},destroy:()=>{null==v||v(),v=void 0,p.destroy()}}};export{c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as t}from"@stencil/core/internal/client";import{t as e}from"./i18n.js";import{p as s,b as i,S as o}from"./bem-registry.js";import{c as a,G as n,a as l,B as r,r as p,t as u,d as c}from"./props-from-config.js";import{B as g}from"./component8.js";import{d as h,K as d}from"./events.js";import{r as m,a as b}from"./unique-nav-labels.js";import{g as v,e as f}from"./component2.js";import{l as y}from"./label.js";import{c as C}from"./item.js";import{c as z}from"./item-pool.js";import{c as S}from"./dev.utils.js";import{c as j}from"./element-interaction.js";import{B as k,s as O}from"./base-web-component4.js";const x=a("boundaryCount",1,(t=>Math.max(0,t))),_=a("page",0,n),B=a("pageSize",1,n),P=/^\[object Object\]$/,$=a("pageSizeOptions",[],(function(t){if(""===t||"string"==typeof t&&P.test(t))throw new Error("Unreflected page size options");const e="string"==typeof t?s(t):t;if(Array.isArray(e)&&e.every((t=>"number"==typeof t)))return e.map((t=>({label:`${t}`,value:t})));throw new Error("Invalid page size options")})),A=l(),w=["first","last","next","previous"],F=t=>({first:t,last:t,next:t,previous:t}),D=a("hasButtons",F(!0),(function t(e){if("boolean"==typeof e)return F(e);if("object"==typeof e&&null!==e){const t={};return w.forEach((s=>{const i=e[s];"boolean"==typeof i&&(t[s]=i)})),t}if("string"==typeof e){const i=s(e);return"object"==typeof i&&null!==i?t(i):F(!1)}throw new Error("Invalid pagination buttons")})),M=a("max",0,n),E=a("siblingCount",1,(t=>Math.max(0,t))),I={required:[y,_,A,M],optional:[x,v,$,B,D,E,f]},H=(t,e=1)=>Math.ceil(t/e),K=(t,e)=>{var s,i;return e.length>0?null!==(i=null===(s=e.find((e=>e.value===t)))||void 0===s?void 0:s.value)&&void 0!==i?i:e[0].value:t},T=(t,e,s,i)=>{const o=[];let a=!1;for(let n=1;n<=e;n++)n<=s||n>e-s||n>=t-i&&n<=t+i?(a=!0,o.push({page:n,selected:n===t})):a?(a=!1,o.push("separator")):o.push(null);return o},q=i.forBlock("kol-pagination"),L={left:"kolicon-chevron-double-left"},G={left:"kolicon-chevron-left"},U={right:"kolicon-chevron-right"},J={right:"kolicon-chevron-double-right"},N=(Q=navigator.language||"de-DE").includes("-")?Q:`${Q}-${Q.toUpperCase()}`;var Q;const R=new Intl.NumberFormat(N,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0}),V=s=>{const{boundaryCount:i,customClass:o,getButtonFcProps:a,handlePageClick:n,hasButtons:l,label:r,max:c,navigationCallbacks:h,page:d,pageSize:m,pageSizeOptions:b,renderPageSizeSelect:v,siblingCount:f,tooltipAlign:y}=p(I,s),C=H(c,m),{start:z,end:S}=((t,e,s)=>{const i=t*e;return{start:Math.max(0,(t-1)*e+1),end:s<i?s:i}})(d,m,c),j=(e,s,i,n)=>t("li",null,t(g,Object.assign({},a(`navigation-${e}`,{_customClass:o,_disabled:n,_icons:s,_hideLabel:!0,_label:i,_on:h[e],_tooltipAlign:y},{class:q("button",{[e]:!0})}))));return[t("span",{role:"status","aria-live":"polite",class:q("entries")},e("kol-table-visible-range",{placeholders:{start:R.format(z),end:R.format(S),total:R.format(c)}})),t("nav",{class:q("navigation"),"aria-label":u(r)},t("ul",{class:q("navigation-list")},l.first&&j("first",L,e("kol-page-first"),d<=1),l.previous&&j("previous",G,e("kol-page-back"),d<=1),T(d,C,i,f).map(((s,i)=>null===s?null:"separator"===s?t("li",{key:i+1<d?"separator-left":"separator-right"},t("span",{class:q("separator"),"aria-hidden":"true"})):((s,i)=>{const l=R.format(s),r=`${e("kol-page")} ${l}`;return t("li",{key:`page-${s}`},t(g,Object.assign({},i?a(`page-${s}`,{_ariaDescription:r,_customClass:o,_label:l},{"aria-current":"page",class:`${q("button",{selected:!0})} selected`}):a(`page-${s}`,{_ariaDescription:r,_customClass:o,_label:l,_on:{onClick:t=>n(t,s)}},{class:q("button",{numbers:!0})}))))})(s.page,s.selected))),l.next&&j("next",U,e("kol-page-next"),C<=d),l.last&&j("last",J,e("kol-page-last"),C<=d))),(null==b?void 0:b.length)>0&&t("div",{class:"page-size"},t("div",{class:q("page-size-select")},v({label:e("kol-entries-per-site"),options:b,value:m})))]},W=e=>t(r,{block:"kol-pagination"},t(V,Object.assign({},e)));class X extends k{constructor(t,e){super(),this.getHost=t,this.requestRender=e,this._disabled=!1,this._multiple=!1,this.ctaRef=j(),this.id=S("select"),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=O,this.initFormAssociation("select")}get host(){var t;return null===(t=this.getHost)||void 0===t?void 0:t.call(this)}get inputHasFocus(){return this.focused}set inputHasFocus(t){t!==this.focused&&(this.focused=t,this.requestRender())}get _touched(){return this.touched}set _touched(t){t!==this.touched&&(this.touched=!0===t,this.applyTouched(t),this.requestRender())}get _value(){return this.value}set _value(t){t!==this.value&&(this.value=t,this.applyValue(t),this.requestRender())}getAccessKeyProp(){}getShortKeyProp(){}render(t){return this.loaded?this.update(t):this.load(t),this.renderSelectField()}sync(){this.syncFormField()}destroy(){this.destroyFormField()}load(t){this.passed=t,this._on=t.on,this.value=t.value,this.applyAriaDetails(void 0),this.applyName(void 0),this.applySyncValueBySelector(void 0),this.applyTouched(!1),this.applyAccessKey(void 0),this.applyMsg(void 0),this.applyDisabled(!1),this.applyHideMsg(!1),this.applyHideLabel(!1),this.applyHint(""),this.applyInfoPopover(void 0),this.applyLabel(t.label),this.applyShortKey(void 0),this.applyOn(t.on),this.applyTooltipAlign("top"),this.applyVariant(void 0),this.applyTabIndex(void 0),this.applyIcons(void 0),this.applyOptions(t.options),this.applyMultiple(!1),this.applyRequired(!1),this.applyRows(void 0),this.applyValue(t.value),this.loaded=!0}update(t){const e=this.passed;this.passed=t,t.label!==e.label&&this.applyLabel(t.label),t.options!==e.options&&this.applyOptions(t.options),t.on!==e.on&&(this._on=t.on,this.applyOn(t.on)),t.value!==e.value&&t.value!==this.value&&(this.value=t.value,this.applyValue(t.value))}}const Y=["boundaryCount","customClass","hasButtons","on","page","pageSize","pageSizeOptions","siblingCount","tooltipAlign","max","label"],Z=t=>{var s;const i=null!==(s=t.store)&&void 0!==s?s:(()=>{const t=c(I);return{get:e=>t[e],set:(e,s)=>{t[e]=s}}})(),a=e("kol-pagination"),n=z((()=>C(t.getEventTarget)),(t=>t.syncListeners()),(t=>t.destroy())),l=(t,e,s)=>n.get(t).getFcProps(e,s),r=z((()=>new X(t.getEventTarget,t.requestRender)),(t=>t.sync()),(t=>t.destroy()));let p,u=1,g={};i.set("label",a);const S=(e,s)=>{setTimeout((()=>{var o,a;null===(a=(o=i.get("on")).onChangePage)||void 0===a||a.call(o,e,s);const n=t.getEventTarget();n&&h(n,d.changePage,s)}))},j=(t,e,s)=>{const a=((t,e,s)=>{if(s>0){const i=H(s,e);if(i>0){if(t>i)return i;if(t<1)return 1}}})(t,e,s);void 0!==a&&(i.set("page",a),S(o,a))},k=t=>{null!=t&&B.apply(t,(t=>{const e=K(t,i.get("pageSizeOptions"));i.set("pageSize",e),j(i.get("page"),e,i.get("max"))}))},O=(t,e,s)=>{e||m(i.get("label")),y.apply(t,(t=>i.set("label",null!=t?t:a)),s),b(i.get("label"))},P=(e,s)=>{var o,a;p=s,null===(a=(o=i.get("on")).onClick)||void 0===a||a.call(o,e,s);const n=t.getEventTarget();n&&h(n,d.click,s),S(e,s)},w=(e,s)=>{const o=parseInt(s);o>0&&u!==o&&(k(o),u=o,t.requestRender(),setTimeout((()=>{var s,o;const a=u;null===(o=(s=i.get("on")).onChangePageSize)||void 0===o||o.call(s,e,a);const n=t.getEventTarget();n&&h(n,d.changePageSize,a)})))},F={onChange:w},T=t=>r.get("page-size").render(Object.assign(Object.assign({},t),{on:F})),q={first:{onClick:t=>P(t,1)},last:{onClick:t=>P(t,H(i.get("max"),i.get("pageSize")))},next:{onClick:t=>P(t,i.get("page")+1)},previous:{onClick:t=>P(t,i.get("page")-1)}},L={applyBoundaryCount:t=>x.apply(t,(t=>i.set("boundaryCount",t))),applyCustomClass:t=>v.apply(t,(t=>i.set("customClass",t))),applyHasButtons:t=>D.apply(t,(t=>i.set("hasButtons",Object.assign(Object.assign({},i.get("hasButtons")),t)))),applyLabel:(t,e)=>O(t,!1,e),applyMax:(t,e)=>{(null!=t||e)&&M.apply(t,(t=>{i.set("max",t),j(i.get("page"),i.get("pageSize"),t)}),e)},applyOn:t=>A.apply(t,(t=>i.set("on",t))),applyPage:t=>{null!=t&&_.apply(t,(t=>{i.set("page",t),j(t,i.get("pageSize"),i.get("max"))}))},applyPageSize:t=>{k(t),u=t},applyPageSizeOptions:t=>$.apply(t,(t=>{let e;i.set("pageSizeOptions",t),t.length>0&&(e=K(i.get("pageSize"),t),i.set("pageSize",e)),j(i.get("page"),e,i.get("max"))})),applySiblingCount:t=>E.apply(t,(t=>i.set("siblingCount",t))),applyTooltipAlign:t=>f.apply(null!=t?t:"top",(t=>i.set("tooltipAlign",t))),load:(t,e)=>{g=Object.assign({},t),L.applyBoundaryCount(t.boundaryCount),L.applyCustomClass(t.customClass),L.applyHasButtons(t.hasButtons),O(t.label,!0,null==e?void 0:e.label),L.applyOn(t.on),L.applyPage(t.page),L.applyPageSize(t.pageSize),L.applyPageSizeOptions(t.pageSizeOptions),L.applySiblingCount(t.siblingCount),L.applyTooltipAlign(t.tooltipAlign),L.applyMax(t.max,null==e?void 0:e.max),L.applyPage(t.page)},update:t=>{for(const e of Y)t[e]!==g[e]&&(g=Object.assign(Object.assign({},g),{[e]:t[e]}),"pageSize"===e&&t.pageSize===u||G[e](t[e]))},getFcProps:()=>(n.beginRender(),r.beginRender(),{boundaryCount:i.get("boundaryCount"),customClass:i.get("customClass"),getButtonFcProps:l,handlePageClick:P,handlePageSizeChange:w,hasButtons:i.get("hasButtons"),label:i.get("label"),max:i.get("max"),navigationCallbacks:q,on:i.get("on"),page:i.get("page"),pageSize:i.get("pageSize"),pageSizeOptions:i.get("pageSizeOptions"),renderPageSizeSelect:T,siblingCount:i.get("siblingCount"),tooltipAlign:i.get("tooltipAlign")}),sync:()=>{n.endRender(),r.endRender(),(()=>{if(void 0===p||p!==i.get("page"))return;p=void 0;const t=n.get(`page-${i.get("page")}`).getElement(),e=null==t?void 0:t.getRootNode(),s=!(null==e?void 0:e.activeElement)&&(null===document.activeElement||document.activeElement===document.body);(null==t?void 0:t.isConnected)&&s&&t.focus()})()},destroy:()=>{m(i.get("label")),n.destroy(),r.destroy()}},G={boundaryCount:L.applyBoundaryCount,customClass:L.applyCustomClass,hasButtons:L.applyHasButtons,label:L.applyLabel,max:L.applyMax,on:L.applyOn,page:L.applyPage,pageSize:L.applyPageSize,pageSizeOptions:L.applyPageSizeOptions,siblingCount:L.applySiblingCount,tooltipAlign:L.applyTooltipAlign};return L};export{W as P,Z as c,I as p}
4
+ import{h as t}from"@stencil/core/internal/client";import{t as e}from"./i18n.js";import{p as s,b as i,S as o}from"./bem-registry.js";import{c as a,F as n,a as l,B as r,r as p,t as u,d as c}from"./props-from-config.js";import{B as g}from"./component8.js";import{d as h,K as d}from"./events.js";import{r as m,a as b}from"./unique-nav-labels.js";import{g as v,e as f}from"./component2.js";import{l as y}from"./label.js";import{c as C}from"./item.js";import{c as z}from"./item-pool.js";import{c as S}from"./dev.utils.js";import{c as j}from"./element-interaction.js";import{B as k,s as O}from"./base-web-component4.js";const x=a("boundaryCount",1,(t=>Math.max(0,t))),_=a("page",0,n),B=a("pageSize",1,n),P=/^\[object Object\]$/,$=a("pageSizeOptions",[],(function(t){if(""===t||"string"==typeof t&&P.test(t))throw new Error("Unreflected page size options");const e="string"==typeof t?s(t):t;if(Array.isArray(e)&&e.every((t=>"number"==typeof t)))return e.map((t=>({label:`${t}`,value:t})));throw new Error("Invalid page size options")})),A=l(),w=["first","last","next","previous"],F=t=>({first:t,last:t,next:t,previous:t}),D=a("hasButtons",F(!0),(function t(e){if("boolean"==typeof e)return F(e);if("object"==typeof e&&null!==e){const t={};return w.forEach((s=>{const i=e[s];"boolean"==typeof i&&(t[s]=i)})),t}if("string"==typeof e){const i=s(e);return"object"==typeof i&&null!==i?t(i):F(!1)}throw new Error("Invalid pagination buttons")})),M=a("max",0,n),E=a("siblingCount",1,(t=>Math.max(0,t))),I={required:[y,_,A,M],optional:[x,v,$,B,D,E,f]},H=(t,e=1)=>Math.ceil(t/e),K=(t,e)=>{var s,i;return e.length>0?null!==(i=null===(s=e.find((e=>e.value===t)))||void 0===s?void 0:s.value)&&void 0!==i?i:e[0].value:t},T=(t,e,s,i)=>{const o=[];let a=!1;for(let n=1;n<=e;n++)n<=s||n>e-s||n>=t-i&&n<=t+i?(a=!0,o.push({page:n,selected:n===t})):a?(a=!1,o.push("separator")):o.push(null);return o},q=i.forBlock("kol-pagination"),L={left:"kolicon-chevron-double-left"},U={left:"kolicon-chevron-left"},G={right:"kolicon-chevron-right"},J={right:"kolicon-chevron-double-right"},N=(Q=navigator.language||"de-DE").includes("-")?Q:`${Q}-${Q.toUpperCase()}`;var Q;const R=new Intl.NumberFormat(N,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0}),V=s=>{const{boundaryCount:i,customClass:o,getButtonFcProps:a,handlePageClick:n,hasButtons:l,label:r,max:c,navigationCallbacks:h,page:d,pageSize:m,pageSizeOptions:b,renderPageSizeSelect:v,siblingCount:f,tooltipAlign:y}=p(I,s),C=H(c,m),{start:z,end:S}=((t,e,s)=>{const i=t*e;return{start:Math.max(0,(t-1)*e+1),end:s<i?s:i}})(d,m,c),j=(e,s,i,n)=>t("li",null,t(g,Object.assign({},a(`navigation-${e}`,{_customClass:o,_disabled:n,_icons:s,_hideLabel:!0,_label:i,_on:h[e],_tooltipAlign:y},{class:q("button",{[e]:!0})}))));return[t("span",{role:"status","aria-live":"polite",class:q("entries")},e("kol-table-visible-range",{placeholders:{start:R.format(z),end:R.format(S),total:R.format(c)}})),t("nav",{class:q("navigation"),"aria-label":u(r)},t("ul",{class:q("navigation-list")},l.first&&j("first",L,e("kol-page-first"),d<=1),l.previous&&j("previous",U,e("kol-page-back"),d<=1),T(d,C,i,f).map(((s,i)=>null===s?null:"separator"===s?t("li",{key:i+1<d?"separator-left":"separator-right"},t("span",{class:q("separator"),"aria-hidden":"true"})):((s,i)=>{const l=R.format(s),r=`${e("kol-page")} ${l}`;return t("li",{key:`page-${s}`},t(g,Object.assign({},i?a(`page-${s}`,{_ariaDescription:r,_customClass:o,_label:l},{"aria-current":"page",class:`${q("button",{selected:!0})} selected`}):a(`page-${s}`,{_ariaDescription:r,_customClass:o,_label:l,_on:{onClick:t=>n(t,s)}},{class:q("button",{numbers:!0})}))))})(s.page,s.selected))),l.next&&j("next",G,e("kol-page-next"),C<=d),l.last&&j("last",J,e("kol-page-last"),C<=d))),(null==b?void 0:b.length)>0&&t("div",{class:"page-size"},t("div",{class:q("page-size-select")},v({label:e("kol-entries-per-site"),options:b,value:m})))]},W=e=>t(r,{block:"kol-pagination"},t(V,Object.assign({},e)));class X extends k{constructor(t,e){super(),this.getHost=t,this.requestRender=e,this._disabled=!1,this._multiple=!1,this.ctaRef=j(),this.id=S("select"),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=O,this.initFormAssociation("select")}get host(){var t;return null===(t=this.getHost)||void 0===t?void 0:t.call(this)}get inputHasFocus(){return this.focused}set inputHasFocus(t){t!==this.focused&&(this.focused=t,this.requestRender())}get _touched(){return this.touched}set _touched(t){t!==this.touched&&(this.touched=!0===t,this.applyTouched(t),this.requestRender())}get _value(){return this.value}set _value(t){t!==this.value&&(this.value=t,this.applyValue(t),this.requestRender())}getAccessKeyProp(){}getShortKeyProp(){}sync(){this.syncFormField()}destroy(){this.destroyFormField()}load(t){this.passed=t,this._on=t.on,this.value=t.value,this.applyAriaDetails(void 0),this.applyName(void 0),this.applySyncValueBySelector(void 0),this.applyTouched(!1),this.applyAccessKey(void 0),this.applyMsg(void 0),this.applyDisabled(!1),this.applyHideMsg(!1),this.applyHideLabel(!1),this.applyHint(""),this.applyInfoPopover(void 0),this.applyLabel(t.label),this.applyShortKey(void 0),this.applyOn(t.on),this.applyTooltipAlign("top"),this.applyVariant(void 0),this.applyTabIndex(void 0),this.applyIcons(void 0),this.applyOptions(t.options),this.applyMultiple(!1),this.applyRequired(!1),this.applyRows(void 0),this.applyValue(t.value),this.loaded=!0}update(t){const e=this.passed;this.passed=t,t.label!==e.label&&this.applyLabel(t.label),t.options!==e.options&&this.applyOptions(t.options),t.on!==e.on&&(this._on=t.on,this.applyOn(t.on)),t.value!==e.value&&t.value!==this.value&&(this.value=t.value,this.applyValue(t.value))}render(t){return this.loaded?this.update(t):this.load(t),this.renderSelectField()}}const Y=["boundaryCount","customClass","hasButtons","on","page","pageSize","pageSizeOptions","siblingCount","tooltipAlign","max","label"],Z=t=>{var s;const i=null!==(s=t.store)&&void 0!==s?s:(()=>{const t=c(I);return{get:e=>t[e],set:(e,s)=>{t[e]=s}}})(),a=e("kol-pagination"),n=z((()=>C(t.getEventTarget)),(t=>t.syncListeners()),(t=>t.destroy())),l=(t,e,s)=>n.get(t).getFcProps(e,s),r=z((()=>new X(t.getEventTarget,t.requestRender)),(t=>t.sync()),(t=>t.destroy()));let p,u=1,g={};i.set("label",a);const S=(e,s)=>{setTimeout((()=>{var o,a;null===(a=(o=i.get("on")).onChangePage)||void 0===a||a.call(o,e,s);const n=t.getEventTarget();n&&h(n,d.changePage,s)}))},j=(t,e,s)=>{const a=((t,e,s)=>{if(s>0){const i=H(s,e);if(i>0){if(t>i)return i;if(t<1)return 1}}})(t,e,s);void 0!==a&&(i.set("page",a),S(o,a))},k=t=>{null!=t&&B.apply(t,(t=>{const e=K(t,i.get("pageSizeOptions"));i.set("pageSize",e),j(i.get("page"),e,i.get("max"))}))},O=(t,e,s)=>{e||m(i.get("label")),y.apply(t,(t=>i.set("label",null!=t?t:a)),s),b(i.get("label"))},P=(e,s)=>{var o,a;p=s,null===(a=(o=i.get("on")).onClick)||void 0===a||a.call(o,e,s);const n=t.getEventTarget();n&&h(n,d.click,s),S(e,s)},w=(e,s)=>{const o=parseInt(s);o>0&&u!==o&&(k(o),u=o,t.requestRender(),setTimeout((()=>{var s,o;const a=u;null===(o=(s=i.get("on")).onChangePageSize)||void 0===o||o.call(s,e,a);const n=t.getEventTarget();n&&h(n,d.changePageSize,a)})))},F={onChange:w},T=t=>r.get("page-size").render(Object.assign(Object.assign({},t),{on:F})),q={first:{onClick:t=>P(t,1)},last:{onClick:t=>P(t,H(i.get("max"),i.get("pageSize")))},next:{onClick:t=>P(t,i.get("page")+1)},previous:{onClick:t=>P(t,i.get("page")-1)}},L={applyBoundaryCount:t=>x.apply(t,(t=>i.set("boundaryCount",t))),applyCustomClass:t=>v.apply(t,(t=>i.set("customClass",t))),applyHasButtons:t=>D.apply(t,(t=>i.set("hasButtons",Object.assign(Object.assign({},i.get("hasButtons")),t)))),applyLabel:(t,e)=>O(t,!1,e),applyMax:(t,e)=>{(null!=t||e)&&M.apply(t,(t=>{i.set("max",t),j(i.get("page"),i.get("pageSize"),t)}),e)},applyOn:t=>A.apply(t,(t=>i.set("on",t))),applyPage:t=>{null!=t&&_.apply(t,(t=>{i.set("page",t),j(t,i.get("pageSize"),i.get("max"))}))},applyPageSize:t=>{k(t),u=t},applyPageSizeOptions:t=>$.apply(t,(t=>{let e;i.set("pageSizeOptions",t),t.length>0&&(e=K(i.get("pageSize"),t),i.set("pageSize",e)),j(i.get("page"),e,i.get("max"))})),applySiblingCount:t=>E.apply(t,(t=>i.set("siblingCount",t))),applyTooltipAlign:t=>f.apply(null!=t?t:"top",(t=>i.set("tooltipAlign",t))),load:(t,e)=>{g=Object.assign({},t),L.applyBoundaryCount(t.boundaryCount),L.applyCustomClass(t.customClass),L.applyHasButtons(t.hasButtons),O(t.label,!0,null==e?void 0:e.label),L.applyOn(t.on),L.applyPage(t.page),L.applyPageSize(t.pageSize),L.applyPageSizeOptions(t.pageSizeOptions),L.applySiblingCount(t.siblingCount),L.applyTooltipAlign(t.tooltipAlign),L.applyMax(t.max,null==e?void 0:e.max),L.applyPage(t.page)},update:t=>{for(const e of Y)t[e]!==g[e]&&(g=Object.assign(Object.assign({},g),{[e]:t[e]}),"pageSize"===e&&t.pageSize===u||U[e](t[e]))},getFcProps:()=>(n.beginRender(),r.beginRender(),{boundaryCount:i.get("boundaryCount"),customClass:i.get("customClass"),getButtonFcProps:l,handlePageClick:P,handlePageSizeChange:w,hasButtons:i.get("hasButtons"),label:i.get("label"),max:i.get("max"),navigationCallbacks:q,on:i.get("on"),page:i.get("page"),pageSize:i.get("pageSize"),pageSizeOptions:i.get("pageSizeOptions"),renderPageSizeSelect:T,siblingCount:i.get("siblingCount"),tooltipAlign:i.get("tooltipAlign")}),sync:()=>{n.endRender(),r.endRender(),(()=>{if(void 0===p||p!==i.get("page"))return;p=void 0;const t=n.get(`page-${i.get("page")}`).getElement(),e=null==t?void 0:t.getRootNode(),s=!(null==e?void 0:e.activeElement)&&(null===document.activeElement||document.activeElement===document.body);(null==t?void 0:t.isConnected)&&s&&t.focus()})()},destroy:()=>{m(i.get("label")),n.destroy(),r.destroy()}},U={boundaryCount:L.applyBoundaryCount,customClass:L.applyCustomClass,hasButtons:L.applyHasButtons,label:L.applyLabel,max:L.applyMax,on:L.applyOn,page:L.applyPage,pageSize:L.applyPageSize,pageSizeOptions:L.applyPageSizeOptions,siblingCount:L.applySiblingCount,tooltipAlign:L.applyTooltipAlign};return L};export{W as P,Z as c,I as p}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e,proxyCustomElement as o,Host as t,transformTag as a}from"@stencil/core/internal/client";import"./bem-registry.js";import{B as l}from"./props-from-config.js";import{l as r}from"./label-lang-segment.js";import{B as i}from"./base-web-component.js";const n={optional:[r]},s=()=>e(l,{block:"kol-abbr",component:"abbr"},e("slot",null)),d=o(class extends i{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=n,this._label=void 0}watchLabel(e){r.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}componentWillLoad(){this.watchLabel(this._label)}render(){return e(t,{key:"2ee63ca84e842ca638b9e40340aac3a13f1e1fd2"},e(s,{key:"15e6509c32336b2f3b6215e6f4524cea65ee26c4",label:this.getRenderProp("label")}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host > abbr { text-decoration: underline dashed; cursor: help; } }'}}},[545,"kol-abbr",{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),c=d,b=function(){"undefined"!=typeof customElements&&["kol-abbr"].forEach((e=>{"kol-abbr"===e&&(customElements.get(a(e))||customElements.define(a(e),d))}))};export{c as KolAbbr,b as defineCustomElement}
4
+ import{h as e,proxyCustomElement as o,Host as t,transformTag as a}from"@stencil/core/internal/client";import"./bem-registry.js";import{B as l}from"./props-from-config.js";import{l as r}from"./label-lang-segment.js";import{B as i}from"./base-web-component.js";const n={optional:[r]},d=()=>e(l,{block:"kol-abbr",component:"abbr"},e("slot",null)),s=o(class extends i{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=n,this._label=void 0}watchLabel(e){r.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}componentWillLoad(){this.watchLabel(this._label)}render(){return e(t,{key:"babbf012b38827dedf0a24c7d8ee94a807ec5470"},e(d,{key:"b2718fdb77cfb156aa0d9ab49b47926c23adbf12",label:this.getRenderProp("label")}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host > abbr { text-decoration: underline dashed; cursor: help; } }'}}},[545,"kol-abbr",{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),c=s,b=function(){"undefined"!=typeof customElements&&["kol-abbr"].forEach((e=>{"kol-abbr"===e&&(customElements.get(a(e))||customElements.define(a(e),s))}))};export{c as KolAbbr,b as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{X as a}from"./bem-registry.js";import{B as l}from"./base-web-component.js";import{D as r,c as s,a as c,b as d,d as h,C as k}from"./toggle-handler.js";import{l as b}from"./level.js";import{d as f}from"./disabled.js";import"./props-from-config.js";import{l as p}from"./label-lang-segment.js";import{o as m}from"./open.js";import{c as u,a as g}from"./dev.utils.js";import{c as _,d as v,a as y}from"./element-interaction.js";const w=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.accordionId=u("accordion"),this.controlId=g(this.accordionId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=g(this.accordionId,"heading"),this.transitionMs=r,this.ctaRef=_((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:o=>this.detailsOpen=o,setExpanded:o=>this.expanded=o}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:o=>this._open=o}),this.propsConfig=d,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(o){f.apply(o,(o=>this.setRenderProp("disabled",o)))}watchLabel(o){p.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){b.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){h.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){m.apply(o,(o=>{this.setRenderProp("open",o),this.openAnimation.syncOpen(o,this.hasLoaded)}))}focus(o){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){var o;this.transitionMs=null!==(o=a("collapsibleTransitionMs",this.host))&&void 0!==o?o: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 e(t,{key:"fe83d27f74efae425c3d35782f1714ba8f8c501b"},e(k,{key:"d162255bd8d6d611d60b0f1d05fd2e09adaa01a2",block:"kol-accordion",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp("open")?"kolicon-chevron-down":"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},e("slot",{key:"e048d507c3af993c510af9d48ccb1281331ee0fe"})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=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-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: "​"; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__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-accordion__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-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }'}}},[801,"kol-accordion",{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);n([v("ctaRef")],w.prototype,"focus",null),n([y("ctaRef")],w.prototype,"click",null);const x=w,T=function(){"undefined"!=typeof customElements&&["kol-accordion"].forEach((o=>{"kol-accordion"===o&&(customElements.get(i(o))||customElements.define(i(o),w))}))};export{x as KolAccordion,T as defineCustomElement}
4
+ import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{X as a}from"./bem-registry.js";import{B as l}from"./base-web-component.js";import{D as r,c as s,a as c,b as d,d as h,C as k}from"./toggle-handler.js";import{l as b}from"./level.js";import{d as p}from"./disabled.js";import"./props-from-config.js";import{l as f}from"./label-lang-segment.js";import{o as m}from"./open.js";import{c as u,a as g}from"./dev.utils.js";import{c as _,d as v,a as y}from"./element-interaction.js";const w=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.accordionId=u("accordion"),this.controlId=g(this.accordionId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=g(this.accordionId,"heading"),this.transitionMs=r,this.ctaRef=_((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:o=>this.detailsOpen=o,setExpanded:o=>this.expanded=o}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:o=>this._open=o}),this.propsConfig=d,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(o){p.apply(o,(o=>this.setRenderProp("disabled",o)))}watchLabel(o){f.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){b.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){h.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){m.apply(o,(o=>{this.setRenderProp("open",o),this.openAnimation.syncOpen(o,this.hasLoaded)}))}focus(o){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){var o;this.transitionMs=null!==(o=a("collapsibleTransitionMs",this.host))&&void 0!==o?o: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 e(t,{key:"12efe74d7e62f9d224c99b777a677ed52c69ead4"},e(k,{key:"3280e03c5bc5aa3ad8b63619a3285dd0a59a69bd",block:"kol-accordion",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp("open")?"kolicon-chevron-down":"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},e("slot",{key:"e81970a0928443437827eda36085c21b6de732bd"})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795524209947"); src: url("kolicons.eot?t=1795524209947#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795524209947") format("woff2"), url("kolicons.woff?t=1795524209947") format("woff"), url("kolicons.ttf?t=1795524209947") format("truetype"), url("kolicons.svg?t=1795524209947#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-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: "​"; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__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-accordion__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-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }'}}},[801,"kol-accordion",{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);n([v("ctaRef")],w.prototype,"focus",null),n([y("ctaRef")],w.prototype,"click",null);const x=w,T=function(){"undefined"!=typeof customElements&&["kol-accordion"].forEach((o=>{"kol-accordion"===o&&(customElements.get(i(o))||customElements.define(i(o),w))}))};export{x as KolAccordion,T as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as e,h as o,Host as t,transformTag as i}from"@stencil/core/internal/client";import{t as n}from"./i18n.js";import"./bem-registry.js";import{l}from"./level.js";import{c as a,n as r,a as s,b as c}from"./props-from-config.js";import{h as d}from"./has-closer.js";import{l as h}from"./label-lang-segment.js";import{A as k}from"./component.js";import{B as b}from"./base-web-component.js";import{T as f}from"./behavior.js";import{c as m,n as p}from"./dev.utils.js";import{c as u}from"./element-interaction.js";import{d as g,K as _}from"./events.js";const v=["default","info","success","warning","error"],y=["card","msg"],w=a("alert",!1,r),x=s(),T=a("type","default",(e=>{const o=c(e);if(v.includes(o))return o;throw Error("Invalid alert type: "+o)}),(()=>!0)),C=a("variant","msg",(e=>{const o=c(e);if(y.includes(o))return o;throw Error("Invalid alert variant: "+o)}),(()=>!0)),z={optional:[x,w,T,C,d,h,l]},j=e(class extends b{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.headingId=m("alert-heading"),this.closerAriaDescriptionId=p(),this.showAlert=!1,this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new f(this.stateAccess),this.propsConfig=z,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=e=>{var o,t;e.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(o=this.getRenderProp("on")).onClose)||void 0===t||t.call(o,new Event("Close")),this.host&&g(this.host,_.close)}}watchAlert(e){w.apply(e,(e=>{this.showAlert=e,this.syncAlertEffects(e)}))}watchHasCloser(e){d.apply(e,(e=>this.setRenderProp("hasCloser",e)))}watchLabel(e){h.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchLevel(e){l.apply(e,(e=>this.setRenderProp("level",e)))}watchOn(e){x.apply(e,(e=>this.setRenderProp("on",e)))}watchType(e){T.apply(e,(e=>this.setRenderProp("type",e)))}watchVariant(e){C.apply(e,(e=>this.setRenderProp("variant",e)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(e){if(clearTimeout(this.alertTimeout),e){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const e=navigator.userActivation;if(((null==e?void 0:e.isActive)||(null==e?void 0:e.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(e){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return o(t,{key:"ce55315b0678fff0752a03d4b5476d9ce651a8b4"},o(k,{key:"09c11fd71d7d740033b93b1e85572b47bb896b82",alert:this.showAlert,handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},o("slot",{key:"0d16b52af889190054a28d16736382fee9e67f22"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=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; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32],showAlert:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),A=j,B=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((e=>{"kol-alert"===e&&(customElements.get(i(e))||customElements.define(i(e),j))}))};export{A as KolAlert,B as defineCustomElement}
4
+ import{proxyCustomElement as e,h as o,Host as t,transformTag as i}from"@stencil/core/internal/client";import{t as n}from"./i18n.js";import"./bem-registry.js";import{c as l,n as a,a as r,b as s}from"./props-from-config.js";import{l as c}from"./level.js";import{h as d}from"./has-closer.js";import{l as h}from"./label-lang-segment.js";import{A as k}from"./component.js";import{B as b}from"./base-web-component.js";import{T as f}from"./behavior.js";import{c as m}from"./dev.utils.js";import{c as p}from"./element-interaction.js";import{d as u,K as g}from"./events.js";const _=["default","info","success","warning","error"],v=["card","msg"],y=l("alert",!1,a),w=r(),x=l("type","default",(e=>{const o=s(e);if(_.includes(o))return o;throw Error("Invalid alert type: "+o)}),(()=>!0)),T=l("variant","msg",(e=>{const o=s(e);if(v.includes(o))return o;throw Error("Invalid alert variant: "+o)}),(()=>!0)),C={optional:[w,y,x,T,d,h,c]},z=e(class extends b{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.headingId=m("alert-heading"),this.closerAriaDescriptionId=m("closer-description"),this.showAlert=!1,this.translateCloseAlert=n("kol-close-alert"),this.closerRef=p(),this.closerTooltipBehavior=new f(this.stateAccess),this.propsConfig=C,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=e=>{var o,t;e.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(o=this.getRenderProp("on")).onClose)||void 0===t||t.call(o,new Event("Close")),this.host&&u(this.host,g.close)}}watchAlert(e){y.apply(e,(e=>{this.showAlert=e,this.syncAlertEffects(e)}))}watchHasCloser(e){d.apply(e,(e=>this.setRenderProp("hasCloser",e)))}watchLabel(e){h.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchLevel(e){c.apply(e,(e=>this.setRenderProp("level",e)))}watchOn(e){w.apply(e,(e=>this.setRenderProp("on",e)))}watchType(e){x.apply(e,(e=>this.setRenderProp("type",e)))}watchVariant(e){T.apply(e,(e=>this.setRenderProp("variant",e)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(e){if(clearTimeout(this.alertTimeout),e){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const e=navigator.userActivation;if(((null==e?void 0:e.isActive)||(null==e?void 0:e.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(e){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return o(t,{key:"f749197a9c41f0c55e183de9b18163f4a8c544c6"},o(k,{key:"4435eb05b3b03430debd0adfbab26f28b1faf6bc",alert:this.showAlert,handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},o("slot",{key:"3824aeecea930bcc4a5cc6f09463937a07437d13"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795524209947"); src: url("kolicons.eot?t=1795524209947#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795524209947") format("woff2"), url("kolicons.woff?t=1795524209947") format("woff"), url("kolicons.ttf?t=1795524209947") format("truetype"), url("kolicons.svg?t=1795524209947#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32],showAlert:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),j=z,A=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((e=>{"kol-alert"===e&&(customElements.get(i(e))||customElements.define(i(e),z))}))};export{j as KolAlert,A as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,proxyCustomElement as e,Host as t,transformTag as a}from"@stencil/core/internal/client";import{b as l}from"./bem-registry.js";import{c as r}from"./color.js";import{r as i,B as n,t as s}from"./props-from-config.js";import{l as c}from"./label.js";import{s as d}from"./src.js";import{t as b}from"./i18n.js";import{B as k}from"./base-web-component.js";const m={optional:[r,d],required:[c]},h=l.forBlock("kol-avatar"),u=h("image"),p=h("initials"),f=e=>{const{color:t,initials:a,label:l,src:r}=i(m,e);return o(n,{"aria-label":b("kol-avatar-alt",{placeholders:{name:s(l)}}),block:"kol-avatar",role:"img",style:{backgroundColor:t.backgroundColor,color:t.foregroundColor}},r?o("img",{alt:"","aria-hidden":"true",class:u,src:r}):o("span",{"aria-hidden":"true",class:p},a))},g=o=>0===o.length?"":o[0].toUpperCase(),_=o=>{const e=s(o),t=e.split(/\s+/),a=t[0],l=t[t.length-1];return t.length>=2&&a&&l?`${g(a)}${g(l)}`:g(e)},y=e(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.initials="",this.propsConfig=m,this._color=void 0,this._src=void 0}watchColor(o){r.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){c.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",_(o))}),this.isRequired("label"))}watchSrc(o){d.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){r.apply(this._color,(o=>this.setRenderProp("color",o))),c.apply(this._label,(o=>{this.setRenderProp("label",o),this.setState("initials",_(o))}),this.isRequired("label")),d.apply(this._src,(o=>this.setRenderProp("src",o)))}render(){return o(t,{key:"e3616a4b07d13b3582a77d5bc8d64c9a6031e39b"},o(f,{key:"0f8a9d71c76d321e697119712e19effe2e9f35c4",color:this.getRenderProp("color"),label:this.getRenderProp("label"),src:this.getRenderProp("src"),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }'}}},[545,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),v=y,x=function(){"undefined"!=typeof customElements&&["kol-avatar"].forEach((o=>{"kol-avatar"===o&&(customElements.get(a(o))||customElements.define(a(o),y))}))};export{v as KolAvatar,x as defineCustomElement}
4
+ import{h as o,proxyCustomElement as e,Host as t,transformTag as a}from"@stencil/core/internal/client";import{b as r}from"./bem-registry.js";import{c as l}from"./color.js";import{r as i,B as n,t as s}from"./props-from-config.js";import{l as c}from"./label.js";import{s as d}from"./src.js";import{t as b}from"./i18n.js";import{B as k}from"./base-web-component.js";const m={optional:[l,d],required:[c]},h=r.forBlock("kol-avatar"),u=h("image"),p=h("initials"),f=e=>{const{color:t,initials:a,label:r,src:l}=i(m,e);return o(n,{"aria-label":b("kol-avatar-alt",{placeholders:{name:s(r)}}),block:"kol-avatar",role:"img",style:{backgroundColor:t.backgroundColor,color:t.foregroundColor}},l?o("img",{alt:"","aria-hidden":"true",class:u,src:l}):o("span",{"aria-hidden":"true",class:p},a))},g=o=>0===o.length?"":o[0].toUpperCase(),_=e(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.initials="",this.propsConfig=m,this._color=void 0,this._src=void 0}watchColor(o){l.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){c.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",(o=>{const e=s(o),t=e.split(/\s+/),a=t[0],r=t[t.length-1];return t.length>=2&&a&&r?`${g(a)}${g(r)}`:g(e)})(o))}),this.isRequired("label"))}watchSrc(o){d.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){this.watchColor(this._color),this.watchLabel(this._label),this.watchSrc(this._src)}render(){return o(t,{key:"b595bbb52003414fef885d21cb57e60da6a2016f"},o(f,{key:"038bd7674d20a5ba558072d21c016390a72695a8",color:this.getRenderProp("color"),label:this.getRenderProp("label"),src:this.getRenderProp("src"),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }'}}},[545,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),y=_,v=function(){"undefined"!=typeof customElements&&["kol-avatar"].forEach((o=>{"kol-avatar"===o&&(customElements.get(a(o))||customElements.define(a(o),_))}))};export{y as KolAvatar,v as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as o,h as t,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{f as l,s as a,o as r}from"./bem-registry.js";import{c as s}from"./color.js";import"./props-from-config.js";import{l as c}from"./label-with-expert-slot.js";import{s as d}from"./smart-button.js";import{s as h}from"./component2.js";import{B as b}from"./component3.js";import{B as m}from"./base-web-component.js";import{r as k}from"./resolve-props.js";import{T as u}from"./behavior.js";import{c as f,n as p}from"./dev.utils.js";import{c as g,d as v}from"./element-interaction.js";import{d as _,K as y}from"./events.js";const w={required:[c],optional:[s,d,h]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=o(class extends m{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=f("badge-label"),this.ariaDescriptionId=p(),this.ctaRef=g(),this.tooltipBehavior=new u(this.stateAccess),this.propsConfig=w,this._color="#000",this._icons=void 0,this._smartButton=void 0,this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const e=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof e&&(a(o,this.ctaRef.el),e(o,void 0)),this.host&&_(this.host,y.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&_(this.host,y.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&_(this.host,y.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&_(this.host,y.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){h.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){c.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchSmartButton(o){this.applySmartButton(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(o){r(o,(()=>{this.unsetRenderProp("smartButton"),this.smartButtonProps=void 0,null!=o&&d.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=k(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),i=this.smartButtonProps;return t(e,{key:"92a82608b8424d8b91480b7dd132afc12fec8717"},t(b,{key:"3a0ec94ab587dc7b6e49f2530ad61d7fb590b501",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==i?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:i}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);n([v("ctaRef")],x.prototype,"focus",null);const B=x,z=function(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(i(o))||customElements.define(i(o),x))}))};export{B as KolBadge,z as defineCustomElement}
4
+ import{proxyCustomElement as o,h as t,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{f as l,s as a,o as r}from"./bem-registry.js";import{c as s}from"./color.js";import"./props-from-config.js";import{l as c}from"./label-with-expert-slot.js";import{s as d}from"./smart-button.js";import{s as h}from"./component2.js";import{B as b}from"./component3.js";import{B as m}from"./base-web-component.js";import{r as k}from"./resolve-props.js";import{T as u}from"./behavior.js";import{c as f}from"./dev.utils.js";import{c as p,d as g}from"./element-interaction.js";import{d as v,K as _}from"./events.js";const y={required:[c],optional:[s,d,h]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const w=o(class extends m{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=f("badge-label"),this.ariaDescriptionId=f("aria-description"),this.ctaRef=p(),this.tooltipBehavior=new u(this.stateAccess),this.propsConfig=y,this._color="#000",this._icons=void 0,this._smartButton=void 0,this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const e=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof e&&(a(o,this.ctaRef.el),e(o,void 0)),this.host&&v(this.host,_.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&v(this.host,_.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&v(this.host,_.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&v(this.host,_.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){h.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){c.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchSmartButton(o){this.applySmartButton(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(o){r(o,(()=>{this.unsetRenderProp("smartButton"),this.smartButtonProps=void 0,null!=o&&d.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=k(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),i=this.smartButtonProps;return t(e,{key:"0d2856c0522dcd0dafc22c117e6550a2d3db7ee2"},t(b,{key:"957950a78e20b49e7e60fb896425b22829fb5194",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==i?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:i}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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=1795524209947"); src: url("kolicons.eot?t=1795524209947#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795524209947") format("woff2"), url("kolicons.woff?t=1795524209947") format("woff"), url("kolicons.ttf?t=1795524209947") format("truetype"), url("kolicons.svg?t=1795524209947#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);n([g("ctaRef")],w.prototype,"focus",null);const x=w,B=function(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(i(o))||customElements.define(i(o),w))}))};export{x as KolBadge,B as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e,Fragment as o,proxyCustomElement as t,Host as i,transformTag as n}from"@stencil/core/internal/client";import{b as l,s as a,c as r,X as s}from"./bem-registry.js";import{B as c}from"./base-web-component.js";import{c as d}from"./links.js";import{B as k,t as b,d as m}from"./props-from-config.js";import{l as f}from"./label.js";import{I as h}from"./component4.js";import{L as p,l as u,a as g,d as y,b as _}from"./component5.js";import{r as v}from"./component6.js";import{v as w}from"./access-and-short-key.js";import{n as x}from"./dev.utils.js";import{c as j}from"./element-interaction.js";import{d as z,K as T}from"./events.js";import{a as C,b as L,c as B,h as G,s as I,i as O,d as P,t as E,e as S}from"./component2.js";import{d as q}from"./disabled.js";import{h as F}from"./href.js";import{l as K}from"./label-with-expert-slot.js";import{l as D}from"./link-target.js";import{T as H}from"./behavior.js";import{r as R,a as U}from"./unique-nav-labels.js";import{o as V}from"./ariaCurrentService.js";const W=d("KolBreadcrumb"),A={required:[W,f]},J=l.forBlock("kol-breadcrumb"),M=J("icon"),N=J("link"),Q=J("list"),X=J("list-element"),Y=J("list-element-span"),Z=J("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return e(k,{component:"nav",block:"kol-breadcrumb","aria-label":t},e("ul",{class:Q},0===i.length&&e("li",null,e(h,{class:"kol-breadcrumb_icon",icons:"kolicon-house",label:""}),"…"),i.map(((t,i)=>((t,i,n,l)=>{const a=l?i!==n:i<n-1;if(i===n&&!l)return e(o,null);const{link:r}=t;return e("li",{class:X,key:i},i===n?e("span",{class:Y,"aria-current":"page"},r._hideLabel?e(h,{class:M,icons:"string"==typeof r._icons?r._icons:"kolicon-link",label:r._label?b(r._label):r._href}):e(o,null,v(r._label))):e("div",{class:N},e(p,Object.assign({},t.fcProps))),a&&e(h,{class:Z,icons:"kolicon-chevron-right",label:""}))})(t,i,l,n)))))},ee=t(class extends c{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.showCurrentPage=!0,this.propsConfig=A}watchLabel(e){this.applyLabel(e)}watchLinks(e){this.applyLinks(e)}componentWillLoad(){this.applyLabel(this._label,!0),this.applyLinks(this._links),this.unsubscribeOnLocationChange=V((e=>{this.linkItems=this.linkItems.map((o=>{var t;const i=e===o.fcProps.href&&null!==(t=o.fcProps.ariaCurrentValue)&&void 0!==t?t:"";return o.fcProps.ariaCurrent===i?o:Object.assign(Object.assign({},o),{fcProps:Object.assign(Object.assign({},o.fcProps),{ariaCurrent:i})})}))}))}componentDidRender(){this.linkItems.forEach((e=>e.syncTooltipListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.linkItems.forEach((e=>e.destroy())),R(this.getRenderProp("label"))}applyLabel(e,o=!1){o||R(this.getRenderProp("label")),f.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label")),r(e),U(this.getRenderProp("label"))}applyLinks(e){W.apply(e,(e=>{this.setRenderProp("links",e),this.linkItems.forEach((e=>e.destroy())),this.linkItems=e.map((e=>((e,o)=>{var t;const i=new H(c.stateLess),n=j(),l=m(u);l.tabIndex=void 0;const r=(e,o)=>e.apply(o,(o=>{l[e.propName]=o}));return r(C,e._accessKey),r(L,e._ariaControls),r(g,e._ariaCurrentValue),r(B,e._ariaDescription),r(q,e._disabled),r(y,e._download),r(G,e._hideLabel),r(F,e._href),r(I,e._icons),r(O,null!==(t=e._inline)&&void 0!==t&&t),r(K,e._label),r(_,e._on),r(P,e._shortKey),"number"==typeof e._tabIndex&&r(E,e._tabIndex),r(D,e._target),r(S,e._tooltipAlign),w(e._accessKey,e._shortKey),i.componentWillLoad({label:(()=>{const e=l.label;if("string"==typeof e&&e.length>0)return e;const o=l.href;return"string"==typeof o?o:""})(),align:l.tooltipAlign}),l.ariaCurrent="",l.ariaDescriptionId=x(),l.expertSlot=""===e._label,l.handleAnchorClick=e=>{if(i.hideTooltip(),!0===l.disabled)return void e.preventDefault();const t="string"==typeof l.href?l.href:"",r=l.on;"function"==typeof(null==r?void 0:r.onClick)&&(a(e,n.el),r.onClick(e,t));const s=o();s&&z(s,T.click,t)},l.refAnchor=e=>{n(e)},l.refTooltip=i.setTooltipElementRef,{link:e,fcProps:l,syncTooltipListeners:()=>{n.el&&i.syncListeners(void 0,n.el,!0)},destroy:()=>{i.destroy()}}})(e,(()=>this.host))))}))}render(){return this.showCurrentPage="hide"!==s("breadcrumbCurrentPage",this.host),e(i,{key:"8a8c9137c0491103f54d65dfe8db53c0c7d629b6"},e($,{key:"ab994f68a8b57e4dae385927a592db76907537cc",label:this.getRenderProp("label"),links:this.getRenderProp("links"),linkItems:this.linkItems,showCurrentPage:this.showCurrentPage}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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); } }'}}},[545,"kol-breadcrumb",{_label:[1],_links:[1],linkItems:[32]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),oe=ee,te=function(){"undefined"!=typeof customElements&&["kol-breadcrumb"].forEach((e=>{"kol-breadcrumb"===e&&(customElements.get(n(e))||customElements.define(n(e),ee))}))};export{oe as KolBreadcrumb,te as defineCustomElement}
4
+ import{h as e,Fragment as o,proxyCustomElement as t,Host as i,transformTag as n}from"@stencil/core/internal/client";import{b as l,s as a,c as r,X as s}from"./bem-registry.js";import{B as c}from"./base-web-component.js";import{c as d}from"./links.js";import{B as k,t as b,d as m}from"./props-from-config.js";import{l as f}from"./label.js";import{I as h}from"./component4.js";import{L as p,l as u,a as g,d as y,b as _}from"./component5.js";import{r as v}from"./component6.js";import{v as w}from"./access-and-short-key.js";import{c as x}from"./dev.utils.js";import{c as j}from"./element-interaction.js";import{d as z,K as T}from"./events.js";import{a as C,b as L,c as B,h as G,s as I,i as O,d as P,t as E,e as q}from"./component2.js";import{d as F}from"./disabled.js";import{h as K}from"./href.js";import{l as S}from"./label-with-expert-slot.js";import{l as D}from"./link-target.js";import{T as H}from"./behavior.js";import{o as R}from"./aria-current-service.js";import{r as U,a as V}from"./unique-nav-labels.js";const W=d("KolBreadcrumb"),A={required:[W,f]},J=l.forBlock("kol-breadcrumb"),M=J("icon"),N=J("link"),Q=J("list"),X=J("list-element"),Y=J("list-element-span"),Z=J("separator"),$=({label:t,linkItems:i,showCurrentPage:n})=>{const l=i.length-1;return e(k,{component:"nav",block:"kol-breadcrumb","aria-label":t},e("ul",{class:Q},0===i.length&&e("li",null,e(h,{class:"kol-breadcrumb_icon",icons:"kolicon-house",label:""}),"…"),i.map(((t,i)=>((t,i,n,l)=>{const a=l?i!==n:i<n-1;if(i===n&&!l)return e(o,null);const{link:r}=t;return e("li",{class:X,key:i},i===n?e("span",{class:Y,"aria-current":"page"},r._hideLabel?e(h,{class:M,icons:"string"==typeof r._icons?r._icons:"kolicon-link",label:r._label?b(r._label):r._href}):e(o,null,v(r._label))):e("div",{class:N},e(p,Object.assign({},t.fcProps))),a&&e(h,{class:Z,icons:"kolicon-chevron-right",label:""}))})(t,i,l,n)))))},ee=t(class extends c{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.showCurrentPage=!0,this.propsConfig=A}watchLabel(e){this.applyLabel(e)}watchLinks(e){this.applyLinks(e)}componentWillLoad(){this.applyLabel(this._label,!0),this.watchLinks(this._links),this.unsubscribeOnLocationChange=R((e=>{this.linkItems=this.linkItems.map((o=>{var t;const i=e===o.fcProps.href&&null!==(t=o.fcProps.ariaCurrentValue)&&void 0!==t?t:"";return o.fcProps.ariaCurrent===i?o:Object.assign(Object.assign({},o),{fcProps:Object.assign(Object.assign({},o.fcProps),{ariaCurrent:i})})}))}))}componentDidRender(){this.linkItems.forEach((e=>e.syncTooltipListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.linkItems.forEach((e=>e.destroy())),U(this.getRenderProp("label"))}applyLabel(e,o=!1){o||U(this.getRenderProp("label")),f.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label")),r(e),V(this.getRenderProp("label"))}applyLinks(e){W.apply(e,(e=>{this.setRenderProp("links",e),this.linkItems.forEach((e=>e.destroy())),this.linkItems=e.map((e=>((e,o)=>{var t;const i=new H(c.stateLess),n=j(),l=m(u);l.tabIndex=void 0;const r=(e,o)=>e.apply(o,(o=>{l[e.propName]=o}));return r(C,e._accessKey),r(L,e._ariaControls),r(g,e._ariaCurrentValue),r(B,e._ariaDescription),r(F,e._disabled),r(y,e._download),r(G,e._hideLabel),r(K,e._href),r(I,e._icons),r(O,null!==(t=e._inline)&&void 0!==t&&t),r(S,e._label),r(_,e._on),r(P,e._shortKey),"number"==typeof e._tabIndex&&r(E,e._tabIndex),r(D,e._target),r(q,e._tooltipAlign),w(e._accessKey,e._shortKey),i.componentWillLoad({label:(()=>{const e=l.label;if("string"==typeof e&&e.length>0)return e;const o=l.href;return"string"==typeof o?o:""})(),align:l.tooltipAlign}),l.ariaCurrent="",l.ariaDescriptionId=x("aria-description"),l.expertSlot=""===e._label,l.handleAnchorClick=e=>{if(i.hideTooltip(),!0===l.disabled)return void e.preventDefault();const t="string"==typeof l.href?l.href:"",r=l.on;"function"==typeof(null==r?void 0:r.onClick)&&(a(e,n.el),r.onClick(e,t));const s=o();s&&z(s,T.click,t)},l.refAnchor=e=>{n(e)},l.refTooltip=i.setTooltipElementRef,{link:e,fcProps:l,syncTooltipListeners:()=>{n.el&&i.syncListeners(void 0,n.el,!0)},destroy:()=>{i.destroy()}}})(e,(()=>this.host))))}))}render(){return this.showCurrentPage="hide"!==s("breadcrumbCurrentPage",this.host),e(i,{key:"ac68b26c7c0a856d1bede24b99e4ec0d84438c40"},e($,{key:"10f8e60f6fbe55a1ad7b7f1528ca0ecb9495a4e1",label:this.getRenderProp("label"),links:this.getRenderProp("links"),linkItems:this.linkItems,showCurrentPage:this.showCurrentPage}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795524209947"); src: url("kolicons.eot?t=1795524209947#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795524209947") format("woff2"), url("kolicons.woff?t=1795524209947") format("woff"), url("kolicons.ttf?t=1795524209947") format("truetype"), url("kolicons.svg?t=1795524209947#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-breadcrumb__list, .kol-breadcrumb__list-element { display: flex; margin: 0; padding: 0; flex-wrap: wrap; place-items: center; list-style: none; } .kol-breadcrumb__list-element:first-child:last-child { min-height: var(--a11y-min-size); } }'}}},[545,"kol-breadcrumb",{_label:[1],_links:[1],linkItems:[32]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),oe=ee,te=function(){"undefined"!=typeof customElements&&["kol-breadcrumb"].forEach((e=>{"kol-breadcrumb"===e&&(customElements.get(n(e))||customElements.define(n(e),ee))}))};export{oe as KolBreadcrumb,te as defineCustomElement}