@mercurjs/admin 2.3.6-canary.0 → 2.3.6-canary.10

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 (273) hide show
  1. package/dist/{add-campaign-promotions-PBGDZSCD.js → add-campaign-promotions-EIQFBRHD.js} +13 -8
  2. package/dist/{adjust-inventory-BBAU3NMM.js → adjust-inventory-H46YCNLT.js} +8 -3
  3. package/dist/{api-key-management-detail-ZGGQBQAM.js → api-key-management-detail-Z4KSJHUC.js} +6 -8
  4. package/dist/{api-key-management-list-T2WHT6MT.js → api-key-management-list-QZIRPINF.js} +5 -5
  5. package/dist/{api-key-management-sales-channels-FS3KXQQ6.js → api-key-management-sales-channels-RGZ3QITG.js} +9 -7
  6. package/dist/{attribute-create-C435ZHB2.js → attribute-create-7I5GNYFM.js} +6 -5
  7. package/dist/{attribute-detail-SPYDB3I5.js → attribute-detail-GP4PEFJ7.js} +17 -11
  8. package/dist/{attribute-edit-AAEAOP5B.js → attribute-edit-YNKCBXLU.js} +2 -2
  9. package/dist/{attribute-edit-possible-value-BJSQCTNO.js → attribute-edit-possible-value-XY7W42FB.js} +2 -2
  10. package/dist/{attribute-list-SCFBKH4L.js → attribute-list-ZC3CG5LS.js} +7 -7
  11. package/dist/{campaign-detail-BHRCOKL3.js → campaign-detail-OZWTK26Z.js} +11 -11
  12. package/dist/{campaign-list-GIMU2QVW.js → campaign-list-XCO4FJDZ.js} +5 -5
  13. package/dist/{categories-metadata-MJAYSCTW.js → categories-metadata-QYH5U77W.js} +3 -3
  14. package/dist/{category-detail-GVEDFNM7.js → category-detail-V2QUSUF3.js} +11 -12
  15. package/dist/{category-list-J7XYQDJU.js → category-list-XDOYTQ4X.js} +6 -6
  16. package/dist/{category-products-VVF5NXCE.js → category-products-DL4KV6NX.js} +16 -9
  17. package/dist/{chunk-NIDM2VQO.js → chunk-23CSVCQK.js} +28 -17
  18. package/dist/{chunk-DUFGVZ6H.js → chunk-25TWJMWE.js} +2 -2
  19. package/dist/{chunk-VTXMQTXK.js → chunk-26REB3B6.js} +4 -3
  20. package/dist/{chunk-ZH6TIKKW.js → chunk-2MOTQNEG.js} +1 -0
  21. package/dist/{chunk-M6X7KIBW.js → chunk-2XBNM6TM.js} +4 -4
  22. package/dist/{chunk-BQZ5P3IA.js → chunk-36KEGXUQ.js} +112 -75
  23. package/dist/{chunk-475XGX3J.js → chunk-3BKRMIWA.js} +24 -13
  24. package/dist/{chunk-NCDKLTDP.js → chunk-3H3BJSIK.js} +34 -12
  25. package/dist/chunk-3PPYNV2Q.js +268 -0
  26. package/dist/chunk-3UOYBH5O.js +8 -0
  27. package/dist/{chunk-GFHUI2QK.js → chunk-473QGQSA.js} +9 -6
  28. package/dist/{chunk-3XS5ADKJ.js → chunk-4AOVNA5G.js} +31 -20
  29. package/dist/{chunk-IKAUNMRC.js → chunk-4J74G7N2.js} +15 -3
  30. package/dist/{chunk-WIDHYDJQ.js → chunk-4JQDYQSX.js} +20 -10
  31. package/dist/{chunk-RW3NEG36.js → chunk-4W77EUYY.js} +9 -7
  32. package/dist/{chunk-6UYV7B42.js → chunk-4Y7SBHXE.js} +10 -8
  33. package/dist/{chunk-VVIJHBKM.js → chunk-5MXEKSK4.js} +1 -1
  34. package/dist/{chunk-AGO4ROOR.js → chunk-5OIFUF7R.js} +1 -1
  35. package/dist/{chunk-S4WDCOQD.js → chunk-5QW3GY37.js} +27 -14
  36. package/dist/{chunk-5TIADRZ7.js → chunk-63JSBXD5.js} +8 -6
  37. package/dist/{chunk-5ENOJFDI.js → chunk-7CGMFCSU.js} +1 -1
  38. package/dist/{chunk-7QZFRDTU.js → chunk-7GCMYYFL.js} +7 -4
  39. package/dist/{chunk-OWWE5Y6T.js → chunk-7URQCA3H.js} +8 -6
  40. package/dist/{chunk-R2ODJ3D3.js → chunk-A3LCORSK.js} +11 -7
  41. package/dist/{chunk-IZ77JV46.js → chunk-AUCCE46Q.js} +6 -3
  42. package/dist/{chunk-PFQO7UQG.js → chunk-AW4RL2SA.js} +60 -33
  43. package/dist/{chunk-2NOIR4BR.js → chunk-AZV22U4V.js} +20 -2
  44. package/dist/chunk-BORT2CVW.js +2927 -0
  45. package/dist/{chunk-VYSTJIAD.js → chunk-CX5XB56X.js} +4 -3
  46. package/dist/{chunk-VWPX7GLC.js → chunk-DBGBLXBS.js} +1 -1
  47. package/dist/{chunk-J4SYK3RT.js → chunk-DGRHDZQO.js} +15 -5
  48. package/dist/{chunk-6AQYZWOC.js → chunk-DL5J4DV2.js} +2 -2
  49. package/dist/{chunk-7UHN2CW7.js → chunk-DM52HEOD.js} +1 -1
  50. package/dist/{chunk-EJGGX3ON.js → chunk-DMLXILXG.js} +12 -10
  51. package/dist/{chunk-VBHKRUON.js → chunk-DUKOOIQD.js} +6 -5
  52. package/dist/{chunk-BLU2WLIJ.js → chunk-DWPBJEEM.js} +21 -8
  53. package/dist/{chunk-6P7HBAUM.js → chunk-E4CMR4T2.js} +21 -13
  54. package/dist/{chunk-QEBISX7V.js → chunk-EBAFVGM3.js} +1 -1
  55. package/dist/{chunk-J34YB5R4.js → chunk-EHLCUND7.js} +12 -10
  56. package/dist/{chunk-DBCNRZZE.js → chunk-EIPTLSNT.js} +3 -1
  57. package/dist/{chunk-KWFSBUD6.js → chunk-ESRIX7ZH.js} +1485 -1411
  58. package/dist/{chunk-YM5X7CQL.js → chunk-FCAJQFYT.js} +32 -12
  59. package/dist/{chunk-437KXVGO.js → chunk-G63BL5AB.js} +8 -5
  60. package/dist/{chunk-BZPOERWW.js → chunk-GIV6KSQX.js} +18 -9
  61. package/dist/{chunk-G2KWNZV6.js → chunk-GMJLK3IK.js} +2 -2
  62. package/dist/{chunk-P2KYQNXQ.js → chunk-GQYB3OOC.js} +108 -65
  63. package/dist/{chunk-4FAYO6UJ.js → chunk-GZUXEIEB.js} +3 -3
  64. package/dist/{chunk-7ASAC2FM.js → chunk-H4TJZB26.js} +26 -18
  65. package/dist/{chunk-5SNW2DCY.js → chunk-HXDCSVQP.js} +42 -18
  66. package/dist/{chunk-NQEXDESI.js → chunk-IBTEL5KA.js} +32 -14
  67. package/dist/{chunk-Q732RWRD.js → chunk-IQRFJO4N.js} +7 -5
  68. package/dist/{chunk-LBFX6AVE.js → chunk-JFRYC6GK.js} +17 -10
  69. package/dist/{chunk-7YBZ2PEZ.js → chunk-JQ7GOJK6.js} +135 -58
  70. package/dist/{chunk-FOWWGEP7.js → chunk-JS2DAWKO.js} +9 -6
  71. package/dist/{chunk-IHCKU5FR.js → chunk-K6OBX6ZR.js} +8 -7
  72. package/dist/{chunk-RSDTHO3I.js → chunk-KB3BTLIB.js} +6 -4
  73. package/dist/{chunk-VIHLAFDA.js → chunk-KYOZ4CCY.js} +61 -29
  74. package/dist/{chunk-D6WRJZPH.js → chunk-LCUAIH7P.js} +7 -5
  75. package/dist/{chunk-F5EZQMOA.js → chunk-M7VHCFCW.js} +10 -8
  76. package/dist/{chunk-EVCAR6GP.js → chunk-MAEUKXZ4.js} +8 -5
  77. package/dist/{chunk-HFCJJJKP.js → chunk-MKKOAF2W.js} +26 -12
  78. package/dist/{chunk-MQFPD5J4.js → chunk-MNKJHZZT.js} +10 -6
  79. package/dist/{chunk-YUL4ES52.js → chunk-MSJ2QS4Y.js} +6 -4
  80. package/dist/{chunk-VE5FQQTG.js → chunk-MTP3MDAA.js} +10 -7
  81. package/dist/{chunk-24JEBPKI.js → chunk-NJ2NRKAJ.js} +57 -14
  82. package/dist/{chunk-XMIDY45X.js → chunk-NRRSESP2.js} +32 -13
  83. package/dist/{chunk-B7QLJF77.js → chunk-NUE5ZL5N.js} +11 -5
  84. package/dist/{chunk-B6KT5U7W.js → chunk-NZIDSNBJ.js} +10 -8
  85. package/dist/{chunk-PAG3PYAQ.js → chunk-O5W5DCKH.js} +1 -1
  86. package/dist/{chunk-CFQX7HAW.js → chunk-OCDZIJBM.js} +11 -5
  87. package/dist/{chunk-KTO2WJ75.js → chunk-OGTWBHJC.js} +2 -2
  88. package/dist/{chunk-3KRUGI6C.js → chunk-ONTZADVX.js} +1 -1
  89. package/dist/{chunk-W62DN2I2.js → chunk-OWSAXYGH.js} +1 -1
  90. package/dist/{chunk-ESNSDIEC.js → chunk-PDPCFFFH.js} +1 -1
  91. package/dist/{chunk-Q6M2TNLO.js → chunk-PGOJH3NS.js} +61 -329
  92. package/dist/{chunk-LXW3L56Z.js → chunk-Q2XWHI6K.js} +6 -3
  93. package/dist/{chunk-ENKVW7JW.js → chunk-QKW6ZECR.js} +29 -14
  94. package/dist/{chunk-JBT2FR4K.js → chunk-QPDL77XZ.js} +21 -10
  95. package/dist/{chunk-D7E6HL5O.js → chunk-QPXGSVW4.js} +10 -8
  96. package/dist/{chunk-M336ZIRO.js → chunk-QQ2UM2KH.js} +9 -7
  97. package/dist/{chunk-YWZQKODL.js → chunk-R55XYG6Y.js} +28 -15
  98. package/dist/{chunk-AOLP2YDZ.js → chunk-RAD3UMQ3.js} +7 -5
  99. package/dist/{chunk-HFM6N7R3.js → chunk-RLF7ADLP.js} +21 -13
  100. package/dist/{chunk-A2UTT4YX.js → chunk-SLXOKSG4.js} +58 -28
  101. package/dist/{chunk-ZOU25JF6.js → chunk-SU36MZXC.js} +11 -3
  102. package/dist/{chunk-F644YFJZ.js → chunk-SZSAJHN7.js} +7 -6
  103. package/dist/{chunk-GR7S7WTT.js → chunk-TPWSE5HE.js} +16 -11
  104. package/dist/{chunk-7ECQXPOG.js → chunk-TVCHVG2A.js} +3 -3
  105. package/dist/{chunk-HJACC6KV.js → chunk-UKQ6FES4.js} +6 -3
  106. package/dist/{chunk-JL3NKSLJ.js → chunk-USO2SWZV.js} +9 -4
  107. package/dist/chunk-USY2322P.js +17 -0
  108. package/dist/{chunk-6ASLWQB3.js → chunk-V3UQOU5W.js} +4 -2
  109. package/dist/{chunk-XXYVUV5F.js → chunk-VD2CKAYG.js} +21 -10
  110. package/dist/{chunk-C4XKPQ6T.js → chunk-VLNTJXXO.js} +16 -3
  111. package/dist/{chunk-D3RDR3D3.js → chunk-W3LCOK3O.js} +153 -124
  112. package/dist/{chunk-MXM5ZD4Y.js → chunk-W5U6NPSN.js} +10 -25
  113. package/dist/{chunk-MM5RRCPX.js → chunk-WVHNOE7Y.js} +1 -1
  114. package/dist/{chunk-RFENVF7Y.js → chunk-XUOGIKEE.js} +3 -3
  115. package/dist/{chunk-R22UAHRF.js → chunk-YDESULL7.js} +3 -1
  116. package/dist/{chunk-7I7G5ZJE.js → chunk-YIXWAK3A.js} +12 -7
  117. package/dist/{chunk-ZFPASY4R.js → chunk-Z2FX5GG4.js} +24 -12
  118. package/dist/{chunk-JQEAWWRP.js → chunk-ZPJOSHV7.js} +23 -12
  119. package/dist/{chunk-U2RBSUMY.js → chunk-ZU76OTV3.js} +2 -2
  120. package/dist/{collection-add-products-HCY2YT3W.js → collection-add-products-FWEVXBYC.js} +16 -9
  121. package/dist/{collection-detail-QAEPOJZX.js → collection-detail-U4AW4QJ3.js} +11 -12
  122. package/dist/{collection-list-AWLZYMWL.js → collection-list-PFXGNWL7.js} +15 -15
  123. package/dist/{collection-metadata-XM2EBCWF.js → collection-metadata-IKYBHHEU.js} +3 -3
  124. package/dist/{commission-rule-create-CDLLQIY4.js → commission-rule-create-QDNXXBTV.js} +64 -30
  125. package/dist/{commission-rule-detail-LFEZ5U6V.js → commission-rule-detail-QYJIK375.js} +3 -5
  126. package/dist/{commission-rule-edit-5CFKPI7U.js → commission-rule-edit-HICDPDLK.js} +58 -24
  127. package/dist/{commissions-list-MUKIEJWZ.js → commissions-list-AQUW636T.js} +6 -6
  128. package/dist/{customer-detail-XO7RBVUC.js → customer-detail-TBGKTNQQ.js} +9 -9
  129. package/dist/{customer-group-add-customers-XYWJSXKS.js → customer-group-add-customers-RWJOA2NJ.js} +3 -3
  130. package/dist/{customer-group-detail-4G53UKOS.js → customer-group-detail-47IPD337.js} +7 -8
  131. package/dist/{customer-group-list-5VA7HGD5.js → customer-group-list-Q2AYIVO4.js} +7 -8
  132. package/dist/{customer-group-metadata-FUJFFWCO.js → customer-group-metadata-T3WFBL7U.js} +3 -3
  133. package/dist/{customer-list-NEPELR3R.js → customer-list-JOPTF4QB.js} +5 -6
  134. package/dist/{customer-metadata-GWZC456X.js → customer-metadata-YSMWL4L3.js} +3 -3
  135. package/dist/{customers-add-customer-group-MYC76YGW.js → customers-add-customer-group-AVRYBS6Q.js} +14 -7
  136. package/dist/{edit-inventory-item-ZSV4WF6G.js → edit-inventory-item-7M7Q6HL4.js} +2 -2
  137. package/dist/{edit-inventory-item-attributes-NWSAQMKX.js → edit-inventory-item-attributes-E7J2WFPF.js} +2 -2
  138. package/dist/{edit-reservation-W3THLKKK.js → edit-reservation-S3QTQRPY.js} +11 -3
  139. package/dist/{edit-rules-RJC3AYJN.js → edit-rules-NRF7U4AT.js} +2 -2
  140. package/dist/extension-targets.d.ts +27 -0
  141. package/dist/home-E7IVATD3.js +64 -0
  142. package/dist/index.css +271 -9
  143. package/dist/index.d.ts +10 -30
  144. package/dist/index.js +635 -3925
  145. package/dist/{inventory-detail-7HB5QEL4.js → inventory-detail-U6TRGZRY.js} +8 -8
  146. package/dist/{inventory-list-FN7FCI4W.js → inventory-list-JWA7U2LB.js} +4 -5
  147. package/dist/{inventory-metadata-FGHOW3YG.js → inventory-metadata-KO622YEI.js} +3 -3
  148. package/dist/{inventory-stock-PZ2ENOGF.js → inventory-stock-WWXYVFK2.js} +21 -11
  149. package/dist/{location-detail-B2BWLVAD.js → location-detail-27FBZML7.js} +5 -7
  150. package/dist/{location-fulfillment-providers-XIYMIEFN.js → location-fulfillment-providers-WT72L5JS.js} +21 -13
  151. package/dist/{location-list-VIAP63HV.js → location-list-RMHT36AO.js} +5 -7
  152. package/dist/{location-sales-channels-TNP3C7UW.js → location-sales-channels-JB5OIMXE.js} +13 -6
  153. package/dist/{location-service-zone-create-KPM4RSCF.js → location-service-zone-create-JKAKZCZ2.js} +3 -3
  154. package/dist/{location-service-zone-manage-areas-NW5JUTCH.js → location-service-zone-manage-areas-K2BMFI5Y.js} +3 -3
  155. package/dist/{location-service-zone-shipping-option-create-6O2JXV6I.js → location-service-zone-shipping-option-create-WJOLO6A3.js} +4 -4
  156. package/dist/{location-service-zone-shipping-option-edit-UUIR7B5S.js → location-service-zone-shipping-option-edit-I7BJGH76.js} +23 -10
  157. package/dist/{location-service-zone-shipping-option-pricing-Z5HCXRHG.js → location-service-zone-shipping-option-pricing-47Y3CP4U.js} +36 -12
  158. package/dist/{login-TZHRVYA5.js → login-ISNIWXU2.js} +3 -3
  159. package/dist/{manage-locations-ZFIRHMNH.js → manage-locations-5FKFNJQN.js} +158 -36
  160. package/dist/{marketplace-add-currencies-Z6FUIAU5.js → marketplace-add-currencies-34XKWMI7.js} +33 -9
  161. package/dist/{marketplace-detail-4IP5HIEW.js → marketplace-detail-A76FTENH.js} +7 -7
  162. package/dist/{marketplace-edit-G7YNGABC.js → marketplace-edit-KXKUECZQ.js} +61 -30
  163. package/dist/{marketplace-metadata-EGDXYKCE.js → marketplace-metadata-364KJG43.js} +3 -3
  164. package/dist/{offer-detail-page-WWEUCEFC.js → offer-detail-page-BDDDZSPL.js} +36 -13
  165. package/dist/{offer-variant-detail-page-FVJE5WLV.js → offer-variant-detail-page-HQU4HMZH.js} +4 -5
  166. package/dist/{offers-VG334CFD.js → offers-2JDCFVN4.js} +10 -11
  167. package/dist/{order-create-claim-4CIL76V5.js → order-create-claim-4ERPSGPD.js} +105 -61
  168. package/dist/{order-create-edit-BFE4N7RN.js → order-create-edit-BGLNMKKI.js} +17 -10
  169. package/dist/{order-create-exchange-CC7CQECO.js → order-create-exchange-TOPPZZGS.js} +107 -63
  170. package/dist/{order-create-refund-FJLL4CUD.js → order-create-refund-M3K5MZDM.js} +39 -24
  171. package/dist/{order-create-return-USO7AS7R.js → order-create-return-64GZ2LCL.js} +109 -70
  172. package/dist/{order-detail-3ODC5NOT.js → order-detail-DIUKR6ZJ.js} +9 -9
  173. package/dist/{order-edit-billing-address-SBVWRA25.js → order-edit-billing-address-ZAR5DETE.js} +3 -3
  174. package/dist/{order-edit-email-BREEW246.js → order-edit-email-V45SEUCO.js} +2 -2
  175. package/dist/{order-edit-shipping-address-XUG74AFY.js → order-edit-shipping-address-45Z6TNHL.js} +2 -2
  176. package/dist/{order-list-I6JZT6JK.js → order-list-KZHROLY3.js} +7 -7
  177. package/dist/{order-metadata-VIG5MGYV.js → order-metadata-7245QRUQ.js} +3 -3
  178. package/dist/{order-request-transfer-RYVK4WYW.js → order-request-transfer-JYPDXCY2.js} +28 -14
  179. package/dist/pages/index.d.ts +2 -2
  180. package/dist/pages/index.js +99 -98
  181. package/dist/{payout-list-WZ6QMJJY.js → payout-list-KILGQ4XP.js} +3 -3
  182. package/dist/{price-list-create-JFXLTNOJ.js → price-list-create-H3KJPUF4.js} +12 -12
  183. package/dist/{price-list-customer-availability-WU2OGO37.js → price-list-customer-availability-CQY55U4O.js} +31 -14
  184. package/dist/{price-list-detail-5YTX66KF.js → price-list-detail-I44VTKE6.js} +10 -11
  185. package/dist/{price-list-list-5CNSLAUF.js → price-list-list-TD5JIO7L.js} +5 -5
  186. package/dist/{price-list-prices-add-HVTEQOWQ.js → price-list-prices-add-XEJKCRTM.js} +11 -11
  187. package/dist/{price-list-prices-edit-OVHIDATP.js → price-list-prices-edit-WELHT4O4.js} +19 -10
  188. package/dist/{product-add-existing-attributes-2UFTXE2N.js → product-add-existing-attributes-5B6HD2M3.js} +10 -8
  189. package/dist/{product-create-SHIGHLQN.js → product-create-DTITIXGY.js} +12 -11
  190. package/dist/{product-create-attribute-QYRCPUFC.js → product-create-attribute-7TV3OHW7.js} +1 -1
  191. package/dist/{product-create-variant-MZLHG5JF.js → product-create-variant-S3UJRMMJ.js} +3 -3
  192. package/dist/{product-detail-UGSTCK7J.js → product-detail-2MYEE5AM.js} +9 -10
  193. package/dist/{product-edit-2CMVTDWT.js → product-edit-TAVV5CWR.js} +8 -3
  194. package/dist/{product-edit-attribute-W3AS47FM.js → product-edit-attribute-URHTZ2EQ.js} +9 -3
  195. package/dist/{product-list-XDJB3HX7.js → product-list-QYZXPM4I.js} +11 -12
  196. package/dist/{product-media-CO3F57JT.js → product-media-MFDAEXNQ.js} +3 -3
  197. package/dist/{product-metadata-5CRGB7TR.js → product-metadata-SC5BXN66.js} +3 -3
  198. package/dist/{product-organization-TNS7GBKN.js → product-organization-GCIGER6X.js} +87 -43
  199. package/dist/{product-sales-channels-PJNEIY4J.js → product-sales-channels-MNAFJKAI.js} +10 -5
  200. package/dist/{product-shipping-profile-SWB5FK7S.js → product-shipping-profile-G4NCDKSR.js} +25 -11
  201. package/dist/{product-tag-create-QORH6X2D.js → product-tag-create-PX7Q2AXU.js} +2 -2
  202. package/dist/{product-tag-detail-CDSYBTAM.js → product-tag-detail-4CGCZVSL.js} +18 -18
  203. package/dist/{product-tag-edit-JWYVCPCC.js → product-tag-edit-PXSZMCCT.js} +2 -2
  204. package/dist/{product-tag-list-RKLCU3UE.js → product-tag-list-2S6PHBIB.js} +18 -18
  205. package/dist/{product-tag-metadata-BCUPIIJ5.js → product-tag-metadata-2SO7ICOZ.js} +3 -3
  206. package/dist/{product-type-detail-IY7TWXUQ.js → product-type-detail-M4QLNFSG.js} +11 -12
  207. package/dist/{product-type-list-N3E5HQFW.js → product-type-list-JXU3446J.js} +5 -5
  208. package/dist/{product-type-metadata-DKBBQB6R.js → product-type-metadata-7D3J3NSO.js} +3 -3
  209. package/dist/{product-variant-detail-XHMS2UT5.js → product-variant-detail-VQ55W7PD.js} +4 -6
  210. package/dist/{product-variant-edit-4DPXTYPT.js → product-variant-edit-XEC7BR5G.js} +4 -4
  211. package/dist/{product-variant-metadata-ETVJBXSW.js → product-variant-metadata-KFLIOCU2.js} +3 -3
  212. package/dist/{profile-detail-KFLXUGQ5.js → profile-detail-SQZ6JFAN.js} +3 -5
  213. package/dist/{profile-edit-4FDALFG5.js → profile-edit-IVU3SBQA.js} +3 -3
  214. package/dist/{promotion-add-campaign-VAF3HTLK.js → promotion-add-campaign-SWTS4TM5.js} +2 -1
  215. package/dist/{promotion-create-7ZUJ4W2J.js → promotion-create-6TMK6PEP.js} +5 -4
  216. package/dist/{promotion-detail-SWO4PZDC.js → promotion-detail-YRWEIXY7.js} +7 -9
  217. package/dist/{promotion-list-S4B6SVD6.js → promotion-list-NFVGSR23.js} +9 -9
  218. package/dist/{refund-reason-create-P5FUFEGK.js → refund-reason-create-HZOBFOPB.js} +2 -2
  219. package/dist/{refund-reason-edit-AKOTWXCE.js → refund-reason-edit-KS6NMC22.js} +2 -2
  220. package/dist/{refund-reason-list-ABRFC3OQ.js → refund-reason-list-RL7WOHKC.js} +11 -12
  221. package/dist/{region-add-countries-4CTAVHYW.js → region-add-countries-47QLUMX7.js} +2 -2
  222. package/dist/{region-create-S2WUJ4RA.js → region-create-7DI3QEPU.js} +25 -11
  223. package/dist/{region-detail-IBLHFR57.js → region-detail-S5OT2PGL.js} +4 -5
  224. package/dist/{region-edit-NUMG2V5L.js → region-edit-IXCS3MRH.js} +32 -14
  225. package/dist/{region-list-JTR3SEWI.js → region-list-2MWAGD2D.js} +4 -5
  226. package/dist/{region-metadata-Q6HEMCHD.js → region-metadata-ADPG7OLJ.js} +3 -3
  227. package/dist/{reservation-create-H3T3AHTK.js → reservation-create-YEICXID2.js} +67 -44
  228. package/dist/{reservation-detail-5GYGVM3M.js → reservation-detail-EBIDXEVF.js} +4 -6
  229. package/dist/{reservation-list-VRRSKQ4W.js → reservation-list-5QNXC2WU.js} +4 -5
  230. package/dist/{reservation-metadata-P4G3JEDW.js → reservation-metadata-TWJE777O.js} +3 -3
  231. package/dist/{reset-password-VJY5CXJU.js → reset-password-FIZYJ2R4.js} +1 -1
  232. package/dist/{return-reason-list-6MQKG72S.js → return-reason-list-VDX6CFJL.js} +10 -10
  233. package/dist/{review-detail-K555FECH.js → review-detail-NPB3OKCE.js} +2 -4
  234. package/dist/{review-list-E56WE7VS.js → review-list-NXBVRP5T.js} +4 -5
  235. package/dist/{sales-channel-add-products-MPJ7UCEJ.js → sales-channel-add-products-MBSSIGYE.js} +19 -10
  236. package/dist/{sales-channel-detail-F37LBP6R.js → sales-channel-detail-R2BCF7TA.js} +11 -12
  237. package/dist/{sales-channel-list-XAWN5OKC.js → sales-channel-list-246V7NV3.js} +5 -7
  238. package/dist/{sales-channel-metadata-NBWFH4QX.js → sales-channel-metadata-PMLMQIKU.js} +3 -3
  239. package/dist/settings-UG4P6CCP.js +63 -0
  240. package/dist/{shipping-option-type-create-M23CI42D.js → shipping-option-type-create-NOFP2DOM.js} +2 -2
  241. package/dist/{shipping-option-type-detail-QIJZQ5WW.js → shipping-option-type-detail-47AZVCFP.js} +5 -7
  242. package/dist/{shipping-option-type-edit-WXTEQM32.js → shipping-option-type-edit-42JILKHX.js} +2 -2
  243. package/dist/{shipping-option-type-list-PRXZQSPR.js → shipping-option-type-list-TTAA63ZN.js} +8 -8
  244. package/dist/{shipping-profile-detail-KPRFJE4V.js → shipping-profile-detail-RGB67K3C.js} +2 -4
  245. package/dist/{shipping-profile-metadata-S7Z3IC6I.js → shipping-profile-metadata-GXMY5E57.js} +3 -3
  246. package/dist/{shipping-profiles-list-LK5ZXRJG.js → shipping-profiles-list-DD3G2THE.js} +4 -5
  247. package/dist/{store-bulk-edit-NBWZMDP7.js → store-bulk-edit-RRNJZEOU.js} +2 -2
  248. package/dist/{store-create-J4SL6SY3.js → store-create-UQ333C5F.js} +37 -15
  249. package/dist/{store-details-ITYKAZSI.js → store-details-D7RUCH5Y.js} +13 -14
  250. package/dist/{store-edit-NZMI7PNS.js → store-edit-RCNV5XI4.js} +3 -3
  251. package/dist/{store-list-RXPN3VVO.js → store-list-BMPOSAAE.js} +13 -14
  252. package/dist/{store-member-invite-IEUG54XA.js → store-member-invite-ALW6E3XA.js} +15 -6
  253. package/dist/{tax-region-create-PIDKQEWT.js → tax-region-create-3B6FWGWS.js} +3 -3
  254. package/dist/{tax-region-detail-7RNNZ4UE.js → tax-region-detail-PU4Q42KO.js} +8 -9
  255. package/dist/{tax-region-edit-I27QZZPB.js → tax-region-edit-P4L2CUFV.js} +2 -2
  256. package/dist/{tax-region-list-BXLYIYQT.js → tax-region-list-PUNXDH34.js} +5 -6
  257. package/dist/{tax-region-metadata-6YIZSRLO.js → tax-region-metadata-EDZ7YGYR.js} +3 -3
  258. package/dist/{tax-region-province-detail-AHS5SRP5.js → tax-region-province-detail-3ZQOCKZ2.js} +7 -8
  259. package/dist/{tax-region-tax-override-create-Z6S43XQ6.js → tax-region-tax-override-create-J5ZUAELL.js} +15 -15
  260. package/dist/{tax-region-tax-override-edit-4EOURL2M.js → tax-region-tax-override-edit-HDVKIL5P.js} +46 -26
  261. package/dist/{user-detail-5LOE6QGK.js → user-detail-4H37KBIP.js} +3 -5
  262. package/dist/{user-edit-O2M5II52.js → user-edit-42A2VX5E.js} +1 -1
  263. package/dist/{user-invite-SZIUG2WK.js → user-invite-5EJ3CIQZ.js} +35 -134
  264. package/dist/{user-list-6YRC6HYX.js → user-list-EZ56HFI3.js} +5 -6
  265. package/dist/{user-metadata-2PEU2IJE.js → user-metadata-3GENWLUS.js} +3 -3
  266. package/package.json +14 -14
  267. package/dist/chunk-4F6SHS7A.js +0 -83
  268. package/dist/chunk-BDGZ4EQO.js +0 -86
  269. package/dist/chunk-WMA3WTCM.js +0 -117
  270. package/dist/home-I3OILW5Z.js +0 -16
  271. package/dist/settings-AVE3VCCM.js +0 -19
  272. package/dist/{customer-edit-5EH2AUGN.js → customer-edit-LDKAXHZ6.js} +3 -3
  273. package/dist/{invite-6WUERQLW.js → invite-IZ2YTVPF.js} +1 -1
