@public-ui/components 4.3.0-rc.6 → 4.3.0-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 (755) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +33 -23
  7. package/dist/cjs/{Alert-Bv-BrwWN.js → Alert-DaJBbnJz.js} +7 -7
  8. package/dist/cjs/Alert-DaJBbnJz.js.map +1 -0
  9. package/dist/cjs/{Collapsible-N888YIaY.js → Collapsible-A7UN8xYs.js} +5 -5
  10. package/dist/cjs/{Collapsible-N888YIaY.js.map → Collapsible-A7UN8xYs.js.map} +1 -1
  11. package/dist/cjs/{CustomSuggestionsOptionsGroup-Ce_KdNHi.js → CustomSuggestionsOptionsGroup-B3zKmcfZ.js} +3 -3
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-Ce_KdNHi.js.map → CustomSuggestionsOptionsGroup-B3zKmcfZ.js.map} +1 -1
  13. package/dist/cjs/{FieldControlStateWrapper-Dlk1fdof.js → FieldControlStateWrapper-Blru_T0E.js} +7 -7
  14. package/dist/cjs/{FieldControlStateWrapper-Dlk1fdof.js.map → FieldControlStateWrapper-Blru_T0E.js.map} +1 -1
  15. package/dist/cjs/{FormFieldStateWrapper-DG4emSy6.js → FormFieldStateWrapper-DZhEbBYb.js} +7 -7
  16. package/dist/cjs/{FormFieldStateWrapper-DG4emSy6.js.map → FormFieldStateWrapper-DZhEbBYb.js.map} +1 -1
  17. package/dist/cjs/{Heading-CW1KAWWX.js → Heading-CtLCdnno.js} +3 -3
  18. package/dist/cjs/{Heading-CW1KAWWX.js.map → Heading-CtLCdnno.js.map} +1 -1
  19. package/dist/cjs/{Input-Cmz65bTo.js → Input-CTIvgASH.js} +5 -5
  20. package/dist/cjs/{Input-Cmz65bTo.js.map → Input-CTIvgASH.js.map} +1 -1
  21. package/dist/cjs/{InputStateWrapper-IceSl4Va.js → InputStateWrapper-D-fmIPN-.js} +6 -6
  22. package/dist/cjs/{InputStateWrapper-IceSl4Va.js.map → InputStateWrapper-D-fmIPN-.js.map} +1 -1
  23. package/dist/cjs/{app-globals-Ca-u9rrU.js → app-globals-hKB4iA5u.js} +4 -4
  24. package/dist/cjs/{app-globals-Ca-u9rrU.js.map → app-globals-hKB4iA5u.js.map} +1 -1
  25. package/dist/cjs/{component-Ds_ZSFId.js → component-D2hfqi2r.js} +4 -4
  26. package/dist/cjs/{component-Ds_ZSFId.js.map → component-D2hfqi2r.js.map} +1 -1
  27. package/dist/cjs/{component-lcKfLD3W.js → component-DzuSWpVF.js} +3 -3
  28. package/dist/cjs/{component-lcKfLD3W.js.map → component-DzuSWpVF.js.map} +1 -1
  29. package/dist/cjs/{component-D2XqZH09.js → component-GSsStkDl.js} +4 -4
  30. package/dist/cjs/{component-D2XqZH09.js.map → component-GSsStkDl.js.map} +1 -1
  31. package/dist/cjs/{component-MHZzZs8b.js → component-XgOEs159.js} +3 -3
  32. package/dist/cjs/{component-MHZzZs8b.js.map → component-XgOEs159.js.map} +1 -1
  33. package/dist/cjs/contrast-BaY16D1Q.js.map +1 -1
  34. package/dist/cjs/{controller-CplkzBYs.js → controller-BRUHGsKj.js} +3 -3
  35. package/dist/cjs/{controller-CplkzBYs.js.map → controller-BRUHGsKj.js.map} +1 -1
  36. package/dist/cjs/{controller-C1na4nXZ.js → controller-BdPPNnZm.js} +3 -3
  37. package/dist/cjs/{controller-C1na4nXZ.js.map → controller-BdPPNnZm.js.map} +1 -1
  38. package/dist/cjs/{controller-_MCMA-7O.js → controller-DI9a-feu.js} +3 -3
  39. package/dist/cjs/{controller-_MCMA-7O.js.map → controller-DI9a-feu.js.map} +1 -1
  40. package/dist/cjs/{controller-icon-BrREvyH1.js → controller-icon-Ds2Cvph9.js} +6 -6
  41. package/dist/cjs/{controller-icon-BrREvyH1.js.map → controller-icon-Ds2Cvph9.js.map} +1 -1
  42. package/dist/cjs/{dev.utils-BqG9VVIl.js → dev.utils-C5bWjmuw.js} +3 -3
  43. package/dist/cjs/{dev.utils-BqG9VVIl.js.map → dev.utils-C5bWjmuw.js.map} +1 -1
  44. package/dist/cjs/{devtools-CRdIaIkv.js → devtools-CpVKpbEG.js} +4 -4
  45. package/dist/cjs/{devtools-CRdIaIkv.js.map → devtools-CpVKpbEG.js.map} +1 -1
  46. package/dist/cjs/{index-uy6c1C7T.js → index-PpdE67jR.js} +3 -3
  47. package/dist/cjs/{index-uy6c1C7T.js.map → index-PpdE67jR.js.map} +1 -1
  48. package/dist/cjs/kol-abbr.cjs.entry.js +2 -2
  49. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  50. package/dist/cjs/kol-accordion.cjs.entry.js +5 -5
  51. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  52. package/dist/cjs/kol-alert-wc.cjs.entry.js +4 -4
  53. package/dist/cjs/kol-alert.cjs.entry.js +2 -2
  54. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  55. package/dist/cjs/kol-avatar.cjs.entry.js +2 -2
  56. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  57. package/dist/cjs/kol-badge.cjs.entry.js +7 -7
  58. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  59. package/dist/cjs/kol-breadcrumb.cjs.entry.js +3 -3
  60. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  61. package/dist/cjs/kol-button-link.cjs.entry.js +2 -2
  62. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  63. package/dist/cjs/kol-button-wc.cjs.entry.js +4 -4
  64. package/dist/cjs/kol-button.cjs.entry.js +3 -3
  65. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  66. package/dist/cjs/kol-card-wc.cjs.entry.js +6 -6
  67. package/dist/cjs/kol-card.cjs.entry.js +2 -2
  68. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  69. package/dist/cjs/kol-click-button.cjs.entry.js +2 -2
  70. package/dist/cjs/kol-combobox.cjs.entry.js +13 -13
  71. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  72. package/dist/cjs/kol-details.cjs.entry.js +5 -5
  73. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  74. package/dist/cjs/kol-dialog-wc.cjs.entry.js +2 -2
  75. package/dist/cjs/kol-dialog.cjs.entry.js +2 -2
  76. package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
  77. package/dist/cjs/kol-drawer.cjs.entry.js +3 -3
  78. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  79. package/dist/cjs/kol-form.cjs.entry.js +5 -5
  80. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  81. package/dist/cjs/kol-heading.cjs.entry.js +3 -3
  82. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  83. package/dist/cjs/kol-icon.cjs.entry.js +3 -3
  84. package/dist/cjs/kol-image.cjs.entry.js +2 -2
  85. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  86. package/dist/cjs/kol-input-checkbox.cjs.entry.js +13 -13
  87. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  88. package/dist/cjs/kol-input-color.cjs.entry.js +12 -12
  89. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  90. package/dist/cjs/kol-input-date.cjs.entry.js +13 -13
  91. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  92. package/dist/cjs/kol-input-email.cjs.entry.js +15 -15
  93. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  94. package/dist/cjs/kol-input-file.cjs.entry.js +12 -12
  95. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  96. package/dist/cjs/kol-input-number.cjs.entry.js +13 -13
  97. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  98. package/dist/cjs/kol-input-password.cjs.entry.js +14 -14
  99. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  100. package/dist/cjs/kol-input-radio.cjs.entry.js +13 -13
  101. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  102. package/dist/cjs/kol-input-range.cjs.entry.js +13 -13
  103. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  104. package/dist/cjs/kol-input-text.cjs.entry.js +15 -15
  105. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  106. package/dist/cjs/kol-kolibri.cjs.entry.js +2 -2
  107. package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
  108. package/dist/cjs/kol-link-button.cjs.entry.js +2 -2
  109. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-link-wc.cjs.entry.js +4 -4
  111. package/dist/cjs/kol-link.cjs.entry.js +3 -3
  112. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  113. package/dist/cjs/kol-meter.cjs.entry.js +2 -2
  114. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
  115. package/dist/cjs/kol-modal.cjs.entry.js +2 -2
  116. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  117. package/dist/cjs/kol-nav.cjs.entry.js +3 -3
  118. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  119. package/dist/cjs/kol-pagination-wc.cjs.entry.js +2 -2
  120. package/dist/cjs/kol-pagination.cjs.entry.js +2 -2
  121. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  122. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +2 -2
  123. package/dist/cjs/kol-popover-button.cjs.entry.js +2 -2
  124. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-progress.cjs.entry.js +2 -2
  126. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-quote.cjs.entry.js +2 -2
  128. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  129. package/dist/cjs/kol-select-wc.cjs.entry.js +12 -12
  130. package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
  131. package/dist/cjs/kol-select.cjs.entry.js +3 -3
  132. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-single-select.cjs.entry.js +19 -20
  134. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-skeleton.cjs.entry.js +2 -2
  136. package/dist/cjs/kol-skip-nav.cjs.entry.js +2 -2
  137. package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
  138. package/dist/cjs/kol-spin.cjs.entry.js +2 -2
  139. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  140. package/dist/cjs/kol-split-button.cjs.entry.js +2 -2
  141. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  142. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-table-stateful.cjs.entry.js +2 -2
  144. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  145. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +5 -5
  146. package/dist/cjs/kol-table-stateless.cjs.entry.js +2 -2
  147. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  148. package/dist/cjs/kol-tabs.cjs.entry.js +2 -2
  149. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  150. package/dist/cjs/kol-textarea.cjs.entry.js +11 -11
  151. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  152. package/dist/cjs/kol-toast-container.cjs.entry.js +7 -7
  153. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  154. package/dist/cjs/kol-toolbar.cjs.entry.js +2 -2
  155. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  156. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +4 -4
  157. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +3 -3
  158. package/dist/cjs/kol-tree-item.cjs.entry.js +2 -2
  159. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  160. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  161. package/dist/cjs/kol-tree.cjs.entry.js +2 -2
  162. package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
  163. package/dist/cjs/kol-version.cjs.entry.js +2 -2
  164. package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
  165. package/dist/cjs/kolibri.cjs.js +2 -2
  166. package/dist/cjs/loader.cjs.js +2 -2
  167. package/dist/cjs/test-component.cjs.entry.js +1 -1
  168. package/dist/collection/components/abbr/style.css +8 -5
  169. package/dist/collection/components/accordion/style.css +8 -5
  170. package/dist/collection/components/alert/style.css +19 -10
  171. package/dist/collection/components/avatar/style.css +6 -3
  172. package/dist/collection/components/badge/shadow.js +2 -2
  173. package/dist/collection/components/badge/shadow.js.map +1 -1
  174. package/dist/collection/components/badge/style.css +8 -5
  175. package/dist/collection/components/breadcrumb/style.css +8 -5
  176. package/dist/collection/components/button/shadow.js +1 -1
  177. package/dist/collection/components/button/shadow.js.map +1 -1
  178. package/dist/collection/components/button/style.css +8 -5
  179. package/dist/collection/components/button-link/style.css +8 -5
  180. package/dist/collection/components/card/style.css +8 -5
  181. package/dist/collection/components/combobox/style.css +19 -10
  182. package/dist/collection/components/details/style.css +8 -5
  183. package/dist/collection/components/dialog/style.css +8 -5
  184. package/dist/collection/components/drawer/style.css +8 -5
  185. package/dist/collection/components/form/style.css +19 -10
  186. package/dist/collection/components/heading/component.js +1 -1
  187. package/dist/collection/components/heading/component.js.map +1 -1
  188. package/dist/collection/components/heading/style.css +6 -3
  189. package/dist/collection/components/icon/style.css +2 -2
  190. package/dist/collection/components/image/style.css +6 -3
  191. package/dist/collection/components/input-checkbox/shadow.js +1 -1
  192. package/dist/collection/components/input-checkbox/shadow.js.map +1 -1
  193. package/dist/collection/components/input-checkbox/style.css +19 -10
  194. package/dist/collection/components/input-color/style.css +19 -10
  195. package/dist/collection/components/input-date/shadow.js +1 -1
  196. package/dist/collection/components/input-date/shadow.js.map +1 -1
  197. package/dist/collection/components/input-date/style.css +19 -10
  198. package/dist/collection/components/input-email/shadow.js +1 -1
  199. package/dist/collection/components/input-email/shadow.js.map +1 -1
  200. package/dist/collection/components/input-email/style.css +19 -10
  201. package/dist/collection/components/input-file/style.css +19 -10
  202. package/dist/collection/components/input-number/shadow.js +1 -1
  203. package/dist/collection/components/input-number/shadow.js.map +1 -1
  204. package/dist/collection/components/input-number/style.css +19 -10
  205. package/dist/collection/components/input-password/shadow.js +1 -1
  206. package/dist/collection/components/input-password/shadow.js.map +1 -1
  207. package/dist/collection/components/input-password/style.css +19 -10
  208. package/dist/collection/components/input-radio/shadow.js +1 -1
  209. package/dist/collection/components/input-radio/shadow.js.map +1 -1
  210. package/dist/collection/components/input-radio/style.css +19 -10
  211. package/dist/collection/components/input-range/shadow.js +1 -1
  212. package/dist/collection/components/input-range/shadow.js.map +1 -1
  213. package/dist/collection/components/input-range/style.css +19 -10
  214. package/dist/collection/components/input-text/shadow.js +1 -1
  215. package/dist/collection/components/input-text/shadow.js.map +1 -1
  216. package/dist/collection/components/input-text/style.css +19 -10
  217. package/dist/collection/components/kolibri/style.css +6 -3
  218. package/dist/collection/components/link/shadow.js +1 -1
  219. package/dist/collection/components/link/shadow.js.map +1 -1
  220. package/dist/collection/components/link/style.css +8 -5
  221. package/dist/collection/components/link-button/style.css +8 -5
  222. package/dist/collection/components/meter/style.css +6 -3
  223. package/dist/collection/components/modal/style.css +8 -5
  224. package/dist/collection/components/nav/style.css +8 -5
  225. package/dist/collection/components/pagination/style.css +19 -10
  226. package/dist/collection/components/popover-button/style.css +8 -5
  227. package/dist/collection/components/progress/style.css +6 -3
  228. package/dist/collection/components/quote/style.css +6 -3
  229. package/dist/collection/components/select/component.js +2 -2
  230. package/dist/collection/components/select/component.js.map +1 -1
  231. package/dist/collection/components/select/shadow.js +1 -1
  232. package/dist/collection/components/select/shadow.js.map +1 -1
  233. package/dist/collection/components/select/style.css +19 -10
  234. package/dist/collection/components/single-select/shadow.js +5 -6
  235. package/dist/collection/components/single-select/shadow.js.map +1 -1
  236. package/dist/collection/components/single-select/style.css +19 -10
  237. package/dist/collection/components/skip-nav/style.css +8 -5
  238. package/dist/collection/components/spin/style.css +6 -3
  239. package/dist/collection/components/split-button/style.css +8 -5
  240. package/dist/collection/components/table-stateful/style.css +30 -15
  241. package/dist/collection/components/table-stateless/style.css +19 -10
  242. package/dist/collection/components/tabs/style.css +8 -5
  243. package/dist/collection/components/textarea/shadow.js +1 -1
  244. package/dist/collection/components/textarea/shadow.js.map +1 -1
  245. package/dist/collection/components/textarea/style.css +19 -10
  246. package/dist/collection/components/toaster/style.css +19 -10
  247. package/dist/collection/components/toolbar/style.css +8 -5
  248. package/dist/collection/components/tree/style.css +6 -3
  249. package/dist/collection/components/tree-item/style.css +8 -5
  250. package/dist/collection/components/version/style.css +6 -3
  251. package/dist/collection/functional-components/Alert/Alert.js +2 -2
  252. package/dist/collection/functional-components/Alert/Alert.js.map +1 -1
  253. package/dist/collection/schema/utils/contrast.js.map +1 -1
  254. package/dist/components/Alert.js +2 -2
  255. package/dist/components/Alert.js.map +1 -1
  256. package/dist/components/contrast.js.map +1 -1
  257. package/dist/components/kol-abbr.js +1 -1
  258. package/dist/components/kol-abbr.js.map +1 -1
  259. package/dist/components/kol-accordion.js +1 -1
  260. package/dist/components/kol-accordion.js.map +1 -1
  261. package/dist/components/kol-alert.js +1 -1
  262. package/dist/components/kol-alert.js.map +1 -1
  263. package/dist/components/kol-avatar.js +1 -1
  264. package/dist/components/kol-avatar.js.map +1 -1
  265. package/dist/components/kol-badge.js +3 -3
  266. package/dist/components/kol-badge.js.map +1 -1
  267. package/dist/components/kol-breadcrumb.js +1 -1
  268. package/dist/components/kol-breadcrumb.js.map +1 -1
  269. package/dist/components/kol-button-link.js +1 -1
  270. package/dist/components/kol-button-link.js.map +1 -1
  271. package/dist/components/kol-button.js +2 -2
  272. package/dist/components/kol-button.js.map +1 -1
  273. package/dist/components/kol-card.js +1 -1
  274. package/dist/components/kol-card.js.map +1 -1
  275. package/dist/components/kol-combobox.js +1 -1
  276. package/dist/components/kol-combobox.js.map +1 -1
  277. package/dist/components/kol-details.js +1 -1
  278. package/dist/components/kol-details.js.map +1 -1
  279. package/dist/components/kol-dialog.js +1 -1
  280. package/dist/components/kol-dialog.js.map +1 -1
  281. package/dist/components/kol-drawer.js +1 -1
  282. package/dist/components/kol-drawer.js.map +1 -1
  283. package/dist/components/kol-form.js +1 -1
  284. package/dist/components/kol-form.js.map +1 -1
  285. package/dist/components/kol-heading.js +2 -2
  286. package/dist/components/kol-heading.js.map +1 -1
  287. package/dist/components/kol-icon.js +1 -1
  288. package/dist/components/kol-image.js +1 -1
  289. package/dist/components/kol-image.js.map +1 -1
  290. package/dist/components/kol-input-checkbox.js +2 -2
  291. package/dist/components/kol-input-checkbox.js.map +1 -1
  292. package/dist/components/kol-input-color.js +1 -1
  293. package/dist/components/kol-input-color.js.map +1 -1
  294. package/dist/components/kol-input-date.js +2 -2
  295. package/dist/components/kol-input-date.js.map +1 -1
  296. package/dist/components/kol-input-email.js +2 -2
  297. package/dist/components/kol-input-email.js.map +1 -1
  298. package/dist/components/kol-input-file.js +1 -1
  299. package/dist/components/kol-input-file.js.map +1 -1
  300. package/dist/components/kol-input-number.js +2 -2
  301. package/dist/components/kol-input-number.js.map +1 -1
  302. package/dist/components/kol-input-password.js +2 -2
  303. package/dist/components/kol-input-password.js.map +1 -1
  304. package/dist/components/kol-input-radio.js +2 -2
  305. package/dist/components/kol-input-radio.js.map +1 -1
  306. package/dist/components/kol-input-range.js +2 -2
  307. package/dist/components/kol-input-range.js.map +1 -1
  308. package/dist/components/kol-input-text.js +2 -2
  309. package/dist/components/kol-input-text.js.map +1 -1
  310. package/dist/components/kol-kolibri.js +1 -1
  311. package/dist/components/kol-kolibri.js.map +1 -1
  312. package/dist/components/kol-link-button.js +1 -1
  313. package/dist/components/kol-link-button.js.map +1 -1
  314. package/dist/components/kol-link.js +2 -2
  315. package/dist/components/kol-link.js.map +1 -1
  316. package/dist/components/kol-meter.js +1 -1
  317. package/dist/components/kol-meter.js.map +1 -1
  318. package/dist/components/kol-modal.js +1 -1
  319. package/dist/components/kol-modal.js.map +1 -1
  320. package/dist/components/kol-nav.js +1 -1
  321. package/dist/components/kol-nav.js.map +1 -1
  322. package/dist/components/kol-pagination.js +1 -1
  323. package/dist/components/kol-pagination.js.map +1 -1
  324. package/dist/components/kol-popover-button.js +1 -1
  325. package/dist/components/kol-popover-button.js.map +1 -1
  326. package/dist/components/kol-progress.js +1 -1
  327. package/dist/components/kol-progress.js.map +1 -1
  328. package/dist/components/kol-quote.js +1 -1
  329. package/dist/components/kol-quote.js.map +1 -1
  330. package/dist/components/kol-select-wc.js +2 -2
  331. package/dist/components/kol-select-wc.js.map +1 -1
  332. package/dist/components/kol-select.js +2 -2
  333. package/dist/components/kol-select.js.map +1 -1
  334. package/dist/components/kol-single-select.js +6 -7
  335. package/dist/components/kol-single-select.js.map +1 -1
  336. package/dist/components/kol-skip-nav.js +1 -1
  337. package/dist/components/kol-skip-nav.js.map +1 -1
  338. package/dist/components/kol-spin.js +1 -1
  339. package/dist/components/kol-spin.js.map +1 -1
  340. package/dist/components/kol-split-button.js +1 -1
  341. package/dist/components/kol-split-button.js.map +1 -1
  342. package/dist/components/kol-table-stateful.js +1 -1
  343. package/dist/components/kol-table-stateful.js.map +1 -1
  344. package/dist/components/kol-table-stateless.js +1 -1
  345. package/dist/components/kol-table-stateless.js.map +1 -1
  346. package/dist/components/kol-tabs.js +1 -1
  347. package/dist/components/kol-tabs.js.map +1 -1
  348. package/dist/components/kol-textarea.js +2 -2
  349. package/dist/components/kol-textarea.js.map +1 -1
  350. package/dist/components/kol-toast-container.js +1 -1
  351. package/dist/components/kol-toast-container.js.map +1 -1
  352. package/dist/components/kol-toolbar.js +1 -1
  353. package/dist/components/kol-toolbar.js.map +1 -1
  354. package/dist/components/kol-tree-item.js +1 -1
  355. package/dist/components/kol-tree-item.js.map +1 -1
  356. package/dist/components/kol-tree.js +1 -1
  357. package/dist/components/kol-tree.js.map +1 -1
  358. package/dist/components/kol-version.js +1 -1
  359. package/dist/components/kol-version.js.map +1 -1
  360. package/dist/esm/{Alert-CVh_XwxH.js → Alert-DaPXnitr.js} +7 -7
  361. package/dist/esm/Alert-DaPXnitr.js.map +1 -0
  362. package/dist/esm/{Collapsible-Cy_Z7SX6.js → Collapsible-DF7peDBr.js} +5 -5
  363. package/dist/{kolibri/Collapsible-Cy_Z7SX6.js.map → esm/Collapsible-DF7peDBr.js.map} +1 -1
  364. package/dist/esm/{CustomSuggestionsOptionsGroup-2QjXZ-dA.js → CustomSuggestionsOptionsGroup-Cq1zSfAU.js} +3 -3
  365. package/dist/{kolibri/CustomSuggestionsOptionsGroup-2QjXZ-dA.js.map → esm/CustomSuggestionsOptionsGroup-Cq1zSfAU.js.map} +1 -1
  366. package/dist/esm/{FieldControlStateWrapper-BY46U1nq.js → FieldControlStateWrapper-BJhTtIF3.js} +7 -7
  367. package/dist/esm/{FieldControlStateWrapper-BY46U1nq.js.map → FieldControlStateWrapper-BJhTtIF3.js.map} +1 -1
  368. package/dist/esm/{FormFieldStateWrapper-DFV1TBk5.js → FormFieldStateWrapper-BogeRuh6.js} +7 -7
  369. package/dist/esm/{FormFieldStateWrapper-DFV1TBk5.js.map → FormFieldStateWrapper-BogeRuh6.js.map} +1 -1
  370. package/dist/esm/{Heading-BKIw2hie.js → Heading-Fmn2Xnfo.js} +3 -3
  371. package/dist/{kolibri/Heading-BKIw2hie.js.map → esm/Heading-Fmn2Xnfo.js.map} +1 -1
  372. package/dist/esm/{Input-B4nV0JRw.js → Input-My07QUjz.js} +5 -5
  373. package/dist/{kolibri/Input-B4nV0JRw.js.map → esm/Input-My07QUjz.js.map} +1 -1
  374. package/dist/esm/{InputStateWrapper-Cjv8q51E.js → InputStateWrapper-BkBD8al2.js} +6 -6
  375. package/dist/esm/{InputStateWrapper-Cjv8q51E.js.map → InputStateWrapper-BkBD8al2.js.map} +1 -1
  376. package/dist/esm/{app-globals-DBooI_-E.js → app-globals-BSt2bjJi.js} +4 -4
  377. package/dist/esm/{app-globals-DBooI_-E.js.map → app-globals-BSt2bjJi.js.map} +1 -1
  378. package/dist/esm/{component-DzpPAOzx.js → component-BXaOK6YH.js} +3 -3
  379. package/dist/esm/{component-DzpPAOzx.js.map → component-BXaOK6YH.js.map} +1 -1
  380. package/dist/esm/{component-8mzKPFWl.js → component-DBqyeAbt.js} +4 -4
  381. package/dist/esm/{component-8mzKPFWl.js.map → component-DBqyeAbt.js.map} +1 -1
  382. package/dist/esm/{component-BG44r5Mq.js → component-DDkRuod7.js} +4 -4
  383. package/dist/{kolibri/component-BG44r5Mq.js.map → esm/component-DDkRuod7.js.map} +1 -1
  384. package/dist/esm/{component-CCQEFb4H.js → component-lILf7M8Y.js} +3 -3
  385. package/dist/esm/{component-CCQEFb4H.js.map → component-lILf7M8Y.js.map} +1 -1
  386. package/dist/esm/contrast-CnVYN_kl.js.map +1 -1
  387. package/dist/esm/{controller-CE9LAI82.js → controller-B-aPh-rK.js} +3 -3
  388. package/dist/esm/{controller-CE9LAI82.js.map → controller-B-aPh-rK.js.map} +1 -1
  389. package/dist/esm/{controller-iY_1YW2P.js → controller-BKG2L8_f.js} +3 -3
  390. package/dist/esm/{controller-iY_1YW2P.js.map → controller-BKG2L8_f.js.map} +1 -1
  391. package/dist/esm/{controller-BCZEcGnd.js → controller-i4DAkaDb.js} +3 -3
  392. package/dist/{kolibri/controller-BCZEcGnd.js.map → esm/controller-i4DAkaDb.js.map} +1 -1
  393. package/dist/esm/{controller-icon-CQmlbwLY.js → controller-icon-lAqXvi57.js} +6 -6
  394. package/dist/{kolibri/controller-icon-CQmlbwLY.js.map → esm/controller-icon-lAqXvi57.js.map} +1 -1
  395. package/dist/esm/{dev.utils-BXf9h7MR.js → dev.utils-4OwwrWYD.js} +3 -3
  396. package/dist/esm/{dev.utils-BXf9h7MR.js.map → dev.utils-4OwwrWYD.js.map} +1 -1
  397. package/dist/esm/{devtools-DhAP1aCO.js → devtools-DQZUKzkH.js} +4 -4
  398. package/dist/esm/{devtools-DhAP1aCO.js.map → devtools-DQZUKzkH.js.map} +1 -1
  399. package/dist/esm/{index-C5dCp7IP.js → index-wGO77oPq.js} +3 -3
  400. package/dist/{kolibri/index-C5dCp7IP.js.map → esm/index-wGO77oPq.js.map} +1 -1
  401. package/dist/esm/kol-abbr.entry.js +2 -2
  402. package/dist/esm/kol-abbr.entry.js.map +1 -1
  403. package/dist/esm/kol-accordion.entry.js +5 -5
  404. package/dist/esm/kol-accordion.entry.js.map +1 -1
  405. package/dist/esm/kol-alert-wc.entry.js +4 -4
  406. package/dist/esm/kol-alert.entry.js +2 -2
  407. package/dist/esm/kol-alert.entry.js.map +1 -1
  408. package/dist/esm/kol-avatar.entry.js +2 -2
  409. package/dist/esm/kol-avatar.entry.js.map +1 -1
  410. package/dist/esm/kol-badge.entry.js +7 -7
  411. package/dist/esm/kol-badge.entry.js.map +1 -1
  412. package/dist/esm/kol-breadcrumb.entry.js +3 -3
  413. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  414. package/dist/esm/kol-button-link.entry.js +2 -2
  415. package/dist/esm/kol-button-link.entry.js.map +1 -1
  416. package/dist/esm/kol-button-wc.entry.js +4 -4
  417. package/dist/esm/kol-button.entry.js +3 -3
  418. package/dist/esm/kol-button.entry.js.map +1 -1
  419. package/dist/esm/kol-card-wc.entry.js +6 -6
  420. package/dist/esm/kol-card.entry.js +2 -2
  421. package/dist/esm/kol-card.entry.js.map +1 -1
  422. package/dist/esm/kol-click-button.entry.js +2 -2
  423. package/dist/esm/kol-combobox.entry.js +13 -13
  424. package/dist/esm/kol-combobox.entry.js.map +1 -1
  425. package/dist/esm/kol-details.entry.js +5 -5
  426. package/dist/esm/kol-details.entry.js.map +1 -1
  427. package/dist/esm/kol-dialog-wc.entry.js +2 -2
  428. package/dist/esm/kol-dialog.entry.js +2 -2
  429. package/dist/esm/kol-dialog.entry.js.map +1 -1
  430. package/dist/esm/kol-drawer.entry.js +3 -3
  431. package/dist/esm/kol-drawer.entry.js.map +1 -1
  432. package/dist/esm/kol-form.entry.js +5 -5
  433. package/dist/esm/kol-form.entry.js.map +1 -1
  434. package/dist/esm/kol-heading.entry.js +3 -3
  435. package/dist/esm/kol-heading.entry.js.map +1 -1
  436. package/dist/esm/kol-icon.entry.js +3 -3
  437. package/dist/esm/kol-image.entry.js +2 -2
  438. package/dist/esm/kol-image.entry.js.map +1 -1
  439. package/dist/esm/kol-input-checkbox.entry.js +13 -13
  440. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  441. package/dist/esm/kol-input-color.entry.js +12 -12
  442. package/dist/esm/kol-input-color.entry.js.map +1 -1
  443. package/dist/esm/kol-input-date.entry.js +13 -13
  444. package/dist/esm/kol-input-date.entry.js.map +1 -1
  445. package/dist/esm/kol-input-email.entry.js +15 -15
  446. package/dist/esm/kol-input-email.entry.js.map +1 -1
  447. package/dist/esm/kol-input-file.entry.js +12 -12
  448. package/dist/esm/kol-input-file.entry.js.map +1 -1
  449. package/dist/esm/kol-input-number.entry.js +13 -13
  450. package/dist/esm/kol-input-number.entry.js.map +1 -1
  451. package/dist/esm/kol-input-password.entry.js +14 -14
  452. package/dist/esm/kol-input-password.entry.js.map +1 -1
  453. package/dist/esm/kol-input-radio.entry.js +13 -13
  454. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  455. package/dist/esm/kol-input-range.entry.js +13 -13
  456. package/dist/esm/kol-input-range.entry.js.map +1 -1
  457. package/dist/esm/kol-input-text.entry.js +15 -15
  458. package/dist/esm/kol-input-text.entry.js.map +1 -1
  459. package/dist/esm/kol-kolibri.entry.js +2 -2
  460. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  461. package/dist/esm/kol-link-button.entry.js +2 -2
  462. package/dist/esm/kol-link-button.entry.js.map +1 -1
  463. package/dist/esm/kol-link-wc.entry.js +4 -4
  464. package/dist/esm/kol-link.entry.js +3 -3
  465. package/dist/esm/kol-link.entry.js.map +1 -1
  466. package/dist/esm/kol-meter.entry.js +2 -2
  467. package/dist/esm/kol-meter.entry.js.map +1 -1
  468. package/dist/esm/kol-modal.entry.js +2 -2
  469. package/dist/esm/kol-modal.entry.js.map +1 -1
  470. package/dist/esm/kol-nav.entry.js +3 -3
  471. package/dist/esm/kol-nav.entry.js.map +1 -1
  472. package/dist/esm/kol-pagination-wc.entry.js +2 -2
  473. package/dist/esm/kol-pagination.entry.js +2 -2
  474. package/dist/esm/kol-pagination.entry.js.map +1 -1
  475. package/dist/esm/kol-popover-button-wc.entry.js +2 -2
  476. package/dist/esm/kol-popover-button.entry.js +2 -2
  477. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  478. package/dist/esm/kol-progress.entry.js +2 -2
  479. package/dist/esm/kol-progress.entry.js.map +1 -1
  480. package/dist/esm/kol-quote.entry.js +2 -2
  481. package/dist/esm/kol-quote.entry.js.map +1 -1
  482. package/dist/esm/kol-select-wc.entry.js +12 -12
  483. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  484. package/dist/esm/kol-select.entry.js +3 -3
  485. package/dist/esm/kol-select.entry.js.map +1 -1
  486. package/dist/esm/kol-single-select.entry.js +19 -20
  487. package/dist/esm/kol-single-select.entry.js.map +1 -1
  488. package/dist/esm/kol-skeleton.entry.js +2 -2
  489. package/dist/esm/kol-skip-nav.entry.js +2 -2
  490. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  491. package/dist/esm/kol-spin.entry.js +2 -2
  492. package/dist/esm/kol-spin.entry.js.map +1 -1
  493. package/dist/esm/kol-split-button.entry.js +2 -2
  494. package/dist/esm/kol-split-button.entry.js.map +1 -1
  495. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  496. package/dist/esm/kol-table-stateful.entry.js +2 -2
  497. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  498. package/dist/esm/kol-table-stateless-wc.entry.js +5 -5
  499. package/dist/esm/kol-table-stateless.entry.js +2 -2
  500. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  501. package/dist/esm/kol-tabs.entry.js +2 -2
  502. package/dist/esm/kol-tabs.entry.js.map +1 -1
  503. package/dist/esm/kol-textarea.entry.js +11 -11
  504. package/dist/esm/kol-textarea.entry.js.map +1 -1
  505. package/dist/esm/kol-toast-container.entry.js +7 -7
  506. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  507. package/dist/esm/kol-toolbar.entry.js +2 -2
  508. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  509. package/dist/esm/kol-tooltip-wc.entry.js +4 -4
  510. package/dist/esm/kol-tree-item-wc.entry.js +3 -3
  511. package/dist/esm/kol-tree-item.entry.js +2 -2
  512. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  513. package/dist/esm/kol-tree-wc.entry.js +1 -1
  514. package/dist/esm/kol-tree.entry.js +2 -2
  515. package/dist/esm/kol-tree.entry.js.map +1 -1
  516. package/dist/esm/kol-version.entry.js +2 -2
  517. package/dist/esm/kol-version.entry.js.map +1 -1
  518. package/dist/esm/kolibri.js +3 -3
  519. package/dist/esm/loader.js +3 -3
  520. package/dist/esm/test-component.entry.js +1 -1
  521. package/dist/kolibri/Alert-DaPXnitr.js +5 -0
  522. package/dist/kolibri/Alert-DaPXnitr.js.map +1 -0
  523. package/dist/kolibri/Collapsible-DF7peDBr.js +5 -0
  524. package/dist/{esm/Collapsible-Cy_Z7SX6.js.map → kolibri/Collapsible-DF7peDBr.js.map} +1 -1
  525. package/dist/kolibri/{CustomSuggestionsOptionsGroup-2QjXZ-dA.js → CustomSuggestionsOptionsGroup-Cq1zSfAU.js} +2 -2
  526. package/dist/{esm/CustomSuggestionsOptionsGroup-2QjXZ-dA.js.map → kolibri/CustomSuggestionsOptionsGroup-Cq1zSfAU.js.map} +1 -1
  527. package/dist/kolibri/FieldControlStateWrapper-BJhTtIF3.js +5 -0
  528. package/dist/kolibri/{FieldControlStateWrapper-BY46U1nq.js.map → FieldControlStateWrapper-BJhTtIF3.js.map} +1 -1
  529. package/dist/kolibri/{FormFieldStateWrapper-DFV1TBk5.js → FormFieldStateWrapper-BogeRuh6.js} +2 -2
  530. package/dist/kolibri/{FormFieldStateWrapper-DFV1TBk5.js.map → FormFieldStateWrapper-BogeRuh6.js.map} +1 -1
  531. package/dist/kolibri/{Heading-BKIw2hie.js → Heading-Fmn2Xnfo.js} +2 -2
  532. package/dist/{esm/Heading-BKIw2hie.js.map → kolibri/Heading-Fmn2Xnfo.js.map} +1 -1
  533. package/dist/kolibri/Input-My07QUjz.js +5 -0
  534. package/dist/{esm/Input-B4nV0JRw.js.map → kolibri/Input-My07QUjz.js.map} +1 -1
  535. package/dist/kolibri/InputStateWrapper-BkBD8al2.js +5 -0
  536. package/dist/kolibri/{InputStateWrapper-Cjv8q51E.js.map → InputStateWrapper-BkBD8al2.js.map} +1 -1
  537. package/dist/kolibri/{app-globals-DBooI_-E.js → app-globals-BSt2bjJi.js} +2 -2
  538. package/dist/kolibri/{app-globals-DBooI_-E.js.map → app-globals-BSt2bjJi.js.map} +1 -1
  539. package/dist/kolibri/{component-DzpPAOzx.js → component-BXaOK6YH.js} +2 -2
  540. package/dist/kolibri/{component-DzpPAOzx.js.map → component-BXaOK6YH.js.map} +1 -1
  541. package/dist/kolibri/{component-8mzKPFWl.js → component-DBqyeAbt.js} +2 -2
  542. package/dist/kolibri/{component-8mzKPFWl.js.map → component-DBqyeAbt.js.map} +1 -1
  543. package/dist/kolibri/{component-BG44r5Mq.js → component-DDkRuod7.js} +2 -2
  544. package/dist/{esm/component-BG44r5Mq.js.map → kolibri/component-DDkRuod7.js.map} +1 -1
  545. package/dist/kolibri/component-lILf7M8Y.js +5 -0
  546. package/dist/kolibri/{component-CCQEFb4H.js.map → component-lILf7M8Y.js.map} +1 -1
  547. package/dist/kolibri/contrast-CnVYN_kl.js.map +1 -1
  548. package/dist/kolibri/{controller-CE9LAI82.js → controller-B-aPh-rK.js} +2 -2
  549. package/dist/kolibri/{controller-CE9LAI82.js.map → controller-B-aPh-rK.js.map} +1 -1
  550. package/dist/kolibri/{controller-iY_1YW2P.js → controller-BKG2L8_f.js} +2 -2
  551. package/dist/kolibri/{controller-iY_1YW2P.js.map → controller-BKG2L8_f.js.map} +1 -1
  552. package/dist/kolibri/controller-i4DAkaDb.js +5 -0
  553. package/dist/{esm/controller-BCZEcGnd.js.map → kolibri/controller-i4DAkaDb.js.map} +1 -1
  554. package/dist/kolibri/{controller-icon-CQmlbwLY.js → controller-icon-lAqXvi57.js} +2 -2
  555. package/dist/{esm/controller-icon-CQmlbwLY.js.map → kolibri/controller-icon-lAqXvi57.js.map} +1 -1
  556. package/dist/kolibri/{dev.utils-BXf9h7MR.js → dev.utils-4OwwrWYD.js} +2 -2
  557. package/dist/kolibri/{dev.utils-BXf9h7MR.js.map → dev.utils-4OwwrWYD.js.map} +1 -1
  558. package/dist/kolibri/{devtools-DhAP1aCO.js → devtools-DQZUKzkH.js} +2 -2
  559. package/dist/kolibri/{devtools-DhAP1aCO.js.map → devtools-DQZUKzkH.js.map} +1 -1
  560. package/dist/kolibri/{index-C5dCp7IP.js → index-wGO77oPq.js} +2 -2
  561. package/dist/{esm/index-C5dCp7IP.js.map → kolibri/index-wGO77oPq.js.map} +1 -1
  562. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  563. package/dist/kolibri/kol-abbr.entry.js +1 -1
  564. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  565. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  566. package/dist/kolibri/kol-accordion.entry.js +1 -1
  567. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  568. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  569. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  570. package/dist/kolibri/kol-alert.entry.js +1 -1
  571. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  572. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  573. package/dist/kolibri/kol-avatar.entry.js +1 -1
  574. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  575. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  576. package/dist/kolibri/kol-badge.entry.js +1 -1
  577. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  578. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  579. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  580. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  581. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  582. package/dist/kolibri/kol-button-link.entry.js +1 -1
  583. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  584. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  585. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  586. package/dist/kolibri/kol-button.entry.js +1 -1
  587. package/dist/kolibri/kol-button.entry.js.map +1 -1
  588. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  589. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  590. package/dist/kolibri/kol-card.entry.js +1 -1
  591. package/dist/kolibri/kol-card.entry.js.map +1 -1
  592. package/dist/kolibri/kol-click-button.entry.js +1 -1
  593. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  594. package/dist/kolibri/kol-combobox.entry.js +1 -1
  595. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  596. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  597. package/dist/kolibri/kol-details.entry.js +1 -1
  598. package/dist/kolibri/kol-details.entry.js.map +1 -1
  599. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  600. package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
  601. package/dist/kolibri/kol-dialog.entry.js +1 -1
  602. package/dist/kolibri/kol-dialog.entry.js.map +1 -1
  603. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  604. package/dist/kolibri/kol-drawer.entry.js +1 -1
  605. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  606. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  607. package/dist/kolibri/kol-form.entry.js +1 -1
  608. package/dist/kolibri/kol-form.entry.js.map +1 -1
  609. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  610. package/dist/kolibri/kol-heading.entry.js +1 -1
  611. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  612. package/dist/kolibri/kol-icon.entry.js +1 -1
  613. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  614. package/dist/kolibri/kol-image.entry.js +1 -1
  615. package/dist/kolibri/kol-image.entry.js.map +1 -1
  616. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  617. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  618. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  619. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  620. package/dist/kolibri/kol-input-color.entry.js +1 -1
  621. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  622. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  623. package/dist/kolibri/kol-input-date.entry.js +1 -1
  624. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  625. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  626. package/dist/kolibri/kol-input-email.entry.js +1 -1
  627. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  628. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  629. package/dist/kolibri/kol-input-file.entry.js +1 -1
  630. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  631. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  632. package/dist/kolibri/kol-input-number.entry.js +1 -1
  633. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  634. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  635. package/dist/kolibri/kol-input-password.entry.js +1 -1
  636. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  637. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  638. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  639. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  640. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  641. package/dist/kolibri/kol-input-range.entry.js +1 -1
  642. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  643. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  644. package/dist/kolibri/kol-input-text.entry.js +1 -1
  645. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  646. package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
  647. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  648. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  649. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  650. package/dist/kolibri/kol-link-button.entry.js +1 -1
  651. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  652. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  653. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  654. package/dist/kolibri/kol-link.entry.js +1 -1
  655. package/dist/kolibri/kol-link.entry.js.map +1 -1
  656. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  657. package/dist/kolibri/kol-meter.entry.js +1 -1
  658. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  659. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  660. package/dist/kolibri/kol-modal.entry.js +1 -1
  661. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  662. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  663. package/dist/kolibri/kol-nav.entry.js +1 -1
  664. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  665. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  666. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  667. package/dist/kolibri/kol-pagination.entry.js +1 -1
  668. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  669. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  670. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  671. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  672. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  673. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  674. package/dist/kolibri/kol-progress.entry.js +1 -1
  675. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  676. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  677. package/dist/kolibri/kol-quote.entry.js +1 -1
  678. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  679. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  680. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  681. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  682. package/dist/kolibri/kol-select.entry.js +1 -1
  683. package/dist/kolibri/kol-select.entry.js.map +1 -1
  684. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  685. package/dist/kolibri/kol-single-select.entry.js +1 -1
  686. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  687. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  688. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  689. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  690. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  691. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  692. package/dist/kolibri/kol-spin.entry.js +1 -1
  693. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  694. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  695. package/dist/kolibri/kol-split-button.entry.js +1 -1
  696. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  697. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  698. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  699. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  700. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  701. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  702. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  703. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  704. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  705. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  706. package/dist/kolibri/kol-tabs.entry.js +1 -1
  707. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  708. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  709. package/dist/kolibri/kol-textarea.entry.js +1 -1
  710. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  711. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  712. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  713. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  714. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  715. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  716. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  717. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  718. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  719. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  720. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  721. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  722. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  723. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  724. package/dist/kolibri/kol-tree.entry.js +1 -1
  725. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  726. package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
  727. package/dist/kolibri/kol-version.entry.js +1 -1
  728. package/dist/kolibri/kol-version.entry.js.map +1 -1
  729. package/dist/kolibri/kolibri.esm.js +1 -1
  730. package/dist/kolibri/test-component.entry.js +1 -1
  731. package/dist/types/schema/utils/contrast.d.ts +1 -1
  732. package/doc/badge.md +7 -0
  733. package/doc/button.md +3 -3
  734. package/doc/heading.md +3 -3
  735. package/doc/input-checkbox.md +3 -3
  736. package/doc/input-date.md +3 -3
  737. package/doc/input-email.md +3 -3
  738. package/doc/input-number.md +3 -3
  739. package/doc/input-password.md +3 -3
  740. package/doc/input-radio.md +3 -3
  741. package/doc/input-range.md +3 -3
  742. package/doc/input-text.md +3 -3
  743. package/doc/link.md +7 -0
  744. package/doc/select.md +3 -3
  745. package/package.json +6 -6
  746. package/dist/cjs/Alert-Bv-BrwWN.js.map +0 -1
  747. package/dist/esm/Alert-CVh_XwxH.js.map +0 -1
  748. package/dist/kolibri/Alert-CVh_XwxH.js +0 -5
  749. package/dist/kolibri/Alert-CVh_XwxH.js.map +0 -1
  750. package/dist/kolibri/Collapsible-Cy_Z7SX6.js +0 -5
  751. package/dist/kolibri/FieldControlStateWrapper-BY46U1nq.js +0 -5
  752. package/dist/kolibri/Input-B4nV0JRw.js +0 -5
  753. package/dist/kolibri/InputStateWrapper-Cjv8q51E.js +0 -5
  754. package/dist/kolibri/component-CCQEFb4H.js +0 -5
  755. package/dist/kolibri/controller-BCZEcGnd.js +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"kol-tree-item.entry.cjs.js","sources":["src/components/tree-item/style.scss?tag=kol-tree-item&mode=default&encapsulation=shadow","src/components/tree-item/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../@shared/icon.mixin' as *;\n\n@layer kol-component {\n\t@include kol-icon-styles();\n\n\t.kol-tree-item {\n\t\t$root: &;\n\n\t\t&__link {\n\t\t\t.kol-link {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmin-height: var(--a11y-min-size);\n\t\t\t\talign-items: center;\n\n\t\t\t\ttext-decoration: none;\n\t\t\t}\n\t\t}\n\n\t\t&__link-inner {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&__children {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tlist-style: none;\n\t\t}\n\n\t\t.kol-span {\n\t\t\tplace-items: unset; // unset 'center' style from global layer\n\t\t}\n\n\t\t&__toggle-button,\n\t\t&__toggle-button-placeholder {\n\t\t\tdisplay: inline-flex;\n\t\t\tmin-width: var(--a11y-min-size);\n\t\t\tmin-height: var(--a11y-min-size);\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t&__text {\n\t\t\ttext-decoration: underline;\n\t\t}\n\t}\n}\n","import { Component, h, type JSX, Method, Prop } from '@stencil/core';\n\nimport { KolTreeItemWcTag } from '../../core/component-names';\nimport type { HrefPropType, KolFocusOptions, LabelPropType, OpenPropType, TreeItemProps } from '../../schema';\n\n@Component({\n\ttag: 'kol-tree-item', // keep in sync with `const TREE_ITEM_TAG_NAME`\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTreeItem implements TreeItemProps {\n\tprivate element?: HTMLKolTreeItemWcElement;\n\n\t/**\n\t * If set (to true) the tree item is the active one.\n\t */\n\t@Prop() _active?: OpenPropType;\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() _label!: LabelPropType;\n\n\t/**\n\t * Opens/expands the element when truthy, closes/collapses when falsy.\n\t */\n\t@Prop() _open?: OpenPropType;\n\n\t/**\n\t * Defines the target URI of the link.\n\t */\n\t@Prop() _href!: HrefPropType;\n\n\t/**\n\t * Focuses the link element.\n\t */\n\t@Method() async focus(options?: KolFocusOptions) {\n\t\treturn this.element?.focus(options);\n\t}\n\n\t/**\n\t * Expands the tree item.\n\t */\n\t@Method() async expand() {\n\t\treturn Promise.resolve(this.element?.expand());\n\t}\n\n\t/**\n\t * Collapses the tree item.\n\t */\n\t@Method() async collapse() {\n\t\treturn Promise.resolve(this.element?.collapse());\n\t}\n\n\t/**\n\t * Returns whether the tree item is expanded.\n\t */\n\t@Method() async isOpen() {\n\t\treturn (await this.element?.isOpen()) ?? false;\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolTreeItemWcTag\n\t\t\t\t_active={this._active}\n\t\t\t\t_label={this._label}\n\t\t\t\t_open={this._open}\n\t\t\t\t_href={this._href}\n\t\t\t\tref={(element?: HTMLKolTreeItemWcElement) => (this.element = element)}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</KolTreeItemWcTag>\n\t\t);\n\t}\n}\n"],"names":["h","KolTreeItemWcTag"],"mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,swRAAswR;;MCYjxR,WAAW,GAAA,MAAA;;;;IA0Bb,MAAM,KAAK,CAAC,OAAyB,EAAA;;AAC9C,QAAA,OAAO,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,0CAAE,KAAK,CAAC,OAAO,CAAC;;AAM1B,IAAA,MAAM,MAAM,GAAA;;AACrB,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,MAAM,EAAE,CAAC;;AAMrC,IAAA,MAAM,QAAQ,GAAA;;AACvB,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,CAAC;;AAMvC,IAAA,MAAM,MAAM,GAAA;;QACrB,OAAO,CAAA,EAAA,IAAC,OAAM,MAAA,IAAI,CAAC,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,MAAM,EAAE,CAAA,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,KAAK;;IAGxC,MAAM,GAAA;AACZ,QAAA,QACCA,OAAC,CAAAC,+BAAgB,qDAChB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,CAAC,OAAkC,MAAM,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,EAAA,EAErED,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACU;;;;;;;;;"}
