@public-ui/components 4.3.0-rc.5 → 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 (815) 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-Bc3nD9fM.js → Alert-C3pvKfEr.js} +7 -7
  8. package/dist/cjs/Alert-C3pvKfEr.js.map +1 -0
  9. package/dist/cjs/{Collapsible-DVuV_iF7.js → Collapsible-BKE1sV0b.js} +5 -5
  10. package/dist/cjs/{Collapsible-DVuV_iF7.js.map → Collapsible-BKE1sV0b.js.map} +1 -1
  11. package/dist/cjs/{CustomSuggestionsOptionsGroup-DPHF1yEp.js → CustomSuggestionsOptionsGroup-BAne75ww.js} +3 -3
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-DPHF1yEp.js.map → CustomSuggestionsOptionsGroup-BAne75ww.js.map} +1 -1
  13. package/dist/cjs/{FieldControlStateWrapper-DvTOhqxy.js → FieldControlStateWrapper-B7bYXKJL.js} +8 -8
  14. package/dist/cjs/{FieldControlStateWrapper-DvTOhqxy.js.map → FieldControlStateWrapper-B7bYXKJL.js.map} +1 -1
  15. package/dist/cjs/{FormFieldStateWrapper-W-QMTbkj.js → FormFieldStateWrapper-DgUSSbZf.js} +8 -8
  16. package/dist/cjs/{FormFieldStateWrapper-W-QMTbkj.js.map → FormFieldStateWrapper-DgUSSbZf.js.map} +1 -1
  17. package/dist/cjs/{Heading-C1XTgfdd.js → Heading-DzKQyDpP.js} +3 -3
  18. package/dist/cjs/{Heading-C1XTgfdd.js.map → Heading-DzKQyDpP.js.map} +1 -1
  19. package/dist/cjs/{Input-CEJNu8kB.js → Input-C7b2Z5zF.js} +5 -5
  20. package/dist/cjs/{Input-CEJNu8kB.js.map → Input-C7b2Z5zF.js.map} +1 -1
  21. package/dist/cjs/{InputStateWrapper-or6eCvn7.js → InputStateWrapper-elumvjqS.js} +6 -6
  22. package/dist/cjs/{InputStateWrapper-or6eCvn7.js.map → InputStateWrapper-elumvjqS.js.map} +1 -1
  23. package/dist/cjs/{align-floating-elements-D6-6sVvR.js → align-floating-elements-BJpt40PY.js} +108 -115
  24. package/dist/cjs/align-floating-elements-BJpt40PY.js.map +1 -0
  25. package/dist/cjs/{app-globals-CSea670r.js → app-globals-DncuzGyd.js} +4 -4
  26. package/dist/cjs/{app-globals-CSea670r.js.map → app-globals-DncuzGyd.js.map} +1 -1
  27. package/dist/cjs/common-Bwi0J8Cv.js.map +1 -1
  28. package/dist/cjs/{component-ChMyM8VK.js → component-BENjBgXJ.js} +244 -236
  29. package/dist/cjs/component-BENjBgXJ.js.map +1 -0
  30. package/dist/cjs/{component-Dmf5oHzi.js → component-BgUUQHA5.js} +3 -3
  31. package/dist/cjs/{component-Dmf5oHzi.js.map → component-BgUUQHA5.js.map} +1 -1
  32. package/dist/cjs/{component-CsFihTmd.js → component-DXkDuM1_.js} +3 -3
  33. package/dist/cjs/{component-CsFihTmd.js.map → component-DXkDuM1_.js.map} +1 -1
  34. package/dist/cjs/{component-Cg9QDytI.js → component-P0QRvZsY.js} +4 -4
  35. package/dist/cjs/{component-Cg9QDytI.js.map → component-P0QRvZsY.js.map} +1 -1
  36. package/dist/cjs/contrast-BaY16D1Q.js.map +1 -1
  37. package/dist/cjs/{controller-IUNIQEo2.js → controller-BhH0B9tJ.js} +3 -3
  38. package/dist/cjs/{controller-IUNIQEo2.js.map → controller-BhH0B9tJ.js.map} +1 -1
  39. package/dist/cjs/{controller-BEjeYvvc.js → controller-CU_Kk12B.js} +12 -4
  40. package/dist/cjs/controller-CU_Kk12B.js.map +1 -0
  41. package/dist/cjs/{controller-BnsXcT4D.js → controller-DQ_3nGoo.js} +3 -3
  42. package/dist/cjs/{controller-BnsXcT4D.js.map → controller-DQ_3nGoo.js.map} +1 -1
  43. package/dist/cjs/{controller-CdlJ3c69.js → controller-PrSsU3CZ.js} +3 -3
  44. package/dist/cjs/{controller-CdlJ3c69.js.map → controller-PrSsU3CZ.js.map} +1 -1
  45. package/dist/cjs/{controller-icon-DB9i9aN2.js → controller-icon-Duw_ynD2.js} +6 -6
  46. package/dist/cjs/{controller-icon-DB9i9aN2.js.map → controller-icon-Duw_ynD2.js.map} +1 -1
  47. package/dist/cjs/{dev.utils-BvCL1ZhC.js → dev.utils-DqPZCx0U.js} +3 -3
  48. package/dist/cjs/{dev.utils-BvCL1ZhC.js.map → dev.utils-DqPZCx0U.js.map} +1 -1
  49. package/dist/cjs/{devtools-BCQ-nrsb.js → devtools-QteRskKN.js} +4 -4
  50. package/dist/cjs/{devtools-BCQ-nrsb.js.map → devtools-QteRskKN.js.map} +1 -1
  51. package/dist/cjs/{index-DhVkdQYo.js → index-BDVimyfu.js} +3 -3
  52. package/dist/cjs/{index-DhVkdQYo.js.map → index-BDVimyfu.js.map} +1 -1
  53. package/dist/cjs/index.cjs.js.map +1 -1
  54. package/dist/cjs/kol-abbr.cjs.entry.js +3 -3
  55. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  56. package/dist/cjs/kol-accordion.cjs.entry.js +5 -5
  57. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  58. package/dist/cjs/kol-alert-wc.cjs.entry.js +4 -4
  59. package/dist/cjs/kol-alert.cjs.entry.js +2 -2
  60. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  61. package/dist/cjs/kol-avatar.cjs.entry.js +2 -2
  62. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  63. package/dist/cjs/kol-badge.cjs.entry.js +7 -7
  64. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  65. package/dist/cjs/kol-breadcrumb.cjs.entry.js +3 -3
  66. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  67. package/dist/cjs/kol-button-link.cjs.entry.js +2 -2
  68. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  69. package/dist/cjs/kol-button-wc.cjs.entry.js +6 -6
  70. package/dist/cjs/kol-button.cjs.entry.js +3 -3
  71. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  72. package/dist/cjs/kol-card-wc.cjs.entry.js +6 -6
  73. package/dist/cjs/kol-card.cjs.entry.js +2 -2
  74. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  75. package/dist/cjs/kol-click-button.cjs.entry.js +2 -2
  76. package/dist/cjs/kol-combobox.cjs.entry.js +20 -18
  77. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  78. package/dist/cjs/kol-details.cjs.entry.js +5 -5
  79. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  80. package/dist/cjs/kol-dialog-wc.cjs.entry.js +2 -2
  81. package/dist/cjs/kol-dialog.cjs.entry.js +2 -2
  82. package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
  83. package/dist/cjs/kol-drawer.cjs.entry.js +3 -3
  84. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  85. package/dist/cjs/kol-form.cjs.entry.js +5 -5
  86. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  87. package/dist/cjs/kol-heading.cjs.entry.js +3 -3
  88. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  89. package/dist/cjs/kol-icon.cjs.entry.js +3 -3
  90. package/dist/cjs/kol-image.cjs.entry.js +2 -2
  91. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  92. package/dist/cjs/kol-input-checkbox.cjs.entry.js +15 -15
  93. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  94. package/dist/cjs/kol-input-color.cjs.entry.js +14 -14
  95. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  96. package/dist/cjs/kol-input-date.cjs.entry.js +15 -15
  97. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  98. package/dist/cjs/kol-input-email.cjs.entry.js +17 -17
  99. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  100. package/dist/cjs/kol-input-file.cjs.entry.js +14 -14
  101. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  102. package/dist/cjs/kol-input-number.cjs.entry.js +15 -15
  103. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  104. package/dist/cjs/kol-input-password.cjs.entry.js +16 -16
  105. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  106. package/dist/cjs/kol-input-radio.cjs.entry.js +15 -15
  107. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  108. package/dist/cjs/kol-input-range.cjs.entry.js +15 -15
  109. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-input-text.cjs.entry.js +17 -17
  111. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  112. package/dist/cjs/kol-kolibri.cjs.entry.js +2 -2
  113. package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
  114. package/dist/cjs/kol-link-button.cjs.entry.js +2 -2
  115. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  116. package/dist/cjs/kol-link-wc.cjs.entry.js +6 -6
  117. package/dist/cjs/kol-link.cjs.entry.js +3 -3
  118. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  119. package/dist/cjs/kol-meter.cjs.entry.js +2 -2
  120. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
  121. package/dist/cjs/kol-modal.cjs.entry.js +2 -2
  122. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  123. package/dist/cjs/kol-nav.cjs.entry.js +3 -3
  124. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-pagination-wc.cjs.entry.js +2 -2
  126. package/dist/cjs/kol-pagination.cjs.entry.js +2 -2
  127. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  128. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +3 -3
  129. package/dist/cjs/kol-popover-button.cjs.entry.js +2 -2
  130. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  131. package/dist/cjs/kol-progress.cjs.entry.js +2 -2
  132. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-quote.cjs.entry.js +2 -2
  134. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-select-wc.cjs.entry.js +14 -14
  136. package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
  137. package/dist/cjs/kol-select.cjs.entry.js +3 -3
  138. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  139. package/dist/cjs/kol-single-select.cjs.entry.js +28 -26
  140. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  141. package/dist/cjs/kol-skeleton.cjs.entry.js +2 -2
  142. package/dist/cjs/kol-skip-nav.cjs.entry.js +2 -2
  143. package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
  144. package/dist/cjs/kol-spin.cjs.entry.js +2 -2
  145. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  146. package/dist/cjs/kol-split-button.cjs.entry.js +2 -2
  147. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  148. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-table-stateful.cjs.entry.js +2 -2
  150. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  151. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +5 -5
  152. package/dist/cjs/kol-table-stateless.cjs.entry.js +2 -2
  153. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  154. package/dist/cjs/kol-tabs.cjs.entry.js +2 -2
  155. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  156. package/dist/cjs/kol-textarea.cjs.entry.js +13 -13
  157. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  158. package/dist/cjs/kol-toast-container.cjs.entry.js +7 -7
  159. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  160. package/dist/cjs/kol-toolbar.cjs.entry.js +2 -2
  161. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  162. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +6 -6
  163. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +3 -3
  164. package/dist/cjs/kol-tree-item.cjs.entry.js +2 -2
  165. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  166. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-tree.cjs.entry.js +2 -2
  168. package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
  169. package/dist/cjs/kol-version.cjs.entry.js +2 -2
  170. package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
  171. package/dist/cjs/kolibri.cjs.js +2 -2
  172. package/dist/cjs/loader.cjs.js +2 -2
  173. package/dist/cjs/test-component.cjs.entry.js +1 -1
  174. package/dist/cjs/variant-class-name-CU8UMVYZ.js.map +1 -1
  175. package/dist/collection/components/abbr/component.js +1 -1
  176. package/dist/collection/components/abbr/component.js.map +1 -1
  177. package/dist/collection/components/abbr/style.css +8 -5
  178. package/dist/collection/components/accordion/style.css +8 -5
  179. package/dist/collection/components/alert/style.css +19 -10
  180. package/dist/collection/components/avatar/style.css +19 -6
  181. package/dist/collection/components/badge/shadow.js +2 -2
  182. package/dist/collection/components/badge/shadow.js.map +1 -1
  183. package/dist/collection/components/badge/style.css +8 -5
  184. package/dist/collection/components/breadcrumb/style.css +8 -5
  185. package/dist/collection/components/button/shadow.js +1 -1
  186. package/dist/collection/components/button/shadow.js.map +1 -1
  187. package/dist/collection/components/button/style.css +8 -5
  188. package/dist/collection/components/button-link/style.css +8 -5
  189. package/dist/collection/components/card/style.css +8 -5
  190. package/dist/collection/components/combobox/shadow.js +5 -3
  191. package/dist/collection/components/combobox/shadow.js.map +1 -1
  192. package/dist/collection/components/combobox/style.css +19 -10
  193. package/dist/collection/components/details/style.css +8 -5
  194. package/dist/collection/components/dialog/style.css +8 -5
  195. package/dist/collection/components/drawer/style.css +8 -5
  196. package/dist/collection/components/form/style.css +19 -10
  197. package/dist/collection/components/heading/component.js +1 -1
  198. package/dist/collection/components/heading/component.js.map +1 -1
  199. package/dist/collection/components/heading/style.css +6 -3
  200. package/dist/collection/components/icon/style.css +2 -2
  201. package/dist/collection/components/image/style.css +6 -3
  202. package/dist/collection/components/input-checkbox/shadow.js +1 -1
  203. package/dist/collection/components/input-checkbox/shadow.js.map +1 -1
  204. package/dist/collection/components/input-checkbox/style.css +19 -10
  205. package/dist/collection/components/input-color/style.css +19 -10
  206. package/dist/collection/components/input-date/shadow.js +1 -1
  207. package/dist/collection/components/input-date/shadow.js.map +1 -1
  208. package/dist/collection/components/input-date/style.css +19 -10
  209. package/dist/collection/components/input-email/shadow.js +1 -1
  210. package/dist/collection/components/input-email/shadow.js.map +1 -1
  211. package/dist/collection/components/input-email/style.css +19 -10
  212. package/dist/collection/components/input-file/style.css +19 -10
  213. package/dist/collection/components/input-number/shadow.js +1 -1
  214. package/dist/collection/components/input-number/shadow.js.map +1 -1
  215. package/dist/collection/components/input-number/style.css +19 -10
  216. package/dist/collection/components/input-password/shadow.js +1 -1
  217. package/dist/collection/components/input-password/shadow.js.map +1 -1
  218. package/dist/collection/components/input-password/style.css +19 -10
  219. package/dist/collection/components/input-radio/shadow.js +1 -1
  220. package/dist/collection/components/input-radio/shadow.js.map +1 -1
  221. package/dist/collection/components/input-radio/style.css +19 -10
  222. package/dist/collection/components/input-range/shadow.js +1 -1
  223. package/dist/collection/components/input-range/shadow.js.map +1 -1
  224. package/dist/collection/components/input-range/style.css +19 -10
  225. package/dist/collection/components/input-text/shadow.js +1 -1
  226. package/dist/collection/components/input-text/shadow.js.map +1 -1
  227. package/dist/collection/components/input-text/style.css +19 -10
  228. package/dist/collection/components/kolibri/style.css +6 -3
  229. package/dist/collection/components/link/shadow.js +1 -1
  230. package/dist/collection/components/link/shadow.js.map +1 -1
  231. package/dist/collection/components/link/style.css +8 -5
  232. package/dist/collection/components/link-button/style.css +8 -5
  233. package/dist/collection/components/meter/style.css +6 -3
  234. package/dist/collection/components/modal/style.css +8 -5
  235. package/dist/collection/components/nav/style.css +8 -5
  236. package/dist/collection/components/pagination/style.css +28 -10
  237. package/dist/collection/components/popover-button/style.css +8 -5
  238. package/dist/collection/components/progress/style.css +6 -3
  239. package/dist/collection/components/quote/style.css +6 -3
  240. package/dist/collection/components/select/component.js +2 -2
  241. package/dist/collection/components/select/component.js.map +1 -1
  242. package/dist/collection/components/select/shadow.js +1 -1
  243. package/dist/collection/components/select/shadow.js.map +1 -1
  244. package/dist/collection/components/select/style.css +28 -10
  245. package/dist/collection/components/single-select/shadow.js +12 -10
  246. package/dist/collection/components/single-select/shadow.js.map +1 -1
  247. package/dist/collection/components/single-select/style.css +19 -10
  248. package/dist/collection/components/skip-nav/style.css +8 -5
  249. package/dist/collection/components/spin/style.css +6 -3
  250. package/dist/collection/components/split-button/style.css +8 -5
  251. package/dist/collection/components/table-stateful/style.css +39 -15
  252. package/dist/collection/components/table-stateless/style.css +19 -10
  253. package/dist/collection/components/tabs/style.css +8 -5
  254. package/dist/collection/components/textarea/shadow.js +1 -1
  255. package/dist/collection/components/textarea/shadow.js.map +1 -1
  256. package/dist/collection/components/textarea/style.css +19 -10
  257. package/dist/collection/components/toaster/style.css +19 -10
  258. package/dist/collection/components/toolbar/style.css +8 -5
  259. package/dist/collection/components/tree/style.css +6 -3
  260. package/dist/collection/components/tree-item/style.css +8 -5
  261. package/dist/collection/components/version/style.css +6 -3
  262. package/dist/collection/enums/bund.js.map +1 -1
  263. package/dist/collection/functional-components/Alert/Alert.js +2 -2
  264. package/dist/collection/functional-components/Alert/Alert.js.map +1 -1
  265. package/dist/collection/internal/functional-components/tooltip/controller.js +9 -1
  266. package/dist/collection/internal/functional-components/tooltip/controller.js.map +1 -1
  267. package/dist/collection/schema/i18n-keys.js.map +1 -1
  268. package/dist/collection/schema/index.js.map +1 -1
  269. package/dist/collection/schema/props/variant-class-name.js.map +1 -1
  270. package/dist/collection/schema/tag-names.js.map +1 -1
  271. package/dist/collection/schema/utils/contrast.js.map +1 -1
  272. package/dist/components/Alert.js +2 -2
  273. package/dist/components/Alert.js.map +1 -1
  274. package/dist/components/align-floating-elements.js +106 -113
  275. package/dist/components/align-floating-elements.js.map +1 -1
  276. package/dist/components/common.js.map +1 -1
  277. package/dist/components/component.js +240 -232
  278. package/dist/components/component.js.map +1 -1
  279. package/dist/components/contrast.js.map +1 -1
  280. package/dist/components/controller.js +9 -1
  281. package/dist/components/controller.js.map +1 -1
  282. package/dist/components/index.js.map +1 -1
  283. package/dist/components/kol-abbr.js +2 -2
  284. package/dist/components/kol-abbr.js.map +1 -1
  285. package/dist/components/kol-accordion.js +1 -1
  286. package/dist/components/kol-accordion.js.map +1 -1
  287. package/dist/components/kol-alert.js +1 -1
  288. package/dist/components/kol-alert.js.map +1 -1
  289. package/dist/components/kol-avatar.js +1 -1
  290. package/dist/components/kol-avatar.js.map +1 -1
  291. package/dist/components/kol-badge.js +3 -3
  292. package/dist/components/kol-badge.js.map +1 -1
  293. package/dist/components/kol-breadcrumb.js +1 -1
  294. package/dist/components/kol-breadcrumb.js.map +1 -1
  295. package/dist/components/kol-button-link.js +1 -1
  296. package/dist/components/kol-button-link.js.map +1 -1
  297. package/dist/components/kol-button.js +2 -2
  298. package/dist/components/kol-button.js.map +1 -1
  299. package/dist/components/kol-card.js +1 -1
  300. package/dist/components/kol-card.js.map +1 -1
  301. package/dist/components/kol-combobox.js +6 -4
  302. package/dist/components/kol-combobox.js.map +1 -1
  303. package/dist/components/kol-details.js +1 -1
  304. package/dist/components/kol-details.js.map +1 -1
  305. package/dist/components/kol-dialog.js +1 -1
  306. package/dist/components/kol-dialog.js.map +1 -1
  307. package/dist/components/kol-drawer.js +1 -1
  308. package/dist/components/kol-drawer.js.map +1 -1
  309. package/dist/components/kol-form.js +1 -1
  310. package/dist/components/kol-form.js.map +1 -1
  311. package/dist/components/kol-heading.js +2 -2
  312. package/dist/components/kol-heading.js.map +1 -1
  313. package/dist/components/kol-icon.js +1 -1
  314. package/dist/components/kol-image.js +1 -1
  315. package/dist/components/kol-image.js.map +1 -1
  316. package/dist/components/kol-input-checkbox.js +2 -2
  317. package/dist/components/kol-input-checkbox.js.map +1 -1
  318. package/dist/components/kol-input-color.js +1 -1
  319. package/dist/components/kol-input-color.js.map +1 -1
  320. package/dist/components/kol-input-date.js +2 -2
  321. package/dist/components/kol-input-date.js.map +1 -1
  322. package/dist/components/kol-input-email.js +2 -2
  323. package/dist/components/kol-input-email.js.map +1 -1
  324. package/dist/components/kol-input-file.js +1 -1
  325. package/dist/components/kol-input-file.js.map +1 -1
  326. package/dist/components/kol-input-number.js +2 -2
  327. package/dist/components/kol-input-number.js.map +1 -1
  328. package/dist/components/kol-input-password.js +2 -2
  329. package/dist/components/kol-input-password.js.map +1 -1
  330. package/dist/components/kol-input-radio.js +2 -2
  331. package/dist/components/kol-input-radio.js.map +1 -1
  332. package/dist/components/kol-input-range.js +2 -2
  333. package/dist/components/kol-input-range.js.map +1 -1
  334. package/dist/components/kol-input-text.js +2 -2
  335. package/dist/components/kol-input-text.js.map +1 -1
  336. package/dist/components/kol-kolibri.js +1 -1
  337. package/dist/components/kol-kolibri.js.map +1 -1
  338. package/dist/components/kol-link-button.js +1 -1
  339. package/dist/components/kol-link-button.js.map +1 -1
  340. package/dist/components/kol-link.js +2 -2
  341. package/dist/components/kol-link.js.map +1 -1
  342. package/dist/components/kol-meter.js +1 -1
  343. package/dist/components/kol-meter.js.map +1 -1
  344. package/dist/components/kol-modal.js +1 -1
  345. package/dist/components/kol-modal.js.map +1 -1
  346. package/dist/components/kol-nav.js +1 -1
  347. package/dist/components/kol-nav.js.map +1 -1
  348. package/dist/components/kol-pagination.js +1 -1
  349. package/dist/components/kol-pagination.js.map +1 -1
  350. package/dist/components/kol-popover-button.js +1 -1
  351. package/dist/components/kol-popover-button.js.map +1 -1
  352. package/dist/components/kol-progress.js +1 -1
  353. package/dist/components/kol-progress.js.map +1 -1
  354. package/dist/components/kol-quote.js +1 -1
  355. package/dist/components/kol-quote.js.map +1 -1
  356. package/dist/components/kol-select-wc.js +2 -2
  357. package/dist/components/kol-select-wc.js.map +1 -1
  358. package/dist/components/kol-select.js +2 -2
  359. package/dist/components/kol-select.js.map +1 -1
  360. package/dist/components/kol-single-select.js +13 -11
  361. package/dist/components/kol-single-select.js.map +1 -1
  362. package/dist/components/kol-skip-nav.js +1 -1
  363. package/dist/components/kol-skip-nav.js.map +1 -1
  364. package/dist/components/kol-spin.js +1 -1
  365. package/dist/components/kol-spin.js.map +1 -1
  366. package/dist/components/kol-split-button.js +1 -1
  367. package/dist/components/kol-split-button.js.map +1 -1
  368. package/dist/components/kol-table-stateful.js +1 -1
  369. package/dist/components/kol-table-stateful.js.map +1 -1
  370. package/dist/components/kol-table-stateless.js +1 -1
  371. package/dist/components/kol-table-stateless.js.map +1 -1
  372. package/dist/components/kol-tabs.js +1 -1
  373. package/dist/components/kol-tabs.js.map +1 -1
  374. package/dist/components/kol-textarea.js +2 -2
  375. package/dist/components/kol-textarea.js.map +1 -1
  376. package/dist/components/kol-toast-container.js +1 -1
  377. package/dist/components/kol-toast-container.js.map +1 -1
  378. package/dist/components/kol-toolbar.js +1 -1
  379. package/dist/components/kol-toolbar.js.map +1 -1
  380. package/dist/components/kol-tree-item.js +1 -1
  381. package/dist/components/kol-tree-item.js.map +1 -1
  382. package/dist/components/kol-tree.js +1 -1
  383. package/dist/components/kol-tree.js.map +1 -1
  384. package/dist/components/kol-version.js +1 -1
  385. package/dist/components/kol-version.js.map +1 -1
  386. package/dist/components/variant-class-name.js.map +1 -1
  387. package/dist/esm/{Alert-DroK3hbV.js → Alert-cp5bayLz.js} +7 -7
  388. package/dist/esm/Alert-cp5bayLz.js.map +1 -0
  389. package/dist/esm/{Collapsible-B90CHQXN.js → Collapsible-DiYcOtsM.js} +5 -5
  390. package/dist/{kolibri/Collapsible-B90CHQXN.js.map → esm/Collapsible-DiYcOtsM.js.map} +1 -1
  391. package/dist/esm/{CustomSuggestionsOptionsGroup-C_5L_wa_.js → CustomSuggestionsOptionsGroup-BRJ_DY3Z.js} +3 -3
  392. package/dist/{kolibri/CustomSuggestionsOptionsGroup-C_5L_wa_.js.map → esm/CustomSuggestionsOptionsGroup-BRJ_DY3Z.js.map} +1 -1
  393. package/dist/esm/{FieldControlStateWrapper-8p-fBxQo.js → FieldControlStateWrapper-CI_wI37R.js} +8 -8
  394. package/dist/{kolibri/FieldControlStateWrapper-8p-fBxQo.js.map → esm/FieldControlStateWrapper-CI_wI37R.js.map} +1 -1
  395. package/dist/esm/{FormFieldStateWrapper-x-JrV0ZZ.js → FormFieldStateWrapper-Bbl_Hax4.js} +8 -8
  396. package/dist/esm/{FormFieldStateWrapper-x-JrV0ZZ.js.map → FormFieldStateWrapper-Bbl_Hax4.js.map} +1 -1
  397. package/dist/esm/{Heading-CYjA6xHT.js → Heading-f6yzeaDw.js} +3 -3
  398. package/dist/esm/{Heading-CYjA6xHT.js.map → Heading-f6yzeaDw.js.map} +1 -1
  399. package/dist/esm/{Input-BlP5M4mR.js → Input-BHBuMBKt.js} +5 -5
  400. package/dist/{kolibri/Input-BlP5M4mR.js.map → esm/Input-BHBuMBKt.js.map} +1 -1
  401. package/dist/esm/{InputStateWrapper-Bmo38sSG.js → InputStateWrapper-D2Xq4dna.js} +6 -6
  402. package/dist/{kolibri/InputStateWrapper-Bmo38sSG.js.map → esm/InputStateWrapper-D2Xq4dna.js.map} +1 -1
  403. package/dist/esm/{align-floating-elements-Dg-_rui1.js → align-floating-elements-BgsKEL5o.js} +108 -115
  404. package/dist/esm/align-floating-elements-BgsKEL5o.js.map +1 -0
  405. package/dist/esm/{app-globals-3DLnHr9C.js → app-globals-C0pZJpQt.js} +4 -4
  406. package/dist/esm/{app-globals-3DLnHr9C.js.map → app-globals-C0pZJpQt.js.map} +1 -1
  407. package/dist/esm/common-D5l8QiaY.js.map +1 -1
  408. package/dist/esm/{component-BYTdfz9f.js → component-B_R2QCjt.js} +3 -3
  409. package/dist/esm/{component-BYTdfz9f.js.map → component-B_R2QCjt.js.map} +1 -1
  410. package/dist/esm/{component-C1c9n-6L.js → component-CTb4Y6Mi.js} +4 -4
  411. package/dist/esm/{component-C1c9n-6L.js.map → component-CTb4Y6Mi.js.map} +1 -1
  412. package/dist/esm/{component-BJI9wETu.js → component-cakhwjRD.js} +244 -236
  413. package/dist/esm/component-cakhwjRD.js.map +1 -0
  414. package/dist/esm/{component-3ATeXuLh.js → component-k15zosp5.js} +3 -3
  415. package/dist/esm/{component-3ATeXuLh.js.map → component-k15zosp5.js.map} +1 -1
  416. package/dist/esm/contrast-CnVYN_kl.js.map +1 -1
  417. package/dist/esm/{controller-diAi4tku.js → controller-CjOmo-9R.js} +3 -3
  418. package/dist/esm/{controller-diAi4tku.js.map → controller-CjOmo-9R.js.map} +1 -1
  419. package/dist/esm/{controller-B0iAHK14.js → controller-DV0N3zXZ.js} +12 -4
  420. package/dist/esm/controller-DV0N3zXZ.js.map +1 -0
  421. package/dist/esm/{controller-4UReKcll.js → controller-DVDbSOwf.js} +3 -3
  422. package/dist/{kolibri/controller-4UReKcll.js.map → esm/controller-DVDbSOwf.js.map} +1 -1
  423. package/dist/esm/{controller-Br4jUs-C.js → controller-DarWdDJJ.js} +3 -3
  424. package/dist/{kolibri/controller-Br4jUs-C.js.map → esm/controller-DarWdDJJ.js.map} +1 -1
  425. package/dist/esm/{controller-icon-BD5cEXa7.js → controller-icon-D8f62EhI.js} +6 -6
  426. package/dist/esm/{controller-icon-BD5cEXa7.js.map → controller-icon-D8f62EhI.js.map} +1 -1
  427. package/dist/esm/{dev.utils-Bhh4oJHO.js → dev.utils-CIi6OrYn.js} +3 -3
  428. package/dist/esm/{dev.utils-Bhh4oJHO.js.map → dev.utils-CIi6OrYn.js.map} +1 -1
  429. package/dist/esm/{devtools-8GnPfcCU.js → devtools-B2OyYJyG.js} +4 -4
  430. package/dist/{kolibri/devtools-8GnPfcCU.js.map → esm/devtools-B2OyYJyG.js.map} +1 -1
  431. package/dist/esm/{index-btga56T2.js → index-5bbrauFT.js} +3 -3
  432. package/dist/{kolibri/index-btga56T2.js.map → esm/index-5bbrauFT.js.map} +1 -1
  433. package/dist/esm/index.js.map +1 -1
  434. package/dist/esm/kol-abbr.entry.js +3 -3
  435. package/dist/esm/kol-abbr.entry.js.map +1 -1
  436. package/dist/esm/kol-accordion.entry.js +5 -5
  437. package/dist/esm/kol-accordion.entry.js.map +1 -1
  438. package/dist/esm/kol-alert-wc.entry.js +4 -4
  439. package/dist/esm/kol-alert.entry.js +2 -2
  440. package/dist/esm/kol-alert.entry.js.map +1 -1
  441. package/dist/esm/kol-avatar.entry.js +2 -2
  442. package/dist/esm/kol-avatar.entry.js.map +1 -1
  443. package/dist/esm/kol-badge.entry.js +7 -7
  444. package/dist/esm/kol-badge.entry.js.map +1 -1
  445. package/dist/esm/kol-breadcrumb.entry.js +3 -3
  446. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  447. package/dist/esm/kol-button-link.entry.js +2 -2
  448. package/dist/esm/kol-button-link.entry.js.map +1 -1
  449. package/dist/esm/kol-button-wc.entry.js +6 -6
  450. package/dist/esm/kol-button.entry.js +3 -3
  451. package/dist/esm/kol-button.entry.js.map +1 -1
  452. package/dist/esm/kol-card-wc.entry.js +6 -6
  453. package/dist/esm/kol-card.entry.js +2 -2
  454. package/dist/esm/kol-card.entry.js.map +1 -1
  455. package/dist/esm/kol-click-button.entry.js +2 -2
  456. package/dist/esm/kol-combobox.entry.js +20 -18
  457. package/dist/esm/kol-combobox.entry.js.map +1 -1
  458. package/dist/esm/kol-details.entry.js +5 -5
  459. package/dist/esm/kol-details.entry.js.map +1 -1
  460. package/dist/esm/kol-dialog-wc.entry.js +2 -2
  461. package/dist/esm/kol-dialog.entry.js +2 -2
  462. package/dist/esm/kol-dialog.entry.js.map +1 -1
  463. package/dist/esm/kol-drawer.entry.js +3 -3
  464. package/dist/esm/kol-drawer.entry.js.map +1 -1
  465. package/dist/esm/kol-form.entry.js +5 -5
  466. package/dist/esm/kol-form.entry.js.map +1 -1
  467. package/dist/esm/kol-heading.entry.js +3 -3
  468. package/dist/esm/kol-heading.entry.js.map +1 -1
  469. package/dist/esm/kol-icon.entry.js +3 -3
  470. package/dist/esm/kol-image.entry.js +2 -2
  471. package/dist/esm/kol-image.entry.js.map +1 -1
  472. package/dist/esm/kol-input-checkbox.entry.js +15 -15
  473. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  474. package/dist/esm/kol-input-color.entry.js +14 -14
  475. package/dist/esm/kol-input-color.entry.js.map +1 -1
  476. package/dist/esm/kol-input-date.entry.js +15 -15
  477. package/dist/esm/kol-input-date.entry.js.map +1 -1
  478. package/dist/esm/kol-input-email.entry.js +17 -17
  479. package/dist/esm/kol-input-email.entry.js.map +1 -1
  480. package/dist/esm/kol-input-file.entry.js +14 -14
  481. package/dist/esm/kol-input-file.entry.js.map +1 -1
  482. package/dist/esm/kol-input-number.entry.js +15 -15
  483. package/dist/esm/kol-input-number.entry.js.map +1 -1
  484. package/dist/esm/kol-input-password.entry.js +16 -16
  485. package/dist/esm/kol-input-password.entry.js.map +1 -1
  486. package/dist/esm/kol-input-radio.entry.js +15 -15
  487. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  488. package/dist/esm/kol-input-range.entry.js +15 -15
  489. package/dist/esm/kol-input-range.entry.js.map +1 -1
  490. package/dist/esm/kol-input-text.entry.js +17 -17
  491. package/dist/esm/kol-input-text.entry.js.map +1 -1
  492. package/dist/esm/kol-kolibri.entry.js +2 -2
  493. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  494. package/dist/esm/kol-link-button.entry.js +2 -2
  495. package/dist/esm/kol-link-button.entry.js.map +1 -1
  496. package/dist/esm/kol-link-wc.entry.js +6 -6
  497. package/dist/esm/kol-link.entry.js +3 -3
  498. package/dist/esm/kol-link.entry.js.map +1 -1
  499. package/dist/esm/kol-meter.entry.js +2 -2
  500. package/dist/esm/kol-meter.entry.js.map +1 -1
  501. package/dist/esm/kol-modal.entry.js +2 -2
  502. package/dist/esm/kol-modal.entry.js.map +1 -1
  503. package/dist/esm/kol-nav.entry.js +3 -3
  504. package/dist/esm/kol-nav.entry.js.map +1 -1
  505. package/dist/esm/kol-pagination-wc.entry.js +2 -2
  506. package/dist/esm/kol-pagination.entry.js +2 -2
  507. package/dist/esm/kol-pagination.entry.js.map +1 -1
  508. package/dist/esm/kol-popover-button-wc.entry.js +3 -3
  509. package/dist/esm/kol-popover-button.entry.js +2 -2
  510. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  511. package/dist/esm/kol-progress.entry.js +2 -2
  512. package/dist/esm/kol-progress.entry.js.map +1 -1
  513. package/dist/esm/kol-quote.entry.js +2 -2
  514. package/dist/esm/kol-quote.entry.js.map +1 -1
  515. package/dist/esm/kol-select-wc.entry.js +14 -14
  516. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  517. package/dist/esm/kol-select.entry.js +3 -3
  518. package/dist/esm/kol-select.entry.js.map +1 -1
  519. package/dist/esm/kol-single-select.entry.js +28 -26
  520. package/dist/esm/kol-single-select.entry.js.map +1 -1
  521. package/dist/esm/kol-skeleton.entry.js +2 -2
  522. package/dist/esm/kol-skip-nav.entry.js +2 -2
  523. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  524. package/dist/esm/kol-spin.entry.js +2 -2
  525. package/dist/esm/kol-spin.entry.js.map +1 -1
  526. package/dist/esm/kol-split-button.entry.js +2 -2
  527. package/dist/esm/kol-split-button.entry.js.map +1 -1
  528. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  529. package/dist/esm/kol-table-stateful.entry.js +2 -2
  530. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  531. package/dist/esm/kol-table-stateless-wc.entry.js +5 -5
  532. package/dist/esm/kol-table-stateless.entry.js +2 -2
  533. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  534. package/dist/esm/kol-tabs.entry.js +2 -2
  535. package/dist/esm/kol-tabs.entry.js.map +1 -1
  536. package/dist/esm/kol-textarea.entry.js +13 -13
  537. package/dist/esm/kol-textarea.entry.js.map +1 -1
  538. package/dist/esm/kol-toast-container.entry.js +7 -7
  539. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  540. package/dist/esm/kol-toolbar.entry.js +2 -2
  541. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  542. package/dist/esm/kol-tooltip-wc.entry.js +6 -6
  543. package/dist/esm/kol-tree-item-wc.entry.js +3 -3
  544. package/dist/esm/kol-tree-item.entry.js +2 -2
  545. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  546. package/dist/esm/kol-tree-wc.entry.js +1 -1
  547. package/dist/esm/kol-tree.entry.js +2 -2
  548. package/dist/esm/kol-tree.entry.js.map +1 -1
  549. package/dist/esm/kol-version.entry.js +2 -2
  550. package/dist/esm/kol-version.entry.js.map +1 -1
  551. package/dist/esm/kolibri.js +3 -3
  552. package/dist/esm/loader.js +3 -3
  553. package/dist/esm/test-component.entry.js +1 -1
  554. package/dist/esm/variant-class-name-DFWOlDkF.js.map +1 -1
  555. package/dist/kolibri/Alert-cp5bayLz.js +5 -0
  556. package/dist/kolibri/Alert-cp5bayLz.js.map +1 -0
  557. package/dist/kolibri/{Collapsible-B90CHQXN.js → Collapsible-DiYcOtsM.js} +2 -2
  558. package/dist/{esm/Collapsible-B90CHQXN.js.map → kolibri/Collapsible-DiYcOtsM.js.map} +1 -1
  559. package/dist/kolibri/{CustomSuggestionsOptionsGroup-C_5L_wa_.js → CustomSuggestionsOptionsGroup-BRJ_DY3Z.js} +2 -2
  560. package/dist/{esm/CustomSuggestionsOptionsGroup-C_5L_wa_.js.map → kolibri/CustomSuggestionsOptionsGroup-BRJ_DY3Z.js.map} +1 -1
  561. package/dist/kolibri/FieldControlStateWrapper-CI_wI37R.js +5 -0
  562. package/dist/{esm/FieldControlStateWrapper-8p-fBxQo.js.map → kolibri/FieldControlStateWrapper-CI_wI37R.js.map} +1 -1
  563. package/dist/kolibri/{FormFieldStateWrapper-x-JrV0ZZ.js → FormFieldStateWrapper-Bbl_Hax4.js} +2 -2
  564. package/dist/kolibri/{FormFieldStateWrapper-x-JrV0ZZ.js.map → FormFieldStateWrapper-Bbl_Hax4.js.map} +1 -1
  565. package/dist/kolibri/Heading-f6yzeaDw.js +5 -0
  566. package/dist/kolibri/{Heading-CYjA6xHT.js.map → Heading-f6yzeaDw.js.map} +1 -1
  567. package/dist/kolibri/Input-BHBuMBKt.js +5 -0
  568. package/dist/{esm/Input-BlP5M4mR.js.map → kolibri/Input-BHBuMBKt.js.map} +1 -1
  569. package/dist/kolibri/InputStateWrapper-D2Xq4dna.js +5 -0
  570. package/dist/{esm/InputStateWrapper-Bmo38sSG.js.map → kolibri/InputStateWrapper-D2Xq4dna.js.map} +1 -1
  571. package/dist/kolibri/align-floating-elements-BgsKEL5o.js +5 -0
  572. package/dist/kolibri/align-floating-elements-BgsKEL5o.js.map +1 -0
  573. package/dist/kolibri/{app-globals-3DLnHr9C.js → app-globals-C0pZJpQt.js} +2 -2
  574. package/dist/kolibri/{app-globals-3DLnHr9C.js.map → app-globals-C0pZJpQt.js.map} +1 -1
  575. package/dist/kolibri/common-D5l8QiaY.js.map +1 -1
  576. package/dist/kolibri/{component-BYTdfz9f.js → component-B_R2QCjt.js} +2 -2
  577. package/dist/kolibri/{component-BYTdfz9f.js.map → component-B_R2QCjt.js.map} +1 -1
  578. package/dist/kolibri/component-CTb4Y6Mi.js +5 -0
  579. package/dist/kolibri/{component-C1c9n-6L.js.map → component-CTb4Y6Mi.js.map} +1 -1
  580. package/dist/kolibri/{component-BJI9wETu.js → component-cakhwjRD.js} +2 -2
  581. package/dist/kolibri/component-cakhwjRD.js.map +1 -0
  582. package/dist/kolibri/component-k15zosp5.js +5 -0
  583. package/dist/kolibri/{component-3ATeXuLh.js.map → component-k15zosp5.js.map} +1 -1
  584. package/dist/kolibri/contrast-CnVYN_kl.js.map +1 -1
  585. package/dist/kolibri/{controller-diAi4tku.js → controller-CjOmo-9R.js} +2 -2
  586. package/dist/kolibri/{controller-diAi4tku.js.map → controller-CjOmo-9R.js.map} +1 -1
  587. package/dist/kolibri/controller-DV0N3zXZ.js +5 -0
  588. package/dist/kolibri/controller-DV0N3zXZ.js.map +1 -0
  589. package/dist/kolibri/{controller-4UReKcll.js → controller-DVDbSOwf.js} +2 -2
  590. package/dist/{esm/controller-4UReKcll.js.map → kolibri/controller-DVDbSOwf.js.map} +1 -1
  591. package/dist/kolibri/{controller-Br4jUs-C.js → controller-DarWdDJJ.js} +2 -2
  592. package/dist/{esm/controller-Br4jUs-C.js.map → kolibri/controller-DarWdDJJ.js.map} +1 -1
  593. package/dist/kolibri/{controller-icon-BD5cEXa7.js → controller-icon-D8f62EhI.js} +2 -2
  594. package/dist/kolibri/{controller-icon-BD5cEXa7.js.map → controller-icon-D8f62EhI.js.map} +1 -1
  595. package/dist/kolibri/dev.utils-CIi6OrYn.js +5 -0
  596. package/dist/kolibri/{dev.utils-Bhh4oJHO.js.map → dev.utils-CIi6OrYn.js.map} +1 -1
  597. package/dist/kolibri/{devtools-8GnPfcCU.js → devtools-B2OyYJyG.js} +2 -2
  598. package/dist/{esm/devtools-8GnPfcCU.js.map → kolibri/devtools-B2OyYJyG.js.map} +1 -1
  599. package/dist/kolibri/{index-btga56T2.js → index-5bbrauFT.js} +2 -2
  600. package/dist/{esm/index-btga56T2.js.map → kolibri/index-5bbrauFT.js.map} +1 -1
  601. package/dist/kolibri/index.esm.js.map +1 -1
  602. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  603. package/dist/kolibri/kol-abbr.entry.js +1 -1
  604. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  605. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  606. package/dist/kolibri/kol-accordion.entry.js +1 -1
  607. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  608. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  609. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  610. package/dist/kolibri/kol-alert.entry.js +1 -1
  611. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  612. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  613. package/dist/kolibri/kol-avatar.entry.js +1 -1
  614. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  615. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  616. package/dist/kolibri/kol-badge.entry.js +1 -1
  617. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  618. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  619. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  620. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  621. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  622. package/dist/kolibri/kol-button-link.entry.js +1 -1
  623. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  624. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  625. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  626. package/dist/kolibri/kol-button.entry.js +1 -1
  627. package/dist/kolibri/kol-button.entry.js.map +1 -1
  628. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  629. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  630. package/dist/kolibri/kol-card.entry.js +1 -1
  631. package/dist/kolibri/kol-card.entry.js.map +1 -1
  632. package/dist/kolibri/kol-click-button.entry.js +1 -1
  633. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  634. package/dist/kolibri/kol-combobox.entry.js +1 -1
  635. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  636. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  637. package/dist/kolibri/kol-details.entry.js +1 -1
  638. package/dist/kolibri/kol-details.entry.js.map +1 -1
  639. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  640. package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
  641. package/dist/kolibri/kol-dialog.entry.js +1 -1
  642. package/dist/kolibri/kol-dialog.entry.js.map +1 -1
  643. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  644. package/dist/kolibri/kol-drawer.entry.js +1 -1
  645. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  646. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  647. package/dist/kolibri/kol-form.entry.js +1 -1
  648. package/dist/kolibri/kol-form.entry.js.map +1 -1
  649. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  650. package/dist/kolibri/kol-heading.entry.js +1 -1
  651. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  652. package/dist/kolibri/kol-icon.entry.js +1 -1
  653. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  654. package/dist/kolibri/kol-image.entry.js +1 -1
  655. package/dist/kolibri/kol-image.entry.js.map +1 -1
  656. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  657. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  658. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  659. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  660. package/dist/kolibri/kol-input-color.entry.js +1 -1
  661. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  662. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  663. package/dist/kolibri/kol-input-date.entry.js +1 -1
  664. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  665. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  666. package/dist/kolibri/kol-input-email.entry.js +1 -1
  667. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  668. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  669. package/dist/kolibri/kol-input-file.entry.js +1 -1
  670. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  671. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  672. package/dist/kolibri/kol-input-number.entry.js +1 -1
  673. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  674. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  675. package/dist/kolibri/kol-input-password.entry.js +1 -1
  676. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  677. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  678. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  679. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  680. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  681. package/dist/kolibri/kol-input-range.entry.js +1 -1
  682. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  683. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  684. package/dist/kolibri/kol-input-text.entry.js +1 -1
  685. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  686. package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
  687. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  688. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  689. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  690. package/dist/kolibri/kol-link-button.entry.js +1 -1
  691. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  692. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  693. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  694. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  695. package/dist/kolibri/kol-link.entry.js +1 -1
  696. package/dist/kolibri/kol-link.entry.js.map +1 -1
  697. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  698. package/dist/kolibri/kol-meter.entry.js +1 -1
  699. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  700. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  701. package/dist/kolibri/kol-modal.entry.js +1 -1
  702. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  703. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  704. package/dist/kolibri/kol-nav.entry.js +1 -1
  705. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  706. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  707. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  708. package/dist/kolibri/kol-pagination.entry.js +1 -1
  709. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  710. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  711. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  712. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  713. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  714. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  715. package/dist/kolibri/kol-progress.entry.js +1 -1
  716. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  717. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  718. package/dist/kolibri/kol-quote.entry.js +1 -1
  719. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  720. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  721. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  722. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  723. package/dist/kolibri/kol-select.entry.js +1 -1
  724. package/dist/kolibri/kol-select.entry.js.map +1 -1
  725. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  726. package/dist/kolibri/kol-single-select.entry.js +1 -1
  727. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  728. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  729. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  730. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  731. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  732. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  733. package/dist/kolibri/kol-spin.entry.js +1 -1
  734. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  735. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  736. package/dist/kolibri/kol-split-button.entry.js +1 -1
  737. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  738. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  739. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  740. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  741. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  742. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  743. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  744. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  745. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  746. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  747. package/dist/kolibri/kol-tabs.entry.js +1 -1
  748. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  749. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  750. package/dist/kolibri/kol-textarea.entry.js +1 -1
  751. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  752. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  753. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  754. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  755. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  756. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  757. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  758. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  759. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  760. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  761. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  762. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  763. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  764. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  765. package/dist/kolibri/kol-tree.entry.js +1 -1
  766. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  767. package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
  768. package/dist/kolibri/kol-version.entry.js +1 -1
  769. package/dist/kolibri/kol-version.entry.js.map +1 -1
  770. package/dist/kolibri/kolibri.esm.js +1 -1
  771. package/dist/kolibri/test-component.entry.js +1 -1
  772. package/dist/kolibri/variant-class-name-DFWOlDkF.js.map +1 -1
  773. package/dist/types/components/abbr/component.d.ts +1 -1
  774. package/dist/types/enums/bund.d.ts +10 -10
  775. package/dist/types/schema/i18n-keys.d.ts +9 -9
  776. package/dist/types/schema/index.d.ts +1 -1
  777. package/dist/types/schema/props/variant-class-name.d.ts +1 -1
  778. package/dist/types/schema/tag-names.d.ts +34 -34
  779. package/dist/types/schema/utils/contrast.d.ts +1 -1
  780. package/doc/badge.md +7 -0
  781. package/doc/button.md +3 -3
  782. package/doc/heading.md +3 -3
  783. package/doc/input-checkbox.md +3 -3
  784. package/doc/input-date.md +3 -3
  785. package/doc/input-email.md +3 -3
  786. package/doc/input-number.md +3 -3
  787. package/doc/input-password.md +3 -3
  788. package/doc/input-radio.md +3 -3
  789. package/doc/input-range.md +3 -3
  790. package/doc/input-text.md +3 -3
  791. package/doc/link.md +7 -0
  792. package/doc/select.md +3 -3
  793. package/package.json +14 -14
  794. package/dist/cjs/Alert-Bc3nD9fM.js.map +0 -1
  795. package/dist/cjs/align-floating-elements-D6-6sVvR.js.map +0 -1
  796. package/dist/cjs/component-ChMyM8VK.js.map +0 -1
  797. package/dist/cjs/controller-BEjeYvvc.js.map +0 -1
  798. package/dist/esm/Alert-DroK3hbV.js.map +0 -1
  799. package/dist/esm/align-floating-elements-Dg-_rui1.js.map +0 -1
  800. package/dist/esm/component-BJI9wETu.js.map +0 -1
  801. package/dist/esm/controller-B0iAHK14.js.map +0 -1
  802. package/dist/kolibri/Alert-DroK3hbV.js +0 -5
  803. package/dist/kolibri/Alert-DroK3hbV.js.map +0 -1
  804. package/dist/kolibri/FieldControlStateWrapper-8p-fBxQo.js +0 -5
  805. package/dist/kolibri/Heading-CYjA6xHT.js +0 -5
  806. package/dist/kolibri/Input-BlP5M4mR.js +0 -5
  807. package/dist/kolibri/InputStateWrapper-Bmo38sSG.js +0 -5
  808. package/dist/kolibri/align-floating-elements-Dg-_rui1.js +0 -5
  809. package/dist/kolibri/align-floating-elements-Dg-_rui1.js.map +0 -1
  810. package/dist/kolibri/component-3ATeXuLh.js +0 -5
  811. package/dist/kolibri/component-BJI9wETu.js.map +0 -1
  812. package/dist/kolibri/component-C1c9n-6L.js +0 -5
  813. package/dist/kolibri/controller-B0iAHK14.js +0 -5
  814. package/dist/kolibri/controller-B0iAHK14.js.map +0 -1
  815. package/dist/kolibri/dev.utils-Bhh4oJHO.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
  */