@@ -54,6 +54,8 @@ declare module "@mercurjs/dashboard-sdk" {
54
54
  "locations.detail.side.before": true
55
55
  "locations.list.after": true
56
56
  "locations.list.before": true
57
+ "locations.list.item.after": true
58
+ "locations.list.item.before": true
57
59
  "marketplace.detail.main.after": true
58
60
  "marketplace.detail.main.before": true
59
61
  "offer-variants.detail.main.after": true
@@ -140,6 +142,8 @@ declare module "@mercurjs/dashboard-sdk" {
140
142
  "stores.detail.main.before": true
141
143
  "stores.detail.side.after": true
142
144
  "stores.detail.side.before": true
145
+ "stores.detail.tabs.after": true
146
+ "stores.detail.tabs.before": true
143
147
  "stores.list.after": true
144
148
  "stores.list.before": true
145
149
  "tax-regions.detail.main.after": true
@@ -148,6 +152,8 @@ declare module "@mercurjs/dashboard-sdk" {
148
152
  "tax-regions.list.before": true
149
153
  "tax-regions.province.detail.main.after": true
150
154
  "tax-regions.province.detail.main.before": true
155
+ "topbar.after": true
156
+ "topbar.before": true
151
157
  "users.detail.main.after": true
152
158
  "users.detail.main.before": true
153
159
  "users.list.after": true
@@ -169,6 +175,21 @@ declare module "@mercurjs/dashboard-sdk" {
169
175
  "promotions": true
170
176
  "reservations": true
171
177
  "reviews": true
178
+ "settings/attributes": true
179
+ "settings/commissions": true
180
+ "settings/locations": true
181
+ "settings/marketplace": true
182
+ "settings/product-tags": true
183
+ "settings/product-types": true
184
+ "settings/profile": true
185
+ "settings/publishable-api-keys": true
186
+ "settings/refund-reasons": true
187
+ "settings/regions": true
188
+ "settings/return-reasons": true
189
+ "settings/sales-channels": true
190
+ "settings/secret-api-keys": true
191
+ "settings/tax-regions": true
192
+ "settings/users": true
172
193
  "stores": true
173
194
  }
174
195
 
@@ -183,6 +204,12 @@ declare module "@mercurjs/dashboard-sdk" {
183
204
  "stores": true
184
205
  }
185
206
 
207
+ interface NavGroupRegistry {
208
+ "developer": true
209
+ "general": true
210
+ "myAccount": true
211
+ }
212
+
186
213
  interface CustomFieldsRegistry {
187
214
  "attribute": {
188
215
  formZones: "create"
@@ -0,0 +1,64 @@
1
+ import {
2
+ useLandingRoute
3
+ } from "./chunk-BORT2CVW.js";
4
+ import "./chunk-C6SUTRP2.js";
5
+ import "./chunk-LAVHRER2.js";
6
+ import "./chunk-U3I6S3RO.js";
7
+ import "./chunk-W5U6NPSN.js";
8
+ import "./chunk-DSQRFZCO.js";
9
+ import "./chunk-LHE6LM6S.js";
10
+ import "./chunk-BOPIWKTU.js";
11
+ import "./chunk-ALJIXUKL.js";
12
+ import "./chunk-QWT3GCLC.js";
13
+ import "./chunk-EVNTT2M3.js";
14
+ import "./chunk-AQHEU7OA.js";
15
+ import "./chunk-JW5SGRFC.js";
16
+ import "./chunk-AEBQQ2EG.js";
17
+ import "./chunk-CMVQ5SAG.js";
18
+ import "./chunk-AZV22U4V.js";
19
+ import "./chunk-2SCR7R3C.js";
20
+ import "./chunk-YMMREB3P.js";
21
+ import "./chunk-UNS2F7DK.js";
22
+ import "./chunk-56XMCNDS.js";
23
+ import "./chunk-I4WBDDWN.js";
24
+ import "./chunk-3JN6NCCN.js";
25
+ import "./chunk-FHZHKIWI.js";
26
+ import "./chunk-E5PC2WDZ.js";
27
+ import "./chunk-SCLV2T6Z.js";
28
+ import "./chunk-H5E3CGD7.js";
29
+ import "./chunk-S7TEUVP7.js";
30
+ import "./chunk-DYCCRR7B.js";
31
+ import "./chunk-OQ2J45XW.js";
32
+ import "./chunk-XWOFQSGH.js";
33
+ import "./chunk-HRMANL53.js";
34
+ import "./chunk-JC2FFAMW.js";
35
+ import "./chunk-OFW63WXL.js";
36
+ import "./chunk-SQ7J4KTS.js";
37
+ import "./chunk-Y7QKP6QU.js";
38
+ import "./chunk-INNFZYX2.js";
39
+ import "./chunk-Z476HUMI.js";
40
+ import "./chunk-RHKRREUU.js";
41
+ import "./chunk-ZA2KFUFR.js";
42
+ import "./chunk-DTGEFKK4.js";
43
+ import "./chunk-NBMM2TZK.js";
44
+
45
+ // src/pages/home/home.tsx
46
+ import { useEffect } from "react";
47
+ import { useNavigate } from "react-router-dom";
48
+ import { usePermissions } from "@mercurjs/dashboard-shared";
49
+ import { jsx } from "react/jsx-runtime";
50
+ var Home = () => {
51
+ const navigate = useNavigate();
52
+ const { isLoading } = usePermissions();
53
+ const landing = useLandingRoute();
54
+ useEffect(() => {
55
+ if (isLoading) {
56
+ return;
57
+ }
58
+ navigate(landing, { replace: true });
59
+ }, [navigate, landing, isLoading]);
60
+ return /* @__PURE__ */ jsx("div", {});
61
+ };
62
+ export {
63
+ Home as Component
64
+ };
package/dist/index.css CHANGED
@@ -1440,6 +1440,9 @@ video {
1440
1440
  .-mb-px {
1441
1441
  margin-bottom: -1px;
1442
1442
  }
1443
+ .-ml-2 {
1444
+ margin-left: -0.5rem;
1445
+ }
1443
1446
  .-ml-\[0\.5px\] {
1444
1447
  margin-left: -0.5px;
1445
1448
  }
@@ -1834,6 +1837,9 @@ video {
1834
1837
  .min-h-\[0\] {
1835
1838
  min-height: 0;
1836
1839
  }
1840
+ .min-h-\[120px\] {
1841
+ min-height: 120px;
1842
+ }
1837
1843
  .min-h-\[150px\] {
1838
1844
  min-height: 150px;
1839
1845
  }
@@ -1972,6 +1978,9 @@ video {
1972
1978
  .w-\[30px\] {
1973
1979
  width: 30px;
1974
1980
  }
1981
+ .w-\[320px\] {
1982
+ width: 320px;
1983
+ }
1975
1984
  .w-\[32px\] {
1976
1985
  width: 32px;
1977
1986
  }
@@ -2039,6 +2048,9 @@ video {
2039
2048
  .min-w-8 {
2040
2049
  min-width: 2rem;
2041
2050
  }
2051
+ .min-w-\[196px\] {
2052
+ min-width: 196px;
2053
+ }
2042
2054
  .min-w-\[200px\] {
2043
2055
  min-width: 200px;
2044
2056
  }
@@ -2072,9 +2084,6 @@ video {
2072
2084
  .min-w-\[calc\(28px\+24px\+4px\)\] {
2073
2085
  min-width: calc(28px + 24px + 4px);
2074
2086
  }
2075
- .min-w-\[var\(--radix-dropdown-menu-trigger-width\)\] {
2076
- min-width: var(--radix-dropdown-menu-trigger-width);
2077
- }
2078
2087
  .min-w-\[var\(--radix-select-trigger-width\)\] {
2079
2088
  min-width: var(--radix-select-trigger-width);
2080
2089
  }
@@ -2117,9 +2126,6 @@ video {
2117
2126
  .max-w-\[280px\] {
2118
2127
  max-width: 280px;
2119
2128
  }
2120
- .max-w-\[294px\] {
2121
- max-width: 294px;
2122
- }
2123
2129
  .max-w-\[300px\] {
2124
2130
  max-width: 300px;
2125
2131
  }
@@ -2159,9 +2165,6 @@ video {
2159
2165
  .max-w-\[calc\(28px\+24px\+4px\)\] {
2160
2166
  max-width: calc(28px + 24px + 4px);
2161
2167
  }
2162
- .max-w-\[var\(--radix-dropdown-menu-trigger-width\)\] {
2163
- max-width: var(--radix-dropdown-menu-trigger-width);
2164
- }
2165
2168
  .max-w-full {
2166
2169
  max-width: 100%;
2167
2170
  }
@@ -2225,6 +2228,10 @@ video {
2225
2228
  --tw-rotate: 90deg;
2226
2229
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2227
2230
  }
2231
+ .-scale-x-100 {
2232
+ --tw-scale-x: -1;
2233
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2234
+ }
2228
2235
  .transform {
2229
2236
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2230
2237
  }
@@ -2419,6 +2426,9 @@ video {
2419
2426
  .justify-around {
2420
2427
  justify-content: space-around;
2421
2428
  }
2429
+ .gap-0\.5 {
2430
+ gap: 0.125rem;
2431
+ }
2422
2432
  .gap-1 {
2423
2433
  gap: 0.25rem;
2424
2434
  }
@@ -2946,11 +2956,22 @@ video {
2946
2956
  .bg-gradient-to-b {
2947
2957
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
2948
2958
  }
2959
+ .bg-gradient-to-t {
2960
+ background-image: linear-gradient(to top, var(--tw-gradient-stops));
2961
+ }
2962
+ .from-ui-bg-base {
2963
+ --tw-gradient-from: var(--bg-base) var(--tw-gradient-from-position);
2964
+ --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
2965
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2966
+ }
2949
2967
  .from-white\/0 {
2950
2968
  --tw-gradient-from: rgb(255 255 255 / 0) var(--tw-gradient-from-position);
2951
2969
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
2952
2970
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2953
2971
  }
2972
+ .to-transparent {
2973
+ --tw-gradient-to: transparent var(--tw-gradient-to-position);
2974
+ }
2954
2975
  .to-white\/20 {
2955
2976
  --tw-gradient-to: rgb(255 255 255 / 0.2) var(--tw-gradient-to-position);
2956
2977
  }
@@ -3173,6 +3194,9 @@ video {
3173
3194
  .\!ps-0 {
3174
3195
  padding-inline-start: 0px !important;
3175
3196
  }
3197
+ .pb-0 {
3198
+ padding-bottom: 0px;
3199
+ }
3176
3200
  .pb-1 {
3177
3201
  padding-bottom: 0.25rem;
3178
3202
  }
@@ -3373,6 +3397,15 @@ video {
3373
3397
  "Segoe UI Symbol",
3374
3398
  "Noto Color Emoji";
3375
3399
  }
3400
+ .font-serif {
3401
+ font-family:
3402
+ ui-serif,
3403
+ Georgia,
3404
+ Cambria,
3405
+ "Times New Roman",
3406
+ Times,
3407
+ serif;
3408
+ }
3376
3409
  .text-\[13px\] {
3377
3410
  font-size: 13px;
3378
3411
  }
@@ -3384,6 +3417,9 @@ video {
3384
3417
  font-size: 0.75rem;
3385
3418
  line-height: 1rem;
3386
3419
  }
3420
+ .font-bold {
3421
+ font-weight: 700;
3422
+ }
3387
3423
  .font-medium {
3388
3424
  font-weight: 500;
3389
3425
  }
@@ -3399,6 +3435,9 @@ video {
3399
3435
  .capitalize {
3400
3436
  text-transform: capitalize;
3401
3437
  }
3438
+ .italic {
3439
+ font-style: italic;
3440
+ }
3402
3441
  .tabular-nums {
3403
3442
  --tw-numeric-spacing: tabular-nums;
3404
3443
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
@@ -3527,6 +3566,9 @@ video {
3527
3566
  .opacity-50 {
3528
3567
  opacity: 0.5;
3529
3568
  }
3569
+ .opacity-60 {
3570
+ opacity: 0.6;
3571
+ }
3530
3572
  .opacity-80 {
3531
3573
  opacity: 0.8;
3532
3574
  }
@@ -3790,6 +3832,16 @@ video {
3790
3832
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3791
3833
  transition-duration: 150ms;
3792
3834
  }
3835
+ .transition-\[padding\] {
3836
+ transition-property: padding;
3837
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3838
+ transition-duration: 150ms;
3839
+ }
3840
+ .transition-\[width\] {
3841
+ transition-property: width;
3842
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3843
+ transition-duration: 150ms;
3844
+ }
3793
3845
  .transition-all {
3794
3846
  transition-property: all;
3795
3847
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -3831,6 +3883,9 @@ video {
3831
3883
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3832
3884
  transition-duration: 150ms;
3833
3885
  }
3886
+ .delay-100 {
3887
+ transition-delay: 100ms;
3888
+ }
3834
3889
  .delay-200 {
3835
3890
  transition-delay: 200ms;
3836
3891
  }
@@ -3849,6 +3904,9 @@ video {
3849
3904
  .ease-out {
3850
3905
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
3851
3906
  }
3907
+ .ease-sidebar {
3908
+ transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
3909
+ }
3852
3910
  .will-change-contents {
3853
3911
  will-change: contents;
3854
3912
  }
@@ -3888,6 +3946,9 @@ video {
3888
3946
  .duration-200 {
3889
3947
  animation-duration: 200ms;
3890
3948
  }
3949
+ .delay-100 {
3950
+ animation-delay: 100ms;
3951
+ }
3891
3952
  .delay-200 {
3892
3953
  animation-delay: 200ms;
3893
3954
  }
@@ -3900,6 +3961,9 @@ video {
3900
3961
  .ease-out {
3901
3962
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
3902
3963
  }
3964
+ .ease-sidebar {
3965
+ animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
3966
+ }
3903
3967
  .\[appearance\:textfield\] {
3904
3968
  -webkit-appearance: textfield;
3905
3969
  -moz-appearance: textfield;
@@ -3947,6 +4011,48 @@ video {
3947
4011
  Segoe UI Symbol,
3948
4012
  Noto Color Emoji;
3949
4013
  }
4014
+ .\[\&_h2\]\:h3-core h2 {
4015
+ font-size: 0.875rem;
4016
+ line-height: 1.25rem;
4017
+ font-weight: 500;
4018
+ font-family:
4019
+ Inter,
4020
+ ui-sans-serif,
4021
+ system-ui,
4022
+ -apple-system,
4023
+ BlinkMacSystemFont,
4024
+ Segoe UI,
4025
+ Roboto,
4026
+ Helvetica Neue,
4027
+ Arial,
4028
+ Noto Sans,
4029
+ sans-serif,
4030
+ Apple Color Emoji,
4031
+ Segoe UI Emoji,
4032
+ Segoe UI Symbol,
4033
+ Noto Color Emoji;
4034
+ }
4035
+ .\[\&_h3\]\:txt-compact-medium-plus h3 {
4036
+ font-size: 0.875rem;
4037
+ line-height: 1.25rem;
4038
+ font-weight: 500;
4039
+ font-family:
4040
+ Inter,
4041
+ ui-sans-serif,
4042
+ system-ui,
4043
+ -apple-system,
4044
+ BlinkMacSystemFont,
4045
+ Segoe UI,
4046
+ Roboto,
4047
+ Helvetica Neue,
4048
+ Arial,
4049
+ Noto Sans,
4050
+ sans-serif,
4051
+ Apple Color Emoji,
4052
+ Segoe UI Emoji,
4053
+ Segoe UI Symbol,
4054
+ Noto Color Emoji;
4055
+ }
3950
4056
  .placeholder\:text-ui-fg-muted::-moz-placeholder {
3951
4057
  color: var(--fg-muted);
3952
4058
  }
@@ -4618,6 +4724,12 @@ video {
4618
4724
  .data-\[state\=\'open\'\]\:visible[data-state=open] {
4619
4725
  visibility: visible;
4620
4726
  }
4727
+ .data-\[state\=collapsed\]\:w-0[data-state=collapsed] {
4728
+ width: 0px;
4729
+ }
4730
+ .data-\[state\=collapsed\]\:w-\[52px\][data-state=collapsed] {
4731
+ width: 52px;
4732
+ }
4621
4733
  .data-\[side\=bottom\]\:translate-y-1[data-side=bottom] {
4622
4734
  --tw-translate-y: 0.25rem;
4623
4735
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -4671,6 +4783,9 @@ video {
4671
4783
  .data-\[disabled\=true\]\:cursor-not-allowed[data-disabled=true] {
4672
4784
  cursor: not-allowed;
4673
4785
  }
4786
+ .data-\[state\=collapsed\]\:border-e-0[data-state=collapsed] {
4787
+ border-inline-end-width: 0px;
4788
+ }
4674
4789
  .data-\[active-item\=true\]\:bg-ui-bg-base-hover[data-active-item=true] {
4675
4790
  background-color: var(--bg-base-hover);
4676
4791
  }
@@ -4805,6 +4920,9 @@ video {
4805
4920
  .data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open] {
4806
4921
  --tw-enter-translate-y: -48%;
4807
4922
  }
4923
+ .group\/sidebar[data-state=collapsed] .group-data-\[state\=collapsed\]\/sidebar\:hidden {
4924
+ display: none;
4925
+ }
4808
4926
  .group[data-state=open] .group-data-\[state\=\'open\'\]\:rotate-90 {
4809
4927
  --tw-rotate: 90deg;
4810
4928
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -4826,12 +4944,19 @@ video {
4826
4944
  .group[data-state=indeterminate] .group-data-\[state\=indeterminate\]\:bg-ui-bg-interactive {
4827
4945
  background-color: var(--bg-interactive);
4828
4946
  }
4947
+ .group\/sidebar[data-state=collapsed] .group-data-\[state\=collapsed\]\/sidebar\:px-1 {
4948
+ padding-left: 0.25rem;
4949
+ padding-right: 0.25rem;
4950
+ }
4829
4951
  .group\/trigger[data-state=active] .group-data-\[state\=active\]\/trigger\:text-ui-fg-interactive {
4830
4952
  color: var(--fg-interactive);
4831
4953
  }
4832
4954
  .group[data-state=open] .group-data-\[state\=open\]\:text-ui-fg-interactive {
4833
4955
  color: var(--fg-interactive);
4834
4956
  }
4957
+ .group\/sidebar[data-state=collapsed] .group-data-\[state\=collapsed\]\/sidebar\:opacity-0 {
4958
+ opacity: 0;
4959
+ }
4835
4960
  .group[data-state=checked] .group-data-\[state\=checked\]\:shadow-borders-interactive-with-shadow {
4836
4961
  --tw-shadow: var(--borders-interactive-with-shadow);
4837
4962
  --tw-shadow-colored: var(--borders-interactive-with-shadow);
@@ -4848,6 +4973,16 @@ video {
4848
4973
  var(--tw-ring-shadow, 0 0 #0000),
4849
4974
  var(--tw-shadow);
4850
4975
  }
4976
+ .group\/sidebar[data-state=collapsed] .group-data-\[state\=collapsed\]\/sidebar\:delay-0 {
4977
+ transition-delay: 0s;
4978
+ }
4979
+ .group\/sidebar[data-state=collapsed] .group-data-\[state\=collapsed\]\/sidebar\:duration-75 {
4980
+ transition-duration: 75ms;
4981
+ animation-duration: 75ms;
4982
+ }
4983
+ .group\/sidebar[data-state=collapsed] .group-data-\[state\=collapsed\]\/sidebar\:delay-0 {
4984
+ animation-delay: 0s;
4985
+ }
4851
4986
  .group[data-link=true] .group-data-\[link\=true\]\:hover\:bg-ui-bg-base-hover:hover {
4852
4987
  background-color: var(--bg-base-hover);
4853
4988
  }
@@ -5112,6 +5247,26 @@ video {
5112
5247
  .\[\&\>svg\]\:text-ui-fg-subtle > svg {
5113
5248
  color: var(--fg-subtle);
5114
5249
  }
5250
+ .\[\&_\.is-editor-empty\:first-child\]\:before\:pointer-events-none .is-editor-empty:first-child::before {
5251
+ content: var(--tw-content);
5252
+ pointer-events: none;
5253
+ }
5254
+ .\[\&_\.is-editor-empty\:first-child\]\:before\:float-left .is-editor-empty:first-child::before {
5255
+ content: var(--tw-content);
5256
+ float: left;
5257
+ }
5258
+ .\[\&_\.is-editor-empty\:first-child\]\:before\:h-0 .is-editor-empty:first-child::before {
5259
+ content: var(--tw-content);
5260
+ height: 0px;
5261
+ }
5262
+ .\[\&_\.is-editor-empty\:first-child\]\:before\:text-ui-fg-muted .is-editor-empty:first-child::before {
5263
+ content: var(--tw-content);
5264
+ color: var(--fg-muted);
5265
+ }
5266
+ .\[\&_\.is-editor-empty\:first-child\]\:before\:content-\[attr\(data-placeholder\)\] .is-editor-empty:first-child::before {
5267
+ --tw-content: attr(data-placeholder);
5268
+ content: var(--tw-content);
5269
+ }
5115
5270
  .\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
5116
5271
  padding-left: 0.5rem;
5117
5272
  padding-right: 0.5rem;
@@ -5135,6 +5290,31 @@ video {
5135
5290
  padding-top: 0.5rem;
5136
5291
  padding-bottom: 0.5rem;
5137
5292
  }
5293
+ .\[\&_a\:hover\]\:text-ui-fg-interactive-hover a:hover {
5294
+ color: var(--fg-interactive-hover);
5295
+ }
5296
+ .\[\&_a\]\:text-ui-fg-interactive a {
5297
+ color: var(--fg-interactive);
5298
+ }
5299
+ .\[\&_a\]\:underline a {
5300
+ text-decoration-line: underline;
5301
+ }
5302
+ .\[\&_blockquote\]\:my-2 blockquote {
5303
+ margin-top: 0.5rem;
5304
+ margin-bottom: 0.5rem;
5305
+ }
5306
+ .\[\&_blockquote\]\:border-l-2 blockquote {
5307
+ border-left-width: 2px;
5308
+ }
5309
+ .\[\&_blockquote\]\:border-ui-border-strong blockquote {
5310
+ border-color: var(--border-strong);
5311
+ }
5312
+ .\[\&_blockquote\]\:pl-3 blockquote {
5313
+ padding-left: 0.75rem;
5314
+ }
5315
+ .\[\&_blockquote\]\:italic blockquote {
5316
+ font-style: italic;
5317
+ }
5138
5318
  .\[\&_div\]\:h-2 div {
5139
5319
  height: 0.5rem;
5140
5320
  }
@@ -5162,6 +5342,72 @@ video {
5162
5342
  .\[\&_div\]\:bg-ui-tag-red-icon div {
5163
5343
  background-color: var(--tag-red-icon);
5164
5344
  }
5345
+ .\[\&_h2\:first-child\]\:mt-0 h2:first-child {
5346
+ margin-top: 0px;
5347
+ }
5348
+ .\[\&_h2\]\:mb-2 h2 {
5349
+ margin-bottom: 0.5rem;
5350
+ }
5351
+ .\[\&_h2\]\:mt-4 h2 {
5352
+ margin-top: 1rem;
5353
+ }
5354
+ .\[\&_h2\]\:text-ui-fg-base h2 {
5355
+ color: var(--fg-base);
5356
+ }
5357
+ .\[\&_h3\:first-child\]\:mt-0 h3:first-child {
5358
+ margin-top: 0px;
5359
+ }
5360
+ .\[\&_h3\]\:mb-1\.5 h3 {
5361
+ margin-bottom: 0.375rem;
5362
+ }
5363
+ .\[\&_h3\]\:mt-3 h3 {
5364
+ margin-top: 0.75rem;
5365
+ }
5366
+ .\[\&_h3\]\:text-ui-fg-base h3 {
5367
+ color: var(--fg-base);
5368
+ }
5369
+ .\[\&_img\.ProseMirror-selectednode\]\:shadow-borders-interactive-with-focus img.ProseMirror-selectednode {
5370
+ --tw-shadow: var(--borders-interactive-with-focus);
5371
+ --tw-shadow-colored: var(--borders-interactive-with-focus);
5372
+ box-shadow:
5373
+ var(--tw-ring-offset-shadow, 0 0 #0000),
5374
+ var(--tw-ring-shadow, 0 0 #0000),
5375
+ var(--tw-shadow);
5376
+ }
5377
+ .\[\&_img\]\:my-2 img {
5378
+ margin-top: 0.5rem;
5379
+ margin-bottom: 0.5rem;
5380
+ }
5381
+ .\[\&_img\]\:h-auto img {
5382
+ height: auto;
5383
+ }
5384
+ .\[\&_img\]\:max-w-full img {
5385
+ max-width: 100%;
5386
+ }
5387
+ .\[\&_img\]\:rounded-md img {
5388
+ border-radius: 0.375rem;
5389
+ }
5390
+ .\[\&_li_p\]\:my-0 li p {
5391
+ margin-top: 0px;
5392
+ margin-bottom: 0px;
5393
+ }
5394
+ .\[\&_ol\]\:my-2 ol {
5395
+ margin-top: 0.5rem;
5396
+ margin-bottom: 0.5rem;
5397
+ }
5398
+ .\[\&_ol\]\:list-decimal ol {
5399
+ list-style-type: decimal;
5400
+ }
5401
+ .\[\&_ol\]\:pl-5 ol {
5402
+ padding-left: 1.25rem;
5403
+ }
5404
+ .\[\&_p\+p\]\:mt-2 p + p {
5405
+ margin-top: 0.5rem;
5406
+ }
5407
+ .\[\&_p\]\:my-0 p {
5408
+ margin-top: 0px;
5409
+ margin-bottom: 0px;
5410
+ }
5165
5411
  .\[\&_path\]\:shadow-details-contrast-on-bg-interactive path {
5166
5412
  --tw-shadow: var(--details-contrast-on-bg-interactive);
5167
5413
  --tw-shadow-colored: var(--details-contrast-on-bg-interactive);
@@ -5170,6 +5416,12 @@ video {
5170
5416
  var(--tw-ring-shadow, 0 0 #0000),
5171
5417
  var(--tw-shadow);
5172
5418
  }
5419
+ .\[\&_strong\]\:font-medium strong {
5420
+ font-weight: 500;
5421
+ }
5422
+ .\[\&_strong\]\:text-ui-fg-base strong {
5423
+ color: var(--fg-base);
5424
+ }
5173
5425
  .\[\&_svg\]\:invisible svg {
5174
5426
  visibility: hidden;
5175
5427
  }
@@ -5236,3 +5488,13 @@ video {
5236
5488
  .\[\&_tr\]\:hover\:bg-ui-bg-subtle:hover tr {
5237
5489
  background-color: var(--bg-subtle);
5238
5490
  }
5491
+ .\[\&_ul\]\:my-2 ul {
5492
+ margin-top: 0.5rem;
5493
+ margin-bottom: 0.5rem;
5494
+ }
5495
+ .\[\&_ul\]\:list-disc ul {
5496
+ list-style-type: disc;
5497
+ }
5498
+ .\[\&_ul\]\:pl-5 ul {
5499
+ padding-left: 1.25rem;
5500
+ }
package/dist/index.d.ts CHANGED
@@ -1,15 +1,16 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import react__default, { ReactNode, PropsWithChildren } from 'react';
3
+ import react__default, { ReactNode } from 'react';
4
4
  import * as react_hook_form from 'react-hook-form';
5
5
  import { FieldValues, UseFormReturn, FieldPath, ControllerProps } from 'react-hook-form';
6
6
  import { T as TabDefinition } from './constants-CBhKGpBZ.js';
7
7
  export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY, d as defineTabMeta } from './constants-CBhKGpBZ.js';
8
8
  import { Label, Slot } from 'radix-ui';
9
+ import { Permission } from '@mercurjs/dashboard-sdk';
10
+ export { Permission, PermissionKey, PermissionMap, PermissionRight, RouteHandle } from '@mercurjs/dashboard-sdk';
9
11
  import * as _tanstack_react_table from '@tanstack/react-table';
10
12
  import { Table, ColumnDef, Row, RowSelectionState, OnChangeFn } from '@tanstack/react-table';
11
- export { PermissionGuard, PermissionGuardProps, PermissionsProvider, PermissionsRequirement, PermissionsRequirementProps, PermissionsRequirementsProvider, RequiredPermissionsSection, RoutePermissionGuard, usePermissions, useRegisterPermissions, useRequiredPermissions, useResourcePermissions } from '@mercurjs/dashboard-shared';
12
- export { Permission, PermissionOperation, PermissionRequirement, PermissionResource, RouteHandle, UserPolicy } from '@mercurjs/dashboard-sdk';
13
+ export { ActionMenu, PermissionGuard, PermissionGuardProps, PermissionsProvider, RoutePermissionGuard, usePermissions, useResourcePermissions } from '@mercurjs/dashboard-shared';
13
14
 
14
15
  declare function App(): react_jsx_runtime.JSX.Element;
15
16
 
@@ -116,6 +117,8 @@ type ActionProps = {
116
117
  action?: {
117
118
  to: string;
118
119
  label: string;
120
+ /** Permission of what the target route does; disabled without it. */
121
+ permission?: Permission | Permission[];
119
122
  };
120
123
  dataTestId?: string;
121
124
  };
@@ -145,6 +148,9 @@ type BulkCommand = {
145
148
  label: string;
146
149
  shortcut: string;
147
150
  action: (selection: Record<string, boolean>) => Promise<void>;
151
+ /** Permission(s) of the endpoint the command calls; disabled without it. */
152
+ permission?: Permission | Permission[];
153
+ requireAll?: boolean;
148
154
  };
149
155
  interface DataTableRootProps<TData> {
150
156
  /**
@@ -260,30 +266,4 @@ interface PageProps<TData> {
260
266
 
261
267
  declare const SingleColumnPage: <TData>({ children, data, hasOutlet, showJSON, showMetadata, }: PageProps<TData>) => react_jsx_runtime.JSX.Element;
262
268
 
263
- type Action = {
264
- icon: ReactNode;
265
- label: string;
266
- disabled?: boolean;
267
- /**
268
- * Optional tooltip to display when a disabled action is hovered.
269
- */
270
- disabledTooltip?: string | ReactNode;
271
- } & ({
272
- to: string;
273
- onClick?: never;
274
- } | {
275
- onClick: () => void;
276
- to?: never;
277
- });
278
- type ActionGroup = {
279
- actions: Action[];
280
- };
281
- type ActionMenuProps = PropsWithChildren<{
282
- groups: ActionGroup[];
283
- variant?: "transparent" | "primary";
284
- }>;
285
- declare const ActionMenu: ({ groups, variant, children, }: ActionMenuProps) => react_jsx_runtime.JSX.Element;
286
-
287
- declare const Notifications: () => react_jsx_runtime.JSX.Element;
288
-
289
- export { ActionMenu, ChipInput, _DataTable as DataTable, type FileType, FileUpload, type FileUploadProps, type Filter, Form, Notifications, SingleColumnPage, SwitchBox, TabDefinition, TabbedForm, App as default, useDataTable, useTabbedForm };
269
+ export { ChipInput, _DataTable as DataTable, type FileType, FileUpload, type FileUploadProps, type Filter, Form, SingleColumnPage, SwitchBox, TabDefinition, TabbedForm, App as default, useDataTable, useTabbedForm };