@public-ui/components 4.5.0-rc.6 → 4.5.0-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (580) 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 +1 -2
  7. package/dist/cjs/{Heading-Bck3PFpH.js → Heading-yiwXjRrz.js} +3 -3
  8. package/dist/cjs/{Heading-Bck3PFpH.js.map → Heading-yiwXjRrz.js.map} +1 -1
  9. package/dist/cjs/{api-BcNl2vZm.js → api-BDT5xkx5.js} +8 -8
  10. package/dist/cjs/{api-BcNl2vZm.js.map → api-BDT5xkx5.js.map} +1 -1
  11. package/dist/cjs/{api-LP3gnw7U.js → api-BI1qXrGa.js} +12 -12
  12. package/dist/cjs/{api-LP3gnw7U.js.map → api-BI1qXrGa.js.map} +1 -1
  13. package/dist/cjs/{app-globals-oR-jEiju.js → app-globals-DPVGNVgE.js} +4 -4
  14. package/dist/cjs/{app-globals-oR-jEiju.js.map → app-globals-DPVGNVgE.js.map} +1 -1
  15. package/dist/cjs/{base-DbfvhKRa.js → base-B_M9Y7nD.js} +4 -4
  16. package/dist/cjs/{base-DbfvhKRa.js.map → base-B_M9Y7nD.js.map} +1 -1
  17. package/dist/cjs/{base-BDGmLWVj.js → base-CaQNXZrN.js} +5 -5
  18. package/dist/cjs/{base-BDGmLWVj.js.map → base-CaQNXZrN.js.map} +1 -1
  19. package/dist/cjs/{base-CwXJywKD.js → base-DlsemYqM.js} +4 -4
  20. package/dist/cjs/{base-CwXJywKD.js.map → base-DlsemYqM.js.map} +1 -1
  21. package/dist/cjs/{base-DaK2F3pq.js → base-FZ2Hemhr.js} +16 -16
  22. package/dist/cjs/{base-DaK2F3pq.js.map → base-FZ2Hemhr.js.map} +1 -1
  23. package/dist/cjs/{base-web-component-C8MLLGxi.js → base-web-component-BK8X1O8C.js} +16 -9
  24. package/dist/cjs/base-web-component-BK8X1O8C.js.map +1 -0
  25. package/dist/cjs/{base-web-component-mmgXJMg0.js → base-web-component-GLk66TOu.js} +7 -7
  26. package/dist/cjs/{base-web-component-mmgXJMg0.js.map → base-web-component-GLk66TOu.js.map} +1 -1
  27. package/dist/cjs/{behavior-DWqrO2yi.js → behavior-BEaXHesG.js} +3 -3
  28. package/dist/cjs/{behavior-DWqrO2yi.js.map → behavior-BEaXHesG.js.map} +1 -1
  29. package/dist/cjs/{color-C9UZwMvC.js → color-CZiNkZFM.js} +3 -3
  30. package/dist/cjs/{color-C9UZwMvC.js.map → color-CZiNkZFM.js.map} +1 -1
  31. package/dist/cjs/{component-ZPvcKmPR.js → component-3EZdZbDH.js} +3 -3
  32. package/dist/cjs/{component-ZPvcKmPR.js.map → component-3EZdZbDH.js.map} +1 -1
  33. package/dist/cjs/{component-DuPEYx7z.js → component-B96XYPtn.js} +4 -4
  34. package/dist/cjs/{component-DuPEYx7z.js.map → component-B96XYPtn.js.map} +1 -1
  35. package/dist/cjs/{component-uHDfV5D8.js → component-BUCx7i5o.js} +7 -7
  36. package/dist/cjs/{component-uHDfV5D8.js.map → component-BUCx7i5o.js.map} +1 -1
  37. package/dist/cjs/{component-DNDfYzXZ.js → component-Bc8fDajy.js} +5 -5
  38. package/dist/cjs/{component-DNDfYzXZ.js.map → component-Bc8fDajy.js.map} +1 -1
  39. package/dist/cjs/{component-CmvG-auD.js → component-Be3QHUyC.js} +3 -3
  40. package/dist/cjs/{component-CmvG-auD.js.map → component-Be3QHUyC.js.map} +1 -1
  41. package/dist/cjs/{component-BT86Nj6R.js → component-Bj4QdlXm.js} +5 -5
  42. package/dist/cjs/{component-BT86Nj6R.js.map → component-Bj4QdlXm.js.map} +1 -1
  43. package/dist/cjs/{component-xIM903qi.js → component-CAkixzEQ.js} +3 -3
  44. package/dist/cjs/{component-xIM903qi.js.map → component-CAkixzEQ.js.map} +1 -1
  45. package/dist/cjs/{component-1NrcvQzp.js → component-CPVFCnaN.js} +7 -7
  46. package/dist/cjs/{component-1NrcvQzp.js.map → component-CPVFCnaN.js.map} +1 -1
  47. package/dist/cjs/{component-o3s7XplI.js → component-Dd-PS3jp.js} +4 -4
  48. package/dist/cjs/{component-o3s7XplI.js.map → component-Dd-PS3jp.js.map} +1 -1
  49. package/dist/cjs/{component-CtNPdMS0.js → component-DjDOgcWW.js} +5 -5
  50. package/dist/cjs/{component-CtNPdMS0.js.map → component-DjDOgcWW.js.map} +1 -1
  51. package/dist/cjs/{component-X_thXnkE.js → component-Du98sklA.js} +3 -3
  52. package/dist/cjs/{component-X_thXnkE.js.map → component-Du98sklA.js.map} +1 -1
  53. package/dist/cjs/{component-GfDUM7Um.js → component-Dw6Tq7Wb.js} +4 -4
  54. package/dist/cjs/{component-GfDUM7Um.js.map → component-Dw6Tq7Wb.js.map} +1 -1
  55. package/dist/cjs/{contrast-kLMuDQLl.js → contrast-CrL_sMV6.js} +3 -12
  56. package/dist/cjs/contrast-CrL_sMV6.js.map +1 -0
  57. package/dist/cjs/{dev.utils-BjrG4FNf.js → dev.utils-DybQ4euF.js} +3 -3
  58. package/dist/cjs/{dev.utils-BjrG4FNf.js.map → dev.utils-DybQ4euF.js.map} +1 -1
  59. package/dist/cjs/{devtools-D_afWgpU.js → devtools-Bw5sQJOl.js} +4 -4
  60. package/dist/cjs/{devtools-D_afWgpU.js.map → devtools-Bw5sQJOl.js.map} +1 -1
  61. package/dist/cjs/{field-control-DAHkvYr4.js → field-control-4CnbMR0i.js} +8 -8
  62. package/dist/cjs/{field-control-DAHkvYr4.js.map → field-control-4CnbMR0i.js.map} +1 -1
  63. package/dist/cjs/{group-DHYxVn2x.js → group-BCkxYeMA.js} +5 -5
  64. package/dist/cjs/{group-DHYxVn2x.js.map → group-BCkxYeMA.js.map} +1 -1
  65. package/dist/cjs/{index-BnEus4Y9.js → index-RAfZF5x0.js} +3 -3
  66. package/dist/cjs/{index-BnEus4Y9.js.map → index-RAfZF5x0.js.map} +1 -1
  67. package/dist/cjs/{input-eDaEE80n.js → input-7t7ZvgAy.js} +5 -5
  68. package/dist/cjs/{input-eDaEE80n.js.map → input-7t7ZvgAy.js.map} +1 -1
  69. package/dist/cjs/{input-container-Cye4qL9S.js → input-container-BUK2Fp_t.js} +7 -7
  70. package/dist/cjs/{input-container-Cye4qL9S.js.map → input-container-BUK2Fp_t.js.map} +1 -1
  71. package/dist/cjs/{item-Dflr47KV.js → item-BInO5rWQ.js} +8 -8
  72. package/dist/cjs/{item-Dflr47KV.js.map → item-BInO5rWQ.js.map} +1 -1
  73. package/dist/cjs/{item-BSdQbEav.js → item-D8Zz2ROC.js} +3 -3
  74. package/dist/cjs/{item-BSdQbEav.js.map → item-D8Zz2ROC.js.map} +1 -1
  75. package/dist/cjs/{item-C0yzJQUg.js → item-DO176juh.js} +4 -4
  76. package/dist/cjs/{item-C0yzJQUg.js.map → item-DO176juh.js.map} +1 -1
  77. package/dist/cjs/{item-wz0gBnmK.js → item-K1SS6pAu.js} +4 -4
  78. package/dist/cjs/{item-wz0gBnmK.js.map → item-K1SS6pAu.js.map} +1 -1
  79. package/dist/cjs/kol-abbr.cjs.entry.js +2 -2
  80. package/dist/cjs/kol-accordion.cjs.entry.js +7 -7
  81. package/dist/cjs/kol-alert.cjs.entry.js +11 -11
  82. package/dist/cjs/kol-avatar.cjs.entry.js +3 -3
  83. package/dist/cjs/kol-badge.cjs.entry.js +12 -12
  84. package/dist/cjs/kol-breadcrumb.cjs.entry.js +9 -9
  85. package/dist/cjs/kol-button-link.cjs.entry.js +10 -10
  86. package/dist/cjs/kol-button.cjs.entry.js +10 -10
  87. package/dist/cjs/kol-card.cjs.entry.js +11 -11
  88. package/dist/cjs/kol-click-button.cjs.entry.js +2 -2
  89. package/dist/cjs/kol-combobox.cjs.entry.js +18 -18
  90. package/dist/cjs/kol-details.cjs.entry.js +7 -7
  91. package/dist/cjs/kol-dialog.cjs.entry.js +13 -13
  92. package/dist/cjs/kol-drawer.cjs.entry.js +12 -12
  93. package/dist/cjs/kol-form.cjs.entry.js +12 -12
  94. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-icon.cjs.entry.js +3 -3
  96. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-input-checkbox.cjs.entry.js +17 -17
  98. package/dist/cjs/kol-input-color.cjs.entry.js +18 -18
  99. package/dist/cjs/kol-input-date.cjs.entry.js +18 -18
  100. package/dist/cjs/kol-input-email.cjs.entry.js +20 -20
  101. package/dist/cjs/kol-input-file.cjs.entry.js +17 -17
  102. package/dist/cjs/kol-input-number.cjs.entry.js +18 -18
  103. package/dist/cjs/kol-input-password.cjs.entry.js +22 -22
  104. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  105. package/dist/cjs/kol-input-radio.cjs.entry.js +17 -17
  106. package/dist/cjs/kol-input-range.cjs.entry.js +18 -18
  107. package/dist/cjs/kol-input-text.cjs.entry.js +20 -20
  108. package/dist/cjs/kol-kolibri.cjs.entry.js +2 -2
  109. package/dist/cjs/kol-link-button.cjs.entry.js +10 -10
  110. package/dist/cjs/kol-link.cjs.entry.js +10 -10
  111. package/dist/cjs/kol-meter.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-modal.cjs.entry.js +13 -13
  113. package/dist/cjs/kol-nav.cjs.entry.js +13 -13
  114. package/dist/cjs/kol-pagination.cjs.entry.js +18 -18
  115. package/dist/cjs/kol-popover-button.cjs.entry.js +12 -13
  116. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  117. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-select.cjs.entry.js +17 -17
  120. package/dist/cjs/kol-single-select.cjs.entry.js +18 -18
  121. package/dist/cjs/kol-skeleton.cjs.entry.js +2 -2
  122. package/dist/cjs/kol-skip-nav.cjs.entry.js +9 -9
  123. package/dist/cjs/kol-spin.cjs.entry.js +3 -3
  124. package/dist/cjs/kol-split-button.cjs.entry.js +12 -12
  125. package/dist/cjs/kol-table-stateful.cjs.entry.js +25 -25
  126. package/dist/cjs/kol-table-stateless.cjs.entry.js +19 -19
  127. package/dist/cjs/kol-tabs.cjs.entry.js +9 -9
  128. package/dist/cjs/kol-textarea.cjs.entry.js +20 -20
  129. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  130. package/dist/cjs/kol-toast-container.cjs.entry.js +11 -11
  131. package/dist/cjs/kol-toolbar.cjs.entry.js +33 -14
  132. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +4 -4
  134. package/dist/cjs/kol-tree-item.cjs.entry.js +9 -9
  135. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-version.cjs.entry.js +10 -10
  137. package/dist/cjs/kolibri.cjs.js +2 -2
  138. package/dist/cjs/loader.cjs.js +2 -2
  139. package/dist/cjs/{resolve-props-DOU1VJNL.js → resolve-props-BBVQo_N5.js} +3 -3
  140. package/dist/cjs/{resolve-props-DOU1VJNL.js.map → resolve-props-BBVQo_N5.js.map} +1 -1
  141. package/dist/cjs/{scroll-lock-C6dUw4on.js → scroll-lock-zJbOf1Xr.js} +3 -3
  142. package/dist/cjs/{scroll-lock-C6dUw4on.js.map → scroll-lock-zJbOf1Xr.js.map} +1 -1
  143. package/dist/cjs/{suggestions-0hcm13gT.js → suggestions-quLXODgi.js} +4 -4
  144. package/dist/cjs/{suggestions-0hcm13gT.js.map → suggestions-quLXODgi.js.map} +1 -1
  145. package/dist/cjs/test-component.cjs.entry.js +1 -1
  146. package/dist/cjs/{toggle-handler-kOflG5om.js → toggle-handler-CENFGRWT.js} +5 -5
  147. package/dist/cjs/{toggle-handler-kOflG5om.js.map → toggle-handler-CENFGRWT.js.map} +1 -1
  148. package/dist/collection/components/accordion/style.css +2 -2
  149. package/dist/collection/components/alert/style.css +2 -2
  150. package/dist/collection/components/badge/style.css +2 -2
  151. package/dist/collection/components/breadcrumb/style.css +2 -2
  152. package/dist/collection/components/button/style.css +2 -2
  153. package/dist/collection/components/button-link/style.css +2 -2
  154. package/dist/collection/components/card/style.css +2 -2
  155. package/dist/collection/components/combobox/style.css +2 -2
  156. package/dist/collection/components/details/style.css +2 -2
  157. package/dist/collection/components/dialog/style.css +2 -2
  158. package/dist/collection/components/drawer/style.css +2 -2
  159. package/dist/collection/components/form/style.css +2 -2
  160. package/dist/collection/components/icon/style.css +2 -2
  161. package/dist/collection/components/input-checkbox/style.css +2 -2
  162. package/dist/collection/components/input-color/style.css +2 -2
  163. package/dist/collection/components/input-date/style.css +2 -2
  164. package/dist/collection/components/input-email/style.css +2 -2
  165. package/dist/collection/components/input-file/style.css +2 -2
  166. package/dist/collection/components/input-number/style.css +2 -2
  167. package/dist/collection/components/input-password/component.js +2 -2
  168. package/dist/collection/components/input-password/component.js.map +1 -1
  169. package/dist/collection/components/input-password/style.css +2 -2
  170. package/dist/collection/components/input-radio/style.css +2 -2
  171. package/dist/collection/components/input-range/style.css +2 -2
  172. package/dist/collection/components/input-text/style.css +2 -2
  173. package/dist/collection/components/link/style.css +2 -2
  174. package/dist/collection/components/link-button/style.css +2 -2
  175. package/dist/collection/components/modal/style.css +2 -2
  176. package/dist/collection/components/nav/style.css +2 -2
  177. package/dist/collection/components/pagination/style.css +2 -2
  178. package/dist/collection/components/popover-button/component.js +2 -4
  179. package/dist/collection/components/popover-button/component.js.map +1 -1
  180. package/dist/collection/components/popover-button/style.css +2 -2
  181. package/dist/collection/components/select/style.css +2 -2
  182. package/dist/collection/components/single-select/style.css +2 -2
  183. package/dist/collection/components/skip-nav/style.css +2 -2
  184. package/dist/collection/components/split-button/style.css +2 -2
  185. package/dist/collection/components/table-stateful/style.css +2 -2
  186. package/dist/collection/components/table-stateless/style.css +2 -2
  187. package/dist/collection/components/tabs/style.css +2 -2
  188. package/dist/collection/components/textarea/component.js +3 -3
  189. package/dist/collection/components/textarea/component.js.map +1 -1
  190. package/dist/collection/components/textarea/style.css +2 -2
  191. package/dist/collection/components/toaster/style.css +2 -2
  192. package/dist/collection/components/toolbar/component.js +1 -1
  193. package/dist/collection/components/toolbar/component.js.map +1 -1
  194. package/dist/collection/components/toolbar/style.css +9 -3
  195. package/dist/collection/components/tree-item/style.css +2 -2
  196. package/dist/collection/components/version/style.css +2 -2
  197. package/dist/collection/internal/functional-components/form-field/select-value.js +3 -1
  198. package/dist/collection/internal/functional-components/form-field/select-value.js.map +1 -1
  199. package/dist/collection/internal/functional-components/form-field/select.js +8 -3
  200. package/dist/collection/internal/functional-components/form-field/select.js.map +1 -1
  201. package/dist/collection/internal/functional-components/form-field/select.test.js +88 -0
  202. package/dist/collection/internal/functional-components/form-field/select.test.js.map +1 -1
  203. package/dist/collection/internal/functional-components/form-field/textarea.js.map +1 -1
  204. package/dist/collection/internal/functional-components/toolbar/api.js.map +1 -1
  205. package/dist/collection/internal/functional-components/toolbar/component.js +1 -1
  206. package/dist/collection/internal/functional-components/toolbar/component.js.map +1 -1
  207. package/dist/collection/internal/functional-components/toolbar/item.js +20 -1
  208. package/dist/collection/internal/functional-components/toolbar/item.js.map +1 -1
  209. package/dist/collection/schema/props/toolbar-items.js.map +1 -1
  210. package/dist/collection/schema/utils/contrast.js +2 -10
  211. package/dist/collection/schema/utils/contrast.js.map +1 -1
  212. package/dist/components/base-web-component4.js +11 -4
  213. package/dist/components/base-web-component4.js.map +1 -1
  214. package/dist/components/contrast.js +1 -10
  215. package/dist/components/contrast.js.map +1 -1
  216. package/dist/components/kol-accordion.js +1 -1
  217. package/dist/components/kol-alert.js +1 -1
  218. package/dist/components/kol-badge.js +1 -1
  219. package/dist/components/kol-breadcrumb.js +1 -1
  220. package/dist/components/kol-button-link.js +1 -1
  221. package/dist/components/kol-button.js +1 -1
  222. package/dist/components/kol-card.js +1 -1
  223. package/dist/components/kol-combobox.js +1 -1
  224. package/dist/components/kol-details.js +1 -1
  225. package/dist/components/kol-dialog.js +1 -1
  226. package/dist/components/kol-drawer.js +1 -1
  227. package/dist/components/kol-form.js +1 -1
  228. package/dist/components/kol-icon.js +1 -1
  229. package/dist/components/kol-input-checkbox.js +1 -1
  230. package/dist/components/kol-input-color.js +1 -1
  231. package/dist/components/kol-input-date.js +1 -1
  232. package/dist/components/kol-input-email.js +1 -1
  233. package/dist/components/kol-input-file.js +1 -1
  234. package/dist/components/kol-input-number.js +1 -1
  235. package/dist/components/kol-input-password.js +3 -3
  236. package/dist/components/kol-input-password.js.map +1 -1
  237. package/dist/components/kol-input-radio.js +1 -1
  238. package/dist/components/kol-input-range.js +1 -1
  239. package/dist/components/kol-input-text.js +1 -1
  240. package/dist/components/kol-link-button.js +1 -1
  241. package/dist/components/kol-link.js +1 -1
  242. package/dist/components/kol-modal.js +1 -1
  243. package/dist/components/kol-nav.js +1 -1
  244. package/dist/components/kol-pagination.js +1 -1
  245. package/dist/components/kol-popover-button.js +2 -3
  246. package/dist/components/kol-popover-button.js.map +1 -1
  247. package/dist/components/kol-select.js +1 -1
  248. package/dist/components/kol-single-select.js +1 -1
  249. package/dist/components/kol-skip-nav.js +1 -1
  250. package/dist/components/kol-split-button.js +1 -1
  251. package/dist/components/kol-table-stateful.js +1 -1
  252. package/dist/components/kol-table-stateless.js +1 -1
  253. package/dist/components/kol-tabs.js +1 -1
  254. package/dist/components/kol-textarea.js +4 -4
  255. package/dist/components/kol-textarea.js.map +1 -1
  256. package/dist/components/kol-toast-container.js +1 -1
  257. package/dist/components/kol-toolbar.js +23 -4
  258. package/dist/components/kol-toolbar.js.map +1 -1
  259. package/dist/components/kol-tree-item.js +1 -1
  260. package/dist/components/kol-version.js +1 -1
  261. package/dist/esm/{Heading-DXl16qig.js → Heading-BctDgC7M.js} +3 -3
  262. package/dist/esm/{Heading-DXl16qig.js.map → Heading-BctDgC7M.js.map} +1 -1
  263. package/dist/esm/{api-C8TfIYlY.js → api-B6fEjFVl.js} +12 -12
  264. package/dist/{kolibri/api-C8TfIYlY.js.map → esm/api-B6fEjFVl.js.map} +1 -1
  265. package/dist/esm/{api-BA-AFr5H.js → api-T-JuZMlj.js} +8 -8
  266. package/dist/esm/{api-BA-AFr5H.js.map → api-T-JuZMlj.js.map} +1 -1
  267. package/dist/esm/{app-globals-lFdBwFG2.js → app-globals-CvvWI2x9.js} +4 -4
  268. package/dist/esm/{app-globals-lFdBwFG2.js.map → app-globals-CvvWI2x9.js.map} +1 -1
  269. package/dist/esm/{base-DiSQvfGU.js → base-BARjFMg1.js} +5 -5
  270. package/dist/esm/{base-DiSQvfGU.js.map → base-BARjFMg1.js.map} +1 -1
  271. package/dist/esm/{base-D8GcFhvD.js → base-BbVXW6YI.js} +4 -4
  272. package/dist/{kolibri/base-D8GcFhvD.js.map → esm/base-BbVXW6YI.js.map} +1 -1
  273. package/dist/esm/{base-B5F8ROuQ.js → base-D8yYjJsn.js} +4 -4
  274. package/dist/esm/{base-B5F8ROuQ.js.map → base-D8yYjJsn.js.map} +1 -1
  275. package/dist/esm/{base-BpqjfzG1.js → base-Dvr4F_Pr.js} +16 -16
  276. package/dist/{kolibri/base-BpqjfzG1.js.map → esm/base-Dvr4F_Pr.js.map} +1 -1
  277. package/dist/esm/{base-web-component-CkaKv7O0.js → base-web-component-BzB5tP9s.js} +16 -9
  278. package/dist/esm/base-web-component-BzB5tP9s.js.map +1 -0
  279. package/dist/esm/{base-web-component-BozlJoj7.js → base-web-component-DU3hnIWD.js} +7 -7
  280. package/dist/esm/{base-web-component-BozlJoj7.js.map → base-web-component-DU3hnIWD.js.map} +1 -1
  281. package/dist/esm/{behavior-BuNqmjz8.js → behavior-CbqCHL6O.js} +3 -3
  282. package/dist/esm/{behavior-BuNqmjz8.js.map → behavior-CbqCHL6O.js.map} +1 -1
  283. package/dist/esm/{color-Du3Ft0XV.js → color-QYuhlVFz.js} +3 -3
  284. package/dist/esm/{color-Du3Ft0XV.js.map → color-QYuhlVFz.js.map} +1 -1
  285. package/dist/esm/{component-Da5dJMKj.js → component-BaD1OTyv.js} +5 -5
  286. package/dist/{kolibri/component-Da5dJMKj.js.map → esm/component-BaD1OTyv.js.map} +1 -1
  287. package/dist/esm/{component-DD5QqT5m.js → component-BjWF1SyZ.js} +7 -7
  288. package/dist/esm/{component-DD5QqT5m.js.map → component-BjWF1SyZ.js.map} +1 -1
  289. package/dist/esm/{component-Bd7PXqOG.js → component-Ch6fss2f.js} +5 -5
  290. package/dist/esm/{component-Bd7PXqOG.js.map → component-Ch6fss2f.js.map} +1 -1
  291. package/dist/esm/{component-C3aqLFK2.js → component-CmBM-Y1C.js} +7 -7
  292. package/dist/esm/{component-C3aqLFK2.js.map → component-CmBM-Y1C.js.map} +1 -1
  293. package/dist/esm/{component-xrrwVuiI.js → component-CvhmYY4a.js} +4 -4
  294. package/dist/esm/{component-xrrwVuiI.js.map → component-CvhmYY4a.js.map} +1 -1
  295. package/dist/esm/{component-De6Do_gt.js → component-D0iTurA_.js} +3 -3
  296. package/dist/esm/{component-De6Do_gt.js.map → component-D0iTurA_.js.map} +1 -1
  297. package/dist/esm/{component-BjH8s4-t.js → component-DKS73hKY.js} +3 -3
  298. package/dist/{kolibri/component-BjH8s4-t.js.map → esm/component-DKS73hKY.js.map} +1 -1
  299. package/dist/esm/{component-BxKN0JbT.js → component-DhBTawyT.js} +3 -3
  300. package/dist/esm/{component-BxKN0JbT.js.map → component-DhBTawyT.js.map} +1 -1
  301. package/dist/esm/{component-CWGVLsSH.js → component-G9vQ1mQA.js} +4 -4
  302. package/dist/{kolibri/component-CWGVLsSH.js.map → esm/component-G9vQ1mQA.js.map} +1 -1
  303. package/dist/esm/{component-D_58mw87.js → component-QCFfSS76.js} +4 -4
  304. package/dist/{kolibri/component-D_58mw87.js.map → esm/component-QCFfSS76.js.map} +1 -1
  305. package/dist/esm/{component-BKOep2WQ.js → component-d1d-AIsY.js} +5 -5
  306. package/dist/{kolibri/component-BKOep2WQ.js.map → esm/component-d1d-AIsY.js.map} +1 -1
  307. package/dist/esm/{component-C9DexidK.js → component-sf_0WjJF.js} +3 -3
  308. package/dist/esm/{component-C9DexidK.js.map → component-sf_0WjJF.js.map} +1 -1
  309. package/dist/esm/{contrast-BKAJJL2K.js → contrast-DMN9saXP.js} +3 -12
  310. package/dist/esm/contrast-DMN9saXP.js.map +1 -0
  311. package/dist/esm/{dev.utils-CYtV9X0K.js → dev.utils-BGy8dbtQ.js} +3 -3
  312. package/dist/esm/{dev.utils-CYtV9X0K.js.map → dev.utils-BGy8dbtQ.js.map} +1 -1
  313. package/dist/esm/{devtools-B0qRaQdp.js → devtools-CZ8Mnmwl.js} +4 -4
  314. package/dist/{kolibri/devtools-B0qRaQdp.js.map → esm/devtools-CZ8Mnmwl.js.map} +1 -1
  315. package/dist/esm/{field-control-C5hjw2Rb.js → field-control-CLnFuMmy.js} +8 -8
  316. package/dist/{kolibri/field-control-C5hjw2Rb.js.map → esm/field-control-CLnFuMmy.js.map} +1 -1
  317. package/dist/esm/{group-2hP8qbvk.js → group-BAOmF5Ok.js} +5 -5
  318. package/dist/esm/{group-2hP8qbvk.js.map → group-BAOmF5Ok.js.map} +1 -1
  319. package/dist/esm/{index-DsCeQ9Ys.js → index-DAKQV03B.js} +3 -3
  320. package/dist/{kolibri/index-DsCeQ9Ys.js.map → esm/index-DAKQV03B.js.map} +1 -1
  321. package/dist/esm/{input-Dp5NBocQ.js → input-D2i1QEbL.js} +5 -5
  322. package/dist/esm/{input-Dp5NBocQ.js.map → input-D2i1QEbL.js.map} +1 -1
  323. package/dist/esm/{input-container-QA8-0_0p.js → input-container-wQm8-W3s.js} +7 -7
  324. package/dist/esm/{input-container-QA8-0_0p.js.map → input-container-wQm8-W3s.js.map} +1 -1
  325. package/dist/esm/{item-BIjqEkyy.js → item-DJ8LXOMv.js} +8 -8
  326. package/dist/{kolibri/item-BIjqEkyy.js.map → esm/item-DJ8LXOMv.js.map} +1 -1
  327. package/dist/esm/{item-CXyolUj2.js → item-DbLIGnc9.js} +4 -4
  328. package/dist/{kolibri/item-CXyolUj2.js.map → esm/item-DbLIGnc9.js.map} +1 -1
  329. package/dist/esm/{item-CaxJw3ad.js → item-Dkm57tce.js} +4 -4
  330. package/dist/esm/{item-CaxJw3ad.js.map → item-Dkm57tce.js.map} +1 -1
  331. package/dist/esm/{item-DY0fVVnj.js → item-DuBSR8BS.js} +3 -3
  332. package/dist/esm/{item-DY0fVVnj.js.map → item-DuBSR8BS.js.map} +1 -1
  333. package/dist/esm/kol-abbr.entry.js +2 -2
  334. package/dist/esm/kol-accordion.entry.js +7 -7
  335. package/dist/esm/kol-alert.entry.js +11 -11
  336. package/dist/esm/kol-avatar.entry.js +3 -3
  337. package/dist/esm/kol-badge.entry.js +12 -12
  338. package/dist/esm/kol-breadcrumb.entry.js +9 -9
  339. package/dist/esm/kol-button-link.entry.js +10 -10
  340. package/dist/esm/kol-button.entry.js +10 -10
  341. package/dist/esm/kol-card.entry.js +11 -11
  342. package/dist/esm/kol-click-button.entry.js +2 -2
  343. package/dist/esm/kol-combobox.entry.js +18 -18
  344. package/dist/esm/kol-details.entry.js +7 -7
  345. package/dist/esm/kol-dialog.entry.js +13 -13
  346. package/dist/esm/kol-drawer.entry.js +12 -12
  347. package/dist/esm/kol-form.entry.js +12 -12
  348. package/dist/esm/kol-heading.entry.js +1 -1
  349. package/dist/esm/kol-icon.entry.js +3 -3
  350. package/dist/esm/kol-image.entry.js +1 -1
  351. package/dist/esm/kol-input-checkbox.entry.js +17 -17
  352. package/dist/esm/kol-input-color.entry.js +18 -18
  353. package/dist/esm/kol-input-date.entry.js +18 -18
  354. package/dist/esm/kol-input-email.entry.js +20 -20
  355. package/dist/esm/kol-input-file.entry.js +17 -17
  356. package/dist/esm/kol-input-number.entry.js +18 -18
  357. package/dist/esm/kol-input-password.entry.js +22 -22
  358. package/dist/esm/kol-input-password.entry.js.map +1 -1
  359. package/dist/esm/kol-input-radio.entry.js +17 -17
  360. package/dist/esm/kol-input-range.entry.js +18 -18
  361. package/dist/esm/kol-input-text.entry.js +20 -20
  362. package/dist/esm/kol-kolibri.entry.js +2 -2
  363. package/dist/esm/kol-link-button.entry.js +10 -10
  364. package/dist/esm/kol-link.entry.js +10 -10
  365. package/dist/esm/kol-meter.entry.js +1 -1
  366. package/dist/esm/kol-modal.entry.js +13 -13
  367. package/dist/esm/kol-nav.entry.js +13 -13
  368. package/dist/esm/kol-pagination.entry.js +18 -18
  369. package/dist/esm/kol-popover-button.entry.js +12 -13
  370. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  371. package/dist/esm/kol-progress.entry.js +1 -1
  372. package/dist/esm/kol-quote.entry.js +1 -1
  373. package/dist/esm/kol-select.entry.js +17 -17
  374. package/dist/esm/kol-single-select.entry.js +18 -18
  375. package/dist/esm/kol-skeleton.entry.js +2 -2
  376. package/dist/esm/kol-skip-nav.entry.js +9 -9
  377. package/dist/esm/kol-spin.entry.js +3 -3
  378. package/dist/esm/kol-split-button.entry.js +12 -12
  379. package/dist/esm/kol-table-stateful.entry.js +25 -25
  380. package/dist/esm/kol-table-stateless.entry.js +19 -19
  381. package/dist/esm/kol-tabs.entry.js +9 -9
  382. package/dist/esm/kol-textarea.entry.js +20 -20
  383. package/dist/esm/kol-textarea.entry.js.map +1 -1
  384. package/dist/esm/kol-toast-container.entry.js +11 -11
  385. package/dist/esm/kol-toolbar.entry.js +33 -14
  386. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  387. package/dist/esm/kol-tooltip-wc.entry.js +4 -4
  388. package/dist/esm/kol-tree-item.entry.js +9 -9
  389. package/dist/esm/kol-tree.entry.js +1 -1
  390. package/dist/esm/kol-version.entry.js +10 -10
  391. package/dist/esm/kolibri.js +3 -3
  392. package/dist/esm/loader.js +3 -3
  393. package/dist/esm/{resolve-props-DJxTzf-G.js → resolve-props-BTiKxg-8.js} +3 -3
  394. package/dist/{kolibri/resolve-props-DJxTzf-G.js.map → esm/resolve-props-BTiKxg-8.js.map} +1 -1
  395. package/dist/esm/{scroll-lock-BN6ZnBdc.js → scroll-lock-DRNyw9qH.js} +3 -3
  396. package/dist/{kolibri/scroll-lock-BN6ZnBdc.js.map → esm/scroll-lock-DRNyw9qH.js.map} +1 -1
  397. package/dist/esm/{suggestions-DlpHvEGv.js → suggestions-CG-TuGC4.js} +4 -4
  398. package/dist/esm/{suggestions-DlpHvEGv.js.map → suggestions-CG-TuGC4.js.map} +1 -1
  399. package/dist/esm/test-component.entry.js +1 -1
  400. package/dist/esm/{toggle-handler-Xex3lIll.js → toggle-handler-aTxO0Wem.js} +5 -5
  401. package/dist/{kolibri/toggle-handler-Xex3lIll.js.map → esm/toggle-handler-aTxO0Wem.js.map} +1 -1
  402. package/dist/kolibri/{Heading-DXl16qig.js → Heading-BctDgC7M.js} +2 -2
  403. package/dist/kolibri/{Heading-DXl16qig.js.map → Heading-BctDgC7M.js.map} +1 -1
  404. package/dist/kolibri/api-B6fEjFVl.js +5 -0
  405. package/dist/{esm/api-C8TfIYlY.js.map → kolibri/api-B6fEjFVl.js.map} +1 -1
  406. package/dist/kolibri/api-T-JuZMlj.js +5 -0
  407. package/dist/kolibri/{api-BA-AFr5H.js.map → api-T-JuZMlj.js.map} +1 -1
  408. package/dist/kolibri/app-globals-CvvWI2x9.js +5 -0
  409. package/dist/kolibri/{app-globals-lFdBwFG2.js.map → app-globals-CvvWI2x9.js.map} +1 -1
  410. package/dist/kolibri/base-BARjFMg1.js +5 -0
  411. package/dist/kolibri/{base-DiSQvfGU.js.map → base-BARjFMg1.js.map} +1 -1
  412. package/dist/kolibri/{base-D8GcFhvD.js → base-BbVXW6YI.js} +2 -2
  413. package/dist/{esm/base-D8GcFhvD.js.map → kolibri/base-BbVXW6YI.js.map} +1 -1
  414. package/dist/kolibri/{base-B5F8ROuQ.js → base-D8yYjJsn.js} +2 -2
  415. package/dist/kolibri/{base-B5F8ROuQ.js.map → base-D8yYjJsn.js.map} +1 -1
  416. package/dist/kolibri/base-Dvr4F_Pr.js +5 -0
  417. package/dist/{esm/base-BpqjfzG1.js.map → kolibri/base-Dvr4F_Pr.js.map} +1 -1
  418. package/dist/kolibri/base-web-component-BzB5tP9s.js +5 -0
  419. package/dist/kolibri/base-web-component-BzB5tP9s.js.map +1 -0
  420. package/dist/kolibri/{base-web-component-BozlJoj7.js → base-web-component-DU3hnIWD.js} +2 -2
  421. package/dist/kolibri/{base-web-component-BozlJoj7.js.map → base-web-component-DU3hnIWD.js.map} +1 -1
  422. package/dist/kolibri/{behavior-BuNqmjz8.js → behavior-CbqCHL6O.js} +2 -2
  423. package/dist/kolibri/{behavior-BuNqmjz8.js.map → behavior-CbqCHL6O.js.map} +1 -1
  424. package/dist/kolibri/{color-Du3Ft0XV.js → color-QYuhlVFz.js} +2 -2
  425. package/dist/kolibri/{color-Du3Ft0XV.js.map → color-QYuhlVFz.js.map} +1 -1
  426. package/dist/kolibri/component-BaD1OTyv.js +5 -0
  427. package/dist/{esm/component-Da5dJMKj.js.map → kolibri/component-BaD1OTyv.js.map} +1 -1
  428. package/dist/kolibri/{component-DD5QqT5m.js → component-BjWF1SyZ.js} +2 -2
  429. package/dist/kolibri/{component-DD5QqT5m.js.map → component-BjWF1SyZ.js.map} +1 -1
  430. package/dist/kolibri/{component-Bd7PXqOG.js → component-Ch6fss2f.js} +2 -2
  431. package/dist/kolibri/{component-Bd7PXqOG.js.map → component-Ch6fss2f.js.map} +1 -1
  432. package/dist/kolibri/component-CmBM-Y1C.js +5 -0
  433. package/dist/kolibri/{component-C3aqLFK2.js.map → component-CmBM-Y1C.js.map} +1 -1
  434. package/dist/kolibri/component-CvhmYY4a.js +5 -0
  435. package/dist/kolibri/{component-xrrwVuiI.js.map → component-CvhmYY4a.js.map} +1 -1
  436. package/dist/kolibri/component-D0iTurA_.js +5 -0
  437. package/dist/kolibri/{component-De6Do_gt.js.map → component-D0iTurA_.js.map} +1 -1
  438. package/dist/kolibri/{component-BjH8s4-t.js → component-DKS73hKY.js} +2 -2
  439. package/dist/{esm/component-BjH8s4-t.js.map → kolibri/component-DKS73hKY.js.map} +1 -1
  440. package/dist/kolibri/component-DhBTawyT.js +5 -0
  441. package/dist/kolibri/{component-BxKN0JbT.js.map → component-DhBTawyT.js.map} +1 -1
  442. package/dist/kolibri/{component-CWGVLsSH.js → component-G9vQ1mQA.js} +2 -2
  443. package/dist/{esm/component-CWGVLsSH.js.map → kolibri/component-G9vQ1mQA.js.map} +1 -1
  444. package/dist/kolibri/{component-D_58mw87.js → component-QCFfSS76.js} +2 -2
  445. package/dist/{esm/component-D_58mw87.js.map → kolibri/component-QCFfSS76.js.map} +1 -1
  446. package/dist/kolibri/{component-BKOep2WQ.js → component-d1d-AIsY.js} +2 -2
  447. package/dist/{esm/component-BKOep2WQ.js.map → kolibri/component-d1d-AIsY.js.map} +1 -1
  448. package/dist/kolibri/{component-C9DexidK.js → component-sf_0WjJF.js} +2 -2
  449. package/dist/kolibri/{component-C9DexidK.js.map → component-sf_0WjJF.js.map} +1 -1
  450. package/dist/kolibri/contrast-DMN9saXP.js +5 -0
  451. package/dist/kolibri/contrast-DMN9saXP.js.map +1 -0
  452. package/dist/kolibri/{dev.utils-CYtV9X0K.js → dev.utils-BGy8dbtQ.js} +2 -2
  453. package/dist/kolibri/{dev.utils-CYtV9X0K.js.map → dev.utils-BGy8dbtQ.js.map} +1 -1
  454. package/dist/kolibri/devtools-CZ8Mnmwl.js +5 -0
  455. package/dist/{esm/devtools-B0qRaQdp.js.map → kolibri/devtools-CZ8Mnmwl.js.map} +1 -1
  456. package/dist/kolibri/field-control-CLnFuMmy.js +5 -0
  457. package/dist/{esm/field-control-C5hjw2Rb.js.map → kolibri/field-control-CLnFuMmy.js.map} +1 -1
  458. package/dist/kolibri/{group-2hP8qbvk.js → group-BAOmF5Ok.js} +2 -2
  459. package/dist/kolibri/{group-2hP8qbvk.js.map → group-BAOmF5Ok.js.map} +1 -1
  460. package/dist/kolibri/{index-DsCeQ9Ys.js → index-DAKQV03B.js} +2 -2
  461. package/dist/{esm/index-DsCeQ9Ys.js.map → kolibri/index-DAKQV03B.js.map} +1 -1
  462. package/dist/kolibri/input-D2i1QEbL.js +5 -0
  463. package/dist/kolibri/{input-Dp5NBocQ.js.map → input-D2i1QEbL.js.map} +1 -1
  464. package/dist/kolibri/{input-container-QA8-0_0p.js → input-container-wQm8-W3s.js} +2 -2
  465. package/dist/kolibri/{input-container-QA8-0_0p.js.map → input-container-wQm8-W3s.js.map} +1 -1
  466. package/dist/kolibri/{item-BIjqEkyy.js → item-DJ8LXOMv.js} +2 -2
  467. package/dist/{esm/item-BIjqEkyy.js.map → kolibri/item-DJ8LXOMv.js.map} +1 -1
  468. package/dist/kolibri/item-DbLIGnc9.js +5 -0
  469. package/dist/{esm/item-CXyolUj2.js.map → kolibri/item-DbLIGnc9.js.map} +1 -1
  470. package/dist/kolibri/{item-CaxJw3ad.js → item-Dkm57tce.js} +2 -2
  471. package/dist/kolibri/{item-CaxJw3ad.js.map → item-Dkm57tce.js.map} +1 -1
  472. package/dist/kolibri/{item-DY0fVVnj.js → item-DuBSR8BS.js} +2 -2
  473. package/dist/kolibri/{item-DY0fVVnj.js.map → item-DuBSR8BS.js.map} +1 -1
  474. package/dist/kolibri/kol-abbr.entry.js +1 -1
  475. package/dist/kolibri/kol-accordion.entry.js +1 -1
  476. package/dist/kolibri/kol-alert.entry.js +1 -1
  477. package/dist/kolibri/kol-avatar.entry.js +1 -1
  478. package/dist/kolibri/kol-badge.entry.js +1 -1
  479. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  480. package/dist/kolibri/kol-button-link.entry.js +1 -1
  481. package/dist/kolibri/kol-button.entry.js +1 -1
  482. package/dist/kolibri/kol-card.entry.js +1 -1
  483. package/dist/kolibri/kol-click-button.entry.js +1 -1
  484. package/dist/kolibri/kol-combobox.entry.js +1 -1
  485. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  486. package/dist/kolibri/kol-details.entry.js +1 -1
  487. package/dist/kolibri/kol-dialog.entry.js +1 -1
  488. package/dist/kolibri/kol-drawer.entry.js +1 -1
  489. package/dist/kolibri/kol-form.entry.js +1 -1
  490. package/dist/kolibri/kol-heading.entry.js +1 -1
  491. package/dist/kolibri/kol-icon.entry.js +1 -1
  492. package/dist/kolibri/kol-image.entry.js +1 -1
  493. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  494. package/dist/kolibri/kol-input-color.entry.js +1 -1
  495. package/dist/kolibri/kol-input-date.entry.js +1 -1
  496. package/dist/kolibri/kol-input-email.entry.js +1 -1
  497. package/dist/kolibri/kol-input-file.entry.js +1 -1
  498. package/dist/kolibri/kol-input-number.entry.js +1 -1
  499. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  500. package/dist/kolibri/kol-input-password.entry.js +1 -1
  501. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  502. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  503. package/dist/kolibri/kol-input-range.entry.js +1 -1
  504. package/dist/kolibri/kol-input-text.entry.js +1 -1
  505. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  506. package/dist/kolibri/kol-link-button.entry.js +1 -1
  507. package/dist/kolibri/kol-link.entry.js +1 -1
  508. package/dist/kolibri/kol-meter.entry.js +1 -1
  509. package/dist/kolibri/kol-modal.entry.js +1 -1
  510. package/dist/kolibri/kol-nav.entry.js +1 -1
  511. package/dist/kolibri/kol-pagination.entry.js +1 -1
  512. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  513. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  514. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  515. package/dist/kolibri/kol-progress.entry.js +1 -1
  516. package/dist/kolibri/kol-quote.entry.js +1 -1
  517. package/dist/kolibri/kol-select.entry.js +1 -1
  518. package/dist/kolibri/kol-single-select.entry.js +1 -1
  519. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  520. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  521. package/dist/kolibri/kol-spin.entry.js +1 -1
  522. package/dist/kolibri/kol-split-button.entry.js +1 -1
  523. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  524. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  525. package/dist/kolibri/kol-tabs.entry.js +1 -1
  526. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  527. package/dist/kolibri/kol-textarea.entry.js +1 -1
  528. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  529. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  530. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  531. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  532. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  533. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  534. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  535. package/dist/kolibri/kol-tree.entry.js +1 -1
  536. package/dist/kolibri/kol-version.entry.js +1 -1
  537. package/dist/kolibri/kol-version.entry.js.map +1 -1
  538. package/dist/kolibri/kolibri.esm.js +1 -1
  539. package/dist/kolibri/resolve-props-BTiKxg-8.js +5 -0
  540. package/dist/{esm/resolve-props-DJxTzf-G.js.map → kolibri/resolve-props-BTiKxg-8.js.map} +1 -1
  541. package/dist/kolibri/{scroll-lock-BN6ZnBdc.js → scroll-lock-DRNyw9qH.js} +2 -2
  542. package/dist/{esm/scroll-lock-BN6ZnBdc.js.map → kolibri/scroll-lock-DRNyw9qH.js.map} +1 -1
  543. package/dist/kolibri/suggestions-CG-TuGC4.js +5 -0
  544. package/dist/kolibri/{suggestions-DlpHvEGv.js.map → suggestions-CG-TuGC4.js.map} +1 -1
  545. package/dist/kolibri/test-component.entry.js +1 -1
  546. package/dist/kolibri/toggle-handler-aTxO0Wem.js +5 -0
  547. package/dist/{esm/toggle-handler-Xex3lIll.js.map → kolibri/toggle-handler-aTxO0Wem.js.map} +1 -1
  548. package/dist/types/components/toolbar/component.d.ts +2 -2
  549. package/dist/types/components.d.ts +0 -2
  550. package/dist/types/internal/functional-components/form-field/textarea.d.ts +1 -0
  551. package/dist/types/internal/functional-components/toolbar/api.d.ts +2 -2
  552. package/dist/types/internal/functional-components/toolbar/item.d.ts +5 -2
  553. package/dist/types/schema/props/toolbar-items.d.ts +3 -1
  554. package/doc/popover-button.md +1 -1
  555. package/package.json +1 -1
  556. package/dist/cjs/base-web-component-C8MLLGxi.js.map +0 -1
  557. package/dist/cjs/contrast-kLMuDQLl.js.map +0 -1
  558. package/dist/esm/base-web-component-CkaKv7O0.js.map +0 -1
  559. package/dist/esm/contrast-BKAJJL2K.js.map +0 -1
  560. package/dist/kolibri/api-BA-AFr5H.js +0 -5
  561. package/dist/kolibri/api-C8TfIYlY.js +0 -5
  562. package/dist/kolibri/app-globals-lFdBwFG2.js +0 -5
  563. package/dist/kolibri/base-BpqjfzG1.js +0 -5
  564. package/dist/kolibri/base-DiSQvfGU.js +0 -5
  565. package/dist/kolibri/base-web-component-CkaKv7O0.js +0 -5
  566. package/dist/kolibri/base-web-component-CkaKv7O0.js.map +0 -1
  567. package/dist/kolibri/component-BxKN0JbT.js +0 -5
  568. package/dist/kolibri/component-C3aqLFK2.js +0 -5
  569. package/dist/kolibri/component-Da5dJMKj.js +0 -5
  570. package/dist/kolibri/component-De6Do_gt.js +0 -5
  571. package/dist/kolibri/component-xrrwVuiI.js +0 -5
  572. package/dist/kolibri/contrast-BKAJJL2K.js +0 -5
  573. package/dist/kolibri/contrast-BKAJJL2K.js.map +0 -1
  574. package/dist/kolibri/devtools-B0qRaQdp.js +0 -5
  575. package/dist/kolibri/field-control-C5hjw2Rb.js +0 -5
  576. package/dist/kolibri/input-Dp5NBocQ.js +0 -5
  577. package/dist/kolibri/item-CXyolUj2.js +0 -5
  578. package/dist/kolibri/resolve-props-DJxTzf-G.js +0 -5
  579. package/dist/kolibri/suggestions-DlpHvEGv.js +0 -5
  580. package/dist/kolibri/toggle-handler-Xex3lIll.js +0 -5
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -17,7 +17,6 @@ export class KolPopoverButton extends BasePopoverButtonWebComponent {
17
17
  this._popoverAlign = 'bottom';
18
18
  this._tooltipAlign = 'top';
19
19
  this._type = 'button';
20
- this._variant = 'normal';
21
20
  this.initFormAssociation();
22
21
  }
