@televet/kibble-ui 4.0.0-beta.36 → 4.0.0-beta.38

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 (438) hide show
  1. package/dist/chunks/{IconLogo-DedIxFq7.js → IconLogo-C4aZqkn1.js} +2 -2
  2. package/dist/chunks/{IconLogo-DedIxFq7.js.map → IconLogo-C4aZqkn1.js.map} +1 -1
  3. package/dist/chunks/alert.component-BKzdx_cY.js +2 -0
  4. package/dist/chunks/{alert.component-CcCt-bb5.js.map → alert.component-BKzdx_cY.js.map} +1 -1
  5. package/dist/chunks/{alert.component-Dk33kIVc.js → alert.component-Dz9izFQV.js} +10 -10
  6. package/dist/chunks/{alert.component-Dk33kIVc.js.map → alert.component-Dz9izFQV.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-Bj-v-tJK.js → avatar.component-X8DAz-8Y.js} +12 -12
  8. package/dist/chunks/{avatar.component-Bj-v-tJK.js.map → avatar.component-X8DAz-8Y.js.map} +1 -1
  9. package/dist/chunks/avatar.component-t2R4IrZb.js +2 -0
  10. package/dist/chunks/{avatar.component-LWnRY2X6.js.map → avatar.component-t2R4IrZb.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-DEDlMSqD.js → avatarGroup.component-BrZUEoVD.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-DEDlMSqD.js.map → avatarGroup.component-BrZUEoVD.js.map} +1 -1
  13. package/dist/chunks/{avatarGroup.component-Onosz6A9.js → avatarGroup.component-eiorUXwX.js} +2 -2
  14. package/dist/chunks/{avatarGroup.component-Onosz6A9.js.map → avatarGroup.component-eiorUXwX.js.map} +1 -1
  15. package/dist/chunks/box-ca2FvcWF.js +2 -0
  16. package/dist/chunks/{box-DiiiZkF4.js.map → box-ca2FvcWF.js.map} +1 -1
  17. package/dist/chunks/box-y05hq0PT.js +7 -0
  18. package/dist/chunks/{box-DQTWVrl0.js.map → box-y05hq0PT.js.map} +1 -1
  19. package/dist/chunks/{button.component-BZHMvNis.js → button.component-BWlRjD5a.js} +3 -3
  20. package/dist/chunks/{button.component-BZHMvNis.js.map → button.component-BWlRjD5a.js.map} +1 -1
  21. package/dist/chunks/{button.component-DrvTYE-F.js → button.component-ytAmAAJg.js} +2 -2
  22. package/dist/chunks/{button.component-DrvTYE-F.js.map → button.component-ytAmAAJg.js.map} +1 -1
  23. package/dist/chunks/{buttonGroup.component-CmMPEPEN.js → buttonGroup.component-BZKBDZof.js} +2 -2
  24. package/dist/chunks/{buttonGroup.component-CmMPEPEN.js.map → buttonGroup.component-BZKBDZof.js.map} +1 -1
  25. package/dist/chunks/{buttonGroup.component-DoNMqghO.js → buttonGroup.component-Bs9pKJms.js} +6 -6
  26. package/dist/chunks/{buttonGroup.component-DoNMqghO.js.map → buttonGroup.component-Bs9pKJms.js.map} +1 -1
  27. package/dist/chunks/{card.component-Ds2Q5-dv.js → card.component-6TV04UQT.js} +2 -2
  28. package/dist/chunks/{card.component-Ds2Q5-dv.js.map → card.component-6TV04UQT.js.map} +1 -1
  29. package/dist/chunks/{card.component-BdHsWz_5.js → card.component-nehAyK91.js} +2 -2
  30. package/dist/chunks/{card.component-BdHsWz_5.js.map → card.component-nehAyK91.js.map} +1 -1
  31. package/dist/chunks/{characterCounter.component-OMu4axLo.js → characterCounter.component-Uh0kze9U.js} +2 -2
  32. package/dist/chunks/{characterCounter.component-OMu4axLo.js.map → characterCounter.component-Uh0kze9U.js.map} +1 -1
  33. package/dist/chunks/{characterCounter.component-2pxq0nJ_.js → characterCounter.component-eeCq2Syc.js} +5 -5
  34. package/dist/chunks/{characterCounter.component-2pxq0nJ_.js.map → characterCounter.component-eeCq2Syc.js.map} +1 -1
  35. package/dist/chunks/checkbox.component-Cn7zfMpA.js +2 -0
  36. package/dist/chunks/{checkbox.component-CN7VT6Kl.js.map → checkbox.component-Cn7zfMpA.js.map} +1 -1
  37. package/dist/chunks/{checkbox.component-6unW8bGD.js → checkbox.component-H78vY8fD.js} +7 -7
  38. package/dist/chunks/{checkbox.component-6unW8bGD.js.map → checkbox.component-H78vY8fD.js.map} +1 -1
  39. package/dist/chunks/{checkbox.records-1df_6uAA.js → checkbox.records-ef7wOXPE.js} +2 -2
  40. package/dist/chunks/{checkbox.records-1df_6uAA.js.map → checkbox.records-ef7wOXPE.js.map} +1 -1
  41. package/dist/chunks/{checkbox.records-BEJe1isy.js → checkbox.records-jwUqoHaK.js} +2 -2
  42. package/dist/chunks/{checkbox.records-BEJe1isy.js.map → checkbox.records-jwUqoHaK.js.map} +1 -1
  43. package/dist/chunks/{checkboxGroup.component-Dbc4R5pg.js → checkboxGroup.component-B5UKDlty.js} +4 -4
  44. package/dist/chunks/{checkboxGroup.component-Dbc4R5pg.js.map → checkboxGroup.component-B5UKDlty.js.map} +1 -1
  45. package/dist/chunks/{checkboxGroup.component-BJ12z-XW.js → checkboxGroup.component-N8ONlv_2.js} +2 -2
  46. package/dist/chunks/{checkboxGroup.component-BJ12z-XW.js.map → checkboxGroup.component-N8ONlv_2.js.map} +1 -1
  47. package/dist/chunks/{config-CWIRw37z.js → config-C4FE-eBu.js} +2 -2
  48. package/dist/chunks/{config-CWIRw37z.js.map → config-C4FE-eBu.js.map} +1 -1
  49. package/dist/chunks/{config-Bka1LOUG.js → config-SdQux5od.js} +2 -2
  50. package/dist/chunks/{config-Bka1LOUG.js.map → config-SdQux5od.js.map} +1 -1
  51. package/dist/chunks/{conversationCard.component-D0iB6mGd.js → conversationCard.component-BqVI0A5M.js} +17 -17
  52. package/dist/chunks/{conversationCard.component-D0iB6mGd.js.map → conversationCard.component-BqVI0A5M.js.map} +1 -1
  53. package/dist/chunks/{conversationCard.component--lfMn8rH.js → conversationCard.component-DAHw_xas.js} +2 -2
  54. package/dist/chunks/{conversationCard.component--lfMn8rH.js.map → conversationCard.component-DAHw_xas.js.map} +1 -1
  55. package/dist/chunks/{create-recipe-context-ei7-Fhjc.js → create-recipe-context-BcvaE0iS.js} +3 -3
  56. package/dist/chunks/{create-recipe-context-ei7-Fhjc.js.map → create-recipe-context-BcvaE0iS.js.map} +1 -1
  57. package/dist/chunks/{create-recipe-context-yj-_0pxV.js → create-recipe-context-DdRyhQQD.js} +2 -2
  58. package/dist/chunks/{create-recipe-context-yj-_0pxV.js.map → create-recipe-context-DdRyhQQD.js.map} +1 -1
  59. package/dist/chunks/{create-slot-recipe-context-CNbTdeS5.js → create-slot-recipe-context-D-pJ8fgs.js} +2 -2
  60. package/dist/chunks/{create-slot-recipe-context-CNbTdeS5.js.map → create-slot-recipe-context-D-pJ8fgs.js.map} +1 -1
  61. package/dist/chunks/{create-slot-recipe-context-B6kmgvsX.js → create-slot-recipe-context-DJkLYvCT.js} +3 -3
  62. package/dist/chunks/{create-slot-recipe-context-B6kmgvsX.js.map → create-slot-recipe-context-DJkLYvCT.js.map} +1 -1
  63. package/dist/chunks/{datePicker.component-BjPLm6FH.js → datePicker.component-BnyKQvyQ.js} +13 -13
  64. package/dist/chunks/{datePicker.component-BjPLm6FH.js.map → datePicker.component-BnyKQvyQ.js.map} +1 -1
  65. package/dist/chunks/{datePicker.component-DOq_pEln.js → datePicker.component-CGQRyjHR.js} +2 -2
  66. package/dist/chunks/{datePicker.component-DOq_pEln.js.map → datePicker.component-CGQRyjHR.js.map} +1 -1
  67. package/dist/chunks/{dialog-trigger-CUC9-uYl.js → dialog-trigger-C86J6PDS.js} +2 -2
  68. package/dist/chunks/{dialog-trigger-CUC9-uYl.js.map → dialog-trigger-C86J6PDS.js.map} +1 -1
  69. package/dist/chunks/{dialog-trigger-tzkv77T4.js → dialog-trigger-sGBMGLMB.js} +2 -2
  70. package/dist/chunks/{dialog-trigger-tzkv77T4.js.map → dialog-trigger-sGBMGLMB.js.map} +1 -1
  71. package/dist/chunks/{divider.types-CVrYEuME.js → divider.types-BHqfjZmx.js} +3 -3
  72. package/dist/chunks/{divider.types-CVrYEuME.js.map → divider.types-BHqfjZmx.js.map} +1 -1
  73. package/dist/chunks/{divider.types-Cum_pC7q.js → divider.types-luokl8-p.js} +2 -2
  74. package/dist/chunks/{divider.types-Cum_pC7q.js.map → divider.types-luokl8-p.js.map} +1 -1
  75. package/dist/chunks/factory-CkTX_WOU.js +3 -0
  76. package/dist/chunks/factory-CkTX_WOU.js.map +1 -0
  77. package/dist/chunks/factory-gZxMesut.js +540 -0
  78. package/dist/chunks/factory-gZxMesut.js.map +1 -0
  79. package/dist/chunks/{flex-D2YmHSRL.js → flex-C2d2LH-K.js} +2 -2
  80. package/dist/chunks/{flex-D2YmHSRL.js.map → flex-C2d2LH-K.js.map} +1 -1
  81. package/dist/chunks/{flex-CoWH4MWg.js → flex-DKWxn8hO.js} +2 -2
  82. package/dist/chunks/{flex-CoWH4MWg.js.map → flex-DKWxn8hO.js.map} +1 -1
  83. package/dist/chunks/{float-D0XppGHj.js → float-0e5piZno.js} +2 -2
  84. package/dist/chunks/{float-D0XppGHj.js.map → float-0e5piZno.js.map} +1 -1
  85. package/dist/chunks/{float-3sTEdNja.js → float-BHAFWRjM.js} +3 -3
  86. package/dist/chunks/{float-3sTEdNja.js.map → float-BHAFWRjM.js.map} +1 -1
  87. package/dist/chunks/{grid-item-Demhr3R8.js → grid-item-B2mOwD2y.js} +3 -3
  88. package/dist/chunks/{grid-item-Demhr3R8.js.map → grid-item-B2mOwD2y.js.map} +1 -1
  89. package/dist/chunks/{grid-item-CUvFlFUM.js → grid-item-MqIW494P.js} +2 -2
  90. package/dist/chunks/{grid-item-CUvFlFUM.js.map → grid-item-MqIW494P.js.map} +1 -1
  91. package/dist/chunks/{group-CyV6CH8n.js → group-CjQBwfVM.js} +2 -2
  92. package/dist/chunks/{group-CyV6CH8n.js.map → group-CjQBwfVM.js.map} +1 -1
  93. package/dist/chunks/{group-gT4uiUTj.js → group-aY0Z9jNw.js} +2 -2
  94. package/dist/chunks/{group-gT4uiUTj.js.map → group-aY0Z9jNw.js.map} +1 -1
  95. package/dist/chunks/h-stack-DxezNoY3.js +2 -0
  96. package/dist/chunks/{h-stack-DS6_Nmps.js.map → h-stack-DxezNoY3.js.map} +1 -1
  97. package/dist/chunks/{h-stack-DWIPFE4q.js → h-stack-iIc7vTB3.js} +2 -2
  98. package/dist/chunks/{h-stack-DWIPFE4q.js.map → h-stack-iIc7vTB3.js.map} +1 -1
  99. package/dist/chunks/heading.component--ic7O4CR.js +2 -0
  100. package/dist/chunks/{heading.component-CVtGEEgj.js.map → heading.component--ic7O4CR.js.map} +1 -1
  101. package/dist/chunks/{heading.component-WidNm4DU.js → heading.component-E5shs3Uo.js} +3 -3
  102. package/dist/chunks/{heading.component-WidNm4DU.js.map → heading.component-E5shs3Uo.js.map} +1 -1
  103. package/dist/chunks/icon-button-B8so0CZl.js +2 -0
  104. package/dist/chunks/{icon-button-BoeNBxVE.js.map → icon-button-B8so0CZl.js.map} +1 -1
  105. package/dist/chunks/{icon-button-BhUHtq9f.js → icon-button-g512TBA9.js} +4 -4
  106. package/dist/chunks/{icon-button-BhUHtq9f.js.map → icon-button-g512TBA9.js.map} +1 -1
  107. package/dist/chunks/{icon.component-RnXzLy9Z.js → icon.component-4aaCABoX.js} +2 -2
  108. package/dist/chunks/{icon.component-RnXzLy9Z.js.map → icon.component-4aaCABoX.js.map} +1 -1
  109. package/dist/chunks/{icon.component-CqMlCLYe.js → icon.component-BmcWaysM.js} +2 -2
  110. package/dist/chunks/{icon.component-CqMlCLYe.js.map → icon.component-BmcWaysM.js.map} +1 -1
  111. package/dist/chunks/{icons-DsfswYKK.js → icons-BVYVhH49.js} +2 -2
  112. package/dist/chunks/{icons-DsfswYKK.js.map → icons-BVYVhH49.js.map} +1 -1
  113. package/dist/chunks/{icons-6idzI9fr.js → icons-grAfs3Oz.js} +2 -2
  114. package/dist/chunks/{icons-6idzI9fr.js.map → icons-grAfs3Oz.js.map} +1 -1
  115. package/dist/chunks/{index-Cl4DH-b8.js → index-BDnnTdaJ.js} +2 -2
  116. package/dist/chunks/{index-Cl4DH-b8.js.map → index-BDnnTdaJ.js.map} +1 -1
  117. package/dist/chunks/{index-D1m6YWQg.js → index-BYf7SZUC.js} +2 -2
  118. package/dist/chunks/{index-D1m6YWQg.js.map → index-BYf7SZUC.js.map} +1 -1
  119. package/dist/chunks/{index-JaYE81Ru.js → index-COoMV9Mh.js} +2 -2
  120. package/dist/chunks/{index-JaYE81Ru.js.map → index-COoMV9Mh.js.map} +1 -1
  121. package/dist/chunks/{index-CItwlE2r.js → index-CX6Jo_Vb.js} +2 -2
  122. package/dist/chunks/{index-CItwlE2r.js.map → index-CX6Jo_Vb.js.map} +1 -1
  123. package/dist/chunks/{index-bAktJOSP.js → index-CZz7hHWb.js} +2 -2
  124. package/dist/chunks/{index-bAktJOSP.js.map → index-CZz7hHWb.js.map} +1 -1
  125. package/dist/chunks/{index-Dg2ABT8y.js → index-CkYZf9Pm.js} +2 -2
  126. package/dist/chunks/{index-Dg2ABT8y.js.map → index-CkYZf9Pm.js.map} +1 -1
  127. package/dist/chunks/index-DD49WSSW.js +2 -0
  128. package/dist/chunks/index-DD49WSSW.js.map +1 -0
  129. package/dist/chunks/{index-BStpE8Il.js → index-DMVlKSP7.js} +2 -2
  130. package/dist/chunks/{index-BStpE8Il.js.map → index-DMVlKSP7.js.map} +1 -1
  131. package/dist/chunks/{index-DgM7zI46.js → index-MlhL0PDC.js} +2 -2
  132. package/dist/chunks/{index-DgM7zI46.js.map → index-MlhL0PDC.js.map} +1 -1
  133. package/dist/chunks/{index-Cv1W043o.js → index-UWtj4ULm.js} +2 -2
  134. package/dist/chunks/{index-Cv1W043o.js.map → index-UWtj4ULm.js.map} +1 -1
  135. package/dist/chunks/{index-CNSw8O4Z.js → index-ZaGEDS_0.js} +2 -2
  136. package/dist/chunks/{index-CNSw8O4Z.js.map → index-ZaGEDS_0.js.map} +1 -1
  137. package/dist/chunks/index-lIficens.js +2 -0
  138. package/dist/chunks/{index-naFRmuBR.js.map → index-lIficens.js.map} +1 -1
  139. package/dist/chunks/{index-DQxjSq1v.js → index-sVj7ynbl.js} +2 -2
  140. package/dist/chunks/{index-DQxjSq1v.js.map → index-sVj7ynbl.js.map} +1 -1
  141. package/dist/chunks/{jsx-runtime-CITbqOLs.js → jsx-runtime-BjDatQAs.js} +5 -5
  142. package/dist/chunks/{jsx-runtime-CITbqOLs.js.map → jsx-runtime-BjDatQAs.js.map} +1 -1
  143. package/dist/chunks/{link.component-DfPzeeWK.js → link.component-CHsB_5hQ.js} +2 -2
  144. package/dist/chunks/{link.component-DfPzeeWK.js.map → link.component-CHsB_5hQ.js.map} +1 -1
  145. package/dist/chunks/{link.component-B0NnnoNo.js → link.component-PVTwe2h6.js} +5 -5
  146. package/dist/chunks/{link.component-B0NnnoNo.js.map → link.component-PVTwe2h6.js.map} +1 -1
  147. package/dist/chunks/{list-CBFKkZsk.js → list-0-1dh2ih.js} +2 -2
  148. package/dist/chunks/{list-CBFKkZsk.js.map → list-0-1dh2ih.js.map} +1 -1
  149. package/dist/chunks/{list-AkEh0-z3.js → list-AqGKvtMl.js} +2 -2
  150. package/dist/chunks/{list-AkEh0-z3.js.map → list-AqGKvtMl.js.map} +1 -1
  151. package/dist/chunks/{logo.types-Di-vcqft.js → logo.types-B_zly1v-.js} +4 -4
  152. package/dist/chunks/{logo.types-Di-vcqft.js.map → logo.types-B_zly1v-.js.map} +1 -1
  153. package/dist/chunks/{logo.types-DWfVoh84.js → logo.types-Ddn7cI2i.js} +2 -2
  154. package/dist/chunks/{logo.types-DWfVoh84.js.map → logo.types-Ddn7cI2i.js.map} +1 -1
  155. package/dist/chunks/{menu.component-D7YIaf-Z.js → menu.component-BQ-ffGbb.js} +11 -11
  156. package/dist/chunks/{menu.component-D7YIaf-Z.js.map → menu.component-BQ-ffGbb.js.map} +1 -1
  157. package/dist/chunks/menu.component-BRw4MdLq.js +2 -0
  158. package/dist/chunks/{menu.component-CVq3JuDQ.js.map → menu.component-BRw4MdLq.js.map} +1 -1
  159. package/dist/chunks/{modal.types-BqYvHMJ1.js → modal.types-0p23sZIR.js} +2 -2
  160. package/dist/chunks/{modal.types-BqYvHMJ1.js.map → modal.types-0p23sZIR.js.map} +1 -1
  161. package/dist/chunks/{modal.types-hd4zRySC.js → modal.types-BGqtuJeQ.js} +7 -7
  162. package/dist/chunks/{modal.types-hd4zRySC.js.map → modal.types-BGqtuJeQ.js.map} +1 -1
  163. package/dist/chunks/{notificationCounter.component-C1kj4Fks.js → notificationCounter.component-Bm528kQ-.js} +2 -2
  164. package/dist/chunks/{notificationCounter.component-C1kj4Fks.js.map → notificationCounter.component-Bm528kQ-.js.map} +1 -1
  165. package/dist/chunks/{notificationCounter.component-DucbUl3J.js → notificationCounter.component-CG5067PO.js} +5 -5
  166. package/dist/chunks/{notificationCounter.component-DucbUl3J.js.map → notificationCounter.component-CG5067PO.js.map} +1 -1
  167. package/dist/chunks/{picture.component-CFur6bma.js → picture.component-C9l8Zjob.js} +2 -2
  168. package/dist/chunks/{picture.component-CFur6bma.js.map → picture.component-C9l8Zjob.js.map} +1 -1
  169. package/dist/chunks/{picture.component-CcTQIBLG.js → picture.component-a4DWuwBK.js} +2 -2
  170. package/dist/chunks/{picture.component-CcTQIBLG.js.map → picture.component-a4DWuwBK.js.map} +1 -1
  171. package/dist/chunks/pinInput.types-CfpH-EVW.js +2 -0
  172. package/dist/chunks/{pinInput.types-BkZoddhj.js.map → pinInput.types-CfpH-EVW.js.map} +1 -1
  173. package/dist/chunks/{pinInput.types-htAlsWUJ.js → pinInput.types-Drsvga74.js} +3 -3
  174. package/dist/chunks/{pinInput.types-htAlsWUJ.js.map → pinInput.types-Drsvga74.js.map} +1 -1
  175. package/dist/chunks/{popover-DK1Q0GmC.js → popover-DPQD-D5F.js} +2 -2
  176. package/dist/chunks/{popover-DK1Q0GmC.js.map → popover-DPQD-D5F.js.map} +1 -1
  177. package/dist/chunks/{popover-NyXIgDrR.js → popover-Q1b5Ou9h.js} +2 -2
  178. package/dist/chunks/{popover-NyXIgDrR.js.map → popover-Q1b5Ou9h.js.map} +1 -1
  179. package/dist/chunks/{popover-root-provider-DL0Y6XoH.js → popover-root-provider-DAMDDAHQ.js} +2 -2
  180. package/dist/chunks/{popover-root-provider-DL0Y6XoH.js.map → popover-root-provider-DAMDDAHQ.js.map} +1 -1
  181. package/dist/chunks/{popover.component-Di7A2mlT.js → popover.component-BfScbbtS.js} +11 -11
  182. package/dist/chunks/{popover.component-Di7A2mlT.js.map → popover.component-BfScbbtS.js.map} +1 -1
  183. package/dist/chunks/popover.component-hbxVPtMW.js +2 -0
  184. package/dist/chunks/{popover.component-BU4ZYtgB.js.map → popover.component-hbxVPtMW.js.map} +1 -1
  185. package/dist/chunks/{popover.recipe-C7mfFIuD.js → popover.recipe-BwEAIvNr.js} +2 -2
  186. package/dist/chunks/{popover.recipe-C7mfFIuD.js.map → popover.recipe-BwEAIvNr.js.map} +1 -1
  187. package/dist/chunks/{popover.recipe-CFioNlNO.js → popover.recipe-De-l73ge.js} +2 -2
  188. package/dist/chunks/{popover.recipe-CFioNlNO.js.map → popover.recipe-De-l73ge.js.map} +1 -1
  189. package/dist/chunks/{radio.records-BvaGc_dX.js → radio.records-CsyF_2pW.js} +2 -2
  190. package/dist/chunks/{radio.records-BvaGc_dX.js.map → radio.records-CsyF_2pW.js.map} +1 -1
  191. package/dist/chunks/{radio.records-HAh4TB8-.js → radio.records-U-7SH4rq.js} +2 -2
  192. package/dist/chunks/{radio.records-HAh4TB8-.js.map → radio.records-U-7SH4rq.js.map} +1 -1
  193. package/dist/chunks/radioGroup.component-Bh-uxuNv.js +2 -0
  194. package/dist/chunks/{radioGroup.component-AnXOfN3A.js.map → radioGroup.component-Bh-uxuNv.js.map} +1 -1
  195. package/dist/chunks/{radioGroup.component-Cdtgrekb.js → radioGroup.component-DcNcJlPG.js} +10 -10
  196. package/dist/chunks/{radioGroup.component-Cdtgrekb.js.map → radioGroup.component-DcNcJlPG.js.map} +1 -1
  197. package/dist/chunks/{ratingDots.component-B-VtkikB.js → ratingDots.component-C5aSJ1Q4.js} +7 -7
  198. package/dist/chunks/{ratingDots.component-B-VtkikB.js.map → ratingDots.component-C5aSJ1Q4.js.map} +1 -1
  199. package/dist/chunks/{ratingDots.component-wYh_RTGd.js → ratingDots.component-Dm92ajL2.js} +2 -2
  200. package/dist/chunks/{ratingDots.component-wYh_RTGd.js.map → ratingDots.component-Dm92ajL2.js.map} +1 -1
  201. package/dist/chunks/{render-strategy-8uyKZcWI.js → render-strategy-BmWbSgqh.js} +2 -2
  202. package/dist/chunks/{render-strategy-8uyKZcWI.js.map → render-strategy-BmWbSgqh.js.map} +1 -1
  203. package/dist/chunks/select.component-BDBwwiO5.js +2 -0
  204. package/dist/chunks/{select.component-CtCEglbM.js.map → select.component-BDBwwiO5.js.map} +1 -1
  205. package/dist/chunks/{select.component-C9FC4hZN.js → select.component-FuB-fMhN.js} +9 -9
  206. package/dist/chunks/{select.component-C9FC4hZN.js.map → select.component-FuB-fMhN.js.map} +1 -1
  207. package/dist/chunks/sortableList.component-BoLoNqnM.js +6 -0
  208. package/dist/chunks/{sortableList.component-Dft-FiMn.js.map → sortableList.component-BoLoNqnM.js.map} +1 -1
  209. package/dist/chunks/{sortableList.component-BpkFj8Wt.js → sortableList.component-CH3vyqJx.js} +5 -5
  210. package/dist/chunks/{sortableList.component-BpkFj8Wt.js.map → sortableList.component-CH3vyqJx.js.map} +1 -1
  211. package/dist/chunks/spinner-CQnM6sI5.js +8 -0
  212. package/dist/chunks/{spinner-DUSVCecp.js.map → spinner-CQnM6sI5.js.map} +1 -1
  213. package/dist/chunks/spinner-No4bac8-.js +2 -0
  214. package/dist/chunks/{spinner-B981BEf0.js.map → spinner-No4bac8-.js.map} +1 -1
  215. package/dist/chunks/{spinner.component-BmT7fUg9.js → spinner.component-D33KPNJg.js} +6 -6
  216. package/dist/chunks/{spinner.component-BmT7fUg9.js.map → spinner.component-D33KPNJg.js.map} +1 -1
  217. package/dist/chunks/{spinner.component-DPS-cIcA.js → spinner.component-DrxwjIwy.js} +2 -2
  218. package/dist/chunks/{spinner.component-DPS-cIcA.js.map → spinner.component-DrxwjIwy.js.map} +1 -1
  219. package/dist/chunks/{stack-BNCEW5sJ.js → stack-B6Qs7bq9.js} +3 -3
  220. package/dist/chunks/{stack-BNCEW5sJ.js.map → stack-B6Qs7bq9.js.map} +1 -1
  221. package/dist/chunks/{stack-DXGLsM8c.js → stack-CtSNpuJq.js} +2 -2
  222. package/dist/chunks/{stack-DXGLsM8c.js.map → stack-CtSNpuJq.js.map} +1 -1
  223. package/dist/chunks/{styledAvatar.types-CRb1HJCU.js → styledAvatar.types-BxmVHmqr.js} +2 -2
  224. package/dist/chunks/{styledAvatar.types-CRb1HJCU.js.map → styledAvatar.types-BxmVHmqr.js.map} +1 -1
  225. package/dist/chunks/{styledAvatar.types-CI0j01cH.js → styledAvatar.types-Cs1V_5QN.js} +2 -2
  226. package/dist/chunks/{styledAvatar.types-CI0j01cH.js.map → styledAvatar.types-Cs1V_5QN.js.map} +1 -1
  227. package/dist/chunks/{swatch.types-BtgRLAO2.js → swatch.types-CeCazVD3.js} +2 -2
  228. package/dist/chunks/{swatch.types-BtgRLAO2.js.map → swatch.types-CeCazVD3.js.map} +1 -1
  229. package/dist/chunks/{swatch.types-DMM5zh_t.js → swatch.types-DUBu3p9m.js} +4 -4
  230. package/dist/chunks/{swatch.types-DMM5zh_t.js.map → swatch.types-DUBu3p9m.js.map} +1 -1
  231. package/dist/chunks/{switch.component-Dl4g9R68.js → switch.component-Bt1upkuX.js} +5 -5
  232. package/dist/chunks/{switch.component-Dl4g9R68.js.map → switch.component-Bt1upkuX.js.map} +1 -1
  233. package/dist/chunks/switch.component-BxgQbGjU.js +2 -0
  234. package/dist/chunks/{switch.component-Do0X7LJD.js.map → switch.component-BxgQbGjU.js.map} +1 -1
  235. package/dist/chunks/{tabs.component-ISxMfB67.js → tabs.component-B365dz_T.js} +2 -2
  236. package/dist/chunks/{tabs.component-ISxMfB67.js.map → tabs.component-B365dz_T.js.map} +1 -1
  237. package/dist/chunks/{tabs.component-D1aPBr6M.js → tabs.component-D5tE6-_n.js} +5 -5
  238. package/dist/chunks/{tabs.component-D1aPBr6M.js.map → tabs.component-D5tE6-_n.js.map} +1 -1
  239. package/dist/chunks/{tag.component-Mi7eMQDk.js → tag.component-C5MszzTM.js} +2 -2
  240. package/dist/chunks/{tag.component-Mi7eMQDk.js.map → tag.component-C5MszzTM.js.map} +1 -1
  241. package/dist/chunks/{tag.component-BdVdchYv.js → tag.component-D_8Wr2wv.js} +3 -3
  242. package/dist/chunks/{tag.component-BdVdchYv.js.map → tag.component-D_8Wr2wv.js.map} +1 -1
  243. package/dist/chunks/tagBlock.component-CJkYMBVe.js +2 -0
  244. package/dist/chunks/{tagBlock.component-Dj3iPVJy.js.map → tagBlock.component-CJkYMBVe.js.map} +1 -1
  245. package/dist/chunks/{tagBlock.component-BQRdsHPH.js → tagBlock.component-hFiLlj_t.js} +10 -10
  246. package/dist/chunks/{tagBlock.component-BQRdsHPH.js.map → tagBlock.component-hFiLlj_t.js.map} +1 -1
  247. package/dist/chunks/{text.component-ymbS_dRE.js → text.component-DHUP6rVA.js} +3 -3
  248. package/dist/chunks/{text.component-ymbS_dRE.js.map → text.component-DHUP6rVA.js.map} +1 -1
  249. package/dist/chunks/text.component-nwRL3NcQ.js +2 -0
  250. package/dist/chunks/{text.component-uDfPjmx6.js.map → text.component-nwRL3NcQ.js.map} +1 -1
  251. package/dist/chunks/textInput.component-6V4W8zUy.js +2 -0
  252. package/dist/chunks/{textInput.component-CEF55yJj.js.map → textInput.component-6V4W8zUy.js.map} +1 -1
  253. package/dist/chunks/{textInput.component-DfqkWsJX.js → textInput.component-CO6Yc8rV.js} +9 -9
  254. package/dist/chunks/{textInput.component-DfqkWsJX.js.map → textInput.component-CO6Yc8rV.js.map} +1 -1
  255. package/dist/chunks/textarea.component-DuShtgjy.js +2 -0
  256. package/dist/chunks/{textarea.component-BVGFuIZC.js.map → textarea.component-DuShtgjy.js.map} +1 -1
  257. package/dist/chunks/{textarea.component-1B3U7E2O.js → textarea.component-bI2mmDIC.js} +5 -5
  258. package/dist/chunks/{textarea.component-1B3U7E2O.js.map → textarea.component-bI2mmDIC.js.map} +1 -1
  259. package/dist/chunks/{theme.provider-BM3qjfO8.js → theme.provider-BmGgVgv0.js} +4 -4
  260. package/dist/chunks/{theme.provider-BM3qjfO8.js.map → theme.provider-BmGgVgv0.js.map} +1 -1
  261. package/dist/chunks/{theme.provider-B2ycPYcf.js → theme.provider-C4tVwQeK.js} +181 -180
  262. package/dist/chunks/{theme.provider-B2ycPYcf.js.map → theme.provider-C4tVwQeK.js.map} +1 -1
  263. package/dist/chunks/{timePicker.component-oN8iujB5.js → timePicker.component-DI6_l0os.js} +2 -2
  264. package/dist/chunks/{timePicker.component-oN8iujB5.js.map → timePicker.component-DI6_l0os.js.map} +1 -1
  265. package/dist/chunks/{timePicker.component-C7i3U49Y.js → timePicker.component-DfLcDGEI.js} +8 -8
  266. package/dist/chunks/{timePicker.component-C7i3U49Y.js.map → timePicker.component-DfLcDGEI.js.map} +1 -1
  267. package/dist/chunks/{timeRange.component-XZD-d3X-.js → timeRange.component-BHR6YGkb.js} +2 -2
  268. package/dist/chunks/{timeRange.component-XZD-d3X-.js.map → timeRange.component-BHR6YGkb.js.map} +1 -1
  269. package/dist/chunks/{timeRange.component-BApcir-7.js → timeRange.component-ezG1IHSG.js} +4 -4
  270. package/dist/chunks/{timeRange.component-BApcir-7.js.map → timeRange.component-ezG1IHSG.js.map} +1 -1
  271. package/dist/chunks/{timestamp.component-25Br-GCm.js → timestamp.component-BpaULUVT.js} +3 -3
  272. package/dist/chunks/{timestamp.component-25Br-GCm.js.map → timestamp.component-BpaULUVT.js.map} +1 -1
  273. package/dist/chunks/{timestamp.component-DJZzpqBC.js → timestamp.component-Bw8TF_DO.js} +2 -2
  274. package/dist/chunks/{timestamp.component-DJZzpqBC.js.map → timestamp.component-Bw8TF_DO.js.map} +1 -1
  275. package/dist/chunks/{tooltip.component-Cf_csr_d.js → tooltip.component-DsowDvmZ.js} +2 -2
  276. package/dist/chunks/{tooltip.component-Cf_csr_d.js.map → tooltip.component-DsowDvmZ.js.map} +1 -1
  277. package/dist/chunks/{tooltip.component-CVPBpD3Z.js → tooltip.component-HHJpC9zD.js} +2 -2
  278. package/dist/chunks/{tooltip.component-CVPBpD3Z.js.map → tooltip.component-HHJpC9zD.js.map} +1 -1
  279. package/dist/chunks/{use-field-context-BPsEZCN4.js → use-field-context--wBJQY1R.js} +2 -2
  280. package/dist/chunks/{use-field-context-BPsEZCN4.js.map → use-field-context--wBJQY1R.js.map} +1 -1
  281. package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
  282. package/dist/chunks/{use-locale-context-Cc4BhWV1.js.map → use-locale-context-BdqHZ8L8.js.map} +1 -1
  283. package/dist/chunks/{use-recipe-D7cwXEim.js → use-recipe-B7BYguEn.js} +2 -2
  284. package/dist/chunks/{use-recipe-D7cwXEim.js.map → use-recipe-B7BYguEn.js.map} +1 -1
  285. package/dist/chunks/use-recipe-N0abcau6.js +2 -0
  286. package/dist/chunks/{use-recipe-CkP1U6f2.js.map → use-recipe-N0abcau6.js.map} +1 -1
  287. package/dist/chunks/{use-slot-recipe-Bz5VPIbz.js → use-slot-recipe-BVIotsqX.js} +2 -2
  288. package/dist/chunks/{use-slot-recipe-Bz5VPIbz.js.map → use-slot-recipe-BVIotsqX.js.map} +1 -1
  289. package/dist/chunks/use-slot-recipe-CVO1rwGV.js +2 -0
  290. package/dist/chunks/{use-slot-recipe-ClRnqDPf.js.map → use-slot-recipe-CVO1rwGV.js.map} +1 -1
  291. package/dist/chunks/v-stack-Cx_7x3kH.js +2 -0
  292. package/dist/chunks/{v-stack-By2b5ZVX.js.map → v-stack-Cx_7x3kH.js.map} +1 -1
  293. package/dist/chunks/{v-stack-C_EMZ8cL.js → v-stack-IBysx2n3.js} +2 -2
  294. package/dist/chunks/{v-stack-C_EMZ8cL.js.map → v-stack-IBysx2n3.js.map} +1 -1
  295. package/dist/chunks/{walk-object-CwdvmBuz.js → walk-object-CzGJH0qy.js} +2 -2
  296. package/dist/chunks/{walk-object-CwdvmBuz.js.map → walk-object-CzGJH0qy.js.map} +1 -1
  297. package/dist/chunks/{walk-object-BQcbPtPs.js → walk-object-DY6qf1jj.js} +2 -2
  298. package/dist/chunks/{walk-object-BQcbPtPs.js.map → walk-object-DY6qf1jj.js.map} +1 -1
  299. package/dist/chunks/withFormControl--_8HmXJB.js +2 -0
  300. package/dist/chunks/{withFormControl-CUnCiP8H.js.map → withFormControl--_8HmXJB.js.map} +1 -1
  301. package/dist/chunks/{withFormControl-DoBnTeb9.js → withFormControl-IvahwTqo.js} +7 -7
  302. package/dist/chunks/{withFormControl-DoBnTeb9.js.map → withFormControl-IvahwTqo.js.map} +1 -1
  303. package/dist/chunks/{withTruncation-CzqmBekU.js → withTruncation-C7erdGm7.js} +2 -2
  304. package/dist/chunks/{withTruncation-CzqmBekU.js.map → withTruncation-C7erdGm7.js.map} +1 -1
  305. package/dist/chunks/{withTruncation-iFpoL9YV.js → withTruncation-Cca8DRk_.js} +3 -3
  306. package/dist/chunks/{withTruncation-iFpoL9YV.js.map → withTruncation-Cca8DRk_.js.map} +1 -1
  307. package/dist/chunks/{wrap-CdWJy79S.js → wrap-Bm3JnXyR.js} +2 -2
  308. package/dist/chunks/{wrap-CdWJy79S.js.map → wrap-Bm3JnXyR.js.map} +1 -1
  309. package/dist/chunks/{wrap-DwAuTaha.js → wrap-DrLrXdlw.js} +3 -3
  310. package/dist/chunks/{wrap-DwAuTaha.js.map → wrap-DrLrXdlw.js.map} +1 -1
  311. package/dist/cjs/chakra/index.cjs +1 -1
  312. package/dist/cjs/chakra/index.cjs.map +1 -1
  313. package/dist/cjs/components/Alert/index.cjs +1 -1
  314. package/dist/cjs/components/Avatar/index.cjs +1 -1
  315. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  316. package/dist/cjs/components/Button/index.cjs +1 -1
  317. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  318. package/dist/cjs/components/Card/index.cjs +1 -1
  319. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  320. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  321. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  322. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  323. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  324. package/dist/cjs/components/Divider/index.cjs +1 -1
  325. package/dist/cjs/components/Heading/index.cjs +1 -1
  326. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  327. package/dist/cjs/components/Icon/index.cjs +1 -1
  328. package/dist/cjs/components/Link/index.cjs +1 -1
  329. package/dist/cjs/components/Logo/generated/index.cjs +1 -1
  330. package/dist/cjs/components/Logo/index.cjs +1 -1
  331. package/dist/cjs/components/Menu/index.cjs +1 -1
  332. package/dist/cjs/components/Modal/index.cjs +1 -1
  333. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  334. package/dist/cjs/components/Picture/index.cjs +1 -1
  335. package/dist/cjs/components/PinInput/index.cjs +1 -1
  336. package/dist/cjs/components/Popover/index.cjs +1 -1
  337. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  338. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  339. package/dist/cjs/components/Select/index.cjs +1 -1
  340. package/dist/cjs/components/SortableList/index.cjs +1 -1
  341. package/dist/cjs/components/Spinner/index.cjs +1 -1
  342. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  343. package/dist/cjs/components/Swatch/index.cjs +1 -1
  344. package/dist/cjs/components/Switch/index.cjs +1 -1
  345. package/dist/cjs/components/Tabs/index.cjs +1 -1
  346. package/dist/cjs/components/Tag/index.cjs +1 -1
  347. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  348. package/dist/cjs/components/Text/index.cjs +1 -1
  349. package/dist/cjs/components/TextInput/index.cjs +1 -1
  350. package/dist/cjs/components/Textarea/index.cjs +1 -1
  351. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  352. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  353. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  354. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  355. package/dist/cjs/components/index.cjs +1 -1
  356. package/dist/cjs/hocs/index.cjs +1 -1
  357. package/dist/cjs/hooks/index.cjs +1 -1
  358. package/dist/cjs/index.cjs +1 -1
  359. package/dist/cjs/theme/index.cjs +1 -1
  360. package/dist/esm/chakra/index.js +21 -21
  361. package/dist/esm/components/Alert/index.js +1 -1
  362. package/dist/esm/components/Avatar/index.js +1 -1
  363. package/dist/esm/components/AvatarGroup/index.js +1 -1
  364. package/dist/esm/components/Button/index.js +1 -1
  365. package/dist/esm/components/ButtonGroup/index.js +1 -1
  366. package/dist/esm/components/Card/index.js +1 -1
  367. package/dist/esm/components/CharacterCounter/index.js +1 -1
  368. package/dist/esm/components/Checkbox/index.js +1 -1
  369. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  370. package/dist/esm/components/ConversationCard/index.js +1 -1
  371. package/dist/esm/components/DatePicker/index.js +1 -1
  372. package/dist/esm/components/Divider/index.js +1 -1
  373. package/dist/esm/components/Heading/index.js +1 -1
  374. package/dist/esm/components/Icon/index.js +1 -1
  375. package/dist/esm/components/Link/index.js +1 -1
  376. package/dist/esm/components/Logo/index.js +1 -1
  377. package/dist/esm/components/Menu/index.js +1 -1
  378. package/dist/esm/components/Modal/index.js +1 -1
  379. package/dist/esm/components/NotificationCounter/index.js +1 -1
  380. package/dist/esm/components/Picture/index.js +1 -1
  381. package/dist/esm/components/PinInput/index.js +1 -1
  382. package/dist/esm/components/Popover/index.js +1 -1
  383. package/dist/esm/components/RadioGroup/index.js +1 -1
  384. package/dist/esm/components/RatingDots/index.js +1 -1
  385. package/dist/esm/components/Select/index.js +1 -1
  386. package/dist/esm/components/SortableList/index.js +1 -1
  387. package/dist/esm/components/Spinner/index.js +1 -1
  388. package/dist/esm/components/StyledAvatar/index.js +1 -1
  389. package/dist/esm/components/Swatch/index.js +1 -1
  390. package/dist/esm/components/Switch/index.js +1 -1
  391. package/dist/esm/components/Tabs/index.js +1 -1
  392. package/dist/esm/components/Tag/index.js +1 -1
  393. package/dist/esm/components/TagBlock/index.js +1 -1
  394. package/dist/esm/components/Text/index.js +1 -1
  395. package/dist/esm/components/TextInput/index.js +1 -1
  396. package/dist/esm/components/Textarea/index.js +1 -1
  397. package/dist/esm/components/TimePicker/index.js +1 -1
  398. package/dist/esm/components/TimeRange/index.js +1 -1
  399. package/dist/esm/components/Timestamp/index.js +1 -1
  400. package/dist/esm/components/Tooltip/index.js +1 -1
  401. package/dist/esm/components/index.js +40 -40
  402. package/dist/esm/hocs/index.js +1 -1
  403. package/dist/esm/index.js +42 -42
  404. package/dist/esm/theme/index.js +1 -1
  405. package/package.json +3 -2
  406. package/dist/chunks/alert.component-CcCt-bb5.js +0 -2
  407. package/dist/chunks/avatar.component-LWnRY2X6.js +0 -2
  408. package/dist/chunks/box-DQTWVrl0.js +0 -7
  409. package/dist/chunks/box-DiiiZkF4.js +0 -2
  410. package/dist/chunks/checkbox.component-CN7VT6Kl.js +0 -2
  411. package/dist/chunks/factory-D5ooFDGK.js +0 -1471
  412. package/dist/chunks/factory-D5ooFDGK.js.map +0 -1
  413. package/dist/chunks/factory-Djhmhla9.js +0 -17
  414. package/dist/chunks/factory-Djhmhla9.js.map +0 -1
  415. package/dist/chunks/h-stack-DS6_Nmps.js +0 -2
  416. package/dist/chunks/heading.component-CVtGEEgj.js +0 -2
  417. package/dist/chunks/icon-button-BoeNBxVE.js +0 -2
  418. package/dist/chunks/index-CsjrqSSN.js +0 -2
  419. package/dist/chunks/index-CsjrqSSN.js.map +0 -1
  420. package/dist/chunks/index-naFRmuBR.js +0 -2
  421. package/dist/chunks/menu.component-CVq3JuDQ.js +0 -2
  422. package/dist/chunks/pinInput.types-BkZoddhj.js +0 -2
  423. package/dist/chunks/popover.component-BU4ZYtgB.js +0 -2
  424. package/dist/chunks/radioGroup.component-AnXOfN3A.js +0 -2
  425. package/dist/chunks/select.component-CtCEglbM.js +0 -2
  426. package/dist/chunks/sortableList.component-Dft-FiMn.js +0 -6
  427. package/dist/chunks/spinner-B981BEf0.js +0 -2
  428. package/dist/chunks/spinner-DUSVCecp.js +0 -8
  429. package/dist/chunks/switch.component-Do0X7LJD.js +0 -2
  430. package/dist/chunks/tagBlock.component-Dj3iPVJy.js +0 -2
  431. package/dist/chunks/text.component-uDfPjmx6.js +0 -2
  432. package/dist/chunks/textInput.component-CEF55yJj.js +0 -2
  433. package/dist/chunks/textarea.component-BVGFuIZC.js +0 -2
  434. package/dist/chunks/use-locale-context-Cc4BhWV1.js +0 -22
  435. package/dist/chunks/use-recipe-CkP1U6f2.js +0 -2
  436. package/dist/chunks/use-slot-recipe-ClRnqDPf.js +0 -2
  437. package/dist/chunks/v-stack-By2b5ZVX.js +0 -2
  438. package/dist/chunks/withFormControl-CUnCiP8H.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"conversationCard.component--lfMn8rH.js","sources":["../../src/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.tsx","../../src/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.tsx","../../src/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.tsx","../../src/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.tsx","../../src/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.tsx","../../src/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.tsx","../../src/components/ConversationCard/conversationCard.component.tsx"],"sourcesContent":["import React from \"react\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Avatar } from \"components/Avatar/avatar.component\";\nimport { Tooltip } from \"components/Tooltip/tooltip.component\";\n\nexport interface ConversationCardAvatarGroupProps {\n avatars: React.ReactNode[];\n max?: number;\n onAvatarGroupClick?: (\n e: React.MouseEvent<HTMLSpanElement, MouseEvent>,\n ) => void;\n tooltipLabel?: string;\n}\n\nexport const ConversationCardAvatarGroup = ({\n avatars,\n max = 1,\n onAvatarGroupClick,\n tooltipLabel,\n}: ConversationCardAvatarGroupProps): React.JSX.Element => {\n return (\n <Tooltip label={tooltipLabel || \"\"} disabled={!tooltipLabel?.length}>\n <Flex\n className=\"ConversationCard__AvatarGroup\"\n alignItems=\"flex-start\"\n justifyContent=\"flex-start\"\n >\n {max && avatars.length > max ? (\n <Avatar\n onClick={(e): void => {\n e.stopPropagation();\n if (onAvatarGroupClick) {\n onAvatarGroupClick(e);\n }\n }}\n cursor=\"pointer\"\n name={avatars.length.toString()}\n showTooltip={false}\n />\n ) : (\n <>{avatars.map((avatar) => avatar)}</>\n )}\n </Flex>\n </Tooltip>\n );\n};\n","import React from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { HStack, VStack } from \"@chakra-ui/react/stack\";\nimport {\n Timestamp,\n TimestampProps,\n} from \"components/Timestamp/timestamp.component\";\nimport { NotificationCounter } from \"components/NotificationCounter/notificationCounter.component\";\nimport { Icon } from \"components/Icon/icon.component\";\nimport { Heading } from \"components/Heading/heading.component\";\nimport { Text } from \"components/Text/text.component\";\nimport {\n ConversationCardAvatarGroup,\n ConversationCardAvatarGroupProps,\n} from \"../ConversationCardAvatarGroup/conversationCardAvatarGroup.component\";\n\nexport interface ConversationCardHeaderProps {\n avatarGroupProps?: ConversationCardAvatarGroupProps;\n showNotificationIndicator?: boolean;\n isCardPinned?: boolean;\n isHoveringCard?: boolean;\n subtitle?: string;\n timestampProps: TimestampProps;\n title: string;\n}\n\nexport const ConversationCardHeader = ({\n avatarGroupProps,\n timestampProps,\n isHoveringCard,\n isCardPinned,\n title,\n showNotificationIndicator,\n subtitle,\n}: ConversationCardHeaderProps): React.JSX.Element => {\n return (\n <HStack\n className=\"ConversationCard__Header\"\n data-testid=\"kibble-conversation-card-header\"\n justify=\"space-between\"\n align=\"flex-start\"\n >\n <HStack\n className=\"ConversationCard__Header--Left\"\n data-testid=\"kibble-conversation-card-header-left\"\n cursor=\"pointer\"\n >\n {avatarGroupProps && (\n <ConversationCardAvatarGroup\n {...avatarGroupProps}\n tooltipLabel={avatarGroupProps?.tooltipLabel || title}\n />\n )}\n <VStack\n className=\"ConversationCard__HeaderText\"\n data-testid=\"kibble-conversation-card-header-text\"\n justify=\"center\"\n align=\"left\"\n gap=\"0\"\n >\n <Heading\n className=\"ConversationCard__HeaderText--Title\"\n data-testid=\"kibble-conversation-card-header-title\"\n size=\"sm\"\n truncated\n >\n {title}\n </Heading>\n {subtitle && (\n <Text\n className=\"ConversationCard__HeaderText--Subtitle\"\n data-testid=\"kibble-conversation-card-header-subtitle\"\n as=\"p\"\n size=\"sm\"\n variant=\"subtle\"\n truncated\n >\n {subtitle}\n </Text>\n )}\n </VStack>\n </HStack>\n <HStack\n className=\"ConversationCard__Header--Right\"\n data-testid=\"kibble-conversation-card-header-right\"\n visibility={isHoveringCard ? \"hidden\" : \"visible\"}\n align=\"center\"\n gap={1}\n >\n <Timestamp {...timestampProps} />\n {showNotificationIndicator && (\n <Box\n as=\"span\"\n className=\"ConversationCard__HeaderNotificationCounter\"\n data-testid=\"conversation-card-unread-indicator\"\n >\n <NotificationCounter size=\"xs\" />\n </Box>\n )}\n {isCardPinned && (\n <Flex data-testid=\"conversation-card-pinned-icon\">\n <Icon size=\"md\" variant=\"info\" name=\"pin\" />\n </Flex>\n )}\n </HStack>\n </HStack>\n );\n};\n","import React from \"react\";\nimport { HStack } from \"@chakra-ui/react/stack\";\nimport { Button } from \"components/Button/button.component\";\nimport { Icon } from \"components/Icon/icon.component\";\nimport { Menu, MenuProps, MenuItemProps } from \"components/Menu\";\n\nexport interface ConversationCardOverlayProps {\n isOpenInOverlay?: boolean;\n onOpenInOverlay: () => void;\n}\n\nexport interface ConversationCardPinProps {\n isPinned?: boolean;\n onTogglePin: (isPinned: boolean) => void;\n}\n\nexport interface ConversationCardButtonsProps {\n overlayProps?: ConversationCardOverlayProps;\n pinProps?: ConversationCardPinProps;\n headerMenuProps?: MenuProps;\n}\n\ninterface ConversationCardButtonsComponentProps\n extends ConversationCardButtonsProps {\n isHovering: boolean;\n setIsHovering: (isHovering: boolean) => void;\n}\n\nexport const ConversationCardButtons = ({\n overlayProps,\n pinProps,\n headerMenuProps,\n isHovering,\n setIsHovering,\n}: ConversationCardButtonsComponentProps): React.JSX.Element => {\n const { isOpenInOverlay, onOpenInOverlay } = overlayProps || {};\n const { isPinned, onTogglePin } = pinProps || {};\n const { listProps } = headerMenuProps || {};\n const pinIconName = isPinned ? \"pinCancel\" : \"pin\";\n\n return (\n <HStack\n className=\"ConversationCard__Menu\"\n data-testid=\"kibble-conversation-card-menu\"\n gap={1}\n >\n {overlayProps && (\n <Button\n className=\"ConversationCard__OverlayButton\"\n data-testid=\"conversation-card-overlay-icon-button\"\n variant=\"secondarySubtle\"\n borderRadius=\"sm\"\n {...(isOpenInOverlay && { active: true })}\n onClick={(): void => {\n if (onOpenInOverlay) {\n onOpenInOverlay();\n }\n\n if (isHovering) {\n setIsHovering(false);\n }\n }}\n iconName=\"popup\"\n size=\"sm\"\n />\n )}\n {pinProps && (\n <Button\n className=\"ConversationCard__PinButton\"\n data-testid=\"conversation-card-pin-toggle-icon-button\"\n variant={isPinned ? \"secondarySubtleDestructive\" : \"secondarySubtle\"}\n borderRadius=\"sm\"\n onClick={(): void => {\n if (onTogglePin) {\n onTogglePin(!isPinned);\n }\n\n if (isHovering) {\n setIsHovering(false);\n }\n }}\n iconName={pinIconName}\n size=\"sm\"\n />\n )}\n {headerMenuProps && (\n <Menu\n buttonProps={\n headerMenuProps.buttonProps || {\n variant: \"secondarySubtle\",\n size: \"sm\",\n borderRadius: \"sm\",\n iconName: \"dotsVertical\",\n hideCaret: true,\n padding: 0,\n }\n }\n closeOnSelect={false}\n lazyMount\n {...headerMenuProps}\n listProps={{\n ...listProps,\n menuItems: [\n ...(pinProps\n ? [\n {\n \"data-testid\":\n \"conversation-card-pin-toggle-dropdown-button\",\n label: `${isPinned ? \"Unpin\" : \"Pin\"} Conversation`,\n value: \"PinConversation\",\n variant: isPinned ? \"danger\" : \"default\",\n leftElement: (\n <Icon\n size=\"md\"\n variant={isPinned ? \"danger\" : \"default\"}\n name={pinIconName}\n />\n ),\n onSelect: (): void => {\n if (onTogglePin) {\n onTogglePin(!isPinned);\n }\n },\n } as MenuItemProps,\n ]\n : []),\n ...(listProps?.menuItems || []),\n ],\n }}\n />\n )}\n </HStack>\n );\n};\n","import React from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { Wrap, WrapItem } from \"@chakra-ui/react/wrap\";\nimport { Tag, TagProps } from \"components/Tag/tag.component\";\nimport { Tooltip } from \"components/Tooltip/tooltip.component\";\n\nexport type ConversationCardTag = TagProps & {\n tooltipContent?: string;\n};\n\nexport interface ConversationCardTagsProps {\n tags: ConversationCardTag[];\n}\n\nexport const ConversationCardTags = ({\n tags,\n}: ConversationCardTagsProps): React.JSX.Element => {\n return (\n <Box className=\"ConversationCard__Tags\" mt={3}>\n <Wrap gap=\"6px\">\n {tags.map((tag) => {\n const { tooltipContent, ...rest } = tag;\n let tagElement = (\n <Tag {...rest} size=\"sm\" textTransform=\"capitalize\" />\n );\n\n if (tooltipContent) {\n tagElement = (\n <Tooltip label={tooltipContent} placement=\"top\">\n <Box>{tagElement}</Box>\n </Tooltip>\n );\n }\n\n return <WrapItem key={tag.label}>{tagElement}</WrapItem>;\n })}\n </Wrap>\n </Box>\n );\n};\n","import React from \"react\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Icon, IconProps } from \"components/Icon/icon.component\";\nimport { Text, TextProps } from \"components/Text/text.component\";\n\nexport interface ConversationCardFooterProps {\n iconProps?: IconProps;\n content: React.ReactNode;\n contentProps?: Omit<TextProps, \"children\">;\n}\n\nexport const ConversationCardFooter = ({\n iconProps,\n content,\n contentProps,\n}: ConversationCardFooterProps): React.JSX.Element => {\n const _content =\n typeof content === \"string\" ? (\n <Text\n className=\"ConversationCard__FooterMessage\"\n data-testid=\"kibble-conversation-card-footer-message\"\n as=\"p\"\n size=\"sm\"\n variant=\"subtle\"\n {...contentProps}\n {...(iconProps && { ml: 1 })}\n >\n {content}\n </Text>\n ) : (\n content\n );\n return (\n <Flex\n className=\"ConversationCard__Footer\"\n data-testid=\"kibble-conversation-card-footer\"\n mt={3}\n alignItems=\"center\"\n >\n {iconProps && <Icon size=\"sm\" variant=\"subtle\" {...iconProps} />}\n {_content}\n </Flex>\n );\n};\n","import React from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { HStack } from \"@chakra-ui/react/stack\";\nimport { Text, TextProps } from \"components/Text/text.component\";\n\nexport interface ConversationCardContentProps {\n content?: React.ReactNode;\n contentProps?: Omit<TextProps, \"children\">;\n contentMenu?: React.ReactNode;\n}\n\nexport const ConversationCardContent = ({\n contentMenu,\n content,\n contentProps,\n}: ConversationCardContentProps): React.JSX.Element => {\n const _content =\n typeof content === \"string\" ? (\n <Text\n className=\"ConversationCard__Content\"\n data-testid=\"kibble-conversation-card-content\"\n truncated\n size=\"sm\"\n {...contentProps}\n >\n {content}\n </Text>\n ) : (\n content\n );\n\n return (\n <HStack\n className=\"ConversationCard__ContentContainer\"\n data-testid=\"kibble-conversation-card-content-container\"\n mt={3}\n justifyContent=\"space-between\"\n alignItems=\"center\"\n >\n {_content}\n {contentMenu && (\n <Box\n className=\"ConversationCard__ContentMenu\"\n data-testid=\"kibble-conversation-card-content-menu\"\n ml=\"auto\"\n >\n {contentMenu}\n </Box>\n )}\n </HStack>\n );\n};\n","import React, { useState } from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { Card } from \"components/Card/card.component\";\nimport { MenuProps } from \"components/Menu/menu.component\";\nimport {\n ConversationCardHeader,\n ConversationCardHeaderProps,\n} from \"./components/ConversationCardHeader/conversationCardHeader.component\";\nimport {\n ConversationCardButtons,\n ConversationCardOverlayProps,\n ConversationCardPinProps,\n} from \"./components/ConversationCardButtons/conversationCardButtons.component\";\nimport {\n ConversationCardTag,\n ConversationCardTags,\n} from \"./components/ConversationCardTags/conversationCardTags.component\";\nimport {\n ConversationCardFooter,\n ConversationCardFooterProps,\n} from \"./components/ConversationCardFooter/conversationCardFooter.component\";\nimport {\n ConversationCardContent,\n ConversationCardContentProps,\n} from \"./components/ConversationCardContent/conversationCardContent.component\";\nimport { ConversationCardAvatarGroupProps } from \"./components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component\";\n\nexport interface ConversationCardProps extends ConversationCardContentProps {\n allowHoverActions?: boolean;\n avatarGroupProps?: ConversationCardAvatarGroupProps;\n footerProps?: ConversationCardFooterProps;\n headerMenuProps?: MenuProps;\n headerProps: ConversationCardHeaderProps;\n active?: boolean;\n onClick?: () => void;\n overlayProps?: ConversationCardOverlayProps;\n pinProps?: ConversationCardPinProps;\n shouldPreservePosition?: boolean;\n showNotificationIndicator?: boolean;\n tags?: ConversationCardTag[];\n}\n\nexport const ConversationCard = ({\n allowHoverActions = true,\n avatarGroupProps,\n content,\n contentProps,\n contentMenu,\n footerProps,\n headerMenuProps,\n headerProps,\n active,\n onClick,\n overlayProps,\n pinProps,\n shouldPreservePosition = false,\n showNotificationIndicator,\n tags,\n}: ConversationCardProps): React.JSX.Element => {\n const { isPinned } = pinProps || {};\n const [isHovering, setIsHovering] = useState(false);\n\n return (\n <Card\n className=\"ConversationCard\"\n id=\"conversation-card-item\"\n data-testid=\"kibble-conversation-card\"\n interactive\n active={active}\n size=\"sm\"\n fullWidth\n onClick={(): void => {\n if (onClick) {\n onClick();\n }\n }}\n bg={\n showNotificationIndicator || active || isHovering\n ? \"background.default\"\n : \"background.alphaContrast.pressed\"\n }\n onMouseEnter={(): void => {\n if (allowHoverActions) {\n setIsHovering(true);\n }\n }}\n onMouseLeave={(): void => setIsHovering(false)}\n pos=\"relative\"\n css={{ overflowAnchor: shouldPreservePosition ? \"auto\" : \"none\" }}\n >\n {isHovering && (\n <Box\n className=\"ConversationCard__Menu--Container\"\n data-testid=\"kibble-conversation-card-menu-container\"\n pos=\"absolute\"\n top={2}\n zIndex=\"banner\"\n right={2}\n bg=\"background\"\n borderRadius=\"md\"\n onClick={(e): void => e.stopPropagation()}\n >\n <ConversationCardButtons\n overlayProps={overlayProps}\n pinProps={pinProps}\n headerMenuProps={headerMenuProps}\n isHovering={isHovering}\n setIsHovering={setIsHovering}\n />\n </Box>\n )}\n <ConversationCardHeader\n avatarGroupProps={avatarGroupProps}\n isHoveringCard={isHovering}\n isCardPinned={isPinned}\n showNotificationIndicator={showNotificationIndicator}\n {...headerProps}\n />\n <ConversationCardContent\n content={content}\n contentProps={contentProps}\n contentMenu={contentMenu}\n />\n {!!tags?.length && <ConversationCardTags tags={tags} />}\n {footerProps && <ConversationCardFooter {...footerProps} />}\n </Card>\n );\n};\n"],"names":["ConversationCardAvatarGroup","avatars","max","onAvatarGroupClick","tooltipLabel","jsx","Tooltip","Flex","Avatar","e","Fragment","avatar","ConversationCardHeader","avatarGroupProps","timestampProps","isHoveringCard","isCardPinned","title","showNotificationIndicator","subtitle","jsxs","HStack","VStack","Heading","Text","Timestamp","Box","NotificationCounter","Icon","ConversationCardButtons","overlayProps","pinProps","headerMenuProps","isHovering","setIsHovering","isOpenInOverlay","onOpenInOverlay","isPinned","onTogglePin","listProps","pinIconName","Button","Menu","ConversationCardTags","tags","Wrap","tag","tooltipContent","rest","tagElement","Tag","WrapItem","ConversationCardFooter","iconProps","content","contentProps","_content","ConversationCardContent","contentMenu","ConversationCard","allowHoverActions","footerProps","headerProps","active","onClick","shouldPreservePosition","useState","Card"],"mappings":"6tBAcaA,EAA8B,CAAC,CAC1C,QAAAC,EACA,IAAAC,EAAM,EACN,mBAAAC,EACA,aAAAC,CACF,IAEIC,wBAACC,EAAAA,SAAQ,MAAOF,GAAgB,GAAI,SAAU,CAACA,GAAc,OAC3D,SAAAC,EAAA,kBAAA,IAACE,EAAA,KAAA,CACC,UAAU,gCACV,WAAW,aACX,eAAe,aAEd,SAAAL,GAAOD,EAAQ,OAASC,EACvBG,EAAA,kBAAA,IAACG,EAAA,OAAA,CACC,QAAUC,GAAY,CACpBA,EAAE,gBAAgB,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,EAAIgC,EAAAA,SAAS,EAAK,EAGhD,OAAA9C,EAAA,kBAAA,KAAC+C,EAAA,KAAA,CACC,UAAU,mBACV,GAAG,yBACH,cAAY,2BACZ,YAAW,GACX,OAAAJ,EACA,KAAK,KACL,UAAS,GACT,QAAS,IAAY,CACfC,GACMA,EAAA,CAEZ,EACA,GACE9C,GAA6B6C,GAAU9B,EACnC,qBACA,mCAEN,aAAc,IAAY,CACpB2B,GACF1B,EAAc,EAAI,CAEtB,EACA,aAAc,IAAYA,EAAc,EAAK,EAC7C,IAAI,WACJ,IAAK,CAAE,eAAgB+B,EAAyB,OAAS,MAAO,EAE/D,SAAA,CACChC,GAAA5B,EAAA,kBAAA,IAACqB,EAAA,IAAA,CACC,UAAU,oCACV,cAAY,0CACZ,IAAI,WACJ,IAAK,EACL,OAAO,SACP,MAAO,EACP,GAAG,aACH,aAAa,KACb,QAAUjB,GAAYA,EAAE,gBAAgB,EAExC,SAAAJ,EAAA,kBAAA,IAACwB,EAAA,CACC,aAAAC,EACA,SAAAC,EACA,gBAAAC,EACA,WAAAC,EACA,cAAAC,CAAA,CAAA,CACF,CACF,EAEF7B,EAAA,kBAAA,IAACO,EAAA,CACC,iBAAAC,EACA,eAAgBoB,EAChB,aAAcI,EACd,0BAAAnB,EACC,GAAG4C,CAAA,CACN,EACAzD,EAAA,kBAAA,IAACoD,EAAA,CACC,QAAAH,EACA,aAAAC,EACA,YAAAG,CAAA,CACF,EACC,CAAC,CAACd,GAAM,QAAUvC,EAAA,kBAAA,IAACsC,GAAqB,KAAAC,EAAY,EACpDiB,GAAexD,EAAA,kBAAA,IAAC+C,EAAwB,CAAA,GAAGS,CAAa,CAAA,CAAA,CAAA,CAC3D,CAEJ"}
