@public-ui/components 4.1.2-rc.6 → 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 (1556) 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 +17 -15
  6. package/custom-elements.json +175 -10
  7. package/dist/cjs/Alert-fEJpzH57.js +4 -0
  8. package/dist/cjs/Alert-fEJpzH57.js.map +1 -0
  9. package/dist/cjs/Collapsible-BgXj2W-O.js +4 -0
  10. package/dist/cjs/Collapsible-BgXj2W-O.js.map +1 -0
  11. package/dist/cjs/CustomSuggestionsOptionsGroup-DqLiqK20.js +4 -0
  12. package/dist/cjs/CustomSuggestionsOptionsGroup-DqLiqK20.js.map +1 -0
  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-BxQWS9Oj.js +4 -0
  18. package/dist/cjs/Heading-BxQWS9Oj.js.map +1 -0
  19. package/dist/cjs/Input-Dn19IFET.js +4 -0
  20. package/dist/cjs/Input-Dn19IFET.js.map +1 -0
  21. package/dist/cjs/InputStateWrapper-Bl92EZ5T.js +4 -0
  22. package/dist/cjs/InputStateWrapper-Bl92EZ5T.js.map +1 -0
  23. package/dist/cjs/_Uint8Array-BAQUGozM.js +4 -0
  24. package/dist/cjs/_Uint8Array-BAQUGozM.js.map +1 -0
  25. package/dist/cjs/access-and-short-key-CUXP_bqv.js +4 -0
  26. package/dist/cjs/access-and-short-key-CUXP_bqv.js.map +1 -0
  27. package/dist/cjs/align-DLZnj4_m.js +4 -0
  28. package/dist/cjs/align-DLZnj4_m.js.map +1 -0
  29. package/dist/cjs/align-floating-elements-DUp-he6s.js +4 -0
  30. package/dist/cjs/align-floating-elements-DUp-he6s.js.map +1 -0
  31. package/dist/cjs/app-globals-DZdhu1yH.js +4 -0
  32. package/dist/cjs/app-globals-DZdhu1yH.js.map +1 -0
  33. package/dist/cjs/associated.controller-Qtcakwi5.js +4 -0
  34. package/dist/cjs/associated.controller-Qtcakwi5.js.map +1 -0
  35. package/dist/cjs/auto-complete-uMDzM6ww.js +4 -0
  36. package/dist/cjs/auto-complete-uMDzM6ww.js.map +1 -0
  37. package/dist/cjs/base-controller-DAzsTqX9.js +4 -0
  38. package/dist/cjs/base-controller-DAzsTqX9.js.map +1 -0
  39. package/dist/cjs/bem-registry-BRaXxTgN.js +4 -0
  40. package/dist/cjs/bem-registry-BRaXxTgN.js.map +1 -0
  41. package/dist/cjs/bootstrap-CTHD2bd6.js +4 -0
  42. package/dist/cjs/bootstrap-CTHD2bd6.js.map +1 -0
  43. package/dist/cjs/color-DgbilQH6.js +4 -0
  44. package/dist/cjs/color-DgbilQH6.js.map +1 -0
  45. package/dist/cjs/common-CyOOsddt.js +4 -0
  46. package/dist/cjs/common-CyOOsddt.js.map +1 -0
  47. package/dist/cjs/component-C27tnivo.js +4 -0
  48. package/dist/cjs/component-C27tnivo.js.map +1 -0
  49. package/dist/cjs/component-CTPLUymr.js +4 -0
  50. package/dist/cjs/component-CTPLUymr.js.map +1 -0
  51. package/dist/cjs/component-Liy_hR04.js +4 -0
  52. package/dist/cjs/component-Liy_hR04.js.map +1 -0
  53. package/dist/cjs/component-names-5KS_pYRF.js +4 -0
  54. package/dist/cjs/component-names-5KS_pYRF.js.map +1 -0
  55. package/dist/cjs/contrast-6FMh-3Ia.js +4 -0
  56. package/dist/cjs/contrast-6FMh-3Ia.js.map +1 -0
  57. package/dist/cjs/controller-D3ETb78M.js +4 -0
  58. package/dist/cjs/controller-D3ETb78M.js.map +1 -0
  59. package/dist/cjs/controller-DXiXhgaj.js +4 -0
  60. package/dist/cjs/controller-DXiXhgaj.js.map +1 -0
  61. package/dist/cjs/controller-DceZdZQf.js +4 -0
  62. package/dist/cjs/controller-DceZdZQf.js.map +1 -0
  63. package/dist/cjs/controller-DkqEh37D.js +4 -0
  64. package/dist/cjs/controller-DkqEh37D.js.map +1 -0
  65. package/dist/cjs/controller-DlUvjie1.js +4 -0
  66. package/dist/cjs/controller-DlUvjie1.js.map +1 -0
  67. package/dist/cjs/controller-ZfYqOlWc.js +4 -0
  68. package/dist/cjs/controller-ZfYqOlWc.js.map +1 -0
  69. package/dist/cjs/controller-icon-DkZBowrn.js +4 -0
  70. package/dist/cjs/controller-icon-DkZBowrn.js.map +1 -0
  71. package/dist/cjs/custom-class-DKbltqfW.js +4 -0
  72. package/dist/cjs/custom-class-DKbltqfW.js.map +1 -0
  73. package/dist/cjs/dev.utils-jLeSRS1F.js +4 -0
  74. package/dist/cjs/dev.utils-jLeSRS1F.js.map +1 -0
  75. package/dist/cjs/devtools-BKBluXPb.js +4 -0
  76. package/dist/cjs/devtools-BKBluXPb.js.map +1 -0
  77. package/dist/cjs/disabled-OBxr5yFQ.js +4 -0
  78. package/dist/cjs/disabled-OBxr5yFQ.js.map +1 -0
  79. package/dist/cjs/element-click-BNHh6n4d.js +4 -0
  80. package/dist/cjs/element-click-BNHh6n4d.js.map +1 -0
  81. package/dist/cjs/element-focus-r03qIEIv.js +4 -0
  82. package/dist/cjs/element-focus-r03qIEIv.js.map +1 -0
  83. package/dist/cjs/has-closer-lvssvMXf.js +4 -0
  84. package/dist/cjs/has-closer-lvssvMXf.js.map +1 -0
  85. package/dist/cjs/hide-label-D5C7_wBP.js +4 -0
  86. package/dist/cjs/hide-label-D5C7_wBP.js.map +1 -0
  87. package/dist/cjs/href-JXTXriAu.js +4 -0
  88. package/dist/cjs/href-JXTXriAu.js.map +1 -0
  89. package/dist/cjs/i18n-CgUN6lev.js +4 -0
  90. package/dist/cjs/i18n-CgUN6lev.js.map +1 -0
  91. package/dist/cjs/i18n-DevJo9yF.js +4 -0
  92. package/dist/cjs/i18n-DevJo9yF.js.map +1 -0
  93. package/dist/cjs/icons-CtLpYmvA.js +4 -0
  94. package/dist/cjs/icons-CtLpYmvA.js.map +1 -0
  95. package/dist/cjs/index-Do5xA4dJ.js +4 -0
  96. package/dist/cjs/index-Do5xA4dJ.js.map +1 -0
  97. package/dist/cjs/index.cjs.js +1 -1
  98. package/dist/cjs/inline-B7iAl0VU.js +4 -0
  99. package/dist/cjs/inline-B7iAl0VU.js.map +1 -0
  100. package/dist/cjs/isArray-BOIOdEQh.js.map +1 -1
  101. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  103. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  105. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-alert-wc.entry.cjs.js.map +1 -1
  107. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  109. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  111. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  113. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  115. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  117. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
  119. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  121. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  124. package/dist/cjs/kol-click-button.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-click-button.entry.cjs.js.map +1 -1
  126. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  128. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  130. package/dist/cjs/kol-dialog-wc.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-dialog.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  137. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  139. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
  141. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  143. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  144. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  145. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  146. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  147. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  148. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  149. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  150. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  151. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  152. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  153. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  154. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  155. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  156. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  157. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  159. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  161. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  162. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  163. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  164. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  165. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  166. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
  168. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  169. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  170. package/dist/cjs/kol-meter.cjs.entry.js +4 -0
  171. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -0
  172. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  173. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  174. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  175. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  176. package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
  177. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  178. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  179. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  180. package/dist/cjs/kol-popover-button-wc.entry.cjs.js.map +1 -1
  181. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  182. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  183. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  184. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  185. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  186. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  187. package/dist/cjs/kol-select-wc.cjs.entry.js +1 -1
  188. package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
  189. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  190. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  191. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  192. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  193. package/dist/cjs/kol-skeleton.cjs.entry.js +1 -1
  194. package/dist/cjs/kol-skeleton.entry.cjs.js.map +1 -1
  195. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  196. package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
  197. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  198. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  199. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  200. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  201. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  202. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  203. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  204. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  205. package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
  206. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  207. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  208. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  209. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  210. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  211. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  212. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  213. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  214. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  215. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  216. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  217. package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
  218. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  219. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  220. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  221. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  222. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  223. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  224. package/dist/cjs/kolibri.cjs.js +1 -1
  225. package/dist/cjs/label-B0RK7DQ1.js +4 -0
  226. package/dist/cjs/label-B0RK7DQ1.js.map +1 -0
  227. package/dist/cjs/label-BpdiumjJ.js +4 -0
  228. package/dist/cjs/label-BpdiumjJ.js.map +1 -0
  229. package/dist/cjs/level-CTvl-U1w.js +4 -0
  230. package/dist/cjs/level-CTvl-U1w.js.map +1 -0
  231. package/dist/cjs/loader.cjs.js +1 -1
  232. package/dist/cjs/max-length-behavior-Bbq0xI0s.js +4 -0
  233. package/dist/cjs/max-length-behavior-Bbq0xI0s.js.map +1 -0
  234. package/dist/cjs/multiple-BgmyZYYi.js +4 -0
  235. package/dist/cjs/multiple-BgmyZYYi.js.map +1 -0
  236. package/dist/cjs/normalizers-CLRF8il-.js +4 -0
  237. package/dist/cjs/normalizers-CLRF8il-.js.map +1 -0
  238. package/dist/cjs/open-oQb7b0fd.js +4 -0
  239. package/dist/cjs/open-oQb7b0fd.js.map +1 -0
  240. package/dist/cjs/orientation-CB8_FW89.js +4 -0
  241. package/dist/cjs/orientation-CB8_FW89.js.map +1 -0
  242. package/dist/cjs/placeholder-BalelQGe.js +4 -0
  243. package/dist/cjs/placeholder-BalelQGe.js.map +1 -0
  244. package/dist/cjs/read-only-BeV8iKVv.js +4 -0
  245. package/dist/cjs/read-only-BeV8iKVv.js.map +1 -0
  246. package/dist/cjs/required-n2GDPcqt.js +4 -0
  247. package/dist/cjs/required-n2GDPcqt.js.map +1 -0
  248. package/dist/cjs/rows-CQWHPr4C.js +4 -0
  249. package/dist/cjs/rows-CQWHPr4C.js.map +1 -0
  250. package/dist/cjs/spell-check-Bfx5hMDN.js +4 -0
  251. package/dist/cjs/spell-check-Bfx5hMDN.js.map +1 -0
  252. package/dist/cjs/src-B5l3YIkL.js +4 -0
  253. package/dist/cjs/src-B5l3YIkL.js.map +1 -0
  254. package/dist/cjs/suggestions-BYG_a5ao.js +4 -0
  255. package/dist/cjs/suggestions-BYG_a5ao.js.map +1 -0
  256. package/dist/cjs/table-selection-BlebEzFm.js +4 -0
  257. package/dist/cjs/table-selection-BlebEzFm.js.map +1 -0
  258. package/dist/cjs/test-component.cjs.entry.js +1 -1
  259. package/dist/cjs/tooltip-align-BB5EsHsG.js +4 -0
  260. package/dist/cjs/tooltip-align-BB5EsHsG.js.map +1 -0
  261. package/dist/cjs/unique-nav-labels-DJBlAxpe.js +4 -0
  262. package/dist/cjs/unique-nav-labels-DJBlAxpe.js.map +1 -0
  263. package/dist/cjs/unit--BgFwr6T.js +4 -0
  264. package/dist/cjs/unit--BgFwr6T.js.map +1 -0
  265. package/dist/cjs/validation-CJn2v37b.js +4 -0
  266. package/dist/cjs/validation-CJn2v37b.js.map +1 -0
  267. package/dist/cjs/validation-V8d7SbhJ.js +4 -0
  268. package/dist/cjs/validation-V8d7SbhJ.js.map +1 -0
  269. package/dist/cjs/variant-class-name-BToWO6cS.js +4 -0
  270. package/dist/cjs/variant-class-name-BToWO6cS.js.map +1 -0
  271. package/dist/cjs/variant-quote-iZVwULXH.js +4 -0
  272. package/dist/cjs/variant-quote-iZVwULXH.js.map +1 -0
  273. package/dist/components/Alert.js +1 -1
  274. package/dist/components/Collapsible.js +1 -1
  275. package/dist/components/FieldControlStateWrapper.js +1 -1
  276. package/dist/components/FieldControlStateWrapper.js.map +1 -1
  277. package/dist/components/Input.js +1 -1
  278. package/dist/components/InputStateWrapper.js +1 -1
  279. package/dist/components/_Uint8Array.js +1 -1
  280. package/dist/components/_Uint8Array.js.map +1 -1
  281. package/dist/components/access-and-short-key.js +1 -1
  282. package/dist/components/align-floating-elements.js +1 -1
  283. package/dist/components/align.js +1 -1
  284. package/dist/components/align.js.map +1 -1
  285. package/dist/components/base-controller.js +4 -0
  286. package/dist/components/base-controller.js.map +1 -0
  287. package/dist/components/bem-registry.js +1 -1
  288. package/dist/components/bem-registry.js.map +1 -1
  289. package/dist/components/color.js +1 -1
  290. package/dist/components/common.js +1 -1
  291. package/dist/components/common.js.map +1 -1
  292. package/dist/components/component-names.js +1 -1
  293. package/dist/components/component-names.js.map +1 -1
  294. package/dist/components/component.js +1 -1
  295. package/dist/components/component.js.map +1 -1
  296. package/dist/components/component2.js +1 -1
  297. package/dist/components/component2.js.map +1 -1
  298. package/dist/components/component3.js +4 -0
  299. package/dist/components/component3.js.map +1 -0
  300. package/dist/components/controller-icon.js +1 -1
  301. package/dist/components/controller.js +1 -1
  302. package/dist/components/controller.js.map +1 -1
  303. package/dist/components/controller2.js +1 -1
  304. package/dist/components/controller2.js.map +1 -1
  305. package/dist/components/controller3.js +1 -1
  306. package/dist/components/controller3.js.map +1 -1
  307. package/dist/components/controller4.js +1 -1
  308. package/dist/components/controller4.js.map +1 -1
  309. package/dist/components/controller5.js +1 -1
  310. package/dist/components/controller5.js.map +1 -1
  311. package/dist/components/controller6.js +1 -1
  312. package/dist/components/controller6.js.map +1 -1
  313. package/dist/components/controller7.js +4 -0
  314. package/dist/components/controller7.js.map +1 -0
  315. package/dist/components/dev.utils.js +1 -1
  316. package/dist/components/devtools.js +1 -1
  317. package/dist/components/disabled.js +1 -1
  318. package/dist/components/element-click.js +4 -0
  319. package/dist/components/element-click.js.map +1 -0
  320. package/dist/components/element-focus.js +1 -1
  321. package/dist/components/element-focus.js.map +1 -1
  322. package/dist/components/i18n.js +1 -1
  323. package/dist/components/i18n2.js +1 -1
  324. package/dist/components/i18n2.js.map +1 -1
  325. package/dist/components/isArray.js.map +1 -1
  326. package/dist/components/kol-abbr.js +1 -1
  327. package/dist/components/kol-abbr.js.map +1 -1
  328. package/dist/components/kol-accordion.js +1 -1
  329. package/dist/components/kol-accordion.js.map +1 -1
  330. package/dist/components/kol-alert.js +1 -1
  331. package/dist/components/kol-alert.js.map +1 -1
  332. package/dist/components/kol-avatar.js +1 -1
  333. package/dist/components/kol-avatar.js.map +1 -1
  334. package/dist/components/kol-badge.js +1 -1
  335. package/dist/components/kol-badge.js.map +1 -1
  336. package/dist/components/kol-breadcrumb.js +1 -1
  337. package/dist/components/kol-breadcrumb.js.map +1 -1
  338. package/dist/components/kol-button-link.js +1 -1
  339. package/dist/components/kol-button-link.js.map +1 -1
  340. package/dist/components/kol-button-wc.js +1 -1
  341. package/dist/components/kol-button-wc.js.map +1 -1
  342. package/dist/components/kol-button.js +1 -1
  343. package/dist/components/kol-button.js.map +1 -1
  344. package/dist/components/kol-card-wc.js +1 -1
  345. package/dist/components/kol-card-wc.js.map +1 -1
  346. package/dist/components/kol-card.js +1 -1
  347. package/dist/components/kol-card.js.map +1 -1
  348. package/dist/components/kol-click-button.js +1 -1
  349. package/dist/components/kol-click-button.js.map +1 -1
  350. package/dist/components/kol-combobox.js +1 -1
  351. package/dist/components/kol-combobox.js.map +1 -1
  352. package/dist/components/kol-details.js +1 -1
  353. package/dist/components/kol-details.js.map +1 -1
  354. package/dist/components/kol-dialog-wc.js +1 -1
  355. package/dist/components/kol-dialog.js +1 -1
  356. package/dist/components/kol-dialog.js.map +1 -1
  357. package/dist/components/kol-drawer.js +1 -1
  358. package/dist/components/kol-drawer.js.map +1 -1
  359. package/dist/components/kol-form.js +1 -1
  360. package/dist/components/kol-form.js.map +1 -1
  361. package/dist/components/kol-heading.js +1 -1
  362. package/dist/components/kol-heading.js.map +1 -1
  363. package/dist/components/kol-icon.js +1 -1
  364. package/dist/components/kol-icon.js.map +1 -1
  365. package/dist/components/kol-image.js +1 -1
  366. package/dist/components/kol-image.js.map +1 -1
  367. package/dist/components/kol-input-checkbox.js +1 -1
  368. package/dist/components/kol-input-checkbox.js.map +1 -1
  369. package/dist/components/kol-input-color.js +1 -1
  370. package/dist/components/kol-input-color.js.map +1 -1
  371. package/dist/components/kol-input-date.js +1 -1
  372. package/dist/components/kol-input-date.js.map +1 -1
  373. package/dist/components/kol-input-email.js +1 -1
  374. package/dist/components/kol-input-email.js.map +1 -1
  375. package/dist/components/kol-input-file.js +1 -1
  376. package/dist/components/kol-input-file.js.map +1 -1
  377. package/dist/components/kol-input-number.js +1 -1
  378. package/dist/components/kol-input-number.js.map +1 -1
  379. package/dist/components/kol-input-password.js +1 -1
  380. package/dist/components/kol-input-password.js.map +1 -1
  381. package/dist/components/kol-input-radio.js +1 -1
  382. package/dist/components/kol-input-radio.js.map +1 -1
  383. package/dist/components/kol-input-range.js +1 -1
  384. package/dist/components/kol-input-range.js.map +1 -1
  385. package/dist/components/kol-input-text.js +1 -1
  386. package/dist/components/kol-input-text.js.map +1 -1
  387. package/dist/components/kol-kolibri.js +1 -1
  388. package/dist/components/kol-link-button.js +1 -1
  389. package/dist/components/kol-link-button.js.map +1 -1
  390. package/dist/components/kol-link-wc.js +1 -1
  391. package/dist/components/kol-link-wc.js.map +1 -1
  392. package/dist/components/kol-link.js +1 -1
  393. package/dist/components/kol-link.js.map +1 -1
  394. package/dist/components/kol-meter.d.ts +11 -0
  395. package/dist/components/kol-meter.js +4 -0
  396. package/dist/components/kol-meter.js.map +1 -0
  397. package/dist/components/kol-modal.js +1 -1
  398. package/dist/components/kol-modal.js.map +1 -1
  399. package/dist/components/kol-nav.js +1 -1
  400. package/dist/components/kol-nav.js.map +1 -1
  401. package/dist/components/kol-pagination-wc.js +1 -1
  402. package/dist/components/kol-pagination.js +1 -1
  403. package/dist/components/kol-pagination.js.map +1 -1
  404. package/dist/components/kol-popover-button-wc.js +1 -1
  405. package/dist/components/kol-popover-button-wc.js.map +1 -1
  406. package/dist/components/kol-popover-button.js +1 -1
  407. package/dist/components/kol-popover-button.js.map +1 -1
  408. package/dist/components/kol-progress.js +1 -1
  409. package/dist/components/kol-progress.js.map +1 -1
  410. package/dist/components/kol-quote.js +1 -1
  411. package/dist/components/kol-quote.js.map +1 -1
  412. package/dist/components/kol-select-wc.js +1 -1
  413. package/dist/components/kol-select-wc.js.map +1 -1
  414. package/dist/components/kol-select.js +1 -1
  415. package/dist/components/kol-select.js.map +1 -1
  416. package/dist/components/kol-single-select.js +1 -1
  417. package/dist/components/kol-single-select.js.map +1 -1
  418. package/dist/components/kol-skeleton.js +1 -1
  419. package/dist/components/kol-skeleton.js.map +1 -1
  420. package/dist/components/kol-skip-nav.js +1 -1
  421. package/dist/components/kol-skip-nav.js.map +1 -1
  422. package/dist/components/kol-spin.js +1 -1
  423. package/dist/components/kol-spin.js.map +1 -1
  424. package/dist/components/kol-split-button.js +1 -1
  425. package/dist/components/kol-split-button.js.map +1 -1
  426. package/dist/components/kol-table-settings-wc.js +1 -1
  427. package/dist/components/kol-table-stateful.js +1 -1
  428. package/dist/components/kol-table-stateful.js.map +1 -1
  429. package/dist/components/kol-table-stateless-wc.js +1 -1
  430. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  431. package/dist/components/kol-table-stateless.js +1 -1
  432. package/dist/components/kol-table-stateless.js.map +1 -1
  433. package/dist/components/kol-tabs.js +1 -1
  434. package/dist/components/kol-tabs.js.map +1 -1
  435. package/dist/components/kol-textarea.js +1 -1
  436. package/dist/components/kol-textarea.js.map +1 -1
  437. package/dist/components/kol-toast-container.js +1 -1
  438. package/dist/components/kol-toast-container.js.map +1 -1
  439. package/dist/components/kol-toolbar.js +1 -1
  440. package/dist/components/kol-toolbar.js.map +1 -1
  441. package/dist/components/kol-tooltip-wc.js +1 -1
  442. package/dist/components/kol-tooltip-wc.js.map +1 -1
  443. package/dist/components/kol-tree-item-wc.js +1 -1
  444. package/dist/components/kol-tree-item.js +1 -1
  445. package/dist/components/kol-tree-item.js.map +1 -1
  446. package/dist/components/kol-tree-wc.js +1 -1
  447. package/dist/components/kol-tree.js +1 -1
  448. package/dist/components/kol-version.js +1 -1
  449. package/dist/components/label.js +1 -1
  450. package/dist/components/normalizers.js +1 -1
  451. package/dist/components/normalizers.js.map +1 -1
  452. package/dist/components/suggestions.js +1 -1
  453. package/dist/components/tooltip-align.js +1 -1
  454. package/dist/components/tooltip-open-tracking.js +1 -1
  455. package/dist/components/unit.js +4 -0
  456. package/dist/components/unit.js.map +1 -0
  457. package/dist/components/variant-quote.js +4 -0
  458. package/dist/components/variant-quote.js.map +1 -0
  459. package/dist/esm/Alert-Dwi0SIbu.js +4 -0
  460. package/dist/esm/Alert-Dwi0SIbu.js.map +1 -0
  461. package/dist/esm/Collapsible-D0DjrPCQ.js +4 -0
  462. package/dist/esm/Collapsible-D0DjrPCQ.js.map +1 -0
  463. package/dist/esm/CustomSuggestionsOptionsGroup-HDeTtnBz.js +4 -0
  464. package/dist/esm/CustomSuggestionsOptionsGroup-HDeTtnBz.js.map +1 -0
  465. package/dist/esm/FieldControlStateWrapper-BZG3AeGU.js +4 -0
  466. package/dist/esm/FieldControlStateWrapper-BZG3AeGU.js.map +1 -0
  467. package/dist/esm/FormFieldStateWrapper-DbT_eu6O.js +4 -0
  468. package/dist/esm/FormFieldStateWrapper-DbT_eu6O.js.map +1 -0
  469. package/dist/esm/Heading-hNm0EJy2.js +4 -0
  470. package/dist/esm/Heading-hNm0EJy2.js.map +1 -0
  471. package/dist/esm/Input-Dm342vhU.js +4 -0
  472. package/dist/esm/Input-Dm342vhU.js.map +1 -0
  473. package/dist/esm/InputStateWrapper-CLIorTSb.js +4 -0
  474. package/dist/esm/InputStateWrapper-CLIorTSb.js.map +1 -0
  475. package/dist/esm/_Uint8Array-kJHDjtoP.js +4 -0
  476. package/dist/esm/_Uint8Array-kJHDjtoP.js.map +1 -0
  477. package/dist/esm/access-and-short-key-D2TiPdWw.js +4 -0
  478. package/dist/esm/access-and-short-key-D2TiPdWw.js.map +1 -0
  479. package/dist/esm/align-D3Z54kEL.js +4 -0
  480. package/dist/esm/align-D3Z54kEL.js.map +1 -0
  481. package/dist/esm/align-floating-elements-58sFZOrL.js +4 -0
  482. package/dist/esm/align-floating-elements-58sFZOrL.js.map +1 -0
  483. package/dist/esm/app-globals-6IPlQwfA.js +4 -0
  484. package/dist/esm/app-globals-6IPlQwfA.js.map +1 -0
  485. package/dist/esm/associated.controller-BKQIR17-.js +4 -0
  486. package/dist/esm/associated.controller-BKQIR17-.js.map +1 -0
  487. package/dist/esm/auto-complete-DmusaKxg.js +4 -0
  488. package/dist/esm/auto-complete-DmusaKxg.js.map +1 -0
  489. package/dist/esm/base-controller-CXhqh4cR.js +4 -0
  490. package/dist/esm/base-controller-CXhqh4cR.js.map +1 -0
  491. package/dist/esm/bem-registry-Bux_TllX.js +4 -0
  492. package/dist/esm/bem-registry-Bux_TllX.js.map +1 -0
  493. package/dist/esm/bootstrap-CbPXNlVt.js +4 -0
  494. package/dist/esm/bootstrap-CbPXNlVt.js.map +1 -0
  495. package/dist/esm/color-DLD0vupv.js +4 -0
  496. package/dist/esm/color-DLD0vupv.js.map +1 -0
  497. package/dist/esm/common-BqV6Zb30.js +4 -0
  498. package/dist/esm/common-BqV6Zb30.js.map +1 -0
  499. package/dist/esm/component-C5-fCuhA.js +4 -0
  500. package/dist/esm/component-C5-fCuhA.js.map +1 -0
  501. package/dist/esm/component-D5yPWlmy.js +4 -0
  502. package/dist/esm/component-D5yPWlmy.js.map +1 -0
  503. package/dist/esm/component-ghWELfa6.js +4 -0
  504. package/dist/esm/component-ghWELfa6.js.map +1 -0
  505. package/dist/esm/component-names-Dy77vq43.js +4 -0
  506. package/dist/esm/component-names-Dy77vq43.js.map +1 -0
  507. package/dist/esm/contrast-DK7TU5NR.js +4 -0
  508. package/dist/esm/contrast-DK7TU5NR.js.map +1 -0
  509. package/dist/esm/controller-Bf2B7XG4.js +4 -0
  510. package/dist/esm/controller-Bf2B7XG4.js.map +1 -0
  511. package/dist/esm/controller-BhIDd4zH.js +4 -0
  512. package/dist/esm/controller-BhIDd4zH.js.map +1 -0
  513. package/dist/esm/controller-Bkyc_RZG.js +4 -0
  514. package/dist/esm/controller-Bkyc_RZG.js.map +1 -0
  515. package/dist/esm/controller-DXxubhmT.js +4 -0
  516. package/dist/esm/controller-DXxubhmT.js.map +1 -0
  517. package/dist/esm/controller-eT2cogRF.js +4 -0
  518. package/dist/esm/controller-eT2cogRF.js.map +1 -0
  519. package/dist/esm/controller-eUfCqvxN.js +4 -0
  520. package/dist/esm/controller-eUfCqvxN.js.map +1 -0
  521. package/dist/esm/controller-icon-DB6DYeGY.js +4 -0
  522. package/dist/esm/controller-icon-DB6DYeGY.js.map +1 -0
  523. package/dist/esm/custom-class-C5Yo1ysl.js +4 -0
  524. package/dist/esm/custom-class-C5Yo1ysl.js.map +1 -0
  525. package/dist/esm/dev.utils-CKaUZiiF.js +4 -0
  526. package/dist/esm/dev.utils-CKaUZiiF.js.map +1 -0
  527. package/dist/esm/devtools-BaBYu7OV.js +4 -0
  528. package/dist/esm/devtools-BaBYu7OV.js.map +1 -0
  529. package/dist/esm/disabled-BBn2JEzf.js +4 -0
  530. package/dist/esm/disabled-BBn2JEzf.js.map +1 -0
  531. package/dist/esm/element-click-BTxuJDNT.js +4 -0
  532. package/dist/esm/element-click-BTxuJDNT.js.map +1 -0
  533. package/dist/esm/element-focus-BKUtVrWY.js +4 -0
  534. package/dist/esm/element-focus-BKUtVrWY.js.map +1 -0
  535. package/dist/esm/has-closer-CfUBQHmY.js +4 -0
  536. package/dist/esm/has-closer-CfUBQHmY.js.map +1 -0
  537. package/dist/esm/hide-label-DQL9J6E_.js +4 -0
  538. package/dist/esm/hide-label-DQL9J6E_.js.map +1 -0
  539. package/dist/esm/href-COBxk7m0.js +4 -0
  540. package/dist/esm/href-COBxk7m0.js.map +1 -0
  541. package/dist/esm/i18n-B2d_exHc.js +4 -0
  542. package/dist/esm/i18n-B2d_exHc.js.map +1 -0
  543. package/dist/esm/i18n-BVaUp6qp.js +4 -0
  544. package/dist/esm/i18n-BVaUp6qp.js.map +1 -0
  545. package/dist/esm/icons-CqQ9plmY.js +4 -0
  546. package/dist/esm/icons-CqQ9plmY.js.map +1 -0
  547. package/dist/esm/index-C8rYknb2.js +4 -0
  548. package/dist/esm/index-C8rYknb2.js.map +1 -0
  549. package/dist/esm/index.js +1 -1
  550. package/dist/esm/inline-D3xGVsIW.js +4 -0
  551. package/dist/esm/inline-D3xGVsIW.js.map +1 -0
  552. package/dist/esm/isArray-CcrBs4JM.js.map +1 -1
  553. package/dist/esm/kol-abbr.entry.js +1 -1
  554. package/dist/esm/kol-abbr.entry.js.map +1 -1
  555. package/dist/esm/kol-accordion.entry.js +1 -1
  556. package/dist/esm/kol-accordion.entry.js.map +1 -1
  557. package/dist/esm/kol-alert-wc.entry.js +1 -1
  558. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  559. package/dist/esm/kol-alert.entry.js +1 -1
  560. package/dist/esm/kol-alert.entry.js.map +1 -1
  561. package/dist/esm/kol-avatar.entry.js +1 -1
  562. package/dist/esm/kol-avatar.entry.js.map +1 -1
  563. package/dist/esm/kol-badge.entry.js +1 -1
  564. package/dist/esm/kol-badge.entry.js.map +1 -1
  565. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  566. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  567. package/dist/esm/kol-button-link.entry.js +1 -1
  568. package/dist/esm/kol-button-link.entry.js.map +1 -1
  569. package/dist/esm/kol-button-wc.entry.js +1 -1
  570. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  571. package/dist/esm/kol-button.entry.js +1 -1
  572. package/dist/esm/kol-button.entry.js.map +1 -1
  573. package/dist/esm/kol-card-wc.entry.js +1 -1
  574. package/dist/esm/kol-card.entry.js +1 -1
  575. package/dist/esm/kol-card.entry.js.map +1 -1
  576. package/dist/esm/kol-click-button.entry.js +1 -1
  577. package/dist/esm/kol-click-button.entry.js.map +1 -1
  578. package/dist/esm/kol-combobox.entry.js +1 -1
  579. package/dist/esm/kol-combobox.entry.js.map +1 -1
  580. package/dist/esm/kol-details.entry.js +1 -1
  581. package/dist/esm/kol-details.entry.js.map +1 -1
  582. package/dist/esm/kol-dialog-wc.entry.js +1 -1
  583. package/dist/esm/kol-dialog.entry.js +1 -1
  584. package/dist/esm/kol-dialog.entry.js.map +1 -1
  585. package/dist/esm/kol-drawer.entry.js +1 -1
  586. package/dist/esm/kol-drawer.entry.js.map +1 -1
  587. package/dist/esm/kol-form.entry.js +1 -1
  588. package/dist/esm/kol-form.entry.js.map +1 -1
  589. package/dist/esm/kol-heading.entry.js +1 -1
  590. package/dist/esm/kol-heading.entry.js.map +1 -1
  591. package/dist/esm/kol-icon.entry.js +1 -1
  592. package/dist/esm/kol-icon.entry.js.map +1 -1
  593. package/dist/esm/kol-image.entry.js +1 -1
  594. package/dist/esm/kol-image.entry.js.map +1 -1
  595. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  596. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  597. package/dist/esm/kol-input-color.entry.js +1 -1
  598. package/dist/esm/kol-input-color.entry.js.map +1 -1
  599. package/dist/esm/kol-input-date.entry.js +1 -1
  600. package/dist/esm/kol-input-date.entry.js.map +1 -1
  601. package/dist/esm/kol-input-email.entry.js +1 -1
  602. package/dist/esm/kol-input-email.entry.js.map +1 -1
  603. package/dist/esm/kol-input-file.entry.js +1 -1
  604. package/dist/esm/kol-input-file.entry.js.map +1 -1
  605. package/dist/esm/kol-input-number.entry.js +1 -1
  606. package/dist/esm/kol-input-number.entry.js.map +1 -1
  607. package/dist/esm/kol-input-password.entry.js +1 -1
  608. package/dist/esm/kol-input-password.entry.js.map +1 -1
  609. package/dist/esm/kol-input-radio.entry.js +1 -1
  610. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  611. package/dist/esm/kol-input-range.entry.js +1 -1
  612. package/dist/esm/kol-input-range.entry.js.map +1 -1
  613. package/dist/esm/kol-input-text.entry.js +1 -1
  614. package/dist/esm/kol-input-text.entry.js.map +1 -1
  615. package/dist/esm/kol-kolibri.entry.js +1 -1
  616. package/dist/esm/kol-link-button.entry.js +1 -1
  617. package/dist/esm/kol-link-button.entry.js.map +1 -1
  618. package/dist/esm/kol-link-wc.entry.js +1 -1
  619. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  620. package/dist/esm/kol-link.entry.js +1 -1
  621. package/dist/esm/kol-link.entry.js.map +1 -1
  622. package/dist/esm/kol-meter.entry.js +4 -0
  623. package/dist/esm/kol-meter.entry.js.map +1 -0
  624. package/dist/esm/kol-modal.entry.js +1 -1
  625. package/dist/esm/kol-modal.entry.js.map +1 -1
  626. package/dist/esm/kol-nav.entry.js +1 -1
  627. package/dist/esm/kol-nav.entry.js.map +1 -1
  628. package/dist/esm/kol-pagination-wc.entry.js +1 -1
  629. package/dist/esm/kol-pagination.entry.js +1 -1
  630. package/dist/esm/kol-pagination.entry.js.map +1 -1
  631. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  632. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
  633. package/dist/esm/kol-popover-button.entry.js +1 -1
  634. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  635. package/dist/esm/kol-progress.entry.js +1 -1
  636. package/dist/esm/kol-progress.entry.js.map +1 -1
  637. package/dist/esm/kol-quote.entry.js +1 -1
  638. package/dist/esm/kol-quote.entry.js.map +1 -1
  639. package/dist/esm/kol-select-wc.entry.js +1 -1
  640. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  641. package/dist/esm/kol-select.entry.js +1 -1
  642. package/dist/esm/kol-select.entry.js.map +1 -1
  643. package/dist/esm/kol-single-select.entry.js +1 -1
  644. package/dist/esm/kol-single-select.entry.js.map +1 -1
  645. package/dist/esm/kol-skeleton.entry.js +1 -1
  646. package/dist/esm/kol-skeleton.entry.js.map +1 -1
  647. package/dist/esm/kol-skip-nav.entry.js +1 -1
  648. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  649. package/dist/esm/kol-spin.entry.js +1 -1
  650. package/dist/esm/kol-spin.entry.js.map +1 -1
  651. package/dist/esm/kol-split-button.entry.js +1 -1
  652. package/dist/esm/kol-split-button.entry.js.map +1 -1
  653. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  654. package/dist/esm/kol-table-stateful.entry.js +1 -1
  655. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  656. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  657. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  658. package/dist/esm/kol-table-stateless.entry.js +1 -1
  659. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  660. package/dist/esm/kol-tabs.entry.js +1 -1
  661. package/dist/esm/kol-tabs.entry.js.map +1 -1
  662. package/dist/esm/kol-textarea.entry.js +1 -1
  663. package/dist/esm/kol-textarea.entry.js.map +1 -1
  664. package/dist/esm/kol-toast-container.entry.js +1 -1
  665. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  666. package/dist/esm/kol-toolbar.entry.js +1 -1
  667. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  668. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  669. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  670. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  671. package/dist/esm/kol-tree-item.entry.js +1 -1
  672. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  673. package/dist/esm/kol-tree-wc.entry.js +1 -1
  674. package/dist/esm/kol-tree.entry.js +1 -1
  675. package/dist/esm/kol-version.entry.js +1 -1
  676. package/dist/esm/kolibri.js +1 -1
  677. package/dist/esm/label-BEOW9ltS.js +4 -0
  678. package/dist/esm/label-BEOW9ltS.js.map +1 -0
  679. package/dist/esm/label-vxVEH2gH.js +4 -0
  680. package/dist/esm/label-vxVEH2gH.js.map +1 -0
  681. package/dist/esm/level-Bwrb_jzT.js +4 -0
  682. package/dist/esm/level-Bwrb_jzT.js.map +1 -0
  683. package/dist/esm/loader.js +1 -1
  684. package/dist/esm/max-length-behavior-DMw3rhwa.js +4 -0
  685. package/dist/esm/max-length-behavior-DMw3rhwa.js.map +1 -0
  686. package/dist/esm/multiple-sbfZAt7f.js +4 -0
  687. package/dist/esm/multiple-sbfZAt7f.js.map +1 -0
  688. package/dist/esm/normalizers-DnkJhVYZ.js +4 -0
  689. package/dist/esm/normalizers-DnkJhVYZ.js.map +1 -0
  690. package/dist/esm/open-BMZVrISI.js +4 -0
  691. package/dist/esm/open-BMZVrISI.js.map +1 -0
  692. package/dist/esm/orientation-D3LRVMo1.js +4 -0
  693. package/dist/esm/orientation-D3LRVMo1.js.map +1 -0
  694. package/dist/esm/placeholder-BuBUMNhW.js +4 -0
  695. package/dist/esm/placeholder-BuBUMNhW.js.map +1 -0
  696. package/dist/esm/read-only-DnkXqxgk.js +4 -0
  697. package/dist/esm/read-only-DnkXqxgk.js.map +1 -0
  698. package/dist/esm/required-C9Xj8kw2.js +4 -0
  699. package/dist/esm/required-C9Xj8kw2.js.map +1 -0
  700. package/dist/esm/rows-lThApm3P.js +4 -0
  701. package/dist/esm/rows-lThApm3P.js.map +1 -0
  702. package/dist/esm/spell-check-Y1ApnP_M.js +4 -0
  703. package/dist/esm/spell-check-Y1ApnP_M.js.map +1 -0
  704. package/dist/esm/src-D1LGDerl.js +4 -0
  705. package/dist/esm/src-D1LGDerl.js.map +1 -0
  706. package/dist/esm/suggestions-D5cst2OI.js +4 -0
  707. package/dist/esm/suggestions-D5cst2OI.js.map +1 -0
  708. package/dist/esm/table-selection-CXJmsMfX.js +4 -0
  709. package/dist/esm/table-selection-CXJmsMfX.js.map +1 -0
  710. package/dist/esm/test-component.entry.js +1 -1
  711. package/dist/esm/tooltip-align-DnbCY1Uu.js +4 -0
  712. package/dist/esm/tooltip-align-DnbCY1Uu.js.map +1 -0
  713. package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +4 -0
  714. package/dist/esm/tooltip-open-tracking-D3tCiiGP.js.map +1 -0
  715. package/dist/esm/unique-nav-labels-BIHfxulq.js +4 -0
  716. package/dist/esm/unique-nav-labels-BIHfxulq.js.map +1 -0
  717. package/dist/esm/unit-eRQuaHYy.js +4 -0
  718. package/dist/esm/unit-eRQuaHYy.js.map +1 -0
  719. package/dist/esm/validation-BytKl095.js +4 -0
  720. package/dist/esm/validation-BytKl095.js.map +1 -0
  721. package/dist/esm/validation-JhNRqKy1.js +4 -0
  722. package/dist/esm/validation-JhNRqKy1.js.map +1 -0
  723. package/dist/esm/variant-class-name-BVKxs0G0.js +4 -0
  724. package/dist/esm/variant-class-name-BVKxs0G0.js.map +1 -0
  725. package/dist/esm/variant-quote-CHD0qMkY.js +4 -0
  726. package/dist/esm/variant-quote-CHD0qMkY.js.map +1 -0
  727. package/dist/kolibri/Alert-Dwi0SIbu.js +4 -0
  728. package/dist/kolibri/Alert-Dwi0SIbu.js.map +1 -0
  729. package/dist/kolibri/Collapsible-D0DjrPCQ.js +4 -0
  730. package/dist/kolibri/Collapsible-D0DjrPCQ.js.map +1 -0
  731. package/dist/kolibri/CustomSuggestionsOptionsGroup-HDeTtnBz.js +4 -0
  732. package/dist/kolibri/CustomSuggestionsOptionsGroup-HDeTtnBz.js.map +1 -0
  733. package/dist/kolibri/FieldControlStateWrapper-BZG3AeGU.js +4 -0
  734. package/dist/kolibri/FieldControlStateWrapper-BZG3AeGU.js.map +1 -0
  735. package/dist/kolibri/FormFieldStateWrapper-DbT_eu6O.js +4 -0
  736. package/dist/kolibri/FormFieldStateWrapper-DbT_eu6O.js.map +1 -0
  737. package/dist/kolibri/Heading-hNm0EJy2.js +4 -0
  738. package/dist/kolibri/Heading-hNm0EJy2.js.map +1 -0
  739. package/dist/kolibri/Input-Dm342vhU.js +4 -0
  740. package/dist/kolibri/Input-Dm342vhU.js.map +1 -0
  741. package/dist/kolibri/InputStateWrapper-CLIorTSb.js +4 -0
  742. package/dist/kolibri/InputStateWrapper-CLIorTSb.js.map +1 -0
  743. package/dist/kolibri/_Uint8Array-kJHDjtoP.js +4 -0
  744. package/dist/kolibri/_Uint8Array-kJHDjtoP.js.map +1 -0
  745. package/dist/kolibri/access-and-short-key-D2TiPdWw.js +4 -0
  746. package/dist/kolibri/access-and-short-key-D2TiPdWw.js.map +1 -0
  747. package/dist/kolibri/align-D3Z54kEL.js +4 -0
  748. package/dist/kolibri/align-D3Z54kEL.js.map +1 -0
  749. package/dist/kolibri/align-floating-elements-58sFZOrL.js +4 -0
  750. package/dist/kolibri/align-floating-elements-58sFZOrL.js.map +1 -0
  751. package/dist/kolibri/app-globals-6IPlQwfA.js +4 -0
  752. package/dist/kolibri/app-globals-6IPlQwfA.js.map +1 -0
  753. package/dist/kolibri/associated.controller-BKQIR17-.js +4 -0
  754. package/dist/kolibri/associated.controller-BKQIR17-.js.map +1 -0
  755. package/dist/kolibri/auto-complete-DmusaKxg.js +4 -0
  756. package/dist/kolibri/auto-complete-DmusaKxg.js.map +1 -0
  757. package/dist/kolibri/base-controller-CXhqh4cR.js +4 -0
  758. package/dist/kolibri/base-controller-CXhqh4cR.js.map +1 -0
  759. package/dist/kolibri/bem-registry-Bux_TllX.js +4 -0
  760. package/dist/kolibri/bem-registry-Bux_TllX.js.map +1 -0
  761. package/dist/kolibri/bootstrap-CbPXNlVt.js +4 -0
  762. package/dist/kolibri/bootstrap-CbPXNlVt.js.map +1 -0
  763. package/dist/kolibri/color-DLD0vupv.js +4 -0
  764. package/dist/kolibri/color-DLD0vupv.js.map +1 -0
  765. package/dist/kolibri/common-BqV6Zb30.js +4 -0
  766. package/dist/kolibri/common-BqV6Zb30.js.map +1 -0
  767. package/dist/kolibri/component-C5-fCuhA.js +4 -0
  768. package/dist/kolibri/component-C5-fCuhA.js.map +1 -0
  769. package/dist/kolibri/component-D5yPWlmy.js +4 -0
  770. package/dist/kolibri/component-D5yPWlmy.js.map +1 -0
  771. package/dist/kolibri/component-ghWELfa6.js +4 -0
  772. package/dist/kolibri/component-ghWELfa6.js.map +1 -0
  773. package/dist/kolibri/component-names-Dy77vq43.js +4 -0
  774. package/dist/kolibri/component-names-Dy77vq43.js.map +1 -0
  775. package/dist/kolibri/contrast-DK7TU5NR.js +4 -0
  776. package/dist/kolibri/contrast-DK7TU5NR.js.map +1 -0
  777. package/dist/kolibri/controller-Bf2B7XG4.js +4 -0
  778. package/dist/kolibri/controller-Bf2B7XG4.js.map +1 -0
  779. package/dist/kolibri/controller-BhIDd4zH.js +4 -0
  780. package/dist/kolibri/controller-BhIDd4zH.js.map +1 -0
  781. package/dist/kolibri/controller-Bkyc_RZG.js +4 -0
  782. package/dist/kolibri/controller-Bkyc_RZG.js.map +1 -0
  783. package/dist/kolibri/controller-DXxubhmT.js +4 -0
  784. package/dist/kolibri/controller-DXxubhmT.js.map +1 -0
  785. package/dist/kolibri/controller-eT2cogRF.js +4 -0
  786. package/dist/kolibri/controller-eT2cogRF.js.map +1 -0
  787. package/dist/kolibri/controller-eUfCqvxN.js +4 -0
  788. package/dist/kolibri/controller-eUfCqvxN.js.map +1 -0
  789. package/dist/kolibri/controller-icon-DB6DYeGY.js +4 -0
  790. package/dist/kolibri/controller-icon-DB6DYeGY.js.map +1 -0
  791. package/dist/kolibri/custom-class-C5Yo1ysl.js +4 -0
  792. package/dist/kolibri/custom-class-C5Yo1ysl.js.map +1 -0
  793. package/dist/kolibri/dev.utils-CKaUZiiF.js +4 -0
  794. package/dist/kolibri/dev.utils-CKaUZiiF.js.map +1 -0
  795. package/dist/kolibri/devtools-BaBYu7OV.js +4 -0
  796. package/dist/kolibri/devtools-BaBYu7OV.js.map +1 -0
  797. package/dist/kolibri/disabled-BBn2JEzf.js +4 -0
  798. package/dist/kolibri/disabled-BBn2JEzf.js.map +1 -0
  799. package/dist/kolibri/element-click-BTxuJDNT.js +4 -0
  800. package/dist/kolibri/element-click-BTxuJDNT.js.map +1 -0
  801. package/dist/kolibri/element-focus-BKUtVrWY.js +4 -0
  802. package/dist/kolibri/element-focus-BKUtVrWY.js.map +1 -0
  803. package/dist/kolibri/has-closer-CfUBQHmY.js +4 -0
  804. package/dist/kolibri/has-closer-CfUBQHmY.js.map +1 -0
  805. package/dist/kolibri/hide-label-DQL9J6E_.js +4 -0
  806. package/dist/kolibri/hide-label-DQL9J6E_.js.map +1 -0
  807. package/dist/kolibri/href-COBxk7m0.js +4 -0
  808. package/dist/kolibri/href-COBxk7m0.js.map +1 -0
  809. package/dist/kolibri/i18n-B2d_exHc.js +4 -0
  810. package/dist/kolibri/i18n-B2d_exHc.js.map +1 -0
  811. package/dist/kolibri/i18n-BVaUp6qp.js +4 -0
  812. package/dist/kolibri/i18n-BVaUp6qp.js.map +1 -0
  813. package/dist/kolibri/icons-CqQ9plmY.js +4 -0
  814. package/dist/kolibri/icons-CqQ9plmY.js.map +1 -0
  815. package/dist/kolibri/index-C8rYknb2.js +5 -0
  816. package/dist/kolibri/index-C8rYknb2.js.map +1 -0
  817. package/dist/kolibri/index.esm.js +1 -1
  818. package/dist/kolibri/inline-D3xGVsIW.js +4 -0
  819. package/dist/kolibri/inline-D3xGVsIW.js.map +1 -0
  820. package/dist/kolibri/isArray-CcrBs4JM.js.map +1 -1
  821. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  822. package/dist/kolibri/kol-abbr.entry.js +1 -1
  823. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  824. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  825. package/dist/kolibri/kol-accordion.entry.js +1 -1
  826. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  827. package/dist/kolibri/kol-alert-wc.entry.esm.js.map +1 -1
  828. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  829. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  830. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  831. package/dist/kolibri/kol-alert.entry.js +1 -1
  832. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  833. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  834. package/dist/kolibri/kol-avatar.entry.js +1 -1
  835. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  836. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  837. package/dist/kolibri/kol-badge.entry.js +1 -1
  838. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  839. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  840. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  841. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  842. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  843. package/dist/kolibri/kol-button-link.entry.js +1 -1
  844. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  845. package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
  846. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  847. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  848. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  849. package/dist/kolibri/kol-button.entry.js +1 -1
  850. package/dist/kolibri/kol-button.entry.js.map +1 -1
  851. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  852. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  853. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  854. package/dist/kolibri/kol-card.entry.js +1 -1
  855. package/dist/kolibri/kol-card.entry.js.map +1 -1
  856. package/dist/kolibri/kol-click-button.entry.esm.js.map +1 -1
  857. package/dist/kolibri/kol-click-button.entry.js +1 -1
  858. package/dist/kolibri/kol-click-button.entry.js.map +1 -1
  859. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  860. package/dist/kolibri/kol-combobox.entry.js +1 -1
  861. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  862. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  863. package/dist/kolibri/kol-details.entry.js +1 -1
  864. package/dist/kolibri/kol-details.entry.js.map +1 -1
  865. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  866. package/dist/kolibri/kol-dialog-wc.entry.js.map +1 -1
  867. package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
  868. package/dist/kolibri/kol-dialog.entry.js +1 -1
  869. package/dist/kolibri/kol-dialog.entry.js.map +1 -1
  870. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  871. package/dist/kolibri/kol-drawer.entry.js +1 -1
  872. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  873. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  874. package/dist/kolibri/kol-form.entry.js +1 -1
  875. package/dist/kolibri/kol-form.entry.js.map +1 -1
  876. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  877. package/dist/kolibri/kol-heading.entry.js +1 -1
  878. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  879. package/dist/kolibri/kol-icon.entry.esm.js.map +1 -1
  880. package/dist/kolibri/kol-icon.entry.js +1 -1
  881. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  882. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  883. package/dist/kolibri/kol-image.entry.js +1 -1
  884. package/dist/kolibri/kol-image.entry.js.map +1 -1
  885. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  886. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  887. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  888. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  889. package/dist/kolibri/kol-input-color.entry.js +1 -1
  890. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  891. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  892. package/dist/kolibri/kol-input-date.entry.js +1 -1
  893. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  894. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  895. package/dist/kolibri/kol-input-email.entry.js +1 -1
  896. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  897. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  898. package/dist/kolibri/kol-input-file.entry.js +1 -1
  899. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  900. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  901. package/dist/kolibri/kol-input-number.entry.js +1 -1
  902. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  903. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  904. package/dist/kolibri/kol-input-password.entry.js +1 -1
  905. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  906. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  907. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  908. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  909. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  910. package/dist/kolibri/kol-input-range.entry.js +1 -1
  911. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  912. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  913. package/dist/kolibri/kol-input-text.entry.js +1 -1
  914. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  915. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  916. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  917. package/dist/kolibri/kol-link-button.entry.js +1 -1
  918. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  919. package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
  920. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  921. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  922. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  923. package/dist/kolibri/kol-link.entry.js +1 -1
  924. package/dist/kolibri/kol-link.entry.js.map +1 -1
  925. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -0
  926. package/dist/kolibri/kol-meter.entry.js +4 -0
  927. package/dist/kolibri/kol-meter.entry.js.map +1 -0
  928. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  929. package/dist/kolibri/kol-modal.entry.js +1 -1
  930. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  931. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  932. package/dist/kolibri/kol-nav.entry.js +1 -1
  933. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  934. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  935. package/dist/kolibri/kol-pagination-wc.entry.js.map +1 -1
  936. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  937. package/dist/kolibri/kol-pagination.entry.js +1 -1
  938. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  939. package/dist/kolibri/kol-popover-button-wc.entry.esm.js.map +1 -1
  940. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  941. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  942. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  943. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  944. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  945. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  946. package/dist/kolibri/kol-progress.entry.js +1 -1
  947. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  948. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  949. package/dist/kolibri/kol-quote.entry.js +1 -1
  950. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  951. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  952. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  953. package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
  954. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  955. package/dist/kolibri/kol-select.entry.js +1 -1
  956. package/dist/kolibri/kol-select.entry.js.map +1 -1
  957. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  958. package/dist/kolibri/kol-single-select.entry.js +1 -1
  959. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  960. package/dist/kolibri/kol-skeleton.entry.esm.js.map +1 -1
  961. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  962. package/dist/kolibri/kol-skeleton.entry.js.map +1 -1
  963. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  964. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  965. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  966. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  967. package/dist/kolibri/kol-spin.entry.js +1 -1
  968. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  969. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  970. package/dist/kolibri/kol-split-button.entry.js +1 -1
  971. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  972. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  973. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
  974. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  975. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  976. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  977. package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
  978. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  979. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  980. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  981. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  982. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  983. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  984. package/dist/kolibri/kol-tabs.entry.js +1 -1
  985. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  986. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  987. package/dist/kolibri/kol-textarea.entry.js +1 -1
  988. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  989. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  990. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  991. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  992. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  993. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  994. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  995. package/dist/kolibri/kol-tooltip-wc.entry.esm.js.map +1 -1
  996. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  997. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  998. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  999. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  1000. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  1001. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  1002. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  1003. package/dist/kolibri/kol-tree.entry.js +1 -1
  1004. package/dist/kolibri/kol-version.entry.js +1 -1
  1005. package/dist/kolibri/kolibri.esm.js +1 -1
  1006. package/dist/kolibri/label-BEOW9ltS.js +4 -0
  1007. package/dist/kolibri/label-BEOW9ltS.js.map +1 -0
  1008. package/dist/kolibri/label-vxVEH2gH.js +4 -0
  1009. package/dist/kolibri/label-vxVEH2gH.js.map +1 -0
  1010. package/dist/kolibri/level-Bwrb_jzT.js +4 -0
  1011. package/dist/kolibri/level-Bwrb_jzT.js.map +1 -0
  1012. package/dist/kolibri/max-length-behavior-DMw3rhwa.js +4 -0
  1013. package/dist/kolibri/max-length-behavior-DMw3rhwa.js.map +1 -0
  1014. package/dist/kolibri/multiple-sbfZAt7f.js +4 -0
  1015. package/dist/kolibri/multiple-sbfZAt7f.js.map +1 -0
  1016. package/dist/kolibri/normalizers-DnkJhVYZ.js +4 -0
  1017. package/dist/kolibri/normalizers-DnkJhVYZ.js.map +1 -0
  1018. package/dist/kolibri/open-BMZVrISI.js +4 -0
  1019. package/dist/kolibri/open-BMZVrISI.js.map +1 -0
  1020. package/dist/kolibri/orientation-D3LRVMo1.js +4 -0
  1021. package/dist/kolibri/orientation-D3LRVMo1.js.map +1 -0
  1022. package/dist/kolibri/placeholder-BuBUMNhW.js +4 -0
  1023. package/dist/kolibri/placeholder-BuBUMNhW.js.map +1 -0
  1024. package/dist/kolibri/read-only-DnkXqxgk.js +4 -0
  1025. package/dist/kolibri/read-only-DnkXqxgk.js.map +1 -0
  1026. package/dist/kolibri/required-C9Xj8kw2.js +4 -0
  1027. package/dist/kolibri/required-C9Xj8kw2.js.map +1 -0
  1028. package/dist/kolibri/rows-lThApm3P.js +4 -0
  1029. package/dist/kolibri/rows-lThApm3P.js.map +1 -0
  1030. package/dist/kolibri/spell-check-Y1ApnP_M.js +4 -0
  1031. package/dist/kolibri/spell-check-Y1ApnP_M.js.map +1 -0
  1032. package/dist/kolibri/src-D1LGDerl.js +4 -0
  1033. package/dist/kolibri/src-D1LGDerl.js.map +1 -0
  1034. package/dist/kolibri/suggestions-D5cst2OI.js +4 -0
  1035. package/dist/kolibri/suggestions-D5cst2OI.js.map +1 -0
  1036. package/dist/kolibri/table-selection-CXJmsMfX.js +4 -0
  1037. package/dist/kolibri/table-selection-CXJmsMfX.js.map +1 -0
  1038. package/dist/kolibri/test-component.entry.js +1 -1
  1039. package/dist/kolibri/tooltip-align-DnbCY1Uu.js +4 -0
  1040. package/dist/kolibri/tooltip-align-DnbCY1Uu.js.map +1 -0
  1041. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +4 -0
  1042. package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js.map +1 -0
  1043. package/dist/kolibri/unique-nav-labels-BIHfxulq.js +4 -0
  1044. package/dist/kolibri/unique-nav-labels-BIHfxulq.js.map +1 -0
  1045. package/dist/kolibri/unit-eRQuaHYy.js +4 -0
  1046. package/dist/kolibri/unit-eRQuaHYy.js.map +1 -0
  1047. package/dist/kolibri/validation-BytKl095.js +4 -0
  1048. package/dist/kolibri/validation-BytKl095.js.map +1 -0
  1049. package/dist/kolibri/validation-JhNRqKy1.js +4 -0
  1050. package/dist/kolibri/validation-JhNRqKy1.js.map +1 -0
  1051. package/dist/kolibri/variant-class-name-BVKxs0G0.js +4 -0
  1052. package/dist/kolibri/variant-class-name-BVKxs0G0.js.map +1 -0
  1053. package/dist/kolibri/variant-quote-CHD0qMkY.js +4 -0
  1054. package/dist/kolibri/variant-quote-CHD0qMkY.js.map +1 -0
  1055. package/dist/types/components/abbr/shadow.d.ts +5 -0
  1056. package/dist/types/components/accordion/shadow.d.ts +1 -0
  1057. package/dist/types/components/button/component.d.ts +4 -3
  1058. package/dist/types/components/button/shadow.d.ts +1 -0
  1059. package/dist/types/components/button-link/shadow.d.ts +1 -0
  1060. package/dist/types/components/combobox/shadow.d.ts +1 -0
  1061. package/dist/types/components/component-list.d.ts +27 -2
  1062. package/dist/types/components/details/shadow.d.ts +1 -0
  1063. package/dist/types/components/heading/component.d.ts +1 -2
  1064. package/dist/types/components/icon/component.d.ts +1 -2
  1065. package/dist/types/components/image/component.d.ts +1 -2
  1066. package/dist/types/components/input-checkbox/shadow.d.ts +1 -0
  1067. package/dist/types/components/input-color/shadow.d.ts +1 -0
  1068. package/dist/types/components/input-date/shadow.d.ts +1 -0
  1069. package/dist/types/components/input-email/shadow.d.ts +1 -0
  1070. package/dist/types/components/input-file/shadow.d.ts +1 -0
  1071. package/dist/types/components/input-number/shadow.d.ts +1 -0
  1072. package/dist/types/components/input-password/shadow.d.ts +1 -0
  1073. package/dist/types/components/input-radio/shadow.d.ts +1 -0
  1074. package/dist/types/components/input-range/shadow.d.ts +1 -0
  1075. package/dist/types/components/input-text/shadow.d.ts +1 -0
  1076. package/dist/types/components/link/component.d.ts +3 -3
  1077. package/dist/types/components/link-button/shadow.d.ts +1 -0
  1078. package/dist/types/components/meter/component.d.ts +30 -0
  1079. package/dist/types/components/popover-button/component.d.ts +1 -0
  1080. package/dist/types/components/popover-button/shadow.d.ts +1 -0
  1081. package/dist/types/components/quote/component.d.ts +1 -2
  1082. package/dist/types/components/select/component.d.ts +1 -0
  1083. package/dist/types/components/spin/component.d.ts +17 -0
  1084. package/dist/types/components/split-button/shadow.d.ts +1 -0
  1085. package/dist/types/components/tabs/shadow.d.ts +1 -0
  1086. package/dist/types/components/textarea/shadow.d.ts +1 -0
  1087. package/dist/types/components/toolbar/shadow.d.ts +1 -0
  1088. package/dist/types/components/tooltip/component.d.ts +5 -31
  1089. package/dist/types/components.d.ts +337 -51
  1090. package/dist/types/core/component-names.d.ts +1 -0
  1091. package/dist/types/functional-components/FieldControl/FieldControl.d.ts +2 -0
  1092. package/dist/types/functional-components/FormField/FormField.d.ts +4 -2
  1093. package/dist/types/index.d.ts +1 -1
  1094. package/dist/types/internal/functional-components/avatar/controller.d.ts +2 -2
  1095. package/dist/types/internal/functional-components/base-controller.d.ts +4 -4
  1096. package/dist/types/internal/functional-components/base-web-component.d.ts +3 -3
  1097. package/dist/types/internal/functional-components/click-button/controller.d.ts +2 -2
  1098. package/dist/types/internal/functional-components/generic-types.d.ts +4 -0
  1099. package/dist/types/internal/functional-components/heading/controller.d.ts +2 -2
  1100. package/dist/types/internal/functional-components/icon/controller.d.ts +2 -2
  1101. package/dist/types/internal/functional-components/image/controller.d.ts +2 -2
  1102. package/dist/types/internal/functional-components/meter/api.d.ts +15 -0
  1103. package/dist/types/internal/functional-components/meter/component.d.ts +10 -0
  1104. package/dist/types/internal/functional-components/meter/controller.d.ts +27 -0
  1105. package/dist/types/internal/functional-components/progress/controller.d.ts +2 -2
  1106. package/dist/types/internal/functional-components/quote/controller.d.ts +2 -2
  1107. package/dist/types/internal/functional-components/skeleton/controller.d.ts +2 -2
  1108. package/dist/types/internal/functional-components/spin/api.d.ts +13 -0
  1109. package/dist/types/internal/functional-components/spin/component.d.ts +4 -0
  1110. package/dist/types/internal/functional-components/spin/controller.d.ts +14 -0
  1111. package/dist/types/internal/functional-components/tooltip/api.d.ts +10 -0
  1112. package/dist/types/internal/functional-components/tooltip/component.d.ts +12 -0
  1113. package/dist/types/internal/functional-components/tooltip/controller.d.ts +36 -0
  1114. package/dist/types/internal/props/high.d.ts +3 -0
  1115. package/dist/types/internal/props/id.d.ts +3 -0
  1116. package/dist/types/internal/props/index.d.ts +1 -1
  1117. package/dist/types/internal/props/low.d.ts +3 -0
  1118. package/dist/types/internal/props/min.d.ts +3 -0
  1119. package/dist/types/internal/props/optimum.d.ts +3 -0
  1120. package/dist/types/internal/props/orientation.d.ts +5 -0
  1121. package/dist/types/internal/props/variant-spin.d.ts +5 -0
  1122. package/dist/types/locales/de.d.ts +5 -0
  1123. package/dist/types/locales/en.d.ts +5 -0
  1124. package/dist/types/schema/bem-registry.d.ts +49 -0
  1125. package/dist/types/schema/i18n-keys.d.ts +4 -2
  1126. package/dist/types/schema/index.d.ts +1 -1
  1127. package/dist/types/schema/tag-names.d.ts +23 -22
  1128. package/dist/types/utils/element-click.d.ts +5 -0
  1129. package/dist/types/utils/element-themed.d.ts +3 -0
  1130. package/doc/accordion.md +10 -0
  1131. package/doc/button-link.md +10 -0
  1132. package/doc/button.md +10 -0
  1133. package/doc/combobox.md +10 -0
  1134. package/doc/details.md +10 -0
  1135. package/doc/input-checkbox.md +10 -0
  1136. package/doc/input-color.md +10 -0
  1137. package/doc/input-date.md +10 -0
  1138. package/doc/input-email.md +10 -0
  1139. package/doc/input-file.md +10 -0
  1140. package/doc/input-number.md +10 -0
  1141. package/doc/input-password.md +10 -0
  1142. package/doc/input-radio.md +10 -0
  1143. package/doc/input-range.md +10 -0
  1144. package/doc/input-text.md +10 -0
  1145. package/doc/link-button.md +10 -0
  1146. package/doc/meter.md +23 -0
  1147. package/doc/popover-button.md +10 -0
  1148. package/doc/spin.md +2 -13
  1149. package/doc/split-button.md +10 -0
  1150. package/doc/tabs.md +10 -0
  1151. package/doc/textarea.md +10 -0
  1152. package/doc/toolbar.md +10 -0
  1153. package/package.json +10 -9
  1154. package/vscode-custom-data.json +54 -1
  1155. package/dist/cjs/Alert-BZ91JHkU.js +0 -4
  1156. package/dist/cjs/Alert-BZ91JHkU.js.map +0 -1
  1157. package/dist/cjs/Collapsible-BxCBps9o.js +0 -4
  1158. package/dist/cjs/Collapsible-BxCBps9o.js.map +0 -1
  1159. package/dist/cjs/CustomSuggestionsOptionsGroup-DodXMzH0.js +0 -4
  1160. package/dist/cjs/CustomSuggestionsOptionsGroup-DodXMzH0.js.map +0 -1
  1161. package/dist/cjs/FieldControlStateWrapper-BnU3WEJy.js +0 -4
  1162. package/dist/cjs/FieldControlStateWrapper-BnU3WEJy.js.map +0 -1
  1163. package/dist/cjs/FormFieldStateWrapper-BmSqwy9o.js +0 -4
  1164. package/dist/cjs/FormFieldStateWrapper-BmSqwy9o.js.map +0 -1
  1165. package/dist/cjs/Heading-DA_rIKjI.js +0 -4
  1166. package/dist/cjs/Heading-DA_rIKjI.js.map +0 -1
  1167. package/dist/cjs/Input-Dy3oWo4g.js +0 -4
  1168. package/dist/cjs/Input-Dy3oWo4g.js.map +0 -1
  1169. package/dist/cjs/InputStateWrapper-8WX7Zycl.js +0 -4
  1170. package/dist/cjs/InputStateWrapper-8WX7Zycl.js.map +0 -1
  1171. package/dist/cjs/_Uint8Array-H2CXBET6.js +0 -4
  1172. package/dist/cjs/_Uint8Array-H2CXBET6.js.map +0 -1
  1173. package/dist/cjs/access-and-short-key-XpSuCO1I.js +0 -4
  1174. package/dist/cjs/access-and-short-key-XpSuCO1I.js.map +0 -1
  1175. package/dist/cjs/align-DvUkg_hj.js +0 -4
  1176. package/dist/cjs/align-DvUkg_hj.js.map +0 -1
  1177. package/dist/cjs/align-floating-elements-BokToY9Z.js +0 -4
  1178. package/dist/cjs/align-floating-elements-BokToY9Z.js.map +0 -1
  1179. package/dist/cjs/app-globals-BYgfWenM.js +0 -4
  1180. package/dist/cjs/app-globals-BYgfWenM.js.map +0 -1
  1181. package/dist/cjs/associated.controller-DmDwjGKd.js +0 -4
  1182. package/dist/cjs/associated.controller-DmDwjGKd.js.map +0 -1
  1183. package/dist/cjs/auto-complete-rNksQ_Lu.js +0 -4
  1184. package/dist/cjs/auto-complete-rNksQ_Lu.js.map +0 -1
  1185. package/dist/cjs/base-web-component-B9aGMyyU.js +0 -4
  1186. package/dist/cjs/base-web-component-B9aGMyyU.js.map +0 -1
  1187. package/dist/cjs/bem-registry-BD-sGSzk.js +0 -4
  1188. package/dist/cjs/bem-registry-BD-sGSzk.js.map +0 -1
  1189. package/dist/cjs/bootstrap-DDTG6qkT.js +0 -4
  1190. package/dist/cjs/bootstrap-DDTG6qkT.js.map +0 -1
  1191. package/dist/cjs/color-Dl58nZfm.js +0 -4
  1192. package/dist/cjs/color-Dl58nZfm.js.map +0 -1
  1193. package/dist/cjs/common-BDQKBMeS.js +0 -4
  1194. package/dist/cjs/common-BDQKBMeS.js.map +0 -1
  1195. package/dist/cjs/component-DvZSHaKX.js +0 -4
  1196. package/dist/cjs/component-DvZSHaKX.js.map +0 -1
  1197. package/dist/cjs/component-WbRKbO3b.js +0 -4
  1198. package/dist/cjs/component-WbRKbO3b.js.map +0 -1
  1199. package/dist/cjs/component-names-5aGrrIj9.js +0 -4
  1200. package/dist/cjs/component-names-5aGrrIj9.js.map +0 -1
  1201. package/dist/cjs/contrast-BrMSnIRe.js +0 -4
  1202. package/dist/cjs/contrast-BrMSnIRe.js.map +0 -1
  1203. package/dist/cjs/controller-CizrmxJP.js +0 -4
  1204. package/dist/cjs/controller-CizrmxJP.js.map +0 -1
  1205. package/dist/cjs/controller-ClPqMip7.js +0 -4
  1206. package/dist/cjs/controller-ClPqMip7.js.map +0 -1
  1207. package/dist/cjs/controller-CsN2zb60.js +0 -4
  1208. package/dist/cjs/controller-CsN2zb60.js.map +0 -1
  1209. package/dist/cjs/controller-icon-BVE0DlDr.js +0 -4
  1210. package/dist/cjs/controller-icon-BVE0DlDr.js.map +0 -1
  1211. package/dist/cjs/controller-mwsI5YgP.js +0 -4
  1212. package/dist/cjs/controller-mwsI5YgP.js.map +0 -1
  1213. package/dist/cjs/controller-ykFWHSug.js +0 -4
  1214. package/dist/cjs/controller-ykFWHSug.js.map +0 -1
  1215. package/dist/cjs/custom-class-DQnxtNWw.js +0 -4
  1216. package/dist/cjs/custom-class-DQnxtNWw.js.map +0 -1
  1217. package/dist/cjs/dev.utils-CpycRC6f.js +0 -4
  1218. package/dist/cjs/dev.utils-CpycRC6f.js.map +0 -1
  1219. package/dist/cjs/devtools-CDgVcBlx.js +0 -4
  1220. package/dist/cjs/devtools-CDgVcBlx.js.map +0 -1
  1221. package/dist/cjs/disabled-BFciea5y.js +0 -4
  1222. package/dist/cjs/disabled-BFciea5y.js.map +0 -1
  1223. package/dist/cjs/element-focus-WQBz86oY.js +0 -4
  1224. package/dist/cjs/element-focus-WQBz86oY.js.map +0 -1
  1225. package/dist/cjs/has-closer-Cy9ZSkdi.js +0 -4
  1226. package/dist/cjs/has-closer-Cy9ZSkdi.js.map +0 -1
  1227. package/dist/cjs/hide-label-D8BIVO2W.js +0 -4
  1228. package/dist/cjs/hide-label-D8BIVO2W.js.map +0 -1
  1229. package/dist/cjs/href-C5sTy69s.js +0 -4
  1230. package/dist/cjs/href-C5sTy69s.js.map +0 -1
  1231. package/dist/cjs/i18n-BWA16k5X.js +0 -4
  1232. package/dist/cjs/i18n-BWA16k5X.js.map +0 -1
  1233. package/dist/cjs/i18n-yHKQt1gl.js +0 -4
  1234. package/dist/cjs/i18n-yHKQt1gl.js.map +0 -1
  1235. package/dist/cjs/icons-CJGhlHRm.js +0 -4
  1236. package/dist/cjs/icons-CJGhlHRm.js.map +0 -1
  1237. package/dist/cjs/index-CQHh_Ytu.js +0 -4
  1238. package/dist/cjs/index-CQHh_Ytu.js.map +0 -1
  1239. package/dist/cjs/inline-r6pzdXAo.js +0 -4
  1240. package/dist/cjs/inline-r6pzdXAo.js.map +0 -1
  1241. package/dist/cjs/isObject-CyNHuTNs.js +0 -4
  1242. package/dist/cjs/isObject-CyNHuTNs.js.map +0 -1
  1243. package/dist/cjs/label-BF7V8pKT.js +0 -4
  1244. package/dist/cjs/label-BF7V8pKT.js.map +0 -1
  1245. package/dist/cjs/label-DBPPhxGb.js +0 -4
  1246. package/dist/cjs/label-DBPPhxGb.js.map +0 -1
  1247. package/dist/cjs/level-Cx2QUciw.js +0 -4
  1248. package/dist/cjs/level-Cx2QUciw.js.map +0 -1
  1249. package/dist/cjs/max-length-behavior-1AURXSwi.js +0 -4
  1250. package/dist/cjs/max-length-behavior-1AURXSwi.js.map +0 -1
  1251. package/dist/cjs/multiple-CPAnJfuQ.js +0 -4
  1252. package/dist/cjs/multiple-CPAnJfuQ.js.map +0 -1
  1253. package/dist/cjs/normalizers-CAkJKmom.js +0 -4
  1254. package/dist/cjs/normalizers-CAkJKmom.js.map +0 -1
  1255. package/dist/cjs/open-C44zbmgu.js +0 -4
  1256. package/dist/cjs/open-C44zbmgu.js.map +0 -1
  1257. package/dist/cjs/orientation-07bwEJHd.js +0 -4
  1258. package/dist/cjs/orientation-07bwEJHd.js.map +0 -1
  1259. package/dist/cjs/placeholder-Bf2WDA4T.js +0 -4
  1260. package/dist/cjs/placeholder-Bf2WDA4T.js.map +0 -1
  1261. package/dist/cjs/read-only-Bog7dvqW.js +0 -4
  1262. package/dist/cjs/read-only-Bog7dvqW.js.map +0 -1
  1263. package/dist/cjs/required-S_merRL8.js +0 -4
  1264. package/dist/cjs/required-S_merRL8.js.map +0 -1
  1265. package/dist/cjs/rows-6G9fVHbG.js +0 -4
  1266. package/dist/cjs/rows-6G9fVHbG.js.map +0 -1
  1267. package/dist/cjs/spell-check-CqdYjCK1.js +0 -4
  1268. package/dist/cjs/spell-check-CqdYjCK1.js.map +0 -1
  1269. package/dist/cjs/src-DRDt5ioI.js +0 -4
  1270. package/dist/cjs/src-DRDt5ioI.js.map +0 -1
  1271. package/dist/cjs/suggestions-MjsNzctE.js +0 -4
  1272. package/dist/cjs/suggestions-MjsNzctE.js.map +0 -1
  1273. package/dist/cjs/table-selection-AQ4G1V6h.js +0 -4
  1274. package/dist/cjs/table-selection-AQ4G1V6h.js.map +0 -1
  1275. package/dist/cjs/tooltip-align-B0_O2h2C.js +0 -4
  1276. package/dist/cjs/tooltip-align-B0_O2h2C.js.map +0 -1
  1277. package/dist/cjs/unique-nav-labels-B1wmg8bZ.js +0 -4
  1278. package/dist/cjs/unique-nav-labels-B1wmg8bZ.js.map +0 -1
  1279. package/dist/cjs/validation-BGCidVNn.js +0 -4
  1280. package/dist/cjs/validation-BGCidVNn.js.map +0 -1
  1281. package/dist/cjs/validation-BLh3pJu9.js +0 -4
  1282. package/dist/cjs/validation-BLh3pJu9.js.map +0 -1
  1283. package/dist/cjs/variant-class-name-CjNwUTWt.js +0 -4
  1284. package/dist/cjs/variant-class-name-CjNwUTWt.js.map +0 -1
  1285. package/dist/components/base-web-component.js +0 -4
  1286. package/dist/components/base-web-component.js.map +0 -1
  1287. package/dist/components/isObject.js +0 -4
  1288. package/dist/components/isObject.js.map +0 -1
  1289. package/dist/esm/Alert-Yti79ERR.js +0 -4
  1290. package/dist/esm/Alert-Yti79ERR.js.map +0 -1
  1291. package/dist/esm/Collapsible-BRJLq6PX.js +0 -4
  1292. package/dist/esm/Collapsible-BRJLq6PX.js.map +0 -1
  1293. package/dist/esm/CustomSuggestionsOptionsGroup-CnEX3emc.js +0 -4
  1294. package/dist/esm/CustomSuggestionsOptionsGroup-CnEX3emc.js.map +0 -1
  1295. package/dist/esm/FieldControlStateWrapper-DrDyeOtu.js +0 -4
  1296. package/dist/esm/FieldControlStateWrapper-DrDyeOtu.js.map +0 -1
  1297. package/dist/esm/FormFieldStateWrapper-BZKfIiSI.js +0 -4
  1298. package/dist/esm/FormFieldStateWrapper-BZKfIiSI.js.map +0 -1
  1299. package/dist/esm/Heading-D7bFHALO.js +0 -4
  1300. package/dist/esm/Heading-D7bFHALO.js.map +0 -1
  1301. package/dist/esm/Input-CAM62iia.js +0 -4
  1302. package/dist/esm/Input-CAM62iia.js.map +0 -1
  1303. package/dist/esm/InputStateWrapper-GKFKmZnX.js +0 -4
  1304. package/dist/esm/InputStateWrapper-GKFKmZnX.js.map +0 -1
  1305. package/dist/esm/_Uint8Array-UP73qmmG.js +0 -4
  1306. package/dist/esm/_Uint8Array-UP73qmmG.js.map +0 -1
  1307. package/dist/esm/access-and-short-key-CPX70LXd.js +0 -4
  1308. package/dist/esm/access-and-short-key-CPX70LXd.js.map +0 -1
  1309. package/dist/esm/align-DDUsWnWP.js +0 -4
  1310. package/dist/esm/align-DDUsWnWP.js.map +0 -1
  1311. package/dist/esm/align-floating-elements-DGbaInbL.js +0 -4
  1312. package/dist/esm/align-floating-elements-DGbaInbL.js.map +0 -1
  1313. package/dist/esm/app-globals-C3bfnBG-.js +0 -4
  1314. package/dist/esm/app-globals-C3bfnBG-.js.map +0 -1
  1315. package/dist/esm/associated.controller-DKliwG01.js +0 -4
  1316. package/dist/esm/associated.controller-DKliwG01.js.map +0 -1
  1317. package/dist/esm/auto-complete-69d94cWC.js +0 -4
  1318. package/dist/esm/auto-complete-69d94cWC.js.map +0 -1
  1319. package/dist/esm/base-web-component-CjUKwppg.js +0 -4
  1320. package/dist/esm/base-web-component-CjUKwppg.js.map +0 -1
  1321. package/dist/esm/bem-registry-ClssJ_nC.js +0 -4
  1322. package/dist/esm/bem-registry-ClssJ_nC.js.map +0 -1
  1323. package/dist/esm/bootstrap-7FNy-lUW.js +0 -4
  1324. package/dist/esm/bootstrap-7FNy-lUW.js.map +0 -1
  1325. package/dist/esm/color-CUkVwfhq.js +0 -4
  1326. package/dist/esm/color-CUkVwfhq.js.map +0 -1
  1327. package/dist/esm/common-BIkdAxr0.js +0 -4
  1328. package/dist/esm/common-BIkdAxr0.js.map +0 -1
  1329. package/dist/esm/component-CPMwSMOM.js +0 -4
  1330. package/dist/esm/component-CPMwSMOM.js.map +0 -1
  1331. package/dist/esm/component-N8_W7bhu.js +0 -4
  1332. package/dist/esm/component-N8_W7bhu.js.map +0 -1
  1333. package/dist/esm/component-names-C64MXeC1.js +0 -4
  1334. package/dist/esm/component-names-C64MXeC1.js.map +0 -1
  1335. package/dist/esm/contrast-qfZiX0wi.js +0 -4
  1336. package/dist/esm/contrast-qfZiX0wi.js.map +0 -1
  1337. package/dist/esm/controller-BShVWk74.js +0 -4
  1338. package/dist/esm/controller-BShVWk74.js.map +0 -1
  1339. package/dist/esm/controller-BTvuwmhH.js +0 -4
  1340. package/dist/esm/controller-BTvuwmhH.js.map +0 -1
  1341. package/dist/esm/controller-CsK1UaP8.js +0 -4
  1342. package/dist/esm/controller-CsK1UaP8.js.map +0 -1
  1343. package/dist/esm/controller-CzRnQolh.js +0 -4
  1344. package/dist/esm/controller-CzRnQolh.js.map +0 -1
  1345. package/dist/esm/controller-DCU1hWxp.js +0 -4
  1346. package/dist/esm/controller-DCU1hWxp.js.map +0 -1
  1347. package/dist/esm/controller-icon-SbmKNSTK.js +0 -4
  1348. package/dist/esm/controller-icon-SbmKNSTK.js.map +0 -1
  1349. package/dist/esm/custom-class-VVhX9Sez.js +0 -4
  1350. package/dist/esm/custom-class-VVhX9Sez.js.map +0 -1
  1351. package/dist/esm/dev.utils-98sTB6ui.js +0 -4
  1352. package/dist/esm/dev.utils-98sTB6ui.js.map +0 -1
  1353. package/dist/esm/devtools-B_1WJGco.js +0 -4
  1354. package/dist/esm/devtools-B_1WJGco.js.map +0 -1
  1355. package/dist/esm/disabled-BdPI9eda.js +0 -4
  1356. package/dist/esm/disabled-BdPI9eda.js.map +0 -1
  1357. package/dist/esm/element-focus-y2O-Z32P.js +0 -4
  1358. package/dist/esm/element-focus-y2O-Z32P.js.map +0 -1
  1359. package/dist/esm/has-closer-BbY1hw6m.js +0 -4
  1360. package/dist/esm/has-closer-BbY1hw6m.js.map +0 -1
  1361. package/dist/esm/hide-label-ByItyHgV.js +0 -4
  1362. package/dist/esm/hide-label-ByItyHgV.js.map +0 -1
  1363. package/dist/esm/href-BtQW7uxb.js +0 -4
  1364. package/dist/esm/href-BtQW7uxb.js.map +0 -1
  1365. package/dist/esm/i18n-B0tfVPMa.js +0 -4
  1366. package/dist/esm/i18n-B0tfVPMa.js.map +0 -1
  1367. package/dist/esm/i18n-DvMeCREp.js +0 -4
  1368. package/dist/esm/i18n-DvMeCREp.js.map +0 -1
  1369. package/dist/esm/icons-CmA8Oww0.js +0 -4
  1370. package/dist/esm/icons-CmA8Oww0.js.map +0 -1
  1371. package/dist/esm/index-t9mjSqi3.js +0 -4
  1372. package/dist/esm/index-t9mjSqi3.js.map +0 -1
  1373. package/dist/esm/inline-q8GZVjiZ.js +0 -4
  1374. package/dist/esm/inline-q8GZVjiZ.js.map +0 -1
  1375. package/dist/esm/isObject-BJgq02Md.js +0 -4
  1376. package/dist/esm/isObject-BJgq02Md.js.map +0 -1
  1377. package/dist/esm/label-BGZcz8ue.js +0 -4
  1378. package/dist/esm/label-BGZcz8ue.js.map +0 -1
  1379. package/dist/esm/label-Cw7rCjUo.js +0 -4
  1380. package/dist/esm/label-Cw7rCjUo.js.map +0 -1
  1381. package/dist/esm/level-C5jpNYbv.js +0 -4
  1382. package/dist/esm/level-C5jpNYbv.js.map +0 -1
  1383. package/dist/esm/max-length-behavior-BfK6OnzA.js +0 -4
  1384. package/dist/esm/max-length-behavior-BfK6OnzA.js.map +0 -1
  1385. package/dist/esm/multiple-BgWWOenK.js +0 -4
  1386. package/dist/esm/multiple-BgWWOenK.js.map +0 -1
  1387. package/dist/esm/normalizers-MuBx2xIG.js +0 -4
  1388. package/dist/esm/normalizers-MuBx2xIG.js.map +0 -1
  1389. package/dist/esm/open-BhLtfnQI.js +0 -4
  1390. package/dist/esm/open-BhLtfnQI.js.map +0 -1
  1391. package/dist/esm/orientation-pWOiDBRo.js +0 -4
  1392. package/dist/esm/orientation-pWOiDBRo.js.map +0 -1
  1393. package/dist/esm/placeholder-D8vH7TM6.js +0 -4
  1394. package/dist/esm/placeholder-D8vH7TM6.js.map +0 -1
  1395. package/dist/esm/read-only-C5tWj8H1.js +0 -4
  1396. package/dist/esm/read-only-C5tWj8H1.js.map +0 -1
  1397. package/dist/esm/required-Dt9l4wUg.js +0 -4
  1398. package/dist/esm/required-Dt9l4wUg.js.map +0 -1
  1399. package/dist/esm/rows-CN7sG0G_.js +0 -4
  1400. package/dist/esm/rows-CN7sG0G_.js.map +0 -1
  1401. package/dist/esm/spell-check-BcvxI-Fn.js +0 -4
  1402. package/dist/esm/spell-check-BcvxI-Fn.js.map +0 -1
  1403. package/dist/esm/src-BqFarDZ1.js +0 -4
  1404. package/dist/esm/src-BqFarDZ1.js.map +0 -1
  1405. package/dist/esm/suggestions-CAPtcaUM.js +0 -4
  1406. package/dist/esm/suggestions-CAPtcaUM.js.map +0 -1
  1407. package/dist/esm/table-selection-DAMWzd6x.js +0 -4
  1408. package/dist/esm/table-selection-DAMWzd6x.js.map +0 -1
  1409. package/dist/esm/tooltip-align-DodV1tEH.js +0 -4
  1410. package/dist/esm/tooltip-align-DodV1tEH.js.map +0 -1
  1411. package/dist/esm/tooltip-open-tracking-rBbBgPWP.js +0 -4
  1412. package/dist/esm/tooltip-open-tracking-rBbBgPWP.js.map +0 -1
  1413. package/dist/esm/unique-nav-labels-BVWNmacO.js +0 -4
  1414. package/dist/esm/unique-nav-labels-BVWNmacO.js.map +0 -1
  1415. package/dist/esm/validation-D7gmRWfA.js +0 -4
  1416. package/dist/esm/validation-D7gmRWfA.js.map +0 -1
  1417. package/dist/esm/validation-s-zBxvaI.js +0 -4
  1418. package/dist/esm/validation-s-zBxvaI.js.map +0 -1
  1419. package/dist/esm/variant-class-name-DbXpwWql.js +0 -4
  1420. package/dist/esm/variant-class-name-DbXpwWql.js.map +0 -1
  1421. package/dist/kolibri/Alert-Yti79ERR.js +0 -4
  1422. package/dist/kolibri/Alert-Yti79ERR.js.map +0 -1
  1423. package/dist/kolibri/Collapsible-BRJLq6PX.js +0 -4
  1424. package/dist/kolibri/Collapsible-BRJLq6PX.js.map +0 -1
  1425. package/dist/kolibri/CustomSuggestionsOptionsGroup-CnEX3emc.js +0 -4
  1426. package/dist/kolibri/CustomSuggestionsOptionsGroup-CnEX3emc.js.map +0 -1
  1427. package/dist/kolibri/FieldControlStateWrapper-DrDyeOtu.js +0 -4
  1428. package/dist/kolibri/FieldControlStateWrapper-DrDyeOtu.js.map +0 -1
  1429. package/dist/kolibri/FormFieldStateWrapper-BZKfIiSI.js +0 -4
  1430. package/dist/kolibri/FormFieldStateWrapper-BZKfIiSI.js.map +0 -1
  1431. package/dist/kolibri/Heading-D7bFHALO.js +0 -4
  1432. package/dist/kolibri/Heading-D7bFHALO.js.map +0 -1
  1433. package/dist/kolibri/Input-CAM62iia.js +0 -4
  1434. package/dist/kolibri/Input-CAM62iia.js.map +0 -1
  1435. package/dist/kolibri/InputStateWrapper-GKFKmZnX.js +0 -4
  1436. package/dist/kolibri/InputStateWrapper-GKFKmZnX.js.map +0 -1
  1437. package/dist/kolibri/_Uint8Array-UP73qmmG.js +0 -4
  1438. package/dist/kolibri/_Uint8Array-UP73qmmG.js.map +0 -1
  1439. package/dist/kolibri/access-and-short-key-CPX70LXd.js +0 -4
  1440. package/dist/kolibri/access-and-short-key-CPX70LXd.js.map +0 -1
  1441. package/dist/kolibri/align-DDUsWnWP.js +0 -4
  1442. package/dist/kolibri/align-DDUsWnWP.js.map +0 -1
  1443. package/dist/kolibri/align-floating-elements-DGbaInbL.js +0 -4
  1444. package/dist/kolibri/align-floating-elements-DGbaInbL.js.map +0 -1
  1445. package/dist/kolibri/app-globals-C3bfnBG-.js +0 -4
  1446. package/dist/kolibri/app-globals-C3bfnBG-.js.map +0 -1
  1447. package/dist/kolibri/associated.controller-DKliwG01.js +0 -4
  1448. package/dist/kolibri/associated.controller-DKliwG01.js.map +0 -1
  1449. package/dist/kolibri/auto-complete-69d94cWC.js +0 -4
  1450. package/dist/kolibri/auto-complete-69d94cWC.js.map +0 -1
  1451. package/dist/kolibri/base-web-component-CjUKwppg.js +0 -4
  1452. package/dist/kolibri/base-web-component-CjUKwppg.js.map +0 -1
  1453. package/dist/kolibri/bem-registry-ClssJ_nC.js +0 -4
  1454. package/dist/kolibri/bem-registry-ClssJ_nC.js.map +0 -1
  1455. package/dist/kolibri/bootstrap-7FNy-lUW.js +0 -4
  1456. package/dist/kolibri/bootstrap-7FNy-lUW.js.map +0 -1
  1457. package/dist/kolibri/color-CUkVwfhq.js +0 -4
  1458. package/dist/kolibri/color-CUkVwfhq.js.map +0 -1
  1459. package/dist/kolibri/common-BIkdAxr0.js +0 -4
  1460. package/dist/kolibri/common-BIkdAxr0.js.map +0 -1
  1461. package/dist/kolibri/component-CPMwSMOM.js +0 -4
  1462. package/dist/kolibri/component-CPMwSMOM.js.map +0 -1
  1463. package/dist/kolibri/component-N8_W7bhu.js +0 -4
  1464. package/dist/kolibri/component-N8_W7bhu.js.map +0 -1
  1465. package/dist/kolibri/component-names-C64MXeC1.js +0 -4
  1466. package/dist/kolibri/component-names-C64MXeC1.js.map +0 -1
  1467. package/dist/kolibri/contrast-qfZiX0wi.js +0 -4
  1468. package/dist/kolibri/contrast-qfZiX0wi.js.map +0 -1
  1469. package/dist/kolibri/controller-BShVWk74.js +0 -4
  1470. package/dist/kolibri/controller-BShVWk74.js.map +0 -1
  1471. package/dist/kolibri/controller-BTvuwmhH.js +0 -4
  1472. package/dist/kolibri/controller-BTvuwmhH.js.map +0 -1
  1473. package/dist/kolibri/controller-CsK1UaP8.js +0 -4
  1474. package/dist/kolibri/controller-CsK1UaP8.js.map +0 -1
  1475. package/dist/kolibri/controller-CzRnQolh.js +0 -4
  1476. package/dist/kolibri/controller-CzRnQolh.js.map +0 -1
  1477. package/dist/kolibri/controller-DCU1hWxp.js +0 -4
  1478. package/dist/kolibri/controller-DCU1hWxp.js.map +0 -1
  1479. package/dist/kolibri/controller-icon-SbmKNSTK.js +0 -4
  1480. package/dist/kolibri/controller-icon-SbmKNSTK.js.map +0 -1
  1481. package/dist/kolibri/custom-class-VVhX9Sez.js +0 -4
  1482. package/dist/kolibri/custom-class-VVhX9Sez.js.map +0 -1
  1483. package/dist/kolibri/dev.utils-98sTB6ui.js +0 -4
  1484. package/dist/kolibri/dev.utils-98sTB6ui.js.map +0 -1
  1485. package/dist/kolibri/devtools-B_1WJGco.js +0 -4
  1486. package/dist/kolibri/devtools-B_1WJGco.js.map +0 -1
  1487. package/dist/kolibri/disabled-BdPI9eda.js +0 -4
  1488. package/dist/kolibri/disabled-BdPI9eda.js.map +0 -1
  1489. package/dist/kolibri/element-focus-y2O-Z32P.js +0 -4
  1490. package/dist/kolibri/element-focus-y2O-Z32P.js.map +0 -1
  1491. package/dist/kolibri/has-closer-BbY1hw6m.js +0 -4
  1492. package/dist/kolibri/has-closer-BbY1hw6m.js.map +0 -1
  1493. package/dist/kolibri/hide-label-ByItyHgV.js +0 -4
  1494. package/dist/kolibri/hide-label-ByItyHgV.js.map +0 -1
  1495. package/dist/kolibri/href-BtQW7uxb.js +0 -4
  1496. package/dist/kolibri/href-BtQW7uxb.js.map +0 -1
  1497. package/dist/kolibri/i18n-B0tfVPMa.js +0 -4
  1498. package/dist/kolibri/i18n-B0tfVPMa.js.map +0 -1
  1499. package/dist/kolibri/i18n-DvMeCREp.js +0 -4
  1500. package/dist/kolibri/i18n-DvMeCREp.js.map +0 -1
  1501. package/dist/kolibri/icons-CmA8Oww0.js +0 -4
  1502. package/dist/kolibri/icons-CmA8Oww0.js.map +0 -1
  1503. package/dist/kolibri/index-t9mjSqi3.js +0 -5
  1504. package/dist/kolibri/index-t9mjSqi3.js.map +0 -1
  1505. package/dist/kolibri/inline-q8GZVjiZ.js +0 -4
  1506. package/dist/kolibri/inline-q8GZVjiZ.js.map +0 -1
  1507. package/dist/kolibri/isObject-BJgq02Md.js +0 -4
  1508. package/dist/kolibri/isObject-BJgq02Md.js.map +0 -1
  1509. package/dist/kolibri/label-BGZcz8ue.js +0 -4
  1510. package/dist/kolibri/label-BGZcz8ue.js.map +0 -1
  1511. package/dist/kolibri/label-Cw7rCjUo.js +0 -4
  1512. package/dist/kolibri/label-Cw7rCjUo.js.map +0 -1
  1513. package/dist/kolibri/level-C5jpNYbv.js +0 -4
  1514. package/dist/kolibri/level-C5jpNYbv.js.map +0 -1
  1515. package/dist/kolibri/max-length-behavior-BfK6OnzA.js +0 -4
  1516. package/dist/kolibri/max-length-behavior-BfK6OnzA.js.map +0 -1
  1517. package/dist/kolibri/multiple-BgWWOenK.js +0 -4
  1518. package/dist/kolibri/multiple-BgWWOenK.js.map +0 -1
  1519. package/dist/kolibri/normalizers-MuBx2xIG.js +0 -4
  1520. package/dist/kolibri/normalizers-MuBx2xIG.js.map +0 -1
  1521. package/dist/kolibri/open-BhLtfnQI.js +0 -4
  1522. package/dist/kolibri/open-BhLtfnQI.js.map +0 -1
  1523. package/dist/kolibri/orientation-pWOiDBRo.js +0 -4
  1524. package/dist/kolibri/orientation-pWOiDBRo.js.map +0 -1
  1525. package/dist/kolibri/placeholder-D8vH7TM6.js +0 -4
  1526. package/dist/kolibri/placeholder-D8vH7TM6.js.map +0 -1
  1527. package/dist/kolibri/read-only-C5tWj8H1.js +0 -4
  1528. package/dist/kolibri/read-only-C5tWj8H1.js.map +0 -1
  1529. package/dist/kolibri/required-Dt9l4wUg.js +0 -4
  1530. package/dist/kolibri/required-Dt9l4wUg.js.map +0 -1
  1531. package/dist/kolibri/rows-CN7sG0G_.js +0 -4
  1532. package/dist/kolibri/rows-CN7sG0G_.js.map +0 -1
  1533. package/dist/kolibri/spell-check-BcvxI-Fn.js +0 -4
  1534. package/dist/kolibri/spell-check-BcvxI-Fn.js.map +0 -1
  1535. package/dist/kolibri/src-BqFarDZ1.js +0 -4
  1536. package/dist/kolibri/src-BqFarDZ1.js.map +0 -1
  1537. package/dist/kolibri/suggestions-CAPtcaUM.js +0 -4
  1538. package/dist/kolibri/suggestions-CAPtcaUM.js.map +0 -1
  1539. package/dist/kolibri/table-selection-DAMWzd6x.js +0 -4
  1540. package/dist/kolibri/table-selection-DAMWzd6x.js.map +0 -1
  1541. package/dist/kolibri/tooltip-align-DodV1tEH.js +0 -4
  1542. package/dist/kolibri/tooltip-align-DodV1tEH.js.map +0 -1
  1543. package/dist/kolibri/tooltip-open-tracking-rBbBgPWP.js +0 -4
  1544. package/dist/kolibri/tooltip-open-tracking-rBbBgPWP.js.map +0 -1
  1545. package/dist/kolibri/unique-nav-labels-BVWNmacO.js +0 -4
  1546. package/dist/kolibri/unique-nav-labels-BVWNmacO.js.map +0 -1
  1547. package/dist/kolibri/validation-D7gmRWfA.js +0 -4
  1548. package/dist/kolibri/validation-D7gmRWfA.js.map +0 -1
  1549. package/dist/kolibri/validation-s-zBxvaI.js +0 -4
  1550. package/dist/kolibri/validation-s-zBxvaI.js.map +0 -1
  1551. package/dist/kolibri/variant-class-name-DbXpwWql.js +0 -4
  1552. package/dist/kolibri/variant-class-name-DbXpwWql.js.map +0 -1
  1553. package/dist/types/components/spin/shadow.d.ts +0 -16
  1554. package/dist/types/functional-components/FormFieldTooltip/FormFieldTooltip.d.ts +0 -11
  1555. package/dist/types/functional-components/FormFieldTooltip/index.d.ts +0 -1
  1556. package/dist/types/functional-components/FormFieldTooltip/tests/snapshort.test.d.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"kol-link-wc.entry.js","sources":["src/schema/props/aria-current-value.ts","src/schema/props/aria-owns.ts","src/schema/props/download.ts","src/schema/props/link-on-callbacks.ts","src/schema/props/link-target.ts","src/components/link/component.tsx"],"sourcesContent":["/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\n/**\n * Defines the value for the aria-current attribute.\n * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current\n * @see https://www.aditus.io/aria/aria-current/\n */\nconst ariaCurrentValuePropTypeOptions = ['date', 'location', 'page', 'step', 'time', 'true', 'false'] as const;\nexport type AriaCurrentValuePropType = (typeof ariaCurrentValuePropTypeOptions)[number];\n\nexport type PropAriaCurrentValue = {\n\tariaCurrentValue: AriaCurrentValuePropType;\n};\n\n/* validator */\nexport const validateAriaCurrentValue = (component: Generic.Element.Component, value?: AriaCurrentValuePropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_ariaCurrentValue`,\n\t\t(value) => typeof value === 'string' && ariaCurrentValuePropTypeOptions.includes(value),\n\t\tnew Set([`AriaCurrentValue {${ariaCurrentValuePropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t\t{\n\t\t\tdefaultValue: 'page',\n\t\t},\n\t);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/**\n * Defines the contextual relationship between a parent and its child elements.\n * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-owns\n */\nexport type AriaOwnsPropType = string;\n\nexport type PropAriaOwns = {\n\tariaOwns: AriaOwnsPropType;\n};\n\n/* validator */\nexport const validateAriaOwns = (component: Generic.Element.Component, value?: AriaOwnsPropType): void => {\n\twatchString(component, '_ariaOwns', value, {\n\t\tdefaultValue: undefined,\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchString } from '../utils';\n\n/* types */\n\nexport type DownloadPropType = string;\n\n/**\n * Tells the browser that the link contains a file. Optionally sets the filename.\n */\nexport type PropDownload = {\n\tdownload?: DownloadPropType;\n};\n\n/* validator */\nexport const validateDownload = (component: Generic.Element.Component, value?: DownloadPropType): void => {\n\twatchString(component, '_download', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { Callback } from '../enums';\nimport type { EventValueOrEventCallback } from '../types/callbacks';\n\n/* types */\nexport type LinkOnCallbacksPropType = {\n\t[Callback.onClick]?: EventValueOrEventCallback<Event, string>;\n};\n\n/**\n * Defines the callback functions for links.\n */\nexport type PropLinkOnCallbacks = {\n\ton: LinkOnCallbacksPropType;\n};\n\n/* validator */\nexport const validateLinkCallbacks = (component: Generic.Element.Component, value?: LinkOnCallbacksPropType): void => {\n\tif (typeof value === 'object' && typeof value?.onClick === 'function') {\n\t\tcomponent.state = {\n\t\t\t...component.state,\n\t\t\t_on: value,\n\t\t};\n\t}\n};\n","/* types */\n\n// https://www.w3schools.com/tags/att_a_target.asp\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\nexport type LinkTargetPropType = '_blank' | '_parent' | '_self' | '_top' | string;\n\n/**\n * Defines where to open the link.\n */\nexport type PropLinkTarget = {\n\ttarget: LinkTargetPropType;\n};\n\n/* validator */\nexport const validateLinkTarget = (component: Generic.Element.Component, value?: LinkTargetPropType): void => {\n\twatchString(component, '_target', value);\n};\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport { KolTooltipWcTag } from '../../core/component-names';\nimport { IconFC } from '../../internal/functional-components/icon/component';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tAriaExpandedPropType,\n\tAriaOwnsPropType,\n\tCustomClassPropType,\n\tDisabledPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHrefPropType,\n\tInlinePropType,\n\tInternalLinkAPI,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkStates,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport {\n\tdevHint,\n\tsetEventTarget,\n\tshowExpertSlot,\n\tvalidateAccessKey,\n\tvalidateAlternativeButtonLinkRole,\n\tvalidateAriaControls,\n\tvalidateAriaCurrentValue,\n\tvalidateAriaDescription,\n\tvalidateAriaExpanded,\n\tvalidateAriaOwns,\n\tvalidateCustomClass,\n\tvalidateDisabled,\n\tvalidateDownload,\n\tvalidateHideLabel,\n\tvalidateHref,\n\tvalidateIcons,\n\tvalidateInline,\n\tvalidateLabelWithExpertSlot,\n\tvalidateLinkCallbacks,\n\tvalidateLinkTarget,\n\tvalidateShortKey,\n\tvalidateTooltipAlign,\n\tvalidateVariantClassName,\n} from '../../schema';\nimport { validateTabIndex } from '../../schema/props/tab-index';\nimport { setFocus } from '../../utils/element-focus';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport type { UnsubscribeFunction } from './ariaCurrentService';\nimport { onLocationChange } from './ariaCurrentService';\n\nimport { translate } from '../../i18n';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport clsx from '../../utils/clsx';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-link-wc',\n\tshadow: false,\n})\nexport class KolLinkWc implements InternalLinkAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolLinkElement;\n\n\tprivate anchorRef?: HTMLAnchorElement;\n\tprivate tooltipRef?: HTMLKolTooltipWcElement;\n\tprivate unsubscribeOnLocationChange?: UnsubscribeFunction;\n\n\tprivate readonly translateOpenLinkInTab = translate('kol-open-link-in-tab');\n\n\tprivate readonly setAnchorRef = (ref?: HTMLAnchorElement) => {\n\t\tthis.anchorRef = 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\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.anchorRef!);\n\t}\n\n\tprivate readonly onClick = (event: Event) => {\n\t\tif (this.state._hideLabel) {\n\t\t\tthis.hideTooltip();\n\t\t}\n\n\t\tif (this.state._disabled === true) {\n\t\t\tevent.preventDefault();\n\t\t} else {\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.anchorRef);\n\t\t\t\tthis.state._on?.onClick(event, this.state._href);\n\t\t\t}\n\t\t\tif (this.host) {\n\t\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.state._href);\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate readonly getRenderValues = () => {\n\t\t/**\n\t\t * DX\n\t\t * Das möchte ich ungern für HTML machen, sondern nur für Barrierefreiheitsthemen.\n\t\t */\n\t\t// if (typeof this.state._href === 'string' && this.state._href.length > 0) {\n\t\t// console.error('Setz den URL.');\n\t\t// throw new Error('Setz den URL.');\n\t\t// }\n\n\t\t// switch (this.state._target) {\n\t\t// case '_blank':\n\t\t// case '_self':\n\t\t// break;\n\t\t// default:\n\t\t// console.error('Fehlerhaftes Target.');\n\t\t// throw new Error('Fehlerhaftes Target.');\n\t\t// }\n\n\t\t// ROBUSTHEIT durch Validierung\n\t\tconst isExternal = typeof this.state._target === 'string' && this.state._target !== '_self';\n\n\t\tconst tagAttrs = {\n\t\t\thref: typeof this.state._href === 'string' && this.state._href.length > 0 ? this.state._href : 'javascript:void(0);',\n\t\t\ttarget: typeof this.state._target === 'string' && this.state._target.length > 0 ? this.state._target : undefined,\n\t\t\trel: isExternal ? 'noopener' : undefined,\n\t\t\tdownload: typeof this.state._download === 'string' ? this.state._download : undefined,\n\t\t};\n\n\t\tif (this.state._hideLabel === true && !this.state._label) {\n\t\t\tdevHint(`[KolLink] An aria-label must be set when _hide-label is set.`);\n\t\t}\n\t\treturn { isExternal, tagAttrs };\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tconst { isExternal, tagAttrs } = this.getRenderValues();\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\t\tconst ariaDescription = this.state._ariaDescription?.trim();\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<a\n\t\t\t\t\tref={this.setAnchorRef}\n\t\t\t\t\t{...tagAttrs}\n\t\t\t\t\taccessKey={this.state._accessKey}\n\t\t\t\t\taria-current={this.state._ariaCurrent}\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-disabled={this.state._disabled ? 'true' : undefined}\n\t\t\t\t\taria-expanded={typeof this.state._ariaExpanded === 'boolean' ? String(this.state._ariaExpanded) : undefined}\n\t\t\t\t\taria-owns={this.state._ariaOwns}\n\t\t\t\t\taria-label={\n\t\t\t\t\t\tthis.state._hideLabel && typeof this.state._label === 'string'\n\t\t\t\t\t\t\t? `${this.state._label}${isExternal ? ` (${this.translateOpenLinkInTab})` : ''}`\n\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t}\n\t\t\t\t\taria-keyshortcuts={this.state._shortKey}\n\t\t\t\t\tclass={clsx('kol-link', {\n\t\t\t\t\t\t'kol-link--disabled': this.state._disabled === true,\n\t\t\t\t\t\t'kol-link--external-link': isExternal,\n\t\t\t\t\t\t'kol-link--hide-label': this.state._hideLabel === true,\n\t\t\t\t\t\t[`kol-link--${this.state._variant as string}`]: this.state._variant !== undefined,\n\t\t\t\t\t\t'kol-link--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-link--standalone': this.state._inline === false,\n\t\t\t\t\t\t[this.state._customClass as string]:\n\t\t\t\t\t\t\tthis.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,\n\t\t\t\t\t})}\n\t\t\t\t\t{...this.state._on}\n\t\t\t\t\t// https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/click-events-have-key-events.md\n\t\t\t\t\tonClick={this.onClick}\n\t\t\t\t\tonKeyPress={this.onClick}\n\t\t\t\t\trole={this.state._role}\n\t\t\t\t\ttabIndex={this.state._disabled ? -1 : this.state._tabIndex}\n\t\t\t\t>\n\t\t\t\t\t<SpanFC\n\t\t\t\t\t\tclass=\"kol-link__text\"\n\t\t\t\t\t\tbadgeText={this.state._accessKey || this.state._shortKey}\n\t\t\t\t\t\ticons={this.state._icons}\n\t\t\t\t\t\thideLabel={this.state._hideLabel}\n\t\t\t\t\t\tlabel={hasExpertSlot ? '' : this.state._label || this.state._href}\n\t\t\t\t\t>\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\t{isExternal && (\n\t\t\t\t\t\t<IconFC\n\t\t\t\t\t\t\tclass=\"kol-link__icon\"\n\t\t\t\t\t\t\tlabel={this.state._hideLabel ? '' : this.translateOpenLinkInTab}\n\t\t\t\t\t\t\ticons={'kolicon-link-external'}\n\t\t\t\t\t\t\taria-hidden={this.state._hideLabel}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</a>\n\t\t\t\t{this.state._hideLabel === true && (\n\t\t\t\t\t<KolTooltipWcTag\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\tclass=\"kol-link__tooltip\"\n\t\t\t\t\t\tref={this.setTooltipRef}\n\t\t\t\t\t\thidden={hasExpertSlot}\n\t\t\t\t\t\t_badgeText={this.state._accessKey || this.state._shortKey}\n\t\t\t\t\t\t_align={this.state._tooltipAlign}\n\t\t\t\t\t\t_label={this.state._label || this.state._href}\n\t\t\t\t\t></KolTooltipWcTag>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\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 * Marks this element as open/expanded, or that the connected element (aria-controls/aria-owns) is open/expanded.\n\t * @TODO: Change type to `AriaExpandedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines the contextual relationship between a parent and its child elements.\n\t */\n\t@Prop() public _ariaOwns?: AriaOwnsPropType;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\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 * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\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 = true;\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 callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\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 * 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 open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\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 = 'right';\n\n\t/**\n\t * Defines which button variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: LinkStates = {\n\t\t_ariaCurrentValue: 'page',\n\t\t_href: '', // ⚠ required\n\t\t_icons: {},\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('_ariaCurrentValue')\n\tpublic validateAriaCurrentValue(value?: AriaCurrentValuePropType): void {\n\t\tvalidateAriaCurrentValue(this, value);\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('_ariaOwns')\n\tpublic validateAriaOwns(value?: AriaOwnsPropType): void {\n\t\tvalidateAriaOwns(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('_download')\n\tpublic validateDownload(value?: DownloadPropType): void {\n\t\tvalidateDownload(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('_href')\n\tpublic validateHref(value?: string): void {\n\t\tvalidateHref(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: KoliBriIconsProp): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: true,\n\t\t});\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this, value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: LinkOnCallbacksPropType): void {\n\t\tvalidateLinkCallbacks(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('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this, value);\n\t}\n\n\t@Watch('_target')\n\tpublic validateTarget(value?: LinkTargetPropType): void {\n\t\tvalidateLinkTarget(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('_variant')\n\tpublic validateVariantClassName(value?: VariantClassNamePropType): void {\n\t\tvalidateVariantClassName(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAccessKey(this._accessKey);\n\t\tthis.validateAriaCurrentValue(this._ariaCurrentValue);\n\t\tthis.validateAriaControls(this._ariaControls);\n\t\tthis.validateAriaDescription(this._ariaDescription);\n\t\tthis.validateAriaExpanded(this._ariaExpanded);\n\t\tthis.validateAriaOwns(this._ariaOwns);\n\t\tthis.validateCustomClass(this._customClass);\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateDownload(this._download);\n\t\tthis.validateHideLabel(this._hideLabel);\n\t\tthis.validateHref(this._href);\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateInline(this._inline);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateRole(this._role);\n\t\tthis.validateShortKey(this._shortKey);\n\t\tthis.validateTabIndex(this._tabIndex);\n\t\tthis.validateTarget(this._target);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t\tthis.validateVariantClassName(this._variant);\n\t\tthis.unsubscribeOnLocationChange = onLocationChange((location) => {\n\t\t\tthis.state._ariaCurrent = location === this.state._href ? this.state._ariaCurrentValue : undefined;\n\t\t});\n\t\tvalidateAccessAndShortKey(this._accessKey, this._shortKey);\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tif (this.unsubscribeOnLocationChange) {\n\t\t\tthis.unsubscribeOnLocationChange();\n\t\t}\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,MAAM,+BAA+B,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAU;AAQvG,MAAM,wBAAwB,GAAG,CAAC,SAAoC,EAAE,KAAgC,KAAU;AACxH,IAAA,cAAc,CACb,SAAS,EACT,CAAmB,iBAAA,CAAA,EACnB,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,+BAA+B,CAAC,QAAQ,CAAC,KAAK,CAAC,EACvF,IAAI,GAAG,CAAC,CAAC,qBAAqB,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE,CAAC,CAAC,EAC5E,KAAK,EACL;AACC,QAAA,YAAY,EAAE,MAAM;AACpB,KAAA,CACD;AACF,CAAC;;ACbM,MAAM,gBAAgB,G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a,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC;AACjC,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;AAC/B,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,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC;AACrC,QAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC;AACjC,QAAA,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,aAAa,CAAC;AAC7C,QAAA,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC5C,IAAI,CAAC,2BAA2B,GAAG,gBAAgB,CAAC,CAAC,QAAQ,KAAI;YAChE,IAAI,CAAC,KAAK,CAAC,YAAY,GAAG,QAAQ,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,GAAG,SAAS;AACnG,SAAC,CAAC;QACF,yBAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC;;IAGpD,oBAAoB,GAAA;AAC1B,QAAA,IAAI,IAAI,CAAC,2BAA2B,EAAE;YACrC,IAAI,CAAC,2BAA2B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-link-wc.entry.js","sources":["src/schema/props/aria-current-value.ts","src/schema/props/aria-owns.ts","src/schema/props/download.ts","src/schema/props/link-on-callbacks.ts","src/schema/props/link-target.ts","src/components/link/component.tsx"],"sourcesContent":["/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\n/**\n * Defines the value for the aria-current attribute.\n * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current\n * @see https://www.aditus.io/aria/aria-current/\n */\nconst ariaCurrentValuePropTypeOptions = ['date', 'location', 'page', 'step', 'time', 'true', 'false'] as const;\nexport type AriaCurrentValuePropType = (typeof ariaCurrentValuePropTypeOptions)[number];\n\nexport type PropAriaCurrentValue = {\n\tariaCurrentValue: AriaCurrentValuePropType;\n};\n\n/* validator */\nexport const validateAriaCurrentValue = (component: Generic.Element.Component, value?: AriaCurrentValuePropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_ariaCurrentValue`,\n\t\t(value) => typeof value === 'string' && ariaCurrentValuePropTypeOptions.includes(value),\n\t\tnew Set([`AriaCurrentValue {${ariaCurrentValuePropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t\t{\n\t\t\tdefaultValue: 'page',\n\t\t},\n\t);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/**\n * Defines the contextual relationship between a parent and its child elements.\n * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-owns\n */\nexport type AriaOwnsPropType = string;\n\nexport type PropAriaOwns = {\n\tariaOwns: AriaOwnsPropType;\n};\n\n/* validator */\nexport const validateAriaOwns = (component: Generic.Element.Component, value?: AriaOwnsPropType): void => {\n\twatchString(component, '_ariaOwns', value, {\n\t\tdefaultValue: undefined,\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchString } from '../utils';\n\n/* types */\n\nexport type DownloadPropType = string;\n\n/**\n * Tells the browser that the link contains a file. Optionally sets the filename.\n */\nexport type PropDownload = {\n\tdownload?: DownloadPropType;\n};\n\n/* validator */\nexport const validateDownload = (component: Generic.Element.Component, value?: DownloadPropType): void => {\n\twatchString(component, '_download', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { Callback } from '../enums';\nimport type { EventValueOrEventCallback } from '../types/callbacks';\n\n/* types */\nexport type LinkOnCallbacksPropType = {\n\t[Callback.onClick]?: EventValueOrEventCallback<Event, string>;\n};\n\n/**\n * Defines the callback functions for links.\n */\nexport type PropLinkOnCallbacks = {\n\ton: LinkOnCallbacksPropType;\n};\n\n/* validator */\nexport const validateLinkCallbacks = (component: Generic.Element.Component, value?: LinkOnCallbacksPropType): void => {\n\tif (typeof value === 'object' && typeof value?.onClick === 'function') {\n\t\tcomponent.state = {\n\t\t\t...component.state,\n\t\t\t_on: value,\n\t\t};\n\t}\n};\n","/* types */\n\n// https://www.w3schools.com/tags/att_a_target.asp\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\nexport type LinkTargetPropType = '_blank' | '_parent' | '_self' | '_top' | string;\n\n/**\n * Defines where to open the link.\n */\nexport type PropLinkTarget = {\n\ttarget: LinkTargetPropType;\n};\n\n/* validator */\nexport const validateLinkTarget = (component: Generic.Element.Component, value?: LinkTargetPropType): void => {\n\twatchString(component, '_target', value);\n};\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport { IconFC } from '../../internal/functional-components/icon/component';\nimport { TooltipFC } from '../../internal/functional-components/tooltip/component';\nimport { TooltipController } from '../../internal/functional-components/tooltip/controller';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tAriaExpandedPropType,\n\tAriaOwnsPropType,\n\tCustomClassPropType,\n\tDisabledPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHrefPropType,\n\tInlinePropType,\n\tInternalLinkAPI,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkStates,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport {\n\tdevHint,\n\tsetEventTarget,\n\tshowExpertSlot,\n\tvalidateAccessKey,\n\tvalidateAlternativeButtonLinkRole,\n\tvalidateAriaControls,\n\tvalidateAriaCurrentValue,\n\tvalidateAriaDescription,\n\tvalidateAriaExpanded,\n\tvalidateAriaOwns,\n\tvalidateCustomClass,\n\tvalidateDisabled,\n\tvalidateDownload,\n\tvalidateHideLabel,\n\tvalidateHref,\n\tvalidateIcons,\n\tvalidateInline,\n\tvalidateLabelWithExpertSlot,\n\tvalidateLinkCallbacks,\n\tvalidateLinkTarget,\n\tvalidateShortKey,\n\tvalidateTooltipAlign,\n\tvalidateVariantClassName,\n} from '../../schema';\nimport { validateTabIndex } from '../../schema/props/tab-index';\nimport { setClick } from '../../utils/element-click';\nimport { setFocus } from '../../utils/element-focus';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport type { UnsubscribeFunction } from './ariaCurrentService';\nimport { onLocationChange } from './ariaCurrentService';\n\nimport { translate } from '../../i18n';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport clsx from '../../utils/clsx';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-link-wc',\n\tshadow: false,\n})\nexport class KolLinkWc implements InternalLinkAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolLinkElement;\n\n\tprivate anchorRef?: HTMLAnchorElement;\n\tprivate readonly tooltipCtrl = new TooltipController(BaseWebComponent.stateLess);\n\tprivate unsubscribeOnLocationChange?: UnsubscribeFunction;\n\n\tprivate readonly translateOpenLinkInTab = translate('kol-open-link-in-tab');\n\n\tprivate readonly setAnchorRef = (ref?: HTMLAnchorElement) => {\n\t\tthis.anchorRef = ref;\n\t};\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.anchorRef!);\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.anchorRef!);\n\t}\n\n\tprivate readonly onClick = (event: Event) => {\n\t\tthis.tooltipCtrl.hideTooltip();\n\n\t\tif (this.state._disabled === true) {\n\t\t\tevent.preventDefault();\n\t\t} else {\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.anchorRef);\n\t\t\t\tthis.state._on?.onClick(event, this.state._href);\n\t\t\t}\n\t\t\tif (this.host) {\n\t\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.state._href);\n\t\t\t}\n\t\t}\n\t};\n\n\tprivate readonly getRenderValues = () => {\n\t\t/**\n\t\t * DX\n\t\t * Das möchte ich ungern für HTML machen, sondern nur für Barrierefreiheitsthemen.\n\t\t */\n\t\t// if (typeof this.state._href === 'string' && this.state._href.length > 0) {\n\t\t// console.error('Setz den URL.');\n\t\t// throw new Error('Setz den URL.');\n\t\t// }\n\n\t\t// switch (this.state._target) {\n\t\t// case '_blank':\n\t\t// case '_self':\n\t\t// break;\n\t\t// default:\n\t\t// console.error('Fehlerhaftes Target.');\n\t\t// throw new Error('Fehlerhaftes Target.');\n\t\t// }\n\n\t\t// ROBUSTHEIT durch Validierung\n\t\tconst isExternal = typeof this.state._target === 'string' && this.state._target !== '_self';\n\n\t\tconst tagAttrs = {\n\t\t\thref: typeof this.state._href === 'string' && this.state._href.length > 0 ? this.state._href : 'javascript:void(0);',\n\t\t\ttarget: typeof this.state._target === 'string' && this.state._target.length > 0 ? this.state._target : undefined,\n\t\t\trel: isExternal ? 'noopener' : undefined,\n\t\t\tdownload: typeof this.state._download === 'string' ? this.state._download : undefined,\n\t\t};\n\n\t\tif (this.state._hideLabel === true && !this.state._label) {\n\t\t\tdevHint(`[KolLink] An aria-label must be set when _hide-label is set.`);\n\t\t}\n\t\treturn { isExternal, tagAttrs };\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tconst { isExternal, tagAttrs } = this.getRenderValues();\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\t\tconst ariaDescription = this.state._ariaDescription?.trim();\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<a\n\t\t\t\t\tref={this.setAnchorRef}\n\t\t\t\t\t{...tagAttrs}\n\t\t\t\t\taccessKey={this.state._accessKey}\n\t\t\t\t\taria-current={this.state._ariaCurrent}\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-disabled={this.state._disabled ? 'true' : undefined}\n\t\t\t\t\taria-expanded={typeof this.state._ariaExpanded === 'boolean' ? String(this.state._ariaExpanded) : undefined}\n\t\t\t\t\taria-owns={this.state._ariaOwns}\n\t\t\t\t\taria-label={\n\t\t\t\t\t\tthis.state._hideLabel && typeof this.state._label === 'string'\n\t\t\t\t\t\t\t? `${this.state._label}${isExternal ? ` (${this.translateOpenLinkInTab})` : ''}`\n\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t}\n\t\t\t\t\taria-keyshortcuts={this.state._shortKey}\n\t\t\t\t\tclass={clsx('kol-link', {\n\t\t\t\t\t\t'kol-link--disabled': this.state._disabled === true,\n\t\t\t\t\t\t'kol-link--external-link': isExternal,\n\t\t\t\t\t\t'kol-link--hide-label': this.state._hideLabel === true,\n\t\t\t\t\t\t[`kol-link--${this.state._variant as string}`]: this.state._variant !== undefined,\n\t\t\t\t\t\t'kol-link--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-link--standalone': this.state._inline === false,\n\t\t\t\t\t\t[this.state._customClass as string]:\n\t\t\t\t\t\t\tthis.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,\n\t\t\t\t\t})}\n\t\t\t\t\t{...this.state._on}\n\t\t\t\t\t// https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/click-events-have-key-events.md\n\t\t\t\t\tonClick={this.onClick}\n\t\t\t\t\tonKeyPress={this.onClick}\n\t\t\t\t\trole={this.state._role}\n\t\t\t\t\ttabIndex={this.state._disabled ? -1 : this.state._tabIndex}\n\t\t\t\t>\n\t\t\t\t\t<SpanFC\n\t\t\t\t\t\tclass=\"kol-link__text\"\n\t\t\t\t\t\tbadgeText={this.state._accessKey || this.state._shortKey}\n\t\t\t\t\t\ticons={this.state._icons}\n\t\t\t\t\t\thideLabel={this.state._hideLabel}\n\t\t\t\t\t\tlabel={hasExpertSlot ? '' : this.state._label || this.state._href}\n\t\t\t\t\t>\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\t{isExternal && (\n\t\t\t\t\t\t<IconFC\n\t\t\t\t\t\t\tclass=\"kol-link__icon\"\n\t\t\t\t\t\t\tlabel={this.state._hideLabel ? '' : this.translateOpenLinkInTab}\n\t\t\t\t\t\t\ticons={'kolicon-link-external'}\n\t\t\t\t\t\t\taria-hidden={this.state._hideLabel}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</a>\n\t\t\t\t{this.state._hideLabel === true && !hasExpertSlot && (\n\t\t\t\t\t<div class=\"kol-link__tooltip\">\n\t\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\t\tbadgeText={this.state._accessKey || this.state._shortKey || ''}\n\t\t\t\t\t\t\tlabel={typeof this.state._label === 'string' ? this.state._label : typeof this.state._href === 'string' ? this.state._href : ''}\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\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 the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\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 * Marks this element as open/expanded, or that the connected element (aria-controls/aria-owns) is open/expanded.\n\t * @TODO: Change type to `AriaExpandedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines the contextual relationship between a parent and its child elements.\n\t */\n\t@Prop() public _ariaOwns?: AriaOwnsPropType;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\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 * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\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 = true;\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 callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\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 * 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 open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\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 = 'right';\n\n\t/**\n\t * Defines which button variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: LinkStates = {\n\t\t_ariaCurrentValue: 'page',\n\t\t_href: '', // ⚠ required\n\t\t_icons: {},\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('_ariaCurrentValue')\n\tpublic validateAriaCurrentValue(value?: AriaCurrentValuePropType): void {\n\t\tvalidateAriaCurrentValue(this, value);\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('_ariaOwns')\n\tpublic validateAriaOwns(value?: AriaOwnsPropType): void {\n\t\tvalidateAriaOwns(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('_download')\n\tpublic validateDownload(value?: DownloadPropType): void {\n\t\tvalidateDownload(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('_href')\n\tpublic validateHref(value?: string): void {\n\t\tvalidateHref(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: KoliBriIconsProp): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: true,\n\t\t});\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this, value);\n\t\tthis.tooltipCtrl.watchLabel(typeof value === 'string' ? value : undefined);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: LinkOnCallbacksPropType): void {\n\t\tvalidateLinkCallbacks(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('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this, value);\n\t}\n\n\t@Watch('_target')\n\tpublic validateTarget(value?: LinkTargetPropType): void {\n\t\tvalidateLinkTarget(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('_variant')\n\tpublic validateVariantClassName(value?: VariantClassNamePropType): void {\n\t\tvalidateVariantClassName(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAccessKey(this._accessKey);\n\t\tthis.validateAriaCurrentValue(this._ariaCurrentValue);\n\t\tthis.validateAriaControls(this._ariaControls);\n\t\tthis.validateAriaDescription(this._ariaDescription);\n\t\tthis.validateAriaExpanded(this._ariaExpanded);\n\t\tthis.validateAriaOwns(this._ariaOwns);\n\t\tthis.validateCustomClass(this._customClass);\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateDownload(this._download);\n\t\tthis.validateHideLabel(this._hideLabel);\n\t\tthis.validateHref(this._href);\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateInline(this._inline);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateRole(this._role);\n\t\tthis.validateShortKey(this._shortKey);\n\t\tthis.validateTabIndex(this._tabIndex);\n\t\tthis.validateTarget(this._target);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t\tthis.validateVariantClassName(this._variant);\n\t\tthis.unsubscribeOnLocationChange = onLocationChange((location) => {\n\t\t\tthis.state._ariaCurrent = location === this.state._href ? this.state._ariaCurrentValue : undefined;\n\t\t});\n\t\tvalidateAccessAndShortKey(this._accessKey, this._shortKey);\n\t\tthis.tooltipCtrl.componentWillLoad({\n\t\t\tlabel: typeof this.state._label === 'string' ? this.state._label : typeof this.state._href === 'string' ? this.state._href : '',\n\t\t\talign: this._tooltipAlign,\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tif (this.anchorRef) {\n\t\t\tthis.tooltipCtrl.syncListeners(undefined, this.anchorRef, true);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tif (this.unsubscribeOnLocationChange) {\n\t\t\tthis.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4
- import{r as registerInstance,h,g as getElement}from"./index-t9mjSqi3.js";import{d as KolLinkWcTag}from"./component-names-C64MXeC1.js";import{d as delegateFocus,s as setFocus}from"./element-focus-y2O-Z32P.js";import"./common-BIkdAxr0.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=1774621104972"); /* IE9*/\n src: url("kolicons.eot?t=1774621104972#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774621104972") format("woff2"), url("kolicons.woff?t=1774621104972") format("woff"), url("kolicons.ttf?t=1774621104972") format("truetype"), url("kolicons.svg?t=1774621104972#kolicons") format("svg"); /* iOS 4.1- */\n}\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\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\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}',KolLink=class{constructor(n){registerInstance(this,n),this.setLinkWcRef=n=>{this.linkWcRef=n},this._disabled=!1,this._hideLabel=!1,this._inline=!0,this._tooltipAlign="right"}async focus(){return delegateFocus(this.host,()=>setFocus(this.linkWcRef))}render(){return h(KolLinkWcTag,{key:"f955293a4cd9a6a6be1cbb77500e9e86d2e99633",ref:this.setLinkWcRef,_accessKey:this._accessKey,_ariaCurrentValue:this._ariaCurrentValue,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_disabled:this._disabled,_download:this._download,_hideLabel:this._hideLabel,_href:this._href,_icons:this._icons,_inline:this._inline,_label:this._label,_on:this._on,_shortKey:this._shortKey,_target:this._target,_tooltipAlign:this._tooltipAlign,_variant:this._variant},h("slot",{key:"8dac2761cc9489b611a1ba887b56fd235b91c125",name:"expert",slot:"expert"}))}get host(){return getElement(this)}};KolLink.style={default:defaultStyleCss};export{KolLink as kol_link};
4
+ import{r as registerInstance,h,g as getElement}from"./index-C8rYknb2.js";import{c as KolLinkWcTag}from"./component-names-Dy77vq43.js";import{d as delegateFocus,s as setFocus}from"./element-focus-BKUtVrWY.js";import"./common-BqV6Zb30.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-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}',KolLink=class{constructor(n){registerInstance(this,n),this.setLinkWcRef=n=>{this.linkWcRef=n},this._disabled=!1,this._hideLabel=!1,this._inline=!0,this._tooltipAlign="right"}async focus(){return delegateFocus(this.host,()=>setFocus(this.linkWcRef))}render(){return h(KolLinkWcTag,{key:"a84c912c91fc39f4320c7ba68fd7a599c3ae5fed",ref:this.setLinkWcRef,_accessKey:this._accessKey,_ariaCurrentValue:this._ariaCurrentValue,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_disabled:this._disabled,_download:this._download,_hideLabel:this._hideLabel,_href:this._href,_icons:this._icons,_inline:this._inline,_label:this._label,_on:this._on,_shortKey:this._shortKey,_target:this._target,_tooltipAlign:this._tooltipAlign,_variant:this._variant},h("slot",{key:"3205b3329eb375e281908c1f3f8b5e3d739ceeb7",name:"expert",slot:"expert"}))}get host(){return getElement(this)}};KolLink.style={default:defaultStyleCss};export{KolLink as kol_link};
@@ -1 +1 @@
1
- {"version":3,"file":"kol-link.entry.js","sources":["src/components/link/style.scss?tag=kol-link&mode=default&encapsulation=shadow","src/components/link/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../@shared/link.mixin' as *;\n\n@layer kol-component {\n\t@include kol-link-styles('kol-link');\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tInlinePropType,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkProps,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { delegateFocus, setFocus } from '../../utils/element-focus';\n\n@Component({\n\ttag: 'kol-link',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolLink implements LinkProps, FocusableElement {\n\t@Element() private readonly host?: HTMLKolLinkElement;\n\tprivate linkWcRef?: HTMLKolLinkWcElement;\n\n\tprivate readonly setLinkWcRef = (ref?: HTMLKolLinkWcElement) => {\n\t\tthis.linkWcRef = ref;\n\t};\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 delegateFocus(this.host!, () => setFocus(this.linkWcRef!));\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.setLinkWcRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t{/*\n\t\t\t\t\t\tEs ist keine gute Idee hier einen Slot einzufügen, da dadurch ermöglicht wird,\n\t\t\t\t\t\tdie Unterstützung hinsichtlich der Barrierefreiheit der Komponente zu umgehen.\n\t\t\t\t\t*/}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\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 * @TODO: Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\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 * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\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 = true;\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 callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\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 = 'right';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"],"names":[],"mappings":";;;;;;;;AAAA,MAAM,eAAe,GAAG,ypUAAypU;;MC+BpqU,OAAO,GAAA,MAAA;AAPpB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAWkB,QAAA,IAAA,CAAA,YAAY,GAAG,CAAC,GAA0B,KAAI;AAC9D,YAAA,IAAI,CAAC,SAAS,GAAG,GAAG;AACrB,SAAC;AAsEc,QAAA,IAAS,CAAA,SAAA,GAAa,KAAK;AAY3B,QAAA,IAAU,CAAA,UAAA,GAAa,KAAK;AAe5B,QAAA,IAAO,CAAA,OAAA,GAAoB,IAAI;AAgC/B,QAAA,IAAa,CAAA,aAAA,GAA0B,OAAO;AAM7D;AAjIO,IAAA,MAAM,KAAK,GAAA;AACjB,QAAA,OAAO,aAAa,CAAC,IAAI,CAAC,IAAK,EAAE,MAAM,QAAQ,CAAC,IAAI,CAAC,SAAU,CAAC,CAAC;;IAG3D,MAAM,GAAA;AACZ,QAAA,QACC,CAAC,CAAA,YAAY,EACZ,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,IAAI,CAAC,YAAY,EACtB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAMvB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAA,CAAQ,CAC3B;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-link.entry.js","sources":["src/components/link/style.scss?tag=kol-link&mode=default&encapsulation=shadow","src/components/link/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../@shared/link.mixin' as *;\n\n@layer kol-component {\n\t@include kol-link-styles('kol-link');\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tInlinePropType,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkProps,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { delegateFocus, setFocus } from '../../utils/element-focus';\n\n@Component({\n\ttag: 'kol-link',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolLink implements LinkProps, FocusableElement {\n\t@Element() private readonly host?: HTMLKolLinkElement;\n\tprivate linkWcRef?: HTMLKolLinkWcElement;\n\n\tprivate readonly setLinkWcRef = (ref?: HTMLKolLinkWcElement) => {\n\t\tthis.linkWcRef = ref;\n\t};\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 delegateFocus(this.host!, () => setFocus(this.linkWcRef!));\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.setLinkWcRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t{/*\n\t\t\t\t\t\tEs ist keine gute Idee hier einen Slot einzufügen, da dadurch ermöglicht wird,\n\t\t\t\t\t\tdie Unterstützung hinsichtlich der Barrierefreiheit der Komponente zu umgehen.\n\t\t\t\t\t*/}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\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 * @TODO: Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\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 * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\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 * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\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 = true;\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 callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\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 = 'right';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"],"names":[],"mappings":";;;;;;;;AAAA,MAAM,eAAe,GAAG,8yUAA8yU;;MC+BzzU,OAAO,GAAA,MAAA;AAPpB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAWkB,QAAA,IAAA,CAAA,YAAY,GAAG,CAAC,GAA0B,KAAI;AAC9D,YAAA,IAAI,CAAC,SAAS,GAAG,GAAG;AACrB,SAAC;AAsEc,QAAA,IAAS,CAAA,SAAA,GAAa,KAAK;AAY3B,QAAA,IAAU,CAAA,UAAA,GAAa,KAAK;AAe5B,QAAA,IAAO,CAAA,OAAA,GAAoB,IAAI;AAgC/B,QAAA,IAAa,CAAA,aAAA,GAA0B,OAAO;AAM7D;AAjIO,IAAA,MAAM,KAAK,GAAA;AACjB,QAAA,OAAO,aAAa,CAAC,IAAI,CAAC,IAAK,EAAE,MAAM,QAAQ,CAAC,IAAI,CAAC,SAAU,CAAC,CAAC;;IAG3D,MAAM,GAAA;AACZ,QAAA,QACC,CAAC,CAAA,YAAY,EACZ,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,IAAI,CAAC,YAAY,EACtB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAMvB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAA,CAAQ,CAC3B;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h,r as registerInstance,H as Host}from"./index-C8rYknb2.js";import{B as BaseWebComponent}from"./variant-quote-CHD0qMkY.js";import{t as translate}from"./i18n-BVaUp6qp.js";import"./common-BqV6Zb30.js";import{c as createPropDefinition,d as normalizeNumber,n as normalizeString}from"./normalizers-DnkJhVYZ.js";import{l as labelProp}from"./label-BEOW9ltS.js";import{m as maxProp,u as unitProp}from"./unit-eRQuaHYy.js";import{B as BaseController}from"./base-controller-CXhqh4cR.js";import"./i18n-B2d_exHc.js";import"./_Uint8Array-kJHDjtoP.js";import"./isArray-CcrBs4JM.js";const highProp=createPropDefinition("high",0,normalizeNumber),lowProp=createPropDefinition("low",0,normalizeNumber),minProp=createPropDefinition("min",0,normalizeNumber),optimumProp=createPropDefinition("optimum",0,normalizeNumber),orientationOptions=["horizontal","vertical"],orientationProp=createPropDefinition("orientation","horizontal",e=>{const t=normalizeString(e);if(orientationOptions.includes(t))return t;throw new Error(`Invalid orientation: ${t}`)}),numberValueProp=createPropDefinition("value",0,normalizeNumber,e=>e>=0);function getMeterState(e,t,n,i,r,o){const a=null!=i?i:t,l=null!=r?r:n;if(void 0===o){return e>=a&&e<=l?"optimum":"suboptimal"}const s=e<a,h=e>l,c=!s&&!h;return o<a?s?"optimum":c?"suboptimal":"critical":o>l?h?"optimum":c?"suboptimal":"critical":c?"optimum":"suboptimal"}const MeterFC=e=>{const{high:t,label:n,low:i,liveValue:r,max:o,min:a,optimum:l,orientation:s,unit:c,value:m}=e,d="vertical"===s,p="%"===c,u=p?Math.round((m-a)/(o-a)*100):m,b=p?`${Math.round((r-a)/(o-a)*100)}`:r,f=`${`${(p?100:o)+1}`.length}ch`,g=Math.min(100,Math.max(0,(m-a)/(o-a)*100)),w=getMeterState(m,a,o,i,t,l),k=void 0!==i||void 0!==t,v=k?translate(`kol-meter-state-${w}`):"",_=p?translate("kol-live-value",{placeholders:{value:String(b),unit:c}}):translate("kol-live-value-bounded",{placeholders:{value:String(b),max:String(o),unit:c}}),y=k?`${_} – ${v}`:_,x={"kol-meter__bar-fill":!0,"kol-meter__bar-fill--optimum":"optimum"===w,"kol-meter__bar-fill--suboptimal":"suboptimal"===w,"kol-meter__bar-fill--critical":"critical"===w};return h("div",{class:{"kol-meter":!0,"kol-meter--vertical":d}},h("div",{"aria-hidden":"true",class:"kol-meter__bar"},h("div",{class:"kol-meter__bar-label"},n,k&&h("span",{class:`kol-meter__bar-state kol-meter__bar-state--${w}`}," – ",v)),d?h("div",{class:"kol-meter__bar-track"},h("div",{class:x,style:{height:`calc((100% - 6px) * ${g/100})`}})):h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"12",overflow:"visible"},h("rect",{class:"kol-meter__bar-background",x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100%"}),h("rect",{class:"kol-meter__bar-border",x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100%"}),h("rect",{class:x,x:"3",y:"3",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",style:{width:`calc(${g}% - 4px)`}})),h("span",{class:"kol-meter__value-unit"},h("span",{class:"kol-meter__value",style:d?{}:{width:f}},u)," ",h("span",{class:"kol-meter__unit"},c))),h("meter",{"aria-label":n,class:"visually-hidden",high:t,low:i,max:o,min:a,optimum:l,value:m}),h("span",{"aria-live":"polite","aria-relevant":"additions text",class:"visually-hidden"},y))},meterPropsConfig={optional:[minProp,orientationProp,unitProp],required:[labelProp,maxProp,numberValueProp]};class MeterController extends BaseController{constructor(e){super(e,meterPropsConfig),this.meterData={high:void 0,low:void 0,optimum:void 0}}componentWillLoad(e){const{high:t,label:n,low:i,max:r,min:o,optimum:a,orientation:l,unit:s,value:h}=e;this.watchHigh(t),this.watchLabel(n),this.watchLow(i),this.watchMax(r),this.watchMin(o),this.watchOptimum(a),this.watchOrientation(l),this.watchUnit(s),this.watchValue(h),this.setState("liveValue",this.getRenderProp("value")),this.startLiveValueInterval()}destroy(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}getMeterData(){return this.meterData}watchHigh(e){void 0===e?this.meterData.high=void 0:highProp.apply(e,e=>{this.meterData.high=e})}watchLabel(e){labelProp.apply(e,e=>{this.setRenderProp("label",e)})}watchLow(e){void 0===e?this.meterData.low=void 0:lowProp.apply(e,e=>{this.meterData.low=e})}watchMax(e){maxProp.apply(e,e=>{this.setRenderProp("max",e)})}watchMin(e){minProp.apply(e,e=>{this.setRenderProp("min",e)})}watchOptimum(e){void 0===e?this.meterData.optimum=void 0:optimumProp.apply(e,e=>{this.meterData.optimum=e})}watchOrientation(e){orientationProp.apply(e,e=>{this.setRenderProp("orientation",e)})}watchUnit(e){unitProp.apply(e,e=>{this.setRenderProp("unit",e)})}watchValue(e){numberValueProp.apply(e,e=>{this.setRenderProp("value",e)})}startLiveValueInterval(){this.interval=setInterval(()=>{const e=this.getRenderProp("value");this.getState("liveValue")!==e&&this.setState("liveValue",e)},5e3)}}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@layer kol-component {\n .kol-meter__bar {\n display: grid;\n column-gap: calc(0.8 * 1rem / var(--kolibri-root-font-size, 16));\n align-items: center;\n grid-template-areas: \"LABEL LABEL LABEL\" \"BAR VALUE UNIT\";\n grid-template-columns: 1fr auto;\n }\n .kol-meter__bar-label {\n grid-column-end: 2;\n grid-area: LABEL;\n }\n .kol-meter__bar svg {\n grid-area: BAR;\n }\n .kol-meter__bar-border {\n fill: transparent;\n stroke: black;\n }\n .kol-meter__bar-background {\n fill: lightgray;\n stroke: white;\n }\n .kol-meter__bar-fill {\n stroke: transparent;\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-meter__bar-fill {\n transition: 250ms ease-in-out 50ms;\n }\n }\n .kol-meter__bar-fill--optimum {\n color: #2ea32e;\n color: #2ea32e;\n fill: #2ea32e;\n }\n .kol-meter__bar-fill--suboptimal {\n color: #c8a000;\n color: #c8a000;\n fill: #c8a000;\n }\n .kol-meter__bar-fill--critical {\n color: #c00;\n color: #c00;\n fill: #c00;\n }\n .kol-meter__value-unit {\n display: contents;\n }\n .kol-meter__value {\n grid-area: VALUE;\n text-align: right;\n }\n .kol-meter__unit {\n grid-area: UNIT;\n }\n .kol-meter--vertical {\n display: inline-flex;\n }\n .kol-meter--vertical .kol-meter__bar {\n display: flex;\n min-height: var(--kol-meter-height, calc(128 * 1rem / var(--kolibri-root-font-size, 16)));\n row-gap: calc(4 * 1rem / var(--kolibri-root-font-size, 16));\n flex-direction: column;\n align-items: center;\n }\n .kol-meter--vertical .kol-meter__bar-label {\n text-align: center;\n }\n .kol-meter--vertical .kol-meter__bar-track {\n background: lightgray;\n outline: calc(1 * 1rem / var(--kolibri-root-font-size, 16)) solid black;\n border-radius: calc(6 * 1rem / var(--kolibri-root-font-size, 16));\n position: relative;\n width: calc(12 * 1rem / var(--kolibri-root-font-size, 16));\n min-height: 0;\n overflow: hidden;\n flex: 1;\n }\n .kol-meter--vertical .kol-meter__bar-fill {\n background: currentColor;\n border-radius: calc(3 * 1rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n right: calc(3 * 1rem / var(--kolibri-root-font-size, 16));\n bottom: calc(3 * 1rem / var(--kolibri-root-font-size, 16));\n left: calc(3 * 1rem / var(--kolibri-root-font-size, 16));\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-meter--vertical .kol-meter__bar-fill {\n transition: height 250ms ease-in-out 50ms;\n }\n }\n .kol-meter--vertical .kol-meter__value-unit {\n display: contents;\n }\n .kol-meter--vertical .kol-meter__value {\n width: auto;\n text-align: center;\n }\n .kol-meter--vertical .kol-meter__unit {\n text-align: center;\n }\n}",KolMeter=class extends BaseWebComponent{constructor(e){super(),registerInstance(this,e),this.ctrl=new MeterController(this.stateAccess),this._orientation="horizontal",this._unit="%",this.liveValue=0}watchHigh(e){this.ctrl.watchHigh(e)}watchLabel(e){this.ctrl.watchLabel(e)}watchLow(e){this.ctrl.watchLow(e)}watchMax(e){this.ctrl.watchMax(e)}watchMin(e){this.ctrl.watchMin(e)}watchOptimum(e){this.ctrl.watchOptimum(e)}watchOrientation(e){this.ctrl.watchOrientation(e)}watchUnit(e){this.ctrl.watchUnit(e)}watchValue(e){this.ctrl.watchValue(e)}componentWillLoad(){this.ctrl.componentWillLoad({high:this._high,label:this._label,low:this._low,max:this._max,min:this._min,optimum:this._optimum,orientation:this._orientation,unit:this._unit,value:this._value})}disconnectedCallback(){this.ctrl.destroy()}render(){const{high:e,low:t,optimum:n}=this.ctrl.getMeterData();return h(Host,{key:"d84a0464ee8f975df788de58561ab2eb922c68e3"},h(MeterFC,{key:"e7cb9ee6a916b8afc538aa4acadae51bca50f57f",high:e,label:this.ctrl.getRenderProp("label"),low:t,liveValue:this.liveValue,max:this.ctrl.getRenderProp("max"),min:this.ctrl.getRenderProp("min"),optimum:n,orientation:this.ctrl.getRenderProp("orientation"),unit:this.ctrl.getRenderProp("unit"),value:this.ctrl.getRenderProp("value")}))}static get watchers(){return{_high:["watchHigh"],_label:["watchLabel"],_low:["watchLow"],_max:["watchMax"],_min:["watchMin"],_optimum:["watchOptimum"],_orientation:["watchOrientation"],_unit:["watchUnit"],_value:["watchValue"]}}};KolMeter.style={default:defaultStyleCss};export{KolMeter as kol_meter};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kol-meter.entry.js","sources":["src/internal/props/high.ts","src/internal/props/low.ts","src/internal/props/min.ts","src/internal/props/optimum.ts","src/internal/props/orientation.ts","src/internal/props/value-number.ts","src/internal/functional-components/meter/component.tsx","src/internal/functional-components/meter/api.tsx","src/internal/functional-components/meter/controller.ts","src/components/meter/style.scss?tag=kol-meter&mode=default&encapsulation=shadow","src/components/meter/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeNumber } from './helpers/normalizers';\n\nexport type HighProp = SimpleProp<'high', number>;\nexport const highProp = createPropDefinition<HighProp>('high', 0, normalizeNumber);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeNumber } from './helpers/normalizers';\n\nexport type LowProp = SimpleProp<'low', number>;\nexport const lowProp = createPropDefinition<LowProp>('low', 0, normalizeNumber);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeNumber } from './helpers/normalizers';\n\nexport type MinProp = SimpleProp<'min', number>;\nexport const minProp = createPropDefinition<MinProp>('min', 0, normalizeNumber);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeNumber } from './helpers/normalizers';\n\nexport type OptimumProp = SimpleProp<'optimum', number>;\nexport const optimumProp = createPropDefinition<OptimumProp>('optimum', 0, normalizeNumber);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport const orientationOptions = ['horizontal', 'vertical'] as const;\nexport type OrientationPropType = (typeof orientationOptions)[number];\n\nexport type OrientationProp = SimpleProp<'orientation', OrientationPropType>;\nexport const orientationProp = createPropDefinition<OrientationProp>('orientation', 'horizontal', (value: unknown) => {\n\tconst str = normalizeString(value);\n\tif (orientationOptions.includes(str as OrientationPropType)) {\n\t\treturn str as OrientationPropType;\n\t}\n\tthrow new Error(`Invalid orientation: ${str}`);\n});\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeNumber } from './helpers/normalizers';\n\n/**\n * Value prop for numeric progress or meter values\n *\n * Description:\n * Represents the current numeric value of a progress indicator or meter. The value must be\n * a non-negative number and is used together with max to calculate the completion percentage.\n *\n * Usage (according to W3C HTML specification and WAI-ARIA):\n * - Must be a number ≥ 0\n * - Corresponds to the HTML <progress> element's value attribute\n * - Maps to aria-valuenow in WAI-ARIA for assistive technology communication\n * - Screen readers announce the current value as part of the progress status\n *\n * Accessibility:\n * - The value must be programmatically determinable (WCAG 1.3.1 Info and Relationships)\n * - Dynamic value changes should be announced to screen readers (WCAG 4.1.3 Status Messages)\n * - Use aria-valuetext for human-readable progress descriptions when the numeric value alone is insufficient\n *\n * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-progress-value\n * @see https://www.w3.org/TR/wai-aria-1.2/#aria-valuenow\n * @see https://www.w3.org/WAI/WCAG21/Understanding/status-messages.html\n */\nexport type NumberValueProp = SimpleProp<'value', number>;\nexport const numberValueProp = createPropDefinition<NumberValueProp>('value', 0, normalizeNumber, (v) => v >= 0);\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport type { TranslationKey } from '../../../i18n';\nimport { translate } from '../../../i18n';\n\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { MeterApi } from './api';\n\ntype MeterState = 'optimum' | 'suboptimal' | 'critical';\n\nfunction getMeterState(value: number, min: number, max: number, low: number | undefined, high: number | undefined, optimum: number | undefined): MeterState {\n\tconst effectiveLow = low ?? min;\n\tconst effectiveHigh = high ?? max;\n\n\tif (optimum === undefined) {\n\t\tconst inMidRegion = value >= effectiveLow && value <= effectiveHigh;\n\t\treturn inMidRegion ? 'optimum' : 'suboptimal';\n\t}\n\n\tconst inLowRegion = value < effectiveLow;\n\tconst inHighRegion = value > effectiveHigh;\n\tconst inMidRegion = !inLowRegion && !inHighRegion;\n\n\tconst optimumInLow = optimum < effectiveLow;\n\tconst optimumInHigh = optimum > effectiveHigh;\n\n\tif (optimumInLow) {\n\t\tif (inLowRegion) return 'optimum';\n\t\tif (inMidRegion) return 'suboptimal';\n\t\treturn 'critical';\n\t} else if (optimumInHigh) {\n\t\tif (inHighRegion) return 'optimum';\n\t\tif (inMidRegion) return 'suboptimal';\n\t\treturn 'critical';\n\t} else {\n\t\tif (inMidRegion) return 'optimum';\n\t\treturn 'suboptimal';\n\t}\n}\n\ntype MeterFCProps = Omit<FunctionalComponentProps<MeterApi>, 'high' | 'low' | 'optimum'> & {\n\thigh: number | undefined;\n\tlow: number | undefined;\n\toptimum: number | undefined;\n};\n\nexport const MeterFC: FC<MeterFCProps> = (props) => {\n\tconst { high, label, low, liveValue, max, min, optimum, orientation, unit, value } = props;\n\n\tconst isVertical = orientation === 'vertical';\n\tconst isPercentage = unit === '%';\n\tconst displayValue = isPercentage ? Math.round(((value - min) / (max - min)) * 100) : value;\n\tconst liveMeterValue = isPercentage ? `${Math.round(((liveValue - min) / (max - min)) * 100)}` : liveValue;\n\tconst valueColumnWidth = `${`${(isPercentage ? 100 : max) + 1}`.length}ch`;\n\tconst fillPercentage = Math.min(100, Math.max(0, ((value - min) / (max - min)) * 100));\n\tconst state = getMeterState(value, min, max, low, high, optimum);\n\n\t// State classification is only meaningful when low or high boundaries are defined\n\tconst hasStateClassification = low !== undefined || high !== undefined;\n\tconst stateLabel = hasStateClassification ? translate(`kol-meter-state-${state}` as TranslationKey) : '';\n\n\tconst liveValueText = isPercentage\n\t\t? translate('kol-live-value', { placeholders: { value: String(liveMeterValue), unit } })\n\t\t: translate('kol-live-value-bounded', { placeholders: { value: String(liveMeterValue), max: String(max), unit } });\n\tconst liveValueWithState = hasStateClassification ? `${liveValueText} – ${stateLabel}` : liveValueText;\n\n\tconst fillClass = {\n\t\t'kol-meter__bar-fill': true,\n\t\t'kol-meter__bar-fill--optimum': state === 'optimum',\n\t\t'kol-meter__bar-fill--suboptimal': state === 'suboptimal',\n\t\t'kol-meter__bar-fill--critical': state === 'critical',\n\t};\n\n\treturn (\n\t\t<div class={{ 'kol-meter': true, 'kol-meter--vertical': isVertical }}>\n\t\t\t<div aria-hidden=\"true\" class=\"kol-meter__bar\">\n\t\t\t\t<div class=\"kol-meter__bar-label\">\n\t\t\t\t\t{label}\n\t\t\t\t\t{hasStateClassification && (\n\t\t\t\t\t\t<span class={`kol-meter__bar-state kol-meter__bar-state--${state}`}>\n\t\t\t\t\t\t\t{' – '}\n\t\t\t\t\t\t\t{stateLabel}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t{isVertical ? (\n\t\t\t\t\t<div class=\"kol-meter__bar-track\">\n\t\t\t\t\t\t<div class={fillClass} style={{ height: `calc((100% - 6px) * ${fillPercentage / 100})` }}></div>\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"12\" overflow=\"visible\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tclass=\"kol-meter__bar-background\"\n\t\t\t\t\t\t\tx=\"1\"\n\t\t\t\t\t\t\ty=\"1\"\n\t\t\t\t\t\t\theight=\"11\"\n\t\t\t\t\t\t\trx=\"5\"\n\t\t\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\t\tstroke-width=\"3\"\n\t\t\t\t\t\t\twidth=\"100%\"\n\t\t\t\t\t\t></rect>\n\t\t\t\t\t\t<rect class=\"kol-meter__bar-border\" x=\"1\" y=\"1\" height=\"11\" rx=\"5\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\" width=\"100%\"></rect>\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tclass={fillClass}\n\t\t\t\t\t\t\tx=\"3\"\n\t\t\t\t\t\t\ty=\"3\"\n\t\t\t\t\t\t\theight=\"7\"\n\t\t\t\t\t\t\trx=\"3.5\"\n\t\t\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\t\tstroke-width=\"3\"\n\t\t\t\t\t\t\tstyle={{ width: `calc(${fillPercentage}% - 4px)` }}\n\t\t\t\t\t\t></rect>\n\t\t\t\t\t</svg>\n\t\t\t\t)}\n\n\t\t\t\t<span class=\"kol-meter__value-unit\">\n\t\t\t\t\t<span class=\"kol-meter__value\" style={isVertical ? {} : { width: valueColumnWidth }}>\n\t\t\t\t\t\t{displayValue}\n\t\t\t\t\t</span>\n\t\t\t\t\t{'\\u00A0'}\n\t\t\t\t\t<span class=\"kol-meter__unit\">{unit}</span>\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t<meter aria-label={label} class=\"visually-hidden\" high={high} low={low} max={max} min={min} optimum={optimum} value={value}></meter>\n\t\t\t<span aria-live=\"polite\" aria-relevant=\"additions text\" class=\"visually-hidden\">\n\t\t\t\t{liveValueWithState}\n\t\t\t</span>\n\t\t</div>\n\t);\n};\n","import type { HighProp, LabelProp, LowProp, MaxProp, MinProp, NumberValueProp, OptimumProp, OrientationProp, UnitProp } from '../../props';\nimport { labelProp, maxProp, minProp, numberValueProp, orientationProp, unitProp } from '../../props';\nimport type { ComponentApi, PropsConfigShape } from '../generic-types';\n\n/**\n * Meter Props configuration for renderProps pipeline.\n *\n * Note: `high`, `low`, and `optimum` are intentionally omitted from this config.\n * These optional numeric props must remain nullable (undefined when not set),\n * but the renderProps pipeline enforces StrictFields (non-nullable).\n * Solution: these three props are managed separately in the Controller's `meterData` object\n * via the `getMeterData()` getter, allowing them to be undefined while the renderProps\n * pipeline handles required props.\n *\n * See MeterApi.Props.Optional for the complete prop interface.\n */\nexport const meterPropsConfig = {\n\toptional: [minProp, orientationProp, unitProp],\n\trequired: [labelProp, maxProp, numberValueProp],\n} as const satisfies PropsConfigShape;\n\nexport interface MeterApi extends ComponentApi {\n\tProps: {\n\t\tOptional: HighProp & LowProp & MinProp & OptimumProp & OrientationProp & UnitProp;\n\t\tRequired: LabelProp & MaxProp & NumberValueProp;\n\t};\n\tStates: {\n\t\tliveValue: number;\n\t};\n}\n","import { highProp, labelProp, lowProp, maxProp, minProp, numberValueProp, optimumProp, orientationProp, unitProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { MeterApi } from './api';\nimport { meterPropsConfig } from './api';\n\ntype MeterData = {\n\thigh: number | undefined;\n\tlow: number | undefined;\n\toptimum: number | undefined;\n};\n\nexport class MeterController extends BaseController<MeterApi> implements ControllerInterface<MeterApi> {\n\tprivate interval?: ReturnType<typeof setInterval>;\n\tprivate meterData: MeterData = { high: undefined, low: undefined, optimum: undefined };\n\n\tpublic constructor(stateAccess: StateAccess<MeterApi>) {\n\t\tsuper(stateAccess, meterPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<MeterApi>): void {\n\t\tconst { high, label, low, max, min, optimum, orientation, unit, value } = props;\n\t\tthis.watchHigh(high);\n\t\tthis.watchLabel(label);\n\t\tthis.watchLow(low);\n\t\tthis.watchMax(max);\n\t\tthis.watchMin(min);\n\t\tthis.watchOptimum(optimum);\n\t\tthis.watchOrientation(orientation);\n\t\tthis.watchUnit(unit);\n\t\tthis.watchValue(value);\n\n\t\tthis.setState('liveValue', this.getRenderProp('value'));\n\t\tthis.startLiveValueInterval();\n\t}\n\n\tpublic destroy(): void {\n\t\tif (this.interval) {\n\t\t\tclearInterval(this.interval);\n\t\t\tthis.interval = undefined;\n\t\t}\n\t}\n\n\tpublic getMeterData(): MeterData {\n\t\treturn this.meterData;\n\t}\n\n\tpublic watchHigh(value?: number): void {\n\t\tif (value === undefined) {\n\t\t\tthis.meterData.high = undefined;\n\t\t} else {\n\t\t\thighProp.apply(value, (v) => {\n\t\t\t\tthis.meterData.high = v;\n\t\t\t});\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});\n\t}\n\n\tpublic watchLow(value?: number): void {\n\t\tif (value === undefined) {\n\t\t\tthis.meterData.low = undefined;\n\t\t} else {\n\t\t\tlowProp.apply(value, (v) => {\n\t\t\t\tthis.meterData.low = v;\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic watchMax(value?: number): void {\n\t\tmaxProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('max', v);\n\t\t});\n\t}\n\n\tpublic watchMin(value?: number): void {\n\t\tminProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('min', v);\n\t\t});\n\t}\n\n\tpublic watchOptimum(value?: number): void {\n\t\tif (value === undefined) {\n\t\t\tthis.meterData.optimum = undefined;\n\t\t} else {\n\t\t\toptimumProp.apply(value, (v) => {\n\t\t\t\tthis.meterData.optimum = v;\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic watchOrientation(value?: string): void {\n\t\torientationProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('orientation', v);\n\t\t});\n\t}\n\n\tpublic watchUnit(value?: string): void {\n\t\tunitProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('unit', v);\n\t\t});\n\t}\n\n\tpublic watchValue(value?: number): void {\n\t\tnumberValueProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('value', v);\n\t\t});\n\t}\n\n\tprivate startLiveValueInterval(): void {\n\t\tthis.interval = setInterval(() => {\n\t\t\tconst value = this.getRenderProp('value');\n\t\t\tif (this.getState('liveValue') !== value) {\n\t\t\t\tthis.setState('liveValue', value);\n\t\t\t}\n\t\t}, 5000);\n\t}\n}\n","@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-meter {\n\t\t&__bar {\n\t\t\tdisplay: grid;\n\t\t\tcolumn-gap: to-rem(0.8);\n\t\t\talign-items: center;\n\t\t\tgrid-template-areas:\n\t\t\t\t'LABEL LABEL LABEL'\n\t\t\t\t'BAR VALUE UNIT';\n\t\t\tgrid-template-columns: 1fr auto;\n\n\t\t\t&-label {\n\t\t\t\tgrid-column-end: 2;\n\t\t\t\tgrid-area: LABEL;\n\t\t\t}\n\n\t\t\tsvg {\n\t\t\t\tgrid-area: BAR;\n\t\t\t}\n\n\t\t\t&-border {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: black;\n\t\t\t}\n\n\t\t\t&-background {\n\t\t\t\tfill: lightgray;\n\t\t\t\tstroke: white;\n\t\t\t}\n\n\t\t\t&-fill {\n\t\t\t\tstroke: transparent;\n\n\t\t\t\t@media (prefers-reduced-motion: no-preference) {\n\t\t\t\t\ttransition: 250ms ease-in-out 50ms;\n\t\t\t\t}\n\n\t\t\t\t&--optimum {\n\t\t\t\t\tcolor: #2ea32e;\n\t\t\t\t\tcolor: #2ea32e;\n\t\t\t\t\tfill: #2ea32e;\n\t\t\t\t}\n\n\t\t\t\t&--suboptimal {\n\t\t\t\t\tcolor: #c8a000;\n\t\t\t\t\tcolor: #c8a000;\n\t\t\t\t\tfill: #c8a000;\n\t\t\t\t}\n\n\t\t\t\t&--critical {\n\t\t\t\t\tcolor: #c00;\n\t\t\t\t\tcolor: #c00;\n\t\t\t\t\tfill: #c00;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&__value-unit {\n\t\t\tdisplay: contents;\n\t\t}\n\n\t\t&__value {\n\t\t\tgrid-area: VALUE;\n\t\t\ttext-align: right;\n\t\t}\n\n\t\t&__unit {\n\t\t\tgrid-area: UNIT;\n\t\t}\n\n\t\t&--vertical {\n\t\t\tdisplay: inline-flex;\n\n\t\t\t.kol-meter__bar {\n\t\t\t\tdisplay: flex;\n\t\t\t\tmin-height: var(--kol-meter-height, to-rem(128));\n\t\t\t\trow-gap: to-rem(4);\n\t\t\t\tflex-direction: column;\n\t\t\t\talign-items: center;\n\n\t\t\t\t&-label {\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\n\t\t\t\t&-track {\n\t\t\t\t\tbackground: lightgray;\n\t\t\t\t\toutline: to-rem(1) solid black;\n\t\t\t\t\tborder-radius: to-rem(6);\n\t\t\t\t\tposition: relative;\n\t\t\t\t\twidth: to-rem(12);\n\t\t\t\t\tmin-height: 0;\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t\tflex: 1;\n\t\t\t\t}\n\n\t\t\t\t&-fill {\n\t\t\t\t\tbackground: currentColor;\n\t\t\t\t\tborder-radius: to-rem(3);\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tright: to-rem(3);\n\t\t\t\t\tbottom: to-rem(3);\n\t\t\t\t\tleft: to-rem(3);\n\n\t\t\t\t\t@media (prefers-reduced-motion: no-preference) {\n\t\t\t\t\t\ttransition: height 250ms ease-in-out 50ms;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.kol-meter__value-unit {\n\t\t\t\tdisplay: contents;\n\t\t\t}\n\n\t\t\t.kol-meter__value {\n\t\t\t\twidth: auto;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\n\t\t\t.kol-meter__unit {\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { MeterApi } from '../../internal/functional-components/meter/api';\nimport { MeterFC } from '../../internal/functional-components/meter/component';\nimport { MeterController } from '../../internal/functional-components/meter/controller';\nimport type { OrientationPropType } from '../../internal/props';\n\n@Component({\n\ttag: 'kol-meter',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolMeter extends BaseWebComponent<MeterApi> implements WebComponentInterface<MeterApi> {\n\tprivate readonly ctrl = new MeterController(this.stateAccess);\n\n\t/**\n\t * Defines the upper boundary of the high range.\n\t */\n\t@Prop()\n\tpublic _high?: number;\n\n\t@Watch('_high')\n\tpublic watchHigh(value?: number): void {\n\t\tthis.ctrl.watchHigh(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 * Defines the lower boundary of the low range.\n\t */\n\t@Prop()\n\tpublic _low?: number;\n\n\t@Watch('_low')\n\tpublic watchLow(value?: number): void {\n\t\tthis.ctrl.watchLow(value);\n\t}\n\n\t/**\n\t * Defines the maximum value of the element.\n\t */\n\t@Prop()\n\tpublic _max!: number;\n\n\t@Watch('_max')\n\tpublic watchMax(value?: number): void {\n\t\tthis.ctrl.watchMax(value);\n\t}\n\n\t/**\n\t * Defines the minimum value of the element.\n\t */\n\t@Prop()\n\tpublic _min?: number;\n\n\t@Watch('_min')\n\tpublic watchMin(value?: number): void {\n\t\tthis.ctrl.watchMin(value);\n\t}\n\n\t/**\n\t * Defines the optimal value of the element.\n\t */\n\t@Prop()\n\tpublic _optimum?: number;\n\n\t@Watch('_optimum')\n\tpublic watchOptimum(value?: number): void {\n\t\tthis.ctrl.watchOptimum(value);\n\t}\n\n\t/**\n\t * Defines whether the meter bar is displayed horizontally or vertically.\n\t */\n\t@Prop()\n\tpublic _orientation: OrientationPropType = 'horizontal';\n\n\t@Watch('_orientation')\n\tpublic watchOrientation(value?: OrientationPropType): void {\n\t\tthis.ctrl.watchOrientation(value);\n\t}\n\n\t/**\n\t * Defines the unit of the step values (not shown).\n\t */\n\t@Prop()\n\tpublic _unit: string = '%';\n\n\t@Watch('_unit')\n\tpublic watchUnit(value?: string): void {\n\t\tthis.ctrl.watchUnit(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop()\n\tpublic _value!: number;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: number): void {\n\t\tthis.ctrl.watchValue(value);\n\t}\n\n\t@State()\n\tpublic liveValue: number = 0;\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\thigh: this._high,\n\t\t\tlabel: this._label,\n\t\t\tlow: this._low,\n\t\t\tmax: this._max,\n\t\t\tmin: this._min,\n\t\t\toptimum: this._optimum,\n\t\t\torientation: this._orientation,\n\t\t\tunit: this._unit,\n\t\t\tvalue: this._value,\n\t\t});\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.ctrl.destroy();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { high, low, optimum } = this.ctrl.getMeterData();\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<MeterFC\n\t\t\t\t\thigh={high}\n\t\t\t\t\tlabel={this.ctrl.getRenderProp('label')}\n\t\t\t\t\tlow={low}\n\t\t\t\t\tliveValue={this.liveValue}\n\t\t\t\t\tmax={this.ctrl.getRenderProp('max')}\n\t\t\t\t\tmin={this.ctrl.getRen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;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as registerInstance,h}from"./index-t9mjSqi3.js";import{f as KolDialogWcTag}from"./component-names-C64MXeC1.js";import"./common-BIkdAxr0.js";const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --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=1774621104972"); /* IE9*/\n src: url("kolicons.eot?t=1774621104972#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774621104972") format("woff2"), url("kolicons.woff?t=1774621104972") format("woff"), url("kolicons.ttf?t=1774621104972") format("truetype"), url("kolicons.svg?t=1774621104972#kolicons") format("svg"); /* iOS 4.1- */\n}\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\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\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.kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n\n.kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n.kol-card :host {\n display: inline-block;\n}\n.kol-card .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n}\n.kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n}\n.kol-card .kol-button__text {\n flex: 1 0 100%;\n}\n.kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: "header close" "content content";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n}\n.kol-card__header {\n align-self: start;\n grid-area: header;\n}\n.kol-card__content {\n align-self: stretch;\n grid-area: content;\n}\n.kol-card__close-button {\n grid-area: close;\n}\n\n@layer kol-component {\n .kol-dialog,\n .kol-modal {\n min-height: var(--a11y-min-size);\n padding: 0;\n border: 0;\n }\n .kol-dialog::backdrop,\n .kol-modal::backdrop {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .kol-dialog__close-button,\n .kol-modal__close-button {\n position: absolute;\n top: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n right: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n }\n}',KolModal=class{constructor(n){registerInstance(this,n),this.catchRef=n=>{this.dialogRef=n},this._width="100%",this._variant="blank"}async openModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.openModal())}async closeModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.closeModal())}render(){return h(KolDialogWcTag,{key:"a67eb09e039e0d4be4210007c894f713559731bc",ref:this.catchRef,_label:this._label,_on:this._on,_variant:this._variant,_width:this._width},h("slot",{key:"d5d178d907c3c0d20b5d97bb2e6e03e16277d7a9"}))}};KolModal.style={default:defaultStyleCss};export{KolModal as kol_modal};
4
+ import{r as registerInstance,h}from"./index-C8rYknb2.js";import{e as KolDialogWcTag}from"./component-names-Dy77vq43.js";import"./common-BqV6Zb30.js";const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --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.kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n\n.kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n.kol-card :host {\n display: inline-block;\n}\n.kol-card .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n}\n.kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n}\n.kol-card .kol-button__text {\n flex: 1 0 100%;\n}\n.kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: "header close" "content content";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n}\n.kol-card__header {\n align-self: start;\n grid-area: header;\n}\n.kol-card__content {\n align-self: stretch;\n grid-area: content;\n}\n.kol-card__close-button {\n grid-area: close;\n}\n\n@layer kol-component {\n .kol-dialog,\n .kol-modal {\n min-height: var(--a11y-min-size);\n padding: 0;\n border: 0;\n }\n .kol-dialog::backdrop,\n .kol-modal::backdrop {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .kol-dialog__close-button,\n .kol-modal__close-button {\n position: absolute;\n top: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n right: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n }\n}',KolModal=class{constructor(n){registerInstance(this,n),this.catchRef=n=>{this.dialogRef=n},this._width="100%",this._variant="blank"}async openModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.openModal())}async closeModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.closeModal())}render(){return h(KolDialogWcTag,{key:"75ab887117449d69f906a712cad107bc2ddb78b7",ref:this.catchRef,_label:this._label,_on:this._on,_variant:this._variant,_width:this._width},h("slot",{key:"b12b97e9b2b23717c36ede3feb8b7908806c0981"}))}};KolModal.style={default:defaultStyleCss};export{KolModal as kol_modal};
@@ -1 +1 @@
1
- {"version":3,"file":"kol-modal.entry.js","sources":["src/components/modal/style.scss?tag=kol-modal&mode=default&encapsulation=shadow","src/components/modal/shadow.tsx"],"sourcesContent":["@use '../dialog/style';\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Method, Prop } from '@stencil/core';\nimport { KolDialogWcTag } from '../../core/component-names';\nimport type { DialogProps, KoliBriDialogEventCallbacks, LabelPropType } from '../../schema';\nimport type { ModalVariantPropType } from '../../schema/props/variant/modal';\n\n/**\n * The **Modal** component has been superseded by `kol-dialog`, which provides improved accessibility and conforms to the HTML dialog specification. It is still available in version 2 for backwards compatibility.\n *\n * @deprecated Use `kol-dialog` instead.\n * @slot - The modal's contents.\n */\n@Component({\n\ttag: 'kol-modal',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolModal implements DialogProps {\n\tprivate dialogRef?: HTMLKolDialogWcElement;\n\n\tprivate readonly catchRef = (ref?: HTMLKolDialogWcElement) => {\n\t\tthis.dialogRef = ref;\n\t};\n\n\t/**\n\t * Opens the modal dialog.\n\t */\n\t@Method()\n\tpublic async openModal() {\n\t\tawait this.dialogRef?.openModal();\n\t}\n\n\t/**\n\t * Closes the modal dialog.\n\t */\n\t@Method()\n\tpublic async closeModal() {\n\t\tawait this.dialogRef?.closeModal();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolDialogWcTag ref={this.catchRef} _label={this._label} _on={this._on} _variant={this._variant} _width={this._width}>\n\t\t\t\t<slot />\n\t\t\t</KolDialogWcTag>\n\t\t);\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() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the modal callback functions.\n\t */\n\t@Prop() public _on?: KoliBriDialogEventCallbacks;\n\n\t/**\n\t * Defines the width of the modal. (max-width: 100%)\n\t */\n\t@Prop() public _width?: string = '100%';\n\n\t/**\n\t * Defines the variant of the modal.\n\t */\n\t@Prop() public _variant?: ModalVariantPropType = 'blank';\n}\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,w4VAAw4V;;MCmBn5V,QAAQ,GAAA,MAAA;AAPrB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAUkB,QAAA,IAAA,CAAA,QAAQ,GAAG,CAAC,GAA4B,KAAI;AAC5D,YAAA,IAAI,CAAC,SAAS,GAAG,GAAG;AACrB,SAAC;AAuCc,QAAA,IAAM,CAAA,MAAA,GAAY,MAAM;AAKxB,QAAA,IAAQ,CAAA,QAAA,GAA0B,OAAO;AACxD;AAvCO,IAAA,MAAM,SAAS,GAAA;;AACrB,QAAA,OAAM,MAAA,IAAI,CAAC,SAAS,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,SAAS,EAAE,CAAA;;AAO3B,IAAA,MAAM,UAAU,GAAA;;AACtB,QAAA,OAAM,MAAA,IAAI,CAAC,SAAS,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,UAAU,EAAE,CAAA;;IAG5B,MAAM,GAAA;QACZ,QACC,CAAA,CAAC,cAAc,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAA,EACnH,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACQ;;;;;;;;;"}
1
+ {"version":3,"file":"kol-modal.entry.js","sources":["src/components/modal/style.scss?tag=kol-modal&mode=default&encapsulation=shadow","src/components/modal/shadow.tsx"],"sourcesContent":["@use '../dialog/style';\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Method, Prop } from '@stencil/core';\nimport { KolDialogWcTag } from '../../core/component-names';\nimport type { DialogProps, KoliBriDialogEventCallbacks, LabelPropType } from '../../schema';\nimport type { ModalVariantPropType } from '../../schema/props/variant/modal';\n\n/**\n * The **Modal** component has been superseded by `kol-dialog`, which provides improved accessibility and conforms to the HTML dialog specification. It is still available in version 2 for backwards compatibility.\n *\n * @deprecated Use `kol-dialog` instead.\n * @slot - The modal's contents.\n */\n@Component({\n\ttag: 'kol-modal',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolModal implements DialogProps {\n\tprivate dialogRef?: HTMLKolDialogWcElement;\n\n\tprivate readonly catchRef = (ref?: HTMLKolDialogWcElement) => {\n\t\tthis.dialogRef = ref;\n\t};\n\n\t/**\n\t * Opens the modal dialog.\n\t */\n\t@Method()\n\tpublic async openModal() {\n\t\tawait this.dialogRef?.openModal();\n\t}\n\n\t/**\n\t * Closes the modal dialog.\n\t */\n\t@Method()\n\tpublic async closeModal() {\n\t\tawait this.dialogRef?.closeModal();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolDialogWcTag ref={this.catchRef} _label={this._label} _on={this._on} _variant={this._variant} _width={this._width}>\n\t\t\t\t<slot />\n\t\t\t</KolDialogWcTag>\n\t\t);\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() public _label!: LabelPropType;\n\n\t/**\n\t * Defines the modal callback functions.\n\t */\n\t@Prop() public _on?: KoliBriDialogEventCallbacks;\n\n\t/**\n\t * Defines the width of the modal. (max-width: 100%)\n\t */\n\t@Prop() public _width?: string = '100%';\n\n\t/**\n\t * Defines the variant of the modal.\n\t */\n\t@Prop() public _variant?: ModalVariantPropType = 'blank';\n}\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,6hWAA6hW;;MCmBxiW,QAAQ,GAAA,MAAA;AAPrB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAUkB,QAAA,IAAA,CAAA,QAAQ,GAAG,CAAC,GAA4B,KAAI;AAC5D,YAAA,IAAI,CAAC,SAAS,GAAG,GAAG;AACrB,SAAC;AAuCc,QAAA,IAAM,CAAA,MAAA,GAAY,MAAM;AAKxB,QAAA,IAAQ,CAAA,QAAA,GAA0B,OAAO;AACxD;AAvCO,IAAA,MAAM,SAAS,GAAA;;AACrB,QAAA,OAAM,MAAA,IAAI,CAAC,SAAS,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,SAAS,EAAE,CAAA;;AAO3B,IAAA,MAAM,UAAU,GAAA;;AACtB,QAAA,OAAM,MAAA,IAAI,CAAC,SAAS,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,UAAU,EAAE,CAAA;;IAG5B,MAAM,GAAA;QACZ,QACC,CAAA,CAAC,cAAc,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAA,EACnH,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACQ;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as registerInstance,h}from"./index-t9mjSqi3.js";import{e as watchBoolean,d as a11yHintLabelingLandmarks,k as devHint}from"./common-BIkdAxr0.js";import{v as validateHideLabel}from"./hide-label-ByItyHgV.js";import{v as validateLabel}from"./label-Cw7rCjUo.js";import{d as KolLinkWcTag,c as KolButtonWcTag}from"./component-names-C64MXeC1.js";import{t as translate}from"./i18n-DvMeCREp.js";import{c as clsx}from"./clsx-COFh-Vc8.js";import{n as nonce}from"./dev.utils-98sTB6ui.js";import{r as removeNavLabel,a as addNavLabel}from"./unique-nav-labels-BVWNmacO.js";import{w as watchNavLinks}from"./validation-D7gmRWfA.js";import"./i18n-B0tfVPMa.js";const validateCollapsible=(n,e)=>{watchBoolean(n,"_collapsible",e)},validateHasCompactButton=(n,e)=>{watchBoolean(n,"_hasCompactButton",e)},validateHasIconsWhenExpanded=(n,e)=>{watchBoolean(n,"_hasIconsWhenExpanded",e)},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=1774621104972"); /* IE9*/\n src: url("kolicons.eot?t=1774621104972#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774621104972") format("woff2"), url("kolicons.woff?t=1774621104972") format("woff"), url("kolicons.ttf?t=1774621104972") format("truetype"), url("kolicons.svg?t=1774621104972#kolicons") format("svg"); /* iOS 4.1- */\n}\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\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\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-nav {\n display: grid;\n place-items: center;\n }\n .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation {\n width: 100%;\n }\n .kol-nav__navigation .kol-span {\n width: 100%;\n justify-content: flex-start;\n }\n .kol-nav__navigation .kol-span__container {\n width: 100%;\n }\n .kol-nav__navigation .kol-span__container .kol-span__label {\n flex: 1;\n }\n .kol-nav__list {\n display: flex;\n margin: 0;\n padding: 0;\n flex-direction: column;\n list-style: none;\n }\n .kol-nav__entry-wrapper {\n display: flex;\n }\n .kol-nav__entry {\n flex-grow: 1;\n }\n .kol-button {\n text-align: left;\n }\n}',entryIsLink=n=>"string"==typeof n._href,entryIsButton=n=>{var e;return void 0===n._href&&"function"==typeof(null===(e=n._on)||void 0===e?void 0:e.onClick)},KolNav=class{constructor(n){registerInstance(this,n),this.navId="kol-nav-"+nonce(),this.listId=this.navId+"-list",this.handleToggleExpansionClick=n=>{n&&(this.state._expandedChildren.includes(n)?this.collapseChildren(n):this.expandChildren(n))},this.linkList=n=>h("ul",{class:clsx("kol-nav__list",{"kol-nav__list--nested":n.deep>0,"kol-nav__list--vertical":0!==n.deep}),id:n.deep>0?n.id:void 0},n.links.map((e,t)=>this.li(n.collapsible,n.deep,t,e,n.id))),this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.state={_collapsible:!0,_hasCompactButton:!1,_hasIconsWhenExpanded:!1,_hideLabel:!1,_label:"",_links:[],_expandedChildren:[]}}expandChildren(n){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:[...this.state._expandedChildren,n]})}collapseChildren(n){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:this.state._expandedChildren.filter(e=>e!==n)})}buildIconObject(n,e,t){const i={left:"",right:""};return this.state._hasIconsWhenExpanded&&t&&(i.left=t),this.state._hideLabel&&(i.left=t||"kolicon-link"),n&&(i.right=e?"kolicon-minus":"kolicon-plus"),i}entry(n,e,t,i,o){var a;const l="string"==typeof t._icons?t._icons:"string"==typeof(null===(a=t._icons)||void 0===a?void 0:a.left)?t._icons.left:void 0,s=this.buildIconObject(n&&e,i,l);return h("div",{class:"kol-nav__entry-wrapper"},entryIsLink(t)?h(KolLinkWcTag,Object.assign({class:clsx("kol-nav__entry kol-nav__entry--link",{"kol-nav__entry--collapsible":n})},t,{_hideLabel:this.state._hideLabel,_icons:s,_ariaControls:n&&e&&i?o:void 0,_ariaExpanded:n&&e?i:void 0})):h(KolButtonWcTag,{class:clsx("kol-nav__entry kol-nav__entry--button",{"kol-nav__entry--collapsible":n}),_label:t._label,_hideLabel:this.state._hideLabel,_icons:s,_ariaControls:n&&e&&i?o:void 0,_ariaExpanded:n&&e?i:void 0,_on:{onClick:(n,e)=>{entryIsButton(t)&&"function"==typeof t._on.onClick&&t._on.onClick(n,e),this.handleToggleExpansionClick(t._children)}}}))}li(n,e,t,i,o){const a=!!i._active,l=Array.isArray(i._children)&&i._children.length>0,s=Boolean(i._children&&this.state._expandedChildren.includes(i._children)),r=o+"_"+e+"_"+t;return h("li",{class:clsx("kol-nav__list-item",{"kol-nav__list-item--active":a,"kol-nav__list-item--expanded":s,"kol-nav__list-item--has-children":l}),key:t},this.entry(n,l,i,s,r),s&&h(this.linkList,{collapsible:n,deep:e+1,links:i._children||[],id:r}))}initializeExpandedChildren(){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:[]});const n=e=>{if(e._active)return e._children&&this.expandChildren(e._children),!0;if(e._children)for(const t of e._children)if(n(t))return this.expandChildren(e._children),!0;return!1};this.state._links.forEach(n)}render(){const n=!0===this.state._collapsible;return h("div",{key:"38b72189cc9e53eea1c134ac062711a924a2306d",class:clsx("kol-nav",{"kol-nav--is-compact":this.state._hideLabel})},h("nav",{key:"4ca8650fa26ffb655faaf8712837dfee8ef851f4","aria-label":this.state._label,class:"kol-nav__navigation",id:this.navId},h(this.linkList,{key:"afab51b9b0d3796f326f3a3ab8f20c466b012765",collapsible:n,deep:0,links:this.state._links,id:this.listId})),this.state._hasCompactButton&&h("div",{key:"d9838c0c7c478a3b448c936b24b5ba1baff2c212",class:"kol-nav__compact"},h(KolButtonWcTag,{key:"dc577ce9dffff35df4425d94234f06bc446f7833",class:"kol-nav__toggle-button",_ariaControls:this.navId,_ariaExpanded:!this.state._hideLabel,_icons:this.state._hideLabel?"kolicon-chevron-right":"kolicon-chevron-left",_hideLabel:!0,_label:translate(this.state._hideLabel?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:()=>{this.state=Object.assign(Object.assign({},this.state),{_hideLabel:!this.state._hideLabel})}},_tooltipAlign:"right"})))}validateCollapsible(n){validateCollapsible(this,n)}validateHasCompactButton(n){validateHasCompactButton(this,n)}validateHasIconsWhenExpanded(n){validateHasIconsWhenExpanded(this,n)}validateHideLabel(n){validateHideLabel(this,n)}validateLabel(n,e,t=!1){t||removeNavLabel(this.state._label),validateLabel(this,n,{required:!0}),a11yHintLabelingLandmarks(n),addNavLabel(this.state._label)}validateLinks(n){watchNavLinks("KolNav",this,n),devHint("[KolNav] The navigation structure is not yet validated recursively."),this.initializeExpandedChildren()}componentWillLoad(){this.validateCollapsible(this._collapsible),this.validateHideLabel(this._hideLabel),this.validateHasCompactButton(this._hasCompactButton),this.validateHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links),this.initializeExpandedChildren()}disconnectedCallback(){removeNavLabel(this.state._label)}static get watchers(){return{_collapsible:["validateCollapsible"],_hasCompactButton:["validateHasCompactButton"],_hasIconsWhenExpanded:["validateHasIconsWhenExpanded"],_hideLabel:["validateHideLabel"],_label:["validateLabel"],_links:["validateLinks"]}}};KolNav.style={default:defaultStyleCss};export{KolNav as kol_nav};
4
+ import{r as registerInstance,h}from"./index-C8rYknb2.js";import{e as watchBoolean,d as a11yHintLabelingLandmarks,k as devHint}from"./common-BqV6Zb30.js";import{v as validateHideLabel}from"./hide-label-DQL9J6E_.js";import{v as validateLabel}from"./label-vxVEH2gH.js";import{c as KolLinkWcTag,b as KolButtonWcTag}from"./component-names-Dy77vq43.js";import{t as translate}from"./i18n-BVaUp6qp.js";import{c as clsx}from"./clsx-COFh-Vc8.js";import{n as nonce}from"./dev.utils-CKaUZiiF.js";import{r as removeNavLabel,a as addNavLabel}from"./unique-nav-labels-BIHfxulq.js";import{w as watchNavLinks}from"./validation-JhNRqKy1.js";import"./i18n-B2d_exHc.js";const validateCollapsible=(n,e)=>{watchBoolean(n,"_collapsible",e)},validateHasCompactButton=(n,e)=>{watchBoolean(n,"_hasCompactButton",e)},validateHasIconsWhenExpanded=(n,e)=>{watchBoolean(n,"_hasIconsWhenExpanded",e)},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-nav {\n display: grid;\n place-items: center;\n }\n .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation {\n width: 100%;\n }\n .kol-nav__navigation .kol-span {\n width: 100%;\n justify-content: flex-start;\n }\n .kol-nav__navigation .kol-span__container {\n width: 100%;\n }\n .kol-nav__navigation .kol-span__container .kol-span__label {\n flex: 1;\n }\n .kol-nav__list {\n display: flex;\n margin: 0;\n padding: 0;\n flex-direction: column;\n list-style: none;\n }\n .kol-nav__entry-wrapper {\n display: flex;\n }\n .kol-nav__entry {\n flex-grow: 1;\n }\n .kol-button {\n text-align: left;\n }\n}',entryIsLink=n=>"string"==typeof n._href,entryIsButton=n=>{var e;return void 0===n._href&&"function"==typeof(null===(e=n._on)||void 0===e?void 0:e.onClick)},KolNav=class{constructor(n){registerInstance(this,n),this.navId="kol-nav-"+nonce(),this.listId=this.navId+"-list",this.handleToggleExpansionClick=n=>{n&&(this.state._expandedChildren.includes(n)?this.collapseChildren(n):this.expandChildren(n))},this.linkList=n=>h("ul",{class:clsx("kol-nav__list",{"kol-nav__list--nested":n.deep>0,"kol-nav__list--vertical":0!==n.deep}),id:n.deep>0?n.id:void 0},n.links.map((e,t)=>this.li(n.collapsible,n.deep,t,e,n.id))),this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.state={_collapsible:!0,_hasCompactButton:!1,_hasIconsWhenExpanded:!1,_hideLabel:!1,_label:"",_links:[],_expandedChildren:[]}}expandChildren(n){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:[...this.state._expandedChildren,n]})}collapseChildren(n){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:this.state._expandedChildren.filter(e=>e!==n)})}buildIconObject(n,e,t){const i={left:"",right:""};return this.state._hasIconsWhenExpanded&&t&&(i.left=t),this.state._hideLabel&&(i.left=t||"kolicon-link"),n&&(i.right=e?"kolicon-minus":"kolicon-plus"),i}entry(n,e,t,i,o){var a;const l="string"==typeof t._icons?t._icons:"string"==typeof(null===(a=t._icons)||void 0===a?void 0:a.left)?t._icons.left:void 0,s=this.buildIconObject(n&&e,i,l);return h("div",{class:"kol-nav__entry-wrapper"},entryIsLink(t)?h(KolLinkWcTag,Object.assign({class:clsx("kol-nav__entry kol-nav__entry--link",{"kol-nav__entry--collapsible":n})},t,{_hideLabel:this.state._hideLabel,_icons:s,_ariaControls:n&&e&&i?o:void 0,_ariaExpanded:n&&e?i:void 0})):h(KolButtonWcTag,{class:clsx("kol-nav__entry kol-nav__entry--button",{"kol-nav__entry--collapsible":n}),_label:t._label,_hideLabel:this.state._hideLabel,_icons:s,_ariaControls:n&&e&&i?o:void 0,_ariaExpanded:n&&e?i:void 0,_on:{onClick:(n,e)=>{entryIsButton(t)&&"function"==typeof t._on.onClick&&t._on.onClick(n,e),this.handleToggleExpansionClick(t._children)}}}))}li(n,e,t,i,o){const a=!!i._active,l=Array.isArray(i._children)&&i._children.length>0,s=Boolean(i._children&&this.state._expandedChildren.includes(i._children)),r=o+"_"+e+"_"+t;return h("li",{class:clsx("kol-nav__list-item",{"kol-nav__list-item--active":a,"kol-nav__list-item--expanded":s,"kol-nav__list-item--has-children":l}),key:t},this.entry(n,l,i,s,r),s&&h(this.linkList,{collapsible:n,deep:e+1,links:i._children||[],id:r}))}initializeExpandedChildren(){this.state=Object.assign(Object.assign({},this.state),{_expandedChildren:[]});const n=e=>{if(e._active)return e._children&&this.expandChildren(e._children),!0;if(e._children)for(const t of e._children)if(n(t))return this.expandChildren(e._children),!0;return!1};this.state._links.forEach(n)}render(){const n=!0===this.state._collapsible;return h("div",{key:"c1700bec53b26e42211871e3d525ef00cf1dd618",class:clsx("kol-nav",{"kol-nav--is-compact":this.state._hideLabel})},h("nav",{key:"1a3128937f3fec152978fb8f7ce80ef504a30408","aria-label":this.state._label,class:"kol-nav__navigation",id:this.navId},h(this.linkList,{key:"a5a465f49f1f466124386c437fc20d736813ecc8",collapsible:n,deep:0,links:this.state._links,id:this.listId})),this.state._hasCompactButton&&h("div",{key:"34c29991127a3fde4855cf9a5d8cef559c7781fe",class:"kol-nav__compact"},h(KolButtonWcTag,{key:"4673a9a316306643aac69e9bd025fd85e899c7e6",class:"kol-nav__toggle-button",_ariaControls:this.navId,_ariaExpanded:!this.state._hideLabel,_icons:this.state._hideLabel?"kolicon-chevron-right":"kolicon-chevron-left",_hideLabel:!0,_label:translate(this.state._hideLabel?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:()=>{this.state=Object.assign(Object.assign({},this.state),{_hideLabel:!this.state._hideLabel})}},_tooltipAlign:"right"})))}validateCollapsible(n){validateCollapsible(this,n)}validateHasCompactButton(n){validateHasCompactButton(this,n)}validateHasIconsWhenExpanded(n){validateHasIconsWhenExpanded(this,n)}validateHideLabel(n){validateHideLabel(this,n)}validateLabel(n,e,t=!1){t||removeNavLabel(this.state._label),validateLabel(this,n,{required:!0}),a11yHintLabelingLandmarks(n),addNavLabel(this.state._label)}validateLinks(n){watchNavLinks("KolNav",this,n),devHint("[KolNav] The navigation structure is not yet validated recursively."),this.initializeExpandedChildren()}componentWillLoad(){this.validateCollapsible(this._collapsible),this.validateHideLabel(this._hideLabel),this.validateHasCompactButton(this._hasCompactButton),this.validateHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links),this.initializeExpandedChildren()}disconnectedCallback(){removeNavLabel(this.state._label)}static get watchers(){return{_collapsible:["validateCollapsible"],_hasCompactButton:["validateHasCompactButton"],_hasIconsWhenExpanded:["validateHasIconsWhenExpanded"],_hideLabel:["validateHideLabel"],_label:["validateLabel"],_links:["validateLinks"]}}};KolNav.style={default:defaultStyleCss};export{KolNav as kol_nav};