@public-ui/components 5.0.0-beta.1 → 5.0.0-beta.3

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 (1397) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +31 -77
  7. package/dist/cjs/{Heading-C9osvqjY.js → Heading-D1EJem-Q.js} +7 -7
  8. package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BCyKbrgd.js} +2 -0
  9. package/dist/cjs/{api-U7I3XBPI.js → api-DU50b7pU.js} +39 -41
  10. package/dist/cjs/{app-globals-DsADKGEe.js → app-globals-Cshxaw1i.js} +6 -5
  11. package/dist/cjs/aria-current-service-XKodxE3I.js +30 -0
  12. package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-Du7FNBK5.js} +2 -13
  13. package/dist/cjs/{base-CyqDmoZZ.js → base-2k8L5Z0t.js} +14 -15
  14. package/dist/cjs/{base-l99dGLYo.js → base-CrH3N2Zu.js} +108 -80
  15. package/dist/cjs/{base-DcN_YC72.js → base-DXysZJF0.js} +13 -14
  16. package/dist/cjs/{base-DCxbMk0f.js → base-lY3OV-WH.js} +17 -19
  17. package/dist/cjs/{base-web-component-DxJ0hQ9u.js → base-web-component-CB32nH5g.js} +17 -19
  18. package/dist/cjs/{base-web-component-BnaxS2Z3.js → base-web-component-CnTCSVmC.js} +16 -19
  19. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-vlBTFoc9.js} +2 -1
  20. package/dist/cjs/{behavior-CTaw4dj3.js → behavior-BonfWPFJ.js} +6 -6
  21. package/dist/cjs/{behavior-BNyFQ_B5.js → behavior-DdUDpqCO.js} +10 -10
  22. package/dist/cjs/{behavior-DrFJy0QC.js → behavior-Dznxy-IT.js} +33 -33
  23. package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-CGf0w2u7.js} +61 -15
  24. package/dist/cjs/bootstrap-W0pDCbwR.js +59 -0
  25. package/dist/cjs/{color-BW4t1Cif.js → color-gGnOnvt7.js} +4 -4
  26. package/dist/cjs/component-B6wRTFBN.js +19 -0
  27. package/dist/cjs/component-B7ixbeft.js +52 -0
  28. package/dist/cjs/{component-4OErV1Bg.js → component-BaHA5GQ0.js} +11 -13
  29. package/dist/cjs/{component-Cty_HlJR.js → component-BeAWp-m9.js} +6 -5
  30. package/dist/cjs/component-Bnj9veMz.js +177 -0
  31. package/dist/cjs/{component-Cvjqbxf4.js → component-C9dVa2_4.js} +16 -19
  32. package/dist/cjs/{component-DF5q9ssd.js → component-D680TPaU.js} +13 -14
  33. package/dist/cjs/{component-DtxKrISb.js → component-DNRlsQ2M.js} +6 -7
  34. package/dist/cjs/{component-lmJOXuD6.js → component-WkG3-M2X.js} +8 -11
  35. package/dist/cjs/component-names-B-xDXf8U.js +121 -0
  36. package/dist/cjs/{component-DAQ1XSNA.js → component-vjLswij7.js} +6 -8
  37. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-B6L84xFP.js} +5 -5
  38. package/dist/cjs/{controller-tEyAFJN9.js → controller-BcC7oIkq.js} +20 -20
  39. package/dist/cjs/{dev.utils-D5qh-RLT.js → dev.utils-Bk_hA4qQ.js} +9 -10
  40. package/dist/cjs/{devtools-Dtv-Apvj.js → devtools-CJixr1wI.js} +24 -25
  41. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-BoM7lglH.js} +2 -1
  42. package/dist/cjs/{element-focus-CzkKMwtn.js → element-focus-BL2fXDD1.js} +1 -0
  43. package/dist/cjs/{element-interaction-BtYQAbhu.js → element-interaction-CKiHuPu0.js} +2 -1
  44. package/dist/cjs/{events-BJC5JJcU.js → events-Ce8f_epW.js} +2 -0
  45. package/dist/cjs/{field-control-Btb5zapE.js → field-control-Bn_hd-6N.js} +12 -13
  46. package/dist/cjs/{group-Dg2gJze5.js → group-TVkuA3Dx.js} +8 -9
  47. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-CKT_frM5.js} +2 -1
  48. package/dist/cjs/{href-BBhiVyPb.js → href-yo_BPSR1.js} +2 -1
  49. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DOGd0sdR.js} +15 -10
  50. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-DdWdytnt.js} +3 -3
  51. package/dist/cjs/{id-D1VZsLkg.js → id-C7_ak25l.js} +2 -1
  52. package/dist/cjs/{index-BacpU-d0.js → index-DLwNpyJ5.js} +1740 -61
  53. package/dist/cjs/index.cjs.js +21 -15
  54. package/dist/cjs/{input-container-PaL4ZNf3.js → input-container-CvDde8uk.js} +17 -20
  55. package/dist/cjs/input-uZRNVUsq.js +18 -0
  56. package/dist/cjs/{item-CLnIJY4J.js → item-D23h7gmK.js} +10 -10
  57. package/dist/cjs/{item-CPxmIcoq.js → item-D5hmTqf_.js} +17 -18
  58. package/dist/cjs/{item-Cckqxc6T.js → item-DimqWDZ7.js} +65 -44
  59. package/dist/cjs/{item-CErU-EPA.js → item-FYvfrXLj.js} +10 -10
  60. package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-BJcplkbh.js} +2 -0
  61. package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-21hAUDzL.js} +2 -0
  62. package/dist/cjs/kol-abbr.cjs.entry.js +12 -16
  63. package/dist/cjs/kol-accordion.cjs.entry.js +23 -25
  64. package/dist/cjs/kol-alert.cjs.entry.js +35 -37
  65. package/dist/cjs/kol-avatar.cjs.entry.js +22 -25
  66. package/dist/cjs/kol-badge.cjs.entry.js +35 -38
  67. package/dist/cjs/kol-breadcrumb.cjs.entry.js +41 -44
  68. package/dist/cjs/kol-button-link.cjs.entry.js +34 -36
  69. package/dist/cjs/kol-button.cjs.entry.js +34 -36
  70. package/dist/cjs/kol-card.cjs.entry.js +59 -101
  71. package/dist/cjs/kol-combobox.cjs.entry.js +88 -90
  72. package/dist/cjs/kol-details.cjs.entry.js +23 -25
  73. package/dist/cjs/kol-dialog.cjs.entry.js +39 -42
  74. package/dist/cjs/kol-drawer.cjs.entry.js +39 -42
  75. package/dist/cjs/kol-form.cjs.entry.js +34 -37
  76. package/dist/cjs/kol-heading.cjs.entry.js +20 -22
  77. package/dist/cjs/kol-icon.cjs.entry.js +20 -18
  78. package/dist/cjs/kol-image.cjs.entry.js +25 -27
  79. package/dist/cjs/kol-input-checkbox.cjs.entry.js +95 -96
  80. package/dist/cjs/kol-input-color.cjs.entry.js +69 -70
  81. package/dist/cjs/kol-input-date.cjs.entry.js +82 -84
  82. package/dist/cjs/kol-input-email.cjs.entry.js +85 -86
  83. package/dist/cjs/kol-input-file.cjs.entry.js +62 -63
  84. package/dist/cjs/kol-input-number.cjs.entry.js +84 -85
  85. package/dist/cjs/kol-input-password.cjs.entry.js +84 -85
  86. package/dist/cjs/kol-input-radio.cjs.entry.js +66 -69
  87. package/dist/cjs/kol-input-range.cjs.entry.js +67 -69
  88. package/dist/cjs/kol-input-text.cjs.entry.js +98 -99
  89. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -16
  90. package/dist/cjs/kol-link-button.cjs.entry.js +43 -45
  91. package/dist/cjs/kol-link.cjs.entry.js +41 -43
  92. package/dist/cjs/kol-meter.cjs.entry.js +27 -36
  93. package/dist/cjs/kol-modal.cjs.entry.js +39 -42
  94. package/dist/cjs/kol-nav.cjs.entry.js +51 -54
  95. package/dist/cjs/kol-pagination.cjs.entry.js +70 -73
  96. package/dist/cjs/kol-popover-button.cjs.entry.js +67 -104
  97. package/dist/cjs/kol-progress.cjs.entry.js +27 -27
  98. package/dist/cjs/kol-quote.cjs.entry.js +17 -19
  99. package/dist/cjs/kol-select.cjs.entry.js +73 -75
  100. package/dist/cjs/kol-single-select.cjs.entry.js +96 -93
  101. package/dist/cjs/kol-skip-nav.cjs.entry.js +40 -43
  102. package/dist/cjs/kol-spin.cjs.entry.js +26 -29
  103. package/dist/cjs/kol-split-button.cjs.entry.js +40 -42
  104. package/dist/cjs/kol-table-stateful.cjs.entry.js +140 -113
  105. package/dist/cjs/kol-table-stateless.cjs.entry.js +62 -74
  106. package/dist/cjs/kol-tabs.cjs.entry.js +58 -64
  107. package/dist/cjs/kol-textarea.cjs.entry.js +84 -84
  108. package/dist/cjs/kol-toast-container.cjs.entry.js +24 -28
  109. package/dist/cjs/kol-toolbar.cjs.entry.js +68 -67
  110. package/dist/cjs/kol-tree-item.cjs.entry.js +44 -44
  111. package/dist/cjs/kol-tree.cjs.entry.js +35 -25
  112. package/dist/cjs/kol-version.cjs.entry.js +26 -29
  113. package/dist/cjs/kolibri.cjs.js +6 -5
  114. package/dist/cjs/{label-vVOiX4dC.js → label-CCqNq5tW.js} +4 -3
  115. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-qecpxRCt.js} +4 -4
  116. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-BGLGUvz3.js} +3 -2
  117. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-VcIxokIa.js} +4 -3
  118. package/dist/cjs/{level-BAiEYu4U.js → level-CVJUatGG.js} +2 -1
  119. package/dist/cjs/{link-target-4AzB3I84.js → link-target-BchnvpO8.js} +2 -1
  120. package/dist/cjs/{links-CPNK7VZo.js → links-B1TspXWw.js} +3 -3
  121. package/dist/cjs/loader.cjs.js +5 -4
  122. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-DO-7DpoM.js} +2 -1
  123. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-C4kXarZR.js} +3 -2
  124. package/dist/cjs/{open-CvoX_qxD.js → open-Cmz8IDwx.js} +2 -1
  125. package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-C162W-_D.js} +2 -0
  126. package/dist/cjs/{options-z7FKffHh.js → options-B5TaPd9X.js} +2 -0
  127. package/dist/cjs/{options-B2pQC9w2.js → options-CYbRA9bk.js} +3 -3
  128. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-qw5D2TnY.js} +2 -1
  129. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-BKqOq75d.js} +2 -1
  130. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-utp9cExR.js} +149 -74
  131. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-BA_w8-u1.js} +2 -1
  132. package/dist/cjs/{required-CdXn16dq.js → required-CxAjKjbz.js} +2 -1
  133. package/dist/cjs/{resolve-props-B8kPPEMw.js → resolve-props--Nci0LhR.js} +9 -9
  134. package/dist/cjs/{resolve-props-B5MED90T.js → resolve-props-Dj6sEqG7.js} +9 -10
  135. package/dist/cjs/{rows-Ca5ya9tG.js → rows-DIswNtTH.js} +2 -1
  136. package/dist/cjs/{scroll-lock-jojYHBR3.js → scroll-lock-DCG-yvr9.js} +8 -7
  137. package/dist/cjs/shared-state-DgRutURI.js +16 -0
  138. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DseYlks-.js} +3 -3
  139. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-dk8U8oOc.js} +2 -1
  140. package/dist/cjs/{src-C3NG0rLO.js → src-CtFQUaCM.js} +2 -1
  141. package/dist/cjs/{step-CZNyTb2h.js → step-CvPxSo00.js} +2 -1
  142. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-DUxsRVmB.js} +4 -4
  143. package/dist/cjs/{suggestions-CRyB_YCX.js → suggestions-DgLZZdei.js} +3 -3
  144. package/dist/cjs/test-component.cjs.entry.js +3 -3
  145. package/dist/cjs/theme-store-CLf_JZmz.js +13 -0
  146. package/dist/cjs/{toggle-handler-DRPltZqQ.js → toggle-handler-B-_ojZ0I.js} +13 -16
  147. package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-CewIRZOe.js} +8 -5
  148. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CFCBdBmd.js} +3 -3
  149. package/dist/cjs/{unit-bsoemclF.js → unit-DexLlB8H.js} +2 -1
  150. package/dist/cjs/{validators-DuLdbf2D.js → validators-CxXwm4f6.js} +4 -1
  151. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-Ct7kzFWf.js} +2 -1
  152. package/dist/cjs/{width-BklaRCqt.js → width-BXrduM1f.js} +2 -1
  153. package/dist/collection/collection-manifest.json +1 -8
  154. package/dist/collection/components/abbr/component.js +2 -2
  155. package/dist/collection/components/abbr/style.css +21 -0
  156. package/dist/collection/components/accordion/component.js +2 -2
  157. package/dist/collection/components/accordion/style.css +23 -2
  158. package/dist/collection/components/alert/component.js +8 -6
  159. package/dist/collection/components/alert/style.css +23 -2
  160. package/dist/collection/components/avatar/component.js +5 -8
  161. package/dist/collection/components/avatar/style.css +21 -0
  162. package/dist/collection/components/badge/component.js +5 -5
  163. package/dist/collection/components/badge/style.css +23 -2
  164. package/dist/collection/components/breadcrumb/component.js +4 -4
  165. package/dist/collection/components/breadcrumb/style.css +23 -2
  166. package/dist/collection/components/button/component.js +3 -3
  167. package/dist/collection/components/button/style.css +23 -2
  168. package/dist/collection/components/button-link/component.js +3 -3
  169. package/dist/collection/components/button-link/style.css +23 -2
  170. package/dist/collection/components/card/component.js +54 -19
  171. package/dist/collection/components/card/style.css +26 -2
  172. package/dist/collection/components/combobox/component.js +116 -116
  173. package/dist/collection/components/combobox/style.css +23 -2
  174. package/dist/collection/components/details/component.js +2 -2
  175. package/dist/collection/components/details/style.css +23 -2
  176. package/dist/collection/components/dialog/base.js +2 -2
  177. package/dist/collection/components/dialog/component.js +6 -6
  178. package/dist/collection/components/dialog/style.css +26 -2
  179. package/dist/collection/components/drawer/component.js +4 -4
  180. package/dist/collection/components/drawer/style.css +26 -2
  181. package/dist/collection/components/form/component.js +4 -4
  182. package/dist/collection/components/form/controller.js +4 -3
  183. package/dist/collection/components/form/style.css +23 -2
  184. package/dist/collection/components/heading/component.js +5 -5
  185. package/dist/collection/components/heading/style.css +21 -0
  186. package/dist/collection/components/icon/component.js +6 -6
  187. package/dist/collection/components/icon/style.css +2 -2
  188. package/dist/collection/components/image/component.js +40 -40
  189. package/dist/collection/components/image/style.css +21 -0
  190. package/dist/collection/components/input-checkbox/component.js +119 -117
  191. package/dist/collection/components/input-checkbox/style.css +23 -2
  192. package/dist/collection/components/input-color/component.js +42 -40
  193. package/dist/collection/components/input-color/style.css +23 -2
  194. package/dist/collection/components/input-date/component.js +83 -81
  195. package/dist/collection/components/input-date/style.css +23 -2
  196. package/dist/collection/components/input-email/component.js +89 -86
  197. package/dist/collection/components/input-email/style.css +23 -2
  198. package/dist/collection/components/input-file/component.js +37 -34
  199. package/dist/collection/components/input-file/style.css +23 -2
  200. package/dist/collection/components/input-number/component.js +70 -68
  201. package/dist/collection/components/input-number/style.css +23 -2
  202. package/dist/collection/components/input-password/component.js +90 -87
  203. package/dist/collection/components/input-password/style.css +23 -2
  204. package/dist/collection/components/input-radio/component.js +36 -37
  205. package/dist/collection/components/input-radio/style.css +23 -2
  206. package/dist/collection/components/input-range/component.js +38 -38
  207. package/dist/collection/components/input-range/style.css +23 -2
  208. package/dist/collection/components/input-text/component.js +148 -146
  209. package/dist/collection/components/input-text/style.css +23 -2
  210. package/dist/collection/components/kolibri/component.js +2 -2
  211. package/dist/collection/components/kolibri/style.css +21 -0
  212. package/dist/collection/components/link/base.js +1 -1
  213. package/dist/collection/components/link/component.js +27 -27
  214. package/dist/collection/components/link/style.css +23 -2
  215. package/dist/collection/components/link-button/component.js +28 -28
  216. package/dist/collection/components/link-button/style.css +23 -2
  217. package/dist/collection/components/meter/component.js +7 -13
  218. package/dist/collection/components/meter/style.css +21 -0
  219. package/dist/collection/components/modal/component.js +6 -6
  220. package/dist/collection/components/modal/style.css +26 -2
  221. package/dist/collection/components/nav/component.js +3 -3
  222. package/dist/collection/components/nav/style.css +23 -2
  223. package/dist/collection/components/pagination/component.js +92 -94
  224. package/dist/collection/components/pagination/style.css +23 -2
  225. package/dist/collection/components/popover-button/component.js +40 -11
  226. package/dist/collection/components/popover-button/style.css +23 -2
  227. package/dist/collection/components/progress/component.js +10 -10
  228. package/dist/collection/components/progress/style.css +21 -0
  229. package/dist/collection/components/public-api/contract.js +46 -6
  230. package/dist/collection/components/quote/component.js +6 -6
  231. package/dist/collection/components/quote/style.css +21 -0
  232. package/dist/collection/components/select/component.js +61 -61
  233. package/dist/collection/components/select/style.css +23 -2
  234. package/dist/collection/components/single-select/component.js +141 -137
  235. package/dist/collection/components/single-select/style.css +23 -2
  236. package/dist/collection/components/skip-nav/component.js +3 -3
  237. package/dist/collection/components/skip-nav/style.css +23 -2
  238. package/dist/collection/components/spin/component.js +30 -30
  239. package/dist/collection/components/spin/style.css +29 -1
  240. package/dist/collection/components/split-button/component.js +5 -5
  241. package/dist/collection/components/split-button/style.css +23 -2
  242. package/dist/collection/components/table-stateful/component.js +118 -122
  243. package/dist/collection/components/table-stateful/style.css +35 -4
  244. package/dist/collection/components/table-stateless/base.js +11 -2
  245. package/dist/collection/components/table-stateless/component.js +34 -75
  246. package/dist/collection/components/table-stateless/style.css +35 -4
  247. package/dist/collection/components/tabs/component.js +19 -28
  248. package/dist/collection/components/tabs/style.css +24 -3
  249. package/dist/collection/components/textarea/component.js +91 -89
  250. package/dist/collection/components/textarea/style.css +23 -2
  251. package/dist/collection/components/toaster/shadow.js +3 -4
  252. package/dist/collection/components/toaster/style.css +23 -2
  253. package/dist/collection/components/toaster/toaster.js +2 -1
  254. package/dist/collection/components/toolbar/component.js +46 -42
  255. package/dist/collection/components/toolbar/style.css +23 -2
  256. package/dist/collection/components/tree/component.js +23 -12
  257. package/dist/collection/components/tree/style.css +21 -0
  258. package/dist/collection/components/tree-item/component.js +43 -40
  259. package/dist/collection/components/tree-item/style.css +23 -2
  260. package/dist/collection/components/version/component.js +3 -3
  261. package/dist/collection/components/version/style.css +23 -2
  262. package/dist/collection/core/bootstrap.js +8 -5
  263. package/dist/collection/core/component-names.js +52 -106
  264. package/dist/collection/core/i18n.js +7 -6
  265. package/dist/collection/core/shared-state.js +10 -0
  266. package/dist/collection/core/tag-transformer.js +27 -0
  267. package/dist/collection/core/theme-store.js +8 -0
  268. package/dist/collection/global/script.js +3 -1
  269. package/dist/collection/index.js +3 -1
  270. package/dist/collection/internal/functional-components/alert/component.js +2 -1
  271. package/dist/collection/internal/functional-components/avatar/component.js +2 -2
  272. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  273. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  274. package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
  275. package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
  276. package/dist/collection/internal/functional-components/button/item.js +2 -2
  277. package/dist/collection/internal/functional-components/card/component.js +3 -1
  278. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  279. package/dist/collection/internal/functional-components/counter/api.js +1 -1
  280. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  281. package/dist/collection/internal/functional-components/dialog/item.js +4 -4
  282. package/dist/collection/internal/functional-components/drawer/component.js +1 -1
  283. package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
  284. package/dist/collection/internal/functional-components/form-association/api.js +2 -2
  285. package/dist/collection/internal/functional-components/form-association/behavior.js +18 -15
  286. package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -8
  287. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  288. package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
  289. package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
  290. package/dist/collection/internal/functional-components/heading/component.js +3 -4
  291. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  292. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  293. package/dist/collection/internal/functional-components/image/component.js +2 -4
  294. package/dist/collection/internal/functional-components/link/api.js +1 -1
  295. package/dist/collection/internal/functional-components/link/aria-current-service.js +23 -0
  296. package/dist/collection/internal/functional-components/link/component.js +2 -2
  297. package/dist/collection/internal/functional-components/link/item.js +3 -3
  298. package/dist/collection/internal/functional-components/meter/component.js +5 -7
  299. package/dist/collection/internal/functional-components/pagination/api.js +2 -2
  300. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  301. package/dist/collection/internal/functional-components/pagination/item.js +26 -11
  302. package/dist/collection/internal/functional-components/pagination/page-size-select.js +17 -9
  303. package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
  304. package/dist/collection/internal/functional-components/progress/api.js +1 -1
  305. package/dist/collection/internal/functional-components/progress/component.js +2 -1
  306. package/dist/collection/internal/functional-components/quote/component.js +2 -3
  307. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  308. package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
  309. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  310. package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
  311. package/dist/collection/internal/functional-components/span/component.js +3 -2
  312. package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
  313. package/dist/collection/internal/functional-components/table-stateful/model.js +21 -7
  314. package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
  315. package/dist/collection/internal/functional-components/table-stateless/component.js +11 -8
  316. package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
  317. package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -7
  318. package/dist/collection/internal/functional-components/table-stateless/table-model.js +2 -6
  319. package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
  320. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  321. package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +4 -4
  322. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  323. package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
  324. package/dist/collection/internal/props/helpers/factory.js +1 -1
  325. package/dist/collection/internal/props/helpers/normalizers.js +2 -5
  326. package/dist/collection/internal/props/helpers/validators.js +1 -0
  327. package/dist/collection/internal/props/index.js +1 -1
  328. package/dist/collection/internal/props/label-decorative.js +10 -0
  329. package/dist/collection/locales/de.js +3 -2
  330. package/dist/collection/locales/en.js +3 -2
  331. package/dist/collection/schema/bem-registry.js +59 -13
  332. package/dist/collection/schema/components/index.js +0 -29
  333. package/dist/collection/schema/i18n-keys.js +29 -28
  334. package/dist/collection/schema/props/accept.js +1 -7
  335. package/dist/collection/schema/props/access-key.js +1 -7
  336. package/dist/collection/schema/props/active.js +1 -7
  337. package/dist/collection/schema/props/adjust-height.js +1 -7
  338. package/dist/collection/schema/props/alert-type.js +0 -7
  339. package/dist/collection/schema/props/align.js +0 -4
  340. package/dist/collection/schema/props/allow-multi-sort.js +1 -7
  341. package/dist/collection/schema/props/alt.js +1 -7
  342. package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
  343. package/dist/collection/schema/props/aria-controls.js +1 -7
  344. package/dist/collection/schema/props/aria-current-value.js +1 -10
  345. package/dist/collection/schema/props/aria-description.js +1 -7
  346. package/dist/collection/schema/props/aria-details.js +1 -22
  347. package/dist/collection/schema/props/aria-expanded.js +1 -7
  348. package/dist/collection/schema/props/aria-labelledby.js +8 -15
  349. package/dist/collection/schema/props/aria-owns.js +1 -9
  350. package/dist/collection/schema/props/aria-selected.js +1 -7
  351. package/dist/collection/schema/props/auto-complete.js +0 -6
  352. package/dist/collection/schema/props/badge-text.js +1 -7
  353. package/dist/collection/schema/props/button-callbacks.js +1 -7
  354. package/dist/collection/schema/props/button-type.js +1 -8
  355. package/dist/collection/schema/props/button-variant.js +1 -10
  356. package/dist/collection/schema/props/checked.js +1 -7
  357. package/dist/collection/schema/props/collapsible.js +1 -7
  358. package/dist/collection/schema/props/color.js +1 -14
  359. package/dist/collection/schema/props/current-length.js +1 -7
  360. package/dist/collection/schema/props/custom-class.js +1 -9
  361. package/dist/collection/schema/props/disabled.js +1 -15
  362. package/dist/collection/schema/props/download.js +1 -7
  363. package/dist/collection/schema/props/error-list.js +1 -14
  364. package/dist/collection/schema/props/has-closer.js +1 -7
  365. package/dist/collection/schema/props/has-compact-button.js +1 -7
  366. package/dist/collection/schema/props/has-counter.js +1 -7
  367. package/dist/collection/schema/props/has-create-button.js +1 -7
  368. package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
  369. package/dist/collection/schema/props/has-settings-menu.js +1 -7
  370. package/dist/collection/schema/props/has-value.js +1 -7
  371. package/dist/collection/schema/props/hide-label.js +1 -7
  372. package/dist/collection/schema/props/hide-msg.js +1 -7
  373. package/dist/collection/schema/props/hint.js +1 -7
  374. package/dist/collection/schema/props/href.js +1 -7
  375. package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
  376. package/dist/collection/schema/props/icons.js +0 -43
  377. package/dist/collection/schema/props/id.js +1 -7
  378. package/dist/collection/schema/props/image-sizes.js +1 -7
  379. package/dist/collection/schema/props/image-source.js +1 -7
  380. package/dist/collection/schema/props/image-srcset.js +1 -7
  381. package/dist/collection/schema/props/indeterminate.js +1 -7
  382. package/dist/collection/schema/props/index.js +5 -1
  383. package/dist/collection/schema/props/inline.js +1 -7
  384. package/dist/collection/schema/props/label-align.js +1 -8
  385. package/dist/collection/schema/props/label.js +0 -35
  386. package/dist/collection/schema/props/link-on-callbacks.js +1 -8
  387. package/dist/collection/schema/props/link-target.js +1 -7
  388. package/dist/collection/schema/props/loading.js +1 -8
  389. package/dist/collection/schema/props/max-length-behavior.js +1 -8
  390. package/dist/collection/schema/props/max-length.js +1 -7
  391. package/dist/collection/schema/props/max.js +1 -7
  392. package/dist/collection/schema/props/modal.js +1 -7
  393. package/dist/collection/schema/props/msg.js +1 -24
  394. package/dist/collection/schema/props/multiple.js +1 -7
  395. package/dist/collection/schema/props/name.js +1 -7
  396. package/dist/collection/schema/props/open.js +1 -7
  397. package/dist/collection/schema/props/options.js +1 -11
  398. package/dist/collection/schema/props/orientation.js +1 -10
  399. package/dist/collection/schema/props/pagination-position.js +1 -10
  400. package/dist/collection/schema/props/pattern.js +1 -7
  401. package/dist/collection/schema/props/placeholder.js +1 -7
  402. package/dist/collection/schema/props/popover-align.js +1 -7
  403. package/dist/collection/schema/props/read-only.js +1 -7
  404. package/dist/collection/schema/props/required.js +1 -7
  405. package/dist/collection/schema/props/resize-textarea.js +0 -9
  406. package/dist/collection/schema/props/rows.js +1 -7
  407. package/dist/collection/schema/props/short-key.js +1 -7
  408. package/dist/collection/schema/props/show.js +1 -7
  409. package/dist/collection/schema/props/spell-check.js +1 -9
  410. package/dist/collection/schema/props/suggestions.js +1 -16
  411. package/dist/collection/schema/props/tab-behavior.js +1 -8
  412. package/dist/collection/schema/props/tab-index.js +1 -16
  413. package/dist/collection/schema/props/table-data-foot.js +1 -21
  414. package/dist/collection/schema/props/table-data.js +1 -21
  415. package/dist/collection/schema/props/table-fixed-cols.js +1 -14
  416. package/dist/collection/schema/props/table-selection.js +1 -22
  417. package/dist/collection/schema/props/toolbar-items.js +1 -21
  418. package/dist/collection/schema/props/tooltip-align.js +1 -7
  419. package/dist/collection/schema/props/touched.js +1 -7
  420. package/dist/collection/schema/props/type-input-date.js +0 -7
  421. package/dist/collection/schema/props/type-input-text.js +0 -7
  422. package/dist/collection/schema/props/unit.js +1 -7
  423. package/dist/collection/schema/props/variant/dialog.js +1 -8
  424. package/dist/collection/schema/props/variant/modal.js +1 -4
  425. package/dist/collection/schema/props/variant/password-variant.js +1 -8
  426. package/dist/collection/schema/props/variant-alert.js +0 -7
  427. package/dist/collection/schema/props/variant-class-name.js +0 -33
  428. package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
  429. package/dist/collection/schema/props/variant-progress.js +0 -7
  430. package/dist/collection/schema/props/visibility-toggle.js +1 -7
  431. package/dist/collection/schema/props/width.js +1 -7
  432. package/dist/collection/schema/utils/contrast.js +1 -1
  433. package/dist/collection/schema/utils/prop.validators.js +1 -1
  434. package/dist/collection/schema/validators/common.js +4 -0
  435. package/dist/collection/schema/validators/index.js +0 -1
  436. package/dist/collection/utils/aria-labelledby.js +0 -12
  437. package/dist/collection/utils/dev.utils.js +1 -2
  438. package/dist/collection/utils/markdown.js +49 -3
  439. package/dist/collection/utils/testing/logged-messages.js +4 -0
  440. package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
  441. package/dist/collection/utils/testing/snapshot-testing.js +2 -1
  442. package/dist/collection/utils/tooltip-open-tracking.js +6 -5
  443. package/dist/components/Heading.js +1 -1
  444. package/dist/components/access-and-short-key.js +1 -1
  445. package/dist/components/aria-current-service.js +4 -0
  446. package/dist/components/base-web-component.js +1 -1
  447. package/dist/components/base-web-component2.js +1 -1
  448. package/dist/components/base-web-component3.js +1 -1
  449. package/dist/components/base-web-component4.js +1 -1
  450. package/dist/components/base.js +1 -1
  451. package/dist/components/base2.js +1 -1
  452. package/dist/components/base3.js +1 -1
  453. package/dist/components/base4.js +1 -1
  454. package/dist/components/behavior.js +1 -1
  455. package/dist/components/behavior2.js +1 -1
  456. package/dist/components/behavior3.js +1 -1
  457. package/dist/components/behavior4.js +1 -1
  458. package/dist/components/bem-registry.js +1 -1
  459. package/dist/components/bootstrap.js +1 -1
  460. package/dist/components/color.js +1 -1
  461. package/dist/components/component-names.js +1 -1
  462. package/dist/components/component.js +1 -1
  463. package/dist/components/component10.js +1 -1
  464. package/dist/components/component11.js +1 -1
  465. package/dist/components/component12.js +4 -0
  466. package/dist/components/component13.js +4 -0
  467. package/dist/components/component14.js +4 -0
  468. package/dist/components/component2.js +1 -1
  469. package/dist/components/component3.js +1 -1
  470. package/dist/components/component4.js +1 -1
  471. package/dist/components/component5.js +1 -1
  472. package/dist/components/component6.js +1 -1
  473. package/dist/components/component7.js +1 -1
  474. package/dist/components/component8.js +1 -1
  475. package/dist/components/component9.js +1 -1
  476. package/dist/components/contrast.js +1 -1
  477. package/dist/components/controller.js +1 -1
  478. package/dist/components/dev.utils.js +1 -1
  479. package/dist/components/devtools.js +1 -1
  480. package/dist/components/disabled.js +1 -1
  481. package/dist/components/element-focus.js +1 -1
  482. package/dist/components/element-interaction.js +1 -1
  483. package/dist/components/events.js +1 -1
  484. package/dist/components/field-control.js +1 -1
  485. package/dist/components/group.js +1 -1
  486. package/dist/components/has-closer.js +1 -1
  487. package/dist/components/i18n.js +1 -1
  488. package/dist/components/i18n2.js +1 -1
  489. package/dist/components/id.js +1 -1
  490. package/dist/components/index.js +1 -1
  491. package/dist/components/input-container.js +1 -1
  492. package/dist/components/input.js +1 -1
  493. package/dist/components/item-pool.js +1 -1
  494. package/dist/components/item.js +1 -1
  495. package/dist/components/item2.js +1 -1
  496. package/dist/components/item3.js +1 -1
  497. package/dist/components/item4.js +1 -1
  498. package/dist/components/keyboard.js +1 -1
  499. package/dist/components/kol-abbr.js +1 -1
  500. package/dist/components/kol-accordion.js +1 -1
  501. package/dist/components/kol-alert.js +1 -1
  502. package/dist/components/kol-avatar.js +1 -1
  503. package/dist/components/kol-badge.js +1 -1
  504. package/dist/components/kol-breadcrumb.js +1 -1
  505. package/dist/components/kol-button-link.js +1 -1
  506. package/dist/components/kol-button.js +1 -1
  507. package/dist/components/kol-card.js +1 -1
  508. package/dist/components/kol-combobox.js +1 -1
  509. package/dist/components/kol-details.js +1 -1
  510. package/dist/components/kol-dialog.js +1 -1
  511. package/dist/components/kol-drawer.js +1 -1
  512. package/dist/components/kol-form.js +1 -1
  513. package/dist/components/kol-heading.js +1 -1
  514. package/dist/components/kol-icon.js +1 -1
  515. package/dist/components/kol-image.js +1 -1
  516. package/dist/components/kol-input-checkbox.js +1 -1
  517. package/dist/components/kol-input-color.js +1 -1
  518. package/dist/components/kol-input-date.js +1 -1
  519. package/dist/components/kol-input-email.js +1 -1
  520. package/dist/components/kol-input-file.js +1 -1
  521. package/dist/components/kol-input-number.js +1 -1
  522. package/dist/components/kol-input-password.js +1 -1
  523. package/dist/components/kol-input-radio.js +1 -1
  524. package/dist/components/kol-input-range.js +1 -1
  525. package/dist/components/kol-input-text.js +1 -1
  526. package/dist/components/kol-kolibri.js +1 -1
  527. package/dist/components/kol-link-button.js +1 -1
  528. package/dist/components/kol-link.js +1 -1
  529. package/dist/components/kol-meter.js +1 -1
  530. package/dist/components/kol-modal.js +1 -1
  531. package/dist/components/kol-nav.js +1 -1
  532. package/dist/components/kol-pagination.js +1 -1
  533. package/dist/components/kol-popover-button.js +1 -1
  534. package/dist/components/kol-progress.js +1 -1
  535. package/dist/components/kol-quote.js +1 -1
  536. package/dist/components/kol-select.js +1 -1
  537. package/dist/components/kol-single-select.js +1 -1
  538. package/dist/components/kol-skip-nav.js +1 -1
  539. package/dist/components/kol-spin.js +1 -1
  540. package/dist/components/kol-split-button.js +1 -1
  541. package/dist/components/kol-table-stateful.js +1 -1
  542. package/dist/components/kol-table-stateless.js +1 -1
  543. package/dist/components/kol-tabs.js +1 -1
  544. package/dist/components/kol-textarea.js +1 -1
  545. package/dist/components/kol-toast-container.js +1 -1
  546. package/dist/components/kol-toolbar.js +1 -1
  547. package/dist/components/kol-tree-item.js +1 -1
  548. package/dist/components/kol-tree.js +1 -1
  549. package/dist/components/kol-version.js +1 -1
  550. package/dist/components/label-hints.js +1 -1
  551. package/dist/components/label-lang-segment.js +1 -1
  552. package/dist/components/label-with-expert-slot.js +1 -1
  553. package/dist/components/label.js +1 -1
  554. package/dist/components/level.js +1 -1
  555. package/dist/components/link-target.js +1 -1
  556. package/dist/components/links.js +1 -1
  557. package/dist/components/multiple.js +1 -1
  558. package/dist/components/number-value.js +1 -1
  559. package/dist/components/open-items-cache.js +1 -1
  560. package/dist/components/open.js +1 -1
  561. package/dist/components/options.js +1 -1
  562. package/dist/components/options2.js +1 -1
  563. package/dist/components/orientation.js +1 -1
  564. package/dist/components/placeholder.js +1 -1
  565. package/dist/components/prop.validators.js +4 -0
  566. package/dist/components/read-only.js +1 -1
  567. package/dist/components/required.js +1 -1
  568. package/dist/components/resolve-props.js +1 -1
  569. package/dist/components/resolve-props2.js +1 -1
  570. package/dist/components/rows.js +1 -1
  571. package/dist/components/scroll-lock.js +1 -1
  572. package/dist/components/shared-state.js +4 -0
  573. package/dist/components/smart-button.js +1 -1
  574. package/dist/components/spell-check.js +1 -1
  575. package/dist/components/src.js +1 -1
  576. package/dist/components/step.js +1 -1
  577. package/dist/components/suggestions.js +1 -1
  578. package/dist/components/suggestions2.js +1 -1
  579. package/dist/components/test-component.js +1 -1
  580. package/dist/components/toggle-handler.js +1 -1
  581. package/dist/components/tooltip-open-tracking.js +1 -1
  582. package/dist/components/unique-nav-labels.js +1 -1
  583. package/dist/components/unit.js +1 -1
  584. package/dist/components/validators.js +1 -1
  585. package/dist/components/value-string.js +1 -1
  586. package/dist/components/width.js +1 -1
  587. package/dist/esm/{Heading-BVhjT9av.js → Heading-foerLIu9.js} +2 -2
  588. package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-BTEwnScd.js} +2 -0
  589. package/dist/esm/{api-D92_O-0H.js → api-Ba9FNPRn.js} +29 -31
  590. package/dist/esm/{app-globals-CBGjgNge.js → app-globals-CqYpXngl.js} +4 -3
  591. package/dist/esm/aria-current-service-4eUMzpeO.js +27 -0
  592. package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-C4wUnR-v.js} +3 -13
  593. package/dist/esm/{base-BLBSJu_1.js → base-AKIr0rpk.js} +13 -14
  594. package/dist/esm/{base-qvPPg-dn.js → base-C7nTPc7u.js} +95 -67
  595. package/dist/esm/{base-DIcqHqMz.js → base-CpUNedp9.js} +13 -14
  596. package/dist/esm/{base-CHmdLgoO.js → base-D7qItqyf.js} +14 -16
  597. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-B3wi5eWH.js} +2 -1
  598. package/dist/esm/{base-web-component-CaAexWy_.js → base-web-component-BpL_hXcg.js} +16 -18
  599. package/dist/esm/{base-web-component-DbagnM7m.js → base-web-component-DorOeD_U.js} +10 -13
  600. package/dist/esm/{behavior-B08CXmI4.js → behavior-D9BHiFnH.js} +29 -28
  601. package/dist/esm/{behavior-CwUUkdaP.js → behavior-DDo87iUM.js} +6 -6
  602. package/dist/esm/{behavior-DW7_5Wxp.js → behavior-XAV9GSxI.js} +6 -6
  603. package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-CrZZQahR.js} +60 -14
  604. package/dist/esm/bootstrap-Cz7Iq2I2.js +52 -0
  605. package/dist/esm/{color-eAL9I7Wq.js → color-CnVBqZd5.js} +3 -3
  606. package/dist/esm/{component-8ALsFV4i.js → component-0npqUhj2.js} +5 -6
  607. package/dist/esm/{component-nR5Bf9G5.js → component-BCKsZOoB.js} +6 -5
  608. package/dist/esm/component-BZjDp_Lf.js +17 -0
  609. package/dist/esm/component-CjdTbGlP.js +172 -0
  610. package/dist/esm/component-Cn693XeT.js +47 -0
  611. package/dist/esm/{component-D0mBOGjS.js → component-Cvd5HXbX.js} +10 -12
  612. package/dist/esm/{component-DCw1ZAE5.js → component-CvdxCpjC.js} +5 -7
  613. package/dist/esm/{component-CdKSiR5P.js → component-DFhRTaqb.js} +6 -9
  614. package/dist/esm/{component-BTMWoACz.js → component-DP_p5few.js} +11 -13
  615. package/dist/esm/{component-DBAicJ2u.js → component-DlROeCCe.js} +14 -17
  616. package/dist/esm/component-names-DzmdvSkQ.js +115 -0
  617. package/dist/esm/{contrast-D78VGPFR.js → contrast-BHjNzQvB.js} +2 -2
  618. package/dist/esm/{controller-C3O9ohSP.js → controller-DYkXzFqc.js} +5 -5
  619. package/dist/esm/{dev.utils-wYkYn08d.js → dev.utils-BgFDROtc.js} +1 -2
  620. package/dist/esm/{devtools-DrBkkLdP.js → devtools-B6h2bVMJ.js} +4 -5
  621. package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZIZZ6wy.js} +2 -1
  622. package/dist/esm/{element-focus-BIRmGg5W.js → element-focus-C0L8NWU8.js} +1 -0
  623. package/dist/esm/{element-interaction-sGYdEpmv.js → element-interaction-B3GEli6r.js} +2 -1
  624. package/dist/esm/{events-BIT-JUP2.js → events-DdfMb1U7.js} +2 -0
  625. package/dist/esm/{field-control-Cs5VvsYo.js → field-control-QF0yTcyb.js} +7 -8
  626. package/dist/esm/{group-uNo1CfbK.js → group-8Me6YSO8.js} +6 -7
  627. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-B-uYNNCw.js} +2 -1
  628. package/dist/esm/{href-JqLbNBsW.js → href-DKPJq0Rh.js} +2 -1
  629. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-TlIXBsgS.js} +15 -10
  630. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-Uze_l4Ts.js} +2 -2
  631. package/dist/esm/{id-CIYvVaNr.js → id-CkUYl2hO.js} +2 -1
  632. package/dist/esm/{index-BKEJuyFi.js → index-D1fZ9xFt.js} +1677 -46
  633. package/dist/esm/index.js +14 -12
  634. package/dist/esm/{input-Dja5Qioc.js → input-DwlolkOG.js} +4 -6
  635. package/dist/esm/{input-container-C2Am7LEP.js → input-container-DC3x4oGg.js} +6 -9
  636. package/dist/esm/{item-DIAFIFSy.js → item-DThxrTZc.js} +60 -39
  637. package/dist/esm/{item-C4AmpdVD.js → item-cArH2C6l.js} +9 -9
  638. package/dist/esm/{item-pool-BOxAYePG.js → item-pool-D4qvvY-S.js} +2 -0
  639. package/dist/esm/{item-D627ShRd.js → item-uC3h4pj3.js} +15 -16
  640. package/dist/esm/{item-ConW1c81.js → item-zPmzbSvE.js} +9 -9
  641. package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-DzlBdECG.js} +2 -0
  642. package/dist/esm/kol-abbr.entry.js +11 -15
  643. package/dist/esm/kol-accordion.entry.js +22 -24
  644. package/dist/esm/kol-alert.entry.js +35 -37
  645. package/dist/esm/kol-avatar.entry.js +22 -25
  646. package/dist/esm/kol-badge.entry.js +32 -35
  647. package/dist/esm/kol-breadcrumb.entry.js +38 -41
  648. package/dist/esm/kol-button-link.entry.js +34 -36
  649. package/dist/esm/kol-button.entry.js +34 -36
  650. package/dist/esm/kol-card.entry.js +59 -101
  651. package/dist/esm/kol-combobox.entry.js +87 -89
  652. package/dist/esm/kol-details.entry.js +22 -24
  653. package/dist/esm/kol-dialog.entry.js +39 -42
  654. package/dist/esm/kol-drawer.entry.js +39 -42
  655. package/dist/esm/kol-form.entry.js +32 -35
  656. package/dist/esm/kol-heading.entry.js +20 -22
  657. package/dist/esm/kol-icon.entry.js +20 -18
  658. package/dist/esm/kol-image.entry.js +25 -27
  659. package/dist/esm/kol-input-checkbox.entry.js +90 -91
  660. package/dist/esm/kol-input-color.entry.js +69 -70
  661. package/dist/esm/kol-input-date.entry.js +81 -83
  662. package/dist/esm/kol-input-email.entry.js +85 -86
  663. package/dist/esm/kol-input-file.entry.js +62 -63
  664. package/dist/esm/kol-input-number.entry.js +83 -84
  665. package/dist/esm/kol-input-password.entry.js +83 -84
  666. package/dist/esm/kol-input-radio.entry.js +63 -66
  667. package/dist/esm/kol-input-range.entry.js +67 -69
  668. package/dist/esm/kol-input-text.entry.js +98 -99
  669. package/dist/esm/kol-kolibri.entry.js +12 -15
  670. package/dist/esm/kol-link-button.entry.js +42 -44
  671. package/dist/esm/kol-link.entry.js +41 -43
  672. package/dist/esm/kol-meter.entry.js +27 -36
  673. package/dist/esm/kol-modal.entry.js +39 -42
  674. package/dist/esm/kol-nav.entry.js +44 -47
  675. package/dist/esm/kol-pagination.entry.js +70 -73
  676. package/dist/esm/kol-popover-button.entry.js +67 -104
  677. package/dist/esm/kol-progress.entry.js +27 -27
  678. package/dist/esm/kol-quote.entry.js +17 -19
  679. package/dist/esm/kol-select.entry.js +73 -75
  680. package/dist/esm/kol-single-select.entry.js +95 -92
  681. package/dist/esm/kol-skip-nav.entry.js +38 -41
  682. package/dist/esm/kol-spin.entry.js +26 -29
  683. package/dist/esm/kol-split-button.entry.js +38 -40
  684. package/dist/esm/kol-table-stateful.entry.js +136 -109
  685. package/dist/esm/kol-table-stateless.entry.js +62 -74
  686. package/dist/esm/kol-tabs.entry.js +54 -60
  687. package/dist/esm/kol-textarea.entry.js +82 -82
  688. package/dist/esm/kol-toast-container.entry.js +22 -26
  689. package/dist/esm/kol-toolbar.entry.js +63 -62
  690. package/dist/esm/kol-tree-item.entry.js +44 -44
  691. package/dist/esm/kol-tree.entry.js +35 -25
  692. package/dist/esm/kol-version.entry.js +25 -28
  693. package/dist/esm/kolibri.js +7 -6
  694. package/dist/esm/{label-BRosRgdX.js → label-G82W4YoW.js} +4 -3
  695. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-DiRb_zIZ.js} +2 -2
  696. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-BSVexfSR.js} +3 -2
  697. package/dist/esm/label-with-expert-slot-C1i0atAL.js +13 -0
  698. package/dist/esm/{level-CA1s1_Mf.js → level-CWkPM-CS.js} +2 -1
  699. package/dist/esm/{link-target-FX94oqMo.js → link-target-B2OC2sZU.js} +2 -1
  700. package/dist/esm/{links-DwucTqcR.js → links-CiNHSAYH.js} +2 -2
  701. package/dist/esm/loader.js +6 -5
  702. package/dist/esm/{multiple-DqrZxybx.js → multiple-CuU2AuEM.js} +2 -1
  703. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-adUq1zr1.js} +2 -1
  704. package/dist/esm/{open-DRRv1KFK.js → open-DR8Z7RtS.js} +2 -1
  705. package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-CS2mDRNB.js} +2 -0
  706. package/dist/esm/{options-B0rBHetL.js → options-BDTJtk6H.js} +2 -0
  707. package/dist/esm/{options-DCaUcfAu.js → options-BPwcDIDO.js} +2 -2
  708. package/dist/esm/{orientation-XNOCaPwy.js → orientation-BUPO9LJU.js} +2 -1
  709. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-BTFnryTd.js} +2 -1
  710. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-DqFgiUwD.js} +136 -63
  711. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DRmmHb2G.js} +2 -1
  712. package/dist/esm/{required-hoaT7UmZ.js → required-D4CdAA4s.js} +2 -1
  713. package/dist/esm/{resolve-props-D2KiItuv.js → resolve-props-BAambGug.js} +9 -9
  714. package/dist/esm/{resolve-props-BLZxWC3j.js → resolve-props-Dpl38Wpe.js} +7 -8
  715. package/dist/esm/{rows-B0x8CR7K.js → rows-DRKSoawJ.js} +2 -1
  716. package/dist/esm/{scroll-lock-Y2hf47KW.js → scroll-lock-C66lpb8L.js} +9 -7
  717. package/dist/esm/shared-state-Dn94ivRg.js +14 -0
  718. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-BYEk3DzS.js} +2 -2
  719. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-DlQ_d2GL.js} +2 -1
  720. package/dist/esm/{src-DaGhmCL1.js → src-Cikg9qhP.js} +2 -1
  721. package/dist/esm/{step-Bdj89bGO.js → step-C7WPZrUp.js} +2 -1
  722. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-CotfxJG1.js} +2 -2
  723. package/dist/esm/{suggestions-DuqzGDve.js → suggestions-qW9OdwO3.js} +3 -3
  724. package/dist/esm/test-component.entry.js +3 -3
  725. package/dist/esm/theme-store-DroJsU6S.js +11 -0
  726. package/dist/esm/{toggle-handler-BRLmxe1J.js → toggle-handler-BB_SIgS1.js} +12 -15
  727. package/dist/esm/tooltip-open-tracking-CxHWKk8f.js +21 -0
  728. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CQgKoOXd.js} +2 -2
  729. package/dist/esm/{unit-BUhhJbhT.js → unit-D2lG-lEM.js} +2 -1
  730. package/dist/esm/{validators-BVM40IEr.js → validators-yh10eyXe.js} +4 -2
  731. package/dist/esm/{value-string-e9pwLcS-.js → value-string-DwEIOG1f.js} +2 -1
  732. package/dist/esm/{width-CgYY17tL.js → width-xawzWTVW.js} +2 -1
  733. package/dist/kolibri/Heading-foerLIu9.js +4 -0
  734. package/dist/kolibri/access-and-short-key-BTEwnScd.js +4 -0
  735. package/dist/kolibri/api-Ba9FNPRn.js +4 -0
  736. package/dist/kolibri/app-globals-CqYpXngl.js +4 -0
  737. package/dist/kolibri/aria-current-service-4eUMzpeO.js +4 -0
  738. package/dist/kolibri/aria-labelledby-C4wUnR-v.js +4 -0
  739. package/dist/kolibri/base-AKIr0rpk.js +4 -0
  740. package/dist/kolibri/base-C7nTPc7u.js +4 -0
  741. package/dist/kolibri/base-CpUNedp9.js +4 -0
  742. package/dist/kolibri/base-D7qItqyf.js +4 -0
  743. package/dist/kolibri/base-web-component-B3wi5eWH.js +4 -0
  744. package/dist/kolibri/base-web-component-BpL_hXcg.js +4 -0
  745. package/dist/kolibri/base-web-component-DorOeD_U.js +4 -0
  746. package/dist/kolibri/behavior-D9BHiFnH.js +4 -0
  747. package/dist/kolibri/behavior-DDo87iUM.js +4 -0
  748. package/dist/kolibri/behavior-XAV9GSxI.js +4 -0
  749. package/dist/kolibri/bem-registry-CrZZQahR.js +4 -0
  750. package/dist/kolibri/bootstrap-Cz7Iq2I2.js +4 -0
  751. package/dist/kolibri/color-CnVBqZd5.js +4 -0
  752. package/dist/kolibri/component-0npqUhj2.js +4 -0
  753. package/dist/kolibri/component-BCKsZOoB.js +4 -0
  754. package/dist/kolibri/component-BZjDp_Lf.js +4 -0
  755. package/dist/kolibri/component-CjdTbGlP.js +4 -0
  756. package/dist/kolibri/component-Cn693XeT.js +4 -0
  757. package/dist/kolibri/component-Cvd5HXbX.js +4 -0
  758. package/dist/kolibri/component-CvdxCpjC.js +4 -0
  759. package/dist/kolibri/component-DFhRTaqb.js +4 -0
  760. package/dist/kolibri/component-DP_p5few.js +4 -0
  761. package/dist/kolibri/component-DlROeCCe.js +4 -0
  762. package/dist/kolibri/component-names-DzmdvSkQ.js +4 -0
  763. package/dist/kolibri/contrast-BHjNzQvB.js +4 -0
  764. package/dist/kolibri/controller-DYkXzFqc.js +4 -0
  765. package/dist/kolibri/dev.utils-BgFDROtc.js +4 -0
  766. package/dist/kolibri/devtools-B6h2bVMJ.js +4 -0
  767. package/dist/kolibri/disabled-BZIZZ6wy.js +4 -0
  768. package/dist/kolibri/element-focus-C0L8NWU8.js +4 -0
  769. package/dist/kolibri/element-interaction-B3GEli6r.js +4 -0
  770. package/dist/kolibri/events-DdfMb1U7.js +4 -0
  771. package/dist/kolibri/field-control-QF0yTcyb.js +4 -0
  772. package/dist/kolibri/group-8Me6YSO8.js +4 -0
  773. package/dist/kolibri/has-closer-B-uYNNCw.js +4 -0
  774. package/dist/kolibri/href-DKPJq0Rh.js +4 -0
  775. package/dist/kolibri/i18n-TlIXBsgS.js +4 -0
  776. package/dist/kolibri/i18n-Uze_l4Ts.js +4 -0
  777. package/dist/kolibri/id-CkUYl2hO.js +4 -0
  778. package/dist/kolibri/index-D1fZ9xFt.js +6 -0
  779. package/dist/kolibri/index.esm.js +1 -1
  780. package/dist/kolibri/input-DwlolkOG.js +4 -0
  781. package/dist/kolibri/input-container-DC3x4oGg.js +4 -0
  782. package/dist/kolibri/item-DThxrTZc.js +4 -0
  783. package/dist/kolibri/item-cArH2C6l.js +4 -0
  784. package/dist/kolibri/item-pool-D4qvvY-S.js +4 -0
  785. package/dist/kolibri/item-uC3h4pj3.js +4 -0
  786. package/dist/kolibri/item-zPmzbSvE.js +4 -0
  787. package/dist/kolibri/keyboard-DzlBdECG.js +4 -0
  788. package/dist/kolibri/kol-abbr.entry.js +1 -1
  789. package/dist/kolibri/kol-accordion.entry.js +1 -1
  790. package/dist/kolibri/kol-alert.entry.js +1 -1
  791. package/dist/kolibri/kol-avatar.entry.js +1 -1
  792. package/dist/kolibri/kol-badge.entry.js +1 -1
  793. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  794. package/dist/kolibri/kol-button-link.entry.js +1 -1
  795. package/dist/kolibri/kol-button.entry.js +1 -1
  796. package/dist/kolibri/kol-card.entry.js +1 -1
  797. package/dist/kolibri/kol-combobox.entry.js +1 -1
  798. package/dist/kolibri/kol-details.entry.js +1 -1
  799. package/dist/kolibri/kol-dialog.entry.js +1 -1
  800. package/dist/kolibri/kol-drawer.entry.js +1 -1
  801. package/dist/kolibri/kol-form.entry.js +1 -1
  802. package/dist/kolibri/kol-heading.entry.js +1 -1
  803. package/dist/kolibri/kol-icon.entry.js +1 -1
  804. package/dist/kolibri/kol-image.entry.js +1 -1
  805. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  806. package/dist/kolibri/kol-input-color.entry.js +1 -1
  807. package/dist/kolibri/kol-input-date.entry.js +1 -1
  808. package/dist/kolibri/kol-input-email.entry.js +1 -1
  809. package/dist/kolibri/kol-input-file.entry.js +1 -1
  810. package/dist/kolibri/kol-input-number.entry.js +1 -1
  811. package/dist/kolibri/kol-input-password.entry.js +1 -1
  812. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  813. package/dist/kolibri/kol-input-range.entry.js +1 -1
  814. package/dist/kolibri/kol-input-text.entry.js +1 -1
  815. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  816. package/dist/kolibri/kol-link-button.entry.js +1 -1
  817. package/dist/kolibri/kol-link.entry.js +1 -1
  818. package/dist/kolibri/kol-meter.entry.js +1 -1
  819. package/dist/kolibri/kol-modal.entry.js +1 -1
  820. package/dist/kolibri/kol-nav.entry.js +1 -1
  821. package/dist/kolibri/kol-pagination.entry.js +1 -1
  822. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  823. package/dist/kolibri/kol-progress.entry.js +1 -1
  824. package/dist/kolibri/kol-quote.entry.js +1 -1
  825. package/dist/kolibri/kol-select.entry.js +1 -1
  826. package/dist/kolibri/kol-single-select.entry.js +1 -1
  827. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  828. package/dist/kolibri/kol-spin.entry.js +1 -1
  829. package/dist/kolibri/kol-split-button.entry.js +1 -1
  830. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  831. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  832. package/dist/kolibri/kol-tabs.entry.js +1 -1
  833. package/dist/kolibri/kol-textarea.entry.js +1 -1
  834. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  835. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  836. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  837. package/dist/kolibri/kol-tree.entry.js +1 -1
  838. package/dist/kolibri/kol-version.entry.js +1 -1
  839. package/dist/kolibri/kolibri.esm.js +1 -1
  840. package/dist/kolibri/label-G82W4YoW.js +4 -0
  841. package/dist/kolibri/label-hints-DiRb_zIZ.js +4 -0
  842. package/dist/kolibri/label-lang-segment-BSVexfSR.js +4 -0
  843. package/dist/kolibri/label-with-expert-slot-C1i0atAL.js +4 -0
  844. package/dist/kolibri/level-CWkPM-CS.js +4 -0
  845. package/dist/kolibri/link-target-B2OC2sZU.js +4 -0
  846. package/dist/kolibri/links-CiNHSAYH.js +4 -0
  847. package/dist/kolibri/multiple-CuU2AuEM.js +4 -0
  848. package/dist/kolibri/number-value-adUq1zr1.js +4 -0
  849. package/dist/kolibri/open-DR8Z7RtS.js +4 -0
  850. package/dist/kolibri/open-items-cache-CS2mDRNB.js +4 -0
  851. package/dist/kolibri/options-BDTJtk6H.js +4 -0
  852. package/dist/kolibri/options-BPwcDIDO.js +4 -0
  853. package/dist/kolibri/orientation-BUPO9LJU.js +4 -0
  854. package/dist/kolibri/placeholder-BTFnryTd.js +4 -0
  855. package/dist/kolibri/props-from-config-DqFgiUwD.js +4 -0
  856. package/dist/kolibri/read-only-DRmmHb2G.js +4 -0
  857. package/dist/kolibri/required-D4CdAA4s.js +4 -0
  858. package/dist/kolibri/resolve-props-BAambGug.js +4 -0
  859. package/dist/kolibri/resolve-props-Dpl38Wpe.js +4 -0
  860. package/dist/kolibri/rows-DRKSoawJ.js +4 -0
  861. package/dist/kolibri/scroll-lock-C66lpb8L.js +4 -0
  862. package/dist/kolibri/shared-state-Dn94ivRg.js +4 -0
  863. package/dist/kolibri/smart-button-BYEk3DzS.js +4 -0
  864. package/dist/kolibri/spell-check-DlQ_d2GL.js +4 -0
  865. package/dist/kolibri/src-Cikg9qhP.js +4 -0
  866. package/dist/kolibri/step-C7WPZrUp.js +4 -0
  867. package/dist/kolibri/suggestions-CotfxJG1.js +4 -0
  868. package/dist/kolibri/suggestions-qW9OdwO3.js +4 -0
  869. package/dist/kolibri/test-component.entry.js +1 -1
  870. package/dist/kolibri/theme-store-DroJsU6S.js +4 -0
  871. package/dist/kolibri/toggle-handler-BB_SIgS1.js +4 -0
  872. package/dist/kolibri/tooltip-open-tracking-CxHWKk8f.js +4 -0
  873. package/dist/kolibri/unique-nav-labels-CQgKoOXd.js +4 -0
  874. package/dist/kolibri/unit-D2lG-lEM.js +4 -0
  875. package/dist/kolibri/validators-yh10eyXe.js +4 -0
  876. package/dist/kolibri/value-string-DwEIOG1f.js +4 -0
  877. package/dist/kolibri/width-xawzWTVW.js +4 -0
  878. package/dist/types/components/accordion/component.d.ts +2 -2
  879. package/dist/types/components/alert/component.d.ts +3 -2
  880. package/dist/types/components/badge/component.d.ts +2 -2
  881. package/dist/types/components/breadcrumb/component.d.ts +2 -2
  882. package/dist/types/components/button/base.d.ts +1 -1
  883. package/dist/types/components/button/component.d.ts +2 -2
  884. package/dist/types/components/button-link/component.d.ts +2 -2
  885. package/dist/types/components/card/component.d.ts +12 -5
  886. package/dist/types/components/combobox/component.d.ts +10 -10
  887. package/dist/types/components/details/component.d.ts +2 -2
  888. package/dist/types/components/dialog/base.d.ts +1 -1
  889. package/dist/types/components/dialog/component.d.ts +3 -3
  890. package/dist/types/components/drawer/component.d.ts +2 -2
  891. package/dist/types/components/form/component.d.ts +2 -2
  892. package/dist/types/components/heading/component.d.ts +2 -2
  893. package/dist/types/components/image/component.d.ts +2 -2
  894. package/dist/types/components/input-checkbox/component.d.ts +9 -9
  895. package/dist/types/components/input-color/component.d.ts +4 -4
  896. package/dist/types/components/input-date/component.d.ts +7 -7
  897. package/dist/types/components/input-email/component.d.ts +8 -8
  898. package/dist/types/components/input-file/component.d.ts +4 -4
  899. package/dist/types/components/input-number/component.d.ts +6 -6
  900. package/dist/types/components/input-password/component.d.ts +8 -8
  901. package/dist/types/components/input-radio/component.d.ts +5 -5
  902. package/dist/types/components/input-range/component.d.ts +4 -4
  903. package/dist/types/components/input-text/component.d.ts +12 -12
  904. package/dist/types/components/kolibri/component.d.ts +2 -2
  905. package/dist/types/components/link/component.d.ts +4 -4
  906. package/dist/types/components/link-button/component.d.ts +4 -4
  907. package/dist/types/components/modal/component.d.ts +3 -3
  908. package/dist/types/components/nav/component.d.ts +2 -2
  909. package/dist/types/components/pagination/component.d.ts +8 -8
  910. package/dist/types/components/popover-button/component.d.ts +10 -3
  911. package/dist/types/components/progress/component.d.ts +1 -0
  912. package/dist/types/components/public-api/contract.d.ts +7 -2
  913. package/dist/types/components/select/component.d.ts +6 -6
  914. package/dist/types/components/single-select/component.d.ts +11 -10
  915. package/dist/types/components/skip-nav/component.d.ts +2 -2
  916. package/dist/types/components/spin/component.d.ts +2 -2
  917. package/dist/types/components/split-button/component.d.ts +2 -2
  918. package/dist/types/components/table-stateful/component.d.ts +10 -11
  919. package/dist/types/components/table-stateless/base.d.ts +4 -2
  920. package/dist/types/components/table-stateless/component.d.ts +5 -8
  921. package/dist/types/components/tabs/component.d.ts +4 -5
  922. package/dist/types/components/textarea/component.d.ts +8 -8
  923. package/dist/types/components/toolbar/component.d.ts +6 -6
  924. package/dist/types/components/tree/component.d.ts +3 -2
  925. package/dist/types/components/tree-item/component.d.ts +4 -4
  926. package/dist/types/components/version/component.d.ts +2 -2
  927. package/dist/types/components.d.ts +64 -177
  928. package/dist/types/core/component-names.d.ts +52 -53
  929. package/dist/types/core/i18n.d.ts +1 -1
  930. package/dist/types/core/shared-state.d.ts +1 -0
  931. package/dist/types/core/tag-transformer.d.ts +4 -0
  932. package/dist/types/core/theme-store.d.ts +1 -0
  933. package/dist/types/index.d.ts +4 -2
  934. package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
  935. package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
  936. package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
  937. package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
  938. package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
  939. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  940. package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
  941. package/dist/types/internal/functional-components/button/api.d.ts +2 -2
  942. package/dist/types/internal/functional-components/button/item.d.ts +1 -1
  943. package/dist/types/internal/functional-components/card/api.d.ts +2 -2
  944. package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
  945. package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
  946. package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
  947. package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
  948. package/dist/types/internal/functional-components/dialog/component.d.ts +8 -4
  949. package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
  950. package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
  951. package/dist/types/internal/functional-components/form/api.d.ts +1 -1
  952. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  953. package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -2
  954. package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
  955. package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
  956. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  957. package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
  958. package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
  959. package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
  960. package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
  961. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  962. package/dist/types/internal/functional-components/image/api.d.ts +2 -2
  963. package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
  964. package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
  965. package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
  966. package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
  967. package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
  968. package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
  969. package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
  970. package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
  971. package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
  972. package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
  973. package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
  974. package/dist/types/internal/functional-components/link/api.d.ts +2 -2
  975. package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
  976. package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
  977. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  978. package/dist/types/internal/functional-components/pagination/item.d.ts +5 -3
  979. package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +2 -1
  980. package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
  981. package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
  982. package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
  983. package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
  984. package/dist/types/internal/functional-components/select/api.d.ts +4 -4
  985. package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
  986. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  987. package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
  988. package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
  989. package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
  990. package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
  991. package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
  992. package/dist/types/internal/functional-components/table-stateful/model.d.ts +4 -2
  993. package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
  994. package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
  995. package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
  996. package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +5 -5
  997. package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
  998. package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
  999. package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
  1000. package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
  1001. package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
  1002. package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
  1003. package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
  1004. package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
  1005. package/dist/types/internal/functional-components/version/api.d.ts +1 -1
  1006. package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
  1007. package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
  1008. package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
  1009. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  1010. package/dist/types/internal/props/index.d.ts +2 -1
  1011. package/dist/types/internal/props/info-popover.d.ts +1 -1
  1012. package/dist/types/internal/props/input-date-max.d.ts +1 -1
  1013. package/dist/types/internal/props/input-date-min.d.ts +1 -1
  1014. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  1015. package/dist/types/internal/props/nav-links.d.ts +1 -1
  1016. package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
  1017. package/dist/types/internal/props/smart-button.d.ts +1 -25
  1018. package/dist/types/internal/props/table-headers.d.ts +2 -2
  1019. package/dist/types/internal/props/table-stateful-headers.d.ts +2 -2
  1020. package/dist/types/internal/props/value-input-date.d.ts +1 -1
  1021. package/dist/types/locales/de.d.ts +1 -0
  1022. package/dist/types/locales/en.d.ts +1 -0
  1023. package/dist/types/schema/bem-registry.d.ts +87 -23
  1024. package/dist/types/schema/components/alert.d.ts +2 -8
  1025. package/dist/types/schema/components/badge.d.ts +3 -16
  1026. package/dist/types/schema/components/breadcrumb.d.ts +0 -15
  1027. package/dist/types/schema/components/button.d.ts +3 -3
  1028. package/dist/types/schema/components/card.d.ts +0 -9
  1029. package/dist/types/schema/components/form.d.ts +0 -13
  1030. package/dist/types/schema/components/index.d.ts +0 -29
  1031. package/dist/types/schema/components/link.d.ts +2 -2
  1032. package/dist/types/schema/components/pagination.d.ts +3 -17
  1033. package/dist/types/schema/components/popover-button.d.ts +3 -6
  1034. package/dist/types/schema/components/table.d.ts +2 -3
  1035. package/dist/types/schema/components/tableStateless.d.ts +5 -4
  1036. package/dist/types/schema/components/tabs.d.ts +3 -21
  1037. package/dist/types/schema/components/textarea.d.ts +0 -28
  1038. package/dist/types/schema/i18n-keys.d.ts +29 -28
  1039. package/dist/types/schema/index.d.ts +1 -1
  1040. package/dist/types/schema/props/accept.d.ts +0 -3
  1041. package/dist/types/schema/props/access-key.d.ts +0 -2
  1042. package/dist/types/schema/props/active.d.ts +0 -3
  1043. package/dist/types/schema/props/adjust-height.d.ts +0 -2
  1044. package/dist/types/schema/props/alert-type.d.ts +0 -2
  1045. package/dist/types/schema/props/align.d.ts +0 -2
  1046. package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
  1047. package/dist/types/schema/props/alt.d.ts +0 -3
  1048. package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
  1049. package/dist/types/schema/props/aria-controls.d.ts +0 -2
  1050. package/dist/types/schema/props/aria-current-value.d.ts +1 -5
  1051. package/dist/types/schema/props/aria-description.d.ts +0 -2
  1052. package/dist/types/schema/props/aria-details.d.ts +0 -2
  1053. package/dist/types/schema/props/aria-expanded.d.ts +0 -2
  1054. package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
  1055. package/dist/types/schema/props/aria-owns.d.ts +0 -2
  1056. package/dist/types/schema/props/aria-selected.d.ts +0 -2
  1057. package/dist/types/schema/props/auto-complete.d.ts +0 -2
  1058. package/dist/types/schema/props/badge-text.d.ts +0 -2
  1059. package/dist/types/schema/props/button-callbacks.d.ts +0 -3
  1060. package/dist/types/schema/props/button-type.d.ts +1 -5
  1061. package/dist/types/schema/props/button-variant.d.ts +1 -5
  1062. package/dist/types/schema/props/checked.d.ts +0 -2
  1063. package/dist/types/schema/props/collapsible.d.ts +0 -2
  1064. package/dist/types/schema/props/color.d.ts +0 -4
  1065. package/dist/types/schema/props/current-length.d.ts +0 -3
  1066. package/dist/types/schema/props/custom-class.d.ts +0 -2
  1067. package/dist/types/schema/props/disabled.d.ts +0 -2
  1068. package/dist/types/schema/props/download.d.ts +0 -2
  1069. package/dist/types/schema/props/error-list.d.ts +0 -2
  1070. package/dist/types/schema/props/has-closer.d.ts +0 -2
  1071. package/dist/types/schema/props/has-compact-button.d.ts +0 -2
  1072. package/dist/types/schema/props/has-counter.d.ts +0 -3
  1073. package/dist/types/schema/props/has-create-button.d.ts +0 -2
  1074. package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
  1075. package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
  1076. package/dist/types/schema/props/has-value.d.ts +0 -3
  1077. package/dist/types/schema/props/hide-label.d.ts +0 -3
  1078. package/dist/types/schema/props/hide-msg.d.ts +0 -3
  1079. package/dist/types/schema/props/hint.d.ts +0 -2
  1080. package/dist/types/schema/props/href.d.ts +2 -4
  1081. package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
  1082. package/dist/types/schema/props/icons.d.ts +0 -3
  1083. package/dist/types/schema/props/id.d.ts +0 -2
  1084. package/dist/types/schema/props/image-sizes.d.ts +0 -3
  1085. package/dist/types/schema/props/image-source.d.ts +0 -3
  1086. package/dist/types/schema/props/image-srcset.d.ts +0 -3
  1087. package/dist/types/schema/props/indeterminate.d.ts +0 -2
  1088. package/dist/types/schema/props/index.d.ts +5 -1
  1089. package/dist/types/schema/props/inline.d.ts +0 -3
  1090. package/dist/types/schema/props/label-align.d.ts +1 -5
  1091. package/dist/types/schema/props/label.d.ts +4 -7
  1092. package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
  1093. package/dist/types/schema/props/link-target.d.ts +0 -2
  1094. package/dist/types/schema/props/loading.d.ts +1 -5
  1095. package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
  1096. package/dist/types/schema/props/max-length.d.ts +0 -3
  1097. package/dist/types/schema/props/max.d.ts +0 -4
  1098. package/dist/types/schema/props/modal.d.ts +0 -2
  1099. package/dist/types/schema/props/msg.d.ts +0 -2
  1100. package/dist/types/schema/props/multiple.d.ts +0 -3
  1101. package/dist/types/schema/props/name.d.ts +0 -3
  1102. package/dist/types/schema/props/open.d.ts +0 -3
  1103. package/dist/types/schema/props/options.d.ts +0 -4
  1104. package/dist/types/schema/props/orientation.d.ts +1 -5
  1105. package/dist/types/schema/props/pagination-position.d.ts +1 -5
  1106. package/dist/types/schema/props/pattern.d.ts +0 -3
  1107. package/dist/types/schema/props/placeholder.d.ts +0 -3
  1108. package/dist/types/schema/props/popover-align.d.ts +0 -2
  1109. package/dist/types/schema/props/read-only.d.ts +0 -2
  1110. package/dist/types/schema/props/required.d.ts +0 -2
  1111. package/dist/types/schema/props/resize-textarea.d.ts +0 -2
  1112. package/dist/types/schema/props/rows.d.ts +0 -2
  1113. package/dist/types/schema/props/short-key.d.ts +0 -2
  1114. package/dist/types/schema/props/show.d.ts +0 -3
  1115. package/dist/types/schema/props/spell-check.d.ts +0 -2
  1116. package/dist/types/schema/props/suggestions.d.ts +0 -2
  1117. package/dist/types/schema/props/tab-behavior.d.ts +1 -5
  1118. package/dist/types/schema/props/tab-index.d.ts +0 -2
  1119. package/dist/types/schema/props/table-callbacks.d.ts +5 -5
  1120. package/dist/types/schema/props/table-data-foot.d.ts +0 -3
  1121. package/dist/types/schema/props/table-data.d.ts +0 -3
  1122. package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
  1123. package/dist/types/schema/props/table-headers.d.ts +3 -0
  1124. package/dist/types/schema/props/table-selection.d.ts +0 -2
  1125. package/dist/types/schema/props/toolbar-items.d.ts +0 -2
  1126. package/dist/types/schema/props/tooltip-align.d.ts +0 -2
  1127. package/dist/types/schema/props/touched.d.ts +0 -2
  1128. package/dist/types/schema/props/type-input-date.d.ts +4 -2
  1129. package/dist/types/schema/props/type-input-text.d.ts +0 -2
  1130. package/dist/types/schema/props/unit.d.ts +0 -2
  1131. package/dist/types/schema/props/variant/dialog.d.ts +1 -5
  1132. package/dist/types/schema/props/variant/modal.d.ts +0 -1
  1133. package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
  1134. package/dist/types/schema/props/variant-alert.d.ts +0 -2
  1135. package/dist/types/schema/props/variant-class-name.d.ts +0 -3
  1136. package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
  1137. package/dist/types/schema/props/variant-progress.d.ts +0 -2
  1138. package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
  1139. package/dist/types/schema/props/width.d.ts +0 -3
  1140. package/dist/types/schema/types/button-link-text.d.ts +4 -4
  1141. package/dist/types/schema/validators/common.d.ts +2 -0
  1142. package/dist/types/schema/validators/index.d.ts +0 -1
  1143. package/dist/types/stencil-public-runtime.d.ts +1 -1
  1144. package/dist/types/utils/aria-labelledby.d.ts +0 -6
  1145. package/dist/types/utils/testing/logged-messages.d.ts +1 -0
  1146. package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
  1147. package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
  1148. package/doc/badge.md +21 -6
  1149. package/doc/button.md +13 -0
  1150. package/doc/combobox.md +23 -23
  1151. package/doc/input-checkbox.md +17 -2
  1152. package/doc/input-color.md +22 -22
  1153. package/doc/input-date.md +28 -28
  1154. package/doc/input-email.md +30 -30
  1155. package/doc/input-file.md +22 -22
  1156. package/doc/input-number.md +43 -28
  1157. package/doc/input-password.md +29 -29
  1158. package/doc/input-radio.md +19 -19
  1159. package/doc/input-range.md +24 -24
  1160. package/doc/input-text.md +31 -31
  1161. package/doc/link.md +13 -0
  1162. package/doc/pagination.md +13 -13
  1163. package/doc/quote.md +13 -0
  1164. package/doc/select.md +24 -24
  1165. package/doc/single-select.md +24 -24
  1166. package/doc/table-stateful.md +33 -16
  1167. package/doc/table-stateless.md +31 -15
  1168. package/doc/tabs.md +1 -1
  1169. package/doc/textarea.md +29 -29
  1170. package/package.json +25 -17
  1171. package/vscode-custom-data.json +53 -158
  1172. package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
  1173. package/dist/cjs/block-bem-BI7yfoFU.js +0 -18
  1174. package/dist/cjs/bootstrap-DkgMbRSL.js +0 -33
  1175. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  1176. package/dist/cjs/common-C-hcIfzh.js +0 -1755
  1177. package/dist/cjs/component-BEzksV1U.js +0 -9300
  1178. package/dist/cjs/component-BQUKg-qY.js +0 -53
  1179. package/dist/cjs/component-BlAPlTfV.js +0 -20
  1180. package/dist/cjs/component-DMfcX1br.js +0 -14
  1181. package/dist/cjs/component-Dkx5Zyhq.js +0 -18
  1182. package/dist/cjs/component-names-BMpML1sX.js +0 -113
  1183. package/dist/cjs/input-CgTL2oH6.js +0 -20
  1184. package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
  1185. package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
  1186. package/dist/cjs/name-D4qpL1m-.js +0 -10
  1187. package/dist/collection/components/card/base.js +0 -79
  1188. package/dist/collection/components/click-button/component.js +0 -105
  1189. package/dist/collection/components/link/ariaCurrentService.js +0 -23
  1190. package/dist/collection/components/popover-button/base.js +0 -69
  1191. package/dist/collection/components/skeleton/component.js +0 -215
  1192. package/dist/collection/internal/functional-components/click-button/api.js +0 -7
  1193. package/dist/collection/internal/functional-components/click-button/component.js +0 -9
  1194. package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
  1195. package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
  1196. package/dist/collection/schema/components/button-link.js +0 -1
  1197. package/dist/collection/schema/components/collapsible.js +0 -1
  1198. package/dist/collection/schema/components/combobox.js +0 -1
  1199. package/dist/collection/schema/components/details.js +0 -1
  1200. package/dist/collection/schema/components/dialog.js +0 -1
  1201. package/dist/collection/schema/components/drawer.js +0 -1
  1202. package/dist/collection/schema/components/heading.js +0 -1
  1203. package/dist/collection/schema/components/input-checkbox.js +0 -1
  1204. package/dist/collection/schema/components/input-color.js +0 -1
  1205. package/dist/collection/schema/components/input-date.js +0 -1
  1206. package/dist/collection/schema/components/input-email.js +0 -1
  1207. package/dist/collection/schema/components/input-file.js +0 -1
  1208. package/dist/collection/schema/components/input-number.js +0 -1
  1209. package/dist/collection/schema/components/input-password.js +0 -1
  1210. package/dist/collection/schema/components/input-radio.js +0 -1
  1211. package/dist/collection/schema/components/input-range.js +0 -1
  1212. package/dist/collection/schema/components/input-text.js +0 -1
  1213. package/dist/collection/schema/components/kolibri.js +0 -1
  1214. package/dist/collection/schema/components/link-button.js +0 -1
  1215. package/dist/collection/schema/components/modal.js +0 -1
  1216. package/dist/collection/schema/components/nav.js +0 -1
  1217. package/dist/collection/schema/components/select.js +0 -1
  1218. package/dist/collection/schema/components/single-select.js +0 -1
  1219. package/dist/collection/schema/components/skip-nav.js +0 -1
  1220. package/dist/collection/schema/components/split-button.js +0 -1
  1221. package/dist/collection/schema/components/toolbar.js +0 -1
  1222. package/dist/collection/schema/components/tree-item.js +0 -1
  1223. package/dist/collection/schema/components/tree.js +0 -1
  1224. package/dist/collection/schema/components/version.js +0 -1
  1225. package/dist/collection/schema/props/table-header-cells.js +0 -36
  1226. package/dist/collection/schema/validators/alignment.js +0 -10
  1227. package/dist/collection/utils/testing/legacy-component.js +0 -16
  1228. package/dist/components/aria-labelledby.js +0 -4
  1229. package/dist/components/ariaCurrentService.js +0 -4
  1230. package/dist/components/block-bem.js +0 -4
  1231. package/dist/components/clsx.js +0 -4
  1232. package/dist/components/href.js +0 -4
  1233. package/dist/components/kol-click-button.d.ts +0 -11
  1234. package/dist/components/kol-click-button.js +0 -4
  1235. package/dist/components/kol-skeleton.d.ts +0 -11
  1236. package/dist/components/kol-skeleton.js +0 -4
  1237. package/dist/components/name.js +0 -4
  1238. package/dist/components/props-from-config.js +0 -4
  1239. package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
  1240. package/dist/esm/block-bem-BpQSY04L.js +0 -16
  1241. package/dist/esm/bootstrap-B9DtStuh.js +0 -28
  1242. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  1243. package/dist/esm/common-OzsC_6kt.js +0 -1709
  1244. package/dist/esm/component-Bc1n82Y8.js +0 -16
  1245. package/dist/esm/component-CZZNha2e.js +0 -9295
  1246. package/dist/esm/component-Cdnq5GYF.js +0 -18
  1247. package/dist/esm/component-DLSlbWg8.js +0 -12
  1248. package/dist/esm/component-DeMf195P.js +0 -48
  1249. package/dist/esm/component-names-CrfBV37S.js +0 -111
  1250. package/dist/esm/kol-click-button.entry.js +0 -53
  1251. package/dist/esm/kol-skeleton.entry.js +0 -105
  1252. package/dist/esm/label-with-expert-slot-CicRes-W.js +0 -12
  1253. package/dist/esm/name-B2Yf3EpX.js +0 -8
  1254. package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
  1255. package/dist/kolibri/Heading-BVhjT9av.js +0 -4
  1256. package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
  1257. package/dist/kolibri/api-D92_O-0H.js +0 -4
  1258. package/dist/kolibri/app-globals-CBGjgNge.js +0 -4
  1259. package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
  1260. package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
  1261. package/dist/kolibri/base-BLBSJu_1.js +0 -4
  1262. package/dist/kolibri/base-CHmdLgoO.js +0 -4
  1263. package/dist/kolibri/base-DIcqHqMz.js +0 -4
  1264. package/dist/kolibri/base-qvPPg-dn.js +0 -4
  1265. package/dist/kolibri/base-web-component-CaAexWy_.js +0 -4
  1266. package/dist/kolibri/base-web-component-DbagnM7m.js +0 -4
  1267. package/dist/kolibri/base-web-component-XgI4wUyN.js +0 -4
  1268. package/dist/kolibri/behavior-B08CXmI4.js +0 -4
  1269. package/dist/kolibri/behavior-CwUUkdaP.js +0 -4
  1270. package/dist/kolibri/behavior-DW7_5Wxp.js +0 -4
  1271. package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
  1272. package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
  1273. package/dist/kolibri/bootstrap-B9DtStuh.js +0 -4
  1274. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  1275. package/dist/kolibri/color-eAL9I7Wq.js +0 -4
  1276. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  1277. package/dist/kolibri/component-8ALsFV4i.js +0 -4
  1278. package/dist/kolibri/component-BTMWoACz.js +0 -4
  1279. package/dist/kolibri/component-Bc1n82Y8.js +0 -4
  1280. package/dist/kolibri/component-CZZNha2e.js +0 -4
  1281. package/dist/kolibri/component-CdKSiR5P.js +0 -4
  1282. package/dist/kolibri/component-Cdnq5GYF.js +0 -4
  1283. package/dist/kolibri/component-D0mBOGjS.js +0 -4
  1284. package/dist/kolibri/component-DBAicJ2u.js +0 -4
  1285. package/dist/kolibri/component-DCw1ZAE5.js +0 -4
  1286. package/dist/kolibri/component-DLSlbWg8.js +0 -4
  1287. package/dist/kolibri/component-DeMf195P.js +0 -4
  1288. package/dist/kolibri/component-nR5Bf9G5.js +0 -4
  1289. package/dist/kolibri/component-names-CrfBV37S.js +0 -4
  1290. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  1291. package/dist/kolibri/controller-C3O9ohSP.js +0 -4
  1292. package/dist/kolibri/dev.utils-wYkYn08d.js +0 -4
  1293. package/dist/kolibri/devtools-DrBkkLdP.js +0 -4
  1294. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  1295. package/dist/kolibri/element-focus-BIRmGg5W.js +0 -4
  1296. package/dist/kolibri/element-interaction-sGYdEpmv.js +0 -4
  1297. package/dist/kolibri/events-BIT-JUP2.js +0 -4
  1298. package/dist/kolibri/field-control-Cs5VvsYo.js +0 -4
  1299. package/dist/kolibri/group-uNo1CfbK.js +0 -4
  1300. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  1301. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  1302. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  1303. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  1304. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  1305. package/dist/kolibri/index-BKEJuyFi.js +0 -6
  1306. package/dist/kolibri/input-Dja5Qioc.js +0 -4
  1307. package/dist/kolibri/input-container-C2Am7LEP.js +0 -4
  1308. package/dist/kolibri/item-C4AmpdVD.js +0 -4
  1309. package/dist/kolibri/item-ConW1c81.js +0 -4
  1310. package/dist/kolibri/item-D627ShRd.js +0 -4
  1311. package/dist/kolibri/item-DIAFIFSy.js +0 -4
  1312. package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
  1313. package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
  1314. package/dist/kolibri/kol-click-button.entry.js +0 -4
  1315. package/dist/kolibri/kol-skeleton.entry.js +0 -4
  1316. package/dist/kolibri/label-BRosRgdX.js +0 -4
  1317. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  1318. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  1319. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  1320. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  1321. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  1322. package/dist/kolibri/links-DwucTqcR.js +0 -4
  1323. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  1324. package/dist/kolibri/name-B2Yf3EpX.js +0 -4
  1325. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  1326. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  1327. package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
  1328. package/dist/kolibri/options-B0rBHetL.js +0 -4
  1329. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  1330. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  1331. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  1332. package/dist/kolibri/props-from-config-Ci0dILpz.js +0 -4
  1333. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  1334. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  1335. package/dist/kolibri/resolve-props-BLZxWC3j.js +0 -4
  1336. package/dist/kolibri/resolve-props-D2KiItuv.js +0 -4
  1337. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  1338. package/dist/kolibri/scroll-lock-Y2hf47KW.js +0 -4
  1339. package/dist/kolibri/smart-button-CS_ZriPt.js +0 -4
  1340. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  1341. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  1342. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  1343. package/dist/kolibri/suggestions-DuqzGDve.js +0 -4
  1344. package/dist/kolibri/suggestions-Dy1X-Pc3.js +0 -4
  1345. package/dist/kolibri/toggle-handler-BRLmxe1J.js +0 -4
  1346. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
  1347. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  1348. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  1349. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  1350. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
  1351. package/dist/kolibri/width-CgYY17tL.js +0 -4
  1352. package/dist/types/components/card/base.d.ts +0 -27
  1353. package/dist/types/components/click-button/component.d.ts +0 -15
  1354. package/dist/types/components/popover-button/base.d.ts +0 -21
  1355. package/dist/types/components/skeleton/component.d.ts +0 -26
  1356. package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
  1357. package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
  1358. package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
  1359. package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
  1360. package/dist/types/schema/components/accordion.d.ts +0 -11
  1361. package/dist/types/schema/components/button-link.d.ts +0 -7
  1362. package/dist/types/schema/components/collapsible.d.ts +0 -7
  1363. package/dist/types/schema/components/combobox.d.ts +0 -26
  1364. package/dist/types/schema/components/details.d.ts +0 -11
  1365. package/dist/types/schema/components/dialog.d.ts +0 -21
  1366. package/dist/types/schema/components/drawer.d.ts +0 -17
  1367. package/dist/types/schema/components/heading.d.ts +0 -17
  1368. package/dist/types/schema/components/input-checkbox.d.ts +0 -25
  1369. package/dist/types/schema/components/input-color.d.ts +0 -25
  1370. package/dist/types/schema/components/input-date.d.ts +0 -34
  1371. package/dist/types/schema/components/input-email.d.ts +0 -31
  1372. package/dist/types/schema/components/input-file.d.ts +0 -22
  1373. package/dist/types/schema/components/input-number.d.ts +0 -33
  1374. package/dist/types/schema/components/input-password.d.ts +0 -31
  1375. package/dist/types/schema/components/input-radio.d.ts +0 -22
  1376. package/dist/types/schema/components/input-range.d.ts +0 -27
  1377. package/dist/types/schema/components/input-text.d.ts +0 -33
  1378. package/dist/types/schema/components/kolibri.d.ts +0 -21
  1379. package/dist/types/schema/components/link-button.d.ts +0 -7
  1380. package/dist/types/schema/components/modal.d.ts +0 -4
  1381. package/dist/types/schema/components/nav.d.ts +0 -16
  1382. package/dist/types/schema/components/select.d.ts +0 -24
  1383. package/dist/types/schema/components/single-select.d.ts +0 -24
  1384. package/dist/types/schema/components/skip-nav.d.ts +0 -16
  1385. package/dist/types/schema/components/split-button.d.ts +0 -9
  1386. package/dist/types/schema/components/toolbar.d.ts +0 -11
  1387. package/dist/types/schema/components/tree-item.d.ts +0 -12
  1388. package/dist/types/schema/components/tree.d.ts +0 -10
  1389. package/dist/types/schema/components/version.d.ts +0 -10
  1390. package/dist/types/schema/props/table-header-cells.d.ts +0 -11
  1391. package/dist/types/schema/validators/alignment.d.ts +0 -3
  1392. package/dist/types/utils/testing/legacy-component.d.ts +0 -4
  1393. package/doc/skeleton.md +0 -54
  1394. /package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
  1395. /package/dist/collection/schema/{components/accordion.js → props/table-headers.js} +0 -0
  1396. /package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
  1397. /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as t,r as o,H as e,g as i}from"./index-BKEJuyFi.js";import{a as n,_ as l}from"./tslib.es6-QNbPBOk5.js";import{v as a}from"./access-and-short-key-ijzCZfHm.js";import{c as r}from"./clsx-COFh-Vc8.js";import{i as s,g as c,f as h,B as d,F as k}from"./api-D92_O-0H.js";import"./common-OzsC_6kt.js";import{b}from"./bem-registry-CWN7_O1L.js";import{B as m}from"./component-Bc1n82Y8.js";import{I as f}from"./component-Cdnq5GYF.js";import{I as p}from"./input-Dja5Qioc.js";import{F as u}from"./field-control-Cs5VvsYo.js";import{a as g,d as _}from"./component-8ALsFV4i.js";import{c as v,n as y,b as w}from"./props-from-config-Ci0dILpz.js";import{r as x}from"./required-hoaT7UmZ.js";import{c as j}from"./dev.utils-wYkYn08d.js";import{d as z,a as B,c as C}from"./element-interaction-sGYdEpmv.js";import{s as T}from"./controller-C3O9ohSP.js";import"./component-CZZNha2e.js";import"./aria-labelledby-CLehu03h.js";import"./events-BIT-JUP2.js";import"./behavior-B08CXmI4.js";import"./bootstrap-B9DtStuh.js";import"./component-names-CrfBV37S.js";import"./i18n-Dl6Jjofb.js";import"./name-B2Yf3EpX.js";import"./behavior-CwUUkdaP.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-CIYvVaNr.js";import"./label-lang-segment-2_GnxjFp.js";import"./label-hints-Jn18RUT-.js";import"./disabled-Cqhc40CU.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./base-web-component-XgI4wUyN.js";import"./item-C4AmpdVD.js";import"./resolve-props-BLZxWC3j.js";import"./component-BTMWoACz.js";import"./item-D627ShRd.js";import"./component-CdKSiR5P.js";import"./i18n-DtLKn3Xt.js";import"./component-D0mBOGjS.js";import"./Heading-BVhjT9av.js";import"./block-bem-BpQSY04L.js";import"./element-focus-BIRmGg5W.js";const I=["button","default","switch"],A=v("value",!0,(t=>t)),K=v("checked",!1,y),L=["checked","indeterminate","unchecked"],D=v("icons",{checked:"kolicon-check",indeterminate:"kolicon-minus",unchecked:"kolicon-cross"},(t=>{if("object"==typeof t&&null!==t&&L.some((o=>(t=>"string"==typeof t&&t.length>0)(t[o]))))return t;throw new Error("Expected an object with at least one icon class of checked, indeterminate or unchecked")})),V=v("indeterminate",!1,y),q=["left","right"],O=v("labelAlign","right",(t=>{const o=w(t);if(q.includes(o))return o;throw new Error(`Invalid label alignment: ${o}`)})),P=v("variant","default",(t=>{const o=w(t);if(I.includes(o))return o;throw new Error(`Invalid checkbox variant: ${o}`)})),S=b.forBlock("kol-checkbox"),H=o=>{var{class:e,variant:i="default",icon:l,inputProps:a}=o,h=n(o,["class","variant","icon","inputProps"]);const{class:d}=a,k=n(a,["class"]);return t(m,Object.assign({component:"label",block:"kol-checkbox",modifiers:Object.assign({"variant-button":"button"===i,"variant-default":"default"===i,"variant-switch":"switch"===i,checked:Boolean(a.checked),indeterminate:Boolean(a.indeterminate),disabled:Boolean(a.disabled),required:Boolean(a.required),touched:Boolean(a.touched)},s(a.msg,a.touched)?{[c(a.msg)]:!0}:{}),class:e},h),t(f,{label:"",icons:l,class:S("icon")}),t(p,Object.assign({class:r(S("input"),d)},k,{type:"checkbox"})))},G={required:[...h.required],optional:[...h.optional,g,A,K,D,V,O,x,_,P]},F=class extends d{constructor(t){super(),o(this,t),this.id=j("input-checkbox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=C(),this.propsConfig=G,this._accessKey=void 0,this._checked=!1,this._hideMsg=!1,this._disabled=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._indeterminate=void 0,this._labelAlign="right",this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._ariaDetails=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=!0,this._variant="default",this.handleCheckboxInput=t=>{this._checked=!this._checked,this._indeterminate=!1,this.handleInput(t,this.getModelValue())},this.handleCheckboxChange=t=>{this.handleChange(t,this.getModelValue())},this.handleCheckboxKeyDown=t=>{this.handleKeyDown(t),T(t,{form:this.host,ref:this.ctaRef.el})},this.handleCheckboxBlur=t=>{this._disabled||this.handleBlur(t)},this.handleLabelMouseDown=t=>{this.inputHasFocus&&t.preventDefault()},this.handleCheckboxMouseDown=t=>{!this.inputHasFocus||t.target instanceof HTMLInputElement||t.preventDefault()},this.initFormAssociation("checkbox",this._name)}watchAccessKey(t){g.apply(t,(t=>this.setRenderProp("accessKey",t))),a(t,this._shortKey)}watchChecked(t){K.apply(t,(t=>this.setRenderProp("checked",t))),this.syncFormAssociatedValue()}watchHideMsg(t){this.applyHideMsg(t)}watchDisabled(t){this.applyDisabled(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){D.apply(t,(t=>this.setRenderProp("icons",Object.assign(Object.assign({},this.getRenderProp("icons")),t))))}watchInfoPopover(t){this.applyInfoPopover(t)}watchIndeterminate(t){V.apply(t,(t=>this.setRenderProp("indeterminate",t)))}watchLabel(t){this.applyLabel(t)}watchLabelAlign(t){O.apply(t,(t=>this.setRenderProp("labelAlign",t)))}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRequired(t){x.apply(t,(t=>this.setRenderProp("required",t)))}watchAriaDetails(t){this.applyAriaDetails(t)}watchShortKey(t){_.apply(t,(t=>this.setRenderProp("shortKey",t))),a(this._accessKey,t)}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){null==t?this.setRenderProp("value",t):A.apply(t,(t=>this.setRenderProp("value",t))),this.syncFormAssociatedValue()}watchVariant(t){P.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.getModelValue())}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){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 t=this.getRenderProp("icons");return this.getRenderProp("indeterminate")?t.indeterminate:this.getRenderProp("checked")?t.checked:t.unchecked}getInputProps(){const t=this.getRenderProp("shortKey"),{ariaDescribedBy:o,hasError:e}=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:o,required:this.getRenderProp("required"),checked:this.getRenderProp("checked"),indeterminate:this.getRenderProp("indeterminate"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")},t?{"aria-keyshortcuts":t}:{}),{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":e?"true":void 0})}render(){const o=this.getRenderProp("checked"),i=this.getRenderProp("indeterminate"),n=this.getRenderProp("variant"),l=this.getRenderProp("accessKey")||void 0,a=this.getRenderProp("shortKey")||void 0,s=this.getRenderProp("required");return t(e,{key:"dc8520bdd50f33eaafcf63d12c59b233d59781df"},t(k,Object.assign({key:"4a9c9fb70f555c268063cffc90222ea5eb3f30ef"},this.getFormFieldProps({class:r("kol-input-checkbox",{"kol-input-checkbox--checked":o,"kol-input-checkbox--indeterminate":i,[`kol-input-checkbox--variant-${n}`]:!0,[`kol-input-checkbox--label-align-${this.getRenderProp("labelAlign")}`]:!0}),accessKey:l,shortKey:a,required:s,renderNoLabel:!0,renderNoTooltip:!0})),t(u,Object.assign({key:"15d9df3d959762cc16382e225f263fefbcca19ce",class:r("kol-input-checkbox__field-control",{"kol-input-checkbox__field-control--checked":o,"kol-input-checkbox__field-control--indeterminate":i,[`kol-input-checkbox__field-control--variant-${n}`]:!0}),id:this.id,label:this.getRenderProp("label"),hint:this.getRenderProp("hint"),hideLabel:this.getRenderProp("hideLabel"),labelAlign:this.getRenderProp("labelAlign"),infoPopover:this.getInfoPopover(),accessKey:l,shortKey:a,tooltipAlign:this.getRenderProp("tooltipAlign"),disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),required:s,renderNoHint:!0,labelProps:{onMouseDown:this.handleLabelMouseDown}},this.getLabelTooltipRefs()),t(H,{key:"65969c9c0a39559c6da3a4f9e911881a73a326f3",variant:n,icon:this.getIcon(),onMouseDown:this.handleCheckboxMouseDown,inputProps:this.getInputProps()}))))}get host(){return i(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}]}}};l([z("ctaRef")],F.prototype,"focus",null),l([B("ctaRef")],F.prototype,"click",null),F.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .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-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-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; } }'};export{F as kol_input_checkbox}
4
+ import{h as e,r as t,H as o,g as i}from"./index-D1fZ9xFt.js";import{a as l,_ as n}from"./tslib.es6-QNbPBOk5.js";import{i as a,g as r,f as s,B as c,F as h}from"./api-Ba9FNPRn.js";import{b as d}from"./bem-registry-CrZZQahR.js";import{c as k,n as b,b as m,e as f,B as p}from"./props-from-config-DqFgiUwD.js";import{I as u}from"./component-BZjDp_Lf.js";import{I as g}from"./input-DwlolkOG.js";import{F as v}from"./field-control-QF0yTcyb.js";import{a as _,d as y}from"./component-0npqUhj2.js";import{r as w}from"./required-D4CdAA4s.js";import{v as x}from"./access-and-short-key-BTEwnScd.js";import{c as j}from"./dev.utils-BgFDROtc.js";import{d as z,a as B,c as D}from"./element-interaction-B3GEli6r.js";import{s as T}from"./controller-DYkXzFqc.js";import"./aria-labelledby-C4wUnR-v.js";import"./component-CjdTbGlP.js";import"./events-DdfMb1U7.js";import"./disabled-BZIZZ6wy.js";import"./label-with-expert-slot-C1i0atAL.js";import"./validators-yh10eyXe.js";import"./label-hints-DiRb_zIZ.js";import"./component-DP_p5few.js";import"./id-CkUYl2hO.js";import"./base-web-component-B3wi5eWH.js";import"./item-cArH2C6l.js";import"./behavior-DDo87iUM.js";import"./tooltip-open-tracking-CxHWKk8f.js";import"./shared-state-Dn94ivRg.js";import"./label-lang-segment-BSVexfSR.js";import"./resolve-props-Dpl38Wpe.js";import"./behavior-D9BHiFnH.js";import"./bootstrap-Cz7Iq2I2.js";import"./theme-store-DroJsU6S.js";import"./i18n-TlIXBsgS.js";import"./component-names-DzmdvSkQ.js";import"./item-uC3h4pj3.js";import"./component-DFhRTaqb.js";import"./i18n-Uze_l4Ts.js";import"./component-Cvd5HXbX.js";import"./Heading-foerLIu9.js";import"./element-focus-C0L8NWU8.js";const C=["button","default","switch"],A=k("value",!0,(e=>e)),I=k("checked",!1,b),q=["checked","indeterminate","unchecked"],K=k("icons",{checked:"kolicon-check",indeterminate:"kolicon-minus",unchecked:"kolicon-cross"},(e=>{if("object"==typeof e&&null!==e&&q.some((t=>(e=>"string"==typeof e&&e.length>0)(e[t]))))return e;throw new Error("Expected an object with at least one icon class of checked, indeterminate or unchecked")})),L=k("indeterminate",!1,b),H=["left","right"],P=k("labelAlign","right",(e=>{const t=m(e);if(H.includes(t))return t;throw new Error(`Invalid label alignment: ${t}`)})),O=k("variant","default",(e=>{const t=m(e);if(C.includes(t))return t;throw new Error(`Invalid checkbox variant: ${t}`)})),S=d.forBlock("kol-checkbox"),F=t=>{var{class:o,variant:i="default",icon:n,inputProps:s}=t,c=l(t,["class","variant","icon","inputProps"]);const{class:h}=s,d=l(s,["class"]);return e(p,Object.assign({component:"label",block:"kol-checkbox",modifiers:Object.assign({"variant-button":"button"===i,"variant-default":"default"===i,"variant-switch":"switch"===i,checked:Boolean(s.checked),indeterminate:Boolean(s.indeterminate),disabled:Boolean(s.disabled),required:Boolean(s.required),touched:Boolean(s.touched)},a(s.msg,s.touched)?{[r(s.msg)]:!0}:{}),class:o},c),e(u,{label:"",icons:n,class:S("icon")}),e(g,Object.assign({class:f(S("input"),h)},d,{type:"checkbox"})))},R={required:[...s.required],optional:[...s.optional,_,A,I,K,L,P,w,y,O]},V=d.forBlock("kol-input-checkbox"),M=class extends c{constructor(e){super(),new.target===M&&t(this,e),this.id=j("input-checkbox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=D(),this.propsConfig=R,this._accessKey=void 0,this._ariaDetails=void 0,this._checked=!1,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._indeterminate=void 0,this._infoPopover=void 0,this._labelAlign="right",this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,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))),x(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchChecked(e){I.apply(e,(e=>this.setRenderProp("checked",e))),this.syncFormAssociatedValue()}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){K.apply(e,(e=>this.setRenderProp("icons",Object.assign(Object.assign({},this.getRenderProp("icons")),e))))}watchIndeterminate(e){L.apply(e,(e=>this.setRenderProp("indeterminate",e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchLabelAlign(e){P.apply(e,(e=>this.setRenderProp("labelAlign",e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRequired(e){w.apply(e,(e=>this.setRenderProp("required",e)))}watchShortKey(e){y.apply(e,(e=>this.setRenderProp("shortKey",e))),x(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):A.apply(e,(e=>this.setRenderProp("value",e))),this.syncFormAssociatedValue()}watchVariant(e){O.apply(e,(e=>this.setRenderProp("variant",e)))}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchChecked(this._checked),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchIndeterminate(this._indeterminate),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchLabelAlign(this._labelAlign),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}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:f({"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,r=this.getRenderProp("required");return e(o,{key:"8be2935826092ab2d8d0d5ba147a20c6c1e85e7b"},e(h,Object.assign({key:"7e2565420223800ff51290462a973c226088d8cc"},this.getFormFieldProps({class:V({checked:t,indeterminate:i,[`variant-${l}`]:!0,[`label-align-${this.getRenderProp("labelAlign")}`]:!0}),accessKey:n,shortKey:a,required:r,renderNoLabel:!0,renderNoTooltip:!0})),e(v,Object.assign({key:"02076338fff19fe0f4a5fd281ef67e7c07530059",class:V("field-control",{checked:t,indeterminate:i,[`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:r,renderNoHint:!0,labelProps:{onMouseDown:this.handleLabelMouseDown}},this.getLabelTooltipRefs()),e(F,{key:"1ea5fb708e39e38bf80ce06a83e04269afb13ef3",variant:l,icon:this.getIcon(),onMouseDown:this.handleCheckboxMouseDown,inputProps:this.getInputProps()}))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_checked:[{watchChecked:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_indeterminate:[{watchIndeterminate:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([z("ctaRef")],M.prototype,"focus",null),n([B("ctaRef")],M.prototype,"click",null),M.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#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:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .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-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; } }'};export{M as kol_input_checkbox}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as o,h as t,H as e,g as i}from"./index-BKEJuyFi.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as a,g as r,I as s}from"./input-container-C2Am7LEP.js";import{f as c,B as h,F as d}from"./api-D92_O-0H.js";import{I as p}from"./input-Dja5Qioc.js";import{a as m,S as k}from"./suggestions-DuqzGDve.js";import"./common-OzsC_6kt.js";import{a as f,d as b,v as u}from"./component-8ALsFV4i.js";import"./props-from-config-Ci0dILpz.js";import{s as g}from"./smart-button-CS_ZriPt.js";import{s as _}from"./suggestions-Dy1X-Pc3.js";import{s as y}from"./value-string-e9pwLcS-.js";import{c as v}from"./dev.utils-wYkYn08d.js";import{d as w,a as x,c as j}from"./element-interaction-sGYdEpmv.js";import"./component-BTMWoACz.js";import"./bem-registry-CWN7_O1L.js";import"./clsx-COFh-Vc8.js";import"./component-Bc1n82Y8.js";import"./block-bem-BpQSY04L.js";import"./component-CZZNha2e.js";import"./component-Cdnq5GYF.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./name-B2Yf3EpX.js";import"./aria-labelledby-CLehu03h.js";import"./events-BIT-JUP2.js";import"./behavior-B08CXmI4.js";import"./bootstrap-B9DtStuh.js";import"./component-names-CrfBV37S.js";import"./i18n-Dl6Jjofb.js";import"./behavior-CwUUkdaP.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./base-web-component-XgI4wUyN.js";import"./item-C4AmpdVD.js";import"./controller-C3O9ohSP.js";import"./resolve-props-BLZxWC3j.js";import"./item-D627ShRd.js";import"./component-CdKSiR5P.js";import"./i18n-DtLKn3Xt.js";import"./component-D0mBOGjS.js";import"./Heading-BVhjT9av.js";import"./element-focus-BIRmGg5W.js";const B={required:[...c.required],optional:[...c.optional,f,m,a,b,g,y,_,u]},C=class extends h{constructor(t){super(),o(this,t),this.id=v("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=j(),this.propsConfig=B,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=o=>{const t=o.target.value;this.setRenderProp("value",t),this.ctaRef.el&&(this.ctaRef.el.value=t),this.handleInput(o)},this.initFormAssociation("color",this._name)}watchAccessKey(o){f.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchAutoComplete(o){m.apply(o,(o=>this.setRenderProp("autoComplete",o)))}watchDisabled(o){this.applyDisabled(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHint(o){this.applyHint(o)}watchIcons(o){a.apply(o,(o=>this.setRenderProp("icons",o)))}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchShortKey(o){b.apply(o,(o=>this.setRenderProp("shortKey",o))),l(this._accessKey,o)}watchSmartButton(o){null==o?this.unsetRenderProp("smartButton"):g.apply(o,(o=>this.setRenderProp("smartButton",o)))}watchSuggestions(o){_.apply(o,(o=>this.setRenderProp("suggestions",o)))}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){y.apply(o,(o=>this.setRenderProp("value",o))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(o){u.apply(o,(o=>this.setRenderProp("variant",o)))}getValue(){var o;return Promise.resolve(null===(o=this.ctaRef.el)||void 0===o?void 0:o.value)}focus(o){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 o=this.id,e=this.getRenderProp("name"),i=this.getRenderProp("accessKey"),n=this.getRenderProp("shortKey"),l=this.getRenderProp("suggestions"),{ariaDescribedBy:a,hasError:r}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:o,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:l.length>0?t(k,{id:o,suggestions:l}):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:a,"aria-invalid":r?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=r({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"16fa6ab52f85e2392c40842e28abf75bdba0583c"},t(d,Object.assign({key:"a69d19116ee2ff2f52d6080383f366d3e23b5e14"},this.getFormFieldProps({class:"kol-input-color",accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),t(s,{key:"40c7a7894437b971791a44bffa449ba33d67160e",disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},t(p,Object.assign({key:"b4ff6dc0850c96ca06c92f8c177e7766d93c38df"},this.getInputProps())))))}get host(){return i(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}]}}};n([w("ctaRef")],C.prototype,"focus",null),n([x("ctaRef")],C.prototype,"click",null),C.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-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; } }'};export{C as kol_input_color}
4
+ import{r as o,h as t,H as e,g as i}from"./index-D1fZ9xFt.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{h as a,g as l,I as r}from"./input-container-DC3x4oGg.js";import{f as s,B as c,F as h}from"./api-Ba9FNPRn.js";import{I as d}from"./input-DwlolkOG.js";import{a as m,S as p}from"./suggestions-qW9OdwO3.js";import{a as k,d as b,v as f}from"./component-0npqUhj2.js";import"./props-from-config-DqFgiUwD.js";import{s as u}from"./smart-button-BYEk3DzS.js";import{s as g}from"./suggestions-CotfxJG1.js";import{s as _}from"./value-string-DwEIOG1f.js";import{b as y}from"./bem-registry-CrZZQahR.js";import{v}from"./access-and-short-key-BTEwnScd.js";import{c as w}from"./dev.utils-BgFDROtc.js";import{d as x,a as j,c as B}from"./element-interaction-B3GEli6r.js";import"./component-DP_p5few.js";import"./component-CjdTbGlP.js";import"./component-BZjDp_Lf.js";import"./disabled-BZIZZ6wy.js";import"./id-CkUYl2hO.js";import"./label-with-expert-slot-C1i0atAL.js";import"./validators-yh10eyXe.js";import"./label-hints-DiRb_zIZ.js";import"./aria-labelledby-C4wUnR-v.js";import"./events-DdfMb1U7.js";import"./base-web-component-B3wi5eWH.js";import"./item-cArH2C6l.js";import"./controller-DYkXzFqc.js";import"./component-names-DzmdvSkQ.js";import"./behavior-DDo87iUM.js";import"./tooltip-open-tracking-CxHWKk8f.js";import"./shared-state-Dn94ivRg.js";import"./label-lang-segment-BSVexfSR.js";import"./resolve-props-Dpl38Wpe.js";import"./behavior-D9BHiFnH.js";import"./bootstrap-Cz7Iq2I2.js";import"./theme-store-DroJsU6S.js";import"./i18n-TlIXBsgS.js";import"./item-uC3h4pj3.js";import"./component-DFhRTaqb.js";import"./i18n-Uze_l4Ts.js";import"./component-Cvd5HXbX.js";import"./Heading-foerLIu9.js";import"./element-focus-C0L8NWU8.js";const z={required:[...s.required],optional:[...s.optional,k,m,a,b,u,_,g,f]},C=y.forBlock("kol-input-color"),D=class extends c{constructor(t){super(),new.target===D&&o(this,t),this.id=w("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=B(),this.propsConfig=z,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideLabel=!1,this._hideMsg=!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=o=>{const t=o.target.value;this.setRenderProp("value",t),this.ctaRef.el&&(this.ctaRef.el.value=t),this.handleInput(o)},this.initFormAssociation("color",this._name)}watchAccessKey(o){k.apply(o,(o=>this.setRenderProp("accessKey",o))),v(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchAutoComplete(o){m.apply(o,(o=>this.setRenderProp("autoComplete",o)))}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHint(o){this.applyHint(o)}watchIcons(o){a.apply(o,(o=>this.setRenderProp("icons",o)))}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchShortKey(o){b.apply(o,(o=>this.setRenderProp("shortKey",o))),v(this._accessKey,o)}watchSmartButton(o){null==o?this.unsetRenderProp("smartButton"):u.apply(o,(o=>this.setRenderProp("smartButton",o)))}watchSuggestions(o){g.apply(o,(o=>this.setRenderProp("suggestions",o)))}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){_.apply(o,(o=>this.setRenderProp("value",o))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(o){f.apply(o,(o=>this.setRenderProp("variant",o)))}getValue(){var o;return Promise.resolve(null===(o=this.ctaRef.el)||void 0===o?void 0:o.value)}focus(o){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSuggestions(this._suggestions),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getInputProps(){const o=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:o,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?t(p,{id:o,suggestions:a}):void 0,class:C("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 o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=l({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"04920b466cc10297c55854f104440493c99d6a36"},t(h,Object.assign({key:"23464fa6e7acba8dc9974f77fdba90ecd5928fd1"},this.getFormFieldProps({class:C(),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),t(r,{key:"ee2e327dc94db1e0e27b2512f7f060b653d2e7ef",disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},t(d,Object.assign({key:"380c06473b51d27fcd88f40acec7a59c94c399a1"},this.getInputProps())))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg: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")],D.prototype,"focus",null),n([j("ctaRef")],D.prototype,"click",null),D.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#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; } }'};export{D as kol_input_color}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,f as o,h as e,H as i,g as n}from"./index-BKEJuyFi.js";import{_ as a}from"./tslib.es6-QNbPBOk5.js";import{c as l}from"./common-OzsC_6kt.js";import{v as r}from"./access-and-short-key-ijzCZfHm.js";import{h as s,g as c,I as h}from"./input-container-C2Am7LEP.js";import{f as d,B as m,F as p}from"./api-D92_O-0H.js";import{I as u}from"./input-Dja5Qioc.js";import{a as k,S as f}from"./suggestions-DuqzGDve.js";import{a as b,d as g,v as y}from"./component-8ALsFV4i.js";import{f as _,c as v,b as w,i as x}from"./props-from-config-Ci0dILpz.js";import{r as j}from"./read-only-Bby9r6ZX.js";import{r as B}from"./required-hoaT7UmZ.js";import{s as C}from"./smart-button-CS_ZriPt.js";import{s as S}from"./step-Bdj89bGO.js";import{s as D}from"./suggestions-Dy1X-Pc3.js";import{c as z}from"./clsx-COFh-Vc8.js";import{c as T}from"./dev.utils-wYkYn08d.js";import{d as O,a as I,c as K}from"./element-interaction-sGYdEpmv.js";import{s as A}from"./controller-C3O9ohSP.js";import"./component-BTMWoACz.js";import"./bem-registry-CWN7_O1L.js";import"./component-Bc1n82Y8.js";import"./block-bem-BpQSY04L.js";import"./component-CZZNha2e.js";import"./component-Cdnq5GYF.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./name-B2Yf3EpX.js";import"./aria-labelledby-CLehu03h.js";import"./events-BIT-JUP2.js";import"./behavior-B08CXmI4.js";import"./bootstrap-B9DtStuh.js";import"./component-names-CrfBV37S.js";import"./i18n-Dl6Jjofb.js";import"./behavior-CwUUkdaP.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./base-web-component-XgI4wUyN.js";import"./item-C4AmpdVD.js";import"./resolve-props-BLZxWC3j.js";import"./item-D627ShRd.js";import"./component-CdKSiR5P.js";import"./i18n-DtLKn3Xt.js";import"./component-D0mBOGjS.js";import"./Heading-BVhjT9av.js";import"./element-focus-BIRmGg5W.js";const P=["date","datetime-local","month","time","week"],V=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,L=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,q=/^\d{4}-([0]\d|1[0-2])/,G=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,M=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function R(t,{type:o,step:e}){return function(t,o,e){if("string"==typeof t||null===t)return t;if(t instanceof Date){const i=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),l=String(t.getHours()).padStart(2,"0"),r=String(t.getMinutes()).padStart(2,"0"),s=String(t.getSeconds()).padStart(2,"0"),c=[i,n,a].join("-"),h=[l,r,s].join(":");switch(o){case"date":return c;case"datetime-local":return`${c}T${h}`;case"month":return`${i}-${n}`;case"time":return void 0===e||"60"===String(e)?`${l}:${r}`:h;case"week":return`${i}-W${function(t){const o=new Date(t),e=(o.getDay()+6)%7;o.setDate(o.getDate()-e+3);const i=o.valueOf();return o.setMonth(0,1),4!==o.getDay()&&o.setMonth(0,1+(4-o.getDay()+7)%7),(1+Math.ceil((i-o.valueOf())/6048e5)).toString().padStart(2,"0")}(t)}`}}}(t,o,e)}function H(t,{type:o}){return null==t||""===t||function(t,o){switch(o){case"date":return V.test(t);case"datetime-local":return L.test(t);case"month":return q.test(t);case"time":return G.test(t);case"week":return M.test(t);default:return!1}}(t,o)}const $=_("max",void 0,R,H),N=_("min",void 0,R,H),F=v("type","date",(function(t){const o=w(t);if(x(o,P))return o;throw new Error(`Invalid input date type: ${o}`)})),U=_("value",void 0,R,H);function W(t){return t instanceof Date?"Date":"string"==typeof t?"String":null}function Y(t,o){return""===t?null:"Date"!==o?t:function(t){const o=E.exec(t);return o?new Date(Number(o[1]),Number(o[2])-1,Number(o[3])):new Date(t)}(t)}const E=/^(\d{4})-(\d{2})-(\d{2})$/,Z={required:[...d.required],optional:[...d.optional,b,k,s,$,N,F,U,j,B,g,C,S,D,y]},X=class extends m{constructor(o){super(),t(this,o),this.id=T("input-date"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=K(),this.valueType=null,this.hasValue=!1,this.propsConfig=Z,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._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._step=void 0,this._tooltipAlign="top",this._touched=!1,this._type="date",this._value=void 0,this._variant=void 0,this.handleDateInput=t=>{const o=this.readValue(t);this._value=o,this.handleInput(t,o)},this.handleDateChange=t=>{const o=this.readValue(t);this.handleChange(t,o),this.hasValue=Boolean(o)},this.handleDateBlur=t=>{this.handleBlur(t);const o=t.target.value;Boolean(o)!==Boolean(this._value)&&(this._value=o)},this.handleDateKeyDown=t=>{this.handleKeyDown(t),A(t,{form:this.host,ref:this.ctaRef.el}),this.getRenderProp("readOnly")&&"Space"===t.code&&t.preventDefault()},this.initFormAssociation("date",this._name)}watchAccessKey(t){b.apply(t,(t=>this.setRenderProp("accessKey",t))),r(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){k.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){s.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMax(t){$.apply(t,(t=>this.setRenderProp("max",t)),this.dateDeps)}watchMin(t){N.apply(t,(t=>this.setRenderProp("min",t)),this.dateDeps)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchReadOnly(t){j.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){B.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){g.apply(t,(t=>this.setRenderProp("shortKey",t))),r(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):C.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){D.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchStep(t){S.apply(t,(t=>this.setRenderProp("step",t)))}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchType(t){F.apply(t,(t=>this.setRenderProp("type",t)))}watchValue(t){var o;t instanceof Date&&l("Date type will be removed in v3. Use `Iso8601` instead."),U.apply(t,(t=>this.setRenderProp("value",t)),this.dateDeps),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=W(t))}watchVariant(t){y.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.ctaRef.el&&Y(this.ctaRef.el.value,this.valueType))}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.setRenderProp("value",void 0),this.hasValue=!1,o(this),this.formAssociation.setFormAssociatedValue(""),this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),void 0!==this._value&&(this.valueType=W(this._value)),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.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchType(this._type),this.watchValue(this._value),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}get dateDeps(){return{type:this._type,step:this._step}}readValue(t){return Y(t.target.value,this.valueType)}getInputProps(){var t,o,i,n;const a=this.id,l=this.getRenderProp("accessKey"),r=this.getRenderProp("shortKey"),s=this.getRenderProp("suggestions"),{ariaDescribedBy:c,hasError:h}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:a,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},l?{accessKey:l}:{}),{type:this.getRenderProp("type"),value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null===this._value?null:void 0,required:this.getRenderProp("required"),autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(o=this.getRenderProp("min"))&&void 0!==o?o:null===this._min?null:void 0,max:null!==(i=this.getRenderProp("max"))&&void 0!==i?i:null===this._max?null:void 0,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),r?{"aria-keyshortcuts":r}:{}),s.length>0?{suggestions:e(f,{id:a,suggestions:s})}:{}),{ref:this.ctaRef,onBlur:this.handleDateBlur,onChange:this.handleDateChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleDateInput,onKeyDown:this.handleDateKeyDown,ariaDescribedBy:c,"aria-invalid":h?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:o,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return e(i,{key:"d93f04d5c275b0ee3bd62e8e29ceae3c1a10ec3d"},e(p,Object.assign({key:"9cd2b2fb4fdbc22e644a8be7c0f94a928f0d6852"},this.getFormFieldProps({class:z("kol-input-date",this.getRenderProp("type"),{"has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required"),readOnly:this.getRenderProp("readOnly")})),e(h,{key:"ec098b2fce3052e7c6dfbe2962e4d36284766453",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:o,endAdornment:n},e(u,Object.assign({key:"a0793a0f1bc8ecf86f7a997396657f13c4af04e3"},this.getInputProps())))))}get host(){return n(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}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_step:[{watchStep:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};a([O("ctaRef")],X.prototype,"focus",null),a([I("ctaRef")],X.prototype,"click",null),X.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-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: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }'};export{X as kol_input_date}
4
+ import{r as t,l as e,h as o,H as i,g as n}from"./index-D1fZ9xFt.js";import{_ as a}from"./tslib.es6-QNbPBOk5.js";import{h as r,g as l,I as s}from"./input-container-DC3x4oGg.js";import{f as c,B as h,F as d}from"./api-Ba9FNPRn.js";import{I as m}from"./input-DwlolkOG.js";import{a as p,S as u}from"./suggestions-qW9OdwO3.js";import{a as k,d as f,v as b}from"./component-0npqUhj2.js";import{h as g,c as y,b as _,i as v,e as w}from"./props-from-config-DqFgiUwD.js";import{r as x}from"./read-only-DRmmHb2G.js";import{r as j}from"./required-D4CdAA4s.js";import{s as D}from"./smart-button-BYEk3DzS.js";import{s as B}from"./step-C7WPZrUp.js";import{s as z}from"./suggestions-CotfxJG1.js";import{b as C}from"./bem-registry-CrZZQahR.js";import{v as S}from"./access-and-short-key-BTEwnScd.js";import{c as T}from"./dev.utils-BgFDROtc.js";import{d as O,a as q,c as I}from"./element-interaction-B3GEli6r.js";import{s as A}from"./controller-DYkXzFqc.js";import"./component-DP_p5few.js";import"./component-CjdTbGlP.js";import"./component-BZjDp_Lf.js";import"./disabled-BZIZZ6wy.js";import"./id-CkUYl2hO.js";import"./label-with-expert-slot-C1i0atAL.js";import"./validators-yh10eyXe.js";import"./label-hints-DiRb_zIZ.js";import"./aria-labelledby-C4wUnR-v.js";import"./events-DdfMb1U7.js";import"./base-web-component-B3wi5eWH.js";import"./item-cArH2C6l.js";import"./behavior-DDo87iUM.js";import"./tooltip-open-tracking-CxHWKk8f.js";import"./shared-state-Dn94ivRg.js";import"./label-lang-segment-BSVexfSR.js";import"./resolve-props-Dpl38Wpe.js";import"./behavior-D9BHiFnH.js";import"./bootstrap-Cz7Iq2I2.js";import"./theme-store-DroJsU6S.js";import"./i18n-TlIXBsgS.js";import"./component-names-DzmdvSkQ.js";import"./item-uC3h4pj3.js";import"./component-DFhRTaqb.js";import"./i18n-Uze_l4Ts.js";import"./component-Cvd5HXbX.js";import"./Heading-foerLIu9.js";import"./element-focus-C0L8NWU8.js";const K=["date","datetime-local","month","time","week"],H=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,R=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,P=/^\d{4}-([0]\d|1[0-2])/,G=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,L=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function M(t,{type:e,step:o}){return function(t,e,o){if("string"==typeof t||null===t)return t;if(t instanceof Date){const i=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),r=String(t.getHours()).padStart(2,"0"),l=String(t.getMinutes()).padStart(2,"0"),s=String(t.getSeconds()).padStart(2,"0"),c=[i,n,a].join("-"),h=[r,l,s].join(":");switch(e){case"date":return c;case"datetime-local":return`${c}T${h}`;case"month":return`${i}-${n}`;case"time":return void 0===o||"60"===String(o)?`${r}:${l}`:h;case"week":return`${i}-W${function(t){const e=new Date(t),o=(e.getDay()+6)%7;e.setDate(e.getDate()-o+3);const i=e.valueOf();return e.setMonth(0,1),4!==e.getDay()&&e.setMonth(0,1+(4-e.getDay()+7)%7),(1+Math.ceil((i-e.valueOf())/6048e5)).toString().padStart(2,"0")}(t)}`}}}(t,e,o)}function U(t,{type:e}){return null==t||""===t||function(t,e){switch(e){case"date":return H.test(t);case"datetime-local":return R.test(t);case"month":return P.test(t);case"time":return G.test(t);case"week":return L.test(t);default:return!1}}(t,e)}const F=g("max",void 0,M,U),V=g("min",void 0,M,U),$=y("type","date",(function(t){const e=_(t);if(v(e,K))return e;throw new Error(`Invalid input date type: ${e}`)})),W=g("value",void 0,M,U);function Z(t){return t instanceof Date?"Date":"string"==typeof t?"String":null}function N(t,e){return""===t?null:"Date"!==e?t:function(t){const e=E.exec(t);return e?new Date(Number(e[1]),Number(e[2])-1,Number(e[3])):new Date(t)}(t)}const E=/^(\d{4})-(\d{2})-(\d{2})$/,X={required:[...c.required],optional:[...c.optional,k,p,r,F,V,$,W,x,j,f,D,B,z,b]},Q=C.forBlock("kol-input-date"),Y=class extends h{constructor(e){super(),new.target===Y&&t(this,e),this.id=T("input-date"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.hasValue=!1,this.ctaRef=I(),this.valueType=null,this.propsConfig=X,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._step=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._type="date",this._value=void 0,this._variant=void 0,this.handleDateInput=t=>{const e=this.readValue(t);this._value=e,this.handleInput(t,e)},this.handleDateChange=t=>{const e=this.readValue(t);this.handleChange(t,e),this.hasValue=Boolean(e)},this.handleDateBlur=t=>{this.handleBlur(t);const e=t.target.value;Boolean(e)!==Boolean(this._value)&&(this._value=e)},this.handleDateKeyDown=t=>{this.handleKeyDown(t),A(t,{form:this.host,ref:this.ctaRef.el}),this.getRenderProp("readOnly")&&"Space"===t.code&&t.preventDefault()},this.initFormAssociation("date",this._name)}watchAccessKey(t){k.apply(t,(t=>this.setRenderProp("accessKey",t))),S(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){p.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHideMsg(t){this.applyHideMsg(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)}watchMax(t){F.apply(t,(t=>this.setRenderProp("max",t)),this.dateDeps)}watchMin(t){V.apply(t,(t=>this.setRenderProp("min",t)),this.dateDeps)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchReadOnly(t){x.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){j.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){f.apply(t,(t=>this.setRenderProp("shortKey",t))),S(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):D.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchStep(t){B.apply(t,(t=>this.setRenderProp("step",t)))}watchSuggestions(t){z.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchType(t){$.apply(t,(t=>this.setRenderProp("type",t)))}watchValue(t){var o;t instanceof Date&&e("Date type will be removed in v3. Use `Iso8601` instead."),W.apply(t,(t=>this.setRenderProp("value",t)),this.dateDeps),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=Z(t))}watchVariant(t){b.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.ctaRef.el&&N(this.ctaRef.el.value,this.valueType))}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.setRenderProp("value",void 0),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(""),this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),void 0!==this._value&&(this.valueType=Z(this._value)),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMax(this._max),this.watchMin(this._min),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchStep(this._step),this.watchSuggestions(this._suggestions),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}get dateDeps(){return{type:this._type,step:this._step}}readValue(t){return N(t.target.value,this.valueType)}getInputProps(){var t,e,i,n;const a=this.id,r=this.getRenderProp("accessKey"),l=this.getRenderProp("shortKey"),s=this.getRenderProp("suggestions"),{ariaDescribedBy:c,hasError:h}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:a,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},r?{accessKey:r}:{}),{type:this.getRenderProp("type"),value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null===this._value?null:void 0,required:this.getRenderProp("required"),autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(e=this.getRenderProp("min"))&&void 0!==e?e:null===this._min?null:void 0,max:null!==(i=this.getRenderProp("max"))&&void 0!==i?i:null===this._max?null:void 0,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),s.length>0?{suggestions:o(u,{id:a,suggestions:s})}:{}),{ref:this.ctaRef,onBlur:this.handleDateBlur,onChange:this.handleDateChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleDateInput,onKeyDown:this.handleDateKeyDown,ariaDescribedBy:c,"aria-invalid":h?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:e,endAdornment:n}=l({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return o(i,{key:"ff7d319481531121e96ba4fad9af851648347f51"},o(d,Object.assign({key:"44304501aeff4d5fe8dc31620598a8383e65a781"},this.getFormFieldProps({class:w(Q(),this.getRenderProp("type"),{"has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required"),readOnly:this.getRenderProp("readOnly")})),o(s,{key:"ec553365d2ecbc08a7c42891478fa6d6e5e4574e",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:e,endAdornment:n},o(m,Object.assign({key:"692e58b240995845d3255c1891e95ad382319842"},this.getInputProps())))))}get host(){return n(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};a([O("ctaRef")],Y.prototype,"focus",null),a([q("ctaRef")],Y.prototype,"click",null),Y.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#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: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }'};export{Y as kol_input_date}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as o,H as e,g as i}from"./index-BKEJuyFi.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{F as a}from"./api-D92_O-0H.js";import{I as l}from"./input-Dja5Qioc.js";import{I as r}from"./input-container-C2Am7LEP.js";import"./common-OzsC_6kt.js";import"./props-from-config-Ci0dILpz.js";import{m as s}from"./multiple-DqrZxybx.js";import{s as c}from"./suggestions-Dy1X-Pc3.js";import{t as h,B as d}from"./base-web-component-CaAexWy_.js";import{c as m}from"./dev.utils-wYkYn08d.js";import{d as p,a as k}from"./element-interaction-sGYdEpmv.js";import"./component-CZZNha2e.js";import"./bem-registry-CWN7_O1L.js";import"./clsx-COFh-Vc8.js";import"./component-Cdnq5GYF.js";import"./aria-labelledby-CLehu03h.js";import"./events-BIT-JUP2.js";import"./behavior-B08CXmI4.js";import"./bootstrap-B9DtStuh.js";import"./component-names-CrfBV37S.js";import"./i18n-Dl6Jjofb.js";import"./name-B2Yf3EpX.js";import"./behavior-CwUUkdaP.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./component-8ALsFV4i.js";import"./validators-BVM40IEr.js";import"./id-CIYvVaNr.js";import"./label-lang-segment-2_GnxjFp.js";import"./label-hints-Jn18RUT-.js";import"./disabled-Cqhc40CU.js";import"./label-with-expert-slot-CicRes-W.js";import"./base-web-component-XgI4wUyN.js";import"./item-C4AmpdVD.js";import"./controller-C3O9ohSP.js";import"./resolve-props-BLZxWC3j.js";import"./component-BTMWoACz.js";import"./component-Bc1n82Y8.js";import"./block-bem-BpQSY04L.js";import"./item-D627ShRd.js";import"./component-CdKSiR5P.js";import"./i18n-DtLKn3Xt.js";import"./component-D0mBOGjS.js";import"./Heading-BVhjT9av.js";import"./suggestions-DuqzGDve.js";import"./placeholder-BeLIzdJv.js";import"./read-only-Bby9r6ZX.js";import"./required-hoaT7UmZ.js";import"./smart-button-CS_ZriPt.js";import"./value-string-e9pwLcS-.js";import"./access-and-short-key-ijzCZfHm.js";import"./behavior-DW7_5Wxp.js";import"./element-focus-BIRmGg5W.js";const f={required:[...h.required],optional:[...h.optional,s,c]},b=class extends d{constructor(o){super(),t(this,o),this.id=m("input-email"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=f,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._hasCounter=!1,this._maxLengthBehavior="hard",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,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.initFormAssociation("email",this._name)}watchAccessKey(t){this.applyAccessKey(t)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){this.applyAutoComplete(t)}watchHasCounter(t){this.applyHasCounter(t)}watchMaxLengthBehavior(t){this.applyMaxLengthBehavior(t)}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){this.applyIcons(t)}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMaxLength(t){this.applyMaxLength(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){s.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPattern(t){this.applyPattern(t)}watchPlaceholder(t){this.applyPlaceholder(t)}watchReadOnly(t){this.applyReadOnly(t)}watchRequired(t){this.applyRequired(t)}watchShortKey(t){this.applyShortKey(t)}watchSmartButton(t){this.applySmartButton(t)}watchSuggestions(t){c.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){this.applyValue(t)}watchVariant(t){this.applyVariant(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.watchHasCounter(this._hasCounter),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSuggestions(this._suggestions),this.watchMultiple(this._multiple),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyTextInput()}render(){const{startAdornment:t,endAdornment:i}=this.getTextInputAdornments();return o(e,{key:"795196d75871ca9d3131b2c56538dabbf4d952ca"},o(a,Object.assign({key:"9be9477c72ffd224e81d79842d62ddeb02f94928"},this.getTextFormFieldProps("kol-input-email email")),o(r,{key:"4c25d9ac124b96f6f47511d3e93d656a2d9a3717",disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:t,endAdornment:i},o(l,Object.assign({key:"ca42d2b5f36d18faae4ad1e6964da2b586d76f92"},this.getTextInputProps({multiple:this.getRenderProp("multiple"),suggestions:this.getRenderProp("suggestions")},{type:"email"}))))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired: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([p("ctaRef")],b.prototype,"focus",null),n([k("ctaRef")],b.prototype,"click",null),b.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-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); } }'};export{b as kol_input_email}
4
+ import{r as t,h as o,H as e,g as i}from"./index-D1fZ9xFt.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{F as l}from"./api-Ba9FNPRn.js";import{I as a}from"./input-DwlolkOG.js";import{I as r}from"./input-container-DC3x4oGg.js";import{e as s}from"./props-from-config-DqFgiUwD.js";import{m as c}from"./multiple-CuU2AuEM.js";import{s as h}from"./suggestions-CotfxJG1.js";import{t as d,B as m}from"./base-web-component-BpL_hXcg.js";import{b as p}from"./bem-registry-CrZZQahR.js";import{c as k}from"./dev.utils-BgFDROtc.js";import{d as b,a as f}from"./element-interaction-B3GEli6r.js";import"./aria-labelledby-C4wUnR-v.js";import"./component-CjdTbGlP.js";import"./component-BZjDp_Lf.js";import"./events-DdfMb1U7.js";import"./disabled-BZIZZ6wy.js";import"./component-0npqUhj2.js";import"./validators-yh10eyXe.js";import"./label-with-expert-slot-C1i0atAL.js";import"./label-hints-DiRb_zIZ.js";import"./component-DP_p5few.js";import"./id-CkUYl2hO.js";import"./base-web-component-B3wi5eWH.js";import"./item-cArH2C6l.js";import"./controller-DYkXzFqc.js";import"./component-names-DzmdvSkQ.js";import"./behavior-DDo87iUM.js";import"./tooltip-open-tracking-CxHWKk8f.js";import"./shared-state-Dn94ivRg.js";import"./label-lang-segment-BSVexfSR.js";import"./resolve-props-Dpl38Wpe.js";import"./behavior-D9BHiFnH.js";import"./bootstrap-Cz7Iq2I2.js";import"./theme-store-DroJsU6S.js";import"./i18n-TlIXBsgS.js";import"./item-uC3h4pj3.js";import"./component-DFhRTaqb.js";import"./i18n-Uze_l4Ts.js";import"./component-Cvd5HXbX.js";import"./Heading-foerLIu9.js";import"./suggestions-qW9OdwO3.js";import"./placeholder-BTFnryTd.js";import"./read-only-DRmmHb2G.js";import"./required-D4CdAA4s.js";import"./smart-button-BYEk3DzS.js";import"./value-string-DwEIOG1f.js";import"./access-and-short-key-BTEwnScd.js";import"./behavior-XAV9GSxI.js";import"./element-focus-C0L8NWU8.js";const u={required:[...d.required],optional:[...d.optional,c,h]},g=p.forBlock("kol-input-email"),_=class extends m{constructor(o){super(),new.target===_&&t(this,o),this.id=k("input-email"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=u,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hasCounter=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._maxLengthBehavior="hard",this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,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.initFormAssociation("email",this._name)}watchAccessKey(t){this.applyAccessKey(t)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){this.applyAutoComplete(t)}watchDisabled(t){this.applyDisabled(t)}watchHasCounter(t){this.applyHasCounter(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHint(t){this.applyHint(t)}watchIcons(t){this.applyIcons(t)}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMaxLength(t){this.applyMaxLength(t)}watchMaxLengthBehavior(t){this.applyMaxLengthBehavior(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){c.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPattern(t){this.applyPattern(t)}watchPlaceholder(t){this.applyPlaceholder(t)}watchReadOnly(t){this.applyReadOnly(t)}watchRequired(t){this.applyRequired(t)}watchShortKey(t){this.applyShortKey(t)}watchSmartButton(t){this.applySmartButton(t)}watchSuggestions(t){h.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){this.applyValue(t)}watchVariant(t){this.applyVariant(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.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHasCounter(this._hasCounter),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.initMaxLength(this._maxLength),this.watchMultiple(this._multiple),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSuggestions(this._suggestions),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyTextInput()}render(){const{startAdornment:t,endAdornment:i}=this.getTextInputAdornments();return o(e,{key:"79195c324037b3906525e4b17a6111475adfe118"},o(l,Object.assign({key:"ab7e545596b87d49a491d8bb5fd3bf4d0a956bce"},this.getTextFormFieldProps(s(g(),"email"))),o(r,{key:"80bbb5759b59738bc5f37fcdf9c8b548d931e539",disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:t,endAdornment:i},o(a,Object.assign({key:"39a5c57751e1e0383ef92a0b311294d1cc174a88"},this.getTextInputProps({multiple:this.getRenderProp("multiple"),suggestions:this.getRenderProp("suggestions")},{type:"email"}))))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired: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")],_.prototype,"focus",null),n([f("ctaRef")],_.prototype,"click",null),_.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#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); } }'};export{_ as kol_input_email}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as t,r as o,H as e,g as i}from"./index-BKEJuyFi.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{t as a}from"./i18n-DtLKn3Xt.js";import{B as r}from"./component-BTMWoACz.js";import{c as s}from"./item-C4AmpdVD.js";import{h as c,g as h,I as d}from"./input-container-C2Am7LEP.js";import{f as p,B as m,F as k}from"./api-D92_O-0H.js";import{I as f}from"./input-Dja5Qioc.js";import{c as b,b as u}from"./props-from-config-Ci0dILpz.js";import{a as _,d as g,v as y}from"./component-8ALsFV4i.js";import"./common-OzsC_6kt.js";import{m as v}from"./multiple-DqrZxybx.js";import{r as w}from"./required-hoaT7UmZ.js";import{s as x}from"./smart-button-CS_ZriPt.js";import{b as j}from"./bem-registry-CWN7_O1L.js";import{c as B}from"./dev.utils-wYkYn08d.js";import{d as z,a as C,c as T}from"./element-interaction-sGYdEpmv.js";import"./i18n-Dl6Jjofb.js";import"./clsx-COFh-Vc8.js";import"./component-Bc1n82Y8.js";import"./block-bem-BpQSY04L.js";import"./component-CZZNha2e.js";import"./component-Cdnq5GYF.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./name-B2Yf3EpX.js";import"./controller-C3O9ohSP.js";import"./component-names-CrfBV37S.js";import"./events-BIT-JUP2.js";import"./base-web-component-XgI4wUyN.js";import"./behavior-CwUUkdaP.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./resolve-props-BLZxWC3j.js";import"./aria-labelledby-CLehu03h.js";import"./behavior-B08CXmI4.js";import"./bootstrap-B9DtStuh.js";import"./item-D627ShRd.js";import"./component-CdKSiR5P.js";import"./component-D0mBOGjS.js";import"./Heading-BVhjT9av.js";import"./element-focus-BIRmGg5W.js";const D=b("accept",void 0,u);function I(t){if(null==t?void 0:t.length)return Array.from(t).map((t=>t.name)).join(", ")}const K={required:[...p.required],optional:[...p.optional,D,_,c,v,w,g,x,y]},L=j.forBlock("kol-input-container"),S=L("button"),A=({filename:o,hasFile:e})=>t("span",{class:L("filename",{"has-file":e})},o),O=class extends m{constructor(t){super(),o(this,t),this.id=B("input-file"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=a("kol-filename-text"),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=T(),this.translateDataBrowseText=a("kol-data-browse-text"),this.browseButton=s((()=>this.host)),this.propsConfig=K,this._accept=void 0,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._variant=void 0,this.handleFileChange=t=>{var o;if(this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type){const e=this.ctaRef.el.files;this.hasFileSelected=!!(null==e?void 0:e.length),this.filename=null!==(o=I(e))&&void 0!==o?o:this.translateFilenameText,this.handleChange(t,e),this.formAssociation.setFormAssociatedValue(e)}},this.handleFileInput=t=>{this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type&&this.handleInput(t,this.ctaRef.el.files)},this.isDisabled=()=>!0===this._disabled,this.handleDragOver=t=>{this.isDisabled()||(t.preventDefault(),this.isDragover=!0)},this.handleDragLeave=()=>{this.isDragover=!1},this.handleDrop=t=>{var o,e;if(!this.isDisabled()&&(t.preventDefault(),this.ctaRef.el&&(this.isDragover=!1,null===(o=t.dataTransfer)||void 0===o?void 0:o.files.length))){const o=t.dataTransfer.files;this.ctaRef.el.files=o,this.filename=null!==(e=I(o))&&void 0!==e?e:this.translateFilenameText,this.formAssociation.setFormAssociatedValue(o),this.handleChange(t,o),this.handleInput(t,o)}},this.initFormAssociation("file",this._name)}watchAccept(t){D.apply(t,(t=>this.setRenderProp("accept",t)))}watchAccessKey(t){_.apply(t,(t=>this.setRenderProp("accessKey",t))),l(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){c.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){v.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRequired(t){w.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){g.apply(t,(t=>this.setRenderProp("shortKey",t))),l(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):x.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchVariant(t){y.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){var t;return Promise.resolve(null===(t=this.ctaRef.el)||void 0===t?void 0:t.files)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.formAssociation.setFormAssociatedValue(""),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.ctaRef.el&&(this.ctaRef.el.value=""),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.watchAccept(this._accept),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.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMultiple(this._multiple),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant)}componentDidRender(){this.browseButton.syncListeners(),this.syncFormField()}disconnectedCallback(){this.browseButton.destroy(),this.destroyFormField()}getInputProps(){const t=this.getRenderProp("accessKey"),o=this.getRenderProp("shortKey"),{ariaDescribedBy:e,hasError:i}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},t?{accessKey:t}:{}),{required:this.getRenderProp("required"),multiple:this.getRenderProp("multiple"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),o?{"aria-keyshortcuts":o}:{}),{ref:this.ctaRef,type:"file",accept:this.getRenderProp("accept"),onBlur:this.handleBlur,onChange:this.handleFileChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleFileInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":i?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=h({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"54be31014825f2d2d97f39d24127f886967fff40"},t(k,Object.assign({key:"e0f197e4780f25aeb15f2c0a18cd8892ca855846"},this.getFormFieldProps({class:"kol-input-file file",accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required")})),t(d,{key:"e6649ec54ab4978c11a5c453a5cf3768c2b92270",class:{"kol-input-container--is-dragover":this.isDragover},disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},t(A,{key:"c9ae7fe1625913423f8e8cf1bb811b9e212cd9c1",filename:this.filename,hasFile:this.hasFileSelected}),t(f,Object.assign({key:"677e3f8264929fe47efa1575a9354c52390b060c"},this.getInputProps())),t(r,Object.assign({key:"ae542e4cd2348b336f14f1780ed60159493d6007"},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:"primary",_disabled:o},{class:S}))))))}get host(){return i(this)}static get watchers(){return{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails: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}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}}};n([z("ctaRef")],O.prototype,"focus",null),n([C("ctaRef")],O.prototype,"click",null),O.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; } .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button { cursor: pointer; } .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button { cursor: not-allowed; pointer-events: none; } .kol-input-container__container { display: flex; overflow: hidden; align-items: center; } .kol-input-container__button { height: auto; } .kol-input-container__filename { overflow: hidden; flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; } .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) { grid-template-columns: auto 1fr; } }'};export{O as kol_input_file}
4
+ import{h as t,r as o,H as e,g as i}from"./index-D1fZ9xFt.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{t as l}from"./i18n-Uze_l4Ts.js";import{B as a}from"./component-DP_p5few.js";import{c as r}from"./item-cArH2C6l.js";import{h as s,g as c,I as h}from"./input-container-DC3x4oGg.js";import{f as d,B as p,F as k}from"./api-Ba9FNPRn.js";import{I as m}from"./input-DwlolkOG.js";import{c as b,b as f,e as u}from"./props-from-config-DqFgiUwD.js";import{a as _,d as g,v}from"./component-0npqUhj2.js";import{m as y}from"./multiple-CuU2AuEM.js";import{r as w}from"./required-D4CdAA4s.js";import{s as x}from"./smart-button-BYEk3DzS.js";import{b as j}from"./bem-registry-CrZZQahR.js";import{v as B}from"./access-and-short-key-BTEwnScd.js";import{c as D}from"./dev.utils-BgFDROtc.js";import{d as z,a as T,c as C}from"./element-interaction-B3GEli6r.js";import"./i18n-TlIXBsgS.js";import"./shared-state-Dn94ivRg.js";import"./component-CjdTbGlP.js";import"./component-BZjDp_Lf.js";import"./disabled-BZIZZ6wy.js";import"./id-CkUYl2hO.js";import"./label-with-expert-slot-C1i0atAL.js";import"./validators-yh10eyXe.js";import"./label-hints-DiRb_zIZ.js";import"./controller-DYkXzFqc.js";import"./component-names-DzmdvSkQ.js";import"./events-DdfMb1U7.js";import"./base-web-component-B3wi5eWH.js";import"./behavior-DDo87iUM.js";import"./tooltip-open-tracking-CxHWKk8f.js";import"./label-lang-segment-BSVexfSR.js";import"./resolve-props-Dpl38Wpe.js";import"./aria-labelledby-C4wUnR-v.js";import"./behavior-D9BHiFnH.js";import"./bootstrap-Cz7Iq2I2.js";import"./theme-store-DroJsU6S.js";import"./item-uC3h4pj3.js";import"./component-DFhRTaqb.js";import"./component-Cvd5HXbX.js";import"./Heading-foerLIu9.js";import"./element-focus-C0L8NWU8.js";const A=b("accept",void 0,f);function I(t){if(null==t?void 0:t.length)return Array.from(t).map((t=>t.name)).join(", ")}const S={required:[...d.required],optional:[...d.optional,A,_,s,y,w,g,x,v]},q=j.forBlock("kol-input-container"),H=q("button"),K=({filename:o,hasFile:e})=>t("span",{class:q("filename",{"has-file":e})},o),L=j.forBlock("kol-input-file"),O=class extends p{constructor(t){super(),new.target===O&&o(this,t),this.id=D("input-file"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=l("kol-filename-text"),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=C(),this.translateDataBrowseText=l("kol-data-browse-text"),this.browseButton=r((()=>this.host)),this.propsConfig=S,this._accept=void 0,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._variant=void 0,this.handleFileChange=t=>{var o;if(this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type){const e=this.ctaRef.el.files;this.hasFileSelected=!!(null==e?void 0:e.length),this.filename=null!==(o=I(e))&&void 0!==o?o:this.translateFilenameText,this.handleChange(t,e),this.formAssociation.setFormAssociatedValue(e)}},this.handleFileInput=t=>{this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type&&this.handleInput(t,this.ctaRef.el.files)},this.isDisabled=()=>!0===this._disabled,this.handleDragOver=t=>{this.isDisabled()||(t.preventDefault(),this.isDragover=!0)},this.handleDragLeave=()=>{this.isDragover=!1},this.handleDrop=t=>{var o,e;if(!this.isDisabled()&&(t.preventDefault(),this.ctaRef.el&&(this.isDragover=!1,null===(o=t.dataTransfer)||void 0===o?void 0:o.files.length))){const o=t.dataTransfer.files;this.ctaRef.el.files=o,this.filename=null!==(e=I(o))&&void 0!==e?e:this.translateFilenameText,this.formAssociation.setFormAssociatedValue(o),this.handleChange(t,o),this.handleInput(t,o)}},this.initFormAssociation("file",this._name)}watchAccept(t){A.apply(t,(t=>this.setRenderProp("accept",t)))}watchAccessKey(t){_.apply(t,(t=>this.setRenderProp("accessKey",t))),B(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchDisabled(t){this.applyDisabled(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHint(t){this.applyHint(t)}watchIcons(t){s.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){y.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRequired(t){w.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){g.apply(t,(t=>this.setRenderProp("shortKey",t))),B(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):x.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchVariant(t){v.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){var t;return Promise.resolve(null===(t=this.ctaRef.el)||void 0===t?void 0:t.files)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.formAssociation.setFormAssociatedValue(""),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAccept(this._accept),this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchMultiple(this._multiple),this.watchName(this._name),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant)}componentDidRender(){this.browseButton.syncListeners(),this.syncFormField()}disconnectedCallback(){this.browseButton.destroy(),this.destroyFormField()}getInputProps(){const t=this.getRenderProp("accessKey"),o=this.getRenderProp("shortKey"),{ariaDescribedBy:e,hasError:i}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},t?{accessKey:t}:{}),{required:this.getRenderProp("required"),multiple:this.getRenderProp("multiple"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),o?{"aria-keyshortcuts":o}:{}),{ref:this.ctaRef,type:"file",accept:this.getRenderProp("accept"),onBlur:this.handleBlur,onChange:this.handleFileChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleFileInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":i?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"17095471d38a2eb140dcaa15d14fd719b89f3bf8"},t(k,Object.assign({key:"807efdfba9b092638b49fd659be361d5c9213456"},this.getFormFieldProps({class:u(L(),"file"),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required")})),t(h,{key:"f38eb8f5ea542f9fda0aef345ba44489abf9e2af",class:{"kol-input-container--is-dragover":this.isDragover},disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},t(K,{key:"8aaf03b1b9bcc4b859278bb3b85ff5b0521adff2",filename:this.filename,hasFile:this.hasFileSelected}),t(m,Object.assign({key:"416abd1efeaa507058854e2b6b7b2a8c149af5b1"},this.getInputProps())),t(a,Object.assign({key:"d89bfb570ae4264cac0025dce4f4cdb8d659eea9"},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:"primary",_disabled:o,_tabIndex:-1},{class:H,"aria-hidden":"true"}))))))}get host(){return i(this)}static get watchers(){return{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}}};n([z("ctaRef")],O.prototype,"focus",null),n([T("ctaRef")],O.prototype,"click",null),O.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#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:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; } .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button { cursor: pointer; } .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button { cursor: not-allowed; pointer-events: none; } .kol-input-container__container { display: flex; overflow: hidden; align-items: center; } .kol-input-container__button { height: auto; } .kol-input-container__filename { overflow: hidden; flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; } .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) { grid-template-columns: auto 1fr; } }'};export{O as kol_input_file}