@medusajs/dashboard 2.10.4-preview-20250923150206 → 2.10.4-preview-20250923180156

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 (289) hide show
  1. package/dist/{add-campaign-promotions-FE4BXGVN.mjs → add-campaign-promotions-BWIP24MA.mjs} +6 -5
  2. package/dist/{api-key-management-detail-SAVBCKX7.mjs → api-key-management-detail-WGWZQCFC.mjs} +6 -4
  3. package/dist/{api-key-management-list-5DI3L4DV.mjs → api-key-management-list-QAMBWB7T.mjs} +5 -4
  4. package/dist/{api-key-management-sales-channels-WL5L5XWM.mjs → api-key-management-sales-channels-H5TVIHTV.mjs} +3 -2
  5. package/dist/app.css +89 -31
  6. package/dist/app.js +4681 -3651
  7. package/dist/app.mjs +7 -5
  8. package/dist/{campaign-create-AVBNHFC2.mjs → campaign-create-GRKYQY5D.mjs} +3 -2
  9. package/dist/{campaign-detail-KTOLZNTA.mjs → campaign-detail-EJD7LQCW.mjs} +13 -11
  10. package/dist/{campaign-list-G4MD3RPU.mjs → campaign-list-IDPRC2MD.mjs} +6 -5
  11. package/dist/{categories-metadata-GXWJ3HOG.mjs → categories-metadata-JFNWZA5D.mjs} +4 -2
  12. package/dist/{category-create-FOVB5MJ4.mjs → category-create-DJHTY4QX.mjs} +36 -14
  13. package/dist/{category-detail-ENUI5EFL.mjs → category-detail-CL3XCV7E.mjs} +9 -7
  14. package/dist/{category-edit-O4ZSANE5.mjs → category-edit-JQQX7IZZ.mjs} +34 -14
  15. package/dist/{category-list-UI6W5KF5.mjs → category-list-FOCNQKPH.mjs} +5 -4
  16. package/dist/{category-products-ZG5QDWSW.mjs → category-products-UZEG63WY.mjs} +6 -4
  17. package/dist/{chunk-KMUDF36P.mjs → chunk-2252SSK6.mjs} +1 -1
  18. package/dist/{chunk-SMHXCFRS.mjs → chunk-4CGHNQP2.mjs} +28 -15
  19. package/dist/chunk-5U3FFMC7.mjs +84 -0
  20. package/dist/{chunk-JO6QASTJ.mjs → chunk-6RWF7BPW.mjs} +1 -1
  21. package/dist/{chunk-JHXKKOHO.mjs → chunk-7JJTWGHU.mjs} +49 -15
  22. package/dist/{chunk-5WKYR6PY.mjs → chunk-BM5ZIV5V.mjs} +1 -1
  23. package/dist/{chunk-OGHQ6VJI.mjs → chunk-BSBCIU6C.mjs} +0 -5
  24. package/dist/{chunk-IINWRJA6.mjs → chunk-CAZKNJTG.mjs} +316 -266
  25. package/dist/{chunk-2PMSBTXI.mjs → chunk-CD7VQIPA.mjs} +11 -11
  26. package/dist/{chunk-NRBOPOMS.mjs → chunk-CU5EFQSB.mjs} +1 -1
  27. package/dist/{chunk-J5E7MQSS.mjs → chunk-CY33DS7K.mjs} +6 -0
  28. package/dist/{chunk-7VJK6HNE.mjs → chunk-EYL2JACT.mjs} +4 -4
  29. package/dist/{chunk-R2NWOCML.mjs → chunk-FUQ27NT5.mjs} +7 -1
  30. package/dist/{chunk-74K7HGNI.mjs → chunk-FXG2Z3QT.mjs} +3 -2
  31. package/dist/{chunk-2RQLKDBF.mjs → chunk-GIZFNLKK.mjs} +103 -96
  32. package/dist/{chunk-AOFGTNG6.mjs → chunk-HQKGZADC.mjs} +6 -1
  33. package/dist/{chunk-LBIOZZPA.mjs → chunk-HWKLNKOY.mjs} +1 -1
  34. package/dist/{chunk-S2UEWRDA.mjs → chunk-IL5IMREK.mjs} +59 -49
  35. package/dist/{chunk-SCBXRJPV.mjs → chunk-IRO6DO7J.mjs} +1 -1
  36. package/dist/{chunk-T7G2CURS.mjs → chunk-IVZ6BMDB.mjs} +1 -0
  37. package/dist/{chunk-XGJ5DXXG.mjs → chunk-IYDBZI47.mjs} +11 -11
  38. package/dist/{chunk-OKMF4YI7.mjs → chunk-K3OMOMRB.mjs} +25 -0
  39. package/dist/{chunk-2LPGQWPV.mjs → chunk-KTL6E2WT.mjs} +1 -1
  40. package/dist/{chunk-YWNHMIEQ.mjs → chunk-LJDVFJK7.mjs} +1 -1
  41. package/dist/{chunk-Q5DI5VYN.mjs → chunk-MLNUGLGT.mjs} +1 -1
  42. package/dist/{chunk-UWJBDOQD.mjs → chunk-NKVMOKZA.mjs} +41 -29
  43. package/dist/{chunk-UNM3LPTG.mjs → chunk-OQPVQGSH.mjs} +1 -1
  44. package/dist/{chunk-3NJTXRIY.mjs → chunk-OZPB6JBL.mjs} +5 -1
  45. package/dist/{chunk-FPJBF7VS.mjs → chunk-P2O6XTD4.mjs} +1 -1
  46. package/dist/{chunk-EFA7S5L3.mjs → chunk-PGTXMCSV.mjs} +1 -1
  47. package/dist/{chunk-D7H6ZNK4.mjs → chunk-PRLQLEEQ.mjs} +2 -0
  48. package/dist/{chunk-6AGMMT5H.mjs → chunk-RFP4O5GO.mjs} +3 -3
  49. package/dist/chunk-S4DMV3ZT.mjs +35 -0
  50. package/dist/{chunk-5NQ3X2JI.mjs → chunk-SNDSWB6B.mjs} +1 -1
  51. package/dist/{chunk-O74UDEWT.mjs → chunk-TKZK3YPU.mjs} +1 -1
  52. package/dist/{chunk-EE7SOCEQ.mjs → chunk-TOS3CYMH.mjs} +3 -3
  53. package/dist/{chunk-CGK6IVLN.mjs → chunk-U2FXUMKA.mjs} +1 -1
  54. package/dist/{chunk-CK3VFTZM.mjs → chunk-UKX2FFFV.mjs} +2 -2
  55. package/dist/{chunk-7YZF3THS.mjs → chunk-V53HAFWH.mjs} +1 -1
  56. package/dist/{chunk-S45XMWVD.mjs → chunk-WP5CXGGO.mjs} +1 -1
  57. package/dist/{chunk-Y4YXZY7R.mjs → chunk-YPDTZXV6.mjs} +1 -1
  58. package/dist/{chunk-JELVERJM.mjs → chunk-YPSSUJUZ.mjs} +32 -0
  59. package/dist/{chunk-XKXNQ2KV.mjs → chunk-ZCARHA6C.mjs} +1 -1
  60. package/dist/{collection-add-products-2ISNNIHD.mjs → collection-add-products-QTFBLLND.mjs} +6 -4
  61. package/dist/{collection-detail-OSX6NHNQ.mjs → collection-detail-ZEAUSZBJ.mjs} +8 -6
  62. package/dist/{collection-list-MPIYSHQJ.mjs → collection-list-V27JHDAD.mjs} +9 -7
  63. package/dist/{collection-metadata-EOFYXEQI.mjs → collection-metadata-JAEMZMU6.mjs} +4 -2
  64. package/dist/{customer-create-address-TPSDYZBN.mjs → customer-create-address-JOYBIPPN.mjs} +1 -1
  65. package/dist/{customer-detail-FCNRRZSW.mjs → customer-detail-YBOM6KGC.mjs} +7 -5
  66. package/dist/{customer-group-add-customers-ULPWTALS.mjs → customer-group-add-customers-YF2T323Z.mjs} +3 -2
  67. package/dist/{customer-group-detail-QI3QLJJL.mjs → customer-group-detail-72VFORGF.mjs} +7 -5
  68. package/dist/{customer-group-list-GPIKR66X.mjs → customer-group-list-UTC5ZCJZ.mjs} +6 -4
  69. package/dist/{customer-group-metadata-UPAPULMF.mjs → customer-group-metadata-YQCOIVQG.mjs} +2 -1
  70. package/dist/{customer-list-SINCBCOZ.mjs → customer-list-5IWEXYSW.mjs} +5 -4
  71. package/dist/{customer-metadata-5NPUMPZ2.mjs → customer-metadata-JZEJBH4V.mjs} +2 -1
  72. package/dist/{customers-add-customer-group-5TFTVDB6.mjs → customers-add-customer-group-ZUCFXW2U.mjs} +5 -3
  73. package/dist/{edit-inventory-item-attributes-KT7BSPZ7.mjs → edit-inventory-item-attributes-BMPRVCPN.mjs} +1 -1
  74. package/dist/{edit-reservation-EKH4RIAX.mjs → edit-reservation-QQTYP22N.mjs} +5 -0
  75. package/dist/{edit-rules-63NG4QVR.mjs → edit-rules-RY7JMYLR.mjs} +5 -3
  76. package/dist/{inventory-create-RIVJFJJQ.mjs → inventory-create-F5PSTEN2.mjs} +10 -4
  77. package/dist/{inventory-detail-5433AAQ2.mjs → inventory-detail-BO5E7KXO.mjs} +10 -8
  78. package/dist/{inventory-list-YMYF7QVP.mjs → inventory-list-HUYCKI2I.mjs} +5 -4
  79. package/dist/{inventory-metadata-FH4CHJBA.mjs → inventory-metadata-QGPVSAUI.mjs} +4 -2
  80. package/dist/{inventory-stock-D6E4LQRK.mjs → inventory-stock-VQNXCIOA.mjs} +5 -3
  81. package/dist/{location-create-LUP363ZB.mjs → location-create-22H74MFP.mjs} +1 -1
  82. package/dist/{location-detail-Z6ZDX6RY.mjs → location-detail-M4CYDTSY.mjs} +5 -3
  83. package/dist/{location-edit-26K26G23.mjs → location-edit-RNGPJ26L.mjs} +1 -1
  84. package/dist/{location-fulfillment-providers-45VXZMZI.mjs → location-fulfillment-providers-XVEQZCUD.mjs} +6 -4
  85. package/dist/{location-list-BKK2PAKF.mjs → location-list-NKIOBHG4.mjs} +4 -3
  86. package/dist/{location-sales-channels-2BOIPBBG.mjs → location-sales-channels-NSXV65ZM.mjs} +3 -2
  87. package/dist/{location-service-zone-create-RPFLBVV4.mjs → location-service-zone-create-D5QSFS3M.mjs} +4 -3
  88. package/dist/{location-service-zone-manage-areas-VEUUGPKF.mjs → location-service-zone-manage-areas-HKCALG4Q.mjs} +4 -3
  89. package/dist/{location-service-zone-shipping-option-create-NO3665DC.mjs → location-service-zone-shipping-option-create-I3HAEEFA.mjs} +14 -5
  90. package/dist/{location-service-zone-shipping-option-edit-TMXNX4VX.mjs → location-service-zone-shipping-option-edit-JYM6GHTA.mjs} +40 -28
  91. package/dist/{location-service-zone-shipping-option-pricing-U2SDK5DE.mjs → location-service-zone-shipping-option-pricing-FLB63UKY.mjs} +3 -2
  92. package/dist/{login-DSPNELTI.mjs → login-QOENXTB7.mjs} +2 -1
  93. package/dist/{order-allocate-items-J3ZHGC22.mjs → order-allocate-items-NO5SVLS6.mjs} +23 -11
  94. package/dist/{order-create-claim-V63BWLB5.mjs → order-create-claim-MOBLO4YM.mjs} +9 -6
  95. package/dist/{order-create-edit-NPF4UZ4D.mjs → order-create-edit-C75GUZJE.mjs} +8 -5
  96. package/dist/{order-create-exchange-RHIPPSKU.mjs → order-create-exchange-RCUALEXO.mjs} +9 -6
  97. package/dist/{order-create-fulfillment-4SSUHQ75.mjs → order-create-fulfillment-EZTEZ4CF.mjs} +10 -2
  98. package/dist/{order-create-refund-QVQC5ZP5.mjs → order-create-refund-4FAIESAN.mjs} +7 -1
  99. package/dist/{order-create-return-GVA6M2RY.mjs → order-create-return-AV4BEJDN.mjs} +7 -5
  100. package/dist/{order-create-shipment-TJAARKWA.mjs → order-create-shipment-PTUJKVWK.mjs} +4 -1
  101. package/dist/{order-detail-2MIN6B2I.mjs → order-detail-6XQLJ5TU.mjs} +5 -3
  102. package/dist/{order-edit-billing-address-QP2I5F3E.mjs → order-edit-billing-address-46CFUZGL.mjs} +3 -2
  103. package/dist/{order-edit-email-7WT7XTHB.mjs → order-edit-email-FOK5GQW2.mjs} +2 -1
  104. package/dist/{order-edit-shipping-address-3QFMQP4I.mjs → order-edit-shipping-address-WFN2SVKM.mjs} +3 -2
  105. package/dist/{order-list-ZCMNSZYB.mjs → order-list-OTPVQKU6.mjs} +7 -6
  106. package/dist/{order-metadata-YJS26DHK.mjs → order-metadata-COJNFRPZ.mjs} +4 -2
  107. package/dist/{order-receive-return-PZMMMUB2.mjs → order-receive-return-P4OPVOPM.mjs} +4 -2
  108. package/dist/{order-request-transfer-QBIZD36E.mjs → order-request-transfer-HRPCEL5L.mjs} +3 -2
  109. package/dist/{price-list-configuration-435QDWB2.mjs → price-list-configuration-HF3DARKG.mjs} +4 -3
  110. package/dist/{price-list-create-RXDH5CXF.mjs → price-list-create-FJ2FM6GL.mjs} +30 -14
  111. package/dist/{price-list-detail-PKIKOJ4H.mjs → price-list-detail-VNZ3Q426.mjs} +8 -6
  112. package/dist/{price-list-edit-ZGBOZYSC.mjs → price-list-edit-COHKW6UK.mjs} +49 -29
  113. package/dist/{price-list-list-C6NEB2R4.mjs → price-list-list-55WD2WAY.mjs} +5 -4
  114. package/dist/{price-list-prices-add-2CDPUSYA.mjs → price-list-prices-add-FMZKGOHD.mjs} +19 -10
  115. package/dist/{price-list-prices-edit-ENB4GJZT.mjs → price-list-prices-edit-SUZNOKK2.mjs} +3 -2
  116. package/dist/{product-attributes-ZZPEBDCK.mjs → product-attributes-5PLACMXK.mjs} +9 -7
  117. package/dist/{product-create-FCDCIDCH.mjs → product-create-6FMLIS5X.mjs} +17 -11
  118. package/dist/{product-create-variant-KJKQ6ROY.mjs → product-create-variant-KGBSFIKQ.mjs} +22 -8
  119. package/dist/{product-detail-2ZUONC23.mjs → product-detail-2BJJMCCO.mjs} +11 -9
  120. package/dist/{product-edit-G3Z6FCN6.mjs → product-edit-N5P7RVNS.mjs} +31 -18
  121. package/dist/{product-export-XERWEI5H.mjs → product-export-XA5POQKT.mjs} +3 -2
  122. package/dist/{product-import-AGFJMSVK.mjs → product-import-DYTT4YDA.mjs} +5 -3
  123. package/dist/{product-list-WGX66SGI.mjs → product-list-EUQX3NBE.mjs} +10 -8
  124. package/dist/{product-media-APQKPFTT.mjs → product-media-XJGAON6B.mjs} +4 -4
  125. package/dist/{product-metadata-NZ3HKO67.mjs → product-metadata-44VYAXZD.mjs} +4 -2
  126. package/dist/{product-organization-BYT4TKMZ.mjs → product-organization-FB6BVKKL.mjs} +10 -8
  127. package/dist/{product-prices-PCBMYYGV.mjs → product-prices-4ZV5EXX5.mjs} +2 -1
  128. package/dist/{product-sales-channels-UGPAXFAV.mjs → product-sales-channels-QBQDLU7Z.mjs} +3 -2
  129. package/dist/{product-shipping-profile-YDN4X6S2.mjs → product-shipping-profile-UZQSV54B.mjs} +9 -7
  130. package/dist/{product-stock-SUVEQZML.mjs → product-stock-PX5NAHH6.mjs} +7 -4
  131. package/dist/{product-tag-create-T6HVAQKN.mjs → product-tag-create-R4YSSXD6.mjs} +2 -1
  132. package/dist/{product-tag-detail-HOWUZC3P.mjs → product-tag-detail-XJEGQD7U.mjs} +12 -10
  133. package/dist/{product-tag-edit-WWQDNDRC.mjs → product-tag-edit-7JXF42HY.mjs} +2 -1
  134. package/dist/{product-tag-list-FAKSLONF.mjs → product-tag-list-GTUMQQ6V.mjs} +12 -10
  135. package/dist/{product-tag-metadata-6B56VEZU.mjs → product-tag-metadata-5QV3HMXJ.mjs} +4 -2
  136. package/dist/{product-type-detail-KN64HYUV.mjs → product-type-detail-CN74BB3Y.mjs} +8 -6
  137. package/dist/{product-type-list-6ZIWPIUH.mjs → product-type-list-MJLAGQYC.mjs} +5 -4
  138. package/dist/{product-type-metadata-F3FTI6OG.mjs → product-type-metadata-JPFREADV.mjs} +4 -2
  139. package/dist/{product-variant-detail-OUHBUY4J.mjs → product-variant-detail-BSLEUW5J.mjs} +7 -5
  140. package/dist/{product-variant-edit-NBYHDUJ5.mjs → product-variant-edit-VOW5633S.mjs} +8 -3
  141. package/dist/{product-variant-manage-inventory-items-TM3VAHBJ.mjs → product-variant-manage-inventory-items-LGRRKHT2.mjs} +1 -1
  142. package/dist/{product-variant-metadata-XDVLJYGQ.mjs → product-variant-metadata-KDSV47PE.mjs} +4 -2
  143. package/dist/{profile-detail-ROG22HHL.mjs → profile-detail-XYAQ2G36.mjs} +3 -2
  144. package/dist/{profile-edit-HSUQIQQH.mjs → profile-edit-7WD4FTRH.mjs} +31 -19
  145. package/dist/{promotion-add-campaign-7R26KU2U.mjs → promotion-add-campaign-JXBRCUXL.mjs} +3 -2
  146. package/dist/{promotion-create-UUOG52D5.mjs → promotion-create-YPX2R3ZB.mjs} +20 -7
  147. package/dist/{promotion-detail-6ZD7Z6BF.mjs → promotion-detail-VB5GZDCC.mjs} +7 -5
  148. package/dist/{promotion-edit-details-HQLYX4X4.mjs → promotion-edit-details-I5DYHQUM.mjs} +9 -1
  149. package/dist/{promotion-list-GI64LDWI.mjs → promotion-list-NAUTWXNU.mjs} +8 -7
  150. package/dist/refund-reason-create-CYHPXX2O.mjs +158 -0
  151. package/dist/refund-reason-edit-E2HDAQZI.mjs +144 -0
  152. package/dist/refund-reason-list-VBHGRLJJ.mjs +241 -0
  153. package/dist/{region-add-countries-Y4YAHDUZ.mjs → region-add-countries-6GSF4CKJ.mjs} +3 -2
  154. package/dist/{region-create-5Y3GIQBV.mjs → region-create-4C42KVB4.mjs} +30 -14
  155. package/dist/{region-detail-CWRFM6P3.mjs → region-detail-PB7EUSTD.mjs} +5 -4
  156. package/dist/{region-edit-JWQWCLM3.mjs → region-edit-CLE5VVRP.mjs} +21 -5
  157. package/dist/{region-list-FQNI7F37.mjs → region-list-52LF5S4S.mjs} +5 -4
  158. package/dist/{region-metadata-IQVB4ERU.mjs → region-metadata-NXD563F4.mjs} +4 -2
  159. package/dist/{reservation-create-7RFXWDXB.mjs → reservation-create-CBWJLYHP.mjs} +1 -1
  160. package/dist/{reservation-detail-RTGHD35L.mjs → reservation-detail-64MMXK7D.mjs} +6 -4
  161. package/dist/{reservation-list-UOC7RNRZ.mjs → reservation-list-YNG7YKG2.mjs} +5 -4
  162. package/dist/{reservation-metadata-WKJXBRLQ.mjs → reservation-metadata-4GZCEGM7.mjs} +4 -2
  163. package/dist/{reset-password-SXA6YKTJ.mjs → reset-password-ZCKXQZNQ.mjs} +1 -1
  164. package/dist/{return-reason-list-MOP7YWMZ.mjs → return-reason-list-FW7OYUOW.mjs} +8 -7
  165. package/dist/{sales-channel-add-products-OKVZJ6FI.mjs → sales-channel-add-products-EAWW7ADY.mjs} +6 -4
  166. package/dist/{sales-channel-create-3MPOMVPD.mjs → sales-channel-create-VW2UPYSI.mjs} +2 -0
  167. package/dist/{sales-channel-detail-WESBK6Q7.mjs → sales-channel-detail-3F3HFTD2.mjs} +8 -6
  168. package/dist/{sales-channel-edit-LSLAM7A4.mjs → sales-channel-edit-OA6QPIHW.mjs} +2 -0
  169. package/dist/{sales-channel-list-ADIJMXNV.mjs → sales-channel-list-R4HT6A7P.mjs} +6 -4
  170. package/dist/{sales-channel-metadata-2OQAHYB4.mjs → sales-channel-metadata-LAHTTRLQ.mjs} +4 -2
  171. package/dist/{shipping-option-type-create-3CGPGDYJ.mjs → shipping-option-type-create-IPKK5MRS.mjs} +2 -1
  172. package/dist/{shipping-option-type-detail-S23H2OGW.mjs → shipping-option-type-detail-NEQ4RA5F.mjs} +6 -4
  173. package/dist/{shipping-option-type-edit-IHE7XM6M.mjs → shipping-option-type-edit-CC64TWSB.mjs} +2 -1
  174. package/dist/{shipping-option-type-list-47GRJ6EC.mjs → shipping-option-type-list-3GTGTBK7.mjs} +8 -6
  175. package/dist/{shipping-profile-detail-FDUPDSH4.mjs → shipping-profile-detail-FS46IJZP.mjs} +3 -2
  176. package/dist/{shipping-profile-metadata-OXWOXAAR.mjs → shipping-profile-metadata-EPVLPEEM.mjs} +4 -2
  177. package/dist/{shipping-profiles-list-ZHJEUIKJ.mjs → shipping-profiles-list-QFOG5IDH.mjs} +5 -4
  178. package/dist/{store-add-currencies-R26SVHT5.mjs → store-add-currencies-W4MWOALR.mjs} +5 -2
  179. package/dist/{store-detail-4K7TW2TP.mjs → store-detail-PUOKMK4K.mjs} +7 -5
  180. package/dist/{store-edit-EU55TNFU.mjs → store-edit-3DU5MC25.mjs} +24 -12
  181. package/dist/{store-metadata-JP2CI7EF.mjs → store-metadata-JYIVRRLW.mjs} +4 -2
  182. package/dist/{tax-region-create-W3K5IFD3.mjs → tax-region-create-2GDG36NQ.mjs} +5 -4
  183. package/dist/{tax-region-detail-V2F2DONN.mjs → tax-region-detail-MQKBEBOZ.mjs} +9 -7
  184. package/dist/{tax-region-edit-CJPMYTBF.mjs → tax-region-edit-2H5ACSFG.mjs} +3 -2
  185. package/dist/{tax-region-list-NMM3LBPN.mjs → tax-region-list-SQQE2GUU.mjs} +6 -5
  186. package/dist/{tax-region-province-create-GIIU2G7K.mjs → tax-region-province-create-SBRFGWN3.mjs} +2 -2
  187. package/dist/{tax-region-province-detail-4PUQ5ADW.mjs → tax-region-province-detail-HNK2ZJWL.mjs} +8 -6
  188. package/dist/{tax-region-tax-override-create-3SCIOK4P.mjs → tax-region-tax-override-create-XZJ3EIFJ.mjs} +15 -9
  189. package/dist/{tax-region-tax-override-edit-P3QJKET3.mjs → tax-region-tax-override-edit-QHQHFI2Y.mjs} +15 -9
  190. package/dist/{tax-region-tax-rate-create-Z43M3JTQ.mjs → tax-region-tax-rate-create-JIV5FXUD.mjs} +1 -1
  191. package/dist/{tax-region-tax-rate-edit-RBF5D2MK.mjs → tax-region-tax-rate-edit-WU2ZQLZQ.mjs} +1 -1
  192. package/dist/{user-detail-VIVFFLOW.mjs → user-detail-ZIWKV6QD.mjs} +3 -2
  193. package/dist/{user-invite-W26LOOW7.mjs → user-invite-KUH4AI2L.mjs} +4 -3
  194. package/dist/{user-list-3YFYZFSK.mjs → user-list-TPBPZ7KJ.mjs} +4 -3
  195. package/dist/{user-metadata-ZURLDLGC.mjs → user-metadata-F6KRFYDW.mjs} +4 -2
  196. package/dist/{workflow-execution-detail-4R6AFFHV.mjs → workflow-execution-detail-JRJZATNU.mjs} +8 -3
  197. package/dist/{workflow-execution-list-5J3DQQRD.mjs → workflow-execution-list-5WL4L464.mjs} +4 -3
  198. package/package.json +9 -9
  199. package/src/components/common/action-menu/action-menu.tsx +3 -1
  200. package/src/components/common/json-view-section/json-view-section.tsx +4 -1
  201. package/src/components/common/sidebar-link/sidebar-link.tsx +1 -1
  202. package/src/components/common/switch-box/switch-box.tsx +2 -0
  203. package/src/components/data-grid/components/data-grid-root.tsx +9 -3
  204. package/src/components/data-grid/components/data-grid-toggleable-number-cell.tsx +2 -1
  205. package/src/components/filtering/filter-group/filter-group.tsx +5 -1
  206. package/src/components/filtering/order-by/order-by.tsx +4 -1
  207. package/src/components/forms/address-form/address-form.tsx +7 -2
  208. package/src/components/forms/metadata-form/metadata-form.tsx +6 -3
  209. package/src/components/inputs/combobox/combobox.tsx +11 -11
  210. package/src/components/inputs/country-select/country-select.tsx +1 -1
  211. package/src/components/inputs/province-select/province-select.tsx +1 -1
  212. package/src/components/layout/main-layout/main-layout.tsx +7 -5
  213. package/src/components/layout/settings-layout/settings-layout.tsx +4 -0
  214. package/src/components/layout/shell/shell.tsx +6 -6
  215. package/src/components/layout/user-menu/user-menu.tsx +12 -10
  216. package/src/components/search/search.tsx +5 -3
  217. package/src/components/table/data-table/data-table-order-by/data-table-order-by.tsx +4 -1
  218. package/src/components/table/data-table/data-table-root/data-table-root.tsx +3 -3
  219. package/src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx +1 -1
  220. package/src/dashboard-app/routes/get-route.map.tsx +36 -0
  221. package/src/hooks/api/refund-reasons.tsx +105 -10
  222. package/src/hooks/table/columns/index.ts +1 -0
  223. package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +32 -0
  224. package/src/hooks/table/query/index.ts +1 -0
  225. package/src/hooks/table/query/use-refund-reason-table-query.tsx +32 -0
  226. package/src/hooks/use-document-direction.tsx +54 -0
  227. package/src/i18n/translations/$schema.json +185 -65
  228. package/src/i18n/translations/en.json +32 -0
  229. package/src/providers/i18n-provider/i18n-provider.tsx +9 -4
  230. package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +3 -3
  231. package/src/routes/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx +4 -1
  232. package/src/routes/categories/category-create/components/create-category-form/create-category-details.tsx +12 -3
  233. package/src/routes/categories/category-create/components/create-category-form/create-category-form.tsx +4 -3
  234. package/src/routes/categories/category-detail/components/category-organize-section/category-organize-section.tsx +1 -1
  235. package/src/routes/categories/category-edit/components/edit-category-form/edit-category-form.tsx +12 -3
  236. package/src/routes/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx +3 -1
  237. package/src/routes/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx +1 -1
  238. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +4 -1
  239. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +3 -1
  240. package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +7 -2
  241. package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +7 -2
  242. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +2 -1
  243. package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-create-form.tsx +2 -1
  244. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +2 -1
  245. package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +5 -1
  246. package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +3 -0
  247. package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +2 -1
  248. package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +2 -0
  249. package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +2 -1
  250. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-create-form.tsx +3 -1
  251. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-details-form.tsx +8 -2
  252. package/src/routes/price-lists/price-list-edit/components/price-list-edit-form/edit-price-list-form.tsx +12 -3
  253. package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-form.tsx +10 -5
  254. package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +4 -0
  255. package/src/routes/products/common/components/category-combobox/category-combobox.tsx +11 -11
  256. package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +3 -1
  257. package/src/routes/products/product-create-variant/components/create-product-variant-form/create-product-variant-form.tsx +10 -5
  258. package/src/routes/products/product-create-variant/components/create-product-variant-form/details-tab.tsx +6 -1
  259. package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +7 -2
  260. package/src/routes/products/product-media/components/product-media-gallery/product-media-gallery.tsx +2 -2
  261. package/src/routes/products/product-stock/hooks/use-product-stock-columns.tsx +2 -1
  262. package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +9 -3
  263. package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +4 -0
  264. package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +8 -2
  265. package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +12 -3
  266. package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +6 -1
  267. package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +1 -0
  268. package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +131 -0
  269. package/src/routes/refund-reasons/refund-reason-create/index.ts +1 -0
  270. package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +10 -0
  271. package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +1 -0
  272. package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +119 -0
  273. package/src/routes/refund-reasons/refund-reason-edit/index.ts +1 -0
  274. package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +33 -0
  275. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +1 -0
  276. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +130 -0
  277. package/src/routes/refund-reasons/refund-reason-list/index.ts +2 -0
  278. package/src/routes/refund-reasons/refund-reason-list/loader.ts +16 -0
  279. package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +21 -0
  280. package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +11 -2
  281. package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +11 -2
  282. package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +3 -1
  283. package/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/create-sales-channel-form.tsx +2 -0
  284. package/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/edit-sales-channel-form.tsx +2 -0
  285. package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +2 -0
  286. package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +7 -2
  287. package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +3 -1
  288. package/src/routes/tax-regions/tax-region-tax-override-edit/components/tax-region-tax-override-edit-form/tax-region-tax-override-edit-form.tsx +3 -1
  289. package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +3 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SingleColumnPage