1
+ {"version":3,"file":"kol-tree-item.entry.cjs.js","sources":["src/components/tree-item/style.scss?tag=kol-tree-item&mode=default&encapsulation=shadow","src/components/tree-item/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../@shared/icon.mixin' as *;\n\n@layer kol-component {\n\t@include kol-icon-styles();\n\n\t.kol-tree-item {\n\t\t$root: &;\n\n\t\t&__link {\n\t\t\t.kol-link {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmin-height: var(--a11y-min-size);\n\t\t\t\talign-items: center;\n\n\t\t\t\ttext-decoration: none;\n\t\t\t}\n\t\t}\n\n\t\t&__link-inner {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&__children {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tlist-style: none;\n\t\t}\n\n\t\t.kol-span {\n\t\t\tplace-items: unset; // unset 'center' style from global layer\n\t\t}\n\n\t\t&__toggle-button,\n\t\t&__toggle-button-placeholder {\n\t\t\tdisplay: inline-flex;\n\t\t\tmin-width: var(--a11y-min-size);\n\t\t\tmin-height: var(--a11y-min-size);\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t&__text {\n\t\t\ttext-decoration: underline;\n\t\t}\n\t}\n}\n","import { Component, h, type JSX, Method, Prop } from '@stencil/core';\n\nimport { KolTreeItemWcTag } from '../../core/component-names';\nimport type { HrefPropType, KolFocusOptions, LabelPropType, OpenPropType, TreeItemProps } from '../../schema';\n\n@Component({\n\ttag: 'kol-tree-item', // keep in sync with `const TREE_ITEM_TAG_NAME`\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTreeItem implements TreeItemProps {\n\tprivate element?: HTMLKolTreeItemWcElement;\n\n\t/**\n\t * If set (to true) the tree item is the active one.\n\t */\n\t@Prop() _active?: OpenPropType;\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() _label!: LabelPropType;\n\n\t/**\n\t * Opens/expands the element when truthy, closes/collapses when falsy.\n\t */\n\t@Prop() _open?: OpenPropType;\n\n\t/**\n\t * Defines the target URI of the link.\n\t */\n\t@Prop() _href!: HrefPropType;\n\n\t/**\n\t * Focuses the link element.\n\t */\n\t@Method() async focus(options?: KolFocusOptions) {\n\t\treturn this.element?.focus(options);\n\t}\n\n\t/**\n\t * Expands the tree item.\n\t */\n\t@Method() async expand() {\n\t\treturn Promise.resolve(this.element?.expand());\n\t}\n\n\t/**\n\t * Collapses the tree item.\n\t */\n\t@Method() async collapse() {\n\t\treturn Promise.resolve(this.element?.collapse());\n\t}\n\n\t/**\n\t * Returns whether the tree item is expanded.\n\t */\n\t@Method() async isOpen() {\n\t\treturn (await this.element?.isOpen()) ?? false;\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolTreeItemWcTag\n\t\t\t\t_active={this._active}\n\t\t\t\t_label={this._label}\n\t\t\t\t_open={this._open}\n\t\t\t\t_href={this._href}\n\t\t\t\tref={(element?: HTMLKolTreeItemWcElement) => (this.element = element)}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</KolTreeItemWcTag>\n\t\t);\n\t}\n}\n"],"names":["h","KolTreeItemWcTag"],"mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,47RAA47R;;MCYv8R,WAAW,GAAA,MAAA;;;;IA0Bb,MAAM,KAAK,CAAC,OAAyB,EAAA;;AAC9C,QAAA,OAAO,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,0CAAE,KAAK,CAAC,OAAO,CAAC;;AAM1B,IAAA,MAAM,MAAM,GAAA;;AACrB,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,MAAM,EAAE,CAAC;;AAMrC,IAAA,MAAM,QAAQ,GAAA;;AACvB,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,CAAC;;AAMvC,IAAA,MAAM,MAAM,GAAA;;QACrB,OAAO,CAAA,EAAA,IAAC,OAAM,MAAA,IAAI,CAAC,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,MAAM,EAAE,CAAA,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,KAAK;;IAGxC,MAAM,GAAA;AACZ,QAAA,QACCA,OAAC,CAAAC,+BAAgB,qDAChB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,CAAC,OAAkC,MAAM,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,EAAA,EAErED,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACU;;;;;;;;;"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-uy6c1C7T.js');
6
+ var index = require('./index-PpdE67jR.js');
7
7
  var componentNames = require('./component-names-5KS_pYRF.js');
8
8
  require('./common-Bwi0J8Cv.js');
9
9
  var label = require('./label-Dx1QO2M-.js');
@@ -3,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-uy6c1C7T.js');
6
+ var index = require('./index-PpdE67jR.js');
7
7
  var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
8
8
  var componentNames = require('./component-names-5KS_pYRF.js');
9
9
  var elementInteraction = require('./element-interaction-CmOQWzhR.js');
10
10
  require('./common-Bwi0J8Cv.js');
11
11
  require('./element-focus-B4BhAkh_.js');
12
12
 
13
- const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n 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: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-tree__treeview-navigation {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n .kol-tree:focus-within {\n outline: 1px solid;\n outline-offset: 2px;\n }\n}";
13
+ const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n --kol-a11y-font-color: black;\n --kol-a11y-background-color: white;\n color: var(--kol-a11y-font-color);\n background-color: var(--kol-a11y-background-color);\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n --kol-a11y-font-family: Verdana;\n font-family: var(--kol-a11y-font-family);\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-tree__treeview-navigation {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n .kol-tree:focus-within {\n outline: 1px solid;\n outline-offset: 2px;\n }\n}";
14
14
 
15
15
  const KolTree = class {
16
16
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"version":3,"file":"kol-tree.entry.cjs.js","sources":["src/components/tree/style.scss?tag=kol-tree&mode=default&encapsulation=shadow","src/components/tree/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-tree {\n\t\t&__treeview-navigation {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tlist-style: none;\n\t\t}\n\n\t\t&:focus-within {\n\t\t\toutline: 1px solid;\n\t\t\toutline-offset: 2px;\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\n\nimport { KolTreeWcTag } from '../../core/component-names';\nimport type { FocusableElement, KolFocusOptions, LabelPropType, TreeProps } from '../../schema';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\n\n@Component({\n\ttag: 'kol-tree',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTree implements FocusableElement, TreeProps {\n\t@Element() protected readonly host?: HTMLKolTreeElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolTreeWcElement>();\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() _label!: LabelPropType;\n\n\t/**\n\t * Sets focus on the first focusable tree item.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolTreeWcTag _label={this._label} ref={this.ctaRef}>\n\t\t\t\t<slot />\n\t\t\t</KolTreeWcTag>\n\t\t);\n\t}\n}\n"],"names":["createCtaRef","h","KolTreeWcTag","__decorate","delegateFocus"],"mappings":";;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,6vLAA6vL;;MCcxwL,OAAO,GAAA,MAAA;AAPpB,IAAA,WAAA,CAAA,OAAA,EAAA;;AASoB,QAAA,IAAM,CAAA,MAAA,GAAGA,+BAAY,EAAwB;AAuBhE;AATO,IAAA,MAAM,KAAK,CAAC,OAAyB;IAErC,MAAM,GAAA;AACZ,QAAA,QACCC,OAAA,CAACC,2BAAY,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,EAAA,EAClDD,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACM;;;;AANJE,oBAAA,CAAA;IAHZC,gCAAa,CAAC,QAAQ;CAGwC,EAAA,OAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;"}
1
+ {"version":3,"file":"kol-tree.entry.cjs.js","sources":["src/components/tree/style.scss?tag=kol-tree&mode=default&encapsulation=shadow","src/components/tree/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-tree {\n\t\t&__treeview-navigation {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tlist-style: none;\n\t\t}\n\n\t\t&:focus-within {\n\t\t\toutline: 1px solid;\n\t\t\toutline-offset: 2px;\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\n\nimport { KolTreeWcTag } from '../../core/component-names';\nimport type { FocusableElement, KolFocusOptions, LabelPropType, TreeProps } from '../../schema';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\n\n@Component({\n\ttag: 'kol-tree',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTree implements FocusableElement, TreeProps {\n\t@Element() protected readonly host?: HTMLKolTreeElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolTreeWcElement>();\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() _label!: LabelPropType;\n\n\t/**\n\t * Sets focus on the first focusable tree item.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolTreeWcTag _label={this._label} ref={this.ctaRef}>\n\t\t\t\t<slot />\n\t\t\t</KolTreeWcTag>\n\t\t);\n\t}\n}\n"],"names":["createCtaRef","h","KolTreeWcTag","__decorate","delegateFocus"],"mappings":";;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,m7LAAm7L;;MCc97L,OAAO,GAAA,MAAA;AAPpB,IAAA,WAAA,CAAA,OAAA,EAAA;;AASoB,QAAA,IAAM,CAAA,MAAA,GAAGA,+BAAY,EAAwB;AAuBhE;AATO,IAAA,MAAM,KAAK,CAAC,OAAyB;IAErC,MAAM,GAAA;AACZ,QAAA,QACCC,OAAA,CAACC,2BAAY,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,EAAA,EAClDD,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACM;;;;AANJE,oBAAA,CAAA;IAHZC,gCAAa,CAAC,QAAQ;CAGwC,EAAA,OAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;"}
@@ -3,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-uy6c1C7T.js');
6
+ var index = require('./index-PpdE67jR.js');
7
7
  require('./common-Bwi0J8Cv.js');
8
8
  var label = require('./label-Dx1QO2M-.js');
9
9
  var i18n = require('./i18n-Cp31h8Qy.js');
10
10
  var componentNames = require('./component-names-5KS_pYRF.js');
11
11
  require('./i18n-c5BjxWQc.js');
12
12
 
13
- const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n 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: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}";
13
+ const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n --kol-a11y-font-color: black;\n --kol-a11y-background-color: white;\n color: var(--kol-a11y-font-color);\n background-color: var(--kol-a11y-background-color);\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n --kol-a11y-font-family: Verdana;\n font-family: var(--kol-a11y-font-family);\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}";
14
14
 
