@public-ui/components 4.3.0-rc.6 → 4.3.0-rc.7

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-C3pvKfEr.js} +7 -7
  8. package/dist/cjs/Alert-C3pvKfEr.js.map +1 -0
  9. package/dist/cjs/{Collapsible-N888YIaY.js → Collapsible-BKE1sV0b.js} +5 -5
  10. package/dist/cjs/{Collapsible-N888YIaY.js.map → Collapsible-BKE1sV0b.js.map} +1 -1
  11. package/dist/cjs/{CustomSuggestionsOptionsGroup-Ce_KdNHi.js → CustomSuggestionsOptionsGroup-BAne75ww.js} +3 -3
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-Ce_KdNHi.js.map → CustomSuggestionsOptionsGroup-BAne75ww.js.map} +1 -1
  13. package/dist/cjs/{FieldControlStateWrapper-Dlk1fdof.js → FieldControlStateWrapper-B7bYXKJL.js} +7 -7
  14. package/dist/cjs/{FieldControlStateWrapper-Dlk1fdof.js.map → FieldControlStateWrapper-B7bYXKJL.js.map} +1 -1
  15. package/dist/cjs/{FormFieldStateWrapper-DG4emSy6.js → FormFieldStateWrapper-DgUSSbZf.js} +7 -7
  16. package/dist/cjs/{FormFieldStateWrapper-DG4emSy6.js.map → FormFieldStateWrapper-DgUSSbZf.js.map} +1 -1
  17. package/dist/cjs/{Heading-CW1KAWWX.js → Heading-DzKQyDpP.js} +3 -3
  18. package/dist/cjs/{Heading-CW1KAWWX.js.map → Heading-DzKQyDpP.js.map} +1 -1
  19. package/dist/cjs/{Input-Cmz65bTo.js → Input-C7b2Z5zF.js} +5 -5
  20. package/dist/cjs/{Input-Cmz65bTo.js.map → Input-C7b2Z5zF.js.map} +1 -1
  21. package/dist/cjs/{InputStateWrapper-IceSl4Va.js → InputStateWrapper-elumvjqS.js} +6 -6
  22. package/dist/cjs/{InputStateWrapper-IceSl4Va.js.map → InputStateWrapper-elumvjqS.js.map} +1 -1
  23. package/dist/cjs/{app-globals-Ca-u9rrU.js → app-globals-DncuzGyd.js} +4 -4
  24. package/dist/cjs/{app-globals-Ca-u9rrU.js.map → app-globals-DncuzGyd.js.map} +1 -1
  25. package/dist/cjs/{component-Ds_ZSFId.js → component-BENjBgXJ.js} +4 -4
  26. package/dist/cjs/{component-Ds_ZSFId.js.map → component-BENjBgXJ.js.map} +1 -1
  27. package/dist/cjs/{component-lcKfLD3W.js → component-BgUUQHA5.js} +3 -3
  28. package/dist/cjs/{component-lcKfLD3W.js.map → component-BgUUQHA5.js.map} +1 -1
  29. package/dist/cjs/{component-MHZzZs8b.js → component-DXkDuM1_.js} +3 -3
  30. package/dist/cjs/{component-MHZzZs8b.js.map → component-DXkDuM1_.js.map} +1 -1
  31. package/dist/cjs/{component-D2XqZH09.js → component-P0QRvZsY.js} +4 -4
  32. package/dist/cjs/{component-D2XqZH09.js.map → component-P0QRvZsY.js.map} +1 -1
  33. package/dist/cjs/contrast-BaY16D1Q.js.map +1 -1
  34. package/dist/cjs/{controller-C1na4nXZ.js → controller-BhH0B9tJ.js} +3 -3
  35. package/dist/cjs/{controller-C1na4nXZ.js.map → controller-BhH0B9tJ.js.map} +1 -1
  36. package/dist/cjs/{controller-CplkzBYs.js → controller-DQ_3nGoo.js} +3 -3
  37. package/dist/cjs/{controller-CplkzBYs.js.map → controller-DQ_3nGoo.js.map} +1 -1
  38. package/dist/cjs/{controller-_MCMA-7O.js → controller-PrSsU3CZ.js} +3 -3
  39. package/dist/cjs/{controller-_MCMA-7O.js.map → controller-PrSsU3CZ.js.map} +1 -1
  40. package/dist/cjs/{controller-icon-BrREvyH1.js → controller-icon-Duw_ynD2.js} +6 -6
  41. package/dist/cjs/{controller-icon-BrREvyH1.js.map → controller-icon-Duw_ynD2.js.map} +1 -1
  42. package/dist/cjs/{dev.utils-BqG9VVIl.js → dev.utils-DqPZCx0U.js} +3 -3
  43. package/dist/cjs/{dev.utils-BqG9VVIl.js.map → dev.utils-DqPZCx0U.js.map} +1 -1
  44. package/dist/cjs/{devtools-CRdIaIkv.js → devtools-QteRskKN.js} +4 -4
  45. package/dist/cjs/{devtools-CRdIaIkv.js.map → devtools-QteRskKN.js.map} +1 -1
  46. package/dist/cjs/{index-uy6c1C7T.js → index-BDVimyfu.js} +3 -3
  47. package/dist/cjs/{index-uy6c1C7T.js.map → index-BDVimyfu.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-cp5bayLz.js} +7 -7
  361. package/dist/esm/Alert-cp5bayLz.js.map +1 -0
  362. package/dist/esm/{Collapsible-Cy_Z7SX6.js → Collapsible-DiYcOtsM.js} +5 -5
  363. package/dist/{kolibri/Collapsible-Cy_Z7SX6.js.map → esm/Collapsible-DiYcOtsM.js.map} +1 -1
  364. package/dist/esm/{CustomSuggestionsOptionsGroup-2QjXZ-dA.js → CustomSuggestionsOptionsGroup-BRJ_DY3Z.js} +3 -3
  365. package/dist/{kolibri/CustomSuggestionsOptionsGroup-2QjXZ-dA.js.map → esm/CustomSuggestionsOptionsGroup-BRJ_DY3Z.js.map} +1 -1
  366. package/dist/esm/{FieldControlStateWrapper-BY46U1nq.js → FieldControlStateWrapper-CI_wI37R.js} +7 -7
  367. package/dist/esm/{FieldControlStateWrapper-BY46U1nq.js.map → FieldControlStateWrapper-CI_wI37R.js.map} +1 -1
  368. package/dist/esm/{FormFieldStateWrapper-DFV1TBk5.js → FormFieldStateWrapper-Bbl_Hax4.js} +7 -7
  369. package/dist/esm/{FormFieldStateWrapper-DFV1TBk5.js.map → FormFieldStateWrapper-Bbl_Hax4.js.map} +1 -1
  370. package/dist/esm/{Heading-BKIw2hie.js → Heading-f6yzeaDw.js} +3 -3
  371. package/dist/esm/{Heading-BKIw2hie.js.map → Heading-f6yzeaDw.js.map} +1 -1
  372. package/dist/esm/{Input-B4nV0JRw.js → Input-BHBuMBKt.js} +5 -5
  373. package/dist/{kolibri/Input-B4nV0JRw.js.map → esm/Input-BHBuMBKt.js.map} +1 -1
  374. package/dist/esm/{InputStateWrapper-Cjv8q51E.js → InputStateWrapper-D2Xq4dna.js} +6 -6
  375. package/dist/esm/{InputStateWrapper-Cjv8q51E.js.map → InputStateWrapper-D2Xq4dna.js.map} +1 -1
  376. package/dist/esm/{app-globals-DBooI_-E.js → app-globals-C0pZJpQt.js} +4 -4
  377. package/dist/esm/{app-globals-DBooI_-E.js.map → app-globals-C0pZJpQt.js.map} +1 -1
  378. package/dist/esm/{component-CCQEFb4H.js → component-B_R2QCjt.js} +3 -3
  379. package/dist/esm/{component-CCQEFb4H.js.map → component-B_R2QCjt.js.map} +1 -1
  380. package/dist/esm/{component-8mzKPFWl.js → component-CTb4Y6Mi.js} +4 -4
  381. package/dist/esm/{component-8mzKPFWl.js.map → component-CTb4Y6Mi.js.map} +1 -1
  382. package/dist/esm/{component-BG44r5Mq.js → component-cakhwjRD.js} +4 -4
  383. package/dist/{kolibri/component-BG44r5Mq.js.map → esm/component-cakhwjRD.js.map} +1 -1
  384. package/dist/esm/{component-DzpPAOzx.js → component-k15zosp5.js} +3 -3
  385. package/dist/esm/{component-DzpPAOzx.js.map → component-k15zosp5.js.map} +1 -1
  386. package/dist/esm/contrast-CnVYN_kl.js.map +1 -1
  387. package/dist/esm/{controller-CE9LAI82.js → controller-CjOmo-9R.js} +3 -3
  388. package/dist/esm/{controller-CE9LAI82.js.map → controller-CjOmo-9R.js.map} +1 -1
  389. package/dist/esm/{controller-BCZEcGnd.js → controller-DVDbSOwf.js} +3 -3
  390. package/dist/{kolibri/controller-BCZEcGnd.js.map → esm/controller-DVDbSOwf.js.map} +1 -1
  391. package/dist/esm/{controller-iY_1YW2P.js → controller-DarWdDJJ.js} +3 -3
  392. package/dist/esm/{controller-iY_1YW2P.js.map → controller-DarWdDJJ.js.map} +1 -1
  393. package/dist/esm/{controller-icon-CQmlbwLY.js → controller-icon-D8f62EhI.js} +6 -6
  394. package/dist/{kolibri/controller-icon-CQmlbwLY.js.map → esm/controller-icon-D8f62EhI.js.map} +1 -1
  395. package/dist/esm/{dev.utils-BXf9h7MR.js → dev.utils-CIi6OrYn.js} +3 -3
  396. package/dist/esm/{dev.utils-BXf9h7MR.js.map → dev.utils-CIi6OrYn.js.map} +1 -1
  397. package/dist/esm/{devtools-DhAP1aCO.js → devtools-B2OyYJyG.js} +4 -4
  398. package/dist/esm/{devtools-DhAP1aCO.js.map → devtools-B2OyYJyG.js.map} +1 -1
  399. package/dist/esm/{index-C5dCp7IP.js → index-5bbrauFT.js} +3 -3
  400. package/dist/{kolibri/index-C5dCp7IP.js.map → esm/index-5bbrauFT.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-CVh_XwxH.js → Alert-cp5bayLz.js} +2 -2
  522. package/dist/kolibri/Alert-cp5bayLz.js.map +1 -0
  523. package/dist/kolibri/{Collapsible-Cy_Z7SX6.js → Collapsible-DiYcOtsM.js} +2 -2
  524. package/dist/{esm/Collapsible-Cy_Z7SX6.js.map → kolibri/Collapsible-DiYcOtsM.js.map} +1 -1
  525. package/dist/kolibri/{CustomSuggestionsOptionsGroup-2QjXZ-dA.js → CustomSuggestionsOptionsGroup-BRJ_DY3Z.js} +2 -2
  526. package/dist/{esm/CustomSuggestionsOptionsGroup-2QjXZ-dA.js.map → kolibri/CustomSuggestionsOptionsGroup-BRJ_DY3Z.js.map} +1 -1
  527. package/dist/kolibri/FieldControlStateWrapper-CI_wI37R.js +5 -0
  528. package/dist/kolibri/{FieldControlStateWrapper-BY46U1nq.js.map → FieldControlStateWrapper-CI_wI37R.js.map} +1 -1
  529. package/dist/kolibri/{FormFieldStateWrapper-DFV1TBk5.js → FormFieldStateWrapper-Bbl_Hax4.js} +2 -2
  530. package/dist/kolibri/{FormFieldStateWrapper-DFV1TBk5.js.map → FormFieldStateWrapper-Bbl_Hax4.js.map} +1 -1
  531. package/dist/kolibri/Heading-f6yzeaDw.js +5 -0
  532. package/dist/kolibri/{Heading-BKIw2hie.js.map → Heading-f6yzeaDw.js.map} +1 -1
  533. package/dist/kolibri/Input-BHBuMBKt.js +5 -0
  534. package/dist/{esm/Input-B4nV0JRw.js.map → kolibri/Input-BHBuMBKt.js.map} +1 -1
  535. package/dist/kolibri/InputStateWrapper-D2Xq4dna.js +5 -0
  536. package/dist/kolibri/{InputStateWrapper-Cjv8q51E.js.map → InputStateWrapper-D2Xq4dna.js.map} +1 -1
  537. package/dist/kolibri/{app-globals-DBooI_-E.js → app-globals-C0pZJpQt.js} +2 -2
  538. package/dist/kolibri/{app-globals-DBooI_-E.js.map → app-globals-C0pZJpQt.js.map} +1 -1
  539. package/dist/kolibri/component-B_R2QCjt.js +5 -0
  540. package/dist/kolibri/{component-CCQEFb4H.js.map → component-B_R2QCjt.js.map} +1 -1
  541. package/dist/kolibri/component-CTb4Y6Mi.js +5 -0
  542. package/dist/kolibri/{component-8mzKPFWl.js.map → component-CTb4Y6Mi.js.map} +1 -1
  543. package/dist/kolibri/{component-BG44r5Mq.js → component-cakhwjRD.js} +2 -2
  544. package/dist/{esm/component-BG44r5Mq.js.map → kolibri/component-cakhwjRD.js.map} +1 -1
  545. package/dist/kolibri/{component-DzpPAOzx.js → component-k15zosp5.js} +2 -2
  546. package/dist/kolibri/{component-DzpPAOzx.js.map → component-k15zosp5.js.map} +1 -1
  547. package/dist/kolibri/contrast-CnVYN_kl.js.map +1 -1
  548. package/dist/kolibri/{controller-CE9LAI82.js → controller-CjOmo-9R.js} +2 -2
  549. package/dist/kolibri/{controller-CE9LAI82.js.map → controller-CjOmo-9R.js.map} +1 -1
  550. package/dist/kolibri/{controller-BCZEcGnd.js → controller-DVDbSOwf.js} +2 -2
  551. package/dist/{esm/controller-BCZEcGnd.js.map → kolibri/controller-DVDbSOwf.js.map} +1 -1
  552. package/dist/kolibri/{controller-iY_1YW2P.js → controller-DarWdDJJ.js} +2 -2
  553. package/dist/kolibri/{controller-iY_1YW2P.js.map → controller-DarWdDJJ.js.map} +1 -1
  554. package/dist/kolibri/{controller-icon-CQmlbwLY.js → controller-icon-D8f62EhI.js} +2 -2
  555. package/dist/{esm/controller-icon-CQmlbwLY.js.map → kolibri/controller-icon-D8f62EhI.js.map} +1 -1
  556. package/dist/kolibri/{dev.utils-BXf9h7MR.js → dev.utils-CIi6OrYn.js} +2 -2
  557. package/dist/kolibri/{dev.utils-BXf9h7MR.js.map → dev.utils-CIi6OrYn.js.map} +1 -1
  558. package/dist/kolibri/{devtools-DhAP1aCO.js → devtools-B2OyYJyG.js} +2 -2
  559. package/dist/kolibri/{devtools-DhAP1aCO.js.map → devtools-B2OyYJyG.js.map} +1 -1
  560. package/dist/kolibri/{index-C5dCp7IP.js → index-5bbrauFT.js} +2 -2
  561. package/dist/{esm/index-C5dCp7IP.js.map → kolibri/index-5bbrauFT.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-wc.entry.js.map +1 -1
  654. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  655. package/dist/kolibri/kol-link.entry.js +1 -1
  656. package/dist/kolibri/kol-link.entry.js.map +1 -1
  657. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  658. package/dist/kolibri/kol-meter.entry.js +1 -1
  659. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  660. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  661. package/dist/kolibri/kol-modal.entry.js +1 -1
  662. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  663. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  664. package/dist/kolibri/kol-nav.entry.js +1 -1
  665. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  666. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  667. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  668. package/dist/kolibri/kol-pagination.entry.js +1 -1
  669. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  670. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  671. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  672. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  673. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  674. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  675. package/dist/kolibri/kol-progress.entry.js +1 -1
  676. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  677. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  678. package/dist/kolibri/kol-quote.entry.js +1 -1
  679. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  680. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  681. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  682. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  683. package/dist/kolibri/kol-select.entry.js +1 -1
  684. package/dist/kolibri/kol-select.entry.js.map +1 -1
  685. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  686. package/dist/kolibri/kol-single-select.entry.js +1 -1
  687. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  688. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  689. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  690. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  691. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  692. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  693. package/dist/kolibri/kol-spin.entry.js +1 -1
  694. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  695. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  696. package/dist/kolibri/kol-split-button.entry.js +1 -1
  697. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  698. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  699. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  700. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  701. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  702. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  703. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  704. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  705. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  706. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  707. package/dist/kolibri/kol-tabs.entry.js +1 -1
  708. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  709. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  710. package/dist/kolibri/kol-textarea.entry.js +1 -1
  711. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  712. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  713. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  714. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  715. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  716. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  717. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  718. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  719. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  720. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  721. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  722. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  723. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  724. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  725. package/dist/kolibri/kol-tree.entry.js +1 -1
  726. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  727. package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
  728. package/dist/kolibri/kol-version.entry.js +1 -1
  729. package/dist/kolibri/kol-version.entry.js.map +1 -1
  730. package/dist/kolibri/kolibri.esm.js +1 -1
  731. package/dist/kolibri/test-component.entry.js +1 -1
  732. package/dist/types/schema/utils/contrast.d.ts +1 -1
  733. package/doc/badge.md +7 -0
  734. package/doc/button.md +3 -3
  735. package/doc/heading.md +3 -3
  736. package/doc/input-checkbox.md +3 -3
  737. package/doc/input-date.md +3 -3
  738. package/doc/input-email.md +3 -3
  739. package/doc/input-number.md +3 -3
  740. package/doc/input-password.md +3 -3
  741. package/doc/input-radio.md +3 -3
  742. package/doc/input-range.md +3 -3
  743. package/doc/input-text.md +3 -3
  744. package/doc/link.md +7 -0
  745. package/doc/select.md +3 -3
  746. package/package.json +4 -4
  747. package/dist/cjs/Alert-Bv-BrwWN.js.map +0 -1
  748. package/dist/esm/Alert-CVh_XwxH.js.map +0 -1
  749. package/dist/kolibri/Alert-CVh_XwxH.js.map +0 -1
  750. package/dist/kolibri/FieldControlStateWrapper-BY46U1nq.js +0 -5
  751. package/dist/kolibri/Heading-BKIw2hie.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-8mzKPFWl.js +0 -5
  755. package/dist/kolibri/component-CCQEFb4H.js +0 -5
@@ -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=1785491886871"); /* IE9*/
219
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#kolicons") format("svg"); /* iOS 4.1- */
217
220
  }