3
- } from "./chunk-2RQLKDBF.mjs";
3
+ } from "./chunk-GIZFNLKK.mjs";
4
4
  import {
5
5
  useExtension
6
6
  } from "./chunk-C5P5PL3E.mjs";
@@ -9,8 +9,9 @@ import {
9
9
  } from "./chunk-LPEUYMRK.mjs";
10
10
  import {
11
11
  ActionMenu
12
- } from "./chunk-3NJTXRIY.mjs";
12
+ } from "./chunk-OZPB6JBL.mjs";
13
13
  import "./chunk-OC7BQLYI.mjs";
14
+ import "./chunk-S4DMV3ZT.mjs";
14
15
  import {
15
16
  useDeleteUser,
16
17
  useUser
@@ -5,9 +5,9 @@ import "./chunk-LQTHYS2Z.mjs";
5
5
  import {
6
6
  _DataTable,
7
7
  useDataTable
8
- } from "./chunk-7VJK6HNE.mjs";
8
+ } from "./chunk-EYL2JACT.mjs";
9
9
  import "./chunk-YEDAFXMB.mjs";
10
- import "./chunk-AOFGTNG6.mjs";
10
+ import "./chunk-HQKGZADC.mjs";
11
11
  import "./chunk-EMIHDNB7.mjs";
