@public-ui/components 4.1.2-rc.7 → 4.1.2-rc.8

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 (968) 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 +3 -10
  7. package/dist/cjs/{Alert-D-YqpEyB.js → Alert-fEJpzH57.js} +1 -1
  8. package/dist/cjs/{Alert-D-YqpEyB.js.map → Alert-fEJpzH57.js.map} +1 -1
  9. package/dist/cjs/{Collapsible-VZFYmGmP.js → Collapsible-BgXj2W-O.js} +1 -1
  10. package/dist/cjs/{Collapsible-VZFYmGmP.js.map → Collapsible-BgXj2W-O.js.map} +1 -1
  11. package/dist/cjs/{CustomSuggestionsOptionsGroup-B-MnrrBq.js → CustomSuggestionsOptionsGroup-DqLiqK20.js} +1 -1
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-B-MnrrBq.js.map → CustomSuggestionsOptionsGroup-DqLiqK20.js.map} +1 -1
  13. package/dist/cjs/FieldControlStateWrapper-BMuc2__Y.js +4 -0
  14. package/dist/cjs/FieldControlStateWrapper-BMuc2__Y.js.map +1 -0
  15. package/dist/cjs/FormFieldStateWrapper-DGbP2fH-.js +4 -0
  16. package/dist/cjs/FormFieldStateWrapper-DGbP2fH-.js.map +1 -0
  17. package/dist/cjs/{Heading-DXIETn4V.js → Heading-BxQWS9Oj.js} +1 -1
  18. package/dist/cjs/{Heading-DXIETn4V.js.map → Heading-BxQWS9Oj.js.map} +1 -1
  19. package/dist/cjs/{Input-_cDdoXXe.js → Input-Dn19IFET.js} +1 -1
  20. package/dist/cjs/{Input-_cDdoXXe.js.map → Input-Dn19IFET.js.map} +1 -1
  21. package/dist/cjs/{InputStateWrapper-755fX97C.js → InputStateWrapper-Bl92EZ5T.js} +1 -1
  22. package/dist/cjs/{InputStateWrapper-755fX97C.js.map → InputStateWrapper-Bl92EZ5T.js.map} +1 -1
  23. package/dist/cjs/_Uint8Array-BAQUGozM.js +4 -0
  24. package/dist/cjs/_Uint8Array-BAQUGozM.js.map +1 -0
  25. package/dist/cjs/align-DLZnj4_m.js +4 -0
  26. package/dist/cjs/{align-Dgke5npK.js.map → align-DLZnj4_m.js.map} +1 -1
  27. package/dist/cjs/{app-globals-ZeVbmS7w.js → app-globals-DZdhu1yH.js} +1 -1
  28. package/dist/cjs/{app-globals-ZeVbmS7w.js.map → app-globals-DZdhu1yH.js.map} +1 -1
  29. package/dist/cjs/{associated.controller-CdkbkfHV.js → associated.controller-Qtcakwi5.js} +1 -1
  30. package/dist/cjs/{associated.controller-CdkbkfHV.js.map → associated.controller-Qtcakwi5.js.map} +1 -1
  31. package/dist/cjs/base-controller-DAzsTqX9.js +4 -0
  32. package/dist/cjs/base-controller-DAzsTqX9.js.map +1 -0
  33. package/dist/cjs/{bem-registry-BYsM9uZG.js → bem-registry-BRaXxTgN.js} +1 -1
  34. package/dist/cjs/bem-registry-BRaXxTgN.js.map +1 -0
  35. package/dist/cjs/{bootstrap-Ct8zYDlN.js → bootstrap-CTHD2bd6.js} +1 -1
  36. package/dist/cjs/{bootstrap-Ct8zYDlN.js.map → bootstrap-CTHD2bd6.js.map} +1 -1
  37. package/dist/cjs/{component-_osv0u4g.js → component-C27tnivo.js} +1 -1
  38. package/dist/cjs/component-C27tnivo.js.map +1 -0
  39. package/dist/cjs/component-CTPLUymr.js +4 -0
  40. package/dist/cjs/{component-TRu1ySJ5.js.map → component-CTPLUymr.js.map} +1 -1
  41. package/dist/cjs/component-Liy_hR04.js +4 -0
  42. package/dist/cjs/component-Liy_hR04.js.map +1 -0
  43. package/dist/cjs/component-names-5KS_pYRF.js +4 -0
  44. package/dist/cjs/{component-names-CLJnvcGE.js.map → component-names-5KS_pYRF.js.map} +1 -1
  45. package/dist/cjs/controller-D3ETb78M.js +4 -0
  46. package/dist/cjs/controller-D3ETb78M.js.map +1 -0
  47. package/dist/cjs/{controller-DVajMOVA.js → controller-DXiXhgaj.js} +1 -1
  48. package/dist/cjs/{controller-DVajMOVA.js.map → controller-DXiXhgaj.js.map} +1 -1
  49. package/dist/cjs/{controller-Bf9yGxbh.js → controller-DceZdZQf.js} +1 -1
  50. package/dist/cjs/{controller-Bf9yGxbh.js.map → controller-DceZdZQf.js.map} +1 -1
  51. package/dist/cjs/{controller-BF2Jlaw1.js → controller-DkqEh37D.js} +1 -1
  52. package/dist/cjs/{controller-BF2Jlaw1.js.map → controller-DkqEh37D.js.map} +1 -1
  53. package/dist/cjs/controller-DlUvjie1.js +4 -0
  54. package/dist/cjs/controller-DlUvjie1.js.map +1 -0
  55. package/dist/cjs/{controller-CJDzd2rd.js → controller-ZfYqOlWc.js} +1 -1
  56. package/dist/cjs/{controller-CJDzd2rd.js.map → controller-ZfYqOlWc.js.map} +1 -1
  57. package/dist/cjs/controller-icon-DkZBowrn.js +4 -0
  58. package/dist/cjs/{controller-icon-YX2g0qKC.js.map → controller-icon-DkZBowrn.js.map} +1 -1
  59. package/dist/cjs/{dev.utils-DQ8NbpWO.js → dev.utils-jLeSRS1F.js} +1 -1
  60. package/dist/cjs/{dev.utils-DQ8NbpWO.js.map → dev.utils-jLeSRS1F.js.map} +1 -1
  61. package/dist/cjs/{devtools-ChJjJwrk.js → devtools-BKBluXPb.js} +1 -1
  62. package/dist/cjs/{devtools-ChJjJwrk.js.map → devtools-BKBluXPb.js.map} +1 -1
  63. package/dist/cjs/{index-DT9bjXlJ.js → index-Do5xA4dJ.js} +1 -1
  64. package/dist/cjs/{index-DT9bjXlJ.js.map → index-Do5xA4dJ.js.map} +1 -1
  65. package/dist/cjs/index.cjs.js +1 -1
  66. package/dist/cjs/isArray-BOIOdEQh.js.map +1 -1
  67. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  69. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  71. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-alert-wc.entry.cjs.js.map +1 -1
  73. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  76. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
  81. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-click-button.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-click-button.entry.cjs.js.map +1 -1
  86. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  88. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  90. package/dist/cjs/kol-dialog-wc.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-dialog.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  96. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
  98. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  100. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  102. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  104. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  106. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  108. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  112. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  114. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  116. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  118. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  120. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
  124. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-meter.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  137. package/dist/cjs/kol-select-wc.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
  139. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  142. package/dist/cjs/kol-skeleton.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-skeleton.entry.cjs.js.map +1 -1
  144. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  146. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  147. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  148. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  150. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
  152. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  154. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  155. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  156. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  157. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  158. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  159. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
  161. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  162. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  163. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  164. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  165. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  166. package/dist/cjs/kolibri.cjs.js +1 -1
  167. package/dist/cjs/{label-BgtqjTS0.js → label-B0RK7DQ1.js} +1 -1
  168. package/dist/cjs/{label-BgtqjTS0.js.map → label-B0RK7DQ1.js.map} +1 -1
  169. package/dist/cjs/{level-Dqm4UuMn.js → level-CTvl-U1w.js} +1 -1
  170. package/dist/cjs/{level-Dqm4UuMn.js.map → level-CTvl-U1w.js.map} +1 -1
  171. package/dist/cjs/loader.cjs.js +1 -1
  172. package/dist/cjs/normalizers-CLRF8il-.js +4 -0
  173. package/dist/cjs/normalizers-CLRF8il-.js.map +1 -0
  174. package/dist/cjs/{src-nu8Hslhy.js → src-B5l3YIkL.js} +1 -1
  175. package/dist/cjs/{src-nu8Hslhy.js.map → src-B5l3YIkL.js.map} +1 -1
  176. package/dist/cjs/test-component.cjs.entry.js +1 -1
  177. package/dist/cjs/{tooltip-align-DykwbBJw.js → tooltip-align-BB5EsHsG.js} +1 -1
  178. package/dist/cjs/{tooltip-align-DykwbBJw.js.map → tooltip-align-BB5EsHsG.js.map} +1 -1
  179. package/dist/cjs/{unit-BHre4Npb.js → unit--BgFwr6T.js} +1 -1
  180. package/dist/cjs/{unit-BHre4Npb.js.map → unit--BgFwr6T.js.map} +1 -1
  181. package/dist/cjs/{validation-CVwHCleW.js → validation-V8d7SbhJ.js} +1 -1
  182. package/dist/cjs/{validation-CVwHCleW.js.map → validation-V8d7SbhJ.js.map} +1 -1
  183. package/dist/cjs/variant-quote-iZVwULXH.js +4 -0
  184. package/dist/cjs/variant-quote-iZVwULXH.js.map +1 -0
  185. package/dist/components/Alert.js +1 -1
  186. package/dist/components/Collapsible.js +1 -1
  187. package/dist/components/FieldControlStateWrapper.js +1 -1
  188. package/dist/components/FieldControlStateWrapper.js.map +1 -1
  189. package/dist/components/Input.js +1 -1
  190. package/dist/components/InputStateWrapper.js +1 -1
  191. package/dist/components/_Uint8Array.js +1 -1
  192. package/dist/components/_Uint8Array.js.map +1 -1
  193. package/dist/components/access-and-short-key.js +1 -1
  194. package/dist/components/align-floating-elements.js +1 -1
  195. package/dist/components/align.js +1 -1
  196. package/dist/components/align.js.map +1 -1
  197. package/dist/components/base-controller.js +4 -0
  198. package/dist/components/base-controller.js.map +1 -0
  199. package/dist/components/bem-registry.js +1 -1
  200. package/dist/components/bem-registry.js.map +1 -1
  201. package/dist/components/color.js +1 -1
  202. package/dist/components/common.js +1 -1
  203. package/dist/components/component-names.js +1 -1
  204. package/dist/components/component-names.js.map +1 -1
  205. package/dist/components/component.js +1 -1
  206. package/dist/components/component.js.map +1 -1
  207. package/dist/components/component2.js +1 -1
  208. package/dist/components/component2.js.map +1 -1
  209. package/dist/components/component3.js +4 -0
  210. package/dist/components/component3.js.map +1 -0
  211. package/dist/components/controller-icon.js +1 -1
  212. package/dist/components/controller.js +1 -1
  213. package/dist/components/controller.js.map +1 -1
  214. package/dist/components/controller2.js +1 -1
  215. package/dist/components/controller2.js.map +1 -1
  216. package/dist/components/controller3.js +1 -1
  217. package/dist/components/controller3.js.map +1 -1
  218. package/dist/components/controller4.js +1 -1
  219. package/dist/components/controller4.js.map +1 -1
  220. package/dist/components/controller5.js +1 -1
  221. package/dist/components/controller5.js.map +1 -1
  222. package/dist/components/controller6.js +1 -1
  223. package/dist/components/controller6.js.map +1 -1
  224. package/dist/components/controller7.js +4 -0
  225. package/dist/components/controller7.js.map +1 -0
  226. package/dist/components/dev.utils.js +1 -1
  227. package/dist/components/devtools.js +1 -1
  228. package/dist/components/disabled.js +1 -1
  229. package/dist/components/i18n.js +1 -1
  230. package/dist/components/isArray.js.map +1 -1
  231. package/dist/components/kol-abbr.js +1 -1
  232. package/dist/components/kol-abbr.js.map +1 -1
  233. package/dist/components/kol-accordion.js +1 -1
  234. package/dist/components/kol-alert.js +1 -1
  235. package/dist/components/kol-avatar.js +1 -1
  236. package/dist/components/kol-avatar.js.map +1 -1
  237. package/dist/components/kol-badge.js +1 -1
  238. package/dist/components/kol-breadcrumb.js +1 -1
  239. package/dist/components/kol-button-link.js +1 -1
  240. package/dist/components/kol-button-wc.js +1 -1
  241. package/dist/components/kol-button-wc.js.map +1 -1
  242. package/dist/components/kol-button.js +1 -1
  243. package/dist/components/kol-card-wc.js +1 -1
  244. package/dist/components/kol-card-wc.js.map +1 -1
  245. package/dist/components/kol-card.js +1 -1
  246. package/dist/components/kol-click-button.js +1 -1
  247. package/dist/components/kol-click-button.js.map +1 -1
  248. package/dist/components/kol-combobox.js +1 -1
  249. package/dist/components/kol-details.js +1 -1
  250. package/dist/components/kol-dialog-wc.js +1 -1
  251. package/dist/components/kol-dialog.js +1 -1
  252. package/dist/components/kol-drawer.js +1 -1
  253. package/dist/components/kol-form.js +1 -1
  254. package/dist/components/kol-heading.js +1 -1
  255. package/dist/components/kol-heading.js.map +1 -1
  256. package/dist/components/kol-icon.js +1 -1
  257. package/dist/components/kol-icon.js.map +1 -1
  258. package/dist/components/kol-image.js +1 -1
  259. package/dist/components/kol-image.js.map +1 -1
  260. package/dist/components/kol-input-checkbox.js +1 -1
  261. package/dist/components/kol-input-color.js +1 -1
  262. package/dist/components/kol-input-date.js +1 -1
  263. package/dist/components/kol-input-email.js +1 -1
  264. package/dist/components/kol-input-file.js +1 -1
  265. package/dist/components/kol-input-number.js +1 -1
  266. package/dist/components/kol-input-password.js +1 -1
  267. package/dist/components/kol-input-radio.js +1 -1
  268. package/dist/components/kol-input-range.js +1 -1
  269. package/dist/components/kol-input-text.js +1 -1
  270. package/dist/components/kol-kolibri.js +1 -1
  271. package/dist/components/kol-link-button.js +1 -1
  272. package/dist/components/kol-link-wc.js +1 -1
  273. package/dist/components/kol-link-wc.js.map +1 -1
  274. package/dist/components/kol-link.js +1 -1
  275. package/dist/components/kol-meter.js +1 -1
  276. package/dist/components/kol-meter.js.map +1 -1
  277. package/dist/components/kol-modal.js +1 -1
  278. package/dist/components/kol-nav.js +1 -1
  279. package/dist/components/kol-pagination-wc.js +1 -1
  280. package/dist/components/kol-pagination.js +1 -1
  281. package/dist/components/kol-popover-button-wc.js +1 -1
  282. package/dist/components/kol-popover-button.js +1 -1
  283. package/dist/components/kol-progress.js +1 -1
  284. package/dist/components/kol-progress.js.map +1 -1
  285. package/dist/components/kol-quote.js +1 -1
  286. package/dist/components/kol-quote.js.map +1 -1
  287. package/dist/components/kol-select-wc.js +1 -1
  288. package/dist/components/kol-select.js +1 -1
  289. package/dist/components/kol-single-select.js +1 -1
  290. package/dist/components/kol-skeleton.js +1 -1
  291. package/dist/components/kol-skeleton.js.map +1 -1
  292. package/dist/components/kol-skip-nav.js +1 -1
  293. package/dist/components/kol-spin.js +1 -1
  294. package/dist/components/kol-spin.js.map +1 -1
  295. package/dist/components/kol-split-button.js +1 -1
  296. package/dist/components/kol-table-settings-wc.js +1 -1
  297. package/dist/components/kol-table-stateful.js +1 -1
  298. package/dist/components/kol-table-stateless-wc.js +1 -1
  299. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  300. package/dist/components/kol-table-stateless.js +1 -1
  301. package/dist/components/kol-tabs.js +1 -1
  302. package/dist/components/kol-textarea.js +1 -1
  303. package/dist/components/kol-toast-container.js +1 -1
  304. package/dist/components/kol-toast-container.js.map +1 -1
  305. package/dist/components/kol-toolbar.js +1 -1
  306. package/dist/components/kol-tooltip-wc.js +1 -1
  307. package/dist/components/kol-tooltip-wc.js.map +1 -1
  308. package/dist/components/kol-tree-item-wc.js +1 -1
  309. package/dist/components/kol-tree-item.js +1 -1
  310. package/dist/components/kol-tree-wc.js +1 -1
  311. package/dist/components/kol-tree.js +1 -1
  312. package/dist/components/kol-version.js +1 -1
  313. package/dist/components/label.js +1 -1
  314. package/dist/components/normalizers.js +1 -1
  315. package/dist/components/normalizers.js.map +1 -1
  316. package/dist/components/suggestions.js +1 -1
  317. package/dist/components/tooltip-align.js +1 -1
  318. package/dist/components/tooltip-open-tracking.js +1 -1
  319. package/dist/components/variant-quote.js +4 -0
  320. package/dist/components/variant-quote.js.map +1 -0
  321. package/dist/esm/{Alert-BCOTrqr_.js → Alert-Dwi0SIbu.js} +1 -1
  322. package/dist/{kolibri/Alert-BCOTrqr_.js.map → esm/Alert-Dwi0SIbu.js.map} +1 -1
  323. package/dist/esm/{Collapsible-Cxiz2gVO.js → Collapsible-D0DjrPCQ.js} +1 -1
  324. package/dist/esm/{Collapsible-Cxiz2gVO.js.map → Collapsible-D0DjrPCQ.js.map} +1 -1
  325. package/dist/esm/{CustomSuggestionsOptionsGroup-KAi-Zhy-.js → CustomSuggestionsOptionsGroup-HDeTtnBz.js} +1 -1
  326. package/dist/{kolibri/CustomSuggestionsOptionsGroup-KAi-Zhy-.js.map → esm/CustomSuggestionsOptionsGroup-HDeTtnBz.js.map} +1 -1
  327. package/dist/esm/FieldControlStateWrapper-BZG3AeGU.js +4 -0
  328. package/dist/esm/FieldControlStateWrapper-BZG3AeGU.js.map +1 -0
  329. package/dist/esm/FormFieldStateWrapper-DbT_eu6O.js +4 -0
  330. package/dist/esm/FormFieldStateWrapper-DbT_eu6O.js.map +1 -0
  331. package/dist/esm/{Heading-CdhA3sYv.js → Heading-hNm0EJy2.js} +1 -1
  332. package/dist/{kolibri/Heading-CdhA3sYv.js.map → esm/Heading-hNm0EJy2.js.map} +1 -1
  333. package/dist/esm/Input-Dm342vhU.js +4 -0
  334. package/dist/esm/{Input-ZDG0uZKh.js.map → Input-Dm342vhU.js.map} +1 -1
  335. package/dist/esm/{InputStateWrapper-BO-OfVb2.js → InputStateWrapper-CLIorTSb.js} +1 -1
  336. package/dist/{kolibri/InputStateWrapper-BO-OfVb2.js.map → esm/InputStateWrapper-CLIorTSb.js.map} +1 -1
  337. package/dist/esm/_Uint8Array-kJHDjtoP.js +4 -0
  338. package/dist/esm/_Uint8Array-kJHDjtoP.js.map +1 -0
  339. package/dist/esm/{access-and-short-key-BzpC9FZP.js → access-and-short-key-D2TiPdWw.js} +1 -1
  340. package/dist/{kolibri/access-and-short-key-BzpC9FZP.js.map → esm/access-and-short-key-D2TiPdWw.js.map} +1 -1
  341. package/dist/esm/align-D3Z54kEL.js +4 -0
  342. package/dist/esm/{align-BmVteuP6.js.map → align-D3Z54kEL.js.map} +1 -1
  343. package/dist/esm/{align-floating-elements-DZlGJkZJ.js → align-floating-elements-58sFZOrL.js} +1 -1
  344. package/dist/esm/{align-floating-elements-DZlGJkZJ.js.map → align-floating-elements-58sFZOrL.js.map} +1 -1
  345. package/dist/esm/{app-globals-C8b8QdHH.js → app-globals-6IPlQwfA.js} +1 -1
  346. package/dist/esm/{app-globals-C8b8QdHH.js.map → app-globals-6IPlQwfA.js.map} +1 -1
  347. package/dist/esm/{associated.controller-8xCU8Tb0.js → associated.controller-BKQIR17-.js} +1 -1
  348. package/dist/esm/{associated.controller-8xCU8Tb0.js.map → associated.controller-BKQIR17-.js.map} +1 -1
  349. package/dist/esm/{auto-complete-B9cEw7-0.js → auto-complete-DmusaKxg.js} +1 -1
  350. package/dist/esm/{auto-complete-B9cEw7-0.js.map → auto-complete-DmusaKxg.js.map} +1 -1
  351. package/dist/esm/base-controller-CXhqh4cR.js +4 -0
  352. package/dist/esm/base-controller-CXhqh4cR.js.map +1 -0
  353. package/dist/esm/{bem-registry-DTQ0cuzY.js → bem-registry-Bux_TllX.js} +1 -1
  354. package/dist/esm/bem-registry-Bux_TllX.js.map +1 -0
  355. package/dist/esm/{bootstrap-BFbfb2g4.js → bootstrap-CbPXNlVt.js} +1 -1
  356. package/dist/esm/{bootstrap-BFbfb2g4.js.map → bootstrap-CbPXNlVt.js.map} +1 -1
  357. package/dist/esm/{color-CYYQM-HT.js → color-DLD0vupv.js} +1 -1
  358. package/dist/{kolibri/color-CYYQM-HT.js.map → esm/color-DLD0vupv.js.map} +1 -1
  359. package/dist/esm/{common-5ExJH6NU.js → common-BqV6Zb30.js} +1 -1
  360. package/dist/{kolibri/common-5ExJH6NU.js.map → esm/common-BqV6Zb30.js.map} +1 -1
  361. package/dist/esm/component-C5-fCuhA.js +4 -0
  362. package/dist/{kolibri/component-CL5w48zL.js.map → esm/component-C5-fCuhA.js.map} +1 -1
  363. package/dist/esm/{component-JM2Le9Vy.js → component-D5yPWlmy.js} +1 -1
  364. package/dist/esm/component-D5yPWlmy.js.map +1 -0
  365. package/dist/esm/component-ghWELfa6.js +4 -0
  366. package/dist/esm/component-ghWELfa6.js.map +1 -0
  367. package/dist/esm/{component-names-pgL1e5No.js → component-names-Dy77vq43.js} +1 -1
  368. package/dist/esm/{component-names-pgL1e5No.js.map → component-names-Dy77vq43.js.map} +1 -1
  369. package/dist/esm/{contrast-CCUc19be.js → contrast-DK7TU5NR.js} +1 -1
  370. package/dist/{kolibri/contrast-CCUc19be.js.map → esm/contrast-DK7TU5NR.js.map} +1 -1
  371. package/dist/esm/{controller-DpjFjZPx.js → controller-Bf2B7XG4.js} +1 -1
  372. package/dist/{kolibri/controller-DpjFjZPx.js.map → esm/controller-Bf2B7XG4.js.map} +1 -1
  373. package/dist/esm/controller-BhIDd4zH.js +4 -0
  374. package/dist/esm/controller-BhIDd4zH.js.map +1 -0
  375. package/dist/esm/{controller-D6XbseiE.js → controller-Bkyc_RZG.js} +1 -1
  376. package/dist/{kolibri/controller-D6XbseiE.js.map → esm/controller-Bkyc_RZG.js.map} +1 -1
  377. package/dist/esm/{controller-DioBPNwP.js → controller-DXxubhmT.js} +1 -1
  378. package/dist/esm/{controller-DioBPNwP.js.map → controller-DXxubhmT.js.map} +1 -1
  379. package/dist/esm/controller-eT2cogRF.js +4 -0
  380. package/dist/esm/controller-eT2cogRF.js.map +1 -0
  381. package/dist/esm/{controller-BOQfHWqN.js → controller-eUfCqvxN.js} +1 -1
  382. package/dist/{kolibri/controller-BOQfHWqN.js.map → esm/controller-eUfCqvxN.js.map} +1 -1
  383. package/dist/esm/controller-icon-DB6DYeGY.js +4 -0
  384. package/dist/{kolibri/controller-icon-LTaTMYty.js.map → esm/controller-icon-DB6DYeGY.js.map} +1 -1
  385. package/dist/esm/{custom-class-CuE7EhVR.js → custom-class-C5Yo1ysl.js} +1 -1
  386. package/dist/esm/{custom-class-CuE7EhVR.js.map → custom-class-C5Yo1ysl.js.map} +1 -1
  387. package/dist/esm/{dev.utils-CfUO8naH.js → dev.utils-CKaUZiiF.js} +1 -1
  388. package/dist/esm/{dev.utils-CfUO8naH.js.map → dev.utils-CKaUZiiF.js.map} +1 -1
  389. package/dist/esm/{devtools-CRtYm7JN.js → devtools-BaBYu7OV.js} +1 -1
  390. package/dist/esm/{devtools-CRtYm7JN.js.map → devtools-BaBYu7OV.js.map} +1 -1
  391. package/dist/esm/disabled-BBn2JEzf.js +4 -0
  392. package/dist/esm/{disabled-Cp_Z3qUn.js.map → disabled-BBn2JEzf.js.map} +1 -1
  393. package/dist/esm/{has-closer-EMsTDubn.js → has-closer-CfUBQHmY.js} +1 -1
  394. package/dist/esm/{has-closer-EMsTDubn.js.map → has-closer-CfUBQHmY.js.map} +1 -1
  395. package/dist/esm/{hide-label-BvUdILkE.js → hide-label-DQL9J6E_.js} +1 -1
  396. package/dist/esm/{hide-label-BvUdILkE.js.map → hide-label-DQL9J6E_.js.map} +1 -1
  397. package/dist/esm/{href-C6r5xl19.js → href-COBxk7m0.js} +1 -1
  398. package/dist/esm/{href-C6r5xl19.js.map → href-COBxk7m0.js.map} +1 -1
  399. package/dist/esm/{i18n-CSCkYcOW.js → i18n-BVaUp6qp.js} +1 -1
  400. package/dist/esm/{i18n-CSCkYcOW.js.map → i18n-BVaUp6qp.js.map} +1 -1
  401. package/dist/esm/{icons-Cl5Luo4Z.js → icons-CqQ9plmY.js} +1 -1
  402. package/dist/{kolibri/icons-Cl5Luo4Z.js.map → esm/icons-CqQ9plmY.js.map} +1 -1
  403. package/dist/esm/{index-BPtT34o3.js → index-C8rYknb2.js} +1 -1
  404. package/dist/{kolibri/index-BPtT34o3.js.map → esm/index-C8rYknb2.js.map} +1 -1
  405. package/dist/esm/index.js +1 -1
  406. package/dist/esm/{inline-MFnRAU4D.js → inline-D3xGVsIW.js} +1 -1
  407. package/dist/esm/{inline-MFnRAU4D.js.map → inline-D3xGVsIW.js.map} +1 -1
  408. package/dist/esm/isArray-CcrBs4JM.js.map +1 -1
  409. package/dist/esm/kol-abbr.entry.js +1 -1
  410. package/dist/esm/kol-abbr.entry.js.map +1 -1
  411. package/dist/esm/kol-accordion.entry.js +1 -1
  412. package/dist/esm/kol-accordion.entry.js.map +1 -1
  413. package/dist/esm/kol-alert-wc.entry.js +1 -1
  414. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  415. package/dist/esm/kol-alert.entry.js +1 -1
  416. package/dist/esm/kol-avatar.entry.js +1 -1
  417. package/dist/esm/kol-avatar.entry.js.map +1 -1
  418. package/dist/esm/kol-badge.entry.js +1 -1
  419. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  420. package/dist/esm/kol-button-link.entry.js +1 -1
  421. package/dist/esm/kol-button-wc.entry.js +1 -1
  422. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  423. package/dist/esm/kol-button.entry.js +1 -1
  424. package/dist/esm/kol-card-wc.entry.js +1 -1
  425. package/dist/esm/kol-card.entry.js +1 -1
  426. package/dist/esm/kol-click-button.entry.js +1 -1
  427. package/dist/esm/kol-click-button.entry.js.map +1 -1
  428. package/dist/esm/kol-combobox.entry.js +1 -1
  429. package/dist/esm/kol-combobox.entry.js.map +1 -1
  430. package/dist/esm/kol-details.entry.js +1 -1
  431. package/dist/esm/kol-details.entry.js.map +1 -1
  432. package/dist/esm/kol-dialog-wc.entry.js +1 -1
  433. package/dist/esm/kol-dialog.entry.js +1 -1
  434. package/dist/esm/kol-drawer.entry.js +1 -1
  435. package/dist/esm/kol-form.entry.js +1 -1
  436. package/dist/esm/kol-heading.entry.js +1 -1
  437. package/dist/esm/kol-heading.entry.js.map +1 -1
  438. package/dist/esm/kol-icon.entry.js +1 -1
  439. package/dist/esm/kol-icon.entry.js.map +1 -1
  440. package/dist/esm/kol-image.entry.js +1 -1
  441. package/dist/esm/kol-image.entry.js.map +1 -1
  442. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  443. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  444. package/dist/esm/kol-input-color.entry.js +1 -1
  445. package/dist/esm/kol-input-color.entry.js.map +1 -1
  446. package/dist/esm/kol-input-date.entry.js +1 -1
  447. package/dist/esm/kol-input-date.entry.js.map +1 -1
  448. package/dist/esm/kol-input-email.entry.js +1 -1
  449. package/dist/esm/kol-input-email.entry.js.map +1 -1
  450. package/dist/esm/kol-input-file.entry.js +1 -1
  451. package/dist/esm/kol-input-file.entry.js.map +1 -1
  452. package/dist/esm/kol-input-number.entry.js +1 -1
  453. package/dist/esm/kol-input-number.entry.js.map +1 -1
  454. package/dist/esm/kol-input-password.entry.js +1 -1
  455. package/dist/esm/kol-input-password.entry.js.map +1 -1
  456. package/dist/esm/kol-input-radio.entry.js +1 -1
  457. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  458. package/dist/esm/kol-input-range.entry.js +1 -1
  459. package/dist/esm/kol-input-range.entry.js.map +1 -1
  460. package/dist/esm/kol-input-text.entry.js +1 -1
  461. package/dist/esm/kol-input-text.entry.js.map +1 -1
  462. package/dist/esm/kol-kolibri.entry.js +1 -1
  463. package/dist/esm/kol-link-button.entry.js +1 -1
  464. package/dist/esm/kol-link-wc.entry.js +1 -1
  465. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  466. package/dist/esm/kol-link.entry.js +1 -1
  467. package/dist/esm/kol-meter.entry.js +1 -1
  468. package/dist/esm/kol-meter.entry.js.map +1 -1
  469. package/dist/esm/kol-modal.entry.js +1 -1
  470. package/dist/esm/kol-nav.entry.js +1 -1
  471. package/dist/esm/kol-pagination-wc.entry.js +1 -1
  472. package/dist/esm/kol-pagination.entry.js +1 -1
  473. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  474. package/dist/esm/kol-popover-button.entry.js +1 -1
  475. package/dist/esm/kol-progress.entry.js +1 -1
  476. package/dist/esm/kol-progress.entry.js.map +1 -1
  477. package/dist/esm/kol-quote.entry.js +1 -1
  478. package/dist/esm/kol-quote.entry.js.map +1 -1
  479. package/dist/esm/kol-select-wc.entry.js +1 -1
  480. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  481. package/dist/esm/kol-select.entry.js +1 -1
  482. package/dist/esm/kol-single-select.entry.js +1 -1
  483. package/dist/esm/kol-single-select.entry.js.map +1 -1
  484. package/dist/esm/kol-skeleton.entry.js +1 -1
  485. package/dist/esm/kol-skeleton.entry.js.map +1 -1
  486. package/dist/esm/kol-skip-nav.entry.js +1 -1
  487. package/dist/esm/kol-spin.entry.js +1 -1
  488. package/dist/esm/kol-spin.entry.js.map +1 -1
  489. package/dist/esm/kol-split-button.entry.js +1 -1
  490. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  491. package/dist/esm/kol-table-stateful.entry.js +1 -1
  492. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  493. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  494. package/dist/esm/kol-table-stateless.entry.js +1 -1
  495. package/dist/esm/kol-tabs.entry.js +1 -1
  496. package/dist/esm/kol-textarea.entry.js +1 -1
  497. package/dist/esm/kol-textarea.entry.js.map +1 -1
  498. package/dist/esm/kol-toast-container.entry.js +1 -1
  499. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  500. package/dist/esm/kol-toolbar.entry.js +1 -1
  501. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  502. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  503. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  504. package/dist/esm/kol-tree-item.entry.js +1 -1
  505. package/dist/esm/kol-tree-wc.entry.js +1 -1
  506. package/dist/esm/kol-tree.entry.js +1 -1
  507. package/dist/esm/kol-version.entry.js +1 -1
  508. package/dist/esm/kolibri.js +1 -1
  509. package/dist/esm/{label-YKsDbE5K.js → label-BEOW9ltS.js} +1 -1
  510. package/dist/{kolibri/label-YKsDbE5K.js.map → esm/label-BEOW9ltS.js.map} +1 -1
  511. package/dist/esm/{label-Cd37SRqu.js → label-vxVEH2gH.js} +1 -1
  512. package/dist/{kolibri/label-Cd37SRqu.js.map → esm/label-vxVEH2gH.js.map} +1 -1
  513. package/dist/esm/{level-BxYUNJ1-.js → level-Bwrb_jzT.js} +1 -1
  514. package/dist/{kolibri/level-BxYUNJ1-.js.map → esm/level-Bwrb_jzT.js.map} +1 -1
  515. package/dist/esm/loader.js +1 -1
  516. package/dist/esm/{max-length-behavior-BQyK6pTW.js → max-length-behavior-DMw3rhwa.js} +1 -1
  517. package/dist/esm/{max-length-behavior-BQyK6pTW.js.map → max-length-behavior-DMw3rhwa.js.map} +1 -1
  518. package/dist/esm/{multiple-o7O9-jfG.js → multiple-sbfZAt7f.js} +1 -1
  519. package/dist/esm/{multiple-o7O9-jfG.js.map → multiple-sbfZAt7f.js.map} +1 -1
  520. package/dist/esm/normalizers-DnkJhVYZ.js +4 -0
  521. package/dist/esm/normalizers-DnkJhVYZ.js.map +1 -0
  522. package/dist/esm/{open-CQYEMxrb.js → open-BMZVrISI.js} +1 -1
  523. package/dist/esm/{open-CQYEMxrb.js.map → open-BMZVrISI.js.map} +1 -1
  524. package/dist/esm/{orientation-DqJ-qcRZ.js → orientation-D3LRVMo1.js} +1 -1
  525. package/dist/esm/{orientation-DqJ-qcRZ.js.map → orientation-D3LRVMo1.js.map} +1 -1
  526. package/dist/esm/{placeholder-DsAnRKrf.js → placeholder-BuBUMNhW.js} +1 -1
  527. package/dist/esm/{placeholder-DsAnRKrf.js.map → placeholder-BuBUMNhW.js.map} +1 -1
  528. package/dist/esm/{read-only-SN_GeL2X.js → read-only-DnkXqxgk.js} +1 -1
  529. package/dist/esm/{read-only-SN_GeL2X.js.map → read-only-DnkXqxgk.js.map} +1 -1
  530. package/dist/esm/{required-Ds8VBM7N.js → required-C9Xj8kw2.js} +1 -1
  531. package/dist/esm/{required-Ds8VBM7N.js.map → required-C9Xj8kw2.js.map} +1 -1
  532. package/dist/esm/{rows-DXMwg6VY.js → rows-lThApm3P.js} +1 -1
  533. package/dist/esm/{rows-DXMwg6VY.js.map → rows-lThApm3P.js.map} +1 -1
  534. package/dist/esm/{spell-check-SKqMIGfR.js → spell-check-Y1ApnP_M.js} +1 -1
  535. package/dist/esm/{spell-check-SKqMIGfR.js.map → spell-check-Y1ApnP_M.js.map} +1 -1
  536. package/dist/esm/{src-ZNAInwRj.js → src-D1LGDerl.js} +1 -1
  537. package/dist/esm/{src-ZNAInwRj.js.map → src-D1LGDerl.js.map} +1 -1
  538. package/dist/esm/{suggestions-Bu6noihP.js → suggestions-D5cst2OI.js} +1 -1
  539. package/dist/esm/{suggestions-Bu6noihP.js.map → suggestions-D5cst2OI.js.map} +1 -1
  540. package/dist/esm/{table-selection-Dp8qMfQK.js → table-selection-CXJmsMfX.js} +1 -1
  541. package/dist/esm/{table-selection-Dp8qMfQK.js.map → table-selection-CXJmsMfX.js.map} +1 -1
  542. package/dist/esm/test-component.entry.js +1 -1
  543. package/dist/esm/tooltip-align-DnbCY1Uu.js +4 -0
  544. package/dist/esm/{tooltip-align-D0H6p6J-.js.map → tooltip-align-DnbCY1Uu.js.map} +1 -1
  545. package/dist/esm/{tooltip-open-tracking-rBbBgPWP.js → tooltip-open-tracking-D3tCiiGP.js} +1 -1
  546. package/dist/esm/{tooltip-open-tracking-rBbBgPWP.js.map → tooltip-open-tracking-D3tCiiGP.js.map} +1 -1
  547. package/dist/esm/{unique-nav-labels-gjoTXEl2.js → unique-nav-labels-BIHfxulq.js} +1 -1
  548. package/dist/esm/{unique-nav-labels-gjoTXEl2.js.map → unique-nav-labels-BIHfxulq.js.map} +1 -1
  549. package/dist/esm/{unit-CT_uTXCe.js → unit-eRQuaHYy.js} +1 -1
  550. package/dist/esm/{unit-CT_uTXCe.js.map → unit-eRQuaHYy.js.map} +1 -1
  551. package/dist/esm/{validation-1WO5IiaK.js → validation-BytKl095.js} +1 -1
  552. package/dist/esm/{validation-1WO5IiaK.js.map → validation-BytKl095.js.map} +1 -1
  553. package/dist/esm/{validation-0DtswhYW.js → validation-JhNRqKy1.js} +1 -1
  554. package/dist/esm/{validation-0DtswhYW.js.map → validation-JhNRqKy1.js.map} +1 -1
  555. package/dist/esm/{variant-class-name-CXDTsEes.js → variant-class-name-BVKxs0G0.js} +1 -1
  556. package/dist/{kolibri/variant-class-name-CXDTsEes.js.map → esm/variant-class-name-BVKxs0G0.js.map} +1 -1
  557. package/dist/esm/variant-quote-CHD0qMkY.js +4 -0
  558. package/dist/esm/variant-quote-CHD0qMkY.js.map +1 -0
  559. package/dist/kolibri/{Alert-BCOTrqr_.js → Alert-Dwi0SIbu.js} +1 -1
  560. package/dist/{esm/Alert-BCOTrqr_.js.map → kolibri/Alert-Dwi0SIbu.js.map} +1 -1
  561. package/dist/kolibri/Collapsible-D0DjrPCQ.js +4 -0
  562. package/dist/kolibri/{Collapsible-Cxiz2gVO.js.map → Collapsible-D0DjrPCQ.js.map} +1 -1
  563. package/dist/kolibri/CustomSuggestionsOptionsGroup-HDeTtnBz.js +4 -0
  564. package/dist/{esm/CustomSuggestionsOptionsGroup-KAi-Zhy-.js.map → kolibri/CustomSuggestionsOptionsGroup-HDeTtnBz.js.map} +1 -1
  565. package/dist/kolibri/FieldControlStateWrapper-BZG3AeGU.js +4 -0
  566. package/dist/kolibri/FieldControlStateWrapper-BZG3AeGU.js.map +1 -0
  567. package/dist/kolibri/FormFieldStateWrapper-DbT_eu6O.js +4 -0
  568. package/dist/kolibri/FormFieldStateWrapper-DbT_eu6O.js.map +1 -0
  569. package/dist/kolibri/Heading-hNm0EJy2.js +4 -0
  570. package/dist/{esm/Heading-CdhA3sYv.js.map → kolibri/Heading-hNm0EJy2.js.map} +1 -1
  571. package/dist/kolibri/{Input-ZDG0uZKh.js → Input-Dm342vhU.js} +1 -1
  572. package/dist/kolibri/{Input-ZDG0uZKh.js.map → Input-Dm342vhU.js.map} +1 -1
  573. package/dist/kolibri/{InputStateWrapper-BO-OfVb2.js → InputStateWrapper-CLIorTSb.js} +1 -1
  574. package/dist/{esm/InputStateWrapper-BO-OfVb2.js.map → kolibri/InputStateWrapper-CLIorTSb.js.map} +1 -1
  575. package/dist/kolibri/_Uint8Array-kJHDjtoP.js +4 -0
  576. package/dist/kolibri/_Uint8Array-kJHDjtoP.js.map +1 -0
  577. package/dist/kolibri/{access-and-short-key-BzpC9FZP.js → access-and-short-key-D2TiPdWw.js} +1 -1
  578. package/dist/{esm/access-and-short-key-BzpC9FZP.js.map → kolibri/access-and-short-key-D2TiPdWw.js.map} +1 -1
  579. package/dist/kolibri/{align-BmVteuP6.js → align-D3Z54kEL.js} +1 -1
  580. package/dist/kolibri/{align-BmVteuP6.js.map → align-D3Z54kEL.js.map} +1 -1
  581. package/dist/kolibri/{align-floating-elements-DZlGJkZJ.js → align-floating-elements-58sFZOrL.js} +1 -1
  582. package/dist/kolibri/{align-floating-elements-DZlGJkZJ.js.map → align-floating-elements-58sFZOrL.js.map} +1 -1
  583. package/dist/kolibri/app-globals-6IPlQwfA.js +4 -0
  584. package/dist/kolibri/{app-globals-C8b8QdHH.js.map → app-globals-6IPlQwfA.js.map} +1 -1
  585. package/dist/kolibri/{associated.controller-8xCU8Tb0.js → associated.controller-BKQIR17-.js} +1 -1
  586. package/dist/kolibri/{associated.controller-8xCU8Tb0.js.map → associated.controller-BKQIR17-.js.map} +1 -1
  587. package/dist/kolibri/{auto-complete-B9cEw7-0.js → auto-complete-DmusaKxg.js} +1 -1
  588. package/dist/kolibri/{auto-complete-B9cEw7-0.js.map → auto-complete-DmusaKxg.js.map} +1 -1
  589. package/dist/kolibri/base-controller-CXhqh4cR.js +4 -0
  590. package/dist/kolibri/base-controller-CXhqh4cR.js.map +1 -0
  591. package/dist/kolibri/{bem-registry-DTQ0cuzY.js → bem-registry-Bux_TllX.js} +1 -1
  592. package/dist/kolibri/bem-registry-Bux_TllX.js.map +1 -0
  593. package/dist/kolibri/{bootstrap-BFbfb2g4.js → bootstrap-CbPXNlVt.js} +1 -1
  594. package/dist/kolibri/{bootstrap-BFbfb2g4.js.map → bootstrap-CbPXNlVt.js.map} +1 -1
  595. package/dist/kolibri/{color-CYYQM-HT.js → color-DLD0vupv.js} +1 -1
  596. package/dist/{esm/color-CYYQM-HT.js.map → kolibri/color-DLD0vupv.js.map} +1 -1
  597. package/dist/kolibri/{common-5ExJH6NU.js → common-BqV6Zb30.js} +1 -1
  598. package/dist/{esm/common-5ExJH6NU.js.map → kolibri/common-BqV6Zb30.js.map} +1 -1
  599. package/dist/kolibri/component-C5-fCuhA.js +4 -0
  600. package/dist/{esm/component-CL5w48zL.js.map → kolibri/component-C5-fCuhA.js.map} +1 -1
  601. package/dist/kolibri/{component-JM2Le9Vy.js → component-D5yPWlmy.js} +1 -1
  602. package/dist/kolibri/component-D5yPWlmy.js.map +1 -0
  603. package/dist/kolibri/component-ghWELfa6.js +4 -0
  604. package/dist/kolibri/component-ghWELfa6.js.map +1 -0
  605. package/dist/kolibri/{component-names-pgL1e5No.js → component-names-Dy77vq43.js} +1 -1
  606. package/dist/kolibri/{component-names-pgL1e5No.js.map → component-names-Dy77vq43.js.map} +1 -1
  607. package/dist/kolibri/{contrast-CCUc19be.js → contrast-DK7TU5NR.js} +1 -1
  608. package/dist/{esm/contrast-CCUc19be.js.map → kolibri/contrast-DK7TU5NR.js.map} +1 -1
  609. package/dist/kolibri/{controller-DpjFjZPx.js → controller-Bf2B7XG4.js} +1 -1
  610. package/dist/{esm/controller-DpjFjZPx.js.map → kolibri/controller-Bf2B7XG4.js.map} +1 -1
  611. package/dist/kolibri/controller-BhIDd4zH.js +4 -0
  612. package/dist/kolibri/controller-BhIDd4zH.js.map +1 -0
  613. package/dist/kolibri/controller-Bkyc_RZG.js +4 -0
  614. package/dist/{esm/controller-D6XbseiE.js.map → kolibri/controller-Bkyc_RZG.js.map} +1 -1
  615. package/dist/kolibri/controller-DXxubhmT.js +4 -0
  616. package/dist/kolibri/{controller-DioBPNwP.js.map → controller-DXxubhmT.js.map} +1 -1
  617. package/dist/kolibri/controller-eT2cogRF.js +4 -0
  618. package/dist/kolibri/controller-eT2cogRF.js.map +1 -0
  619. package/dist/kolibri/{controller-BOQfHWqN.js → controller-eUfCqvxN.js} +1 -1
  620. package/dist/{esm/controller-BOQfHWqN.js.map → kolibri/controller-eUfCqvxN.js.map} +1 -1
  621. package/dist/kolibri/controller-icon-DB6DYeGY.js +4 -0
  622. package/dist/{esm/controller-icon-LTaTMYty.js.map → kolibri/controller-icon-DB6DYeGY.js.map} +1 -1
  623. package/dist/kolibri/custom-class-C5Yo1ysl.js +4 -0
  624. package/dist/kolibri/{custom-class-CuE7EhVR.js.map → custom-class-C5Yo1ysl.js.map} +1 -1
  625. package/dist/kolibri/{dev.utils-CfUO8naH.js → dev.utils-CKaUZiiF.js} +1 -1
  626. package/dist/kolibri/{dev.utils-CfUO8naH.js.map → dev.utils-CKaUZiiF.js.map} +1 -1
  627. package/dist/kolibri/{devtools-CRtYm7JN.js → devtools-BaBYu7OV.js} +1 -1
  628. package/dist/kolibri/{devtools-CRtYm7JN.js.map → devtools-BaBYu7OV.js.map} +1 -1
  629. package/dist/kolibri/{disabled-Cp_Z3qUn.js → disabled-BBn2JEzf.js} +1 -1
  630. package/dist/kolibri/{disabled-Cp_Z3qUn.js.map → disabled-BBn2JEzf.js.map} +1 -1
  631. package/dist/kolibri/has-closer-CfUBQHmY.js +4 -0
  632. package/dist/kolibri/{has-closer-EMsTDubn.js.map → has-closer-CfUBQHmY.js.map} +1 -1
  633. package/dist/kolibri/hide-label-DQL9J6E_.js +4 -0
  634. package/dist/kolibri/{hide-label-BvUdILkE.js.map → hide-label-DQL9J6E_.js.map} +1 -1
  635. package/dist/kolibri/href-COBxk7m0.js +4 -0
  636. package/dist/kolibri/{href-C6r5xl19.js.map → href-COBxk7m0.js.map} +1 -1
  637. package/dist/kolibri/i18n-BVaUp6qp.js +4 -0
  638. package/dist/kolibri/{i18n-CSCkYcOW.js.map → i18n-BVaUp6qp.js.map} +1 -1
  639. package/dist/kolibri/{icons-Cl5Luo4Z.js → icons-CqQ9plmY.js} +1 -1
  640. package/dist/{esm/icons-Cl5Luo4Z.js.map → kolibri/icons-CqQ9plmY.js.map} +1 -1
  641. package/dist/kolibri/{index-BPtT34o3.js → index-C8rYknb2.js} +2 -2
  642. package/dist/{esm/index-BPtT34o3.js.map → kolibri/index-C8rYknb2.js.map} +1 -1
  643. package/dist/kolibri/index.esm.js +1 -1
  644. package/dist/kolibri/inline-D3xGVsIW.js +4 -0
  645. package/dist/kolibri/{inline-MFnRAU4D.js.map → inline-D3xGVsIW.js.map} +1 -1
  646. package/dist/kolibri/isArray-CcrBs4JM.js.map +1 -1
  647. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  648. package/dist/kolibri/kol-abbr.entry.js +1 -1
  649. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  650. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  651. package/dist/kolibri/kol-accordion.entry.js +1 -1
  652. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  653. package/dist/kolibri/kol-alert-wc.entry.esm.js.map +1 -1
  654. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  655. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  656. package/dist/kolibri/kol-alert.entry.js +1 -1
  657. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  658. package/dist/kolibri/kol-avatar.entry.js +1 -1
  659. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  660. package/dist/kolibri/kol-badge.entry.js +1 -1
  661. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  662. package/dist/kolibri/kol-button-link.entry.js +1 -1
  663. package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
  664. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  665. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  666. package/dist/kolibri/kol-button.entry.js +1 -1
  667. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  668. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  669. package/dist/kolibri/kol-card.entry.js +1 -1
  670. package/dist/kolibri/kol-click-button.entry.esm.js.map +1 -1
  671. package/dist/kolibri/kol-click-button.entry.js +1 -1
  672. package/dist/kolibri/kol-click-button.entry.js.map +1 -1
  673. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  674. package/dist/kolibri/kol-combobox.entry.js +1 -1
  675. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  676. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  677. package/dist/kolibri/kol-details.entry.js +1 -1
  678. package/dist/kolibri/kol-details.entry.js.map +1 -1
  679. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  680. package/dist/kolibri/kol-dialog-wc.entry.js.map +1 -1
  681. package/dist/kolibri/kol-dialog.entry.js +1 -1
  682. package/dist/kolibri/kol-drawer.entry.js +1 -1
  683. package/dist/kolibri/kol-form.entry.js +1 -1
  684. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  685. package/dist/kolibri/kol-heading.entry.js +1 -1
  686. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  687. package/dist/kolibri/kol-icon.entry.esm.js.map +1 -1
  688. package/dist/kolibri/kol-icon.entry.js +1 -1
  689. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  690. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  691. package/dist/kolibri/kol-image.entry.js +1 -1
  692. package/dist/kolibri/kol-image.entry.js.map +1 -1
  693. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  694. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  695. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  696. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  697. package/dist/kolibri/kol-input-color.entry.js +1 -1
  698. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  699. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  700. package/dist/kolibri/kol-input-date.entry.js +1 -1
  701. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  702. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  703. package/dist/kolibri/kol-input-email.entry.js +1 -1
  704. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  705. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  706. package/dist/kolibri/kol-input-file.entry.js +1 -1
  707. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  708. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  709. package/dist/kolibri/kol-input-number.entry.js +1 -1
  710. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  711. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  712. package/dist/kolibri/kol-input-password.entry.js +1 -1
  713. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  714. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  715. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  716. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  717. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  718. package/dist/kolibri/kol-input-range.entry.js +1 -1
  719. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  720. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  721. package/dist/kolibri/kol-input-text.entry.js +1 -1
  722. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  723. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  724. package/dist/kolibri/kol-link-button.entry.js +1 -1
  725. package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
  726. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  727. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  728. package/dist/kolibri/kol-link.entry.js +1 -1
  729. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  730. package/dist/kolibri/kol-meter.entry.js +1 -1
  731. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  732. package/dist/kolibri/kol-modal.entry.js +1 -1
  733. package/dist/kolibri/kol-nav.entry.js +1 -1
  734. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  735. package/dist/kolibri/kol-pagination-wc.entry.js.map +1 -1
  736. package/dist/kolibri/kol-pagination.entry.js +1 -1
  737. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  738. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  739. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  740. package/dist/kolibri/kol-progress.entry.js +1 -1
  741. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  742. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  743. package/dist/kolibri/kol-quote.entry.js +1 -1
  744. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  745. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  746. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  747. package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
  748. package/dist/kolibri/kol-select.entry.js +1 -1
  749. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  750. package/dist/kolibri/kol-single-select.entry.js +1 -1
  751. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  752. package/dist/kolibri/kol-skeleton.entry.esm.js.map +1 -1
  753. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  754. package/dist/kolibri/kol-skeleton.entry.js.map +1 -1
  755. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  756. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  757. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  758. package/dist/kolibri/kol-spin.entry.js +1 -1
  759. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  760. package/dist/kolibri/kol-split-button.entry.js +1 -1
  761. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  762. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  763. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
  764. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  765. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  766. package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
  767. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  768. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  769. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  770. package/dist/kolibri/kol-tabs.entry.js +1 -1
  771. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  772. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  773. package/dist/kolibri/kol-textarea.entry.js +1 -1
  774. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  775. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  776. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  777. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  778. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  779. package/dist/kolibri/kol-tooltip-wc.entry.esm.js.map +1 -1
  780. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  781. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  782. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  783. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  784. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  785. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  786. package/dist/kolibri/kol-tree.entry.js +1 -1
  787. package/dist/kolibri/kol-version.entry.js +1 -1
  788. package/dist/kolibri/kolibri.esm.js +1 -1
  789. package/dist/kolibri/{label-YKsDbE5K.js → label-BEOW9ltS.js} +1 -1
  790. package/dist/{esm/label-YKsDbE5K.js.map → kolibri/label-BEOW9ltS.js.map} +1 -1
  791. package/dist/kolibri/{label-Cd37SRqu.js → label-vxVEH2gH.js} +1 -1
  792. package/dist/{esm/label-Cd37SRqu.js.map → kolibri/label-vxVEH2gH.js.map} +1 -1
  793. package/dist/kolibri/{level-BxYUNJ1-.js → level-Bwrb_jzT.js} +1 -1
  794. package/dist/{esm/level-BxYUNJ1-.js.map → kolibri/level-Bwrb_jzT.js.map} +1 -1
  795. package/dist/kolibri/{max-length-behavior-BQyK6pTW.js → max-length-behavior-DMw3rhwa.js} +1 -1
  796. package/dist/kolibri/{max-length-behavior-BQyK6pTW.js.map → max-length-behavior-DMw3rhwa.js.map} +1 -1
  797. package/dist/kolibri/multiple-sbfZAt7f.js +4 -0
  798. package/dist/kolibri/{multiple-o7O9-jfG.js.map → multiple-sbfZAt7f.js.map} +1 -1
  799. package/dist/kolibri/normalizers-DnkJhVYZ.js +4 -0
  800. package/dist/kolibri/normalizers-DnkJhVYZ.js.map +1 -0
  801. package/dist/kolibri/open-BMZVrISI.js +4 -0
  802. package/dist/kolibri/{open-CQYEMxrb.js.map → open-BMZVrISI.js.map} +1 -1
  803. package/dist/kolibri/{orientation-DqJ-qcRZ.js → orientation-D3LRVMo1.js} +1 -1
  804. package/dist/kolibri/{orientation-DqJ-qcRZ.js.map → orientation-D3LRVMo1.js.map} +1 -1
  805. package/dist/kolibri/placeholder-BuBUMNhW.js +4 -0
  806. package/dist/kolibri/{placeholder-DsAnRKrf.js.map → placeholder-BuBUMNhW.js.map} +1 -1
  807. package/dist/kolibri/read-only-DnkXqxgk.js +4 -0
  808. package/dist/kolibri/{read-only-SN_GeL2X.js.map → read-only-DnkXqxgk.js.map} +1 -1
  809. package/dist/kolibri/required-C9Xj8kw2.js +4 -0
  810. package/dist/kolibri/{required-Ds8VBM7N.js.map → required-C9Xj8kw2.js.map} +1 -1
  811. package/dist/kolibri/rows-lThApm3P.js +4 -0
  812. package/dist/kolibri/{rows-DXMwg6VY.js.map → rows-lThApm3P.js.map} +1 -1
  813. package/dist/kolibri/spell-check-Y1ApnP_M.js +4 -0
  814. package/dist/kolibri/{spell-check-SKqMIGfR.js.map → spell-check-Y1ApnP_M.js.map} +1 -1
  815. package/dist/kolibri/src-D1LGDerl.js +4 -0
  816. package/dist/kolibri/{src-ZNAInwRj.js.map → src-D1LGDerl.js.map} +1 -1
  817. package/dist/kolibri/{suggestions-Bu6noihP.js → suggestions-D5cst2OI.js} +1 -1
  818. package/dist/kolibri/{suggestions-Bu6noihP.js.map → suggestions-D5cst2OI.js.map} +1 -1
  819. package/dist/kolibri/{table-selection-Dp8qMfQK.js → table-selection-CXJmsMfX.js} +1 -1
  820. package/dist/kolibri/{table-selection-Dp8qMfQK.js.map → table-selection-CXJmsMfX.js.map} +1 -1
  821. package/dist/kolibri/test-component.entry.js +1 -1
  822. package/dist/kolibri/tooltip-align-DnbCY1Uu.js +4 -0
  823. package/dist/kolibri/{tooltip-align-D0H6p6J-.js.map → tooltip-align-DnbCY1Uu.js.map} +1 -1
  824. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +4 -0
  825. package/dist/kolibri/{tooltip-open-tracking-rBbBgPWP.js.map → tooltip-open-tracking-D3tCiiGP.js.map} +1 -1
  826. package/dist/kolibri/{unique-nav-labels-gjoTXEl2.js → unique-nav-labels-BIHfxulq.js} +1 -1
  827. package/dist/kolibri/{unique-nav-labels-gjoTXEl2.js.map → unique-nav-labels-BIHfxulq.js.map} +1 -1
  828. package/dist/kolibri/unit-eRQuaHYy.js +4 -0
  829. package/dist/kolibri/{unit-CT_uTXCe.js.map → unit-eRQuaHYy.js.map} +1 -1
  830. package/dist/kolibri/validation-BytKl095.js +4 -0
  831. package/dist/kolibri/{validation-1WO5IiaK.js.map → validation-BytKl095.js.map} +1 -1
  832. package/dist/kolibri/{validation-0DtswhYW.js → validation-JhNRqKy1.js} +1 -1
  833. package/dist/kolibri/{validation-0DtswhYW.js.map → validation-JhNRqKy1.js.map} +1 -1
  834. package/dist/kolibri/{variant-class-name-CXDTsEes.js → variant-class-name-BVKxs0G0.js} +1 -1
  835. package/dist/{esm/variant-class-name-CXDTsEes.js.map → kolibri/variant-class-name-BVKxs0G0.js.map} +1 -1
  836. package/dist/kolibri/variant-quote-CHD0qMkY.js +4 -0
  837. package/dist/kolibri/variant-quote-CHD0qMkY.js.map +1 -0
  838. package/dist/types/components/abbr/shadow.d.ts +5 -0
  839. package/dist/types/components/button/component.d.ts +3 -3
  840. package/dist/types/components/component-list.d.ts +26 -2
  841. package/dist/types/components/heading/component.d.ts +1 -2
  842. package/dist/types/components/icon/component.d.ts +1 -2
  843. package/dist/types/components/image/component.d.ts +1 -2
  844. package/dist/types/components/link/component.d.ts +2 -3
  845. package/dist/types/components/quote/component.d.ts +1 -2
  846. package/dist/types/components/spin/component.d.ts +17 -0
  847. package/dist/types/components/tooltip/component.d.ts +5 -31
  848. package/dist/types/components.d.ts +21 -24
  849. package/dist/types/functional-components/FieldControl/FieldControl.d.ts +2 -0
  850. package/dist/types/functional-components/FormField/FormField.d.ts +4 -2
  851. package/dist/types/index.d.ts +1 -1
  852. package/dist/types/internal/functional-components/avatar/controller.d.ts +2 -2
  853. package/dist/types/internal/functional-components/base-controller.d.ts +4 -4
  854. package/dist/types/internal/functional-components/base-web-component.d.ts +3 -3
  855. package/dist/types/internal/functional-components/click-button/controller.d.ts +2 -2
  856. package/dist/types/internal/functional-components/generic-types.d.ts +4 -0
  857. package/dist/types/internal/functional-components/heading/controller.d.ts +2 -2
  858. package/dist/types/internal/functional-components/icon/controller.d.ts +2 -2
  859. package/dist/types/internal/functional-components/image/controller.d.ts +2 -2
  860. package/dist/types/internal/functional-components/meter/controller.d.ts +2 -2
  861. package/dist/types/internal/functional-components/progress/controller.d.ts +2 -2
  862. package/dist/types/internal/functional-components/quote/controller.d.ts +2 -2
  863. package/dist/types/internal/functional-components/skeleton/controller.d.ts +2 -2
  864. package/dist/types/internal/functional-components/spin/api.d.ts +13 -0
  865. package/dist/types/internal/functional-components/spin/component.d.ts +4 -0
  866. package/dist/types/internal/functional-components/spin/controller.d.ts +14 -0
  867. package/dist/types/internal/functional-components/tooltip/api.d.ts +10 -0
  868. package/dist/types/internal/functional-components/tooltip/component.d.ts +12 -0
  869. package/dist/types/internal/functional-components/tooltip/controller.d.ts +36 -0
  870. package/dist/types/internal/props/id.d.ts +3 -0
  871. package/dist/types/internal/props/index.d.ts +1 -1
  872. package/dist/types/internal/props/variant-spin.d.ts +5 -0
  873. package/dist/types/schema/bem-registry.d.ts +14 -0
  874. package/doc/spin.md +2 -13
  875. package/package.json +10 -9
  876. package/vscode-custom-data.json +1 -1
  877. package/dist/cjs/FieldControlStateWrapper-fuU7vCSF.js +0 -4
  878. package/dist/cjs/FieldControlStateWrapper-fuU7vCSF.js.map +0 -1
  879. package/dist/cjs/FormFieldStateWrapper-DFDKYGXF.js +0 -4
  880. package/dist/cjs/FormFieldStateWrapper-DFDKYGXF.js.map +0 -1
  881. package/dist/cjs/_Uint8Array-H2CXBET6.js +0 -4
  882. package/dist/cjs/_Uint8Array-H2CXBET6.js.map +0 -1
  883. package/dist/cjs/align-Dgke5npK.js +0 -4
  884. package/dist/cjs/base-web-component-C3wNPDxk.js +0 -4
  885. package/dist/cjs/base-web-component-C3wNPDxk.js.map +0 -1
  886. package/dist/cjs/bem-registry-BYsM9uZG.js.map +0 -1
  887. package/dist/cjs/component-TRu1ySJ5.js +0 -4
  888. package/dist/cjs/component-_osv0u4g.js.map +0 -1
  889. package/dist/cjs/component-names-CLJnvcGE.js +0 -4
  890. package/dist/cjs/controller-B2pSXz2k.js +0 -4
  891. package/dist/cjs/controller-B2pSXz2k.js.map +0 -1
  892. package/dist/cjs/controller-icon-YX2g0qKC.js +0 -4
  893. package/dist/cjs/isObject-CyNHuTNs.js +0 -4
  894. package/dist/cjs/isObject-CyNHuTNs.js.map +0 -1
  895. package/dist/cjs/normalizers-BJ2c2X_E.js +0 -4
  896. package/dist/cjs/normalizers-BJ2c2X_E.js.map +0 -1
  897. package/dist/components/base-web-component.js +0 -4
  898. package/dist/components/base-web-component.js.map +0 -1
  899. package/dist/components/isObject.js +0 -4
  900. package/dist/components/isObject.js.map +0 -1
  901. package/dist/esm/FieldControlStateWrapper-u5T9Z9S9.js +0 -4
  902. package/dist/esm/FieldControlStateWrapper-u5T9Z9S9.js.map +0 -1
  903. package/dist/esm/FormFieldStateWrapper-D9-nbrAT.js +0 -4
  904. package/dist/esm/FormFieldStateWrapper-D9-nbrAT.js.map +0 -1
  905. package/dist/esm/Input-ZDG0uZKh.js +0 -4
  906. package/dist/esm/_Uint8Array-UP73qmmG.js +0 -4
  907. package/dist/esm/_Uint8Array-UP73qmmG.js.map +0 -1
  908. package/dist/esm/align-BmVteuP6.js +0 -4
  909. package/dist/esm/base-web-component-BnYjYRBQ.js +0 -4
  910. package/dist/esm/base-web-component-BnYjYRBQ.js.map +0 -1
  911. package/dist/esm/bem-registry-DTQ0cuzY.js.map +0 -1
  912. package/dist/esm/component-CL5w48zL.js +0 -4
  913. package/dist/esm/component-JM2Le9Vy.js.map +0 -1
  914. package/dist/esm/controller-BNZDhmmV.js +0 -4
  915. package/dist/esm/controller-BNZDhmmV.js.map +0 -1
  916. package/dist/esm/controller-icon-LTaTMYty.js +0 -4
  917. package/dist/esm/disabled-Cp_Z3qUn.js +0 -4
  918. package/dist/esm/isObject-BJgq02Md.js +0 -4
  919. package/dist/esm/isObject-BJgq02Md.js.map +0 -1
  920. package/dist/esm/normalizers-KEHwXLG5.js +0 -4
  921. package/dist/esm/normalizers-KEHwXLG5.js.map +0 -1
  922. package/dist/esm/tooltip-align-D0H6p6J-.js +0 -4
  923. package/dist/kolibri/Collapsible-Cxiz2gVO.js +0 -4
  924. package/dist/kolibri/CustomSuggestionsOptionsGroup-KAi-Zhy-.js +0 -4
  925. package/dist/kolibri/FieldControlStateWrapper-u5T9Z9S9.js +0 -4
  926. package/dist/kolibri/FieldControlStateWrapper-u5T9Z9S9.js.map +0 -1
  927. package/dist/kolibri/FormFieldStateWrapper-D9-nbrAT.js +0 -4
  928. package/dist/kolibri/FormFieldStateWrapper-D9-nbrAT.js.map +0 -1
  929. package/dist/kolibri/Heading-CdhA3sYv.js +0 -4
  930. package/dist/kolibri/_Uint8Array-UP73qmmG.js +0 -4
  931. package/dist/kolibri/_Uint8Array-UP73qmmG.js.map +0 -1
  932. package/dist/kolibri/app-globals-C8b8QdHH.js +0 -4
  933. package/dist/kolibri/base-web-component-BnYjYRBQ.js +0 -4
  934. package/dist/kolibri/base-web-component-BnYjYRBQ.js.map +0 -1
  935. package/dist/kolibri/bem-registry-DTQ0cuzY.js.map +0 -1
  936. package/dist/kolibri/component-CL5w48zL.js +0 -4
  937. package/dist/kolibri/component-JM2Le9Vy.js.map +0 -1
  938. package/dist/kolibri/controller-BNZDhmmV.js +0 -4
  939. package/dist/kolibri/controller-BNZDhmmV.js.map +0 -1
  940. package/dist/kolibri/controller-D6XbseiE.js +0 -4
  941. package/dist/kolibri/controller-DioBPNwP.js +0 -4
  942. package/dist/kolibri/controller-icon-LTaTMYty.js +0 -4
  943. package/dist/kolibri/custom-class-CuE7EhVR.js +0 -4
  944. package/dist/kolibri/has-closer-EMsTDubn.js +0 -4
  945. package/dist/kolibri/hide-label-BvUdILkE.js +0 -4
  946. package/dist/kolibri/href-C6r5xl19.js +0 -4
  947. package/dist/kolibri/i18n-CSCkYcOW.js +0 -4
  948. package/dist/kolibri/inline-MFnRAU4D.js +0 -4
  949. package/dist/kolibri/isObject-BJgq02Md.js +0 -4
  950. package/dist/kolibri/isObject-BJgq02Md.js.map +0 -1
  951. package/dist/kolibri/multiple-o7O9-jfG.js +0 -4
  952. package/dist/kolibri/normalizers-KEHwXLG5.js +0 -4
  953. package/dist/kolibri/normalizers-KEHwXLG5.js.map +0 -1
  954. package/dist/kolibri/open-CQYEMxrb.js +0 -4
  955. package/dist/kolibri/placeholder-DsAnRKrf.js +0 -4
  956. package/dist/kolibri/read-only-SN_GeL2X.js +0 -4
  957. package/dist/kolibri/required-Ds8VBM7N.js +0 -4
  958. package/dist/kolibri/rows-DXMwg6VY.js +0 -4
  959. package/dist/kolibri/spell-check-SKqMIGfR.js +0 -4
  960. package/dist/kolibri/src-ZNAInwRj.js +0 -4
  961. package/dist/kolibri/tooltip-align-D0H6p6J-.js +0 -4
  962. package/dist/kolibri/tooltip-open-tracking-rBbBgPWP.js +0 -4
  963. package/dist/kolibri/unit-CT_uTXCe.js +0 -4
  964. package/dist/kolibri/validation-1WO5IiaK.js +0 -4
  965. package/dist/types/components/spin/shadow.d.ts +0 -16
  966. package/dist/types/functional-components/FormFieldTooltip/FormFieldTooltip.d.ts +0 -11
  967. package/dist/types/functional-components/FormFieldTooltip/index.d.ts +0 -1
  968. package/dist/types/functional-components/FormFieldTooltip/tests/snapshort.test.d.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"kol-avatar.entry.cjs.js","sources":["src/internal/functional-components/avatar/component.tsx","src/internal/props/color.ts","src/internal/functional-components/avatar/api.tsx","src/internal/functional-components/avatar/controller.ts","src/components/avatar/style.scss?tag=kol-avatar&mode=default&encapsulation=shadow","src/components/avatar/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { AvatarApi } from './api';\n\nconst BEM_BLOCK_AVATAR = 'kol-avatar';\nconst BEM_CLASS_AVATAR__IMAGE = bem(BEM_BLOCK_AVATAR, 'image');\nconst BEM_CLASS_AVATAR__INITIALS = bem(BEM_BLOCK_AVATAR, 'initials');\n\nexport const AvatarFC: FC<FunctionalComponentProps<AvatarApi>> = (props) => {\n\tconst { color, initials, label, src } = props;\n\n\treturn (\n\t\t<div\n\t\t\taria-label={translate('kol-avatar-alt', { placeholders: { name: label } })}\n\t\t\tclass=\"kol-avatar\"\n\t\t\trole=\"img\"\n\t\t\tstyle={{\n\t\t\t\tbackgroundColor: color.backgroundColor,\n\t\t\t\tcolor: color.foregroundColor,\n\t\t\t}}\n\t\t>\n\t\t\t{src ? (\n\t\t\t\t<img alt=\"\" aria-hidden=\"true\" class={BEM_CLASS_AVATAR__IMAGE} src={src} />\n\t\t\t) : (\n\t\t\t\t<span aria-hidden=\"true\" class={BEM_CLASS_AVATAR__INITIALS}>\n\t\t\t\t\t{initials}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n","import type { ColorPair } from '../../schema';\nimport { createContrastColorPair } from '../../schema';\nimport { createPropDefinition, type Prop } from './helpers/factory';\n\n/**\n * Color prop for foreground/background color pairs\n *\n * Description:\n * Defines a color pair consisting of a foreground (text) and background color. Both colors\n * must be provided as valid hex values. The component automatically calculates contrast-safe\n * color pairs to ensure readability.\n *\n * Usage (according to WCAG 2.1):\n * - Single hex value: color=\"#003366\" (background; foreground is auto-calculated for contrast)\n * - Color pair object: color={ backgroundColor: \"#003366\", foregroundColor: \"#ffffff\" }\n * - All color combinations must meet WCAG contrast requirements:\n * - Normal text: minimum contrast ratio 4.5:1 (WCAG 1.4.3 Contrast Minimum, Level AA)\n * - Large text (≥18pt or ≥14pt bold): minimum contrast ratio 3:1\n * - Enhanced: minimum contrast ratio 7:1 for normal text (WCAG 1.4.6 Contrast Enhanced, Level AAA)\n * - Non-text elements (icons, borders) require a minimum contrast ratio of 3:1 (WCAG 1.4.11 Non-text Contrast)\n * - Color must not be the only means of conveying information (WCAG 1.4.1 Use of Color)\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/contrast-enhanced.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/use-of-color.html\n */\nconst HEX_REGEX = /^#((\\d|[a-f]){8}|(\\d|[a-f]){6}|(\\d|[a-f]){3,4})$/i;\nfunction isHexString(value: string): boolean {\n\treturn HEX_REGEX.test(value);\n}\n\nfunction normalizer(value: unknown): ColorPair {\n\tif (typeof value === 'string' && isHexString(value)) {\n\t\tconst colors = createContrastColorPair(value);\n\t\treturn {\n\t\t\tbackgroundColor: colors.background,\n\t\t\tforegroundColor: colors.foreground,\n\t\t};\n\t} else if (typeof value === 'object' && value) {\n\t\tconst colorPair = value as ColorPair;\n\t\tif (\n\t\t\ttypeof colorPair.backgroundColor === 'string' &&\n\t\t\ttypeof colorPair.foregroundColor === 'string' &&\n\t\t\tisHexString(colorPair.backgroundColor) &&\n\t\t\tisHexString(colorPair.foregroundColor)\n\t\t) {\n\t\t\tconst colors = createContrastColorPair({\n\t\t\t\tbackground: colorPair.backgroundColor,\n\t\t\t\tforeground: colorPair.foregroundColor,\n\t\t\t});\n\t\t\treturn {\n\t\t\t\tbackgroundColor: colors.background,\n\t\t\t\tforegroundColor: colors.foreground,\n\t\t\t};\n\t\t}\n\t}\n\tthrow new Error(`Invalid color ${value as string}`);\n}\n\nfunction validator(value: ColorPair) {\n\treturn isHexString(value.foregroundColor) && isHexString(value.backgroundColor);\n}\n\nexport type ColorProp = Prop<'color', ColorPair | string, ColorPair>;\nexport const colorProp = createPropDefinition<ColorProp>(\n\t'color',\n\t{\n\t\tbackgroundColor: '#d3d3d3',\n\t\tforegroundColor: '#3f3f3f',\n\t},\n\tnormalizer,\n\tvalidator,\n);\n","import { colorProp, labelProp, srcProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const avatarPropsConfig = {\n\toptional: [colorProp, srcProp],\n\trequired: [labelProp],\n} as const satisfies PropsConfigShape;\n\nexport type AvatarApi = ApiFromConfig<typeof avatarPropsConfig, { States: { initials: string } }>;\n","import type { ColorPair } from '../../../schema';\nimport { colorProp, labelProp, srcProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, GetStateFn, ResolvedInputProps, SetStateFn } from '../generic-types';\nimport type { AvatarApi } from './api';\nimport { avatarPropsConfig } from './api';\n\n/**\n * Formats a single name as an initial by taking the first character and converting it to uppercase.\n * @param name The name to format as an initial\n * @returns The uppercase first character, or empty string if name is empty\n */\nconst formatNameAsInitial = (name: string): string => {\n\tif (name.length === 0) {\n\t\treturn '';\n\t}\n\n\treturn name[0].toUpperCase();\n};\n\n/**\n * Normalizes the initials from a full name or label.\n * If the name contains multiple words, returns the first letters of the first and last words.\n * Otherwise, returns the first letter of the entire input.\n * @param value The input value to normalize as initials\n * @returns The normalized initials string\n */\nconst normalizeInitials = (value: string): string => {\n\tconst names = value.trim().split(/\\s+/); // split by any whitespace characters\n\tconst first = names[0];\n\tconst last = names[names.length - 1];\n\n\t// names might consist of only one word\n\tif (names.length >= 2 && first && last) {\n\t\treturn `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n\t}\n\n\treturn formatNameAsInitial(value);\n};\n\nexport class AvatarController extends BaseController<AvatarApi> implements ControllerInterface<AvatarApi> {\n\tpublic constructor(setState: SetStateFn<AvatarApi>, getState: GetStateFn<AvatarApi>) {\n\t\tsuper(avatarPropsConfig, setState, getState);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<AvatarApi>): void {\n\t\tconst { color, label, src } = props;\n\t\tthis.watchColor(color);\n\t\tthis.watchLabel(label);\n\t\tthis.watchSrc(src);\n\t}\n\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\tcolorProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('color', v);\n\t\t});\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t\tthis.setState('initials', normalizeInitials(v));\n\t\t});\n\t}\n\n\tpublic watchSrc(value?: string): void {\n\t\tsrcProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('src', v);\n\t\t});\n\t}\n}\n","@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../host-display-block' as *;\n\n@layer kol-component {\n\t.kol-avatar,\n\t.kol-avatar__image,\n\t.kol-avatar__initials {\n\t\tborder-radius: 50%;\n\t}\n\n\t.kol-avatar {\n\t\t/* Visible with forced colors */\n\t\toutline: transparent solid to-rem(1);\n\n\t\tdisplay: flex;\n\t\twidth: to-rem(100);\n\t\theight: to-rem(100);\n\n\t\t&__initials {\n\t\t\tbackground-color: inherit;\n\t\t\tmargin: auto;\n\n\t\t\tfont-size: to-rem(40);\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { AvatarApi } from '../../internal/functional-components/avatar/api';\nimport { AvatarFC } from '../../internal/functional-components/avatar/component';\nimport { AvatarController } from '../../internal/functional-components/avatar/controller';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ColorPair } from '../../schema';\n\n/**\n * The **Avatar** component displays either a small image of the user or their initials if no image is available.\n */\n@Component({\n\ttag: 'kol-avatar',\n\tshadow: true,\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n})\nexport class KolAvatar extends BaseWebComponent<AvatarApi> implements WebComponentInterface<AvatarApi> {\n\tprivate readonly ctrl = new AvatarController(this.setState, this.getState);\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop()\n\tpublic _color?: string | ColorPair;\n\n\t@Watch('_color')\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\tthis.ctrl.watchColor(value);\n\t}\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()\n\tpublic _label!: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop()\n\tpublic _src?: string;\n\n\t@Watch('_src')\n\tpublic watchSrc(value?: string): void {\n\t\tthis.ctrl.watchSrc(value);\n\t}\n\n\t@State()\n\tpublic initials: string = '';\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\tcolor: this._color,\n\t\t\tlabel: this._label,\n\t\t\tsrc: this._src,\n\t\t});\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<AvatarFC\n\t\t\t\t\tcolor={this.ctrl.getRenderProp('color')}\n\t\t\t\t\tlabel={this.ctrl.getRenderProp('label')}\n\t\t\t\t\tsrc={this.ctrl.getRenderProp('src')}\n\t\t\t\t\tinitials={this.initials}\n\t\t\t\t/>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":["bem","h","translate","createContrastColorPair","createPropDefinition","srcProp","labelProp","BaseController","BaseWebComponent","Host"],"mappings":";;;;;;;;;;;;;;;;;;;AAQA,MAAM,gBAAgB,GAAG,YAAY;AACrC,MAAM,uBAAuB,GAAGA,eAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC;AAC9D,MAAM,0BAA0B,GAAGA,eAAG,CAAC,gBAAgB,EAAE,UAAU,CAAC;AAE7D,MAAM,QAAQ,GAA4C,CAAC,KAAK,KAAI;IAC1E,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK;AAE7C,IAAA,QACCC,OACa,CAAA,KAAA,EAAA,EAAA,YAAA,EAAAC,cAAS,CAAC,gBAAgB,EAAE,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,EAC1E,KAAK,EAAC,YAAY,EAClB,IAAI,EAAC,KAAK,EACV,KAAK,EAAE;YACN,eAAe,EAAE,KAAK,CAAC,eAAe;YACtC,KAAK,EAAE,KAAK,CAAC,eAAe;SAC5B,EAAA,EAEA,GAAG,IACHD,iBAAK,GAAG,EAAC,EAAE,EAAA,aAAA,EAAa,MAAM,EAAC,KAAK,EAAE,uBAAuB,EAAE,GAAG,EAAE,GAAG,EAAA,CAAI,KAE3E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,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;;IAMnB,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YAC3B,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,GAAG,EAAE,IAAI,CAAC,IAAI;AACd,SAAA,CAAC;;IAGI,MAAM,GAAA;AACZ,QAAA,QACCP,QAACQ,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJR,OAAA,CAAC,QAAQ,EACR,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACtB,CAAA,CACI;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-avatar.entry.cjs.js","sources":["src/internal/props/color.ts","src/internal/functional-components/avatar/component.tsx","src/internal/functional-components/avatar/api.tsx","src/internal/functional-components/avatar/controller.ts","src/components/avatar/style.scss?tag=kol-avatar&mode=default&encapsulation=shadow","src/components/avatar/component.tsx"],"sourcesContent":["import type { ColorPair } from '../../schema';\nimport { createContrastColorPair } from '../../schema';\nimport { createPropDefinition, type Prop } from './helpers/factory';\n\n/**\n * Color prop for foreground/background color pairs\n *\n * Description:\n * Defines a color pair consisting of a foreground (text) and background color. Both colors\n * must be provided as valid hex values. The component automatically calculates contrast-safe\n * color pairs to ensure readability.\n *\n * Usage (according to WCAG 2.1):\n * - Single hex value: color=\"#003366\" (background; foreground is auto-calculated for contrast)\n * - Color pair object: color={ backgroundColor: \"#003366\", foregroundColor: \"#ffffff\" }\n * - All color combinations must meet WCAG contrast requirements:\n * - Normal text: minimum contrast ratio 4.5:1 (WCAG 1.4.3 Contrast Minimum, Level AA)\n * - Large text (≥18pt or ≥14pt bold): minimum contrast ratio 3:1\n * - Enhanced: minimum contrast ratio 7:1 for normal text (WCAG 1.4.6 Contrast Enhanced, Level AAA)\n * - Non-text elements (icons, borders) require a minimum contrast ratio of 3:1 (WCAG 1.4.11 Non-text Contrast)\n * - Color must not be the only means of conveying information (WCAG 1.4.1 Use of Color)\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/contrast-enhanced.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/use-of-color.html\n */\nconst HEX_REGEX = /^#((\\d|[a-f]){8}|(\\d|[a-f]){6}|(\\d|[a-f]){3,4})$/i;\nfunction isHexString(value: string): boolean {\n\treturn HEX_REGEX.test(value);\n}\n\nfunction normalizer(value: unknown): ColorPair {\n\tif (typeof value === 'string' && isHexString(value)) {\n\t\tconst colors = createContrastColorPair(value);\n\t\treturn {\n\t\t\tbackgroundColor: colors.background,\n\t\t\tforegroundColor: colors.foreground,\n\t\t};\n\t} else if (typeof value === 'object' && value) {\n\t\tconst colorPair = value as ColorPair;\n\t\tif (\n\t\t\ttypeof colorPair.backgroundColor === 'string' &&\n\t\t\ttypeof colorPair.foregroundColor === 'string' &&\n\t\t\tisHexString(colorPair.backgroundColor) &&\n\t\t\tisHexString(colorPair.foregroundColor)\n\t\t) {\n\t\t\tconst colors = createContrastColorPair({\n\t\t\t\tbackground: colorPair.backgroundColor,\n\t\t\t\tforeground: colorPair.foregroundColor,\n\t\t\t});\n\t\t\treturn {\n\t\t\t\tbackgroundColor: colors.background,\n\t\t\t\tforegroundColor: colors.foreground,\n\t\t\t};\n\t\t}\n\t}\n\tthrow new Error(`Invalid color ${value as string}`);\n}\n\nfunction validator(value: ColorPair) {\n\treturn isHexString(value.foregroundColor) && isHexString(value.backgroundColor);\n}\n\nexport type ColorProp = Prop<'color', ColorPair | string, ColorPair>;\nexport const colorProp = createPropDefinition<ColorProp>(\n\t'color',\n\t{\n\t\tbackgroundColor: '#d3d3d3',\n\t\tforegroundColor: '#3f3f3f',\n\t},\n\tnormalizer,\n\tvalidator,\n);\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { AvatarApi } from './api';\n\nconst BEM_BLOCK_AVATAR = 'kol-avatar';\nconst BEM_CLASS_AVATAR__IMAGE = bem(BEM_BLOCK_AVATAR, 'image');\nconst BEM_CLASS_AVATAR__INITIALS = bem(BEM_BLOCK_AVATAR, 'initials');\n\nexport const AvatarFC: FC<FunctionalComponentProps<AvatarApi>> = (props) => {\n\tconst { color, initials, label, src } = props;\n\n\treturn (\n\t\t<div\n\t\t\taria-label={translate('kol-avatar-alt', { placeholders: { name: label } })}\n\t\t\tclass=\"kol-avatar\"\n\t\t\trole=\"img\"\n\t\t\tstyle={{\n\t\t\t\tbackgroundColor: color.backgroundColor,\n\t\t\t\tcolor: color.foregroundColor,\n\t\t\t}}\n\t\t>\n\t\t\t{src ? (\n\t\t\t\t<img alt=\"\" aria-hidden=\"true\" class={BEM_CLASS_AVATAR__IMAGE} src={src} />\n\t\t\t) : (\n\t\t\t\t<span aria-hidden=\"true\" class={BEM_CLASS_AVATAR__INITIALS}>\n\t\t\t\t\t{initials}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n","import { colorProp, labelProp, srcProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const avatarPropsConfig = {\n\toptional: [colorProp, srcProp],\n\trequired: [labelProp],\n} as const satisfies PropsConfigShape;\n\nexport type AvatarApi = ApiFromConfig<typeof avatarPropsConfig, { States: { initials: string } }>;\n","import type { ColorPair } from '../../../schema';\nimport { colorProp, labelProp, srcProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { AvatarApi } from './api';\nimport { avatarPropsConfig } from './api';\n\n/**\n * Formats a single name as an initial by taking the first character and converting it to uppercase.\n * @param name The name to format as an initial\n * @returns The uppercase first character, or empty string if name is empty\n */\nconst formatNameAsInitial = (name: string): string => {\n\tif (name.length === 0) {\n\t\treturn '';\n\t}\n\n\treturn name[0].toUpperCase();\n};\n\n/**\n * Normalizes the initials from a full name or label.\n * If the name contains multiple words, returns the first letters of the first and last words.\n * Otherwise, returns the first letter of the entire input.\n * @param value The input value to normalize as initials\n * @returns The normalized initials string\n */\nconst normalizeInitials = (value: string): string => {\n\tconst names = value.trim().split(/\\s+/); // split by any whitespace characters\n\tconst first = names[0];\n\tconst last = names[names.length - 1];\n\n\t// names might consist of only one word\n\tif (names.length >= 2 && first && last) {\n\t\treturn `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n\t}\n\n\treturn formatNameAsInitial(value);\n};\n\nexport class AvatarController extends BaseController<AvatarApi> implements ControllerInterface<AvatarApi> {\n\tpublic constructor(stateAccess: StateAccess<AvatarApi>) {\n\t\tsuper(stateAccess, avatarPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<AvatarApi>): void {\n\t\tconst { color, label, src } = props;\n\t\tthis.watchColor(color);\n\t\tthis.watchLabel(label);\n\t\tthis.watchSrc(src);\n\t}\n\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\tcolorProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('color', v);\n\t\t});\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t\tthis.setState('initials', normalizeInitials(v));\n\t\t});\n\t}\n\n\tpublic watchSrc(value?: string): void {\n\t\tsrcProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('src', v);\n\t\t});\n\t}\n}\n","@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../host-display-block' as *;\n\n@layer kol-component {\n\t.kol-avatar,\n\t.kol-avatar__image,\n\t.kol-avatar__initials {\n\t\tborder-radius: 50%;\n\t}\n\n\t.kol-avatar {\n\t\t/* Visible with forced colors */\n\t\toutline: transparent solid to-rem(1);\n\n\t\tdisplay: flex;\n\t\twidth: to-rem(100);\n\t\theight: to-rem(100);\n\n\t\t&__initials {\n\t\t\tbackground-color: inherit;\n\t\t\tmargin: auto;\n\n\t\t\tfont-size: to-rem(40);\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { AvatarApi } from '../../internal/functional-components/avatar/api';\nimport { AvatarFC } from '../../internal/functional-components/avatar/component';\nimport { AvatarController } from '../../internal/functional-components/avatar/controller';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ColorPair } from '../../schema';\n\n/**\n * The **Avatar** component displays either a small image of the user or their initials if no image is available.\n */\n@Component({\n\ttag: 'kol-avatar',\n\tshadow: true,\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n})\nexport class KolAvatar extends BaseWebComponent<AvatarApi> implements WebComponentInterface<AvatarApi> {\n\tprivate readonly ctrl = new AvatarController(this.stateAccess);\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop()\n\tpublic _color?: string | ColorPair;\n\n\t@Watch('_color')\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\tthis.ctrl.watchColor(value);\n\t}\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()\n\tpublic _label!: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop()\n\tpublic _src?: string;\n\n\t@Watch('_src')\n\tpublic watchSrc(value?: string): void {\n\t\tthis.ctrl.watchSrc(value);\n\t}\n\n\t@State()\n\tpublic initials: string = '';\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\tcolor: this._color,\n\t\t\tlabel: this._label,\n\t\t\tsrc: this._src,\n\t\t});\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<AvatarFC\n\t\t\t\t\tcolor={this.ctrl.getRenderProp('color')}\n\t\t\t\t\tlabel={this.ctrl.getRenderProp('label')}\n\t\t\t\t\tsrc={this.ctrl.getRenderProp('src')}\n\t\t\t\t\tinitials={this.initials}\n\t\t\t\t/>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":["createContrastColorPair","createPropDefinition","bem","h","translate","srcProp","labelProp","BaseController","BaseWebComponent","Host"],"mappings":";;;;;;;;;;;;;;;;;;;AA2BA,MAAM,SAAS,GAAG,mDAAmD;AACrE,SAAS,WAAW,CAAC,KAAa,EAAA;AACjC,IAAA,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC;AAC7B;AAEA,SAAS,UAAU,CAAC,KAAc,EAAA;IACjC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,WAAW,CAAC,KAAK,CAAC,EAAE;AACpD,QAAA,MAAM,MAAM,GAAGA,gCAAuB,CAAC,KAAK,CAAC;QAC7C,OAAO;YACN,eAAe,EAAE,MAAM,CAAC,UAAU;YAClC,eAAe,EAAE,MAAM,CAAC,UAAU;SAClC;;AACK,SAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,EAAE;QAC9C,MAAM,SAAS,GAAG,KAAkB;AACpC,QAAA,IACC,OAAO,SAAS,CAAC,eAAe,KAAK,QAAQ;AAC7C,YAAA,OAAO,SAAS,CAAC,eAAe,KAAK,QAAQ;AAC7C,YAAA,WAAW,CAAC,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AC,KAAK,CAAC;;AAUrB,IAAA,QAAQ,CAAC,KAAc,EAAA;AAC7B,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;;IAMnB,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YAC3B,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,GAAG,EAAE,IAAI,CAAC,IAAI;AACd,SAAA,CAAC;;IAGI,MAAM,GAAA;AACZ,QAAA,QACCL,QAACM,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJN,OAAA,CAAC,QAAQ,EACR,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACtB,CAAA,CACI;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-DT9bjXlJ.js"),component=require("./component-_osv0u4g.js"),common=require("./common-CyOOsddt.js"),color=require("./color-DgbilQH6.js"),icons=require("./icons-CtLpYmvA.js"),dev_utils=require("./dev.utils-DQ8NbpWO.js"),componentNames=require("./component-names-CLJnvcGE.js"),clsx=require("./clsx-Bm_HQUnh.js"),elementFocus=require("./element-focus-r03qIEIv.js");require("./tslib.es6-7DbU_BSw.js"),require("./bem-registry-BYsM9uZG.js"),require("./component-TRu1ySJ5.js"),require("./isArray-BOIOdEQh.js"),require("./contrast-6FMh-3Ia.js");const defaultStyleCss='/* 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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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-badge {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n }\n .kol-badge .kol-badge__smart-button .button {\n color: inherit;\n }\n}';common.featureHint("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const KolBadge=class{constructor(n){index.registerInstance(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=dev_utils.nonce(),this.setSmartButtonRef=n=>{this.smartButtonRef=n},this._color="#000",this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"},_icons:{}},this.handleColorChange=n=>{const e=color.handleColorChange(n);this.bgColorStr=e.backgroundColor,this.colorStr=e.foregroundColor}}renderSmartButton(n){return index.h(componentNames.KolButtonWcTag,{ref:this.setSmartButtonRef,class:"kol-badge__smart-button",_ariaControls:this.id,_ariaDescription:n._ariaDescription,_variant:n._variant,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign})}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.smartButtonRef))}render(){const n="object"==typeof this.state._smartButton&&null!==this.state._smartButton;return index.h("span",{key:"70a488f527dbdf86543212c4e4325871cb63c10c",class:clsx.clsx("kol-badge",{"kol-badge--has-smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton}),style:{backgroundColor:this.bgColorStr,color:this.colorStr}},index.h(component.SpanFC,{key:"edef95c6d364b0d4c029180a138c08a6af7f2ceb",class:"kol-badge__label",id:n?this.id:void 0,allowMarkdown:!0,icons:this.state._icons,label:this._label}),n&&this.renderSmartButton(this.state._smartButton))}validateIcons(n){icons.validateIcons(this,n)}validateColor(n){color.validateColor(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){common.objectObjectHandler(n,()=>{try{n=common.parseJson(n)}catch(n){}common.setState(this,"_smartButton",n)})}componentWillLoad(){this.validateIcons(this._icons),this.validateColor(this._color),this.validateSmartButton(this._smartButton)}get host(){return index.getElement(this)}static get watchers(){return{_icons:["validateIcons"],_color:["validateColor"],_smartButton:["validateSmartButton"]}}};KolBadge.style={default:defaultStyleCss},exports.kol_badge=KolBadge;
4
+ "use strict";var index=require("./index-Do5xA4dJ.js"),component=require("./component-C27tnivo.js"),common=require("./common-CyOOsddt.js"),color=require("./color-DgbilQH6.js"),icons=require("./icons-CtLpYmvA.js"),dev_utils=require("./dev.utils-jLeSRS1F.js"),componentNames=require("./component-names-5KS_pYRF.js"),clsx=require("./clsx-Bm_HQUnh.js"),elementFocus=require("./element-focus-r03qIEIv.js");require("./tslib.es6-7DbU_BSw.js"),require("./bem-registry-BRaXxTgN.js"),require("./component-CTPLUymr.js"),require("./isArray-BOIOdEQh.js"),require("./contrast-6FMh-3Ia.js");const defaultStyleCss='/* 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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1775118370120"); /* IE9*/\n src: url("kolicons.eot?t=1775118370120#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775118370120") format("woff2"), url("kolicons.woff?t=1775118370120") format("woff"), url("kolicons.ttf?t=1775118370120") format("truetype"), url("kolicons.svg?t=1775118370120#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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-badge {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n }\n .kol-badge .kol-badge__smart-button .button {\n color: inherit;\n }\n}';common.featureHint("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const KolBadge=class{constructor(n){index.registerInstance(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=dev_utils.nonce(),this.setSmartButtonRef=n=>{this.smartButtonRef=n},this._color="#000",this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"},_icons:{}},this.handleColorChange=n=>{const e=color.handleColorChange(n);this.bgColorStr=e.backgroundColor,this.colorStr=e.foregroundColor}}renderSmartButton(n){return index.h(componentNames.KolButtonWcTag,{ref:this.setSmartButtonRef,class:"kol-badge__smart-button",_ariaControls:this.id,_ariaDescription:n._ariaDescription,_variant:n._variant,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign})}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.smartButtonRef))}render(){const n="object"==typeof this.state._smartButton&&null!==this.state._smartButton;return index.h("span",{key:"70a488f527dbdf86543212c4e4325871cb63c10c",class:clsx.clsx("kol-badge",{"kol-badge--has-smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton}),style:{backgroundColor:this.bgColorStr,color:this.colorStr}},index.h(component.SpanFC,{key:"edef95c6d364b0d4c029180a138c08a6af7f2ceb",class:"kol-badge__label",id:n?this.id:void 0,allowMarkdown:!0,icons:this.state._icons,label:this._label}),n&&this.renderSmartButton(this.state._smartButton))}validateIcons(n){icons.validateIcons(this,n)}validateColor(n){color.validateColor(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){common.objectObjectHandler(n,()=>{try{n=common.parseJson(n)}catch(n){}common.setState(this,"_smartButton",n)})}componentWillLoad(){this.validateIcons(this._icons),this.validateColor(this._color),this.validateSmartButton(this._smartButton)}get host(){return index.getElement(this)}static get watchers(){return{_icons:["validateIcons"],_color:["validateColor"],_smartButton:["validateSmartButton"]}}};KolBadge.style={default:defaultStyleCss},exports.kol_badge=KolBadge;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-DT9bjXlJ.js"),common=require("./common-CyOOsddt.js"),label=require("./label-BpdiumjJ.js"),uniqueNavLabels=require("./unique-nav-labels-DJBlAxpe.js"),validation=require("./validation-CJn2v37b.js"),componentNames=require("./component-names-CLJnvcGE.js"),component=require("./component-TRu1ySJ5.js");require("./tslib.es6-7DbU_BSw.js"),require("./bem-registry-BYsM9uZG.js"),require("./clsx-Bm_HQUnh.js");const defaultStyleCss='/*\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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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-link {\n display: inline-flex;\n max-width: fit-content;\n align-items: baseline;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link--standalone {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: stretch;\n }\n .kol-link--standalone .kol-link__text {\n display: inline-flex;\n flex: 1 1 100%;\n place-items: center;\n }\n .kol-link .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link:hover:not([aria-disabled], [disabled]) .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n }\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n display: flex;\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n place-items: center;\n list-style: none;\n }\n .kol-breadcrumb__list-element:first-child:last-child {\n min-height: var(--a11y-min-size);\n }\n}',KolBreadcrumb=class{constructor(n){index.registerInstance(this,n),this.renderLink=(n,e)=>{const o=this.state._links.length-1;return index.h("li",{class:"kol-breadcrumb__list-element",key:e},e===o?index.h("span",{class:"kol-breadcrumb__list-element-span","aria-current":"page"},n._hideLabel?index.h(component.IconFC,{class:"kol-breadcrumb__icon",label:n._label,icons:"string"==typeof n._icons?n._icons:"kolicon-link"}):index.h(index.Fragment,null,n._label)):index.h(componentNames.KolLinkWcTag,Object.assign({class:"kol-breadcrumb__link",_inline:!1},n)),e!==o&&index.h(component.IconFC,{class:"kol-breadcrumb__separator",label:"",icons:"kolicon-chevron-right"}))},this.state={_label:"",_links:[]}}render(){return index.h("nav",{key:"bff94e213bc73c24069c1e5aa297aa54b6e98003",class:"kol-breadcrumb","aria-label":this.state._label},index.h("ul",{key:"2100b5df04175f39ebdfab1708100623856c4470",class:"kol-breadcrumb__list"},0===this.state._links.length&&index.h("li",{key:"3b73286454440609917059e00581d71ed20788d8"},index.h(component.IconFC,{key:"2b20cb24ae17a71c5b0dbeb713d1e32b04660f92",class:"kol-breadcrumb_icon",label:"",icons:"kolicon-house"}),"…"),this.state._links.map(this.renderLink)))}validateLabel(n,e,o=!1){o||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,n,{required:!0}),common.a11yHintLabelingLandmarks(n),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(n){validation.watchNavLinks("KolBreadcrumb",this,n)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};KolBreadcrumb.style={default:defaultStyleCss},exports.kol_breadcrumb=KolBreadcrumb;
4
+ "use strict";var index=require("./index-Do5xA4dJ.js"),common=require("./common-CyOOsddt.js"),label=require("./label-BpdiumjJ.js"),uniqueNavLabels=require("./unique-nav-labels-DJBlAxpe.js"),validation=require("./validation-CJn2v37b.js"),componentNames=require("./component-names-5KS_pYRF.js"),component=require("./component-CTPLUymr.js");require("./tslib.es6-7DbU_BSw.js"),require("./bem-registry-BRaXxTgN.js"),require("./clsx-Bm_HQUnh.js");const defaultStyleCss='/*\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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1775118370120"); /* IE9*/\n src: url("kolicons.eot?t=1775118370120#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775118370120") format("woff2"), url("kolicons.woff?t=1775118370120") format("woff"), url("kolicons.ttf?t=1775118370120") format("truetype"), url("kolicons.svg?t=1775118370120#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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-link {\n display: inline-flex;\n max-width: fit-content;\n align-items: baseline;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link--standalone {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: stretch;\n }\n .kol-link--standalone .kol-link__text {\n display: inline-flex;\n flex: 1 1 100%;\n place-items: center;\n }\n .kol-link .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link:hover:not([aria-disabled], [disabled]) .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n }\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n display: flex;\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n place-items: center;\n list-style: none;\n }\n .kol-breadcrumb__list-element:first-child:last-child {\n min-height: var(--a11y-min-size);\n }\n}',KolBreadcrumb=class{constructor(n){index.registerInstance(this,n),this.renderLink=(n,e)=>{const o=this.state._links.length-1;return index.h("li",{class:"kol-breadcrumb__list-element",key:e},e===o?index.h("span",{class:"kol-breadcrumb__list-element-span","aria-current":"page"},n._hideLabel?index.h(component.IconFC,{class:"kol-breadcrumb__icon",label:n._label,icons:"string"==typeof n._icons?n._icons:"kolicon-link"}):index.h(index.Fragment,null,n._label)):index.h(componentNames.KolLinkWcTag,Object.assign({class:"kol-breadcrumb__link",_inline:!1},n)),e!==o&&index.h(component.IconFC,{class:"kol-breadcrumb__separator",label:"",icons:"kolicon-chevron-right"}))},this.state={_label:"",_links:[]}}render(){return index.h("nav",{key:"bff94e213bc73c24069c1e5aa297aa54b6e98003",class:"kol-breadcrumb","aria-label":this.state._label},index.h("ul",{key:"2100b5df04175f39ebdfab1708100623856c4470",class:"kol-breadcrumb__list"},0===this.state._links.length&&index.h("li",{key:"3b73286454440609917059e00581d71ed20788d8"},index.h(component.IconFC,{key:"2b20cb24ae17a71c5b0dbeb713d1e32b04660f92",class:"kol-breadcrumb_icon",label:"",icons:"kolicon-house"}),"…"),this.state._links.map(this.renderLink)))}validateLabel(n,e,o=!1){o||uniqueNavLabels.removeNavLabel(this.state._label),label.validateLabel(this,n,{required:!0}),common.a11yHintLabelingLandmarks(n),uniqueNavLabels.addNavLabel(this.state._label)}validateLinks(n){validation.watchNavLinks("KolBreadcrumb",this,n)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){uniqueNavLabels.removeNavLabel(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};KolBreadcrumb.style={default:defaultStyleCss},exports.kol_breadcrumb=KolBreadcrumb;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-DT9bjXlJ.js"),componentNames=require("./component-names-CLJnvcGE.js"),elementClick=require("./element-click-BNHh6n4d.js"),elementFocus=require("./element-focus-r03qIEIv.js");require("./common-CyOOsddt.js");const defaultStyleCss='/* 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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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: inline-flex;\n max-width: fit-content;\n align-items: baseline;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-button--standalone {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: stretch;\n }\n .kol-button--standalone .kol-button__text {\n display: inline-flex;\n flex: 1 1 100%;\n place-items: center;\n }\n .kol-button .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-button:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-button:hover:not([aria-disabled], [disabled]) .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-button__icon {\n display: inline-flex;\n }\n .kol-button--inline {\n min-width: unset;\n min-height: unset;\n }\n}',KolButtonLink=class{constructor(n){index.registerInstance(this,n),this.setButtonWcRef=n=>{this.buttonWcRef=n},this._disabled=!1,this._hideLabel=!1,this._inline=!0,this._tooltipAlign="top",this._type="button"}async getValue(){return this._value}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.buttonWcRef))}async click(){return elementClick.delegateClick(this.host,async()=>elementClick.setClick(this.buttonWcRef))}render(){return index.h(componentNames.KolButtonWcTag,{key:"aee74e9f6ad89dc6370c313d63775bc7c665fb7a",ref:this.setButtonWcRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_inline:this._inline,_label:this._label,_name:this._name,_on:this._on,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"4a7469c07d168fa7ff20ba3ba96addc4df2360c6",name:"expert",slot:"expert"}))}get host(){return index.getElement(this)}};KolButtonLink.style={default:defaultStyleCss},exports.kol_button_link=KolButtonLink;
4
+ "use strict";var index=require("./index-Do5xA4dJ.js"),componentNames=require("./component-names-5KS_pYRF.js"),elementClick=require("./element-click-BNHh6n4d.js"),elementFocus=require("./element-focus-r03qIEIv.js");require("./common-CyOOsddt.js");const defaultStyleCss='/* 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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1775118370120"); /* IE9*/\n src: url("kolicons.eot?t=1775118370120#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775118370120") format("woff2"), url("kolicons.woff?t=1775118370120") format("woff"), url("kolicons.ttf?t=1775118370120") format("truetype"), url("kolicons.svg?t=1775118370120#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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: inline-flex;\n max-width: fit-content;\n align-items: baseline;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-button--standalone {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: stretch;\n }\n .kol-button--standalone .kol-button__text {\n display: inline-flex;\n flex: 1 1 100%;\n place-items: center;\n }\n .kol-button .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-button:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-button:hover:not([aria-disabled], [disabled]) .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-button__icon {\n display: inline-flex;\n }\n .kol-button--inline {\n min-width: unset;\n min-height: unset;\n }\n}',KolButtonLink=class{constructor(n){index.registerInstance(this,n),this.setButtonWcRef=n=>{this.buttonWcRef=n},this._disabled=!1,this._hideLabel=!1,this._inline=!0,this._tooltipAlign="top",this._type="button"}async getValue(){return this._value}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.buttonWcRef))}async click(){return elementClick.delegateClick(this.host,async()=>elementClick.setClick(this.buttonWcRef))}render(){return index.h(componentNames.KolButtonWcTag,{key:"aee74e9f6ad89dc6370c313d63775bc7c665fb7a",ref:this.setButtonWcRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_inline:this._inline,_label:this._label,_name:this._name,_on:this._on,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"4a7469c07d168fa7ff20ba3ba96addc4df2360c6",name:"expert",slot:"expert"}))}get host(){return index.getElement(this)}};KolButtonLink.style={default:defaultStyleCss},exports.kol_button_link=KolButtonLink;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-DT9bjXlJ.js"),common=require("./common-CyOOsddt.js"),component=require("./component-_osv0u4g.js"),accessAndShortKey=require("./access-and-short-key-CUXP_bqv.js"),variantClassName=require("./variant-class-name-BToWO6cS.js"),customClass=require("./custom-class-DKbltqfW.js"),disabled=require("./disabled-OBxr5yFQ.js"),hideLabel=require("./hide-label-D5C7_wBP.js"),icons=require("./icons-CtLpYmvA.js"),inline=require("./inline-B7iAl0VU.js"),label=require("./label-BpdiumjJ.js"),tooltipAlign=require("./tooltip-align-DykwbBJw.js"),componentNames=require("./component-names-CLJnvcGE.js"),clsx=require("./clsx-Bm_HQUnh.js"),elementClick=require("./element-click-BNHh6n4d.js"),elementFocus=require("./element-focus-r03qIEIv.js"),events=require("./events-Cd8febUV.js"),controller=require("./controller-DVajMOVA.js"),associated_controller=require("./associated.controller-CdkbkfHV.js");require("./tslib.es6-7DbU_BSw.js"),require("./bem-registry-BYsM9uZG.js"),require("./component-TRu1ySJ5.js"),require("./isArray-BOIOdEQh.js"),require("./align-Dgke5npK.js"),require("./bootstrap-Ct8zYDlN.js"),require("./i18n-CgUN6lev.js");const validateAriaSelected=(t,e)=>{common.watchBoolean(t,"_ariaSelected",e)},validateButtonCallbacks=(t,e)=>{common.watchValidator(t,"_on",t=>"object"==typeof t&&null!==t,new Set(["ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}"]),e)},buttonTypePropTypeOptions=["button","reset","submit"],validateButtonType=(t,e)=>{common.watchValidator(t,"_type",t=>"string"==typeof t&&buttonTypePropTypeOptions.includes(t),new Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(", ")}`]),e)},KolButtonWc=class{async focus(){return elementFocus.setFocus(this.buttonRef)}async click(){return elementClick.setClick(this.buttonRef)}render(){var t;const e=component.showExpertSlot(this.state._label),a=null===(t=this.state._ariaDescription)||void 0===t?void 0:t.trim(),i=this.state._accessKey||this.state._shortKey,s=!0===this.state._disabled,l=!0===this.state._hideLabel;return index.h(index.Host,{key:"caa3e67776ea2dcf39d231eb6b59af4360737be5"},index.h("button",{key:"b8a68224a8a8e7868825cb6cd574d71211be1cc7",ref:this.setButtonRef,accessKey:this.state._accessKey,"aria-controls":this.state._ariaControls,"aria-description":a||void 0,"aria-expanded":common.mapBoolean2String(this.state._ariaExpanded),"aria-haspopup":this._ariaHasPopup,"aria-keyshortcuts":this.state._shortKey,"aria-label":l&&"string"==typeof this.state._label?this.state._label:void 0,"aria-selected":common.mapStringOrBoolean2String(this.state._ariaSelected),class:clsx.clsx("kol-button",{"kol-button--disabled":s,[`kol-button--${this.state._variant}`]:"custom"!==this.state._variant,"kol-button--inline":!0===this.state._inline,"kol-button--standalone":!1===this.state._inline,"kol-button--hide-label":l,[this.state._customClass]:"string"==typeof this.state._customClass&&this.state._customClass.length>0}),disabled:s,id:this.state._id,name:this.state._name,onClick:this.onClick,onMouseDown:this.onMouseDown,role:this.state._role,tabIndex:this.state._tabIndex,type:this.state._type},index.h(component.SpanFC,{key:"4166132142502375f776be7c04902675f6bbeae7",class:"kol-button__text",badgeText:i,icons:this.state._icons,hideLabel:l,label:e?"":this.state._label},index.h("slot",{key:"b98ae84a6c48d3afedd72086c8f1bda853293f31",name:"expert",slot:"expert"}))),l&&index.h(componentNames.KolTooltipWcTag,{key:"48cd4c3489c919c78176a0b2a4e5d5a01f38d3a6",ref:this.setTooltipRef,"aria-hidden":"true",hidden:e,class:"kol-button__tooltip",_badgeText:i,_align:this.state._tooltipAlign,_label:"string"==typeof this.state._label?this.state._label:""}))}constructor(t){index.registerInstance(this,t),this.setButtonRef=t=>{this.buttonRef=t},this.setTooltipRef=t=>{this.tooltipRef=t},this.hideTooltip=()=>{var t;null===(t=this.tooltipRef)||void 0===t||t.hideTooltip()},this.onClick=t=>{var e,a;t.stopPropagation(),this.state._hideLabel&&this.hideTooltip(),"submit"===this.state._type?controller.propagateSubmitEventToForm({form:this.host}):"reset"===this.state._type?controller.propagateResetEventToForm({form:this.host}):(this.controller.setFormAssociatedValue(this.state._value),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&(common.setEventTarget(t,this.buttonRef),null===(a=this.state._on)||void 0===a||a.onClick(t,this.state._value))),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.click,this.state._value)},this.onMouseDown=t=>{var e,a,i;null===(i=null===(a=null===(e=this.state)||void 0===e?void 0:e._on)||void 0===a?void 0:a.onMouseDown)||void 0===i||i.call(a,t),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.mousedown)},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._tooltipAlign="top",this._type="button",this.state={_icons:{},_label:"",_on:{},_type:"button",_variant:"normal"},this.controller=new associated_controller.AssociatedInputController(this,"button",this.host)}validateAccessKey(t){accessAndShortKey.validateAccessKey(this,t),accessAndShortKey.validateAccessAndShortKey(t,this._shortKey)}validateAriaControls(t){variantClassName.validateAriaControls(this,t)}validateAriaDescription(t){variantClassName.validateAriaDescription(this,t)}validateAriaExpanded(t){variantClassName.validateAriaExpanded(this,t)}validateAriaSelected(t){validateAriaSelected(this,t)}validateCustomClass(t){customClass.validateCustomClass(this,t)}validateDisabled(t){disabled.validateDisabled(this,t)}validateHideLabel(t){hideLabel.validateHideLabel(this,t)}validateIcons(t){icons.validateIcons(this,t)}validateId(t){common.watchString(this,"_id",t)}validateInline(t){inline.validateInline(this,t,{defaultValue:!1})}validateLabel(t){label.validateLabelWithExpertSlot(this,t,{required:!0})}validateName(t){this.controller.validateName(t)}validateOn(t){validateButtonCallbacks(this,t)}validateRole(t){variantClassName.validateAlternativeButtonLinkRole(this,t)}validateShortKey(t){accessAndShortKey.validateShortKey(this,t),accessAndShortKey.validateAccessAndShortKey(this._accessKey,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){accessAndShortKey.validateTabIndex(this,t)}validateTooltipAlign(t){tooltipAlign.validateTooltipAlign(this,t)}validateType(t){validateButtonType(this,t)}validateValue(t){common.setState(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateVariant(t){variantClassName.validateVariantClassName(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaSelected(this._ariaSelected),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateHideLabel(this._hideLabel),this.validateIcons(this._icons),this.validateId(this._id),this.validateInline(this._inline),this.validateLabel(this._label),this.validateName(this._name),this.validateOn(this._on),this.validateRole(this._role),this.validateShortKey(this._shortKey),this.validateSyncValueBySelector(this._syncValueBySelector),this.validateTabIndex(this._tabIndex),this.validateTooltipAlign(this._tooltipAlign),this.validateType(this._type),this.validateValue(this._value),this.validateVariant(this._variant),accessAndShortKey.validateAccessAndShortKey(this._accessKey,this._shortKey)}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaControls:["validateAriaControls"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaSelected:["validateAriaSelected"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_icons:["validateIcons"],_id:["validateId"],_inline:["validateInline"],_label:["validateLabel"],_name:["validateName"],_on:["validateOn"],_role:["validateRole"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_tooltipAlign:["validateTooltipAlign"],_type:["validateType"],_value:["validateValue"],_variant:["validateVariant"]}}};exports.kol_button_wc=KolButtonWc;
4
+ "use strict";var index=require("./index-Do5xA4dJ.js"),common=require("./common-CyOOsddt.js"),component$1=require("./component-C27tnivo.js"),accessAndShortKey=require("./access-and-short-key-CUXP_bqv.js"),variantClassName=require("./variant-class-name-BToWO6cS.js"),customClass=require("./custom-class-DKbltqfW.js"),disabled=require("./disabled-OBxr5yFQ.js"),hideLabel=require("./hide-label-D5C7_wBP.js"),icons=require("./icons-CtLpYmvA.js"),inline=require("./inline-B7iAl0VU.js"),label=require("./label-BpdiumjJ.js"),tooltipAlign=require("./tooltip-align-BB5EsHsG.js"),variantQuote=require("./variant-quote-iZVwULXH.js"),component=require("./component-Liy_hR04.js"),controller=require("./controller-D3ETb78M.js"),clsx=require("./clsx-Bm_HQUnh.js"),elementClick=require("./element-click-BNHh6n4d.js"),elementFocus=require("./element-focus-r03qIEIv.js"),events=require("./events-Cd8febUV.js"),controller$1=require("./controller-DXiXhgaj.js"),associated_controller=require("./associated.controller-Qtcakwi5.js");require("./tslib.es6-7DbU_BSw.js"),require("./bem-registry-BRaXxTgN.js"),require("./component-CTPLUymr.js"),require("./isArray-BOIOdEQh.js"),require("./align-DLZnj4_m.js"),require("./normalizers-CLRF8il-.js"),require("./_Uint8Array-BAQUGozM.js"),require("./align-floating-elements-DUp-he6s.js"),require("./tooltip-open-tracking-Ba0udJRU.js"),require("./label-B0RK7DQ1.js"),require("./base-controller-DAzsTqX9.js"),require("./component-names-5KS_pYRF.js"),require("./bootstrap-CTHD2bd6.js"),require("./i18n-CgUN6lev.js");const validateAriaSelected=(t,e)=>{common.watchBoolean(t,"_ariaSelected",e)},validateButtonCallbacks=(t,e)=>{common.watchValidator(t,"_on",t=>"object"==typeof t&&null!==t,new Set(["ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}"]),e)},buttonTypePropTypeOptions=["button","reset","submit"],validateButtonType=(t,e)=>{common.watchValidator(t,"_type",t=>"string"==typeof t&&buttonTypePropTypeOptions.includes(t),new Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(", ")}`]),e)},KolButtonWc=class{async focus(){return elementFocus.setFocus(this.buttonRef)}async click(){return elementClick.setClick(this.buttonRef)}render(){var t;const e=component$1.showExpertSlot(this.state._label),a=null===(t=this.state._ariaDescription)||void 0===t?void 0:t.trim(),i=this.state._accessKey||this.state._shortKey,s=!0===this.state._disabled,l=!0===this.state._hideLabel;return index.h(index.Host,{key:"cc2137234f2b62215a09c704af340f177a26ab75"},index.h("button",{key:"0c432f5a96e950890a8014f8e8b7acabf46eabe7",ref:this.setButtonRef,accessKey:this.state._accessKey,"aria-controls":this.state._ariaControls,"aria-description":a||void 0,"aria-expanded":common.mapBoolean2String(this.state._ariaExpanded),"aria-haspopup":this._ariaHasPopup,"aria-keyshortcuts":this.state._shortKey,"aria-label":l&&"string"==typeof this.state._label&&this.state._label.length>0?this.state._label:void 0,"aria-selected":common.mapStringOrBoolean2String(this.state._ariaSelected),class:clsx.clsx("kol-button",{"kol-button--disabled":s,[`kol-button--${this.state._variant}`]:"custom"!==this.state._variant,"kol-button--inline":!0===this.state._inline,"kol-button--standalone":!1===this.state._inline,"kol-button--hide-label":l,[this.state._customClass]:"string"==typeof this.state._customClass&&this.state._customClass.length>0}),disabled:s,id:this.state._id,name:this.state._name,onClick:this.onClick,onMouseDown:this.onMouseDown,role:this.state._role,tabIndex:this.state._tabIndex,type:this.state._type},index.h(component$1.SpanFC,{key:"9359cefc9d1cd923994774993af926f0cb954287",class:"kol-button__text",badgeText:i,icons:this.state._icons,hideLabel:l,label:e?"":this.state._label},index.h("slot",{key:"9c50c20ed34c01d69f491f5a86e88d21c9f30a94",name:"expert",slot:"expert"}))),l&&"string"==typeof this.state._label&&this.state._label.length>0&&index.h("div",{key:"e0a58b0b2c545f1a0f85ecf12cac02124aa2893e",class:"kol-button__tooltip"},index.h(component.TooltipFC,{key:"325e1e7a548c1b73b4738fc16b9f7856cf7212a8",badgeText:i||"",label:this.state._label,id:this.tooltipCtrl.getRenderProp("id"),refFloating:this.tooltipCtrl.setTooltipElementRef})))}constructor(t){index.registerInstance(this,t),this.tooltipCtrl=new controller.TooltipController(variantQuote.BaseWebComponent.stateLess),this.setButtonRef=t=>{this.buttonRef=t},this.onClick=t=>{var e,a;t.stopPropagation(),this.tooltipCtrl.hideTooltip(),"submit"===this.state._type?controller$1.propagateSubmitEventToForm({form:this.host}):"reset"===this.state._type?controller$1.propagateResetEventToForm({form:this.host}):(this.controller.setFormAssociatedValue(this.state._value),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&(common.setEventTarget(t,this.buttonRef),null===(a=this.state._on)||void 0===a||a.onClick(t,this.state._value))),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.click,this.state._value)},this.onMouseDown=t=>{var e,a,i;null===(i=null===(a=null===(e=this.state)||void 0===e?void 0:e._on)||void 0===a?void 0:a.onMouseDown)||void 0===i||i.call(a,t),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.mousedown)},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._tooltipAlign="top",this._type="button",this.state={_icons:{},_label:"",_on:{},_type:"button",_variant:"normal"},this.controller=new associated_controller.AssociatedInputController(this,"button",this.host)}validateAccessKey(t){accessAndShortKey.validateAccessKey(this,t),accessAndShortKey.validateAccessAndShortKey(t,this._shortKey)}validateAriaControls(t){variantClassName.validateAriaControls(this,t)}validateAriaDescription(t){variantClassName.validateAriaDescription(this,t)}validateAriaExpanded(t){variantClassName.validateAriaExpanded(this,t)}validateAriaSelected(t){validateAriaSelected(this,t)}validateCustomClass(t){customClass.validateCustomClass(this,t)}validateDisabled(t){disabled.validateDisabled(this,t)}validateHideLabel(t){hideLabel.validateHideLabel(this,t)}validateIcons(t){icons.validateIcons(this,t)}validateId(t){common.watchString(this,"_id",t)}validateInline(t){inline.validateInline(this,t,{defaultValue:!1})}validateLabel(t){label.validateLabelWithExpertSlot(this,t,{required:!0}),this.tooltipCtrl.watchLabel("string"==typeof t?t:void 0)}validateName(t){this.controller.validateName(t)}validateOn(t){validateButtonCallbacks(this,t)}validateRole(t){variantClassName.validateAlternativeButtonLinkRole(this,t)}validateShortKey(t){accessAndShortKey.validateShortKey(this,t),accessAndShortKey.validateAccessAndShortKey(this._accessKey,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){accessAndShortKey.validateTabIndex(this,t)}validateTooltipAlign(t){tooltipAlign.validateTooltipAlign(this,t),this.tooltipCtrl.watchAlign(t)}validateType(t){validateButtonType(this,t)}validateValue(t){common.setState(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateVariant(t){variantClassName.validateVariantClassName(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaSelected(this._ariaSelected),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateHideLabel(this._hideLabel),this.validateIcons(this._icons),this.validateId(this._id),this.validateInline(this._inline),this.validateLabel(this._label),this.validateName(this._name),this.validateOn(this._on),this.validateRole(this._role),this.validateShortKey(this._shortKey),this.validateSyncValueBySelector(this._syncValueBySelector),this.validateTabIndex(this._tabIndex),this.validateTooltipAlign(this._tooltipAlign),this.validateType(this._type),this.validateValue(this._value),this.validateVariant(this._variant),accessAndShortKey.validateAccessAndShortKey(this._accessKey,this._shortKey),this.tooltipCtrl.componentWillLoad({label:"string"==typeof this.state._label?this.state._label:"",align:this._tooltipAlign})}componentDidRender(){this.buttonRef&&this.tooltipCtrl.syncListeners(void 0,this.buttonRef,!0)}disconnectedCallback(){this.tooltipCtrl.destroy()}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaControls:["validateAriaControls"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaSelected:["validateAriaSelected"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_icons:["validateIcons"],_id:["validateId"],_inline:["validateInline"],_label:["validateLabel"],_name:["validateName"],_on:["validateOn"],_role:["validateRole"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_tooltipAlign:["validateTooltipAlign"],_type:["validateType"],_value:["validateValue"],_variant:["validateVariant"]}}};exports.kol_button_wc=KolButtonWc;
@@ -1 +1 @@
1
- {"version":3,"file":"kol-button-wc.entry.cjs.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};\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}']),\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\tCustomClassPropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport {\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 { KolTooltipWcTag } from '../../core/component-names';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport clsx from '../../utils/clsx';\nimport { setClick } from '../../utils/element-click';\nimport { setFocus } from '../../utils/element-focus';\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, FocusableElement {\n\t@Element() private readonly host?: HTMLKolButtonWcElement;\n\tprivate buttonRef?: HTMLButtonElement;\n\tprivate tooltipRef?: HTMLKolTooltipWcElement;\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\tpublic async focus(): Promise<void> {\n\t\treturn setFocus(this.buttonRef!);\n\t}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\tpublic async click(): Promise<void> {\n\t\treturn setClick(this.buttonRef!);\n\t}\n\n\tprivate readonly setButtonRef = (ref?: HTMLButtonElement) => {\n\t\tthis.buttonRef = ref;\n\t};\n\n\tprivate readonly setTooltipRef = (ref?: HTMLKolTooltipWcElement) => {\n\t\tthis.tooltipRef = ref;\n\t};\n\n\tprivate readonly hideTooltip = () => {\n\t\tvoid this.tooltipRef?.hideTooltip();\n\t};\n\n\tprivate readonly onClick = (event: MouseEvent) => {\n\t\tevent.stopPropagation();\n\n\t\tif (this.state._hideLabel) {\n\t\t\tvoid this.hideTooltip();\n\t\t}\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.buttonRef,\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.buttonRef,\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.buttonRef);\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\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.setButtonRef}\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 : 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[`kol-button--${this.state._variant as string}`]: this.state._variant !== 'custom',\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\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 && (\n\t\t\t\t\t<KolTooltipWcTag\n\t\t\t\t\t\tref={this.setTooltipRef}\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Dieses Aria-Hidden verhindert das doppelte Vorlesen des Labels,\n\t\t\t\t\t\t * verhindert aber nicht das Aria-Labelledby vorgelesen wird.\n\t\t\t\t\t\t */\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\thidden={hasExpertSlot}\n\t\t\t\t\t\tclass=\"kol-button__tooltip\"\n\t\t\t\t\t\t_badgeText={badgeText}\n\t\t\t\t\t\t_align={this.state._tooltipAlign}\n\t\t\t\t\t\t_label={typeof this.state._label === 'string' ? this.state._label : ''}\n\t\t\t\t\t></KolTooltipWcTag>\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;\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\t_variant: 'normal',\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}\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}\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}\n}\n"],"names":["watchBoolean","watchValidator","setFocus","setClick","showExpertSlot","h","Host","mapBoolean2String","mapStringOrBoolean2String","clsx","SpanFC","KolTooltipWcTag","propagateSubmitEventToForm","propagateResetEventToForm","setEventTarget","dispatchDomEvent","KolEvent","AssociatedInputController","validateAccessKey","validateAccessAndShortKey","validateAriaControls","validateAriaDescription","validateAriaExpanded","validateCustomClass","validateDisabled","validateHideLabel","validateIcons","watchString","validateInline","validateLabelWithExpertSlot","validateAlternativeButtonLinkRole","validateShortKey","validateTabIndex","validateTooltipAlign","setState","validateVariantClassName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAAe,KAAU;AACnG,IAAAA,mBAAY,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AAChD,CAAC;;ACEM,MAAM,uBAAuB,GAAG,CAAC,SAAoC,EAAE,KAA+C,KAAU;AACtI,IAAAC,qBAAc,CACb,SAAS,EACT,CAAA,GAAA,CAAK,EACL,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EACtD,IAAI,GAAG,CAAC,CAAC,8DAA8D,CAAC,CAAC,EACzE,KAAK,CACL;AACF,CAAC;;ACxBD,MAAM,yBAAyB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;AAWjE,MAAM,kBAAkB,GAAG,CAAC,SAAoC,EAAE,KAA0B,KAAU;AAC5G,IAAAA,qBAAc,CACb,SAAS,EACT,CAAO,KAAA,CAAA,EACP,CAAC,K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C,IAAI,CAAC,SAAS,CAAC;AACrC,QAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;AACvC,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;AACjC,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;AAC7B,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC;AACzB,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;AAC7B,QAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC;AACrC,QAAA,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,oBAAoB,CAAC;AAC3D,QAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC;AACrC,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;QACnChB,2CAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-button-wc.entry.cjs.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};\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}']),\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\tCustomClassPropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport {\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 { 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 { setClick } from '../../utils/element-click';\nimport { setFocus } from '../../utils/element-focus';\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, FocusableElement {\n\t@Element() private readonly host?: HTMLKolButtonWcElement;\n\tprivate buttonRef?: 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\tpublic async focus(): Promise<void> {\n\t\treturn setFocus(this.buttonRef!);\n\t}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\tpublic async click(): Promise<void> {\n\t\treturn setClick(this.buttonRef!);\n\t}\n\n\tprivate readonly setButtonRef = (ref?: HTMLButtonElement) => {\n\t\tthis.buttonRef = ref;\n\t};\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.buttonRef,\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.buttonRef,\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.buttonRef);\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\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.setButtonRef}\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[`kol-button--${this.state._variant as string}`]: this.state._variant !== 'custom',\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\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;\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\t_variant: 'normal',\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.buttonRef) {\n\t\t\tthis.tooltipCtrl.syncListeners(undefined, this.buttonRef, true);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.tooltipCtrl.destroy();\n\t}\n}\n"],"names":["watchBoolean","watchValidator","setFocus","setClick","showExpertSlot","h","Host","mapBoolean2String","mapStringOrBoolean2String","clsx","SpanFC","TooltipFC","TooltipController","BaseWebComponent","propagateSubmitEventToForm","propagateResetEventToForm","setEventTarget","dispatchDomEvent","KolEvent","AssociatedInputController","validateAccessKey","validateAccessAndShortKey","validateAriaControls","validateAriaDescription","validateAriaExpanded","validateCustomClass","validateDisabled","validateHideLabel","validateIcons","watchString","validateInline","validateLabelWithExpertSlot","validateAlternativeButtonLinkRole","validateShortKey","validateTabIndex","validateTooltipAlign","setState","validateVariantClassName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAAe,KAAU;AACnG,IAAAA,mBAAY,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AAChD,CAAC;;ACEM,MAAM,uBAAuB,GAAG,CAAC,SAAoC,EAAE,KAA+C,KAAU;AACtI,IAAAC,qBAAc,CACb,SAAS,EACT,CAAA,GAAA,CAAK,EACL,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EACtD,IAAI,GAAG,CAAC,CAAC,8DAA8D,CAAC,CAAC,EACzE,KAAK,CACL;AACF,CAAC;;ACxBD,MAAM,yBAAyB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;AAWjE,MAAM,kBAAkB,GAAG,CAAC,SAAoC,EAAE,KAA0B,KAAU;AAC5G,IAAAA,qBAAc,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;;MCkDY,WAAW,GAAA,MAAA;AAShB,IAAA,MAAM,KAAK,GAAA;AACjB,QAAA,OAAOC,qBAAQ,CAAC,IAAI,CAAC,SAAU,CAAC;;AAO1B,IAAA,MAAM,KAAK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@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-DT9bjXlJ.js"),componentNames=require("./component-names-CLJnvcGE.js"),elementClick=require("./element-click-BNHh6n4d.js"),elementFocus=require("./element-focus-r03qIEIv.js");require("./common-CyOOsddt.js");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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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 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}',KolButton=class{constructor(n){index.registerInstance(this,n),this.setButtonWcRef=n=>{this.buttonWcRef=n},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._tooltipAlign="top",this._type="button",this._variant="normal"}async getValue(){return this._value}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.buttonWcRef))}async click(){return elementClick.delegateClick(this.host,async()=>elementClick.setClick(this.buttonWcRef))}render(){return index.h(componentNames.KolButtonWcTag,{key:"328773049e43332db32571c65bfd039974005c40",ref:this.setButtonWcRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_inline:this._inline,_label:this._label,_name:this._name,_on:this._on,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"1bfe6d67547ee6c12a570aa01f6f8adafa690f52",name:"expert",slot:"expert"}))}get host(){return index.getElement(this)}};KolButton.style={default:defaultStyleCss},exports.kol_button=KolButton;
4
+ "use strict";var index=require("./index-Do5xA4dJ.js"),componentNames=require("./component-names-5KS_pYRF.js"),elementClick=require("./element-click-BNHh6n4d.js"),elementFocus=require("./element-focus-r03qIEIv.js");require("./common-CyOOsddt.js");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 --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\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 color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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: lightgray;\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 opacity: 0.5;\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=1775118370120"); /* IE9*/\n src: url("kolicons.eot?t=1775118370120#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775118370120") format("woff2"), url("kolicons.woff?t=1775118370120") format("woff"), url("kolicons.ttf?t=1775118370120") format("truetype"), url("kolicons.svg?t=1775118370120#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: #000;\n background-color: #fff;\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: #000;\n background-color: #fff;\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 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}',KolButton=class{constructor(n){index.registerInstance(this,n),this.setButtonWcRef=n=>{this.buttonWcRef=n},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._tooltipAlign="top",this._type="button",this._variant="normal"}async getValue(){return this._value}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.buttonWcRef))}async click(){return elementClick.delegateClick(this.host,async()=>elementClick.setClick(this.buttonWcRef))}render(){return index.h(componentNames.KolButtonWcTag,{key:"ecae706aa7a52eac6332d579d2d6512edf85efe5",ref:this.setButtonWcRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_inline:this._inline,_label:this._label,_name:this._name,_on:this._on,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"4542fbf2278ca32a7dc314fe468b1b82a8403e8f",name:"expert",slot:"expert"}))}get host(){return index.getElement(this)}};KolButton.style={default:defaultStyleCss},exports.kol_button=KolButton;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-DT9bjXlJ.js"),common=require("./common-CyOOsddt.js"),hasCloser=require("./has-closer-lvssvMXf.js"),label=require("./label-BpdiumjJ.js"),i18n=require("./i18n-DevJo9yF.js"),validation=require("./validation-CVwHCleW.js"),componentNames=require("./component-names-CLJnvcGE.js");require("./Alert-D-YqpEyB.js");var Heading=require("./Heading-DXIETn4V.js");require("./component-_osv0u4g.js");var dev_utils=require("./dev.utils-DQ8NbpWO.js"),events=require("./events-Cd8febUV.js");require("./i18n-CgUN6lev.js"),require("./level-Dqm4UuMn.js"),require("./normalizers-BJ2c2X_E.js"),require("./_Uint8Array-H2CXBET6.js"),require("./isArray-BOIOdEQh.js"),require("./isObject-CyNHuTNs.js"),require("./tslib.es6-7DbU_BSw.js"),require("./clsx-Bm_HQUnh.js"),require("./bem-registry-BYsM9uZG.js"),require("./component-TRu1ySJ5.js");const KolCardWc=class{constructor(e){index.registerInstance(this,e),this.nonce=dev_utils.nonce(),this.translateClose=i18n.translate("kol-close"),this.close=()=>{var e;void 0!==(null===(e=this._on)||void 0===e?void 0:e.onClose)&&this._on.onClose(new Event("Close")),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.close)},this.on={onClick:this.close},this._hasCloser=!1,this._level=0,this.state={_label:""},this.validateOnValue=e=>"object"==typeof e&&null!==e&&"function"==typeof e.onClose}render(){return index.h(index.Host,{key:"67601890e4ca061d641d9bd02fc619db3f32060f"},index.h("div",{key:"2a1cc96add1fc7f4ec5884a7efd9d48c897aff48","aria-labelledby":this.nonce,class:"kol-card",role:"group"},index.h(Heading.KolHeadingFc,{key:"559f7c3e67d972f15c2d9f23005bc888e95796a7",class:"kol-card__header",id:this.nonce,level:this.state._level},this.state._label),index.h("div",{key:"8276d5d9fa4bef89934e4d5c75063f65cbe74d37",class:"kol-card__content"},index.h("slot",{key:"7883b9240e71edfa1027e2ed294eb9747326727e"})),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{key:"ff4727d59217976989e8a8e24cf6540a712d10a9",class:"kol-card__close-button kol-close-button","data-testid":"card-close-button",_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:this.translateClose,_on:this.on,_tooltipAlign:"left"})))}validateOn(e){this.validateOnValue(e)&&common.setState(this,"_on",{onClose:e.onClose})}validateHasCloser(e){hasCloser.validateHasCloser(this,e)}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateLevel(e){validation.watchHeadingLevel(this,e)}componentWillLoad(){this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on)}get host(){return index.getElement(this)}static get watchers(){return{_on:["validateOn"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"]}}};exports.kol_card_wc=KolCardWc;
4
+ "use strict";var index=require("./index-Do5xA4dJ.js"),common=require("./common-CyOOsddt.js"),hasCloser=require("./has-closer-lvssvMXf.js"),label=require("./label-BpdiumjJ.js"),i18n=require("./i18n-DevJo9yF.js"),validation=require("./validation-V8d7SbhJ.js"),componentNames=require("./component-names-5KS_pYRF.js");require("./Alert-fEJpzH57.js");var Heading=require("./Heading-BxQWS9Oj.js");require("./variant-quote-iZVwULXH.js"),require("./component-C27tnivo.js");var dev_utils=require("./dev.utils-jLeSRS1F.js"),events=require("./events-Cd8febUV.js");require("./i18n-CgUN6lev.js"),require("./level-CTvl-U1w.js"),require("./normalizers-CLRF8il-.js"),require("./_Uint8Array-BAQUGozM.js"),require("./isArray-BOIOdEQh.js"),require("./tslib.es6-7DbU_BSw.js"),require("./clsx-Bm_HQUnh.js"),require("./bem-registry-BRaXxTgN.js"),require("./component-CTPLUymr.js");const KolCardWc=class{constructor(e){index.registerInstance(this,e),this.nonce=dev_utils.nonce(),this.translateClose=i18n.translate("kol-close"),this.close=()=>{var e;void 0!==(null===(e=this._on)||void 0===e?void 0:e.onClose)&&this._on.onClose(new Event("Close")),this.host&&events.dispatchDomEvent(this.host,events.KolEvent.close)},this.on={onClick:this.close},this._hasCloser=!1,this._level=0,this.state={_label:""},this.validateOnValue=e=>"object"==typeof e&&null!==e&&"function"==typeof e.onClose}render(){return index.h(index.Host,{key:"db0c2f76e15b97050c25423356c4ab22770065f4"},index.h("div",{key:"1f9da993e653716c447d0d2c9d9104f2494caaeb","aria-labelledby":this.nonce,class:"kol-card",role:"group"},index.h(Heading.KolHeadingFc,{key:"8a7a1817363d40c8126403be74bd9387a3b80a4f",class:"kol-card__header",id:this.nonce,level:this.state._level},this.state._label),index.h("div",{key:"c6eecfbb20cfea0a2a94c16c67b06e71f17c8c77",class:"kol-card__content"},index.h("slot",{key:"594dcd690d694b244bc7c1c2e66e164414e1429c"})),this.state._hasCloser&&index.h(componentNames.KolButtonWcTag,{key:"aa2639efe73b8ca1289aa4b7cec988613f177719",class:"kol-card__close-button kol-close-button","data-testid":"card-close-button",_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:this.translateClose,_on:this.on,_tooltipAlign:"left"})))}validateOn(e){this.validateOnValue(e)&&common.setState(this,"_on",{onClose:e.onClose})}validateHasCloser(e){hasCloser.validateHasCloser(this,e)}validateLabel(e){label.validateLabel(this,e,{required:!0})}validateLevel(e){validation.watchHeadingLevel(this,e)}componentWillLoad(){this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on)}get host(){return index.getElement(this)}static get watchers(){return{_on:["validateOn"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"]}}};exports.kol_card_wc=KolCardWc;