@public-ui/components 4.3.0 → 4.3.1-rc.0

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 (1450) 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 +88 -23
  7. package/dist/cjs/Alert-BU0P0GKW.js +93 -0
  8. package/dist/cjs/Alert-BU0P0GKW.js.map +1 -0
  9. package/dist/cjs/Collapsible-Bcu12I9L.js +27 -0
  10. package/dist/cjs/Collapsible-Bcu12I9L.js.map +1 -0
  11. package/dist/cjs/CustomSuggestionsOptionsGroup-BFbxSRHr.js +31 -0
  12. package/dist/cjs/CustomSuggestionsOptionsGroup-BFbxSRHr.js.map +1 -0
  13. package/dist/cjs/FieldControlStateWrapper-D8punG9v.js +123 -0
  14. package/dist/cjs/FieldControlStateWrapper-D8punG9v.js.map +1 -0
  15. package/dist/cjs/FormFieldStateWrapper-DfhtHQ0q.js +479 -0
  16. package/dist/cjs/FormFieldStateWrapper-DfhtHQ0q.js.map +1 -0
  17. package/dist/cjs/Heading-BsFESjhY.js +41 -0
  18. package/dist/cjs/Heading-BsFESjhY.js.map +1 -0
  19. package/dist/cjs/Input-2MK2d3Az.js +29 -0
  20. package/dist/cjs/Input-2MK2d3Az.js.map +1 -0
  21. package/dist/cjs/InputStateWrapper-DKbtjTSv.js +86 -0
  22. package/dist/cjs/InputStateWrapper-DKbtjTSv.js.map +1 -0
  23. package/dist/cjs/access-and-short-key-Dt0HA_8K.js +41 -0
  24. package/dist/cjs/access-and-short-key-Dt0HA_8K.js.map +1 -0
  25. package/dist/cjs/align-CDPlxAkP.js +26 -0
  26. package/dist/cjs/align-CDPlxAkP.js.map +1 -0
  27. package/dist/cjs/align-floating-elements-CuWWQBfd.js +1665 -0
  28. package/dist/cjs/align-floating-elements-CuWWQBfd.js.map +1 -0
  29. package/dist/cjs/app-globals-C_kul_k2.js +36 -0
  30. package/dist/cjs/app-globals-C_kul_k2.js.map +1 -0
  31. package/dist/cjs/aria-details-OqsA08Yk.js +26 -0
  32. package/dist/cjs/aria-details-OqsA08Yk.js.map +1 -0
  33. package/dist/cjs/aria-expanded-pgUPWGeZ.js +31 -0
  34. package/dist/cjs/aria-expanded-pgUPWGeZ.js.map +1 -0
  35. package/dist/cjs/aria-labelledby-VbHJ1uYQ.js +26 -0
  36. package/dist/cjs/aria-labelledby-VbHJ1uYQ.js.map +1 -0
  37. package/dist/cjs/associated.controller-D52OfJgm.js +196 -0
  38. package/dist/cjs/associated.controller-D52OfJgm.js.map +1 -0
  39. package/dist/cjs/auto-complete-CmFISX8f.js +18 -0
  40. package/dist/cjs/auto-complete-CmFISX8f.js.map +1 -0
  41. package/dist/cjs/bem-registry-Cot_3Qxx.js +166 -0
  42. package/dist/cjs/bem-registry-Cot_3Qxx.js.map +1 -0
  43. package/dist/cjs/bootstrap-CpjCLBT_.js +36 -0
  44. package/dist/cjs/bootstrap-CpjCLBT_.js.map +1 -0
  45. package/dist/cjs/color-Da4_idLW.js +101 -0
  46. package/dist/cjs/color-Da4_idLW.js.map +1 -0
  47. package/dist/cjs/common-CN1iwxfv.js +1811 -0
  48. package/dist/cjs/common-CN1iwxfv.js.map +1 -0
  49. package/dist/cjs/component-BXKykziH.js +9161 -0
  50. package/dist/cjs/component-BXKykziH.js.map +1 -0
  51. package/dist/cjs/component-BhAZscag.js +16 -0
  52. package/dist/cjs/component-BhAZscag.js.map +1 -0
  53. package/dist/cjs/component-DGm2b9Ht.js +17 -0
  54. package/dist/cjs/component-DGm2b9Ht.js.map +1 -0
  55. package/dist/cjs/component-KFQ_xHWg.js +23 -0
  56. package/dist/cjs/component-KFQ_xHWg.js.map +1 -0
  57. package/dist/cjs/contrast-CfX7iwSK.js +100 -0
  58. package/dist/cjs/contrast-CfX7iwSK.js.map +1 -0
  59. package/dist/cjs/controller-BOjCK7wj.js +55 -0
  60. package/dist/cjs/controller-BOjCK7wj.js.map +1 -0
  61. package/dist/cjs/controller-CVFDQJur.js +126 -0
  62. package/dist/cjs/controller-CVFDQJur.js.map +1 -0
  63. package/dist/cjs/controller-Cg_8Yz25.js +81 -0
  64. package/dist/cjs/controller-Cg_8Yz25.js.map +1 -0
  65. package/dist/cjs/controller-DZvJMbU9.js +99 -0
  66. package/dist/cjs/controller-DZvJMbU9.js.map +1 -0
  67. package/dist/cjs/controller-Fmy7IuDz.js +249 -0
  68. package/dist/cjs/controller-Fmy7IuDz.js.map +1 -0
  69. package/dist/cjs/controller-icon-ZXTVIfES.js +169 -0
  70. package/dist/cjs/controller-icon-ZXTVIfES.js.map +1 -0
  71. package/dist/cjs/counter-dom-updater-CzXL2mxQ.js +119 -0
  72. package/dist/cjs/counter-dom-updater-CzXL2mxQ.js.map +1 -0
  73. package/dist/cjs/custom-class-D0g-YXgV.js +17 -0
  74. package/dist/cjs/custom-class-D0g-YXgV.js.map +1 -0
  75. package/dist/cjs/dev.utils-BbU8cv-y.js +86 -0
  76. package/dist/cjs/dev.utils-BbU8cv-y.js.map +1 -0
  77. package/dist/cjs/devtools-CUAtpK06.js +103 -0
  78. package/dist/cjs/devtools-CUAtpK06.js.map +1 -0
  79. package/dist/cjs/disabled-CBjF4rrw.js +23 -0
  80. package/dist/cjs/disabled-CBjF4rrw.js.map +1 -0
  81. package/dist/cjs/has-closer-DiSyW2l8.js +15 -0
  82. package/dist/cjs/has-closer-DiSyW2l8.js.map +1 -0
  83. package/dist/cjs/hide-label-D7h2efSv.js +15 -0
  84. package/dist/cjs/hide-label-D7h2efSv.js.map +1 -0
  85. package/dist/cjs/href-BTGYoiQD.js +15 -0
  86. package/dist/cjs/href-BTGYoiQD.js.map +1 -0
  87. package/dist/cjs/i18n-D834clm3.js +19 -0
  88. package/dist/cjs/i18n-D834clm3.js.map +1 -0
  89. package/dist/cjs/i18n-sODsvpBx.js +217 -0
  90. package/dist/cjs/i18n-sODsvpBx.js.map +1 -0
  91. package/dist/cjs/icons-CealKB6-.js +86 -0
  92. package/dist/cjs/icons-CealKB6-.js.map +1 -0
  93. package/dist/cjs/index-wWcNpiEl.js +2908 -0
  94. package/dist/cjs/index-wWcNpiEl.js.map +1 -0
  95. package/dist/cjs/index.cjs.js +4 -4
  96. package/dist/cjs/index.cjs.js.map +1 -1
  97. package/dist/cjs/inline-CMp3qiCy.js +15 -0
  98. package/dist/cjs/inline-CMp3qiCy.js.map +1 -0
  99. package/dist/cjs/kol-abbr.cjs.entry.js +3 -3
  100. package/dist/cjs/kol-accordion.cjs.entry.js +12 -12
  101. package/dist/cjs/kol-alert-wc.cjs.entry.js +13 -13
  102. package/dist/cjs/kol-alert.cjs.entry.js +3 -3
  103. package/dist/cjs/kol-avatar.cjs.entry.js +10 -10
  104. package/dist/cjs/kol-badge.cjs.entry.js +10 -10
  105. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  106. package/dist/cjs/kol-breadcrumb.cjs.entry.js +16 -10
  107. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  108. package/dist/cjs/kol-button-link.cjs.entry.js +3 -3
  109. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-button-wc.cjs.entry.js +27 -27
  111. package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
  112. package/dist/cjs/kol-button.cjs.entry.js +3 -3
  113. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  114. package/dist/cjs/kol-card-wc.cjs.entry.js +56 -19
  115. package/dist/cjs/kol-card-wc.entry.cjs.js.map +1 -1
  116. package/dist/cjs/kol-card.cjs.entry.js +17 -4
  117. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  118. package/dist/cjs/kol-click-button.cjs.entry.js +7 -7
  119. package/dist/cjs/kol-combobox.cjs.entry.js +39 -39
  120. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  121. package/dist/cjs/kol-details.cjs.entry.js +12 -12
  122. package/dist/cjs/kol-dialog-wc.cjs.entry.js +7 -7
  123. package/dist/cjs/kol-dialog.cjs.entry.js +3 -3
  124. package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-drawer.cjs.entry.js +11 -11
  126. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-form.cjs.entry.js +9 -9
  128. package/dist/cjs/kol-heading.cjs.entry.js +5 -5
  129. package/dist/cjs/kol-icon.cjs.entry.js +8 -8
  130. package/dist/cjs/kol-image.cjs.entry.js +5 -5
  131. package/dist/cjs/kol-input-checkbox.cjs.entry.js +35 -35
  132. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-input-color.cjs.entry.js +34 -34
  134. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-input-date.cjs.entry.js +38 -38
  136. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  137. package/dist/cjs/kol-input-email.cjs.entry.js +44 -44
  138. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  139. package/dist/cjs/kol-input-file.cjs.entry.js +34 -34
  140. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  141. package/dist/cjs/kol-input-number.cjs.entry.js +39 -39
  142. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  143. package/dist/cjs/kol-input-password.cjs.entry.js +40 -40
  144. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  145. package/dist/cjs/kol-input-radio.cjs.entry.js +35 -35
  146. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  147. package/dist/cjs/kol-input-range.cjs.entry.js +36 -36
  148. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  149. package/dist/cjs/kol-input-text.cjs.entry.js +44 -43
  150. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  151. package/dist/cjs/kol-kolibri.cjs.entry.js +6 -6
  152. package/dist/cjs/kol-link-button.cjs.entry.js +3 -3
  153. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  154. package/dist/cjs/kol-link-wc.cjs.entry.js +27 -30
  155. package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
  156. package/dist/cjs/kol-link.cjs.entry.js +3 -3
  157. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  158. package/dist/cjs/kol-meter.cjs.entry.js +20 -9
  159. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
  160. package/dist/cjs/kol-modal.cjs.entry.js +3 -3
  161. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  162. package/dist/cjs/kol-nav.cjs.entry.js +11 -11
  163. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  164. package/dist/cjs/kol-pagination-wc.cjs.entry.js +10 -10
  165. package/dist/cjs/kol-pagination.cjs.entry.js +3 -3
  166. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  167. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +8 -8
  168. package/dist/cjs/kol-popover-button-wc.entry.cjs.js.map +1 -1
  169. package/dist/cjs/kol-popover-button.cjs.entry.js +3 -3
  170. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  171. package/dist/cjs/kol-progress.cjs.entry.js +8 -8
  172. package/dist/cjs/kol-quote.cjs.entry.js +6 -6
  173. package/dist/cjs/kol-select-wc.cjs.entry.js +37 -37
  174. package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
  175. package/dist/cjs/kol-select.cjs.entry.js +4 -4
  176. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  177. package/dist/cjs/kol-single-select.cjs.entry.js +41 -41
  178. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  179. package/dist/cjs/kol-skeleton.cjs.entry.js +6 -6
  180. package/dist/cjs/kol-skip-nav.cjs.entry.js +6 -6
  181. package/dist/cjs/kol-spin.cjs.entry.js +7 -7
  182. package/dist/cjs/kol-split-button.cjs.entry.js +7 -8
  183. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  184. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +6 -6
  185. package/dist/cjs/kol-table-stateful.cjs.entry.js +11 -10
  186. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  187. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +25 -23
  188. package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
  189. package/dist/cjs/kol-table-stateless.cjs.entry.js +5 -5
  190. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  191. package/dist/cjs/kol-tabs.cjs.entry.js +7 -7
  192. package/dist/cjs/kol-textarea.cjs.entry.js +36 -36
  193. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  194. package/dist/cjs/kol-toast-container.cjs.entry.js +13 -13
  195. package/dist/cjs/kol-toolbar.cjs.entry.js +5 -5
  196. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +12 -12
  197. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +8 -8
  198. package/dist/cjs/kol-tree-item.cjs.entry.js +4 -4
  199. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  200. package/dist/cjs/kol-tree-wc.cjs.entry.js +3 -3
  201. package/dist/cjs/kol-tree.cjs.entry.js +3 -3
  202. package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
  203. package/dist/cjs/kol-version.cjs.entry.js +5 -5
  204. package/dist/cjs/kolibri.cjs.js +4 -4
  205. package/dist/cjs/label-Fnlr9jIf.js +50 -0
  206. package/dist/cjs/label-Fnlr9jIf.js.map +1 -0
  207. package/dist/cjs/label-MUKCnQM2.js +13 -0
  208. package/dist/cjs/label-MUKCnQM2.js.map +1 -0
  209. package/dist/cjs/level-C6GQd274.js +15 -0
  210. package/dist/cjs/level-C6GQd274.js.map +1 -0
  211. package/dist/cjs/link-target-mlhDNgmQ.js +15 -0
  212. package/dist/cjs/link-target-mlhDNgmQ.js.map +1 -0
  213. package/dist/cjs/loader.cjs.js +4 -4
  214. package/dist/cjs/multiple-mR-M9wE8.js +15 -0
  215. package/dist/cjs/multiple-mR-M9wE8.js.map +1 -0
  216. package/dist/cjs/normalizers-Df0nLe7p.js +648 -0
  217. package/dist/cjs/normalizers-Df0nLe7p.js.map +1 -0
  218. package/dist/cjs/open-itgBvZHb.js +15 -0
  219. package/dist/cjs/open-itgBvZHb.js.map +1 -0
  220. package/dist/cjs/orientation-DKU_G_jI.js +18 -0
  221. package/dist/cjs/orientation-DKU_G_jI.js.map +1 -0
  222. package/dist/cjs/placeholder-Dl9Y0I1z.js +15 -0
  223. package/dist/cjs/placeholder-Dl9Y0I1z.js.map +1 -0
  224. package/dist/cjs/read-only-CSacbVIO.js +15 -0
  225. package/dist/cjs/read-only-CSacbVIO.js.map +1 -0
  226. package/dist/cjs/required-BOlRsohb.js +15 -0
  227. package/dist/cjs/required-BOlRsohb.js.map +1 -0
  228. package/dist/cjs/rows-CBrXrHZt.js +15 -0
  229. package/dist/cjs/rows-CBrXrHZt.js.map +1 -0
  230. package/dist/cjs/spell-check-C9CkqhaC.js +17 -0
  231. package/dist/cjs/spell-check-C9CkqhaC.js.map +1 -0
  232. package/dist/cjs/src-Cgc3QZ4D.js +13 -0
  233. package/dist/cjs/src-Cgc3QZ4D.js.map +1 -0
  234. package/dist/cjs/suggestions-DmRJU3ZQ.js +23 -0
  235. package/dist/cjs/suggestions-DmRJU3ZQ.js.map +1 -0
  236. package/dist/cjs/table-selection-BigFhrBs.js +93 -0
  237. package/dist/cjs/table-selection-BigFhrBs.js.map +1 -0
  238. package/dist/cjs/test-component.cjs.entry.js +2 -2
  239. package/dist/cjs/tooltip-align-Ce5KsXxa.js +16 -0
  240. package/dist/cjs/tooltip-align-Ce5KsXxa.js.map +1 -0
  241. package/dist/cjs/unique-nav-labels-Cqj7VZeL.js +25 -0
  242. package/dist/cjs/unique-nav-labels-Cqj7VZeL.js.map +1 -0
  243. package/dist/cjs/validation-DilM7uKY.js +16 -0
  244. package/dist/cjs/validation-DilM7uKY.js.map +1 -0
  245. package/dist/cjs/validation-DyJ8jNNt.js +19 -0
  246. package/dist/cjs/validation-DyJ8jNNt.js.map +1 -0
  247. package/dist/cjs/value-number-clamped-DyzEPdGf.js +28 -0
  248. package/dist/cjs/value-number-clamped-DyzEPdGf.js.map +1 -0
  249. package/dist/cjs/variant-class-name-Dgnr-3Zv.js +53 -0
  250. package/dist/cjs/variant-class-name-Dgnr-3Zv.js.map +1 -0
  251. package/dist/cjs/variant-quote-CMXOK4-t.js +20 -0
  252. package/dist/cjs/variant-quote-CMXOK4-t.js.map +1 -0
  253. package/dist/collection/components/abbr/style.css +2 -2
  254. package/dist/collection/components/accordion/style.css +2 -2
  255. package/dist/collection/components/alert/style.css +2 -2
  256. package/dist/collection/components/badge/shadow.js +1 -1
  257. package/dist/collection/components/badge/shadow.js.map +1 -1
  258. package/dist/collection/components/badge/style.css +2 -2
  259. package/dist/collection/components/breadcrumb/shadow.js +9 -2
  260. package/dist/collection/components/breadcrumb/shadow.js.map +1 -1
  261. package/dist/collection/components/breadcrumb/style.css +2 -2
  262. package/dist/collection/components/button/component.js +1 -1
  263. package/dist/collection/components/button/component.js.map +1 -1
  264. package/dist/collection/components/button/shadow.js +1 -1
  265. package/dist/collection/components/button/shadow.js.map +1 -1
  266. package/dist/collection/components/button/style.css +2 -2
  267. package/dist/collection/components/button-link/shadow.js +1 -1
  268. package/dist/collection/components/button-link/shadow.js.map +1 -1
  269. package/dist/collection/components/button-link/style.css +2 -2
  270. package/dist/collection/components/card/component.js +138 -3
  271. package/dist/collection/components/card/component.js.map +1 -1
  272. package/dist/collection/components/card/shadow.js +110 -2
  273. package/dist/collection/components/card/shadow.js.map +1 -1
  274. package/dist/collection/components/card/style.css +11 -2
  275. package/dist/collection/components/combobox/shadow.js +4 -4
  276. package/dist/collection/components/combobox/shadow.js.map +1 -1
  277. package/dist/collection/components/combobox/style.css +27 -5
  278. package/dist/collection/components/details/style.css +2 -2
  279. package/dist/collection/components/dialog/style.css +11 -2
  280. package/dist/collection/components/drawer/style.css +11 -2
  281. package/dist/collection/components/form/style.css +2 -2
  282. package/dist/collection/components/icon/style.css +2 -2
  283. package/dist/collection/components/input-checkbox/shadow.js +2 -2
  284. package/dist/collection/components/input-checkbox/shadow.js.map +1 -1
  285. package/dist/collection/components/input-checkbox/style.css +27 -2
  286. package/dist/collection/components/input-color/shadow.js +1 -1
  287. package/dist/collection/components/input-color/shadow.js.map +1 -1
  288. package/dist/collection/components/input-color/style.css +27 -5
  289. package/dist/collection/components/input-date/shadow.js +2 -2
  290. package/dist/collection/components/input-date/shadow.js.map +1 -1
  291. package/dist/collection/components/input-date/style.css +27 -5
  292. package/dist/collection/components/input-email/shadow.js +2 -2
  293. package/dist/collection/components/input-email/shadow.js.map +1 -1
  294. package/dist/collection/components/input-email/style.css +27 -5
  295. package/dist/collection/components/input-file/shadow.js +1 -1
  296. package/dist/collection/components/input-file/shadow.js.map +1 -1
  297. package/dist/collection/components/input-file/style.css +27 -5
  298. package/dist/collection/components/input-number/shadow.js +2 -2
  299. package/dist/collection/components/input-number/shadow.js.map +1 -1
  300. package/dist/collection/components/input-number/style.css +27 -5
  301. package/dist/collection/components/input-password/shadow.js +2 -2
  302. package/dist/collection/components/input-password/shadow.js.map +1 -1
  303. package/dist/collection/components/input-password/style.css +27 -5
  304. package/dist/collection/components/input-radio/shadow.js +1 -1
  305. package/dist/collection/components/input-radio/shadow.js.map +1 -1
  306. package/dist/collection/components/input-radio/style.css +27 -2
  307. package/dist/collection/components/input-range/shadow.js +2 -2
  308. package/dist/collection/components/input-range/shadow.js.map +1 -1
  309. package/dist/collection/components/input-range/style.css +27 -5
  310. package/dist/collection/components/input-text/shadow.js +26 -2
  311. package/dist/collection/components/input-text/shadow.js.map +1 -1
  312. package/dist/collection/components/input-text/style.css +27 -5
  313. package/dist/collection/components/link/component.js +1 -1
  314. package/dist/collection/components/link/component.js.map +1 -1
  315. package/dist/collection/components/link/shadow.js +1 -1
  316. package/dist/collection/components/link/shadow.js.map +1 -1
  317. package/dist/collection/components/link/style.css +2 -2
  318. package/dist/collection/components/link-button/shadow.js +1 -1
  319. package/dist/collection/components/link-button/shadow.js.map +1 -1
  320. package/dist/collection/components/link-button/style.css +2 -2
  321. package/dist/collection/components/modal/style.css +11 -2
  322. package/dist/collection/components/nav/shadow.js +1 -1
  323. package/dist/collection/components/nav/shadow.js.map +1 -1
  324. package/dist/collection/components/nav/style.css +2 -2
  325. package/dist/collection/components/pagination/style.css +27 -5
  326. package/dist/collection/components/popover-button/component.js +3 -3
  327. package/dist/collection/components/popover-button/component.js.map +1 -1
  328. package/dist/collection/components/popover-button/shadow.js +1 -1
  329. package/dist/collection/components/popover-button/shadow.js.map +1 -1
  330. package/dist/collection/components/popover-button/style.css +12 -12
  331. package/dist/collection/components/select/component.js +3 -3
  332. package/dist/collection/components/select/component.js.map +1 -1
  333. package/dist/collection/components/select/shadow.js +1 -1
  334. package/dist/collection/components/select/shadow.js.map +1 -1
  335. package/dist/collection/components/select/style.css +27 -5
  336. package/dist/collection/components/single-select/shadow.js +4 -4
  337. package/dist/collection/components/single-select/shadow.js.map +1 -1
  338. package/dist/collection/components/single-select/style.css +27 -5
  339. package/dist/collection/components/skip-nav/style.css +2 -2
  340. package/dist/collection/components/split-button/shadow.js +3 -4
  341. package/dist/collection/components/split-button/shadow.js.map +1 -1
  342. package/dist/collection/components/split-button/style.css +13 -3
  343. package/dist/collection/components/table-stateful/shadow.js +3 -2
  344. package/dist/collection/components/table-stateful/shadow.js.map +1 -1
  345. package/dist/collection/components/table-stateful/style.css +38 -6
  346. package/dist/collection/components/table-stateless/component.js +13 -11
  347. package/dist/collection/components/table-stateless/component.js.map +1 -1
  348. package/dist/collection/components/table-stateless/shadow.js +1 -1
  349. package/dist/collection/components/table-stateless/style.css +13 -3
  350. package/dist/collection/components/table-stateless/table-settings.js +2 -2
  351. package/dist/collection/components/tabs/style.css +2 -2
  352. package/dist/collection/components/textarea/shadow.js +1 -1
  353. package/dist/collection/components/textarea/shadow.js.map +1 -1
  354. package/dist/collection/components/textarea/style.css +27 -5
  355. package/dist/collection/components/toaster/style.css +2 -2
  356. package/dist/collection/components/toolbar/style.css +2 -2
  357. package/dist/collection/components/tree/shadow.js +1 -1
  358. package/dist/collection/components/tree/shadow.js.map +1 -1
  359. package/dist/collection/components/tree-item/shadow.js +1 -1
  360. package/dist/collection/components/tree-item/shadow.js.map +1 -1
  361. package/dist/collection/components/tree-item/style.css +2 -2
  362. package/dist/collection/functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper.js.map +1 -1
  363. package/dist/collection/functional-components/FormField/FormField.js +2 -2
  364. package/dist/collection/functional-components/FormField/FormField.js.map +1 -1
  365. package/dist/collection/functional-components/FormFieldLabel/FormFieldLabel.js +3 -2
  366. package/dist/collection/functional-components/FormFieldLabel/FormFieldLabel.js.map +1 -1
  367. package/dist/collection/internal/functional-components/meter/component.js +12 -1
  368. package/dist/collection/internal/functional-components/meter/component.js.map +1 -1
  369. package/dist/collection/internal/functional-components/tooltip/component.js +1 -1
  370. package/dist/collection/internal/functional-components/tooltip/component.js.map +1 -1
  371. package/dist/collection/locales/de.js +52 -62
  372. package/dist/collection/locales/de.js.map +1 -1
  373. package/dist/collection/locales/en.js +52 -62
  374. package/dist/collection/locales/en.js.map +1 -1
  375. package/dist/collection/schema/components/card.js.map +1 -1
  376. package/dist/collection/schema/i18n-keys.js +68 -27
  377. package/dist/collection/schema/i18n-keys.js.map +1 -1
  378. package/dist/collection/schema/index.js.map +1 -1
  379. package/dist/components/common.js +68 -27
  380. package/dist/components/common.js.map +1 -1
  381. package/dist/components/component-names.js +1 -1
  382. package/dist/components/component.js.map +1 -1
  383. package/dist/components/component3.js +1 -1
  384. package/dist/components/component3.js.map +1 -1
  385. package/dist/components/controller3.js +5 -4
  386. package/dist/components/controller3.js.map +1 -1
  387. package/dist/components/i18n2.js +104 -124
  388. package/dist/components/i18n2.js.map +1 -1
  389. package/dist/components/index.js.map +1 -1
  390. package/dist/components/kol-abbr.js +1 -1
  391. package/dist/components/kol-accordion.js +1 -1
  392. package/dist/components/kol-alert.js +1 -1
  393. package/dist/components/kol-badge.js +1 -1
  394. package/dist/components/kol-badge.js.map +1 -1
  395. package/dist/components/kol-breadcrumb.js +10 -3
  396. package/dist/components/kol-breadcrumb.js.map +1 -1
  397. package/dist/components/kol-button-link.js +1 -1
  398. package/dist/components/kol-button-link.js.map +1 -1
  399. package/dist/components/kol-button-wc.js.map +1 -1
  400. package/dist/components/kol-button.js +1 -1
  401. package/dist/components/kol-button.js.map +1 -1
  402. package/dist/components/kol-card-wc.js +47 -4
  403. package/dist/components/kol-card-wc.js.map +1 -1
  404. package/dist/components/kol-card.js +19 -3
  405. package/dist/components/kol-card.js.map +1 -1
  406. package/dist/components/kol-combobox.js +4 -4
  407. package/dist/components/kol-combobox.js.map +1 -1
  408. package/dist/components/kol-details.js +1 -1
  409. package/dist/components/kol-dialog.js +1 -1
  410. package/dist/components/kol-dialog.js.map +1 -1
  411. package/dist/components/kol-drawer.js +1 -1
  412. package/dist/components/kol-drawer.js.map +1 -1
  413. package/dist/components/kol-form.js +1 -1
  414. package/dist/components/kol-icon.js +1 -1
  415. package/dist/components/kol-input-checkbox.js +2 -2
  416. package/dist/components/kol-input-checkbox.js.map +1 -1
  417. package/dist/components/kol-input-color.js +1 -1
  418. package/dist/components/kol-input-color.js.map +1 -1
  419. package/dist/components/kol-input-date.js +2 -2
  420. package/dist/components/kol-input-date.js.map +1 -1
  421. package/dist/components/kol-input-email.js +2 -2
  422. package/dist/components/kol-input-email.js.map +1 -1
  423. package/dist/components/kol-input-file.js +1 -1
  424. package/dist/components/kol-input-file.js.map +1 -1
  425. package/dist/components/kol-input-number.js +2 -2
  426. package/dist/components/kol-input-number.js.map +1 -1
  427. package/dist/components/kol-input-password.js +2 -2
  428. package/dist/components/kol-input-password.js.map +1 -1
  429. package/dist/components/kol-input-radio.js +2 -2
  430. package/dist/components/kol-input-radio.js.map +1 -1
  431. package/dist/components/kol-input-range.js +2 -2
  432. package/dist/components/kol-input-range.js.map +1 -1
  433. package/dist/components/kol-input-text.js +4 -2
  434. package/dist/components/kol-input-text.js.map +1 -1
  435. package/dist/components/kol-link-button.js +1 -1
  436. package/dist/components/kol-link-button.js.map +1 -1
  437. package/dist/components/kol-link-wc.js +1 -4
  438. package/dist/components/kol-link-wc.js.map +1 -1
  439. package/dist/components/kol-link.js +1 -1
  440. package/dist/components/kol-link.js.map +1 -1
  441. package/dist/components/kol-meter.js +12 -1
  442. package/dist/components/kol-meter.js.map +1 -1
  443. package/dist/components/kol-modal.js +1 -1
  444. package/dist/components/kol-modal.js.map +1 -1
  445. package/dist/components/kol-nav.js +2 -2
  446. package/dist/components/kol-nav.js.map +1 -1
  447. package/dist/components/kol-pagination-wc.js +1 -1
  448. package/dist/components/kol-pagination.js +2 -2
  449. package/dist/components/kol-pagination.js.map +1 -1
  450. package/dist/components/kol-popover-button-wc.js +2 -2
  451. package/dist/components/kol-popover-button-wc.js.map +1 -1
  452. package/dist/components/kol-popover-button.js +2 -2
  453. package/dist/components/kol-popover-button.js.map +1 -1
  454. package/dist/components/kol-select-wc.js +2 -2
  455. package/dist/components/kol-select-wc.js.map +1 -1
  456. package/dist/components/kol-select.js +2 -2
  457. package/dist/components/kol-select.js.map +1 -1
  458. package/dist/components/kol-single-select.js +5 -5
  459. package/dist/components/kol-single-select.js.map +1 -1
  460. package/dist/components/kol-skip-nav.js +1 -1
  461. package/dist/components/kol-split-button.js +4 -5
  462. package/dist/components/kol-split-button.js.map +1 -1
  463. package/dist/components/kol-table-settings-wc.js +3 -3
  464. package/dist/components/kol-table-stateful.js +5 -4
  465. package/dist/components/kol-table-stateful.js.map +1 -1
  466. package/dist/components/kol-table-stateless-wc.js +13 -11
  467. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  468. package/dist/components/kol-table-stateless.js +2 -2
  469. package/dist/components/kol-table-stateless.js.map +1 -1
  470. package/dist/components/kol-tabs.js +1 -1
  471. package/dist/components/kol-textarea.js +1 -1
  472. package/dist/components/kol-textarea.js.map +1 -1
  473. package/dist/components/kol-toast-container.js +1 -1
  474. package/dist/components/kol-toolbar.js +1 -1
  475. package/dist/components/kol-tree-item.js +2 -2
  476. package/dist/components/kol-tree-item.js.map +1 -1
  477. package/dist/components/kol-tree.js +1 -1
  478. package/dist/components/kol-tree.js.map +1 -1
  479. package/dist/components/link-target.js +13 -0
  480. package/dist/components/link-target.js.map +1 -0
  481. package/dist/esm/Alert-ISJ3JUa5.js +91 -0
  482. package/dist/esm/Alert-ISJ3JUa5.js.map +1 -0
  483. package/dist/esm/Collapsible-COrtm1c8.js +25 -0
  484. package/dist/esm/Collapsible-COrtm1c8.js.map +1 -0
  485. package/dist/esm/CustomSuggestionsOptionsGroup-CG5_9x1a.js +28 -0
  486. package/dist/esm/CustomSuggestionsOptionsGroup-CG5_9x1a.js.map +1 -0
  487. package/dist/esm/FieldControlStateWrapper-DlpyHt5M.js +121 -0
  488. package/dist/esm/FieldControlStateWrapper-DlpyHt5M.js.map +1 -0
  489. package/dist/esm/FormFieldStateWrapper-DPZokHeL.js +470 -0
  490. package/dist/esm/FormFieldStateWrapper-DPZokHeL.js.map +1 -0
  491. package/dist/esm/Heading-vsrFh4hD.js +39 -0
  492. package/dist/esm/Heading-vsrFh4hD.js.map +1 -0
  493. package/dist/esm/Input-Bq2Uv2rH.js +27 -0
  494. package/dist/esm/Input-Bq2Uv2rH.js.map +1 -0
  495. package/dist/esm/InputStateWrapper-DTJTCqy1.js +83 -0
  496. package/dist/esm/InputStateWrapper-DTJTCqy1.js.map +1 -0
  497. package/dist/esm/access-and-short-key-VGm6CSC-.js +36 -0
  498. package/dist/esm/access-and-short-key-VGm6CSC-.js.map +1 -0
  499. package/dist/esm/align-CCcqVV8A.js +22 -0
  500. package/dist/esm/align-CCcqVV8A.js.map +1 -0
  501. package/dist/esm/align-floating-elements-8q78rXbD.js +1662 -0
  502. package/dist/esm/align-floating-elements-8q78rXbD.js.map +1 -0
  503. package/dist/esm/app-globals-DYN0hvl4.js +34 -0
  504. package/dist/esm/app-globals-DYN0hvl4.js.map +1 -0
  505. package/dist/esm/aria-details-WJh-R8i2.js +24 -0
  506. package/dist/esm/aria-details-WJh-R8i2.js.map +1 -0
  507. package/dist/esm/aria-expanded-CpLVU-jc.js +26 -0
  508. package/dist/esm/aria-expanded-CpLVU-jc.js.map +1 -0
  509. package/dist/esm/aria-labelledby-CtSU8AE1.js +24 -0
  510. package/dist/esm/aria-labelledby-CtSU8AE1.js.map +1 -0
  511. package/dist/esm/associated.controller-DlSiZFjQ.js +194 -0
  512. package/dist/esm/associated.controller-DlSiZFjQ.js.map +1 -0
  513. package/dist/esm/auto-complete-DIQZuGuL.js +16 -0
  514. package/dist/esm/auto-complete-DIQZuGuL.js.map +1 -0
  515. package/dist/esm/bem-registry-DdEadmB1.js +163 -0
  516. package/dist/esm/bem-registry-DdEadmB1.js.map +1 -0
  517. package/dist/esm/bootstrap-D82MwPKY.js +31 -0
  518. package/dist/esm/bootstrap-D82MwPKY.js.map +1 -0
  519. package/dist/esm/color-DBv1TX0l.js +98 -0
  520. package/dist/esm/color-DBv1TX0l.js.map +1 -0
  521. package/dist/esm/common-DQP27q1D.js +1756 -0
  522. package/dist/esm/common-DQP27q1D.js.map +1 -0
  523. package/dist/esm/component-BQ5Ub0wy.js +9156 -0
  524. package/dist/esm/component-BQ5Ub0wy.js.map +1 -0
  525. package/dist/esm/component-CVwySiGB.js +21 -0
  526. package/dist/esm/component-CVwySiGB.js.map +1 -0
  527. package/dist/esm/component-Dsjf4KGf.js +14 -0
  528. package/dist/esm/component-Dsjf4KGf.js.map +1 -0
  529. package/dist/esm/component-TzkPh1vw.js +15 -0
  530. package/dist/esm/component-TzkPh1vw.js.map +1 -0
  531. package/dist/esm/component-names-BGnhDM7F.js +141 -0
  532. package/dist/esm/component-names-BGnhDM7F.js.map +1 -0
  533. package/dist/esm/contrast-B2enMGqm.js +97 -0
  534. package/dist/esm/contrast-B2enMGqm.js.map +1 -0
  535. package/dist/esm/controller-Bt_GTg1G.js +247 -0
  536. package/dist/esm/controller-Bt_GTg1G.js.map +1 -0
  537. package/dist/esm/controller-DSVcj5D4.js +120 -0
  538. package/dist/esm/controller-DSVcj5D4.js.map +1 -0
  539. package/dist/esm/controller-DzSR1-Rv.js +52 -0
  540. package/dist/esm/controller-DzSR1-Rv.js.map +1 -0
  541. package/dist/esm/controller-QnGZhP54.js +79 -0
  542. package/dist/esm/controller-QnGZhP54.js.map +1 -0
  543. package/dist/esm/controller-bihHCiox.js +96 -0
  544. package/dist/esm/controller-bihHCiox.js.map +1 -0
  545. package/dist/esm/controller-icon-BYAsff0K.js +165 -0
  546. package/dist/esm/controller-icon-BYAsff0K.js.map +1 -0
  547. package/dist/esm/counter-dom-updater-B0ZtaijC.js +114 -0
  548. package/dist/esm/counter-dom-updater-B0ZtaijC.js.map +1 -0
  549. package/dist/esm/custom-class-kz5kBKXM.js +15 -0
  550. package/dist/esm/custom-class-kz5kBKXM.js.map +1 -0
  551. package/dist/esm/dev.utils-6rI-ojpf.js +81 -0
  552. package/dist/esm/dev.utils-6rI-ojpf.js.map +1 -0
  553. package/dist/esm/devtools-CbxC1R_9.js +101 -0
  554. package/dist/esm/devtools-CbxC1R_9.js.map +1 -0
  555. package/dist/esm/disabled-jKlKAF7J.js +21 -0
  556. package/dist/esm/disabled-jKlKAF7J.js.map +1 -0
  557. package/dist/esm/has-closer-CnQ4DWtR.js +13 -0
  558. package/dist/esm/has-closer-CnQ4DWtR.js.map +1 -0
  559. package/dist/esm/hide-label-C_IKiUpx.js +13 -0
  560. package/dist/esm/hide-label-C_IKiUpx.js.map +1 -0
  561. package/dist/esm/href-kvDpGqmo.js +13 -0
  562. package/dist/esm/href-kvDpGqmo.js.map +1 -0
  563. package/dist/esm/i18n-C39F0QhM.js +214 -0
  564. package/dist/esm/i18n-C39F0QhM.js.map +1 -0
  565. package/dist/esm/i18n-D8kFHvIt.js +19 -0
  566. package/dist/esm/i18n-D8kFHvIt.js.map +1 -0
  567. package/dist/esm/icons-BYRL_f0i.js +84 -0
  568. package/dist/esm/icons-BYRL_f0i.js.map +1 -0
  569. package/dist/esm/index-Dy5OebFJ.js +2878 -0
  570. package/dist/esm/index-Dy5OebFJ.js.map +1 -0
  571. package/dist/esm/index.js +7 -7
  572. package/dist/esm/index.js.map +1 -1
  573. package/dist/esm/inline-m2Lm9rCc.js +13 -0
  574. package/dist/esm/inline-m2Lm9rCc.js.map +1 -0
  575. package/dist/esm/kol-abbr.entry.js +3 -3
  576. package/dist/esm/kol-accordion.entry.js +13 -13
  577. package/dist/esm/kol-alert-wc.entry.js +14 -14
  578. package/dist/esm/kol-alert.entry.js +4 -4
  579. package/dist/esm/kol-avatar.entry.js +10 -10
  580. package/dist/esm/kol-badge.entry.js +11 -11
  581. package/dist/esm/kol-badge.entry.js.map +1 -1
  582. package/dist/esm/kol-breadcrumb.entry.js +17 -11
  583. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  584. package/dist/esm/kol-button-link.entry.js +4 -4
  585. package/dist/esm/kol-button-link.entry.js.map +1 -1
  586. package/dist/esm/kol-button-wc.entry.js +28 -28
  587. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  588. package/dist/esm/kol-button.entry.js +4 -4
  589. package/dist/esm/kol-button.entry.js.map +1 -1
  590. package/dist/esm/kol-card-wc.entry.js +57 -20
  591. package/dist/esm/kol-card-wc.entry.js.map +1 -1
  592. package/dist/esm/kol-card.entry.js +18 -5
  593. package/dist/esm/kol-card.entry.js.map +1 -1
  594. package/dist/esm/kol-click-button.entry.js +7 -7
  595. package/dist/esm/kol-combobox.entry.js +40 -40
  596. package/dist/esm/kol-combobox.entry.js.map +1 -1
  597. package/dist/esm/kol-details.entry.js +13 -13
  598. package/dist/esm/kol-dialog-wc.entry.js +8 -8
  599. package/dist/esm/kol-dialog.entry.js +4 -4
  600. package/dist/esm/kol-dialog.entry.js.map +1 -1
  601. package/dist/esm/kol-drawer.entry.js +12 -12
  602. package/dist/esm/kol-drawer.entry.js.map +1 -1
  603. package/dist/esm/kol-form.entry.js +10 -10
  604. package/dist/esm/kol-heading.entry.js +5 -5
  605. package/dist/esm/kol-icon.entry.js +8 -8
  606. package/dist/esm/kol-image.entry.js +5 -5
  607. package/dist/esm/kol-input-checkbox.entry.js +36 -36
  608. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  609. package/dist/esm/kol-input-color.entry.js +35 -35
  610. package/dist/esm/kol-input-color.entry.js.map +1 -1
  611. package/dist/esm/kol-input-date.entry.js +39 -39
  612. package/dist/esm/kol-input-date.entry.js.map +1 -1
  613. package/dist/esm/kol-input-email.entry.js +45 -45
  614. package/dist/esm/kol-input-email.entry.js.map +1 -1
  615. package/dist/esm/kol-input-file.entry.js +35 -35
  616. package/dist/esm/kol-input-file.entry.js.map +1 -1
  617. package/dist/esm/kol-input-number.entry.js +40 -40
  618. package/dist/esm/kol-input-number.entry.js.map +1 -1
  619. package/dist/esm/kol-input-password.entry.js +41 -41
  620. package/dist/esm/kol-input-password.entry.js.map +1 -1
  621. package/dist/esm/kol-input-radio.entry.js +36 -36
  622. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  623. package/dist/esm/kol-input-range.entry.js +37 -37
  624. package/dist/esm/kol-input-range.entry.js.map +1 -1
  625. package/dist/esm/kol-input-text.entry.js +45 -44
  626. package/dist/esm/kol-input-text.entry.js.map +1 -1
  627. package/dist/esm/kol-kolibri.entry.js +6 -6
  628. package/dist/esm/kol-link-button.entry.js +4 -4
  629. package/dist/esm/kol-link-button.entry.js.map +1 -1
  630. package/dist/esm/kol-link-wc.entry.js +26 -29
  631. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  632. package/dist/esm/kol-link.entry.js +4 -4
  633. package/dist/esm/kol-link.entry.js.map +1 -1
  634. package/dist/esm/kol-meter.entry.js +20 -9
  635. package/dist/esm/kol-meter.entry.js.map +1 -1
  636. package/dist/esm/kol-modal.entry.js +4 -4
  637. package/dist/esm/kol-modal.entry.js.map +1 -1
  638. package/dist/esm/kol-nav.entry.js +12 -12
  639. package/dist/esm/kol-nav.entry.js.map +1 -1
  640. package/dist/esm/kol-pagination-wc.entry.js +11 -11
  641. package/dist/esm/kol-pagination.entry.js +4 -4
  642. package/dist/esm/kol-pagination.entry.js.map +1 -1
  643. package/dist/esm/kol-popover-button-wc.entry.js +9 -9
  644. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
  645. package/dist/esm/kol-popover-button.entry.js +4 -4
  646. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  647. package/dist/esm/kol-progress.entry.js +8 -8
  648. package/dist/esm/kol-quote.entry.js +7 -7
  649. package/dist/esm/kol-select-wc.entry.js +38 -38
  650. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  651. package/dist/esm/kol-select.entry.js +5 -5
  652. package/dist/esm/kol-select.entry.js.map +1 -1
  653. package/dist/esm/kol-single-select.entry.js +42 -42
  654. package/dist/esm/kol-single-select.entry.js.map +1 -1
  655. package/dist/esm/kol-skeleton.entry.js +6 -6
  656. package/dist/esm/kol-skip-nav.entry.js +7 -7
  657. package/dist/esm/kol-spin.entry.js +7 -7
  658. package/dist/esm/kol-split-button.entry.js +8 -9
  659. package/dist/esm/kol-split-button.entry.js.map +1 -1
  660. package/dist/esm/kol-table-settings-wc.entry.js +7 -7
  661. package/dist/esm/kol-table-stateful.entry.js +12 -11
  662. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  663. package/dist/esm/kol-table-stateless-wc.entry.js +26 -24
  664. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  665. package/dist/esm/kol-table-stateless.entry.js +6 -6
  666. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  667. package/dist/esm/kol-tabs.entry.js +8 -8
  668. package/dist/esm/kol-textarea.entry.js +37 -37
  669. package/dist/esm/kol-textarea.entry.js.map +1 -1
  670. package/dist/esm/kol-toast-container.entry.js +14 -14
  671. package/dist/esm/kol-toolbar.entry.js +6 -6
  672. package/dist/esm/kol-tooltip-wc.entry.js +12 -12
  673. package/dist/esm/kol-tree-item-wc.entry.js +9 -9
  674. package/dist/esm/kol-tree-item.entry.js +5 -5
  675. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  676. package/dist/esm/kol-tree-wc.entry.js +4 -4
  677. package/dist/esm/kol-tree.entry.js +4 -4
  678. package/dist/esm/kol-tree.entry.js.map +1 -1
  679. package/dist/esm/kol-version.entry.js +6 -6
  680. package/dist/esm/kolibri.js +5 -5
  681. package/dist/esm/label-BGcJjCR_.js +11 -0
  682. package/dist/esm/label-BGcJjCR_.js.map +1 -0
  683. package/dist/esm/label-Dwxm-V_h.js +45 -0
  684. package/dist/esm/label-Dwxm-V_h.js.map +1 -0
  685. package/dist/esm/level-PcWGlcVG.js +12 -0
  686. package/dist/esm/level-PcWGlcVG.js.map +1 -0
  687. package/dist/esm/link-target-D34ANoHg.js +13 -0
  688. package/dist/esm/link-target-D34ANoHg.js.map +1 -0
  689. package/dist/esm/loader.js +5 -5
  690. package/dist/esm/multiple-DmeXj7uk.js +13 -0
  691. package/dist/esm/multiple-DmeXj7uk.js.map +1 -0
  692. package/dist/esm/normalizers-Cpy0t9-X.js +641 -0
  693. package/dist/esm/normalizers-Cpy0t9-X.js.map +1 -0
  694. package/dist/esm/open-Cmx_DQBP.js +13 -0
  695. package/dist/esm/open-Cmx_DQBP.js.map +1 -0
  696. package/dist/esm/orientation-CveWosyb.js +16 -0
  697. package/dist/esm/orientation-CveWosyb.js.map +1 -0
  698. package/dist/esm/placeholder-DitmQbvz.js +13 -0
  699. package/dist/esm/placeholder-DitmQbvz.js.map +1 -0
  700. package/dist/esm/read-only-Vt3H3FN6.js +13 -0
  701. package/dist/esm/read-only-Vt3H3FN6.js.map +1 -0
  702. package/dist/esm/required-Jalqrrjz.js +13 -0
  703. package/dist/esm/required-Jalqrrjz.js.map +1 -0
  704. package/dist/esm/rows-C-Z46Ehn.js +13 -0
  705. package/dist/esm/rows-C-Z46Ehn.js.map +1 -0
  706. package/dist/esm/spell-check-l03TljKp.js +15 -0
  707. package/dist/esm/spell-check-l03TljKp.js.map +1 -0
  708. package/dist/esm/src-DE-78Tsn.js +11 -0
  709. package/dist/esm/src-DE-78Tsn.js.map +1 -0
  710. package/dist/esm/suggestions-BfWyHL3T.js +21 -0
  711. package/dist/esm/suggestions-BfWyHL3T.js.map +1 -0
  712. package/dist/esm/table-selection-DlUgsDCJ.js +85 -0
  713. package/dist/esm/table-selection-DlUgsDCJ.js.map +1 -0
  714. package/dist/esm/test-component.entry.js +2 -2
  715. package/dist/esm/tooltip-align-B40m4aqW.js +14 -0
  716. package/dist/esm/tooltip-align-B40m4aqW.js.map +1 -0
  717. package/dist/esm/unique-nav-labels-NCk-REPk.js +22 -0
  718. package/dist/esm/unique-nav-labels-NCk-REPk.js.map +1 -0
  719. package/dist/esm/validation-DLEaOerO.js +17 -0
  720. package/dist/esm/validation-DLEaOerO.js.map +1 -0
  721. package/dist/esm/validation-DgfRQn1w.js +14 -0
  722. package/dist/esm/validation-DgfRQn1w.js.map +1 -0
  723. package/dist/esm/value-number-clamped-Doz9q_aV.js +24 -0
  724. package/dist/esm/value-number-clamped-Doz9q_aV.js.map +1 -0
  725. package/dist/esm/variant-class-name-BCVDdbOR.js +50 -0
  726. package/dist/esm/variant-class-name-BCVDdbOR.js.map +1 -0
  727. package/dist/esm/variant-quote-CZ5CemUm.js +17 -0
  728. package/dist/esm/variant-quote-CZ5CemUm.js.map +1 -0
  729. package/dist/kolibri/Alert-ISJ3JUa5.js +5 -0
  730. package/dist/kolibri/Alert-ISJ3JUa5.js.map +1 -0
  731. package/dist/kolibri/Collapsible-COrtm1c8.js +5 -0
  732. package/dist/kolibri/Collapsible-COrtm1c8.js.map +1 -0
  733. package/dist/kolibri/CustomSuggestionsOptionsGroup-CG5_9x1a.js +5 -0
  734. package/dist/kolibri/CustomSuggestionsOptionsGroup-CG5_9x1a.js.map +1 -0
  735. package/dist/kolibri/FieldControlStateWrapper-DlpyHt5M.js +5 -0
  736. package/dist/kolibri/FieldControlStateWrapper-DlpyHt5M.js.map +1 -0
  737. package/dist/kolibri/FormFieldStateWrapper-DPZokHeL.js +5 -0
  738. package/dist/kolibri/FormFieldStateWrapper-DPZokHeL.js.map +1 -0
  739. package/dist/kolibri/Heading-vsrFh4hD.js +5 -0
  740. package/dist/kolibri/Heading-vsrFh4hD.js.map +1 -0
  741. package/dist/kolibri/Input-Bq2Uv2rH.js +5 -0
  742. package/dist/kolibri/Input-Bq2Uv2rH.js.map +1 -0
  743. package/dist/kolibri/InputStateWrapper-DTJTCqy1.js +5 -0
  744. package/dist/kolibri/InputStateWrapper-DTJTCqy1.js.map +1 -0
  745. package/dist/kolibri/access-and-short-key-VGm6CSC-.js +5 -0
  746. package/dist/kolibri/access-and-short-key-VGm6CSC-.js.map +1 -0
  747. package/dist/kolibri/align-CCcqVV8A.js +5 -0
  748. package/dist/kolibri/align-CCcqVV8A.js.map +1 -0
  749. package/dist/kolibri/align-floating-elements-8q78rXbD.js +5 -0
  750. package/dist/kolibri/align-floating-elements-8q78rXbD.js.map +1 -0
  751. package/dist/kolibri/app-globals-DYN0hvl4.js +5 -0
  752. package/dist/kolibri/app-globals-DYN0hvl4.js.map +1 -0
  753. package/dist/kolibri/aria-details-WJh-R8i2.js +5 -0
  754. package/dist/kolibri/aria-details-WJh-R8i2.js.map +1 -0
  755. package/dist/kolibri/aria-expanded-CpLVU-jc.js +5 -0
  756. package/dist/kolibri/aria-expanded-CpLVU-jc.js.map +1 -0
  757. package/dist/kolibri/aria-labelledby-CtSU8AE1.js +5 -0
  758. package/dist/kolibri/aria-labelledby-CtSU8AE1.js.map +1 -0
  759. package/dist/kolibri/associated.controller-DlSiZFjQ.js +5 -0
  760. package/dist/kolibri/associated.controller-DlSiZFjQ.js.map +1 -0
  761. package/dist/kolibri/auto-complete-DIQZuGuL.js +5 -0
  762. package/dist/kolibri/auto-complete-DIQZuGuL.js.map +1 -0
  763. package/dist/kolibri/bem-registry-DdEadmB1.js +5 -0
  764. package/dist/kolibri/bem-registry-DdEadmB1.js.map +1 -0
  765. package/dist/kolibri/bootstrap-D82MwPKY.js +5 -0
  766. package/dist/kolibri/bootstrap-D82MwPKY.js.map +1 -0
  767. package/dist/kolibri/color-DBv1TX0l.js +5 -0
  768. package/dist/kolibri/color-DBv1TX0l.js.map +1 -0
  769. package/dist/kolibri/common-DQP27q1D.js +5 -0
  770. package/dist/kolibri/common-DQP27q1D.js.map +1 -0
  771. package/dist/kolibri/component-BQ5Ub0wy.js +5 -0
  772. package/dist/kolibri/component-BQ5Ub0wy.js.map +1 -0
  773. package/dist/kolibri/component-CVwySiGB.js +5 -0
  774. package/dist/kolibri/component-CVwySiGB.js.map +1 -0
  775. package/dist/kolibri/component-Dsjf4KGf.js +5 -0
  776. package/dist/kolibri/component-Dsjf4KGf.js.map +1 -0
  777. package/dist/kolibri/component-TzkPh1vw.js +5 -0
  778. package/dist/kolibri/component-TzkPh1vw.js.map +1 -0
  779. package/dist/kolibri/component-names-BGnhDM7F.js +5 -0
  780. package/dist/kolibri/component-names-BGnhDM7F.js.map +1 -0
  781. package/dist/kolibri/contrast-B2enMGqm.js +5 -0
  782. package/dist/kolibri/contrast-B2enMGqm.js.map +1 -0
  783. package/dist/kolibri/controller-Bt_GTg1G.js +5 -0
  784. package/dist/kolibri/controller-Bt_GTg1G.js.map +1 -0
  785. package/dist/kolibri/controller-DSVcj5D4.js +5 -0
  786. package/dist/kolibri/controller-DSVcj5D4.js.map +1 -0
  787. package/dist/kolibri/controller-DzSR1-Rv.js +5 -0
  788. package/dist/kolibri/controller-DzSR1-Rv.js.map +1 -0
  789. package/dist/kolibri/controller-QnGZhP54.js +5 -0
  790. package/dist/kolibri/controller-QnGZhP54.js.map +1 -0
  791. package/dist/kolibri/controller-bihHCiox.js +5 -0
  792. package/dist/kolibri/controller-bihHCiox.js.map +1 -0
  793. package/dist/kolibri/controller-icon-BYAsff0K.js +5 -0
  794. package/dist/kolibri/controller-icon-BYAsff0K.js.map +1 -0
  795. package/dist/kolibri/counter-dom-updater-B0ZtaijC.js +5 -0
  796. package/dist/kolibri/counter-dom-updater-B0ZtaijC.js.map +1 -0
  797. package/dist/kolibri/custom-class-kz5kBKXM.js +5 -0
  798. package/dist/kolibri/custom-class-kz5kBKXM.js.map +1 -0
  799. package/dist/kolibri/dev.utils-6rI-ojpf.js +5 -0
  800. package/dist/kolibri/dev.utils-6rI-ojpf.js.map +1 -0
  801. package/dist/kolibri/devtools-CbxC1R_9.js +5 -0
  802. package/dist/kolibri/devtools-CbxC1R_9.js.map +1 -0
  803. package/dist/kolibri/disabled-jKlKAF7J.js +5 -0
  804. package/dist/kolibri/disabled-jKlKAF7J.js.map +1 -0
  805. package/dist/kolibri/has-closer-CnQ4DWtR.js +5 -0
  806. package/dist/kolibri/has-closer-CnQ4DWtR.js.map +1 -0
  807. package/dist/kolibri/hide-label-C_IKiUpx.js +5 -0
  808. package/dist/kolibri/hide-label-C_IKiUpx.js.map +1 -0
  809. package/dist/kolibri/href-kvDpGqmo.js +5 -0
  810. package/dist/kolibri/href-kvDpGqmo.js.map +1 -0
  811. package/dist/kolibri/i18n-C39F0QhM.js +5 -0
  812. package/dist/kolibri/i18n-C39F0QhM.js.map +1 -0
  813. package/dist/kolibri/i18n-D8kFHvIt.js +5 -0
  814. package/dist/kolibri/i18n-D8kFHvIt.js.map +1 -0
  815. package/dist/kolibri/icons-BYRL_f0i.js +5 -0
  816. package/dist/kolibri/icons-BYRL_f0i.js.map +1 -0
  817. package/dist/kolibri/index-Dy5OebFJ.js +6 -0
  818. package/dist/kolibri/index-Dy5OebFJ.js.map +1 -0
  819. package/dist/kolibri/index.esm.js +1 -1
  820. package/dist/kolibri/index.esm.js.map +1 -1
  821. package/dist/kolibri/inline-m2Lm9rCc.js +5 -0
  822. package/dist/kolibri/inline-m2Lm9rCc.js.map +1 -0
  823. package/dist/kolibri/kol-abbr.entry.js +1 -1
  824. package/dist/kolibri/kol-accordion.entry.js +1 -1
  825. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  826. package/dist/kolibri/kol-alert.entry.js +1 -1
  827. package/dist/kolibri/kol-avatar.entry.js +1 -1
  828. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  829. package/dist/kolibri/kol-badge.entry.js +1 -1
  830. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  831. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  832. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  833. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  834. package/dist/kolibri/kol-button-link.entry.js +1 -1
  835. package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
  836. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  837. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  838. package/dist/kolibri/kol-button.entry.js +1 -1
  839. package/dist/kolibri/kol-card-wc.entry.esm.js.map +1 -1
  840. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  841. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  842. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  843. package/dist/kolibri/kol-card.entry.js +1 -1
  844. package/dist/kolibri/kol-card.entry.js.map +1 -1
  845. package/dist/kolibri/kol-click-button.entry.js +1 -1
  846. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  847. package/dist/kolibri/kol-combobox.entry.js +1 -1
  848. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  849. package/dist/kolibri/kol-details.entry.js +1 -1
  850. package/dist/kolibri/kol-details.entry.js.map +1 -1
  851. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  852. package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
  853. package/dist/kolibri/kol-dialog.entry.js +1 -1
  854. package/dist/kolibri/kol-dialog.entry.js.map +1 -1
  855. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  856. package/dist/kolibri/kol-drawer.entry.js +1 -1
  857. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  858. package/dist/kolibri/kol-form.entry.js +1 -1
  859. package/dist/kolibri/kol-heading.entry.js +1 -1
  860. package/dist/kolibri/kol-icon.entry.js +1 -1
  861. package/dist/kolibri/kol-image.entry.js +1 -1
  862. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  863. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  864. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  865. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  866. package/dist/kolibri/kol-input-color.entry.js +1 -1
  867. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  868. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  869. package/dist/kolibri/kol-input-date.entry.js +1 -1
  870. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  871. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  872. package/dist/kolibri/kol-input-email.entry.js +1 -1
  873. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  874. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  875. package/dist/kolibri/kol-input-file.entry.js +1 -1
  876. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  877. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  878. package/dist/kolibri/kol-input-number.entry.js +1 -1
  879. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  880. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  881. package/dist/kolibri/kol-input-password.entry.js +1 -1
  882. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  883. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  884. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  885. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  886. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  887. package/dist/kolibri/kol-input-range.entry.js +1 -1
  888. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  889. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  890. package/dist/kolibri/kol-input-text.entry.js +1 -1
  891. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  892. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  893. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  894. package/dist/kolibri/kol-link-button.entry.js +1 -1
  895. package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
  896. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  897. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  898. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  899. package/dist/kolibri/kol-link.entry.js +1 -1
  900. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  901. package/dist/kolibri/kol-meter.entry.js +1 -1
  902. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  903. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  904. package/dist/kolibri/kol-modal.entry.js +1 -1
  905. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  906. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  907. package/dist/kolibri/kol-nav.entry.js +1 -1
  908. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  909. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  910. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  911. package/dist/kolibri/kol-pagination.entry.js +1 -1
  912. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  913. package/dist/kolibri/kol-popover-button-wc.entry.esm.js.map +1 -1
  914. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  915. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  916. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  917. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  918. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  919. package/dist/kolibri/kol-progress.entry.js +1 -1
  920. package/dist/kolibri/kol-quote.entry.js +1 -1
  921. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  922. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  923. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  924. package/dist/kolibri/kol-select.entry.js +1 -1
  925. package/dist/kolibri/kol-select.entry.js.map +1 -1
  926. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  927. package/dist/kolibri/kol-single-select.entry.js +1 -1
  928. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  929. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  930. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  931. package/dist/kolibri/kol-spin.entry.js +1 -1
  932. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  933. package/dist/kolibri/kol-split-button.entry.js +1 -1
  934. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  935. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  936. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  937. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  938. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  939. package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
  940. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  941. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  942. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  943. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  944. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  945. package/dist/kolibri/kol-tabs.entry.js +1 -1
  946. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  947. package/dist/kolibri/kol-textarea.entry.js +1 -1
  948. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  949. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  950. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  951. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  952. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  953. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  954. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  955. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  956. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  957. package/dist/kolibri/kol-tree.entry.js +1 -1
  958. package/dist/kolibri/kol-version.entry.js +1 -1
  959. package/dist/kolibri/kolibri.esm.js +1 -1
  960. package/dist/kolibri/label-BGcJjCR_.js +5 -0
  961. package/dist/kolibri/label-BGcJjCR_.js.map +1 -0
  962. package/dist/kolibri/label-Dwxm-V_h.js +5 -0
  963. package/dist/kolibri/label-Dwxm-V_h.js.map +1 -0
  964. package/dist/kolibri/level-PcWGlcVG.js +5 -0
  965. package/dist/kolibri/level-PcWGlcVG.js.map +1 -0
  966. package/dist/kolibri/link-target-D34ANoHg.js +5 -0
  967. package/dist/kolibri/link-target-D34ANoHg.js.map +1 -0
  968. package/dist/kolibri/multiple-DmeXj7uk.js +5 -0
  969. package/dist/kolibri/multiple-DmeXj7uk.js.map +1 -0
  970. package/dist/kolibri/normalizers-Cpy0t9-X.js +5 -0
  971. package/dist/kolibri/normalizers-Cpy0t9-X.js.map +1 -0
  972. package/dist/kolibri/open-Cmx_DQBP.js +5 -0
  973. package/dist/kolibri/open-Cmx_DQBP.js.map +1 -0
  974. package/dist/kolibri/orientation-CveWosyb.js +5 -0
  975. package/dist/kolibri/orientation-CveWosyb.js.map +1 -0
  976. package/dist/kolibri/placeholder-DitmQbvz.js +5 -0
  977. package/dist/kolibri/placeholder-DitmQbvz.js.map +1 -0
  978. package/dist/kolibri/read-only-Vt3H3FN6.js +5 -0
  979. package/dist/kolibri/read-only-Vt3H3FN6.js.map +1 -0
  980. package/dist/kolibri/required-Jalqrrjz.js +5 -0
  981. package/dist/kolibri/required-Jalqrrjz.js.map +1 -0
  982. package/dist/kolibri/rows-C-Z46Ehn.js +5 -0
  983. package/dist/kolibri/rows-C-Z46Ehn.js.map +1 -0
  984. package/dist/kolibri/spell-check-l03TljKp.js +5 -0
  985. package/dist/kolibri/spell-check-l03TljKp.js.map +1 -0
  986. package/dist/kolibri/src-DE-78Tsn.js +5 -0
  987. package/dist/kolibri/src-DE-78Tsn.js.map +1 -0
  988. package/dist/kolibri/suggestions-BfWyHL3T.js +5 -0
  989. package/dist/kolibri/suggestions-BfWyHL3T.js.map +1 -0
  990. package/dist/kolibri/table-selection-DlUgsDCJ.js +5 -0
  991. package/dist/kolibri/table-selection-DlUgsDCJ.js.map +1 -0
  992. package/dist/kolibri/test-component.entry.js +1 -1
  993. package/dist/kolibri/tooltip-align-B40m4aqW.js +5 -0
  994. package/dist/kolibri/tooltip-align-B40m4aqW.js.map +1 -0
  995. package/dist/kolibri/unique-nav-labels-NCk-REPk.js +5 -0
  996. package/dist/kolibri/unique-nav-labels-NCk-REPk.js.map +1 -0
  997. package/dist/kolibri/validation-DLEaOerO.js +5 -0
  998. package/dist/kolibri/validation-DLEaOerO.js.map +1 -0
  999. package/dist/kolibri/validation-DgfRQn1w.js +5 -0
  1000. package/dist/kolibri/validation-DgfRQn1w.js.map +1 -0
  1001. package/dist/kolibri/value-number-clamped-Doz9q_aV.js +5 -0
  1002. package/dist/kolibri/value-number-clamped-Doz9q_aV.js.map +1 -0
  1003. package/dist/kolibri/variant-class-name-BCVDdbOR.js +5 -0
  1004. package/dist/kolibri/variant-class-name-BCVDdbOR.js.map +1 -0
  1005. package/dist/kolibri/variant-quote-CZ5CemUm.js +5 -0
  1006. package/dist/kolibri/variant-quote-CZ5CemUm.js.map +1 -0
  1007. package/dist/types/components/breadcrumb/shadow.d.ts +1 -0
  1008. package/dist/types/components/card/component.d.ts +11 -2
  1009. package/dist/types/components/card/shadow.d.ts +8 -2
  1010. package/dist/types/components/component-list.d.ts +2 -1
  1011. package/dist/types/components/input-text/shadow.d.ts +2 -0
  1012. package/dist/types/components.d.ts +122 -48
  1013. package/dist/types/functional-components/FormField/FormField.d.ts +2 -0
  1014. package/dist/types/functional-components/FormFieldLabel/FormFieldLabel.d.ts +6 -0
  1015. package/dist/types/locales/de.d.ts +52 -62
  1016. package/dist/types/locales/en.d.ts +52 -62
  1017. package/dist/types/schema/components/card.d.ts +4 -2
  1018. package/dist/types/schema/i18n-keys.d.ts +68 -27
  1019. package/dist/types/schema/index.d.ts +3 -2
  1020. package/doc/badge.md +1 -1
  1021. package/doc/button-link.md +1 -1
  1022. package/doc/button.md +1 -1
  1023. package/doc/card.md +37 -6
  1024. package/doc/combobox.md +1 -1
  1025. package/doc/input-checkbox.md +2 -1
  1026. package/doc/input-color.md +1 -1
  1027. package/doc/input-date.md +2 -1
  1028. package/doc/input-email.md +2 -1
  1029. package/doc/input-file.md +1 -1
  1030. package/doc/input-number.md +2 -1
  1031. package/doc/input-password.md +2 -1
  1032. package/doc/input-radio.md +1 -0
  1033. package/doc/input-range.md +2 -1
  1034. package/doc/input-text.md +3 -1
  1035. package/doc/link-button.md +1 -1
  1036. package/doc/link.md +1 -1
  1037. package/doc/popover-button.md +1 -1
  1038. package/doc/select.md +1 -1
  1039. package/doc/split-button.md +1 -1
  1040. package/doc/textarea.md +1 -1
  1041. package/doc/tree-item.md +7 -0
  1042. package/doc/tree.md +7 -0
  1043. package/package.json +9 -8
  1044. package/vscode-custom-data.json +27 -19
  1045. package/dist/cjs/Alert-DOZ5jD4Z.js +0 -93
  1046. package/dist/cjs/Alert-DOZ5jD4Z.js.map +0 -1
  1047. package/dist/cjs/Collapsible-CvAuF1NY.js +0 -27
  1048. package/dist/cjs/Collapsible-CvAuF1NY.js.map +0 -1
  1049. package/dist/cjs/CustomSuggestionsOptionsGroup-CewH-4LP.js +0 -31
  1050. package/dist/cjs/CustomSuggestionsOptionsGroup-CewH-4LP.js.map +0 -1
  1051. package/dist/cjs/FieldControlStateWrapper-DGt3PP_z.js +0 -123
  1052. package/dist/cjs/FieldControlStateWrapper-DGt3PP_z.js.map +0 -1
  1053. package/dist/cjs/FormFieldStateWrapper-CpXhI6_0.js +0 -478
  1054. package/dist/cjs/FormFieldStateWrapper-CpXhI6_0.js.map +0 -1
  1055. package/dist/cjs/Heading-DN_dHcPW.js +0 -41
  1056. package/dist/cjs/Heading-DN_dHcPW.js.map +0 -1
  1057. package/dist/cjs/Input-DJcVWEKj.js +0 -29
  1058. package/dist/cjs/Input-DJcVWEKj.js.map +0 -1
  1059. package/dist/cjs/InputStateWrapper-CdwcznYd.js +0 -86
  1060. package/dist/cjs/InputStateWrapper-CdwcznYd.js.map +0 -1
  1061. package/dist/cjs/access-and-short-key-F5QmS3mo.js +0 -41
  1062. package/dist/cjs/access-and-short-key-F5QmS3mo.js.map +0 -1
  1063. package/dist/cjs/align-0TiDiqlj.js +0 -26
  1064. package/dist/cjs/align-0TiDiqlj.js.map +0 -1
  1065. package/dist/cjs/align-floating-elements-BJpt40PY.js +0 -1665
  1066. package/dist/cjs/align-floating-elements-BJpt40PY.js.map +0 -1
  1067. package/dist/cjs/app-globals-DVB3x8O8.js +0 -36
  1068. package/dist/cjs/app-globals-DVB3x8O8.js.map +0 -1
  1069. package/dist/cjs/aria-details-Bsfqm1A-.js +0 -26
  1070. package/dist/cjs/aria-details-Bsfqm1A-.js.map +0 -1
  1071. package/dist/cjs/aria-expanded-B8ULqH49.js +0 -31
  1072. package/dist/cjs/aria-expanded-B8ULqH49.js.map +0 -1
  1073. package/dist/cjs/aria-labelledby-BiCwCmqB.js +0 -26
  1074. package/dist/cjs/aria-labelledby-BiCwCmqB.js.map +0 -1
  1075. package/dist/cjs/associated.controller-BU1y6IQj.js +0 -196
  1076. package/dist/cjs/associated.controller-BU1y6IQj.js.map +0 -1
  1077. package/dist/cjs/auto-complete-vEs6BGPA.js +0 -18
  1078. package/dist/cjs/auto-complete-vEs6BGPA.js.map +0 -1
  1079. package/dist/cjs/bem-registry-Dcmcb0tm.js +0 -166
  1080. package/dist/cjs/bem-registry-Dcmcb0tm.js.map +0 -1
  1081. package/dist/cjs/bootstrap-BkSULOGQ.js +0 -36
  1082. package/dist/cjs/bootstrap-BkSULOGQ.js.map +0 -1
  1083. package/dist/cjs/color-DWSMmDhm.js +0 -101
  1084. package/dist/cjs/color-DWSMmDhm.js.map +0 -1
  1085. package/dist/cjs/common-Bwi0J8Cv.js +0 -1770
  1086. package/dist/cjs/common-Bwi0J8Cv.js.map +0 -1
  1087. package/dist/cjs/component-Bducgk0B.js +0 -17
  1088. package/dist/cjs/component-Bducgk0B.js.map +0 -1
  1089. package/dist/cjs/component-Bkq_S4-F.js +0 -23
  1090. package/dist/cjs/component-Bkq_S4-F.js.map +0 -1
  1091. package/dist/cjs/component-DsOmmb34.js +0 -9161
  1092. package/dist/cjs/component-DsOmmb34.js.map +0 -1
  1093. package/dist/cjs/component-ghRUi4y3.js +0 -16
  1094. package/dist/cjs/component-ghRUi4y3.js.map +0 -1
  1095. package/dist/cjs/contrast-BaY16D1Q.js +0 -100
  1096. package/dist/cjs/contrast-BaY16D1Q.js.map +0 -1
  1097. package/dist/cjs/controller-B4QXfwn1.js +0 -126
  1098. package/dist/cjs/controller-B4QXfwn1.js.map +0 -1
  1099. package/dist/cjs/controller-C9l_vfsq.js +0 -81
  1100. package/dist/cjs/controller-C9l_vfsq.js.map +0 -1
  1101. package/dist/cjs/controller-CU_Kk12B.js +0 -249
  1102. package/dist/cjs/controller-CU_Kk12B.js.map +0 -1
  1103. package/dist/cjs/controller-PzSnWMee.js +0 -55
  1104. package/dist/cjs/controller-PzSnWMee.js.map +0 -1
  1105. package/dist/cjs/controller-icon-DbtCUP4L.js +0 -169
  1106. package/dist/cjs/controller-icon-DbtCUP4L.js.map +0 -1
  1107. package/dist/cjs/controller-yEO0Y7nZ.js +0 -99
  1108. package/dist/cjs/controller-yEO0Y7nZ.js.map +0 -1
  1109. package/dist/cjs/counter-dom-updater-Bm-4DlX7.js +0 -119
  1110. package/dist/cjs/counter-dom-updater-Bm-4DlX7.js.map +0 -1
  1111. package/dist/cjs/custom-class-7gc4yTQh.js +0 -17
  1112. package/dist/cjs/custom-class-7gc4yTQh.js.map +0 -1
  1113. package/dist/cjs/dev.utils-idPmRZ7D.js +0 -86
  1114. package/dist/cjs/dev.utils-idPmRZ7D.js.map +0 -1
  1115. package/dist/cjs/devtools-Do6QhVjH.js +0 -103
  1116. package/dist/cjs/devtools-Do6QhVjH.js.map +0 -1
  1117. package/dist/cjs/disabled-BmL4XZF8.js +0 -23
  1118. package/dist/cjs/disabled-BmL4XZF8.js.map +0 -1
  1119. package/dist/cjs/has-closer-CxDnGxl6.js +0 -15
  1120. package/dist/cjs/has-closer-CxDnGxl6.js.map +0 -1
  1121. package/dist/cjs/hide-label-B2pYm5fg.js +0 -15
  1122. package/dist/cjs/hide-label-B2pYm5fg.js.map +0 -1
  1123. package/dist/cjs/href-CHUD0OXq.js +0 -15
  1124. package/dist/cjs/href-CHUD0OXq.js.map +0 -1
  1125. package/dist/cjs/i18n-Cp31h8Qy.js +0 -19
  1126. package/dist/cjs/i18n-Cp31h8Qy.js.map +0 -1
  1127. package/dist/cjs/i18n-c5BjxWQc.js +0 -237
  1128. package/dist/cjs/i18n-c5BjxWQc.js.map +0 -1
  1129. package/dist/cjs/icons-GIfyKN8a.js +0 -86
  1130. package/dist/cjs/icons-GIfyKN8a.js.map +0 -1
  1131. package/dist/cjs/index-DN0jEVKb.js +0 -2908
  1132. package/dist/cjs/index-DN0jEVKb.js.map +0 -1
  1133. package/dist/cjs/inline-D0mskZ2y.js +0 -15
  1134. package/dist/cjs/inline-D0mskZ2y.js.map +0 -1
  1135. package/dist/cjs/label-CRC09-t1.js +0 -13
  1136. package/dist/cjs/label-CRC09-t1.js.map +0 -1
  1137. package/dist/cjs/label-Dx1QO2M-.js +0 -50
  1138. package/dist/cjs/label-Dx1QO2M-.js.map +0 -1
  1139. package/dist/cjs/level-BytieNof.js +0 -15
  1140. package/dist/cjs/level-BytieNof.js.map +0 -1
  1141. package/dist/cjs/multiple-BOU9FJgy.js +0 -15
  1142. package/dist/cjs/multiple-BOU9FJgy.js.map +0 -1
  1143. package/dist/cjs/normalizers-g6OpZE8-.js +0 -648
  1144. package/dist/cjs/normalizers-g6OpZE8-.js.map +0 -1
  1145. package/dist/cjs/open-DV5ESeHO.js +0 -15
  1146. package/dist/cjs/open-DV5ESeHO.js.map +0 -1
  1147. package/dist/cjs/orientation-CEpijCiY.js +0 -18
  1148. package/dist/cjs/orientation-CEpijCiY.js.map +0 -1
  1149. package/dist/cjs/placeholder-diRB35N0.js +0 -15
  1150. package/dist/cjs/placeholder-diRB35N0.js.map +0 -1
  1151. package/dist/cjs/read-only-DiMukvgS.js +0 -15
  1152. package/dist/cjs/read-only-DiMukvgS.js.map +0 -1
  1153. package/dist/cjs/required-CELXtHfS.js +0 -15
  1154. package/dist/cjs/required-CELXtHfS.js.map +0 -1
  1155. package/dist/cjs/rows-Dw1H95KO.js +0 -15
  1156. package/dist/cjs/rows-Dw1H95KO.js.map +0 -1
  1157. package/dist/cjs/spell-check-COH7yfoL.js +0 -17
  1158. package/dist/cjs/spell-check-COH7yfoL.js.map +0 -1
  1159. package/dist/cjs/src-BPnD0CsB.js +0 -13
  1160. package/dist/cjs/src-BPnD0CsB.js.map +0 -1
  1161. package/dist/cjs/suggestions-Beyw4iFN.js +0 -23
  1162. package/dist/cjs/suggestions-Beyw4iFN.js.map +0 -1
  1163. package/dist/cjs/table-selection-sf5Xv61-.js +0 -93
  1164. package/dist/cjs/table-selection-sf5Xv61-.js.map +0 -1
  1165. package/dist/cjs/tooltip-align-BhNmQDKW.js +0 -16
  1166. package/dist/cjs/tooltip-align-BhNmQDKW.js.map +0 -1
  1167. package/dist/cjs/unique-nav-labels-3ciWRzUA.js +0 -25
  1168. package/dist/cjs/unique-nav-labels-3ciWRzUA.js.map +0 -1
  1169. package/dist/cjs/validation-BWHIPSSp.js +0 -19
  1170. package/dist/cjs/validation-BWHIPSSp.js.map +0 -1
  1171. package/dist/cjs/validation-CBFtAWEr.js +0 -16
  1172. package/dist/cjs/validation-CBFtAWEr.js.map +0 -1
  1173. package/dist/cjs/value-number-clamped-BEHACwW6.js +0 -28
  1174. package/dist/cjs/value-number-clamped-BEHACwW6.js.map +0 -1
  1175. package/dist/cjs/variant-class-name-CU8UMVYZ.js +0 -53
  1176. package/dist/cjs/variant-class-name-CU8UMVYZ.js.map +0 -1
  1177. package/dist/cjs/variant-quote-_8qzRt3_.js +0 -20
  1178. package/dist/cjs/variant-quote-_8qzRt3_.js.map +0 -1
  1179. package/dist/esm/Alert-B0-brpb4.js +0 -91
  1180. package/dist/esm/Alert-B0-brpb4.js.map +0 -1
  1181. package/dist/esm/Collapsible-CMBFLf1n.js +0 -25
  1182. package/dist/esm/Collapsible-CMBFLf1n.js.map +0 -1
  1183. package/dist/esm/CustomSuggestionsOptionsGroup-KlCOgWwU.js +0 -28
  1184. package/dist/esm/CustomSuggestionsOptionsGroup-KlCOgWwU.js.map +0 -1
  1185. package/dist/esm/FieldControlStateWrapper-Bc00aGW7.js +0 -121
  1186. package/dist/esm/FieldControlStateWrapper-Bc00aGW7.js.map +0 -1
  1187. package/dist/esm/FormFieldStateWrapper-RFAVyAWM.js +0 -469
  1188. package/dist/esm/FormFieldStateWrapper-RFAVyAWM.js.map +0 -1
  1189. package/dist/esm/Heading-B1x6PKRk.js +0 -39
  1190. package/dist/esm/Heading-B1x6PKRk.js.map +0 -1
  1191. package/dist/esm/Input-CybpAJ8Y.js +0 -27
  1192. package/dist/esm/Input-CybpAJ8Y.js.map +0 -1
  1193. package/dist/esm/InputStateWrapper-DyXXkT2u.js +0 -83
  1194. package/dist/esm/InputStateWrapper-DyXXkT2u.js.map +0 -1
  1195. package/dist/esm/access-and-short-key-Mj1AS76I.js +0 -36
  1196. package/dist/esm/access-and-short-key-Mj1AS76I.js.map +0 -1
  1197. package/dist/esm/align-DpNc6EKs.js +0 -22
  1198. package/dist/esm/align-DpNc6EKs.js.map +0 -1
  1199. package/dist/esm/align-floating-elements-BgsKEL5o.js +0 -1662
  1200. package/dist/esm/align-floating-elements-BgsKEL5o.js.map +0 -1
  1201. package/dist/esm/app-globals-Dlgvv6eG.js +0 -34
  1202. package/dist/esm/app-globals-Dlgvv6eG.js.map +0 -1
  1203. package/dist/esm/aria-details-8nY2-PPr.js +0 -24
  1204. package/dist/esm/aria-details-8nY2-PPr.js.map +0 -1
  1205. package/dist/esm/aria-expanded-Dhj90G4z.js +0 -26
  1206. package/dist/esm/aria-expanded-Dhj90G4z.js.map +0 -1
  1207. package/dist/esm/aria-labelledby-bKQGdIef.js +0 -24
  1208. package/dist/esm/aria-labelledby-bKQGdIef.js.map +0 -1
  1209. package/dist/esm/associated.controller-CKYHZabJ.js +0 -194
  1210. package/dist/esm/associated.controller-CKYHZabJ.js.map +0 -1
  1211. package/dist/esm/auto-complete-Bnrpv_sN.js +0 -16
  1212. package/dist/esm/auto-complete-Bnrpv_sN.js.map +0 -1
  1213. package/dist/esm/bem-registry-Coj2Hlbo.js +0 -163
  1214. package/dist/esm/bem-registry-Coj2Hlbo.js.map +0 -1
  1215. package/dist/esm/bootstrap-DZ17-oRV.js +0 -31
  1216. package/dist/esm/bootstrap-DZ17-oRV.js.map +0 -1
  1217. package/dist/esm/color-DD2KwGHA.js +0 -98
  1218. package/dist/esm/color-DD2KwGHA.js.map +0 -1
  1219. package/dist/esm/common-D5l8QiaY.js +0 -1715
  1220. package/dist/esm/common-D5l8QiaY.js.map +0 -1
  1221. package/dist/esm/component-C0fGqGE4.js +0 -21
  1222. package/dist/esm/component-C0fGqGE4.js.map +0 -1
  1223. package/dist/esm/component-D7UTo-Wg.js +0 -9156
  1224. package/dist/esm/component-D7UTo-Wg.js.map +0 -1
  1225. package/dist/esm/component-Mx0ifAnr.js +0 -15
  1226. package/dist/esm/component-Mx0ifAnr.js.map +0 -1
  1227. package/dist/esm/component-names-Dy77vq43.js +0 -141
  1228. package/dist/esm/component-names-Dy77vq43.js.map +0 -1
  1229. package/dist/esm/component-ta0hHoH-.js +0 -14
  1230. package/dist/esm/component-ta0hHoH-.js.map +0 -1
  1231. package/dist/esm/contrast-CnVYN_kl.js +0 -97
  1232. package/dist/esm/contrast-CnVYN_kl.js.map +0 -1
  1233. package/dist/esm/controller-200FFpKL.js +0 -79
  1234. package/dist/esm/controller-200FFpKL.js.map +0 -1
  1235. package/dist/esm/controller-CY_VvCRp.js +0 -96
  1236. package/dist/esm/controller-CY_VvCRp.js.map +0 -1
  1237. package/dist/esm/controller-CjCv-oWv.js +0 -120
  1238. package/dist/esm/controller-CjCv-oWv.js.map +0 -1
  1239. package/dist/esm/controller-DV0N3zXZ.js +0 -247
  1240. package/dist/esm/controller-DV0N3zXZ.js.map +0 -1
  1241. package/dist/esm/controller-icon-E2i_Tvo6.js +0 -165
  1242. package/dist/esm/controller-icon-E2i_Tvo6.js.map +0 -1
  1243. package/dist/esm/controller-y_HtAlud.js +0 -52
  1244. package/dist/esm/controller-y_HtAlud.js.map +0 -1
  1245. package/dist/esm/counter-dom-updater-DbyoBkbs.js +0 -114
  1246. package/dist/esm/counter-dom-updater-DbyoBkbs.js.map +0 -1
  1247. package/dist/esm/custom-class-C1NlV4ea.js +0 -15
  1248. package/dist/esm/custom-class-C1NlV4ea.js.map +0 -1
  1249. package/dist/esm/dev.utils-Bp48T7K-.js +0 -81
  1250. package/dist/esm/dev.utils-Bp48T7K-.js.map +0 -1
  1251. package/dist/esm/devtools-BXXGUaVw.js +0 -101
  1252. package/dist/esm/devtools-BXXGUaVw.js.map +0 -1
  1253. package/dist/esm/disabled-BcXSZaDo.js +0 -21
  1254. package/dist/esm/disabled-BcXSZaDo.js.map +0 -1
  1255. package/dist/esm/has-closer-BOCpdSna.js +0 -13
  1256. package/dist/esm/has-closer-BOCpdSna.js.map +0 -1
  1257. package/dist/esm/hide-label-B9ipEhG8.js +0 -13
  1258. package/dist/esm/hide-label-B9ipEhG8.js.map +0 -1
  1259. package/dist/esm/href-CwoWT6cU.js +0 -13
  1260. package/dist/esm/href-CwoWT6cU.js.map +0 -1
  1261. package/dist/esm/i18n-BsXYYo8j.js +0 -19
  1262. package/dist/esm/i18n-BsXYYo8j.js.map +0 -1
  1263. package/dist/esm/i18n-CoO4-0na.js +0 -234
  1264. package/dist/esm/i18n-CoO4-0na.js.map +0 -1
  1265. package/dist/esm/icons-BX75HD_Y.js +0 -84
  1266. package/dist/esm/icons-BX75HD_Y.js.map +0 -1
  1267. package/dist/esm/index-CJ6nR8sE.js +0 -2878
  1268. package/dist/esm/index-CJ6nR8sE.js.map +0 -1
  1269. package/dist/esm/inline-W0JvHnyJ.js +0 -13
  1270. package/dist/esm/inline-W0JvHnyJ.js.map +0 -1
  1271. package/dist/esm/label-Ftw1VCQG.js +0 -45
  1272. package/dist/esm/label-Ftw1VCQG.js.map +0 -1
  1273. package/dist/esm/label-RX8TPr4R.js +0 -11
  1274. package/dist/esm/label-RX8TPr4R.js.map +0 -1
  1275. package/dist/esm/level-At6QFNwQ.js +0 -12
  1276. package/dist/esm/level-At6QFNwQ.js.map +0 -1
  1277. package/dist/esm/multiple-BZH-f6A7.js +0 -13
  1278. package/dist/esm/multiple-BZH-f6A7.js.map +0 -1
  1279. package/dist/esm/normalizers-Dmgd1cXp.js +0 -641
  1280. package/dist/esm/normalizers-Dmgd1cXp.js.map +0 -1
  1281. package/dist/esm/open-D-1JI17u.js +0 -13
  1282. package/dist/esm/open-D-1JI17u.js.map +0 -1
  1283. package/dist/esm/orientation-BOSiSKDw.js +0 -16
  1284. package/dist/esm/orientation-BOSiSKDw.js.map +0 -1
  1285. package/dist/esm/placeholder-BBA3H0w5.js +0 -13
  1286. package/dist/esm/placeholder-BBA3H0w5.js.map +0 -1
  1287. package/dist/esm/read-only-CR_961Fh.js +0 -13
  1288. package/dist/esm/read-only-CR_961Fh.js.map +0 -1
  1289. package/dist/esm/required-DSzN5_9V.js +0 -13
  1290. package/dist/esm/required-DSzN5_9V.js.map +0 -1
  1291. package/dist/esm/rows-BJbzOEWy.js +0 -13
  1292. package/dist/esm/rows-BJbzOEWy.js.map +0 -1
  1293. package/dist/esm/spell-check-CoGXExpz.js +0 -15
  1294. package/dist/esm/spell-check-CoGXExpz.js.map +0 -1
  1295. package/dist/esm/src-CtCjn8Bb.js +0 -11
  1296. package/dist/esm/src-CtCjn8Bb.js.map +0 -1
  1297. package/dist/esm/suggestions-Bqlc1vUw.js +0 -21
  1298. package/dist/esm/suggestions-Bqlc1vUw.js.map +0 -1
  1299. package/dist/esm/table-selection-BNnfuo03.js +0 -85
  1300. package/dist/esm/table-selection-BNnfuo03.js.map +0 -1
  1301. package/dist/esm/tooltip-align-ChjYN8Pt.js +0 -14
  1302. package/dist/esm/tooltip-align-ChjYN8Pt.js.map +0 -1
  1303. package/dist/esm/unique-nav-labels-D8t0Lwbk.js +0 -22
  1304. package/dist/esm/unique-nav-labels-D8t0Lwbk.js.map +0 -1
  1305. package/dist/esm/validation-BhdQk1rc.js +0 -17
  1306. package/dist/esm/validation-BhdQk1rc.js.map +0 -1
  1307. package/dist/esm/validation-C1wS_Ep2.js +0 -14
  1308. package/dist/esm/validation-C1wS_Ep2.js.map +0 -1
  1309. package/dist/esm/value-number-clamped-DlQghACX.js +0 -24
  1310. package/dist/esm/value-number-clamped-DlQghACX.js.map +0 -1
  1311. package/dist/esm/variant-class-name-DFWOlDkF.js +0 -50
  1312. package/dist/esm/variant-class-name-DFWOlDkF.js.map +0 -1
  1313. package/dist/esm/variant-quote-BI3zVSZn.js +0 -17
  1314. package/dist/esm/variant-quote-BI3zVSZn.js.map +0 -1
  1315. package/dist/kolibri/Alert-B0-brpb4.js +0 -5
  1316. package/dist/kolibri/Alert-B0-brpb4.js.map +0 -1
  1317. package/dist/kolibri/Collapsible-CMBFLf1n.js +0 -5
  1318. package/dist/kolibri/Collapsible-CMBFLf1n.js.map +0 -1
  1319. package/dist/kolibri/CustomSuggestionsOptionsGroup-KlCOgWwU.js +0 -5
  1320. package/dist/kolibri/CustomSuggestionsOptionsGroup-KlCOgWwU.js.map +0 -1
  1321. package/dist/kolibri/FieldControlStateWrapper-Bc00aGW7.js +0 -5
  1322. package/dist/kolibri/FieldControlStateWrapper-Bc00aGW7.js.map +0 -1
  1323. package/dist/kolibri/FormFieldStateWrapper-RFAVyAWM.js +0 -5
  1324. package/dist/kolibri/FormFieldStateWrapper-RFAVyAWM.js.map +0 -1
  1325. package/dist/kolibri/Heading-B1x6PKRk.js +0 -5
  1326. package/dist/kolibri/Heading-B1x6PKRk.js.map +0 -1
  1327. package/dist/kolibri/Input-CybpAJ8Y.js +0 -5
  1328. package/dist/kolibri/Input-CybpAJ8Y.js.map +0 -1
  1329. package/dist/kolibri/InputStateWrapper-DyXXkT2u.js +0 -5
  1330. package/dist/kolibri/InputStateWrapper-DyXXkT2u.js.map +0 -1
  1331. package/dist/kolibri/access-and-short-key-Mj1AS76I.js +0 -5
  1332. package/dist/kolibri/access-and-short-key-Mj1AS76I.js.map +0 -1
  1333. package/dist/kolibri/align-DpNc6EKs.js +0 -5
  1334. package/dist/kolibri/align-DpNc6EKs.js.map +0 -1
  1335. package/dist/kolibri/align-floating-elements-BgsKEL5o.js +0 -5
  1336. package/dist/kolibri/align-floating-elements-BgsKEL5o.js.map +0 -1
  1337. package/dist/kolibri/app-globals-Dlgvv6eG.js +0 -5
  1338. package/dist/kolibri/app-globals-Dlgvv6eG.js.map +0 -1
  1339. package/dist/kolibri/aria-details-8nY2-PPr.js +0 -5
  1340. package/dist/kolibri/aria-details-8nY2-PPr.js.map +0 -1
  1341. package/dist/kolibri/aria-expanded-Dhj90G4z.js +0 -5
  1342. package/dist/kolibri/aria-expanded-Dhj90G4z.js.map +0 -1
  1343. package/dist/kolibri/aria-labelledby-bKQGdIef.js +0 -5
  1344. package/dist/kolibri/aria-labelledby-bKQGdIef.js.map +0 -1
  1345. package/dist/kolibri/associated.controller-CKYHZabJ.js +0 -5
  1346. package/dist/kolibri/associated.controller-CKYHZabJ.js.map +0 -1
  1347. package/dist/kolibri/auto-complete-Bnrpv_sN.js +0 -5
  1348. package/dist/kolibri/auto-complete-Bnrpv_sN.js.map +0 -1
  1349. package/dist/kolibri/bem-registry-Coj2Hlbo.js +0 -5
  1350. package/dist/kolibri/bem-registry-Coj2Hlbo.js.map +0 -1
  1351. package/dist/kolibri/bootstrap-DZ17-oRV.js +0 -5
  1352. package/dist/kolibri/bootstrap-DZ17-oRV.js.map +0 -1
  1353. package/dist/kolibri/color-DD2KwGHA.js +0 -5
  1354. package/dist/kolibri/color-DD2KwGHA.js.map +0 -1
  1355. package/dist/kolibri/common-D5l8QiaY.js +0 -5
  1356. package/dist/kolibri/common-D5l8QiaY.js.map +0 -1
  1357. package/dist/kolibri/component-C0fGqGE4.js +0 -5
  1358. package/dist/kolibri/component-C0fGqGE4.js.map +0 -1
  1359. package/dist/kolibri/component-D7UTo-Wg.js +0 -5
  1360. package/dist/kolibri/component-D7UTo-Wg.js.map +0 -1
  1361. package/dist/kolibri/component-Mx0ifAnr.js +0 -5
  1362. package/dist/kolibri/component-Mx0ifAnr.js.map +0 -1
  1363. package/dist/kolibri/component-names-Dy77vq43.js +0 -5
  1364. package/dist/kolibri/component-names-Dy77vq43.js.map +0 -1
  1365. package/dist/kolibri/component-ta0hHoH-.js +0 -5
  1366. package/dist/kolibri/component-ta0hHoH-.js.map +0 -1
  1367. package/dist/kolibri/contrast-CnVYN_kl.js +0 -5
  1368. package/dist/kolibri/contrast-CnVYN_kl.js.map +0 -1
  1369. package/dist/kolibri/controller-200FFpKL.js +0 -5
  1370. package/dist/kolibri/controller-200FFpKL.js.map +0 -1
  1371. package/dist/kolibri/controller-CY_VvCRp.js +0 -5
  1372. package/dist/kolibri/controller-CY_VvCRp.js.map +0 -1
  1373. package/dist/kolibri/controller-CjCv-oWv.js +0 -5
  1374. package/dist/kolibri/controller-CjCv-oWv.js.map +0 -1
  1375. package/dist/kolibri/controller-DV0N3zXZ.js +0 -5
  1376. package/dist/kolibri/controller-DV0N3zXZ.js.map +0 -1
  1377. package/dist/kolibri/controller-icon-E2i_Tvo6.js +0 -5
  1378. package/dist/kolibri/controller-icon-E2i_Tvo6.js.map +0 -1
  1379. package/dist/kolibri/controller-y_HtAlud.js +0 -5
  1380. package/dist/kolibri/controller-y_HtAlud.js.map +0 -1
  1381. package/dist/kolibri/counter-dom-updater-DbyoBkbs.js +0 -5
  1382. package/dist/kolibri/counter-dom-updater-DbyoBkbs.js.map +0 -1
  1383. package/dist/kolibri/custom-class-C1NlV4ea.js +0 -5
  1384. package/dist/kolibri/custom-class-C1NlV4ea.js.map +0 -1
  1385. package/dist/kolibri/dev.utils-Bp48T7K-.js +0 -5
  1386. package/dist/kolibri/dev.utils-Bp48T7K-.js.map +0 -1
  1387. package/dist/kolibri/devtools-BXXGUaVw.js +0 -5
  1388. package/dist/kolibri/devtools-BXXGUaVw.js.map +0 -1
  1389. package/dist/kolibri/disabled-BcXSZaDo.js +0 -5
  1390. package/dist/kolibri/disabled-BcXSZaDo.js.map +0 -1
  1391. package/dist/kolibri/has-closer-BOCpdSna.js +0 -5
  1392. package/dist/kolibri/has-closer-BOCpdSna.js.map +0 -1
  1393. package/dist/kolibri/hide-label-B9ipEhG8.js +0 -5
  1394. package/dist/kolibri/hide-label-B9ipEhG8.js.map +0 -1
  1395. package/dist/kolibri/href-CwoWT6cU.js +0 -5
  1396. package/dist/kolibri/href-CwoWT6cU.js.map +0 -1
  1397. package/dist/kolibri/i18n-BsXYYo8j.js +0 -5
  1398. package/dist/kolibri/i18n-BsXYYo8j.js.map +0 -1
  1399. package/dist/kolibri/i18n-CoO4-0na.js +0 -5
  1400. package/dist/kolibri/i18n-CoO4-0na.js.map +0 -1
  1401. package/dist/kolibri/icons-BX75HD_Y.js +0 -5
  1402. package/dist/kolibri/icons-BX75HD_Y.js.map +0 -1
  1403. package/dist/kolibri/index-CJ6nR8sE.js +0 -6
  1404. package/dist/kolibri/index-CJ6nR8sE.js.map +0 -1
  1405. package/dist/kolibri/inline-W0JvHnyJ.js +0 -5
  1406. package/dist/kolibri/inline-W0JvHnyJ.js.map +0 -1
  1407. package/dist/kolibri/label-Ftw1VCQG.js +0 -5
  1408. package/dist/kolibri/label-Ftw1VCQG.js.map +0 -1
  1409. package/dist/kolibri/label-RX8TPr4R.js +0 -5
  1410. package/dist/kolibri/label-RX8TPr4R.js.map +0 -1
  1411. package/dist/kolibri/level-At6QFNwQ.js +0 -5
  1412. package/dist/kolibri/level-At6QFNwQ.js.map +0 -1
  1413. package/dist/kolibri/multiple-BZH-f6A7.js +0 -5
  1414. package/dist/kolibri/multiple-BZH-f6A7.js.map +0 -1
  1415. package/dist/kolibri/normalizers-Dmgd1cXp.js +0 -5
  1416. package/dist/kolibri/normalizers-Dmgd1cXp.js.map +0 -1
  1417. package/dist/kolibri/open-D-1JI17u.js +0 -5
  1418. package/dist/kolibri/open-D-1JI17u.js.map +0 -1
  1419. package/dist/kolibri/orientation-BOSiSKDw.js +0 -5
  1420. package/dist/kolibri/orientation-BOSiSKDw.js.map +0 -1
  1421. package/dist/kolibri/placeholder-BBA3H0w5.js +0 -5
  1422. package/dist/kolibri/placeholder-BBA3H0w5.js.map +0 -1
  1423. package/dist/kolibri/read-only-CR_961Fh.js +0 -5
  1424. package/dist/kolibri/read-only-CR_961Fh.js.map +0 -1
  1425. package/dist/kolibri/required-DSzN5_9V.js +0 -5
  1426. package/dist/kolibri/required-DSzN5_9V.js.map +0 -1
  1427. package/dist/kolibri/rows-BJbzOEWy.js +0 -5
  1428. package/dist/kolibri/rows-BJbzOEWy.js.map +0 -1
  1429. package/dist/kolibri/spell-check-CoGXExpz.js +0 -5
  1430. package/dist/kolibri/spell-check-CoGXExpz.js.map +0 -1
  1431. package/dist/kolibri/src-CtCjn8Bb.js +0 -5
  1432. package/dist/kolibri/src-CtCjn8Bb.js.map +0 -1
  1433. package/dist/kolibri/suggestions-Bqlc1vUw.js +0 -5
  1434. package/dist/kolibri/suggestions-Bqlc1vUw.js.map +0 -1
  1435. package/dist/kolibri/table-selection-BNnfuo03.js +0 -5
  1436. package/dist/kolibri/table-selection-BNnfuo03.js.map +0 -1
  1437. package/dist/kolibri/tooltip-align-ChjYN8Pt.js +0 -5
  1438. package/dist/kolibri/tooltip-align-ChjYN8Pt.js.map +0 -1
  1439. package/dist/kolibri/unique-nav-labels-D8t0Lwbk.js +0 -5
  1440. package/dist/kolibri/unique-nav-labels-D8t0Lwbk.js.map +0 -1
  1441. package/dist/kolibri/validation-BhdQk1rc.js +0 -5
  1442. package/dist/kolibri/validation-BhdQk1rc.js.map +0 -1
  1443. package/dist/kolibri/validation-C1wS_Ep2.js +0 -5
  1444. package/dist/kolibri/validation-C1wS_Ep2.js.map +0 -1
  1445. package/dist/kolibri/value-number-clamped-DlQghACX.js +0 -5
  1446. package/dist/kolibri/value-number-clamped-DlQghACX.js.map +0 -1
  1447. package/dist/kolibri/variant-class-name-DFWOlDkF.js +0 -5
  1448. package/dist/kolibri/variant-class-name-DFWOlDkF.js.map +0 -1
  1449. package/dist/kolibri/variant-quote-BI3zVSZn.js +0 -5
  1450. package/dist/kolibri/variant-quote-BI3zVSZn.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"kol-button-wc.entry.js","sources":["src/schema/props/aria-selected.ts","src/schema/props/button-callbacks.ts","src/schema/props/button-type.ts","src/components/button/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AriaSelectedPropType = boolean;\n\n/**\n * Marks this element as selected.\n * (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n */\nexport type PropAriaSelected = {\n\tariaSelected: AriaSelectedPropType;\n};\n\n/* validator */\nexport const validateAriaSelected = (component: Generic.Element.Component, value?: boolean): void => {\n\twatchBoolean(component, '_ariaSelected', value);\n};\n","import type { Callback } from '../enums';\nimport type { EventCallback, EventValueOrEventCallback } from '../types/callbacks';\nimport type { StencilUnknown } from '../types/unknown';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\n/* types */\nexport type ButtonCallbacksPropType<T> = {\n\t[Callback.onClick]?: EventValueOrEventCallback<MouseEvent, T>;\n\t[Callback.onMouseDown]?: EventCallback<MouseEvent>;\n\t[Callback.onFocus]?: EventCallback<FocusEvent>;\n\t[Callback.onBlur]?: EventCallback<FocusEvent>;\n};\n\n/**\n * Defines the callback functions for button events.\n */\nexport type PropButtonCallbacks<T> = {\n\ton: ButtonCallbacksPropType<T>;\n};\n\n/* validator */\nexport const validateButtonCallbacks = (component: Generic.Element.Component, value?: ButtonCallbacksPropType<StencilUnknown>): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['ButtonCallbacksPropType {Events.onClick, Events.onMouseDown, Events.onFocus, Events.onBlur}']),\n\t\tvalue,\n\t);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst buttonTypePropTypeOptions = ['button', 'reset', 'submit'] as const;\nexport type ButtonTypePropType = (typeof buttonTypePropTypeOptions)[number];\n\n/**\n * Defines either the type of the component or of the components interactive element.\n */\nexport type PropButtonType = {\n\ttype: ButtonTypePropType;\n};\n\n/* validator */\nexport const validateButtonType = (component: Generic.Element.Component, value?: ButtonTypePropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_type`,\n\t\t(value?) => typeof value === 'string' && buttonTypePropTypeOptions.includes(value),\n\t\tnew Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t);\n};\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tAriaExpandedPropType,\n\tAriaSelectedPropType,\n\tButtonAPI,\n\tButtonCallbacksPropType,\n\tButtonStates,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport {\n\tclassNameFromVariant,\n\tmapBoolean2String,\n\tmapStringOrBoolean2String,\n\tsetEventTarget,\n\tsetState,\n\tshowExpertSlot,\n\tvalidateAccessKey,\n\tvalidateAlternativeButtonLinkRole,\n\tvalidateAriaControls,\n\tvalidateAriaDescription,\n\tvalidateAriaExpanded,\n\tvalidateAriaSelected,\n\tvalidateButtonCallbacks,\n\tvalidateButtonType,\n\tvalidateCustomClass,\n\tvalidateDisabled,\n\tvalidateHideLabel,\n\tvalidateIcons,\n\tvalidateInline,\n\tvalidateLabelWithExpertSlot,\n\tvalidateShortKey,\n\tvalidateTooltipAlign,\n\tvalidateVariantClassName,\n\twatchString,\n} from '../../schema';\nimport { validateTabIndex } from '../../schema/props/tab-index';\n\nimport { getFeatureFlag } from 'adopted-style-sheets';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport { TooltipFC } from '../../internal/functional-components/tooltip/component';\nimport { TooltipController } from '../../internal/functional-components/tooltip/controller';\nimport type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport clsx from '../../utils/clsx';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport { propagateResetEventToForm, propagateSubmitEventToForm } from '../form/controller';\nimport { AssociatedInputController } from '../input-adapter-leanup/associated.controller';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-button-wc',\n\tshadow: false,\n})\nexport class KolButtonWc implements ButtonAPI, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonWcElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLButtonElement>();\n\tprivate readonly tooltipCtrl = new TooltipController(BaseWebComponent.stateLess);\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate readonly onClick = (event: MouseEvent) => {\n\t\tevent.stopPropagation();\n\t\tthis.tooltipCtrl.hideTooltip();\n\n\t\tif (this.state._type === 'submit') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t} else if (this.state._type === 'reset') {\n\t\t\tpropagateResetEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t} else {\n\t\t\t// TODO: Static form handling\n\t\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\n\t\t\t// Callback\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.ctaRef.el);\n\t\t\t\tthis.state._on?.onClick(event, this.state._value);\n\t\t\t}\n\t\t}\n\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.state._value);\n\t\t}\n\t};\n\n\tprivate readonly onMouseDown = (event: MouseEvent) => {\n\t\tthis.state?._on?.onMouseDown?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.mousedown);\n\t\t}\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.state?._on?.onFocus?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.focus);\n\t\t}\n\t};\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.state?._on?.onBlur?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.blur);\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\t\tconst ariaDescription = this.state._ariaDescription?.trim();\n\t\tconst badgeText = this.state._accessKey || this.state._shortKey;\n\t\tconst isDisabled = this.state._disabled === true;\n\t\tconst hideLabel = this.state._hideLabel === true;\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<button\n\t\t\t\t\tref={this.ctaRef}\n\t\t\t\t\taccessKey={this.state._accessKey}\n\t\t\t\t\taria-controls={this.state._ariaControls}\n\t\t\t\t\taria-description={ariaDescription || undefined}\n\t\t\t\t\taria-expanded={mapBoolean2String(this.state._ariaExpanded)}\n\t\t\t\t\taria-haspopup={this._ariaHasPopup}\n\t\t\t\t\taria-keyshortcuts={this.state._shortKey}\n\t\t\t\t\taria-label={hideLabel && typeof this.state._label === 'string' && this.state._label.length > 0 ? this.state._label : undefined}\n\t\t\t\t\taria-selected={mapStringOrBoolean2String(this.state._ariaSelected)}\n\t\t\t\t\tclass={clsx('kol-button', {\n\t\t\t\t\t\t'kol-button--disabled': isDisabled,\n\t\t\t\t\t\t[classNameFromVariant(this.state._variant, 'button')]: this.state._variant !== undefined,\n\t\t\t\t\t\t'kol-button--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-button--standalone': this.state._inline === false,\n\t\t\t\t\t\t'kol-button--hide-label': hideLabel,\n\t\t\t\t\t\t[this.state._customClass as string]: typeof this.state._customClass === 'string' && this.state._customClass.length > 0,\n\t\t\t\t\t})}\n\t\t\t\t\tdisabled={isDisabled}\n\t\t\t\t\tid={this.state._id}\n\t\t\t\t\tname={this.state._name}\n\t\t\t\t\tonClick={this.onClick}\n\t\t\t\t\tonMouseDown={this.onMouseDown}\n\t\t\t\t\tonFocus={this.onFocus}\n\t\t\t\t\tonBlur={this.onBlur}\n\t\t\t\t\trole={this.state._role}\n\t\t\t\t\ttabIndex={this.state._tabIndex}\n\t\t\t\t\ttype={this.state._type}\n\t\t\t\t>\n\t\t\t\t\t<SpanFC class=\"kol-button__text\" badgeText={badgeText} icons={this.state._icons} hideLabel={hideLabel} label={hasExpertSlot ? '' : this.state._label}>\n\t\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t\t</SpanFC>\n\t\t\t\t</button>\n\t\t\t\t{hideLabel && typeof this.state._label === 'string' && this.state._label.length > 0 && (\n\t\t\t\t\t<div class=\"kol-button__tooltip\">\n\t\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\t\tbadgeText={badgeText || ''}\n\t\t\t\t\t\t\tlabel={this.state._label}\n\t\t\t\t\t\t\tid={this.tooltipCtrl.getRenderProp('id')}\n\t\t\t\t\t\t\trefFloating={this.tooltipCtrl.setTooltipElementRef}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: AssociatedInputController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines the aria-haspopup attribute. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-haspopup)\n\t * @internal\n\t */\n\t@Prop() public _ariaHasPopup?: AriaHasPopupPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @internal\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType = getFeatureFlag('buttonVariantDefault', this.host) ?? 'normal';\n\n\t@State() public state: ButtonStates = {\n\t\t_icons: {},\n\t\t_label: '', // ⚠ required\n\t\t_on: {},\n\t\t_type: 'button',\n\t};\n\n\tpublic constructor() {\n\t\tthis.controller = new AssociatedInputController(this, 'button', this.host);\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this, value);\n\t\tvalidateAccessAndShortKey(value, this._shortKey);\n\t}\n\n\t@Watch('_ariaControls')\n\tpublic validateAriaControls(value?: string): void {\n\t\tvalidateAriaControls(this, value);\n\t}\n\n\t@Watch('_ariaDescription')\n\tpublic validateAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tvalidateAriaDescription(this, value);\n\t}\n\n\t@Watch('_ariaExpanded')\n\tpublic validateAriaExpanded(value?: AriaExpandedPropType): void {\n\t\tvalidateAriaExpanded(this, value);\n\t}\n\n\t@Watch('_ariaSelected')\n\tpublic validateAriaSelected(value?: AriaSelectedPropType): void {\n\t\tvalidateAriaSelected(this, value);\n\t}\n\n\t@Watch('_customClass')\n\tpublic validateCustomClass(value?: CustomClassPropType): void {\n\t\tvalidateCustomClass(this, value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tvalidateHideLabel(this, value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsPropType): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: IdPropType): void {\n\t\twatchString(this, '_id', value);\n\t}\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: false,\n\t\t});\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t\tthis.tooltipCtrl.watchLabel(typeof value === 'string' ? value : undefined);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: ButtonCallbacksPropType<StencilUnknown>): void {\n\t\tvalidateButtonCallbacks(this, value);\n\t}\n\n\t@Watch('_role')\n\tpublic validateRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tvalidateAlternativeButtonLinkRole(this, value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this, value);\n\t\tvalidateAccessAndShortKey(this._accessKey, value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this, value);\n\t}\n\n\t@Watch('_tooltipAlign')\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this, value);\n\t\tthis.tooltipCtrl.watchAlign(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: ButtonTypePropType): void {\n\t\tvalidateButtonType(this, value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: StencilUnknown): void {\n\t\tsetState(this, '_value', value);\n\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tvalidateVariantClassName(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAccessKey(this._accessKey);\n\t\tthis.validateAriaControls(this._ariaControls);\n\t\tthis.validateAriaDescription(this._ariaDescription);\n\t\tthis.validateAriaExpanded(this._ariaExpanded);\n\t\tthis.validateAriaSelected(this._ariaSelected);\n\t\tthis.validateCustomClass(this._customClass);\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateHideLabel(this._hideLabel);\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateId(this._id);\n\t\tthis.validateInline(this._inline);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateName(this._name);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateRole(this._role);\n\t\tthis.validateShortKey(this._shortKey);\n\t\tthis.validateSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.validateTabIndex(this._tabIndex);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t\tthis.validateType(this._type);\n\t\tthis.validateValue(this._value);\n\t\tthis.validateVariant(this._variant);\n\t\tvalidateAccessAndShortKey(this._accessKey, this._shortKey);\n\t\tthis.tooltipCtrl.componentWillLoad({\n\t\t\tlabel: typeof this.state._label === 'string' ? this.state._label : '',\n\t\t\talign: this._tooltipAlign,\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tif (this.ctaRef.el) {\n\t\t\tthis.tooltipCtrl.syncListeners(undefined, this.ctaRef.el, true);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.tooltipCtrl.destroy();\n\t}\n}\n"],"names":["get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ACrC,QAAA,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,aAAa,CAAC;AAC7C,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;AAC7B,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC;QACnC,yBAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1D,QAAA,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC;YAClC,KAAK,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,EAAE;YACrE,KAAK,EAAE,IAAI,CAAC,aAAa;AACzB,SAAA,CAAC;;IAGI,kBAAkB,GAAA;AACxB,QAAA,IAAI,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;AACnB,YAAA,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC;;;IAI1D,oBAAoB,GAAA;AAC1B,QAAA,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtZd,UAAA,CAAA;IAHZ,WAAW,CAAC,QAAQ;CAG0C,EAAA,WAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,WAAW,CAAC,QAAQ;CACiB,EAAA,WAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;"}
