@public-ui/components 5.0.0-beta.0 → 5.0.0-beta.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 (1328) hide show
  1. package/README.md +1 -1
  2. package/assets/kolicons/kolicons.eot +0 -0
  3. package/assets/kolicons/kolicons.ttf +0 -0
  4. package/assets/kolicons/kolicons.woff +0 -0
  5. package/assets/kolicons/kolicons.woff2 +0 -0
  6. package/assets/kolicons/style.css +6 -6
  7. package/custom-elements.json +344 -86
  8. package/dist/cjs/{Heading-gKYGJ1tV.js → Heading-C9osvqjY.js} +1 -1
  9. package/dist/cjs/{api-DyRC0E3C.js → api-U7I3XBPI.js} +64 -37
  10. package/dist/cjs/{app-globals-C-QndvUR.js → app-globals-DsADKGEe.js} +3 -3
  11. package/dist/cjs/{aria-labelledby-ny809Vdx.js → aria-labelledby-BRMgWRVp.js} +2 -2
  12. package/dist/cjs/{base-Cau7nZZw.js → base-CyqDmoZZ.js} +34 -33
  13. package/dist/cjs/{base-C9jeVqnN.js → base-DCxbMk0f.js} +35 -34
  14. package/dist/cjs/{base-zeK_arau.js → base-DcN_YC72.js} +26 -26
  15. package/dist/cjs/{base-DjGWfEqB.js → base-l99dGLYo.js} +79 -73
  16. package/dist/cjs/base-web-component-B6mwGD0m.js +65 -0
  17. package/dist/cjs/{base-web-component-r0Jr01kf.js → base-web-component-BnaxS2Z3.js} +21 -26
  18. package/dist/cjs/{base-web-component-BOQatEb9.js → base-web-component-DxJ0hQ9u.js} +23 -22
  19. package/dist/cjs/{behavior-Djs9V7Si.js → behavior-BNyFQ_B5.js} +13 -14
  20. package/dist/cjs/{behavior-P_MOoqmo.js → behavior-CTaw4dj3.js} +10 -10
  21. package/dist/cjs/{behavior-APmbiQTR.js → behavior-DrFJy0QC.js} +7 -17
  22. package/dist/cjs/{bem-registry-Q82FjrSD.js → bem-registry-CyxrH26c.js} +40 -1
  23. package/dist/cjs/{block-bem-CNP2_qFi.js → block-bem-BI7yfoFU.js} +1 -1
  24. package/dist/cjs/{bootstrap-BbvuwOW2.js → bootstrap-DkgMbRSL.js} +2 -2
  25. package/dist/cjs/{color-CbCW4wyr.js → color-BW4t1Cif.js} +14 -4
  26. package/dist/cjs/{common-DRvysX2o.js → common-C-hcIfzh.js} +20 -6
  27. package/dist/cjs/{component-hiip9BeX.js → component-4OErV1Bg.js} +14 -11
  28. package/dist/cjs/{component-CyFwKqlx.js → component-BEzksV1U.js} +25 -12
  29. package/dist/cjs/{component-C-jt8Zgv.js → component-BQUKg-qY.js} +26 -9
  30. package/dist/cjs/{component-Byx8Sl1k.js → component-BlAPlTfV.js} +2 -2
  31. package/dist/cjs/{component-DTToXqth.js → component-Cty_HlJR.js} +4 -4
  32. package/dist/cjs/component-Cvjqbxf4.js +94 -0
  33. package/dist/cjs/{component-DK-qYG29.js → component-DAQ1XSNA.js} +26 -5
  34. package/dist/cjs/component-DF5q9ssd.js +100 -0
  35. package/dist/cjs/{component-DMaPKMLG.js → component-DMfcX1br.js} +3 -3
  36. package/dist/cjs/{component-x3LvOAC0.js → component-Dkx5Zyhq.js} +2 -2
  37. package/dist/cjs/component-DtxKrISb.js +141 -0
  38. package/dist/cjs/{component-w4DHKGRj.js → component-lmJOXuD6.js} +13 -11
  39. package/dist/cjs/{component-names-EMVnNhTP.js → component-names-BMpML1sX.js} +0 -2
  40. package/dist/cjs/{contrast-BTU5ne8E.js → contrast-4mAdSLs0.js} +5 -5
  41. package/dist/cjs/{controller-ncy0x4Nz.js → controller-tEyAFJN9.js} +15 -15
  42. package/dist/cjs/{dev.utils-r-OFnYmI.js → dev.utils-D5qh-RLT.js} +2 -2
  43. package/dist/cjs/{devtools-BjCHvsaO.js → devtools-Dtv-Apvj.js} +3 -3
  44. package/dist/cjs/disabled-jYcvcwjv.js +10 -0
  45. package/dist/cjs/{element-focus-D5g3xQN4.js → element-focus-CzkKMwtn.js} +24 -0
  46. package/dist/cjs/{element-interaction-7FI_z19L.js → element-interaction-BtYQAbhu.js} +1 -1
  47. package/dist/cjs/{field-control-B2MocM-9.js → field-control-Btb5zapE.js} +8 -8
  48. package/dist/cjs/{group-DUgI6ORW.js → group-Dg2gJze5.js} +7 -7
  49. package/dist/cjs/has-closer-CvNa5gqv.js +10 -0
  50. package/dist/cjs/href-BBhiVyPb.js +10 -0
  51. package/dist/cjs/{i18n-BPfGxCna.js → i18n-BnOWw1MQ.js} +1 -1
  52. package/dist/cjs/id-D1VZsLkg.js +10 -0
  53. package/dist/cjs/{index-1NUYc4bH.js → index-BacpU-d0.js} +2 -6
  54. package/dist/cjs/index.cjs.js +4 -4
  55. package/dist/cjs/{input-tgqPNmdz.js → input-CgTL2oH6.js} +5 -5
  56. package/dist/cjs/{input-container-Ce6tEgzv.js → input-container-PaL4ZNf3.js} +9 -9
  57. package/dist/cjs/{item-BDJC0QKy.js → item-CErU-EPA.js} +6 -6
  58. package/dist/cjs/{item-CU9y10V3.js → item-CLnIJY4J.js} +7 -7
  59. package/dist/cjs/{item-do7gGebG.js → item-CPxmIcoq.js} +42 -40
  60. package/dist/cjs/{item-CdalyKjL.js → item-Cckqxc6T.js} +35 -44
  61. package/dist/cjs/kol-abbr.cjs.entry.js +15 -13
  62. package/dist/cjs/kol-accordion.cjs.entry.js +29 -23
  63. package/dist/cjs/kol-alert.cjs.entry.js +41 -35
  64. package/dist/cjs/kol-avatar.cjs.entry.js +28 -22
  65. package/dist/cjs/kol-badge.cjs.entry.js +38 -35
  66. package/dist/cjs/kol-breadcrumb.cjs.entry.js +49 -47
  67. package/dist/cjs/kol-button-link.cjs.entry.js +52 -37
  68. package/dist/cjs/kol-button.cjs.entry.js +53 -37
  69. package/dist/cjs/kol-card.cjs.entry.js +47 -48
  70. package/dist/cjs/kol-click-button.cjs.entry.js +18 -14
  71. package/dist/cjs/kol-combobox.cjs.entry.js +77 -64
  72. package/dist/cjs/kol-details.cjs.entry.js +29 -23
  73. package/dist/cjs/kol-dialog.cjs.entry.js +43 -37
  74. package/dist/cjs/kol-drawer.cjs.entry.js +47 -48
  75. package/dist/cjs/kol-form.cjs.entry.js +40 -36
  76. package/dist/cjs/kol-heading.cjs.entry.js +22 -16
  77. package/dist/cjs/kol-icon.cjs.entry.js +15 -13
  78. package/dist/cjs/kol-image.cjs.entry.js +23 -16
  79. package/dist/cjs/kol-input-checkbox.cjs.entry.js +73 -60
  80. package/dist/cjs/kol-input-color.cjs.entry.js +72 -62
  81. package/dist/cjs/kol-input-date.cjs.entry.js +98 -66
  82. package/dist/cjs/kol-input-email.cjs.entry.js +74 -55
  83. package/dist/cjs/kol-input-file.cjs.entry.js +73 -57
  84. package/dist/cjs/kol-input-number.cjs.entry.js +81 -61
  85. package/dist/cjs/kol-input-password.cjs.entry.js +79 -58
  86. package/dist/cjs/kol-input-radio.cjs.entry.js +57 -50
  87. package/dist/cjs/kol-input-range.cjs.entry.js +73 -56
  88. package/dist/cjs/kol-input-text.cjs.entry.js +91 -65
  89. package/dist/cjs/kol-kolibri.cjs.entry.js +16 -15
  90. package/dist/cjs/kol-link-button.cjs.entry.js +46 -30
  91. package/dist/cjs/kol-link.cjs.entry.js +43 -29
  92. package/dist/cjs/kol-meter.cjs.entry.js +38 -25
  93. package/dist/cjs/kol-modal.cjs.entry.js +42 -37
  94. package/dist/cjs/kol-nav.cjs.entry.js +59 -56
  95. package/dist/cjs/kol-pagination.cjs.entry.js +48 -46
  96. package/dist/cjs/kol-popover-button.cjs.entry.js +54 -40
  97. package/dist/cjs/kol-progress.cjs.entry.js +31 -24
  98. package/dist/cjs/kol-quote.cjs.entry.js +23 -21
  99. package/dist/cjs/kol-select.cjs.entry.js +61 -47
  100. package/dist/cjs/kol-single-select.cjs.entry.js +73 -62
  101. package/dist/cjs/kol-skeleton.cjs.entry.js +15 -13
  102. package/dist/cjs/kol-skip-nav.cjs.entry.js +50 -47
  103. package/dist/cjs/kol-spin.cjs.entry.js +24 -34
  104. package/dist/cjs/kol-split-button.cjs.entry.js +57 -41
  105. package/dist/cjs/kol-table-stateful.cjs.entry.js +78 -67
  106. package/dist/cjs/kol-table-stateless.cjs.entry.js +56 -46
  107. package/dist/cjs/kol-tabs.cjs.entry.js +46 -40
  108. package/dist/cjs/kol-textarea.cjs.entry.js +80 -62
  109. package/dist/cjs/kol-toast-container.cjs.entry.js +28 -22
  110. package/dist/cjs/kol-toolbar.cjs.entry.js +40 -39
  111. package/dist/cjs/kol-tree-item.cjs.entry.js +45 -39
  112. package/dist/cjs/kol-tree.cjs.entry.js +15 -13
  113. package/dist/cjs/kol-version.cjs.entry.js +26 -21
  114. package/dist/cjs/kolibri.cjs.js +4 -4
  115. package/dist/cjs/label-hints-D6EBRW9T.js +22 -0
  116. package/dist/cjs/label-lang-segment-CYlAqtUl.js +13 -0
  117. package/dist/cjs/label-vVOiX4dC.js +14 -0
  118. package/dist/cjs/label-with-expert-slot-B9z4nqW1.js +14 -0
  119. package/dist/cjs/level-BAiEYu4U.js +11 -0
  120. package/dist/cjs/link-target-4AzB3I84.js +10 -0
  121. package/dist/cjs/links-CPNK7VZo.js +15 -0
  122. package/dist/cjs/loader.cjs.js +4 -4
  123. package/dist/cjs/multiple-B3ZpkzWu.js +10 -0
  124. package/dist/cjs/name-D4qpL1m-.js +10 -0
  125. package/dist/cjs/{number-value-aLzn0dDO.js → number-value-B2yoKlvx.js} +5 -5
  126. package/dist/cjs/open-CvoX_qxD.js +10 -0
  127. package/dist/cjs/{options-BRwmqi8M.js → options-B2pQC9w2.js} +3 -3
  128. package/dist/cjs/{orientation-BcqEqZ3D.js → orientation-u2cvwgBc.js} +3 -3
  129. package/dist/cjs/placeholder-C9Ngp2tQ.js +10 -0
  130. package/dist/cjs/{base-web-component-DPBaBA5x.js → props-from-config-BQ2SOZlz.js} +262 -72
  131. package/dist/cjs/read-only-DfWF-Coi.js +10 -0
  132. package/dist/cjs/required-CdXn16dq.js +10 -0
  133. package/dist/cjs/resolve-props-B5MED90T.js +58 -0
  134. package/dist/cjs/resolve-props-B8kPPEMw.js +60 -0
  135. package/dist/cjs/rows-Ca5ya9tG.js +10 -0
  136. package/dist/cjs/{scroll-lock-Bs5vb-ss.js → scroll-lock-jojYHBR3.js} +2 -2
  137. package/dist/cjs/{smart-button-DQryZ9gX.js → smart-button-CB8qIzgQ.js} +3 -3
  138. package/dist/cjs/spell-check-DKRC8xbW.js +10 -0
  139. package/dist/cjs/src-C3NG0rLO.js +10 -0
  140. package/dist/cjs/step-CZNyTb2h.js +10 -0
  141. package/dist/cjs/{suggestions-b21ak6-A.js → suggestions-BRclldK2.js} +3 -3
  142. package/dist/cjs/{suggestions-B4X9HMr-.js → suggestions-CRyB_YCX.js} +4 -4
  143. package/dist/cjs/test-component.cjs.entry.js +2 -2
  144. package/dist/cjs/{toggle-handler-AgDdplvI.js → toggle-handler-DRPltZqQ.js} +13 -13
  145. package/dist/cjs/unique-nav-labels-CIAwid5V.js +25 -0
  146. package/dist/cjs/unit-bsoemclF.js +13 -0
  147. package/dist/cjs/validators-DuLdbf2D.js +15 -0
  148. package/dist/cjs/value-string-DZ_FFaUt.js +10 -0
  149. package/dist/cjs/{width-DF6eLXIz.js → width-BklaRCqt.js} +7 -4
  150. package/dist/collection/collection-manifest.json +13 -17
  151. package/dist/collection/components/abbr/component.js +12 -10
  152. package/dist/collection/components/abbr/style.css +0 -3
  153. package/dist/collection/components/accordion/component.js +38 -20
  154. package/dist/collection/components/accordion/style.css +2 -5
  155. package/dist/collection/components/alert/component.js +35 -20
  156. package/dist/collection/components/alert/style.css +2 -5
  157. package/dist/collection/components/avatar/component.js +32 -12
  158. package/dist/collection/components/avatar/style.css +0 -3
  159. package/dist/collection/components/badge/component.js +19 -12
  160. package/dist/collection/components/badge/style.css +2 -5
  161. package/dist/collection/components/breadcrumb/component.js +7 -6
  162. package/dist/collection/components/breadcrumb/style.css +2 -5
  163. package/dist/collection/components/button/base.js +4 -4
  164. package/dist/collection/components/button/component.js +110 -38
  165. package/dist/collection/components/button/style.css +2 -5
  166. package/dist/collection/components/button-link/component.js +101 -47
  167. package/dist/collection/components/button-link/style.css +2 -5
  168. package/dist/collection/components/card/base.js +5 -5
  169. package/dist/collection/components/card/component.js +34 -19
  170. package/dist/collection/components/card/style.css +2 -5
  171. package/dist/collection/components/{_skeleton/web-components/click-button → click-button}/component.js +23 -13
  172. package/dist/collection/components/combobox/component.js +151 -65
  173. package/dist/collection/components/combobox/style.css +3 -7
  174. package/dist/collection/components/details/component.js +38 -20
  175. package/dist/collection/components/details/style.css +2 -5
  176. package/dist/collection/components/dialog/base.js +14 -14
  177. package/dist/collection/components/dialog/component.js +24 -12
  178. package/dist/collection/components/dialog/style.css +2 -5
  179. package/dist/collection/components/drawer/component.js +33 -28
  180. package/dist/collection/components/drawer/style.css +2 -5
  181. package/dist/collection/components/form/component.js +10 -5
  182. package/dist/collection/components/form/controller.js +13 -13
  183. package/dist/collection/components/form/style.css +2 -5
  184. package/dist/collection/components/heading/component.js +18 -9
  185. package/dist/collection/components/heading/style.css +0 -3
  186. package/dist/collection/components/icon/component.js +13 -6
  187. package/dist/collection/components/icon/style.css +2 -2
  188. package/dist/collection/components/image/component.js +50 -14
  189. package/dist/collection/components/image/style.css +0 -3
  190. package/dist/collection/components/input-checkbox/component.js +135 -68
  191. package/dist/collection/components/input-checkbox/style.css +4 -8
  192. package/dist/collection/components/input-color/component.js +123 -61
  193. package/dist/collection/components/input-color/style.css +3 -7
  194. package/dist/collection/components/input-date/component.js +146 -69
  195. package/dist/collection/components/input-date/style.css +3 -7
  196. package/dist/collection/components/input-email/component.js +197 -83
  197. package/dist/collection/components/input-email/style.css +3 -7
  198. package/dist/collection/components/input-file/component.js +142 -67
  199. package/dist/collection/components/input-file/style.css +3 -7
  200. package/dist/collection/components/input-number/component.js +156 -72
  201. package/dist/collection/components/input-number/style.css +3 -7
  202. package/dist/collection/components/input-password/component.js +189 -78
  203. package/dist/collection/components/input-password/style.css +3 -7
  204. package/dist/collection/components/input-radio/component.js +91 -48
  205. package/dist/collection/components/input-radio/style.css +4 -8
  206. package/dist/collection/components/input-range/component.js +114 -52
  207. package/dist/collection/components/input-range/style.css +3 -7
  208. package/dist/collection/components/input-text/component.js +191 -80
  209. package/dist/collection/components/input-text/style.css +3 -7
  210. package/dist/collection/components/kolibri/component.js +11 -4
  211. package/dist/collection/components/kolibri/style.css +0 -3
  212. package/dist/collection/components/link/base.js +4 -4
  213. package/dist/collection/components/link/component.js +88 -41
  214. package/dist/collection/components/link/style.css +2 -5
  215. package/dist/collection/components/link-button/component.js +80 -35
  216. package/dist/collection/components/link-button/style.css +2 -5
  217. package/dist/collection/components/meter/component.js +87 -25
  218. package/dist/collection/components/meter/style.css +0 -3
  219. package/dist/collection/components/modal/component.js +23 -12
  220. package/dist/collection/components/modal/style.css +2 -5
  221. package/dist/collection/components/nav/component.js +42 -20
  222. package/dist/collection/components/nav/style.css +2 -5
  223. package/dist/collection/components/pagination/component.js +35 -10
  224. package/dist/collection/components/pagination/style.css +3 -7
  225. package/dist/collection/components/popover-button/base.js +2 -2
  226. package/dist/collection/components/popover-button/component.js +82 -30
  227. package/dist/collection/components/popover-button/style.css +2 -5
  228. package/dist/collection/components/progress/component.js +51 -17
  229. package/dist/collection/components/progress/style.css +0 -3
  230. package/dist/collection/components/{_skeleton/public-api → public-api}/contract.js +8 -8
  231. package/dist/collection/components/quote/component.js +39 -16
  232. package/dist/collection/components/quote/style.css +0 -3
  233. package/dist/collection/components/select/component.js +138 -64
  234. package/dist/collection/components/select/style.css +3 -7
  235. package/dist/collection/components/single-select/component.js +138 -61
  236. package/dist/collection/components/single-select/style.css +3 -7
  237. package/dist/collection/components/{_skeleton/web-components/skeleton → skeleton}/component.js +23 -13
  238. package/dist/collection/components/skip-nav/component.js +8 -5
  239. package/dist/collection/components/skip-nav/style.css +2 -5
  240. package/dist/collection/components/spin/component.js +31 -11
  241. package/dist/collection/components/spin/style.css +0 -3
  242. package/dist/collection/components/split-button/component.js +108 -37
  243. package/dist/collection/components/split-button/style.css +2 -5
  244. package/dist/collection/components/table-stateful/component.js +74 -46
  245. package/dist/collection/components/table-stateful/style.css +3 -7
  246. package/dist/collection/components/table-stateless/base.js +12 -7
  247. package/dist/collection/components/table-stateless/component.js +50 -17
  248. package/dist/collection/components/table-stateless/style.css +2 -5
  249. package/dist/collection/components/tabs/component.js +27 -11
  250. package/dist/collection/components/tabs/style.css +2 -5
  251. package/dist/collection/components/textarea/component.js +184 -76
  252. package/dist/collection/components/textarea/style.css +3 -7
  253. package/dist/collection/components/toaster/shadow.js +6 -5
  254. package/dist/collection/components/toaster/style.css +2 -5
  255. package/dist/collection/components/toolbar/component.js +16 -7
  256. package/dist/collection/components/toolbar/style.css +2 -5
  257. package/dist/collection/components/tree/component.js +4 -4
  258. package/dist/collection/components/tree/style.css +0 -3
  259. package/dist/collection/components/tree-item/component.js +26 -17
  260. package/dist/collection/components/tree-item/style.css +2 -5
  261. package/dist/collection/components/version/component.js +4 -4
  262. package/dist/collection/components/version/style.css +2 -5
  263. package/dist/collection/core/component-names.js +0 -2
  264. package/dist/collection/core/i18n.js +1 -1
  265. package/dist/collection/e2e/aria-details.js +9 -0
  266. package/dist/collection/e2e/input-character-limit.js +18 -18
  267. package/dist/collection/functional-components/index.js +0 -1
  268. package/dist/collection/internal/functional-components/abbr/api.js +2 -2
  269. package/dist/collection/internal/functional-components/alert/api.js +2 -2
  270. package/dist/collection/internal/functional-components/alert/component.js +5 -3
  271. package/dist/collection/internal/functional-components/avatar/component.js +9 -5
  272. package/dist/collection/internal/functional-components/base-web-component.js +20 -8
  273. package/dist/collection/internal/functional-components/breadcrumb/api.js +2 -2
  274. package/dist/collection/internal/functional-components/breadcrumb/component.js +3 -1
  275. package/dist/collection/internal/functional-components/breadcrumb/link-item.js +1 -1
  276. package/dist/collection/internal/functional-components/button/component.js +6 -4
  277. package/dist/collection/internal/functional-components/card/api.js +3 -3
  278. package/dist/collection/internal/functional-components/card/close-button.js +1 -1
  279. package/dist/collection/internal/functional-components/card/component.js +5 -2
  280. package/dist/collection/internal/functional-components/click-button/component.js +1 -1
  281. package/dist/collection/internal/functional-components/collapsible/api.js +2 -2
  282. package/dist/collection/internal/functional-components/dialog/api.js +2 -2
  283. package/dist/collection/internal/functional-components/dialog/item.js +4 -10
  284. package/dist/collection/internal/functional-components/drawer/api.js +2 -2
  285. package/dist/collection/internal/functional-components/drawer/component.js +3 -1
  286. package/dist/collection/internal/functional-components/form-association/behavior.js +1 -11
  287. package/dist/collection/internal/functional-components/form-field/base-web-component.js +32 -4
  288. package/dist/collection/internal/functional-components/form-field/component.js +1 -1
  289. package/dist/collection/internal/functional-components/form-field/date-value.js +12 -1
  290. package/dist/collection/internal/functional-components/form-field/default-input-props.js +3 -2
  291. package/dist/collection/internal/functional-components/form-field/select.js +0 -4
  292. package/dist/collection/internal/functional-components/heading/component.js +6 -3
  293. package/dist/collection/internal/functional-components/image/component.js +4 -1
  294. package/dist/collection/internal/functional-components/kolibri/component.js +4 -1
  295. package/dist/collection/internal/functional-components/link/component.js +6 -4
  296. package/dist/collection/internal/functional-components/meter/api.js +2 -2
  297. package/dist/collection/internal/functional-components/meter/component.js +13 -6
  298. package/dist/collection/internal/functional-components/nav/api.js +2 -2
  299. package/dist/collection/internal/functional-components/nav/component.js +14 -9
  300. package/dist/collection/internal/functional-components/pagination/api.js +2 -11
  301. package/dist/collection/internal/functional-components/pagination/component.js +6 -2
  302. package/dist/collection/internal/functional-components/pagination/item.js +2 -2
  303. package/dist/collection/internal/functional-components/pagination/page-size-select.js +1 -1
  304. package/dist/collection/internal/functional-components/popover/component.js +3 -1
  305. package/dist/collection/internal/functional-components/progress/api.js +2 -2
  306. package/dist/collection/internal/functional-components/progress/component.js +10 -7
  307. package/dist/collection/internal/functional-components/props-from-config.js +3 -0
  308. package/dist/collection/internal/functional-components/quote/api.js +2 -2
  309. package/dist/collection/internal/functional-components/quote/component.js +4 -2
  310. package/dist/collection/internal/functional-components/skip-nav/api.js +2 -2
  311. package/dist/collection/internal/functional-components/skip-nav/link-item.js +1 -1
  312. package/dist/collection/internal/functional-components/span/api.js +2 -4
  313. package/dist/collection/internal/functional-components/span/component.js +18 -6
  314. package/dist/collection/internal/functional-components/spin/component.js +3 -1
  315. package/dist/collection/internal/functional-components/table-stateful/api.js +2 -2
  316. package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
  317. package/dist/collection/internal/functional-components/table-stateless/component.js +19 -5
  318. package/dist/collection/internal/functional-components/table-stateless/settings.js +3 -5
  319. package/dist/collection/internal/functional-components/table-stateless/table-model.js +3 -3
  320. package/dist/collection/internal/functional-components/tabs/api.js +2 -2
  321. package/dist/collection/internal/functional-components/tabs/component.js +1 -1
  322. package/dist/collection/internal/functional-components/toolbar/api.js +2 -2
  323. package/dist/collection/internal/functional-components/tooltip/api.js +2 -2
  324. package/dist/collection/internal/functional-components/tooltip/behavior.js +3 -2
  325. package/dist/collection/internal/functional-components/tooltip/component.js +3 -1
  326. package/dist/collection/internal/functional-components/tree/api.js +2 -2
  327. package/dist/collection/internal/functional-components/tree-item/api.js +2 -2
  328. package/dist/collection/internal/functional-components/tree-item/component.js +2 -1
  329. package/dist/collection/internal/props/color.js +10 -0
  330. package/dist/collection/internal/props/dialog-callbacks.js +4 -1
  331. package/dist/collection/internal/props/helpers/factory.js +11 -3
  332. package/dist/collection/internal/props/helpers/normalizers.js +13 -1
  333. package/dist/collection/internal/props/helpers/validators.js +4 -0
  334. package/dist/collection/internal/props/hints/label-hints.js +10 -8
  335. package/dist/collection/internal/props/href.js +1 -2
  336. package/dist/collection/internal/props/index.js +1 -1
  337. package/dist/collection/internal/props/label-lang-segment.js +10 -0
  338. package/dist/collection/internal/props/label-with-expert-slot.js +6 -2
  339. package/dist/collection/internal/props/label.js +2 -1
  340. package/dist/collection/internal/props/max-length.js +1 -1
  341. package/dist/collection/internal/props/rows.js +1 -1
  342. package/dist/collection/internal/props/tabs.js +1 -1
  343. package/dist/collection/schema/bem-registry.js +39 -0
  344. package/dist/collection/schema/props/index.js +19 -2
  345. package/dist/collection/schema/props/label.js +54 -5
  346. package/dist/collection/schema/props/page-size.js +1 -0
  347. package/dist/collection/schema/props/page.js +1 -0
  348. package/dist/collection/schema/props/quote.js +1 -9
  349. package/dist/collection/schema/props/secondary-headline.js +1 -0
  350. package/dist/collection/schema/props/selected.js +1 -0
  351. package/dist/collection/schema/props/sibling-count.js +1 -0
  352. package/dist/collection/schema/props/sizes.js +1 -0
  353. package/dist/collection/schema/props/src.js +1 -0
  354. package/dist/collection/schema/props/srcset.js +1 -0
  355. package/dist/collection/schema/props/table-loading.js +1 -0
  356. package/dist/collection/schema/props/value-number-clamped.js +1 -0
  357. package/dist/collection/schema/props/value-string.js +1 -0
  358. package/dist/collection/schema/utils/dev.utils.js +8 -6
  359. package/dist/collection/schema/utils/prop.validators.js +16 -3
  360. package/dist/collection/utils/aria-labelledby.js +2 -2
  361. package/dist/collection/utils/dev.utils.js +0 -1
  362. package/dist/collection/utils/element-focus.js +23 -0
  363. package/dist/collection/utils/element-interaction.js +0 -7
  364. package/dist/collection/utils/element-themed.js +1 -1
  365. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -0
  366. package/dist/collection/utils/testing/snapshot-testing.js +17 -0
  367. package/dist/collection/utils/unique-nav-labels.js +7 -5
  368. package/dist/components/aria-labelledby.js +1 -1
  369. package/dist/components/base-web-component.js +1 -1
  370. package/dist/components/base-web-component2.js +1 -1
  371. package/dist/components/base-web-component3.js +1 -1
  372. package/dist/components/base-web-component4.js +1 -1
  373. package/dist/components/base.js +1 -1
  374. package/dist/components/base2.js +1 -1
  375. package/dist/components/base3.js +1 -1
  376. package/dist/components/base4.js +1 -1
  377. package/dist/components/behavior.js +1 -1
  378. package/dist/components/behavior2.js +1 -1
  379. package/dist/components/behavior3.js +1 -1
  380. package/dist/components/behavior4.js +1 -1
  381. package/dist/components/bem-registry.js +1 -1
  382. package/dist/components/bootstrap.js +1 -1
  383. package/dist/components/color.js +1 -1
  384. package/dist/components/component-names.js +1 -1
  385. package/dist/components/component10.js +1 -1
  386. package/dist/components/component11.js +1 -1
  387. package/dist/components/component2.js +1 -1
  388. package/dist/components/component3.js +1 -1
  389. package/dist/components/component4.js +1 -1
  390. package/dist/components/component5.js +1 -1
  391. package/dist/components/component6.js +1 -1
  392. package/dist/components/component7.js +1 -1
  393. package/dist/components/component8.js +1 -1
  394. package/dist/components/component9.js +1 -1
  395. package/dist/components/contrast.js +1 -1
  396. package/dist/components/controller.js +1 -1
  397. package/dist/components/dev.utils.js +1 -1
  398. package/dist/components/devtools.js +1 -1
  399. package/dist/components/disabled.js +1 -1
  400. package/dist/components/element-focus.js +1 -1
  401. package/dist/components/field-control.js +1 -1
  402. package/dist/components/group.js +1 -1
  403. package/dist/components/has-closer.js +1 -1
  404. package/dist/components/href.js +1 -1
  405. package/dist/components/i18n.js +1 -1
  406. package/dist/components/id.js +4 -0
  407. package/dist/components/index.js +1 -1
  408. package/dist/components/input-container.js +1 -1
  409. package/dist/components/input.js +1 -1
  410. package/dist/components/item.js +1 -1
  411. package/dist/components/item2.js +1 -1
  412. package/dist/components/item3.js +1 -1
  413. package/dist/components/item4.js +1 -1
  414. package/dist/components/kol-abbr.js +1 -1
  415. package/dist/components/kol-accordion.js +1 -1
  416. package/dist/components/kol-alert.js +1 -1
  417. package/dist/components/kol-avatar.js +1 -1
  418. package/dist/components/kol-badge.js +1 -1
  419. package/dist/components/kol-breadcrumb.js +1 -1
  420. package/dist/components/kol-button-link.js +1 -1
  421. package/dist/components/kol-button.js +1 -1
  422. package/dist/components/kol-card.js +1 -1
  423. package/dist/components/kol-click-button.js +1 -1
  424. package/dist/components/kol-combobox.js +1 -1
  425. package/dist/components/kol-details.js +1 -1
  426. package/dist/components/kol-dialog.js +1 -1
  427. package/dist/components/kol-drawer.js +1 -1
  428. package/dist/components/kol-form.js +1 -1
  429. package/dist/components/kol-heading.js +1 -1
  430. package/dist/components/kol-icon.js +1 -1
  431. package/dist/components/kol-image.js +1 -1
  432. package/dist/components/kol-input-checkbox.js +1 -1
  433. package/dist/components/kol-input-color.js +1 -1
  434. package/dist/components/kol-input-date.js +1 -1
  435. package/dist/components/kol-input-email.js +1 -1
  436. package/dist/components/kol-input-file.js +1 -1
  437. package/dist/components/kol-input-number.js +1 -1
  438. package/dist/components/kol-input-password.js +1 -1
  439. package/dist/components/kol-input-radio.js +1 -1
  440. package/dist/components/kol-input-range.js +1 -1
  441. package/dist/components/kol-input-text.js +1 -1
  442. package/dist/components/kol-kolibri.js +1 -1
  443. package/dist/components/kol-link-button.js +1 -1
  444. package/dist/components/kol-link.js +1 -1
  445. package/dist/components/kol-meter.js +1 -1
  446. package/dist/components/kol-modal.js +1 -1
  447. package/dist/components/kol-nav.js +1 -1
  448. package/dist/components/kol-pagination.js +1 -1
  449. package/dist/components/kol-popover-button.js +1 -1
  450. package/dist/components/kol-progress.js +1 -1
  451. package/dist/components/kol-quote.js +1 -1
  452. package/dist/components/kol-select.js +1 -1
  453. package/dist/components/kol-single-select.js +1 -1
  454. package/dist/components/kol-skeleton.js +1 -1
  455. package/dist/components/kol-skip-nav.js +1 -1
  456. package/dist/components/kol-spin.js +1 -1
  457. package/dist/components/kol-split-button.js +1 -1
  458. package/dist/components/kol-table-stateful.js +1 -1
  459. package/dist/components/kol-table-stateless.js +1 -1
  460. package/dist/components/kol-tabs.js +1 -1
  461. package/dist/components/kol-textarea.js +1 -1
  462. package/dist/components/kol-toast-container.js +1 -1
  463. package/dist/components/kol-toolbar.js +1 -1
  464. package/dist/components/kol-tree-item.js +1 -1
  465. package/dist/components/kol-tree.js +1 -1
  466. package/dist/components/kol-version.js +1 -1
  467. package/dist/components/label-hints.js +4 -0
  468. package/dist/components/label-lang-segment.js +4 -0
  469. package/dist/components/label-with-expert-slot.js +1 -1
  470. package/dist/components/label.js +1 -1
  471. package/dist/components/level.js +1 -1
  472. package/dist/components/link-target.js +1 -1
  473. package/dist/components/links.js +1 -1
  474. package/dist/components/multiple.js +1 -1
  475. package/dist/components/name.js +1 -1
  476. package/dist/components/number-value.js +1 -1
  477. package/dist/components/open.js +1 -1
  478. package/dist/components/options2.js +1 -1
  479. package/dist/components/orientation.js +1 -1
  480. package/dist/components/placeholder.js +1 -1
  481. package/dist/components/props-from-config.js +4 -0
  482. package/dist/components/read-only.js +1 -1
  483. package/dist/components/required.js +1 -1
  484. package/dist/components/resolve-props.js +1 -1
  485. package/dist/components/resolve-props2.js +1 -1
  486. package/dist/components/rows.js +1 -1
  487. package/dist/components/smart-button.js +1 -1
  488. package/dist/components/spell-check.js +1 -1
  489. package/dist/components/src.js +1 -1
  490. package/dist/components/step.js +1 -1
  491. package/dist/components/suggestions.js +1 -1
  492. package/dist/components/suggestions2.js +1 -1
  493. package/dist/components/toggle-handler.js +1 -1
  494. package/dist/components/unique-nav-labels.js +1 -1
  495. package/dist/components/unit.js +1 -1
  496. package/dist/components/validators.js +4 -0
  497. package/dist/components/value-string.js +1 -1
  498. package/dist/components/width.js +1 -1
  499. package/dist/esm/{Heading-0teSdkFq.js → Heading-BVhjT9av.js} +1 -1
  500. package/dist/esm/{api-hAvZrw9X.js → api-D92_O-0H.js} +53 -26
  501. package/dist/esm/{app-globals-Dff_iJYF.js → app-globals-CBGjgNge.js} +3 -3
  502. package/dist/esm/{aria-labelledby-BRToXqsQ.js → aria-labelledby-CLehu03h.js} +2 -2
  503. package/dist/esm/{base-Df1bwC8d.js → base-BLBSJu_1.js} +24 -24
  504. package/dist/esm/{base-7FEvBJ3L.js → base-CHmdLgoO.js} +18 -17
  505. package/dist/esm/{base-COT79ELt.js → base-DIcqHqMz.js} +16 -15
  506. package/dist/esm/{base-CsJWjTJl.js → base-qvPPg-dn.js} +57 -51
  507. package/dist/esm/{base-web-component-cTyj95G-.js → base-web-component-CaAexWy_.js} +16 -15
  508. package/dist/esm/{base-web-component-C1XSz7ML.js → base-web-component-DbagnM7m.js} +10 -15
  509. package/dist/esm/base-web-component-XgI4wUyN.js +63 -0
  510. package/dist/esm/{behavior-Zr6qAX7F.js → behavior-B08CXmI4.js} +5 -15
  511. package/dist/esm/{behavior-BlS6DO8T.js → behavior-CwUUkdaP.js} +9 -9
  512. package/dist/esm/{behavior-BMW-_4Oy.js → behavior-DW7_5Wxp.js} +6 -6
  513. package/dist/esm/{bem-registry-BlJAUViA.js → bem-registry-CWN7_O1L.js} +40 -1
  514. package/dist/esm/{block-bem-DXqmf3Te.js → block-bem-BpQSY04L.js} +1 -1
  515. package/dist/esm/{bootstrap-DTVsVq0w.js → bootstrap-B9DtStuh.js} +2 -2
  516. package/dist/esm/{color-9CMp_pOq.js → color-eAL9I7Wq.js} +13 -3
  517. package/dist/esm/{common-D03JQJgy.js → common-OzsC_6kt.js} +20 -6
  518. package/dist/esm/{variant-PJN56KWi.js → component-8ALsFV4i.js} +38 -7
  519. package/dist/esm/component-BTMWoACz.js +93 -0
  520. package/dist/esm/{component-DzVHCXnG.js → component-Bc1n82Y8.js} +2 -2
  521. package/dist/esm/{component-Ik_-HAMT.js → component-CZZNha2e.js} +24 -12
  522. package/dist/esm/{component-DHl33p9J.js → component-CdKSiR5P.js} +10 -8
  523. package/dist/esm/{component-C9mkZ63L.js → component-Cdnq5GYF.js} +2 -2
  524. package/dist/esm/{component-BmJGOcby.js → component-D0mBOGjS.js} +13 -10
  525. package/dist/esm/{api-B9mpTRGa.js → component-DBAicJ2u.js} +42 -44
  526. package/dist/esm/component-DCw1ZAE5.js +45 -0
  527. package/dist/esm/{component-DeWynlzi.js → component-DLSlbWg8.js} +3 -3
  528. package/dist/esm/{component-BkjWlzLc.js → component-DeMf195P.js} +25 -10
  529. package/dist/esm/{component-C_Te18y_.js → component-nR5Bf9G5.js} +4 -4
  530. package/dist/esm/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +0 -2
  531. package/dist/esm/{contrast-BK5uVXeb.js → contrast-D78VGPFR.js} +2 -2
  532. package/dist/esm/{controller-Bf-CAo4Q.js → controller-C3O9ohSP.js} +15 -15
  533. package/dist/esm/{dev.utils-BgjegQC8.js → dev.utils-wYkYn08d.js} +2 -2
  534. package/dist/esm/{devtools-4nOArEGl.js → devtools-DrBkkLdP.js} +3 -3
  535. package/dist/esm/{disabled-BaPgTuFO.js → disabled-Cqhc40CU.js} +1 -1
  536. package/dist/esm/{element-focus-Cp994Rrk.js → element-focus-BIRmGg5W.js} +24 -1
  537. package/dist/esm/{element-interaction-Cy9tx3Sx.js → element-interaction-sGYdEpmv.js} +1 -1
  538. package/dist/esm/{field-control-Brx62dJV.js → field-control-Cs5VvsYo.js} +8 -8
  539. package/dist/esm/{group-Ce5pMiZJ.js → group-uNo1CfbK.js} +6 -6
  540. package/dist/esm/{has-closer-C9L79ect.js → has-closer-B9NQY7BK.js} +1 -1
  541. package/dist/esm/href-JqLbNBsW.js +8 -0
  542. package/dist/esm/{i18n-DRQl0u--.js → i18n-DtLKn3Xt.js} +1 -1
  543. package/dist/esm/id-CIYvVaNr.js +8 -0
  544. package/dist/esm/{index-D5UV99lE.js → index-BKEJuyFi.js} +2 -6
  545. package/dist/esm/index.js +6 -6
  546. package/dist/esm/{input-DjQorwQ5.js → input-Dja5Qioc.js} +5 -5
  547. package/dist/esm/{input-container-RSmfcRgK.js → input-container-C2Am7LEP.js} +8 -8
  548. package/dist/esm/{item-2cprk9ut.js → item-C4AmpdVD.js} +7 -7
  549. package/dist/esm/{item-DMWn_IlJ.js → item-ConW1c81.js} +6 -6
  550. package/dist/esm/{item-Bfk2xd-D.js → item-D627ShRd.js} +14 -12
  551. package/dist/esm/{item-D9_O5WAR.js → item-DIAFIFSy.js} +20 -29
  552. package/dist/esm/kol-abbr.entry.js +15 -13
  553. package/dist/esm/kol-accordion.entry.js +29 -23
  554. package/dist/esm/kol-alert.entry.js +35 -29
  555. package/dist/esm/kol-avatar.entry.js +28 -22
  556. package/dist/esm/kol-badge.entry.js +36 -33
  557. package/dist/esm/kol-breadcrumb.entry.js +36 -34
  558. package/dist/esm/kol-button-link.entry.js +52 -37
  559. package/dist/esm/kol-button.entry.js +53 -37
  560. package/dist/esm/kol-card.entry.js +46 -47
  561. package/dist/esm/kol-click-button.entry.js +18 -14
  562. package/dist/esm/kol-combobox.entry.js +70 -57
  563. package/dist/esm/kol-details.entry.js +29 -23
  564. package/dist/esm/kol-dialog.entry.js +43 -37
  565. package/dist/esm/kol-drawer.entry.js +46 -47
  566. package/dist/esm/kol-form.entry.js +33 -29
  567. package/dist/esm/kol-heading.entry.js +21 -15
  568. package/dist/esm/kol-icon.entry.js +14 -12
  569. package/dist/esm/kol-image.entry.js +16 -9
  570. package/dist/esm/kol-input-checkbox.entry.js +61 -48
  571. package/dist/esm/kol-input-color.entry.js +66 -56
  572. package/dist/esm/kol-input-date.entry.js +86 -54
  573. package/dist/esm/kol-input-email.entry.js +74 -55
  574. package/dist/esm/kol-input-file.entry.js +66 -50
  575. package/dist/esm/kol-input-number.entry.js +75 -55
  576. package/dist/esm/kol-input-password.entry.js +75 -54
  577. package/dist/esm/kol-input-radio.entry.js +53 -46
  578. package/dist/esm/kol-input-range.entry.js +67 -50
  579. package/dist/esm/kol-input-text.entry.js +85 -59
  580. package/dist/esm/kol-kolibri.entry.js +13 -12
  581. package/dist/esm/kol-link-button.entry.js +46 -30
  582. package/dist/esm/kol-link.entry.js +43 -29
  583. package/dist/esm/kol-meter.entry.js +33 -20
  584. package/dist/esm/kol-modal.entry.js +42 -37
  585. package/dist/esm/kol-nav.entry.js +52 -49
  586. package/dist/esm/kol-pagination.entry.js +48 -46
  587. package/dist/esm/kol-popover-button.entry.js +54 -40
  588. package/dist/esm/kol-progress.entry.js +27 -20
  589. package/dist/esm/kol-quote.entry.js +20 -18
  590. package/dist/esm/kol-select.entry.js +61 -47
  591. package/dist/esm/kol-single-select.entry.js +66 -55
  592. package/dist/esm/kol-skeleton.entry.js +15 -13
  593. package/dist/esm/kol-skip-nav.entry.js +36 -33
  594. package/dist/esm/kol-spin.entry.js +20 -30
  595. package/dist/esm/kol-split-button.entry.js +57 -41
  596. package/dist/esm/kol-table-stateful.entry.js +72 -61
  597. package/dist/esm/kol-table-stateless.entry.js +56 -46
  598. package/dist/esm/kol-tabs.entry.js +41 -35
  599. package/dist/esm/kol-textarea.entry.js +70 -52
  600. package/dist/esm/kol-toast-container.entry.js +28 -22
  601. package/dist/esm/kol-toolbar.entry.js +38 -37
  602. package/dist/esm/kol-tree-item.entry.js +42 -36
  603. package/dist/esm/kol-tree.entry.js +15 -13
  604. package/dist/esm/kol-version.entry.js +26 -21
  605. package/dist/esm/kolibri.js +5 -5
  606. package/dist/esm/label-BRosRgdX.js +12 -0
  607. package/dist/esm/label-hints-Jn18RUT-.js +20 -0
  608. package/dist/esm/label-lang-segment-2_GnxjFp.js +11 -0
  609. package/dist/esm/label-with-expert-slot-CicRes-W.js +12 -0
  610. package/dist/esm/{level-Df663c7y.js → level-CA1s1_Mf.js} +1 -1
  611. package/dist/esm/{link-target-C7_smSbV.js → link-target-FX94oqMo.js} +1 -1
  612. package/dist/esm/{links-B0xbzBwU.js → links-DwucTqcR.js} +2 -2
  613. package/dist/esm/loader.js +5 -5
  614. package/dist/esm/{multiple-CYHm7rd3.js → multiple-DqrZxybx.js} +1 -1
  615. package/dist/esm/{name-m3owaZxH.js → name-B2Yf3EpX.js} +1 -1
  616. package/dist/esm/{number-value-CMedWR58.js → number-value-B-SJ1dRo.js} +1 -1
  617. package/dist/esm/{open-DCGNTmvC.js → open-DRRv1KFK.js} +1 -1
  618. package/dist/esm/{options-CR431ims.js → options-DCaUcfAu.js} +2 -2
  619. package/dist/esm/{orientation-C9FRNmPD.js → orientation-XNOCaPwy.js} +1 -1
  620. package/dist/esm/{placeholder-Bwzvbwhh.js → placeholder-BeLIzdJv.js} +1 -1
  621. package/dist/esm/{base-web-component-Bcoukts3.js → props-from-config-Ci0dILpz.js} +231 -50
  622. package/dist/esm/{read-only-C5fDsZVK.js → read-only-Bby9r6ZX.js} +1 -1
  623. package/dist/esm/{required-CC0212MQ.js → required-hoaT7UmZ.js} +1 -1
  624. package/dist/esm/{resolve-props-47S-r31C.js → resolve-props-BLZxWC3j.js} +8 -8
  625. package/dist/esm/{resolve-props-CnHCiXuG.js → resolve-props-D2KiItuv.js} +8 -8
  626. package/dist/esm/rows-B0x8CR7K.js +8 -0
  627. package/dist/esm/{scroll-lock-DQGTnLvW.js → scroll-lock-Y2hf47KW.js} +2 -2
  628. package/dist/esm/{smart-button-BHM06d-t.js → smart-button-CS_ZriPt.js} +2 -2
  629. package/dist/esm/{spell-check-DiSedaOR.js → spell-check-DzgftyqL.js} +1 -1
  630. package/dist/esm/{src-CsLEg--w.js → src-DaGhmCL1.js} +1 -1
  631. package/dist/esm/{step-BxSThOke.js → step-Bdj89bGO.js} +1 -1
  632. package/dist/esm/{suggestions-C38q-5JU.js → suggestions-DuqzGDve.js} +3 -3
  633. package/dist/esm/{suggestions-B79TOsF_.js → suggestions-Dy1X-Pc3.js} +2 -2
  634. package/dist/esm/test-component.entry.js +2 -2
  635. package/dist/esm/{toggle-handler-CQ0FhBmD.js → toggle-handler-BRLmxe1J.js} +13 -13
  636. package/dist/esm/unique-nav-labels-h2KOu5Qy.js +22 -0
  637. package/dist/esm/{unit-BgjPEae-.js → unit-BUhhJbhT.js} +1 -1
  638. package/dist/esm/validators-BVM40IEr.js +11 -0
  639. package/dist/esm/{value-string-BDfywbme.js → value-string-e9pwLcS-.js} +1 -1
  640. package/dist/esm/{width-CAS8lhOU.js → width-CgYY17tL.js} +5 -2
  641. package/dist/kolibri/{Heading-0teSdkFq.js → Heading-BVhjT9av.js} +1 -1
  642. package/dist/kolibri/api-D92_O-0H.js +4 -0
  643. package/dist/kolibri/app-globals-CBGjgNge.js +4 -0
  644. package/dist/kolibri/aria-labelledby-CLehu03h.js +4 -0
  645. package/dist/kolibri/base-BLBSJu_1.js +4 -0
  646. package/dist/kolibri/base-CHmdLgoO.js +4 -0
  647. package/dist/kolibri/base-DIcqHqMz.js +4 -0
  648. package/dist/kolibri/base-qvPPg-dn.js +4 -0
  649. package/dist/kolibri/base-web-component-CaAexWy_.js +4 -0
  650. package/dist/kolibri/base-web-component-DbagnM7m.js +4 -0
  651. package/dist/kolibri/base-web-component-XgI4wUyN.js +4 -0
  652. package/dist/kolibri/behavior-B08CXmI4.js +4 -0
  653. package/dist/kolibri/behavior-CwUUkdaP.js +4 -0
  654. package/dist/kolibri/behavior-DW7_5Wxp.js +4 -0
  655. package/dist/kolibri/{bem-registry-BlJAUViA.js → bem-registry-CWN7_O1L.js} +1 -1
  656. package/dist/kolibri/{block-bem-DXqmf3Te.js → block-bem-BpQSY04L.js} +1 -1
  657. package/dist/kolibri/bootstrap-B9DtStuh.js +4 -0
  658. package/dist/kolibri/color-eAL9I7Wq.js +4 -0
  659. package/dist/kolibri/common-OzsC_6kt.js +4 -0
  660. package/dist/kolibri/component-8ALsFV4i.js +4 -0
  661. package/dist/kolibri/component-BTMWoACz.js +4 -0
  662. package/dist/kolibri/component-Bc1n82Y8.js +4 -0
  663. package/dist/kolibri/component-CZZNha2e.js +4 -0
  664. package/dist/kolibri/component-CdKSiR5P.js +4 -0
  665. package/dist/kolibri/{component-C9mkZ63L.js → component-Cdnq5GYF.js} +1 -1
  666. package/dist/kolibri/component-D0mBOGjS.js +4 -0
  667. package/dist/kolibri/component-DBAicJ2u.js +4 -0
  668. package/dist/kolibri/component-DCw1ZAE5.js +4 -0
  669. package/dist/kolibri/component-DLSlbWg8.js +4 -0
  670. package/dist/kolibri/component-DeMf195P.js +4 -0
  671. package/dist/kolibri/component-nR5Bf9G5.js +4 -0
  672. package/dist/kolibri/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +1 -1
  673. package/dist/kolibri/contrast-D78VGPFR.js +4 -0
  674. package/dist/kolibri/controller-C3O9ohSP.js +4 -0
  675. package/dist/kolibri/dev.utils-wYkYn08d.js +4 -0
  676. package/dist/kolibri/{devtools-4nOArEGl.js → devtools-DrBkkLdP.js} +1 -1
  677. package/dist/kolibri/disabled-Cqhc40CU.js +4 -0
  678. package/dist/kolibri/element-focus-BIRmGg5W.js +4 -0
  679. package/dist/kolibri/{element-interaction-Cy9tx3Sx.js → element-interaction-sGYdEpmv.js} +1 -1
  680. package/dist/kolibri/field-control-Cs5VvsYo.js +4 -0
  681. package/dist/kolibri/group-uNo1CfbK.js +4 -0
  682. package/dist/kolibri/has-closer-B9NQY7BK.js +4 -0
  683. package/dist/kolibri/href-JqLbNBsW.js +4 -0
  684. package/dist/kolibri/i18n-DtLKn3Xt.js +4 -0
  685. package/dist/kolibri/id-CIYvVaNr.js +4 -0
  686. package/dist/kolibri/{index-D5UV99lE.js → index-BKEJuyFi.js} +2 -2
  687. package/dist/kolibri/index.esm.js +1 -1
  688. package/dist/kolibri/input-Dja5Qioc.js +4 -0
  689. package/dist/kolibri/input-container-C2Am7LEP.js +4 -0
  690. package/dist/kolibri/item-C4AmpdVD.js +4 -0
  691. package/dist/kolibri/item-ConW1c81.js +4 -0
  692. package/dist/kolibri/item-D627ShRd.js +4 -0
  693. package/dist/kolibri/item-DIAFIFSy.js +4 -0
  694. package/dist/kolibri/kol-abbr.entry.js +1 -1
  695. package/dist/kolibri/kol-accordion.entry.js +1 -1
  696. package/dist/kolibri/kol-alert.entry.js +1 -1
  697. package/dist/kolibri/kol-avatar.entry.js +1 -1
  698. package/dist/kolibri/kol-badge.entry.js +1 -1
  699. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  700. package/dist/kolibri/kol-button-link.entry.js +1 -1
  701. package/dist/kolibri/kol-button.entry.js +1 -1
  702. package/dist/kolibri/kol-card.entry.js +1 -1
  703. package/dist/kolibri/kol-click-button.entry.js +1 -1
  704. package/dist/kolibri/kol-combobox.entry.js +1 -1
  705. package/dist/kolibri/kol-details.entry.js +1 -1
  706. package/dist/kolibri/kol-dialog.entry.js +1 -1
  707. package/dist/kolibri/kol-drawer.entry.js +1 -1
  708. package/dist/kolibri/kol-form.entry.js +1 -1
  709. package/dist/kolibri/kol-heading.entry.js +1 -1
  710. package/dist/kolibri/kol-icon.entry.js +1 -1
  711. package/dist/kolibri/kol-image.entry.js +1 -1
  712. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  713. package/dist/kolibri/kol-input-color.entry.js +1 -1
  714. package/dist/kolibri/kol-input-date.entry.js +1 -1
  715. package/dist/kolibri/kol-input-email.entry.js +1 -1
  716. package/dist/kolibri/kol-input-file.entry.js +1 -1
  717. package/dist/kolibri/kol-input-number.entry.js +1 -1
  718. package/dist/kolibri/kol-input-password.entry.js +1 -1
  719. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  720. package/dist/kolibri/kol-input-range.entry.js +1 -1
  721. package/dist/kolibri/kol-input-text.entry.js +1 -1
  722. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  723. package/dist/kolibri/kol-link-button.entry.js +1 -1
  724. package/dist/kolibri/kol-link.entry.js +1 -1
  725. package/dist/kolibri/kol-meter.entry.js +1 -1
  726. package/dist/kolibri/kol-modal.entry.js +1 -1
  727. package/dist/kolibri/kol-nav.entry.js +1 -1
  728. package/dist/kolibri/kol-pagination.entry.js +1 -1
  729. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  730. package/dist/kolibri/kol-progress.entry.js +1 -1
  731. package/dist/kolibri/kol-quote.entry.js +1 -1
  732. package/dist/kolibri/kol-select.entry.js +1 -1
  733. package/dist/kolibri/kol-single-select.entry.js +1 -1
  734. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  735. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  736. package/dist/kolibri/kol-spin.entry.js +1 -1
  737. package/dist/kolibri/kol-split-button.entry.js +1 -1
  738. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  739. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  740. package/dist/kolibri/kol-tabs.entry.js +1 -1
  741. package/dist/kolibri/kol-textarea.entry.js +1 -1
  742. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  743. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  744. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  745. package/dist/kolibri/kol-tree.entry.js +1 -1
  746. package/dist/kolibri/kol-version.entry.js +1 -1
  747. package/dist/kolibri/kolibri.esm.js +1 -1
  748. package/dist/kolibri/label-BRosRgdX.js +4 -0
  749. package/dist/kolibri/label-hints-Jn18RUT-.js +4 -0
  750. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +4 -0
  751. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +4 -0
  752. package/dist/kolibri/level-CA1s1_Mf.js +4 -0
  753. package/dist/kolibri/link-target-FX94oqMo.js +4 -0
  754. package/dist/kolibri/links-DwucTqcR.js +4 -0
  755. package/dist/kolibri/multiple-DqrZxybx.js +4 -0
  756. package/dist/kolibri/name-B2Yf3EpX.js +4 -0
  757. package/dist/kolibri/number-value-B-SJ1dRo.js +4 -0
  758. package/dist/kolibri/open-DRRv1KFK.js +4 -0
  759. package/dist/kolibri/options-DCaUcfAu.js +4 -0
  760. package/dist/kolibri/orientation-XNOCaPwy.js +4 -0
  761. package/dist/kolibri/placeholder-BeLIzdJv.js +4 -0
  762. package/dist/kolibri/props-from-config-Ci0dILpz.js +4 -0
  763. package/dist/kolibri/read-only-Bby9r6ZX.js +4 -0
  764. package/dist/kolibri/required-hoaT7UmZ.js +4 -0
  765. package/dist/kolibri/resolve-props-BLZxWC3j.js +4 -0
  766. package/dist/kolibri/resolve-props-D2KiItuv.js +4 -0
  767. package/dist/kolibri/rows-B0x8CR7K.js +4 -0
  768. package/dist/kolibri/{scroll-lock-DQGTnLvW.js → scroll-lock-Y2hf47KW.js} +1 -1
  769. package/dist/kolibri/smart-button-CS_ZriPt.js +4 -0
  770. package/dist/kolibri/spell-check-DzgftyqL.js +4 -0
  771. package/dist/kolibri/src-DaGhmCL1.js +4 -0
  772. package/dist/kolibri/step-Bdj89bGO.js +4 -0
  773. package/dist/kolibri/suggestions-DuqzGDve.js +4 -0
  774. package/dist/kolibri/suggestions-Dy1X-Pc3.js +4 -0
  775. package/dist/kolibri/test-component.entry.js +1 -1
  776. package/dist/kolibri/toggle-handler-BRLmxe1J.js +4 -0
  777. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +4 -0
  778. package/dist/kolibri/unit-BUhhJbhT.js +4 -0
  779. package/dist/kolibri/validators-BVM40IEr.js +4 -0
  780. package/dist/kolibri/value-string-e9pwLcS-.js +4 -0
  781. package/dist/kolibri/width-CgYY17tL.js +4 -0
  782. package/dist/types/components/abbr/component.d.ts +5 -4
  783. package/dist/types/components/accordion/component.d.ts +9 -8
  784. package/dist/types/components/alert/component.d.ts +9 -8
  785. package/dist/types/components/avatar/component.d.ts +7 -6
  786. package/dist/types/components/badge/component.d.ts +5 -4
  787. package/dist/types/components/breadcrumb/component.d.ts +2 -1
  788. package/dist/types/components/button/base.d.ts +9 -8
  789. package/dist/types/components/button/component.d.ts +13 -13
  790. package/dist/types/components/button-link/component.d.ts +11 -11
  791. package/dist/types/components/card/base.d.ts +6 -4
  792. package/dist/types/components/card/component.d.ts +5 -5
  793. package/dist/types/components/click-button/component.d.ts +15 -0
  794. package/dist/types/components/combobox/component.d.ts +23 -22
  795. package/dist/types/components/details/component.d.ts +9 -8
  796. package/dist/types/components/dialog/base.d.ts +6 -4
  797. package/dist/types/components/dialog/component.d.ts +5 -5
  798. package/dist/types/components/drawer/component.d.ts +7 -6
  799. package/dist/types/components/form/component.d.ts +2 -1
  800. package/dist/types/components/heading/component.d.ts +5 -4
  801. package/dist/types/components/icon/component.d.ts +5 -3
  802. package/dist/types/components/image/component.d.ts +11 -9
  803. package/dist/types/components/input-checkbox/component.d.ts +21 -20
  804. package/dist/types/components/input-color/component.d.ts +17 -17
  805. package/dist/types/components/input-date/component.d.ts +19 -18
  806. package/dist/types/components/input-email/component.d.ts +31 -30
  807. package/dist/types/components/input-file/component.d.ts +18 -17
  808. package/dist/types/components/input-number/component.d.ts +21 -20
  809. package/dist/types/components/input-password/component.d.ts +30 -28
  810. package/dist/types/components/input-radio/component.d.ts +15 -14
  811. package/dist/types/components/input-range/component.d.ts +15 -14
  812. package/dist/types/components/input-text/component.d.ts +28 -26
  813. package/dist/types/components/kolibri/component.d.ts +5 -4
  814. package/dist/types/components/link/base.d.ts +8 -6
  815. package/dist/types/components/link/component.d.ts +11 -13
  816. package/dist/types/components/link-button/component.d.ts +9 -11
  817. package/dist/types/components/meter/component.d.ts +19 -17
  818. package/dist/types/components/modal/component.d.ts +5 -5
  819. package/dist/types/components/nav/component.d.ts +9 -8
  820. package/dist/types/components/pagination/component.d.ts +10 -9
  821. package/dist/types/components/popover-button/base.d.ts +1 -1
  822. package/dist/types/components/popover-button/component.d.ts +9 -9
  823. package/dist/types/components/progress/component.d.ts +11 -9
  824. package/dist/types/components/{_skeleton/public-api → public-api}/contract.d.ts +1 -6
  825. package/dist/types/components/quote/component.d.ts +9 -7
  826. package/dist/types/components/select/component.d.ts +21 -20
  827. package/dist/types/components/single-select/component.d.ts +21 -20
  828. package/dist/types/components/{_skeleton/web-components/skeleton → skeleton}/component.d.ts +8 -7
  829. package/dist/types/components/skip-nav/component.d.ts +2 -1
  830. package/dist/types/components/spin/component.d.ts +7 -5
  831. package/dist/types/components/split-button/component.d.ts +13 -13
  832. package/dist/types/components/table-stateful/component.d.ts +9 -9
  833. package/dist/types/components/table-stateless/base.d.ts +6 -4
  834. package/dist/types/components/table-stateless/component.d.ts +5 -5
  835. package/dist/types/components/tabs/component.d.ts +5 -4
  836. package/dist/types/components/textarea/component.d.ts +29 -28
  837. package/dist/types/components/toolbar/component.d.ts +5 -4
  838. package/dist/types/components/tree/component.d.ts +2 -1
  839. package/dist/types/components/tree-item/component.d.ts +5 -4
  840. package/dist/types/components/version/component.d.ts +2 -1
  841. package/dist/types/components.d.ts +1420 -1043
  842. package/dist/types/core/component-names.d.ts +0 -1
  843. package/dist/types/core/i18n.d.ts +1 -1
  844. package/dist/types/e2e/aria-details.d.ts +2 -0
  845. package/dist/types/e2e/input-behavior-contract.d.ts +0 -1
  846. package/dist/types/functional-components/index.d.ts +0 -1
  847. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  848. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  849. package/dist/types/internal/functional-components/avatar/api.d.ts +1 -1
  850. package/dist/types/internal/functional-components/avatar/component.d.ts +1 -1
  851. package/dist/types/internal/functional-components/badge/api.d.ts +4 -4
  852. package/dist/types/internal/functional-components/badge/component.d.ts +3 -2
  853. package/dist/types/internal/functional-components/base-web-component.d.ts +5 -1
  854. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  855. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  856. package/dist/types/internal/functional-components/button/component.d.ts +1 -1
  857. package/dist/types/internal/functional-components/button/item.d.ts +1 -3
  858. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  859. package/dist/types/internal/functional-components/card/component.d.ts +5 -2
  860. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  861. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  862. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  863. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  864. package/dist/types/internal/functional-components/dialog/item.d.ts +2 -2
  865. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  866. package/dist/types/internal/functional-components/drawer/component.d.ts +1 -1
  867. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  868. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  869. package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -3
  870. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  871. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +5 -0
  872. package/dist/types/internal/functional-components/form-field/component.d.ts +2 -2
  873. package/dist/types/internal/functional-components/form-field/default-input-props.d.ts +4 -3
  874. package/dist/types/internal/functional-components/form-field/field-control.d.ts +2 -2
  875. package/dist/types/internal/functional-components/form-field/label.d.ts +2 -1
  876. package/dist/types/internal/functional-components/generic-types.d.ts +6 -5
  877. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  878. package/dist/types/internal/functional-components/heading/component.d.ts +1 -1
  879. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  880. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  881. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  882. package/dist/types/internal/functional-components/input-color/api.d.ts +6 -6
  883. package/dist/types/internal/functional-components/input-date/api.d.ts +6 -6
  884. package/dist/types/internal/functional-components/input-email/api.d.ts +6 -6
  885. package/dist/types/internal/functional-components/input-file/api.d.ts +6 -6
  886. package/dist/types/internal/functional-components/input-number/api.d.ts +6 -6
  887. package/dist/types/internal/functional-components/input-password/api.d.ts +6 -6
  888. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  889. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  890. package/dist/types/internal/functional-components/input-text/api.d.ts +6 -6
  891. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  892. package/dist/types/internal/functional-components/kolibri/component.d.ts +1 -1
  893. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  894. package/dist/types/internal/functional-components/link/component.d.ts +1 -1
  895. package/dist/types/internal/functional-components/link/item.d.ts +2 -1
  896. package/dist/types/internal/functional-components/meter/api.d.ts +11 -2
  897. package/dist/types/internal/functional-components/meter/component.d.ts +4 -1
  898. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  899. package/dist/types/internal/functional-components/nav/component.d.ts +1 -1
  900. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  901. package/dist/types/internal/functional-components/pagination/component.d.ts +2 -2
  902. package/dist/types/internal/functional-components/pagination/item.d.ts +6 -4
  903. package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +2 -0
  904. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  905. package/dist/types/internal/functional-components/progress/api.d.ts +11 -2
  906. package/dist/types/internal/functional-components/progress/component.d.ts +1 -1
  907. package/dist/types/internal/functional-components/props-from-config.d.ts +4 -1
  908. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  909. package/dist/types/internal/functional-components/quote/component.d.ts +1 -1
  910. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  911. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  912. package/dist/types/internal/functional-components/skeleton/api.d.ts +1 -1
  913. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  914. package/dist/types/internal/functional-components/span/api.d.ts +2 -2
  915. package/dist/types/internal/functional-components/span/component.d.ts +2 -1
  916. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  917. package/dist/types/internal/functional-components/spin/component.d.ts +1 -1
  918. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  919. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  920. package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -1
  921. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +0 -3
  922. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  923. package/dist/types/internal/functional-components/text-input/api.d.ts +6 -6
  924. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  925. package/dist/types/internal/functional-components/toolbar/api.d.ts +2 -2
  926. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  927. package/dist/types/internal/functional-components/tooltip/behavior.d.ts +2 -1
  928. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  929. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  930. package/dist/types/internal/props/accept.d.ts +2 -1
  931. package/dist/types/internal/props/access-key.d.ts +3 -2
  932. package/dist/types/internal/props/active.d.ts +3 -2
  933. package/dist/types/internal/props/adjust-height.d.ts +3 -2
  934. package/dist/types/internal/props/alert-callbacks.d.ts +1 -3
  935. package/dist/types/internal/props/alert-type.d.ts +1 -1
  936. package/dist/types/internal/props/alert-variant.d.ts +1 -1
  937. package/dist/types/internal/props/alert.d.ts +3 -2
  938. package/dist/types/internal/props/allow-markdown.d.ts +3 -2
  939. package/dist/types/internal/props/allow-multi-sort.d.ts +3 -2
  940. package/dist/types/internal/props/alt.d.ts +3 -2
  941. package/dist/types/internal/props/aria-controls.d.ts +3 -2
  942. package/dist/types/internal/props/aria-current-value.d.ts +1 -1
  943. package/dist/types/internal/props/aria-description.d.ts +3 -2
  944. package/dist/types/internal/props/aria-details.d.ts +3 -2
  945. package/dist/types/internal/props/aria-expanded.d.ts +1 -1
  946. package/dist/types/internal/props/aria-has-popup.d.ts +1 -1
  947. package/dist/types/internal/props/aria-owns.d.ts +3 -2
  948. package/dist/types/internal/props/aria-selected.d.ts +1 -1
  949. package/dist/types/internal/props/auto-complete.d.ts +1 -1
  950. package/dist/types/internal/props/badge-text.d.ts +3 -2
  951. package/dist/types/internal/props/boundary-count.d.ts +3 -2
  952. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -4
  953. package/dist/types/internal/props/button-callbacks.d.ts +1 -3
  954. package/dist/types/internal/props/button-type.d.ts +1 -1
  955. package/dist/types/internal/props/card-callbacks.d.ts +1 -3
  956. package/dist/types/internal/props/checkbox-value.d.ts +1 -1
  957. package/dist/types/internal/props/checked.d.ts +3 -2
  958. package/dist/types/internal/props/collapsible-callbacks.d.ts +1 -3
  959. package/dist/types/internal/props/collapsible.d.ts +3 -2
  960. package/dist/types/internal/props/color.d.ts +1 -1
  961. package/dist/types/internal/props/custom-class.d.ts +3 -2
  962. package/dist/types/internal/props/dialog-callbacks.d.ts +1 -1
  963. package/dist/types/internal/props/disabled.d.ts +3 -2
  964. package/dist/types/internal/props/download.d.ts +2 -1
  965. package/dist/types/internal/props/drawer-callbacks.d.ts +1 -1
  966. package/dist/types/internal/props/error-list.d.ts +1 -1
  967. package/dist/types/internal/props/fixed-cols.d.ts +1 -1
  968. package/dist/types/internal/props/form-callbacks.d.ts +1 -3
  969. package/dist/types/internal/props/has-clear-button.d.ts +3 -2
  970. package/dist/types/internal/props/has-closer.d.ts +3 -2
  971. package/dist/types/internal/props/has-compact-button.d.ts +3 -2
  972. package/dist/types/internal/props/has-counter.d.ts +3 -2
  973. package/dist/types/internal/props/has-create-button.d.ts +3 -2
  974. package/dist/types/internal/props/has-icons-when-expanded.d.ts +3 -2
  975. package/dist/types/internal/props/has-settings-menu.d.ts +3 -2
  976. package/dist/types/internal/props/helpers/factory.d.ts +13 -6
  977. package/dist/types/internal/props/helpers/normalizers.d.ts +2 -1
  978. package/dist/types/internal/props/helpers/validators.d.ts +4 -0
  979. package/dist/types/internal/props/hide-label.d.ts +3 -2
  980. package/dist/types/internal/props/hide-msg.d.ts +3 -2
  981. package/dist/types/internal/props/high.d.ts +3 -2
  982. package/dist/types/internal/props/hint.d.ts +3 -2
  983. package/dist/types/internal/props/hints/label-hints.d.ts +2 -1
  984. package/dist/types/internal/props/horizontal-icons.d.ts +1 -1
  985. package/dist/types/internal/props/href.d.ts +3 -3
  986. package/dist/types/internal/props/icons-input-checkbox.d.ts +1 -1
  987. package/dist/types/internal/props/icons.d.ts +1 -1
  988. package/dist/types/internal/props/id.d.ts +3 -2
  989. package/dist/types/internal/props/image-callbacks.d.ts +1 -3
  990. package/dist/types/internal/props/indeterminate.d.ts +3 -2
  991. package/dist/types/internal/props/index.d.ts +1 -1
  992. package/dist/types/internal/props/inline.d.ts +3 -2
  993. package/dist/types/internal/props/input-date-type.d.ts +1 -1
  994. package/dist/types/internal/props/input-text-type.d.ts +1 -1
  995. package/dist/types/internal/props/kolibri-color.d.ts +1 -1
  996. package/dist/types/internal/props/label-align.d.ts +1 -1
  997. package/dist/types/internal/props/label-lang-segment.d.ts +4 -0
  998. package/dist/types/internal/props/label-with-expert-slot.d.ts +3 -2
  999. package/dist/types/internal/props/label.d.ts +2 -1
  1000. package/dist/types/internal/props/labeled.d.ts +3 -2
  1001. package/dist/types/internal/props/level.d.ts +1 -1
  1002. package/dist/types/internal/props/link-callbacks.d.ts +1 -3
  1003. package/dist/types/internal/props/link-role.d.ts +1 -1
  1004. package/dist/types/internal/props/link-target.d.ts +3 -2
  1005. package/dist/types/internal/props/loading.d.ts +1 -1
  1006. package/dist/types/internal/props/low.d.ts +3 -2
  1007. package/dist/types/internal/props/max-length-behavior.d.ts +1 -1
  1008. package/dist/types/internal/props/max-length.d.ts +2 -1
  1009. package/dist/types/internal/props/max.d.ts +3 -2
  1010. package/dist/types/internal/props/min.d.ts +3 -2
  1011. package/dist/types/internal/props/multiple.d.ts +3 -2
  1012. package/dist/types/internal/props/name.d.ts +3 -2
  1013. package/dist/types/internal/props/nav-links.d.ts +1 -3
  1014. package/dist/types/internal/props/open.d.ts +3 -2
  1015. package/dist/types/internal/props/optimum.d.ts +3 -2
  1016. package/dist/types/internal/props/options-with-optgroup.d.ts +1 -1
  1017. package/dist/types/internal/props/orientation.d.ts +1 -1
  1018. package/dist/types/internal/props/page-size-options.d.ts +1 -1
  1019. package/dist/types/internal/props/page-size.d.ts +3 -2
  1020. package/dist/types/internal/props/page.d.ts +3 -2
  1021. package/dist/types/internal/props/pagination-callbacks.d.ts +1 -3
  1022. package/dist/types/internal/props/pagination-has-buttons.d.ts +1 -1
  1023. package/dist/types/internal/props/pagination-max.d.ts +3 -2
  1024. package/dist/types/internal/props/pagination-position.d.ts +1 -1
  1025. package/dist/types/internal/props/pattern.d.ts +2 -1
  1026. package/dist/types/internal/props/placeholder.d.ts +2 -1
  1027. package/dist/types/internal/props/quote.d.ts +3 -2
  1028. package/dist/types/internal/props/radio-orientation.d.ts +1 -1
  1029. package/dist/types/internal/props/radio-value.d.ts +1 -1
  1030. package/dist/types/internal/props/read-only.d.ts +3 -2
  1031. package/dist/types/internal/props/required-text.d.ts +1 -1
  1032. package/dist/types/internal/props/required.d.ts +3 -2
  1033. package/dist/types/internal/props/resize.d.ts +1 -1
  1034. package/dist/types/internal/props/rows.d.ts +2 -1
  1035. package/dist/types/internal/props/secondary-headline.d.ts +3 -2
  1036. package/dist/types/internal/props/select-value.d.ts +1 -1
  1037. package/dist/types/internal/props/selected.d.ts +3 -2
  1038. package/dist/types/internal/props/short-key.d.ts +3 -2
  1039. package/dist/types/internal/props/show.d.ts +3 -2
  1040. package/dist/types/internal/props/sibling-count.d.ts +3 -2
  1041. package/dist/types/internal/props/sizes.d.ts +3 -2
  1042. package/dist/types/internal/props/skip-nav-links.d.ts +1 -3
  1043. package/dist/types/internal/props/smart-button.d.ts +2 -2
  1044. package/dist/types/internal/props/span-icons.d.ts +1 -1
  1045. package/dist/types/internal/props/spell-check.d.ts +2 -1
  1046. package/dist/types/internal/props/src.d.ts +3 -2
  1047. package/dist/types/internal/props/srcset.d.ts +3 -2
  1048. package/dist/types/internal/props/suggestions.d.ts +1 -1
  1049. package/dist/types/internal/props/sync-value-by-selector.d.ts +2 -1
  1050. package/dist/types/internal/props/tab-behavior.d.ts +1 -1
  1051. package/dist/types/internal/props/tab-index.d.ts +3 -2
  1052. package/dist/types/internal/props/table-data-foot.d.ts +1 -1
  1053. package/dist/types/internal/props/table-data.d.ts +1 -1
  1054. package/dist/types/internal/props/table-headers.d.ts +1 -1
  1055. package/dist/types/internal/props/table-loading.d.ts +3 -2
  1056. package/dist/types/internal/props/table-pagination.d.ts +1 -1
  1057. package/dist/types/internal/props/table-selection.d.ts +1 -1
  1058. package/dist/types/internal/props/table-stateful-headers.d.ts +1 -1
  1059. package/dist/types/internal/props/tabs-callbacks.d.ts +1 -1
  1060. package/dist/types/internal/props/tabs.d.ts +1 -1
  1061. package/dist/types/internal/props/toolbar-items.d.ts +1 -1
  1062. package/dist/types/internal/props/touched.d.ts +3 -2
  1063. package/dist/types/internal/props/unit.d.ts +3 -2
  1064. package/dist/types/internal/props/value-number-clamped.d.ts +4 -3
  1065. package/dist/types/internal/props/value-string.d.ts +2 -1
  1066. package/dist/types/internal/props/variant-dialog.d.ts +1 -1
  1067. package/dist/types/internal/props/variant-input-checkbox.d.ts +1 -1
  1068. package/dist/types/internal/props/variant-progress.d.ts +1 -1
  1069. package/dist/types/internal/props/variant-quote.d.ts +1 -1
  1070. package/dist/types/internal/props/variant-spin.d.ts +1 -1
  1071. package/dist/types/internal/props/variant.d.ts +1 -1
  1072. package/dist/types/internal/props/visibility-toggle.d.ts +3 -2
  1073. package/dist/types/internal/props/width.d.ts +3 -2
  1074. package/dist/types/schema/bem-registry.d.ts +75 -0
  1075. package/dist/types/schema/components/alert.d.ts +2 -2
  1076. package/dist/types/schema/components/badge.d.ts +2 -2
  1077. package/dist/types/schema/components/breadcrumb.d.ts +2 -2
  1078. package/dist/types/schema/components/card.d.ts +2 -2
  1079. package/dist/types/schema/components/collapsible.d.ts +3 -3
  1080. package/dist/types/schema/components/dialog.d.ts +3 -3
  1081. package/dist/types/schema/components/drawer.d.ts +3 -3
  1082. package/dist/types/schema/components/split-button.d.ts +2 -2
  1083. package/dist/types/schema/components/table.d.ts +3 -3
  1084. package/dist/types/schema/components/tableStateless.d.ts +3 -3
  1085. package/dist/types/schema/components/tabs.d.ts +2 -2
  1086. package/dist/types/schema/components/tree-item.d.ts +2 -2
  1087. package/dist/types/schema/props/allow-markdown.d.ts +1 -0
  1088. package/dist/types/schema/props/aria-controls.d.ts +1 -2
  1089. package/dist/types/schema/props/boundary-count.d.ts +1 -0
  1090. package/dist/types/schema/props/has-clear-button.d.ts +1 -0
  1091. package/dist/types/schema/props/has-compact-button.d.ts +1 -2
  1092. package/dist/types/schema/props/high.d.ts +1 -0
  1093. package/dist/types/schema/props/index.d.ts +19 -2
  1094. package/dist/types/schema/props/label.d.ts +16 -2
  1095. package/dist/types/schema/props/labeled.d.ts +1 -0
  1096. package/dist/types/schema/props/low.d.ts +1 -0
  1097. package/dist/types/schema/props/min.d.ts +1 -0
  1098. package/dist/types/schema/props/optimum.d.ts +1 -0
  1099. package/dist/types/schema/props/page-size.d.ts +1 -0
  1100. package/dist/types/schema/props/page.d.ts +1 -0
  1101. package/dist/types/schema/props/quote.d.ts +0 -5
  1102. package/dist/types/schema/props/secondary-headline.d.ts +1 -0
  1103. package/dist/types/schema/props/selected.d.ts +1 -0
  1104. package/dist/types/schema/props/sibling-count.d.ts +1 -0
  1105. package/dist/types/schema/props/sizes.d.ts +1 -0
  1106. package/dist/types/schema/props/src.d.ts +1 -0
  1107. package/dist/types/schema/props/srcset.d.ts +1 -0
  1108. package/dist/types/schema/props/table-loading.d.ts +1 -0
  1109. package/dist/types/schema/props/value-number-clamped.d.ts +1 -0
  1110. package/dist/types/schema/props/value-string.d.ts +1 -0
  1111. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  1112. package/dist/types/schema/utils/dev.utils.d.ts +1 -0
  1113. package/dist/types/utils/dev.utils.d.ts +0 -2
  1114. package/dist/types/utils/element-focus.d.ts +1 -0
  1115. package/dist/types/utils/element-interaction.d.ts +0 -1
  1116. package/dist/types/utils/element-themed.d.ts +1 -2
  1117. package/dist/types/utils/unique-nav-labels.d.ts +3 -2
  1118. package/doc/abbr.md +3 -3
  1119. package/doc/accordion.md +1 -1
  1120. package/doc/alert.md +1 -1
  1121. package/doc/badge.md +6 -6
  1122. package/doc/breadcrumb.md +4 -4
  1123. package/doc/button-link.md +2 -2
  1124. package/doc/button.md +1 -1
  1125. package/doc/card.md +2 -2
  1126. package/doc/combobox.md +23 -23
  1127. package/doc/details.md +1 -1
  1128. package/doc/dialog.md +1 -1
  1129. package/doc/drawer.md +1 -1
  1130. package/doc/heading.md +5 -5
  1131. package/doc/input-checkbox.md +23 -23
  1132. package/doc/input-color.md +22 -22
  1133. package/doc/input-date.md +28 -28
  1134. package/doc/input-email.md +30 -30
  1135. package/doc/input-file.md +22 -22
  1136. package/doc/input-number.md +28 -28
  1137. package/doc/input-password.md +29 -29
  1138. package/doc/input-radio.md +19 -19
  1139. package/doc/input-range.md +24 -24
  1140. package/doc/input-text.md +31 -31
  1141. package/doc/link-button.md +5 -5
  1142. package/doc/link.md +6 -6
  1143. package/doc/meter.md +1 -1
  1144. package/doc/modal.md +1 -1
  1145. package/doc/popover-button.md +18 -18
  1146. package/doc/progress.md +7 -7
  1147. package/doc/quote.md +6 -6
  1148. package/doc/select.md +24 -24
  1149. package/doc/single-select.md +24 -24
  1150. package/doc/split-button.md +1 -1
  1151. package/doc/table-stateful.md +1 -1
  1152. package/doc/table-stateless.md +1 -1
  1153. package/doc/textarea.md +3 -3
  1154. package/doc/tree-item.md +6 -6
  1155. package/package.json +3 -10
  1156. package/vscode-custom-data.json +38 -38
  1157. package/dist/cjs/align-NV74hwT0.js +0 -22
  1158. package/dist/cjs/api-BBdhCCKv.js +0 -73
  1159. package/dist/cjs/api-BlwpFlt1.js +0 -96
  1160. package/dist/cjs/component-B_EvGSM0.js +0 -22
  1161. package/dist/cjs/component-kxdSa2S4.js +0 -36
  1162. package/dist/cjs/component-plNY-StC.js +0 -13
  1163. package/dist/cjs/disabled-wIEbt0Gz.js +0 -10
  1164. package/dist/cjs/has-closer-4Czygcsx.js +0 -10
  1165. package/dist/cjs/href-B2aqb6-P.js +0 -12
  1166. package/dist/cjs/isArray-BOIOdEQh.js +0 -163
  1167. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +0 -82
  1168. package/dist/cjs/label-DeUoiK6M.js +0 -39
  1169. package/dist/cjs/label-with-expert-slot-B1k6ppMF.js +0 -10
  1170. package/dist/cjs/level-DGDM1aXl.js +0 -11
  1171. package/dist/cjs/link-target-PjKWXgno.js +0 -10
  1172. package/dist/cjs/links-0QyGYlHz.js +0 -15
  1173. package/dist/cjs/multiple-BoCGiGxR.js +0 -10
  1174. package/dist/cjs/name-BZcwC1Zd.js +0 -10
  1175. package/dist/cjs/open-ui_yY8GH.js +0 -10
  1176. package/dist/cjs/placeholder-CCYSgsip.js +0 -10
  1177. package/dist/cjs/read-only-KKKbZyk5.js +0 -10
  1178. package/dist/cjs/required-CeiUcxrv.js +0 -10
  1179. package/dist/cjs/resolve-props-BcGzqFFR.js +0 -58
  1180. package/dist/cjs/resolve-props-Cv67cUZA.js +0 -60
  1181. package/dist/cjs/rows-BWBG8nDk.js +0 -10
  1182. package/dist/cjs/spell-check-DHRle7ui.js +0 -10
  1183. package/dist/cjs/src-B6CU1zD0.js +0 -10
  1184. package/dist/cjs/step-kuREYDVE.js +0 -10
  1185. package/dist/cjs/unique-nav-labels-CuHbVHx9.js +0 -22
  1186. package/dist/cjs/unit-DHpzrXY7.js +0 -13
  1187. package/dist/cjs/value-string-BtfdnGIb.js +0 -10
  1188. package/dist/cjs/variant-CxQO5qFu.js +0 -106
  1189. package/dist/collection/components/@else/all/component.js +0 -17
  1190. package/dist/collection/components/@else/counter/component.js +0 -29
  1191. package/dist/collection/components/component-list.js +0 -105
  1192. package/dist/collection/components/heading/validation.js +0 -11
  1193. package/dist/collection/components/tooltip/component.js +0 -204
  1194. package/dist/collection/functional-components/Heading/index.js +0 -5
  1195. package/dist/collection/internal/functional-components/form-field/custom-suggestions.test.js +0 -55
  1196. package/dist/collection/internal/functional-components/form-field/field-control.test.js +0 -57
  1197. package/dist/collection/internal/functional-components/form-field/input-shell.test.js +0 -43
  1198. package/dist/collection/internal/functional-components/form-field/select.test.js +0 -140
  1199. package/dist/collection/internal/functional-components/form-field/snapshot.test.js +0 -43
  1200. package/dist/collection/internal/functional-components/form-field/textarea.test.js +0 -18
  1201. package/dist/collection/internal/functional-components/popover/snapshot.test.js +0 -15
  1202. package/dist/collection/internal/functional-components/span/snapshot.test.js +0 -70
  1203. package/dist/collection/internal/props/hints/index.js +0 -4
  1204. package/dist/collection/internal/props/pagination-label.js +0 -6
  1205. package/dist/collection/schema/components/input.js +0 -4
  1206. package/dist/collection/schema/props/variant/spin.js +0 -8
  1207. package/dist/collection/schema/props/variant-quote.js +0 -11
  1208. package/dist/collection/schema/validators/window.js +0 -4
  1209. package/dist/components/align.js +0 -4
  1210. package/dist/components/api.js +0 -4
  1211. package/dist/components/api2.js +0 -4
  1212. package/dist/components/common.js +0 -4
  1213. package/dist/components/isArray.js +0 -4
  1214. package/dist/components/kol-tooltip-wc.d.ts +0 -11
  1215. package/dist/components/kol-tooltip-wc.js +0 -4
  1216. package/dist/components/variant.js +0 -4
  1217. package/dist/esm/align-DsFuqEf5.js +0 -20
  1218. package/dist/esm/api-CvPkoAAG.js +0 -67
  1219. package/dist/esm/component-CySyXSru.js +0 -19
  1220. package/dist/esm/component-DqHI-AwD.js +0 -27
  1221. package/dist/esm/component-DxddScWx.js +0 -34
  1222. package/dist/esm/component-YhEwg1LK.js +0 -11
  1223. package/dist/esm/href-OaK1sDT5.js +0 -9
  1224. package/dist/esm/isArray-CcrBs4JM.js +0 -156
  1225. package/dist/esm/kol-tooltip-wc.entry.js +0 -80
  1226. package/dist/esm/label-BNtqGdMQ.js +0 -35
  1227. package/dist/esm/label-with-expert-slot-aAOUzLo3.js +0 -8
  1228. package/dist/esm/rows-CUHDEUm9.js +0 -8
  1229. package/dist/esm/unique-nav-labels-Bh3w7dCH.js +0 -19
  1230. package/dist/kolibri/align-DsFuqEf5.js +0 -4
  1231. package/dist/kolibri/api-B9mpTRGa.js +0 -4
  1232. package/dist/kolibri/api-CvPkoAAG.js +0 -4
  1233. package/dist/kolibri/api-hAvZrw9X.js +0 -4
  1234. package/dist/kolibri/app-globals-Dff_iJYF.js +0 -4
  1235. package/dist/kolibri/aria-labelledby-BRToXqsQ.js +0 -4
  1236. package/dist/kolibri/base-7FEvBJ3L.js +0 -4
  1237. package/dist/kolibri/base-COT79ELt.js +0 -4
  1238. package/dist/kolibri/base-CsJWjTJl.js +0 -4
  1239. package/dist/kolibri/base-Df1bwC8d.js +0 -4
  1240. package/dist/kolibri/base-web-component-Bcoukts3.js +0 -4
  1241. package/dist/kolibri/base-web-component-C1XSz7ML.js +0 -4
  1242. package/dist/kolibri/base-web-component-cTyj95G-.js +0 -4
  1243. package/dist/kolibri/behavior-BMW-_4Oy.js +0 -4
  1244. package/dist/kolibri/behavior-BlS6DO8T.js +0 -4
  1245. package/dist/kolibri/behavior-Zr6qAX7F.js +0 -4
  1246. package/dist/kolibri/bootstrap-DTVsVq0w.js +0 -4
  1247. package/dist/kolibri/color-9CMp_pOq.js +0 -4
  1248. package/dist/kolibri/common-D03JQJgy.js +0 -4
  1249. package/dist/kolibri/component-BkjWlzLc.js +0 -4
  1250. package/dist/kolibri/component-BmJGOcby.js +0 -4
  1251. package/dist/kolibri/component-C_Te18y_.js +0 -4
  1252. package/dist/kolibri/component-CySyXSru.js +0 -4
  1253. package/dist/kolibri/component-DHl33p9J.js +0 -4
  1254. package/dist/kolibri/component-DeWynlzi.js +0 -4
  1255. package/dist/kolibri/component-DqHI-AwD.js +0 -4
  1256. package/dist/kolibri/component-DxddScWx.js +0 -4
  1257. package/dist/kolibri/component-DzVHCXnG.js +0 -4
  1258. package/dist/kolibri/component-Ik_-HAMT.js +0 -4
  1259. package/dist/kolibri/component-YhEwg1LK.js +0 -4
  1260. package/dist/kolibri/contrast-BK5uVXeb.js +0 -4
  1261. package/dist/kolibri/controller-Bf-CAo4Q.js +0 -4
  1262. package/dist/kolibri/dev.utils-BgjegQC8.js +0 -4
  1263. package/dist/kolibri/disabled-BaPgTuFO.js +0 -4
  1264. package/dist/kolibri/element-focus-Cp994Rrk.js +0 -4
  1265. package/dist/kolibri/field-control-Brx62dJV.js +0 -4
  1266. package/dist/kolibri/group-Ce5pMiZJ.js +0 -4
  1267. package/dist/kolibri/has-closer-C9L79ect.js +0 -4
  1268. package/dist/kolibri/href-OaK1sDT5.js +0 -4
  1269. package/dist/kolibri/i18n-DRQl0u--.js +0 -4
  1270. package/dist/kolibri/input-DjQorwQ5.js +0 -4
  1271. package/dist/kolibri/input-container-RSmfcRgK.js +0 -4
  1272. package/dist/kolibri/isArray-CcrBs4JM.js +0 -4
  1273. package/dist/kolibri/item-2cprk9ut.js +0 -4
  1274. package/dist/kolibri/item-Bfk2xd-D.js +0 -4
  1275. package/dist/kolibri/item-D9_O5WAR.js +0 -4
  1276. package/dist/kolibri/item-DMWn_IlJ.js +0 -4
  1277. package/dist/kolibri/kol-tooltip-wc.entry.js +0 -4
  1278. package/dist/kolibri/label-BNtqGdMQ.js +0 -4
  1279. package/dist/kolibri/label-with-expert-slot-aAOUzLo3.js +0 -4
  1280. package/dist/kolibri/level-Df663c7y.js +0 -4
  1281. package/dist/kolibri/link-target-C7_smSbV.js +0 -4
  1282. package/dist/kolibri/links-B0xbzBwU.js +0 -4
  1283. package/dist/kolibri/multiple-CYHm7rd3.js +0 -4
  1284. package/dist/kolibri/name-m3owaZxH.js +0 -4
  1285. package/dist/kolibri/number-value-CMedWR58.js +0 -4
  1286. package/dist/kolibri/open-DCGNTmvC.js +0 -4
  1287. package/dist/kolibri/options-CR431ims.js +0 -4
  1288. package/dist/kolibri/orientation-C9FRNmPD.js +0 -4
  1289. package/dist/kolibri/placeholder-Bwzvbwhh.js +0 -4
  1290. package/dist/kolibri/read-only-C5fDsZVK.js +0 -4
  1291. package/dist/kolibri/required-CC0212MQ.js +0 -4
  1292. package/dist/kolibri/resolve-props-47S-r31C.js +0 -4
  1293. package/dist/kolibri/resolve-props-CnHCiXuG.js +0 -4
  1294. package/dist/kolibri/rows-CUHDEUm9.js +0 -4
  1295. package/dist/kolibri/smart-button-BHM06d-t.js +0 -4
  1296. package/dist/kolibri/spell-check-DiSedaOR.js +0 -4
  1297. package/dist/kolibri/src-CsLEg--w.js +0 -4
  1298. package/dist/kolibri/step-BxSThOke.js +0 -4
  1299. package/dist/kolibri/suggestions-B79TOsF_.js +0 -4
  1300. package/dist/kolibri/suggestions-C38q-5JU.js +0 -4
  1301. package/dist/kolibri/toggle-handler-CQ0FhBmD.js +0 -4
  1302. package/dist/kolibri/unique-nav-labels-Bh3w7dCH.js +0 -4
  1303. package/dist/kolibri/unit-BgjPEae-.js +0 -4
  1304. package/dist/kolibri/value-string-BDfywbme.js +0 -4
  1305. package/dist/kolibri/variant-PJN56KWi.js +0 -4
  1306. package/dist/kolibri/width-CAS8lhOU.js +0 -4
  1307. package/dist/types/components/@else/all/component.d.ts +0 -12
  1308. package/dist/types/components/@else/counter/component.d.ts +0 -9
  1309. package/dist/types/components/_skeleton/web-components/click-button/component.d.ts +0 -14
  1310. package/dist/types/components/component-list.d.ts +0 -7
  1311. package/dist/types/components/heading/validation.d.ts +0 -3
  1312. package/dist/types/components/tooltip/component.d.ts +0 -19
  1313. package/dist/types/functional-components/Heading/index.d.ts +0 -2
  1314. package/dist/types/internal/props/hints/index.d.ts +0 -1
  1315. package/dist/types/internal/props/pagination-label.d.ts +0 -3
  1316. package/dist/types/schema/components/input.d.ts +0 -0
  1317. package/dist/types/schema/props/variant/spin.d.ts +0 -8
  1318. package/dist/types/schema/props/variant-quote.d.ts +0 -7
  1319. package/dist/types/schema/validators/window.d.ts +0 -0
  1320. package/doc/_skeleton.md +0 -79
  1321. /package/dist/{types/internal/functional-components/form-field/custom-suggestions.test.d.ts → collection/schema/props/allow-markdown.js} +0 -0
  1322. /package/dist/{types/internal/functional-components/form-field/field-control.test.d.ts → collection/schema/props/boundary-count.js} +0 -0
  1323. /package/dist/{types/internal/functional-components/form-field/input-shell.test.d.ts → collection/schema/props/has-clear-button.js} +0 -0
  1324. /package/dist/{types/internal/functional-components/form-field/select.test.d.ts → collection/schema/props/high.js} +0 -0
  1325. /package/dist/{types/internal/functional-components/form-field/snapshot.test.d.ts → collection/schema/props/labeled.js} +0 -0
  1326. /package/dist/{types/internal/functional-components/form-field/textarea.test.d.ts → collection/schema/props/low.js} +0 -0
  1327. /package/dist/{types/internal/functional-components/popover/snapshot.test.d.ts → collection/schema/props/min.js} +0 -0
  1328. /package/dist/{types/internal/functional-components/span/snapshot.test.d.ts → collection/schema/props/optimum.js} +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"./common.js";export{a as KoliBriDevHelper,R as getDefaultThemeName}from"./common.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 c}from"./component-names.js";export{B as BEM}from"./bem-registry.js";export{K as KolEvent}from"./events.js";export{i as isTooltipOpen}from"./tooltip-open-tracking.js";const h=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(c),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,h as KoliBri,g as ToasterService,f as isInitialized}
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}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{D as o,F as t,k as n,p as s}from"./common.js";import{c as e}from"./base-web-component.js";import{h as r}from"@stencil/core/internal/client";import{B as i}from"./component7.js";import{I as l}from"./component4.js";import{a}from"./tslib.es6.js";import{i as c,g as m}from"./base-web-component2.js";import{b as p}from"./bem-registry.js";import{c as d}from"./clsx.js";import{B as u}from"./component.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=e("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)})),v=o=>{var t;return o?r(l,"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},y=({icons:o,smartButton:t,startAdornment:n,endAdornment:s})=>({startAdornment:[null!=n?n:null,v(null==o?void 0:o.left)].filter(Boolean),endAdornment:[t?r(i,Object.assign({},t)):null,v(null==o?void 0:o.right),null!=s?s:null].filter(Boolean)}),g=p.forBlock("kol-input-container"),A=(o,t)=>{var{position:n="start",class:s}=o,e=a(o,["position","class"]);return r("div",Object.assign({class:d(g("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:i,msg:l,touched:p}=o,d=a(o,["class","startAdornment","endAdornment","disabled","msg","touched"]),f=h(s)||h(e);return r(u,Object.assign({block:"kol-input-container",modifiers:Object.assign({disabled:Boolean(i)},c(l,p)?{[m(l)]:!0}:{}),class:n},d),f&&r(A,{position:"start"},s),r("div",{class:g("container")},t),f&&r(A,{position:"end"},e))};export{B as I,y as g,j as h}
4
+ import{G as o,H as t,k as n,p as s,b as r}from"./bem-registry.js";import{c as e}from"./props-from-config.js";import{h as i}from"@stencil/core/internal/client";import{B as l}from"./component10.js";import{I as a}from"./component5.js";import{a as c}from"./tslib.es6.js";import{i as m,g as p}from"./base-web-component2.js";import{c as d}from"./clsx.js";import{B as u}from"./component.js";const f=(o,s,r)=>{n(r)?o[s]=r:t(r,1)&&(o[s]={icon:r})},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=e("icons",{},(function(n){let r=n;if("string"==typeof n)try{r=s(n)}catch(o){}if(t(r,1))return b(r);if("object"==typeof r&&null!==r){const n=r;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(r)}throw new Error("Invalid icons: "+typeof n)})),g=o=>{var t;return o?i(a,"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?i(l,Object.assign({},t)):null,g(null==o?void 0:o.right),null!=s?s:null].filter(Boolean)}),y=r.forBlock("kol-input-container"),A=(o,t)=>{var{position:n="start",class:s}=o,r=c(o,["position","class"]);return i("div",Object.assign({class:d(y("adornment",{[n]:!0}),s)},r),t)};function h(o){return!!o&&(Array.isArray(o)?o.length>0:Boolean(o))}const B=(o,t)=>{const{class:n,startAdornment:s,endAdornment:r,disabled:e,msg:l,touched:a}=o,d=c(o,["class","startAdornment","endAdornment","disabled","msg","touched"]),f=h(s)||h(r);return i(u,Object.assign({block:"kol-input-container",modifiers:Object.assign({disabled:Boolean(e)},m(l,a)?{[p(l)]:!0}:{}),class:n},d),f&&i(A,{position:"start"},s),i("div",{class:y("container")},t),f&&i(A,{position:"end"},r))};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{a as e}from"./tslib.es6.js";import{h as s,Fragment as a}from"@stencil/core/internal/client";import"./common.js";import{i as o,g as l,c as i}from"./base-web-component2.js";import{c as r}from"./clsx.js";import{a as t}from"./dev.utils.js";import{g as d}from"./block-bem.js";const c=c=>{const{class:n,msg:b,required:m,disabled:u,touched:p,readonly:j,ariaDescribedBy:g,hideLabel:y,label:f,suggestions:B,value:h}=c,v=e(c,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),q=Object.assign(Object.assign({class:r(d("kol-input")(Object.assign({disabled:Boolean(u),required:Boolean(m),touched:Boolean(p),readonly:Boolean(j)},o(b,p)?{[l(b)]:!0}:{})),n),required:m,disabled:u,readonly:j,type:"text",list:B&&"string"==typeof v.id?t(v.id,"list"):void 0},i({ariaDescribedBy:g,hideLabel:y,label:f})),v);return s(a,null,s("input",Object.assign({},q,{value:h})),B)};export{c as I}
4
+ import{a as e}from"./tslib.es6.js";import{h as s,Fragment as a}from"@stencil/core/internal/client";import"./bem-registry.js";import{i as o,g as i,c as l}from"./base-web-component2.js";import{c as r}from"./clsx.js";import{a as t}from"./dev.utils.js";import{g as d}from"./block-bem.js";const b=b=>{const{class:c,msg:n,required:m,disabled:u,touched:p,readonly:g,ariaDescribedBy:j,hideLabel:y,label:f,suggestions:B,value:h}=b,v=e(b,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),q=Object.assign(Object.assign({class:r(d("kol-input")(Object.assign({disabled:Boolean(u),required:Boolean(m),touched:Boolean(p),readonly:Boolean(g)},o(n,p)?{[i(n)]:!0}:{})),c),required:m,disabled:u,readonly:g,type:"text",list:B&&"string"==typeof v.id?t(v.id,"list"):void 0},l({ariaDescribedBy:j,hideLabel:y,label:f})),v);return s(a,null,s("input",Object.assign({},q,{value:h})),B)};export{b as I}
@@ -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"./common.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)},h=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)},g=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onMouseDown)||void 0===r||r.call(e,o),b(n.mousedown)},w=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onFocus)||void 0===r||r.call(e,o),b(n.focus)},y=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:y,handleClick:h,handleFocus:w,handleMouseDown:g,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{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}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{X as o}from"./common.js";import{n as s,c as a}from"./dev.utils.js";import{c as t}from"./element-interaction.js";import{d as e,K as r}from"./events.js";import{e as n,a as i,c as m,d as l}from"./api2.js";import{d as p}from"./disabled.js";import{a as c,c as d,g as v,h as j,i as b,l as f,d as u,s as g,t as h,e as O,v as w}from"./variant.js";import{B as x,d as y}from"./base-web-component.js";import{l as D}from"./label-with-expert-slot.js";import{p as _,a as q}from"./behavior4.js";import{r as B}from"./resolve-props.js";import{i as F,T as K}from"./behavior.js";import{n as L}from"./name.js";const P={required:[D],optional:[c,d,n,i,m,l,v,p,j,F,b,f,L,_,u,g,h,O,w]},T=n=>{var i;const m=new q(x.stateLess),c=new K(x.stateLess),d=t();let v,f;const u=y(P);delete u.tabIndex;const h=o=>{p.apply(o,(o=>{u.disabled=o}))};h(n.disabled),j.apply(n.hideLabel,(o=>{u.hideLabel=o})),g.apply(n.icons,(o=>{u.icons=o})),b.apply(!1,(o=>{u.inline=o})),O.apply("top",(o=>{u.tooltipAlign=o})),l.apply("button",(o=>{u.type=o})),D.apply(n.label,(o=>{u.label=o}));let F=_.getDefaultValue();_.apply(n.popoverAlign,(o=>{F=o})),u.popoverAlign=F,m.componentWillLoad({align:F}),w.apply(null!==(i=o("buttonVariantDefault",n.getFlagHost()))&&void 0!==i?i:"normal",(o=>{u.variant=o})),u.ariaDescriptionId=s(),u.popoverId=a("popover");const L=o=>{const s=n.getEventTarget?n.getEventTarget():f;s&&e(s,o)},T=o=>{n.setOpen("open"===o.newState)};u.handleClick=o=>{o.stopPropagation(),c.hideTooltip(),m.setShow(!n.getOpen()),L(r.click)},u.handleMouseDown=()=>L(r.mousedown),u.handleFocus=()=>L(r.focus),u.handleBlur=()=>L(r.blur),u.refButton=o=>{d(o),m.setTriggerElement(o)},u.refPopover=o=>{v=o,m.setPopoverElementRef(o)},u.refTooltip=c.setTooltipElementRef;const V=o=>{f=o},k=()=>{c.componentWillLoad({label:u.label,align:u.tooltipAlign})};return k(),{getFcProps:o=>(o&&(o=>{var s,a;const t=B(Object.assign(Object.assign({},o),{_on:void 0,_variant:null!==(s=o._variant)&&void 0!==s?s:"normal"}),n.getFlagHost());u.accessKey=t.accessKey,u.ariaDescription=t.ariaDescription,u.customClass=t.customClass,u.disabled=t.disabled,u.hideLabel=t.hideLabel,u.icons=t.icons,u.id=t.id,u.inline=t.inline,u.label=t.label,u.name=t.name,u.shortKey=t.shortKey,u.tabIndex=t.tabIndex,u.tooltipAlign=t.tooltipAlign,u.type=t.type,u.variant=t.variant,_.apply(null!==(a=o._popoverAlign)&&void 0!==a?a:"bottom",(o=>{u.popoverAlign=o,m.watchAlign(o)})),k()})(o),Object.assign(Object.assign({},u),{popoverOpen:n.getOpen(),ref:V})),hide:()=>m.setShow(!1),setDisabled:h,syncListeners:()=>{d.el&&c.syncListeners(void 0,d.el,!0),null==v||v.addEventListener("toggle",T)},destroy:()=>{c.destroy(),v&&(v.removeEventListener("toggle",T),v=void 0),m.destroy()}}};export{T as c}
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}from"./component10.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"./component3.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";import{n as L}from"./name.js";const P={required:[x],optional:[c,d,n,i,m,p,f,l,j,K,v,b,L,D,g,u,h,O,w]},T=n=>{var i;const m=new _(q.stateLess),c=new F(q.stateLess),d=r();let f,b;const g=y(P);delete g.tabIndex;const h=o=>{l.apply(o,(o=>{g.disabled=o}))};h(n.disabled),j.apply(n.hideLabel,(o=>{g.hideLabel=o})),u.apply(n.icons,(o=>{g.icons=o})),v.apply(!1,(o=>{g.inline=o})),O.apply("top",(o=>{g.tooltipAlign=o})),p.apply("button",(o=>{g.type=o})),x.apply(n.label,(o=>{g.label=o}));let K=D.getDefaultValue();D.apply(n.popoverAlign,(o=>{K=o})),g.popoverAlign=K,m.componentWillLoad({align:K}),w.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():b;s&&e(s,o)},T=o=>{n.setOpen("open"===o.newState)};g.handleClick=o=>{o.stopPropagation(),c.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=c.setTooltipElementRef;const V=o=>{b=o},k=()=>{c.componentWillLoad({label:g.label,align:g.tooltipAlign})};return k(),{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"}),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,D.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:h,syncListeners:()=>{d.el&&c.syncListeners(void 0,d.el,!0),null==f||f.addEventListener("toggle",T)},destroy:()=>{c.destroy(),f&&(f.removeEventListener("toggle",T),f=void 0),m.destroy()}}};export{T 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"./common.js";import{n as t}from"./dev.utils.js";import{c as e}from"./element-interaction.js";import{d as n,K as s}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&&n(u,s.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{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}
@@ -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 s}from"./i18n.js";import{b as e}from"./bem-registry.js";import{n as i,c as o}from"./dev.utils.js";import{B as a}from"./component.js";import{B as n}from"./component7.js";import{p as l,S as r}from"./common.js";import{d as p,K as c}from"./events.js";import{r as u,a as g}from"./unique-nav-labels.js";import{c as h,s as b,a as m,b as d,d as v}from"./base-web-component.js";import{g as f,e as y}from"./variant.js";import{c as C}from"./item.js";import{c as z}from"./item-pool.js";import{c as S}from"./element-interaction.js";import{B as j,s as k}from"./base-web-component4.js";const O=h("boundaryCount",1,(t=>Math.max(0,t))),x=h("page",0,b),_=h("pageSize",1,b),B=/^\[object Object\]$/,P=h("pageSizeOptions",[],(function(t){if(""===t||"string"==typeof t&&B.test(t))throw new Error("Unreflected page size options");const s="string"==typeof t?l(t):t;if(Array.isArray(s)&&s.every((t=>"number"==typeof t)))return s.map((t=>({label:`${t}`,value:t})));throw new Error("Invalid page size options")})),w=m(),A=["first","last","next","previous"],$=t=>({first:t,last:t,next:t,previous:t}),F=h("hasButtons",$(!0),(function t(s){if("boolean"==typeof s)return $(s);if("object"==typeof s&&null!==s){const t={};return A.forEach((e=>{const i=s[e];"boolean"==typeof i&&(t[e]=i)})),t}if("string"==typeof s){const e=l(s);return"object"==typeof e&&null!==e?t(e):$(!1)}throw new Error("Invalid pagination buttons")})),D=h("label","",d),M=h("max",0,b),E=h("siblingCount",1,(t=>Math.max(0,t))),I={required:[x,w,M],optional:[O,f,P,_,F,D,E,y]},H=(t,s=1)=>Math.ceil(t/s),K=(t,s)=>{var e,i;return s.length>0?null!==(i=null===(e=s.find((s=>s.value===t)))||void 0===e?void 0:e.value)&&void 0!==i?i:s[0].value:t},T=(t,s,e,i)=>{const o=[];let a=!1;for(let n=1;n<=s;n++)n<=e||n>s-e||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=e.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=({boundaryCount:e,customClass:o,getButtonFcProps:a,handlePageClick:l,hasButtons:r,label:p,max:c,navigationCallbacks:u,page:g,pageSize:h,pageSizeOptions:b,renderPageSizeSelect:m,siblingCount:d,tooltipAlign:v})=>{const f=H(c,h),{start:y,end:C}=((t,s,e)=>{const i=t*s;return{start:Math.max(0,(t-1)*s+1),end:e<i?e:i}})(g,h,c),z=(s,e,i,l)=>t("li",null,t(n,Object.assign({},a(`navigation-${s}`,{_customClass:o,_disabled:l,_icons:e,_hideLabel:!0,_label:i,_on:u[s],_tooltipAlign:v},{class:q("button",{[s]:!0})}))));return[t("span",{role:"status","aria-live":"polite",class:q("entries")},s("kol-table-visible-range",{placeholders:{start:R.format(y),end:R.format(C),total:R.format(c)}})),t("nav",{class:q("navigation"),"aria-label":p},t("ul",{class:q("navigation-list")},r.first&&z("first",L,s("kol-page-first"),g<=1),r.previous&&z("previous",U,s("kol-page-back"),g<=1),T(g,f,e,d).map((e=>null===e?null:"separator"===e?t("li",{key:i()},t("span",{class:q("separator"),"aria-hidden":"true"})):((e,r)=>{const p=R.format(e),c=`${s("kol-page")} ${p}`;return t("li",{key:i()},t(n,Object.assign({},r?a(`page-${e}`,{_ariaDescription:c,_customClass:o,_label:p},{"aria-current":"page",class:`${q("button",{selected:!0})} selected`}):a(`page-${e}`,{_ariaDescription:c,_customClass:o,_label:p,_on:{onClick:t=>l(t,e)}},{class:q("button",{numbers:!0})}))))})(e.page,e.selected))),r.next&&z("next",G,s("kol-page-next"),f<=g),r.last&&z("last",J,s("kol-page-last"),f<=g))),(null==b?void 0:b.length)>0&&t("div",{class:"page-size"},t("div",{class:q("page-size-select")},m({label:s("kol-entries-per-site"),options:b,value:h})))]},W=s=>t(a,{block:"kol-pagination"},t(V,Object.assign({},s)));class X extends j{constructor(t,s){super(),this.getHost=t,this.requestRender=s,this._disabled=!1,this._multiple=!1,this.ctaRef=S(),this.id=o("select"),this.loaded=!1,this.focused=!1,this.touched=!1,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.initRenderProps(k),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 s=this.passed;this.passed=t,t.label!==s.label&&this.applyLabel(t.label),t.options!==s.options&&this.applyOptions(t.options),t.on!==s.on&&(this._on=t.on,this.applyOn(t.on)),t.value!==s.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 e;const i=null!==(e=t.store)&&void 0!==e?e:(()=>{const t=v(I);return{get:s=>t[s],set:(s,e)=>{t[s]=e}}})(),o=s("kol-pagination"),a=z((()=>C(t.getEventTarget)),(t=>t.syncListeners()),(t=>t.destroy())),n=(t,s,e)=>a.get(t).getFcProps(s,e),l=z((()=>new X(t.getEventTarget,t.requestRender)),(t=>t.sync()),(t=>t.destroy()));let h=1,b={};i.set("label",o);const m=(s,e)=>{setTimeout((()=>{var o,a;null===(a=(o=i.get("on")).onChangePage)||void 0===a||a.call(o,s,e);const n=t.getEventTarget();n&&p(n,c.changePage,e)}))},d=(t,s,e)=>{const o=((t,s,e)=>{if(e>0){const i=H(e,s);if(i>0){if(t>i)return i;if(t<1)return 1}}})(t,s,e);void 0!==o&&(i.set("page",o),m(r,o))},S=t=>{null!=t&&_.apply(t,(t=>{const s=K(t,i.get("pageSizeOptions"));i.set("pageSize",s),d(i.get("page"),s,i.get("max"))}))},j=(t,s)=>{s||u(i.get("label")),D.apply(null!=t?t:o,(t=>i.set("label",t))),g(i.get("label"))},k=(s,e)=>{var o,a;null===(a=(o=i.get("on")).onClick)||void 0===a||a.call(o,s,e);const n=t.getEventTarget();n&&p(n,c.click,e),m(s,e)},B=(s,e)=>{const o=parseInt(e);o>0&&h!==o&&(S(o),h=o,t.requestRender(),setTimeout((()=>{var e,o;const a=h;null===(o=(e=i.get("on")).onChangePageSize)||void 0===o||o.call(e,s,a);const n=t.getEventTarget();n&&p(n,c.changePageSize,a)})))},A={onChange:B},$=t=>l.get("page-size").render(Object.assign(Object.assign({},t),{on:A})),T={first:{onClick:t=>k(t,1)},last:{onClick:t=>k(t,H(i.get("max"),i.get("pageSize")))},next:{onClick:t=>k(t,i.get("page")+1)},previous:{onClick:t=>k(t,i.get("page")-1)}},q={applyBoundaryCount:t=>O.apply(t,(t=>i.set("boundaryCount",t))),applyCustomClass:t=>f.apply(t,(t=>i.set("customClass",t))),applyHasButtons:t=>F.apply(t,(t=>i.set("hasButtons",Object.assign(Object.assign({},i.get("hasButtons")),t)))),applyLabel:t=>j(t,!1),applyMax:t=>{null!=t&&M.apply(t,(t=>{i.set("max",t),d(i.get("page"),i.get("pageSize"),t)}))},applyOn:t=>w.apply(t,(t=>i.set("on",t))),applyPage:t=>{null!=t&&x.apply(t,(t=>{i.set("page",t),d(t,i.get("pageSize"),i.get("max"))}))},applyPageSize:t=>{S(t),h=t},applyPageSizeOptions:t=>P.apply(t,(t=>{let s;i.set("pageSizeOptions",t),t.length>0&&(s=K(i.get("pageSize"),t),i.set("pageSize",s)),d(i.get("page"),s,i.get("max"))})),applySiblingCount:t=>E.apply(t,(t=>i.set("siblingCount",t))),applyTooltipAlign:t=>y.apply(null!=t?t:"top",(t=>i.set("tooltipAlign",t))),load:t=>{b=Object.assign({},t),q.applyBoundaryCount(t.boundaryCount),q.applyCustomClass(t.customClass),q.applyHasButtons(t.hasButtons),j(t.label,!0),q.applyOn(t.on),q.applyPage(t.page),q.applyPageSize(t.pageSize),q.applyPageSizeOptions(t.pageSizeOptions),q.applySiblingCount(t.siblingCount),q.applyTooltipAlign(t.tooltipAlign),q.applyMax(t.max),q.applyPage(t.page)},update:t=>{for(const s of Y)t[s]!==b[s]&&(b=Object.assign(Object.assign({},b),{[s]:t[s]}),"pageSize"===s&&t.pageSize===h||L[s](t[s]))},getFcProps:()=>(a.beginRender(),l.beginRender(),{boundaryCount:i.get("boundaryCount"),customClass:i.get("customClass"),getButtonFcProps:n,handlePageClick:k,handlePageSizeChange:B,hasButtons:i.get("hasButtons"),label:i.get("label"),max:i.get("max"),navigationCallbacks:T,on:i.get("on"),page:i.get("page"),pageSize:i.get("pageSize"),pageSizeOptions:i.get("pageSizeOptions"),renderPageSizeSelect:$,siblingCount:i.get("siblingCount"),tooltipAlign:i.get("tooltipAlign")}),sync:()=>{a.endRender(),l.endRender()},destroy:()=>{u(i.get("label")),a.destroy(),l.destroy()}},L={boundaryCount:q.applyBoundaryCount,customClass:q.applyCustomClass,hasButtons:q.applyHasButtons,label:q.applyLabel,max:q.applyMax,on:q.applyOn,page:q.applyPage,pageSize:q.applyPageSize,pageSizeOptions:q.applyPageSizeOptions,siblingCount:q.applySiblingCount,tooltipAlign:q.applyTooltipAlign};return q};export{W as P,Z as c,I as p}
4
+ import{h as t}from"@stencil/core/internal/client";import{t as s}from"./i18n.js";import{p as e,b as i,S as o}from"./bem-registry.js";import{c as a,D as n,a as l,r,t as p,d as c}from"./props-from-config.js";import{n as u,c as g}from"./dev.utils.js";import{B as h}from"./component.js";import{B as m}from"./component10.js";import{d as b,K as d}from"./events.js";import{r as v,a as f}from"./unique-nav-labels.js";import{g as y,e as C}from"./component3.js";import{l as z}from"./label.js";import{c as S}from"./item.js";import{c as j}from"./item-pool.js";import{c as k}from"./element-interaction.js";import{B as O,s as x}from"./base-web-component4.js";const _=a("boundaryCount",1,(t=>Math.max(0,t))),B=a("page",0,n),P=a("pageSize",1,n),A=/^\[object Object\]$/,$=a("pageSizeOptions",[],(function(t){if(""===t||"string"==typeof t&&A.test(t))throw new Error("Unreflected page size options");const s="string"==typeof t?e(t):t;if(Array.isArray(s)&&s.every((t=>"number"==typeof t)))return s.map((t=>({label:`${t}`,value:t})));throw new Error("Invalid page size options")})),w=l(),F=["first","last","next","previous"],D=t=>({first:t,last:t,next:t,previous:t}),M=a("hasButtons",D(!0),(function t(s){if("boolean"==typeof s)return D(s);if("object"==typeof s&&null!==s){const t={};return F.forEach((e=>{const i=s[e];"boolean"==typeof i&&(t[e]=i)})),t}if("string"==typeof s){const i=e(s);return"object"==typeof i&&null!==i?t(i):D(!1)}throw new Error("Invalid pagination buttons")})),E=a("max",0,n),I=a("siblingCount",1,(t=>Math.max(0,t))),H={required:[B,w,E],optional:[_,y,z,$,P,M,I,C]},K=(t,s=1)=>Math.ceil(t/s),T=(t,s)=>{var e,i;return s.length>0?null!==(i=null===(e=s.find((s=>s.value===t)))||void 0===e?void 0:e.value)&&void 0!==i?i:s[0].value:t},q=(t,s,e,i)=>{const o=[];let a=!1;for(let n=1;n<=s;n++)n<=e||n>s-e||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},L=i.forBlock("kol-pagination"),U={left:"kolicon-chevron-double-left"},G={left:"kolicon-chevron-left"},J={right:"kolicon-chevron-right"},N={right:"kolicon-chevron-double-right"},Q=(R=navigator.language||"de-DE").includes("-")?R:`${R}-${R.toUpperCase()}`;var R;const V=new Intl.NumberFormat(Q,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0}),W=e=>{const{boundaryCount:i,customClass:o,getButtonFcProps:a,handlePageClick:n,hasButtons:l,label:c,max:g,navigationCallbacks:h,page:b,pageSize:d,pageSizeOptions:v,renderPageSizeSelect:f,siblingCount:y,tooltipAlign:C}=r(H,e),z=K(g,d),{start:S,end:j}=((t,s,e)=>{const i=t*s;return{start:Math.max(0,(t-1)*s+1),end:e<i?e:i}})(b,d,g),k=(s,e,i,n)=>t("li",null,t(m,Object.assign({},a(`navigation-${s}`,{_customClass:o,_disabled:n,_icons:e,_hideLabel:!0,_label:i,_on:h[s],_tooltipAlign:C},{class:L("button",{[s]:!0})}))));return[t("span",{role:"status","aria-live":"polite",class:L("entries")},s("kol-table-visible-range",{placeholders:{start:V.format(S),end:V.format(j),total:V.format(g)}})),t("nav",{class:L("navigation"),"aria-label":p(c)},t("ul",{class:L("navigation-list")},l.first&&k("first",U,s("kol-page-first"),b<=1),l.previous&&k("previous",G,s("kol-page-back"),b<=1),q(b,z,i,y).map((e=>null===e?null:"separator"===e?t("li",{key:u()},t("span",{class:L("separator"),"aria-hidden":"true"})):((e,i)=>{const l=V.format(e),r=`${s("kol-page")} ${l}`;return t("li",{key:u()},t(m,Object.assign({},i?a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l},{"aria-current":"page",class:`${L("button",{selected:!0})} selected`}):a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l,_on:{onClick:t=>n(t,e)}},{class:L("button",{numbers:!0})}))))})(e.page,e.selected))),l.next&&k("next",J,s("kol-page-next"),z<=b),l.last&&k("last",N,s("kol-page-last"),z<=b))),(null==v?void 0:v.length)>0&&t("div",{class:"page-size"},t("div",{class:L("page-size-select")},f({label:s("kol-entries-per-site"),options:v,value:d})))]},X=s=>t(h,{block:"kol-pagination"},t(W,Object.assign({},s)));class Y extends O{constructor(t,s){super(),this.getHost=t,this.requestRender=s,this._disabled=!1,this._multiple=!1,this.ctaRef=k(),this.id=g("select"),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=x,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 s=this.passed;this.passed=t,t.label!==s.label&&this.applyLabel(t.label),t.options!==s.options&&this.applyOptions(t.options),t.on!==s.on&&(this._on=t.on,this.applyOn(t.on)),t.value!==s.value&&t.value!==this.value&&(this.value=t.value,this.applyValue(t.value))}}const Z=["boundaryCount","customClass","hasButtons","on","page","pageSize","pageSizeOptions","siblingCount","tooltipAlign","max","label"],tt=t=>{var e;const i=null!==(e=t.store)&&void 0!==e?e:(()=>{const t=c(H);return{get:s=>t[s],set:(s,e)=>{t[s]=e}}})(),a=s("kol-pagination"),n=j((()=>S(t.getEventTarget)),(t=>t.syncListeners()),(t=>t.destroy())),l=(t,s,e)=>n.get(t).getFcProps(s,e),r=j((()=>new Y(t.getEventTarget,t.requestRender)),(t=>t.sync()),(t=>t.destroy()));let p=1,u={};i.set("label",a);const g=(s,e)=>{setTimeout((()=>{var o,a;null===(a=(o=i.get("on")).onChangePage)||void 0===a||a.call(o,s,e);const n=t.getEventTarget();n&&b(n,d.changePage,e)}))},h=(t,s,e)=>{const a=((t,s,e)=>{if(e>0){const i=K(e,s);if(i>0){if(t>i)return i;if(t<1)return 1}}})(t,s,e);void 0!==a&&(i.set("page",a),g(o,a))},m=t=>{null!=t&&P.apply(t,(t=>{const s=T(t,i.get("pageSizeOptions"));i.set("pageSize",s),h(i.get("page"),s,i.get("max"))}))},k=(t,s)=>{s||v(i.get("label")),z.apply(null!=t?t:a,(t=>i.set("label",t))),f(i.get("label"))},O=(s,e)=>{var o,a;null===(a=(o=i.get("on")).onClick)||void 0===a||a.call(o,s,e);const n=t.getEventTarget();n&&b(n,d.click,e),g(s,e)},x=(s,e)=>{const o=parseInt(e);o>0&&p!==o&&(m(o),p=o,t.requestRender(),setTimeout((()=>{var e,o;const a=p;null===(o=(e=i.get("on")).onChangePageSize)||void 0===o||o.call(e,s,a);const n=t.getEventTarget();n&&b(n,d.changePageSize,a)})))},A={onChange:x},F=t=>r.get("page-size").render(Object.assign(Object.assign({},t),{on:A})),D={first:{onClick:t=>O(t,1)},last:{onClick:t=>O(t,K(i.get("max"),i.get("pageSize")))},next:{onClick:t=>O(t,i.get("page")+1)},previous:{onClick:t=>O(t,i.get("page")-1)}},q={applyBoundaryCount:t=>_.apply(t,(t=>i.set("boundaryCount",t))),applyCustomClass:t=>y.apply(t,(t=>i.set("customClass",t))),applyHasButtons:t=>M.apply(t,(t=>i.set("hasButtons",Object.assign(Object.assign({},i.get("hasButtons")),t)))),applyLabel:t=>k(t,!1),applyMax:t=>{null!=t&&E.apply(t,(t=>{i.set("max",t),h(i.get("page"),i.get("pageSize"),t)}))},applyOn:t=>w.apply(t,(t=>i.set("on",t))),applyPage:t=>{null!=t&&B.apply(t,(t=>{i.set("page",t),h(t,i.get("pageSize"),i.get("max"))}))},applyPageSize:t=>{m(t),p=t},applyPageSizeOptions:t=>$.apply(t,(t=>{let s;i.set("pageSizeOptions",t),t.length>0&&(s=T(i.get("pageSize"),t),i.set("pageSize",s)),h(i.get("page"),s,i.get("max"))})),applySiblingCount:t=>I.apply(t,(t=>i.set("siblingCount",t))),applyTooltipAlign:t=>C.apply(null!=t?t:"top",(t=>i.set("tooltipAlign",t))),load:t=>{u=Object.assign({},t),q.applyBoundaryCount(t.boundaryCount),q.applyCustomClass(t.customClass),q.applyHasButtons(t.hasButtons),k(t.label,!0),q.applyOn(t.on),q.applyPage(t.page),q.applyPageSize(t.pageSize),q.applyPageSizeOptions(t.pageSizeOptions),q.applySiblingCount(t.siblingCount),q.applyTooltipAlign(t.tooltipAlign),q.applyMax(t.max),q.applyPage(t.page)},update:t=>{for(const s of Z)t[s]!==u[s]&&(u=Object.assign(Object.assign({},u),{[s]:t[s]}),"pageSize"===s&&t.pageSize===p||L[s](t[s]))},getFcProps:()=>(n.beginRender(),r.beginRender(),{boundaryCount:i.get("boundaryCount"),customClass:i.get("customClass"),getButtonFcProps:l,handlePageClick:O,handlePageSizeChange:x,hasButtons:i.get("hasButtons"),label:i.get("label"),max:i.get("max"),navigationCallbacks:D,on:i.get("on"),page:i.get("page"),pageSize:i.get("pageSize"),pageSizeOptions:i.get("pageSizeOptions"),renderPageSizeSelect:F,siblingCount:i.get("siblingCount"),tooltipAlign:i.get("tooltipAlign")}),sync:()=>{n.endRender(),r.endRender()},destroy:()=>{v(i.get("label")),n.destroy(),r.destroy()}},L={boundaryCount:q.applyBoundaryCount,customClass:q.applyCustomClass,hasButtons:q.applyHasButtons,label:q.applyLabel,max:q.applyMax,on:q.applyOn,page:q.applyPage,pageSize:q.applyPageSize,pageSizeOptions:q.applyPageSizeOptions,siblingCount:q.applySiblingCount,tooltipAlign:q.applyTooltipAlign};return q};export{X as P,tt as c,H as p}
@@ -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 l}from"@stencil/core/internal/client";import"./common.js";import{B as a}from"./base-web-component.js";import{l as i}from"./label.js";import{B as r}from"./component.js";const n={optional:[i]},d=()=>o(r,{block:"kol-abbr",component:"abbr"},o("slot",null)),s=e(class extends a{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow()}watchLabel(o){i.apply(o,(o=>this.setRenderProp("label",o)))}componentWillLoad(){this.initRenderProps(n),this.watchLabel(this._label)}render(){return o(t,{key:"c4fa934c380393f90388d7de23774a1b90719d59"},o(d,{key:"71b2912baacb97cca19a39febc2cc447aab1627f",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-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; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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((o=>{"kol-abbr"===o&&(customElements.get(l(o))||customElements.define(l(o),s))}))};export{c as KolAbbr,b as defineCustomElement}
4
+ import{h as e,proxyCustomElement as o,Host as t,transformTag as l}from"@stencil/core/internal/client";import"./bem-registry.js";import"./props-from-config.js";import{l as a}from"./label-lang-segment.js";import{B as i}from"./component.js";import{B as r}from"./base-web-component.js";const n={optional:[a]},s=()=>e(i,{block:"kol-abbr",component:"abbr"},e("slot",null)),d=o(class extends r{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=n,this._label=void 0}watchLabel(e){a.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-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(l(e))||customElements.define(l(e),d))}))};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"./common.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 b}from"./toggle-handler.js";import{l as k}from"./level.js";import{d as p}from"./disabled.js";import{l as f}from"./label.js";import{o as m}from"./open.js";import{c as u,a as _}from"./dev.utils.js";import{c as g,d as y,a as w}from"./element-interaction.js";const v=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.accordionId=u("accordion"),this.controlId=_(this.accordionId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=_(this.accordionId,"heading"),this.transitionMs=r,this.ctaRef=g((()=>!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._disabled=!1,this._level=0,this._open=!1}watchDisabled(o){p.apply(o,(o=>this.setRenderProp("disabled",o)))}watchLabel(o){f.apply(o,(o=>this.setRenderProp("label",o)))}watchLevel(o){k.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){d.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){m.apply(o,(o=>{this.setRenderProp("open",o),this.openAnimation.syncOpen(o,this.hasLoaded)}))}async focus(o){}async click(){}componentWillLoad(){var o;this.initRenderProps(h),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:"c216e5739396d9deeb0b2c6da8cd0ba1b4f18ee9"},e(b,{key:"232dfa6de6b0e89400c6ab812450120f93bc486f",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:"88d07c4790eac9b7fe3d91a24cd6486ab4b74cb1"})))}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-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; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#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([y("ctaRef")],v.prototype,"focus",null),n([w("ctaRef")],v.prototype,"click",null);const x=v,z=function(){"undefined"!=typeof customElements&&["kol-accordion"].forEach((o=>{"kol-accordion"===o&&(customElements.get(i(o))||customElements.define(i(o),v))}))};export{x as KolAccordion,z 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 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 y,a as w}from"./element-interaction.js";const v=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-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-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([y("ctaRef")],v.prototype,"focus",null),n([w("ctaRef")],v.prototype,"click",null);const x=v,z=function(){"undefined"!=typeof customElements&&["kol-accordion"].forEach((o=>{"kol-accordion"===o&&(customElements.get(i(o))||customElements.define(i(o),v))}))};export{x as KolAccordion,z 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{t as n}from"./i18n.js";import"./common.js";import{l}from"./level.js";import{c as a,n as r,a as s,b as c,B as h}from"./base-web-component.js";import{h as d}from"./has-closer.js";import{l as k}from"./label.js";import{A as f}from"./component2.js";import{T as b}from"./behavior.js";import{c as p,n as m}from"./dev.utils.js";import{c as u}from"./element-interaction.js";import{d as _,K as g}from"./events.js";const y=["default","info","success","warning","error"],v=["card","msg"],w=a("alert",!1,r),x=s(),T=a("type","default",(o=>{const e=c(o);if(y.includes(e))return e;throw Error("Invalid alert type: "+e)}),(()=>!0)),z=a("variant","msg",(o=>{const e=c(o);if(v.includes(e))return e;throw Error("Invalid alert variant: "+e)}),(()=>!0)),C={optional:[x,w,T,z,d,k,l]},j=o(class extends h{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.headingId=p("alert-heading"),this.closerAriaDescriptionId=m(),this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new b(this.stateAccess),this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=o=>{var e,t;o.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(e=this.getRenderProp("on")).onClose)||void 0===t||t.call(e,new Event("Close")),this.host&&_(this.host,g.close)}}watchAlert(o){w.apply(o,(o=>{this.setRenderProp("alert",o),this.syncAlertEffects(o)}))}watchHasCloser(o){d.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){k.apply(o,(o=>this.setRenderProp("label",o)))}watchLevel(o){l.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){x.apply(o,(o=>this.setRenderProp("on",o)))}watchType(o){T.apply(o,(o=>this.setRenderProp("type",o)))}watchVariant(o){z.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.initRenderProps(C),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,align:"left"})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(o){if(clearTimeout(this.alertTimeout),o){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return e(t,{key:"3d2188127eb849af806a8100b21da1f666bb9f05"},e(f,{key:"2405eda1f296b1e825b4a7831c854b1560ea8f92",alert:this.getRenderProp("alert"),handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},e("slot",{key:"bbb166f4ad48b47e000ce45954a74da287111c21"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),B=j,I=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((o=>{"kol-alert"===o&&(customElements.get(i(o))||customElements.define(i(o),j))}))};export{B as KolAlert,I as defineCustomElement}
4
+ import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{t as n}from"./i18n.js";import"./bem-registry.js";import{l}from"./level.js";import{c as a,n as r,a as s,b as c}from"./props-from-config.js";import{h}from"./has-closer.js";import{l as d}from"./label-lang-segment.js";import{A as k}from"./component2.js";import{B as f}from"./base-web-component.js";import{T as b}from"./behavior.js";import{c as m,n as p}from"./dev.utils.js";import{c as u}from"./element-interaction.js";import{d as g,K as _}from"./events.js";const y=["default","info","success","warning","error"],v=["card","msg"],w=a("alert",!1,r),x=s(),T=a("type","default",(o=>{const e=c(o);if(y.includes(e))return e;throw Error("Invalid alert type: "+e)}),(()=>!0)),z=a("variant","msg",(o=>{const e=c(o);if(v.includes(e))return e;throw Error("Invalid alert variant: "+e)}),(()=>!0)),C={optional:[x,w,T,z,h,d,l]},j=o(class extends f{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.headingId=m("alert-heading"),this.closerAriaDescriptionId=p(),this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new b(this.stateAccess),this.propsConfig=C,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=o=>{var e,t;o.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(e=this.getRenderProp("on")).onClose)||void 0===t||t.call(e,new Event("Close")),this.host&&g(this.host,_.close)}}watchAlert(o){w.apply(o,(o=>{this.setRenderProp("alert",o),this.syncAlertEffects(o)}))}watchHasCloser(o){h.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){d.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){l.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){x.apply(o,(o=>this.setRenderProp("on",o)))}watchType(o){T.apply(o,(o=>this.setRenderProp("type",o)))}watchVariant(o){z.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(o){if(clearTimeout(this.alertTimeout),o){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return e(t,{key:"34a64885726f2b3ab4039f262b36835f6b297597"},e(k,{key:"5ac9dbf8db7ceb1d8dd1f4f606e9a6ecddf327aa",alert:this.getRenderProp("alert"),handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},e("slot",{key:"47cbfce06cffc52c82376f642245e97d6742e18e"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),B=j,I=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((o=>{"kol-alert"===o&&(customElements.get(i(o))||customElements.define(i(o),j))}))};export{B as KolAlert,I as defineCustomElement}
@@ -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"./common.js";import{c as l}from"./color.js";import{B as i}from"./base-web-component.js";import{l as r}from"./label.js";import{s as n}from"./src.js";import{t as s}from"./i18n.js";import{b as c}from"./bem-registry.js";const d={optional:[l,n],required:[r]},b="kol-avatar",h=c(b,"image"),k=c(b,"initials"),u=e=>{const{color:t,initials:a,label:l,src:i}=e;return o("div",{"aria-label":s("kol-avatar-alt",{placeholders:{name:l}}),class:"kol-avatar",role:"img",style:{backgroundColor:t.backgroundColor,color:t.foregroundColor}},i?o("img",{alt:"","aria-hidden":"true",class:h,src:i}):o("span",{"aria-hidden":"true",class:k},a))},p=o=>0===o.length?"":o[0].toUpperCase(),m=o=>{const e=o.trim().split(/\s+/),t=e[0],a=e[e.length-1];return e.length>=2&&t&&a?`${p(t)}${p(a)}`:p(o)},f=e(class extends i{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.initials=""}watchColor(o){l.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){r.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",m(o))}))}watchSrc(o){n.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){this.initRenderProps(d),l.apply(this._color,(o=>this.setRenderProp("color",o))),r.apply(this._label,(o=>{this.setRenderProp("label",o),this.setState("initials",m(o))})),n.apply(this._src,(o=>this.setRenderProp("src",o)))}render(){return o(t,{key:"7d443635e4e32a6078af309ad5967ad92add6ef1"},o(u,{key:"b807b50440f1efec222907fabdae9b9711b67e7a",color:this.getRenderProp("color"),label:this.getRenderProp("label"),src:this.getRenderProp("src"),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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}]}]),_=f,g=function(){"undefined"!=typeof customElements&&["kol-avatar"].forEach((o=>{"kol-avatar"===o&&(customElements.get(a(o))||customElements.define(a(o),f))}))};export{_ as KolAvatar,g as defineCustomElement}
4
+ import{h as o,proxyCustomElement as t,Host as e,transformTag as a}from"@stencil/core/internal/client";import{b as i}from"./bem-registry.js";import{c as l}from"./color.js";import{r,t as n}from"./props-from-config.js";import{l as s}from"./label.js";import{s as c}from"./src.js";import{t as d}from"./i18n.js";import{B as b}from"./base-web-component.js";const h={optional:[l,c],required:[s]},k=i.forBlock("kol-avatar"),u=k(),m=k("image"),p=k("initials"),f=t=>{const{color:e,initials:a,label:i,src:l}=r(h,t);return o("div",{"aria-label":d("kol-avatar-alt",{placeholders:{name:n(i)}}),class:u,role:"img",style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},l?o("img",{alt:"","aria-hidden":"true",class:m,src:l}):o("span",{"aria-hidden":"true",class:p},a))},_=o=>0===o.length?"":o[0].toUpperCase(),g=o=>{const t=n(o),e=t.split(/\s+/),a=e[0],i=e[e.length-1];return e.length>=2&&a&&i?`${_(a)}${_(i)}`:_(t)},y=t(class extends b{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.initials="",this.propsConfig=h,this._color=void 0,this._src=void 0}watchColor(o){l.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){s.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label"))}watchSrc(o){c.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){l.apply(this._color,(o=>this.setRenderProp("color",o))),s.apply(this._label,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label")),c.apply(this._src,(o=>this.setRenderProp("src",o)))}render(){return o(e,{key:"e3616a4b07d13b3582a77d5bc8d64c9a6031e39b"},o(f,{key:"0f8a9d71c76d321e697119712e19effe2e9f35c4",color:this.getRenderProp("color"),label:this.getRenderProp("label"),src:this.getRenderProp("src"),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }'}}},[545,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),x=y,v=function(){"undefined"!=typeof customElements&&["kol-avatar"].forEach((o=>{"kol-avatar"===o&&(customElements.get(a(o))||customElements.define(a(o),y))}))};export{x as KolAvatar,v as defineCustomElement}
@@ -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"./common.js";import{c as s}from"./color.js";import{B as c}from"./base-web-component.js";import{l as d}from"./label-with-expert-slot.js";import{s as h}from"./smart-button.js";import{s as b}from"./variant.js";import{B as k}from"./component3.js";import{r as f}from"./resolve-props.js";import{T as m}from"./behavior.js";import{c as u,n as p}from"./dev.utils.js";import{c as g,d as _}from"./element-interaction.js";import{d as y,K as v}from"./events.js";const w={required:[d],optional:[s,h,b]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=o(class extends c{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=u("badge-label"),this.ariaDescriptionId=p(),this.ctaRef=g(),this.tooltipBehavior=new m(this.stateAccess),this._color="#000",this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const e=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof e&&(a(o,this.ctaRef.el),e(o,void 0)),this.host&&y(this.host,v.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&y(this.host,v.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&y(this.host,v.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&y(this.host,v.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){b.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){d.apply(o,(o=>this.setRenderProp("label",o)))}watchSmartButton(o){this.applySmartButton(o)}async focus(o){}componentWillLoad(){this.initRenderProps(w),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&&h.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=f(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),i=this.smartButtonProps;return t(e,{key:"a79b594aa1f4f3c33628f2da388df5537c3ee295"},t(k,{key:"66b9bf00a6c0c375cbea2949d7ac629b13e1792f",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==i?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:i}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);n([_("ctaRef")],x.prototype,"focus",null);const B=x,z=function(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(i(o))||customElements.define(i(o),x))}))};export{B as KolBadge,z as defineCustomElement}
4
+ import{proxyCustomElement as o,h as t,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{f as l,s as a,o as r}from"./bem-registry.js";import{c as s}from"./color.js";import"./props-from-config.js";import{l as c}from"./label-with-expert-slot.js";import{s as d}from"./smart-button.js";import{s as h}from"./component3.js";import{B as b}from"./component4.js";import{B as k}from"./base-web-component.js";import{r as f}from"./resolve-props.js";import{T as m}from"./behavior.js";import{c as u,n as p}from"./dev.utils.js";import{c as g,d as _}from"./element-interaction.js";import{d as y,K as v}from"./events.js";const w={required:[c],optional:[s,d,h]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=o(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=u("badge-label"),this.ariaDescriptionId=p(),this.ctaRef=g(),this.tooltipBehavior=new m(this.stateAccess),this.propsConfig=w,this._color="#000",this._icons=void 0,this._smartButton=void 0,this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const e=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof e&&(a(o,this.ctaRef.el),e(o,void 0)),this.host&&y(this.host,v.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&y(this.host,v.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&y(this.host,v.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&y(this.host,v.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){h.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){c.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchSmartButton(o){this.applySmartButton(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(o){r(o,(()=>{this.unsetRenderProp("smartButton"),this.smartButtonProps=void 0,null!=o&&d.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=f(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),i=this.smartButtonProps;return t(e,{key:"92a82608b8424d8b91480b7dd132afc12fec8717"},t(b,{key:"3a0ec94ab587dc7b6e49f2530ad61d7fb590b501",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==i?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:i}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);n([_("ctaRef")],x.prototype,"focus",null);const B=x,z=function(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(i(o))||customElements.define(i(o),x))}))};export{B as KolBadge,z as defineCustomElement}