1
+ {"version":3,"file":"conversationCard.component-DAHw_xas.js","sources":["../../src/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.tsx","../../src/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.tsx","../../src/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.tsx","../../src/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.tsx","../../src/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.tsx","../../src/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.tsx","../../src/components/ConversationCard/conversationCard.component.tsx"],"sourcesContent":["import React from \"react\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Avatar } from \"components/Avatar/avatar.component\";\nimport { Tooltip } from \"components/Tooltip/tooltip.component\";\n\nexport interface ConversationCardAvatarGroupProps {\n avatars: React.ReactNode[];\n max?: number;\n onAvatarGroupClick?: (\n e: React.MouseEvent<HTMLSpanElement, MouseEvent>,\n ) => void;\n tooltipLabel?: string;\n}\n\nexport const ConversationCardAvatarGroup = ({\n avatars,\n max = 1,\n onAvatarGroupClick,\n tooltipLabel,\n}: ConversationCardAvatarGroupProps): React.JSX.Element => {\n return (\n <Tooltip label={tooltipLabel || \"\"} disabled={!tooltipLabel?.length}>\n <Flex\n className=\"ConversationCard__AvatarGroup\"\n alignItems=\"flex-start\"\n justifyContent=\"flex-start\"\n >\n {max && avatars.length > max ? (\n <Avatar\n onClick={(e): void => {\n e.stopPropagation();\n if (onAvatarGroupClick) {\n onAvatarGroupClick(e);\n }\n }}\n cursor=\"pointer\"\n name={avatars.length.toString()}\n showTooltip={false}\n />\n ) : (\n <>{avatars.map((avatar) => avatar)}</>\n )}\n </Flex>\n </Tooltip>\n );\n};\n","import React from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { HStack, VStack } from \"@chakra-ui/react/stack\";\nimport {\n Timestamp,\n TimestampProps,\n} from \"components/Timestamp/timestamp.component\";\nimport { NotificationCounter } from \"components/NotificationCounter/notificationCounter.component\";\nimport { Icon } from \"components/Icon/icon.component\";\nimport { Heading } from \"components/Heading/heading.component\";\nimport { Text } from \"components/Text/text.component\";\nimport {\n ConversationCardAvatarGroup,\n ConversationCardAvatarGroupProps,\n} from \"../ConversationCardAvatarGroup/conversationCardAvatarGroup.component\";\n\nexport interface ConversationCardHeaderProps {\n avatarGroupProps?: ConversationCardAvatarGroupProps;\n showNotificationIndicator?: boolean;\n isCardPinned?: boolean;\n isHoveringCard?: boolean;\n subtitle?: string;\n timestampProps: TimestampProps;\n title: string;\n}\n\nexport const ConversationCardHeader = ({\n avatarGroupProps,\n timestampProps,\n isHoveringCard,\n isCardPinned,\n title,\n showNotificationIndicator,\n subtitle,\n}: ConversationCardHeaderProps): React.JSX.Element => {\n return (\n <HStack\n className=\"ConversationCard__Header\"\n data-testid=\"kibble-conversation-card-header\"\n justify=\"space-between\"\n align=\"flex-start\"\n >\n <HStack\n className=\"ConversationCard__Header--Left\"\n data-testid=\"kibble-conversation-card-header-left\"\n cursor=\"pointer\"\n >\n {avatarGroupProps && (\n <ConversationCardAvatarGroup\n {...avatarGroupProps}\n tooltipLabel={avatarGroupProps?.tooltipLabel || title}\n />\n )}\n <VStack\n className=\"ConversationCard__HeaderText\"\n data-testid=\"kibble-conversation-card-header-text\"\n justify=\"center\"\n align=\"left\"\n gap=\"0\"\n >\n <Heading\n className=\"ConversationCard__HeaderText--Title\"\n data-testid=\"kibble-conversation-card-header-title\"\n size=\"sm\"\n truncated\n >\n {title}\n </Heading>\n {subtitle && (\n <Text\n className=\"ConversationCard__HeaderText--Subtitle\"\n data-testid=\"kibble-conversation-card-header-subtitle\"\n as=\"p\"\n size=\"sm\"\n variant=\"subtle\"\n truncated\n >\n {subtitle}\n </Text>\n )}\n </VStack>\n </HStack>\n <HStack\n className=\"ConversationCard__Header--Right\"\n data-testid=\"kibble-conversation-card-header-right\"\n visibility={isHoveringCard ? \"hidden\" : \"visible\"}\n align=\"center\"\n gap={1}\n >\n <Timestamp {...timestampProps} />\n {showNotificationIndicator && (\n <Box\n as=\"span\"\n className=\"ConversationCard__HeaderNotificationCounter\"\n data-testid=\"conversation-card-unread-indicator\"\n >\n <NotificationCounter size=\"xs\" />\n </Box>\n )}\n {isCardPinned && (\n <Flex data-testid=\"conversation-card-pinned-icon\">\n <Icon size=\"md\" variant=\"info\" name=\"pin\" />\n </Flex>\n )}\n </HStack>\n </HStack>\n );\n};\n","import React from \"react\";\nimport { HStack } from \"@chakra-ui/react/stack\";\nimport { Button } from \"components/Button/button.component\";\nimport { Icon } from \"components/Icon/icon.component\";\nimport { Menu, MenuProps, MenuItemProps } from \"components/Menu\";\n\nexport interface ConversationCardOverlayProps {\n isOpenInOverlay?: boolean;\n onOpenInOverlay: () => void;\n}\n\nexport interface ConversationCardPinProps {\n isPinned?: boolean;\n onTogglePin: (isPinned: boolean) => void;\n}\n\nexport interface ConversationCardButtonsProps {\n overlayProps?: ConversationCardOverlayProps;\n pinProps?: ConversationCardPinProps;\n headerMenuProps?: MenuProps;\n}\n\ninterface ConversationCardButtonsComponentProps\n extends ConversationCardButtonsProps {\n isHovering: boolean;\n setIsHovering: (isHovering: boolean) => void;\n}\n\nexport const ConversationCardButtons = ({\n overlayProps,\n pinProps,\n headerMenuProps,\n isHovering,\n setIsHovering,\n}: ConversationCardButtonsComponentProps): React.JSX.Element => {\n const { isOpenInOverlay, onOpenInOverlay } = overlayProps || {};\n const { isPinned, onTogglePin } = pinProps || {};\n const { listProps } = headerMenuProps || {};\n const pinIconName = isPinned ? \"pinCancel\" : \"pin\";\n\n return (\n <HStack\n className=\"ConversationCard__Menu\"\n data-testid=\"kibble-conversation-card-menu\"\n gap={1}\n >\n {overlayProps && (\n <Button\n className=\"ConversationCard__OverlayButton\"\n data-testid=\"conversation-card-overlay-icon-button\"\n variant=\"secondarySubtle\"\n borderRadius=\"sm\"\n {...(isOpenInOverlay && { active: true })}\n onClick={(): void => {\n if (onOpenInOverlay) {\n onOpenInOverlay();\n }\n\n if (isHovering) {\n setIsHovering(false);\n }\n }}\n iconName=\"popup\"\n size=\"sm\"\n />\n )}\n {pinProps && (\n <Button\n className=\"ConversationCard__PinButton\"\n data-testid=\"conversation-card-pin-toggle-icon-button\"\n variant={isPinned ? \"secondarySubtleDestructive\" : \"secondarySubtle\"}\n borderRadius=\"sm\"\n onClick={(): void => {\n if (onTogglePin) {\n onTogglePin(!isPinned);\n }\n\n if (isHovering) {\n setIsHovering(false);\n }\n }}\n iconName={pinIconName}\n size=\"sm\"\n />\n )}\n {headerMenuProps && (\n <Menu\n buttonProps={\n headerMenuProps.buttonProps || {\n variant: \"secondarySubtle\",\n size: \"sm\",\n borderRadius: \"sm\",\n iconName: \"dotsVertical\",\n hideCaret: true,\n padding: 0,\n }\n }\n closeOnSelect={false}\n lazyMount\n {...headerMenuProps}\n listProps={{\n ...listProps,\n menuItems: [\n ...(pinProps\n ? [\n {\n \"data-testid\":\n \"conversation-card-pin-toggle-dropdown-button\",\n label: `${isPinned ? \"Unpin\" : \"Pin\"} Conversation`,\n value: \"PinConversation\",\n variant: isPinned ? \"danger\" : \"default\",\n leftElement: (\n <Icon\n size=\"md\"\n variant={isPinned ? \"danger\" : \"default\"}\n name={pinIconName}\n />\n ),\n onSelect: (): void => {\n if (onTogglePin) {\n onTogglePin(!isPinned);\n }\n },\n } as MenuItemProps,\n ]\n : []),\n ...(listProps?.menuItems || []),\n ],\n }}\n />\n )}\n </HStack>\n );\n};\n","import React from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { Wrap, WrapItem } from \"@chakra-ui/react/wrap\";\nimport { Tag, TagProps } from \"components/Tag/tag.component\";\nimport { Tooltip } from \"components/Tooltip/tooltip.component\";\n\nexport type ConversationCardTag = TagProps & {\n tooltipContent?: string;\n};\n\nexport interface ConversationCardTagsProps {\n tags: ConversationCardTag[];\n}\n\nexport const ConversationCardTags = ({\n tags,\n}: ConversationCardTagsProps): React.JSX.Element => {\n return (\n <Box className=\"ConversationCard__Tags\" mt={3}>\n <Wrap gap=\"6px\">\n {tags.map((tag) => {\n const { tooltipContent, ...rest } = tag;\n let tagElement = (\n <Tag {...rest} size=\"sm\" textTransform=\"capitalize\" />\n );\n\n if (tooltipContent) {\n tagElement = (\n <Tooltip label={tooltipContent} placement=\"top\">\n <Box>{tagElement}</Box>\n </Tooltip>\n );\n }\n\n return <WrapItem key={tag.label}>{tagElement}</WrapItem>;\n })}\n </Wrap>\n </Box>\n );\n};\n","import React from \"react\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Icon, IconProps } from \"components/Icon/icon.component\";\nimport { Text, TextProps } from \"components/Text/text.component\";\n\nexport interface ConversationCardFooterProps {\n iconProps?: IconProps;\n content: React.ReactNode;\n contentProps?: Omit<TextProps, \"children\">;\n}\n\nexport const ConversationCardFooter = ({\n iconProps,\n content,\n contentProps,\n}: ConversationCardFooterProps): React.JSX.Element => {\n const _content =\n typeof content === \"string\" ? (\n <Text\n className=\"ConversationCard__FooterMessage\"\n data-testid=\"kibble-conversation-card-footer-message\"\n as=\"p\"\n size=\"sm\"\n variant=\"subtle\"\n {...contentProps}\n {...(iconProps && { ml: 1 })}\n >\n {content}\n </Text>\n ) : (\n content\n );\n return (\n <Flex\n className=\"ConversationCard__Footer\"\n data-testid=\"kibble-conversation-card-footer\"\n mt={3}\n alignItems=\"center\"\n >\n {iconProps && <Icon size=\"sm\" variant=\"subtle\" {...iconProps} />}\n {_content}\n </Flex>\n );\n};\n","import React from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { HStack } from \"@chakra-ui/react/stack\";\nimport { Text, TextProps } from \"components/Text/text.component\";\n\nexport interface ConversationCardContentProps {\n content?: React.ReactNode;\n contentProps?: Omit<TextProps, \"children\">;\n contentMenu?: React.ReactNode;\n}\n\nexport const ConversationCardContent = ({\n contentMenu,\n content,\n contentProps,\n}: ConversationCardContentProps): React.JSX.Element => {\n const _content =\n typeof content === \"string\" ? (\n <Text\n className=\"ConversationCard__Content\"\n data-testid=\"kibble-conversation-card-content\"\n truncated\n size=\"sm\"\n {...contentProps}\n >\n {content}\n </Text>\n ) : (\n content\n );\n\n return (\n <HStack\n className=\"ConversationCard__ContentContainer\"\n data-testid=\"kibble-conversation-card-content-container\"\n mt={3}\n justifyContent=\"space-between\"\n alignItems=\"center\"\n >\n {_content}\n {contentMenu && (\n <Box\n className=\"ConversationCard__ContentMenu\"\n data-testid=\"kibble-conversation-card-content-menu\"\n ml=\"auto\"\n >\n {contentMenu}\n </Box>\n )}\n </HStack>\n );\n};\n","import React, { useState } from \"react\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { Card } from \"components/Card/card.component\";\nimport { MenuProps } from \"components/Menu/menu.component\";\nimport {\n ConversationCardHeader,\n ConversationCardHeaderProps,\n} from \"./components/ConversationCardHeader/conversationCardHeader.component\";\nimport {\n ConversationCardButtons,\n ConversationCardOverlayProps,\n ConversationCardPinProps,\n} from \"./components/ConversationCardButtons/conversationCardButtons.component\";\nimport {\n ConversationCardTag,\n ConversationCardTags,\n} from \"./components/ConversationCardTags/conversationCardTags.component\";\nimport {\n ConversationCardFooter,\n ConversationCardFooterProps,\n} from \"./components/ConversationCardFooter/conversationCardFooter.component\";\nimport {\n ConversationCardContent,\n ConversationCardContentProps,\n} from \"./components/ConversationCardContent/conversationCardContent.component\";\nimport { ConversationCardAvatarGroupProps } from \"./components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component\";\n\nexport interface ConversationCardProps extends ConversationCardContentProps {\n allowHoverActions?: boolean;\n avatarGroupProps?: ConversationCardAvatarGroupProps;\n footerProps?: ConversationCardFooterProps;\n headerMenuProps?: MenuProps;\n headerProps: ConversationCardHeaderProps;\n active?: boolean;\n onClick?: () => void;\n overlayProps?: ConversationCardOverlayProps;\n pinProps?: ConversationCardPinProps;\n shouldPreservePosition?: boolean;\n showNotificationIndicator?: boolean;\n tags?: ConversationCardTag[];\n}\n\nexport const ConversationCard = ({\n allowHoverActions = true,\n avatarGroupProps,\n content,\n contentProps,\n contentMenu,\n footerProps,\n headerMenuProps,\n headerProps,\n active,\n onClick,\n overlayProps,\n pinProps,\n shouldPreservePosition = false,\n showNotificationIndicator,\n tags,\n}: ConversationCardProps): React.JSX.Element => {\n const { isPinned } = pinProps || {};\n const [isHovering, setIsHovering] = useState(false);\n\n return (\n <Card\n className=\"ConversationCard\"\n id=\"conversation-card-item\"\n data-testid=\"kibble-conversation-card\"\n interactive\n active={active}\n size=\"sm\"\n fullWidth\n onClick={(): void => {\n if (onClick) {\n onClick();\n }\n }}\n bg={\n showNotificationIndicator || active || isHovering\n ? \"background.default\"\n : \"background.alphaContrast.pressed\"\n }\n onMouseEnter={(): void => {\n if (allowHoverActions) {\n setIsHovering(true);\n }\n }}\n onMouseLeave={(): void => setIsHovering(false)}\n pos=\"relative\"\n css={{ overflowAnchor: shouldPreservePosition ? \"auto\" : \"none\" }}\n >\n {isHovering && (\n <Box\n className=\"ConversationCard__Menu--Container\"\n data-testid=\"kibble-conversation-card-menu-container\"\n pos=\"absolute\"\n top={2}\n zIndex=\"banner\"\n right={2}\n bg=\"background\"\n borderRadius=\"md\"\n onClick={(e): void => e.stopPropagation()}\n >\n <ConversationCardButtons\n overlayProps={overlayProps}\n pinProps={pinProps}\n headerMenuProps={headerMenuProps}\n isHovering={isHovering}\n setIsHovering={setIsHovering}\n />\n </Box>\n )}\n <ConversationCardHeader\n avatarGroupProps={avatarGroupProps}\n isHoveringCard={isHovering}\n isCardPinned={isPinned}\n showNotificationIndicator={showNotificationIndicator}\n {...headerProps}\n />\n <ConversationCardContent\n content={content}\n contentProps={contentProps}\n contentMenu={contentMenu}\n />\n {!!tags?.length && <ConversationCardTags tags={tags} />}\n {footerProps && <ConversationCardFooter {...footerProps} />}\n </Card>\n );\n};\n"],"names":["ConversationCardAvatarGroup","avatars","max","onAvatarGroupClick","tooltipLabel","jsx","Tooltip","Flex","Avatar","e","Fragment","avatar","ConversationCardHeader","avatarGroupProps","timestampProps","isHoveringCard","isCardPinned","title","showNotificationIndicator","subtitle","jsxs","HStack","VStack","Heading","Text","Timestamp","Box","NotificationCounter","Icon","ConversationCardButtons","overlayProps","pinProps","headerMenuProps","isHovering","setIsHovering","isOpenInOverlay","onOpenInOverlay","isPinned","onTogglePin","listProps","pinIconName","Button","Menu","ConversationCardTags","tags","Wrap","tag","tooltipContent","rest","tagElement","Tag","WrapItem","ConversationCardFooter","iconProps","content","contentProps","_content","ConversationCardContent","contentMenu","ConversationCard","allowHoverActions","footerProps","headerProps","active","onClick","shouldPreservePosition","useState","Card"],"mappings":"6tBAcaA,EAA8B,CAAC,CAC1C,QAAAC,EACA,IAAAC,EAAM,EACN,mBAAAC,EACA,aAAAC,CACF,IAEIC,wBAACC,EAAAA,SAAQ,MAAOF,GAAgB,GAAI,SAAU,CAACA,GAAc,OAC3D,SAAAC,EAAA,kBAAA,IAACE,EAAA,KAAA,CACC,UAAU,gCACV,WAAW,aACX,eAAe,aAEd,SAAAL,GAAOD,EAAQ,OAASC,EACvBG,EAAA,kBAAA,IAACG,EAAA,OAAA,CACC,QAAUC,GAAY,CACpBA,EAAE,gBAAgB,EACdN,GACFA,EAAmBM,CAAC,CAExB,EACA,OAAO,UACP,KAAMR,EAAQ,OAAO,SAAS,EAC9B,YAAa,EAAA,CAAA,EAGZI,EAAA,kBAAA,IAAAK,EAAA,kBAAA,SAAA,CAAA,SAAAT,EAAQ,IAAKU,GAAWA,CAAM,CAAE,CAAA,CAAA,CAAA,EAGzC,EChBSC,EAAyB,CAAC,CACrC,iBAAAC,EACA,eAAAC,EACA,eAAAC,EACA,aAAAC,EACA,MAAAC,EACA,0BAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,UAAU,2BACV,cAAY,kCACZ,QAAQ,gBACR,MAAM,aAEN,SAAA,CAAAD,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,UAAU,iCACV,cAAY,uCACZ,OAAO,UAEN,SAAA,CACCR,GAAAR,EAAA,kBAAA,IAACL,EAAA,CACE,GAAGa,EACJ,aAAcA,GAAkB,cAAgBI,CAAA,CAClD,EAEFG,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,UAAU,+BACV,cAAY,uCACZ,QAAQ,SACR,MAAM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CACF,EAEF7B,EAAA,kBAAA,IAACO,EAAA,CACC,iBAAAC,EACA,eAAgBoB,EAChB,aAAcI,EACd,0BAAAnB,EACC,GAAG4C,CAAA,CACN,EACAzD,EAAA,kBAAA,IAACoD,EAAA,CACC,QAAAH,EACA,aAAAC,EACA,YAAAG,CAAA,CACF,EACC,CAAC,CAACd,GAAM,QAAUvC,EAAA,kBAAA,IAACsC,GAAqB,KAAAC,EAAY,EACpDiB,GAAexD,EAAA,kBAAA,IAAC+C,EAAwB,CAAA,GAAGS,CAAa,CAAA,CAAA,CAAA,CAC3D,CAEJ"}
@@ -1,8 +1,8 @@
1
1
  import { j as h } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { useMemo as f, forwardRef as v } from "react";