@@ -269,8 +272,8 @@
269
272
  }
270
273
  @font-face {
271
274
  font-family: "kolicons";
272
- src: url("kolicons.eot?t=1784281062679"); /* IE9*/
273
- src: url("kolicons.eot?t=1784281062679#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1784281062679") format("woff2"), url("kolicons.woff?t=1784281062679") format("woff"), url("kolicons.ttf?t=1784281062679") format("truetype"), url("kolicons.svg?t=1784281062679#kolicons") format("svg"); /* iOS 4.1- */
275
+ src: url("kolicons.eot?t=1785491886871"); /* IE9*/
276
+ 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- */
274
277
  }
275
278
  @layer kol-component {
276
279
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -212,8 +215,8 @@
212
215
  }
213
216
  @font-face {
214
217
  font-family: "kolicons";
215
- src: url("kolicons.eot?t=1784281062679"); /* IE9*/
216
- src: url("kolicons.eot?t=1784281062679#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1784281062679") format("woff2"), url("kolicons.woff?t=1784281062679") format("woff"), url("kolicons.ttf?t=1784281062679") format("truetype"), url("kolicons.svg?t=1784281062679#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,16 +405,22 @@
402
405
  }
403
406
  .kol-alert {
404
407
  display: grid;
408
+ grid-template-areas: "icon heading close" "icon content close";
409
+ grid-template-columns: min-content 1fr min-content;
410
+ grid-template-rows: min-content min-content;
405
411
  }
406
- .kol-alert__container {
407
- display: flex;
408
- place-items: center;
412
+ .kol-alert__icon {
413
+ grid-area: icon;
409
414
  }
410
- .kol-alert__container-content {
411
- flex-grow: 1;
415
+ .kol-alert__heading {
416
+ grid-area: heading;
412
417
  }
413
418
  .kol-alert__closer {
414
419
  /* Visible with forced colors */
415
420
  outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
421
+ grid-area: close;
422
+ }
423
+ .kol-alert__content {
424
+ grid-area: content;
416
425
  }
417
426
  }
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -211,6 +214,14 @@
211
214
  }
212
215
  }