12
12
  import "./chunk-Z26G6WFJ.mjs";
13
13
  import "./chunk-M3VFKDXJ.mjs";
@@ -25,8 +25,9 @@ import {
25
25
  import "./chunk-LPEUYMRK.mjs";
26
26
  import {
27
27
  ActionMenu
28
- } from "./chunk-3NJTXRIY.mjs";
28
+ } from "./chunk-OZPB6JBL.mjs";
29
29
  import "./chunk-OC7BQLYI.mjs";
30
+ import "./chunk-S4DMV3ZT.mjs";
30
31
  import "./chunk-67ORSRVT.mjs";
31
32
  import {
32
33
  Form
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SingleColumnPage
3
- } from "./chunk-2RQLKDBF.mjs";
3
+ } from "./chunk-GIZFNLKK.mjs";
4
4
  import {
5
5
  useDataTableDateColumns
6
6
  } from "./chunk-2D44OO7A.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-Q33G337Z.mjs";
10
10
  import {
11
11
  DataTable
12
- } from "./chunk-UNM3LPTG.mjs";
12
+ } from "./chunk-OQPVQGSH.mjs";
13
13
  import {
14
14
  useQueryParams
15
15
  } from "./chunk-C76H5USB.mjs";
@@ -18,8 +18,9 @@ import {
18
18
  useExtension
19
19
  } from "./chunk-C5P5PL3E.mjs";
