@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
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{n,c as l}from"./dev.utils.js";import{B as a}from"./base2.js";const r=o(class extends a{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=n(),this.headingId=l("dialog-heading"),this.modal=!0,this._level=0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchLevel(o){this.applyLevel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}async show(o=!1){this.showDialog(o)}async close(){this.closeDialog()}async closeModal(){await this.close()}componentWillLoad(){this.initDialogRenderProps(),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"929affaffb62adaa082c9ad52dcadc4b7b0ec832"},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'}}},[801,"kol-dialog",{_label:[1],_level:[2],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]),c=r,s=function(){"undefined"!=typeof customElements&&["kol-dialog"].forEach((o=>{"kol-dialog"===o&&(customElements.get(i(o))||customElements.define(i(o),r))}))};export{c as KolDialog,s as defineCustomElement}
4
+ import{p as o,h as e,H as t,t as i}from"./common.js";import{n,c as l}from"./dev.utils.js";import{B as a}from"./base2.js";const r=o(class extends a{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=n(),this.headingId=l("dialog-heading"),this.modal=!0,this._level=0,this._on=void 0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchLevel(o){this.applyLevel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(o=!1){return this.showDialog(o),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){return await this.close(),Promise.resolve()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"3b17865cdbc3fdc503602684e36437c5ca036496"},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'}}},[801,"kol-dialog",{_label:[1],_level:[2],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]),c=r,s=function(){"undefined"!=typeof customElements&&["kol-dialog"].forEach((o=>{"kol-dialog"===o&&(customElements.get(i(o))||customElements.define(i(o),r))}))};export{c as KolDialog,s as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,proxyCustomElement as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{c as n,B as l}from"./base-web-component.js";import{C as a,r}from"./component5.js";import"./common.js";import{l as s}from"./level.js";import{a as c,T as d}from"./behavior.js";import{h}from"./has-closer.js";import{l as k}from"./label.js";import{b as p}from"./bem-registry.js";import{B as f}from"./component.js";import{D as b,u as m,l as u}from"./scroll-lock.js";import{o as _}from"./open.js";import{n as w,c as g}from"./dev.utils.js";import{c as v}from"./element-interaction.js";import{d as y,K as x}from"./events.js";import{h as C}from"./tooltip-open-tracking.js";const z=n("on",{},(function(o){if("object"!=typeof o||null===o)throw Error("Invalid on callbacks: expected object, got "+typeof o);const{onCancel:e,onClose:t,onToggle:i}=o,n={};return"function"==typeof e&&(n.onCancel=e),"function"==typeof t&&(n.onClose=t),"function"==typeof i&&(n.onToggle=i),n})),j={required:[k],optional:[c,z,h,s]},T=p.forBlock("kol-drawer"),I=T("content"),B=T("dialog"),D=(e,t)=>{const{align:i,cardProps:n,expanded:l,handleAnimationEnd:r,handleCancel:s,handleClose:c,headingId:d,label:h,modal:k,refDialog:p,refWrapper:m}=e;return o(f,{block:"kol-drawer"},o(b,{blockClass:B,handleCancel:s,handleClose:c,label:h,labelledBy:d,modal:k,refDialog:p},o("div",{class:T("wrapper",{[i]:!0,"is-closing":!l,open:l}),onAnimationEnd:r,ref:m},o(a,Object.assign({},n),o("div",{class:I},t)))))},O=()=>{},L=e(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=w(),this.expanded=!1,this.headingId=g("drawer-heading"),this.modal=!0,this.dialogRef=v(),this.wrapperRef=v(),this.cardCloseButtonRef=v(),this.cardCloseTooltipBehavior=new d(this.stateAccess),this._hasCloser=!1,this._level=0,this.handleAnimationEnd=o=>{var e,t;o.animationName.includes("slideOut")&&(null===(t=null===(e=this.dialogRef.el)||void 0===e?void 0:e.close)||void 0===t||t.call(e))},this.handleCancel=o=>{var e,t;C(o),o.defaultPrevented||(null===(t=(e=this.getRenderProp("on")).onCancel)||void 0===t||t.call(e,o),o.defaultPrevented||this.host&&!y(this.host,x.cancel)&&o.preventDefault())},this.handleClose=o=>{var e,t;if(o.target!==this.dialogRef.el)return;m(this),this.closeDrawer();const i=this.getRenderProp("on");null===(e=i.onClose)||void 0===e||e.call(i),null===(t=i.onToggle)||void 0===t||t.call(i,!1),this.host&&(y(this.host,x.close),y(this.host,x.toggle))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDrawer()}}watchAlign(o){c.apply(o,(o=>this.setRenderProp("align",o)))}watchHasCloser(o){h.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){k.apply(o,(o=>this.setRenderProp("label",o)))}watchLevel(o){s.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){z.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){_.apply(o,(o=>{this.setState("expanded",o),this.dialogRef.el&&this.openOrCloseBasedOnState()}))}async show(o=!1){this.showDrawer(o)}async showModal(){await this.show(!0)}async open(){await this.show(!1)}async close(){this.closeDrawer()}componentWillLoad(){this.initRenderProps(j),this.cardCloseButtonProps=r(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:this.cardCloseButtonProps.tooltipAlign}),this.watchAlign(this._align),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.openOrCloseBasedOnState()}componentDidRender(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}disconnectedCallback(){m(this),this.cardCloseTooltipBehavior.destroy()}showDrawer(o){var e,t,i,n;const l=this.dialogRef.el;(null==l?void 0:l.open)||(this.setState("modal",o),this.setState("expanded",!0),o?(null===(e=null==l?void 0:l.showModal)||void 0===e||e.call(l),l&&u(this)):null===(t=null==l?void 0:l.show)||void 0===t||t.call(l),null===(n=(i=this.getRenderProp("on")).onToggle)||void 0===n||n.call(i,!0),this.host&&y(this.host,x.toggle))}closeDrawer(){var o,e;this.setState("expanded",!1);const t=this.wrapperRef.el;t&&"none"===window.getComputedStyle(t).animationName&&(null===(e=null===(o=this.dialogRef.el)||void 0===o?void 0:o.close)||void 0===e||e.call(o))}openOrCloseBasedOnState(){this.getState("expanded")?this.showDrawer(this.getState("modal")):this.closeDrawer()}buildCardProps(){return{ariaDescriptionId:this.getState("ariaDescriptionId"),closeButtonProps:this.cardCloseButtonProps,handleBlur:O,handleClose:this.handleCardClose,handleFocus:O,hasCloser:this.getRenderProp("hasCloser"),headingId:this.getState("headingId"),href:"",label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:{},refCloseButton:this.cardCloseButtonRef,refCta:O,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef,target:""}}render(){return o(t,{key:"07d13dbcc9120fc12a5042a590819d8830df2767"},o(D,{key:"1c90e25e99496b6f30a35ec8bb9c4a87cd2c3254",align:this.getRenderProp("align"),ariaDescriptionId:this.getState("ariaDescriptionId"),cardProps:this.buildCardProps(),expanded:this.getState("expanded"),handleAnimationEnd:this.handleAnimationEnd,handleCancel:this.handleCancel,handleClose:this.handleClose,hasCloser:this.getRenderProp("hasCloser"),headingId:this.getState("headingId"),label:this.getRenderProp("label"),level:this.getRenderProp("level"),modal:this.getState("modal"),on:this.getRenderProp("on"),refDialog:this.dialogRef,refWrapper:this.wrapperRef},o("slot",{key:"b19de620e992491f65de6681cdab5ca1f4e4ac0e"})))}get host(){return this}static get watchers(){return{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-drawer__dialog { padding: 0; border: none; overscroll-behavior: contain; } .kol-drawer__wrapper { position: fixed; overflow: auto; overscroll-behavior: contain; } .kol-drawer__wrapper--left, .kol-drawer__wrapper--right { top: 0; max-width: 100vw; height: 100vh; } .kol-drawer__wrapper--left .kol-drawer__content, .kol-drawer__wrapper--right .kol-drawer__content { height: 100%; } .kol-drawer__wrapper--left { left: 0; } .kol-drawer__wrapper--right { right: 0; } .kol-drawer__wrapper--bottom, .kol-drawer__wrapper--top { left: 0; width: 100vw; max-height: 100vh; } .kol-drawer__wrapper--bottom .kol-drawer__content, .kol-drawer__wrapper--top .kol-drawer__content { width: 100%; } .kol-drawer__wrapper--bottom { bottom: 0; } .kol-drawer__wrapper--top { top: 0; } .kol-drawer__content { position: relative; } .kol-drawer__dialog .kol-card__content { overflow-y: auto; overscroll-behavior: contain; } }'}}},[801,"kol-drawer",{_align:[1],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_open:[4],ariaDescriptionId:[32],expanded:[32],headingId:[32],modal:[32],show:[64],showModal:[64],open:[64],close:[64]},void 0,{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]),E=L,A=function(){"undefined"!=typeof customElements&&["kol-drawer"].forEach((o=>{"kol-drawer"===o&&(customElements.get(i(o))||customElements.define(i(o),L))}))};export{E as KolDrawer,A as defineCustomElement}
4
+ import{h as o,p as e,H as t,t as i}from"./common.js";import{c as n,r as l,B as a,a as r}from"./base-web-component.js";import{C as s,r as c}from"./component8.js";import{l as d}from"./level.js";import{a as h,T as k}from"./behavior.js";import{h as p}from"./has-closer.js";import{l as b}from"./label-lang-segment.js";import{b as f}from"./bem-registry.js";import{D as m,u,l as _}from"./scroll-lock.js";import{o as w}from"./open.js";import{n as g,c as v}from"./dev.utils.js";import{c as y}from"./element-interaction.js";import{d as x,K as C}from"./events.js";import{h as z}from"./tooltip-open-tracking.js";const T=n("on",{},(function(o){if("object"!=typeof o||null===o)throw Error("Invalid on callbacks: expected object, got "+typeof o);const{onCancel:e,onClose:t,onToggle:i}=o,n={};return"function"==typeof e&&(n.onCancel=e),"function"==typeof t&&(n.onClose=t),"function"==typeof i&&(n.onToggle=i),n})),j={required:[b],optional:[h,T,p,d]},I=f.forBlock("kol-drawer"),D=I("content"),B=I("dialog"),O=(e,t)=>{const{align:i,cardProps:n,expanded:r,handleAnimationEnd:c,handleCancel:d,handleClose:h,headingId:k,label:p,modal:b,refDialog:f,refWrapper:u}=l(j,e);return o(a,{block:"kol-drawer"},o(m,{elementClass:B,handleCancel:d,handleClose:h,label:p,labelledBy:k,modal:b,refDialog:f},o("div",{class:I("wrapper",{[i]:!0,"is-closing":!r,open:r}),onAnimationEnd:c,ref:u},o(s,Object.assign({},n),o("div",{class:D},t)))))},L=e(class extends r{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=g(),this.expanded=!1,this.headingId=v("drawer-heading"),this.modal=!0,this.dialogRef=y(),this.wrapperRef=y(),this.cardCloseButtonRef=y(),this.cardCloseTooltipBehavior=new k(this.stateAccess),this.propsConfig=j,this._align=void 0,this._hasCloser=!1,this._level=0,this._on=void 0,this._open=void 0,this.handleAnimationEnd=o=>{var e,t;o.animationName.includes("slideOut")&&(null===(t=null===(e=this.dialogRef.el)||void 0===e?void 0:e.close)||void 0===t||t.call(e))},this.handleCancel=o=>{var e,t;z(o),o.defaultPrevented||(null===(t=(e=this.getRenderProp("on")).onCancel)||void 0===t||t.call(e,o),o.defaultPrevented||this.host&&!x(this.host,C.cancel)&&o.preventDefault())},this.handleClose=o=>{var e,t;if(o.target!==this.dialogRef.el)return;u(this),this.closeDrawer();const i=this.getRenderProp("on");null===(e=i.onClose)||void 0===e||e.call(i),null===(t=i.onToggle)||void 0===t||t.call(i,!1),this.host&&(x(this.host,C.close),x(this.host,C.toggle))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDrawer()}}watchAlign(o){h.apply(o,(o=>this.setRenderProp("align",o)))}watchHasCloser(o){p.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){b.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){d.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){T.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){w.apply(o,(o=>{this.setState("expanded",o),this.dialogRef.el&&this.openOrCloseBasedOnState()}))}show(o=!1){return this.showDrawer(o),Promise.resolve()}async showModal(){await this.show(!0)}async open(){await this.show(!1)}close(){return this.closeDrawer(),Promise.resolve()}componentWillLoad(){this.cardCloseButtonProps=c(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:"left"}),this.watchAlign(this._align),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.openOrCloseBasedOnState()}componentDidRender(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}disconnectedCallback(){u(this),this.cardCloseTooltipBehavior.destroy()}showDrawer(o){var e,t,i,n;const l=this.dialogRef.el;(null==l?void 0:l.open)||(this.setState("modal",o),this.setState("expanded",!0),o?(null===(e=null==l?void 0:l.showModal)||void 0===e||e.call(l),l&&_(this)):null===(t=null==l?void 0:l.show)||void 0===t||t.call(l),null===(n=(i=this.getRenderProp("on")).onToggle)||void 0===n||n.call(i,!0),this.host&&x(this.host,C.toggle))}closeDrawer(){var o,e;this.setState("expanded",!1);const t=this.wrapperRef.el;t&&"none"===window.getComputedStyle(t).animationName&&(null===(e=null===(o=this.dialogRef.el)||void 0===o?void 0:o.close)||void 0===e||e.call(o))}openOrCloseBasedOnState(){this.getState("expanded")?this.showDrawer(this.getState("modal")):this.closeDrawer()}buildCardProps(){return{ariaDescriptionId:this.getState("ariaDescriptionId"),closeButtonProps:this.cardCloseButtonProps,handleClose:this.handleCardClose,hasCloser:this.getRenderProp("hasCloser"),headingId:this.getState("headingId"),label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloseButton:this.cardCloseButtonRef,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef}}render(){return o(t,{key:"7ff8be19e20195372888fa0b2d055cc3b6ea83e1"},o(O,{key:"b1759cb1c3f5c5083e21bc474a15ca103a0ef3c3",align:this.getRenderProp("align"),ariaDescriptionId:this.getState("ariaDescriptionId"),cardProps:this.buildCardProps(),expanded:this.getState("expanded"),handleAnimationEnd:this.handleAnimationEnd,handleCancel:this.handleCancel,handleClose:this.handleClose,hasCloser:this.getRenderProp("hasCloser"),headingId:this.getState("headingId"),label:this.getRenderProp("label"),level:this.getRenderProp("level"),modal:this.getState("modal"),on:this.getRenderProp("on"),refDialog:this.dialogRef,refWrapper:this.wrapperRef},o("slot",{key:"513af996f14ee849ca30ebbae24e53fb04a75a5e"})))}get host(){return this}static get watchers(){return{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-drawer__dialog { padding: 0; border: none; overscroll-behavior: contain; } .kol-drawer__wrapper { position: fixed; overflow: auto; overscroll-behavior: contain; } .kol-drawer__wrapper--left, .kol-drawer__wrapper--right { top: 0; max-width: 100vw; height: 100vh; } .kol-drawer__wrapper--left .kol-drawer__content, .kol-drawer__wrapper--right .kol-drawer__content { height: 100%; } .kol-drawer__wrapper--left { left: 0; } .kol-drawer__wrapper--right { right: 0; } .kol-drawer__wrapper--bottom, .kol-drawer__wrapper--top { left: 0; width: 100vw; max-height: 100vh; } .kol-drawer__wrapper--bottom .kol-drawer__content, .kol-drawer__wrapper--top .kol-drawer__content { width: 100%; } .kol-drawer__wrapper--bottom { bottom: 0; } .kol-drawer__wrapper--top { top: 0; } .kol-drawer__content { position: relative; } .kol-drawer__dialog .kol-card__content { overflow-y: auto; overscroll-behavior: contain; } }'}}},[801,"kol-drawer",{_align:[1],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_open:[4],ariaDescriptionId:[32],expanded:[32],headingId:[32],modal:[32],show:[64],showModal:[64],open:[64],close:[64]},void 0,{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]),E=L,A=function(){"undefined"!=typeof customElements&&["kol-drawer"].forEach((o=>{"kol-drawer"===o&&(customElements.get(i(o))||customElements.define(i(o),L))}))};export{E as KolDrawer,A as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as o,proxyCustomElement as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{c as n,e as l,a as r,d as a,B as s}from"./base-web-component.js";import{s as c}from"./common.js";import{t as d}from"./i18n.js";import{b as k}from"./bem-registry.js";import{B as f}from"./component.js";import{A as h}from"./component2.js";import{L as m,l as b,b as p}from"./api.js";import{n as u,c as g}from"./dev.utils.js";import{h as _}from"./href.js";import{l as y}from"./label-with-expert-slot.js";import{d as x,K as v}from"./events.js";function w(o){if("object"!=typeof o||null===o)return!1;const{message:e,selector:t}=o;return"string"==typeof e&&("string"==typeof t||"function"==typeof t)}const T=n("errorList",[],(o=>l(o)),(o=>o.every(w))),z=r(),L=n("requiredText",!0,(function(o){if("boolean"==typeof o||"string"==typeof o)return o;throw Error("Invalid requiredText: expected boolean or string, got "+typeof o)})),I={optional:[T,z,L]},j=k.forBlock("kol-form"),q=j("alert"),B=j("link"),E=({alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:i})=>o(h,{alert:!1,class:q,closerAriaDescriptionId:t,handleCloserClick:()=>{},hasCloser:!1,headingId:e,label:d("kol-error-list-message"),level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:"error",variant:"card"},o("nav",{"aria-label":d("kol-error-list")},o("ul",null,i.map(((e,t)=>o("li",{key:t},o("span",{class:B},o(m,Object.assign({},e.fcProps))))))))),C=k.forBlock("kol-form"),A=C("form"),G=C("mandatory-fields-hint"),R=({alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:i,handleReset:n,handleSubmit:l,requiredText:r})=>{const a=!0===r?d("kol-form-description"):"string"==typeof r&&r.length>0?r:"";return o(f,{block:"kol-form"},i.length>0&&o(E,{alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:i}),o("form",{class:A,method:"post",onSubmit:l,onReset:n,noValidate:!0},a.length>0&&o("p",{class:G},a),o("slot",null)))},D={behavior:"smooth",block:"nearest"},H=e(class extends s{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.errorLinkItems=[],this.alertHeadingId=g("alert-heading"),this.closerAriaDescriptionId=u(),this._requiredText=!0,this.handleSubmit=o=>{o.preventDefault();const e=this.getRenderProp("on").onSubmit;"function"==typeof e&&e(o),this.host&&x(this.host,v.submit)},this.handleReset=o=>{o.preventDefault();const e=this.getRenderProp("on").onReset;"function"==typeof e&&e(o),this.host&&x(this.host,v.reset)},this.focusErrorTarget=(o,e)=>{const t=document.querySelector(o);t&&"function"==typeof t.focus&&t.focus(null!=e?e:D)}}watchErrorList(o){T.apply(o,(o=>{this.setRenderProp("errorList",o),this.errorLinkItems=o.map((o=>((o,e)=>{const t=a(b);let i;return t.tabIndex=void 0,_.apply("",(o=>t.href=o)),y.apply(o.message,(o=>t.label=o)),p.apply({onClick:"string"==typeof o.selector?()=>e(o.selector+"",o.options):o.selector},(o=>t.on=o)),t.ariaCurrent="",t.ariaDescriptionId=u(),t.expertSlot=""===o.message,t.handleAnchorClick=o=>{var e;const n=null===(e=t.on)||void 0===e?void 0:e.onClick;"function"==typeof n&&(c(o,i),n(o,t.href))},t.refAnchor=o=>{i=o},t.refTooltip=()=>{},{fcProps:t,focus:o=>null==i?void 0:i.focus(o)}})(o,this.focusErrorTarget)))}))}watchOn(o){z.apply(o,(o=>this.setRenderProp("on",o)))}watchRequiredText(o){L.apply(o,(o=>this.setRenderProp("requiredText",o)))}async focusErrorList(o){setTimeout((()=>{var e;null===(e=this.errorLinkItems[0])||void 0===e||e.focus(null!=o?o:D)}),250)}componentWillLoad(){this.initRenderProps(I),this.watchErrorList(this._errorList),this.watchOn(this._on),this.watchRequiredText(this._requiredText)}render(){return o(t,{key:"3caf5b430e7c2a733e30a9a23205dd32c098b2cf"},o(R,{key:"70f5cdf9d1c03cd20b2e130cf589c74486daed16",alertHeadingId:this.alertHeadingId,closerAriaDescriptionId:this.closerAriaDescriptionId,errorList:this.getRenderProp("errorList"),errorLinkItems:this.errorLinkItems,handleReset:this.handleReset,handleSubmit:this.handleSubmit,on:this.getRenderProp("on"),requiredText:this.getRenderProp("requiredText")}))}get host(){return this}static get watchers(){return{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'}}},[545,"kol-form",{_errorList:[16],_on:[16],_requiredText:[8,"_required-text"],errorLinkItems:[32],focusErrorList:[64]},void 0,{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}]),S=H,O=function(){"undefined"!=typeof customElements&&["kol-form"].forEach((o=>{"kol-form"===o&&(customElements.get(i(o))||customElements.define(i(o),H))}))};export{S as KolForm,O as defineCustomElement}
4
+ import{h as e,i as o,p as t,H as i,t as n}from"./common.js";import{c as l,h as r,b as a,B as s,e as c,a as d}from"./base-web-component.js";import{t as k}from"./i18n.js";import{b as f}from"./bem-registry.js";import{A as h}from"./component.js";import{L as m,l as b,b as u}from"./component4.js";import{n as p,c as g}from"./dev.utils.js";import{h as _}from"./link-target.js";import{l as y}from"./label-with-expert-slot.js";import{d as x,K as v}from"./events.js";function w(e){if("object"!=typeof e||null===e)return!1;const{message:o,selector:t}=e;return"string"==typeof o&&("string"==typeof t||"function"==typeof t)}const T=l("errorList",[],(e=>r(e)),(e=>e.every(w))),z=a(),L=l("requiredText",!0,(function(e){if("boolean"==typeof e||"string"==typeof e)return e;throw Error("Invalid requiredText: expected boolean or string, got "+typeof e)})),I={optional:[T,z,L]},C=f.forBlock("kol-form"),j=C("alert"),q=C("link"),E=({alertHeadingId:o,closerAriaDescriptionId:t,errorLinkItems:i})=>e(h,{alert:!1,class:j,closerAriaDescriptionId:t,handleCloserClick:()=>{},hasCloser:!1,headingId:o,label:k("kol-error-list-message"),level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:"error",variant:"card"},e("nav",{"aria-label":k("kol-error-list")},e("ul",null,i.map(((o,t)=>e("li",{key:t},e("span",{class:q},e(m,Object.assign({},o.fcProps))))))))),B=f.forBlock("kol-form"),A=B("form"),G=B("mandatory-fields-hint"),H=({alertHeadingId:o,closerAriaDescriptionId:t,errorLinkItems:i,handleReset:n,handleSubmit:l,requiredText:r})=>{const a=!0===r?k("kol-form-description"):"string"==typeof r&&r.length>0?r:"";return e(s,{block:"kol-form"},i.length>0&&e(E,{alertHeadingId:o,closerAriaDescriptionId:t,errorLinkItems:i}),e("form",{class:A,method:"post",onSubmit:l,onReset:n,noValidate:!0},a.length>0&&e("p",{class:G},a),e("slot",null)))},R={behavior:"smooth",block:"nearest"},D=t(class extends d{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.errorLinkItems=[],this.alertHeadingId=g("alert-heading"),this.closerAriaDescriptionId=p(),this.propsConfig=I,this._errorList=void 0,this._on=void 0,this._requiredText=!0,this.handleSubmit=e=>{e.preventDefault();const o=this.getRenderProp("on").onSubmit;"function"==typeof o&&o(e),this.host&&x(this.host,v.submit)},this.handleReset=e=>{e.preventDefault();const o=this.getRenderProp("on").onReset;"function"==typeof o&&o(e),this.host&&x(this.host,v.reset)},this.focusErrorTarget=(e,o)=>{const t=document.querySelector(e);t&&"function"==typeof t.focus&&t.focus(null!=o?o:R)}}watchErrorList(e){T.apply(e,(e=>{this.setRenderProp("errorList",e),this.errorLinkItems=e.map((e=>((e,t)=>{const i=c(b);let n;return i.tabIndex=void 0,_.apply("",(e=>i.href=e)),y.apply(e.message,(e=>i.label=e)),u.apply({onClick:"string"==typeof e.selector?()=>t(e.selector+"",e.options):e.selector},(e=>i.on=e)),i.ariaCurrent="",i.ariaDescriptionId=p(),i.expertSlot=""===e.message,i.handleAnchorClick=e=>{var t;const l=null===(t=i.on)||void 0===t?void 0:t.onClick;"function"==typeof l&&(o(e,n),l(e,i.href))},i.refAnchor=e=>{n=e},i.refTooltip=()=>{},{fcProps:i,focus:e=>null==n?void 0:n.focus(e)}})(e,this.focusErrorTarget)))}))}watchOn(e){z.apply(e,(e=>this.setRenderProp("on",e)))}watchRequiredText(e){L.apply(e,(e=>this.setRenderProp("requiredText",e)))}focusErrorList(e){return setTimeout((()=>{var o;null===(o=this.errorLinkItems[0])||void 0===o||o.focus(null!=e?e:R)}),250),Promise.resolve()}componentWillLoad(){this.watchErrorList(this._errorList),this.watchOn(this._on),this.watchRequiredText(this._requiredText)}render(){return e(i,{key:"94f5bb67c8748b2aee2e7140451c7084367fe8b6"},e(H,{key:"54b5158764974680f8551db3174f91feb95468d4",alertHeadingId:this.alertHeadingId,closerAriaDescriptionId:this.closerAriaDescriptionId,errorList:this.getRenderProp("errorList"),errorLinkItems:this.errorLinkItems,handleReset:this.handleReset,handleSubmit:this.handleSubmit,on:this.getRenderProp("on"),requiredText:this.getRenderProp("requiredText")}))}get host(){return this}static get watchers(){return{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'}}},[545,"kol-form",{_errorList:[16],_on:[16],_requiredText:[8,"_required-text"],errorLinkItems:[32],focusErrorList:[64]},void 0,{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}]),S=D,O=function(){"undefined"!=typeof customElements&&["kol-form"].forEach((e=>{"kol-form"===e&&(customElements.get(n(e))||customElements.define(n(e),D))}))};export{S as KolForm,O as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e,proxyCustomElement as o,Host as l,transformTag as a}from"@stencil/core/internal/client";import{c as t,b as i,B as n}from"./base-web-component.js";import"./common.js";import{l as r}from"./level.js";import{l as s}from"./label-with-expert-slot.js";import{b as d}from"./bem-registry.js";import{c}from"./clsx.js";const b=t("secondaryHeadline","",i),h={optional:[r,b],required:[s]},k=d.forBlock("kol-heading"),p=d.forBlock("kol-headline"),u=o=>{const{label:l,level:a,secondaryHeadline:t}=o,i=function(e){return e>=1&&e<=6?"h"+e:"strong"}(a);return t?e("hgroup",{class:k({group:!0})},e(i,{class:p({[i]:!0,group:!0,primary:!0})},l,e("slot",{name:"expert",slot:"expert"})),e("p",{class:p({group:!0,secondary:!0})},t)):e(i,{class:c(k(),p({[i]:!0,single:!0}))},l,e("slot",{name:"expert",slot:"expert"}))},m=o(class extends n{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this._level=0}watchLabel(e){s.apply(e,(e=>this.setRenderProp("label",e)))}watchLevel(e){r.apply(e,(e=>this.setRenderProp("level",e)))}watchSecondaryHeadline(e){b.apply(e,(e=>this.setRenderProp("secondaryHeadline",e)))}componentWillLoad(){this.initRenderProps(h),s.apply(this._label,(e=>this.setRenderProp("label",e))),r.apply(this._level,(e=>this.setRenderProp("level",e))),b.apply(this._secondaryHeadline,(e=>this.setRenderProp("secondaryHeadline",e)))}render(){return e(l,{key:"3eb50d93a9f4891d294f10363b5b1ad24ae92dc5"},e(u,{key:"c72dda04f3ad30c2bd14b1aec6f2207d66c5799f",label:this.getRenderProp("label"),level:this.getRenderProp("level"),secondaryHeadline:this.getRenderProp("secondaryHeadline")}))}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-headline--secondary { margin: 0; } }'}}},[545,"kol-heading",{_label:[1],_level:[2],_secondaryHeadline:[1,"_secondary-headline"]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}]),y=m,f=function(){"undefined"!=typeof customElements&&["kol-heading"].forEach((e=>{"kol-heading"===e&&(customElements.get(a(e))||customElements.define(a(e),m))}))};export{y as KolHeading,f as defineCustomElement}
4
+ import{h as e,p as o,H as t,t as a}from"./common.js";import{c as l,d as r,r as i,B as n,a as s}from"./base-web-component.js";import{l as d}from"./level.js";import{l as c}from"./label-with-expert-slot.js";import{b}from"./bem-registry.js";import{r as k}from"./component5.js";const m=l("secondaryHeadline","",r),h={optional:[d,m],required:[c]},u=b.forBlock("kol-headline"),p=o=>{const{label:t,level:a,secondaryHeadline:l}=i(h,o),r=function(e){return e>=1&&e<=6?"h"+e:"strong"}(a);return l?e(n,{component:"hgroup",block:"kol-heading",modifiers:{group:!0}},e(r,{class:u({[r]:!0,group:!0,primary:!0})},k(t),e("slot",{name:"expert",slot:"expert"})),e("p",{class:u({group:!0,secondary:!0})},l)):e(n,{component:r,block:"kol-heading",class:u({[r]:!0,single:!0})},k(t),e("slot",{name:"expert",slot:"expert"}))},g=o(class extends s{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=h,this._level=0,this._secondaryHeadline=void 0}watchLabel(e){c.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchLevel(e){d.apply(e,(e=>this.setRenderProp("level",e)))}watchSecondaryHeadline(e){m.apply(e,(e=>this.setRenderProp("secondaryHeadline",e)))}componentWillLoad(){c.apply(this._label,(e=>this.setRenderProp("label",e)),this.isRequired("label")),d.apply(this._level,(e=>this.setRenderProp("level",e))),m.apply(this._secondaryHeadline,(e=>this.setRenderProp("secondaryHeadline",e)))}render(){return e(t,{key:"b6f8fd70f4454c702a370d05f24ecb2fc63fcde9"},e(p,{key:"edcd4e446e999773121e8c6b2dc8d35bc9d3d6da",label:this.getRenderProp("label"),level:this.getRenderProp("level"),secondaryHeadline:this.getRenderProp("secondaryHeadline")}))}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-headline--secondary { margin: 0; } }'}}},[545,"kol-heading",{_label:[1],_level:[2],_secondaryHeadline:[1,"_secondary-headline"]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}]),f=g,y=function(){"undefined"!=typeof customElements&&["kol-heading"].forEach((e=>{"kol-heading"===e&&(customElements.get(a(e))||customElements.define(a(e),g))}))};export{f as KolHeading,y as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as o,h as e,Host as n,transformTag as t}from"@stencil/core/internal/client";import{c,b as i,B as l}from"./base-web-component.js";import"./common.js";import{l as r}from"./label.js";import{I as a}from"./component4.js";const s=c("icons","kolicon-logo",i),f={required:[s,r]},k=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow()}watchIcons(o){s.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){r.apply(o,(o=>this.setRenderProp("label",o)))}componentWillLoad(){this.initRenderProps(f),s.apply(this._icons,(o=>this.setRenderProp("icons",o))),r.apply(this._label,(o=>this.setRenderProp("label",o)))}render(){return e(n,{key:"8d0547bf64c8d005c17a5f00a14c4a20aa84cf42"},e(a,{key:"f29c285e793efae7dde5076a9d8aa5ca84c812d1",icons:this.getRenderProp("icons"),label:this.getRenderProp("label")}))}static get watchers(){return{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}}static get style(){return{default:'@font-face{font-family:"kolicons";src:url("kolicons.eot?t=1793002577585");src:url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg");}@layer kol-component{[class^=kolicon-],[class*=" kolicon-"]{font-family:"kolicons";font-style:normal;font-weight:400;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.kolicon-alert-error::before{content:"\\ea01"}.kolicon-alert-info::before{content:"\\ea02"}.kolicon-alert-success::before{content:"\\ea03"}.kolicon-alert-warning::before{content:"\\ea04"}.kolicon-check::before{content:"\\ea05"}.kolicon-chevron-double-left::before{content:"\\ea06"}.kolicon-chevron-double-right::before{content:"\\ea07"}.kolicon-chevron-down::before{content:"\\ea08"}.kolicon-chevron-left::before{content:"\\ea09"}.kolicon-chevron-right::before{content:"\\ea0a"}.kolicon-chevron-up::before{content:"\\ea0b"}.kolicon-cogwheel::before{content:"\\ea0c"}.kolicon-cross::before{content:"\\ea0d"}.kolicon-eye-closed::before{content:"\\ea0e"}.kolicon-eye::before{content:"\\ea0f"}.kolicon-house::before{content:"\\ea10"}.kolicon-kolibri::before{content:"\\ea11"}.kolicon-link-external::before{content:"\\ea12"}.kolicon-link::before{content:"\\ea13"}.kolicon-minus::before{content:"\\ea14"}.kolicon-pin-pinned::before{content:"\\ea15"}.kolicon-pin-unpinned::before{content:"\\ea16"}.kolicon-plus::before{content:"\\ea17"}.kolicon-settings::before{content:"\\ea18"}.kolicon-sort-asc::before{content:"\\ea19"}.kolicon-sort-desc::before{content:"\\ea1a"}.kolicon-sort-neutral::before{content:"\\ea1b"}.kolicon-up::before{content:"\\ea1c"}.kolicon-version::before{content:"\\ea1d"}}@layer kol-component{.kol-icon{color:inherit;display:inline-block;font-size:inherit;font-weight:inherit;line-height:inherit}}'}}},[545,"kol-icon",{_icons:[1],_label:[1]},void 0,{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}]),b=k,h=function(){"undefined"!=typeof customElements&&["kol-icon"].forEach((o=>{"kol-icon"===o&&(customElements.get(t(o))||customElements.define(t(o),k))}))};export{b as KolIcon,h as defineCustomElement}
4
+ import{p as o,h as e,H as n,t}from"./common.js";import{c,d as i,a as l}from"./base-web-component.js";import{i as a}from"./validators.js";import{l as r}from"./label-hints.js";import{I as s}from"./component3.js";const f=c("icons","kolicon-logo",i),b=c("label",void 0,i,a,{hints:r}),k={required:[f,b]},h=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.propsConfig=k}watchIcons(o){f.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){b.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}componentWillLoad(){f.apply(this._icons,(o=>this.setRenderProp("icons",o))),b.apply(this._label,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}render(){return e(n,{key:"bf1ba08566bb99f053baf84cc25f5ff996d70466"},e(s,{key:"7104d1af300d489b487ddca06bdbc65adae73beb",icons:this.getRenderProp("icons"),label:this.getRenderProp("label")}))}static get watchers(){return{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}}static get style(){return{default:'@font-face{font-family:"kolicons";src:url("kolicons.eot?t=1795175086587");src:url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg");}@layer kol-component{[class^=kolicon-],[class*=" kolicon-"]{font-family:"kolicons";font-style:normal;font-weight:400;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.kolicon-alert-error::before{content:"\\ea01"}.kolicon-alert-info::before{content:"\\ea02"}.kolicon-alert-success::before{content:"\\ea03"}.kolicon-alert-warning::before{content:"\\ea04"}.kolicon-check::before{content:"\\ea05"}.kolicon-chevron-double-left::before{content:"\\ea06"}.kolicon-chevron-double-right::before{content:"\\ea07"}.kolicon-chevron-down::before{content:"\\ea08"}.kolicon-chevron-left::before{content:"\\ea09"}.kolicon-chevron-right::before{content:"\\ea0a"}.kolicon-chevron-up::before{content:"\\ea0b"}.kolicon-cogwheel::before{content:"\\ea0c"}.kolicon-cross::before{content:"\\ea0d"}.kolicon-eye-closed::before{content:"\\ea0e"}.kolicon-eye::before{content:"\\ea0f"}.kolicon-house::before{content:"\\ea10"}.kolicon-kolibri::before{content:"\\ea11"}.kolicon-link-external::before{content:"\\ea12"}.kolicon-link::before{content:"\\ea13"}.kolicon-minus::before{content:"\\ea14"}.kolicon-pin-pinned::before{content:"\\ea15"}.kolicon-pin-unpinned::before{content:"\\ea16"}.kolicon-plus::before{content:"\\ea17"}.kolicon-settings::before{content:"\\ea18"}.kolicon-sort-asc::before{content:"\\ea19"}.kolicon-sort-desc::before{content:"\\ea1a"}.kolicon-sort-neutral::before{content:"\\ea1b"}.kolicon-up::before{content:"\\ea1c"}.kolicon-version::before{content:"\\ea1d"}}@layer kol-component{.kol-icon{color:inherit;display:inline-block;font-size:inherit;font-weight:inherit;line-height:inherit}}'}}},[545,"kol-icon",{_icons:[1],_label:[1]},void 0,{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}]),m=h,d=function(){"undefined"!=typeof customElements&&["kol-icon"].forEach((o=>{"kol-icon"===o&&(customElements.get(t(o))||customElements.define(t(o),h))}))};export{m as KolIcon,d as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as t,proxyCustomElement as o,Host as e,transformTag as i}from"@stencil/core/internal/client";import{c as a,b as l,a as r,l as s,B as n}from"./base-web-component.js";import"./common.js";import{s as c}from"./src.js";import{d,K as h}from"./events.js";const b=a("alt","",l,(t=>"string"==typeof t)),k=r(),u=a("sizes","",l),p=a("srcset","",l),m={optional:[k,s,u,p],required:[b,c]},_=o=>{const{alt:e,loading:i,sizes:a,src:l,srcset:r,handleError:s,handleLoad:n}=o;return t("img",{class:"kol-image",alt:e,loading:i,sizes:a||void 0,src:l,srcset:r||void 0,onError:t=>s(t),onLoad:t=>n(t)})},g=o(class extends n{constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.handleError=t=>{var o,e;null===(e=(o=this.getRenderProp("on")).onError)||void 0===e||e.call(o,t),this.host&&d(this.host,h.error,t)},this.handleLoad=t=>{var o,e;null===(e=(o=this.getRenderProp("on")).onLoad)||void 0===e||e.call(o,t),this.host&&d(this.host,h.load,t)}}watchAlt(t){b.apply(t,(t=>this.setRenderProp("alt",t)))}watchLoading(t){s.apply(t,(t=>this.setRenderProp("loading",t)))}watchSizes(t){u.apply(t,(t=>this.setRenderProp("sizes",t)))}watchSrc(t){c.apply(t,(t=>this.setRenderProp("src",t)))}watchSrcset(t){p.apply(t,(t=>this.setRenderProp("srcset",t)))}watchOn(t){k.apply(t,(t=>this.setRenderProp("on",t)))}componentWillLoad(){this.initRenderProps(m),b.apply(this._alt,(t=>this.setRenderProp("alt",t))),s.apply(this._loading,(t=>this.setRenderProp("loading",t))),k.apply(this._on,(t=>this.setRenderProp("on",t))),u.apply(this._sizes,(t=>this.setRenderProp("sizes",t))),c.apply(this._src,(t=>this.setRenderProp("src",t))),p.apply(this._srcset,(t=>this.setRenderProp("srcset",t)))}render(){return t(e,{key:"99ca5990f412c94d2c3321d2c62f5c3f4d23b924"},t(_,{key:"4a970d2031218a811dd5d36497e45eb88444bd38",alt:this.getRenderProp("alt"),loading:this.getRenderProp("loading"),sizes:this.getRenderProp("sizes"),src:this.getRenderProp("src"),srcset:this.getRenderProp("srcset"),handleError:this.handleError,handleLoad:this.handleLoad}))}get host(){return this}static get watchers(){return{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}],_on:[{watchOn:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-image { display: inline-block; max-width: 100%; max-height: 100%; } }'}}},[545,"kol-image",{_alt:[1],_loading:[1],_sizes:[1],_src:[1],_srcset:[1],_on:[16]},void 0,{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}],_on:[{watchOn:0}]}]),f=g,y=function(){"undefined"!=typeof customElements&&["kol-image"].forEach((t=>{"kol-image"===t&&(customElements.get(i(t))||customElements.define(i(t),g))}))};export{f as KolImage,y as defineCustomElement}
4
+ import{h as t,p as e,H as o,t as a}from"./common.js";import{c as i,d as r,b as l,l as s,B as n,a as c}from"./base-web-component.js";import{s as d}from"./src.js";import{d as h,K as b}from"./events.js";const k=i("alt","",r,(t=>"string"==typeof t)),m=l(),u=i("sizes","",r),g=i("srcset","",r),p={optional:[m,s,u,g],required:[k,d]},_=e=>{const{alt:o,loading:a,sizes:i,src:r,srcset:l,handleError:s,handleLoad:c}=e;return t(n,{component:"img",block:"kol-image",alt:o,loading:a,sizes:i||void 0,src:r,srcset:l||void 0,onError:t=>s(t),onLoad:t=>c(t)})},f=e(class extends c{constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.propsConfig=p,this._loading=void 0,this._sizes=void 0,this._srcset=void 0,this._on=void 0,this.handleError=t=>{var e,o;null===(o=(e=this.getRenderProp("on")).onError)||void 0===o||o.call(e,t),this.host&&h(this.host,b.error,t)},this.handleLoad=t=>{var e,o;null===(o=(e=this.getRenderProp("on")).onLoad)||void 0===o||o.call(e,t),this.host&&h(this.host,b.load,t)}}watchAlt(t){k.apply(t,(t=>this.setRenderProp("alt",t)))}watchLoading(t){s.apply(t,(t=>this.setRenderProp("loading",t)))}watchSizes(t){u.apply(t,(t=>this.setRenderProp("sizes",t)))}watchSrc(t){d.apply(t,(t=>this.setRenderProp("src",t)))}watchSrcset(t){g.apply(t,(t=>this.setRenderProp("srcset",t)))}watchOn(t){m.apply(t,(t=>this.setRenderProp("on",t)))}componentWillLoad(){k.apply(this._alt,(t=>this.setRenderProp("alt",t))),s.apply(this._loading,(t=>this.setRenderProp("loading",t))),m.apply(this._on,(t=>this.setRenderProp("on",t))),u.apply(this._sizes,(t=>this.setRenderProp("sizes",t))),d.apply(this._src,(t=>this.setRenderProp("src",t))),g.apply(this._srcset,(t=>this.setRenderProp("srcset",t)))}render(){return t(o,{key:"563b5a2b60852c8af364bdccfae0468112252a65"},t(_,{key:"3bd292143916c6a63b37dea1fd60c0b00833ead4",alt:this.getRenderProp("alt"),loading:this.getRenderProp("loading"),sizes:this.getRenderProp("sizes"),src:this.getRenderProp("src"),srcset:this.getRenderProp("srcset"),handleError:this.handleError,handleLoad:this.handleLoad}))}get host(){return this}static get watchers(){return{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}],_on:[{watchOn:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-image { display: inline-block; max-width: 100%; max-height: 100%; } }'}}},[545,"kol-image",{_alt:[1],_loading:[1],_sizes:[1],_src:[1],_srcset:[1],_on:[16]},void 0,{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}],_on:[{watchOn:0}]}]),w=f,v=function(){"undefined"!=typeof customElements&&["kol-image"].forEach((t=>{"kol-image"===t&&(customElements.get(a(t))||customElements.define(a(t),f))}))};export{w as KolImage,v as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e,proxyCustomElement as t,Host as o,transformTag as i}from"@stencil/core/internal/client";import{a as l,_ as n}from"./tslib.es6.js";import{v as a}from"./access-and-short-key.js";import{c as r}from"./clsx.js";import{i as c,g as s,f as h,B as d,F as k}from"./base-web-component2.js";import"./common.js";import{b}from"./bem-registry.js";import{B as f}from"./component.js";import{I as u}from"./component4.js";import{I as m}from"./input.js";import{F as p}from"./field-control.js";import{a as _,d as g}from"./variant.js";import{c as y,n as w,b as v}from"./base-web-component.js";import{r as x}from"./required.js";import{c as z}from"./dev.utils.js";import{c as j,d as A,a as K}from"./element-interaction.js";import{s as T}from"./controller.js";const q=["button","default","switch"],I=y("value",!0,(e=>e)),L=y("checked",!1,w),B=["checked","indeterminate","unchecked"],V=y("icons",{checked:"kolicon-check",indeterminate:"kolicon-minus",unchecked:"kolicon-cross"},(e=>{if("object"==typeof e&&null!==e&&B.some((t=>(e=>"string"==typeof e&&e.length>0)(e[t]))))return e;throw Error("Expected an object with at least one icon class of checked, indeterminate or unchecked")})),D=y("indeterminate",!1,w),S=["left","right"],H=y("labelAlign","right",(e=>{const t=v(e);if(S.includes(t))return t;throw Error("Invalid label alignment: "+t)})),M=y("variant","default",(e=>{const t=v(e);if(q.includes(t))return t;throw Error("Invalid checkbox variant: "+t)})),O=b.forBlock("kol-checkbox"),P=t=>{var{class:o,variant:i="default",icon:n,inputProps:a}=t,h=l(t,["class","variant","icon","inputProps"]);const{class:d}=a,k=l(a,["class"]);return e(f,Object.assign({component:"label",block:"kol-checkbox",modifiers:Object.assign({"variant-button":"button"===i,"variant-default":"default"===i,"variant-switch":"switch"===i,checked:!!a.checked,indeterminate:!!a.indeterminate,disabled:!!a.disabled,required:!!a.required,touched:!!a.touched},c(a.msg,a.touched)?{[s(a.msg)]:!0}:{}),class:o},h),e(u,{label:"",icons:n,class:O("icon")}),e(m,Object.assign({class:r(O("input"),d)},k,{type:"checkbox"})))},E={required:[...h.required],optional:[...h.optional,_,I,L,V,D,H,x,g,M]},C=t(class extends d{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=z("input-checkbox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=j(),this._checked=!1,this._hideMsg=!1,this._disabled=!1,this._hideLabel=!1,this._hint="",this._labelAlign="right",this._required=!1,this._tooltipAlign="top",this._touched=!1,this._value=!0,this._variant="default",this.handleCheckboxInput=e=>{this._checked=!this._checked,this._indeterminate=!1,this.handleInput(e,this.getModelValue())},this.handleCheckboxChange=e=>{this.handleChange(e,this.getModelValue())},this.handleCheckboxKeyDown=e=>{this.handleKeyDown(e),T(e,{form:this.host,ref:this.ctaRef.el})},this.handleCheckboxBlur=e=>{this._disabled||this.handleBlur(e)},this.handleLabelMouseDown=e=>{this.inputHasFocus&&e.preventDefault()},this.handleCheckboxMouseDown=e=>{!this.inputHasFocus||e.target instanceof HTMLInputElement||e.preventDefault()},this.initFormAssociation("checkbox",this._name)}watchAccessKey(e){_.apply(e,(e=>this.setRenderProp("accessKey",e))),a(e,this._shortKey)}watchChecked(e){L.apply(e,(e=>this.setRenderProp("checked",e))),this.syncFormAssociatedValue()}watchHideMsg(e){this.applyHideMsg(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){V.apply(e,(e=>this.setRenderProp("icons",Object.assign(Object.assign({},this.getRenderProp("icons")),e))))}watchInfoPopover(e){this.applyInfoPopover(e)}watchIndeterminate(e){D.apply(e,(e=>this.setRenderProp("indeterminate",e)))}watchLabel(e){this.applyLabel(e)}watchLabelAlign(e){H.apply(e,(e=>this.setRenderProp("labelAlign",e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRequired(e){x.apply(e,(e=>this.setRenderProp("required",e)))}watchAriaDetails(e){this.applyAriaDetails(e)}watchShortKey(e){g.apply(e,(e=>this.setRenderProp("shortKey",e))),a(this._accessKey,e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){null==e?this.setRenderProp("value",e):I.apply(e,(e=>this.setRenderProp("value",e))),this.syncFormAssociatedValue()}watchVariant(e){M.apply(e,(e=>this.setRenderProp("variant",e)))}async getValue(){return this.getModelValue()}async focus(e){}async click(){}componentWillLoad(){this.initRenderProps(E),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchRequired(this._required),this.watchChecked(this._checked),this.watchIcons(this._icons),this.watchIndeterminate(this._indeterminate),this.watchValue(this._value),this.watchVariant(this._variant),this.watchLabelAlign(this._labelAlign)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getModelValue(){return this._checked?this.getRenderProp("value"):null}syncFormAssociatedValue(){this.formAssociation.setFormAssociatedValue(this.getModelValue())}getIcon(){const e=this.getRenderProp("icons");return this.getRenderProp("indeterminate")?e.indeterminate:this.getRenderProp("checked")?e.checked:e.unchecked}getInputProps(){const e=this.getRenderProp("shortKey"),{ariaDescribedBy:t,hasError:o}=this.getAria();return Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),value:this.getRenderProp("value"),accessKey:this.getRenderProp("accessKey")||void 0,disabled:this.getRenderProp("disabled"),name:null==this._name?void 0:this.getRenderProp("name"),ariaDescribedBy:t,required:this.getRenderProp("required"),checked:this.getRenderProp("checked"),indeterminate:this.getRenderProp("indeterminate"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")},e?{"aria-keyshortcuts":e}:{}),{class:r({"visually-hidden":"button"===this.getRenderProp("variant")}),ref:this.ctaRef,onBlur:this.handleCheckboxBlur,onChange:this.handleCheckboxChange,onFocus:this.handleFocus,onInput:this.handleCheckboxInput,onKeyDown:this.handleCheckboxKeyDown,"aria-invalid":o?"true":void 0})}render(){const t=this.getRenderProp("checked"),i=this.getRenderProp("indeterminate"),l=this.getRenderProp("variant"),n=this.getRenderProp("accessKey")||void 0,a=this.getRenderProp("shortKey")||void 0,c=this.getRenderProp("required");return e(o,{key:"3b17e5494e0bcc1d45f032475bc9ac3de294b8ae"},e(k,Object.assign({key:"2e27ff5b66be54b6a521621a91ab51fa0105d416"},this.getFormFieldProps({class:r("kol-input-checkbox",{"kol-input-checkbox--checked":t,"kol-input-checkbox--indeterminate":i,["kol-input-checkbox--variant-"+l]:!0,["kol-input-checkbox--label-align-"+this.getRenderProp("labelAlign")]:!0}),accessKey:n,shortKey:a,required:c,renderNoLabel:!0,renderNoTooltip:!0})),e(p,Object.assign({key:"0dff26ed7465ded8aef7e0d4c50f2d6c2481f61a",class:r("kol-input-checkbox__field-control",{"kol-input-checkbox__field-control--checked":t,"kol-input-checkbox__field-control--indeterminate":i,["kol-input-checkbox__field-control--variant-"+l]:!0}),id:this.id,label:this.getRenderProp("label"),hint:this.getRenderProp("hint"),hideLabel:this.getRenderProp("hideLabel"),labelAlign:this.getRenderProp("labelAlign"),infoPopover:this.getInfoPopover(),accessKey:n,shortKey:a,tooltipAlign:this.getRenderProp("tooltipAlign"),disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),required:c,renderNoHint:!0,labelProps:{onMouseDown:this.handleLabelMouseDown}},this.getLabelTooltipRefs()),e(P,{key:"c9dc5e0119c5d63c102d5462b21b4f4904032f6a",variant:l,icon:this.getIcon(),onMouseDown:this.handleCheckboxMouseDown,inputProps:this.getInputProps()}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_checked:[{watchChecked:0}],_hideMsg:[{watchHideMsg:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_indeterminate:[{watchIndeterminate:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_ariaDetails:[{watchAriaDetails:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required .kol-form-field .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-field-control .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-form-field { display: grid; } .kol-form-field__label-text { display: ruby; } .kol-checkbox { display: flex; position: relative; align-items: center; cursor: pointer; } .kol-checkbox--disabled { cursor: not-allowed; } .kol-checkbox .kol-input { background-color: white; border-style: solid; margin: 0; border-width: 2px; appearance: none; cursor: inherit; } .kol-checkbox .kol-input:before { content: ""; } .kol-checkbox--variant-default { position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); justify-content: center; } .kol-checkbox--variant-default .kol-icon { display: none; position: absolute; inset: auto; z-index: 1; pointer-events: none; } .kol-checkbox--variant-default .kol-input { width: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon, .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon { display: block; } .kol-checkbox--variant-switch { position: relative; } .kol-checkbox--variant-switch .kol-input { display: inline-block; position: relative; width: 3.2em; min-width: 3.2em; height: 1.7em; } .kol-checkbox--variant-switch .kol-input::before { background-color: black; position: absolute; top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); width: 1.2em; height: 1.2em; transition: 0.5s; } .kol-checkbox--variant-switch .kol-input:checked::before { transform: translateX(1.5em); } .kol-checkbox--variant-switch .kol-input:indeterminate::before { transform: translateX(0.75em); } .kol-checkbox--variant-switch .kol-icon { transform: translate(0, -50%); color: black; display: flex; position: absolute; top: 50%; left: calc(4 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; width: 1.2em; height: 1.2em; align-items: center; justify-content: center; transition: 0.5s; } .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon { transform: translate(1.5em, -50%); } .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon { transform: translate(0.75em, -50%); } .kol-checkbox--variant-button { min-width: var(--a11y-min-size); } .kol-checkbox--variant-button .kol-icon { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } }'}}},[545,"kol-input-checkbox",{_accessKey:[1,"_access-key"],_checked:[1540],_hideMsg:[4,"_hide-msg"],_disabled:[4],_hideLabel:[4,"_hide-label"],_hint:[1],_icons:[1],_infoPopover:[16],_indeterminate:[1540],_label:[1],_labelAlign:[1,"_label-align"],_msg:[1],_name:[1],_on:[16],_required:[4],_ariaDetails:[1,"_aria-details"],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[8],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_checked:[{watchChecked:0}],_hideMsg:[{watchHideMsg:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_indeterminate:[{watchIndeterminate:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_ariaDetails:[{watchAriaDetails:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([A("ctaRef")],C.prototype,"focus",null),n([K("ctaRef")],C.prototype,"click",null);const F=C,G=function(){"undefined"!=typeof customElements&&["kol-input-checkbox"].forEach((e=>{"kol-input-checkbox"===e&&(customElements.get(i(e))||customElements.define(i(e),C))}))};export{F as KolInputCheckbox,G as defineCustomElement}
4
+ import{K as o,d as s}from"./component10.js";const t=o,m=s;export{t as KolInputCheckbox,m as defineCustomElement}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement as t,h as o,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{v as a}from"./access-and-short-key.js";import{h as l,g as r,I as s}from"./input-container.js";import{f as c,B as h,F as d}from"./base-web-component2.js";import{I as k}from"./input.js";import{a as u,S as p}from"./suggestions2.js";import"./common.js";import{a as m,d as b,v as f}from"./variant.js";import"./base-web-component.js";import{s as _}from"./smart-button.js";import{s as g}from"./suggestions.js";import{s as y}from"./value-string.js";import{c as w}from"./dev.utils.js";import{c as v,d as x,a as B}from"./element-interaction.js";const z={required:[...c.required],optional:[...c.optional,m,u,l,b,_,y,g,f]},j=t(class extends h{constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.id=w("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=v(),this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._tooltipAlign="top",this._touched=!1,this.handleColorInput=t=>{const o=t.target.value;this.setRenderProp("value",o),this.ctaRef.el&&(this.ctaRef.el.value=o),this.handleInput(t)},this.initFormAssociation("color",this._name)}watchAccessKey(t){m.apply(t,(t=>this.setRenderProp("accessKey",t))),a(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){u.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){l.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchShortKey(t){b.apply(t,(t=>this.setRenderProp("shortKey",t))),a(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):_.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){g.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){y.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(t){f.apply(t,(t=>this.setRenderProp("variant",t)))}async getValue(){var t;return null===(t=this.ctaRef.el)||void 0===t?void 0:t.value}async focus(t){}async click(){}componentWillLoad(){this.initRenderProps(z),this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchSuggestions(this._suggestions),this.watchValue(this._value)}componentDidLoad(){var t;!this._value&&this.ctaRef&&(this._value=null===(t=this.ctaRef.el)||void 0===t?void 0:t.value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getInputProps(){const t=this.id,e=this.getRenderProp("name"),i=this.getRenderProp("accessKey"),n=this.getRenderProp("shortKey"),a=this.getRenderProp("suggestions"),{ariaDescribedBy:l,hasError:r}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:t,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:e?e+"-color":void 0},i?{accessKey:i}:{}),{value:this.getRenderProp("value"),autoComplete:this.getRenderProp("autoComplete"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),n?{"aria-keyshortcuts":n}:{}),{suggestions:a.length>0?o(p,{id:t,suggestions:a}):void 0,class:"kol-input-color__input kol-input-color__input--color",onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:"color",ariaDescribedBy:l,"aria-invalid":r?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=r({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return o(e,{key:"af3004852c63b1b64ea8049970bb968d33fd9487"},o(d,Object.assign({key:"fdd50cec7d90659ffeb588c730562cfefe863125"},this.getFormFieldProps({class:"kol-input-color",accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),o(s,{key:"e7d42b101cbb6d522122a901db87a0d9ee81c11b",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(k,Object.assign({key:"c380aafead16efac4daeb7ab1964800fb693c911"},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required .kol-form-field .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }'}}},[545,"kol-input-color",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_autoComplete:[1,"_auto-complete"],_disabled:[4],_hideMsg:[4,"_hide-msg"],_hideLabel:[4,"_hide-label"],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_shortKey:[1,"_short-key"],_smartButton:[1,"_smart-button"],_suggestions:[1],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[1],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([x("ctaRef")],j.prototype,"focus",null),n([B("ctaRef")],j.prototype,"click",null);const K=j,S=function(){"undefined"!=typeof customElements&&["kol-input-color"].forEach((t=>{"kol-input-color"===t&&(customElements.get(i(t))||customElements.define(i(t),j))}))};export{K as KolInputColor,S as defineCustomElement}
4
+ import{p as t,h as o,H as e,t as i}from"./common.js";import{_ as n}from"./tslib.es6.js";import{b as a}from"./bem-registry.js";import{v as l}from"./access-and-short-key.js";import{h as r,g as s,I as c}from"./input-container.js";import{f as h,B as d,F as k}from"./base-web-component2.js";import{I as m}from"./input.js";import{a as u,S as b}from"./suggestions2.js";import{a as p,d as f,v as _}from"./component6.js";import"./base-web-component.js";import{s as g}from"./smart-button.js";import{s as y}from"./suggestions.js";import{s as w}from"./value-string.js";import{c as v}from"./dev.utils.js";import{c as x,d as B,a as z}from"./element-interaction.js";const T={required:[...h.required],optional:[...h.optional,p,u,r,f,g,w,y,_]},j=a.forBlock("kol-input-color"),K=t(class extends d{constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.id=v("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=x(),this.propsConfig=T,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.handleColorInput=t=>{const o=t.target.value;this.setRenderProp("value",o),this.ctaRef.el&&(this.ctaRef.el.value=o),this.handleInput(t)},this.initFormAssociation("color",this._name)}watchAccessKey(t){p.apply(t,(t=>this.setRenderProp("accessKey",t))),l(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){u.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){r.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchShortKey(t){f.apply(t,(t=>this.setRenderProp("shortKey",t))),l(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):g.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){y.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){w.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(t){_.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){var t;return Promise.resolve(null===(t=this.ctaRef.el)||void 0===t?void 0:t.value)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchSuggestions(this._suggestions),this.watchValue(this._value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getInputProps(){const t=this.id,e=this.getRenderProp("name"),i=this.getRenderProp("accessKey"),n=this.getRenderProp("shortKey"),a=this.getRenderProp("suggestions"),{ariaDescribedBy:l,hasError:r}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:t,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:e?e+"-color":void 0},i?{accessKey:i}:{}),{value:this.getRenderProp("value"),autoComplete:this.getRenderProp("autoComplete"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),n?{"aria-keyshortcuts":n}:{}),{suggestions:a.length>0?o(b,{id:t,suggestions:a}):void 0,class:j("input",{color:!0}),onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:"color",ariaDescribedBy:l,"aria-invalid":r?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=s({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return o(e,{key:"4a6b0005be101befa517b1b512526e6525bd50ac"},o(k,Object.assign({key:"d9a72d227ffeaa0f5257b7491a09f862f6ce0f5a"},this.getFormFieldProps({class:j(),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),o(c,{key:"66c18744292fe5f3900de286253a51c60dbd3769",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(m,Object.assign({key:"c026cee8c37fdd835ed313e0deb73fc7007b6b95"},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }'}}},[545,"kol-input-color",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_autoComplete:[1,"_auto-complete"],_disabled:[4],_hideMsg:[4,"_hide-msg"],_hideLabel:[4,"_hide-label"],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_shortKey:[1,"_short-key"],_smartButton:[1,"_smart-button"],_suggestions:[1],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[1],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([B("ctaRef")],K.prototype,"focus",null),n([z("ctaRef")],K.prototype,"click",null);const S=K,C=function(){"undefined"!=typeof customElements&&["kol-input-color"].forEach((t=>{"kol-input-color"===t&&(customElements.get(i(t))||customElements.define(i(t),K))}))};export{S as KolInputColor,C as defineCustomElement}