@televet/kibble-ui 4.0.1 → 5.0.0-beta.hotfix.1

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 (897) hide show
  1. package/dist/chunks/alert.types-BKSqs9qY.js +2 -0
  2. package/dist/chunks/alert.types-BKSqs9qY.js.map +1 -0
  3. package/dist/chunks/alert.types-C_ygg7fh.js +141 -0
  4. package/dist/chunks/alert.types-C_ygg7fh.js.map +1 -0
  5. package/dist/chunks/anatomy-BkGk10kB.js +2 -0
  6. package/dist/chunks/anatomy-BkGk10kB.js.map +1 -0
  7. package/dist/chunks/anatomy-zd4ecEFD.js +280 -0
  8. package/dist/chunks/anatomy-zd4ecEFD.js.map +1 -0
  9. package/dist/chunks/avatar.component-B1HGlwVW.js +2 -0
  10. package/dist/chunks/avatar.component-B1HGlwVW.js.map +1 -0
  11. package/dist/chunks/avatar.component-C-365mx3.js +404 -0
  12. package/dist/chunks/avatar.component-C-365mx3.js.map +1 -0
  13. package/dist/chunks/avatar.records-CxLCvZfG.js +2 -0
  14. package/dist/chunks/avatar.records-CxLCvZfG.js.map +1 -0
  15. package/dist/chunks/{index-Cv06PsSJ.js → avatar.records-EoZmO3VR.js} +21 -13
  16. package/dist/chunks/avatar.records-EoZmO3VR.js.map +1 -0
  17. package/dist/chunks/avatarGroup.component-B-ZOhj7i.js +75 -0
  18. package/dist/chunks/avatarGroup.component-B-ZOhj7i.js.map +1 -0
  19. package/dist/chunks/avatarGroup.component-CTBfGiSm.js +2 -0
  20. package/dist/chunks/avatarGroup.component-CTBfGiSm.js.map +1 -0
  21. package/dist/chunks/button.component-BO6oee_V.js +69 -0
  22. package/dist/chunks/button.component-BO6oee_V.js.map +1 -0
  23. package/dist/chunks/button.component-DjdgBXDC.js +2 -0
  24. package/dist/chunks/button.component-DjdgBXDC.js.map +1 -0
  25. package/dist/chunks/button.recipe-Bb0lptGi.js +613 -0
  26. package/dist/chunks/button.recipe-Bb0lptGi.js.map +1 -0
  27. package/dist/chunks/button.recipe-flk0XJTS.js +2 -0
  28. package/dist/chunks/button.recipe-flk0XJTS.js.map +1 -0
  29. package/dist/chunks/button.types-3lHElsln.js +2 -0
  30. package/dist/chunks/button.types-3lHElsln.js.map +1 -0
  31. package/dist/chunks/{button.types-BKXZNvN1.js → button.types-C9PpvmYR.js} +14 -9
  32. package/dist/chunks/button.types-C9PpvmYR.js.map +1 -0
  33. package/dist/chunks/buttonGroup.component-CowJsbr7.js +2 -0
  34. package/dist/chunks/buttonGroup.component-CowJsbr7.js.map +1 -0
  35. package/dist/chunks/buttonGroup.component-DUK2FgFn.js +70 -0
  36. package/dist/chunks/buttonGroup.component-DUK2FgFn.js.map +1 -0
  37. package/dist/chunks/calendar.component-CHIhplfO.js +18 -0
  38. package/dist/chunks/calendar.component-CHIhplfO.js.map +1 -0
  39. package/dist/chunks/calendar.component-tOoK1NrU.js +2 -0
  40. package/dist/chunks/calendar.component-tOoK1NrU.js.map +1 -0
  41. package/dist/chunks/card.component-B1AznjWF.js +55 -0
  42. package/dist/chunks/card.component-B1AznjWF.js.map +1 -0
  43. package/dist/chunks/card.component-BmBiYbMV.js +2 -0
  44. package/dist/chunks/card.component-BmBiYbMV.js.map +1 -0
  45. package/dist/chunks/center-Dmlzv1BW.js +20 -0
  46. package/dist/chunks/center-Dmlzv1BW.js.map +1 -0
  47. package/dist/chunks/center-kk61ArhQ.js +2 -0
  48. package/dist/chunks/center-kk61ArhQ.js.map +1 -0
  49. package/dist/chunks/characterCounter.component-CKDigkoD.js +2 -0
  50. package/dist/chunks/characterCounter.component-CKDigkoD.js.map +1 -0
  51. package/dist/chunks/characterCounter.component-Ch3P3GqC.js +82 -0
  52. package/dist/chunks/characterCounter.component-Ch3P3GqC.js.map +1 -0
  53. package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js → checkbox.anatomy-BzZ0IkUF.js} +22 -22
  54. package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js.map → checkbox.anatomy-BzZ0IkUF.js.map} +1 -1
  55. package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js → checkbox.anatomy-DM39E2Q9.js} +2 -2
  56. package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js.map → checkbox.anatomy-DM39E2Q9.js.map} +1 -1
  57. package/dist/chunks/checkbox.component-CiA3Z1zR.js +2 -0
  58. package/dist/chunks/{checkbox.component-DNOkXggb.js.map → checkbox.component-CiA3Z1zR.js.map} +1 -1
  59. package/dist/chunks/checkbox.component-DE35wBj-.js +269 -0
  60. package/dist/chunks/{checkbox.component-Dhjcu89D.js.map → checkbox.component-DE35wBj-.js.map} +1 -1
  61. package/dist/chunks/checkboxGroup.component-BGBd-roJ.js +2 -0
  62. package/dist/chunks/checkboxGroup.component-BGBd-roJ.js.map +1 -0
  63. package/dist/chunks/checkboxGroup.component-CYwGlktu.js +53 -0
  64. package/dist/chunks/checkboxGroup.component-CYwGlktu.js.map +1 -0
  65. package/dist/chunks/{config-B3QABP1-.js → config-Djkl1N81.js} +4 -4
  66. package/dist/chunks/{config-B3QABP1-.js.map → config-Djkl1N81.js.map} +1 -1
  67. package/dist/chunks/conversationCard.component-BrDGshOG.js +2 -0
  68. package/dist/chunks/conversationCard.component-BrDGshOG.js.map +1 -0
  69. package/dist/chunks/conversationCard.component-CMdqD3yN.js +331 -0
  70. package/dist/chunks/conversationCard.component-CMdqD3yN.js.map +1 -0
  71. package/dist/chunks/{create-recipe-context-CrEKmpj8.js → create-recipe-context-DfQ-MTih.js} +9 -9
  72. package/dist/chunks/{create-recipe-context-CrEKmpj8.js.map → create-recipe-context-DfQ-MTih.js.map} +1 -1
  73. package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js +104 -0
  74. package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js.map +1 -0
  75. package/dist/chunks/create-slot-recipe-context-HXE1VazG.js +2 -0
  76. package/dist/chunks/create-slot-recipe-context-HXE1VazG.js.map +1 -0
  77. package/dist/chunks/datePicker.component-C6cD1_HR.js +2 -0
  78. package/dist/chunks/datePicker.component-C6cD1_HR.js.map +1 -0
  79. package/dist/chunks/datePicker.component-eHU7IZgC.js +166 -0
  80. package/dist/chunks/datePicker.component-eHU7IZgC.js.map +1 -0
  81. package/dist/chunks/datePicker.provider-BWHE-9FA.js +3009 -0
  82. package/dist/chunks/datePicker.provider-BWHE-9FA.js.map +1 -0
  83. package/dist/chunks/datePicker.provider-DgarjPPd.js +15 -0
  84. package/dist/chunks/datePicker.provider-DgarjPPd.js.map +1 -0
  85. package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js +317 -0
  86. package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js.map +1 -0
  87. package/dist/chunks/dateTimePicker.component-REz9iX4S.js +2 -0
  88. package/dist/chunks/dateTimePicker.component-REz9iX4S.js.map +1 -0
  89. package/dist/chunks/{dialog-C51vaoYf.js → dialog-B9jifvV4.js} +37 -36
  90. package/dist/chunks/{dialog-C51vaoYf.js.map → dialog-B9jifvV4.js.map} +1 -1
  91. package/dist/chunks/dialog-CZFwddWp.js +2 -0
  92. package/dist/chunks/{dialog-BPhjKQkb.js.map → dialog-CZFwddWp.js.map} +1 -1
  93. package/dist/chunks/divider.component-BX3zyB7O.js +2 -0
  94. package/dist/chunks/divider.component-BX3zyB7O.js.map +1 -0
  95. package/dist/chunks/divider.component-CFOh4Nw3.js +45 -0
  96. package/dist/chunks/divider.component-CFOh4Nw3.js.map +1 -0
  97. package/dist/chunks/divider.types-6MEkMNbx.js +7 -0
  98. package/dist/chunks/divider.types-6MEkMNbx.js.map +1 -0
  99. package/dist/chunks/divider.types-DBNcs0IR.js +2 -0
  100. package/dist/chunks/divider.types-DBNcs0IR.js.map +1 -0
  101. package/dist/chunks/{empty-BU2EAux9.js → empty-DNH84khx.js} +3 -3
  102. package/dist/chunks/{empty-BU2EAux9.js.map → empty-DNH84khx.js.map} +1 -1
  103. package/dist/chunks/field.anatomy-Bhj7Mlr7.js +2 -0
  104. package/dist/chunks/field.anatomy-Bhj7Mlr7.js.map +1 -0
  105. package/dist/chunks/field.anatomy-C37GEr2p.js +16 -0
  106. package/dist/chunks/field.anatomy-C37GEr2p.js.map +1 -0
  107. package/dist/chunks/{format-BRt-TIiQ.js → format-CK7Imh-5.js} +2 -2
  108. package/dist/chunks/{format-BRt-TIiQ.js.map → format-CK7Imh-5.js.map} +1 -1
  109. package/dist/chunks/{format-DgHM6wFr.js → format-CqTHHSak.js} +3 -1
  110. package/dist/chunks/{format-DgHM6wFr.js.map → format-CqTHHSak.js.map} +1 -1
  111. package/dist/chunks/grid-item-BmCSQ38y.js +78 -0
  112. package/dist/chunks/grid-item-BmCSQ38y.js.map +1 -0
  113. package/dist/chunks/grid-item-CH3dbZHL.js +2 -0
  114. package/dist/chunks/grid-item-CH3dbZHL.js.map +1 -0
  115. package/dist/chunks/heading.component-7ikcgDco.js +18 -0
  116. package/dist/chunks/heading.component-7ikcgDco.js.map +1 -0
  117. package/dist/chunks/heading.component-DMAQO_-m.js +2 -0
  118. package/dist/chunks/heading.component-DMAQO_-m.js.map +1 -0
  119. package/dist/chunks/{icon-button-5UcFiA_W.js → icon-button-CcZMCNUJ.js} +3 -3
  120. package/dist/chunks/{icon-button-5UcFiA_W.js.map → icon-button-CcZMCNUJ.js.map} +1 -1
  121. package/dist/chunks/icon.component-B1hr5lLa.js +2 -0
  122. package/dist/chunks/icon.component-B1hr5lLa.js.map +1 -0
  123. package/dist/chunks/icon.component-PV_nHBId.js +32 -0
  124. package/dist/chunks/icon.component-PV_nHBId.js.map +1 -0
  125. package/dist/chunks/{icons-DQ5FafZQ.js → icons-CoSqruIn.js} +5 -5
  126. package/dist/chunks/{icons-DQ5FafZQ.js.map → icons-CoSqruIn.js.map} +1 -1
  127. package/dist/chunks/index-B-OGBT0w.js +2 -0
  128. package/dist/chunks/{index-BEfEzWJx.js.map → index-B-OGBT0w.js.map} +1 -1
  129. package/dist/chunks/index-B3xJnxjd.js +371 -0
  130. package/dist/chunks/index-B3xJnxjd.js.map +1 -0
  131. package/dist/chunks/index-BFUdiDZp.js +2 -0
  132. package/dist/chunks/{index-2glJ2faJ.js.map → index-BFUdiDZp.js.map} +1 -1
  133. package/dist/chunks/{index-CVJXrcei.js → index-BGd_2-DY.js} +29 -27
  134. package/dist/chunks/{index-CVJXrcei.js.map → index-BGd_2-DY.js.map} +1 -1
  135. package/dist/chunks/index-BXv9lkZC.js +4 -0
  136. package/dist/chunks/index-BXv9lkZC.js.map +1 -0
  137. package/dist/chunks/index-BbZjRFzg.js +265 -0
  138. package/dist/chunks/index-BbZjRFzg.js.map +1 -0
  139. package/dist/chunks/{index-CYXurbh4.js → index-BgFImxxe.js} +27 -25
  140. package/dist/chunks/{index-CYXurbh4.js.map → index-BgFImxxe.js.map} +1 -1
  141. package/dist/chunks/index-BoulS5Zg.js +2 -0
  142. package/dist/chunks/index-BoulS5Zg.js.map +1 -0
  143. package/dist/chunks/index-BrJtqTzN.js +4115 -0
  144. package/dist/chunks/index-BrJtqTzN.js.map +1 -0
  145. package/dist/chunks/index-C9UYIjEB.js +1584 -0
  146. package/dist/chunks/index-C9UYIjEB.js.map +1 -0
  147. package/dist/chunks/index-CQURjLlA.js +3 -0
  148. package/dist/chunks/index-CQURjLlA.js.map +1 -0
  149. package/dist/chunks/{index-BXJJKHzT.js → index-CbVKVxMW.js} +54 -52
  150. package/dist/chunks/{index-BXJJKHzT.js.map → index-CbVKVxMW.js.map} +1 -1
  151. package/dist/chunks/{index-CWhDtS-n.js → index-Cxrrsmf-.js} +17 -16
  152. package/dist/chunks/{index-CWhDtS-n.js.map → index-Cxrrsmf-.js.map} +1 -1
  153. package/dist/chunks/{index-BZBgTxer.js → index-D0DKQnEK.js} +11 -11
  154. package/dist/chunks/{index-BZBgTxer.js.map → index-D0DKQnEK.js.map} +1 -1
  155. package/dist/chunks/index-D1RhzPVz.js +984 -0
  156. package/dist/chunks/index-D1RhzPVz.js.map +1 -0
  157. package/dist/chunks/index-D3Q0mQNf.js +325 -0
  158. package/dist/chunks/index-D3Q0mQNf.js.map +1 -0
  159. package/dist/chunks/index-D6HBfqAu.js +2 -0
  160. package/dist/chunks/index-D6HBfqAu.js.map +1 -0
  161. package/dist/chunks/index-D6c4fMjg.js +2 -0
  162. package/dist/chunks/index-D6c4fMjg.js.map +1 -0
  163. package/dist/chunks/{index-CfqoBQoP.js → index-D7QT9KIZ.js} +9 -9
  164. package/dist/chunks/{index-CfqoBQoP.js.map → index-D7QT9KIZ.js.map} +1 -1
  165. package/dist/chunks/{index-WYcfOUFA.js → index-DIszpWqO.js} +2 -2
  166. package/dist/chunks/{index-WYcfOUFA.js.map → index-DIszpWqO.js.map} +1 -1
  167. package/dist/chunks/{index-D0HCo_Ly.js → index-DLe40do7.js} +2 -2
  168. package/dist/chunks/{index-D0HCo_Ly.js.map → index-DLe40do7.js.map} +1 -1
  169. package/dist/chunks/index-DS4KlAkI.js +371 -0
  170. package/dist/chunks/index-DS4KlAkI.js.map +1 -0
  171. package/dist/chunks/{index-nNZWP0FQ.js → index-DTVestnf.js} +2 -2
  172. package/dist/chunks/{index-nNZWP0FQ.js.map → index-DTVestnf.js.map} +1 -1
  173. package/dist/chunks/index-DVyODQn6.js +8 -0
  174. package/dist/chunks/index-DVyODQn6.js.map +1 -0
  175. package/dist/chunks/index-D_vndwae.js +3 -0
  176. package/dist/chunks/index-D_vndwae.js.map +1 -0
  177. package/dist/chunks/index-DfzXSlq1.js +2477 -0
  178. package/dist/chunks/index-DfzXSlq1.js.map +1 -0
  179. package/dist/chunks/{index-BhSvtzbY.js → index-QVc_GVoE.js} +13 -13
  180. package/dist/chunks/{index-BhSvtzbY.js.map → index-QVc_GVoE.js.map} +1 -1
  181. package/dist/chunks/index-Ts8g8jZd.js +2 -0
  182. package/dist/chunks/index-Ts8g8jZd.js.map +1 -0
  183. package/dist/chunks/index-_913FPya.js +2 -0
  184. package/dist/chunks/{index-A_vmTNU7.js.map → index-_913FPya.js.map} +1 -1
  185. package/dist/chunks/index-fHSGm2nC.js +1044 -0
  186. package/dist/chunks/index-fHSGm2nC.js.map +1 -0
  187. package/dist/chunks/{index-eNFIsSpE.js → index-kpOEHtZZ.js} +2 -2
  188. package/dist/chunks/{index-eNFIsSpE.js.map → index-kpOEHtZZ.js.map} +1 -1
  189. package/dist/chunks/index-rSq6Bry6.js +2 -0
  190. package/dist/chunks/{index-DAI6_P9H.js.map → index-rSq6Bry6.js.map} +1 -1
  191. package/dist/chunks/{index-BhPrz8Zu.js → index-wV4hG2vI.js} +19 -19
  192. package/dist/chunks/{index-BhPrz8Zu.js.map → index-wV4hG2vI.js.map} +1 -1
  193. package/dist/chunks/index-yh2QitBe.js +2 -0
  194. package/dist/chunks/index-yh2QitBe.js.map +1 -0
  195. package/dist/chunks/input-group-CFelIL63.js +78 -0
  196. package/dist/chunks/input-group-CFelIL63.js.map +1 -0
  197. package/dist/chunks/input-group-DUdSDk4o.js +2 -0
  198. package/dist/chunks/input-group-DUdSDk4o.js.map +1 -0
  199. package/dist/chunks/isToday-BgNkHh5t.js +2 -0
  200. package/dist/chunks/isToday-BgNkHh5t.js.map +1 -0
  201. package/dist/chunks/isToday-iCYsPDMT.js +23 -0
  202. package/dist/chunks/isToday-iCYsPDMT.js.map +1 -0
  203. package/dist/chunks/link.component--URNKuK2.js +44 -0
  204. package/dist/chunks/link.component--URNKuK2.js.map +1 -0
  205. package/dist/chunks/link.component-_YXG8MDq.js +2 -0
  206. package/dist/chunks/link.component-_YXG8MDq.js.map +1 -0
  207. package/dist/chunks/{list-D22V_L58.js → list-DTRn3TmT.js} +2 -2
  208. package/dist/chunks/{list-D22V_L58.js.map → list-DTRn3TmT.js.map} +1 -1
  209. package/dist/chunks/{list-DwRM9eA_.js → list-v83ZN2MC.js} +2 -2
  210. package/dist/chunks/{list-DwRM9eA_.js.map → list-v83ZN2MC.js.map} +1 -1
  211. package/dist/chunks/logo.types-88a31xCx.js +2 -0
  212. package/dist/chunks/logo.types-88a31xCx.js.map +1 -0
  213. package/dist/chunks/logo.types-C5GwpHjM.js +51 -0
  214. package/dist/chunks/logo.types-C5GwpHjM.js.map +1 -0
  215. package/dist/chunks/menu.component-D4-4xRDj.js +2 -0
  216. package/dist/chunks/menu.component-D4-4xRDj.js.map +1 -0
  217. package/dist/chunks/menu.component-DwTen8Uv.js +704 -0
  218. package/dist/chunks/menu.component-DwTen8Uv.js.map +1 -0
  219. package/dist/chunks/modal.types-74os4Bqi.js +2 -0
  220. package/dist/chunks/modal.types-74os4Bqi.js.map +1 -0
  221. package/dist/chunks/modal.types-B0rK6xJy.js +115 -0
  222. package/dist/chunks/modal.types-B0rK6xJy.js.map +1 -0
  223. package/dist/chunks/{notificationCounter.component-Lu4_Owvr.js → notificationCounter.component-BexkISUl.js} +37 -18
  224. package/dist/chunks/notificationCounter.component-BexkISUl.js.map +1 -0
  225. package/dist/chunks/notificationCounter.component-DJpUXeXm.js +2 -0
  226. package/dist/chunks/notificationCounter.component-DJpUXeXm.js.map +1 -0
  227. package/dist/chunks/numberInput.component-DIABzNV6.js +2 -0
  228. package/dist/chunks/numberInput.component-DIABzNV6.js.map +1 -0
  229. package/dist/chunks/numberInput.component-RCwUUzmH.js +227 -0
  230. package/dist/chunks/numberInput.component-RCwUUzmH.js.map +1 -0
  231. package/dist/chunks/picture.component-BA2hgdZy.js +2 -0
  232. package/dist/chunks/picture.component-BA2hgdZy.js.map +1 -0
  233. package/dist/chunks/picture.component-DzdHIFN_.js +28 -0
  234. package/dist/chunks/picture.component-DzdHIFN_.js.map +1 -0
  235. package/dist/chunks/pinInput.types-BCzsoF9r.js +2 -0
  236. package/dist/chunks/{pinInput.types-Cqm1Px5l.js.map → pinInput.types-BCzsoF9r.js.map} +1 -1
  237. package/dist/chunks/pinInput.types-CcaAN6P2.js +155 -0
  238. package/dist/chunks/{pinInput.types-CcN0aX_i.js.map → pinInput.types-CcaAN6P2.js.map} +1 -1
  239. package/dist/chunks/popover-C7aj8Iwj.js +2 -0
  240. package/dist/chunks/popover-C7aj8Iwj.js.map +1 -0
  241. package/dist/chunks/popover-pd70xkY_.js +111 -0
  242. package/dist/chunks/popover-pd70xkY_.js.map +1 -0
  243. package/dist/chunks/popover-root-provider-CZDbUJ2K.js +2 -0
  244. package/dist/chunks/{popover-root-provider-ZB5BcrXn.js.map → popover-root-provider-CZDbUJ2K.js.map} +1 -1
  245. package/dist/chunks/popover-root-provider-DR0Iuda1.js +44 -0
  246. package/dist/chunks/{popover-root-provider-CkW1eCBQ.js.map → popover-root-provider-DR0Iuda1.js.map} +1 -1
  247. package/dist/chunks/popover.component-BBp_5m8e.js +2 -0
  248. package/dist/chunks/popover.component-BBp_5m8e.js.map +1 -0
  249. package/dist/chunks/popover.component-DEOUdSu3.js +220 -0
  250. package/dist/chunks/popover.component-DEOUdSu3.js.map +1 -0
  251. package/dist/chunks/popover.recipe-B9bkpDfc.js +126 -0
  252. package/dist/chunks/popover.recipe-B9bkpDfc.js.map +1 -0
  253. package/dist/chunks/popover.recipe-Czy8Aeft.js +2 -0
  254. package/dist/chunks/popover.recipe-Czy8Aeft.js.map +1 -0
  255. package/dist/chunks/popover.types-CQJj3uOX.js +7 -0
  256. package/dist/chunks/popover.types-CQJj3uOX.js.map +1 -0
  257. package/dist/chunks/popover.types-ChA9ccQ2.js +2 -0
  258. package/dist/chunks/popover.types-ChA9ccQ2.js.map +1 -0
  259. package/dist/chunks/progress-value-text-CFVhPKYk.js +2 -0
  260. package/dist/chunks/progress-value-text-CFVhPKYk.js.map +1 -0
  261. package/dist/chunks/progress-value-text-DZkUF2cO.js +58 -0
  262. package/dist/chunks/progress-value-text-DZkUF2cO.js.map +1 -0
  263. package/dist/chunks/radioGroup.types-C7A8mLMz.js +2 -0
  264. package/dist/chunks/radioGroup.types-C7A8mLMz.js.map +1 -0
  265. package/dist/chunks/radioGroup.types-DJ68ERdO.js +228 -0
  266. package/dist/chunks/radioGroup.types-DJ68ERdO.js.map +1 -0
  267. package/dist/chunks/radiomark-Cj0NEJeE.js +2 -0
  268. package/dist/chunks/radiomark-Cj0NEJeE.js.map +1 -0
  269. package/dist/chunks/radiomark-DdwVpBDT.js +22 -0
  270. package/dist/chunks/radiomark-DdwVpBDT.js.map +1 -0
  271. package/dist/chunks/radiomark.component-D_7wT5VA.js +11 -0
  272. package/dist/chunks/radiomark.component-D_7wT5VA.js.map +1 -0
  273. package/dist/chunks/radiomark.component-YJNr68s7.js +2 -0
  274. package/dist/chunks/radiomark.component-YJNr68s7.js.map +1 -0
  275. package/dist/chunks/rating-group-CfwdAW9a.js +133 -0
  276. package/dist/chunks/rating-group-CfwdAW9a.js.map +1 -0
  277. package/dist/chunks/rating-group-D8QA23q6.js +2 -0
  278. package/dist/chunks/rating-group-D8QA23q6.js.map +1 -0
  279. package/dist/chunks/rating.component-BsuGbcxP.js +2 -0
  280. package/dist/chunks/rating.component-BsuGbcxP.js.map +1 -0
  281. package/dist/chunks/rating.component-ChzcvUl6.js +70 -0
  282. package/dist/chunks/rating.component-ChzcvUl6.js.map +1 -0
  283. package/dist/chunks/ratingDots.component-CVjSZ9JJ.js +2 -0
  284. package/dist/chunks/ratingDots.component-CVjSZ9JJ.js.map +1 -0
  285. package/dist/chunks/ratingDots.component-D9WQGVcj.js +147 -0
  286. package/dist/chunks/ratingDots.component-D9WQGVcj.js.map +1 -0
  287. package/dist/chunks/{render-strategy-CfHUEDVm.js → render-strategy-kPh1pd2U.js} +2 -2
  288. package/dist/chunks/{render-strategy-CfHUEDVm.js.map → render-strategy-kPh1pd2U.js.map} +1 -1
  289. package/dist/chunks/{render-strategy-Dr73HbQf.js → render-strategy-munDZLwL.js} +2 -2
  290. package/dist/chunks/{render-strategy-Dr73HbQf.js.map → render-strategy-munDZLwL.js.map} +1 -1
  291. package/dist/chunks/select.component-B4mAPqzN.js +1099 -0
  292. package/dist/chunks/select.component-B4mAPqzN.js.map +1 -0
  293. package/dist/chunks/select.component-CCNxMGvb.js +2 -0
  294. package/dist/chunks/select.component-CCNxMGvb.js.map +1 -0
  295. package/dist/chunks/{sortableList.component-vxiA7bvr.js → sortableList.component-BlwtnxVj.js} +3 -3
  296. package/dist/chunks/{sortableList.component-vxiA7bvr.js.map → sortableList.component-BlwtnxVj.js.map} +1 -1
  297. package/dist/chunks/{sortableList.component-i4dJ9oHN.js → sortableList.component-XfURY7C2.js} +384 -379
  298. package/dist/chunks/{sortableList.component-i4dJ9oHN.js.map → sortableList.component-XfURY7C2.js.map} +1 -1
  299. package/dist/chunks/spinner-B9ytCKVs.js +8 -0
  300. package/dist/chunks/{spinner-C31ZWQmA.js.map → spinner-B9ytCKVs.js.map} +1 -1
  301. package/dist/chunks/{spinner.component-DPYj17HK.js → spinner.component-B3dkvoO9.js} +53 -45
  302. package/dist/chunks/spinner.component-B3dkvoO9.js.map +1 -0
  303. package/dist/chunks/spinner.component-DuW1_IWM.js +2 -0
  304. package/dist/chunks/spinner.component-DuW1_IWM.js.map +1 -0
  305. package/dist/chunks/styledAvatar.types-CcP-Vl9c.js +2 -0
  306. package/dist/chunks/styledAvatar.types-CcP-Vl9c.js.map +1 -0
  307. package/dist/chunks/styledAvatar.types-cR6PNPxA.js +69 -0
  308. package/dist/chunks/styledAvatar.types-cR6PNPxA.js.map +1 -0
  309. package/dist/chunks/swatch.types-AZLB8OWG.js +2 -0
  310. package/dist/chunks/swatch.types-AZLB8OWG.js.map +1 -0
  311. package/dist/chunks/{swatch.types-CXlghcLw.js → swatch.types-CkrkMi11.js} +21 -20
  312. package/dist/chunks/swatch.types-CkrkMi11.js.map +1 -0
  313. package/dist/chunks/switch.component-CgzCLoTB.js +2 -0
  314. package/dist/chunks/{switch.component-Cke7O8gk.js.map → switch.component-CgzCLoTB.js.map} +1 -1
  315. package/dist/chunks/switch.component-CpV7mnhR.js +155 -0
  316. package/dist/chunks/{switch.component-C88jBbo_.js.map → switch.component-CpV7mnhR.js.map} +1 -1
  317. package/dist/chunks/{tab.types-DCkus0y2.js → tab.types-DaJfFBvr.js} +136 -117
  318. package/dist/chunks/{tab.types-DCkus0y2.js.map → tab.types-DaJfFBvr.js.map} +1 -1
  319. package/dist/chunks/tab.types-DwPEP_5N.js +2 -0
  320. package/dist/chunks/{tab.types-DpmXyw5C.js.map → tab.types-DwPEP_5N.js.map} +1 -1
  321. package/dist/chunks/tag.component-B7V76XfM.js +84 -0
  322. package/dist/chunks/tag.component-B7V76XfM.js.map +1 -0
  323. package/dist/chunks/tag.component-C98Wf07v.js +2 -0
  324. package/dist/chunks/tag.component-C98Wf07v.js.map +1 -0
  325. package/dist/chunks/tagBlock.component-BGEvRu81.js +2 -0
  326. package/dist/chunks/tagBlock.component-BGEvRu81.js.map +1 -0
  327. package/dist/chunks/tagBlock.component-Cor6eakc.js +170 -0
  328. package/dist/chunks/tagBlock.component-Cor6eakc.js.map +1 -0
  329. package/dist/chunks/text.component-CdTyTFds.js +12 -0
  330. package/dist/chunks/text.component-CdTyTFds.js.map +1 -0
  331. package/dist/chunks/text.component-CeioUl0G.js +2 -0
  332. package/dist/chunks/text.component-CeioUl0G.js.map +1 -0
  333. package/dist/chunks/textInput.component-BC0Hi8R_.js +108 -0
  334. package/dist/chunks/textInput.component-BC0Hi8R_.js.map +1 -0
  335. package/dist/chunks/textInput.component-C1vwy6pL.js +2 -0
  336. package/dist/chunks/textInput.component-C1vwy6pL.js.map +1 -0
  337. package/dist/chunks/textarea.component-D15hA9Jb.js +2 -0
  338. package/dist/chunks/{textarea.component-Dk2IMKkr.js.map → textarea.component-D15hA9Jb.js.map} +1 -1
  339. package/dist/chunks/textarea.component-axjxiv82.js +96 -0
  340. package/dist/chunks/{textarea.component-BYexywy1.js.map → textarea.component-axjxiv82.js.map} +1 -1
  341. package/dist/chunks/{theme.provider-w_I9S10D.js → theme.provider-BD7qyu-B.js} +1405 -1339
  342. package/dist/chunks/theme.provider-BD7qyu-B.js.map +1 -0
  343. package/dist/chunks/theme.provider-DFwAy7tr.js +28 -0
  344. package/dist/chunks/theme.provider-DFwAy7tr.js.map +1 -0
  345. package/dist/chunks/timePicker.component-Cz2XxVL6.js +2 -0
  346. package/dist/chunks/timePicker.component-Cz2XxVL6.js.map +1 -0
  347. package/dist/chunks/timePicker.component-u34pHrzr.js +220 -0
  348. package/dist/chunks/timePicker.component-u34pHrzr.js.map +1 -0
  349. package/dist/chunks/timeRange.component-BiA1VWQ8.js +19 -0
  350. package/dist/chunks/timeRange.component-BiA1VWQ8.js.map +1 -0
  351. package/dist/chunks/timeRange.component-tU_nCTmS.js +2 -0
  352. package/dist/chunks/timeRange.component-tU_nCTmS.js.map +1 -0
  353. package/dist/chunks/timestamp.component-DBmc7D23.js +36 -0
  354. package/dist/chunks/timestamp.component-DBmc7D23.js.map +1 -0
  355. package/dist/chunks/timestamp.component-DYZHgaas.js +2 -0
  356. package/dist/chunks/timestamp.component-DYZHgaas.js.map +1 -0
  357. package/dist/chunks/toaster.records-CDSkoMuU.js +2 -0
  358. package/dist/chunks/{toaster.records-eCXbM85Z.js.map → toaster.records-CDSkoMuU.js.map} +1 -1
  359. package/dist/chunks/{toaster.records-oryzm5Go.js → toaster.records-Cb3hbtuY.js} +103 -102
  360. package/dist/chunks/{toaster.records-oryzm5Go.js.map → toaster.records-Cb3hbtuY.js.map} +1 -1
  361. package/dist/chunks/tooltip.component-BkFDi5yK.js +2 -0
  362. package/dist/chunks/{tooltip.component-CATpCSkf.js.map → tooltip.component-BkFDi5yK.js.map} +1 -1
  363. package/dist/chunks/{tooltip.component-mjdP7nPN.js → tooltip.component-C_NS-AoH.js} +126 -103
  364. package/dist/chunks/{tooltip.component-mjdP7nPN.js.map → tooltip.component-C_NS-AoH.js.map} +1 -1
  365. package/dist/chunks/{typography.records-CpYV1kns.js → typography.records-BEd2lI_g.js} +10 -22
  366. package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
  367. package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
  368. package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
  369. package/dist/chunks/{use-field-context-BTxME29X.js → use-field-context-Cm29IQ7H.js} +2 -2
  370. package/dist/chunks/{use-field-context-BTxME29X.js.map → use-field-context-Cm29IQ7H.js.map} +1 -1
  371. package/dist/chunks/{use-field-context-RQeEcNpb.js → use-field-context-DrC9mrDd.js} +2 -2
  372. package/dist/chunks/{use-field-context-RQeEcNpb.js.map → use-field-context-DrC9mrDd.js.map} +1 -1
  373. package/dist/chunks/use-locale-context-Bw4Gg9Z0.js +738 -0
  374. package/dist/chunks/use-locale-context-Bw4Gg9Z0.js.map +1 -0
  375. package/dist/chunks/use-locale-context-ym21RUxU.js +22 -0
  376. package/dist/chunks/use-locale-context-ym21RUxU.js.map +1 -0
  377. package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
  378. package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
  379. package/dist/chunks/withFormControl-DePFf9SY.js +367 -0
  380. package/dist/chunks/withFormControl-DePFf9SY.js.map +1 -0
  381. package/dist/chunks/withFormControl-wZA87Sd4.js +2 -0
  382. package/dist/chunks/withFormControl-wZA87Sd4.js.map +1 -0
  383. package/dist/chunks/withTruncation-DE3FFPE7.js +2 -0
  384. package/dist/chunks/withTruncation-DE3FFPE7.js.map +1 -0
  385. package/dist/chunks/withTruncation-DTCfQ2yk.js +92 -0
  386. package/dist/chunks/withTruncation-DTCfQ2yk.js.map +1 -0
  387. package/dist/chunks/{wrap-CRNL4bE6.js → wrap-Cu5ZEseD.js} +2 -2
  388. package/dist/chunks/{wrap-CRNL4bE6.js.map → wrap-Cu5ZEseD.js.map} +1 -1
  389. package/dist/cjs/chakra/index.cjs +2 -2
  390. package/dist/cjs/chakra/index.cjs.map +1 -1
  391. package/dist/cjs/components/Alert/index.cjs +1 -1
  392. package/dist/cjs/components/Avatar/index.cjs +1 -1
  393. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  394. package/dist/cjs/components/Button/index.cjs +1 -1
  395. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  396. package/dist/cjs/components/Calendar/index.cjs +2 -0
  397. package/dist/cjs/components/Calendar/index.cjs.map +1 -0
  398. package/dist/cjs/components/Card/index.cjs +1 -1
  399. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  400. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  401. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  402. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  403. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  404. package/dist/cjs/components/DateTimePicker/index.cjs +2 -0
  405. package/dist/cjs/components/DateTimePicker/index.cjs.map +1 -0
  406. package/dist/cjs/components/Divider/index.cjs +1 -1
  407. package/dist/cjs/components/Heading/index.cjs +1 -1
  408. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  409. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  410. package/dist/cjs/components/Icon/index.cjs +1 -1
  411. package/dist/cjs/components/Link/index.cjs +1 -1
  412. package/dist/cjs/components/Logo/index.cjs +1 -1
  413. package/dist/cjs/components/Menu/index.cjs +1 -1
  414. package/dist/cjs/components/Modal/index.cjs +1 -1
  415. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  416. package/dist/cjs/components/NumberInput/index.cjs +2 -0
  417. package/dist/cjs/components/NumberInput/index.cjs.map +1 -0
  418. package/dist/cjs/components/Picture/index.cjs +1 -1
  419. package/dist/cjs/components/PinInput/index.cjs +1 -1
  420. package/dist/cjs/components/Popover/index.cjs +1 -1
  421. package/dist/cjs/components/Progress/index.cjs +2 -0
  422. package/dist/cjs/components/Progress/index.cjs.map +1 -0
  423. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  424. package/dist/cjs/components/Radiomark/index.cjs +2 -0
  425. package/dist/cjs/components/Radiomark/index.cjs.map +1 -0
  426. package/dist/cjs/components/Rating/index.cjs +2 -0
  427. package/dist/cjs/components/Rating/index.cjs.map +1 -0
  428. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  429. package/dist/cjs/components/Select/index.cjs +1 -1
  430. package/dist/cjs/components/SortableList/index.cjs +1 -1
  431. package/dist/cjs/components/Spinner/index.cjs +1 -1
  432. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  433. package/dist/cjs/components/Swatch/index.cjs +1 -1
  434. package/dist/cjs/components/Switch/index.cjs +1 -1
  435. package/dist/cjs/components/Tabs/index.cjs +1 -1
  436. package/dist/cjs/components/Tag/index.cjs +1 -1
  437. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  438. package/dist/cjs/components/Text/index.cjs +1 -1
  439. package/dist/cjs/components/TextInput/index.cjs +1 -1
  440. package/dist/cjs/components/Textarea/index.cjs +1 -1
  441. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  442. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  443. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  444. package/dist/cjs/components/Toast/index.cjs +1 -1
  445. package/dist/cjs/components/Toast/index.cjs.map +1 -1
  446. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  447. package/dist/cjs/components/index.cjs +1 -1
  448. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -1
  449. package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
  450. package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -1
  451. package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -1
  452. package/dist/cjs/index.cjs +1 -1
  453. package/dist/cjs/theme/index.cjs +1 -1
  454. package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
  455. package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
  456. package/dist/esm/chakra/index.js +1682 -1997
  457. package/dist/esm/chakra/index.js.map +1 -1
  458. package/dist/esm/components/Alert/index.js +1 -1
  459. package/dist/esm/components/Avatar/index.js +1 -1
  460. package/dist/esm/components/AvatarGroup/index.js +1 -1
  461. package/dist/esm/components/Button/index.js +2 -2
  462. package/dist/esm/components/ButtonGroup/index.js +1 -1
  463. package/dist/esm/components/Calendar/index.js +5 -0
  464. package/dist/esm/components/Calendar/index.js.map +1 -0
  465. package/dist/esm/components/Card/index.js +1 -1
  466. package/dist/esm/components/CharacterCounter/index.js +1 -1
  467. package/dist/esm/components/Checkbox/index.js +1 -1
  468. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  469. package/dist/esm/components/ConversationCard/index.js +1 -1
  470. package/dist/esm/components/DatePicker/index.js +4 -3
  471. package/dist/esm/components/DatePicker/index.js.map +1 -1
  472. package/dist/esm/components/DateTimePicker/index.js +7 -0
  473. package/dist/esm/components/DateTimePicker/index.js.map +1 -0
  474. package/dist/esm/components/Divider/index.js +6 -5
  475. package/dist/esm/components/Divider/index.js.map +1 -1
  476. package/dist/esm/components/Heading/index.js +1 -1
  477. package/dist/esm/components/Icon/generated/index.js +556 -342
  478. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  479. package/dist/esm/components/Icon/index.js +1 -1
  480. package/dist/esm/components/Link/index.js +1 -1
  481. package/dist/esm/components/Logo/index.js +1 -1
  482. package/dist/esm/components/Menu/index.js +1 -1
  483. package/dist/esm/components/Modal/index.js +1 -1
  484. package/dist/esm/components/NotificationCounter/index.js +1 -1
  485. package/dist/esm/components/NumberInput/index.js +5 -0
  486. package/dist/esm/components/NumberInput/index.js.map +1 -0
  487. package/dist/esm/components/Picture/index.js +1 -1
  488. package/dist/esm/components/PinInput/index.js +1 -1
  489. package/dist/esm/components/Popover/index.js +2 -2
  490. package/dist/esm/components/Progress/index.js +57 -0
  491. package/dist/esm/components/Progress/index.js.map +1 -0
  492. package/dist/esm/components/RadioGroup/index.js +1 -1
  493. package/dist/esm/components/Radiomark/index.js +5 -0
  494. package/dist/esm/components/Radiomark/index.js.map +1 -0
  495. package/dist/esm/components/Rating/index.js +5 -0
  496. package/dist/esm/components/Rating/index.js.map +1 -0
  497. package/dist/esm/components/RatingDots/index.js +1 -1
  498. package/dist/esm/components/Select/index.js +1 -1
  499. package/dist/esm/components/SortableList/index.js +1 -1
  500. package/dist/esm/components/Spinner/index.js +1 -1
  501. package/dist/esm/components/StyledAvatar/index.js +1 -1
  502. package/dist/esm/components/Swatch/index.js +1 -1
  503. package/dist/esm/components/Switch/index.js +1 -1
  504. package/dist/esm/components/Tabs/index.js +1 -1
  505. package/dist/esm/components/Tag/index.js +1 -1
  506. package/dist/esm/components/TagBlock/index.js +1 -1
  507. package/dist/esm/components/Text/index.js +1 -1
  508. package/dist/esm/components/TextInput/index.js +1 -1
  509. package/dist/esm/components/Textarea/index.js +1 -1
  510. package/dist/esm/components/TimePicker/index.js +1 -1
  511. package/dist/esm/components/TimeRange/index.js +1 -1
  512. package/dist/esm/components/Timestamp/index.js +1 -1
  513. package/dist/esm/components/Toast/index.js +26 -23
  514. package/dist/esm/components/Toast/index.js.map +1 -1
  515. package/dist/esm/components/Tooltip/index.js +1 -1
  516. package/dist/esm/components/index.js +131 -117
  517. package/dist/esm/components/index.js.map +1 -1
  518. package/dist/esm/hooks/useBreakpoint/index.js.map +1 -1
  519. package/dist/esm/hooks/useColorMode/index.js.map +1 -1
  520. package/dist/esm/hooks/useColorModeValue/index.js.map +1 -1
  521. package/dist/esm/hooks/useDeviceType/index.js.map +1 -1
  522. package/dist/esm/index.js +148 -134
  523. package/dist/esm/index.js.map +1 -1
  524. package/dist/esm/theme/index.js +1 -1
  525. package/dist/esm/theme/semanticTokens/index.js +4 -4
  526. package/dist/esm/theme/semanticTokens/index.js.map +1 -1
  527. package/dist/types/chakra/index.d.ts +2 -4
  528. package/dist/types/components/Alert/alert.component.d.ts +28 -1
  529. package/dist/types/components/Alert/alert.recipe.d.ts +3 -2
  530. package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +12 -1
  531. package/dist/types/components/Avatar/avatar.component.d.ts +30 -2
  532. package/dist/types/components/Avatar/avatar.recipe.d.ts +3 -2
  533. package/dist/types/components/Avatar/avatar.records.d.ts +2 -0
  534. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +9 -1
  535. package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +15 -6
  536. package/dist/types/components/Avatar/components/AvatarTooltipTriggerWrapper/avatarTooltipTriggerWrapper.component.d.ts +2 -0
  537. package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +27 -3
  538. package/dist/types/components/Button/button.component.d.ts +14 -1
  539. package/dist/types/components/Button/button.recipe.d.ts +3 -1
  540. package/dist/types/components/Button/button.types.d.ts +2 -2
  541. package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +12 -1
  542. package/dist/types/components/Calendar/calendar.component.d.ts +19 -0
  543. package/dist/types/components/Calendar/index.d.ts +1 -0
  544. package/dist/types/components/Card/card.component.d.ts +41 -1
  545. package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +9 -1
  546. package/dist/types/components/Checkbox/checkbox.component.d.ts +19 -2
  547. package/dist/types/components/Checkbox/checkbox.recipe.d.ts +3 -2
  548. package/dist/types/components/Checkbox/checkbox.types.d.ts +4 -0
  549. package/dist/types/components/Checkbox/index.d.ts +1 -0
  550. package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +12 -2
  551. package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +11 -1
  552. package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +22 -1
  553. package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -1
  554. package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +8 -1
  555. package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +12 -1
  556. package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +7 -1
  557. package/dist/types/components/ConversationCard/conversationCard.component.d.ts +29 -1
  558. package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +10 -1
  559. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +11 -1
  560. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +5 -4
  561. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
  562. package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +9 -0
  563. package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +15 -1
  564. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +6 -1
  565. package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +11 -1
  566. package/dist/types/components/DatePicker/context/datePicker.context.d.ts +3 -0
  567. package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +10 -1
  568. package/dist/types/components/DatePicker/datePicker.component.d.ts +25 -11
  569. package/dist/types/components/DatePicker/datePicker.types.d.ts +18 -0
  570. package/dist/types/components/DatePicker/hooks/useComputeCornerRoundingFlags.d.ts +10 -0
  571. package/dist/types/components/DatePicker/utils/getDayVariant.d.ts +12 -0
  572. package/dist/types/components/DateTimePicker/components/DateTimePickerCustomView/dateTimePickerCustomView.component.d.ts +7 -0
  573. package/dist/types/components/DateTimePicker/components/DateTimePickerQuickOptions/dateTimePickerQuickOptions.component.d.ts +14 -0
  574. package/dist/types/components/DateTimePicker/components/DateTimePickerRangeSelector/dateTimePickerRangeSelector.component.d.ts +10 -0
  575. package/dist/types/components/DateTimePicker/dateTimePicker.component.d.ts +33 -0
  576. package/dist/types/components/DateTimePicker/dateTimePicker.records.d.ts +8 -0
  577. package/dist/types/components/DateTimePicker/dateTimePicker.types.d.ts +11 -0
  578. package/dist/types/components/DateTimePicker/index.d.ts +2 -0
  579. package/dist/types/components/DateTimePicker/utils/quickOptions.d.ts +13 -0
  580. package/dist/types/components/Divider/divider.component.d.ts +7 -2
  581. package/dist/types/components/Heading/heading.component.d.ts +12 -0
  582. package/dist/types/components/Icon/generated/Backspace.d.ts +10 -0
  583. package/dist/types/components/Icon/generated/CaretLeft.d.ts +10 -0
  584. package/dist/types/components/Icon/generated/CheckList.d.ts +10 -0
  585. package/dist/types/components/Icon/generated/Globe.d.ts +10 -0
  586. package/dist/types/components/Icon/generated/InputAlt.d.ts +10 -0
  587. package/dist/types/components/Icon/generated/LightBulb.d.ts +10 -0
  588. package/dist/types/components/Icon/generated/SelectDropDown.d.ts +10 -0
  589. package/dist/types/components/Icon/generated/TextArea.d.ts +10 -0
  590. package/dist/types/components/Icon/generated/TextBlock.d.ts +10 -0
  591. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  592. package/dist/types/components/Icon/icon.component.d.ts +10 -0
  593. package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +7 -0
  594. package/dist/types/components/Link/link.component.d.ts +19 -0
  595. package/dist/types/components/Logo/logo.component.d.ts +14 -1
  596. package/dist/types/components/Menu/components/MenuButton/menuButton.component.d.ts +22 -0
  597. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +34 -5
  598. package/dist/types/components/Menu/components/MenuList/menuList.types.d.ts +18 -0
  599. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.component.d.ts +17 -0
  600. package/dist/types/components/Menu/index.d.ts +4 -0
  601. package/dist/types/components/Menu/menu.component.d.ts +22 -19
  602. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  603. package/dist/types/components/Menu/menu.types.d.ts +17 -0
  604. package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +24 -1
  605. package/dist/types/components/Modal/modal.component.d.ts +46 -1
  606. package/dist/types/components/Modal/modal.recipe.d.ts +2 -2
  607. package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +19 -1
  608. package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +5 -0
  609. package/dist/types/components/NumberInput/index.d.ts +2 -0
  610. package/dist/types/components/NumberInput/numberInput.component.d.ts +40 -0
  611. package/dist/types/components/NumberInput/numberInput.recipe.d.ts +21 -0
  612. package/dist/types/components/NumberInput/numberInput.types.d.ts +4 -0
  613. package/dist/types/components/Picture/picture.component.d.ts +9 -1
  614. package/dist/types/components/PinInput/pinInput.component.d.ts +19 -1
  615. package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
  616. package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +26 -1
  617. package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +19 -1
  618. package/dist/types/components/Popover/popover.component.d.ts +45 -2
  619. package/dist/types/components/Popover/popover.recipe.d.ts +4 -3
  620. package/dist/types/components/Popover/popover.types.d.ts +1 -1
  621. package/dist/types/components/Progress/index.d.ts +2 -0
  622. package/dist/types/components/Progress/progress.component.d.ts +26 -0
  623. package/dist/types/components/Progress/progress.recipe.d.ts +38 -0
  624. package/dist/types/components/Progress/progress.types.d.ts +9 -0
  625. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +15 -0
  626. package/dist/types/components/RadioGroup/radioGroup.component.d.ts +22 -2
  627. package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +4 -2
  628. package/dist/types/components/Radiomark/index.d.ts +1 -0
  629. package/dist/types/components/Radiomark/radiomark.component.d.ts +12 -0
  630. package/dist/types/components/Radiomark/radiomark.recipe.d.ts +2 -0
  631. package/dist/types/components/Rating/index.d.ts +1 -0
  632. package/dist/types/components/Rating/rating.component.d.ts +37 -0
  633. package/dist/types/components/Rating/rating.recipe.d.ts +10 -0
  634. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +10 -1
  635. package/dist/types/components/RatingDots/ratingDots.component.d.ts +12 -0
  636. package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +6 -0
  637. package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +7 -2
  638. package/dist/types/components/Select/select.component.d.ts +53 -3
  639. package/dist/types/components/Select/select.types.d.ts +3 -0
  640. package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -1
  641. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +13 -1
  642. package/dist/types/components/SortableList/sortableList.component.d.ts +13 -1
  643. package/dist/types/components/Spinner/spinner.component.d.ts +28 -2
  644. package/dist/types/components/Spinner/spinner.recipe.d.ts +16 -1
  645. package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +10 -1
  646. package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +1 -1
  647. package/dist/types/components/Swatch/swatch.component.d.ts +10 -1
  648. package/dist/types/components/Switch/switch.component.d.ts +15 -0
  649. package/dist/types/components/Switch/switch.recipe.d.ts +3 -2
  650. package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +14 -1
  651. package/dist/types/components/Tabs/tabs.component.d.ts +17 -2
  652. package/dist/types/components/Tabs/tabs.recipe.d.ts +3 -2
  653. package/dist/types/components/Tag/tag.component.d.ts +31 -0
  654. package/dist/types/components/Tag/tag.recipe.d.ts +3 -2
  655. package/dist/types/components/TagBlock/tagBlock.component.d.ts +34 -1
  656. package/dist/types/components/Text/text.component.d.ts +13 -0
  657. package/dist/types/components/TextInput/textInput.component.d.ts +28 -0
  658. package/dist/types/components/Textarea/textarea.component.d.ts +13 -0
  659. package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +10 -1
  660. package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +9 -1
  661. package/dist/types/components/TimePicker/timePicker.component.d.ts +19 -1
  662. package/dist/types/components/TimeRange/timeRange.component.d.ts +12 -1
  663. package/dist/types/components/Timestamp/timestamp.component.d.ts +18 -1
  664. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -1
  665. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +6 -1
  666. package/dist/types/components/Toast/toast.component.d.ts +19 -1
  667. package/dist/types/components/Toast/toast.recipe.d.ts +3 -2
  668. package/dist/types/components/Toast/toast.types.d.ts +13 -0
  669. package/dist/types/components/Toast/useToast.d.ts +5 -0
  670. package/dist/types/components/Tooltip/tooltip.component.d.ts +26 -0
  671. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +10 -1
  672. package/dist/types/components/index.d.ts +5 -0
  673. package/dist/types/hocs/withFormControl/withFormControl.d.ts +44 -0
  674. package/dist/types/hocs/withTruncation.d.ts +8 -0
  675. package/dist/types/hooks/useBreakpoint/index.d.ts +4 -0
  676. package/dist/types/hooks/useColorMode/index.d.ts +39 -0
  677. package/dist/types/hooks/useColorModeValue/index.d.ts +6 -0
  678. package/dist/types/hooks/useDeviceType/index.d.ts +4 -0
  679. package/dist/types/hooks/useIconTextSizeMap.d.ts +5 -0
  680. package/dist/types/shared/components/withVariantStory.d.ts +6 -0
  681. package/dist/types/shared/types/index.d.ts +1 -0
  682. package/dist/types/theme/providers/theme.provider.d.ts +1 -0
  683. package/dist/types/theme/recipes/List/list.recipe.d.ts +14 -0
  684. package/dist/types/theme/recipes/Table/table.recipe.d.ts +29 -0
  685. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +91 -82
  686. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +182 -164
  687. package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +4 -3
  688. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
  689. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
  690. package/package.json +21 -18
  691. package/dist/chunks/alert.types-De_IDZNV.js +0 -2
  692. package/dist/chunks/alert.types-De_IDZNV.js.map +0 -1
  693. package/dist/chunks/alert.types-NkOwCG0-.js +0 -139
  694. package/dist/chunks/alert.types-NkOwCG0-.js.map +0 -1
  695. package/dist/chunks/avatar.component-CqFsGMt6.js +0 -2
  696. package/dist/chunks/avatar.component-CqFsGMt6.js.map +0 -1
  697. package/dist/chunks/avatar.component-lHszPWEi.js +0 -394
  698. package/dist/chunks/avatar.component-lHszPWEi.js.map +0 -1
  699. package/dist/chunks/avatarGroup.component-BPYIE5NT.js +0 -2
  700. package/dist/chunks/avatarGroup.component-BPYIE5NT.js.map +0 -1
  701. package/dist/chunks/avatarGroup.component-EFxRAKiJ.js +0 -67
  702. package/dist/chunks/avatarGroup.component-EFxRAKiJ.js.map +0 -1
  703. package/dist/chunks/button.component-BE20YKDd.js +0 -67
  704. package/dist/chunks/button.component-BE20YKDd.js.map +0 -1
  705. package/dist/chunks/button.component-DAv5WxDc.js +0 -2
  706. package/dist/chunks/button.component-DAv5WxDc.js.map +0 -1
  707. package/dist/chunks/button.recipe-7PSQJbyz.js +0 -2
  708. package/dist/chunks/button.recipe-7PSQJbyz.js.map +0 -1
  709. package/dist/chunks/button.recipe-ClmsjdZI.js +0 -910
  710. package/dist/chunks/button.recipe-ClmsjdZI.js.map +0 -1
  711. package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
  712. package/dist/chunks/button.types-Bl1awbi0.js +0 -2
  713. package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
  714. package/dist/chunks/buttonGroup.component-CQBXYOhq.js +0 -2
  715. package/dist/chunks/buttonGroup.component-CQBXYOhq.js.map +0 -1
  716. package/dist/chunks/buttonGroup.component-CheBkHw6.js +0 -68
  717. package/dist/chunks/buttonGroup.component-CheBkHw6.js.map +0 -1
  718. package/dist/chunks/card.component-BZxC19F_.js +0 -2
  719. package/dist/chunks/card.component-BZxC19F_.js.map +0 -1
  720. package/dist/chunks/card.component-DJcYzMX1.js +0 -58
  721. package/dist/chunks/card.component-DJcYzMX1.js.map +0 -1
  722. package/dist/chunks/characterCounter.component-C6ZwdIiA.js +0 -84
  723. package/dist/chunks/characterCounter.component-C6ZwdIiA.js.map +0 -1
  724. package/dist/chunks/characterCounter.component-D0ccCiBG.js +0 -2
  725. package/dist/chunks/characterCounter.component-D0ccCiBG.js.map +0 -1
  726. package/dist/chunks/checkbox.component-DNOkXggb.js +0 -260
  727. package/dist/chunks/checkbox.component-Dhjcu89D.js +0 -2
  728. package/dist/chunks/checkboxGroup.component-BNKJqMKi.js +0 -52
  729. package/dist/chunks/checkboxGroup.component-BNKJqMKi.js.map +0 -1
  730. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js +0 -2
  731. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js.map +0 -1
  732. package/dist/chunks/conversationCard.component-BRJbMpwH.js +0 -2
  733. package/dist/chunks/conversationCard.component-BRJbMpwH.js.map +0 -1
  734. package/dist/chunks/conversationCard.component-DmSuBQ4_.js +0 -330
  735. package/dist/chunks/conversationCard.component-DmSuBQ4_.js.map +0 -1
  736. package/dist/chunks/create-slot-recipe-context-CViypfwB.js +0 -2
  737. package/dist/chunks/create-slot-recipe-context-CViypfwB.js.map +0 -1
  738. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js +0 -97
  739. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js.map +0 -1
  740. package/dist/chunks/datePicker.component-BOsFZiDy.js +0 -15
  741. package/dist/chunks/datePicker.component-BOsFZiDy.js.map +0 -1
  742. package/dist/chunks/datePicker.component-Dzh4WccC.js +0 -3019
  743. package/dist/chunks/datePicker.component-Dzh4WccC.js.map +0 -1
  744. package/dist/chunks/dialog-BPhjKQkb.js +0 -2
  745. package/dist/chunks/divider.types-Dht8eAh4.js +0 -2
  746. package/dist/chunks/divider.types-Dht8eAh4.js.map +0 -1
  747. package/dist/chunks/divider.types-ZN_wlva7.js +0 -47
  748. package/dist/chunks/divider.types-ZN_wlva7.js.map +0 -1
  749. package/dist/chunks/grid-item-DPdTp_nI.js +0 -94
  750. package/dist/chunks/grid-item-DPdTp_nI.js.map +0 -1
  751. package/dist/chunks/grid-item-qnuioQmr.js +0 -2
  752. package/dist/chunks/grid-item-qnuioQmr.js.map +0 -1
  753. package/dist/chunks/heading.component-C_cdAGTd.js +0 -2
  754. package/dist/chunks/heading.component-C_cdAGTd.js.map +0 -1
  755. package/dist/chunks/heading.component-SiJnYLOw.js +0 -12
  756. package/dist/chunks/heading.component-SiJnYLOw.js.map +0 -1
  757. package/dist/chunks/icon.component-Bhnf2n1O.js +0 -2
  758. package/dist/chunks/icon.component-Bhnf2n1O.js.map +0 -1
  759. package/dist/chunks/icon.component-C5bgxAD2.js +0 -32
  760. package/dist/chunks/icon.component-C5bgxAD2.js.map +0 -1
  761. package/dist/chunks/index-2glJ2faJ.js +0 -2
  762. package/dist/chunks/index-7Jpijbq_.js +0 -3
  763. package/dist/chunks/index-7Jpijbq_.js.map +0 -1
  764. package/dist/chunks/index-A_vmTNU7.js +0 -2
  765. package/dist/chunks/index-BEfEzWJx.js +0 -2
  766. package/dist/chunks/index-Bm5QBNWR.js +0 -8190
  767. package/dist/chunks/index-Bm5QBNWR.js.map +0 -1
  768. package/dist/chunks/index-Cv06PsSJ.js.map +0 -1
  769. package/dist/chunks/index-DA90Dqf9.js +0 -1362
  770. package/dist/chunks/index-DA90Dqf9.js.map +0 -1
  771. package/dist/chunks/index-DAI6_P9H.js +0 -2
  772. package/dist/chunks/index-DMcwHRZ5.js +0 -11
  773. package/dist/chunks/index-DMcwHRZ5.js.map +0 -1
  774. package/dist/chunks/index-jnwdAJ25.js +0 -2
  775. package/dist/chunks/index-jnwdAJ25.js.map +0 -1
  776. package/dist/chunks/link.component-CvR5CbiT.js +0 -36
  777. package/dist/chunks/link.component-CvR5CbiT.js.map +0 -1
  778. package/dist/chunks/link.component-yUJIJbIP.js +0 -2
  779. package/dist/chunks/link.component-yUJIJbIP.js.map +0 -1
  780. package/dist/chunks/logo.types-DF4eLSR9.js +0 -45
  781. package/dist/chunks/logo.types-DF4eLSR9.js.map +0 -1
  782. package/dist/chunks/logo.types-Zt-yfFAQ.js +0 -2
  783. package/dist/chunks/logo.types-Zt-yfFAQ.js.map +0 -1
  784. package/dist/chunks/menu.component-DylZiPAE.js +0 -2
  785. package/dist/chunks/menu.component-DylZiPAE.js.map +0 -1
  786. package/dist/chunks/menu.component-xhHsHlGT.js +0 -599
  787. package/dist/chunks/menu.component-xhHsHlGT.js.map +0 -1
  788. package/dist/chunks/modal.types-CBos7aXO.js +0 -2
  789. package/dist/chunks/modal.types-CBos7aXO.js.map +0 -1
  790. package/dist/chunks/modal.types-CkQIOPTa.js +0 -95
  791. package/dist/chunks/modal.types-CkQIOPTa.js.map +0 -1
  792. package/dist/chunks/notificationCounter.component-Lu4_Owvr.js.map +0 -1
  793. package/dist/chunks/notificationCounter.component-gp2ULnY_.js +0 -2
  794. package/dist/chunks/notificationCounter.component-gp2ULnY_.js.map +0 -1
  795. package/dist/chunks/picture.component-CKK-SMvr.js +0 -22
  796. package/dist/chunks/picture.component-CKK-SMvr.js.map +0 -1
  797. package/dist/chunks/picture.component-CR6e0wRG.js +0 -2
  798. package/dist/chunks/picture.component-CR6e0wRG.js.map +0 -1
  799. package/dist/chunks/pinInput.types-CcN0aX_i.js +0 -145
  800. package/dist/chunks/pinInput.types-Cqm1Px5l.js +0 -2
  801. package/dist/chunks/popover-root-provider-CkW1eCBQ.js +0 -43
  802. package/dist/chunks/popover-root-provider-ZB5BcrXn.js +0 -2
  803. package/dist/chunks/popover.component-BjS13k9K.js +0 -2
  804. package/dist/chunks/popover.component-BjS13k9K.js.map +0 -1
  805. package/dist/chunks/popover.component-C4WKxh4d.js +0 -196
  806. package/dist/chunks/popover.component-C4WKxh4d.js.map +0 -1
  807. package/dist/chunks/popover.recipe-Bx25Jhgs.js +0 -2
  808. package/dist/chunks/popover.recipe-Bx25Jhgs.js.map +0 -1
  809. package/dist/chunks/popover.recipe-C2nbfvL6.js +0 -241
  810. package/dist/chunks/popover.recipe-C2nbfvL6.js.map +0 -1
  811. package/dist/chunks/popover.types-BF2KRf_I.js +0 -2
  812. package/dist/chunks/popover.types-BF2KRf_I.js.map +0 -1
  813. package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
  814. package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
  815. package/dist/chunks/radioGroup.types-CZA7RcAn.js +0 -2
  816. package/dist/chunks/radioGroup.types-CZA7RcAn.js.map +0 -1
  817. package/dist/chunks/radioGroup.types-Dld5lmgo.js +0 -231
  818. package/dist/chunks/radioGroup.types-Dld5lmgo.js.map +0 -1
  819. package/dist/chunks/ratingDots.component-DcrCudac.js +0 -2
  820. package/dist/chunks/ratingDots.component-DcrCudac.js.map +0 -1
  821. package/dist/chunks/ratingDots.component-G4GMWvFy.js +0 -138
  822. package/dist/chunks/ratingDots.component-G4GMWvFy.js.map +0 -1
  823. package/dist/chunks/select.component-BTWHWvZV.js +0 -1058
  824. package/dist/chunks/select.component-BTWHWvZV.js.map +0 -1
  825. package/dist/chunks/select.component-Dyc1yQPO.js +0 -2
  826. package/dist/chunks/select.component-Dyc1yQPO.js.map +0 -1
  827. package/dist/chunks/spinner-C31ZWQmA.js +0 -8
  828. package/dist/chunks/spinner.component-CVVOuFka.js +0 -2
  829. package/dist/chunks/spinner.component-CVVOuFka.js.map +0 -1
  830. package/dist/chunks/spinner.component-DPYj17HK.js.map +0 -1
  831. package/dist/chunks/styledAvatar.types-CMpyDxAM.js +0 -2
  832. package/dist/chunks/styledAvatar.types-CMpyDxAM.js.map +0 -1
  833. package/dist/chunks/styledAvatar.types-CS07Zk7c.js +0 -51
  834. package/dist/chunks/styledAvatar.types-CS07Zk7c.js.map +0 -1
  835. package/dist/chunks/swatch.types-CXlghcLw.js.map +0 -1
  836. package/dist/chunks/swatch.types-jaI0KFHU.js +0 -2
  837. package/dist/chunks/swatch.types-jaI0KFHU.js.map +0 -1
  838. package/dist/chunks/switch.component-C88jBbo_.js +0 -2
  839. package/dist/chunks/switch.component-Cke7O8gk.js +0 -154
  840. package/dist/chunks/tab.types-DpmXyw5C.js +0 -2
  841. package/dist/chunks/tag.component-79aRVI7u.js +0 -82
  842. package/dist/chunks/tag.component-79aRVI7u.js.map +0 -1
  843. package/dist/chunks/tag.component-CAWh9OYa.js +0 -2
  844. package/dist/chunks/tag.component-CAWh9OYa.js.map +0 -1
  845. package/dist/chunks/tagBlock.component-Dn7coOgp.js +0 -2
  846. package/dist/chunks/tagBlock.component-Dn7coOgp.js.map +0 -1
  847. package/dist/chunks/tagBlock.component-vLA90b5S.js +0 -169
  848. package/dist/chunks/tagBlock.component-vLA90b5S.js.map +0 -1
  849. package/dist/chunks/text.component-CHpMvCFa.js +0 -2
  850. package/dist/chunks/text.component-CHpMvCFa.js.map +0 -1
  851. package/dist/chunks/text.component-D9w-u_dB.js +0 -12
  852. package/dist/chunks/text.component-D9w-u_dB.js.map +0 -1
  853. package/dist/chunks/textInput.component-Dpxb2RI-.js +0 -169
  854. package/dist/chunks/textInput.component-Dpxb2RI-.js.map +0 -1
  855. package/dist/chunks/textInput.component-Dx_Ktcmr.js +0 -2
  856. package/dist/chunks/textInput.component-Dx_Ktcmr.js.map +0 -1
  857. package/dist/chunks/textarea.component-BYexywy1.js +0 -2
  858. package/dist/chunks/textarea.component-Dk2IMKkr.js +0 -79
  859. package/dist/chunks/theme.provider-XYBMZJTB.js +0 -28
  860. package/dist/chunks/theme.provider-XYBMZJTB.js.map +0 -1
  861. package/dist/chunks/theme.provider-w_I9S10D.js.map +0 -1
  862. package/dist/chunks/timePicker.component-Bbd3BOA6.js +0 -209
  863. package/dist/chunks/timePicker.component-Bbd3BOA6.js.map +0 -1
  864. package/dist/chunks/timePicker.component-DcNgUFGj.js +0 -2
  865. package/dist/chunks/timePicker.component-DcNgUFGj.js.map +0 -1
  866. package/dist/chunks/timeRange.component-BBhPc2LP.js +0 -18
  867. package/dist/chunks/timeRange.component-BBhPc2LP.js.map +0 -1
  868. package/dist/chunks/timeRange.component-Bb-xDHWT.js +0 -2
  869. package/dist/chunks/timeRange.component-Bb-xDHWT.js.map +0 -1
  870. package/dist/chunks/timestamp.component-CrY5t68x.js +0 -2
  871. package/dist/chunks/timestamp.component-CrY5t68x.js.map +0 -1
  872. package/dist/chunks/timestamp.component-m0FTjlAi.js +0 -51
  873. package/dist/chunks/timestamp.component-m0FTjlAi.js.map +0 -1
  874. package/dist/chunks/toaster.records-eCXbM85Z.js +0 -2
  875. package/dist/chunks/tooltip.component-CATpCSkf.js +0 -2
  876. package/dist/chunks/typography.records-CpYV1kns.js.map +0 -1
  877. package/dist/chunks/typography.records-Dbw3sz4i.js +0 -2
  878. package/dist/chunks/typography.records-Dbw3sz4i.js.map +0 -1
  879. package/dist/chunks/use-locale-context-CazVZ4Kg.js +0 -2315
  880. package/dist/chunks/use-locale-context-CazVZ4Kg.js.map +0 -1
  881. package/dist/chunks/use-locale-context-Dv7DQ_mn.js +0 -22
  882. package/dist/chunks/use-locale-context-Dv7DQ_mn.js.map +0 -1
  883. package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
  884. package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
  885. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
  886. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
  887. package/dist/chunks/withFormControl-BdiccBy5.js +0 -2
  888. package/dist/chunks/withFormControl-BdiccBy5.js.map +0 -1
  889. package/dist/chunks/withFormControl-CRXVopOk.js +0 -361
  890. package/dist/chunks/withFormControl-CRXVopOk.js.map +0 -1
  891. package/dist/chunks/withTruncation-C9XLf_j6.js +0 -67
  892. package/dist/chunks/withTruncation-C9XLf_j6.js.map +0 -1
  893. package/dist/chunks/withTruncation-Ddr3jvAO.js +0 -2
  894. package/dist/chunks/withTruncation-Ddr3jvAO.js.map +0 -1
  895. package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +0 -9
  896. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +0 -10
  897. package/dist/types/shared/utils/argTypes.d.ts +0 -6
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.component-Dk2IMKkr.js","sources":["../../node_modules/@zag-js/auto-resize/dist/index.mjs","../../node_modules/@ark-ui/react/dist/components/field/field-textarea.js","../../node_modules/@chakra-ui/react/dist/esm/components/textarea/textarea.js","../../src/components/Textarea/textarea.component.tsx"],"sourcesContent":["import { getDocument, getWindow, getComputedStyle } from '@zag-js/dom-query';\n\n// src/autoresize-input.ts\nfunction getVisualStyles(node) {\n if (!node) return;\n const style = getComputedStyle(node);\n return \"box-sizing:\" + style.boxSizing + \";border-left:\" + style.borderLeftWidth + \" solid red;border-right:\" + style.borderRightWidth + \" solid red;font-family:\" + style.fontFamily + \";font-feature-settings:\" + style.fontFeatureSettings + \";font-kerning:\" + style.fontKerning + \";font-size:\" + style.fontSize + \";font-stretch:\" + style.fontStretch + \";font-style:\" + style.fontStyle + \";font-variant:\" + style.fontVariant + \";font-variant-caps:\" + style.fontVariantCaps + \";font-variant-ligatures:\" + style.fontVariantLigatures + \";font-variant-numeric:\" + style.fontVariantNumeric + \";font-weight:\" + style.fontWeight + \";letter-spacing:\" + style.letterSpacing + \";margin-left:\" + style.marginLeft + \";margin-right:\" + style.marginRight + \";padding-left:\" + style.paddingLeft + \";padding-right:\" + style.paddingRight + \";text-indent:\" + style.textIndent + \";text-transform:\" + style.textTransform;\n}\n\n// src/autoresize-input.ts\nfunction createGhostElement(doc) {\n var el = doc.createElement(\"div\");\n el.id = \"ghost\";\n el.style.cssText = \"display:inline-block;height:0;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:nowrap;\";\n doc.body.appendChild(el);\n return el;\n}\nfunction autoResizeInput(input) {\n if (!input) return;\n const doc = getDocument(input);\n const win = getWindow(input);\n const ghost = createGhostElement(doc);\n const cssText = getVisualStyles(input);\n if (cssText) ghost.style.cssText += cssText;\n function resize() {\n win.requestAnimationFrame(() => {\n ghost.innerHTML = input.value;\n const rect = win.getComputedStyle(ghost);\n input?.style.setProperty(\"width\", rect.width);\n });\n }\n resize();\n input?.addEventListener(\"input\", resize);\n input?.addEventListener(\"change\", resize);\n return () => {\n doc.body.removeChild(ghost);\n input?.removeEventListener(\"input\", resize);\n input?.removeEventListener(\"change\", resize);\n };\n}\nvar autoresizeTextarea = (el) => {\n if (!el) return;\n const style = getComputedStyle(el);\n const win = getWindow(el);\n const doc = getDocument(el);\n const resize = () => {\n requestAnimationFrame(() => {\n el.style.height = \"auto\";\n let newHeight;\n if (style.boxSizing === \"content-box\") {\n newHeight = el.scrollHeight - (parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));\n } else {\n newHeight = el.scrollHeight + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);\n }\n if (style.maxHeight !== \"none\" && newHeight > parseFloat(style.maxHeight)) {\n if (style.overflowY === \"hidden\") {\n el.style.overflowY = \"scroll\";\n }\n newHeight = parseFloat(style.maxHeight);\n } else if (style.overflowY !== \"hidden\") {\n el.style.overflowY = \"hidden\";\n }\n el.style.height = `${newHeight}px`;\n });\n };\n el.addEventListener(\"input\", resize);\n el.form?.addEventListener(\"reset\", resize);\n const elementPrototype = Object.getPrototypeOf(el);\n const descriptor = Object.getOwnPropertyDescriptor(elementPrototype, \"value\");\n Object.defineProperty(el, \"value\", {\n ...descriptor,\n set() {\n descriptor?.set?.apply(this, arguments);\n resize();\n }\n });\n const resizeObserver = new win.ResizeObserver(() => {\n requestAnimationFrame(() => resize());\n });\n resizeObserver.observe(el);\n const attrObserver = new win.MutationObserver(() => resize());\n attrObserver.observe(el, { attributes: true, attributeFilter: [\"rows\", \"placeholder\"] });\n doc.fonts?.addEventListener(\"loadingdone\", resize);\n return () => {\n el.removeEventListener(\"input\", resize);\n el.form?.removeEventListener(\"reset\", resize);\n doc.fonts?.removeEventListener(\"loadingdone\", resize);\n resizeObserver.disconnect();\n attrObserver.disconnect();\n };\n};\n\nexport { autoResizeInput, autoresizeTextarea };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { autoresizeTextarea } from '@zag-js/auto-resize';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef, useRef, useEffect } from 'react';\nimport { composeRefs } from '../../utils/compose-refs.js';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from './use-field-context.js';\n\nconst FieldTextarea = forwardRef((props, ref) => {\n const { autoresize, ...textareaProps } = props;\n const textareaRef = useRef(null);\n const field = useFieldContext();\n const mergedProps = mergeProps(\n field?.getTextareaProps(),\n { style: { resize: autoresize ? \"none\" : void 0 } },\n textareaProps\n );\n useEffect(() => {\n if (!autoresize) return;\n return autoresizeTextarea(textareaRef.current);\n }, [autoresize]);\n return /* @__PURE__ */ jsx(ark.textarea, { ...mergedProps, ref: composeRefs(ref, textareaRef) });\n});\nFieldTextarea.displayName = \"FieldTextarea\";\n\nexport { FieldTextarea };\n","\"use strict\";\n\"use client\";\nimport { Field } from '@ark-ui/react/field';\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"textarea\"\n});\nconst Textarea = withContext(\n Field.Textarea\n);\nconst TextareaPropsProvider = PropsProvider;\n\nexport { Textarea, TextareaPropsProvider };\n","import React, { useMemo } from 'react';\nimport { Textarea as CTextarea, TextareaProps as CTextareaProps } from '@chakra-ui/react/textarea';\nimport { FormControlSize } from 'hocs/withFormControl/withFormControl.types';\nimport { withFormControl, WithFormControlProps } from 'hocs/withFormControl/withFormControl';\nimport { Flex } from '@chakra-ui/react/flex';\nimport { CharacterCounter } from 'components/CharacterCounter/characterCounter.component';\n\nexport interface TextareaProps extends WithFormControlProps, CTextareaProps {\n charLimit?: number;\n textareaRef?: React.Ref<HTMLTextAreaElement | null>;\n size?: FormControlSize;\n}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n (\n { charLimit = undefined, invalid, onContrast, resize = 'none', textareaRef, value, ...rest },\n ref,\n ): React.JSX.Element => {\n const _computedVariant = onContrast ? 'onContrast' : 'default';\n\n const currentCharCount = useMemo(() => value?.toString()?.length || 0, [value]);\n\n return (\n <Flex className=\"Textarea__Wrapper\" position=\"relative\" w=\"100%\">\n <CTextarea\n className=\"Textarea\"\n data-testid=\"kibble-textarea\"\n ref={textareaRef || ref}\n resize={resize}\n variant={_computedVariant}\n value={value}\n {...(invalid && { 'aria-invalid': true })}\n minH=\"140px\"\n {...rest}\n />\n {!!charLimit && <CharacterCounter withLimit={true} limit={charLimit} currentCount={currentCharCount} />}\n </Flex>\n );\n },\n);\n\nTextarea.displayName = 'Textarea';\nconst WrappedTextarea = withFormControl<TextareaProps>(Textarea);\n\nexport { WrappedTextarea as Textarea };\n"],"names":["autoresizeTextarea","el","style","getComputedStyle","win","getWindow","doc","getDocument","resize","newHeight","elementPrototype","descriptor","resizeObserver","attrObserver","FieldTextarea","forwardRef","props","ref","autoresize","textareaProps","textareaRef","useRef","field","useFieldContext","mergedProps","mergeProps","useEffect","jsx","ark","composeRefs","withContext","createRecipeContext","Textarea","Field.Textarea","React","charLimit","invalid","onContrast","value","rest","_computedVariant","currentCharCount","useMemo","Flex","CTextarea","CharacterCounter","WrappedTextarea","withFormControl"],"mappings":"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","x_google_ignoreList":[0,1,2]}
1
+ {"version":3,"file":"textarea.component-D15hA9Jb.js","sources":["../../node_modules/@zag-js/auto-resize/dist/index.mjs","../../node_modules/@ark-ui/react/dist/components/field/field-textarea.js","../../node_modules/@chakra-ui/react/dist/esm/components/textarea/textarea.js","../../src/components/Textarea/textarea.component.tsx"],"sourcesContent":["import { getDocument, getWindow, getComputedStyle } from '@zag-js/dom-query';\n\n// src/autoresize-input.ts\nfunction getVisualStyles(node) {\n if (!node) return;\n const style = getComputedStyle(node);\n return \"box-sizing:\" + style.boxSizing + \";border-left:\" + style.borderLeftWidth + \" solid red;border-right:\" + style.borderRightWidth + \" solid red;font-family:\" + style.fontFamily + \";font-feature-settings:\" + style.fontFeatureSettings + \";font-kerning:\" + style.fontKerning + \";font-size:\" + style.fontSize + \";font-stretch:\" + style.fontStretch + \";font-style:\" + style.fontStyle + \";font-variant:\" + style.fontVariant + \";font-variant-caps:\" + style.fontVariantCaps + \";font-variant-ligatures:\" + style.fontVariantLigatures + \";font-variant-numeric:\" + style.fontVariantNumeric + \";font-weight:\" + style.fontWeight + \";letter-spacing:\" + style.letterSpacing + \";margin-left:\" + style.marginLeft + \";margin-right:\" + style.marginRight + \";padding-left:\" + style.paddingLeft + \";padding-right:\" + style.paddingRight + \";text-indent:\" + style.textIndent + \";text-transform:\" + style.textTransform;\n}\n\n// src/autoresize-input.ts\nfunction createGhostElement(doc) {\n var el = doc.createElement(\"div\");\n el.id = \"ghost\";\n el.style.cssText = \"display:inline-block;height:0;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:nowrap;\";\n doc.body.appendChild(el);\n return el;\n}\nfunction autoResizeInput(input) {\n if (!input) return;\n const doc = getDocument(input);\n const win = getWindow(input);\n const ghost = createGhostElement(doc);\n const cssText = getVisualStyles(input);\n if (cssText) ghost.style.cssText += cssText;\n function resize() {\n win.requestAnimationFrame(() => {\n ghost.innerHTML = input.value;\n const rect = win.getComputedStyle(ghost);\n input?.style.setProperty(\"width\", rect.width);\n });\n }\n resize();\n input?.addEventListener(\"input\", resize);\n input?.addEventListener(\"change\", resize);\n return () => {\n doc.body.removeChild(ghost);\n input?.removeEventListener(\"input\", resize);\n input?.removeEventListener(\"change\", resize);\n };\n}\nvar autoresizeTextarea = (el) => {\n if (!el) return;\n const style = getComputedStyle(el);\n const win = getWindow(el);\n const doc = getDocument(el);\n const resize = () => {\n requestAnimationFrame(() => {\n el.style.height = \"auto\";\n let newHeight;\n if (style.boxSizing === \"content-box\") {\n newHeight = el.scrollHeight - (parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));\n } else {\n newHeight = el.scrollHeight + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);\n }\n if (style.maxHeight !== \"none\" && newHeight > parseFloat(style.maxHeight)) {\n if (style.overflowY === \"hidden\") {\n el.style.overflowY = \"scroll\";\n }\n newHeight = parseFloat(style.maxHeight);\n } else if (style.overflowY !== \"hidden\") {\n el.style.overflowY = \"hidden\";\n }\n el.style.height = `${newHeight}px`;\n });\n };\n el.addEventListener(\"input\", resize);\n el.form?.addEventListener(\"reset\", resize);\n const elementPrototype = Object.getPrototypeOf(el);\n const descriptor = Object.getOwnPropertyDescriptor(elementPrototype, \"value\");\n Object.defineProperty(el, \"value\", {\n ...descriptor,\n set() {\n descriptor?.set?.apply(this, arguments);\n resize();\n }\n });\n const resizeObserver = new win.ResizeObserver(() => {\n requestAnimationFrame(() => resize());\n });\n resizeObserver.observe(el);\n const attrObserver = new win.MutationObserver(() => resize());\n attrObserver.observe(el, { attributes: true, attributeFilter: [\"rows\", \"placeholder\"] });\n doc.fonts?.addEventListener(\"loadingdone\", resize);\n return () => {\n el.removeEventListener(\"input\", resize);\n el.form?.removeEventListener(\"reset\", resize);\n doc.fonts?.removeEventListener(\"loadingdone\", resize);\n resizeObserver.disconnect();\n attrObserver.disconnect();\n };\n};\n\nexport { autoResizeInput, autoresizeTextarea };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { autoresizeTextarea } from '@zag-js/auto-resize';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef, useRef, useEffect } from 'react';\nimport { composeRefs } from '../../utils/compose-refs.js';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from './use-field-context.js';\n\nconst FieldTextarea = forwardRef((props, ref) => {\n const { autoresize, ...textareaProps } = props;\n const textareaRef = useRef(null);\n const field = useFieldContext();\n const mergedProps = mergeProps(\n field?.getTextareaProps(),\n { style: { resize: autoresize ? \"none\" : void 0 } },\n textareaProps\n );\n useEffect(() => {\n if (!autoresize) return;\n return autoresizeTextarea(textareaRef.current);\n }, [autoresize]);\n return /* @__PURE__ */ jsx(ark.textarea, { ...mergedProps, ref: composeRefs(ref, textareaRef) });\n});\nFieldTextarea.displayName = \"FieldTextarea\";\n\nexport { FieldTextarea };\n","\"use strict\";\n\"use client\";\nimport { Field } from '@ark-ui/react/field';\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"textarea\"\n});\nconst Textarea = withContext(\n Field.Textarea\n);\nconst TextareaPropsProvider = PropsProvider;\n\nexport { Textarea, TextareaPropsProvider };\n","import React, { useMemo } from 'react';\nimport { Textarea as CTextarea, TextareaProps as CTextareaProps } from '@chakra-ui/react/textarea';\nimport { FormControlSize } from 'hocs/withFormControl/withFormControl.types';\nimport { withFormControl, WithFormControlProps } from 'hocs/withFormControl/withFormControl';\nimport { Flex } from '@chakra-ui/react/flex';\nimport { CharacterCounter } from 'components/CharacterCounter/characterCounter.component';\n\nexport interface TextareaProps extends WithFormControlProps, CTextareaProps {\n /** The maximum number of characters that can be entered into the textarea. */\n charLimit?: number;\n /** Ref to the textarea element. */\n textareaRef?: React.Ref<HTMLTextAreaElement | null>;\n /** Placeholder text for the textarea. */\n placeholder?: string;\n /**\n * The size of the textarea.\n * @default md\n */\n size?: FormControlSize;\n /**\n * Data test id for the textarea.\n * @default kibble-textarea\n */\n 'data-testid'?: string;\n}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n (\n {\n charLimit = undefined,\n invalid,\n onContrast,\n resize = 'none',\n textareaRef,\n value,\n ['data-testid']: dataTestId = 'kibble-textarea',\n ...rest\n },\n ref,\n ): React.JSX.Element => {\n const _computedVariant = onContrast ? 'onContrast' : 'default';\n\n const currentCharCount = useMemo(() => value?.toString()?.length || 0, [value]);\n\n return (\n <Flex className=\"Textarea__Wrapper\" flexDirection=\"column\" w=\"100%\" gap={1} alignItems=\"flex-end\">\n <CTextarea\n className=\"Textarea\"\n data-testid={dataTestId}\n ref={textareaRef || ref}\n resize={resize}\n variant={_computedVariant}\n value={value}\n {...(invalid && { 'aria-invalid': true })}\n minH=\"140px\"\n {...rest}\n />\n {!!charLimit && (\n <CharacterCounter\n data-testid={`${dataTestId}-character-counter`}\n withLimit={true}\n limit={charLimit}\n currentCount={currentCharCount}\n />\n )}\n </Flex>\n );\n },\n);\n\nTextarea.displayName = 'Textarea';\nconst WrappedTextarea = withFormControl<TextareaProps>(Textarea);\n\nexport { WrappedTextarea as Textarea };\n"],"names":["autoresizeTextarea","el","style","getComputedStyle","win","getWindow","doc","getDocument","resize","newHeight","elementPrototype","descriptor","resizeObserver","attrObserver","FieldTextarea","forwardRef","props","ref","autoresize","textareaProps","textareaRef","useRef","field","useFieldContext","mergedProps","mergeProps","useEffect","jsx","ark","composeRefs","withContext","createRecipeContext","Textarea","Field.Textarea","React","charLimit","invalid","onContrast","value","dataTestId","rest","_computedVariant","currentCharCount","useMemo","jsxs","Flex","CTextarea","CharacterCounter","WrappedTextarea","withFormControl"],"mappings":"qaAwCA,IAAIA,EAAsBC,GAAO,CAC/B,GAAI,CAACA,EAAI,OACT,MAAMC,EAAQC,EAAgB,iBAACF,CAAE,EAC3BG,EAAMC,EAAS,UAACJ,CAAE,EAClBK,EAAMC,EAAW,YAACN,CAAE,EACpBO,EAAS,IAAM,CACnB,sBAAsB,IAAM,CAC1BP,EAAG,MAAM,OAAS,OAClB,IAAIQ,EACAP,EAAM,YAAc,cACtBO,EAAYR,EAAG,cAAgB,WAAWC,EAAM,UAAU,EAAI,WAAWA,EAAM,aAAa,GAE5FO,EAAYR,EAAG,aAAe,WAAWC,EAAM,cAAc,EAAI,WAAWA,EAAM,iBAAiB,EAEjGA,EAAM,YAAc,QAAUO,EAAY,WAAWP,EAAM,SAAS,GAClEA,EAAM,YAAc,WACtBD,EAAG,MAAM,UAAY,UAEvBQ,EAAY,WAAWP,EAAM,SAAS,GAC7BA,EAAM,YAAc,WAC7BD,EAAG,MAAM,UAAY,UAEvBA,EAAG,MAAM,OAAS,GAAGQ,CAAS,IACpC,CAAK,CACF,EACDR,EAAG,iBAAiB,QAASO,CAAM,EACnCP,EAAG,MAAM,iBAAiB,QAASO,CAAM,EACzC,MAAME,EAAmB,OAAO,eAAeT,CAAE,EAC3CU,EAAa,OAAO,yBAAyBD,EAAkB,OAAO,EAC5E,OAAO,eAAeT,EAAI,QAAS,CACjC,GAAGU,EACH,KAAM,CACJA,GAAY,KAAK,MAAM,KAAM,SAAS,EACtCH,EAAQ,CACd,CACA,CAAG,EACD,MAAMI,EAAiB,IAAIR,EAAI,eAAe,IAAM,CAClD,sBAAsB,IAAMI,GAAQ,CACxC,CAAG,EACDI,EAAe,QAAQX,CAAE,EACzB,MAAMY,EAAe,IAAIT,EAAI,iBAAiB,IAAMI,EAAM,CAAE,EAC5D,OAAAK,EAAa,QAAQZ,EAAI,CAAE,WAAY,GAAM,gBAAiB,CAAC,OAAQ,aAAa,EAAG,EACvFK,EAAI,OAAO,iBAAiB,cAAeE,CAAM,EAC1C,IAAM,CACXP,EAAG,oBAAoB,QAASO,CAAM,EACtCP,EAAG,MAAM,oBAAoB,QAASO,CAAM,EAC5CF,EAAI,OAAO,oBAAoB,cAAeE,CAAM,EACpDI,EAAe,WAAY,EAC3BC,EAAa,WAAY,CAC1B,CACH,ECjFA,MAAMC,EAAgBC,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAC/C,KAAM,CAAE,WAAAC,EAAY,GAAGC,CAAa,EAAKH,EACnCI,EAAcC,EAAM,OAAC,IAAI,EACzBC,EAAQC,EAAAA,gBAAiB,EACzBC,EAAcC,EAAU,WAC5BH,GAAO,iBAAkB,EACzB,CAAE,MAAO,CAAE,OAAQJ,EAAa,OAAS,MAAM,CAAI,EACnDC,CACD,EACDO,OAAAA,EAAAA,UAAU,IAAM,CACd,GAAKR,EACL,OAAOlB,EAAmBoB,EAAY,OAAO,CACjD,EAAK,CAACF,CAAU,CAAC,EACQS,wBAAIC,EAAAA,IAAI,SAAU,CAAE,GAAGJ,EAAa,IAAKK,cAAYZ,EAAKG,CAAW,EAAG,CACjG,CAAC,EACDN,EAAc,YAAc,gBCnB5B,KAAM,CAAE,YAAAgB,CAA2B,EAAIC,sBAAoB,CACzD,IAAK,UACP,CAAC,EACKC,EAAWF,EACfG,CACF,ECgBMD,EAAWE,EAAM,QAAA,WACrB,CACE,CACE,UAAAC,EAAY,OACZ,QAAAC,EACA,WAAAC,EACA,OAAA7B,EAAS,OACT,YAAAY,EACA,MAAAkB,EACA,CAAC,eAAgBC,EAAa,kBAC9B,GAAGC,GAELvB,IACsB,CAChB,MAAAwB,EAAmBJ,EAAa,aAAe,UAE/CK,EAAmBC,UAAQ,IAAML,GAAO,YAAY,QAAU,EAAG,CAACA,CAAK,CAAC,EAG5E,OAAAM,EAAA,kBAAA,KAACC,EAAK,KAAA,CAAA,UAAU,oBAAoB,cAAc,SAAS,EAAE,OAAO,IAAK,EAAG,WAAW,WACrF,SAAA,CAAAlB,EAAA,kBAAA,IAACmB,EAAA,CACC,UAAU,WACV,cAAaP,EACb,IAAKnB,GAAeH,EACpB,OAAAT,EACA,QAASiC,EACT,MAAAH,EACC,GAAIF,GAAW,CAAE,eAAgB,EAAK,EACvC,KAAK,QACJ,GAAGI,CAAA,CACN,EACC,CAAC,CAACL,GACDR,EAAA,kBAAA,IAACoB,EAAA,iBAAA,CACC,cAAa,GAAGR,CAAU,qBAC1B,UAAW,GACX,MAAOJ,EACP,aAAcO,CAAA,CAAA,CAChB,EAEJ,CAAA,CAGN,EAEAV,EAAS,YAAc,WACjB,MAAAgB,EAAkBC,kBAA+BjB,CAAQ","x_google_ignoreList":[0,1,2]}
@@ -0,0 +1,96 @@
1
+ import { j as m } from "./jsx-runtime-C5mzlN2N.js";
2
+ import l, { forwardRef as x, useRef as g, useEffect as h, useMemo as v } from "react";
3
+ import { w } from "./withFormControl-DePFf9SY.js";
4
+ import { C as b } from "./characterCounter.component-Ch3P3GqC.js";
5
+ import { F as y } from "./flex-CX-8gE9T.js";
6
+ import { c as F } from "./create-recipe-context-DfQ-MTih.js";
7
+ import { z as C, L as T, M as j, a6 as O } from "./index-fHSGm2nC.js";
8
+ import { d as R, e as z } from "./use-locale-context-Bw4Gg9Z0.js";
9
+ import { u as E } from "./use-field-context-DrC9mrDd.js";
10
+ var P = (e) => {
11
+ if (!e) return;
12
+ const t = C(e), o = T(e), i = j(e), r = () => {
13
+ requestAnimationFrame(() => {
14
+ e.style.height = "auto";
15
+ let n;
16
+ t.boxSizing === "content-box" ? n = e.scrollHeight - (parseFloat(t.paddingTop) + parseFloat(t.paddingBottom)) : n = e.scrollHeight + parseFloat(t.borderTopWidth) + parseFloat(t.borderBottomWidth), t.maxHeight !== "none" && n > parseFloat(t.maxHeight) ? (t.overflowY === "hidden" && (e.style.overflowY = "scroll"), n = parseFloat(t.maxHeight)) : t.overflowY !== "hidden" && (e.style.overflowY = "hidden"), e.style.height = `${n}px`;
17
+ });
18
+ };
19
+ e.addEventListener("input", r), e.form?.addEventListener("reset", r);
20
+ const a = Object.getPrototypeOf(e), s = Object.getOwnPropertyDescriptor(a, "value");
21
+ Object.defineProperty(e, "value", {
22
+ ...s,
23
+ set() {
24
+ s?.set?.apply(this, arguments), r();
25
+ }
26
+ });
27
+ const d = new o.ResizeObserver(() => {
28
+ requestAnimationFrame(() => r());
29
+ });
30
+ d.observe(e);
31
+ const c = new o.MutationObserver(() => r());
32
+ return c.observe(e, { attributes: !0, attributeFilter: ["rows", "placeholder"] }), i.fonts?.addEventListener("loadingdone", r), () => {
33
+ e.removeEventListener("input", r), e.form?.removeEventListener("reset", r), i.fonts?.removeEventListener("loadingdone", r), d.disconnect(), c.disconnect();
34
+ };
35
+ };
36
+ const p = x((e, t) => {
37
+ const { autoresize: o, ...i } = e, r = g(null), a = E(), s = O(
38
+ a?.getTextareaProps(),
39
+ { style: { resize: o ? "none" : void 0 } },
40
+ i
41
+ );
42
+ return h(() => {
43
+ if (o)
44
+ return P(r.current);
45
+ }, [o]), /* @__PURE__ */ m.jsx(R.textarea, { ...s, ref: z(t, r) });
46
+ });
47
+ p.displayName = "FieldTextarea";
48
+ const { withContext: H } = F({
49
+ key: "textarea"
50
+ }), L = H(
51
+ p
52
+ ), f = l.forwardRef(
53
+ ({
54
+ charLimit: e = void 0,
55
+ invalid: t,
56
+ onContrast: o,
57
+ resize: i = "none",
58
+ textareaRef: r,
59
+ value: a,
60
+ ["data-testid"]: s = "kibble-textarea",
61
+ ...d
62
+ }, c) => {
63
+ const n = o ? "onContrast" : "default", u = v(() => a?.toString()?.length || 0, [a]);
64
+ return /* @__PURE__ */ m.jsxs(y, { className: "Textarea__Wrapper", flexDirection: "column", w: "100%", gap: 1, alignItems: "flex-end", children: [
65
+ /* @__PURE__ */ m.jsx(
66
+ L,
67
+ {
68
+ className: "Textarea",
69
+ "data-testid": s,
70
+ ref: r || c,
71
+ resize: i,
72
+ variant: n,
73
+ value: a,
74
+ ...t && { "aria-invalid": !0 },
75
+ minH: "140px",
76
+ ...d
77
+ }
78
+ ),
79
+ !!e && /* @__PURE__ */ m.jsx(
80
+ b,
81
+ {
82
+ "data-testid": `${s}-character-counter`,
83
+ withLimit: !0,
84
+ limit: e,
85
+ currentCount: u
86
+ }
87
+ )
88
+ ] });
89
+ }
90
+ );
91
+ f.displayName = "Textarea";
92
+ const q = w(f);
93
+ export {
94
+ q as W
95
+ };
96
+ //# sourceMappingURL=textarea.component-axjxiv82.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.component-BYexywy1.js","sources":["../../node_modules/@zag-js/auto-resize/dist/index.mjs","../../node_modules/@ark-ui/react/dist/components/field/field-textarea.js","../../node_modules/@chakra-ui/react/dist/esm/components/textarea/textarea.js","../../src/components/Textarea/textarea.component.tsx"],"sourcesContent":["import { getDocument, getWindow, getComputedStyle } from '@zag-js/dom-query';\n\n// src/autoresize-input.ts\nfunction getVisualStyles(node) {\n if (!node) return;\n const style = getComputedStyle(node);\n return \"box-sizing:\" + style.boxSizing + \";border-left:\" + style.borderLeftWidth + \" solid red;border-right:\" + style.borderRightWidth + \" solid red;font-family:\" + style.fontFamily + \";font-feature-settings:\" + style.fontFeatureSettings + \";font-kerning:\" + style.fontKerning + \";font-size:\" + style.fontSize + \";font-stretch:\" + style.fontStretch + \";font-style:\" + style.fontStyle + \";font-variant:\" + style.fontVariant + \";font-variant-caps:\" + style.fontVariantCaps + \";font-variant-ligatures:\" + style.fontVariantLigatures + \";font-variant-numeric:\" + style.fontVariantNumeric + \";font-weight:\" + style.fontWeight + \";letter-spacing:\" + style.letterSpacing + \";margin-left:\" + style.marginLeft + \";margin-right:\" + style.marginRight + \";padding-left:\" + style.paddingLeft + \";padding-right:\" + style.paddingRight + \";text-indent:\" + style.textIndent + \";text-transform:\" + style.textTransform;\n}\n\n// src/autoresize-input.ts\nfunction createGhostElement(doc) {\n var el = doc.createElement(\"div\");\n el.id = \"ghost\";\n el.style.cssText = \"display:inline-block;height:0;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:nowrap;\";\n doc.body.appendChild(el);\n return el;\n}\nfunction autoResizeInput(input) {\n if (!input) return;\n const doc = getDocument(input);\n const win = getWindow(input);\n const ghost = createGhostElement(doc);\n const cssText = getVisualStyles(input);\n if (cssText) ghost.style.cssText += cssText;\n function resize() {\n win.requestAnimationFrame(() => {\n ghost.innerHTML = input.value;\n const rect = win.getComputedStyle(ghost);\n input?.style.setProperty(\"width\", rect.width);\n });\n }\n resize();\n input?.addEventListener(\"input\", resize);\n input?.addEventListener(\"change\", resize);\n return () => {\n doc.body.removeChild(ghost);\n input?.removeEventListener(\"input\", resize);\n input?.removeEventListener(\"change\", resize);\n };\n}\nvar autoresizeTextarea = (el) => {\n if (!el) return;\n const style = getComputedStyle(el);\n const win = getWindow(el);\n const doc = getDocument(el);\n const resize = () => {\n requestAnimationFrame(() => {\n el.style.height = \"auto\";\n let newHeight;\n if (style.boxSizing === \"content-box\") {\n newHeight = el.scrollHeight - (parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));\n } else {\n newHeight = el.scrollHeight + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);\n }\n if (style.maxHeight !== \"none\" && newHeight > parseFloat(style.maxHeight)) {\n if (style.overflowY === \"hidden\") {\n el.style.overflowY = \"scroll\";\n }\n newHeight = parseFloat(style.maxHeight);\n } else if (style.overflowY !== \"hidden\") {\n el.style.overflowY = \"hidden\";\n }\n el.style.height = `${newHeight}px`;\n });\n };\n el.addEventListener(\"input\", resize);\n el.form?.addEventListener(\"reset\", resize);\n const elementPrototype = Object.getPrototypeOf(el);\n const descriptor = Object.getOwnPropertyDescriptor(elementPrototype, \"value\");\n Object.defineProperty(el, \"value\", {\n ...descriptor,\n set() {\n descriptor?.set?.apply(this, arguments);\n resize();\n }\n });\n const resizeObserver = new win.ResizeObserver(() => {\n requestAnimationFrame(() => resize());\n });\n resizeObserver.observe(el);\n const attrObserver = new win.MutationObserver(() => resize());\n attrObserver.observe(el, { attributes: true, attributeFilter: [\"rows\", \"placeholder\"] });\n doc.fonts?.addEventListener(\"loadingdone\", resize);\n return () => {\n el.removeEventListener(\"input\", resize);\n el.form?.removeEventListener(\"reset\", resize);\n doc.fonts?.removeEventListener(\"loadingdone\", resize);\n resizeObserver.disconnect();\n attrObserver.disconnect();\n };\n};\n\nexport { autoResizeInput, autoresizeTextarea };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { autoresizeTextarea } from '@zag-js/auto-resize';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef, useRef, useEffect } from 'react';\nimport { composeRefs } from '../../utils/compose-refs.js';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from './use-field-context.js';\n\nconst FieldTextarea = forwardRef((props, ref) => {\n const { autoresize, ...textareaProps } = props;\n const textareaRef = useRef(null);\n const field = useFieldContext();\n const mergedProps = mergeProps(\n field?.getTextareaProps(),\n { style: { resize: autoresize ? \"none\" : void 0 } },\n textareaProps\n );\n useEffect(() => {\n if (!autoresize) return;\n return autoresizeTextarea(textareaRef.current);\n }, [autoresize]);\n return /* @__PURE__ */ jsx(ark.textarea, { ...mergedProps, ref: composeRefs(ref, textareaRef) });\n});\nFieldTextarea.displayName = \"FieldTextarea\";\n\nexport { FieldTextarea };\n","\"use strict\";\n\"use client\";\nimport { Field } from '@ark-ui/react/field';\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"textarea\"\n});\nconst Textarea = withContext(\n Field.Textarea\n);\nconst TextareaPropsProvider = PropsProvider;\n\nexport { Textarea, TextareaPropsProvider };\n","import React, { useMemo } from 'react';\nimport { Textarea as CTextarea, TextareaProps as CTextareaProps } from '@chakra-ui/react/textarea';\nimport { FormControlSize } from 'hocs/withFormControl/withFormControl.types';\nimport { withFormControl, WithFormControlProps } from 'hocs/withFormControl/withFormControl';\nimport { Flex } from '@chakra-ui/react/flex';\nimport { CharacterCounter } from 'components/CharacterCounter/characterCounter.component';\n\nexport interface TextareaProps extends WithFormControlProps, CTextareaProps {\n charLimit?: number;\n textareaRef?: React.Ref<HTMLTextAreaElement | null>;\n size?: FormControlSize;\n}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n (\n { charLimit = undefined, invalid, onContrast, resize = 'none', textareaRef, value, ...rest },\n ref,\n ): React.JSX.Element => {\n const _computedVariant = onContrast ? 'onContrast' : 'default';\n\n const currentCharCount = useMemo(() => value?.toString()?.length || 0, [value]);\n\n return (\n <Flex className=\"Textarea__Wrapper\" position=\"relative\" w=\"100%\">\n <CTextarea\n className=\"Textarea\"\n data-testid=\"kibble-textarea\"\n ref={textareaRef || ref}\n resize={resize}\n variant={_computedVariant}\n value={value}\n {...(invalid && { 'aria-invalid': true })}\n minH=\"140px\"\n {...rest}\n />\n {!!charLimit && <CharacterCounter withLimit={true} limit={charLimit} currentCount={currentCharCount} />}\n </Flex>\n );\n },\n);\n\nTextarea.displayName = 'Textarea';\nconst WrappedTextarea = withFormControl<TextareaProps>(Textarea);\n\nexport { WrappedTextarea as Textarea };\n"],"names":["autoresizeTextarea","el","style","getComputedStyle","win","getWindow","doc","getDocument","resize","newHeight","elementPrototype","descriptor","resizeObserver","attrObserver","FieldTextarea","forwardRef","props","ref","autoresize","textareaProps","textareaRef","useRef","field","useFieldContext","mergedProps","mergeProps","useEffect","jsx","ark","composeRefs","withContext","createRecipeContext","Textarea","Field.Textarea","React","charLimit","invalid","onContrast","value","rest","_computedVariant","currentCharCount","useMemo","Flex","CTextarea","CharacterCounter","WrappedTextarea","withFormControl"],"mappings":"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","x_google_ignoreList":[0,1,2]}
1
+ {"version":3,"file":"textarea.component-axjxiv82.js","sources":["../../node_modules/@zag-js/auto-resize/dist/index.mjs","../../node_modules/@ark-ui/react/dist/components/field/field-textarea.js","../../node_modules/@chakra-ui/react/dist/esm/components/textarea/textarea.js","../../src/components/Textarea/textarea.component.tsx"],"sourcesContent":["import { getDocument, getWindow, getComputedStyle } from '@zag-js/dom-query';\n\n// src/autoresize-input.ts\nfunction getVisualStyles(node) {\n if (!node) return;\n const style = getComputedStyle(node);\n return \"box-sizing:\" + style.boxSizing + \";border-left:\" + style.borderLeftWidth + \" solid red;border-right:\" + style.borderRightWidth + \" solid red;font-family:\" + style.fontFamily + \";font-feature-settings:\" + style.fontFeatureSettings + \";font-kerning:\" + style.fontKerning + \";font-size:\" + style.fontSize + \";font-stretch:\" + style.fontStretch + \";font-style:\" + style.fontStyle + \";font-variant:\" + style.fontVariant + \";font-variant-caps:\" + style.fontVariantCaps + \";font-variant-ligatures:\" + style.fontVariantLigatures + \";font-variant-numeric:\" + style.fontVariantNumeric + \";font-weight:\" + style.fontWeight + \";letter-spacing:\" + style.letterSpacing + \";margin-left:\" + style.marginLeft + \";margin-right:\" + style.marginRight + \";padding-left:\" + style.paddingLeft + \";padding-right:\" + style.paddingRight + \";text-indent:\" + style.textIndent + \";text-transform:\" + style.textTransform;\n}\n\n// src/autoresize-input.ts\nfunction createGhostElement(doc) {\n var el = doc.createElement(\"div\");\n el.id = \"ghost\";\n el.style.cssText = \"display:inline-block;height:0;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:nowrap;\";\n doc.body.appendChild(el);\n return el;\n}\nfunction autoResizeInput(input) {\n if (!input) return;\n const doc = getDocument(input);\n const win = getWindow(input);\n const ghost = createGhostElement(doc);\n const cssText = getVisualStyles(input);\n if (cssText) ghost.style.cssText += cssText;\n function resize() {\n win.requestAnimationFrame(() => {\n ghost.innerHTML = input.value;\n const rect = win.getComputedStyle(ghost);\n input?.style.setProperty(\"width\", rect.width);\n });\n }\n resize();\n input?.addEventListener(\"input\", resize);\n input?.addEventListener(\"change\", resize);\n return () => {\n doc.body.removeChild(ghost);\n input?.removeEventListener(\"input\", resize);\n input?.removeEventListener(\"change\", resize);\n };\n}\nvar autoresizeTextarea = (el) => {\n if (!el) return;\n const style = getComputedStyle(el);\n const win = getWindow(el);\n const doc = getDocument(el);\n const resize = () => {\n requestAnimationFrame(() => {\n el.style.height = \"auto\";\n let newHeight;\n if (style.boxSizing === \"content-box\") {\n newHeight = el.scrollHeight - (parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));\n } else {\n newHeight = el.scrollHeight + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);\n }\n if (style.maxHeight !== \"none\" && newHeight > parseFloat(style.maxHeight)) {\n if (style.overflowY === \"hidden\") {\n el.style.overflowY = \"scroll\";\n }\n newHeight = parseFloat(style.maxHeight);\n } else if (style.overflowY !== \"hidden\") {\n el.style.overflowY = \"hidden\";\n }\n el.style.height = `${newHeight}px`;\n });\n };\n el.addEventListener(\"input\", resize);\n el.form?.addEventListener(\"reset\", resize);\n const elementPrototype = Object.getPrototypeOf(el);\n const descriptor = Object.getOwnPropertyDescriptor(elementPrototype, \"value\");\n Object.defineProperty(el, \"value\", {\n ...descriptor,\n set() {\n descriptor?.set?.apply(this, arguments);\n resize();\n }\n });\n const resizeObserver = new win.ResizeObserver(() => {\n requestAnimationFrame(() => resize());\n });\n resizeObserver.observe(el);\n const attrObserver = new win.MutationObserver(() => resize());\n attrObserver.observe(el, { attributes: true, attributeFilter: [\"rows\", \"placeholder\"] });\n doc.fonts?.addEventListener(\"loadingdone\", resize);\n return () => {\n el.removeEventListener(\"input\", resize);\n el.form?.removeEventListener(\"reset\", resize);\n doc.fonts?.removeEventListener(\"loadingdone\", resize);\n resizeObserver.disconnect();\n attrObserver.disconnect();\n };\n};\n\nexport { autoResizeInput, autoresizeTextarea };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { autoresizeTextarea } from '@zag-js/auto-resize';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef, useRef, useEffect } from 'react';\nimport { composeRefs } from '../../utils/compose-refs.js';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from './use-field-context.js';\n\nconst FieldTextarea = forwardRef((props, ref) => {\n const { autoresize, ...textareaProps } = props;\n const textareaRef = useRef(null);\n const field = useFieldContext();\n const mergedProps = mergeProps(\n field?.getTextareaProps(),\n { style: { resize: autoresize ? \"none\" : void 0 } },\n textareaProps\n );\n useEffect(() => {\n if (!autoresize) return;\n return autoresizeTextarea(textareaRef.current);\n }, [autoresize]);\n return /* @__PURE__ */ jsx(ark.textarea, { ...mergedProps, ref: composeRefs(ref, textareaRef) });\n});\nFieldTextarea.displayName = \"FieldTextarea\";\n\nexport { FieldTextarea };\n","\"use strict\";\n\"use client\";\nimport { Field } from '@ark-ui/react/field';\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"textarea\"\n});\nconst Textarea = withContext(\n Field.Textarea\n);\nconst TextareaPropsProvider = PropsProvider;\n\nexport { Textarea, TextareaPropsProvider };\n","import React, { useMemo } from 'react';\nimport { Textarea as CTextarea, TextareaProps as CTextareaProps } from '@chakra-ui/react/textarea';\nimport { FormControlSize } from 'hocs/withFormControl/withFormControl.types';\nimport { withFormControl, WithFormControlProps } from 'hocs/withFormControl/withFormControl';\nimport { Flex } from '@chakra-ui/react/flex';\nimport { CharacterCounter } from 'components/CharacterCounter/characterCounter.component';\n\nexport interface TextareaProps extends WithFormControlProps, CTextareaProps {\n /** The maximum number of characters that can be entered into the textarea. */\n charLimit?: number;\n /** Ref to the textarea element. */\n textareaRef?: React.Ref<HTMLTextAreaElement | null>;\n /** Placeholder text for the textarea. */\n placeholder?: string;\n /**\n * The size of the textarea.\n * @default md\n */\n size?: FormControlSize;\n /**\n * Data test id for the textarea.\n * @default kibble-textarea\n */\n 'data-testid'?: string;\n}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n (\n {\n charLimit = undefined,\n invalid,\n onContrast,\n resize = 'none',\n textareaRef,\n value,\n ['data-testid']: dataTestId = 'kibble-textarea',\n ...rest\n },\n ref,\n ): React.JSX.Element => {\n const _computedVariant = onContrast ? 'onContrast' : 'default';\n\n const currentCharCount = useMemo(() => value?.toString()?.length || 0, [value]);\n\n return (\n <Flex className=\"Textarea__Wrapper\" flexDirection=\"column\" w=\"100%\" gap={1} alignItems=\"flex-end\">\n <CTextarea\n className=\"Textarea\"\n data-testid={dataTestId}\n ref={textareaRef || ref}\n resize={resize}\n variant={_computedVariant}\n value={value}\n {...(invalid && { 'aria-invalid': true })}\n minH=\"140px\"\n {...rest}\n />\n {!!charLimit && (\n <CharacterCounter\n data-testid={`${dataTestId}-character-counter`}\n withLimit={true}\n limit={charLimit}\n currentCount={currentCharCount}\n />\n )}\n </Flex>\n );\n },\n);\n\nTextarea.displayName = 'Textarea';\nconst WrappedTextarea = withFormControl<TextareaProps>(Textarea);\n\nexport { WrappedTextarea as Textarea };\n"],"names":["autoresizeTextarea","el","style","getComputedStyle","win","getWindow","doc","getDocument","resize","newHeight","elementPrototype","descriptor","resizeObserver","attrObserver","FieldTextarea","forwardRef","props","ref","autoresize","textareaProps","textareaRef","useRef","field","useFieldContext","mergedProps","mergeProps","useEffect","jsx","ark","composeRefs","withContext","createRecipeContext","Textarea","Field.Textarea","React","charLimit","invalid","onContrast","value","dataTestId","rest","_computedVariant","currentCharCount","useMemo","jsxs","Flex","CTextarea","CharacterCounter","WrappedTextarea","withFormControl"],"mappings":"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","x_google_ignoreList":[0,1,2]}