218
221
  @layer kol-component {
219
222
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -402,17 +405,23 @@
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
  .kol-form-field {
418
427
  display: grid;
@@ -64,7 +64,7 @@ export class KolInputText {
64
64
  return Object.assign(Object.assign({ ref: this.ctaRef, state: this.state, ariaDescribedBy }, this.controller.onFacade), { onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown });
65
65
  }
66
66
  render() {
67
- return (h(KolFormFieldStateWrapperFc, Object.assign({ key: '1f62d0070e77a458c78111c77072c2a038d49b8b' }, this.getFormFieldProps()), h(KolInputContainerFc, { key: '67c1abb69fbb0dc52517147546b1f51a55e686e2', state: this.state }, h(KolInputStateWrapperFc, Object.assign({ key: '58f310dce0732ff99395f60f7ef421e593b0e132' }, this.getInputProps())))));
67
+ return (h(KolFormFieldStateWrapperFc, Object.assign({ key: '9f131c81c170b8958fad815a771acb6defd0e836' }, this.getFormFieldProps()), h(KolInputContainerFc, { key: 'f52e11bf904dabeb11944ab6bc650f2c693664e6', state: this.state }, h(KolInputStateWrapperFc, Object.assign({ key: '5672b675d85f121ea0f39334a7e7f08038077fe0' }, this.getInputProps())))));
68
68
  }
69
69
  validateAriaDetails(value) {
70
70
  this.controller.validateAriaDetails(value);
@@ -1 +1 @@
1
- {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/input-text/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,IAAI,MAAM,kBAAkB,CAAC;AAEpC,OAAO,0BAA+D,MAAM,iFAAiF,CAAC;AAC9J,OAAO,mBAAmB,MAAM,2FAA2F,CAAC;AAC5H,OAAO,sBAAuD,MAAM,yEAAyE,CAAC;AAkC9I,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAcnD,MAAM,OAAO,YAAY;IAiDjB,KAAK,CAAC,QAAQ;;QACpB,OAAO,MAAA,IAAI,CAAC,MAAM,CAAC,EAAE,0CAAE,KAAK,CAAC;IAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AApba;IAHZ,aAAa,CAAC,QAAQ,CAAC;yCAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;yCACc","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport type {\n\tAccessKeyPropType,\n\tAriaDetailsPropType,\n\tAutoCompletePropType,\n\tClickableElement,\n\tDisabledPropType,\n\tFocusableElement,\n\tHasCounterPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputTextAPI,\n\tInputTextStates,\n\tInputTextTypePropType,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { CounterDomUpdater } from '../../utils/counter-dom-updater';\nimport { createRelatedUniqueId, createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputTextController } from './controller';\n\n/**\n * The **Text** input type creates an input field for plain text, search terms, URLs, or phone numbers.\n *\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-input-text',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputText implements ClickableElement, FocusableElement, InputTextAPI {\n\t@Element() protected readonly host?: HTMLKolInputTextElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLInputElement>();\n\tprivate oldValue?: string;\n\tprivate readonly counterUpdater = new CounterDomUpdater();\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onBlur(event);\n\t\tthis.inputHasFocus = false;\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = this.ctaRef.el?.value;\n\n\t\tif (this.oldValue !== value) {\n\t\t\tthis.oldValue = value;\n\t\t}\n\n\t\tthis.controller.onFacade.onChange(event);\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onFocus(event);\n\t\tthis.inputHasFocus = true;\n\t\tthis.counterUpdater.retriggerAria(this._value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tthis._value = this.ctaRef.el?.value ?? '';\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tthis.controller.onFacade.onKeyDown(event);\n\t\tthis.counterUpdater.handleKeyDown(event, this.ctaRef.el?.value.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t}\n\t};\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<string | undefined> {\n\t\treturn this.ctaRef.el?.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\t/**\n\t * Get selection start of internal element.\n\t */\n\t@Method()\n\tpublic async selectionStart() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionStart);\n\t}\n\n\t/**\n\t * Get selection end of internal element.\n\t */\n\t@Method()\n\tpublic async selectionEnd() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionEnd);\n\t}\n\n\t/**\n\t * Set selection start and end, and optional in which direction, of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionRange(selectionStart: number, selectionEnd: number, selectionDirection?: 'forward' | 'backward' | 'none') {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n\t}\n\n\t/**\n\t * Set selection start (and end = start) of internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionStart(selectionStart: number) {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionStart);\n\t}\n\n\t/**\n\t * Add string at position of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setRangeText(replacement: string, selectionStart?: number, selectionEnd?: number, selectMode?: 'select' | 'start' | 'end' | 'preserve') {\n\t\tif (selectionStart !== undefined && selectionEnd !== undefined) {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\t\t} else {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement);\n\t\t}\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-text', this.state._type as string, {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t\t'kol-form-field--has-counter': this.controller.hasSoftCharacterLimit() || this.controller.hasCounter(),\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\talert: this.showAsAlert(),\n\t\t\tcounterRefs: {\n\t\t\t\tvisualRef: this.counterUpdater.setVisualRef,\n\t\t\t\tariaRef: this.counterUpdater.setAriaRef,\n\t\t\t},\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\tconst ariaDescribedBy =\n\t\t\ttypeof this.state._maxLength === 'number' && !this.controller.hasCounter() ? [createRelatedUniqueId(this.state._id, 'character-limit-hint')] : undefined; // When a character limit is defined but no counter is shown, we provide an additional hint referenced by aria-describedby. With a counter, its spans already convey the limit.\n\n\t\treturn {\n\t\t\tref: this.ctaRef,\n\t\t\tstate: this.state,\n\t\t\tariaDescribedBy,\n\t\t\t...this.controller.onFacade,\n\t\t\tonBlur: this.onBlur,\n\t\t\tonChange: this.onChange,\n\t\t\tonFocus: this.onFocus,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputTextController;\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 whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * References an external element by ID that provides accessible details for this input.\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic validateAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.controller.validateAriaDetails(value);\n\t}\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: 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 hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\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 maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\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/**\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 * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\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?: InputTextTypePropType = 'text';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: InputTextStates = {\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('input-text'),\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_type: 'text',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputTextController(this, 'text', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_maxLengthBehavior')\n\tpublic validateMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.controller.validateMaxLengthBehavior(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t\tthis.counterUpdater.updateImmediate(this._value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_spellCheck')\n\tpublic validateSpellCheck(value?: SpellCheckPropType): void {\n\t\tthis.controller.validateSpellCheck(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: InputTextTypePropType): void {\n\t\tthis.controller.validateType(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t\tthis.oldValue = value;\n\t\tthis.counterUpdater.update(value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentDidLoad(): void {\n\t\tif (this.controller.hasCounter() || this.controller.hasSoftCharacterLimit()) {\n\t\t\tthis.counterUpdater.updateImmediate(this._value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t\t}\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.counterUpdater.destroy();\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAriaDetails(this._ariaDetails);\n\n\t\tthis._touched = this._touched === true;\n\t\tthis.oldValue = this._value;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"]}
1
+ {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/input-text/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,IAAI,MAAM,kBAAkB,CAAC;AAEpC,OAAO,0BAA+D,MAAM,iFAAiF,CAAC;AAC9J,OAAO,mBAAmB,MAAM,2FAA2F,CAAC;AAC5H,OAAO,sBAAuD,MAAM,yEAAyE,CAAC;AAkC9I,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAcnD,MAAM,OAAO,YAAY;IAiDjB,KAAK,CAAC,QAAQ;;QACpB,OAAO,MAAA,IAAI,CAAC,MAAM,CAAC,EAAE,0CAAE,KAAK,CAAC;IAC9B,CAAC;IASY,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAOlD,AAAN,KAAK,CAAC,KAAK,KAAmB,CAAC;IAM/B,KAAK,CAAC,cAAc;;QAC1B,OAAO,OAAO,CAAC,OAAO,CAAC,MAAA,IAAI,CAAC,MAAM,CAAC,EAAE,0CAAE,cAAc,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AApba;IAHZ,aAAa,CAAC,QAAQ,CAAC;yCAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;yCACc","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport type {\n\tAccessKeyPropType,\n\tAriaDetailsPropType,\n\tAutoCompletePropType,\n\tClickableElement,\n\tDisabledPropType,\n\tFocusableElement,\n\tHasCounterPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputTextAPI,\n\tInputTextStates,\n\tInputTextTypePropType,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { CounterDomUpdater } from '../../utils/counter-dom-updater';\nimport { createRelatedUniqueId, createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputTextController } from './controller';\n\n/**\n * The **Text** input type creates an input field for plain text, search terms, URLs, or phone numbers.\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-input-text',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputText implements ClickableElement, FocusableElement, InputTextAPI {\n\t@Element() protected readonly host?: HTMLKolInputTextElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLInputElement>();\n\tprivate oldValue?: string;\n\tprivate readonly counterUpdater = new CounterDomUpdater();\n\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onBlur(event);\n\t\tthis.inputHasFocus = false;\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst value = this.ctaRef.el?.value;\n\n\t\tif (this.oldValue !== value) {\n\t\t\tthis.oldValue = value;\n\t\t}\n\n\t\tthis.controller.onFacade.onChange(event);\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onFocus(event);\n\t\tthis.inputHasFocus = true;\n\t\tthis.counterUpdater.retriggerAria(this._value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tthis._value = this.ctaRef.el?.value ?? '';\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tthis.controller.onFacade.onKeyDown(event);\n\t\tthis.counterUpdater.handleKeyDown(event, this.ctaRef.el?.value.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.ctaRef.el,\n\t\t\t});\n\t\t}\n\t};\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<string | undefined> {\n\t\treturn this.ctaRef.el?.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\t/**\n\t * Get selection start of internal element.\n\t */\n\t@Method()\n\tpublic async selectionStart() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionStart);\n\t}\n\n\t/**\n\t * Get selection end of internal element.\n\t */\n\t@Method()\n\tpublic async selectionEnd() {\n\t\treturn Promise.resolve(this.ctaRef.el?.selectionEnd);\n\t}\n\n\t/**\n\t * Set selection start and end, and optional in which direction, of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionRange(selectionStart: number, selectionEnd: number, selectionDirection?: 'forward' | 'backward' | 'none') {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n\t}\n\n\t/**\n\t * Set selection start (and end = start) of internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setSelectionStart(selectionStart: number) {\n\t\tthis.ctaRef.el?.setSelectionRange(selectionStart, selectionStart);\n\t}\n\n\t/**\n\t * Add string at position of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async setRangeText(replacement: string, selectionStart?: number, selectionEnd?: number, selectMode?: 'select' | 'start' | 'end' | 'preserve') {\n\t\tif (selectionStart !== undefined && selectionEnd !== undefined) {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\t\t} else {\n\t\t\tthis.ctaRef.el?.setRangeText(replacement);\n\t\t}\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-text', this.state._type as string, {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t\t'kol-form-field--has-counter': this.controller.hasSoftCharacterLimit() || this.controller.hasCounter(),\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\talert: this.showAsAlert(),\n\t\t\tcounterRefs: {\n\t\t\t\tvisualRef: this.counterUpdater.setVisualRef,\n\t\t\t\tariaRef: this.counterUpdater.setAriaRef,\n\t\t\t},\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\tconst ariaDescribedBy =\n\t\t\ttypeof this.state._maxLength === 'number' && !this.controller.hasCounter() ? [createRelatedUniqueId(this.state._id, 'character-limit-hint')] : undefined; // When a character limit is defined but no counter is shown, we provide an additional hint referenced by aria-describedby. With a counter, its spans already convey the limit.\n\n\t\treturn {\n\t\t\tref: this.ctaRef,\n\t\t\tstate: this.state,\n\t\t\tariaDescribedBy,\n\t\t\t...this.controller.onFacade,\n\t\t\tonBlur: this.onBlur,\n\t\t\tonChange: this.onChange,\n\t\t\tonFocus: this.onFocus,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputTextController;\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 whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * References an external element by ID that provides accessible details for this input.\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic validateAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.controller.validateAriaDetails(value);\n\t}\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: 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 hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\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 maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\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/**\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 * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\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?: InputTextTypePropType = 'text';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: InputTextStates = {\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('input-text'),\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t\t_type: 'text',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputTextController(this, 'text', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_maxLengthBehavior')\n\tpublic validateMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.controller.validateMaxLengthBehavior(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t\tthis.counterUpdater.updateImmediate(this._value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_spellCheck')\n\tpublic validateSpellCheck(value?: SpellCheckPropType): void {\n\t\tthis.controller.validateSpellCheck(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: InputTextTypePropType): void {\n\t\tthis.controller.validateType(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t\tthis.oldValue = value;\n\t\tthis.counterUpdater.update(value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentDidLoad(): void {\n\t\tif (this.controller.hasCounter() || this.controller.hasSoftCharacterLimit()) {\n\t\t\tthis.counterUpdater.updateImmediate(this._value?.length ?? 0, this.state._maxLength, this.state._maxLengthBehavior ?? 'hard');\n\t\t}\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.counterUpdater.destroy();\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAriaDetails(this._ariaDetails);\n\n\t\tthis._touched = this._touched === true;\n\t\tthis.oldValue = this._value;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\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
  */