213
216
  @layer kol-component {
217
+ :host {
218
+ display: flex;
219
+ width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));
220
+ aspect-ratio: 1;
221
+ align-items: center;
222
+ justify-content: center;
223
+ container-type: size;
224
+ }
214
225
  .kol-avatar,
215
226
  .kol-avatar__image,
216
227
  .kol-avatar__initials {
@@ -220,12 +231,14 @@
220
231
  /* Visible with forced colors */
221
232
  outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
222
233
  display: flex;
223
- width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));
224
- height: calc(100 * 1rem / var(--kolibri-root-font-size, 16));
234
+ width: max(100cqw, 100cqh);
235
+ height: max(100cqw, 100cqh);
236
+ flex-shrink: 0;
237
+ container-type: size;
225
238
  }
226
239
  .kol-avatar__initials {
227
240
  background-color: inherit;
228
241
  margin: auto;
229
- font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));
242
+ font-size: 40cqh;
230
243
  }
231
244
  }
@@ -36,12 +36,12 @@ export class KolBadge {
36
36
  async focus(options) { }
37
37
  render() {
38
38
  const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;
39
- return (h("span", { key: '9091b07e3ef752f765f96bbd66eaa329ae89543d', class: clsx('kol-badge', {
39
+ return (h("span", { key: 'ce393c9b3887fa2a1fd1545830766fc398495d92', class: clsx('kol-badge', {
40
40
  'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,
41
41
  }), style: {
42
42
  backgroundColor: this.bgColorStr,
43
43
  color: this.colorStr,
44
- } }, h(SpanFC, { key: '9a0ee2dd77bfad8c7043cca5229b4398af16e6b8', class: "kol-badge__label", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));
44
+ } }, h(SpanFC, { key: '6c4fed34445543666bf3f3b9bf3830ee51411938', class: "kol-badge__label", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));
45
45
  }
46
46
  validateIcons(value) {
47
47
  validateIcons(this, value);
@@ -1 +1 @@
1
- {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/badge/shadow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAY7E,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,SAAS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,EAAE,IAAI,CAAC,iBAAiB;aACnC;SACD,CAAC,CAAC;IACJ,CAAC;IAGM,mBAAmB,CAAC,KAAoC;QAC9D,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE;YAC/B,IAAI,CAAC;gBACJ,KAAK,GAAG,SAAS,CAAsB,KAAe,CAAC,CAAC;YACzD,CAAC;YAAC,WAAM,CAAC;YAET,CAAC;YACD,QAAQ,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACJ,CAAC;IAEM,iBAAiB;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC7C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAvFa;IAHZ,aAAa,CAAC,QAAQ,CAAC;qCAGuC","sourcesContent":["import { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport type {\n\tBadgeAPI,\n\tBadgeStates,\n\tFocusableElement,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tKoliBriIconsProp,\n\tLabelPropType,\n\tPropColor,\n\tStringified,\n} from '../../schema';\nimport { featureHint, handleColorChange, objectObjectHandler, parseJson, setState, validateColor, validateIcons } from '../../schema';\n\nimport { createUniqueId } from '../../utils/dev.utils';\n\nimport type { JSX } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport clsx from '../../utils/clsx';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\n\n/**\n * The **Badge** component allows you to visually highlight specific information.\n * In addition to specifying the background color and automatically calculating the text color, it also supports adding an icon and/or a different font style.\n */\n@Component({\n\ttag: 'kol-badge',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolBadge implements BadgeAPI, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolBadgeElement;\n\tprivate bgColorStr = '#000';\n\tprivate colorStr = '#fff';\n\tprivate readonly id = createUniqueId('badge-label');\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\tprivate renderSmartButton(props: InternalButtonProps): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\tclass=\"kol-badge__smart-button\"\n\t\t\t\t_ariaControls={this.id}\n\t\t\t\t_ariaDescription={props._ariaDescription}\n\t\t\t\t_variant={props._variant}\n\t\t\t\t_customClass={props._customClass}\n\t\t\t\t_disabled={props._disabled}\n\t\t\t\t_hideLabel={true}\n\t\t\t\t_icons={props._icons}\n\t\t\t\t_id={props._id}\n\t\t\t\t_label={props._label}\n\t\t\t\t_on={props._on}\n\t\t\t\t_tooltipAlign={props._tooltipAlign}\n\t\t\t/>\n\t\t);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\tconst hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n\n\t\treturn (\n\t\t\t<span\n\t\t\t\tclass={clsx('kol-badge', {\n\t\t\t\t\t'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\tbackgroundColor: this.bgColorStr,\n\t\t\t\t\tcolor: this.colorStr,\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<SpanFC class=\"kol-badge__label\" id={hasSmartButton ? this.id : undefined} allowMarkdown icons={this.state._icons} label={this._label} />\n\t\t\t\t{hasSmartButton && this.renderSmartButton(this.state._smartButton as InternalButtonProps)}\n\t\t\t</span>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#000';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t@State() public state: BadgeStates = {\n\t\t_color: {\n\t\t\tbackgroundColor: '#000',\n\t\t\tforegroundColor: '#fff',\n\t\t},\n\t\t_icons: {},\n\t};\n\n\tprivate handleColorChange = (value: unknown) => {\n\t\tconst colorPair = handleColorChange(value);\n\t\tthis.bgColorStr = colorPair.backgroundColor;\n\t\tthis.colorStr = colorPair.foregroundColor;\n\t};\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: KoliBriIconsProp): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#000',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<InternalButtonProps>(value as string);\n\t\t\t} catch {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateColor(this._color);\n\t\tthis.validateSmartButton(this._smartButton);\n\t}\n}\n"]}
1
+ {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/badge/shadow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAY7E,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEtI,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC9E,WAAW,CAAC,qEAAqE,CAAC,CAAC;AAenF,MAAM,OAAO,QAAQ;IAPrB;QASS,eAAU,GAAG,MAAM,CAAC;QACpB,aAAQ,GAAG,MAAM,CAAC;QACT,OAAE,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;QACjC,WAAM,GAAG,YAAY,EAA0B,CAAC;QAqDpD,WAAM,GAA4B,MAAM,CAAC;QAiBxC,UAAK,GAAgB;YACpC,MAAM,EAAE;gBACP,eAAe,EAAE,MAAM;gBACvB,eAAe,EAAE,MAAM;aACvB;YACD,MAAM,EAAE,EAAE;SACV,CAAC;QAEM,sBAAiB,GAAG,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAvFa;IAHZ,aAAa,CAAC,QAAQ,CAAC;qCAGuC","sourcesContent":["import { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport type {\n\tBadgeAPI,\n\tBadgeStates,\n\tFocusableElement,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tKoliBriIconsProp,\n\tLabelPropType,\n\tPropColor,\n\tStringified,\n} from '../../schema';\nimport { featureHint, handleColorChange, objectObjectHandler, parseJson, setState, validateColor, validateIcons } from '../../schema';\n\nimport { createUniqueId } from '../../utils/dev.utils';\n\nimport type { JSX } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport clsx from '../../utils/clsx';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\n\n/**\n * The **Badge** component allows you to visually highlight specific information.\n * In addition to specifying the background color and automatically calculating the text color, it also supports adding an icon and/or a different font style.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-badge',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolBadge implements BadgeAPI, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolBadgeElement;\n\tprivate bgColorStr = '#000';\n\tprivate colorStr = '#fff';\n\tprivate readonly id = createUniqueId('badge-label');\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\tprivate renderSmartButton(props: InternalButtonProps): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\tclass=\"kol-badge__smart-button\"\n\t\t\t\t_ariaControls={this.id}\n\t\t\t\t_ariaDescription={props._ariaDescription}\n\t\t\t\t_variant={props._variant}\n\t\t\t\t_customClass={props._customClass}\n\t\t\t\t_disabled={props._disabled}\n\t\t\t\t_hideLabel={true}\n\t\t\t\t_icons={props._icons}\n\t\t\t\t_id={props._id}\n\t\t\t\t_label={props._label}\n\t\t\t\t_on={props._on}\n\t\t\t\t_tooltipAlign={props._tooltipAlign}\n\t\t\t/>\n\t\t);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\tconst hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n\n\t\treturn (\n\t\t\t<span\n\t\t\t\tclass={clsx('kol-badge', {\n\t\t\t\t\t'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\tbackgroundColor: this.bgColorStr,\n\t\t\t\t\tcolor: this.colorStr,\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<SpanFC class=\"kol-badge__label\" id={hasSmartButton ? this.id : undefined} allowMarkdown icons={this.state._icons} label={this._label} />\n\t\t\t\t{hasSmartButton && this.renderSmartButton(this.state._smartButton as InternalButtonProps)}\n\t\t\t</span>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop() public _color?: Stringified<PropColor> = '#000';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: Stringified<KoliBriIconsProp>;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t@State() public state: BadgeStates = {\n\t\t_color: {\n\t\t\tbackgroundColor: '#000',\n\t\t\tforegroundColor: '#fff',\n\t\t},\n\t\t_icons: {},\n\t};\n\n\tprivate handleColorChange = (value: unknown) => {\n\t\tconst colorPair = handleColorChange(value);\n\t\tthis.bgColorStr = colorPair.backgroundColor;\n\t\tthis.colorStr = colorPair.foregroundColor;\n\t};\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: KoliBriIconsProp): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_color')\n\tpublic validateColor(value?: Stringified<PropColor>): void {\n\t\tvalidateColor(this, value, {\n\t\t\tdefaultValue: '#000',\n\t\t\thooks: {\n\t\t\t\tbeforePatch: this.handleColorChange,\n\t\t\t},\n\t\t});\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<InternalButtonProps>(value as string);\n\t\t\t} catch {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateColor(this._color);\n\t\tthis.validateSmartButton(this._smartButton);\n\t}\n}\n"]}
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1784281062679"); /* IE9*/
211
- src: url("kolicons.eot?t=1784281062679#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1784281062679") format("woff2"), url("kolicons.woff?t=1784281062679") format("woff"), url("kolicons.ttf?t=1784281062679") format("truetype"), url("kolicons.svg?t=1784281062679#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=1784281062679"); /* IE9*/
211
- src: url("kolicons.eot?t=1784281062679#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1784281062679") format("woff2"), url("kolicons.woff?t=1784281062679") format("woff"), url("kolicons.ttf?t=1784281062679") format("truetype"), url("kolicons.svg?t=1784281062679#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-"] {
@@ -20,7 +20,7 @@ export class KolButton {
20
20
  async focus(options) { }
21
21
  async click() { }
22
22
  render() {
23
- return (h(KolButtonWcTag, { key: '1d5a15e4e38f1c51b52d377661ad34f0d5b5e5a0', ref: this.ctaRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, h("slot", { key: '6a429fbfe82675a50cc4e8598a83669bdcd6d608', name: "expert", slot: "expert" })));
23
+ return (h(KolButtonWcTag, { key: '676a47a291dc485c9bd2fb41ccd87a7d3c267d59', ref: this.ctaRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, h("slot", { key: '393c40fe3beb2cb2fe1f2533feb7a3a99ee3b4cf', name: "expert", slot: "expert" })));
24
24
  }
25
25
  static get is() { return "kol-button"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/button/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAqB5D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAc7F,MAAM,OAAO,SAAS;IAPtB;QASoB,WAAM,GAAG,YAAY,EAA0B,CAAC;QAyFpD,cAAS,GAAa,KAAK,CAAC;QAO5B,eAAU,GAAa,KAAK,CAAC;QAU7B,YAAO,GAAoB,KAAK,CAAC;QAsCjC,kBAAa,GAA0B,KAAK,CAAC;QAK7C,UAAK,GAAwB,QAAQ,CAAC;KAWrD;IAzJO,KAAK,CAAC,QAAQ;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IASY,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAOlD,AAAN,KAAK,CAAC,KAAK,KAAmB,CAAC;IAE/B,MAAM;QACZ,OAAO,CACN,EAAC,cAAc,qDACd,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAA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encil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonProps,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Button** component is used to present users with action options and arrange them in a clear hierarchy. It helps users find the most important actions on a page or within a viewport and allows them to execute those actions. The button label clearly indicates which action will be triggered. Buttons allow users to confirm a change, complete steps in a task, or make decisions.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons.\n */\n@Component({\n\ttag: 'kol-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolButton implements ButtonProps, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this._value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"]}
1
+ {"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/button/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAqB5D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAc7F,MAAM,OAAO,SAAS;IAPtB;QASoB,WAAM,GAAG,YAAY,EAA0B,CAAC;QAyFpD,cAAS,GAAa,KAAK,CAAC;QAO5B,eAAU,GAAa,KAAK,CAAC;QAU7B,YAAO,GAAoB,KAAK,CAAC;QAsCjC,kBAAa,GAA0B,KAAK,CAAC;QAK7C,UAAK,GAAwB,QAAQ,CAAC;KAWrD;IAzJO,KAAK,CAAC,QAAQ;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IASY,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAOlD,AAAN,KAAK,CAAC,KAAK,KAAmB,CAAC;IAE/B,MAAM;QACZ,OAAO,CACN,EAAC,cAAc,qDACd,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OA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esContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonProps,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Button** component is used to present users with action options and arrange them in a clear hierarchy. It helps users find the most important actions on a page or within a viewport and allows them to execute those actions. The button label clearly indicates which action will be triggered. Buttons allow users to confirm a change, complete steps in a task, or make decisions.\n *\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolButton implements ButtonProps, ClickableElement, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this._value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaControls={this._ariaControls}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_ariaExpanded={this._ariaExpanded}\n\t\t\t\t_ariaSelected={this._ariaSelected}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_on={this._on}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t</KolButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t *\n\t * @deprecated We prefer the semantic role of the HTML element and do not allow for customization. We will remove this prop in the future.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"]}
@@ -31,12 +31,15 @@
31
31
  * By initially setting the background color to white and the font color to black,
32
32
  * the contrast ratio is ensured and explicit adjustment is forced.
33
33
  */
34
- color: black;
35
- background-color: white;
34
+ --kol-a11y-font-color: black;
35
+ --kol-a11y-background-color: white;
36
+ color: var(--kol-a11y-font-color);
37
+ background-color: var(--kol-a11y-background-color);
36
38
  /*
37
39
  * Verdana is an accessible font that can be used without requiring additional loading time.
38
40
  */
39
- font-family: Verdana;
41
+ --kol-a11y-font-family: Verdana;
42
+ font-family: var(--kol-a11y-font-family);
40
43
  /*
41
44
  * Letter spacing is required for all texts.
42
45
  */
@@ -207,8 +210,8 @@
207
210
  }
208
211
  @font-face {
209
212
  font-family: "kolicons";
210
- src: url("kolicons.eot?t=1784281062679"); /* IE9*/
211
- src: url("kolicons.eot?t=1784281062679#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1784281062679") format("woff2"), url("kolicons.woff?t=1784281062679") format("woff"), url("kolicons.ttf?t=1784281062679") format("truetype"), url("kolicons.svg?t=1784281062679#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=1784281062679"); /* IE9*/
211
- src: url("kolicons.eot?t=1784281062679#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1784281062679") format("woff2"), url("kolicons.woff?t=1784281062679") format("woff"), url("kolicons.ttf?t=1784281062679") format("truetype"), url("kolicons.svg?t=1784281062679#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=1784281062679"); /* IE9*/
211
- src: url("kolicons.eot?t=1784281062679#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1784281062679") format("woff2"), url("kolicons.woff?t=1784281062679") format("woff"), url("kolicons.ttf?t=1784281062679") format("truetype"), url("kolicons.svg?t=1784281062679#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-"] {
@@ -204,9 +204,11 @@ export class KolCombobox {
204
204
  break;
205
205
  case 'Esc':
206
206
  case 'Escape': {
207
- this._isOpen = false;
208
- event.preventDefault();
209
- (_b = this.ctaRef.el) === null || _b === void 0 ? void 0 : _b.focus();
207
+ if (this._isOpen) {
208
+ event.preventDefault();
209
+ this._isOpen = false;
210
+ (_b = this.ctaRef.el) === null || _b === void 0 ? void 0 : _b.focus();
211
+ }
210
212
  break;
211
213
  }
212
214
  case 'Enter':