23
22
  watchAccessKey(value) {
@@ -109,7 +108,7 @@ export class KolPopoverButton extends BasePopoverButtonWebComponent {
109
108
  this.destroyPopover();
110
109
  }
111
110
  render() {
112
- return h(Host, { key: '5b2683da001b31e243e3e8edf2972be0275fe3eb' }, this.renderPopoverButtonFC());
111
+ return h(Host, { key: 'c535686a8f7ef3b64fd19fe0632afde1d3b9001b' }, this.renderPopoverButtonFC());
113
112
  }
114
113
  static get is() { return "kol-popover-button"; }
115
114
  static get encapsulation() { return "shadow"; }
@@ -536,8 +535,7 @@ export class KolPopoverButton extends BasePopoverButtonWebComponent {
536
535
  "getter": false,
537
536
  "setter": false,
538
537
  "reflect": false,
539
- "attribute": "_variant",
540
- "defaultValue": "'normal'"
538
+ "attribute": "_variant"
541
539
  }
542
540
  };
543
541
  }
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/popover-button/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,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C;IAClC,CAAC;IAEM,oBAAoB;QAC1B,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC9B,IAAI,CAAC,cAAc,EAAE,CAAC;IACvB,CAAC;IAEM,MAAM;QACZ,OAAO,EAAC,IAAI,uDAAE,IAAI,CAAC,qBAAqB,EAAE,CAAQ,CAAC;IACpD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAhDa;IADZ,aAAa,CAAC,QAAQ,CAAC;6CACc;AASzB;IAHZ,aAAa,CAAC,QAAQ,CAAC;6CAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport type { PopoverButtonWebComponentInterface } from '../../internal/functional-components/popover-button/api';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tPopoverButtonProps,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { nonce } from '../../utils/dev.utils';\nimport { delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { BasePopoverButtonWebComponent } from './base';\n\n/**\n * A button that toggles the visibility of a popover overlay containing arbitrary content.\n * The popover uses the native HTML Popover API for lightweight, non-modal overlays.\n *\n * @slot - The popover content (displayed when the button is clicked).\n * @slot expert - Custom label content for the button (when `_label` is `false`).\n */\n@Component({\n\ttag: 'kol-popover-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolPopoverButton\n\textends BasePopoverButtonWebComponent\n\timplements ClickableElement, FocusableElement, PopoverButtonProps, PopoverButtonWebComponentInterface\n{\n\t@Element() protected readonly host?: HTMLKolPopoverButtonElement;\n\n\t@State() public ariaDescriptionId: string = nonce();\n\n\t@State() public popoverOpen = false;\n\n\tpublic constructor() {\n\t\tsuper();\n\t\tthis.initFormAssociation();\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@Watch('_accessKey')\n\tpublic watchAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.applyAccessKey(value, this._shortKey);\n\t}\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t@Watch('_ariaDescription')\n\tpublic watchAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tthis.applyAriaDescription(value);\n\t}\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@Watch('_customClass')\n\tpublic watchCustomClass(value?: CustomClassPropType): void {\n\t\tthis.applyCustomClass(value);\n\t}\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@Watch('_disabled')\n\tpublic watchDisabled(value?: boolean): void {\n\t\tthis.applyDisabled(value);\n\t}\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@Watch('_hideLabel')\n\tpublic watchHideLabel(value?: boolean): void {\n\t\tthis.applyHideLabel(value);\n\t}\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t@Watch('_icons')\n\tpublic watchIcons(value?: IconsPropType): void {\n\t\tthis.applyIcons(value);\n\t}\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@Watch('_inline')\n\tpublic watchInline(value?: InlinePropType): void {\n\t\tthis.applyInline(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.applyLabel(value);\n\t}\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t@Watch('_name')\n\tpublic watchName(value?: string): void {\n\t\tthis.applyName(value);\n\t}\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t@Watch('_popoverAlign')\n\tpublic watchPopoverAlign(value?: PopoverAlignPropType): void {\n\t\tthis.applyPopoverAlign(value);\n\t}\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@Watch('_shortKey')\n\tpublic watchShortKey(value?: ShortKeyPropType): void {\n\t\tthis.applyShortKey(value, this._accessKey);\n\t}\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@Watch('_syncValueBySelector')\n\tpublic watchSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.applySyncValueBySelector(value);\n\t}\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t@Watch('_tabIndex')\n\tpublic watchTabIndex(value?: number): void {\n\t\tthis.applyTabIndex(value);\n\t}\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@Watch('_tooltipAlign')\n\tpublic watchTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tthis.applyTooltipAlign(value);\n\t}\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@Watch('_type')\n\tpublic watchType(value?: ButtonTypePropType): void {\n\t\tthis.applyType(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: StencilUnknown): void {\n\t\tthis.applyValue(value);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType = 'normal';\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: VariantClassNamePropType): void {\n\t\tthis.applyVariant(value);\n\t}\n\n\t/**\n\t * Hides the popover programmatically.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tthis.closePopover();\n\t}\n\n\t/**\n\t * Shows the popover programmatically.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tthis.openPopover();\n\t}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\t/**\n\t * 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 componentWillLoad(): void {\n\t\tthis.initPopoverButtonRenderProps();\n\n\t\tthis.watchAccessKey(this._accessKey);\n\t\tthis.watchAriaDescription(this._ariaDescription);\n\t\tthis.watchCustomClass(this._customClass);\n\t\tthis.watchDisabled(this._disabled);\n\t\tthis.watchHideLabel(this._hideLabel);\n\t\tthis.watchIcons(this._icons);\n\t\tthis.watchInline(this._inline);\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchName(this._name);\n\t\tthis.watchPopoverAlign(this._popoverAlign);\n\t\tthis.watchShortKey(this._shortKey);\n\t\tthis.watchSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.watchTabIndex(this._tabIndex);\n\t\tthis.watchTooltipAlign(this._tooltipAlign);\n\t\tthis.watchType(this._type);\n\t\tthis.watchValue(this._value);\n\t\tthis.watchVariant(this._variant);\n\n\t\tthis.initTooltipBehavior();\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.syncTooltipListeners();\n\t\tthis.syncPopoverToggleListener();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.destroyTooltipBehavior();\n\t\tthis.destroyPopover();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn <Host>{this.renderPopoverButtonFC()}</Host>;\n\t}\n}\n"]}
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AAC;IAEM,kBAAkB;QACxB,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAC5B,IAAI,CAAC,yBAAyB,EAAE,CAAC;IAClC,CAAC;IAEM,oBAAoB;QAC1B,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC9B,IAAI,CAAC,cAAc,EAAE,CAAC;IACvB,CAAC;IAEM,MAAM;QACZ,OAAO,EAAC,IAAI,uDAAE,IAAI,CAAC,qBAAqB,EAAE,CAAQ,CAAC;IACpD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAhDa;IADZ,aAAa,CAAC,QAAQ,CAAC;6CACc;AASzB;IAHZ,aAAa,CAAC,QAAQ,CAAC;6CAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport type { PopoverButtonWebComponentInterface } from '../../internal/functional-components/popover-button/api';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonTypePropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tPopoverButtonProps,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { nonce } from '../../utils/dev.utils';\nimport { delegateClick, delegateFocus } from '../../utils/element-interaction';\nimport { BasePopoverButtonWebComponent } from './base';\n\n/**\n * A button that toggles the visibility of a popover overlay containing arbitrary content.\n * The popover uses the native HTML Popover API for lightweight, non-modal overlays.\n *\n * @slot - The popover content (displayed when the button is clicked).\n * @slot expert - Custom label content for the button (when `_label` is `false`).\n */\n@Component({\n\ttag: 'kol-popover-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolPopoverButton\n\textends BasePopoverButtonWebComponent\n\timplements ClickableElement, FocusableElement, PopoverButtonProps, PopoverButtonWebComponentInterface\n{\n\t@Element() protected readonly host?: HTMLKolPopoverButtonElement;\n\n\t@State() public ariaDescriptionId: string = nonce();\n\n\t@State() public popoverOpen = false;\n\n\tpublic constructor() {\n\t\tsuper();\n\t\tthis.initFormAssociation();\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@Watch('_accessKey')\n\tpublic watchAccessKey(value?: AccessKeyPropType): void {\n\t\tthis.applyAccessKey(value, this._shortKey);\n\t}\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t@Watch('_ariaDescription')\n\tpublic watchAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tthis.applyAriaDescription(value);\n\t}\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@Watch('_customClass')\n\tpublic watchCustomClass(value?: CustomClassPropType): void {\n\t\tthis.applyCustomClass(value);\n\t}\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@Watch('_disabled')\n\tpublic watchDisabled(value?: boolean): void {\n\t\tthis.applyDisabled(value);\n\t}\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@Watch('_hideLabel')\n\tpublic watchHideLabel(value?: boolean): void {\n\t\tthis.applyHideLabel(value);\n\t}\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t@Watch('_icons')\n\tpublic watchIcons(value?: IconsPropType): void {\n\t\tthis.applyIcons(value);\n\t}\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@Watch('_inline')\n\tpublic watchInline(value?: InlinePropType): void {\n\t\tthis.applyInline(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.applyLabel(value);\n\t}\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t@Watch('_name')\n\tpublic watchName(value?: string): void {\n\t\tthis.applyName(value);\n\t}\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t@Watch('_popoverAlign')\n\tpublic watchPopoverAlign(value?: PopoverAlignPropType): void {\n\t\tthis.applyPopoverAlign(value);\n\t}\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@Watch('_shortKey')\n\tpublic watchShortKey(value?: ShortKeyPropType): void {\n\t\tthis.applyShortKey(value, this._accessKey);\n\t}\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@Watch('_syncValueBySelector')\n\tpublic watchSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.applySyncValueBySelector(value);\n\t}\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t@Watch('_tabIndex')\n\tpublic watchTabIndex(value?: number): void {\n\t\tthis.applyTabIndex(value);\n\t}\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@Watch('_tooltipAlign')\n\tpublic watchTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tthis.applyTooltipAlign(value);\n\t}\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@Watch('_type')\n\tpublic watchType(value?: ButtonTypePropType): void {\n\t\tthis.applyType(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: StencilUnknown): void {\n\t\tthis.applyValue(value);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: VariantClassNamePropType): void {\n\t\tthis.applyVariant(value);\n\t}\n\n\t/**\n\t * Hides the popover programmatically.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tthis.closePopover();\n\t}\n\n\t/**\n\t * Shows the popover programmatically.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tthis.openPopover();\n\t}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\t/**\n\t * 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 componentWillLoad(): void {\n\t\tthis.initPopoverButtonRenderProps();\n\n\t\tthis.watchAccessKey(this._accessKey);\n\t\tthis.watchAriaDescription(this._ariaDescription);\n\t\tthis.watchCustomClass(this._customClass);\n\t\tthis.watchDisabled(this._disabled);\n\t\tthis.watchHideLabel(this._hideLabel);\n\t\tthis.watchIcons(this._icons);\n\t\tthis.watchInline(this._inline);\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchName(this._name);\n\t\tthis.watchPopoverAlign(this._popoverAlign);\n\t\tthis.watchShortKey(this._shortKey);\n\t\tthis.watchSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.watchTabIndex(this._tabIndex);\n\t\tthis.watchTooltipAlign(this._tooltipAlign);\n\t\tthis.watchType(this._type);\n\t\tthis.watchValue(this._value);\n\t\tthis.watchVariant(this._variant);\n\n\t\tthis.initTooltipBehavior();\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.syncTooltipListeners();\n\t\tthis.syncPopoverToggleListener();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.destroyTooltipBehavior();\n\t\tthis.destroyPopover();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn <Host>{this.renderPopoverButtonFC()}</Host>;\n\t}\n}\n"]}
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -288,8 +288,8 @@
288
288
  }
289
289
  @font-face {
290
290
  font-family: "kolicons";
291
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
292
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
291
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
292
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
293
293
  }
294
294
  @layer kol-component {
295
295
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -288,8 +288,8 @@
288
288
  }
289
289
  @font-face {
290
290
  font-family: "kolicons";
291
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
292
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
291
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
292
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
293
293
  }
294
294
  @layer kol-component {
295
295
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -288,8 +288,8 @@
288
288
  }
289
289
  @font-face {
290
290
  font-family: "kolicons";
291
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
292
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
291
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
292
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
293
293
  }
294
294
  @layer kol-component {
295
295
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -288,8 +288,8 @@
288
288
  }
289
289
  @font-face {
290
290
  font-family: "kolicons";
291
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
292
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
291
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
292
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
293
293
  }
294
294
  @layer kol-component {
295
295
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -288,8 +288,8 @@
288
288
  }
289
289
  @font-face {
290
290
  font-family: "kolicons";
291
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
292
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
291
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
292
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
293
293
  }
294
294
  @layer kol-component {
295
295
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -241,7 +241,7 @@ export class KolTextarea extends BaseFormFieldWebComponent {
241
241
  const maxLength = this.counter.getMaxLengthAttribute();
242
242
  const characterLimitHintId = this.counter.getCharacterLimitHintId(id);
243
243
  const { ariaDescribedBy, hasError } = this.getAria();
244
- return Object.assign(Object.assign({ id, hideLabel: this.getRenderProp('hideLabel'), label: this.getRenderProp('label'), value: this.getRenderProp('value'), accessKey: this.getRenderProp('accessKey') || undefined, disabled: this.getRenderProp('disabled'), name: this.getRenderProp('name') || undefined, rows: this.getRenderProp('rows'), readonly: this.getRenderProp('readOnly'), required: this.getRenderProp('required'), placeholder: this.getRenderProp('placeholder'), touched: this.getRenderProp('touched'), msg: this.getRenderProp('msg'), ref: this.ctaRef, style: {
244
+ return Object.assign(Object.assign({ id, hideLabel: this.getRenderProp('hideLabel'), label: this.getRenderProp('label'), value: this.getRenderProp('value'), accessKey: this.getRenderProp('accessKey') || undefined, disabled: this.getRenderProp('disabled'), name: this.getRenderProp('name') || undefined, rows: this.getRenderProp('rows'), readonly: this.getRenderProp('readOnly'), required: this.getRenderProp('required'), placeholder: this.getRenderProp('placeholder'), spellcheck: this.getRenderProp('spellCheck'), touched: this.getRenderProp('touched'), msg: this.getRenderProp('msg'), ref: this.ctaRef, style: {
245
245
  resize: this.getRenderProp('resize'),
246
246
  }, onBlur: this.handleBlur, onChange: this.handleTextareaChange, onClick: this.handleClick, onFocus: this.handleTextareaFocus, onInput: this.handleTextareaInput, onKeyDown: this.handleTextareaKeyDown, ariaDescribedBy: characterLimitHintId ? [...ariaDescribedBy, characterLimitHintId] : ariaDescribedBy, 'aria-invalid': hasError ? 'true' : undefined }, (maxLength !== undefined ? { maxLength } : {})), (shortKey ? { 'aria-keyshortcuts': shortKey } : {}));
247
247
  }
@@ -252,7 +252,7 @@ export class KolTextarea extends BaseFormFieldWebComponent {
252
252
  render() {
253
253
  const disabled = this.getRenderProp('disabled');
254
254
  const { startAdornment, endAdornment } = getInputAdornments({ icons: this.getRenderProp('icons') });
255
- return (h(Host, { key: '7392f5842cd3517597c33260de1e10cea6cd9637' }, h(FormFieldFC, Object.assign({ key: '486312ef982023bf86795ad32416ba040fd16911' }, this.getFormFieldProps({
255
+ return (h(Host, { key: 'dfe61fda610880f431fdff9f6b5816e2bac2b62c' }, h(FormFieldFC, Object.assign({ key: '52d1eb3e82ea4dd2bf5f240e9908cf2f4005c3a7' }, this.getFormFieldProps({
256
256
  class: clsx('kol-form-field-textarea', {
257
257
  'kol-form-field--has-value': this.hasValue,
258
258
  'kol-form-field--has-counter': this.counter.hasSoftLimit() || this.counter.hasCounter(),
@@ -264,7 +264,7 @@ export class KolTextarea extends BaseFormFieldWebComponent {
264
264
  readOnly: this.getRenderProp('readOnly'),
265
265
  maxLength: this.counter.getRenderProp('maxLength'),
266
266
  counter: this.counter.getCounterProps(),
267
- })), h(InputContainerFC, { key: 'd958f109704ce0685fb2a9a030c584d4d5e0da31', disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(TextAreaFC, Object.assign({ key: '890b8dbcf241074cdd24f967f584cb2904892c08' }, this.getTextareaProps()))))));
267
+ })), h(InputContainerFC, { key: 'a8a5db96b295d80fcd26002260b408dae6e10233', disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(TextAreaFC, Object.assign({ key: '4be4b90c4fb2b29e04d1cd812e0177d194bab228' }, this.getTextareaProps()))))));
268
268
  }
269
269
  static get is() { return "kol-textarea"; }
270
270
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/textarea/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAuBxF,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAC3F,OAAO,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,EAAE,yBAAyB,EAAE,MAAM,oEAAoE,CAAC;AAC/G,OAAO,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AA1Ma;IAHZ,aAAa,CAAC,QAAQ,CAAC;wCAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;wCACc","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tAriaDetailsPropType,\n\tClickableElement,\n\tFocusableElement,\n\tFormFieldLabelInfoPopoverProps,\n\tIconsHorizontalPropType,\n\tInputTypeOnDefault,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tRowsPropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTextareaProps,\n\tTextareaResizePropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport { CounterBehavior } from '../../internal/functional-components/counter/behavior';\nimport { getInputAdornments } from '../../internal/functional-components/form-field/adornments';\nimport { BaseFormFieldWebComponent } from '../../internal/functional-components/form-field/base-web-component';\nimport { FormFieldFC } from '../../internal/functional-components/form-field/component';\nimport { InputContainerFC } from '../../internal/functional-components/form-field/input-container';\nimport { TextAreaFC, type TextAreaFCProps } from '../../internal/functional-components/form-field/textarea';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { TextareaApi } from '../../internal/functional-components/textarea/api';\nimport { textareaPropsConfig } from '../../internal/functional-components/textarea/api';\nimport {\n\taccessKeyProp,\n\tadjustHeightProp,\n\thorizontalIconsProp,\n\tplaceholderProp,\n\treadOnlyProp,\n\trequiredProp,\n\tresizeProp,\n\trowsProp,\n\tshortKeyProp,\n\tspellCheckProp,\n\tstringValueProp,\n\tvariantProp,\n} from '../../internal/props';\nimport clsx from '../../utils/clsx';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Textarea** component provides a larger input field for content. Unlike InputText, it also allows extensive content to be entered, including line breaks.\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-textarea',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTextarea\n\textends BaseFormFieldWebComponent<TextareaApi>\n\timplements ClickableElement, FocusableElement, TextareaProps, WebComponentInterface<TextareaApi>\n{\n\t@Element() protected readonly host?: HTMLKolTextareaElement;\n\n\t@State() public id = createUniqueId('textarea');\n\n\t/** Whether the info popover of the label is open. */\n\t@State() public infoPopoverOpen = false;\n\n\t@State() public inputHasFocus = false;\n\n\tprotected readonly ctaRef = createCtaRef<HTMLTextAreaElement>();\n\n\tprivate readonly counter = new CounterBehavior(BaseWebComponent.stateLess);\n\n\t/**\n\t * Whether the field has a value, rendered as the root class `kol-form-field--has-value`. It is a\n\t * plain field, not state, and only follows `change` (#11053).\n\t */\n\tprivate hasValue = false;\n\n\t/** The rows the consumer set; `_adjustHeight` never shrinks the textarea below them. */\n\tprivate minRows?: number;\n\n\t/** Set while the textarea writes its measured rows to `_rows`, so the watcher keeps `minRows`. */\n\tprivate isWritingRows = false;\n\n\tpublic constructor() {\n\t\tsuper();\n\t\tthis.initFormAssociation('textarea', this._name);\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?: string;\n\n\t@Watch('_accessKey')\n\tpublic watchAccessKey(value?: string): void {\n\t\taccessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n\t\tvalidateAccessAndShortKey(value, this._shortKey);\n\t}\n\n\t/**\n\t * Adjusts the height of the element to its content.\n\t * @TODO: change back to AdjustHeightPropType after stencil #4663 has been resolved\n\t */\n\t@Prop() public _adjustHeight?: boolean = false;\n\n\t@Watch('_adjustHeight')\n\tpublic watchAdjustHeight(value?: boolean): void {\n\t\tadjustHeightProp.apply(value, (v) => this.setRenderProp('adjustHeight', v));\n\t}\n\n\t/**\n\t * References an external element by ID that provides accessible details for this textarea.\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic watchAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.applyAriaDetails(value);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t@Watch('_disabled')\n\tpublic watchDisabled(value?: boolean): void {\n\t\tthis.applyDisabled(value);\n\t}\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t@Watch('_hideMsg')\n\tpublic watchHideMsg(value?: boolean): void {\n\t\tthis.applyHideMsg(value);\n\t}\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@Watch('_hideLabel')\n\tpublic watchHideLabel(value?: boolean): void {\n\t\tthis.applyHideLabel(value);\n\t}\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t@Watch('_hint')\n\tpublic watchHint(value?: string): void {\n\t\tthis.applyHint(value);\n\t}\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t@Watch('_icons')\n\tpublic watchIcons(value?: IconsHorizontalPropType): void {\n\t\thorizontalIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n\t}\n\n\t/**\n\t * Defines the informational popover after the label.\n\t */\n\t@Prop() public _infoPopover?: FormFieldLabelInfoPopoverProps;\n\n\t@Watch('_infoPopover')\n\tpublic watchInfoPopover(value?: FormFieldLabelInfoPopoverProps): void {\n\t\tthis.applyInfoPopover(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.applyLabel(value);\n\t}\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t@Watch('_maxLength')\n\tpublic watchMaxLength(value?: number): void {\n\t\tthis.counter.watchMaxLength(value);\n\t\tthis.counter.updateImmediate(this._value?.length ?? 0);\n\t}\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t@Watch('_hasCounter')\n\tpublic watchHasCounter(value?: boolean): void {\n\t\tthis.counter.watchHasCounter(value);\n\t}\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t@Watch('_maxLengthBehavior')\n\tpublic watchMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.counter.watchMaxLengthBehavior(value);\n\t}\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t@Watch('_msg')\n\tpublic watchMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.applyMsg(value);\n\t}\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t@Watch('_name')\n\tpublic watchName(value?: NamePropType): void {\n\t\tthis.applyName(value);\n\t}\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t@Watch('_on')\n\tpublic watchOn(value?: InputTypeOnDefault): void {\n\t\tthis.applyOn(value);\n\t}\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t@Watch('_placeholder')\n\tpublic watchPlaceholder(value?: string): void {\n\t\tplaceholderProp.apply(value, (v) => this.setRenderProp('placeholder', v));\n\t}\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t@Watch('_readOnly')\n\tpublic watchReadOnly(value?: boolean): void {\n\t\treadOnlyProp.apply(value, (v) => this.setRenderProp('readOnly', v));\n\t}\n\n\t/**\n\t * Defines whether and in which direction the size of the input can be changed by the user. (https://developer.mozilla.org/de/docs/Web/CSS/resize)\n\t * In version 3 (v3), horizontal resizing is abolished. The corresponding property is then reduced to the properties `vertical` (default) and `none`.\n\t */\n\t@Prop() public _resize?: TextareaResizePropType = 'vertical';\n\n\t@Watch('_resize')\n\tpublic watchResize(value?: TextareaResizePropType): void {\n\t\tresizeProp.apply(value, (v) => this.setRenderProp('resize', v));\n\t}\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t@Watch('_required')\n\tpublic watchRequired(value?: boolean): void {\n\t\trequiredProp.apply(value, (v) => this.setRenderProp('required', v));\n\t}\n\n\t/**\n\t * Maximum number of visible rows of the element.\n\t */\n\t@Prop({ mutable: true, reflect: false }) public _rows?: RowsPropType;\n\n\t@Watch('_rows')\n\tpublic watchRows(value?: RowsPropType): void {\n\t\trowsProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('rows', v);\n\t\t\tif (!this.isWritingRows) {\n\t\t\t\tthis.minRows = v;\n\t\t\t}\n\t\t});\n\t}\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@Watch('_shortKey')\n\tpublic watchShortKey(value?: ShortKeyPropType): void {\n\t\tshortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n\t\tvalidateAccessAndShortKey(this._accessKey, value);\n\t}\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t@Watch('_spellCheck')\n\tpublic watchSpellCheck(value?: SpellCheckPropType): void {\n\t\tspellCheckProp.apply(value, (v) => this.setRenderProp('spellCheck', v));\n\t}\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@Watch('_syncValueBySelector')\n\tpublic watchSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.applySyncValueBySelector(value);\n\t}\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@Watch('_tooltipAlign')\n\tpublic watchTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tthis.applyTooltipAlign(value);\n\t}\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t@Watch('_touched')\n\tpublic watchTouched(value?: boolean): void {\n\t\tthis.applyTouched(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: string): void {\n\t\tthis.applyValue(value);\n\t\tthis.counter.update(value?.length ?? 0);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: VariantClassNamePropType): void {\n\t\tvariantProp.apply(value, (v) => this.setRenderProp('variant', v));\n\t}\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ctaRef.el?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.initRenderProps(textareaPropsConfig);\n\t\tthis.watchAriaDetails(this._ariaDetails);\n\t\tthis._touched = this._touched === true;\n\t\tthis.watchName(this._name);\n\t\tthis.watchSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.watchTouched(this._touched);\n\t\tthis.watchAccessKey(this._accessKey);\n\t\tthis.watchAdjustHeight(this._adjustHeight);\n\t\tthis.watchMsg(this._msg);\n\t\tthis.watchDisabled(this._disabled);\n\t\tthis.watchHideMsg(this._hideMsg);\n\t\tthis.watchHideLabel(this._hideLabel);\n\t\tthis.watchHint(this._hint);\n\t\tthis.watchInfoPopover(this._infoPopover);\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchShortKey(this._shortKey);\n\t\tthis.watchOn(this._on);\n\t\tthis.watchTooltipAlign(this._tooltipAlign);\n\t\tthis.watchVariant(this._variant);\n\t\tthis.watchIcons(this._icons);\n\t\tthis.watchHasCounter(this._hasCounter);\n\t\tthis.watchMaxLengthBehavior(this._maxLengthBehavior);\n\t\t// Without a counter update: `componentDidLoad` fills the counter once its spans exist.\n\t\tthis.counter.watchMaxLength(this._maxLength);\n\t\tthis.watchPlaceholder(this._placeholder);\n\t\tthis.watchReadOnly(this._readOnly);\n\t\tthis.watchRequired(this._required);\n\t\tthis.watchResize(this._resize);\n\t\tthis.watchRows(this._rows);\n\t\tthis.watchSpellCheck(this._spellCheck);\n\t\tthis.applyValue(this._value);\n\t\tthis.hasValue = Boolean(this.getRenderProp('value'));\n\t}\n\n\tpublic componentDidLoad(): void {\n\t\tif (this.counter.hasCounter() || this.counter.hasSoftLimit()) {\n\t\t\tthis.counter.updateImmediate(this._value?.length ?? 0);\n\t\t}\n\t\t// Runs after the first paint, so the height can be measured.\n\t\tsetTimeout(() => {\n\t\t\tif (this._adjustHeight === true && this.ctaRef.el) {\n\t\t\t\tthis.writeRows(this.measureTextareaRows(this.ctaRef.el));\n\t\t\t} else if (!this._rows) {\n\t\t\t\tthis.writeRows(1);\n\t\t\t}\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.syncFormField();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.destroyFormField();\n\t\tthis.counter.destroy();\n\t}\n\n\tprivate readonly handleTextareaInput = (event: Event): void => {\n\t\tif (this.ctaRef.el instanceof HTMLTextAreaElement) {\n\t\t\tthis._value = this.ctaRef.el.value;\n\t\t\tif (this.getRenderProp('adjustHeight')) {\n\t\t\t\tthis.writeRows(this.measureTextareaRows(this.ctaRef.el));\n\t\t\t}\n\t\t\tthis.handleInput(event);\n\t\t}\n\t};\n\n\tprivate readonly handleTextareaChange = (event: Event): void => {\n\t\tthis.handleChange(event);\n\t\tthis.hasValue = Boolean((event.target as HTMLTextAreaElement).value);\n\t};\n\n\tprivate readonly handleTextareaFocus = (event: FocusEvent): void => {\n\t\tthis.handleFocus(event);\n\t\tthis.counter.retriggerAria(this._value?.length ?? 0);\n\t};\n\n\tprivate readonly handleTextareaKeyDown = (event: KeyboardEvent): void => {\n\t\tthis.handleKeyDown(event);\n\t\tthis.counter.handleKeyDown(event, this.ctaRef.el?.value.length ?? 0);\n\t};\n\n\tprivate writeRows(rows: number): void {\n\t\tthis.isWritingRows = true;\n\t\tthis._rows = rows;\n\t\tthis.isWritingRows = false;\n\t}\n\n\t/**\n\t * Measures the rows the content needs, so the textarea grows and shrinks with its content. The\n\t * result never falls below the rows the consumer set.\n\t *\n\t * @see https://stackoverflow.com/questions/17772260/textarea-auto-height\n\t */\n\tprivate measureTextareaRows(el: HTMLTextAreaElement): number {\n\t\t// Hides the scrollbar during the measurement; the padding is removed temporarily for a correct row height.\n\t\tel.style.overflow = 'hidden';\n\t\tel.style.padding = '0';\n\t\tconst currentRows = el.rows;\n\t\tconst rowHeight = el.clientHeight / currentRows;\n\t\tel.rows = 1;\n\t\tconst nextRows = Math.round(el.scrollHeight / rowHeight);\n\t\tel.rows = currentRows;\n\t\tel.style.padding = '';\n\n\t\tconst minRows = this.minRows;\n\t\treturn minRows && minRows > nextRows ? minRows : nextRows;\n\t}\n\n\t/**\n\t * Props of the native `<textarea>` in a fixed key order, which the hydrate snapshot pins. `spellCheck` is\n\t * accepted but not rendered (#10863).\n\t */\n\tprivate getTextareaProps(): TextAreaFCProps {\n\t\tconst id = this.id;\n\t\tconst shortKey = this.getRenderProp('shortKey');\n\t\tconst maxLength = this.counter.getMaxLengthAttribute();\n\t\tconst characterLimitHintId = this.counter.getCharacterLimitHintId(id);\n\t\tconst { ariaDescribedBy, hasError } = this.getAria();\n\n\t\treturn {\n\t\t\tid,\n\t\t\thideLabel: this.getRenderProp('hideLabel'),\n\t\t\tlabel: this.getRenderProp('label'),\n\t\t\tvalue: this.getRenderProp('value'),\n\t\t\taccessKey: this.getRenderProp('accessKey') || undefined,\n\t\t\tdisabled: this.getRenderProp('disabled'),\n\t\t\t// The name prop defaults to `''`; an unnamed field renders no `name` attribute.\n\t\t\tname: this.getRenderProp('name') || undefined,\n\t\t\trows: this.getRenderProp('rows'),\n\t\t\treadonly: this.getRenderProp('readOnly'),\n\t\t\trequired: this.getRenderProp('required'),\n\t\t\tplaceholder: this.getRenderProp('placeholder'),\n\t\t\ttouched: this.getRenderProp('touched'),\n\t\t\tmsg: this.getRenderProp('msg'),\n\t\t\tref: this.ctaRef,\n\t\t\tstyle: {\n\t\t\t\tresize: this.getRenderProp('resize'),\n\t\t\t},\n\t\t\tonBlur: this.handleBlur,\n\t\t\tonChange: this.handleTextareaChange,\n\t\t\tonClick: this.handleClick,\n\t\t\tonFocus: this.handleTextareaFocus,\n\t\t\tonInput: this.handleTextareaInput,\n\t\t\tonKeyDown: this.handleTextareaKeyDown,\n\t\t\tariaDescribedBy: characterLimitHintId ? [...ariaDescribedBy, characterLimitHintId] : ariaDescribedBy,\n\t\t\t'aria-invalid': hasError ? 'true' : undefined,\n\t\t\t...(maxLength !== undefined ? { maxLength } : {}),\n\t\t\t...(shortKey ? { 'aria-keyshortcuts': shortKey } : {}),\n\t\t};\n\t}\n\n\t/** Applies the value without a counter update; the watcher adds it. */\n\tprivate applyValue(value?: string): void {\n\t\tstringValueProp.apply(value, (v) => this.setRenderProp('value', v));\n\t\tthis.formAssociation.setFormAssociatedValue(this.getRenderProp('value'));\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst disabled = this.getRenderProp('disabled');\n\t\tconst { startAdornment, endAdornment } = getInputAdornments({ icons: this.getRenderProp('icons') });\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<FormFieldFC\n\t\t\t\t\t{...this.getFormFieldProps({\n\t\t\t\t\t\tclass: clsx('kol-form-field-textarea', {\n\t\t\t\t\t\t\t'kol-form-field--has-value': this.hasValue,\n\t\t\t\t\t\t\t'kol-form-field--has-counter': this.counter.hasSoftLimit() || this.counter.hasCounter(),\n\t\t\t\t\t\t}),\n\t\t\t\t\t\taccessKey: this.getRenderProp('accessKey') || undefined,\n\t\t\t\t\t\tshortKey: this.getRenderProp('shortKey') || undefined,\n\t\t\t\t\t\tvariant: this.getRenderProp('variant'),\n\t\t\t\t\t\trequired: this.getRenderProp('required'),\n\t\t\t\t\t\treadOnly: this.getRenderProp('readOnly'),\n\t\t\t\t\t\tmaxLength: this.counter.getRenderProp('maxLength'),\n\t\t\t\t\t\tcounter: this.counter.getCounterProps(),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<InputContainerFC\n\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\tmsg={this.getRenderProp('msg')}\n\t\t\t\t\t\ttouched={this.getRenderProp('touched')}\n\t\t\t\t\t\tstartAdornment={startAdornment}\n\t\t\t\t\t\tendAdornment={endAdornment}\n\t\t\t\t\t>\n\t\t\t\t\t\t<TextAreaFC {...this.getTextareaProps()} />\n\t\t\t\t\t</InputContainerFC>\n\t\t\t\t</FormFieldFC>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/textarea/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAuBxF,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAC3F,OAAO,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,EAAE,yBAAyB,EAAE,MAAM,oEAAoE,CAAC;AAC/G,OAAO,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iEAAiE,CAAC;AACnG,OAAO,EAAE,UAAU,EAAwB,MAAM,0DAA0D,CAAC;AAG5G,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EACN,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,eAAe,EACf,WAAW,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAc7F,MAAM,OAAO,WACZ,SAAQ,yBAAsC;IA4B9C;QACC,KAAK,EAAE,CAAC;QAx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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AA1Ma;IAHZ,aAAa,CAAC,QAAQ,CAAC;wCAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;wCACc","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tAriaDetailsPropType,\n\tClickableElement,\n\tFocusableElement,\n\tFormFieldLabelInfoPopoverProps,\n\tIconsHorizontalPropType,\n\tInputTypeOnDefault,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tRowsPropType,\n\tShortKeyPropType,\n\tSpellCheckPropType,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTextareaProps,\n\tTextareaResizePropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport { CounterBehavior } from '../../internal/functional-components/counter/behavior';\nimport { getInputAdornments } from '../../internal/functional-components/form-field/adornments';\nimport { BaseFormFieldWebComponent } from '../../internal/functional-components/form-field/base-web-component';\nimport { FormFieldFC } from '../../internal/functional-components/form-field/component';\nimport { InputContainerFC } from '../../internal/functional-components/form-field/input-container';\nimport { TextAreaFC, type TextAreaFCProps } from '../../internal/functional-components/form-field/textarea';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { TextareaApi } from '../../internal/functional-components/textarea/api';\nimport { textareaPropsConfig } from '../../internal/functional-components/textarea/api';\nimport {\n\taccessKeyProp,\n\tadjustHeightProp,\n\thorizontalIconsProp,\n\tplaceholderProp,\n\treadOnlyProp,\n\trequiredProp,\n\tresizeProp,\n\trowsProp,\n\tshortKeyProp,\n\tspellCheckProp,\n\tstringValueProp,\n\tvariantProp,\n} from '../../internal/props';\nimport clsx from '../../utils/clsx';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Textarea** component provides a larger input field for content. Unlike InputText, it also allows extensive content to be entered, including line breaks.\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-textarea',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTextarea\n\textends BaseFormFieldWebComponent<TextareaApi>\n\timplements ClickableElement, FocusableElement, TextareaProps, WebComponentInterface<TextareaApi>\n{\n\t@Element() protected readonly host?: HTMLKolTextareaElement;\n\n\t@State() public id = createUniqueId('textarea');\n\n\t/** Whether the info popover of the label is open. */\n\t@State() public infoPopoverOpen = false;\n\n\t@State() public inputHasFocus = false;\n\n\tprotected readonly ctaRef = createCtaRef<HTMLTextAreaElement>();\n\n\tprivate readonly counter = new CounterBehavior(BaseWebComponent.stateLess);\n\n\t/**\n\t * Whether the field has a value, rendered as the root class `kol-form-field--has-value`. It is a\n\t * plain field, not state, and only follows `change` (#11053).\n\t */\n\tprivate hasValue = false;\n\n\t/** The rows the consumer set; `_adjustHeight` never shrinks the textarea below them. */\n\tprivate minRows?: number;\n\n\t/** Set while the textarea writes its measured rows to `_rows`, so the watcher keeps `minRows`. */\n\tprivate isWritingRows = false;\n\n\tpublic constructor() {\n\t\tsuper();\n\t\tthis.initFormAssociation('textarea', this._name);\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?: string;\n\n\t@Watch('_accessKey')\n\tpublic watchAccessKey(value?: string): void {\n\t\taccessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n\t\tvalidateAccessAndShortKey(value, this._shortKey);\n\t}\n\n\t/**\n\t * Adjusts the height of the element to its content.\n\t * @TODO: change back to AdjustHeightPropType after stencil #4663 has been resolved\n\t */\n\t@Prop() public _adjustHeight?: boolean = false;\n\n\t@Watch('_adjustHeight')\n\tpublic watchAdjustHeight(value?: boolean): void {\n\t\tadjustHeightProp.apply(value, (v) => this.setRenderProp('adjustHeight', v));\n\t}\n\n\t/**\n\t * References an external element by ID that provides accessible details for this textarea.\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic watchAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.applyAriaDetails(value);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t@Watch('_disabled')\n\tpublic watchDisabled(value?: boolean): void {\n\t\tthis.applyDisabled(value);\n\t}\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t@Watch('_hideMsg')\n\tpublic watchHideMsg(value?: boolean): void {\n\t\tthis.applyHideMsg(value);\n\t}\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@Watch('_hideLabel')\n\tpublic watchHideLabel(value?: boolean): void {\n\t\tthis.applyHideLabel(value);\n\t}\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t@Watch('_hint')\n\tpublic watchHint(value?: string): void {\n\t\tthis.applyHint(value);\n\t}\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t@Watch('_icons')\n\tpublic watchIcons(value?: IconsHorizontalPropType): void {\n\t\thorizontalIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n\t}\n\n\t/**\n\t * Defines the informational popover after the label.\n\t */\n\t@Prop() public _infoPopover?: FormFieldLabelInfoPopoverProps;\n\n\t@Watch('_infoPopover')\n\tpublic watchInfoPopover(value?: FormFieldLabelInfoPopoverProps): void {\n\t\tthis.applyInfoPopover(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.applyLabel(value);\n\t}\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t@Watch('_maxLength')\n\tpublic watchMaxLength(value?: number): void {\n\t\tthis.counter.watchMaxLength(value);\n\t\tthis.counter.updateImmediate(this._value?.length ?? 0);\n\t}\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t@Watch('_hasCounter')\n\tpublic watchHasCounter(value?: boolean): void {\n\t\tthis.counter.watchHasCounter(value);\n\t}\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t@Watch('_maxLengthBehavior')\n\tpublic watchMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.counter.watchMaxLengthBehavior(value);\n\t}\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t@Watch('_msg')\n\tpublic watchMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.applyMsg(value);\n\t}\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t@Watch('_name')\n\tpublic watchName(value?: NamePropType): void {\n\t\tthis.applyName(value);\n\t}\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t@Watch('_on')\n\tpublic watchOn(value?: InputTypeOnDefault): void {\n\t\tthis.applyOn(value);\n\t}\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t@Watch('_placeholder')\n\tpublic watchPlaceholder(value?: string): void {\n\t\tplaceholderProp.apply(value, (v) => this.setRenderProp('placeholder', v));\n\t}\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t@Watch('_readOnly')\n\tpublic watchReadOnly(value?: boolean): void {\n\t\treadOnlyProp.apply(value, (v) => this.setRenderProp('readOnly', v));\n\t}\n\n\t/**\n\t * Defines whether and in which direction the size of the input can be changed by the user. (https://developer.mozilla.org/de/docs/Web/CSS/resize)\n\t * In version 3 (v3), horizontal resizing is abolished. The corresponding property is then reduced to the properties `vertical` (default) and `none`.\n\t */\n\t@Prop() public _resize?: TextareaResizePropType = 'vertical';\n\n\t@Watch('_resize')\n\tpublic watchResize(value?: TextareaResizePropType): void {\n\t\tresizeProp.apply(value, (v) => this.setRenderProp('resize', v));\n\t}\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t@Watch('_required')\n\tpublic watchRequired(value?: boolean): void {\n\t\trequiredProp.apply(value, (v) => this.setRenderProp('required', v));\n\t}\n\n\t/**\n\t * Maximum number of visible rows of the element.\n\t */\n\t@Prop({ mutable: true, reflect: false }) public _rows?: RowsPropType;\n\n\t@Watch('_rows')\n\tpublic watchRows(value?: RowsPropType): void {\n\t\trowsProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('rows', v);\n\t\t\tif (!this.isWritingRows) {\n\t\t\t\tthis.minRows = v;\n\t\t\t}\n\t\t});\n\t}\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@Watch('_shortKey')\n\tpublic watchShortKey(value?: ShortKeyPropType): void {\n\t\tshortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n\t\tvalidateAccessAndShortKey(this._accessKey, value);\n\t}\n\n\t/**\n\t * Defines whether the browser should check the spelling and grammar.\n\t */\n\t@Prop() public _spellCheck?: SpellCheckPropType;\n\n\t@Watch('_spellCheck')\n\tpublic watchSpellCheck(value?: SpellCheckPropType): void {\n\t\tspellCheckProp.apply(value, (v) => this.setRenderProp('spellCheck', v));\n\t}\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@Watch('_syncValueBySelector')\n\tpublic watchSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.applySyncValueBySelector(value);\n\t}\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@Watch('_tooltipAlign')\n\tpublic watchTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tthis.applyTooltipAlign(value);\n\t}\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t@Watch('_touched')\n\tpublic watchTouched(value?: boolean): void {\n\t\tthis.applyTouched(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: string): void {\n\t\tthis.applyValue(value);\n\t\tthis.counter.update(value?.length ?? 0);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: VariantClassNamePropType): void {\n\t\tvariantProp.apply(value, (v) => this.setRenderProp('variant', v));\n\t}\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ctaRef.el?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.initRenderProps(textareaPropsConfig);\n\t\tthis.watchAriaDetails(this._ariaDetails);\n\t\tthis._touched = this._touched === true;\n\t\tthis.watchName(this._name);\n\t\tthis.watchSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.watchTouched(this._touched);\n\t\tthis.watchAccessKey(this._accessKey);\n\t\tthis.watchAdjustHeight(this._adjustHeight);\n\t\tthis.watchMsg(this._msg);\n\t\tthis.watchDisabled(this._disabled);\n\t\tthis.watchHideMsg(this._hideMsg);\n\t\tthis.watchHideLabel(this._hideLabel);\n\t\tthis.watchHint(this._hint);\n\t\tthis.watchInfoPopover(this._infoPopover);\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchShortKey(this._shortKey);\n\t\tthis.watchOn(this._on);\n\t\tthis.watchTooltipAlign(this._tooltipAlign);\n\t\tthis.watchVariant(this._variant);\n\t\tthis.watchIcons(this._icons);\n\t\tthis.watchHasCounter(this._hasCounter);\n\t\tthis.watchMaxLengthBehavior(this._maxLengthBehavior);\n\t\t// Without a counter update: `componentDidLoad` fills the counter once its spans exist.\n\t\tthis.counter.watchMaxLength(this._maxLength);\n\t\tthis.watchPlaceholder(this._placeholder);\n\t\tthis.watchReadOnly(this._readOnly);\n\t\tthis.watchRequired(this._required);\n\t\tthis.watchResize(this._resize);\n\t\tthis.watchRows(this._rows);\n\t\tthis.watchSpellCheck(this._spellCheck);\n\t\tthis.applyValue(this._value);\n\t\tthis.hasValue = Boolean(this.getRenderProp('value'));\n\t}\n\n\tpublic componentDidLoad(): void {\n\t\tif (this.counter.hasCounter() || this.counter.hasSoftLimit()) {\n\t\t\tthis.counter.updateImmediate(this._value?.length ?? 0);\n\t\t}\n\t\t// Runs after the first paint, so the height can be measured.\n\t\tsetTimeout(() => {\n\t\t\tif (this._adjustHeight === true && this.ctaRef.el) {\n\t\t\t\tthis.writeRows(this.measureTextareaRows(this.ctaRef.el));\n\t\t\t} else if (!this._rows) {\n\t\t\t\tthis.writeRows(1);\n\t\t\t}\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.syncFormField();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.destroyFormField();\n\t\tthis.counter.destroy();\n\t}\n\n\tprivate readonly handleTextareaInput = (event: Event): void => {\n\t\tif (this.ctaRef.el instanceof HTMLTextAreaElement) {\n\t\t\tthis._value = this.ctaRef.el.value;\n\t\t\tif (this.getRenderProp('adjustHeight')) {\n\t\t\t\tthis.writeRows(this.measureTextareaRows(this.ctaRef.el));\n\t\t\t}\n\t\t\tthis.handleInput(event);\n\t\t}\n\t};\n\n\tprivate readonly handleTextareaChange = (event: Event): void => {\n\t\tthis.handleChange(event);\n\t\tthis.hasValue = Boolean((event.target as HTMLTextAreaElement).value);\n\t};\n\n\tprivate readonly handleTextareaFocus = (event: FocusEvent): void => {\n\t\tthis.handleFocus(event);\n\t\tthis.counter.retriggerAria(this._value?.length ?? 0);\n\t};\n\n\tprivate readonly handleTextareaKeyDown = (event: KeyboardEvent): void => {\n\t\tthis.handleKeyDown(event);\n\t\tthis.counter.handleKeyDown(event, this.ctaRef.el?.value.length ?? 0);\n\t};\n\n\tprivate writeRows(rows: number): void {\n\t\tthis.isWritingRows = true;\n\t\tthis._rows = rows;\n\t\tthis.isWritingRows = false;\n\t}\n\n\t/**\n\t * Measures the rows the content needs, so the textarea grows and shrinks with its content. The\n\t * result never falls below the rows the consumer set.\n\t *\n\t * @see https://stackoverflow.com/questions/17772260/textarea-auto-height\n\t */\n\tprivate measureTextareaRows(el: HTMLTextAreaElement): number {\n\t\t// Hides the scrollbar during the measurement; the padding is removed temporarily for a correct row height.\n\t\tel.style.overflow = 'hidden';\n\t\tel.style.padding = '0';\n\t\tconst currentRows = el.rows;\n\t\tconst rowHeight = el.clientHeight / currentRows;\n\t\tel.rows = 1;\n\t\tconst nextRows = Math.round(el.scrollHeight / rowHeight);\n\t\tel.rows = currentRows;\n\t\tel.style.padding = '';\n\n\t\tconst minRows = this.minRows;\n\t\treturn minRows && minRows > nextRows ? minRows : nextRows;\n\t}\n\n\t/**\n\t * Props of the native `<textarea>` in a fixed key order, which the hydrate snapshot pins.\n\t */\n\tprivate getTextareaProps(): TextAreaFCProps {\n\t\tconst id = this.id;\n\t\tconst shortKey = this.getRenderProp('shortKey');\n\t\tconst maxLength = this.counter.getMaxLengthAttribute();\n\t\tconst characterLimitHintId = this.counter.getCharacterLimitHintId(id);\n\t\tconst { ariaDescribedBy, hasError } = this.getAria();\n\n\t\treturn {\n\t\t\tid,\n\t\t\thideLabel: this.getRenderProp('hideLabel'),\n\t\t\tlabel: this.getRenderProp('label'),\n\t\t\tvalue: this.getRenderProp('value'),\n\t\t\taccessKey: this.getRenderProp('accessKey') || undefined,\n\t\t\tdisabled: this.getRenderProp('disabled'),\n\t\t\t// The name prop defaults to `''`; an unnamed field renders no `name` attribute.\n\t\t\tname: this.getRenderProp('name') || undefined,\n\t\t\trows: this.getRenderProp('rows'),\n\t\t\treadonly: this.getRenderProp('readOnly'),\n\t\t\trequired: this.getRenderProp('required'),\n\t\t\tplaceholder: this.getRenderProp('placeholder'),\n\t\t\tspellcheck: this.getRenderProp('spellCheck'),\n\t\t\ttouched: this.getRenderProp('touched'),\n\t\t\tmsg: this.getRenderProp('msg'),\n\t\t\tref: this.ctaRef,\n\t\t\tstyle: {\n\t\t\t\tresize: this.getRenderProp('resize'),\n\t\t\t},\n\t\t\tonBlur: this.handleBlur,\n\t\t\tonChange: this.handleTextareaChange,\n\t\t\tonClick: this.handleClick,\n\t\t\tonFocus: this.handleTextareaFocus,\n\t\t\tonInput: this.handleTextareaInput,\n\t\t\tonKeyDown: this.handleTextareaKeyDown,\n\t\t\tariaDescribedBy: characterLimitHintId ? [...ariaDescribedBy, characterLimitHintId] : ariaDescribedBy,\n\t\t\t'aria-invalid': hasError ? 'true' : undefined,\n\t\t\t...(maxLength !== undefined ? { maxLength } : {}),\n\t\t\t...(shortKey ? { 'aria-keyshortcuts': shortKey } : {}),\n\t\t};\n\t}\n\n\t/** Applies the value without a counter update; the watcher adds it. */\n\tprivate applyValue(value?: string): void {\n\t\tstringValueProp.apply(value, (v) => this.setRenderProp('value', v));\n\t\tthis.formAssociation.setFormAssociatedValue(this.getRenderProp('value'));\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst disabled = this.getRenderProp('disabled');\n\t\tconst { startAdornment, endAdornment } = getInputAdornments({ icons: this.getRenderProp('icons') });\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<FormFieldFC\n\t\t\t\t\t{...this.getFormFieldProps({\n\t\t\t\t\t\tclass: clsx('kol-form-field-textarea', {\n\t\t\t\t\t\t\t'kol-form-field--has-value': this.hasValue,\n\t\t\t\t\t\t\t'kol-form-field--has-counter': this.counter.hasSoftLimit() || this.counter.hasCounter(),\n\t\t\t\t\t\t}),\n\t\t\t\t\t\taccessKey: this.getRenderProp('accessKey') || undefined,\n\t\t\t\t\t\tshortKey: this.getRenderProp('shortKey') || undefined,\n\t\t\t\t\t\tvariant: this.getRenderProp('variant'),\n\t\t\t\t\t\trequired: this.getRenderProp('required'),\n\t\t\t\t\t\treadOnly: this.getRenderProp('readOnly'),\n\t\t\t\t\t\tmaxLength: this.counter.getRenderProp('maxLength'),\n\t\t\t\t\t\tcounter: this.counter.getCounterProps(),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<InputContainerFC\n\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\tmsg={this.getRenderProp('msg')}\n\t\t\t\t\t\ttouched={this.getRenderProp('touched')}\n\t\t\t\t\t\tstartAdornment={startAdornment}\n\t\t\t\t\t\tendAdornment={endAdornment}\n\t\t\t\t\t>\n\t\t\t\t\t\t<TextAreaFC {...this.getTextareaProps()} />\n\t\t\t\t\t</InputContainerFC>\n\t\t\t\t</FormFieldFC>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
@@ -288,8 +288,8 @@
288
288
  }
289
289
  @font-face {
290
290
  font-family: "kolicons";
291
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
292
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
291
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
292
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
293
293
  }
294
294
  @layer kol-component {
295
295
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -288,8 +288,8 @@
288
288
  }
289
289
  @font-face {
290
290
  font-family: "kolicons";
291
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
292
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
291
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
292
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
293
293
  }
294
294
  @layer kol-component {
295
295
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -102,7 +102,7 @@ export class KolToolbar extends BaseWebComponent {
102
102
  return undefined;
103
103
  }
104
104
  render() {
105
- return (h(Host, { key: '5853008d388ad99f2218052bb4eeda9b66c22260' }, h(ToolbarFC, { key: 'cdc594520340569800b59be57981f64b81928b6a', currentIndex: this.currentIndex, itemRecords: this.itemRecords, label: this.getRenderProp('label'), location: this.location, orientation: this.getRenderProp('orientation') })));
105
+ return (h(Host, { key: '583e538c6adc295d04d001eac9cba1b21f78bfdc' }, h(ToolbarFC, { key: 'af55e9fa68d8ad154319accbc80125c5a4d72f5c', currentIndex: this.currentIndex, itemRecords: this.itemRecords, label: this.getRenderProp('label'), location: this.location, orientation: this.getRenderProp('orientation') })));
106
106
  }
107
107
  static get is() { return "kol-toolbar"; }
108
108
  static get encapsulation() { return "shadow"; }
@@ -1 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CAAC;QACD,OAAO,SAAS,CAAC;IAClB,CAAC;IAEM,MAAM;QACZ,OAAO,CACN,EAAC,IAAI;YACJ,EAAC,SAAS,qDACT,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,GAC7C,CACI,CACP,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Listen, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ToolbarApi } from '../../internal/functional-components/toolbar/api';\nimport { toolbarPropsConfig } from '../../internal/functional-components/toolbar/api';\nimport { ToolbarFC } from '../../internal/functional-components/toolbar/component';\nimport type { ToolbarButtonItem, ToolbarLinkItem } from '../../internal/functional-components/toolbar/item';\nimport { createToolbarItem } from '../../internal/functional-components/toolbar/item';\nimport { labelWithExpertSlotProp, orientationProp, toolbarItemsProp } from '../../internal/props';\nimport type { ClickableElement, FocusableElement, KolFocusOptions, ToolbarItemsPropType, ToolbarProps } from '../../schema';\nimport { KeyboardKey } from '../../schema/enums';\nimport type { OrientationPropType } from '../../schema/props/orientation';\nimport { delegateClick, setClick } from '../../utils/element-click';\nimport { delegateFocus, setFocus } from '../../utils/element-focus';\nimport type { UnsubscribeFunction } from '../link/ariaCurrentService';\nimport { onLocationChange } from '../link/ariaCurrentService';\n\nconst ARROW_KEYS: KeyboardKey[] = [KeyboardKey.ArrowUp, KeyboardKey.ArrowDown, KeyboardKey.ArrowRight, KeyboardKey.ArrowLeft];\n\n@Component({\n\ttag: 'kol-toolbar',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolToolbar extends BaseWebComponent<ToolbarApi> implements ClickableElement, FocusableElement, ToolbarProps, WebComponentInterface<ToolbarApi> {\n\t@Element() protected readonly host?: HTMLKolToolbarElement;\n\n\t@State() public currentIndex: number = 0;\n\n\t@State() public itemRecords: Array<ToolbarButtonItem | ToolbarLinkItem> = [];\n\n\t@State() public location: string = '';\n\n\tprivate unsubscribeOnLocationChange?: UnsubscribeFunction;\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!: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tlabelWithExpertSlotProp.apply(value, (v) => this.setRenderProp('label', v));\n\t}\n\n\t/**\n\t * Defines the functional elements of toolbar to render (e.g. kol-link, kol-button).\n\t */\n\t@Prop() public _items!: ToolbarItemsPropType;\n\n\t@Watch('_items')\n\tpublic watchItems(value?: ToolbarItemsPropType): void {\n\t\ttoolbarItemsProp.apply(value, (items) => {\n\t\t\tthis.setRenderProp('items', items);\n\t\t\tthis.itemRecords.forEach((record) => record.destroy());\n\t\t\tthis.itemRecords = items.map((item) => createToolbarItem(item, () => this.host));\n\t\t\tthis.setFirstEnabledItemIndex();\n\t\t});\n\t}\n\n\t/**\n\t * Defines whether the orientation of the component is horizontal or vertical.\n\t */\n\t@Prop() public _orientation?: OrientationPropType;\n\n\t@Watch('_orientation')\n\tpublic watchOrientation(value?: OrientationPropType): void {\n\t\torientationProp.apply(value, (v) => this.setRenderProp('orientation', v));\n\t}\n\n\t/**\n\t * Sets focus on the currently active toolbar item.\n\t */\n\t@Method()\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {\n\t\tconst element = this.getCurrentItemElement();\n\t\tif (element) {\n\t\t\treturn delegateFocus(this.host!, () => setFocus(element, options));\n\t\t}\n\t}\n\n\t/**\n\t * Triggers a click on the currently active toolbar item.\n\t */\n\t@Method()\n\tpublic async click(): Promise<void> {\n\t\tconst element = this.getCurrentItemElement();\n\t\tif (element) {\n\t\t\treturn delegateClick(this.host!, async () => setClick(element));\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.initRenderProps(toolbarPropsConfig);\n\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchItems(this._items);\n\t\tthis.watchOrientation(this._orientation);\n\n\t\tthis.unsubscribeOnLocationChange = onLocationChange((location) => {\n\t\t\tthis.location = location;\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.itemRecords.forEach((record) => record.syncListeners());\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tif (this.unsubscribeOnLocationChange) {\n\t\t\tthis.unsubscribeOnLocationChange();\n\t\t\tthis.unsubscribeOnLocationChange = undefined;\n\t\t}\n\t\tthis.itemRecords.forEach((record) => record.destroy());\n\t}\n\n\t@Listen('keydown')\n\tpublic handleKeyDown(event: KeyboardEvent): void {\n\t\tconst pressedKey = event.code as KeyboardKey;\n\t\tif (!ARROW_KEYS.includes(pressedKey)) return;\n\t\tevent.preventDefault();\n\n\t\tif (this.itemRecords.length === 0) return;\n\t\tconst step = pressedKey === KeyboardKey.ArrowUp || pressedKey === KeyboardKey.ArrowLeft ? -1 : 1;\n\t\tconst nextIndex = this.findNextEnabledItemIndex(this.currentIndex, step);\n\n\t\tif (nextIndex === undefined || nextIndex === this.currentIndex) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentIndex = nextIndex;\n\t\tvoid this.itemRecords[nextIndex].getElement()?.focus();\n\t}\n\n\t/**\n\t * Resets the roving tabindex to the first enabled item once focus leaves the toolbar.\n\t */\n\t@Listen('focusout', { capture: true })\n\tpublic handleFocusout(event: FocusEvent): void {\n\t\tif (event.target === this.host) this.setFirstEnabledItemIndex();\n\t}\n\n\t/**\n\t * The interactive element the roving tabindex points at, or `undefined` while that item is\n\t * disabled: the index is seeded with the first enabled item, but an item can be disabled again\n\t * while it is current.\n\t */\n\tprivate getCurrentItemElement(): HTMLAnchorElement | HTMLButtonElement | undefined {\n\t\tconst record = this.itemRecords[this.currentIndex];\n\t\treturn record && !record.disabled ? record.getElement() : undefined;\n\t}\n\n\tprivate setFirstEnabledItemIndex(): void {\n\t\tthis.currentIndex = this.itemRecords.findIndex((record) => !record.disabled);\n\t}\n\n\t/**\n\t * Walks the items from `fromIndex` in `step` direction, wrapping around, and returns the first\n\t * enabled one.\n\t *\n\t * Disabled items are skipped rather than blocking the walk: stopping at the first disabled\n\t * neighbour would make every item behind it unreachable by keyboard.\n\t *\n\t * @returns the index to move to, or `undefined` when no other item is enabled.\n\t */\n\tprivate findNextEnabledItemIndex(fromIndex: number, step: -1 | 1): number | undefined {\n\t\tconst itemCount = this.itemRecords.length;\n\t\tfor (let offset = 1; offset <= itemCount; offset++) {\n\t\t\tconst candidate = (((fromIndex + step * offset) % itemCount) + itemCount) % itemCount;\n\t\t\tif (!this.itemRecords[candidate].disabled) {\n\t\t\t\treturn candidate;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<ToolbarFC\n\t\t\t\t\tcurrentIndex={this.currentIndex}\n\t\t\t\t\titemRecords={this.itemRecords}\n\t\t\t\t\tlabel={this.getRenderProp('label')}\n\t\t\t\t\tlocation={this.location}\n\t\t\t\t\torientation={this.getRenderProp('orientation')}\n\t\t\t\t/>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/toolbar/component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MA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I,CAAC,WAAW,EAC7B,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,GAC7C,CACI,CACP,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Listen, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ToolbarApi } from '../../internal/functional-components/toolbar/api';\nimport { toolbarPropsConfig } from '../../internal/functional-components/toolbar/api';\nimport { ToolbarFC } from '../../internal/functional-components/toolbar/component';\nimport type { ToolbarButtonItem, ToolbarHRItem, ToolbarLinkItem } from '../../internal/functional-components/toolbar/item';\nimport { createToolbarItem } from '../../internal/functional-components/toolbar/item';\nimport { labelWithExpertSlotProp, orientationProp, toolbarItemsProp } from '../../internal/props';\nimport type { ClickableElement, FocusableElement, KolFocusOptions, ToolbarItemsPropType, ToolbarProps } from '../../schema';\nimport { KeyboardKey } from '../../schema/enums';\nimport type { OrientationPropType } from '../../schema/props/orientation';\nimport { delegateClick, setClick } from '../../utils/element-click';\nimport { delegateFocus, setFocus } from '../../utils/element-focus';\nimport type { UnsubscribeFunction } from '../link/ariaCurrentService';\nimport { onLocationChange } from '../link/ariaCurrentService';\n\nconst ARROW_KEYS: KeyboardKey[] = [KeyboardKey.ArrowUp, KeyboardKey.ArrowDown, KeyboardKey.ArrowRight, KeyboardKey.ArrowLeft];\n\n@Component({\n\ttag: 'kol-toolbar',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolToolbar extends BaseWebComponent<ToolbarApi> implements ClickableElement, FocusableElement, ToolbarProps, WebComponentInterface<ToolbarApi> {\n\t@Element() protected readonly host?: HTMLKolToolbarElement;\n\n\t@State() public currentIndex: number = 0;\n\n\t@State() public itemRecords: Array<ToolbarButtonItem | ToolbarLinkItem | ToolbarHRItem> = [];\n\n\t@State() public location: string = '';\n\n\tprivate unsubscribeOnLocationChange?: UnsubscribeFunction;\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!: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tlabelWithExpertSlotProp.apply(value, (v) => this.setRenderProp('label', v));\n\t}\n\n\t/**\n\t * Defines the functional elements of toolbar to render (e.g. kol-link, kol-button).\n\t */\n\t@Prop() public _items!: ToolbarItemsPropType;\n\n\t@Watch('_items')\n\tpublic watchItems(value?: ToolbarItemsPropType): void {\n\t\ttoolbarItemsProp.apply(value, (items) => {\n\t\t\tthis.setRenderProp('items', items);\n\t\t\tthis.itemRecords.forEach((record) => record.destroy());\n\t\t\tthis.itemRecords = items.map((item) => createToolbarItem(item, () => this.host));\n\t\t\tthis.setFirstEnabledItemIndex();\n\t\t});\n\t}\n\n\t/**\n\t * Defines whether the orientation of the component is horizontal or vertical.\n\t */\n\t@Prop() public _orientation?: OrientationPropType;\n\n\t@Watch('_orientation')\n\tpublic watchOrientation(value?: OrientationPropType): void {\n\t\torientationProp.apply(value, (v) => this.setRenderProp('orientation', v));\n\t}\n\n\t/**\n\t * Sets focus on the currently active toolbar item.\n\t */\n\t@Method()\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {\n\t\tconst element = this.getCurrentItemElement();\n\t\tif (element) {\n\t\t\treturn delegateFocus(this.host!, () => setFocus(element, options));\n\t\t}\n\t}\n\n\t/**\n\t * Triggers a click on the currently active toolbar item.\n\t */\n\t@Method()\n\tpublic async click(): Promise<void> {\n\t\tconst element = this.getCurrentItemElement();\n\t\tif (element) {\n\t\t\treturn delegateClick(this.host!, async () => setClick(element));\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.initRenderProps(toolbarPropsConfig);\n\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchItems(this._items);\n\t\tthis.watchOrientation(this._orientation);\n\n\t\tthis.unsubscribeOnLocationChange = onLocationChange((location) => {\n\t\t\tthis.location = location;\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.itemRecords.forEach((record) => record.syncListeners());\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tif (this.unsubscribeOnLocationChange) {\n\t\t\tthis.unsubscribeOnLocationChange();\n\t\t\tthis.unsubscribeOnLocationChange = undefined;\n\t\t}\n\t\tthis.itemRecords.forEach((record) => record.destroy());\n\t}\n\n\t@Listen('keydown')\n\tpublic handleKeyDown(event: KeyboardEvent): void {\n\t\tconst pressedKey = event.code as KeyboardKey;\n\t\tif (!ARROW_KEYS.includes(pressedKey)) return;\n\t\tevent.preventDefault();\n\n\t\tif (this.itemRecords.length === 0) return;\n\t\tconst step = pressedKey === KeyboardKey.ArrowUp || pressedKey === KeyboardKey.ArrowLeft ? -1 : 1;\n\t\tconst nextIndex = this.findNextEnabledItemIndex(this.currentIndex, step);\n\n\t\tif (nextIndex === undefined || nextIndex === this.currentIndex) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentIndex = nextIndex;\n\t\tvoid this.itemRecords[nextIndex].getElement()?.focus();\n\t}\n\n\t/**\n\t * Resets the roving tabindex to the first enabled item once focus leaves the toolbar.\n\t */\n\t@Listen('focusout', { capture: true })\n\tpublic handleFocusout(event: FocusEvent): void {\n\t\tif (event.target === this.host) this.setFirstEnabledItemIndex();\n\t}\n\n\t/**\n\t * The interactive element the roving tabindex points at, or `undefined` while that item is\n\t * disabled: the index is seeded with the first enabled item, but an item can be disabled again\n\t * while it is current.\n\t */\n\tprivate getCurrentItemElement(): HTMLAnchorElement | HTMLButtonElement | HTMLHRElement | undefined {\n\t\tconst record = this.itemRecords[this.currentIndex];\n\t\treturn record && !record.disabled ? record.getElement() : undefined;\n\t}\n\n\tprivate setFirstEnabledItemIndex(): void {\n\t\tthis.currentIndex = this.itemRecords.findIndex((record) => !record.disabled);\n\t}\n\n\t/**\n\t * Walks the items from `fromIndex` in `step` direction, wrapping around, and returns the first\n\t * enabled one.\n\t *\n\t * Disabled items are skipped rather than blocking the walk: stopping at the first disabled\n\t * neighbour would make every item behind it unreachable by keyboard.\n\t *\n\t * @returns the index to move to, or `undefined` when no other item is enabled.\n\t */\n\tprivate findNextEnabledItemIndex(fromIndex: number, step: -1 | 1): number | undefined {\n\t\tconst itemCount = this.itemRecords.length;\n\t\tfor (let offset = 1; offset <= itemCount; offset++) {\n\t\t\tconst candidate = (((fromIndex + step * offset) % itemCount) + itemCount) % itemCount;\n\t\t\tif (!this.itemRecords[candidate].disabled) {\n\t\t\t\treturn candidate;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<ToolbarFC\n\t\t\t\t\tcurrentIndex={this.currentIndex}\n\t\t\t\t\titemRecords={this.itemRecords}\n\t\t\t\t\tlabel={this.getRenderProp('label')}\n\t\t\t\t\tlocation={this.location}\n\t\t\t\t\torientation={this.getRenderProp('orientation')}\n\t\t\t\t/>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {
@@ -578,7 +578,10 @@
578
578
  .kol-toolbar {
579
579
  display: flex;
580
580
  flex-wrap: wrap;
581
- align-items: center;
581
+ align-items: stretch;
582
+ }
583
+ .kol-toolbar--orientation-horizontal .kol-toolbar__item hr {
584
+ height: 100%;
582
585
  }
583
586
  .kol-toolbar--orientation-vertical {
584
587
  flex-direction: column;
@@ -587,6 +590,9 @@
587
590
  .kol-toolbar--orientation-vertical .kol-span {
588
591
  align-items: flex-start;
589
592
  }
593
+ .kol-toolbar__item hr {
594
+ margin: 0;
595
+ }
590
596
  .kol-toolbar:focus-within {
591
597
  outline: 1px solid;
592
598
  outline-offset: 2px;
@@ -283,8 +283,8 @@
283
283
  }
284
284
  @font-face {
285
285
  font-family: "kolicons";
286
- src: url("kolicons.eot?t=1791360508850"); /* IE9*/
287
- src: url("kolicons.eot?t=1791360508850#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791360508850") format("woff2"), url("kolicons.woff?t=1791360508850") format("woff"), url("kolicons.ttf?t=1791360508850") format("truetype"), url("kolicons.svg?t=1791360508850#kolicons") format("svg"); /* iOS 4.1- */
286
+ src: url("kolicons.eot?t=1791539188494"); /* IE9*/
287
+ src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
288
288
  }
289
289
  @layer kol-component {
290
290
  [class^=kolicon-], [class*=" kolicon-"] {