@public-ui/components 5.0.0-beta.0 → 5.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1472) 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 +349 -137
  8. package/dist/cjs/{Heading-gKYGJ1tV.js → Heading-o_m1bQbh.js} +7 -7
  9. package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BrLP4fF_.js} +2 -0
  10. package/dist/cjs/{api-DyRC0E3C.js → api-SFTkHR9W.js} +75 -50
  11. package/dist/cjs/{app-globals-C-QndvUR.js → app-globals-BVGzsN2O.js} +6 -5
  12. package/dist/cjs/{aria-labelledby-ny809Vdx.js → aria-labelledby-CgJJS0K5.js} +4 -15
  13. package/dist/cjs/ariaCurrentService-aysGX58T.js +30 -0
  14. package/dist/cjs/{base-C9jeVqnN.js → base-4xLnw9ep.js} +37 -38
  15. package/dist/cjs/{base-DjGWfEqB.js → base-DGpJZOXm.js} +104 -104
  16. package/dist/cjs/{base-zeK_arau.js → base-DJhwvwdo.js} +27 -28
  17. package/dist/cjs/{base-Cau7nZZw.js → base-DoujJ-Xz.js} +36 -36
  18. package/dist/cjs/{base-web-component-r0Jr01kf.js → base-web-component-BgX5i_fc.js} +27 -35
  19. package/dist/cjs/base-web-component-DSCg1arP.js +66 -0
  20. package/dist/cjs/{base-web-component-BOQatEb9.js → base-web-component-nGb9E-GX.js} +24 -25
  21. package/dist/cjs/{behavior-Djs9V7Si.js → behavior-CBwUdaXu.js} +18 -19
  22. package/dist/cjs/{behavior-P_MOoqmo.js → behavior-DhfuU2HF.js} +10 -10
  23. package/dist/cjs/{behavior-APmbiQTR.js → behavior-S2U8skNd.js} +34 -44
  24. package/dist/cjs/{bem-registry-Q82FjrSD.js → bem-registry-CMf1T2kb.js} +100 -15
  25. package/dist/cjs/bootstrap-C4GRmpTI.js +59 -0
  26. package/dist/cjs/{color-CbCW4wyr.js → color-BWamMCyw.js} +15 -5
  27. package/dist/cjs/{component-w4DHKGRj.js → component-BGIFlgKu.js} +11 -12
  28. package/dist/cjs/component-BM6eWMuC.js +177 -0
  29. package/dist/cjs/component-CKc_-O64.js +91 -0
  30. package/dist/cjs/{component-DTToXqth.js → component-CweSM_ze.js} +6 -5
  31. package/dist/cjs/{component-hiip9BeX.js → component-DPCpVWBj.js} +13 -12
  32. package/dist/cjs/component-DSlW2KVw.js +48 -0
  33. package/dist/cjs/component-DTC3WbHR.js +52 -0
  34. package/dist/cjs/component-DUvRV4FE.js +99 -0
  35. package/dist/cjs/component-SeQac11p.js +19 -0
  36. package/dist/cjs/component-names-CyEXMjv9.js +121 -0
  37. package/dist/cjs/component-t6Upgw7f.js +140 -0
  38. package/dist/cjs/{contrast-BTU5ne8E.js → contrast-CXinV5ii.js} +8 -8
  39. package/dist/cjs/{controller-ncy0x4Nz.js → controller-D4usgPg-.js} +29 -29
  40. package/dist/cjs/{dev.utils-r-OFnYmI.js → dev.utils-glOxiW4E.js} +9 -10
  41. package/dist/cjs/{devtools-BjCHvsaO.js → devtools-VDx5moKY.js} +24 -25
  42. package/dist/cjs/disabled-CZJO6fbW.js +11 -0
  43. package/dist/cjs/{element-focus-D5g3xQN4.js → element-focus-IBv4yiNw.js} +25 -0
  44. package/dist/cjs/{element-interaction-7FI_z19L.js → element-interaction-CvCJFwUh.js} +2 -1
  45. package/dist/cjs/{events-BJC5JJcU.js → events-fafEzzml.js} +2 -0
  46. package/dist/cjs/{field-control-B2MocM-9.js → field-control-xEw1WZFL.js} +12 -13
  47. package/dist/cjs/{group-DUgI6ORW.js → group-CMns8Vns.js} +9 -10
  48. package/dist/cjs/has-closer-Cs7BCj4r.js +11 -0
  49. package/dist/cjs/href-C93ktLo4.js +11 -0
  50. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DXYL9rIn.js} +11 -6
  51. package/dist/cjs/{i18n-BPfGxCna.js → i18n-YdI7_XKo.js} +3 -3
  52. package/dist/cjs/id-CtES_I0D.js +11 -0
  53. package/dist/cjs/{index-1NUYc4bH.js → index-B65pR1Ir.js} +1807 -65
  54. package/dist/cjs/index.cjs.js +20 -14
  55. package/dist/cjs/input-Bi8Zo8Bv.js +18 -0
  56. package/dist/cjs/{input-container-Ce6tEgzv.js → input-container-BErSDYvG.js} +18 -21
  57. package/dist/cjs/{item-CU9y10V3.js → item-BHQRF4Sp.js} +9 -9
  58. package/dist/cjs/{item-BDJC0QKy.js → item-BLhkAIub.js} +9 -9
  59. package/dist/cjs/{item-CdalyKjL.js → item-BVHbqXo2.js} +70 -58
  60. package/dist/cjs/{item-do7gGebG.js → item-N9AmF46D.js} +43 -42
  61. package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-ecjkEvCG.js} +2 -0
  62. package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-DHPlsLs0.js} +2 -0
  63. package/dist/cjs/kol-abbr.cjs.entry.js +16 -18
  64. package/dist/cjs/kol-accordion.cjs.entry.js +32 -28
  65. package/dist/cjs/kol-alert.cjs.entry.js +46 -42
  66. package/dist/cjs/kol-avatar.cjs.entry.js +31 -25
  67. package/dist/cjs/kol-badge.cjs.entry.js +43 -43
  68. package/dist/cjs/kol-breadcrumb.cjs.entry.js +59 -60
  69. package/dist/cjs/kol-button-link.cjs.entry.js +55 -42
  70. package/dist/cjs/kol-button.cjs.entry.js +56 -42
  71. package/dist/cjs/kol-card.cjs.entry.js +50 -54
  72. package/dist/cjs/kol-combobox.cjs.entry.js +83 -72
  73. package/dist/cjs/kol-details.cjs.entry.js +32 -28
  74. package/dist/cjs/kol-dialog.cjs.entry.js +45 -42
  75. package/dist/cjs/kol-drawer.cjs.entry.js +51 -55
  76. package/dist/cjs/kol-form.cjs.entry.js +43 -42
  77. package/dist/cjs/kol-heading.cjs.entry.js +24 -20
  78. package/dist/cjs/kol-icon.cjs.entry.js +21 -17
  79. package/dist/cjs/kol-image.cjs.entry.js +24 -19
  80. package/dist/cjs/kol-input-checkbox.cjs.entry.js +89 -77
  81. package/dist/cjs/kol-input-color.cjs.entry.js +79 -70
  82. package/dist/cjs/kol-input-date.cjs.entry.js +106 -76
  83. package/dist/cjs/kol-input-email.cjs.entry.js +79 -61
  84. package/dist/cjs/kol-input-file.cjs.entry.js +79 -64
  85. package/dist/cjs/kol-input-number.cjs.entry.js +89 -70
  86. package/dist/cjs/kol-input-password.cjs.entry.js +86 -66
  87. package/dist/cjs/kol-input-radio.cjs.entry.js +63 -59
  88. package/dist/cjs/kol-input-range.cjs.entry.js +77 -62
  89. package/dist/cjs/kol-input-text.cjs.entry.js +97 -72
  90. package/dist/cjs/kol-kolibri.cjs.entry.js +19 -21
  91. package/dist/cjs/kol-link-button.cjs.entry.js +53 -39
  92. package/dist/cjs/kol-link.cjs.entry.js +49 -37
  93. package/dist/cjs/kol-meter.cjs.entry.js +44 -34
  94. package/dist/cjs/kol-modal.cjs.entry.js +44 -42
  95. package/dist/cjs/kol-nav.cjs.entry.js +70 -70
  96. package/dist/cjs/kol-pagination.cjs.entry.js +57 -58
  97. package/dist/cjs/kol-popover-button.cjs.entry.js +57 -45
  98. package/dist/cjs/kol-progress.cjs.entry.js +38 -28
  99. package/dist/cjs/kol-quote.cjs.entry.js +24 -24
  100. package/dist/cjs/kol-select.cjs.entry.js +66 -54
  101. package/dist/cjs/kol-single-select.cjs.entry.js +86 -72
  102. package/dist/cjs/kol-skip-nav.cjs.entry.js +57 -57
  103. package/dist/cjs/kol-spin.cjs.entry.js +26 -39
  104. package/dist/cjs/kol-split-button.cjs.entry.js +63 -49
  105. package/dist/cjs/kol-table-stateful.cjs.entry.js +95 -85
  106. package/dist/cjs/kol-table-stateless.cjs.entry.js +62 -64
  107. package/dist/cjs/kol-tabs.cjs.entry.js +68 -68
  108. package/dist/cjs/kol-textarea.cjs.entry.js +89 -71
  109. package/dist/cjs/kol-toast-container.cjs.entry.js +29 -27
  110. package/dist/cjs/kol-toolbar.cjs.entry.js +62 -60
  111. package/dist/cjs/kol-tree-item.cjs.entry.js +56 -50
  112. package/dist/cjs/kol-tree.cjs.entry.js +38 -26
  113. package/dist/cjs/kol-version.cjs.entry.js +28 -26
  114. package/dist/cjs/kolibri.cjs.js +6 -5
  115. package/dist/cjs/label-0j3-2J3C.js +15 -0
  116. package/dist/cjs/label-hints-DEiM49uy.js +22 -0
  117. package/dist/cjs/label-lang-segment-BBCLeyBy.js +14 -0
  118. package/dist/cjs/label-with-expert-slot-D0wokf7-.js +15 -0
  119. package/dist/cjs/level-xVivGv7t.js +12 -0
  120. package/dist/cjs/link-target-D9qpCovV.js +11 -0
  121. package/dist/cjs/links-DlW9up_d.js +15 -0
  122. package/dist/cjs/loader.cjs.js +5 -4
  123. package/dist/cjs/multiple-DO-asa_4.js +11 -0
  124. package/dist/cjs/{number-value-aLzn0dDO.js → number-value-BUKMKQvN.js} +6 -5
  125. package/dist/cjs/open-BVqlpoxd.js +11 -0
  126. package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-DuXVixiW.js} +2 -0
  127. package/dist/cjs/{options-z7FKffHh.js → options-Dg3zz7Wo.js} +2 -0
  128. package/dist/cjs/{options-BRwmqi8M.js → options-vneqbPL0.js} +4 -4
  129. package/dist/cjs/{orientation-BcqEqZ3D.js → orientation-DL6G4K4r.js} +4 -3
  130. package/dist/cjs/placeholder-C-ecB96f.js +11 -0
  131. package/dist/cjs/{base-web-component-DPBaBA5x.js → props-from-config-Bm6Pf2tK.js} +355 -85
  132. package/dist/cjs/read-only-D__auxXg.js +11 -0
  133. package/dist/cjs/required-DqW-WueJ.js +11 -0
  134. package/dist/cjs/resolve-props-CjhxUwj-.js +60 -0
  135. package/dist/cjs/resolve-props-DKYD6i56.js +57 -0
  136. package/dist/cjs/rows-Z8UDqY9u.js +11 -0
  137. package/dist/cjs/{scroll-lock-Bs5vb-ss.js → scroll-lock-DgqKifg3.js} +8 -7
  138. package/dist/cjs/shared-state-C2e8sL5f.js +16 -0
  139. package/dist/cjs/smart-button-C_S63qaB.js +18 -0
  140. package/dist/cjs/spell-check-CT0WE9tq.js +11 -0
  141. package/dist/cjs/src-Bwu1rJi2.js +11 -0
  142. package/dist/cjs/step-W8T4AA1l.js +11 -0
  143. package/dist/cjs/suggestions-C-tM7INY.js +24 -0
  144. package/dist/cjs/{suggestions-B4X9HMr-.js → suggestions-DvPhi4lP.js} +4 -4
  145. package/dist/cjs/test-component.cjs.entry.js +3 -3
  146. package/dist/cjs/theme-store-CHGfvYB-.js +13 -0
  147. package/dist/cjs/{toggle-handler-AgDdplvI.js → toggle-handler-DHEfrMM0.js} +15 -18
  148. package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-DaQFzT-b.js} +8 -5
  149. package/dist/cjs/unique-nav-labels-CpJcPNBO.js +25 -0
  150. package/dist/cjs/unit-CNVBdvOH.js +14 -0
  151. package/dist/cjs/validators-BM9XrnzJ.js +18 -0
  152. package/dist/cjs/value-string-DXRes-dR.js +11 -0
  153. package/dist/cjs/{width-DF6eLXIz.js → width-BAwXHART.js} +8 -4
  154. package/dist/collection/collection-manifest.json +12 -23
  155. package/dist/collection/components/abbr/component.js +13 -11
  156. package/dist/collection/components/abbr/style.css +21 -3
  157. package/dist/collection/components/accordion/component.js +39 -21
  158. package/dist/collection/components/accordion/style.css +23 -5
  159. package/dist/collection/components/alert/component.js +40 -23
  160. package/dist/collection/components/alert/style.css +23 -5
  161. package/dist/collection/components/avatar/component.js +33 -13
  162. package/dist/collection/components/avatar/style.css +21 -3
  163. package/dist/collection/components/badge/component.js +20 -13
  164. package/dist/collection/components/badge/style.css +23 -5
  165. package/dist/collection/components/breadcrumb/component.js +8 -7
  166. package/dist/collection/components/breadcrumb/style.css +23 -5
  167. package/dist/collection/components/button/base.js +4 -4
  168. package/dist/collection/components/button/component.js +110 -38
  169. package/dist/collection/components/button/style.css +23 -5
  170. package/dist/collection/components/button-link/component.js +101 -47
  171. package/dist/collection/components/button-link/style.css +23 -5
  172. package/dist/collection/components/card/base.js +5 -5
  173. package/dist/collection/components/card/component.js +35 -20
  174. package/dist/collection/components/card/style.css +26 -5
  175. package/dist/collection/components/combobox/component.js +152 -66
  176. package/dist/collection/components/combobox/style.css +24 -7
  177. package/dist/collection/components/details/component.js +39 -21
  178. package/dist/collection/components/details/style.css +23 -5
  179. package/dist/collection/components/dialog/base.js +15 -15
  180. package/dist/collection/components/dialog/component.js +25 -13
  181. package/dist/collection/components/dialog/style.css +26 -5
  182. package/dist/collection/components/drawer/component.js +34 -29
  183. package/dist/collection/components/drawer/style.css +26 -5
  184. package/dist/collection/components/form/component.js +11 -6
  185. package/dist/collection/components/form/controller.js +17 -16
  186. package/dist/collection/components/form/style.css +23 -5
  187. package/dist/collection/components/heading/component.js +19 -10
  188. package/dist/collection/components/heading/style.css +21 -3
  189. package/dist/collection/components/icon/component.js +15 -8
  190. package/dist/collection/components/icon/style.css +2 -2
  191. package/dist/collection/components/image/component.js +51 -15
  192. package/dist/collection/components/image/style.css +21 -3
  193. package/dist/collection/components/input-checkbox/component.js +145 -76
  194. package/dist/collection/components/input-checkbox/style.css +25 -8
  195. package/dist/collection/components/input-color/component.js +127 -63
  196. package/dist/collection/components/input-color/style.css +24 -7
  197. package/dist/collection/components/input-date/component.js +153 -74
  198. package/dist/collection/components/input-date/style.css +24 -7
  199. package/dist/collection/components/input-email/component.js +200 -83
  200. package/dist/collection/components/input-email/style.css +24 -7
  201. package/dist/collection/components/input-file/component.js +146 -68
  202. package/dist/collection/components/input-file/style.css +24 -7
  203. package/dist/collection/components/input-number/component.js +160 -74
  204. package/dist/collection/components/input-number/style.css +24 -7
  205. package/dist/collection/components/input-password/component.js +193 -79
  206. package/dist/collection/components/input-password/style.css +24 -7
  207. package/dist/collection/components/input-radio/component.js +92 -50
  208. package/dist/collection/components/input-radio/style.css +25 -8
  209. package/dist/collection/components/input-range/component.js +114 -52
  210. package/dist/collection/components/input-range/style.css +24 -7
  211. package/dist/collection/components/input-text/component.js +194 -81
  212. package/dist/collection/components/input-text/style.css +24 -7
  213. package/dist/collection/components/kolibri/component.js +12 -5
  214. package/dist/collection/components/kolibri/style.css +21 -3
  215. package/dist/collection/components/link/ariaCurrentService.js +9 -9
  216. package/dist/collection/components/link/base.js +4 -4
  217. package/dist/collection/components/link/component.js +89 -42
  218. package/dist/collection/components/link/style.css +23 -5
  219. package/dist/collection/components/link-button/component.js +81 -36
  220. package/dist/collection/components/link-button/style.css +23 -5
  221. package/dist/collection/components/meter/component.js +88 -26
  222. package/dist/collection/components/meter/style.css +21 -3
  223. package/dist/collection/components/modal/component.js +24 -13
  224. package/dist/collection/components/modal/style.css +26 -5
  225. package/dist/collection/components/nav/component.js +43 -21
  226. package/dist/collection/components/nav/style.css +23 -5
  227. package/dist/collection/components/pagination/component.js +40 -17
  228. package/dist/collection/components/pagination/style.css +24 -7
  229. package/dist/collection/components/popover-button/base.js +2 -2
  230. package/dist/collection/components/popover-button/component.js +82 -30
  231. package/dist/collection/components/popover-button/style.css +23 -5
  232. package/dist/collection/components/progress/component.js +56 -19
  233. package/dist/collection/components/progress/style.css +21 -3
  234. package/dist/collection/components/{_skeleton/public-api → public-api}/contract.js +8 -8
  235. package/dist/collection/components/quote/component.js +40 -17
  236. package/dist/collection/components/quote/style.css +21 -3
  237. package/dist/collection/components/select/component.js +138 -64
  238. package/dist/collection/components/select/style.css +24 -7
  239. package/dist/collection/components/single-select/component.js +145 -64
  240. package/dist/collection/components/single-select/style.css +24 -7
  241. package/dist/collection/components/skip-nav/component.js +9 -6
  242. package/dist/collection/components/skip-nav/style.css +23 -5
  243. package/dist/collection/components/spin/component.js +32 -12
  244. package/dist/collection/components/spin/style.css +21 -3
  245. package/dist/collection/components/split-button/component.js +108 -37
  246. package/dist/collection/components/split-button/style.css +23 -5
  247. package/dist/collection/components/table-stateful/component.js +86 -63
  248. package/dist/collection/components/table-stateful/style.css +27 -7
  249. package/dist/collection/components/table-stateless/base.js +16 -8
  250. package/dist/collection/components/table-stateless/component.js +52 -60
  251. package/dist/collection/components/table-stateless/style.css +26 -5
  252. package/dist/collection/components/tabs/component.js +34 -27
  253. package/dist/collection/components/tabs/style.css +23 -5
  254. package/dist/collection/components/textarea/component.js +187 -77
  255. package/dist/collection/components/textarea/style.css +24 -7
  256. package/dist/collection/components/toaster/shadow.js +6 -6
  257. package/dist/collection/components/toaster/style.css +23 -5
  258. package/dist/collection/components/toaster/toaster.js +2 -1
  259. package/dist/collection/components/toolbar/component.js +29 -16
  260. package/dist/collection/components/toolbar/style.css +23 -5
  261. package/dist/collection/components/tree/component.js +25 -14
  262. package/dist/collection/components/tree/style.css +21 -3
  263. package/dist/collection/components/tree-item/component.js +34 -22
  264. package/dist/collection/components/tree-item/style.css +23 -5
  265. package/dist/collection/components/version/component.js +5 -5
  266. package/dist/collection/components/version/style.css +23 -5
  267. package/dist/collection/core/bootstrap.js +8 -5
  268. package/dist/collection/core/component-names.js +52 -108
  269. package/dist/collection/core/i18n.js +8 -7
  270. package/dist/collection/core/shared-state.js +10 -0
  271. package/dist/collection/core/tag-transformer.js +27 -0
  272. package/dist/collection/core/theme-store.js +8 -0
  273. package/dist/collection/e2e/aria-details.js +9 -0
  274. package/dist/collection/e2e/input-character-limit.js +18 -18
  275. package/dist/collection/functional-components/index.js +0 -1
  276. package/dist/collection/global/script.js +2 -0
  277. package/dist/collection/index.js +2 -0
  278. package/dist/collection/internal/functional-components/abbr/api.js +2 -2
  279. package/dist/collection/internal/functional-components/alert/api.js +2 -2
  280. package/dist/collection/internal/functional-components/alert/component.js +6 -3
  281. package/dist/collection/internal/functional-components/avatar/component.js +9 -5
  282. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  283. package/dist/collection/internal/functional-components/base-web-component.js +20 -8
  284. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  285. package/dist/collection/internal/functional-components/breadcrumb/api.js +2 -2
  286. package/dist/collection/internal/functional-components/breadcrumb/component.js +5 -3
  287. package/dist/collection/internal/functional-components/breadcrumb/link-item.js +1 -1
  288. package/dist/collection/internal/functional-components/button/component.js +6 -4
  289. package/dist/collection/internal/functional-components/card/api.js +3 -3
  290. package/dist/collection/internal/functional-components/card/close-button.js +1 -1
  291. package/dist/collection/internal/functional-components/card/component.js +8 -3
  292. package/dist/collection/internal/functional-components/collapsible/api.js +2 -2
  293. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  294. package/dist/collection/internal/functional-components/dialog/api.js +2 -2
  295. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  296. package/dist/collection/internal/functional-components/dialog/item.js +6 -12
  297. package/dist/collection/internal/functional-components/drawer/api.js +2 -2
  298. package/dist/collection/internal/functional-components/drawer/component.js +4 -2
  299. package/dist/collection/internal/functional-components/form-association/api.js +2 -2
  300. package/dist/collection/internal/functional-components/form-association/behavior.js +19 -26
  301. package/dist/collection/internal/functional-components/form-field/base-web-component.js +32 -5
  302. package/dist/collection/internal/functional-components/form-field/component.js +1 -1
  303. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  304. package/dist/collection/internal/functional-components/form-field/date-value.js +12 -1
  305. package/dist/collection/internal/functional-components/form-field/default-input-props.js +3 -2
  306. package/dist/collection/internal/functional-components/form-field/select.js +0 -4
  307. package/dist/collection/internal/functional-components/heading/component.js +7 -5
  308. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  309. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  310. package/dist/collection/internal/functional-components/image/component.js +2 -1
  311. package/dist/collection/internal/functional-components/kolibri/component.js +4 -1
  312. package/dist/collection/internal/functional-components/link/component.js +6 -4
  313. package/dist/collection/internal/functional-components/meter/api.js +2 -2
  314. package/dist/collection/internal/functional-components/meter/component.js +17 -12
  315. package/dist/collection/internal/functional-components/nav/api.js +2 -2
  316. package/dist/collection/internal/functional-components/nav/component.js +14 -9
  317. package/dist/collection/internal/functional-components/pagination/api.js +3 -12
  318. package/dist/collection/internal/functional-components/pagination/component.js +7 -4
  319. package/dist/collection/internal/functional-components/pagination/item.js +27 -12
  320. package/dist/collection/internal/functional-components/pagination/page-size-select.js +9 -1
  321. package/dist/collection/internal/functional-components/popover/component.js +3 -1
  322. package/dist/collection/internal/functional-components/progress/api.js +2 -2
  323. package/dist/collection/internal/functional-components/progress/component.js +11 -7
  324. package/dist/collection/internal/functional-components/props-from-config.js +3 -0
  325. package/dist/collection/internal/functional-components/quote/api.js +2 -2
  326. package/dist/collection/internal/functional-components/quote/component.js +5 -4
  327. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  328. package/dist/collection/internal/functional-components/skip-nav/api.js +2 -2
  329. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  330. package/dist/collection/internal/functional-components/skip-nav/link-item.js +1 -1
  331. package/dist/collection/internal/functional-components/span/api.js +2 -4
  332. package/dist/collection/internal/functional-components/span/component.js +21 -8
  333. package/dist/collection/internal/functional-components/spin/component.js +3 -1
  334. package/dist/collection/internal/functional-components/table-stateful/api.js +2 -2
  335. package/dist/collection/internal/functional-components/table-stateless/api.js +3 -3
  336. package/dist/collection/internal/functional-components/table-stateless/component.js +24 -10
  337. package/dist/collection/internal/functional-components/table-stateless/settings.js +13 -10
  338. package/dist/collection/internal/functional-components/table-stateless/table-model.js +5 -9
  339. package/dist/collection/internal/functional-components/tabs/api.js +2 -2
  340. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  341. package/dist/collection/internal/functional-components/toolbar/api.js +2 -2
  342. package/dist/collection/internal/functional-components/tooltip/api.js +2 -2
  343. package/dist/collection/internal/functional-components/tooltip/behavior.js +3 -2
  344. package/dist/collection/internal/functional-components/tooltip/component.js +3 -1
  345. package/dist/collection/internal/functional-components/tree/api.js +2 -2
  346. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  347. package/dist/collection/internal/functional-components/tree-item/api.js +2 -2
  348. package/dist/collection/internal/functional-components/tree-item/component.js +3 -2
  349. package/dist/collection/internal/props/color.js +10 -0
  350. package/dist/collection/internal/props/dialog-callbacks.js +4 -1
  351. package/dist/collection/internal/props/helpers/factory.js +11 -3
  352. package/dist/collection/internal/props/helpers/normalizers.js +13 -1
  353. package/dist/collection/internal/props/helpers/validators.js +5 -0
  354. package/dist/collection/internal/props/hints/label-hints.js +10 -8
  355. package/dist/collection/internal/props/href.js +1 -2
  356. package/dist/collection/internal/props/index.js +2 -1
  357. package/dist/collection/internal/props/label-decorative.js +10 -0
  358. package/dist/collection/internal/props/label-lang-segment.js +10 -0
  359. package/dist/collection/internal/props/label-with-expert-slot.js +6 -2
  360. package/dist/collection/internal/props/label.js +2 -1
  361. package/dist/collection/internal/props/max-length.js +1 -1
  362. package/dist/collection/internal/props/rows.js +1 -1
  363. package/dist/collection/internal/props/tabs.js +1 -1
  364. package/dist/collection/locales/de.js +1 -0
  365. package/dist/collection/locales/en.js +1 -0
  366. package/dist/collection/schema/bem-registry.js +98 -13
  367. package/dist/collection/schema/i18n-keys.js +29 -28
  368. package/dist/collection/schema/props/aria-details.js +1 -22
  369. package/dist/collection/schema/props/aria-labelledby.js +3 -12
  370. package/dist/collection/schema/props/index.js +20 -3
  371. package/dist/collection/schema/props/label.js +54 -5
  372. package/dist/collection/schema/props/page-size.js +1 -0
  373. package/dist/collection/schema/props/page.js +1 -0
  374. package/dist/collection/schema/props/quote.js +1 -9
  375. package/dist/collection/schema/props/secondary-headline.js +1 -0
  376. package/dist/collection/schema/props/selected.js +1 -0
  377. package/dist/collection/schema/props/sibling-count.js +1 -0
  378. package/dist/collection/schema/props/sizes.js +1 -0
  379. package/dist/collection/schema/props/src.js +1 -0
  380. package/dist/collection/schema/props/srcset.js +1 -0
  381. package/dist/collection/schema/props/table-headers.js +1 -0
  382. package/dist/collection/schema/props/table-loading.js +1 -0
  383. package/dist/collection/schema/props/value-number-clamped.js +1 -0
  384. package/dist/collection/schema/props/value-string.js +1 -0
  385. package/dist/collection/schema/utils/dev.utils.js +8 -6
  386. package/dist/collection/schema/utils/prop.validators.js +16 -3
  387. package/dist/collection/utils/aria-labelledby.js +2 -14
  388. package/dist/collection/utils/dev.utils.js +0 -1
  389. package/dist/collection/utils/element-focus.js +23 -0
  390. package/dist/collection/utils/element-interaction.js +0 -7
  391. package/dist/collection/utils/element-themed.js +1 -1
  392. package/dist/collection/utils/markdown.js +49 -3
  393. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -0
  394. package/dist/collection/utils/testing/snapshot-testing.js +17 -0
  395. package/dist/collection/utils/tooltip-open-tracking.js +6 -5
  396. package/dist/collection/utils/unique-nav-labels.js +7 -5
  397. package/dist/components/Heading.js +1 -1
  398. package/dist/components/access-and-short-key.js +1 -1
  399. package/dist/components/ariaCurrentService.js +1 -1
  400. package/dist/components/base-web-component.js +1 -1
  401. package/dist/components/base-web-component2.js +1 -1
  402. package/dist/components/base-web-component3.js +1 -1
  403. package/dist/components/base-web-component4.js +1 -1
  404. package/dist/components/base.js +1 -1
  405. package/dist/components/base2.js +1 -1
  406. package/dist/components/base3.js +1 -1
  407. package/dist/components/base4.js +1 -1
  408. package/dist/components/behavior.js +1 -1
  409. package/dist/components/behavior2.js +1 -1
  410. package/dist/components/behavior3.js +1 -1
  411. package/dist/components/behavior4.js +1 -1
  412. package/dist/components/bem-registry.js +1 -1
  413. package/dist/components/bootstrap.js +1 -1
  414. package/dist/components/color.js +1 -1
  415. package/dist/components/common.js +1 -1
  416. package/dist/components/component-names.js +1 -1
  417. package/dist/components/component.js +1 -1
  418. package/dist/components/component10.js +1 -1
  419. package/dist/components/component11.js +1 -1
  420. package/dist/components/component12.js +4 -0
  421. package/dist/components/component13.js +4 -0
  422. package/dist/components/component14.js +4 -0
  423. package/dist/components/component2.js +1 -1
  424. package/dist/components/component3.js +1 -1
  425. package/dist/components/component4.js +1 -1
  426. package/dist/components/component5.js +1 -1
  427. package/dist/components/component6.js +1 -1
  428. package/dist/components/component7.js +1 -1
  429. package/dist/components/component8.js +1 -1
  430. package/dist/components/component9.js +1 -1
  431. package/dist/components/contrast.js +1 -1
  432. package/dist/components/controller.js +1 -1
  433. package/dist/components/dev.utils.js +1 -1
  434. package/dist/components/devtools.js +1 -1
  435. package/dist/components/disabled.js +1 -1
  436. package/dist/components/element-focus.js +1 -1
  437. package/dist/components/element-interaction.js +1 -1
  438. package/dist/components/events.js +1 -1
  439. package/dist/components/field-control.js +1 -1
  440. package/dist/components/group.js +1 -1
  441. package/dist/components/has-closer.js +1 -1
  442. package/dist/components/i18n.js +1 -1
  443. package/dist/components/i18n2.js +1 -1
  444. package/dist/components/id.js +4 -0
  445. package/dist/components/index.js +1 -1
  446. package/dist/components/input-container.js +1 -1
  447. package/dist/components/input.js +1 -1
  448. package/dist/components/item-pool.js +1 -1
  449. package/dist/components/item.js +1 -1
  450. package/dist/components/item2.js +1 -1
  451. package/dist/components/item3.js +1 -1
  452. package/dist/components/item4.js +1 -1
  453. package/dist/components/keyboard.js +1 -1
  454. package/dist/components/kol-abbr.js +1 -1
  455. package/dist/components/kol-accordion.js +1 -1
  456. package/dist/components/kol-alert.js +1 -1
  457. package/dist/components/kol-avatar.js +1 -1
  458. package/dist/components/kol-badge.js +1 -1
  459. package/dist/components/kol-breadcrumb.js +1 -1
  460. package/dist/components/kol-button-link.js +1 -1
  461. package/dist/components/kol-button.js +1 -1
  462. package/dist/components/kol-card.js +1 -1
  463. package/dist/components/kol-combobox.js +1 -1
  464. package/dist/components/kol-details.js +1 -1
  465. package/dist/components/kol-dialog.js +1 -1
  466. package/dist/components/kol-drawer.js +1 -1
  467. package/dist/components/kol-form.js +1 -1
  468. package/dist/components/kol-heading.js +1 -1
  469. package/dist/components/kol-icon.js +1 -1
  470. package/dist/components/kol-image.js +1 -1
  471. package/dist/components/kol-input-checkbox.js +1 -1
  472. package/dist/components/kol-input-color.js +1 -1
  473. package/dist/components/kol-input-date.js +1 -1
  474. package/dist/components/kol-input-email.js +1 -1
  475. package/dist/components/kol-input-file.js +1 -1
  476. package/dist/components/kol-input-number.js +1 -1
  477. package/dist/components/kol-input-password.js +1 -1
  478. package/dist/components/kol-input-radio.js +1 -1
  479. package/dist/components/kol-input-range.js +1 -1
  480. package/dist/components/kol-input-text.js +1 -1
  481. package/dist/components/kol-kolibri.js +1 -1
  482. package/dist/components/kol-link-button.js +1 -1
  483. package/dist/components/kol-link.js +1 -1
  484. package/dist/components/kol-meter.js +1 -1
  485. package/dist/components/kol-modal.js +1 -1
  486. package/dist/components/kol-nav.js +1 -1
  487. package/dist/components/kol-pagination.js +1 -1
  488. package/dist/components/kol-popover-button.js +1 -1
  489. package/dist/components/kol-progress.js +1 -1
  490. package/dist/components/kol-quote.js +1 -1
  491. package/dist/components/kol-select.js +1 -1
  492. package/dist/components/kol-single-select.js +1 -1
  493. package/dist/components/kol-skip-nav.js +1 -1
  494. package/dist/components/kol-spin.js +1 -1
  495. package/dist/components/kol-split-button.js +1 -1
  496. package/dist/components/kol-table-stateful.js +1 -1
  497. package/dist/components/kol-table-stateless.js +1 -1
  498. package/dist/components/kol-tabs.js +1 -1
  499. package/dist/components/kol-textarea.js +1 -1
  500. package/dist/components/kol-toast-container.js +1 -1
  501. package/dist/components/kol-toolbar.js +1 -1
  502. package/dist/components/kol-tree-item.js +1 -1
  503. package/dist/components/kol-tree.js +1 -1
  504. package/dist/components/kol-version.js +1 -1
  505. package/dist/components/label-hints.js +4 -0
  506. package/dist/components/label-lang-segment.js +4 -0
  507. package/dist/components/label-with-expert-slot.js +1 -1
  508. package/dist/components/label.js +1 -1
  509. package/dist/components/level.js +1 -1
  510. package/dist/components/link-target.js +1 -1
  511. package/dist/components/links.js +1 -1
  512. package/dist/components/multiple.js +1 -1
  513. package/dist/components/number-value.js +1 -1
  514. package/dist/components/open-items-cache.js +1 -1
  515. package/dist/components/open.js +1 -1
  516. package/dist/components/options.js +1 -1
  517. package/dist/components/options2.js +1 -1
  518. package/dist/components/orientation.js +1 -1
  519. package/dist/components/placeholder.js +1 -1
  520. package/dist/components/read-only.js +1 -1
  521. package/dist/components/required.js +1 -1
  522. package/dist/components/resolve-props.js +1 -1
  523. package/dist/components/resolve-props2.js +1 -1
  524. package/dist/components/rows.js +1 -1
  525. package/dist/components/scroll-lock.js +1 -1
  526. package/dist/components/shared-state.js +4 -0
  527. package/dist/components/smart-button.js +1 -1
  528. package/dist/components/spell-check.js +1 -1
  529. package/dist/components/src.js +1 -1
  530. package/dist/components/step.js +1 -1
  531. package/dist/components/suggestions.js +1 -1
  532. package/dist/components/suggestions2.js +1 -1
  533. package/dist/components/test-component.js +1 -1
  534. package/dist/components/toggle-handler.js +1 -1
  535. package/dist/components/tooltip-open-tracking.js +1 -1
  536. package/dist/components/unique-nav-labels.js +1 -1
  537. package/dist/components/unit.js +1 -1
  538. package/dist/components/validators.js +4 -0
  539. package/dist/components/value-string.js +1 -1
  540. package/dist/components/width.js +1 -1
  541. package/dist/esm/{Heading-0teSdkFq.js → Heading-Cynkalqu.js} +2 -2
  542. package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-CW0oxi_q.js} +2 -0
  543. package/dist/esm/{api-hAvZrw9X.js → api-B76-Osk1.js} +54 -29
  544. package/dist/esm/{app-globals-Dff_iJYF.js → app-globals-Dtu1AIr1.js} +4 -3
  545. package/dist/esm/{aria-labelledby-BRToXqsQ.js → aria-labelledby-DQov9uSv.js} +5 -15
  546. package/dist/esm/ariaCurrentService-B9TgWLEw.js +27 -0
  547. package/dist/esm/{base-COT79ELt.js → base-BZCFxul4.js} +17 -17
  548. package/dist/esm/{base-Df1bwC8d.js → base-BpgzOuy3.js} +25 -26
  549. package/dist/esm/{base-CsJWjTJl.js → base-CAiOx0qs.js} +82 -82
  550. package/dist/esm/{base-7FEvBJ3L.js → base-DJ3lTPYp.js} +18 -19
  551. package/dist/esm/base-web-component-D16FuHFf.js +64 -0
  552. package/dist/esm/{base-web-component-cTyj95G-.js → base-web-component-E9cH8tf8.js} +16 -17
  553. package/dist/esm/{base-web-component-C1XSz7ML.js → base-web-component-aOhHFXxF.js} +10 -18
  554. package/dist/esm/{behavior-BMW-_4Oy.js → behavior-ByyBa-o8.js} +6 -6
  555. package/dist/esm/{behavior-BlS6DO8T.js → behavior-DJQFXyfi.js} +10 -10
  556. package/dist/esm/{behavior-Zr6qAX7F.js → behavior-DnTJtQBK.js} +29 -38
  557. package/dist/esm/{bem-registry-BlJAUViA.js → bem-registry-CK2s_XZ4.js} +99 -14
  558. package/dist/esm/bootstrap-DUmk0ILT.js +52 -0
  559. package/dist/esm/{color-9CMp_pOq.js → color-CEoIhjJR.js} +13 -3
  560. package/dist/esm/{variant-PJN56KWi.js → component-BPL1Mikq.js} +37 -7
  561. package/dist/esm/{component-BmJGOcby.js → component-C0ijstyp.js} +12 -11
  562. package/dist/esm/component-C58IwTEf.js +47 -0
  563. package/dist/esm/{component-C_Te18y_.js → component-CAEpgoSo.js} +6 -5
  564. package/dist/esm/component-CDyoNoJe.js +17 -0
  565. package/dist/esm/{component-DHl33p9J.js → component-CiTw4ODP.js} +8 -9
  566. package/dist/esm/component-DTV1Kuf1.js +172 -0
  567. package/dist/esm/component-DeFANBua.js +43 -0
  568. package/dist/esm/{api-B9mpTRGa.js → component-S6ib3O8N.js} +40 -45
  569. package/dist/esm/component-XbTjo2nm.js +91 -0
  570. package/dist/esm/component-names-Ur_UbEzI.js +115 -0
  571. package/dist/esm/{contrast-BK5uVXeb.js → contrast-Ujnfz49m.js} +2 -2
  572. package/dist/esm/{controller-Bf-CAo4Q.js → controller-BdPVgWDs.js} +18 -18
  573. package/dist/esm/{dev.utils-BgjegQC8.js → dev.utils--eVyQ4zr.js} +1 -2
  574. package/dist/esm/{devtools-4nOArEGl.js → devtools-CosbyboJ.js} +4 -5
  575. package/dist/esm/{disabled-BaPgTuFO.js → disabled-Cu0e92-b.js} +2 -1
  576. package/dist/esm/{element-focus-Cp994Rrk.js → element-focus-BYLFG-oz.js} +25 -1
  577. package/dist/esm/{element-interaction-Cy9tx3Sx.js → element-interaction-C2pgnQ6t.js} +2 -1
  578. package/dist/esm/{events-BIT-JUP2.js → events-B2UzbUT7.js} +2 -0
  579. package/dist/esm/{field-control-Brx62dJV.js → field-control-DbmtKHc1.js} +7 -8
  580. package/dist/esm/{group-Ce5pMiZJ.js → group-CqAFhkgE.js} +6 -7
  581. package/dist/esm/{has-closer-C9L79ect.js → has-closer-DOs1CXhp.js} +2 -1
  582. package/dist/esm/href-DQbHtp6T.js +9 -0
  583. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-Bcb0tuyF.js} +11 -6
  584. package/dist/esm/{i18n-DRQl0u--.js → i18n-Cf0DhAke.js} +2 -2
  585. package/dist/esm/id-BXwy9iRy.js +9 -0
  586. package/dist/esm/{index-D5UV99lE.js → index-Bsx5X6jK.js} +1745 -50
  587. package/dist/esm/index.js +14 -12
  588. package/dist/esm/{input-DjQorwQ5.js → input-RvLnUp6C.js} +4 -6
  589. package/dist/esm/{input-container-RSmfcRgK.js → input-container-BpG3WHug.js} +6 -9
  590. package/dist/esm/{item-Bfk2xd-D.js → item-Cw_jdgc6.js} +14 -13
  591. package/dist/esm/{item-D9_O5WAR.js → item-DMttg5uX.js} +54 -42
  592. package/dist/esm/{item-DMWn_IlJ.js → item-DibV9jD7.js} +8 -8
  593. package/dist/esm/{item-2cprk9ut.js → item-KqTsA-5a.js} +8 -8
  594. package/dist/esm/{item-pool-BOxAYePG.js → item-pool-C_4Isquh.js} +2 -0
  595. package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-Cc1-_wSt.js} +2 -0
  596. package/dist/esm/kol-abbr.entry.js +15 -17
  597. package/dist/esm/kol-accordion.entry.js +31 -27
  598. package/dist/esm/kol-alert.entry.js +40 -36
  599. package/dist/esm/kol-avatar.entry.js +31 -25
  600. package/dist/esm/kol-badge.entry.js +38 -38
  601. package/dist/esm/kol-breadcrumb.entry.js +43 -44
  602. package/dist/esm/kol-button-link.entry.js +55 -42
  603. package/dist/esm/kol-button.entry.js +56 -42
  604. package/dist/esm/kol-card.entry.js +49 -53
  605. package/dist/esm/kol-combobox.entry.js +75 -64
  606. package/dist/esm/kol-details.entry.js +31 -27
  607. package/dist/esm/kol-dialog.entry.js +45 -42
  608. package/dist/esm/kol-drawer.entry.js +50 -54
  609. package/dist/esm/kol-form.entry.js +35 -34
  610. package/dist/esm/kol-heading.entry.js +23 -19
  611. package/dist/esm/kol-icon.entry.js +20 -16
  612. package/dist/esm/kol-image.entry.js +17 -12
  613. package/dist/esm/kol-input-checkbox.entry.js +76 -64
  614. package/dist/esm/kol-input-color.entry.js +73 -64
  615. package/dist/esm/kol-input-date.entry.js +93 -63
  616. package/dist/esm/kol-input-email.entry.js +79 -61
  617. package/dist/esm/kol-input-file.entry.js +72 -57
  618. package/dist/esm/kol-input-number.entry.js +82 -63
  619. package/dist/esm/kol-input-password.entry.js +81 -61
  620. package/dist/esm/kol-input-radio.entry.js +58 -54
  621. package/dist/esm/kol-input-range.entry.js +71 -56
  622. package/dist/esm/kol-input-text.entry.js +91 -66
  623. package/dist/esm/kol-kolibri.entry.js +15 -17
  624. package/dist/esm/kol-link-button.entry.js +52 -38
  625. package/dist/esm/kol-link.entry.js +49 -37
  626. package/dist/esm/kol-meter.entry.js +39 -29
  627. package/dist/esm/kol-modal.entry.js +44 -42
  628. package/dist/esm/kol-nav.entry.js +58 -58
  629. package/dist/esm/kol-pagination.entry.js +57 -58
  630. package/dist/esm/kol-popover-button.entry.js +57 -45
  631. package/dist/esm/kol-progress.entry.js +34 -24
  632. package/dist/esm/kol-quote.entry.js +21 -21
  633. package/dist/esm/kol-select.entry.js +66 -54
  634. package/dist/esm/kol-single-select.entry.js +78 -64
  635. package/dist/esm/kol-skip-nav.entry.js +42 -42
  636. package/dist/esm/kol-spin.entry.js +22 -35
  637. package/dist/esm/kol-split-button.entry.js +61 -47
  638. package/dist/esm/kol-table-stateful.entry.js +85 -75
  639. package/dist/esm/kol-table-stateless.entry.js +62 -64
  640. package/dist/esm/kol-tabs.entry.js +59 -59
  641. package/dist/esm/kol-textarea.entry.js +77 -59
  642. package/dist/esm/kol-toast-container.entry.js +27 -25
  643. package/dist/esm/kol-toolbar.entry.js +56 -54
  644. package/dist/esm/kol-tree-item.entry.js +53 -47
  645. package/dist/esm/kol-tree.entry.js +38 -26
  646. package/dist/esm/kol-version.entry.js +27 -25
  647. package/dist/esm/kolibri.js +7 -6
  648. package/dist/esm/label-DEZIsnKw.js +13 -0
  649. package/dist/esm/label-hints-C--ftrg_.js +20 -0
  650. package/dist/esm/label-lang-segment-B8ayoizG.js +12 -0
  651. package/dist/esm/label-with-expert-slot-DXi27J4o.js +13 -0
  652. package/dist/esm/{level-Df663c7y.js → level-BV6M_zmM.js} +2 -1
  653. package/dist/esm/{link-target-C7_smSbV.js → link-target-C9qzQAQg.js} +2 -1
  654. package/dist/esm/{links-B0xbzBwU.js → links-Dt0OhMXb.js} +2 -2
  655. package/dist/esm/loader.js +6 -5
  656. package/dist/esm/{multiple-CYHm7rd3.js → multiple-DQdOCIyW.js} +2 -1
  657. package/dist/esm/{number-value-CMedWR58.js → number-value-DtZloH4P.js} +2 -1
  658. package/dist/esm/{open-DCGNTmvC.js → open-DaO7wXMr.js} +2 -1
  659. package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-C98FzYQ9.js} +2 -0
  660. package/dist/esm/{options-CR431ims.js → options-C8BsBGBl.js} +2 -2
  661. package/dist/esm/{options-B0rBHetL.js → options-CKAHQbcF.js} +2 -0
  662. package/dist/esm/{orientation-C9FRNmPD.js → orientation-VvJMCd9m.js} +2 -1
  663. package/dist/esm/{placeholder-Bwzvbwhh.js → placeholder-7pbjAn-x.js} +2 -1
  664. package/dist/esm/{base-web-component-Bcoukts3.js → props-from-config-DVxNB2Lx.js} +313 -55
  665. package/dist/esm/{read-only-C5fDsZVK.js → read-only-3XuQIAB8.js} +2 -1
  666. package/dist/esm/{required-CC0212MQ.js → required-CNgdXJ8H.js} +2 -1
  667. package/dist/esm/{resolve-props-47S-r31C.js → resolve-props-B1DQKjTD.js} +7 -8
  668. package/dist/esm/{resolve-props-CnHCiXuG.js → resolve-props-DOaJCd7Y.js} +9 -9
  669. package/dist/esm/rows-DL1whQNh.js +9 -0
  670. package/dist/esm/{scroll-lock-DQGTnLvW.js → scroll-lock-CF_Z7MzO.js} +9 -7
  671. package/dist/esm/shared-state-sWI1upS8.js +14 -0
  672. package/dist/esm/{smart-button-BHM06d-t.js → smart-button-BdA5-cUG.js} +2 -2
  673. package/dist/esm/{spell-check-DiSedaOR.js → spell-check-B7J-eU5K.js} +2 -1
  674. package/dist/esm/{src-CsLEg--w.js → src-C2baLPDp.js} +2 -1
  675. package/dist/esm/{step-BxSThOke.js → step-DmzcVFZB.js} +2 -1
  676. package/dist/esm/{suggestions-B79TOsF_.js → suggestions-BJxNFtkL.js} +2 -2
  677. package/dist/esm/{suggestions-C38q-5JU.js → suggestions-BXp8OhOi.js} +3 -3
  678. package/dist/esm/test-component.entry.js +3 -3
  679. package/dist/esm/theme-store-CEu5d_EK.js +11 -0
  680. package/dist/esm/{toggle-handler-CQ0FhBmD.js → toggle-handler-D7oFDKvq.js} +14 -17
  681. package/dist/esm/tooltip-open-tracking-DXhnfmA2.js +21 -0
  682. package/dist/esm/unique-nav-labels-BOqpcYk4.js +22 -0
  683. package/dist/esm/{unit-BgjPEae-.js → unit-BFYz7QfA.js} +2 -1
  684. package/dist/esm/validators-DPSQyOeQ.js +13 -0
  685. package/dist/esm/{value-string-BDfywbme.js → value-string-Cmozozek.js} +2 -1
  686. package/dist/esm/{width-CAS8lhOU.js → width-D5-Licpp.js} +6 -2
  687. package/dist/kolibri/Heading-Cynkalqu.js +4 -0
  688. package/dist/kolibri/access-and-short-key-CW0oxi_q.js +4 -0
  689. package/dist/kolibri/api-B76-Osk1.js +4 -0
  690. package/dist/kolibri/app-globals-Dtu1AIr1.js +4 -0
  691. package/dist/kolibri/aria-labelledby-DQov9uSv.js +4 -0
  692. package/dist/kolibri/ariaCurrentService-B9TgWLEw.js +4 -0
  693. package/dist/kolibri/base-BZCFxul4.js +4 -0
  694. package/dist/kolibri/base-BpgzOuy3.js +4 -0
  695. package/dist/kolibri/base-CAiOx0qs.js +4 -0
  696. package/dist/kolibri/base-DJ3lTPYp.js +4 -0
  697. package/dist/kolibri/base-web-component-D16FuHFf.js +4 -0
  698. package/dist/kolibri/base-web-component-E9cH8tf8.js +4 -0
  699. package/dist/kolibri/base-web-component-aOhHFXxF.js +4 -0
  700. package/dist/kolibri/behavior-ByyBa-o8.js +4 -0
  701. package/dist/kolibri/behavior-DJQFXyfi.js +4 -0
  702. package/dist/kolibri/behavior-DnTJtQBK.js +4 -0
  703. package/dist/kolibri/bem-registry-CK2s_XZ4.js +4 -0
  704. package/dist/kolibri/bootstrap-DUmk0ILT.js +4 -0
  705. package/dist/kolibri/color-CEoIhjJR.js +4 -0
  706. package/dist/kolibri/component-BPL1Mikq.js +4 -0
  707. package/dist/kolibri/component-C0ijstyp.js +4 -0
  708. package/dist/kolibri/component-C58IwTEf.js +4 -0
  709. package/dist/kolibri/component-CAEpgoSo.js +4 -0
  710. package/dist/kolibri/component-CDyoNoJe.js +4 -0
  711. package/dist/kolibri/component-CiTw4ODP.js +4 -0
  712. package/dist/kolibri/component-DTV1Kuf1.js +4 -0
  713. package/dist/kolibri/component-DeFANBua.js +4 -0
  714. package/dist/kolibri/component-S6ib3O8N.js +4 -0
  715. package/dist/kolibri/component-XbTjo2nm.js +4 -0
  716. package/dist/kolibri/component-names-Ur_UbEzI.js +4 -0
  717. package/dist/kolibri/contrast-Ujnfz49m.js +4 -0
  718. package/dist/kolibri/controller-BdPVgWDs.js +4 -0
  719. package/dist/kolibri/dev.utils--eVyQ4zr.js +4 -0
  720. package/dist/kolibri/devtools-CosbyboJ.js +4 -0
  721. package/dist/kolibri/disabled-Cu0e92-b.js +4 -0
  722. package/dist/kolibri/element-focus-BYLFG-oz.js +4 -0
  723. package/dist/kolibri/element-interaction-C2pgnQ6t.js +4 -0
  724. package/dist/kolibri/events-B2UzbUT7.js +4 -0
  725. package/dist/kolibri/field-control-DbmtKHc1.js +4 -0
  726. package/dist/kolibri/group-CqAFhkgE.js +4 -0
  727. package/dist/kolibri/has-closer-DOs1CXhp.js +4 -0
  728. package/dist/kolibri/href-DQbHtp6T.js +4 -0
  729. package/dist/kolibri/i18n-Bcb0tuyF.js +4 -0
  730. package/dist/kolibri/i18n-Cf0DhAke.js +4 -0
  731. package/dist/kolibri/id-BXwy9iRy.js +4 -0
  732. package/dist/kolibri/index-Bsx5X6jK.js +6 -0
  733. package/dist/kolibri/index.esm.js +1 -1
  734. package/dist/kolibri/input-RvLnUp6C.js +4 -0
  735. package/dist/kolibri/input-container-BpG3WHug.js +4 -0
  736. package/dist/kolibri/item-Cw_jdgc6.js +4 -0
  737. package/dist/kolibri/item-DMttg5uX.js +4 -0
  738. package/dist/kolibri/item-DibV9jD7.js +4 -0
  739. package/dist/kolibri/item-KqTsA-5a.js +4 -0
  740. package/dist/kolibri/item-pool-C_4Isquh.js +4 -0
  741. package/dist/kolibri/keyboard-Cc1-_wSt.js +4 -0
  742. package/dist/kolibri/kol-abbr.entry.js +1 -1
  743. package/dist/kolibri/kol-accordion.entry.js +1 -1
  744. package/dist/kolibri/kol-alert.entry.js +1 -1
  745. package/dist/kolibri/kol-avatar.entry.js +1 -1
  746. package/dist/kolibri/kol-badge.entry.js +1 -1
  747. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  748. package/dist/kolibri/kol-button-link.entry.js +1 -1
  749. package/dist/kolibri/kol-button.entry.js +1 -1
  750. package/dist/kolibri/kol-card.entry.js +1 -1
  751. package/dist/kolibri/kol-combobox.entry.js +1 -1
  752. package/dist/kolibri/kol-details.entry.js +1 -1
  753. package/dist/kolibri/kol-dialog.entry.js +1 -1
  754. package/dist/kolibri/kol-drawer.entry.js +1 -1
  755. package/dist/kolibri/kol-form.entry.js +1 -1
  756. package/dist/kolibri/kol-heading.entry.js +1 -1
  757. package/dist/kolibri/kol-icon.entry.js +1 -1
  758. package/dist/kolibri/kol-image.entry.js +1 -1
  759. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  760. package/dist/kolibri/kol-input-color.entry.js +1 -1
  761. package/dist/kolibri/kol-input-date.entry.js +1 -1
  762. package/dist/kolibri/kol-input-email.entry.js +1 -1
  763. package/dist/kolibri/kol-input-file.entry.js +1 -1
  764. package/dist/kolibri/kol-input-number.entry.js +1 -1
  765. package/dist/kolibri/kol-input-password.entry.js +1 -1
  766. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  767. package/dist/kolibri/kol-input-range.entry.js +1 -1
  768. package/dist/kolibri/kol-input-text.entry.js +1 -1
  769. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  770. package/dist/kolibri/kol-link-button.entry.js +1 -1
  771. package/dist/kolibri/kol-link.entry.js +1 -1
  772. package/dist/kolibri/kol-meter.entry.js +1 -1
  773. package/dist/kolibri/kol-modal.entry.js +1 -1
  774. package/dist/kolibri/kol-nav.entry.js +1 -1
  775. package/dist/kolibri/kol-pagination.entry.js +1 -1
  776. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  777. package/dist/kolibri/kol-progress.entry.js +1 -1
  778. package/dist/kolibri/kol-quote.entry.js +1 -1
  779. package/dist/kolibri/kol-select.entry.js +1 -1
  780. package/dist/kolibri/kol-single-select.entry.js +1 -1
  781. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  782. package/dist/kolibri/kol-spin.entry.js +1 -1
  783. package/dist/kolibri/kol-split-button.entry.js +1 -1
  784. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  785. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  786. package/dist/kolibri/kol-tabs.entry.js +1 -1
  787. package/dist/kolibri/kol-textarea.entry.js +1 -1
  788. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  789. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  790. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  791. package/dist/kolibri/kol-tree.entry.js +1 -1
  792. package/dist/kolibri/kol-version.entry.js +1 -1
  793. package/dist/kolibri/kolibri.esm.js +1 -1
  794. package/dist/kolibri/label-DEZIsnKw.js +4 -0
  795. package/dist/kolibri/label-hints-C--ftrg_.js +4 -0
  796. package/dist/kolibri/label-lang-segment-B8ayoizG.js +4 -0
  797. package/dist/kolibri/label-with-expert-slot-DXi27J4o.js +4 -0
  798. package/dist/kolibri/level-BV6M_zmM.js +4 -0
  799. package/dist/kolibri/link-target-C9qzQAQg.js +4 -0
  800. package/dist/kolibri/links-Dt0OhMXb.js +4 -0
  801. package/dist/kolibri/multiple-DQdOCIyW.js +4 -0
  802. package/dist/kolibri/number-value-DtZloH4P.js +4 -0
  803. package/dist/kolibri/open-DaO7wXMr.js +4 -0
  804. package/dist/kolibri/open-items-cache-C98FzYQ9.js +4 -0
  805. package/dist/kolibri/options-C8BsBGBl.js +4 -0
  806. package/dist/kolibri/options-CKAHQbcF.js +4 -0
  807. package/dist/kolibri/orientation-VvJMCd9m.js +4 -0
  808. package/dist/kolibri/placeholder-7pbjAn-x.js +4 -0
  809. package/dist/kolibri/props-from-config-DVxNB2Lx.js +4 -0
  810. package/dist/kolibri/read-only-3XuQIAB8.js +4 -0
  811. package/dist/kolibri/required-CNgdXJ8H.js +4 -0
  812. package/dist/kolibri/resolve-props-B1DQKjTD.js +4 -0
  813. package/dist/kolibri/resolve-props-DOaJCd7Y.js +4 -0
  814. package/dist/kolibri/rows-DL1whQNh.js +4 -0
  815. package/dist/kolibri/scroll-lock-CF_Z7MzO.js +4 -0
  816. package/dist/kolibri/shared-state-sWI1upS8.js +4 -0
  817. package/dist/kolibri/smart-button-BdA5-cUG.js +4 -0
  818. package/dist/kolibri/spell-check-B7J-eU5K.js +4 -0
  819. package/dist/kolibri/src-C2baLPDp.js +4 -0
  820. package/dist/kolibri/step-DmzcVFZB.js +4 -0
  821. package/dist/kolibri/suggestions-BJxNFtkL.js +4 -0
  822. package/dist/kolibri/suggestions-BXp8OhOi.js +4 -0
  823. package/dist/kolibri/test-component.entry.js +1 -1
  824. package/dist/kolibri/theme-store-CEu5d_EK.js +4 -0
  825. package/dist/kolibri/toggle-handler-D7oFDKvq.js +4 -0
  826. package/dist/kolibri/tooltip-open-tracking-DXhnfmA2.js +4 -0
  827. package/dist/kolibri/unique-nav-labels-BOqpcYk4.js +4 -0
  828. package/dist/kolibri/unit-BFYz7QfA.js +4 -0
  829. package/dist/kolibri/validators-DPSQyOeQ.js +4 -0
  830. package/dist/kolibri/value-string-Cmozozek.js +4 -0
  831. package/dist/kolibri/width-D5-Licpp.js +4 -0
  832. package/dist/types/components/abbr/component.d.ts +5 -4
  833. package/dist/types/components/accordion/component.d.ts +9 -8
  834. package/dist/types/components/alert/component.d.ts +10 -8
  835. package/dist/types/components/avatar/component.d.ts +7 -6
  836. package/dist/types/components/badge/component.d.ts +5 -4
  837. package/dist/types/components/breadcrumb/component.d.ts +2 -1
  838. package/dist/types/components/button/base.d.ts +9 -8
  839. package/dist/types/components/button/component.d.ts +13 -13
  840. package/dist/types/components/button-link/component.d.ts +11 -11
  841. package/dist/types/components/card/base.d.ts +6 -4
  842. package/dist/types/components/card/component.d.ts +5 -5
  843. package/dist/types/components/combobox/component.d.ts +23 -22
  844. package/dist/types/components/details/component.d.ts +9 -8
  845. package/dist/types/components/dialog/base.d.ts +6 -4
  846. package/dist/types/components/dialog/component.d.ts +5 -5
  847. package/dist/types/components/drawer/component.d.ts +7 -6
  848. package/dist/types/components/form/component.d.ts +2 -1
  849. package/dist/types/components/heading/component.d.ts +5 -4
  850. package/dist/types/components/icon/component.d.ts +5 -3
  851. package/dist/types/components/image/component.d.ts +11 -9
  852. package/dist/types/components/input-checkbox/component.d.ts +21 -20
  853. package/dist/types/components/input-color/component.d.ts +17 -17
  854. package/dist/types/components/input-date/component.d.ts +20 -19
  855. package/dist/types/components/input-email/component.d.ts +31 -30
  856. package/dist/types/components/input-file/component.d.ts +18 -17
  857. package/dist/types/components/input-number/component.d.ts +21 -20
  858. package/dist/types/components/input-password/component.d.ts +30 -28
  859. package/dist/types/components/input-radio/component.d.ts +15 -14
  860. package/dist/types/components/input-range/component.d.ts +15 -14
  861. package/dist/types/components/input-text/component.d.ts +28 -26
  862. package/dist/types/components/kolibri/component.d.ts +5 -4
  863. package/dist/types/components/link/base.d.ts +8 -6
  864. package/dist/types/components/link/component.d.ts +11 -13
  865. package/dist/types/components/link-button/component.d.ts +9 -11
  866. package/dist/types/components/meter/component.d.ts +19 -17
  867. package/dist/types/components/modal/component.d.ts +5 -5
  868. package/dist/types/components/nav/component.d.ts +9 -8
  869. package/dist/types/components/pagination/component.d.ts +11 -10
  870. package/dist/types/components/popover-button/base.d.ts +1 -1
  871. package/dist/types/components/popover-button/component.d.ts +9 -9
  872. package/dist/types/components/progress/component.d.ts +12 -9
  873. package/dist/types/components/{_skeleton/public-api → public-api}/contract.d.ts +1 -6
  874. package/dist/types/components/quote/component.d.ts +9 -7
  875. package/dist/types/components/select/component.d.ts +21 -20
  876. package/dist/types/components/single-select/component.d.ts +22 -20
  877. package/dist/types/components/skip-nav/component.d.ts +2 -1
  878. package/dist/types/components/spin/component.d.ts +7 -5
  879. package/dist/types/components/split-button/component.d.ts +13 -13
  880. package/dist/types/components/table-stateful/component.d.ts +11 -12
  881. package/dist/types/components/table-stateless/base.d.ts +7 -5
  882. package/dist/types/components/table-stateless/component.d.ts +7 -10
  883. package/dist/types/components/tabs/component.d.ts +6 -6
  884. package/dist/types/components/textarea/component.d.ts +29 -28
  885. package/dist/types/components/toolbar/component.d.ts +5 -4
  886. package/dist/types/components/tree/component.d.ts +3 -1
  887. package/dist/types/components/tree-item/component.d.ts +5 -4
  888. package/dist/types/components/version/component.d.ts +2 -1
  889. package/dist/types/components.d.ts +1424 -1154
  890. package/dist/types/core/component-names.d.ts +52 -54
  891. package/dist/types/core/i18n.d.ts +2 -2
  892. package/dist/types/core/shared-state.d.ts +1 -0
  893. package/dist/types/core/tag-transformer.d.ts +4 -0
  894. package/dist/types/core/theme-store.d.ts +1 -0
  895. package/dist/types/e2e/aria-details.d.ts +2 -0
  896. package/dist/types/e2e/input-behavior-contract.d.ts +0 -1
  897. package/dist/types/functional-components/index.d.ts +0 -1
  898. package/dist/types/index.d.ts +3 -1
  899. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  900. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  901. package/dist/types/internal/functional-components/avatar/api.d.ts +1 -1
  902. package/dist/types/internal/functional-components/avatar/component.d.ts +1 -1
  903. package/dist/types/internal/functional-components/badge/api.d.ts +4 -4
  904. package/dist/types/internal/functional-components/badge/component.d.ts +3 -2
  905. package/dist/types/internal/functional-components/base-web-component.d.ts +5 -1
  906. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  907. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  908. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  909. package/dist/types/internal/functional-components/button/component.d.ts +1 -1
  910. package/dist/types/internal/functional-components/button/item.d.ts +1 -3
  911. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  912. package/dist/types/internal/functional-components/card/component.d.ts +5 -2
  913. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  914. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  915. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  916. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  917. package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
  918. package/dist/types/internal/functional-components/dialog/item.d.ts +2 -2
  919. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  920. package/dist/types/internal/functional-components/drawer/component.d.ts +1 -1
  921. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  922. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  923. package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -5
  924. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  925. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +5 -0
  926. package/dist/types/internal/functional-components/form-field/component.d.ts +2 -2
  927. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  928. package/dist/types/internal/functional-components/form-field/default-input-props.d.ts +4 -3
  929. package/dist/types/internal/functional-components/form-field/field-control.d.ts +2 -2
  930. package/dist/types/internal/functional-components/form-field/label.d.ts +2 -1
  931. package/dist/types/internal/functional-components/generic-types.d.ts +6 -5
  932. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  933. package/dist/types/internal/functional-components/heading/component.d.ts +1 -1
  934. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  935. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  936. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  937. package/dist/types/internal/functional-components/input-color/api.d.ts +6 -6
  938. package/dist/types/internal/functional-components/input-date/api.d.ts +6 -6
  939. package/dist/types/internal/functional-components/input-email/api.d.ts +6 -6
  940. package/dist/types/internal/functional-components/input-file/api.d.ts +6 -6
  941. package/dist/types/internal/functional-components/input-number/api.d.ts +6 -6
  942. package/dist/types/internal/functional-components/input-password/api.d.ts +6 -6
  943. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  944. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  945. package/dist/types/internal/functional-components/input-text/api.d.ts +6 -6
  946. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  947. package/dist/types/internal/functional-components/kolibri/component.d.ts +1 -1
  948. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  949. package/dist/types/internal/functional-components/link/component.d.ts +1 -1
  950. package/dist/types/internal/functional-components/link/item.d.ts +2 -1
  951. package/dist/types/internal/functional-components/meter/api.d.ts +11 -2
  952. package/dist/types/internal/functional-components/meter/component.d.ts +4 -1
  953. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  954. package/dist/types/internal/functional-components/nav/component.d.ts +1 -1
  955. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  956. package/dist/types/internal/functional-components/pagination/component.d.ts +2 -2
  957. package/dist/types/internal/functional-components/pagination/item.d.ts +10 -6
  958. package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +3 -0
  959. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  960. package/dist/types/internal/functional-components/progress/api.d.ts +11 -2
  961. package/dist/types/internal/functional-components/progress/component.d.ts +1 -1
  962. package/dist/types/internal/functional-components/props-from-config.d.ts +4 -1
  963. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  964. package/dist/types/internal/functional-components/quote/component.d.ts +1 -1
  965. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  966. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  967. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  968. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  969. package/dist/types/internal/functional-components/span/api.d.ts +2 -2
  970. package/dist/types/internal/functional-components/span/component.d.ts +2 -1
  971. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  972. package/dist/types/internal/functional-components/spin/component.d.ts +1 -1
  973. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  974. package/dist/types/internal/functional-components/table-stateful/model.d.ts +2 -2
  975. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  976. package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -1
  977. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +4 -7
  978. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  979. package/dist/types/internal/functional-components/text-input/api.d.ts +6 -6
  980. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  981. package/dist/types/internal/functional-components/toolbar/api.d.ts +2 -2
  982. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  983. package/dist/types/internal/functional-components/tooltip/behavior.d.ts +2 -1
  984. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  985. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  986. package/dist/types/internal/props/accept.d.ts +2 -1
  987. package/dist/types/internal/props/access-key.d.ts +3 -2
  988. package/dist/types/internal/props/active.d.ts +3 -2
  989. package/dist/types/internal/props/adjust-height.d.ts +3 -2
  990. package/dist/types/internal/props/alert-callbacks.d.ts +1 -3
  991. package/dist/types/internal/props/alert-type.d.ts +1 -1
  992. package/dist/types/internal/props/alert-variant.d.ts +1 -1
  993. package/dist/types/internal/props/alert.d.ts +3 -2
  994. package/dist/types/internal/props/allow-markdown.d.ts +3 -2
  995. package/dist/types/internal/props/allow-multi-sort.d.ts +3 -2
  996. package/dist/types/internal/props/alt.d.ts +3 -2
  997. package/dist/types/internal/props/aria-controls.d.ts +3 -2
  998. package/dist/types/internal/props/aria-current-value.d.ts +1 -1
  999. package/dist/types/internal/props/aria-description.d.ts +3 -2
  1000. package/dist/types/internal/props/aria-details.d.ts +3 -2
  1001. package/dist/types/internal/props/aria-expanded.d.ts +1 -1
  1002. package/dist/types/internal/props/aria-has-popup.d.ts +1 -1
  1003. package/dist/types/internal/props/aria-owns.d.ts +3 -2
  1004. package/dist/types/internal/props/aria-selected.d.ts +1 -1
  1005. package/dist/types/internal/props/auto-complete.d.ts +1 -1
  1006. package/dist/types/internal/props/badge-text.d.ts +3 -2
  1007. package/dist/types/internal/props/boundary-count.d.ts +3 -2
  1008. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -4
  1009. package/dist/types/internal/props/button-callbacks.d.ts +1 -3
  1010. package/dist/types/internal/props/button-type.d.ts +1 -1
  1011. package/dist/types/internal/props/card-callbacks.d.ts +1 -3
  1012. package/dist/types/internal/props/checkbox-value.d.ts +1 -1
  1013. package/dist/types/internal/props/checked.d.ts +3 -2
  1014. package/dist/types/internal/props/collapsible-callbacks.d.ts +1 -3
  1015. package/dist/types/internal/props/collapsible.d.ts +3 -2
  1016. package/dist/types/internal/props/color.d.ts +1 -1
  1017. package/dist/types/internal/props/custom-class.d.ts +3 -2
  1018. package/dist/types/internal/props/dialog-callbacks.d.ts +1 -1
  1019. package/dist/types/internal/props/disabled.d.ts +3 -2
  1020. package/dist/types/internal/props/download.d.ts +2 -1
  1021. package/dist/types/internal/props/drawer-callbacks.d.ts +1 -1
  1022. package/dist/types/internal/props/error-list.d.ts +1 -1
  1023. package/dist/types/internal/props/fixed-cols.d.ts +1 -1
  1024. package/dist/types/internal/props/form-callbacks.d.ts +1 -3
  1025. package/dist/types/internal/props/has-clear-button.d.ts +3 -2
  1026. package/dist/types/internal/props/has-closer.d.ts +3 -2
  1027. package/dist/types/internal/props/has-compact-button.d.ts +3 -2
  1028. package/dist/types/internal/props/has-counter.d.ts +3 -2
  1029. package/dist/types/internal/props/has-create-button.d.ts +3 -2
  1030. package/dist/types/internal/props/has-icons-when-expanded.d.ts +3 -2
  1031. package/dist/types/internal/props/has-settings-menu.d.ts +3 -2
  1032. package/dist/types/internal/props/helpers/factory.d.ts +13 -6
  1033. package/dist/types/internal/props/helpers/normalizers.d.ts +2 -1
  1034. package/dist/types/internal/props/helpers/validators.d.ts +5 -0
  1035. package/dist/types/internal/props/hide-label.d.ts +3 -2
  1036. package/dist/types/internal/props/hide-msg.d.ts +3 -2
  1037. package/dist/types/internal/props/high.d.ts +3 -2
  1038. package/dist/types/internal/props/hint.d.ts +3 -2
  1039. package/dist/types/internal/props/hints/label-hints.d.ts +2 -1
  1040. package/dist/types/internal/props/horizontal-icons.d.ts +1 -1
  1041. package/dist/types/internal/props/href.d.ts +3 -3
  1042. package/dist/types/internal/props/icons-input-checkbox.d.ts +1 -1
  1043. package/dist/types/internal/props/icons.d.ts +1 -1
  1044. package/dist/types/internal/props/id.d.ts +3 -2
  1045. package/dist/types/internal/props/image-callbacks.d.ts +1 -3
  1046. package/dist/types/internal/props/indeterminate.d.ts +3 -2
  1047. package/dist/types/internal/props/index.d.ts +2 -1
  1048. package/dist/types/internal/props/inline.d.ts +3 -2
  1049. package/dist/types/internal/props/input-date-type.d.ts +1 -1
  1050. package/dist/types/internal/props/input-text-type.d.ts +1 -1
  1051. package/dist/types/internal/props/kolibri-color.d.ts +1 -1
  1052. package/dist/types/internal/props/label-align.d.ts +1 -1
  1053. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  1054. package/dist/types/internal/props/label-lang-segment.d.ts +4 -0
  1055. package/dist/types/internal/props/label-with-expert-slot.d.ts +3 -2
  1056. package/dist/types/internal/props/label.d.ts +2 -1
  1057. package/dist/types/internal/props/labeled.d.ts +3 -2
  1058. package/dist/types/internal/props/level.d.ts +1 -1
  1059. package/dist/types/internal/props/link-callbacks.d.ts +1 -3
  1060. package/dist/types/internal/props/link-role.d.ts +1 -1
  1061. package/dist/types/internal/props/link-target.d.ts +3 -2
  1062. package/dist/types/internal/props/loading.d.ts +1 -1
  1063. package/dist/types/internal/props/low.d.ts +3 -2
  1064. package/dist/types/internal/props/max-length-behavior.d.ts +1 -1
  1065. package/dist/types/internal/props/max-length.d.ts +2 -1
  1066. package/dist/types/internal/props/max.d.ts +3 -2
  1067. package/dist/types/internal/props/min.d.ts +3 -2
  1068. package/dist/types/internal/props/multiple.d.ts +3 -2
  1069. package/dist/types/internal/props/name.d.ts +3 -2
  1070. package/dist/types/internal/props/nav-links.d.ts +1 -3
  1071. package/dist/types/internal/props/open.d.ts +3 -2
  1072. package/dist/types/internal/props/optimum.d.ts +3 -2
  1073. package/dist/types/internal/props/options-with-optgroup.d.ts +1 -1
  1074. package/dist/types/internal/props/orientation.d.ts +1 -1
  1075. package/dist/types/internal/props/page-size-options.d.ts +1 -1
  1076. package/dist/types/internal/props/page-size.d.ts +3 -2
  1077. package/dist/types/internal/props/page.d.ts +3 -2
  1078. package/dist/types/internal/props/pagination-callbacks.d.ts +1 -3
  1079. package/dist/types/internal/props/pagination-has-buttons.d.ts +1 -1
  1080. package/dist/types/internal/props/pagination-max.d.ts +3 -2
  1081. package/dist/types/internal/props/pagination-position.d.ts +1 -1
  1082. package/dist/types/internal/props/pattern.d.ts +2 -1
  1083. package/dist/types/internal/props/placeholder.d.ts +2 -1
  1084. package/dist/types/internal/props/quote.d.ts +3 -2
  1085. package/dist/types/internal/props/radio-orientation.d.ts +1 -1
  1086. package/dist/types/internal/props/radio-value.d.ts +1 -1
  1087. package/dist/types/internal/props/read-only.d.ts +3 -2
  1088. package/dist/types/internal/props/required-text.d.ts +1 -1
  1089. package/dist/types/internal/props/required.d.ts +3 -2
  1090. package/dist/types/internal/props/resize.d.ts +1 -1
  1091. package/dist/types/internal/props/rows.d.ts +2 -1
  1092. package/dist/types/internal/props/secondary-headline.d.ts +3 -2
  1093. package/dist/types/internal/props/select-value.d.ts +1 -1
  1094. package/dist/types/internal/props/selected.d.ts +3 -2
  1095. package/dist/types/internal/props/short-key.d.ts +3 -2
  1096. package/dist/types/internal/props/show.d.ts +3 -2
  1097. package/dist/types/internal/props/sibling-count.d.ts +3 -2
  1098. package/dist/types/internal/props/sizes.d.ts +3 -2
  1099. package/dist/types/internal/props/skip-nav-links.d.ts +1 -3
  1100. package/dist/types/internal/props/smart-button.d.ts +2 -2
  1101. package/dist/types/internal/props/span-icons.d.ts +1 -1
  1102. package/dist/types/internal/props/spell-check.d.ts +2 -1
  1103. package/dist/types/internal/props/src.d.ts +3 -2
  1104. package/dist/types/internal/props/srcset.d.ts +3 -2
  1105. package/dist/types/internal/props/suggestions.d.ts +1 -1
  1106. package/dist/types/internal/props/sync-value-by-selector.d.ts +2 -1
  1107. package/dist/types/internal/props/tab-behavior.d.ts +1 -1
  1108. package/dist/types/internal/props/tab-index.d.ts +3 -2
  1109. package/dist/types/internal/props/table-data-foot.d.ts +1 -1
  1110. package/dist/types/internal/props/table-data.d.ts +1 -1
  1111. package/dist/types/internal/props/table-headers.d.ts +3 -3
  1112. package/dist/types/internal/props/table-loading.d.ts +3 -2
  1113. package/dist/types/internal/props/table-pagination.d.ts +1 -1
  1114. package/dist/types/internal/props/table-selection.d.ts +1 -1
  1115. package/dist/types/internal/props/table-stateful-headers.d.ts +3 -3
  1116. package/dist/types/internal/props/tabs-callbacks.d.ts +1 -1
  1117. package/dist/types/internal/props/tabs.d.ts +1 -1
  1118. package/dist/types/internal/props/toolbar-items.d.ts +1 -1
  1119. package/dist/types/internal/props/touched.d.ts +3 -2
  1120. package/dist/types/internal/props/unit.d.ts +3 -2
  1121. package/dist/types/internal/props/value-number-clamped.d.ts +4 -3
  1122. package/dist/types/internal/props/value-string.d.ts +2 -1
  1123. package/dist/types/internal/props/variant-dialog.d.ts +1 -1
  1124. package/dist/types/internal/props/variant-input-checkbox.d.ts +1 -1
  1125. package/dist/types/internal/props/variant-progress.d.ts +1 -1
  1126. package/dist/types/internal/props/variant-quote.d.ts +1 -1
  1127. package/dist/types/internal/props/variant-spin.d.ts +1 -1
  1128. package/dist/types/internal/props/variant.d.ts +1 -1
  1129. package/dist/types/internal/props/visibility-toggle.d.ts +3 -2
  1130. package/dist/types/internal/props/width.d.ts +3 -2
  1131. package/dist/types/locales/de.d.ts +1 -0
  1132. package/dist/types/locales/en.d.ts +1 -0
  1133. package/dist/types/schema/bem-registry.d.ts +162 -23
  1134. package/dist/types/schema/components/alert.d.ts +2 -2
  1135. package/dist/types/schema/components/badge.d.ts +2 -2
  1136. package/dist/types/schema/components/breadcrumb.d.ts +2 -2
  1137. package/dist/types/schema/components/card.d.ts +2 -2
  1138. package/dist/types/schema/components/collapsible.d.ts +3 -3
  1139. package/dist/types/schema/components/dialog.d.ts +3 -3
  1140. package/dist/types/schema/components/drawer.d.ts +3 -3
  1141. package/dist/types/schema/components/pagination.d.ts +2 -2
  1142. package/dist/types/schema/components/split-button.d.ts +2 -2
  1143. package/dist/types/schema/components/table.d.ts +4 -5
  1144. package/dist/types/schema/components/tableStateless.d.ts +6 -5
  1145. package/dist/types/schema/components/tabs.d.ts +2 -2
  1146. package/dist/types/schema/components/tree-item.d.ts +2 -2
  1147. package/dist/types/schema/i18n-keys.d.ts +29 -28
  1148. package/dist/types/schema/index.d.ts +1 -1
  1149. package/dist/types/schema/props/allow-markdown.d.ts +1 -0
  1150. package/dist/types/schema/props/aria-controls.d.ts +1 -2
  1151. package/dist/types/schema/props/aria-details.d.ts +0 -2
  1152. package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
  1153. package/dist/types/schema/props/boundary-count.d.ts +1 -0
  1154. package/dist/types/schema/props/has-clear-button.d.ts +1 -0
  1155. package/dist/types/schema/props/has-compact-button.d.ts +1 -2
  1156. package/dist/types/schema/props/high.d.ts +1 -0
  1157. package/dist/types/schema/props/index.d.ts +20 -3
  1158. package/dist/types/schema/props/label.d.ts +17 -2
  1159. package/dist/types/schema/props/labeled.d.ts +1 -0
  1160. package/dist/types/schema/props/low.d.ts +1 -0
  1161. package/dist/types/schema/props/min.d.ts +1 -0
  1162. package/dist/types/schema/props/optimum.d.ts +1 -0
  1163. package/dist/types/schema/props/page-size.d.ts +1 -0
  1164. package/dist/types/schema/props/page.d.ts +1 -0
  1165. package/dist/types/schema/props/quote.d.ts +0 -5
  1166. package/dist/types/schema/props/secondary-headline.d.ts +1 -0
  1167. package/dist/types/schema/props/selected.d.ts +1 -0
  1168. package/dist/types/schema/props/sibling-count.d.ts +1 -0
  1169. package/dist/types/schema/props/sizes.d.ts +1 -0
  1170. package/dist/types/schema/props/src.d.ts +1 -0
  1171. package/dist/types/schema/props/srcset.d.ts +1 -0
  1172. package/dist/types/schema/props/table-callbacks.d.ts +3 -3
  1173. package/dist/types/schema/props/table-headers.d.ts +3 -0
  1174. package/dist/types/schema/props/table-loading.d.ts +1 -0
  1175. package/dist/types/schema/props/value-number-clamped.d.ts +1 -0
  1176. package/dist/types/schema/props/value-string.d.ts +1 -0
  1177. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  1178. package/dist/types/schema/utils/dev.utils.d.ts +1 -0
  1179. package/dist/types/stencil-public-runtime.d.ts +1 -1
  1180. package/dist/types/utils/aria-labelledby.d.ts +0 -6
  1181. package/dist/types/utils/dev.utils.d.ts +0 -2
  1182. package/dist/types/utils/element-focus.d.ts +1 -0
  1183. package/dist/types/utils/element-interaction.d.ts +0 -1
  1184. package/dist/types/utils/element-themed.d.ts +1 -2
  1185. package/dist/types/utils/unique-nav-labels.d.ts +3 -2
  1186. package/doc/abbr.md +3 -3
  1187. package/doc/accordion.md +1 -1
  1188. package/doc/alert.md +1 -1
  1189. package/doc/badge.md +21 -6
  1190. package/doc/breadcrumb.md +4 -4
  1191. package/doc/button-link.md +2 -2
  1192. package/doc/button.md +14 -1
  1193. package/doc/card.md +2 -2
  1194. package/doc/combobox.md +23 -23
  1195. package/doc/details.md +1 -1
  1196. package/doc/dialog.md +1 -1
  1197. package/doc/drawer.md +1 -1
  1198. package/doc/heading.md +5 -5
  1199. package/doc/input-checkbox.md +38 -23
  1200. package/doc/input-color.md +22 -22
  1201. package/doc/input-date.md +28 -28
  1202. package/doc/input-email.md +30 -30
  1203. package/doc/input-file.md +22 -22
  1204. package/doc/input-number.md +43 -28
  1205. package/doc/input-password.md +29 -29
  1206. package/doc/input-radio.md +19 -19
  1207. package/doc/input-range.md +24 -24
  1208. package/doc/input-text.md +31 -31
  1209. package/doc/link-button.md +5 -5
  1210. package/doc/link.md +19 -6
  1211. package/doc/meter.md +1 -1
  1212. package/doc/modal.md +1 -1
  1213. package/doc/pagination.md +13 -13
  1214. package/doc/popover-button.md +18 -18
  1215. package/doc/progress.md +7 -7
  1216. package/doc/quote.md +19 -6
  1217. package/doc/select.md +24 -24
  1218. package/doc/single-select.md +24 -24
  1219. package/doc/split-button.md +1 -1
  1220. package/doc/table-stateful.md +33 -16
  1221. package/doc/table-stateless.md +31 -15
  1222. package/doc/textarea.md +3 -3
  1223. package/doc/tree-item.md +6 -6
  1224. package/package.json +24 -23
  1225. package/vscode-custom-data.json +41 -58
  1226. package/dist/cjs/align-NV74hwT0.js +0 -22
  1227. package/dist/cjs/api-BBdhCCKv.js +0 -73
  1228. package/dist/cjs/api-BlwpFlt1.js +0 -96
  1229. package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
  1230. package/dist/cjs/block-bem-CNP2_qFi.js +0 -18
  1231. package/dist/cjs/bootstrap-BbvuwOW2.js +0 -33
  1232. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  1233. package/dist/cjs/common-DRvysX2o.js +0 -1741
  1234. package/dist/cjs/component-B_EvGSM0.js +0 -22
  1235. package/dist/cjs/component-Byx8Sl1k.js +0 -20
  1236. package/dist/cjs/component-C-jt8Zgv.js +0 -36
  1237. package/dist/cjs/component-CyFwKqlx.js +0 -9287
  1238. package/dist/cjs/component-DK-qYG29.js +0 -29
  1239. package/dist/cjs/component-DMaPKMLG.js +0 -14
  1240. package/dist/cjs/component-kxdSa2S4.js +0 -36
  1241. package/dist/cjs/component-names-EMVnNhTP.js +0 -115
  1242. package/dist/cjs/component-plNY-StC.js +0 -13
  1243. package/dist/cjs/component-x3LvOAC0.js +0 -18
  1244. package/dist/cjs/disabled-wIEbt0Gz.js +0 -10
  1245. package/dist/cjs/has-closer-4Czygcsx.js +0 -10
  1246. package/dist/cjs/href-B2aqb6-P.js +0 -12
  1247. package/dist/cjs/input-tgqPNmdz.js +0 -20
  1248. package/dist/cjs/isArray-BOIOdEQh.js +0 -163
  1249. package/dist/cjs/kol-click-button.cjs.entry.js +0 -51
  1250. package/dist/cjs/kol-skeleton.cjs.entry.js +0 -105
  1251. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +0 -82
  1252. package/dist/cjs/label-DeUoiK6M.js +0 -39
  1253. package/dist/cjs/label-with-expert-slot-B1k6ppMF.js +0 -10
  1254. package/dist/cjs/level-DGDM1aXl.js +0 -11
  1255. package/dist/cjs/link-target-PjKWXgno.js +0 -10
  1256. package/dist/cjs/links-0QyGYlHz.js +0 -15
  1257. package/dist/cjs/multiple-BoCGiGxR.js +0 -10
  1258. package/dist/cjs/name-BZcwC1Zd.js +0 -10
  1259. package/dist/cjs/open-ui_yY8GH.js +0 -10
  1260. package/dist/cjs/placeholder-CCYSgsip.js +0 -10
  1261. package/dist/cjs/read-only-KKKbZyk5.js +0 -10
  1262. package/dist/cjs/required-CeiUcxrv.js +0 -10
  1263. package/dist/cjs/resolve-props-BcGzqFFR.js +0 -58
  1264. package/dist/cjs/resolve-props-Cv67cUZA.js +0 -60
  1265. package/dist/cjs/rows-BWBG8nDk.js +0 -10
  1266. package/dist/cjs/smart-button-DQryZ9gX.js +0 -18
  1267. package/dist/cjs/spell-check-DHRle7ui.js +0 -10
  1268. package/dist/cjs/src-B6CU1zD0.js +0 -10
  1269. package/dist/cjs/step-kuREYDVE.js +0 -10
  1270. package/dist/cjs/suggestions-b21ak6-A.js +0 -24
  1271. package/dist/cjs/unique-nav-labels-CuHbVHx9.js +0 -22
  1272. package/dist/cjs/unit-DHpzrXY7.js +0 -13
  1273. package/dist/cjs/value-string-BtfdnGIb.js +0 -10
  1274. package/dist/cjs/variant-CxQO5qFu.js +0 -106
  1275. package/dist/collection/components/@else/all/component.js +0 -17
  1276. package/dist/collection/components/@else/counter/component.js +0 -29
  1277. package/dist/collection/components/_skeleton/web-components/click-button/component.js +0 -95
  1278. package/dist/collection/components/_skeleton/web-components/skeleton/component.js +0 -205
  1279. package/dist/collection/components/component-list.js +0 -105
  1280. package/dist/collection/components/heading/validation.js +0 -11
  1281. package/dist/collection/components/tooltip/component.js +0 -204
  1282. package/dist/collection/functional-components/Heading/index.js +0 -5
  1283. package/dist/collection/internal/functional-components/click-button/api.js +0 -7
  1284. package/dist/collection/internal/functional-components/click-button/component.js +0 -9
  1285. package/dist/collection/internal/functional-components/form-field/custom-suggestions.test.js +0 -55
  1286. package/dist/collection/internal/functional-components/form-field/field-control.test.js +0 -57
  1287. package/dist/collection/internal/functional-components/form-field/input-shell.test.js +0 -43
  1288. package/dist/collection/internal/functional-components/form-field/select.test.js +0 -140
  1289. package/dist/collection/internal/functional-components/form-field/snapshot.test.js +0 -43
  1290. package/dist/collection/internal/functional-components/form-field/textarea.test.js +0 -18
  1291. package/dist/collection/internal/functional-components/popover/snapshot.test.js +0 -15
  1292. package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
  1293. package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
  1294. package/dist/collection/internal/functional-components/span/snapshot.test.js +0 -70
  1295. package/dist/collection/internal/props/hints/index.js +0 -4
  1296. package/dist/collection/internal/props/pagination-label.js +0 -6
  1297. package/dist/collection/schema/components/input.js +0 -4
  1298. package/dist/collection/schema/props/table-header-cells.js +0 -36
  1299. package/dist/collection/schema/props/variant/spin.js +0 -8
  1300. package/dist/collection/schema/props/variant-quote.js +0 -11
  1301. package/dist/collection/schema/validators/window.js +0 -4
  1302. package/dist/components/align.js +0 -4
  1303. package/dist/components/api.js +0 -4
  1304. package/dist/components/api2.js +0 -4
  1305. package/dist/components/aria-labelledby.js +0 -4
  1306. package/dist/components/block-bem.js +0 -4
  1307. package/dist/components/clsx.js +0 -4
  1308. package/dist/components/href.js +0 -4
  1309. package/dist/components/isArray.js +0 -4
  1310. package/dist/components/kol-click-button.d.ts +0 -11
  1311. package/dist/components/kol-click-button.js +0 -4
  1312. package/dist/components/kol-skeleton.d.ts +0 -11
  1313. package/dist/components/kol-skeleton.js +0 -4
  1314. package/dist/components/kol-tooltip-wc.d.ts +0 -11
  1315. package/dist/components/kol-tooltip-wc.js +0 -4
  1316. package/dist/components/name.js +0 -4
  1317. package/dist/components/variant.js +0 -4
  1318. package/dist/esm/align-DsFuqEf5.js +0 -20
  1319. package/dist/esm/api-CvPkoAAG.js +0 -67
  1320. package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
  1321. package/dist/esm/block-bem-DXqmf3Te.js +0 -16
  1322. package/dist/esm/bootstrap-DTVsVq0w.js +0 -28
  1323. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  1324. package/dist/esm/common-D03JQJgy.js +0 -1695
  1325. package/dist/esm/component-BkjWlzLc.js +0 -33
  1326. package/dist/esm/component-C9mkZ63L.js +0 -18
  1327. package/dist/esm/component-CySyXSru.js +0 -19
  1328. package/dist/esm/component-DeWynlzi.js +0 -12
  1329. package/dist/esm/component-DqHI-AwD.js +0 -27
  1330. package/dist/esm/component-DxddScWx.js +0 -34
  1331. package/dist/esm/component-DzVHCXnG.js +0 -16
  1332. package/dist/esm/component-Ik_-HAMT.js +0 -9283
  1333. package/dist/esm/component-YhEwg1LK.js +0 -11
  1334. package/dist/esm/component-names-Dhbtt0mX.js +0 -113
  1335. package/dist/esm/href-OaK1sDT5.js +0 -9
  1336. package/dist/esm/isArray-CcrBs4JM.js +0 -156
  1337. package/dist/esm/kol-click-button.entry.js +0 -49
  1338. package/dist/esm/kol-skeleton.entry.js +0 -103
  1339. package/dist/esm/kol-tooltip-wc.entry.js +0 -80
  1340. package/dist/esm/label-BNtqGdMQ.js +0 -35
  1341. package/dist/esm/label-with-expert-slot-aAOUzLo3.js +0 -8
  1342. package/dist/esm/name-m3owaZxH.js +0 -8
  1343. package/dist/esm/rows-CUHDEUm9.js +0 -8
  1344. package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
  1345. package/dist/esm/unique-nav-labels-Bh3w7dCH.js +0 -19
  1346. package/dist/kolibri/Heading-0teSdkFq.js +0 -4
  1347. package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
  1348. package/dist/kolibri/align-DsFuqEf5.js +0 -4
  1349. package/dist/kolibri/api-B9mpTRGa.js +0 -4
  1350. package/dist/kolibri/api-CvPkoAAG.js +0 -4
  1351. package/dist/kolibri/api-hAvZrw9X.js +0 -4
  1352. package/dist/kolibri/app-globals-Dff_iJYF.js +0 -4
  1353. package/dist/kolibri/aria-labelledby-BRToXqsQ.js +0 -4
  1354. package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
  1355. package/dist/kolibri/base-7FEvBJ3L.js +0 -4
  1356. package/dist/kolibri/base-COT79ELt.js +0 -4
  1357. package/dist/kolibri/base-CsJWjTJl.js +0 -4
  1358. package/dist/kolibri/base-Df1bwC8d.js +0 -4
  1359. package/dist/kolibri/base-web-component-Bcoukts3.js +0 -4
  1360. package/dist/kolibri/base-web-component-C1XSz7ML.js +0 -4
  1361. package/dist/kolibri/base-web-component-cTyj95G-.js +0 -4
  1362. package/dist/kolibri/behavior-BMW-_4Oy.js +0 -4
  1363. package/dist/kolibri/behavior-BlS6DO8T.js +0 -4
  1364. package/dist/kolibri/behavior-Zr6qAX7F.js +0 -4
  1365. package/dist/kolibri/bem-registry-BlJAUViA.js +0 -4
  1366. package/dist/kolibri/block-bem-DXqmf3Te.js +0 -4
  1367. package/dist/kolibri/bootstrap-DTVsVq0w.js +0 -4
  1368. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  1369. package/dist/kolibri/color-9CMp_pOq.js +0 -4
  1370. package/dist/kolibri/common-D03JQJgy.js +0 -4
  1371. package/dist/kolibri/component-BkjWlzLc.js +0 -4
  1372. package/dist/kolibri/component-BmJGOcby.js +0 -4
  1373. package/dist/kolibri/component-C9mkZ63L.js +0 -4
  1374. package/dist/kolibri/component-C_Te18y_.js +0 -4
  1375. package/dist/kolibri/component-CySyXSru.js +0 -4
  1376. package/dist/kolibri/component-DHl33p9J.js +0 -4
  1377. package/dist/kolibri/component-DeWynlzi.js +0 -4
  1378. package/dist/kolibri/component-DqHI-AwD.js +0 -4
  1379. package/dist/kolibri/component-DxddScWx.js +0 -4
  1380. package/dist/kolibri/component-DzVHCXnG.js +0 -4
  1381. package/dist/kolibri/component-Ik_-HAMT.js +0 -4
  1382. package/dist/kolibri/component-YhEwg1LK.js +0 -4
  1383. package/dist/kolibri/component-names-Dhbtt0mX.js +0 -4
  1384. package/dist/kolibri/contrast-BK5uVXeb.js +0 -4
  1385. package/dist/kolibri/controller-Bf-CAo4Q.js +0 -4
  1386. package/dist/kolibri/dev.utils-BgjegQC8.js +0 -4
  1387. package/dist/kolibri/devtools-4nOArEGl.js +0 -4
  1388. package/dist/kolibri/disabled-BaPgTuFO.js +0 -4
  1389. package/dist/kolibri/element-focus-Cp994Rrk.js +0 -4
  1390. package/dist/kolibri/element-interaction-Cy9tx3Sx.js +0 -4
  1391. package/dist/kolibri/events-BIT-JUP2.js +0 -4
  1392. package/dist/kolibri/field-control-Brx62dJV.js +0 -4
  1393. package/dist/kolibri/group-Ce5pMiZJ.js +0 -4
  1394. package/dist/kolibri/has-closer-C9L79ect.js +0 -4
  1395. package/dist/kolibri/href-OaK1sDT5.js +0 -4
  1396. package/dist/kolibri/i18n-DRQl0u--.js +0 -4
  1397. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  1398. package/dist/kolibri/index-D5UV99lE.js +0 -6
  1399. package/dist/kolibri/input-DjQorwQ5.js +0 -4
  1400. package/dist/kolibri/input-container-RSmfcRgK.js +0 -4
  1401. package/dist/kolibri/isArray-CcrBs4JM.js +0 -4
  1402. package/dist/kolibri/item-2cprk9ut.js +0 -4
  1403. package/dist/kolibri/item-Bfk2xd-D.js +0 -4
  1404. package/dist/kolibri/item-D9_O5WAR.js +0 -4
  1405. package/dist/kolibri/item-DMWn_IlJ.js +0 -4
  1406. package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
  1407. package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
  1408. package/dist/kolibri/kol-click-button.entry.js +0 -4
  1409. package/dist/kolibri/kol-skeleton.entry.js +0 -4
  1410. package/dist/kolibri/kol-tooltip-wc.entry.js +0 -4
  1411. package/dist/kolibri/label-BNtqGdMQ.js +0 -4
  1412. package/dist/kolibri/label-with-expert-slot-aAOUzLo3.js +0 -4
  1413. package/dist/kolibri/level-Df663c7y.js +0 -4
  1414. package/dist/kolibri/link-target-C7_smSbV.js +0 -4
  1415. package/dist/kolibri/links-B0xbzBwU.js +0 -4
  1416. package/dist/kolibri/multiple-CYHm7rd3.js +0 -4
  1417. package/dist/kolibri/name-m3owaZxH.js +0 -4
  1418. package/dist/kolibri/number-value-CMedWR58.js +0 -4
  1419. package/dist/kolibri/open-DCGNTmvC.js +0 -4
  1420. package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
  1421. package/dist/kolibri/options-B0rBHetL.js +0 -4
  1422. package/dist/kolibri/options-CR431ims.js +0 -4
  1423. package/dist/kolibri/orientation-C9FRNmPD.js +0 -4
  1424. package/dist/kolibri/placeholder-Bwzvbwhh.js +0 -4
  1425. package/dist/kolibri/read-only-C5fDsZVK.js +0 -4
  1426. package/dist/kolibri/required-CC0212MQ.js +0 -4
  1427. package/dist/kolibri/resolve-props-47S-r31C.js +0 -4
  1428. package/dist/kolibri/resolve-props-CnHCiXuG.js +0 -4
  1429. package/dist/kolibri/rows-CUHDEUm9.js +0 -4
  1430. package/dist/kolibri/scroll-lock-DQGTnLvW.js +0 -4
  1431. package/dist/kolibri/smart-button-BHM06d-t.js +0 -4
  1432. package/dist/kolibri/spell-check-DiSedaOR.js +0 -4
  1433. package/dist/kolibri/src-CsLEg--w.js +0 -4
  1434. package/dist/kolibri/step-BxSThOke.js +0 -4
  1435. package/dist/kolibri/suggestions-B79TOsF_.js +0 -4
  1436. package/dist/kolibri/suggestions-C38q-5JU.js +0 -4
  1437. package/dist/kolibri/toggle-handler-CQ0FhBmD.js +0 -4
  1438. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
  1439. package/dist/kolibri/unique-nav-labels-Bh3w7dCH.js +0 -4
  1440. package/dist/kolibri/unit-BgjPEae-.js +0 -4
  1441. package/dist/kolibri/value-string-BDfywbme.js +0 -4
  1442. package/dist/kolibri/variant-PJN56KWi.js +0 -4
  1443. package/dist/kolibri/width-CAS8lhOU.js +0 -4
  1444. package/dist/types/components/@else/all/component.d.ts +0 -12
  1445. package/dist/types/components/@else/counter/component.d.ts +0 -9
  1446. package/dist/types/components/_skeleton/web-components/click-button/component.d.ts +0 -14
  1447. package/dist/types/components/_skeleton/web-components/skeleton/component.d.ts +0 -25
  1448. package/dist/types/components/component-list.d.ts +0 -7
  1449. package/dist/types/components/heading/validation.d.ts +0 -3
  1450. package/dist/types/components/tooltip/component.d.ts +0 -19
  1451. package/dist/types/functional-components/Heading/index.d.ts +0 -2
  1452. package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
  1453. package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
  1454. package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
  1455. package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
  1456. package/dist/types/internal/props/hints/index.d.ts +0 -1
  1457. package/dist/types/internal/props/pagination-label.d.ts +0 -3
  1458. package/dist/types/schema/components/input.d.ts +0 -0
  1459. package/dist/types/schema/props/table-header-cells.d.ts +0 -11
  1460. package/dist/types/schema/props/variant/spin.d.ts +0 -8
  1461. package/dist/types/schema/props/variant-quote.d.ts +0 -7
  1462. package/dist/types/schema/validators/window.d.ts +0 -0
  1463. package/doc/_skeleton.md +0 -79
  1464. package/doc/skeleton.md +0 -54
  1465. /package/dist/{types/internal/functional-components/form-field/custom-suggestions.test.d.ts → collection/schema/props/allow-markdown.js} +0 -0
  1466. /package/dist/{types/internal/functional-components/form-field/field-control.test.d.ts → collection/schema/props/boundary-count.js} +0 -0
  1467. /package/dist/{types/internal/functional-components/form-field/input-shell.test.d.ts → collection/schema/props/has-clear-button.js} +0 -0
  1468. /package/dist/{types/internal/functional-components/form-field/select.test.d.ts → collection/schema/props/high.js} +0 -0
  1469. /package/dist/{types/internal/functional-components/form-field/snapshot.test.d.ts → collection/schema/props/labeled.js} +0 -0
  1470. /package/dist/{types/internal/functional-components/form-field/textarea.test.d.ts → collection/schema/props/low.js} +0 -0
  1471. /package/dist/{types/internal/functional-components/popover/snapshot.test.d.ts → collection/schema/props/min.js} +0 -0
  1472. /package/dist/{types/internal/functional-components/span/snapshot.test.d.ts → collection/schema/props/optimum.js} +0 -0