15
15
  const KolVersion = class {
16
16
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"version":3,"file":"kol-version.entry.cjs.js","sources":["src/components/version/style.scss?tag=kol-version&mode=default&encapsulation=shadow","src/components/version/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n","import { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { LabelPropType, VersionAPI, VersionStates } from '../../schema';\nimport { validateLabel } from '../../schema';\n\nimport { translate } from '../../i18n';\n\nimport type { JSX } from '@stencil/core';\nimport { KolBadgeTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-version',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolVersion implements VersionAPI {\n\tprivate readonly translateVersion = translate('kol-version');\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-version\">\n\t\t\t\t<KolBadgeTag\n\t\t\t\t\t_color=\"#bec5c9\"\n\t\t\t\t\t_icons={{\n\t\t\t\t\t\tleft: { icon: 'kolicon-version', label: this.translateVersion },\n\t\t\t\t\t}}\n\t\t\t\t\t_label={this.state._label}\n\t\t\t\t/>\n\t\t\t</Host>\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@State() public state: VersionStates = {\n\t\t_label: '0.0.0-alpha.0',\n\t};\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\t}\n}\n"],"names":["translate","h","Host","KolBadgeTag","validateLabel"],"mappings":";;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,6iLAA6iL;;MCgBxjL,UAAU,GAAA,MAAA;AAPvB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAQkB,QAAA,IAAA,CAAA,gBAAgB,GAAGA,cAAS,CAAC,aAAa,CAAC;QAoB5C,IAAA,CAAA,KAAK,GAAkB;AACtC,YAAA,MAAM,EAAE,eAAe;SACvB;AAYD;IAjCO,MAAM,GAAA;AACZ,QAAA,QACCC,OAAC,CAAAC,UAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EACxBD,OAAA,CAACE,0BAAW,EACX,EAAA,GAAA,EAAA,0CAAA,EAAA,MAAM,EAAC,SAAS,EAChB,MAAM,EAAE;gBACP,IAAI,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE;aAC/D,EACD,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAA,CACxB,CACI;;AAcF,IAAA,aAAa,CAAC,KAAqB,EAAA;AACzC,QAAAC,mBAAa,CAAC,IAAI,EAAE,KAAK,EAAE;AAC1B,YAAA,QAAQ,EAAE,IAAI;AACd,SAAA,CAAC;;IAGI,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-version.entry.cjs.js","sources":["src/components/version/style.scss?tag=kol-version&mode=default&encapsulation=shadow","src/components/version/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n","import { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { LabelPropType, VersionAPI, VersionStates } from '../../schema';\nimport { validateLabel } from '../../schema';\n\nimport { translate } from '../../i18n';\n\nimport type { JSX } from '@stencil/core';\nimport { KolBadgeTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-version',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolVersion implements VersionAPI {\n\tprivate readonly translateVersion = translate('kol-version');\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-version\">\n\t\t\t\t<KolBadgeTag\n\t\t\t\t\t_color=\"#bec5c9\"\n\t\t\t\t\t_icons={{\n\t\t\t\t\t\tleft: { icon: 'kolicon-version', label: this.translateVersion },\n\t\t\t\t\t}}\n\t\t\t\t\t_label={this.state._label}\n\t\t\t\t/>\n\t\t\t</Host>\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@State() public state: VersionStates = {\n\t\t_label: '0.0.0-alpha.0',\n\t};\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\t}\n}\n"],"names":["translate","h","Host","KolBadgeTag","validateLabel"],"mappings":";;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,muLAAmuL;;MCgB9uL,UAAU,GAAA,MAAA;AAPvB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAQkB,QAAA,IAAA,CAAA,gBAAgB,GAAGA,cAAS,CAAC,aAAa,CAAC;QAoB5C,IAAA,CAAA,KAAK,GAAkB;AACtC,YAAA,MAAM,EAAE,eAAe;SACvB;AAYD;IAjCO,MAAM,GAAA;AACZ,QAAA,QACCC,OAAC,CAAAC,UAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EACxBD,OAAA,CAACE,0BAAW,EACX,EAAA,GAAA,EAAA,0CAAA,EAAA,MAAM,EAAC,SAAS,EAChB,MAAM,EAAE;gBACP,IAAI,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE;aAC/D,EACD,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAA,CACxB,CACI;;AAcF,IAAA,aAAa,CAAC,KAAqB,EAAA;AACzC,QAAAC,mBAAa,CAAC,IAAI,EAAE,KAAK,EAAE;AAC1B,YAAA,QAAQ,EAAE,IAAI;AACd,SAAA,CAAC;;IAGI,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;;;;;;;;;;;;"}
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-uy6c1C7T.js');
7
- var appGlobals = require('./app-globals-Ca-u9rrU.js');
6
+ var index = require('./index-PpdE67jR.js');
7
+ var appGlobals = require('./app-globals-hKB4iA5u.js');
8
8
  require('./common-Bwi0J8Cv.js');