@@ -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=1785491886871"); /* IE9*/
219
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#kolicons") format("svg"); /* iOS 4.1- */
217
220
  }
218
221
  @layer kol-component {
219
222
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -402,17 +405,23 @@
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
  .kol-form-field {
418
427
  display: grid;
@@ -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
  */
@@ -15,7 +15,7 @@ export class KolLink {
15
15
  }
16
16
  async focus(options) { }
17
17
  render() {
18
- return (h(KolLinkWcTag, { key: 'd6345dd41ba66953d323fbf796c280a81c9a73ae', ref: this.ctaRef, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _inline: this._inline, _label: this._label, _on: this._on, _shortKey: this._shortKey, _target: this._target, _tooltipAlign: this._tooltipAlign, _variant: this._variant }, h("slot", { key: '37bd8edc8c7c6205548f526d04b2f953b04f90e9', name: "expert", slot: "expert" })));
18
+ return (h(KolLinkWcTag, { key: '09db57c5043aa3e205ddc8e5789663621a67ebce', ref: this.ctaRef, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _inline: this._inline, _label: this._label, _on: this._on, _shortKey: this._shortKey, _target: this._target, _tooltipAlign: this._tooltipAlign, _variant: this._variant }, h("slot", { key: '643ab1db3e510f5419fbf922a9551031ff3f25aa', name: "expert", slot: "expert" })));
19
19
  }
20
20
  static get is() { return "kol-link"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/link/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAqB1D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAS9E,MAAM,OAAO,OAAO;IAPpB;QASoB,WAAM,GAAG,YAAY,EAAwB,CAAC;QAuElD,cAAS,GAAa,KAAK,CAAC;QAY5B,eAAU,GAAa,KAAK,CAAC;QAe7B,YAAO,GAAoB,IAAI,CAAC;QAgChC,kBAAa,GAA0B,OAAO,CAAC;KAM9D;IA/Ha,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAExD,MAAM;QACZ,OAAO,CACN,EAAC,YAAY,qDACZ,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YAMvB,6DAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CAC3B,CACf,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGD;AA/Ha;IAHZ,aAAa,CAAC,QAAQ,CAAC;oCAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkProps,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\n\n@Component({\n\ttag: 'kol-link',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolLink implements FocusableElement, LinkProps {\n\t@Element() protected readonly host?: HTMLKolLinkElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolLinkWcElement>();\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\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t{/*\n\t\t\t\t\t\tEs ist keine gute Idee hier einen Slot einzufügen, da dadurch ermöglicht wird,\n\t\t\t\t\t\tdie Unterstützung hinsichtlich der Barrierefreiheit der Komponente zu umgehen.\n\t\t\t\t\t*/}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t * @TODO: Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = true;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label?: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'right';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"]}
1
+ {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/link/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAqB1D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAc9E,MAAM,OAAO,OAAO;IAPpB;QASoB,WAAM,GAAG,YAAY,EAAwB,CAAC;QAuElD,cAAS,GAAa,KAAK,CAAC;QAY5B,eAAU,GAAa,KAAK,CAAC;QAe7B,YAAO,GAAoB,IAAI,CAAC;QAgChC,kBAAa,GAA0B,OAAO,CAAC;KAM9D;IA/Ha,AAAN,KAAK,CAAC,KAAK,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGD;AA/Ha;IAHZ,aAAa,CAAC,QAAQ,CAAC;oCAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolLinkWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tDownloadPropType,\n\tFocusableElement,\n\tHrefPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkProps,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\n\n/**\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\n@Component({\n\ttag: 'kol-link',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolLink implements FocusableElement, LinkProps {\n\t@Element() protected readonly host?: HTMLKolLinkElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolLinkWcElement>();\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\treturn (\n\t\t\t<KolLinkWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaCurrentValue={this._ariaCurrentValue}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_download={this._download}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_href={this._href}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_target={this._target}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t{/*\n\t\t\t\t\t\tEs ist keine gute Idee hier einen Slot einzufügen, da dadurch ermöglicht wird,\n\t\t\t\t\t\tdie Unterstützung hinsichtlich der Barrierefreiheit der Komponente zu umgehen.\n\t\t\t\t\t*/}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolLinkWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-current attribute.\n\t */\n\t@Prop() public _ariaCurrentValue?: AriaCurrentValuePropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t * @TODO: Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Tells the browser that the link contains a file. Optionally sets the filename.\n\t */\n\t@Prop() public _download?: DownloadPropType;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Sets the target URI of the link or citation source.\n\t */\n\t@Prop() public _href!: HrefPropType;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = true;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label?: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the callback functions for links.\n\t */\n\t@Prop() public _on?: LinkOnCallbacksPropType;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines where to open the link.\n\t */\n\t@Prop() public _target?: LinkTargetPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'right';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"]}
@@ -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=1785491886871"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#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=1785491886871"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#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
  */
@@ -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=1785491886871"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#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=1785491886871"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#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=1785491886871"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#kolicons") format("svg"); /* iOS 4.1- */
212
215
  }
213
216
  @layer kol-component {
214
217
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -402,17 +405,23 @@
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
  .kol-form-field {
418
427
  display: grid;
@@ -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=1785491886871"); /* IE9*/
214
+ src: url("kolicons.eot?t=1785491886871#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1785491886871") format("woff2"), url("kolicons.woff?t=1785491886871") format("woff"), url("kolicons.ttf?t=1785491886871") format("truetype"), url("kolicons.svg?t=1785491886871#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
  */
@@ -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
  */