20
20
  import "./chunk-RM6NY572.mjs";
21
- import "./chunk-3NJTXRIY.mjs";
21
+ import "./chunk-OZPB6JBL.mjs";
22
22
  import "./chunk-OC7BQLYI.mjs";
23
+ import "./chunk-S4DMV3ZT.mjs";
23
24
  import "./chunk-67ORSRVT.mjs";
24
25
  import {
25
26
  useUsers
@@ -1,7 +1,7 @@
1
1
  import "./chunk-XRTVFYCW.mjs";
2
2
  import {
3
3
  MetadataForm
4
- } from "./chunk-S2UEWRDA.mjs";
4
+ } from "./chunk-IL5IMREK.mjs";
5
5
  import "./chunk-IUCDCPJU.mjs";
6
6
  import "./chunk-6HTZNHPT.mjs";
7
7
  import {
@@ -9,9 +9,11 @@ import {
9
9
  } from "./chunk-4TC5YS65.mjs";
10
10
  import "./chunk-LPEUYMRK.mjs";
11
11
  import "./chunk-OC7BQLYI.mjs";
12
+ import "./chunk-S4DMV3ZT.mjs";
12
13
  import "./chunk-OBQI23QM.mjs";
13
- import "./chunk-OGHQ6VJI.mjs";
14
+ import "./chunk-BSBCIU6C.mjs";
14
15
  import "./chunk-KOSCMAIC.mjs";
16
+ import "./chunk-5U3FFMC7.mjs";
15
17
  import "./chunk-X6DSNTTX.mjs";
16
18
  import "./chunk-I6E6CALJ.mjs";
17
19
  import "./chunk-4RG7UJCT.mjs";
@@ -10,15 +10,19 @@ import {
10
10
  import {
11
11
  JsonViewSection,
12
12
  SingleColumnPage
13
- } from "./chunk-2RQLKDBF.mjs";
13
+ } from "./chunk-GIZFNLKK.mjs";
14
14
  import {
15
15
  useExtension
16
16
  } from "./chunk-C5P5PL3E.mjs";
17
17
  import {
18
18
  SingleColumnPageSkeleton
19
19
  } from "./chunk-LPEUYMRK.mjs";
20
- import "./chunk-OGHQ6VJI.mjs";
20
+ import {
21
+ useDocumentDirection
22
+ } from "./chunk-S4DMV3ZT.mjs";
23
+ import "./chunk-BSBCIU6C.mjs";
21
24
  import "./chunk-KOSCMAIC.mjs";
25
+ import "./chunk-5U3FFMC7.mjs";
22
26
  import "./chunk-X6DSNTTX.mjs";
23
27
  import "./chunk-I6E6CALJ.mjs";
24
28
  import "./chunk-4RG7UJCT.mjs";
@@ -493,6 +497,7 @@ var Canvas = ({
493
497
  }) => {
494
498
  const [zoom, setZoom] = useState2(1);
495
499
  const [isDragging, setIsDragging] = useState2(false);
500
+ const direction = useDocumentDirection();
496
501
  const scale = useMotionValue(defaultState.scale);
497
502
  const x = useMotionValue(defaultState.x);
498
503
  const y = useMotionValue(defaultState.y);
@@ -588,7 +593,7 @@ var Canvas = ({
588
593
  children: /* @__PURE__ */ jsx5(PlusMini, {})
589
594
  }
590
595
  ),
591
- /* @__PURE__ */ jsx5("div", { children: /* @__PURE__ */ jsxs3(DropdownMenu, { children: [
596
+ /* @__PURE__ */ jsx5("div", { children: /* @__PURE__ */ jsxs3(DropdownMenu, { dir: direction, children: [
592
597
  /* @__PURE__ */ jsx5(DropdownMenu.Trigger, { className: "disabled:text-ui-fg-disabled transition-fg hover:bg-ui-bg-base-hover active:bg-ui-bg-base-pressed focus-visible:bg-ui-bg-base-pressed flex w-[50px] items-center justify-center border-r p-1 outline-none", children: /* @__PURE__ */ jsxs3(
593
598
  Text3,
594
599
  {
@@ -9,15 +9,15 @@ import "./chunk-LQTHYS2Z.mjs";
9
9
  import {
10
10
  _DataTable,
11
11
  useDataTable
12
- } from "./chunk-7VJK6HNE.mjs";
12
+ } from "./chunk-EYL2JACT.mjs";
13
13
  import "./chunk-YEDAFXMB.mjs";
14
- import "./chunk-AOFGTNG6.mjs";
14
+ import "./chunk-HQKGZADC.mjs";
15
15
  import "./chunk-EMIHDNB7.mjs";
16
16
  import "./chunk-Z26G6WFJ.mjs";
17
17
  import "./chunk-M3VFKDXJ.mjs";
18
18
  import {
19
19
  SingleColumnPage
20
- } from "./chunk-2RQLKDBF.mjs";
20
+ } from "./chunk-GIZFNLKK.mjs";
21
21
  import {
22
22
  useQueryParams
23
23
  } from "./chunk-C76H5USB.mjs";
@@ -26,6 +26,7 @@ import {
26
26
  useExtension
27
27
  } from "./chunk-C5P5PL3E.mjs";
28
28
  import "./chunk-LPEUYMRK.mjs";
29
+ import "./chunk-S4DMV3ZT.mjs";
29
30
  import "./chunk-67ORSRVT.mjs";
30
31
  import {
31
32
  useWorkflowExecutions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/dashboard",
3
- "version": "2.10.4-preview-20250923150206",
3
+ "version": "2.10.4-preview-20250923180156",
4
4
  "scripts": {
5
5
  "generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
6
6
  "dev": "vite",
@@ -45,10 +45,10 @@
45
45
  "@dnd-kit/utilities": "^3.2.2",
46
46
  "@hookform/error-message": "^2.0.1",
47
47
  "@hookform/resolvers": "3.4.2",
48
- "@medusajs/admin-shared": "2.10.4-preview-20250923150206",
49
- "@medusajs/icons": "2.10.4-preview-20250923150206",
50
- "@medusajs/js-sdk": "2.10.4-preview-20250923150206",
51
- "@medusajs/ui": "4.0.24-preview-20250923150206",
48
+ "@medusajs/admin-shared": "2.10.4-preview-20250923180156",
49
+ "@medusajs/icons": "2.10.4-preview-20250923180156",
50
+ "@medusajs/js-sdk": "2.10.4-preview-20250923180156",
51
+ "@medusajs/ui": "4.0.24-preview-20250923180156",
52
52
  "@radix-ui/react-dialog": "1.1.4",
53
53
  "@radix-ui/react-dismissable-layer": "1.1.4",
54
54
  "@tanstack/react-query": "5.64.2",
@@ -78,10 +78,10 @@
78
78
  "zod": "3.25.76"
79
79
  },
80
80
  "devDependencies": {
81
- "@medusajs/admin-shared": "2.10.4-preview-20250923150206",
82
- "@medusajs/admin-vite-plugin": "2.10.4-preview-20250923150206",
83
- "@medusajs/types": "2.10.4-preview-20250923150206",
84
- "@medusajs/ui-preset": "2.10.4-preview-20250923150206",
81
+ "@medusajs/admin-shared": "2.10.4-preview-20250923180156",
82
+ "@medusajs/admin-vite-plugin": "2.10.4-preview-20250923180156",
83
+ "@medusajs/types": "2.10.4-preview-20250923180156",
84
+ "@medusajs/ui-preset": "2.10.4-preview-20250923180156",
85
85
  "@types/node": "^20.11.15",
86
86
  "@types/react": "^18.2.79",
87
87
  "@types/react-dom": "^18.2.25",
@@ -4,6 +4,7 @@ import { EllipsisHorizontal } from "@medusajs/icons"
4
4
  import { PropsWithChildren, ReactNode } from "react"
5
5
  import { Link } from "react-router-dom"
6
6
  import { ConditionalTooltip } from "../conditional-tooltip"
7
+ import { useDocumentDirection } from "../../../hooks/use-document-direction"
7
8
 
8
9
  export type Action = {
9
10
  icon: ReactNode
@@ -38,6 +39,7 @@ export const ActionMenu = ({
38
39
  variant = "transparent",
39
40
  children,
40
41
  }: ActionMenuProps) => {
42
+ const direction = useDocumentDirection()
41
43
  const inner = children ?? (
42
44
  <IconButton size="small" variant={variant}>
43
45
  <EllipsisHorizontal />
@@ -45,7 +47,7 @@ export const ActionMenu = ({
45
47
  )
46
48
 
47
49
  return (
48
- <DropdownMenu>
50
+ <DropdownMenu dir={direction}>
49
51
  <DropdownMenu.Trigger asChild>{inner}</DropdownMenu.Trigger>
50
52
  <DropdownMenu.Content>
51
53
  {groups.map((group, index) => {
@@ -46,7 +46,10 @@ export const JsonViewSection = ({ data }: JsonViewSectionProps) => {
46
46
  <ArrowUpRightOnBox />
47
47
  </IconButton>
48
48
  </Drawer.Trigger>
49
- <Drawer.Content className="bg-ui-contrast-bg-base text-ui-code-fg-subtle !shadow-elevation-commandbar overflow-hidden border border-none max-md:inset-x-2 max-md:max-w-[calc(100%-16px)]">
49
+ <Drawer.Content
50
+ dir="ltr"
51
+ className="bg-ui-contrast-bg-base text-ui-code-fg-subtle !shadow-elevation-commandbar overflow-hidden border border-none max-md:inset-x-2 max-md:max-w-[calc(100%-16px)]"
52
+ >
50
53
  <div className="bg-ui-code-bg-base flex items-center justify-between px-6 py-4">
51
54
  <div className="flex items-center gap-x-4">
52
55
  <Drawer.Title asChild>
@@ -37,7 +37,7 @@ export const SidebarLink = ({
37
37
  </Text>
38
38
  </div>
39
39
  <div className="flex size-7 items-center justify-center">
40
- <TriangleRightMini className="text-ui-fg-muted" />
40
+ <TriangleRightMini className="text-ui-fg-muted rtl:rotate-180" />
41
41
  </div>
42
42
  </div>
43
43
  </div>
@@ -50,6 +50,8 @@ export const SwitchBox = <
50
50
  <div className="bg-ui-bg-component shadow-elevation-card-rest flex items-start gap-x-3 rounded-lg p-3">
51
51
  <Form.Control>
52
52
  <Switch
53
+ className="rtl:rotate-180"
54
+ dir="ltr"
53
55
  {...field}
54
56
  checked={value}
55
57
  onCheckedChange={(e) => {
@@ -29,6 +29,7 @@ import { FieldValues, UseFormReturn } from "react-hook-form"
29
29
  import { useTranslation } from "react-i18next"
30
30
 
31
31
  import { useCommandHistory } from "../../../hooks/use-command-history"
32
+ import { useDocumentDirection } from "../../../hooks/use-document-direction"
32
33
  import { ConditionalTooltip } from "../../common/conditional-tooltip"
33
34
  import { DataGridContext } from "../context"
34
35
  import {
@@ -50,7 +51,7 @@ import { isCellMatch, isSpecialFocusKey } from "../utils"
50
51
  import { DataGridKeyboardShortcutModal } from "./data-grid-keyboard-shortcut-modal"
51
52
  export interface DataGridRootProps<
52
53
  TData,
53
- TFieldValues extends FieldValues = FieldValues
54
+ TFieldValues extends FieldValues = FieldValues,
54
55
  > {
55
56
  data?: TData[]
56
57
  columns: ColumnDef<TData>[]
@@ -96,7 +97,7 @@ const getCommonPinningStyles = <TData,>(
96
97
 
97
98
  export const DataGridRoot = <
98
99
  TData,
99
- TFieldValues extends FieldValues = FieldValues
100
+ TFieldValues extends FieldValues = FieldValues,
100
101
  >({
101
102
  data = [],
102
103
  columns,
@@ -700,6 +701,7 @@ const DataGridHeader = ({
700
701
  const [shortcutsOpen, setShortcutsOpen] = useState(false)
701
702
  const [columnsOpen, setColumnsOpen] = useState(false)
702
703
  const { t } = useTranslation()
704
+ const direction = useDocumentDirection()
703
705
 
704
706
  // Since all columns are checked by default, we can check if any column is unchecked
705
707
  const hasChanged = columnOptions.some((column) => !column.checked)
@@ -716,7 +718,11 @@ const DataGridHeader = ({
716
718
  return (
717
719
  <div className="bg-ui-bg-base flex items-center justify-between border-b p-4">
718
720
  <div className="flex items-center gap-x-2">
719
- <DropdownMenu open={columnsOpen} onOpenChange={handleColumnsOpenChange}>
721
+ <DropdownMenu
722
+ dir={direction}
723
+ open={columnsOpen}
724
+ onOpenChange={handleColumnsOpenChange}
725
+ >
720
726
  <ConditionalTooltip
721
727
  showTooltip={isDisabled}
722
728
  content={t("dataGrid.columns.disabled")}
@@ -106,9 +106,10 @@ const OuterComponent = ({
106
106
  >
107
107
  <div className="absolute inset-y-0 left-4 z-[3] flex w-fit items-center justify-center">
108
108
  <Switch
109
+ dir="ltr"
109
110
  ref={buttonRef}
110
111
  size="small"
111
- className="shrink-0"
112
+ className="shrink-0 rtl:rotate-180"
112
113
  checked={localValue.checked}
113
114
  disabled={localValue.disabledToggle}
114
115
  onCheckedChange={handleCheckedChange}
@@ -1,6 +1,7 @@
1
1
  import { Button, DropdownMenu } from "@medusajs/ui"
2
2
  import { ReactNode } from "react"
3
3
  import { useSearchParams } from "react-router-dom"
4
+ import { useDocumentDirection } from "../../../hooks/use-document-direction"
4
5
 
5
6
  type FilterGroupProps = {
6
7
  filters: {
@@ -37,8 +38,11 @@ type AddFilterMenuProps = {
37
38
  }
38
39
 
39
40
  const AddFilterMenu = ({ availableKeys }: AddFilterMenuProps) => {
41
+ const direction = useDocumentDirection()
40
42
  return (
41
- <DropdownMenu>
43
+ <DropdownMenu
44
+ dir={direction}
45
+ >
42
46
  <DropdownMenu.Trigger asChild>
43
47
  <Button variant="secondary" size="small">
44
48
  Add filter
@@ -4,6 +4,8 @@ import { useState } from "react"
4
4
  import { useTranslation } from "react-i18next"
5
5
  import { useSearchParams } from "react-router-dom"
6
6
 
7
+ import { useDocumentDirection } from "../../../hooks/use-document-direction"
8
+
7
9
  type OrderByProps = {
8
10
  keys: string[]
9
11
  }
@@ -56,6 +58,7 @@ export const OrderBy = ({ keys }: OrderByProps) => {
56
58
  }>(initState(searchParams))
57
59
 
58
60
  const { t } = useTranslation()
61
+ const direction = useDocumentDirection()
59
62
 
60
63
  const handleDirChange = (dir: string) => {
61
64
  setState((prev) => ({
@@ -99,7 +102,7 @@ export const OrderBy = ({ keys }: OrderByProps) => {
99
102
  }
100
103
 
101
104
  return (
102
- <DropdownMenu>
105
+ <DropdownMenu dir={direction}>
103
106
  <DropdownMenu.Trigger asChild>
104
107
  <IconButton size="small">
105
108
  <ArrowUpDown />
@@ -7,6 +7,7 @@ import { Control } from "react-hook-form"
7
7
  import { AddressSchema } from "../../../lib/schemas"
8
8
  import { Form } from "../../common/form"
9
9
  import { CountrySelect } from "../../inputs/country-select"
10
+ import { useDocumentDirection } from "../../../hooks/use-document-direction"
10
11
 
11
12
  type AddressFieldValues = z.infer<typeof AddressSchema>
12
13
 
@@ -22,7 +23,7 @@ export const AddressForm = ({
22
23
  layout,
23
24
  }: AddressFormProps) => {
24
25
  const { t } = useTranslation()
25
-
26
+ const direction = useDocumentDirection()
26
27
  const style = clx("gap-4", {
27
28
  "flex flex-col": layout === "stack",
28
29
  "grid grid-cols-2": layout === "grid",
@@ -182,7 +183,11 @@ export const AddressForm = ({
182
183
  <Form.Label>{t("fields.country")}</Form.Label>
183
184
  <Form.Control>
184
185
  {countries ? (
185
- <Select {...field} onValueChange={onChange}>
186
+ <Select
187
+ dir={direction}
188
+ {...field}
189
+ onValueChange={onChange}
190
+ >
186
191
  <Select.Trigger ref={ref}>
187
192
  <Select.Value />
188
193
  </Select.Trigger>
@@ -25,6 +25,7 @@ import { Form } from "../../common/form"
25
25
  import { Skeleton } from "../../common/skeleton"
26
26
  import { RouteDrawer, useRouteModal } from "../../modals"
27
27
  import { KeyboundForm } from "../../utilities/keybound-form"
28
+ import { useDocumentDirection } from "../../../hooks/use-document-direction"
28
29
 
29
30
  type MetaDataSubmitHook<TRes> = (
30
31
  params: { metadata?: Record<string, any> | null },
@@ -77,7 +78,7 @@ const InnerForm = <TRes,>({
77
78
  }: Omit<MetadataFormProps<TRes>, "isPending">) => {
78
79
  const { t } = useTranslation()
79
80
  const { handleSuccess } = useRouteModal()
80
-
81
+ const direction = useDocumentDirection()
81
82
  const hasUneditableRows = getHasUneditableRows(metadata)
82
83
 
83
84
  const form = useForm<z.infer<typeof MetadataSchema>>({
@@ -215,10 +216,12 @@ const InnerForm = <TRes,>({
215
216
  }}
216
217
  />
217
218
  </div>
218
- <DropdownMenu>
219
+ <DropdownMenu
220
+ dir={direction}
221
+ >
219
222
  <DropdownMenu.Trigger
220
223
  className={clx(
221
- "invisible absolute inset-y-0 -right-2.5 my-auto group-hover/table:visible data-[state='open']:visible",
224
+ "invisible absolute inset-y-0 -end-2.5 my-auto group-hover/table:visible data-[state='open']:visible",
222
225
  {
223
226
  hidden: isDisabled,
224
227
  }
@@ -251,7 +251,7 @@ const ComboboxImpl = <T extends Value = string>(
251
251
  e.preventDefault()
252
252
  handleValueChange(isArrayValue ? ([] as unknown as T) : undefined)
253
253
  }}
254
- className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute left-0.5 top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border py-[3px] pl-1.5 pr-1 outline-none"
254
+ className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute start-0.5 top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border py-[3px] ps-1.5 pe-1 outline-none"
255
255
  >
256
256
  <span className="tabular-nums">{selectedValues.length}</span>
257
257
  <XMarkMini className="text-ui-fg-muted" />
@@ -263,8 +263,8 @@ const ComboboxImpl = <T extends Value = string>(
263
263
  className={clx(
264
264
  "pointer-events-none absolute inset-y-0 flex size-full items-center",
265
265
  {
266
- "left-[calc(var(--tag-width)+8px)]": showTag,
267
- "left-2": !showTag,
266
+ "start-[calc(var(--tag-width)+8px)]": showTag,
267
+ "start-2": !showTag,
268
268
  }
269
269
  )}
270
270
  >
@@ -278,8 +278,8 @@ const ComboboxImpl = <T extends Value = string>(
278
278
  className={clx(
279
279
  "pointer-events-none absolute inset-y-0 flex size-full items-center overflow-hidden",
280
280
  {
281
- "left-[calc(var(--tag-width)+8px)]": showTag,
282
- "left-2": !showTag,
281
+ "start-[calc(var(--tag-width)+8px)]": showTag,
282
+ "start-2": !showTag,
283
283
  }
284
284
  )}
285
285
  >
@@ -293,12 +293,12 @@ const ComboboxImpl = <T extends Value = string>(
293
293
  ref={comboboxRef}
294
294
  onFocus={() => setOpen(true)}
295
295
  className={clx(
296
- "txt-compact-small text-ui-fg-base !placeholder:text-ui-fg-muted transition-fg size-full cursor-pointer bg-transparent pl-2 pr-8 outline-none focus:cursor-text",
296
+ "txt-compact-small text-ui-fg-base !placeholder:text-ui-fg-muted transition-fg size-full cursor-pointer bg-transparent ps-2 pe-8 outline-none focus:cursor-text",
297
297
  "hover:bg-ui-bg-field-hover",
298
298
  {
299
299
  "opacity-0": hideInput,
300
- "pl-2": !showTag,
301
- "pl-[calc(var(--tag-width)+8px)]": showTag,
300
+ "ps-2": !showTag,
301
+ "ps-[calc(var(--tag-width)+8px)]": showTag,
302
302
  }
303
303
  )}
304
304
  placeholder={hidePlaceholder ? undefined : placeholder}
@@ -312,7 +312,7 @@ const ComboboxImpl = <T extends Value = string>(
312
312
  e.preventDefault()
313
313
  handleValueChange(undefined)
314
314
  }}
315
- className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute right-[28px] top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border px-1.5 py-[2px] outline-none"
315
+ className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute end-[28px] top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border px-1.5 py-[2px] outline-none"
316
316
  >
317
317
  <XMarkMini className="text-ui-fg-muted" />
318
318
  </button>
@@ -323,7 +323,7 @@ const ComboboxImpl = <T extends Value = string>(
323
323
  <button
324
324
  {...props}
325
325
  type="button"
326
- className="text-ui-fg-muted transition-fg hover:bg-ui-bg-field-hover absolute right-0 flex size-8 items-center justify-center rounded-r outline-none"
326
+ className="text-ui-fg-muted transition-fg hover:bg-ui-bg-field-hover absolute end-0 flex size-8 items-center justify-center rounded-r outline-none"
327
327
  >
328
328
  <TrianglesMini />
329
329
  </button>
@@ -341,7 +341,7 @@ const ComboboxImpl = <T extends Value = string>(
341
341
  "max-h-[200px] overflow-y-auto",
342
342
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
343
343
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
344
- "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
344
+ "data-[side=bottom]:slide-in-from-top-2 data-[side=start]:slide-in-from-end-2 data-[side=end]:slide-in-from-start-2 data-[side=top]:slide-in-from-bottom-2"
345
345
  )}
346
346
  style={{
347
347
  pointerEvents: open ? "auto" : "none",
@@ -33,7 +33,7 @@ export const CountrySelect = forwardRef<
33
33
  <div className="relative">
34
34
  <TrianglesMini
35
35
  className={clx(
36
- "text-ui-fg-muted transition-fg pointer-events-none absolute right-2 top-1/2 -translate-y-1/2",
36
+ "text-ui-fg-muted transition-fg pointer-events-none absolute end-2 top-1/2 -translate-y-1/2",
37
37
  {
38
38
  "text-ui-fg-disabled": disabled,
39
39
  }
@@ -76,7 +76,7 @@ export const ProvinceSelect = forwardRef<
76
76
  <div className="relative">
77
77
  <TrianglesMini
78
78
  className={clx(
79
- "text-ui-fg-muted transition-fg pointer-events-none absolute right-2 top-1/2 -translate-y-1/2",
79
+ "text-ui-fg-muted transition-fg pointer-events-none absolute end-2 top-1/2 -translate-y-1/2",
80
80
  {
81
81
  "text-ui-fg-disabled": disabled,
82
82
  }
@@ -29,6 +29,7 @@ import { queryClient } from "../../../lib/query-client"
29
29
  import { useExtension } from "../../../providers/extension-provider"
30
30
  import { useSearch } from "../../../providers/search-provider"
31
31
  import { UserMenu } from "../user-menu"
32
+ import { useDocumentDirection } from "../../../hooks/use-document-direction"
32
33
 
33
34
  export const MainLayout = () => {
34
35
  return (
@@ -94,7 +95,7 @@ const Logout = () => {
94
95
  const Header = () => {
95
96
  const { t } = useTranslation()
96
97
  const { store, isPending, isError, error } = useStore()
97
-
98
+ const direction = useDocumentDirection()
98
99
  const name = store?.name
99
100
  const fallback = store?.name?.slice(0, 1).toUpperCase()
100
101
 
@@ -106,11 +107,12 @@ const Header = () => {
106
107
 
107
108
  return (
108
109
  <div className="w-full p-3">
109
- <DropdownMenu>
110
+ <DropdownMenu
111
+ dir={direction}>
110
112
  <DropdownMenu.Trigger
111
113
  disabled={!isLoaded}
112
114
  className={clx(
113
- "bg-ui-bg-subtle transition-fg grid w-full grid-cols-[24px_1fr_15px] items-center gap-x-3 rounded-md p-0.5 pr-2 outline-none",
115
+ "bg-ui-bg-subtle transition-fg grid w-full grid-cols-[24px_1fr_15px] items-center gap-x-3 rounded-md p-0.5 pe-2 outline-none",
114
116
  "hover:bg-ui-bg-subtle-hover",
115
117
  "data-[state=open]:bg-ui-bg-subtle-hover",
116
118
  "focus-visible:shadow-borders-focus"
@@ -121,7 +123,7 @@ const Header = () => {
121
123
  ) : (
122
124
  <Skeleton className="h-6 w-6 rounded-md" />
123
125
  )}
124
- <div className="block overflow-hidden text-left">
126
+ <div className="block overflow-hidden text-start">
125
127
  {name ? (
126
128
  <Text
127
129
  size="small"
@@ -267,7 +269,7 @@ const Searchbar = () => {
267
269
  )}
268
270
  >
269
271
  <MagnifyingGlass />
270
- <div className="flex-1 text-left">
272
+ <div className="flex-1 text-start">
271
273
  <Text size="small" leading="compact" weight="plus">
272
274
  {t("app.search.label")}
273
275
  </Text>
@@ -43,6 +43,10 @@ const useSettingRoutes = (): INavItem[] => {
43
43
  label: t("returnReasons.domain"),
44
44
  to: "/settings/return-reasons",
45
45
  },
46
+ {
47
+ label: t("refundReasons.domain"),
48
+ to: "/settings/refund-reasons",
49
+ },
46
50
  {
47
51
  label: t("salesChannels.domain"),
48
52
  to: "/settings/sales-channels",
@@ -156,7 +156,7 @@ const Breadcrumbs = () => {
156
156
  )}
157
157
  {!isLast && (
158
158
  <span className="mx-2">
159
- <TriangleRightMini />
159
+ <TriangleRightMini className="rtl:rotate-180" />
160
160
  </span>
161
161
  )}
162
162
  </li>
@@ -177,7 +177,7 @@ const ToggleSidebar = () => {
177
177
  onClick={() => toggle("desktop")}
178
178
  size="small"
179
179
  >
180
- <SidebarLeft className="text-ui-fg-muted" />
180
+ <SidebarLeft className="text-ui-fg-muted rtl:rotate-180" />
181
181
  </IconButton>
182
182
  <IconButton
183
183
  className="hidden max-lg:flex"
@@ -185,7 +185,7 @@ const ToggleSidebar = () => {
185
185
  onClick={() => toggle("mobile")}
186
186
  size="small"
187
187
  >
188
- <SidebarLeft className="text-ui-fg-muted" />
188
+ <SidebarLeft className="text-ui-fg-muted rtl:rotate-180" />
189
189
  </IconButton>
190
190
  </div>
191
191
  )
@@ -210,7 +210,7 @@ const DesktopSidebarContainer = ({ children }: PropsWithChildren) => {
210
210
 
211
211
  return (
212
212
  <div
213
- className={clx("hidden h-screen w-[220px] border-r", {
213
+ className={clx("hidden h-screen w-[220px] border-e", {
214
214
  "lg:flex": desktop,
215
215
  })}
216
216
  >
@@ -234,8 +234,8 @@ const MobileSidebarContainer = ({ children }: PropsWithChildren) => {
234
234
  />
235
235
  <RadixDialog.Content
236
236
  className={clx(
237
- "bg-ui-bg-subtle shadow-elevation-modal fixed inset-y-2 left-2 flex w-full max-w-[304px] flex-col overflow-hidden rounded-lg border-r",
238
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-left-1/2 data-[state=open]:slide-in-from-left-1/2 duration-200"
237
+ "bg-ui-bg-subtle shadow-elevation-modal fixed inset-y-2 start-2 flex w-full max-w-[304px] flex-col overflow-hidden rounded-lg border-r",
238
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-start-1/2 data-[state=open]:slide-in-from-start-1/2 duration-200"
239
239
  )}
240
240
  >
241
241
  <div className="p-3">