9
9
 
10
10
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-uy6c1C7T.js');
7
- var appGlobals = require('./app-globals-Ca-u9rrU.js');
6
+ var index = require('./index-PpdE67jR.js');
7
+ var appGlobals = require('./app-globals-hKB4iA5u.js');
8
8
  require('./common-Bwi0J8Cv.js');
9
9
 
10
10
  const defineCustomElements = async (win, options) => {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-uy6c1C7T.js');
6
+ var index = require('./index-PpdE67jR.js');
7
7
  require('./common-Bwi0J8Cv.js');
8
8
 
9
9
  const TestComponent = class {
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
211
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
213
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
212
215
  }
213
216
  @layer kol-component {
214
217
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -269,8 +272,8 @@
269
272
  }
270
273
  @font-face {
271
274
  font-family: "kolicons";
272
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
273
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
275
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
276
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
274
277
  }
275
278
  @layer kol-component {
276
279
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -212,8 +215,8 @@
212
215
  }
213
216
  @font-face {
214
217
  font-family: "kolicons";
215
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
216
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
218
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
219
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
217
220
  }
218
221
  @layer kol-component {
219
222
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -402,16 +405,22 @@
402
405
  }
403
406
  .kol-alert {
404
407
  display: grid;
408
+ grid-template-areas: "icon heading close" "icon content close";
409
+ grid-template-columns: min-content 1fr min-content;
410
+ grid-template-rows: min-content min-content;
405
411
  }
406
- .kol-alert__container {
407
- display: flex;
408
- place-items: center;
412
+ .kol-alert__icon {
413
+ grid-area: icon;
409
414
  }
410
- .kol-alert__container-content {
411
- flex-grow: 1;
415
+ .kol-alert__heading {
416
+ grid-area: heading;
412
417
  }
413
418
  .kol-alert__closer {
414
419
  /* Visible with forced colors */
415
420
  outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
421
+ grid-area: close;
422
+ }
423
+ .kol-alert__content {
424
+ grid-area: content;
416
425
  }
417
426
  }
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -36,12 +36,12 @@ export class KolBadge {
36
36
  async focus(options) { }
37
37
  render() {
38
38
  const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;
39
- return (h("span", { key: '9091b07e3ef752f765f96bbd66eaa329ae89543d', class: clsx('kol-badge', {
39
+ return (h("span", { key: 'ce393c9b3887fa2a1fd1545830766fc398495d92', class: clsx('kol-badge', {
40
40
  'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,
41
41
  }), style: {
42
42
  backgroundColor: this.bgColorStr,
43
43
  color: this.colorStr,
44
- } }, h(SpanFC, { key: '9a0ee2dd77bfad8c7043cca5229b4398af16e6b8', class: "kol-badge__label", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));
44
+ } }, h(SpanFC, { key: '6c4fed34445543666bf3f3b9bf3830ee51411938', class: "kol-badge__label", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));
45
45
  }
46
46
  validateIcons(value) {
47
47
  validateIcons(this, value);
@@ -1 +1 @@
1
- {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/badge/shadow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAY7E,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEtI,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC9E,WAAW,CAAC,qEAAqE,CAAC,CAAC;AAanF,MAAM,OAAO,QAAQ;IAPrB;QASS,eAAU,GAAG,MAAM,CAAC;QACpB,aAAQ,GAAG,MAAM,CAAC;QACT,OAAE,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;QACjC,WAAM,GAAG,YAAY,EAA0B,CAAC;QAqDpD,WAAM,GAA4B,MAAM,CAAC;QAiBxC,UAAK,GAAgB;YACpC,MAAM,EAAE;gBACP,eAAe,EAAE,MAAM;gBACvB,eAAe,EAAE,MAAM;aACvB;YACD,MAAM,EAAE,EAAE;SACV,CAAC;QAEM,sBAAiB,GAAG,CAAC,KAAc,EAAE,EAAE;YAC9C,MAAM,SAAS,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;YAC3C,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,eAAe,CAAC;YAC5C,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,eAAe,CAAC;QAC3C,CAAC,CAAC;KAkCF;IAlHQ,iBAAiB,CAAC,KAA0B;QACnD,OAAO,CACN,EAAC,cAAc,IACd,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,KAAK,EAAC,yBAAyB,EAC/B,aAAa,EAAE,IAAI,CAAC,EAAE,EACtB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,EACxC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,YAAY,EAAE,KAAK,CAAC,YAAY,EAChC,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,UAAU,EAAE,IAAI,EAChB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,aAAa,EAAE,KAAK,CAAC,aAAa,GACjC,CACF,CAAC;IACH,CAAC;IASY,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAExD,MAAM;QACZ,MAAM,cAAc,GAAG,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;QAEvG,OAAO,CACN,6DACC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE;gBACxB,6BAA6B,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,IAAI;aAC9G,CAAC,EACF,KAAK,EAAE;gBACN,eAAe,EAAE,IAAI,CAAC,UAAU;gBAChC,KAAK,EAAE,IAAI,CAAC,QAAQ;aACpB;YAED,EAAC,MAAM,qDAAC,KAAK,EAAC,kBAAkB,EAAC,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,EAAE,aAAa,QAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,GAAI;YACxI,cAAc,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,YAAmC,CAAC,CACnF,CACP,CAAC;IACH,CAAC;IAqCM,aAAa,CAAC,KAAwB;QAC5C,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAGM,aAAa,CAAC,KAA8B;QAClD,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE;YAC1B,YAAY,EAAE,MAAM;YACpB,KAAK,EAAE;gBACN,WAAW,EAAE,IAAI,CAAC,iBAAiB;aACnC;SACD,CAAC,CAAC;IACJ,CAAC;IAGM,mBAAmB,CAAC,KAAoC;QAC9D,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE;YAC/B,IAAI,CAAC;gBACJ,KAAK,GAAG,SAAS,CAAsB,KAAe,CAAC,CAAC;YACzD,CAAC;YAAC,WAAM,CAAC;YAET,CAAC;YACD,QAAQ,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACJ,CAAC;IAEM,iBAAiB;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC7C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAvFa;IAHZ,aAAa,CAAC,QAAQ,CAAC;qCAGuC","sourcesContent":["import { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport type {\n\tBadgeAPI,\n\tBadgeStates,\n\tFocusableElement,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tKoliBriIconsProp,\n\tLabelPropType,\n\tPropColor,\n\tStringified,\n} from '../../schema';\nimport { featureHint, handleColorChange, objectObjectHandler, parseJson, setState, validateColor, validateIcons } from '../../schema';\n\nimport { createUniqueId } from '../../utils/dev.utils';\n\nimport type { JSX } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport clsx from '../../utils/clsx';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\n\n/**\n * The **Badge** component allows you to visually highlight specific information.\n * In addition to specifying the background color and automatically calculating the text color, it also supports adding an icon and/or a different font style.\n */\n@Component({\n\ttag: 'kol-badge',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolBadge implements BadgeAPI, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolBadgeElement;\n\tprivate bgColorStr = '#000';\n\tprivate colorStr = '#fff';\n\tprivate readonly id = createUniqueId('badge-label');\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\tprivate renderSmartButton(props: InternalButtonProps): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\tclass=\"kol-badge__smart-button\"\n\t\t\t\t_ariaControls={this.id}\n\t\t\t\t_ariaDescription={props._ariaDescription}\n\t\t\t\t_variant={props._variant}\n\t\t\t\t_customClass={props._customClass}\n\t\t\t\t_disabled={props._disabled}\n\t\t\t\t_hideLabel={true}\n\t\t\t\t_icons={props._icons}\n\t\t\t\t_id={props._id}\n\t\t\t\t_label={props._label}\n\t\t\t\t_on={props._on}\n\t\t\t\t_tooltipAlign={props._tooltipAlign}\n\t\t\t/>\n\t\t);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\tconst hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n\n\t\treturn (\n\t\t\t<span\n\t\t\t\tclass={clsx('kol-badge', {\n\t\t\t\t\t'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\tbackgroundColor: this.bgColorStr,\n\t\t\t\t\tcolor: this.colorStr,\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<SpanFC class=\"kol-badge__label\" id={hasSmartButton ? this.id : undefined} allowMarkdown icons={this.state._icons} label={this._label} />\n\t\t\t\t{hasSmartButton && this.renderSmartButton(this.state._smartButton as InternalButtonProps)}\n\t\t\t</span>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#000';\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 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 * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t@State() public state: BadgeStates = {\n\t\t_color: {\n\t\t\tbackgroundColor: '#000',\n\t\t\tforegroundColor: '#fff',\n\t\t},\n\t\t_icons: {},\n\t};\n\n\tprivate handleColorChange = (value: unknown) => {\n\t\tconst colorPair = handleColorChange(value);\n\t\tthis.bgColorStr = colorPair.backgroundColor;\n\t\tthis.colorStr = colorPair.foregroundColor;\n\t};\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: KoliBriIconsProp): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#000',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<InternalButtonProps>(value as string);\n\t\t\t} catch {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateColor(this._color);\n\t\tthis.validateSmartButton(this._smartButton);\n\t}\n}\n"]}
1
+ {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/badge/shadow.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport type {\n\tBadgeAPI,\n\tBadgeStates,\n\tFocusableElement,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tKoliBriIconsProp,\n\tLabelPropType,\n\tPropColor,\n\tStringified,\n} from '../../schema';\nimport { featureHint, handleColorChange, objectObjectHandler, parseJson, setState, validateColor, validateIcons } from '../../schema';\n\nimport { createUniqueId } from '../../utils/dev.utils';\n\nimport type { JSX } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport clsx from '../../utils/clsx';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\n\n/**\n * The **Badge** component allows you to visually highlight specific information.\n * In addition to specifying the background color and automatically calculating the text color, it also supports adding an icon and/or a different font style.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-badge',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolBadge implements BadgeAPI, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolBadgeElement;\n\tprivate bgColorStr = '#000';\n\tprivate colorStr = '#fff';\n\tprivate readonly id = createUniqueId('badge-label');\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\tprivate renderSmartButton(props: InternalButtonProps): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\tclass=\"kol-badge__smart-button\"\n\t\t\t\t_ariaControls={this.id}\n\t\t\t\t_ariaDescription={props._ariaDescription}\n\t\t\t\t_variant={props._variant}\n\t\t\t\t_customClass={props._customClass}\n\t\t\t\t_disabled={props._disabled}\n\t\t\t\t_hideLabel={true}\n\t\t\t\t_icons={props._icons}\n\t\t\t\t_id={props._id}\n\t\t\t\t_label={props._label}\n\t\t\t\t_on={props._on}\n\t\t\t\t_tooltipAlign={props._tooltipAlign}\n\t\t\t/>\n\t\t);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\tconst hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n\n\t\treturn (\n\t\t\t<span\n\t\t\t\tclass={clsx('kol-badge', {\n\t\t\t\t\t'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\tbackgroundColor: this.bgColorStr,\n\t\t\t\t\tcolor: this.colorStr,\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<SpanFC class=\"kol-badge__label\" id={hasSmartButton ? this.id : undefined} allowMarkdown icons={this.state._icons} label={this._label} />\n\t\t\t\t{hasSmartButton && this.renderSmartButton(this.state._smartButton as InternalButtonProps)}\n\t\t\t</span>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#000';\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 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 * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t@State() public state: BadgeStates = {\n\t\t_color: {\n\t\t\tbackgroundColor: '#000',\n\t\t\tforegroundColor: '#fff',\n\t\t},\n\t\t_icons: {},\n\t};\n\n\tprivate handleColorChange = (value: unknown) => {\n\t\tconst colorPair = handleColorChange(value);\n\t\tthis.bgColorStr = colorPair.backgroundColor;\n\t\tthis.colorStr = colorPair.foregroundColor;\n\t};\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: KoliBriIconsProp): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#000',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<InternalButtonProps>(value as string);\n\t\t\t} catch {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateColor(this._color);\n\t\tthis.validateSmartButton(this._smartButton);\n\t}\n}\n"]}
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
211
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
213
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
212
215
  }
213
216
  @layer kol-component {
214
217
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
211
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
213
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
212
215
  }
213
216
  @layer kol-component {
214
217
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -20,7 +20,7 @@ export class KolButton {
20
20
  async focus(options) { }
21
21
  async click() { }
22
22
  render() {
23
- return (h(KolButtonWcTag, { key: '1d5a15e4e38f1c51b52d377661ad34f0d5b5e5a0', ref: this.ctaRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, h("slot", { key: '6a429fbfe82675a50cc4e8598a83669bdcd6d608', name: "expert", slot: "expert" })));
23
+ return (h(KolButtonWcTag, { key: '676a47a291dc485c9bd2fb41ccd87a7d3c267d59', ref: this.ctaRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, h("slot", { key: '393c40fe3beb2cb2fe1f2533feb7a3a99ee3b4cf', name: "expert", slot: "expert" })));
24
24
  }
25
25
  static get is() { return "kol-button"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/button/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAqB5D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAc7F,MAAM,OAAO,SAAS;IAPtB;QASoB,WAAM,GAAG,YAAY,EAA0B,CAAC;QAyFpD,cAAS,GAAa,KAAK,CAAC;QAO5B,eAAU,GAAa,KAAK,CAAC;QAU7B,YAAO,GAAoB,KAAK,CAAC;QAsCjC,kBAAa,GAA0B,KAAK,CAAC;QAK7C,UAAK,GAAwB,QAAQ,CAAC;KAWrD;IAzJO,KAAK,CAAC,QAAQ;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IASY,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAOlD,AAAN,KAAK,CAAC,KAAK,KAAmB,CAAC;IAE/B,MAAM;QACZ,OAAO,CACN,EAAC,cAAc,qDACd,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YAEvB,6DAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CACzB,CACjB,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GD;AA9Ia;IAHZ,aAAa,CAAC,QAAQ,CAAC;sCAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;sCACc","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonProps,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Button** component is used to present users with action options and arrange them in a clear hierarchy. It helps users find the most important actions on a page or within a viewport and allows them to execute those actions. The button label clearly indicates which action will be triggered. Buttons allow users to confirm a change, complete steps in a task, or make decisions.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons.\n */\n@Component({\n\ttag: 'kol-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolButton implements ButtonProps, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this._value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"]}
1
+ {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/button/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAqB5D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAc7F,MAAM,OAAO,SAAS;IAPtB;QASoB,WAAM,GAAG,YAAY,EAA0B,CAAC;QAyFpD,cAAS,GAAa,KAAK,CAAC;QAO5B,eAAU,GAAa,KAAK,CAAC;QAU7B,YAAO,GAAoB,KAAK,CAAC;QAsCjC,kBAAa,GAA0B,KAAK,CAAC;QAK7C,UAAK,GAAwB,QAAQ,CAAC;KAWrD;IAzJO,KAAK,CAAC,QAAQ;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IASY,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAOlD,AAAN,KAAK,CAAC,KAAK,KAAmB,CAAC;IAE/B,MAAM;QACZ,OAAO,CACN,EAAC,cAAc,qDACd,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YAEvB,6DAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CACzB,CACjB,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GD;AA9Ia;IAHZ,aAAa,CAAC,QAAQ,CAAC;sCAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;sCACc","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonProps,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Button** component is used to present users with action options and arrange them in a clear hierarchy. It helps users find the most important actions on a page or within a viewport and allows them to execute those actions. The button label clearly indicates which action will be triggered. Buttons allow users to confirm a change, complete steps in a task, or make decisions.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolButton implements ButtonProps, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this._value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"]}
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
211
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
213
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
212
215
  }
213
216
  @layer kol-component {
214
217
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
211
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
213
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
212
215
  }
213
216
  @layer kol-component {
214
217
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1785404144300"); /* IE9*/
211
- src: url("kolicons.eot?t=1785404144300#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785404144300") format("woff2"), url("kolicons.woff?t=1785404144300") format("woff"), url("kolicons.ttf?t=1785404144300") format("truetype"), url("kolicons.svg?t=1785404144300#kolicons") format("svg"); /* iOS 4.1- */
213
+ src: url("kolicons.eot?t=1785745220083"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785745220083#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785745220083") format("woff2"), url("kolicons.woff?t=1785745220083") format("woff"), url("kolicons.ttf?t=1785745220083") format("truetype"), url("kolicons.svg?t=1785745220083#kolicons") format("svg"); /* iOS 4.1- */
212
215
  }
213
216
  @layer kol-component {
214
217
  [class^=kolicon-], [class*=" kolicon-"] {