@@ -4,7 +4,7 @@
4
4
  import { getCssStyle, patchTheme, patchThemeTag } from "adopted-style-sheets";
5
5
  import rgba from "rgba-convert";
6
6
  import { hex, score } from "wcag-contrast";
7
- import { getDocument, getExperimentalMode, Log } from "./dev.utils";
7
+ import { getDocument, getExperimentalMode, isValidationEnabled, Log } from "./dev.utils";
8
8
  import { devHint } from "./a11y.tipps";
9
9
  const OBJECT_OBJECT = /\[object Object\]/;
10
10
  export const objectObjectHandler = (value, cb) => {
@@ -75,6 +75,18 @@ const logWarn = (component, propName, value, requiredGeneric) => {
75
75
  devHint(`[${component.constructor.name}] The property value: (${value}) for '${propName}' is not valid. Allowed values are: ${Array.from(requiredGeneric).join(', ')}`);
76
76
  };
77
77
  export function watchValidator(component, propName, validationFunction, requiredGeneric, value, options = {}) {
78
+ if (!isValidationEnabled()) {
79
+ if (value !== undefined) {
80
+ setState(component, propName, value, options.hooks);
81
+ }
82
+ else if (validationFunction(undefined)) {
83
+ setState(component, propName, undefined, options.hooks);
84
+ }
85
+ else if (options.required !== true && validationFunction(options.defaultValue)) {
86
+ setState(component, propName, options.defaultValue, options.hooks);
87
+ }
88
+ return;
89
+ }
78
90
  if (validationFunction(value)) {
79
91
  setState(component, propName, value, options.hooks);
80
92
  }
@@ -115,9 +127,10 @@ export const watchJsonArrayString = (component, propName, itemValidation, value,
115
127
  catch (_a) {
116
128
  }
117
129
  if (Array.isArray(value)) {
118
- const invalidIndex = value.findIndex((item) => !itemValidation(item));
130
+ const skipValidation = !isValidationEnabled();
131
+ const invalidIndex = skipValidation ? -1 : value.findIndex((item) => !itemValidation(item));
119
132
  const invalid = invalidIndex === -1 ? undefined : value[invalidIndex];
120
- if (invalidIndex === -1 && arrayValidation(value)) {
133
+ if (invalidIndex === -1 && (skipValidation || arrayValidation(value))) {
121
134
  setState(component, propName, value, options.hooks);
122
135
  }
123
136
  else {
@@ -14,23 +14,11 @@ export const resolveTargets = (host, value) => {
14
14
  return [];
15
15
  const root = host === null || host === void 0 ? void 0 : host.getRootNode();
16
16
  const getById = (id) => {
17
- if (root instanceof Document)
17
+ if (typeof Document !== 'undefined' && root instanceof Document)
18
18
  return root.getElementById(id);
19
- if (root instanceof ShadowRoot)
19
+ if (typeof ShadowRoot !== 'undefined' && root instanceof ShadowRoot)
20
20
  return root.querySelector(`#${escapeCssIdentifier(id)}`);
21
21
  return typeof document !== 'undefined' ? document.getElementById(id) : null;
22
22
  };
23
23
  return ids.map(getById).filter((el) => !!el);
24
24
  };
25
- export const attachInternals = (host) => {
26
- const attach = host === null || host === void 0 ? void 0 : host.attachInternals;
27
- if (!attach)
28
- return undefined;
29
- try {
30
- const internals = attach.call(host);
31
- return internals;
32
- }
33
- catch (_a) {
34
- return undefined;
35
- }
36
- };
@@ -33,7 +33,6 @@ const getKoliBri = () => {
33
33
  }
34
34
  return kolibri;
35
35
  };
36
- export { getKoliBri };
37
36
  const LOGO = `
38
37
  ,--. ,--. ,--. ,--. ,-----. ,--.
39
38
  | .' / ,---. | | \`--' | |) /_ ,--.--. \`--'
@@ -65,6 +65,29 @@ function isActiveElement(element) {
65
65
  }
66
66
  return document.activeElement === element;
67
67
  }
68
+ function deepActiveElement(document_ = document) {
69
+ var _a;
70
+ let active = document_.activeElement;
71
+ while ((_a = active === null || active === void 0 ? void 0 : active.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) {
72
+ active = active.shadowRoot.activeElement;
73
+ }
74
+ return active;
75
+ }
76
+ export function containsDeepActiveElement(container) {
77
+ const active = deepActiveElement();
78
+ if (!active || !container) {
79
+ return false;
80
+ }
81
+ let node = active;
82
+ while (node) {
83
+ if (node === container) {
84
+ return true;
85
+ }
86
+ const root = node.getRootNode();
87
+ node = root instanceof ShadowRoot ? root.host : node.parentElement;
88
+ }
89
+ return false;
90
+ }
68
91
  const FOCUS_OPTIONS = {
69
92
  preventScroll: true,
70
93
  };
@@ -52,13 +52,6 @@ export function delegateFocus(refPropName) {
52
52
  });
53
53
  });
54
54
  }
55
- export function ctrlFocus(ctrlPropName) {
56
- return makeFocusDecorator(async (self, options) => {
57
- var _a;
58
- const ctrl = self[ctrlPropName];
59
- await ((_a = ctrl === null || ctrl === void 0 ? void 0 : ctrl.focus) === null || _a === void 0 ? void 0 : _a.call(ctrl, options));
60
- });
61
- }
62
55
  export function delegateClick(refPropName) {
63
56
  return makeMethodDecorator((self) => delegateClickImpl(self['host'], () => {
64
57
  const element = self[refPropName].el;
@@ -29,4 +29,4 @@ function waitForThemed(host) {
29
29
  }, MAX_TIMEOUT_DURATION);
30
30
  });
31
31
  }
32
- export { MAX_TIMEOUT_DURATION, waitForThemed };
32
+ export { waitForThemed };
@@ -1,6 +1,52 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import MarkdownIt from "markdown-it";
5
- const markdown = new MarkdownIt();
6
- export const md = (str) => markdown.renderInline(str);
4
+ const NULL_CHARACTERS = new RegExp(String.fromCharCode(0), 'g');
5
+ const REPLACEMENT_CHARACTER = String.fromCharCode(65533);
6
+ const NAMED_ENTITIES = {
7
+ amp: '&',
8
+ apos: "'",
9
+ gt: '>',
10
+ lt: '<',
11
+ nbsp: String.fromCharCode(160),
12
+ quot: '"',
13
+ };
14
+ const decodeCodePoint = (code) => Number.isInteger(code) && code >= 32 && code <= 0x10ffff && !(code >= 0xd800 && code <= 0xdfff) ? String.fromCodePoint(code) : undefined;
15
+ const decodeEntities = (str) => str
16
+ .replace(/&#(\d+);/g, (reference, code) => { var _a; return (_a = decodeCodePoint(Number.parseInt(code, 10))) !== null && _a !== void 0 ? _a : reference; })
17
+ .replace(/&#x([0-9a-f]+);/gi, (reference, code) => { var _a; return (_a = decodeCodePoint(Number.parseInt(code, 16))) !== null && _a !== void 0 ? _a : reference; })
18
+ .replace(/&([a-z]+);/gi, (reference, name) => { var _a; return (_a = NAMED_ENTITIES[name.toLowerCase()]) !== null && _a !== void 0 ? _a : reference; });
19
+ const escapeHtml = (str) => str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
20
+ const DELIMITER_NEIGHBOUR = '\\s!-/:-@\\[-^`{-~';
21
+ const OPENER_PREFIX = `(^|[${DELIMITER_NEIGHBOUR}])`;
22
+ const CLOSER_SUFFIX = `(?=$|[${DELIMITER_NEIGHBOUR}])`;
23
+ const CONTENT = '\\S(?:[\\s\\S]*\\S)?';
24
+ const HARD_BREAK = /[ \t]{2,}\n/g;
25
+ const STRIKETHROUGH = new RegExp(`~~(${CONTENT})~~`, 'g');
26
+ const ASTERISK_STRONG = new RegExp(`\\*\\*(${CONTENT})\\*\\*`, 'g');
27
+ const ASTERISK_EM = /\*([^\s*](?:[^*]*[^\s*])?)\*/g;
28
+ const TRIPLE_ASTERISK_STRONG_EM = new RegExp(`\\*\\*\\*(${CONTENT})\\*\\*\\*`, 'g');
29
+ const UNDERSCORE_STRONG = new RegExp(`${OPENER_PREFIX}__(${CONTENT})__${CLOSER_SUFFIX}`, 'g');
30
+ const UNDERSCORE_EM = new RegExp(`${OPENER_PREFIX}_([^\\s_](?:[^_]*[^\\s_])?)_${CLOSER_SUFFIX}`, 'g');
31
+ const TRIPLE_UNDERSCORE_STRONG_EM = new RegExp(`${OPENER_PREFIX}___(${CONTENT})___${CLOSER_SUFFIX}`, 'g');
32
+ const formatInline = (str) => str
33
+ .replace(HARD_BREAK, '<br>\n')
34
+ .replace(TRIPLE_ASTERISK_STRONG_EM, '<em><strong>$1</strong></em>')
35
+ .replace(TRIPLE_UNDERSCORE_STRONG_EM, '$1<em><strong>$2</strong></em>')
36
+ .replace(STRIKETHROUGH, '<s>$1</s>')
37
+ .replace(ASTERISK_STRONG, '<strong>$1</strong>')
38
+ .replace(UNDERSCORE_STRONG, '$1<strong>$2</strong>')
39
+ .replace(ASTERISK_EM, '<em>$1</em>')
40
+ .replace(UNDERSCORE_EM, '$1<em>$2</em>');
41
+ export const md = (str) => {
42
+ const escapedMarkers = [];
43
+ return (escapeHtml(decodeEntities(str.replace(/\r\n?/g, '\n').replace(NULL_CHARACTERS, REPLACEMENT_CHARACTER)))
44
+ .replace(/\\([\\`*_~[\]()#+\-.!>{}])/g, (_match, marker) => {
45
+ escapedMarkers.push(marker);
46
+ return `<${escapedMarkers.length - 1}>`;
47
+ })
48
+ .split(/(`[^`]+`)/)
49
+ .map((segment, index) => (index % 2 === 0 ? formatInline(segment) : `<code>${segment.slice(1, -1)}</code>`))
50
+ .join('')
51
+ .replace(/<(\d+)>/g, (_match, index) => { var _a; return (_a = escapedMarkers[Number.parseInt(index, 10)]) !== null && _a !== void 0 ? _a : ''; }));
52
+ };
@@ -33,6 +33,7 @@ export function executeInputSnapshotTests(ComponentName, components, extendedPro
33
33
  icon: 'codicon codicon-arrow-right',
34
34
  },
35
35
  } }),
36
+ Object.assign(Object.assign({}, baseObj), { _label: [{ text: 'partly english', lang: 'en' }, { text: ' Label' }] }),
36
37
  ];
37
38
  if (options === null || options === void 0 ? void 0 : options.hasSmartButton) {
38
39
  propVariants.push(Object.assign(Object.assign({}, baseObj), { _smartButton: {
@@ -19,5 +19,22 @@ export const executeSnapshotTests = (ComponentName, components, propVariants) =>
19
19
  await page.waitForChanges();
20
20
  expect(page.root).toMatchSnapshot();
21
21
  });
22
+ it.each(testTable)('should keep assigning props %s before the first render silent', async (_, props) => {
23
+ const page = await newSpecPage({
24
+ components,
25
+ html: '<div></div>',
26
+ });
27
+ const errorSpy = jest.spyOn(console, 'error').mockImplementation(() => undefined);
28
+ const element = page.doc.createElement(ComponentName);
29
+ page.body.appendChild(element);
30
+ Object.assign(element, props);
31
+ await page.waitForChanges();
32
+ try {
33
+ expect(errorSpy).not.toHaveBeenCalled();
34
+ }
35
+ finally {
36
+ errorSpy.mockRestore();
37
+ }
38
+ });
22
39
  });
23
40
  };
@@ -1,16 +1,17 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- let openTooltips = 0;
4
+ import { getSharedState } from "../core/shared-state";
5
+ const shared = getSharedState('tooltips', () => ({ open: 0 }));
5
6
  export const tooltipOpened = () => {
6
- openTooltips++;
7
+ shared.open++;
7
8
  };
8
9
  export const tooltipClosed = () => {
9
- openTooltips = Math.max(0, openTooltips - 1);
10
+ shared.open = Math.max(0, shared.open - 1);
10
11
  };
11
12
  export const handleCancelOverlay = (event) => {
12
- if (openTooltips > 0) {
13
+ if (shared.open > 0) {
13
14
  event.preventDefault();
14
15
  }
15
16
  };
16
- export const isTooltipOpen = () => openTooltips > 0;
17
+ export const isTooltipOpen = () => shared.open > 0;
@@ -1,16 +1,18 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { Log } from "../schema";
4
+ import { Log, trimLabel } from "../schema";
5
5
  const UNIQUE_LABELS = new Set();
6
6
  export function addNavLabel(ariaLabel) {
7
- if (UNIQUE_LABELS.has(ariaLabel)) {
8
- Log.warn(`There already is a nav element with the label "${ariaLabel}"`);
7
+ const trimmedLabel = trimLabel(ariaLabel);
8
+ if (UNIQUE_LABELS.has(trimmedLabel)) {
9
+ Log.warn(`There already is a nav element with the label "${trimmedLabel}"`);
9
10
  }
10
11
  else {
11
- UNIQUE_LABELS.add(ariaLabel);
12
+ UNIQUE_LABELS.add(trimmedLabel);
12
13
  }
13
14
  }
14
15
  export function removeNavLabel(ariaLabel) {
15
- UNIQUE_LABELS.delete(ariaLabel);
16
+ const trimmedLabel = trimLabel(ariaLabel);
17
+ UNIQUE_LABELS.delete(trimmedLabel);
16
18
  }
@@ -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 l}from"@stencil/core/internal/client";import{c as s}from"./clsx.js";const a=1;function r(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const n=(n,o)=>{var{class:c,level:t=a}=n,i=e(n,["class","level"]);const d=r(t);return l(d,Object.assign({class:s("kol-headline",`kol-headline--${d}`,c)},i),o)},o=(a,r)=>{var{class:n}=a,o=e(a,["class"]);return l("p",Object.assign({class:s("kol-headline kol-headline--group kol-headline--secondary",n)},o),r)},c=(r,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=r,h=e(r,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const g=Object.assign({level:i},h);if(!t)return l(n,Object.assign({class:s(d,"kol-headline--single")},g),c);const{class:j}=p,b=e(p,["class"]),k=Object.assign({class:s("kol-heading-group",j)},b);return l("hgroup",Object.assign({},k),l(n,Object.assign({class:s(d,"kol-headline--group","kol-headline--primary")},g),c),l(o,Object.assign({},u),t))};export{c as K,r as g}
4
+ import{h as e}from"./common.js";import{a as s}from"./tslib.es6.js";import{f as l}from"./base-web-component.js";const a=1;function o(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const n=(n,r)=>{var{class:c,level:t=a}=n,i=s(n,["class","level"]);const d=o(t);return e(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),r)},r=(a,o)=>{var{class:n}=a,r=s(a,["class"]);return e("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",n)},r),o)},c=(o,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=o,b=s(o,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const h=Object.assign({level:i},b);if(!t)return e(n,Object.assign({class:l(d,"kol-headline--single")},h),c);const{class:j}=p,g=s(p,["class"]),m=Object.assign({class:l("kol-heading-group",j)},g);return e("hgroup",Object.assign({},m),e(n,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},h),c),e(r,Object.assign({},u),t))};export{c as K,o as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const e=(e,o)=>{if(e&&o)throw new Error("AccessKey and ShortKey are used. Only one is allowed.")};export{e as v}
4
+ import"./common.js";const o=(o,e)=>{if(o&&e)throw new Error("AccessKey and ShortKey are used. Only one is allowed.")};export{o as v}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- let s;const t=[],o=o=>{s=o,t.forEach((s=>{s(o)}))},e=(o,e=!0)=>(e&&"string"==typeof s&&o(s),t.push(o),()=>{const s=t.indexOf(o);s>=0&&t.splice(s,1)});export{e as o,o as s}
4
+ import{g as s}from"./shared-state.js";import"./common.js";const o=s("location",(()=>({subscribers:[]}))),t=s=>{o.current=s,o.subscribers.forEach((o=>{o(s)}))},r=(s,t=!0)=>(t&&"string"==typeof o.current&&s(o.current),o.subscribers.push(s),()=>{const t=o.subscribers.indexOf(s);t>=0&&o.subscribers.splice(t,1)});export{r as o,t as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{k as t,l as r,m as n,n as e,r as o}from"./common.js";import{b as i,r as u,i as a,f as c,a as s,S as f}from"./isArray.js";import{HTMLElement as l}from"@stencil/core/internal/client";function h(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function v(t){if(!h(t))return!1;var r=i(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var b,p=u["__core-js_shared__"],d=(b=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",y=Function.prototype.toString;function j(t){if(null!=t){try{return y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var w=/^\[object .+?Constructor\]$/,m=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(t,r){var n=function(t,r){return null==t?void 0:t[r]}(t,r);return function(t){return!(!h(t)||(r=t,d&&d in r))&&(v(t)?m:w).test(j(t));var r}(n)?n:void 0}var O=g(u,"WeakMap"),$=Object.create,S=function(){function t(){}return function(r){if(!h(r))return{};if($)return $(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}(),x=function(){try{var t=g(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),A=/^(?:0|[1-9]\d*)$/;function N(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&A.test(t))&&t>-1&&t%1==0&&t<r}function _(t,r){return t===r||t!=t&&r!=r}var E=Object.prototype.hasOwnProperty;function M(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var I=Object.prototype;function P(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||I)}function F(t){return a(t)&&"[object Arguments]"==i(t)}var k=Object.prototype,D=k.hasOwnProperty,R=k.propertyIsEnumerable,B=F(function(){return arguments}())?F:function(t){return a(t)&&D.call(t,"callee")&&!R.call(t,"callee")},T="object"==typeof exports&&exports&&!exports.nodeType&&exports,z=T&&"object"==typeof module&&module&&!module.nodeType&&module,J=z&&z.exports===T?u.Buffer:void 0,V=(J?J.isBuffer:void 0)||function(){return!1},U={};function C(t){return function(r){return t(r)}}U["[object Float32Array]"]=U["[object Float64Array]"]=U["[object Int8Array]"]=U["[object Int16Array]"]=U["[object Int32Array]"]=U["[object Uint8Array]"]=U["[object Uint8ClampedArray]"]=U["[object Uint16Array]"]=U["[object Uint32Array]"]=!0,U["[object Arguments]"]=U["[object Array]"]=U["[object ArrayBuffer]"]=U["[object Boolean]"]=U["[object DataView]"]=U["[object Date]"]=U["[object Error]"]=U["[object Function]"]=U["[object Map]"]=U["[object Number]"]=U["[object Object]"]=U["[object RegExp]"]=U["[object Set]"]=U["[object String]"]=U["[object WeakMap]"]=!1;var q="object"==typeof exports&&exports&&!exports.nodeType&&exports,G=q&&"object"==typeof module&&module&&!module.nodeType&&module,K=G&&G.exports===q&&c.process,W=function(){try{return G&&G.require&&G.require("util").types||K&&K.binding&&K.binding("util")}catch(t){}}(),L=W&&W.isTypedArray,H=L?C(L):function(t){return a(t)&&M(t.length)&&!!U[i(t)]},Q=Object.prototype.hasOwnProperty;function X(t,r){return function(n){return t(r(n))}}var Y=X(Object.keys,Object),Z=Object.prototype.hasOwnProperty;function tt(t){return null!=(r=t)&&M(r.length)&&!v(r)?function(t){var r=s(t),n=!r&&B(t),e=!r&&!n&&V(t),o=!r&&!n&&!e&&H(t),i=r||n||e||o,u=i?function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}(t.length,String):[],a=u.length;for(var c in t)!Q.call(t,c)||i&&("length"==c||e&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||N(c,a))||u.push(c);return u}(t):function(t){if(!P(t))return Y(t);var r=[];for(var n in Object(t))Z.call(t,n)&&"constructor"!=n&&r.push(n);return r}(t);var r}var rt=g(Object,"create"),nt=Object.prototype.hasOwnProperty,et=Object.prototype.hasOwnProperty;function ot(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function it(t,r){for(var n=t.length;n--;)if(_(t[n][0],r))return n;return-1}ot.prototype.clear=function(){this.__data__=rt?rt(null):{},this.size=0},ot.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},ot.prototype.get=function(t){var r=this.__data__;if(rt){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return nt.call(r,t)?r[t]:void 0},ot.prototype.has=function(t){var r=this.__data__;return rt?void 0!==r[t]:et.call(r,t)},ot.prototype.set=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=rt&&void 0===r?"__lodash_hash_undefined__":r,this};var ut=Array.prototype.splice;function at(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}at.prototype.clear=function(){this.__data__=[],this.size=0},at.prototype.delete=function(t){var r=this.__data__,n=it(r,t);return!(n<0||(n==r.length-1?r.pop():ut.call(r,n,1),--this.size,0))},at.prototype.get=function(t){var r=this.__data__,n=it(r,t);return n<0?void 0:r[n][1]},at.prototype.has=function(t){return it(this.__data__,t)>-1},at.prototype.set=function(t,r){var n=this.__data__,e=it(n,t);return e<0?(++this.size,n.push([t,r])):n[e][1]=r,this};var ct=g(u,"Map");function st(t,r){var n,e,o=t.__data__;return("string"==(e=typeof(n=r))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function ft(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}ft.prototype.clear=function(){this.size=0,this.__data__={hash:new ot,map:new(ct||at),string:new ot}},ft.prototype.delete=function(t){var r=st(this,t).delete(t);return this.size-=r?1:0,r},ft.prototype.get=function(t){return st(this,t).get(t)},ft.prototype.has=function(t){return st(this,t).has(t)},ft.prototype.set=function(t,r){var n=st(this,t),e=n.size;return n.set(t,r),this.size+=n.size==e?0:1,this};var lt=X(Object.getPrototypeOf,Object);function ht(t){var r=this.__data__=new at(t);this.size=r.size}ht.prototype.clear=function(){this.__data__=new at,this.size=0},ht.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},ht.prototype.get=function(t){return this.__data__.get(t)},ht.prototype.has=function(t){return this.__data__.has(t)},ht.prototype.set=function(t,r){var n=this.__data__;if(n instanceof at){var e=n.__data__;if(!ct||e.length<199)return e.push([t,r]),this.size=++n.size,this;n=this.__data__=new ft(e)}return n.set(t,r),this.size=n.size,this},"object"==typeof exports&&exports&&!exports.nodeType&&exports&&"object"==typeof module&&module&&!module.nodeType&&module;var vt=Object.prototype.propertyIsEnumerable,bt=Object.getOwnPropertySymbols,pt=bt?function(t){return null==t?[]:(t=Object(t),function(r){for(var n=-1,e=null==r?0:r.length,o=0,i=[];++n<e;){var u=r[n];vt.call(t,u)&&(i[o++]=u)}return i}(bt(t)))}:function(){return[]};var dt=g(u,"DataView"),yt=g(u,"Promise"),jt=g(u,"Set"),wt="[object Map]",mt="[object Promise]",gt="[object Set]",Ot="[object WeakMap]",$t="[object DataView]",St=j(dt),xt=j(ct),At=j(yt),Nt=j(jt),_t=j(O),Et=i;(dt&&Et(new dt(new ArrayBuffer(1)))!=$t||ct&&Et(new ct)!=wt||yt&&Et(yt.resolve())!=mt||jt&&Et(new jt)!=gt||O&&Et(new O)!=Ot)&&(Et=function(t){var r=i(t),n="[object Object]"==r?t.constructor:void 0,e=n?j(n):"";if(e)switch(e){case St:return $t;case xt:return wt;case At:return mt;case Nt:return gt;case _t:return Ot}return r});var Mt=Object.prototype.hasOwnProperty,It=u.Uint8Array;function Pt(t){var r=new t.constructor(t.byteLength);return new It(r).set(new It(t)),r}var Ft=/\w*$/,kt=f?f.prototype:void 0,Dt=kt?kt.valueOf:void 0;var Rt=W&&W.isMap,Bt=Rt?C(Rt):function(t){return a(t)&&"[object Map]"==Et(t)},Tt=W&&W.isSet,zt=Tt?C(Tt):function(t){return a(t)&&"[object Set]"==Et(t)},Jt="[object Arguments]",Vt="[object Function]",Ut="[object Object]",Ct={};function qt(t,r,n,e,o,i){var u;if(void 0!==u)return u;if(!h(t))return t;var a=s(t);if(a)u=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&Mt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t);else{var c=Et(t),f=c==Vt||"[object GeneratorFunction]"==c;if(V(t))return t.slice();if(c==Ut||c==Jt||f&&!o)u=f?{}:function(t){return"function"!=typeof t.constructor||P(t)?{}:S(lt(t))}(t);else{if(!Ct[c])return o?t:{};u=function(t,r){var n,e,o,i,u=t.constructor;switch(r){case"[object ArrayBuffer]":return Pt(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i=Pt((o=t).buffer),new o.constructor(i,o.byteOffset,o.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t){var r=Pt(t.buffer);return new t.constructor(r,t.byteOffset,t.length)}(t);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return(e=new(n=t).constructor(n.source,Ft.exec(n))).lastIndex=n.lastIndex,e;case"[object Symbol]":return Dt?Object(Dt.call(t)):{}}}(t,c)}}i||(i=new ht);var l=i.get(t);if(l)return l;i.set(t,u),zt(t)?t.forEach((function(e){u.add(qt(e,r,n,0,t,i))})):Bt(t)&&t.forEach((function(e,o){u.set(o,qt(e,r,n,0,t,i))}));var v=a?void 0:function(t){return function(t,r,n){var e=tt(t);return s(t)?e:function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}(e,n(t))}(t,0,pt)}(t);return function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n););}(v||t,(function(e,o){v&&(e=t[o=e]),function(t,r,n){var e=t[r];E.call(t,r)&&_(e,n)&&(void 0!==n||r in t)||function(t,r,n){"__proto__"==r&&x?x(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}(t,r,n)}(u,o,qt(e,r,n,0,t,i))})),u}function Gt(t){return qt(t,5)}function Kt(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);throw new TypeError(`Cannot convert ${typeof t} to string`)}function Wt(t){let r;try{r=Lt(t)}catch(r){throw new Error(`Invalid integer: ${String(t)}`)}return Number.isInteger(r)?r:Math.round(r)}function Lt(t){if("number"==typeof t&&!isNaN(t))return t;if("string"==typeof t&&""!==t.trim()){const r=Number(t);if(!isNaN(r))return r}throw new Error(`Invalid number: ${String(t)}`)}function Ht(t){if("number"==typeof t&&!isNaN(t))return t;throw new Error(`Invalid number: ${String(t)}`)}Ct[Jt]=Ct["[object Array]"]=Ct["[object ArrayBuffer]"]=Ct["[object DataView]"]=Ct["[object Boolean]"]=Ct["[object Date]"]=Ct["[object Float32Array]"]=Ct["[object Float64Array]"]=Ct["[object Int8Array]"]=Ct["[object Int16Array]"]=Ct["[object Int32Array]"]=Ct["[object Map]"]=Ct["[object Number]"]=Ct[Ut]=Ct["[object RegExp]"]=Ct["[object Set]"]=Ct["[object String]"]=Ct["[object Symbol]"]=Ct["[object Uint8Array]"]=Ct["[object Uint8ClampedArray]"]=Ct["[object Uint16Array]"]=Ct["[object Uint32Array]"]=!0,Ct["[object Error]"]=Ct[Vt]=Ct["[object WeakMap]"]=!1;const Qt=/^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;function Xt(t){return"string"==typeof t&&Qt.test(t)&&Number.isFinite(Number(t))}function Yt(t){if("number"==typeof t)return isNaN(t)?void 0:t;if(Xt(t))return parseFloat(t);throw new Error(`Invalid number: ${t}`)}function Zt(t){if("boolean"==typeof t)return t;if("string"==typeof t){const r=t.toLowerCase();if("true"===r||"false"===r)return"true"===r}throw new Error(`Invalid boolean: ${String(t)}`)}function tr(t,r){if(!0===t||"true"===t)return"true";if(!1===t||"false"===t)return"false";if(""===t)return"";throw new Error(`Invalid ${r} value: expected a boolean, got ${JSON.stringify(t)}`)}function rr(t,r){return"string"==typeof t&&r.includes(t)}function nr(r){if(t(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n))return n}throw new Error(`Invalid object: ${r}`)}function er(r){if(t(r)&&Array.isArray(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n)&&Array.isArray(n))return n}throw new Error(`Invalid array: ${r}`)}function or(t){if("object"==typeof t&&null!==t)return t;throw new Error("Invalid on callbacks: expected object, got "+typeof t)}function ir(t){try{return JSON.stringify(t)}catch(t){return"[unserializable]"}}function ur(t,n,e){const o=e instanceof Error?` (${e.message})`:"";r(`The property value ${ir(n)} for '${t}' is not valid${o}. The value is ignored.`)}function ar(t,n,e,o=()=>!0,i){return{propName:t,getDefaultValue:h(n)?()=>Gt(n):()=>n,normalize:e,validate:o,apply(e,o){var u;if(null!=e)try{const r=this.normalize(e);this.validate(r)?(null===(u=null==i?void 0:i.hints)||void 0===u||u.call(i,this.propName,r),o(r)):ur(t,e)}catch(r){ur(t,e,r)}else{(null==i?void 0:i.required)&&r(`The required property '_${t}' did not receive a value. The default value is used instead.`);const e=this.getDefaultValue();if(!this.validate(e))throw new Error(`Default value ${ir(n)} is invalid for prop definition '${t}'.`);o(e)}}}}function cr(t,r,n,e=()=>!0){return{propName:t,getDefaultValue:h(r)?()=>Gt(r):()=>r,normalize:n,validate:e,apply(n,e,o){if(null!=n)try{const r=this.normalize(n,o);this.validate(r,o)?e(r):ur(t,n)}catch(r){ur(t,n,r)}else{const n=this.getDefaultValue();if(!this.validate(n,o))throw new Error(`Default value ${ir(r)} is invalid for prop definition '${t}' with dependencies ${ir(o)}.`);e(n)}}}}function sr(){return ar("on",{},(t=>or(t)))}function fr(t){var r;Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var i=n(t);if(!i.space)return[];const u="h"===i.space[0]?e.min:o.min,a="h"===i.space[0]?e.max:o.max;return(r=Array(3))[0]=Math.min(Math.max(i.values[0],u[0]),a[0]),r[1]=Math.min(Math.max(i.values[1],u[1]),a[1]),r[2]=Math.min(Math.max(i.values[2],u[2]),a[2]),"h"===i.space[0]&&(r=e.rgb(r)),r.push(Math.min(Math.max(i.alpha,0),1)),r}const lr=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i,hr=t=>"object"==typeof t&&null!==t&&"string"==typeof t.backgroundColor&&"string"==typeof t.foregroundColor,vr=t=>{const r=fr(t);if(!Array.isArray(r)||r.length<3)throw new Error(`Invalid KoliBri color: ${t}`);const[n,e,o]=r;return{red:n,green:e,blue:o}},br=ar("color",vr("#003c78"),(t=>{if("string"==typeof t&&lr.test(t))return vr(t);const r=hr(t)?t:"string"==typeof t?(t=>{if(t.startsWith("{"))try{const r=JSON.parse(t);return hr(r)?r:void 0}catch(t){return}})(t):void 0;if(r)return vr(r.foregroundColor);throw new Error("Invalid KoliBri color: expected a hex string or a color pair.")})),pr=new Set(["eager","lazy"]),dr=ar("loading","lazy",(t=>Kt(t)),(t=>pr.has(t)));function yr(t,r){return t<r.min?r.min:t>r.max?r.max:t}const jr=cr("value",0,((t,r)=>yr(Lt(t),r)),(t=>"number"==typeof t&&!isNaN(t))),wr=Object.assign(Object.assign({},jr),{apply(t,r,n){jr.apply(t,(t=>r(yr(t,n))),n)}}),mr=new Set(["blank","card"]),gr=ar("variant","blank",(t=>Kt(t)),(t=>mr.has(t))),Or=new Set(["block","inline"]),$r=ar("variant","inline",(t=>Kt(t)),(t=>Or.has(t)));function Sr(t){var r,n;const e={};for(const o of[...null!==(r=t.required)&&void 0!==r?r:[],...null!==(n=t.optional)&&void 0!==n?n:[]])e[o.propName]=o.getDefaultValue();return e}function xr(){throw new Error("This behavior does not use component state.")}const Ar=class extends l{constructor(){super(!1),this.rawProps={},this.setState=(t,r)=>{this[t]=r},this.getState=t=>this[t],this.stateAccess={setState:this.setState,getState:this.getState}}initRenderProps(t){this.renderProps=Sr(t)}setRawProp(t,r){this.rawProps[t]=r}getRawProp(t){return this.rawProps[t]}setRenderProp(t,r){this.renderProps&&(this.renderProps[t]=r)}unsetRenderProp(t){this.renderProps&&(this.renderProps[t]=void 0)}getRenderProp(t){return this.renderProps[t]}};Ar.stateLess=Object.freeze({setState:xr,getState:xr});export{Ar as B,sr as a,Kt as b,ar as c,Sr as d,er as e,cr as f,Yt as g,Xt as h,rr as i,Wt as j,br as k,dr as l,tr as m,Zt as n,nr as o,Lt as p,wr as q,fr as r,Ht as s,$r as t,or as u,gr as v}
4
+ import{u as t,v as r,x as n,y as e,z as o,h as i,A as u}from"./common.js";import{b as a}from"./bem-registry.js";var c="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),l=f.Symbol,v=Object.prototype,h=v.hasOwnProperty,b=v.toString,p=l?l.toStringTag:void 0,d=Object.prototype.toString,y=l?l.toStringTag:void 0;function j(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":y&&y in Object(t)?function(t){var r=h.call(t,p),n=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=b.call(t);return e&&(r?t[p]=n:delete t[p]),o}(t):function(t){return d.call(t)}(t)}function w(t){return null!=t&&"object"==typeof t}var g=Array.isArray;function m(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function O(t){if(!m(t))return!1;var r=j(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var $,A=f["__core-js_shared__"],S=($=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"",x=Function.prototype.toString;function N(t){if(null!=t){try{return x.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var _=/^\[object .+?Constructor\]$/,E=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function M(t,r){var n=function(t,r){return null==t?void 0:t[r]}(t,r);return function(t){return!(!m(t)||(r=t,S&&S in r))&&(O(t)?E:_).test(N(t));var r}(n)?n:void 0}var I=M(f,"WeakMap"),F=Object.create,P=function(){function t(){}return function(r){if(!m(r))return{};if(F)return F(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}(),D=function(){try{var t=M(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),R=/^(?:0|[1-9]\d*)$/;function k(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&R.test(t))&&t>-1&&t%1==0&&t<r}function z(t,r){return t===r||t!=t&&r!=r}var T=Object.prototype.hasOwnProperty;function B(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var J=Object.prototype;function C(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||J)}function U(t){return w(t)&&"[object Arguments]"==j(t)}var V=Object.prototype,q=V.hasOwnProperty,G=V.propertyIsEnumerable,K=U(function(){return arguments}())?U:function(t){return w(t)&&q.call(t,"callee")&&!G.call(t,"callee")},W="object"==typeof exports&&exports&&!exports.nodeType&&exports,H=W&&"object"==typeof module&&module&&!module.nodeType&&module,L=H&&H.exports===W?f.Buffer:void 0,Z=(L?L.isBuffer:void 0)||function(){return!1},Q={};function X(t){return function(r){return t(r)}}Q["[object Float32Array]"]=Q["[object Float64Array]"]=Q["[object Int8Array]"]=Q["[object Int16Array]"]=Q["[object Int32Array]"]=Q["[object Uint8Array]"]=Q["[object Uint8ClampedArray]"]=Q["[object Uint16Array]"]=Q["[object Uint32Array]"]=!0,Q["[object Arguments]"]=Q["[object Array]"]=Q["[object ArrayBuffer]"]=Q["[object Boolean]"]=Q["[object DataView]"]=Q["[object Date]"]=Q["[object Error]"]=Q["[object Function]"]=Q["[object Map]"]=Q["[object Number]"]=Q["[object Object]"]=Q["[object RegExp]"]=Q["[object Set]"]=Q["[object String]"]=Q["[object WeakMap]"]=!1;var Y="object"==typeof exports&&exports&&!exports.nodeType&&exports,tt=Y&&"object"==typeof module&&module&&!module.nodeType&&module,rt=tt&&tt.exports===Y&&c.process,nt=function(){try{return tt&&tt.require&&tt.require("util").types||rt&&rt.binding&&rt.binding("util")}catch(t){}}(),et=nt&&nt.isTypedArray,ot=et?X(et):function(t){return w(t)&&B(t.length)&&!!Q[j(t)]},it=Object.prototype.hasOwnProperty;function ut(t,r){return function(n){return t(r(n))}}var at=ut(Object.keys,Object),ct=Object.prototype.hasOwnProperty;function st(t){return null!=(r=t)&&B(r.length)&&!O(r)?function(t){var r=g(t),n=!r&&K(t),e=!r&&!n&&Z(t),o=!r&&!n&&!e&&ot(t),i=r||n||e||o,u=i?function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}(t.length,String):[],a=u.length;for(var c in t)!it.call(t,c)||i&&("length"==c||e&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||k(c,a))||u.push(c);return u}(t):function(t){if(!C(t))return at(t);var r=[];for(var n in Object(t))ct.call(t,n)&&"constructor"!=n&&r.push(n);return r}(t);var r}var ft=M(Object,"create"),lt=Object.prototype.hasOwnProperty,vt=Object.prototype.hasOwnProperty;function ht(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function bt(t,r){for(var n=t.length;n--;)if(z(t[n][0],r))return n;return-1}ht.prototype.clear=function(){this.__data__=ft?ft(null):{},this.size=0},ht.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},ht.prototype.get=function(t){var r=this.__data__;if(ft){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return lt.call(r,t)?r[t]:void 0},ht.prototype.has=function(t){var r=this.__data__;return ft?void 0!==r[t]:vt.call(r,t)},ht.prototype.set=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ft&&void 0===r?"__lodash_hash_undefined__":r,this};var pt=Array.prototype.splice;function dt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}dt.prototype.clear=function(){this.__data__=[],this.size=0},dt.prototype.delete=function(t){var r=this.__data__,n=bt(r,t);return!(n<0||(n==r.length-1?r.pop():pt.call(r,n,1),--this.size,0))},dt.prototype.get=function(t){var r=this.__data__,n=bt(r,t);return n<0?void 0:r[n][1]},dt.prototype.has=function(t){return bt(this.__data__,t)>-1},dt.prototype.set=function(t,r){var n=this.__data__,e=bt(n,t);return e<0?(++this.size,n.push([t,r])):n[e][1]=r,this};var yt=M(f,"Map");function jt(t,r){var n,e,o=t.__data__;return("string"==(e=typeof(n=r))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function wt(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}wt.prototype.clear=function(){this.size=0,this.__data__={hash:new ht,map:new(yt||dt),string:new ht}},wt.prototype.delete=function(t){var r=jt(this,t).delete(t);return this.size-=r?1:0,r},wt.prototype.get=function(t){return jt(this,t).get(t)},wt.prototype.has=function(t){return jt(this,t).has(t)},wt.prototype.set=function(t,r){var n=jt(this,t),e=n.size;return n.set(t,r),this.size+=n.size==e?0:1,this};var gt=ut(Object.getPrototypeOf,Object);function mt(t){var r=this.__data__=new dt(t);this.size=r.size}mt.prototype.clear=function(){this.__data__=new dt,this.size=0},mt.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},mt.prototype.get=function(t){return this.__data__.get(t)},mt.prototype.has=function(t){return this.__data__.has(t)},mt.prototype.set=function(t,r){var n=this.__data__;if(n instanceof dt){var e=n.__data__;if(!yt||e.length<199)return e.push([t,r]),this.size=++n.size,this;n=this.__data__=new wt(e)}return n.set(t,r),this.size=n.size,this},"object"==typeof exports&&exports&&!exports.nodeType&&exports&&"object"==typeof module&&module&&!module.nodeType&&module;var Ot=Object.prototype.propertyIsEnumerable,$t=Object.getOwnPropertySymbols,At=$t?function(t){return null==t?[]:(t=Object(t),function(r){for(var n=-1,e=null==r?0:r.length,o=0,i=[];++n<e;){var u=r[n];Ot.call(t,u)&&(i[o++]=u)}return i}($t(t)))}:function(){return[]};var St=M(f,"DataView"),xt=M(f,"Promise"),Nt=M(f,"Set"),_t="[object Map]",Et="[object Promise]",Mt="[object Set]",It="[object WeakMap]",Ft="[object DataView]",Pt=N(St),Dt=N(yt),Rt=N(xt),kt=N(Nt),zt=N(I),Tt=j;(St&&Tt(new St(new ArrayBuffer(1)))!=Ft||yt&&Tt(new yt)!=_t||xt&&Tt(xt.resolve())!=Et||Nt&&Tt(new Nt)!=Mt||I&&Tt(new I)!=It)&&(Tt=function(t){var r=j(t),n="[object Object]"==r?t.constructor:void 0,e=n?N(n):"";if(e)switch(e){case Pt:return Ft;case Dt:return _t;case Rt:return Et;case kt:return Mt;case zt:return It}return r});var Bt=Object.prototype.hasOwnProperty,Jt=f.Uint8Array;function Ct(t){var r=new t.constructor(t.byteLength);return new Jt(r).set(new Jt(t)),r}var Ut=/\w*$/,Vt=l?l.prototype:void 0,qt=Vt?Vt.valueOf:void 0;var Gt=nt&&nt.isMap,Kt=Gt?X(Gt):function(t){return w(t)&&"[object Map]"==Tt(t)},Wt=nt&&nt.isSet,Ht=Wt?X(Wt):function(t){return w(t)&&"[object Set]"==Tt(t)},Lt="[object Arguments]",Zt="[object Function]",Qt="[object Object]",Xt={};function Yt(t,r,n,e,o,i){var u;if(void 0!==u)return u;if(!m(t))return t;var a=g(t);if(a)u=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&Bt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t);else{var c=Tt(t),s=c==Zt||"[object GeneratorFunction]"==c;if(Z(t))return t.slice();if(c==Qt||c==Lt||s&&!o)u=s?{}:function(t){return"function"!=typeof t.constructor||C(t)?{}:P(gt(t))}(t);else{if(!Xt[c])return o?t:{};u=function(t,r){var n,e,o,i,u=t.constructor;switch(r){case"[object ArrayBuffer]":return Ct(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i=Ct((o=t).buffer),new o.constructor(i,o.byteOffset,o.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t){var r=Ct(t.buffer);return new t.constructor(r,t.byteOffset,t.length)}(t);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return(e=new(n=t).constructor(n.source,Ut.exec(n))).lastIndex=n.lastIndex,e;case"[object Symbol]":return qt?Object(qt.call(t)):{}}}(t,c)}}i||(i=new mt);var f=i.get(t);if(f)return f;i.set(t,u),Ht(t)?t.forEach((function(e){u.add(Yt(e,r,n,0,t,i))})):Kt(t)&&t.forEach((function(e,o){u.set(o,Yt(e,r,n,0,t,i))}));var l=a?void 0:function(t){return function(t,r,n){var e=st(t);return g(t)?e:function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}(e,n(t))}(t,0,At)}(t);return function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n););}(l||t,(function(e,o){l&&(e=t[o=e]),function(t,r,n){var e=t[r];T.call(t,r)&&z(e,n)&&(void 0!==n||r in t)||function(t,r,n){"__proto__"==r&&D?D(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}(t,r,n)}(u,o,Yt(e,r,n,0,t,i))})),u}function tr(t){return Yt(t,5)}function rr(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);throw new TypeError(`Cannot convert ${typeof t} to string`)}function nr(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);if(Array.isArray(t)&&t.every(xr))return t;throw new TypeError(`Cannot convert ${typeof t} to a label`)}function er(t){let r;try{r=or(t)}catch(r){throw new Error(`Invalid integer: ${String(t)}`)}return Number.isInteger(r)?r:Math.round(r)}function or(t){if("number"==typeof t&&!isNaN(t))return t;if("string"==typeof t&&""!==t.trim()){const r=Number(t);if(!isNaN(r))return r}throw new Error(`Invalid number: ${String(t)}`)}function ir(t){if("number"==typeof t&&!isNaN(t))return t;throw new Error(`Invalid number: ${String(t)}`)}Xt[Lt]=Xt["[object Array]"]=Xt["[object ArrayBuffer]"]=Xt["[object DataView]"]=Xt["[object Boolean]"]=Xt["[object Date]"]=Xt["[object Float32Array]"]=Xt["[object Float64Array]"]=Xt["[object Int8Array]"]=Xt["[object Int16Array]"]=Xt["[object Int32Array]"]=Xt["[object Map]"]=Xt["[object Number]"]=Xt[Qt]=Xt["[object RegExp]"]=Xt["[object Set]"]=Xt["[object String]"]=Xt["[object Symbol]"]=Xt["[object Uint8Array]"]=Xt["[object Uint8ClampedArray]"]=Xt["[object Uint16Array]"]=Xt["[object Uint32Array]"]=!0,Xt["[object Error]"]=Xt[Zt]=Xt["[object WeakMap]"]=!1;const ur=/^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;function ar(t){return"string"==typeof t&&ur.test(t)&&Number.isFinite(Number(t))}function cr(t){if("number"==typeof t)return isNaN(t)?void 0:t;if(ar(t))return parseFloat(t);throw new Error(`Invalid number: ${t}`)}function sr(t){if("boolean"==typeof t)return t;if("string"==typeof t){const r=t.toLowerCase();if("true"===r||"false"===r)return"true"===r}throw new Error(`Invalid boolean: ${String(t)}`)}function fr(t,r){if(!0===t||"true"===t)return"true";if(!1===t||"false"===t)return"false";if(""===t)return"";throw new Error(`Invalid ${r} value: expected a boolean, got ${JSON.stringify(t)}`)}function lr(t,r){return"string"==typeof t&&r.includes(t)}function vr(r){if(t(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n))return n}throw new Error(`Invalid object: ${r}`)}function hr(r){if(t(r)&&Array.isArray(r))return r;if("string"==typeof r){const n=JSON.parse(r);if(t(n)&&Array.isArray(n))return n}throw new Error(`Invalid array: ${r}`)}function br(t){if("object"==typeof t&&null!==t)return t;throw new Error("Invalid on callbacks: expected object, got "+typeof t)}function pr(t){try{return JSON.stringify(t)}catch(t){return"[unserializable]"}}function dr(t,n,e){const o=e instanceof Error?` (${e.message})`:"";r(`The property value ${pr(n)} for '${t}' is not valid${o}. The value is ignored.`)}function yr(t,n,e,o=()=>!0,i){return{propName:t,getDefaultValue:m(n)?()=>tr(n):()=>n,normalize:e,validate:o,apply(e,o,u){var a;if(null!=e)try{const r=this.normalize(e);this.validate(r)?(null===(a=null==i?void 0:i.hints)||void 0===a||a.call(i,this.propName,r),o(r)):dr(t,e)}catch(r){dr(t,e,r)}else{if(u&&r(`The required property '_${t}' did not receive a value. ${void 0===n?"The property stays unset.":"The default value is used instead."}`),void 0===n)return void o(void 0);const e=this.getDefaultValue();if(!this.validate(e))throw new Error(`Default value ${pr(n)} is invalid for prop definition '${t}'.`);o(e)}}}}function jr(t,r,n,e=()=>!0){return{propName:t,getDefaultValue:m(r)?()=>tr(r):()=>r,normalize:n,validate:e,apply(n,e,o){if(null!=n)try{const r=this.normalize(n,o);this.validate(r,o)?e(r):dr(t,n)}catch(r){dr(t,n,r)}else{if(void 0===r)return void e(void 0);const n=this.getDefaultValue();if(!this.validate(n,o))throw new Error(`Default value ${pr(r)} is invalid for prop definition '${t}' with dependencies ${pr(o)}.`);e(n)}}}}function wr(){return yr("on",{},(t=>br(t)))}function gr(t){var r;Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var i=n(t);if(!i.space)return[];const u="h"===i.space[0]?e.min:o.min,a="h"===i.space[0]?e.max:o.max;return(r=Array(3))[0]=Math.min(Math.max(i.values[0],u[0]),a[0]),r[1]=Math.min(Math.max(i.values[1],u[1]),a[1]),r[2]=Math.min(Math.max(i.values[2],u[2]),a[2]),"h"===i.space[0]&&(r=e.rgb(r)),r.push(Math.min(Math.max(i.alpha,0),1)),r}const mr=/[a-zA-Z0-9äöüÄÖÜß]/g,Or=/^\d+$/;function $r(t,r=1){return function(t){var r;return"string"==typeof t&&(null===(r=t.match(mr))||void 0===r?void 0:r.length)||0}(t)>=r}function Ar(t){return Or.test(t)}function Sr(t){return"string"==typeof t?t.trim():Array.isArray(t)?t.map((t=>t.text)).join("").trim():""}function xr(t){if("object"!=typeof t||null===t)return!1;const r=t;return!!Object.keys(r).every((t=>"text"===t||"lang"===t))&&"string"==typeof r.text&&(void 0===r.lang||"string"==typeof r.lang)}const Nr=t=>t.length>=2||Ar(t);function _r(t){return"string"==typeof t?Nr(t):!!Array.isArray(t)&&t.length>0&&t.every(xr)&&Nr(Sr(t))}const Er=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i,Mr=t=>"object"==typeof t&&null!==t&&"string"==typeof t.backgroundColor&&"string"==typeof t.foregroundColor,Ir=t=>{const r=gr(t);if(!Array.isArray(r)||r.length<3)throw new Error(`Invalid KoliBri color: ${t}`);const[n,e,o]=r;return{red:n,green:e,blue:o}},Fr=yr("color",Ir("#003c78"),(t=>{if("string"==typeof t&&Er.test(t))return Ir(t);const r=Mr(t)?t:"string"==typeof t?(t=>{if(t.startsWith("{"))try{const r=JSON.parse(t);return Mr(r)?r:void 0}catch(t){return}})(t):void 0;if(r)return Ir(r.foregroundColor);throw new Error("Invalid KoliBri color: expected a hex string or a color pair.")})),Pr=new Set(["eager","lazy"]),Dr=yr("loading","lazy",(t=>rr(t)),(t=>Pr.has(t)));function Rr(t,r){return t<r.min?r.min:t>r.max?r.max:t}const kr=jr("value",0,((t,r)=>Rr(or(t),r)),(t=>"number"==typeof t&&!isNaN(t))),zr=Object.assign(Object.assign({},kr),{apply(t,r,n){kr.apply(t,(t=>r(Rr(t,n))),n)}}),Tr=new Set(["blank","card"]),Br=yr("variant","blank",(t=>rr(t)),(t=>Tr.has(t))),Jr=new Set(["block","inline"]),Cr=yr("variant","inline",(t=>rr(t)),(t=>Jr.has(t))),Ur=t=>{let r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t&&null!==t)if(Array.isArray(t)){for(const n of t)if(n){const t=Ur(n);t&&(r&&(r+=" "),r+=t)}}else for(const n in t)t[n]&&(r&&(r+=" "),r+=n);return r},Vr=(...t)=>{let r="";for(const n of t)if(n){const t=Ur(n);t&&(r&&(r+=" "),r+=t)}return r},qr=new Map;function Gr(t){let r=qr.get(t);return r||(r=a.forBlock(t),qr.set(t,r)),r}const Kr=(t,r)=>{var n;const e=Gr(t.block),o=Vr(e(t.modifiers),t.class),u={};for(const[r,n]of Object.entries(t))"block"===r?u.class=o:"class"!==r&&"component"!==r&&"modifiers"!==r&&(u[r]=n);const a=null!==(n=t.component)&&void 0!==n?n:"div";return i(a,Object.assign({},u),r)};function Wr(t){var r,n;const e={};for(const o of[...null!==(r=t.required)&&void 0!==r?r:[],...null!==(n=t.optional)&&void 0!==n?n:[]])e[o.propName]=o.getDefaultValue();return e}function Hr(t,r){return Object.assign(Object.assign({},Wr(t)),r)}function Lr(){throw new Error("This behavior does not use component state.")}const Zr=class extends u{constructor(){super(!1),this.rawProps={},this.renderProps={},this.requiredPropNames=new Set,this.renderPropsSeeded=!1,this.setState=(t,r)=>{this[t]=r},this.getState=t=>this[t],this.stateAccess={setState:this.setState,getState:this.getState}}seedRenderProps(){var t;this.renderPropsSeeded||(this.renderPropsSeeded=!0,this.renderProps=Wr(this.propsConfig),this.requiredPropNames=new Set((null!==(t=this.propsConfig.required)&&void 0!==t?t:[]).map((t=>t.propName))))}isRequired(t){return this.seedRenderProps(),this.requiredPropNames.has(t)}setRawProp(t,r){this.rawProps[t]=r}getRawProp(t){return this.rawProps[t]}setRenderProp(t,r){this.seedRenderProps(),this.renderProps[t]=r}unsetRenderProp(t){this.seedRenderProps(),this.renderProps[t]=void 0}getRenderProp(t){return this.seedRenderProps(),this.renderProps[t]}};Zr.stateLess=Object.freeze({setState:Lr,getState:Lr});export{vr as A,Kr as B,Nr as C,gr as D,Br as E,cr as F,ar as G,ir as H,Cr as I,br as J,Zr as a,wr as b,yr as c,rr as d,Wr as e,Vr as f,Gr as g,hr as h,jr as i,lr as j,Fr as k,Dr as l,or as m,sr as n,zr as o,_r as p,nr as q,Hr as r,$r as s,Sr as t,Ar as u,er as v,w,g as x,j as y,fr as z}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as e,k as t,F as i}from"./common.js";import{a as o,F as s}from"./behavior3.js";import{d as r}from"./disabled.js";import{h as a,e as l}from"./variant.js";import{c as n,n as d,b as h,a as c,B as p}from"./base-web-component.js";import{l as u}from"./label-with-expert-slot.js";import{n as m}from"./name.js";import{a as b}from"./tslib.es6.js";import{S as v,b as f,s as g}from"./component8.js";import{a as y,c as j,n as _}from"./dev.utils.js";import{K as B,d as L}from"./events.js";import{c as O}from"./item.js";import{c as T}from"./item2.js";import{T as F}from"./behavior.js";import{h as N}from"@stencil/core/internal/client";import{t as x}from"./i18n.js";import{c as K}from"./component10.js";import{b as w}from"./bem-registry.js";import{c as P}from"./clsx.js";import{B as k}from"./component.js";import{T as A}from"./component9.js";import{P as C}from"./behavior4.js";import{A as H}from"./component2.js";function I(e,t){return Boolean(e)&&!0===t}function M(e){var t;return"string"==typeof e?"error":null!==(t=null==e?void 0:e._type)&&void 0!==t?t:"error"}const S=n("hideMsg",!1,d),D=n("hint","",h),q=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),E=c(),$=n("msg",void 0,(function(t){if("string"==typeof t)try{return e(t)}catch(e){return t}return t}),(function(e){return void 0===e||("string"==typeof e?e.length>0:t(e)&&i(e._description,1))})),z=n("touched",!1,d),R={required:[u],optional:[o,r,a,S,D,q,E,$,m,l,z]},V=e=>{var{id:t,class:i,hint:o,baseClassName:s="kol-form-field"}=e,r=b(e,["id","class","hint","baseClassName"]);return o?N("span",Object.assign({class:P(`${s}__hint`,i),id:y(t||"","hint")},r),o):null},G=e=>{var{component:t="label",id:i,baseClassName:o="kol-form-field",class:s,accessKey:r,shortKey:a,label:l,hideLabel:n,hasExpertSlot:d,omitId:h,showBadge:c=!0,readOnly:p,infoPopover:u}=e,m=b(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const g=!d&&n,j=!1===c?void 0:f(r,a);return N(t,Object.assign({},m,{class:P(`${o}__label`,s),id:g||h?void 0:y(i,"label"),hidden:g,htmlFor:"legend"===t?void 0:i}),N(v,{class:`${o}__label-text`,label:d?"":null!=l?l:"",badgeText:j},N("slot",{name:"expert"})),!d&&p&&N("span",{class:`${o}__label__read-only`,"aria-hidden":"true"},"(",x("kol-readonly"),")"),!d&&u&&N("span",null,N(C,Object.assign({},u.popoverButton),N("div",{class:"kol-popover-button__popover--styled"},u.content))))},J=t=>{var i,o,{alert:s,hideMsg:r,msg:a,id:l,class:n}=t,d=b(t,["alert","hideMsg","msg","id","class"]);const h=function(t){if("string"==typeof t)try{return e(t)}catch(e){return{_description:t,_type:"error"}}return t&&"object"==typeof t&&!("_type"in t)?Object.assign(Object.assign({},t),{_type:"error"}):t}(a);return N(H,Object.assign({alert:!r&&(null!==(i=null==h?void 0:h._alert)&&void 0!==i?i:!0===s),class:P("kol-form-field__msg",r&&"visually-hidden",n),closerAriaDescriptionId:_(),handleCloserClick:()=>{},hasCloser:!1,headingId:j("alert-heading"),id:y(l,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(o=null==h?void 0:h._type)&&void 0!==o?o:"error",variant:"msg"},d),(null==h?void 0:h._description)||void 0)},Q=w.forBlock("kol-form-field"),U=({hideLabel:e,label:t,renderNoTooltip:i})=>!i&&!g(t)&&!0===e,W=e=>{const t=M(e);return{[t]:!0,[`msg-type-${t}`]:!0}},X=(e,t)=>{const{renderNoLabel:i,renderNoTooltip:o,renderNoHint:s,id:r,required:a,alert:l,disabled:n,class:d,msg:h,hideMsg:c,hideLabel:p,label:u,infoPopover:m,hint:v,accessKey:j,shortKey:_,counter:B,readOnly:L,touched:O,maxLength:T,ariaDescribedBy:F,showBadge:w,tooltipAlign:C,variant:H,component:M="div",orientation:S,refInput:D,refTooltip:q}=e,E=b(e,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),$=g(u),z=I(h,O),R=f(j,_),X=U({hideLabel:p,label:u,renderNoTooltip:o}),Y="fieldset"===M;return N(k,Object.assign({component:M,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(n),required:Boolean(a),touched:Boolean(O),"hide-label":Boolean(p),"read-only":Boolean(L),"hidden-msg":Boolean(c)},z?W(h):{}),class:P(H&&K(H,"form-field"),d),disabled:!(!Y||!n)||void 0,"aria-describedby":F},E),!i&&N(G,{component:Y?"legend":"label",class:Y?"kol-form-field__label--legend":void 0,id:r,hasExpertSlot:$,hideLabel:p,label:u,accessKey:j,shortKey:_,readOnly:L,showBadge:w,infoPopover:m}),N("div",{class:Q("input",{"orientation-horizontal":"horizontal"===S,"orientation-vertical":"vertical"===S}),ref:D},t,X&&N("div",{class:Q("tooltip")},N(A,{badgeText:R||"",label:u,align:C,id:y(r,"label"),refFloating:q}))),B&&!("soft"===B.maxLengthBehavior&&"number"!=typeof B.maxLength)&&N("div",{class:Q("counter")},N("span",{"data-testid":"input-counter","aria-hidden":"true",class:Q("counter"),ref:B.visualRef}),N("span",{"aria-live":"polite",class:"visually-hidden","data-testid":"input-counter-aria",id:y(r,"counter"),ref:B.ariaRef})),z&&N(J,{id:r,alert:l,hideMsg:c,msg:h}),!s&&N(V,{id:r,hint:v}),"number"==typeof T&&!B&&N("span",{id:y(r,"character-limit-hint"),class:"visually-hidden"},x("kol-character-limit-hint",{placeholders:{limit:String(T)}})))};function Y({ariaDescribedBy:e,hideLabel:t,label:i}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&i?i:void 0}}const Z=class extends p{constructor(){super(...arguments),this.tooltipBehavior=new F(p.stateLess),this.smartButton=O((()=>this.host)),this.infoPopover=T({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,t)=>{var i,o;e.stopPropagation(),void 0===t&&(t=e.target.value),this.emit(B.change,t),null===(o=null===(i=this._on)||void 0===i?void 0:i.onChange)||void 0===o||o.call(i,e,t)},this.handleInput=(e,t)=>{var i,o;e.stopPropagation(),void 0===t&&(t=e.target.value),this.emit(B.input,t),this.formAssociation.setFormAssociatedValue(t),null===(o=null===(i=this._on)||void 0===i?void 0:i.onInput)||void 0===o||o.call(i,e,t)},this.handleClick=e=>{var t,i;this.emit(B.click),null===(i=null===(t=this._on)||void 0===t?void 0:t.onClick)||void 0===i||i.call(t,e)},this.handleFocus=e=>{var t,i;this.focusEventSent||(this.emit(B.focus),null===(i=null===(t=this._on)||void 0===t?void 0:t.onFocus)||void 0===i||i.call(t,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var t,i;this.emit(B.keydown),null===(i=null===(t=this._on)||void 0===t?void 0:t.onKeyDown)||void 0===i||i.call(t,e)},this.setInputRef=e=>{e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,t){this.formAssociation=new s(p.stateLess,{host:this.host,type:e,name:t})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}getInfoPopover(){const e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:t}=e,i=b(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},i),{_hideLabel:!0,_inline:!0})),content:t}}getSmartButtonFcProps(e,t){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:t},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){o.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.formAssociation.watchAriaDetails(e)}applyDisabled(e){r.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){a.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){S.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){D.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){q.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){u.apply(!1===e?"":e,(e=>this.shared.setRenderProp("label",e)))}applyMsg(e){$.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){m.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){E.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){l.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){z.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,t;return null!==(t=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==t?t:this.host}emit(e,t){this.eventHost&&L(this.eventHost,e,t)}handleFocusLeave(e){var t,i;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,r=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!r&&(this._touched=!0,this.emit(B.blur),null===(i=null===(t=this._on)||void 0===t?void 0:t.onBlur)||void 0===i||i.call(t,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:t,hint:i,touched:o})=>{const s="string"==typeof t?t:null==t?void 0:t._description,r=Boolean(s&&s.length>0),a="error"===M(t)&&r&&!0===o,l="string"==typeof i&&i.length>0,n=[];return r&&!0===o&&n.push(y(e,"msg")),l&&n.push(y(e,"hint")),{hasError:a,hasHint:l,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return U({hideLabel:e.getRenderProp("hideLabel"),label:e.getRenderProp("label")})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:t,shortKey:i,variant:o,counter:s,maxLength:r,readOnly:a,renderNoLabel:l,renderNoTooltip:n,required:d}){const h=this.shared,c=h.getState("id"),p=h.getRenderProp("label"),u=h.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(u),this.tooltipBehavior.watchBadgeText(f(t,i)||""),this.tooltipBehavior.watchId(y(c,"label")),this.tooltipBehavior.watchLabel(p)):this.tooltipBehavior.destroy(),{id:c,disabled:h.getRenderProp("disabled"),msg:h.getRenderProp("msg"),hint:h.getRenderProp("hint"),label:p,hideLabel:h.getRenderProp("hideLabel"),hideMsg:h.getRenderProp("hideMsg"),touched:h.getRenderProp("touched"),showBadge:Boolean(t)||Boolean(i),required:d,readOnly:a,accessKey:t,shortKey:i,maxLength:r,counter:s,variant:o,class:e,tooltipAlign:u,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:l,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}};export{Z as B,X as F,V as a,G as b,Y as c,R as f,M as g,I as i}
4
+ import{O as e,u as i,Z as t,h as o}from"./common.js";import{d as s}from"./disabled.js";import{h as l,e as a,T as r,k as n}from"./component6.js";import{c as d,d as h,n as c,b as p,f as u,B as v,t as m,a as b}from"./base-web-component.js";import{l as f}from"./label-with-expert-slot.js";import{n as g}from"./component9.js";import{S as y,b as j,s as _}from"./component5.js";import{a as B}from"./tslib.es6.js";import{a as L,c as O,n as T}from"./dev.utils.js";import{K as F,d as N}from"./events.js";import{c as w}from"./item.js";import{F as x}from"./behavior3.js";import{c as A}from"./item2.js";import{T as K}from"./behavior.js";import{t as k}from"./i18n.js";import{b as D}from"./bem-registry.js";import{P}from"./behavior4.js";import{A as C}from"./component.js";const H=(e,i)=>{const t=(null!=i?i:"").trim().split(/\s+/).filter(Boolean);if(!t.length)return[];const o=null==e?void 0:e.getRootNode();return t.map((e=>"undefined"!=typeof Document&&o instanceof Document?o.getElementById(e):"undefined"!=typeof ShadowRoot&&o instanceof ShadowRoot?o.querySelector(`#${(e=>{var i;return(null===(i=globalThis.CSS)||void 0===i?void 0:i.escape)?globalThis.CSS.escape(e):e.replace(/[^a-zA-Z0-9_-]/g,"\\$&")})(e)}`):"undefined"!=typeof document?document.getElementById(e):null)).filter((e=>!!e))};function I(e,i){return Boolean(e)&&!0===i}function M(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const S=d("ariaDetails","",h),$=d("hideMsg",!1,c),q=d("hint","",h),E=d("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),z=p(),R=d("msg",void 0,(function(i){if("string"==typeof i)try{return e(i)}catch(e){return i}return i}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&t(e._description,1))})),Z=d("touched",!1,c),V={required:[f],optional:[S,s,l,$,q,E,z,R,g,a,Z]},G=e=>{var{id:i,class:t,hint:s,baseClassName:l="kol-form-field"}=e,a=B(e,["id","class","hint","baseClassName"]);return s?o("span",Object.assign({class:u(`${l}__hint`,t),id:L(i||"","hint")},a),s):null},J=e=>{var{component:i="label",id:t,baseClassName:s="kol-form-field",class:l,accessKey:a,shortKey:r,label:n,hideLabel:d,hasExpertSlot:h,omitId:c,showBadge:p=!0,readOnly:v,infoPopover:m}=e,b=B(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const f=!h&&d,g=!1===p?void 0:j(a,r);return o(i,Object.assign({},b,{class:u(`${s}__label`,l),id:f||c?void 0:L(t,"label"),hidden:f,htmlFor:"legend"===i?void 0:t}),o(y,{class:`${s}__label-text`,label:h?"":null!=n?n:"",badgeText:g},o("slot",{name:"expert"})),!h&&v&&o("span",{class:`${s}__label__read-only`,"aria-hidden":"true"},"(",k("kol-readonly"),")"),!h&&m&&o("span",null,o(P,Object.assign({},m.popoverButton),o("div",{class:"kol-popover-button__popover--styled"},m.content))))},Q=i=>{var t,s,{alert:l,hideMsg:a,msg:r,id:n,class:d}=i,h=B(i,["alert","hideMsg","msg","id","class"]);const c=function(i){if("string"==typeof i)try{return e(i)}catch(e){return{_description:i,_type:"error"}}return i&&"object"==typeof i&&!("_type"in i)?Object.assign(Object.assign({},i),{_type:"error"}):i}(r);return o(C,Object.assign({alert:!a&&(null!==(t=null==c?void 0:c._alert)&&void 0!==t?t:!0===l),class:u("kol-form-field__msg",a&&"visually-hidden",d),closerAriaDescriptionId:T(),handleCloserClick:()=>{},hasCloser:!1,headingId:O("alert-heading"),id:L(n,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},h),(null==c?void 0:c._description)||void 0)},U=D.forBlock("kol-form-field"),W=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!_(i)&&!0===e,X=e=>{const i=M(e);return{[i]:!0,[`msg-type-${i}`]:!0}},Y=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:s,renderNoHint:l,id:a,required:d,alert:h,disabled:c,class:p,msg:m,hideMsg:b,hideLabel:f,label:g,infoPopover:y,hint:O,accessKey:T,shortKey:F,counter:N,readOnly:w,touched:x,maxLength:A,ariaDescribedBy:K,showBadge:D,tooltipAlign:P,variant:C,component:H="div",orientation:M,refInput:S,refTooltip:$}=e,q=B(e,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),E=_(g),z=I(m,x),R=j(T,F),Z=W({hideLabel:f,label:g,renderNoTooltip:s}),V="fieldset"===H;return o(v,Object.assign({component:H,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(c),required:Boolean(d),touched:Boolean(x),"hide-label":Boolean(f),"read-only":Boolean(w),"hidden-msg":Boolean(b)},z?X(m):{}),class:u(C&&n(C,"form-field"),p),disabled:!(!V||!c)||void 0,"aria-describedby":K},q),!t&&o(J,{component:V?"legend":"label",class:V?"kol-form-field__label--legend":void 0,id:a,hasExpertSlot:E,hideLabel:f,label:g,accessKey:T,shortKey:F,readOnly:w,showBadge:D,infoPopover:y}),o("div",{class:U("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},i,Z&&o("div",{class:U("tooltip")},o(r,{badgeText:R||"",label:g,align:P,id:L(a,"label"),refFloating:$}))),N&&!("soft"===N.maxLengthBehavior&&"number"!=typeof N.maxLength)&&o("div",{class:U("counter")},o("span",{"aria-hidden":"true",class:U("counter"),ref:N.visualRef}),o("span",{"aria-live":"polite",class:"visually-hidden",id:L(a,"counter"),ref:N.ariaRef})),z&&o(Q,{id:a,alert:h,hideMsg:b,msg:m}),!l&&o(G,{id:a,hint:O}),"number"==typeof A&&!N&&o("span",{id:L(a,"character-limit-hint"),class:"visually-hidden"},k("kol-character-limit-hint",{placeholders:{limit:String(A)}})))};function ee({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?m(t):void 0}}const ie=class extends b{constructor(){super(...arguments),this.tooltipBehavior=new K(b.stateLess),this.smartButton=w((()=>this.host)),this.infoPopover=A({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(F.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(F.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(F.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(F.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(F.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new x(b.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:i}=e,t=B(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},t),{_hideLabel:!0,_inline:!0})),content:i}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){S.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=H(this.host,this.shared.getRenderProp("ariaDetails")),a=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==a?void 0:a.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==a?void 0:a.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){s.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){l.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){$.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){q.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){E.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){f.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){R.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){g.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){z.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){a.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){Z.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&N(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(F.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),a="error"===M(i)&&l&&!0===o,r="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(L(e,"msg")),r&&n.push(L(e,"hint")),{hasError:a,hasHint:r,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return W({hideLabel:e.getRenderProp("hideLabel"),label:m(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:l,readOnly:a,renderNoLabel:r,renderNoTooltip:n,required:d}){const h=this.shared,c=h.getState("id"),p=h.getRenderProp("label"),u=h.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(u),this.tooltipBehavior.watchBadgeText(j(i,t)||""),this.tooltipBehavior.watchId(L(c,"label")),this.tooltipBehavior.watchLabel(p)):this.tooltipBehavior.destroy(),{id:c,disabled:h.getRenderProp("disabled"),msg:h.getRenderProp("msg"),hint:h.getRenderProp("hint"),label:p,hideLabel:h.getRenderProp("hideLabel"),hideMsg:h.getRenderProp("hideMsg"),touched:h.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:d,readOnly:a,accessKey:i,shortKey:t,maxLength:l,counter:s,variant:o,class:e,tooltipAlign:u,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:r,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}};export{ie as B,Y as F,ee as a,G as b,J as c,V as f,M as g,I as i,H as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./common.js";import{a as t,d as s,v as i}from"./variant.js";import{a as e,S as o}from"./suggestions2.js";import{h as a,g as r}from"./input-container.js";import{c as h,b as n,B as l}from"./base-web-component.js";import{p as d}from"./placeholder.js";import{r as p}from"./read-only.js";import{r as c}from"./required.js";import{s as u}from"./smart-button.js";import{s as m}from"./value-string.js";import{f as v,B as y}from"./base-web-component2.js";import{h as b}from"@stencil/core/internal/client";import{s as j}from"./controller.js";import{v as g}from"./access-and-short-key.js";import{c as f}from"./clsx.js";import{c as O}from"./element-interaction.js";import{C as x}from"./behavior2.js";const B=h("pattern",void 0,n),K={required:[...v.required],optional:[...v.optional,t,e,a,B,d,p,c,s,u,m,i]},q=class extends y{constructor(){super(...arguments),this.ctaRef=O(),this.counter=new x(l.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=t=>{this._value=t.target.value,this.handleInput(t)},this.handleTextChange=(t,s)=>{this.handleChange(t,s)},this.handleTextFocus=t=>{var s,i;this.handleFocus(t),this.counter.retriggerAria(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)},this.handleTextKeyDown=t=>{var s,i;this.handleKeyDown(t),this.counter.handleKeyDown(t,null!==(i=null===(s=this.ctaRef.el)||void 0===s?void 0:s.value.length)&&void 0!==i?i:0),j(t,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=Boolean(this.textShared.getRenderProp("value"))}didLoadTextInput(){var t,s;this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0)}didUpdateTextInput(){var t,s;this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(s){t.apply(s,(t=>this.textShared.setRenderProp("accessKey",t))),g(s,this._shortKey)}applyAutoComplete(t){e.apply(t,(t=>this.textShared.setRenderProp("autoComplete",t)))}applyIcons(t){a.apply(t,(t=>this.textShared.setRenderProp("icons",t)))}applyPattern(t){B.apply(t,(t=>this.textShared.setRenderProp("pattern",t)))}applyPlaceholder(t){d.apply(t,(t=>this.textShared.setRenderProp("placeholder",t)))}applyReadOnly(t){p.apply(t,(t=>this.textShared.setRenderProp("readOnly",t)))}applyRequired(t){c.apply(t,(t=>this.textShared.setRenderProp("required",t)))}applyShortKey(t){s.apply(t,(t=>this.textShared.setRenderProp("shortKey",t))),g(this._accessKey,t)}applySmartButton(t){null==t?this.textShared.unsetRenderProp("smartButton"):u.apply(t,(t=>this.textShared.setRenderProp("smartButton",t)))}applyValue(t){var s;this.initValue(t),this.hasValue=Boolean(this.textShared.getRenderProp("value")),this.counter.update(null!==(s=null==t?void 0:t.length)&&void 0!==s?s:0)}initValue(t){m.apply(t,(t=>this.textShared.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp("value"))}initMaxLength(t){this.counter.watchMaxLength(t)}applyVariant(t){i.apply(t,(t=>this.textShared.setRenderProp("variant",t)))}applyHasCounter(t){this.counter.watchHasCounter(t),this.needsImmediateCounterUpdate=!0}applyMaxLength(t){var s,i;this.counter.watchMaxLength(t),this.counter.updateImmediate(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)}applyMaxLengthBehavior(t){this.counter.watchMaxLengthBehavior(t),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(t){const s=this.textShared;return this.getFormFieldProps({class:f(t,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:s.getRenderProp("accessKey")||void 0,shortKey:s.getRenderProp("shortKey")||void 0,variant:s.getRenderProp("variant"),required:s.getRenderProp("required"),readOnly:s.getRenderProp("readOnly"),maxLength:this.counter.getRenderProp("maxLength"),counter:this.counter.getCounterProps()})}getTextInputAdornments(t){return r({icons:this.textShared.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp("smartButton"),this.textShared.getRenderProp("disabled")),endAdornment:t})}getTextInputProps({type:t,spellcheck:s,multiple:i,suggestions:e},a={}){const r=this.textShared,h=r.getState("id"),n=r.getRenderProp("accessKey"),l=r.getRenderProp("shortKey"),d=r.getRenderProp("placeholder"),p=r.getRenderProp("pattern"),c=this.counter.getMaxLengthAttribute(),u=this.counter.getCharacterLimitHintId(h),{ariaDescribedBy:m,hasError:v}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:h,hideLabel:r.getRenderProp("hideLabel"),label:r.getRenderProp("label"),disabled:r.getRenderProp("disabled"),name:r.getRenderProp("name")||void 0},n?{accessKey:n}:{}),void 0!==t?{type:t}:{}),{value:r.getRenderProp("value"),required:r.getRenderProp("required")}),void 0!==c?{maxlength:c}:{}),void 0!==d?{placeholder:d}:{}),{autoComplete:r.getRenderProp("autoComplete")}),void 0!==s?{spellcheck:s}:{}),void 0!==p?{pattern:p}:{}),{readonly:r.getRenderProp("readOnly")}),void 0!==i?{multiple:i}:{}),{touched:r.getRenderProp("touched"),msg:r.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),e&&e.length>0?{suggestions:b(o,{id:h,suggestions:e})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),a),{ariaDescribedBy:u?[...m,u]:m,"aria-invalid":v?"true":void 0})}};export{q as B,K as t}
4
+ import{h as t}from"./common.js";import{a as s,d as i,v as e}from"./component6.js";import{a as o,S as a}from"./suggestions2.js";import{h as r,g as h}from"./input-container.js";import{c as n,d as l,a as d,f as p}from"./base-web-component.js";import{p as u}from"./placeholder.js";import{r as c}from"./read-only.js";import{r as m}from"./required.js";import{s as v}from"./smart-button.js";import{s as y}from"./value-string.js";import{f as b,B as j}from"./base-web-component2.js";import{s as g}from"./controller.js";import{v as f}from"./access-and-short-key.js";import{c as O}from"./element-interaction.js";import{C as x}from"./behavior2.js";const B=n("pattern",void 0,l),K={required:[...b.required],optional:[...b.optional,s,o,r,B,u,c,m,i,v,y,e]},q=class extends j{constructor(){super(...arguments),this.ctaRef=O(),this.counter=new x(d.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=t=>{this._value=t.target.value,this.handleInput(t)},this.handleTextChange=(t,s)=>{this.handleChange(t,s)},this.handleTextFocus=t=>{var s,i;this.handleFocus(t),this.counter.retriggerAria(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)},this.handleTextKeyDown=t=>{var s,i;this.handleKeyDown(t),this.counter.handleKeyDown(t,null!==(i=null===(s=this.ctaRef.el)||void 0===s?void 0:s.value.length)&&void 0!==i?i:0),g(t,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=Boolean(this.textShared.getRenderProp("value"))}didLoadTextInput(){var t,s;this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0)}didUpdateTextInput(){var t,s;this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(t){s.apply(t,(t=>this.textShared.setRenderProp("accessKey",t))),f(t,this._shortKey)}applyAutoComplete(t){o.apply(t,(t=>this.textShared.setRenderProp("autoComplete",t)))}applyIcons(t){r.apply(t,(t=>this.textShared.setRenderProp("icons",t)))}applyPattern(t){B.apply(t,(t=>this.textShared.setRenderProp("pattern",t)))}applyPlaceholder(t){u.apply(t,(t=>this.textShared.setRenderProp("placeholder",t)))}applyReadOnly(t){c.apply(t,(t=>this.textShared.setRenderProp("readOnly",t)))}applyRequired(t){m.apply(t,(t=>this.textShared.setRenderProp("required",t)))}applyShortKey(t){i.apply(t,(t=>this.textShared.setRenderProp("shortKey",t))),f(this._accessKey,t)}applySmartButton(t){null==t?this.textShared.unsetRenderProp("smartButton"):v.apply(t,(t=>this.textShared.setRenderProp("smartButton",t)))}applyValue(t){var s;this.initValue(t),this.hasValue=Boolean(this.textShared.getRenderProp("value")),this.counter.update(null!==(s=null==t?void 0:t.length)&&void 0!==s?s:0)}initValue(t){y.apply(t,(t=>this.textShared.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp("value"))}initMaxLength(t){this.counter.watchMaxLength(t)}applyVariant(t){e.apply(t,(t=>this.textShared.setRenderProp("variant",t)))}applyHasCounter(t){this.counter.watchHasCounter(t),this.needsImmediateCounterUpdate=!0}applyMaxLength(t){var s,i;this.counter.watchMaxLength(t),this.counter.updateImmediate(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)}applyMaxLengthBehavior(t){this.counter.watchMaxLengthBehavior(t),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(t){const s=this.textShared;return this.getFormFieldProps({class:p(t,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:s.getRenderProp("accessKey")||void 0,shortKey:s.getRenderProp("shortKey")||void 0,variant:s.getRenderProp("variant"),required:s.getRenderProp("required"),readOnly:s.getRenderProp("readOnly"),maxLength:this.counter.getRenderProp("maxLength"),counter:this.counter.getCounterProps()})}getTextInputAdornments(t){return h({icons:this.textShared.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp("smartButton"),this.textShared.getRenderProp("disabled")),endAdornment:t})}getTextInputProps({type:s,spellcheck:i,multiple:e,suggestions:o},r={}){const h=this.textShared,n=h.getState("id"),l=h.getRenderProp("accessKey"),d=h.getRenderProp("shortKey"),p=h.getRenderProp("placeholder"),u=h.getRenderProp("pattern"),c=this.counter.getMaxLengthAttribute(),m=this.counter.getCharacterLimitHintId(n),{ariaDescribedBy:v,hasError:y}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:n,hideLabel:h.getRenderProp("hideLabel"),label:h.getRenderProp("label"),disabled:h.getRenderProp("disabled"),name:h.getRenderProp("name")||void 0},l?{accessKey:l}:{}),void 0!==s?{type:s}:{}),{value:h.getRenderProp("value"),required:h.getRenderProp("required")}),void 0!==c?{maxlength:c}:{}),void 0!==p?{placeholder:p}:{}),{autoComplete:h.getRenderProp("autoComplete")}),void 0!==i?{spellcheck:i}:{}),void 0!==u?{pattern:u}:{}),{readonly:h.getRenderProp("readOnly")}),void 0!==e?{multiple:e}:{}),{touched:h.getRenderProp("touched"),msg:h.getRenderProp("msg")}),d?{"aria-keyshortcuts":d}:{}),o&&o.length>0?{suggestions:t(a,{id:n,suggestions:o})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),r),{ariaDescribedBy:m?[...v,m]:v,"aria-invalid":y?"true":void 0})}};export{q as B,K as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{g as e,p as s}from"./common.js";import{a as t,d as i,t as o,v as r}from"./variant.js";import{h as a,g as l,I as n}from"./input-container.js";import{c as d}from"./base-web-component.js";import{m as c}from"./multiple.js";import{r as h}from"./required.js";import{r as p}from"./rows.js";import{f as u,i as b,g as m,c as v,B as f,F as y}from"./base-web-component2.js";import{h as j,Fragment as O}from"@stencil/core/internal/client";import{v as g}from"./access-and-short-key.js";import{c as A}from"./clsx.js";import{h as B,c as w}from"./label.js";import{f as K}from"./options.js";import{a as q}from"./tslib.es6.js";import{g as P}from"./block-bem.js";const k=s=>{if("object"==typeof s&&null!==s){if("string"==typeof s.label&&s.label.length>0)return s.disabled=!0===s.disabled,s.label=`${s.label}`.trim(),!1===B(s.label,3)&&!1===w(s.label)&&e(`A differing Aria-Label (${s.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(s.options)||void 0===s.options.find((e=>!1===k(e)));if("number"==typeof s.label)return!0}return!1},x=d("options",[],(function(e){const t="string"==typeof e?s(e):e;if(Array.isArray(t)&&t.every((e=>k(e))))return t;throw new Error("Invalid select options")})),L=d("value",[],(e=>Array.isArray(e)?e:[e])),$={required:[...u.required],optional:[...u.optional,t,a,c,x,h,p,L,i,o,r]},D=P("kol-select"),E=e=>{var{class:s,index:t,selectedValue:i,selected:o,value:r,label:a,disabled:l}=e,n=q(e,["class","index","selectedValue","selected","value","label","disabled"]);const d=void 0===i?[]:Array.isArray(i)?i:[i],c=o||d.includes(r);return j("option",Object.assign({class:A(D("option",{selected:Boolean(c),disabled:Boolean(l)}),s),selected:c,disabled:l,value:t},n),a)},I=({preKey:e,options:s,disabled:t,value:i,OptionProps:o={},OptionGroupProps:r={}})=>(null==s?void 0:s.length)?j(O,null,s.map(((s,a)=>{var l;const n=[e,`-${a}`].join("");if("options"in s){if(!(null===(l=s.options)||void 0===l?void 0:l.length))return null;const e=Boolean(t||s.disabled),{label:a}=s,d=q(s,["label"]);return j("optgroup",Object.assign({class:D("optgroup",{disabled:e}),key:n},r,{label:null==a?void 0:a.toString(),disabled:e}),j(I,Object.assign({OptionGroupProps:r,OptionProps:o,value:i,preKey:n},d,{disabled:e})))}return"value"in s?j(E,Object.assign({key:n},o,{index:n,selectedValue:i},s,{disabled:Boolean(t||s.disabled)})):null}))):null,V=e=>{const{class:s,msg:t,touched:i,disabled:o,required:r,options:a,value:l,OptionProps:n,OptionGroupProps:d,ariaDescribedBy:c,hideLabel:h,label:p}=e,u=q(e,["class","msg","touched","disabled","required","options","value","OptionProps","OptionGroupProps","ariaDescribedBy","hideLabel","label"]),f=Object.assign(Object.assign({class:A(D(Object.assign({disabled:Boolean(o),required:Boolean(r),touched:Boolean(i)},b(t,i)?{[m(t)]:!0}:{})),s),required:r,disabled:o},v({ariaDescribedBy:c,hideLabel:h,label:p})),u);return j("select",Object.assign({},f),j(I,{OptionGroupProps:d,OptionProps:n,disabled:o,options:a,value:l}))},G=(e,s,t)=>{const i=Array.isArray(e);if(s){if(void 0!==e&&!i)throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${t} = ${JSON.stringify(e)})`)}else if(i)throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${t} = ${JSON.stringify(e)})`)},S=(e,s=!1)=>e.flatMap((e=>"options"in e&&Array.isArray(e.options)?S(e.options,Boolean(s||e.disabled)):[Object.assign(Object.assign({},e),{disabled:Boolean(s||e.disabled)})])),T=(e,s,t)=>{if(0===s.length)return e;const i=S(s),o=i.map((e=>e.value)),r=e.every((e=>o.includes(e)))?e:e.filter((e=>o.includes(e)));if(!1===t&&0===r.length){const e=i.find((e=>!0!==e.disabled));return e?[e.value]:r}return r},C=class extends f{constructor(){super(...arguments),this.keyOptionMap=new Map,this.hasValue=!0,this.handleSelectInput=e=>{var s;const t=Array.from((null===(s=this.ctaRef.el)||void 0===s?void 0:s.options)||[]).filter((e=>e.selected)).map((e=>{var s;return null===(s=this.keyOptionMap.get(e.value))||void 0===s?void 0:s.value}));if(this._multiple)this._value=t,this.handleInput(e,t);else{const s=t.length>0?t[0]:void 0;this._value=s,this.handleInput(e,s)}},this.handleSelectChange=e=>{const s=this._value;this.handleChange(e,s),this.hasValue=!!s}}applyAccessKey(e){t.apply(e,(e=>this.setRenderProp("accessKey",e))),g(e,this.getShortKeyProp())}applyShortKey(e){i.apply(e,(e=>this.setRenderProp("shortKey",e))),g(this.getAccessKeyProp(),e)}applyIcons(e){a.apply(e,(e=>this.setRenderProp("icons",e)))}applyMultiple(e){G(this._value,!0===e,"current"),c.apply(e,(e=>{this.setRenderProp("multiple",e),this.setRenderProp("value",T(this.getRenderProp("value"),this.getRenderProp("options"),this._multiple))}))}applyOptions(e){x.apply(e,(e=>{this.setRenderProp("options",e),e.length>0&&(this.keyOptionMap.clear(),K(this.keyOptionMap,e),this.setRenderProp("value",T(this.getRenderProp("value"),e,this._multiple)))}))}applyRequired(e){h.apply(e,(e=>this.setRenderProp("required",e)))}applyRows(e){p.apply(e,(e=>this.setRenderProp("rows",e)))}applyTabIndex(e){o.apply(e,(e=>this.setRenderProp("tabIndex",e)))}applyValue(e){G(e,!0===this._multiple,"received");const s=e=>{const s=T(e,this.getRenderProp("options"),this._multiple);this.setRenderProp("value",s),this.formAssociation.setFormAssociatedValue(this.getModelValue())};null===e?s([null]):L.apply(e,s)}applyVariant(e){r.apply(e,(e=>this.setRenderProp("variant",e)))}getModelValue(){const e=this.getRenderProp("value");return this._multiple?e:Array.isArray(e)&&e.length>0?e[0]:e}getSelectProps(){const{ariaDescribedBy:e,hasError:s}=this.getAria(),t=this.getRenderProp("multiple"),i=this.getRenderProp("shortKey");return Object.assign(Object.assign({id:this.getState("id"),hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),value:this.getRenderProp("value"),options:this.getRenderProp("options"),accessKey:this.getRenderProp("accessKey")||void 0,disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0,"aria-invalid":s?"true":void 0,ariaDescribedBy:e,size:t?this.getRenderProp("rows"):void 0,multiple:t,required:this.getRenderProp("required"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")},i?{"aria-keyshortcuts":i}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleSelectChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleSelectInput,onKeyDown:this.handleKeyDown})}renderSelectField(){const e=this.getRenderProp("disabled"),{startAdornment:s,endAdornment:t}=l({icons:this.getRenderProp("icons")});return j(y,Object.assign({},this.getFormFieldProps({class:A("kol-form-field-select",{"kol-form-field--has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")}),{onClick:()=>{var e;return null===(e=this.ctaRef.el)||void 0===e?void 0:e.focus()}}),j(n,{disabled:e,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:s,endAdornment:t},j(V,Object.assign({},this.getSelectProps()))))}};export{C as B,$ as s}
4
+ import{B as e,O as s,h as t,F as i}from"./common.js";import{a as o,d as r,t as a,v as l}from"./component6.js";import{h as n,g as d,I as h}from"./input-container.js";import{s as c,u as p,c as u,g as b,f as v}from"./base-web-component.js";import{m}from"./multiple.js";import{r as y}from"./required.js";import{r as f}from"./rows.js";import{f as O,i as j,g,a as B,B as A,F as w}from"./base-web-component2.js";import{v as K}from"./access-and-short-key.js";import{f as q}from"./options.js";import{a as P}from"./tslib.es6.js";const k=s=>{if("object"==typeof s&&null!==s){if("string"==typeof s.label&&s.label.length>0)return s.disabled=!0===s.disabled,s.label=`${s.label}`.trim(),!1===c(s.label,3)&&!1===p(s.label)&&e(`A differing Aria-Label (${s.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(s.options)||void 0===s.options.find((e=>!1===k(e)));if("number"==typeof s.label)return!0}return!1},x=u("options",[],(function(e){const t="string"==typeof e?s(e):e;if(Array.isArray(t)&&t.every((e=>k(e))))return t;throw new Error("Invalid select options")})),L=u("value",[],(e=>Array.isArray(e)?e:[e])),$={required:[...O.required],optional:[...O.optional,o,n,m,x,y,f,L,r,a,l]},D=b("kol-select"),E=e=>{var{class:s,index:i,selectedValue:o,selected:r,value:a,label:l,disabled:n}=e,d=P(e,["class","index","selectedValue","selected","value","label","disabled"]);const h=void 0===o?[]:Array.isArray(o)?o:[o],c=r||h.includes(a);return t("option",Object.assign({class:v(D("option",{selected:Boolean(c),disabled:Boolean(n)}),s),selected:c,disabled:n,value:i},d),l)},I=({preKey:e,options:s,disabled:o,value:r,OptionProps:a={},OptionGroupProps:l={}})=>(null==s?void 0:s.length)?t(i,null,s.map(((s,i)=>{const n=[e,`-${i}`].join("");if("options"in s){const e=Boolean(o||s.disabled),{label:i}=s,d=P(s,["label"]);return t("optgroup",Object.assign({class:D("optgroup",{disabled:e}),key:n},l,{label:null==i?void 0:i.toString(),disabled:e}),t(I,Object.assign({OptionGroupProps:l,OptionProps:a,value:r,preKey:n},d,{disabled:e})))}return"value"in s?t(E,Object.assign({key:n},a,{index:n,selectedValue:r},s,{disabled:Boolean(o||s.disabled)})):null}))):null,V=e=>{const{class:s,msg:i,touched:o,disabled:r,required:a,options:l,value:n,OptionProps:d,OptionGroupProps:h,ariaDescribedBy:c,hideLabel:p,label:u}=e,b=P(e,["class","msg","touched","disabled","required","options","value","OptionProps","OptionGroupProps","ariaDescribedBy","hideLabel","label"]),m=Object.assign(Object.assign({class:v(D(Object.assign({disabled:Boolean(r),required:Boolean(a),touched:Boolean(o)},j(i,o)?{[g(i)]:!0}:{})),s),required:a,disabled:r},B({ariaDescribedBy:c,hideLabel:p,label:u})),b);return t("select",Object.assign({},m),t(I,{OptionGroupProps:h,OptionProps:d,disabled:r,options:l,value:n}))},G=(e,s,t)=>{const i=Array.isArray(e);if(s){if(void 0!==e&&!i)throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${t} = ${JSON.stringify(e)})`)}else if(i)throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${t} = ${JSON.stringify(e)})`)},S=(e,s=!1)=>e.flatMap((e=>"options"in e&&Array.isArray(e.options)?S(e.options,Boolean(s||e.disabled)):[Object.assign(Object.assign({},e),{disabled:Boolean(s||e.disabled)})])),T=(e,s,t)=>{if(0===s.length)return e;const i=S(s),o=i.map((e=>e.value)),r=e.every((e=>o.includes(e)))?e:e.filter((e=>o.includes(e)));if(!1===t&&0===r.length){const e=i.find((e=>!0!==e.disabled));return e?[e.value]:r}return r},F=class extends A{constructor(){super(...arguments),this.keyOptionMap=new Map,this.hasValue=!0,this.handleSelectInput=e=>{var s;const t=Array.from((null===(s=this.ctaRef.el)||void 0===s?void 0:s.options)||[]).filter((e=>e.selected)).map((e=>{var s;return null===(s=this.keyOptionMap.get(e.value))||void 0===s?void 0:s.value}));if(this._multiple)this._value=t,this.handleInput(e,t);else{const s=t.length>0?t[0]:void 0;this._value=s,this.handleInput(e,s)}},this.handleSelectChange=e=>{const s=this._value;this.handleChange(e,s),this.hasValue=!!s}}applyAccessKey(e){o.apply(e,(e=>this.setRenderProp("accessKey",e))),K(e,this.getShortKeyProp())}applyShortKey(e){r.apply(e,(e=>this.setRenderProp("shortKey",e))),K(this.getAccessKeyProp(),e)}applyIcons(e){n.apply(e,(e=>this.setRenderProp("icons",e)))}applyMultiple(e){G(this._value,!0===e,"current"),m.apply(e,(e=>{this.setRenderProp("multiple",e),this.setRenderProp("value",T(this.getRenderProp("value"),this.getRenderProp("options"),this._multiple))}))}applyOptions(e){x.apply(e,(e=>{this.setRenderProp("options",e),e.length>0&&(this.keyOptionMap.clear(),q(this.keyOptionMap,e),this.setRenderProp("value",T(this.getRenderProp("value"),e,this._multiple)))}))}applyRequired(e){y.apply(e,(e=>this.setRenderProp("required",e)))}applyRows(e){f.apply(e,(e=>this.setRenderProp("rows",e)))}applyTabIndex(e){a.apply(e,(e=>this.setRenderProp("tabIndex",e)))}applyValue(e){G(e,!0===this._multiple,"received");const s=e=>{const s=T(e,this.getRenderProp("options"),this._multiple);this.setRenderProp("value",s),this.formAssociation.setFormAssociatedValue(this.getModelValue())};null===e?s([null]):L.apply(e,s)}applyVariant(e){l.apply(e,(e=>this.setRenderProp("variant",e)))}getModelValue(){const e=this.getRenderProp("value");return this._multiple?e:Array.isArray(e)&&e.length>0?e[0]:e}getSelectProps(){const{ariaDescribedBy:e,hasError:s}=this.getAria(),t=this.getRenderProp("multiple"),i=this.getRenderProp("shortKey");return Object.assign(Object.assign({id:this.getState("id"),hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),value:this.getRenderProp("value"),options:this.getRenderProp("options"),accessKey:this.getRenderProp("accessKey")||void 0,disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0,"aria-invalid":s?"true":void 0,ariaDescribedBy:e,size:t?this.getRenderProp("rows"):void 0,multiple:t,required:this.getRenderProp("required"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")},i?{"aria-keyshortcuts":i}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleSelectChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleSelectInput,onKeyDown:this.handleKeyDown})}renderSelectField(){const e=this.getRenderProp("disabled"),{startAdornment:s,endAdornment:i}=d({icons:this.getRenderProp("icons")});return t(w,Object.assign({},this.getFormFieldProps({class:v("kol-form-field-select",{"kol-form-field--has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")}),{onClick:()=>{var e;return null===(e=this.ctaRef.el)||void 0===e?void 0:e.focus()}}),t(h,{disabled:e,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:s,endAdornment:i},t(V,Object.assign({},this.getSelectProps()))))}};export{F as B,$ as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as s}from"@stencil/core/internal/client";import{s as i,X as t}from"./common.js";import{B as a}from"./base-web-component.js";import{b as e,e as o,a as h,c as r,d as l}from"./api2.js";import{B as n}from"./component7.js";import{F as p}from"./behavior3.js";import{T as d,i as c}from"./behavior.js";import{a as m,b as y,c as b,f as u,g as f,h as v,s as j,i as x,l as A,d as C,t as B,e as I,v as D}from"./variant.js";import{d as K}from"./disabled.js";import{l as g}from"./label-with-expert-slot.js";import{n as T}from"./name.js";import{v as S}from"./access-and-short-key.js";import{c as L}from"./element-interaction.js";import{d as P,K as w}from"./events.js";import{p as F,a as H}from"./controller.js";const E=class extends a{constructor(){super(...arguments),this.ctaRef=L(),this.tooltipBehavior=new d(this.stateAccess),this.handleClick=s=>{s.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)F({form:this.host});else if("reset"===t)H({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);const t=this.getRenderProp("on").onClick;"function"==typeof t&&(i(s,this.ctaRef.el),t(s,this.formValue))}this.host&&P(this.host,w.click,this.formValue)},this.handleMouseDown=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onMouseDown)||void 0===t||t.call(i,s),this.host&&P(this.host,w.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&P(this.host,w.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&P(this.host,w.blur)}}initFormAssociation(){this.formAssociation=new p(a.stateLess,{host:this.host,type:"button"})}initButtonRenderProps(){this.initRenderProps(e),this.unsetRenderProp("tabIndex")}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp("label"),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(s,i){m.apply(s,(s=>this.setRenderProp("accessKey",s))),S(s,i)}applyAriaControls(s){y.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){b.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){u.apply(s,(s=>this.setRenderProp("ariaExpanded",s)))}applyAriaHasPopup(s){o.apply(s,(s=>this.setRenderProp("ariaHasPopup",s)))}applyAriaSelected(s){h.apply(s,(s=>this.setRenderProp("ariaSelected",s)))}applyCustomClass(s){f.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){K.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){v.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){j.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){c.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){x.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){g.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}))}applyName(s){T.apply(s,(s=>this.setRenderProp("name",s))),this.formAssociation.watchName(s)}applyOn(s){r.apply(s,(s=>this.setRenderProp("on",s)))}applyRole(s){A.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){C.apply(s,(s=>this.setRenderProp("shortKey",s))),S(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?B.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){I.apply(s,(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){l.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var i;D.apply(null!==(i=null!=s?s:t("buttonVariantDefault",this.host))&&void 0!==i?i:"normal",(s=>this.setRenderProp("variant",s)))}getButtonFCProps(){return{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}}renderButtonFC(){return s(n,Object.assign({},this.getButtonFCProps()))}};export{E as B}
4
+ import{i as s,X as i,h as t}from"./common.js";import{a}from"./base-web-component.js";import{b as e,e as o,a as h,n as l,c as n,d as r,B as p}from"./component9.js";import{F as d}from"./behavior3.js";import{T as c}from"./behavior.js";import{a as m,b as y,c as b,g as u,j as f,h as v,s as j,i as x,l as A,d as C,t as I,e as B,v as D}from"./component6.js";import{d as K}from"./disabled.js";import{i as T}from"./id.js";import{l as g}from"./label-with-expert-slot.js";import{v as S}from"./access-and-short-key.js";import{c as L}from"./element-interaction.js";import{d as w,K as F}from"./events.js";import{p as H,a as P}from"./controller.js";const E=class extends a{constructor(){super(...arguments),this.ctaRef=L(),this.propsConfig=e,this.tooltipBehavior=new c(this.stateAccess),this.handleClick=i=>{i.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)H({form:this.host});else if("reset"===t)P({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);const t=this.getRenderProp("on").onClick;"function"==typeof t&&(s(i,this.ctaRef.el),t(i,this.formValue))}this.host&&w(this.host,F.click,this.formValue)},this.handleMouseDown=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onMouseDown)||void 0===t||t.call(i,s),this.host&&w(this.host,F.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&w(this.host,F.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&w(this.host,F.blur)}}initFormAssociation(){this.formAssociation=new d(a.stateLess,{host:this.host,type:"button"})}unsetButtonTabIndex(){this.unsetRenderProp("tabIndex")}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp("label"),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(s,i){m.apply(s,(s=>this.setRenderProp("accessKey",s))),S(s,i)}applyAriaControls(s){y.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){b.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){u.apply(s,(s=>this.setRenderProp("ariaExpanded",s)))}applyAriaHasPopup(s){o.apply(s,(s=>this.setRenderProp("ariaHasPopup",s)))}applyAriaSelected(s){h.apply(s,(s=>this.setRenderProp("ariaSelected",s)))}applyCustomClass(s){f.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){K.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){v.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){j.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){T.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){x.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){g.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}),this.isRequired("label"))}applyName(s){l.apply(s,(s=>this.setRenderProp("name",s))),this.formAssociation.watchName(s)}applyOn(s){n.apply(s,(s=>this.setRenderProp("on",s)))}applyRole(s){A.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){C.apply(s,(s=>this.setRenderProp("shortKey",s))),S(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?I.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){B.apply(null!=s?s:"top",(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){r.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var t;D.apply(null!==(t=null!=s?s:i("buttonVariantDefault",this.host))&&void 0!==t?t:"normal",(s=>this.setRenderProp("variant",s)))}getButtonFCProps(){return{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}}renderButtonFC(){return t(p,Object.assign({},this.getButtonFCProps()))}};export{E as B}