3
- import { a as S, c as j, m as k, b as w } from "./factory-D5ooFDGK.js";
3
+ import { a as S, c as j, m as k, b as w } from "./factory-gZxMesut.js";
4
4
  import { a as E } from "./empty-BU2EAux9.js";
5
- import { u as g } from "./use-recipe-D7cwXEim.js";
5
+ import { u as g } from "./use-recipe-B7BYguEn.js";
6
6
  const M = (r) => r.charAt(0).toUpperCase() + r.slice(1);
7
7
  function F(r) {
8
8
  const { key: i, recipe: m } = r, l = M(
@@ -58,4 +58,4 @@ function F(r) {
58
58
  export {
59
59
  F as c
60
60
  };
61
- //# sourceMappingURL=create-recipe-context-ei7-Fhjc.js.map
61
+ //# sourceMappingURL=create-recipe-context-BcvaE0iS.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-recipe-context-ei7-Fhjc.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useMemo, forwardRef } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useRecipe } from './use-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nfunction createRecipeContext(options) {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const recipe = useRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => recipe.splitVariantProps(restProps),\n [recipe, restProps]\n );\n const styles = unstyled ? EMPTY_STYLES : recipe(variantProps);\n return {\n styles,\n className: recipe.className,\n props: otherProps\n };\n }\n const withContext = (Component, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(propsContext, inProps),\n [inProps, propsContext]\n );\n const { styles, className, props: localProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...localProps,\n ref,\n css: [styles, props.css],\n className: cx(className, props.className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n function withPropsProvider() {\n return PropsProvider;\n }\n return {\n withContext,\n PropsProvider,\n withPropsProvider,\n usePropsContext,\n useRecipeResult\n };\n}\n\nexport { createRecipeContext };\n"],"names":["upperFirst","str","createRecipeContext","options","recipeKey","recipeConfig","contextName","PropsProvider","usePropsContext","createContext","useRecipeResult","props","unstyled","restProps","recipe","useRecipe","variantProps","otherProps","useMemo","EMPTY_STYLES","withContext","Component","options2","SuperComponent","chakra","StyledComponent","forwardRef","inProps","ref","propsContext","mergeProps","styles","className","localProps","jsx","cx","withPropsProvider"],"mappings":";;;;;AAWA,MAAMA,IAAa,CAACC,MAAQA,EAAI,OAAO,CAAC,EAAE,gBAAgBA,EAAI,MAAM,CAAC;AACrE,SAASC,EAAoBC,GAA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,cAAcJ,EAAU,eAAeA,EAAU,MAC1DI;AAAA,EACR;AACD,WAASW,IAAoB;AAC3B,WAAO7B;AAAA,EACX;AACE,SAAO;AAAA,IACL,aAAAa;AAAA,IACA,eAAAb;AAAA,IACA,mBAAA6B;AAAA,IACA,iBAAA5B;AAAA,IACA,iBAAAE;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"create-recipe-context-BcvaE0iS.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useMemo, forwardRef } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useRecipe } from './use-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nfunction createRecipeContext(options) {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const recipe = useRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => recipe.splitVariantProps(restProps),\n [recipe, restProps]\n );\n const styles = unstyled ? EMPTY_STYLES : recipe(variantProps);\n return {\n styles,\n className: recipe.className,\n props: otherProps\n };\n }\n const withContext = (Component, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(propsContext, inProps),\n [inProps, propsContext]\n );\n const { styles, className, props: localProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...localProps,\n ref,\n css: [styles, props.css],\n className: cx(className, props.className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n function withPropsProvider() {\n return PropsProvider;\n }\n return {\n withContext,\n PropsProvider,\n withPropsProvider,\n usePropsContext,\n useRecipeResult\n };\n}\n\nexport { createRecipeContext };\n"],"names":["upperFirst","str","createRecipeContext","options","recipeKey","recipeConfig","contextName","PropsProvider","usePropsContext","createContext","useRecipeResult","props","unstyled","restProps","recipe","useRecipe","variantProps","otherProps","useMemo","EMPTY_STYLES","withContext","Component","options2","SuperComponent","chakra","StyledComponent","forwardRef","inProps","ref","propsContext","mergeProps","styles","className","localProps","jsx","cx","withPropsProvider"],"mappings":";;;;;AAWA,MAAMA,IAAa,CAACC,MAAQA,EAAI,OAAO,CAAC,EAAE,gBAAgBA,EAAI,MAAM,CAAC;AACrE,SAASC,EAAoBC,GAAS;AACpC,QAAM,EAAE,KAAKC,GAAW,QAAQC,EAAc,IAAGF,GAC3CG,IAAcN;AAAA,IAClBI,KAAaC,EAAa,aAAa;AAAA,EACxC,GACK,CAACE,GAAeC,CAAe,IAAIC,EAAc;AAAA,IACrD,QAAQ;AAAA,IACR,MAAM,GAAGH,CAAW;AAAA,IACpB,cAAc,GAAGA,CAAW;AAAA,EAChC,CAAG;AACD,WAASI,EAAgBC,GAAO;AAC9B,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKF,GAC7BG,IAASC,EAAU;AAAA,MACvB,KAAKX;AAAA,MACL,QAAQS,EAAU,UAAUR;AAAA,IAClC,CAAK,GACK,CAACW,GAAcC,CAAU,IAAIC;AAAA,MACjC,MAAMJ,EAAO,kBAAkBD,CAAS;AAAA,MACxC,CAACC,GAAQD,CAAS;AAAA,IACnB;AAED,WAAO;AAAA,MACL,QAFaD,IAAWO,IAAeL,EAAOE,CAAY;AAAA,MAG1D,WAAWF,EAAO;AAAA,MAClB,OAAOG;AAAA,IACR;AAAA,EACL;AACE,QAAMG,IAAc,CAACC,GAAWC,MAAa;AAC3C,UAAMC,IAAiBC,EAAOH,GAAW,CAAA,GAAIC,CAAQ,GAC/CG,IAAkBC,EAAW,CAACC,GAASC,MAAQ;AACnD,YAAMC,IAAerB,EAAiB,GAChCG,IAAQO;AAAA,QACZ,MAAMY,EAAWD,GAAcF,CAAO;AAAA,QACtC,CAACA,GAASE,CAAY;AAAA,MACvB,GACK,EAAE,QAAAE,GAAQ,WAAAC,GAAW,OAAOC,EAAY,IAAGvB,EAAgBC,CAAK;AACtE,aAAuBuB,gBAAAA,EAAG;AAAA,QACxBX;AAAA,QACA;AAAA,UACE,GAAGU;AAAA,UACH,KAAAL;AAAA,UACA,KAAK,CAACG,GAAQpB,EAAM,GAAG;AAAA,UACvB,WAAWwB,EAAGH,GAAWrB,EAAM,SAAS;AAAA,QAClD;AAAA,MACO;AAAA,IACP,CAAK;AACD,WAAAc,EAAgB,cAAcJ,EAAU,eAAeA,EAAU,MAC1DI;AAAA,EACR;AACD,WAASW,IAAoB;AAC3B,WAAO7B;AAAA,EACX;AACE,SAAO;AAAA,IACL,aAAAa;AAAA,IACA,eAAAb;AAAA,IACA,mBAAA6B;AAAA,IACA,iBAAA5B;AAAA,IACA,iBAAAE;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const q=require("./jsx-runtime-CITbqOLs.js"),u=require("react"),c=require("./factory-Djhmhla9.js"),v=require("./empty-B5_AO6Pg.js"),S=require("./use-recipe-CkP1U6f2.js"),j=r=>r.charAt(0).toUpperCase()+r.slice(1);function k(r){const{key:l,recipe:m}=r,x=j(l||m.className||"Component"),[P,y]=c.createContext({strict:!1,name:`${x}PropsContext`,providerName:`${x}PropsContext`});function C(s){const{unstyled:n,...t}=s,e=S.useRecipe({key:l,recipe:t.recipe||m}),[o,p]=u.useMemo(()=>e.splitVariantProps(t),[e,t]);return{styles:n?v.EMPTY_STYLES:e(o),className:e.className,props:p}}const N=(s,n)=>{const t=c.chakra(s,{},n),e=u.forwardRef((o,p)=>{const a=y(),i=u.useMemo(()=>c.mergeProps(a,o),[o,a]),{styles:d,className:f,props:h}=C(i);return q.jsxRuntimeExports.jsx(t,{...h,ref:p,css:[d,i.css],className:c.cx(f,i.className)})});return e.displayName=s.displayName||s.name,e};function R(){return P}return{withContext:N,PropsProvider:P,withPropsProvider:R,usePropsContext:y,useRecipeResult:C}}exports.createRecipeContext=k;
2
- //# sourceMappingURL=create-recipe-context-yj-_0pxV.js.map
1
+ "use strict";const q=require("./jsx-runtime-BjDatQAs.js"),u=require("react"),c=require("./factory-CkTX_WOU.js"),v=require("./empty-B5_AO6Pg.js"),S=require("./use-recipe-N0abcau6.js"),j=r=>r.charAt(0).toUpperCase()+r.slice(1);function k(r){const{key:l,recipe:m}=r,x=j(l||m.className||"Component"),[P,y]=c.createContext({strict:!1,name:`${x}PropsContext`,providerName:`${x}PropsContext`});function C(s){const{unstyled:n,...t}=s,e=S.useRecipe({key:l,recipe:t.recipe||m}),[o,p]=u.useMemo(()=>e.splitVariantProps(t),[e,t]);return{styles:n?v.EMPTY_STYLES:e(o),className:e.className,props:p}}const N=(s,n)=>{const t=c.chakra(s,{},n),e=u.forwardRef((o,p)=>{const a=y(),i=u.useMemo(()=>c.mergeProps(a,o),[o,a]),{styles:d,className:f,props:h}=C(i);return q.jsxRuntimeExports.jsx(t,{...h,ref:p,css:[d,i.css],className:c.cx(f,i.className)})});return e.displayName=s.displayName||s.name,e};function R(){return P}return{withContext:N,PropsProvider:P,withPropsProvider:R,usePropsContext:y,useRecipeResult:C}}exports.createRecipeContext=k;
2
+ //# sourceMappingURL=create-recipe-context-DdRyhQQD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-recipe-context-yj-_0pxV.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useMemo, forwardRef } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useRecipe } from './use-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nfunction createRecipeContext(options) {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const recipe = useRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => recipe.splitVariantProps(restProps),\n [recipe, restProps]\n );\n const styles = unstyled ? EMPTY_STYLES : recipe(variantProps);\n return {\n styles,\n className: recipe.className,\n props: otherProps\n };\n }\n const withContext = (Component, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(propsContext, inProps),\n [inProps, propsContext]\n );\n const { styles, className, props: localProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...localProps,\n ref,\n css: [styles, props.css],\n className: cx(className, props.className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n function withPropsProvider() {\n return PropsProvider;\n }\n return {\n withContext,\n PropsProvider,\n withPropsProvider,\n usePropsContext,\n useRecipeResult\n };\n}\n\nexport { createRecipeContext };\n"],"names":["upperFirst","str","createRecipeContext","options","recipeKey","recipeConfig","contextName","PropsProvider","usePropsContext","createContext","useRecipeResult","props","unstyled","restProps","recipe","useRecipe","variantProps","otherProps","useMemo","EMPTY_STYLES","withContext","Component","options2","SuperComponent","chakra","StyledComponent","forwardRef","inProps","ref","propsContext","mergeProps","styles","className","localProps","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EAAU,aAAeA,EAAU,KAC1DI,CACR,EACD,SAASW,GAAoB,CAC3B,OAAO7B,CACX,CACE,MAAO,CACL,YAAAa,EACA,cAAAb,EACA,kBAAA6B,EACA,gBAAA5B,EACA,gBAAAE,CACD,CACH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"create-recipe-context-DdRyhQQD.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useMemo, forwardRef } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useRecipe } from './use-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nfunction createRecipeContext(options) {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const recipe = useRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => recipe.splitVariantProps(restProps),\n [recipe, restProps]\n );\n const styles = unstyled ? EMPTY_STYLES : recipe(variantProps);\n return {\n styles,\n className: recipe.className,\n props: otherProps\n };\n }\n const withContext = (Component, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(propsContext, inProps),\n [inProps, propsContext]\n );\n const { styles, className, props: localProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...localProps,\n ref,\n css: [styles, props.css],\n className: cx(className, props.className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n function withPropsProvider() {\n return PropsProvider;\n }\n return {\n withContext,\n PropsProvider,\n withPropsProvider,\n usePropsContext,\n useRecipeResult\n };\n}\n\nexport { createRecipeContext };\n"],"names":["upperFirst","str","createRecipeContext","options","recipeKey","recipeConfig","contextName","PropsProvider","usePropsContext","createContext","useRecipeResult","props","unstyled","restProps","recipe","useRecipe","variantProps","otherProps","useMemo","EMPTY_STYLES","withContext","Component","options2","SuperComponent","chakra","StyledComponent","forwardRef","inProps","ref","propsContext","mergeProps","styles","className","localProps","jsx","cx","withPropsProvider"],"mappings":"uLAWMA,EAAcC,GAAQA,EAAI,OAAO,CAAC,EAAE,cAAgBA,EAAI,MAAM,CAAC,EACrE,SAASC,EAAoBC,EAAS,CACpC,KAAM,CAAE,IAAKC,EAAW,OAAQC,CAAc,EAAGF,EAC3CG,EAAcN,EAClBI,GAAaC,EAAa,WAAa,WACxC,EACK,CAACE,EAAeC,CAAe,EAAIC,gBAAc,CACrD,OAAQ,GACR,KAAM,GAAGH,CAAW,eACpB,aAAc,GAAGA,CAAW,cAChC,CAAG,EACD,SAASI,EAAgBC,EAAO,CAC9B,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKF,EAC7BG,EAASC,EAAAA,UAAU,CACvB,IAAKX,EACL,OAAQS,EAAU,QAAUR,CAClC,CAAK,EACK,CAACW,EAAcC,CAAU,EAAIC,EAAO,QACxC,IAAMJ,EAAO,kBAAkBD,CAAS,EACxC,CAACC,EAAQD,CAAS,CACnB,EAED,MAAO,CACL,OAFaD,EAAWO,eAAeL,EAAOE,CAAY,EAG1D,UAAWF,EAAO,UAClB,MAAOG,CACR,CACL,CACE,MAAMG,EAAc,CAACC,EAAWC,IAAa,CAC3C,MAAMC,EAAiBC,EAAM,OAACH,EAAW,CAAA,EAAIC,CAAQ,EAC/CG,EAAkBC,EAAAA,WAAW,CAACC,EAASC,IAAQ,CACnD,MAAMC,EAAerB,EAAiB,EAChCG,EAAQO,EAAO,QACnB,IAAMY,EAAU,WAACD,EAAcF,CAAO,EACtC,CAACA,EAASE,CAAY,CACvB,EACK,CAAE,OAAAE,EAAQ,UAAAC,EAAW,MAAOC,CAAY,EAAGvB,EAAgBC,CAAK,EACtE,OAAuBuB,EAAG,kBAAA,IACxBX,EACA,CACE,GAAGU,EACH,IAAAL,EACA,IAAK,CAACG,EAAQpB,EAAM,GAAG,EACvB,UAAWwB,EAAE,GAACH,EAAWrB,EAAM,SAAS,CAClD,CACO,CACP,CAAK,EACD,OAAAc,EAAgB,YAAcJ,EAAU,aAAeA,EAAU,KAC1DI,CACR,EACD,SAASW,GAAoB,CAC3B,OAAO7B,CACX,CACE,MAAO,CACL,YAAAa,EACA,cAAAb,EACA,kBAAA6B,EACA,gBAAA5B,EACA,gBAAAE,CACD,CACH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./jsx-runtime-CITbqOLs.js"),m=require("react"),a=require("./factory-Djhmhla9.js"),k=require("./empty-B5_AO6Pg.js"),T=require("./use-slot-recipe-ClRnqDPf.js"),L=x=>x.charAt(0).toUpperCase()+x.slice(1),O=x=>{const{key:S,recipe:f}=x,c=L(S||f.className||"Component"),[N,h]=a.createContext({name:`${c}StylesContext`,errorMessage:`use${c}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${c}.Root />" `}),[R,j]=a.createContext({name:`${c}ClassNameContext`,errorMessage:`use${c}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${c}.Root />" `,strict:!1}),[M,C]=a.createContext({strict:!1,name:`${c}PropsContext`,providerName:`${c}PropsContext`,defaultValue:{}});function P(e){const{unstyled:t,...o}=e,s=T.useSlotRecipe({key:S,recipe:o.recipe||f}),[r,n]=m.useMemo(()=>s.splitVariantProps(o),[o,s]);return{styles:m.useMemo(()=>t?k.EMPTY_SLOT_STYLES:s(r),[t,r,s]),classNames:s.classNameMap,props:n}}function $(e,t={}){const{defaultProps:o}=t,s=r=>{const n=C(),i=m.useMemo(()=>a.mergeProps(o,n,r),[n,r]),{styles:l,classNames:d,props:u}=P(i);return p.jsxRuntimeExports.jsx(N,{value:l,children:p.jsxRuntimeExports.jsx(R,{value:d,children:p.jsxRuntimeExports.jsx(e,{...u})})})};return s.displayName=e.displayName||e.name,s}return{StylesProvider:N,ClassNamesProvider:R,PropsProvider:M,usePropsContext:C,useRecipeResult:P,withProvider:(e,t,o)=>{const{defaultProps:s,...r}=o??{},n=a.chakra(e,{},r),i=m.forwardRef((l,d)=>{const u=C(),y=m.useMemo(()=>a.mergeProps(s??{},u,l),[u,l]),{styles:v,props:g,classNames:w}=P(y),q=w[t],E=p.jsxRuntimeExports.jsx(N,{value:v,children:p.jsxRuntimeExports.jsx(R,{value:w,children:p.jsxRuntimeExports.jsx(n,{ref:d,...g,css:[v[t],y.css],className:a.cx(y.className,q)})})});return o?.wrapElement?.(E,y)??E});return i.displayName=e.displayName||e.name,i},withContext:(e,t,o)=>{const s=a.chakra(e,{},o),r=m.forwardRef((n,i)=>{const l=h(),u=j()?.[t];return p.jsxRuntimeExports.jsx(s,{...n,css:[t?l[t]:void 0,n.css],ref:i,className:a.cx(n.className,u)})});return r.displayName=e.displayName||e.name,r},withRootProvider:$,useStyles:h,useClassNames:j}};exports.createSlotRecipeContext=O;
2
- //# sourceMappingURL=create-slot-recipe-context-CNbTdeS5.js.map
1
+ "use strict";const p=require("./jsx-runtime-BjDatQAs.js"),m=require("react"),a=require("./factory-CkTX_WOU.js"),k=require("./empty-B5_AO6Pg.js"),T=require("./use-slot-recipe-CVO1rwGV.js"),L=x=>x.charAt(0).toUpperCase()+x.slice(1),O=x=>{const{key:S,recipe:f}=x,c=L(S||f.className||"Component"),[N,h]=a.createContext({name:`${c}StylesContext`,errorMessage:`use${c}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${c}.Root />" `}),[R,j]=a.createContext({name:`${c}ClassNameContext`,errorMessage:`use${c}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${c}.Root />" `,strict:!1}),[M,C]=a.createContext({strict:!1,name:`${c}PropsContext`,providerName:`${c}PropsContext`,defaultValue:{}});function P(e){const{unstyled:t,...o}=e,s=T.useSlotRecipe({key:S,recipe:o.recipe||f}),[r,n]=m.useMemo(()=>s.splitVariantProps(o),[o,s]);return{styles:m.useMemo(()=>t?k.EMPTY_SLOT_STYLES:s(r),[t,r,s]),classNames:s.classNameMap,props:n}}function $(e,t={}){const{defaultProps:o}=t,s=r=>{const n=C(),i=m.useMemo(()=>a.mergeProps(o,n,r),[n,r]),{styles:l,classNames:d,props:u}=P(i);return p.jsxRuntimeExports.jsx(N,{value:l,children:p.jsxRuntimeExports.jsx(R,{value:d,children:p.jsxRuntimeExports.jsx(e,{...u})})})};return s.displayName=e.displayName||e.name,s}return{StylesProvider:N,ClassNamesProvider:R,PropsProvider:M,usePropsContext:C,useRecipeResult:P,withProvider:(e,t,o)=>{const{defaultProps:s,...r}=o??{},n=a.chakra(e,{},r),i=m.forwardRef((l,d)=>{const u=C(),y=m.useMemo(()=>a.mergeProps(s??{},u,l),[u,l]),{styles:v,props:g,classNames:w}=P(y),q=w[t],E=p.jsxRuntimeExports.jsx(N,{value:v,children:p.jsxRuntimeExports.jsx(R,{value:w,children:p.jsxRuntimeExports.jsx(n,{ref:d,...g,css:[v[t],y.css],className:a.cx(y.className,q)})})});return o?.wrapElement?.(E,y)??E});return i.displayName=e.displayName||e.name,i},withContext:(e,t,o)=>{const s=a.chakra(e,{},o),r=m.forwardRef((n,i)=>{const l=h(),u=j()?.[t];return p.jsxRuntimeExports.jsx(s,{...n,css:[t?l[t]:void 0,n.css],ref:i,className:a.cx(n.className,u)})});return r.displayName=e.displayName||e.name,r},withRootProvider:$,useStyles:h,useClassNames:j}};exports.createSlotRecipeContext=O;
2
+ //# sourceMappingURL=create-slot-recipe-context-D-pJ8fgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-slot-recipe-context-CNbTdeS5.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-slot-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef, useMemo } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_SLOT_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useSlotRecipe } from './use-slot-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nconst createSlotRecipeContext = (options) => {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [StylesProvider, useStyles] = createContext({\n name: `${contextName}StylesContext`,\n errorMessage: `use${contextName}Styles returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `\n });\n const [ClassNamesProvider, useClassNames] = createContext({\n name: `${contextName}ClassNameContext`,\n errorMessage: `use${contextName}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `,\n strict: false\n });\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`,\n defaultValue: {}\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const slotRecipe = useSlotRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => slotRecipe.splitVariantProps(restProps),\n [restProps, slotRecipe]\n );\n const styles = useMemo(\n () => unstyled ? EMPTY_SLOT_STYLES : slotRecipe(variantProps),\n [unstyled, variantProps, slotRecipe]\n );\n return {\n styles,\n classNames: slotRecipe.classNameMap,\n props: otherProps\n };\n }\n function withRootProvider(Component, options2 = {}) {\n const { defaultProps } = options2;\n const StyledComponent = (inProps) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, classNames, props: rootProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(Component, { ...rootProps }) }) });\n };\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n }\n const withProvider = (Component, slot, options2) => {\n const { defaultProps, ...restOptions } = options2 ?? {};\n const SuperComponent = chakra(Component, {}, restOptions);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps ?? {}, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, props: rootProps, classNames } = useRecipeResult(props);\n const className = classNames[slot];\n const element = /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ref,\n ...rootProps,\n css: [styles[slot], props.css],\n className: cx(props.className, className)\n }\n ) }) });\n return options2?.wrapElement?.(element, props) ?? element;\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n const withContext = (Component, slot, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((props, ref) => {\n const styles = useStyles();\n const classNames = useClassNames();\n const className = classNames?.[slot];\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...props,\n css: [slot ? styles[slot] : void 0, props.css],\n ref,\n className: cx(props.className, className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n return {\n StylesProvider,\n ClassNamesProvider,\n PropsProvider,\n usePropsContext,\n useRecipeResult,\n withProvider,\n withContext,\n withRootProvider,\n useStyles,\n useClassNames\n };\n};\n\nexport { createSlotRecipeContext };\n"],"names":["upperFirst","str","createSlotRecipeContext","options","recipeKey","recipeConfig","contextName","StylesProvider","useStyles","createContext","ClassNamesProvider","useClassNames","PropsProvider","usePropsContext","useRecipeResult","props","unstyled","restProps","slotRecipe","useSlotRecipe","variantProps","otherProps","useMemo","EMPTY_SLOT_STYLES","withRootProvider","Component","options2","defaultProps","StyledComponent","inProps","propsContext","mergeProps","styles","classNames","rootProps","jsx","slot","restOptions","SuperComponent","chakra","forwardRef","ref","className","element","cx"],"mappings":"4LAWMA,EAAcC,GAAQA,EAAI,OAAO,CAAC,EAAE,cAAgBA,EAAI,MAAM,CAAC,EAC/DC,EAA2BC,GAAY,CAC3C,KAAM,CAAE,IAAKC,EAAW,OAAQC,CAAc,EAAGF,EAC3CG,EAAcN,EAClBI,GAAaC,EAAa,WAAa,WACxC,EACK,CAACE,EAAgBC,CAAS,EAAIC,gBAAc,CAChD,KAAM,GAAGH,CAAW,gBACpB,aAAc,MAAMA,CAAW,gFAAgFA,CAAW,YAC9H,CAAG,EACK,CAACI,EAAoBC,CAAa,EAAIF,gBAAc,CACxD,KAAM,GAAGH,CAAW,mBACpB,aAAc,MAAMA,CAAW,oFAAoFA,CAAW,aAC9H,OAAQ,EACZ,CAAG,EACK,CAACM,EAAeC,CAAe,EAAIJ,gBAAc,CACrD,OAAQ,GACR,KAAM,GAAGH,CAAW,eACpB,aAAc,GAAGA,CAAW,eAC5B,aAAc,CAAA,CAClB,CAAG,EACD,SAASQ,EAAgBC,EAAO,CAC9B,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKF,EAC7BG,EAAaC,EAAAA,cAAc,CAC/B,IAAKf,EACL,OAAQa,EAAU,QAAUZ,CAClC,CAAK,EACK,CAACe,EAAcC,CAAU,EAAIC,EAAO,QACxC,IAAMJ,EAAW,kBAAkBD,CAAS,EAC5C,CAACA,EAAWC,CAAU,CACvB,EAKD,MAAO,CACL,OALaI,EAAO,QACpB,IAAMN,EAAWO,EAAAA,kBAAoBL,EAAWE,CAAY,EAC5D,CAACJ,EAAUI,EAAcF,CAAU,CACpC,EAGC,WAAYA,EAAW,aACvB,MAAOG,CACR,CACL,CACE,SAASG,EAAiBC,EAAWC,EAAW,G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AGP,EACH,IAAK,CAACF,EAAOI,CAAI,EAAGrB,EAAM,GAAG,EAC7B,UAAW6B,EAAE,GAAC7B,EAAM,UAAW2B,CAAS,CAClD,CACO,CAAA,CAAE,CAAC,CAAE,EACN,OAAOhB,GAAU,cAAciB,EAAS5B,CAAK,GAAK4B,CACxD,CAAK,EACD,OAAAf,EAAgB,YAAcH,EAAU,aAAeA,EAAU,KAC1DG,CACR,EA2BC,YA1BkB,CAACH,EAAWW,EAAMV,IAAa,CACjD,MAAMY,EAAiBC,EAAM,OAACd,EAAW,CAAA,EAAIC,CAAQ,EAC/CE,EAAkBY,EAAAA,WAAW,CAACzB,EAAO0B,IAAQ,CACjD,MAAMT,EAASxB,EAAW,EAEpBkC,EADa/B,EAAe,IACHyB,CAAI,EACnC,OAAuBD,EAAG,kBAAA,IACxBG,EACA,CACE,GAAGvB,EACH,IAAK,CAACqB,EAAOJ,EAAOI,CAAI,EAAI,OAAQrB,EAAM,GAAG,EAC7C,IAAA0B,EACA,UAAWG,EAAE,GAAC7B,EAAM,UAAW2B,CAAS,CAClD,CACO,CACP,CAAK,EACD,OAAAd,EAAgB,YAAcH,EAAU,aAAeA,EAAU,KAC1DG,CACR,EASC,iBAAAJ,EACA,UAAAhB,EACA,cAAAG,CACD,CACH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"create-slot-recipe-context-D-pJ8fgs.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-slot-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef, useMemo } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_SLOT_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useSlotRecipe } from './use-slot-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nconst createSlotRecipeContext = (options) => {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [StylesProvider, useStyles] = createContext({\n name: `${contextName}StylesContext`,\n errorMessage: `use${contextName}Styles returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `\n });\n const [ClassNamesProvider, useClassNames] = createContext({\n name: `${contextName}ClassNameContext`,\n errorMessage: `use${contextName}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `,\n strict: false\n });\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`,\n defaultValue: {}\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const slotRecipe = useSlotRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => slotRecipe.splitVariantProps(restProps),\n [restProps, slotRecipe]\n );\n const styles = useMemo(\n () => unstyled ? EMPTY_SLOT_STYLES : slotRecipe(variantProps),\n [unstyled, variantProps, slotRecipe]\n );\n return {\n styles,\n classNames: slotRecipe.classNameMap,\n props: otherProps\n };\n }\n function withRootProvider(Component, options2 = {}) {\n const { defaultProps } = options2;\n const StyledComponent = (inProps) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, classNames, props: rootProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(Component, { ...rootProps }) }) });\n };\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n }\n const withProvider = (Component, slot, options2) => {\n const { defaultProps, ...restOptions } = options2 ?? {};\n const SuperComponent = chakra(Component, {}, restOptions);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps ?? {}, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, props: rootProps, classNames } = useRecipeResult(props);\n const className = classNames[slot];\n const element = /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ref,\n ...rootProps,\n css: [styles[slot], props.css],\n className: cx(props.className, className)\n }\n ) }) });\n return options2?.wrapElement?.(element, props) ?? element;\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n const withContext = (Component, slot, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((props, ref) => {\n const styles = useStyles();\n const classNames = useClassNames();\n const className = classNames?.[slot];\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...props,\n css: [slot ? styles[slot] : void 0, props.css],\n ref,\n className: cx(props.className, className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n return {\n StylesProvider,\n ClassNamesProvider,\n PropsProvider,\n usePropsContext,\n useRecipeResult,\n withProvider,\n withContext,\n withRootProvider,\n useStyles,\n useClassNames\n };\n};\n\nexport { createSlotRecipeContext };\n"],"names":["upperFirst","str","createSlotRecipeContext","options","recipeKey","recipeConfig","contextName","StylesProvider","useStyles","createContext","ClassNamesProvider","useClassNames","PropsProvider","usePropsContext","useRecipeResult","props","unstyled","restProps","slotRecipe","useSlotRecipe","variantProps","otherProps","useMemo","EMPTY_SLOT_STYLES","withRootProvider","Component","options2","defaultProps","StyledComponent","inProps","propsContext","mergeProps","styles","classNames","rootProps","jsx","slot","restOptions","SuperComponent","chakra","forwardRef","ref","className","element","cx"],"mappings":"4LAWMA,EAAcC,GAAQA,EAAI,OAAO,CAAC,EAAE,cAAgBA,EAAI,MAAM,CAAC,EAC/DC,EAA2BC,GAAY,CAC3C,KAAM,CAAE,IAAKC,EAAW,OAAQC,CAAc,EAAGF,EAC3CG,EAAcN,EAClBI,GAAa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,EAC/CE,EAAkBY,EAAAA,WAAW,CAACzB,EAAO0B,IAAQ,CACjD,MAAMT,EAASxB,EAAW,EAEpBkC,EADa/B,EAAe,IACHyB,CAAI,EACnC,OAAuBD,EAAG,kBAAA,IACxBG,EACA,CACE,GAAGvB,EACH,IAAK,CAACqB,EAAOJ,EAAOI,CAAI,EAAI,OAAQrB,EAAM,GAAG,EAC7C,IAAA0B,EACA,UAAWG,EAAE,GAAC7B,EAAM,UAAW2B,CAAS,CAClD,CACO,CACP,CAAK,EACD,OAAAd,EAAgB,YAAcH,EAAU,aAAeA,EAAU,KAC1DG,CACR,EASC,iBAAAJ,EACA,UAAAhB,EACA,cAAAG,CACD,CACH","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
1
  import { j as p } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { forwardRef as g, useMemo as N } from "react";
3
- import { a as C, c as E, b as M, m as k } from "./factory-D5ooFDGK.js";
3
+ import { a as C, c as E, b as M, m as k } from "./factory-gZxMesut.js";
4
4
  import { E as Y } from "./empty-BU2EAux9.js";
5
- import { u as _ } from "./use-slot-recipe-Bz5VPIbz.js";
5
+ import { u as _ } from "./use-slot-recipe-BVIotsqX.js";
6
6
  const b = (m) => m.charAt(0).toUpperCase() + m.slice(1), D = (m) => {
7
7
  const { key: S, recipe: h } = m, n = b(
8
8
  S || h.className || "Component"
@@ -93,4 +93,4 @@ const b = (m) => m.charAt(0).toUpperCase() + m.slice(1), D = (m) => {
93
93
  export {
94
94
  D as c
95
95
  };
96
- //# sourceMappingURL=create-slot-recipe-context-B6kmgvsX.js.map
96
+ //# sourceMappingURL=create-slot-recipe-context-DJkLYvCT.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-slot-recipe-context-B6kmgvsX.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-slot-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef, useMemo } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_SLOT_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useSlotRecipe } from './use-slot-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nconst createSlotRecipeContext = (options) => {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [StylesProvider, useStyles] = createContext({\n name: `${contextName}StylesContext`,\n errorMessage: `use${contextName}Styles returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `\n });\n const [ClassNamesProvider, useClassNames] = createContext({\n name: `${contextName}ClassNameContext`,\n errorMessage: `use${contextName}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `,\n strict: false\n });\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`,\n defaultValue: {}\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const slotRecipe = useSlotRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => slotRecipe.splitVariantProps(restProps),\n [restProps, slotRecipe]\n );\n const styles = useMemo(\n () => unstyled ? EMPTY_SLOT_STYLES : slotRecipe(variantProps),\n [unstyled, variantProps, slotRecipe]\n );\n return {\n styles,\n classNames: slotRecipe.classNameMap,\n props: otherProps\n };\n }\n function withRootProvider(Component, options2 = {}) {\n const { defaultProps } = options2;\n const StyledComponent = (inProps) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, classNames, props: rootProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(Component, { ...rootProps }) }) });\n };\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n }\n const withProvider = (Component, slot, options2) => {\n const { defaultProps, ...restOptions } = options2 ?? {};\n const SuperComponent = chakra(Component, {}, restOptions);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps ?? {}, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, props: rootProps, classNames } = useRecipeResult(props);\n const className = classNames[slot];\n const element = /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ref,\n ...rootProps,\n css: [styles[slot], props.css],\n className: cx(props.className, className)\n }\n ) }) });\n return options2?.wrapElement?.(element, props) ?? element;\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n const withContext = (Component, slot, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((props, ref) => {\n const styles = useStyles();\n const classNames = useClassNames();\n const className = classNames?.[slot];\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...props,\n css: [slot ? styles[slot] : void 0, props.css],\n ref,\n className: cx(props.className, className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n return {\n StylesProvider,\n ClassNamesProvider,\n PropsProvider,\n usePropsContext,\n useRecipeResult,\n withProvider,\n withContext,\n withRootProvider,\n useStyles,\n useClassNames\n };\n};\n\nexport { createSlotRecipeContext };\n"],"names":["upperFirst","str","createSlotRecipeContext","options","recipeKey","recipeConfig","contextName","StylesProvider","useStyles","createContext","ClassNamesProvider","useClassNames","PropsProvider","usePropsContext","useRecipeResult","props","unstyled","restProps","slotRecipe","useSlotRecipe","variantProps","otherProps","useMemo","EMPTY_SLOT_STYLES","withRootProvider","Component","options2","defaultProps","StyledComponent","inProps","propsContext","mergeProps","styles","classNames","rootProps","jsx","slot","restOptions","SuperComponent","chakra","forwardRef","ref","className","element","cx"],"mappings":";;;;;AAWA,MAAMA,IAAa,CAACC,MAAQA,EAAI,OAAO,CAAC,EAAE,gBAAgBA,EAAI,MAAM,CAAC,GAC/DC,IAA0B,CAACC,MAAY;AAC3C,QAAM,EAAE,KAAKC,GAAW,QAAQC,EAAc,IAAGF,GAC3CG,IAAcN;AAAA,IAClBI,KAAaC,EAAa,aAAa;AAAA,EACxC,GACK,CAACE,GAAgBC,CAAS,IAAIC,EAAc;AAAA,IAChD,MAAM,GAAGH,CAAW;AAAA,IACpB,cAAc,MAAMA,CAAW,gFAAgFA,CAAW;AAAA,EAC9H,CAAG,GACK,CAACI,GAAoBC,CAAa,IAAIF,EAAc;AAAA,IACxD,MAAM,GAAGH,CAAW;AAAA,IACpB,cAAc,MAAMA,CAAW,oFAAoFA,CAAW;AAAA,IAC9H,QAAQ;AAAA,EACZ,CAAG,GACK,CAACM,GAAeC,CAAe,IAAIJ,EAAc;AAAA,IACrD,QAAQ;AAAA,IACR,MAAM,GAAGH,CAAW;AAAA,IACpB,cAAc,GAAGA,CAAW;AAAA,IAC5B,cAAc,CAAA;AAAA,EAClB,CAAG;AACD,WAASQ,EAAgBC,GAAO;AAC9B,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKF,GAC7BG,IAAaC,EAAc;AAAA,MAC/B,KAAKf;AAAA,MACL,QAAQa,EAAU,UAAUZ;AAAA,IAClC,CAAK,GACK,CAACe,GAAcC,CAAU,IAAIC;AAAA,MACjC,MAAMJ,EAAW,kBAAkBD,CAAS;AAAA,MAC5C,CAACA,GAAWC,CAAU;AAAA,IACvB;AAKD,WAAO;AAAA,MACL,QALaI;AAAA,QACb,MAAMN,IAAWO,IAAoBL,EAAWE,CAAY;AAAA,QAC5D,CAACJ,GAAUI,GAAcF,CAAU;AAAA,MACpC;AAAA,MAGC,YAAYA,EAAW;AAAA,MACvB,OAAOG;AAAA,IACR;AAAA,EACL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A,EAAAA,IAAIzB,GAAoB,EAAE,OAAOuB,GAAY,UAA0BE,gBAAAA,EAAG;AAAA,UACvKG;AAAA,UACA;AAAA,YACE,KAAAG;AAAA,YACA,GAAGP;AAAA,YACH,KAAK,CAACF,EAAOI,CAAI,GAAGrB,EAAM,GAAG;AAAA,YAC7B,WAAW6B,EAAG7B,EAAM,WAAW2B,CAAS;AAAA,UAClD;AAAA,QACO,EAAA,CAAE,EAAC,CAAE;AACN,eAAOhB,GAAU,cAAciB,GAAS5B,CAAK,KAAK4B;AAAA,MACxD,CAAK;AACD,aAAAf,EAAgB,cAAcH,EAAU,eAAeA,EAAU,MAC1DG;AAAA,IACR;AAAA,IA2BC,aA1BkB,CAACH,GAAWW,GAAMV,MAAa;AACjD,YAAMY,IAAiBC,EAAOd,GAAW,CAAA,GAAIC,CAAQ,GAC/CE,IAAkBY,EAAW,CAACzB,GAAO0B,MAAQ;AACjD,cAAMT,IAASxB,EAAW,GAEpBkC,IADa/B,EAAe,IACHyB,CAAI;AACnC,eAAuBD,gBAAAA,EAAG;AAAA,UACxBG;AAAA,UACA;AAAA,YACE,GAAGvB;AAAA,YACH,KAAK,CAACqB,IAAOJ,EAAOI,CAAI,IAAI,QAAQrB,EAAM,GAAG;AAAA,YAC7C,KAAA0B;AAAA,YACA,WAAWG,EAAG7B,EAAM,WAAW2B,CAAS;AAAA,UAClD;AAAA,QACO;AAAA,MACP,CAAK;AACD,aAAAd,EAAgB,cAAcH,EAAU,eAAeA,EAAU,MAC1DG;AAAA,IACR;AAAA,IASC,kBAAAJ;AAAA,IACA,WAAAhB;AAAA,IACA,eAAAG;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"create-slot-recipe-context-DJkLYvCT.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/styled-system/create-slot-recipe-context.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef, useMemo } from 'react';\nimport { createContext } from '../create-context.js';\nimport { mergeProps } from '../merge-props.js';\nimport { cx } from '../utils/cx.js';\nimport { EMPTY_SLOT_STYLES } from './empty.js';\nimport { chakra } from './factory.js';\nimport { useSlotRecipe } from './use-slot-recipe.js';\n\nconst upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nconst createSlotRecipeContext = (options) => {\n const { key: recipeKey, recipe: recipeConfig } = options;\n const contextName = upperFirst(\n recipeKey || recipeConfig.className || \"Component\"\n );\n const [StylesProvider, useStyles] = createContext({\n name: `${contextName}StylesContext`,\n errorMessage: `use${contextName}Styles returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `\n });\n const [ClassNamesProvider, useClassNames] = createContext({\n name: `${contextName}ClassNameContext`,\n errorMessage: `use${contextName}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in \"<${contextName}.Root />\" `,\n strict: false\n });\n const [PropsProvider, usePropsContext] = createContext({\n strict: false,\n name: `${contextName}PropsContext`,\n providerName: `${contextName}PropsContext`,\n defaultValue: {}\n });\n function useRecipeResult(props) {\n const { unstyled, ...restProps } = props;\n const slotRecipe = useSlotRecipe({\n key: recipeKey,\n recipe: restProps.recipe || recipeConfig\n });\n const [variantProps, otherProps] = useMemo(\n () => slotRecipe.splitVariantProps(restProps),\n [restProps, slotRecipe]\n );\n const styles = useMemo(\n () => unstyled ? EMPTY_SLOT_STYLES : slotRecipe(variantProps),\n [unstyled, variantProps, slotRecipe]\n );\n return {\n styles,\n classNames: slotRecipe.classNameMap,\n props: otherProps\n };\n }\n function withRootProvider(Component, options2 = {}) {\n const { defaultProps } = options2;\n const StyledComponent = (inProps) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, classNames, props: rootProps } = useRecipeResult(props);\n return /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(Component, { ...rootProps }) }) });\n };\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n }\n const withProvider = (Component, slot, options2) => {\n const { defaultProps, ...restOptions } = options2 ?? {};\n const SuperComponent = chakra(Component, {}, restOptions);\n const StyledComponent = forwardRef((inProps, ref) => {\n const propsContext = usePropsContext();\n const props = useMemo(\n () => mergeProps(defaultProps ?? {}, propsContext, inProps),\n [propsContext, inProps]\n );\n const { styles, props: rootProps, classNames } = useRecipeResult(props);\n const className = classNames[slot];\n const element = /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ref,\n ...rootProps,\n css: [styles[slot], props.css],\n className: cx(props.className, className)\n }\n ) }) });\n return options2?.wrapElement?.(element, props) ?? element;\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n const withContext = (Component, slot, options2) => {\n const SuperComponent = chakra(Component, {}, options2);\n const StyledComponent = forwardRef((props, ref) => {\n const styles = useStyles();\n const classNames = useClassNames();\n const className = classNames?.[slot];\n return /* @__PURE__ */ jsx(\n SuperComponent,\n {\n ...props,\n css: [slot ? styles[slot] : void 0, props.css],\n ref,\n className: cx(props.className, className)\n }\n );\n });\n StyledComponent.displayName = Component.displayName || Component.name;\n return StyledComponent;\n };\n return {\n StylesProvider,\n ClassNamesProvider,\n PropsProvider,\n usePropsContext,\n useRecipeResult,\n withProvider,\n withContext,\n withRootProvider,\n useStyles,\n useClassNames\n };\n};\n\nexport { createSlotRecipeContext };\n"],"names":["upperFirst","str","createSlotRecipeContext","options","recipeKey","recipeConfig","contextName","StylesProvider","useStyles","createContext","ClassNamesProvider","useClassNames","PropsProvider","usePropsContext","useRecipeResult","props","unstyled","restProps","slotRecipe","useSlotRecipe","variantProps","otherProps","useMemo","EMPTY_SLOT_STYLES","withRootProvider","Component","options2","defaultProps","StyledComponent","inProps","propsContext","mergeProps","styles","classNames","rootProps","jsx","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zB,GAAoB,EAAE,OAAOuB,GAAY,UAA0BE,gBAAAA,EAAG;AAAA,UACvKG;AAAA,UACA;AAAA,YACE,KAAAG;AAAA,YACA,GAAGP;AAAA,YACH,KAAK,CAACF,EAAOI,CAAI,GAAGrB,EAAM,GAAG;AAAA,YAC7B,WAAW6B,EAAG7B,EAAM,WAAW2B,CAAS;AAAA,UAClD;AAAA,QACO,EAAA,CAAE,EAAC,CAAE;AACN,eAAOhB,GAAU,cAAciB,GAAS5B,CAAK,KAAK4B;AAAA,MACxD,CAAK;AACD,aAAAf,EAAgB,cAAcH,EAAU,eAAeA,EAAU,MAC1DG;AAAA,IACR;AAAA,IA2BC,aA1BkB,CAACH,GAAWW,GAAMV,MAAa;AACjD,YAAMY,IAAiBC,EAAOd,GAAW,CAAA,GAAIC,CAAQ,GAC/CE,IAAkBY,EAAW,CAACzB,GAAO0B,MAAQ;AACjD,cAAMT,IAASxB,EAAW,GAEpBkC,IADa/B,EAAe,IACHyB,CAAI;AACnC,eAAuBD,gBAAAA,EAAG;AAAA,UACxBG;AAAA,UACA;AAAA,YACE,GAAGvB;AAAA,YACH,KAAK,CAACqB,IAAOJ,EAAOI,CAAI,IAAI,QAAQrB,EAAM,GAAG;AAAA,YAC7C,KAAA0B;AAAA,YACA,WAAWG,EAAG7B,EAAM,WAAW2B,CAAS;AAAA,UAClD;AAAA,QACO;AAAA,MACP,CAAK;AACD,aAAAd,EAAgB,cAAcH,EAAU,eAAeA,EAAU,MAC1DG;AAAA,IACR;AAAA,IASC,kBAAAJ;AAAA,IACA,WAAAhB;AAAA,IACA,eAAAG;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
@@ -1,19 +1,19 @@
1
1
  import { j as g } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { useState as Ue, useEffect as Dt, useCallback as H, useMemo as ie, createContext as Gt, useContext as Xt, useRef as Ne } from "react";
3
3
  import { t as z, c as se, s as zt, f as fe, i as _t } from "./format-DgHM6wFr.js";
4
- import { l as $t, o as Kt, j as Jt, e as Vt, a as Zt, c as er } from "./popover-NyXIgDrR.js";
5
- import { W as _e } from "./textInput.component-DfqkWsJX.js";
6
- import { I as $e } from "./icon.component-CqMlCLYe.js";
7
- import { W as pt } from "./text.component-ymbS_dRE.js";
4
+ import { l as $t, o as Kt, j as Jt, e as Vt, a as Zt, c as er } from "./popover-Q1b5Ou9h.js";
5
+ import { W as _e } from "./textInput.component-CO6Yc8rV.js";
6
+ import { I as $e } from "./icon.component-BmcWaysM.js";
7
+ import { W as pt } from "./text.component-DHUP6rVA.js";
8
8
  import { u as Qe } from "./popover-root-provider-_dExZRNY.js";
9
- import { H as Ge } from "./h-stack-DWIPFE4q.js";
10
- import { F as Ke } from "./flex-D2YmHSRL.js";
11
- import { B as Ce } from "./button.component-BZHMvNis.js";
12
- import { M as Je } from "./menu.component-D7YIaf-Z.js";
13
- import { C as vt, G as Le, a as tr } from "./grid-item-Demhr3R8.js";
14
- import { a as rr } from "./config-CWIRw37z.js";
15
- import { u as nr } from "./use-slot-recipe-Bz5VPIbz.js";
16
- import { B as Tt } from "./box-DQTWVrl0.js";
9
+ import { H as Ge } from "./h-stack-iIc7vTB3.js";
10
+ import { F as Ke } from "./flex-C2d2LH-K.js";
11
+ import { B as Ce } from "./button.component-BWlRjD5a.js";
12
+ import { M as Je } from "./menu.component-BQ-ffGbb.js";
13
+ import { C as vt, G as Le, a as tr } from "./grid-item-B2mOwD2y.js";
14
+ import { a as rr } from "./config-C4FE-eBu.js";
15
+ import { u as nr } from "./use-slot-recipe-BVIotsqX.js";
16
+ import { B as Tt } from "./box-y05hq0PT.js";
17
17
  import { P as ar } from "./use-locale-context-zakBNK5b.js";
18
18
  var Pe = {
19
19
  lessThanXSeconds: { one: "less than a second", other: "less than {{count}} seconds" },
@@ -3159,4 +3159,4 @@ export {
3159
3159
  to as D,
3160
3160
  Yt as a
3161
3161
  };
3162
- //# sourceMappingURL=datePicker.component-BjPLm6FH.js.map
3162
+ //# sourceMappingURL=datePicker.component-BnyKQvyQ.js.map