1
+ {"version":3,"file":"kol-button-wc.entry.js","sources":["src/schema/props/aria-selected.ts","src/schema/props/button-callbacks.ts","src/schema/props/button-type.ts","src/components/button/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AriaSelectedPropType = boolean;\n\n/**\n * Marks this element as selected.\n * (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n */\nexport type PropAriaSelected = {\n\tariaSelected: AriaSelectedPropType;\n};\n\n/* validator */\nexport const validateAriaSelected = (component: Generic.Element.Component, value?: boolean): void => {\n\twatchBoolean(component, '_ariaSelected', value);\n};\n","import type { Callback } from '../enums';\nimport type { EventCallback, EventValueOrEventCallback } from '../types/callbacks';\nimport type { StencilUnknown } from '../types/unknown';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\n/* types */\nexport type ButtonCallbacksPropType<T> = {\n\t[Callback.onClick]?: EventValueOrEventCallback<MouseEvent, T>;\n\t[Callback.onMouseDown]?: EventCallback<MouseEvent>;\n\t[Callback.onFocus]?: EventCallback<FocusEvent>;\n\t[Callback.onBlur]?: EventCallback<FocusEvent>;\n};\n\n/**\n * Defines the callback functions for button events.\n */\nexport type PropButtonCallbacks<T> = {\n\ton: ButtonCallbacksPropType<T>;\n};\n\n/* validator */\nexport const validateButtonCallbacks = (component: Generic.Element.Component, value?: ButtonCallbacksPropType<StencilUnknown>): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['ButtonCallbacksPropType {Events.onClick, Events.onMouseDown, Events.onFocus, Events.onBlur}']),\n\t\tvalue,\n\t);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst buttonTypePropTypeOptions = ['button', 'reset', 'submit'] as const;\nexport type ButtonTypePropType = (typeof buttonTypePropTypeOptions)[number];\n\n/**\n * Defines either the type of the component or of the components interactive element.\n */\nexport type PropButtonType = {\n\ttype: ButtonTypePropType;\n};\n\n/* validator */\nexport const validateButtonType = (component: Generic.Element.Component, value?: ButtonTypePropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_type`,\n\t\t(value?) => typeof value === 'string' && buttonTypePropTypeOptions.includes(value),\n\t\tnew Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t);\n};\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tAriaExpandedPropType,\n\tAriaSelectedPropType,\n\tButtonAPI,\n\tButtonCallbacksPropType,\n\tButtonStates,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport {\n\tclassNameFromVariant,\n\tmapBoolean2String,\n\tmapStringOrBoolean2String,\n\tsetEventTarget,\n\tsetState,\n\tshowExpertSlot,\n\tvalidateAccessKey,\n\tvalidateAlternativeButtonLinkRole,\n\tvalidateAriaControls,\n\tvalidateAriaDescription,\n\tvalidateAriaExpanded,\n\tvalidateAriaSelected,\n\tvalidateButtonCallbacks,\n\tvalidateButtonType,\n\tvalidateCustomClass,\n\tvalidateDisabled,\n\tvalidateHideLabel,\n\tvalidateIcons,\n\tvalidateInline,\n\tvalidateLabelWithExpertSlot,\n\tvalidateShortKey,\n\tvalidateTooltipAlign,\n\tvalidateVariantClassName,\n\twatchString,\n} from '../../schema';\nimport { validateTabIndex } from '../../schema/props/tab-index';\n\nimport { getFeatureFlag } from 'adopted-style-sheets';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport { TooltipFC } from '../../internal/functional-components/tooltip/component';\nimport { TooltipController } from '../../internal/functional-components/tooltip/controller';\nimport type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport clsx from '../../utils/clsx';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport { propagateResetEventToForm, propagateSubmitEventToForm } from '../form/controller';\nimport { AssociatedInputController } from '../input-adapter-leanup/associated.controller';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-button-wc',\n\tshadow: false,\n})\nexport class KolButtonWc implements ButtonAPI, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonWcElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLButtonElement>();\n\tprivate readonly tooltipCtrl = new TooltipController(BaseWebComponent.stateLess);\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate readonly onClick = (event: MouseEvent) => {\n\t\tevent.stopPropagation();\n\t\tthis.tooltipCtrl.hideTooltip();\n\n\t\tif (this.state._type === 'submit') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t} else if (this.state._type === 'reset') {\n\t\t\tpropagateResetEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t} else {\n\t\t\t// TODO: Static form handling\n\t\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\n\t\t\t// Callback\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.ctaRef.el);\n\t\t\t\tthis.state._on?.onClick(event, this.state._value);\n\t\t\t}\n\t\t}\n\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.state._value);\n\t\t}\n\t};\n\n\tprivate readonly onMouseDown = (event: MouseEvent) => {\n\t\tthis.state?._on?.onMouseDown?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.mousedown);\n\t\t}\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.state?._on?.onFocus?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.focus);\n\t\t}\n\t};\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.state?._on?.onBlur?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.blur);\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\t\tconst ariaDescription = this.state._ariaDescription?.trim();\n\t\tconst badgeText = this.state._accessKey || this.state._shortKey;\n\t\tconst isDisabled = this.state._disabled === true;\n\t\tconst hideLabel = this.state._hideLabel === true;\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<button\n\t\t\t\t\tref={this.ctaRef}\n\t\t\t\t\taccessKey={this.state._accessKey}\n\t\t\t\t\taria-controls={this.state._ariaControls}\n\t\t\t\t\taria-description={ariaDescription || undefined}\n\t\t\t\t\taria-expanded={mapBoolean2String(this.state._ariaExpanded)}\n\t\t\t\t\taria-haspopup={this._ariaHasPopup}\n\t\t\t\t\taria-keyshortcuts={this.state._shortKey}\n\t\t\t\t\taria-label={hideLabel && typeof this.state._label === 'string' && this.state._label.length > 0 ? this.state._label : undefined}\n\t\t\t\t\taria-selected={mapStringOrBoolean2String(this.state._ariaSelected)}\n\t\t\t\t\tclass={clsx('kol-button', {\n\t\t\t\t\t\t'kol-button--disabled': isDisabled,\n\t\t\t\t\t\t[classNameFromVariant(this.state._variant, 'button')]: this.state._variant !== undefined,\n\t\t\t\t\t\t'kol-button--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-button--standalone': this.state._inline === false,\n\t\t\t\t\t\t'kol-button--hide-label': hideLabel,\n\t\t\t\t\t\t[this.state._customClass as string]: typeof this.state._customClass === 'string' && this.state._customClass.length > 0,\n\t\t\t\t\t})}\n\t\t\t\t\tdisabled={isDisabled}\n\t\t\t\t\tid={this.state._id}\n\t\t\t\t\tname={this.state._name}\n\t\t\t\t\tonClick={this.onClick}\n\t\t\t\t\tonMouseDown={this.onMouseDown}\n\t\t\t\t\tonFocus={this.onFocus}\n\t\t\t\t\tonBlur={this.onBlur}\n\t\t\t\t\trole={this.state._role}\n\t\t\t\t\ttabIndex={this.state._tabIndex}\n\t\t\t\t\ttype={this.state._type}\n\t\t\t\t>\n\t\t\t\t\t<SpanFC class=\"kol-button__text\" badgeText={badgeText} icons={this.state._icons} hideLabel={hideLabel} label={hasExpertSlot ? '' : this.state._label}>\n\t\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t\t</SpanFC>\n\t\t\t\t</button>\n\t\t\t\t{hideLabel && typeof this.state._label === 'string' && this.state._label.length > 0 && (\n\t\t\t\t\t<div class=\"kol-button__tooltip\">\n\t\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\t\tbadgeText={badgeText || ''}\n\t\t\t\t\t\t\tlabel={this.state._label}\n\t\t\t\t\t\t\tid={this.tooltipCtrl.getRenderProp('id')}\n\t\t\t\t\t\t\trefFloating={this.tooltipCtrl.setTooltipElementRef}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: AssociatedInputController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines the aria-haspopup attribute. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-haspopup)\n\t * @internal\n\t */\n\t@Prop() public _ariaHasPopup?: AriaHasPopupPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @internal\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType = getFeatureFlag('buttonVariantDefault', this.host) ?? 'normal';\n\n\t@State() public state: ButtonStates = {\n\t\t_icons: {},\n\t\t_label: '', // ⚠ required\n\t\t_on: {},\n\t\t_type: 'button',\n\t};\n\n\tpublic constructor() {\n\t\tthis.controller = new AssociatedInputController(this, 'button', this.host);\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this, value);\n\t\tvalidateAccessAndShortKey(value, this._shortKey);\n\t}\n\n\t@Watch('_ariaControls')\n\tpublic validateAriaControls(value?: string): void {\n\t\tvalidateAriaControls(this, value);\n\t}\n\n\t@Watch('_ariaDescription')\n\tpublic validateAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tvalidateAriaDescription(this, value);\n\t}\n\n\t@Watch('_ariaExpanded')\n\tpublic validateAriaExpanded(value?: AriaExpandedPropType): void {\n\t\tvalidateAriaExpanded(this, value);\n\t}\n\n\t@Watch('_ariaSelected')\n\tpublic validateAriaSelected(value?: AriaSelectedPropType): void {\n\t\tvalidateAriaSelected(this, value);\n\t}\n\n\t@Watch('_customClass')\n\tpublic validateCustomClass(value?: CustomClassPropType): void {\n\t\tvalidateCustomClass(this, value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tvalidateHideLabel(this, value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsPropType): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: IdPropType): void {\n\t\twatchString(this, '_id', value);\n\t}\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: false,\n\t\t});\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t\tthis.tooltipCtrl.watchLabel(typeof value === 'string' ? value : undefined);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: ButtonCallbacksPropType<StencilUnknown>): void {\n\t\tvalidateButtonCallbacks(this, value);\n\t}\n\n\t@Watch('_role')\n\tpublic validateRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tvalidateAlternativeButtonLinkRole(this, value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this, value);\n\t\tvalidateAccessAndShortKey(this._accessKey, value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this, value);\n\t}\n\n\t@Watch('_tooltipAlign')\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this, value);\n\t\tthis.tooltipCtrl.watchAlign(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: ButtonTypePropType): void {\n\t\tvalidateButtonType(this, value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: StencilUnknown): void {\n\t\tsetState(this, '_value', value);\n\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tvalidateVariantClassName(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAccessKey(this._accessKey);\n\t\tthis.validateAriaControls(this._ariaControls);\n\t\tthis.validateAriaDescription(this._ariaDescription);\n\t\tthis.validateAriaExpanded(this._ariaExpanded);\n\t\tthis.validateAriaSelected(this._ariaSelected);\n\t\tthis.validateCustomClass(this._customClass);\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateHideLabel(this._hideLabel);\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateId(this._id);\n\t\tthis.validateInline(this._inline);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateName(this._name);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateRole(this._role);\n\t\tthis.validateShortKey(this._shortKey);\n\t\tthis.validateSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.validateTabIndex(this._tabIndex);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t\tthis.validateType(this._type);\n\t\tthis.validateValue(this._value);\n\t\tthis.validateVariant(this._variant);\n\t\tvalidateAccessAndShortKey(this._accessKey, this._shortKey);\n\t\tthis.tooltipCtrl.componentWillLoad({\n\t\t\tlabel: typeof this.state._label === 'string' ? this.state._label : '',\n\t\t\talign: this._tooltipAlign,\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tif (this.ctaRef.el) {\n\t\t\tthis.tooltipCtrl.syncListeners(undefined, this.ctaRef.el, true);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.tooltipCtrl.destroy();\n\t}\n}\n"],"names":["getFeatureFlag"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAAe,KAAU;AACnG,IAAA,YAAY,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AAChD,CAAC;;ACIM,MAAM,uBAAuB,GAAG,CAAC,SAAoC,EAAE,KAA+C,KAAU;AACtI,IAAA,cAAc,CACb,SAAS,EACT,CAAA,GAAA,CAAK,EACL,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EACtD,IAAI,GAAG,CAAC,CAAC,6FAA6F,CAAC,CAAC,EACxG,KAAK,CACL;AACF,CAAC;;AC1BD,MAAM,yBAAyB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;AAWjE,MAAM,kBAAkB,GAAG,CAAC,SAAoC,EAAE,KAA0B,KAAU;AAC5G,IAAA,cAAc,CACb,SAAS,EACT,CAAO,KAAA,CAAA,EACP,CAAC,KAAM,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,yBAAyB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAClF,IAAI,GAAG,CAAC,CAAC,CAAA,mBAAA,EAAsB,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAE,CAAA,CAAC,CAAC,EACvE,KAAK,CACL;AACF,CAAC;;MCqDY,WAAW,GAAA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,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,WAAW,CAAC,QAAQ;CACiB,EAAA,WAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;"}
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { r as registerInstance, h, g as getElement } from './index-CJ6nR8sE.js';
4
+ import { r as registerInstance, h, g as getElement } from './index-Dy5OebFJ.js';
5
5
  import { _ as __decorate } from './tslib.es6-QNbPBOk5.js';
6
- import { b as KolButtonWcTag } from './component-names-Dy77vq43.js';
6
+ import { b as KolButtonWcTag } from './component-names-BGnhDM7F.js';
7
7
  import { d as delegateFocus, a as delegateClick, c as createCtaRef } from './element-interaction-C5-6aPzz.js';
8
- import './common-D5l8QiaY.js';
8
+ import './common-DQP27q1D.js';
9
9
  import './element-focus-BQXzaLL9.js';
10
10
 
11
- const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n --kol-a11y-font-color: black;\n --kol-a11y-background-color: white;\n color: var(--kol-a11y-font-color);\n background-color: var(--kol-a11y-background-color);\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n --kol-a11y-font-family: Verdana;\n font-family: var(--kol-a11y-font-family);\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1785826695208\"); /* IE9*/\n src: url(\"kolicons.eot?t=1785826695208#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1785826695208\") format(\"woff2\"), url(\"kolicons.woff?t=1785826695208\") format(\"woff\"), url(\"kolicons.ttf?t=1785826695208\") format(\"truetype\"), url(\"kolicons.svg?t=1785826695208#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n height: 100%;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n}";
11
+ const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n --kol-a11y-font-color: black;\n --kol-a11y-background-color: white;\n color: var(--kol-a11y-font-color);\n background-color: var(--kol-a11y-background-color);\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n --kol-a11y-font-family: Verdana;\n font-family: var(--kol-a11y-font-family);\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1786608057898\"); /* IE9*/\n src: url(\"kolicons.eot?t=1786608057898#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1786608057898\") format(\"woff2\"), url(\"kolicons.woff?t=1786608057898\") format(\"woff\"), url(\"kolicons.ttf?t=1786608057898\") format(\"truetype\"), url(\"kolicons.svg?t=1786608057898#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n height: 100%;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n}";
12
12
 
13
13
  const KolButton = class {
14
14
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"version":3,"file":"kol-button.entry.js","sources":["src/components/button/style.scss?tag=kol-button&mode=default&encapsulation=shadow","src/components/button/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../@shared/button.mixin' as *;\n\n@layer kol-component {\n\t@include kol-button-styles('kol-button');\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonProps,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Button** component is used to present users with action options and arrange them in a clear hierarchy. It helps users find the most important actions on a page or within a viewport and allows them to execute those actions. The button label clearly indicates which action will be triggered. Buttons allow users to confirm a change, complete steps in a task, or make decisions.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolButton implements ButtonProps, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this._value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,26UAA26U;;MCqCt7U,SAAS,GAAA,MAAA;AAPtB,IAAA,WAAA,CAAA,OAAA,EAAA;;AASoB,QAAA,IAAM,CAAA,MAAA,GAAG,YAAY,EAA0B;AAyFnD,QAAA,IAAS,CAAA,SAAA,GAAa,KAAK;AAO3B,QAAA,IAAU,CAAA,UAAA,GAAa,KAAK;AAU5B,QAAA,IAAO,CAAA,OAAA,GAAoB,KAAK;AAsChC,QAAA,IAAa,CAAA,aAAA,GAA0B,KAAK;AAK5C,QAAA,IAAK,CAAA,KAAA,GAAwB,QAAQ;AAWpD;AAzJO,IAAA,MAAM,QAAQ,GAAA;QACpB,OAAO,IAAI,CAAC,MAAM;;AAUZ,IAAA,MAAM,KAAK,CAAC,OAAyB;IAOrC,MAAM,KAAK,GAAA;IAEX,MAAM,GAAA;A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","src/components/button/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../@shared/button.mixin' as *;\n\n@layer kol-component {\n\t@include kol-button-styles('kol-button');\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonProps,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Button** component is used to present users with action options and arrange them in a clear hierarchy. It helps users find the most important actions on a page or within a viewport and allows them to execute those actions. The button label clearly indicates which action will be triggered. Buttons allow users to confirm a change, complete steps in a task, or make decisions.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolButton implements ButtonProps, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this._value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,26UAA26U;;MCqCt7U,SAAS,GAAA,MAAA;AAPtB,IAAA,WAAA,CAAA,OAAA,EAAA;;AASoB,QAAA,IAAM,CAAA,MAAA,GAAG,YAAY,EAA0B;AAyFnD,QAAA,IAAS,CAAA,SAAA,GAAa,KAAK;AAO3B,QAAA,IAAU,CAAA,UAAA,GAAa,KAAK;AAU5B,QAAA,IAAO,CAAA,OAAA,GAAoB,KAAK;AAsChC,QAAA,IAAa,CAAA,aAAA,GAA0B,KAAK;AAK5C,QAAA,IAAK,CAAA,KAAA,GAAwB,QAAQ;AAWpD;AAzJO,IAAA,MAAM,QAAQ,GAAA;QACpB,OAAO,IAAI,CAAC,MAAM;;AAUZ,IAAA,MAAM,KAAK,CAAC,OAAyB;IAOrC,MAAM,KAAK,GAAA;IAEX,MAAM,GAAA;AACZ,QAAA,QACC,CAAC,CAAA,cAAc,EACd,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEvB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAA,CAAQ,CACzB;;;;AAlCN,UAAA,CAAA;IAHZ,aAAa,CAAC,QAAQ;CAGwC,EAAA,SAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,aAAa,CAAC,QAAQ;CACe,EAAA,SAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;"}
@@ -1,34 +1,39 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-CJ6nR8sE.js';
5
- import { s as setState } from './common-D5l8QiaY.js';
6
- import { v as validateHasCloser } from './has-closer-BOCpdSna.js';
7
- import { v as validateLabel } from './label-Ftw1VCQG.js';
8
- import { t as translate } from './i18n-BsXYYo8j.js';
9
- import { w as watchHeadingLevel } from './validation-BhdQk1rc.js';
10
- import { b as KolButtonWcTag } from './component-names-Dy77vq43.js';
11
- import './Alert-B0-brpb4.js';
12
- import { c as createUniqueId } from './dev.utils-Bp48T7K-.js';
13
- import { K as KolHeadingFc } from './Heading-B1x6PKRk.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-Dy5OebFJ.js';
5
+ import { _ as __decorate } from './tslib.es6-QNbPBOk5.js';
6
+ import { s as setState } from './common-DQP27q1D.js';
7
+ import { v as validateHasCloser } from './has-closer-CnQ4DWtR.js';
8
+ import { v as validateHref } from './href-kvDpGqmo.js';
9
+ import { v as validateLabel } from './label-Dwxm-V_h.js';
10
+ import { v as validateLinkTarget } from './link-target-D34ANoHg.js';
11
+ import { t as translate } from './i18n-D8kFHvIt.js';
12
+ import { w as watchHeadingLevel } from './validation-DLEaOerO.js';
13
+ import { b as KolButtonWcTag } from './component-names-BGnhDM7F.js';
14
+ import './Alert-ISJ3JUa5.js';
15
+ import { c as createUniqueId } from './dev.utils-6rI-ojpf.js';
16
+ import { K as KolHeadingFc } from './Heading-vsrFh4hD.js';
14
17
  import './base-web-component-BT6jbe_v.js';
15
- import './component-D7UTo-Wg.js';
16
- import './variant-quote-BI3zVSZn.js';
18
+ import './component-BQ5Ub0wy.js';
19
+ import './variant-quote-CZ5CemUm.js';
20
+ import { b as directFocus, e as directClick, c as createCtaRef } from './element-interaction-C5-6aPzz.js';
17
21
  import { d as dispatchDomEvent, K as KolEvent } from './events-BhfZTW2e.js';
18
- import './i18n-CoO4-0na.js';
19
- import './level-At6QFNwQ.js';
20
- import './normalizers-Dmgd1cXp.js';
22
+ import './i18n-C39F0QhM.js';
23
+ import './level-PcWGlcVG.js';
24
+ import './normalizers-Cpy0t9-X.js';
21
25
  import './_Uint8Array-kJHDjtoP.js';
22
26
  import './isArray-CcrBs4JM.js';
23
- import './tslib.es6-QNbPBOk5.js';
24
27
  import './clsx-COFh-Vc8.js';
25
- import './bem-registry-Coj2Hlbo.js';
26
- import './component-C0fGqGE4.js';
28
+ import './bem-registry-DdEadmB1.js';
29
+ import './component-CVwySiGB.js';
30
+ import './element-focus-BQXzaLL9.js';
27
31
 
28
32
  const KolCardWc = class {
29
33
  constructor(hostRef) {
30
34
  registerInstance(this, hostRef);
31
35
  this.translateClose = translate('kol-close');
36
+ this.ctaRef = createCtaRef();
32
37
  this.close = () => {
33
38
  var _a;
34
39
  if (((_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) !== undefined) {
@@ -41,6 +46,20 @@ const KolCardWc = class {
41
46
  this.on = {
42
47
  onClick: this.close,
43
48
  };
49
+ this.onFocus = (event) => {
50
+ var _a, _b, _c;
51
+ (_c = (_b = (_a = this.state) === null || _a === void 0 ? void 0 : _a._on) === null || _b === void 0 ? void 0 : _b.onFocus) === null || _c === void 0 ? void 0 : _c.call(_b, event);
52
+ if (this.host) {
53
+ dispatchDomEvent(this.host, KolEvent.focus);
54
+ }
55
+ };
56
+ this.onBlur = (event) => {
57
+ var _a, _b, _c;
58
+ (_c = (_b = (_a = this.state) === null || _a === void 0 ? void 0 : _a._on) === null || _b === void 0 ? void 0 : _b.onBlur) === null || _c === void 0 ? void 0 : _c.call(_b, event);
59
+ if (this.host) {
60
+ dispatchDomEvent(this.host, KolEvent.blur);
61
+ }
62
+ };
44
63
  this._hasCloser = false;
45
64
  this._headingId = createUniqueId('card-heading');
46
65
  this._level = 0;
@@ -49,8 +68,10 @@ const KolCardWc = class {
49
68
  };
50
69
  this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';
51
70
  }
71
+ async focus(options) { }
72
+ async click() { }
52
73
  render() {
53
- return (h(Host, { key: '909cc395209bdb2eba2f674f5fe9f4b8750fccef' }, h("article", { key: '8bbd3d853a4ea8bc6f83dedf245414e8d9421461', "aria-labelledby": this._headingId, class: "kol-card" }, h(KolHeadingFc, { key: '2609f6812d8d909de20b00162cb119b32c0d7f23', class: "kol-card__header", id: this._headingId, level: this.state._level }, this.state._label), h("div", { key: 'a953cb61794cf76980111256849685184cc5dcf9', class: "kol-card__content" }, h("slot", { key: '31d86a46cb4e9d9cee62692aeea43f08db236ccb' })), this.state._hasCloser && (h(KolButtonWcTag, { key: '763993312892b16856634e6d0d10de5cb1454629', class: "kol-card__close-button kol-close-button", "data-testid": "card-close-button", _hideLabel: true, _icons: {
74
+ return (h(Host, { key: '4edf0a6c01fafceaaa8c102f0e349bd9c6e841a2' }, h("article", { key: 'f5a7df5e99eebe1c2ceeb3c1f4e622ffa65779f6', "aria-labelledby": this._headingId, class: "kol-card" }, this._href && (h("a", { key: 'f72fd81aa9624d1ef831cb25c7d8930471905a09', href: this._href, target: this._target, class: "kol-card__link", onFocus: this.onFocus, onBlur: this.onBlur, ref: this.ctaRef }, h(KolHeadingFc, { key: 'bf617bae69235ae1bdb4a0410d8c692d3accf4ee', class: "kol-card__header", id: this._headingId, level: this.state._level }, this.state._label))), !this._href && (h(KolHeadingFc, { key: '672fe755206dad549ab93aeeac7f18fd6c350153', class: "kol-card__header", id: this._headingId, level: this.state._level }, this.state._label)), h("div", { key: '2055b15c3f21a2e0633b14d493c11b485dfd9f82', class: "kol-card__content" }, h("slot", { key: '654e87e4ffb96aea9c26728f0ebb783d8ac125a9' })), this.state._hasCloser && (h(KolButtonWcTag, { key: '090f520d1af68e7f0fc0f4ed2e12dd4799af21a0', class: "kol-card__close-button kol-close-button", "data-testid": "card-close-button", _hideLabel: true, _icons: {
54
75
  left: {
55
76
  icon: 'kolicon-cross',
56
77
  },
@@ -59,6 +80,9 @@ const KolCardWc = class {
59
80
  validateHasCloser(value) {
60
81
  validateHasCloser(this, value);
61
82
  }
83
+ validateHref(value) {
84
+ validateHref(this, value);
85
+ }
62
86
  validateLabel(value) {
63
87
  validateLabel(this, value, {
64
88
  required: true,
@@ -74,20 +98,33 @@ const KolCardWc = class {
74
98
  });
75
99
  }
76
100
  }
101
+ validateTarget(value) {
102
+ validateLinkTarget(this, value);
103
+ }
77
104
  componentWillLoad() {
78
105
  this.validateHasCloser(this._hasCloser);
106
+ this.validateHref(this._href);
79
107
  this.validateLabel(this._label);
80
108
  this.validateLevel(this._level);
81
109
  this.validateOn(this._on);
110
+ this.validateTarget(this._target);
82
111
  }
83
112
  get host() { return getElement(this); }
84
113
  static get watchers() { return {
85
114
  "_hasCloser": ["validateHasCloser"],
115
+ "_href": ["validateHref"],
86
116
  "_label": ["validateLabel"],
87
117
  "_level": ["validateLevel"],
88
- "_on": ["validateOn"]
118
+ "_on": ["validateOn"],
119
+ "_target": ["validateTarget"]
89
120
  }; }
90
121
  };
122
+ __decorate([
123
+ directFocus('ctaRef')
124
+ ], KolCardWc.prototype, "focus", null);
125
+ __decorate([
126
+ directClick('ctaRef')
127
+ ], KolCardWc.prototype, "click", null);
91
128
 
92
129
  export { KolCardWc as kol_card_wc };
93
130
  //# sourceMappingURL=kol-card-wc.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-card-wc.entry.js","sources":["src/components/card/component.tsx"],"sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { CardAPI, CardStates, HasCloserPropType, HeadingLevel, KoliBriAlertEventCallbacks, KoliBriCardEventCallbacks, LabelPropType } from '../../schema';\nimport { setState, validateHasCloser, validateLabel } from '../../schema';\n\nimport { translate } from '../../i18n';\nimport { watchHeadingLevel } from '../heading/validation';\n\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { KolHeadingFc } from '../../functional-components';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\n\n/**\n * @internal\n * @slot - Allows arbitrary HTML to be inserted into the content area of the card.\n *\n * ## Accessibility\n * The card uses semantic `<article>` markup with `aria-labelledby` to properly label the content region.\n * When displaying multiple cards, wrap them in a `<ul>` or `<ol>` to group them semantically.\n *\n * @example\n * // Single card\n * <kol-card-wc _label=\"Card Title\">Content here</kol-card-wc>\n *\n * // Multiple cards (recommended)\n * <ul>\n * <li><kol-card-wc _label=\"Card 1\">Content 1</kol-card-wc></li>\n * <li><kol-card-wc _label=\"Card 2\">Content 2</kol-card-wc></li>\n * </ul>\n */\n@Component({\n\ttag: 'kol-card-wc',\n\tshadow: false,\n})\nexport class KolCardWc implements CardAPI {\n\t@Element() private readonly host?: HTMLKolCardElement;\n\tprivate readonly translateClose = translate('kol-close');\n\n\tprivate readonly close = () => {\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.close);\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClick: this.close,\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t{/*\n\t\t\t\t\tUsing a semantic <article> container with aria-labelledby provides proper\n\t\t\t\t\taccessibility for a self-contained card. When many cards appear together,\n\t\t\t\t\twrap them in a list (<ul> / <ol>) to preserve clean page navigation.\n\t\t\t\t*/}\n\t\t\t\t<article aria-labelledby={this._headingId} class=\"kol-card\">\n\t\t\t\t\t<KolHeadingFc class=\"kol-card__header\" id={this._headingId} level={this.state._level}>\n\t\t\t\t\t\t{this.state._label}\n\t\t\t\t\t</KolHeadingFc>\n\t\t\t\t\t<div class=\"kol-card__content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.state._hasCloser && (\n\t\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\t\tclass=\"kol-card__close-button kol-close-button\"\n\t\t\t\t\t\t\tdata-testid=\"card-close-button\"\n\t\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\t\ticon: 'kolicon-cross',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t_label={this.translateClose}\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</article>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the ID of the heading element. If not provided, an internal ID will be generated.\n\t * @internal\n\t */\n\t@Prop() public _headingId?: string = createUniqueId('card-heading');\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 0;\n\n\t/**\n\t * Defines the event callback functions for the component.\n\t */\n\t@Prop() public _on?: KoliBriCardEventCallbacks;\n\n\t@State() public state: CardStates = {\n\t\t_label: '', // ⚠ required\n\t};\n\n\tprivate validateOnValue = (value: unknown): boolean =>\n\t\ttypeof value === 'object' && value !== null && typeof (value as KoliBriCardEventCallbacks).onClose === 'function';\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriCardEventCallbacks): void {\n\t\tif (this.validateOnValue(value)) {\n\t\t\tsetState<KoliBriCardEventCallbacks>(this, '_on', {\n\t\t\t\tonClose: (value as KoliBriAlertEventCallbacks).onClose,\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateHasCloser(this._hasCloser);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;MAmCa,SAAS,GAAA,MAAA;AAJtB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMkB,QAAA,IAAA,CAAA,cAAc,GAAG,SAAS,CA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I,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-card-wc.entry.js","sources":["src/components/card/component.tsx"],"sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tCardAPI,\n\tCardStates,\n\tClickableElement,\n\tFocusableElement,\n\tHasCloserPropType,\n\tHeadingLevel,\n\tHrefPropType,\n\tKoliBriAlertEventCallbacks,\n\tKoliBriCardEventCallbacks,\n\tLabelPropType,\n\tLinkTargetPropType,\n} from '../../schema';\nimport { setState, validateHasCloser, validateHref, validateLabel, validateLinkTarget } from '../../schema';\n\nimport { translate } from '../../i18n';\nimport { watchHeadingLevel } from '../heading/validation';\n\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { KolHeadingFc } from '../../functional-components';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\n\n/**\n * @internal\n * @slot - Allows arbitrary HTML to be inserted into the content area of the card.\n *\n * ## Accessibility\n * The card uses semantic `<article>` markup with `aria-labelledby` to properly label the content region.\n * When displaying multiple cards, wrap them in a `<ul>` or `<ol>` to group them semantically.\n *\n * @example\n * // Single card\n * <kol-card-wc _label=\"Card Title\">Content here</kol-card-wc>\n *\n * // Multiple cards (recommended)\n * <ul>\n * <li><kol-card-wc _label=\"Card 1\">Content 1</kol-card-wc></li>\n * <li><kol-card-wc _label=\"Card 2\">Content 2</kol-card-wc></li>\n * </ul>\n */\n@Component({\n\ttag: 'kol-card-wc',\n\tshadow: false,\n})\nexport class KolCardWc implements CardAPI, ClickableElement, FocusableElement {\n\t@Element() private readonly host?: HTMLKolCardElement;\n\tprivate readonly translateClose = translate('kol-close');\n\tprotected readonly ctaRef = createCtaRef<HTMLAnchorElement>();\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate readonly close = () => {\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.close);\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClick: this.close,\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.state?._on?.onFocus?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.focus);\n\t\t}\n\t};\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.state?._on?.onBlur?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.blur);\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t{/*\n\t\t\t\t\tUsing a semantic <article> container with aria-labelledby provides proper\n\t\t\t\t\taccessibility for a self-contained card. When many cards appear together,\n\t\t\t\t\twrap them in a list (<ul> / <ol>) to preserve clean page navigation.\n\t\t\t\t*/}\n\t\t\t\t<article aria-labelledby={this._headingId} class=\"kol-card\">\n\t\t\t\t\t{this._href && (\n\t\t\t\t\t\t<a href={this._href} target={this._target} class=\"kol-card__link\" onFocus={this.onFocus} onBlur={this.onBlur} ref={this.ctaRef}>\n\t\t\t\t\t\t\t<KolHeadingFc class=\"kol-card__header\" id={this._headingId} level={this.state._level}>\n\t\t\t\t\t\t\t\t{this.state._label}\n\t\t\t\t\t\t\t</KolHeadingFc>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t)}\n\t\t\t\t\t{!this._href && (\n\t\t\t\t\t\t<KolHeadingFc class=\"kol-card__header\" id={this._headingId} level={this.state._level}>\n\t\t\t\t\t\t\t{this.state._label}\n\t\t\t\t\t\t</KolHeadingFc>\n\t\t\t\t\t)}\n\t\t\t\t\t<div class=\"kol-card__content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.state._hasCloser && (\n\t\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\t\tclass=\"kol-card__close-button kol-close-button\"\n\t\t\t\t\t\t\tdata-testid=\"card-close-button\"\n\t\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\t\ticon: 'kolicon-cross',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t_label={this.translateClose}\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</article>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the ID of the heading element. If not provided, an internal ID will be generated.\n\t * @internal\n\t */\n\t@Prop() public _headingId?: string = createUniqueId('card-heading');\n\n\t/**\n\t * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href?: HrefPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 0;\n\n\t/**\n\t * Defines the event callback functions for the component.\n\t */\n\t@Prop() public _on?: KoliBriCardEventCallbacks;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n\n\t@State() public state: CardStates = {\n\t\t_label: '', // ⚠ required\n\t};\n\n\tprivate validateOnValue = (value: unknown): boolean =>\n\t\ttypeof value === 'object' && value !== null && typeof (value as KoliBriCardEventCallbacks).onClose === 'function';\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_href')\n\tpublic validateHref(value?: string): void {\n\t\tvalidateHref(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriCardEventCallbacks): void {\n\t\tif (this.validateOnValue(value)) {\n\t\t\tsetState<KoliBriCardEventCallbacks>(this, '_on', {\n\t\t\t\tonClose: (value as KoliBriAlertEventCallbacks).onClose,\n\t\t\t});\n\t\t}\n\t}\n\n\t@Watch('_target')\n\tpublic validateTarget(value?: LinkTargetPropType): void {\n\t\tvalidateLinkTarget(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateHasCloser(this._hasCloser);\n\t\tthis.validateHref(this._href);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateTarget(this._target);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgDa,SAAS,GAAA,MAAA;AAJtB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMkB,QAAA,IAAA,CAAA,cAAc,GAAG,SAAS,CAAC,WAAW,CAAC;AACrC,QAAA,IAAM,CAAA,MAAA,GAAG,YAAY,EAA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,CAAC;;AAII,IAAA,aAAa,CAAC,KAAoB,EAAA;AACxC,QAAA,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC;;AAIxB,IAAA,UAAU,CAAC,KAAiC,EAAA;AAClD,QAAA,IAAI,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;AAChC,YAAA,QAAQ,CAA4B,IAAI,EAAE,KAAK,EAAE;gBAChD,OAAO,EAAG,KAAoC,CAAC,OAAO;AACtD,aAAA,CAAC;;;AAKG,IAAA,cAAc,CAAC,KAA0B,EAAA;AAC/C,QAAA,kBAAkB,CAAC,IAAI,EAAE,KAAK,CAAC;;IAGzB,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;AACvC,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;AAC7B,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC;AACzB,QAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;AAtKrB,UAAA,CAAA;IAHZ,WAAW,CAAC,QAAQ;CAG0C,EAAA,SAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,WAAW,CAAC,QAAQ;CACiB,EAAA,SAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;"}
@@ -1,22 +1,35 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { r as registerInstance, h } from './index-CJ6nR8sE.js';
5
- import { d as KolCardWcTag } from './component-names-Dy77vq43.js';
6
- import './common-D5l8QiaY.js';
4
+ import { r as registerInstance, h, g as getElement } from './index-Dy5OebFJ.js';
5
+ import { _ as __decorate } from './tslib.es6-QNbPBOk5.js';
6
+ import { d as KolCardWcTag } from './component-names-BGnhDM7F.js';
7
+ import { d as delegateFocus, a as delegateClick, c as createCtaRef } from './element-interaction-C5-6aPzz.js';
8
+ import './common-DQP27q1D.js';
9
+ import './element-focus-BQXzaLL9.js';
7
10
 
8
- const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n --kol-a11y-font-color: black;\n --kol-a11y-background-color: white;\n color: var(--kol-a11y-font-color);\n background-color: var(--kol-a11y-background-color);\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n --kol-a11y-font-family: Verdana;\n font-family: var(--kol-a11y-font-family);\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1785826695208\"); /* IE9*/\n src: url(\"kolicons.eot?t=1785826695208#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1785826695208\") format(\"woff2\"), url(\"kolicons.woff?t=1785826695208\") format(\"woff\"), url(\"kolicons.ttf?t=1785826695208\") format(\"truetype\"), url(\"kolicons.svg?t=1785826695208#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card :host {\n display: inline-block;\n }\n .kol-card .kol-button {\n display: flex;\n height: 100%;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-card .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: \"header close\" \"content content\";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n }\n .kol-card__header {\n align-self: start;\n grid-area: header;\n }\n .kol-card__content {\n align-self: stretch;\n grid-area: content;\n }\n .kol-card__close-button {\n grid-area: close;\n }\n}";
11
+ const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n --kol-a11y-font-color: black;\n --kol-a11y-background-color: white;\n color: var(--kol-a11y-font-color);\n background-color: var(--kol-a11y-background-color);\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n --kol-a11y-font-family: Verdana;\n font-family: var(--kol-a11y-font-family);\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1786608057898\"); /* IE9*/\n src: url(\"kolicons.eot?t=1786608057898#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1786608057898\") format(\"woff2\"), url(\"kolicons.woff?t=1786608057898\") format(\"woff\"), url(\"kolicons.ttf?t=1786608057898\") format(\"truetype\"), url(\"kolicons.svg?t=1786608057898#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card :host {\n display: inline-block;\n }\n .kol-card .kol-button {\n display: flex;\n height: 100%;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-card .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: \"header close\" \"content content\";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n }\n .kol-card__header {\n align-self: start;\n grid-area: header;\n }\n .kol-card__content {\n align-self: stretch;\n grid-area: content;\n }\n .kol-card__close-button {\n grid-area: close;\n }\n .kol-card:has(.kol-card__link) {\n position: relative;\n }\n .kol-card__link::after {\n position: absolute;\n inset: 0;\n content: \"\";\n cursor: pointer;\n }\n}";
9
12
 
10
13
  const KolCard = class {
11
14
  constructor(hostRef) {
12
15
  registerInstance(this, hostRef);
16
+ this.ctaRef = createCtaRef();
13
17
  this._hasCloser = false;
14
18
  this._level = 0;
15
19
  }
20
+ async focus(options) { }
21
+ async click() { }
16
22
  render() {
17
- return (h(KolCardWcTag, { key: 'f62c4259173d32d200f56a4e8b5d94e80d125a7c', _on: this._on, _hasCloser: this._hasCloser, _label: this._label, _level: this._level }, h("slot", { key: '20ba15197879de826bbd47dca19616ec30267f6a' })));
23
+ return (h(KolCardWcTag, { key: '1fbd7841caa6aa8219ea7d6206c460e2d6c1bd9b', _on: this._on, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _href: this._href, _target: this._target, ref: this.ctaRef }, h("slot", { key: '998f338618766bc36272bf950caaf88dfcf8a978' })));
18
24
  }
25
+ get host() { return getElement(this); }
19
26
  };
27
+ __decorate([
28
+ delegateFocus('ctaRef')
29
+ ], KolCard.prototype, "focus", null);
30
+ __decorate([
31
+ delegateClick('ctaRef')
32
+ ], KolCard.prototype, "click", null);
20
33
  KolCard.style = {
21
34
  default: defaultStyleCss
22
35
  };
@@ -1 +1 @@
1
- {"version":3,"file":"kol-card.entry.js","sources":["src/components/card/style.scss?tag=kol-card&mode=default&encapsulation=shadow","src/components/card/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n@use '../@shared/card.mixin' as *;\n@use '../@shared/mixins' as *;\n@use '../tooltip/style.scss' as *;\n\n@layer kol-component {\n\t@include kol-card;\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Prop } from '@stencil/core';\nimport type { CardProps, HeadingLevel, KoliBriCardEventCallbacks, LabelPropType } from '../../schema';\n\nimport { KolCardWcTag } from '../../core/component-names';\n\n/**\n * The **Card** component is ideal for visually highlighting individual sections of your website. It allows you to structure your content very easily.\n *\n * The **Card** component consists of a **_title area_** and a **_content area_**.\n *\n * The **title area** is displayed in a larger font. The **content area** is visually separated from the title area by a horizontal dividing line and is rendered in the default font.\n *\n * @slot - Allows arbitrary HTML to be inserted into the content area of the card.\n */\n@Component({\n\ttag: 'kol-card',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolCard implements CardProps {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolCardWcTag _on={this._on} _hasCloser={this._hasCloser} _label={this._label} _level={this._level}>\n\t\t\t\t<slot />\n\t\t\t</KolCardWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the event callback functions for the component.\n\t */\n\t@Prop() public _on?: KoliBriCardEventCallbacks;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 0;\n}\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,4qWAA4qW;;MCsBvrW,OAAO,GAAA,MAAA;AAPpB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAyBgB,QAAA,IAAU,CAAA,UAAA,GAAa,KAAK;AAU5B,QAAA,IAAM,CAAA,MAAA,GAAkB,CAAC;AACxC;IA5BO,MAAM,GAAA;QACZ,QACC,CAAC,CAAA,YAAY,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAA,EACjG,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACM;;;;;;;;;"}
1
+ {"version":3,"file":"kol-card.entry.js","sources":["src/components/card/style.scss?tag=kol-card&mode=default&encapsulation=shadow","src/components/card/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n@use '../@shared/card.mixin' as *;\n@use '../@shared/mixins' as *;\n@use '../tooltip/style.scss' as *;\n\n@layer kol-component {\n\t@include kol-card;\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport type {\n\tCardProps,\n\tClickableElement,\n\tFocusableElement,\n\tHeadingLevel,\n\tHrefPropType,\n\tKoliBriCardEventCallbacks,\n\tLabelPropType,\n\tLinkTargetPropType,\n} from '../../schema';\n\nimport { KolCardWcTag } from '../../core/component-names';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Card** component is ideal for visually highlighting individual sections of your website. It allows you to structure your content very easily.\n *\n * The **Card** component consists of a **_title area_** and a **_content area_**.\n *\n * The **title area** is displayed in a larger font. The **content area** is visually separated from the title area by a horizontal dividing line and is rendered in the default font.\n *\n * @slot - Allows arbitrary HTML to be inserted into the content area of the card.\n */\n@Component({\n\ttag: 'kol-card',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolCard implements CardProps, ClickableElement, FocusableElement {\n\t// @ts-expect-error: host is needed by the decorator.\n\t@Element() private readonly host?: HTMLKolCardElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolCardWcElement>();\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolCardWcTag\n\t\t\t\t_on={this._on}\n\t\t\t\t_hasCloser={this._hasCloser}\n\t\t\t\t_label={this._label}\n\t\t\t\t_level={this._level}\n\t\t\t\t_href={this._href}\n\t\t\t\t_target={this._target}\n\t\t\t\tref={this.ctaRef}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</KolCardWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the event callback functions for the component.\n\t */\n\t@Prop() public _on?: KoliBriCardEventCallbacks;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href?: HrefPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 0;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,i2WAAi2W;;MCgC52W,OAAO,GAAA,MAAA;AAPpB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAUoB,QAAA,IAAM,CAAA,MAAA,GAAG,YAAY,EAAwB;AA2CjD,QAAA,IAAU,CAAA,UAAA,GAAa,KAAK;AAe5B,QAAA,IAAM,CAAA,MAAA,GAAkB,CAAC;AAMxC;AAvDO,IAAA,MAAM,KAAK,CAAC,OAAyB;IAOrC,MAAM,KAAK,GAAA;IAEX,MAAM,GAAA;AACZ,QAAA,QACC,EAAC,YAAY,EAAA,EAAA,GAAA,EAAA,0CAAA,EACZ,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAA,EAEhB,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACM;;;;AArBJ,UAAA,CAAA;IAHZ,aAAa,CAAC,QAAQ;CAGwC,EAAA,OAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlD,UAAA,CAAA;IADZ,aAAa,CAAC,QAAQ;CACe,EAAA,OAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;"}
@@ -1,17 +1,17 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-CJ6nR8sE.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Dy5OebFJ.js';
5
5
  import { _ as __decorate } from './tslib.es6-QNbPBOk5.js';
6
6
  import { B as BaseWebComponent } from './base-web-component-BT6jbe_v.js';
7
- import { C as ClickButtonFC } from './component-Mx0ifAnr.js';
8
- import './common-D5l8QiaY.js';
9
- import { l as labelProp } from './label-RX8TPr4R.js';
10
- import './variant-quote-BI3zVSZn.js';
7
+ import { C as ClickButtonFC } from './component-TzkPh1vw.js';
8
+ import './common-DQP27q1D.js';
9
+ import { l as labelProp } from './label-BGcJjCR_.js';
10
+ import './variant-quote-CZ5CemUm.js';
11
11
  import { B as BaseController } from './base-controller-CXhqh4cR.js';
12
12
  import { d as delegateFocus, c as createCtaRef } from './element-interaction-C5-6aPzz.js';
13
- import './bem-registry-Coj2Hlbo.js';
14
- import './normalizers-Dmgd1cXp.js';
13
+ import './bem-registry-DdEadmB1.js';
14
+ import './normalizers-Cpy0t9-X.js';
15
15
  import './_Uint8Array-kJHDjtoP.js';
16
16
  import './isArray-CcrBs4JM.js';
17
17
  import './element-focus-BQXzaLL9.js';