@medusajs/dashboard 2.10.0 → 2.11.0-snapshot-20250828185926

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 (38) hide show
  1. package/dist/{add-campaign-promotions-UQVBTTWK.mjs → add-campaign-promotions-U277KTL4.mjs} +3 -3
  2. package/dist/app.css +0 -6
  3. package/dist/app.js +211 -120
  4. package/dist/app.mjs +2 -2
  5. package/dist/{campaign-detail-FIO6336E.mjs → campaign-detail-6454LL3C.mjs} +3 -3
  6. package/dist/{chunk-H3JGGHAQ.mjs → chunk-6OHAQHB4.mjs} +1 -1
  7. package/dist/{chunk-RQYKGJZ4.mjs → chunk-BZIE4MY6.mjs} +1 -1
  8. package/dist/{chunk-D4T3GFML.mjs → chunk-F7LJJHQT.mjs} +7 -0
  9. package/dist/{chunk-G4ARHIQV.mjs → chunk-FLUC3I3N.mjs} +1 -1
  10. package/dist/{chunk-SJFXY376.mjs → chunk-MFN6KGYE.mjs} +26 -26
  11. package/dist/{chunk-XDYQGXJ3.mjs → chunk-OQXWDAEB.mjs} +2 -1
  12. package/dist/{chunk-WLTKZNOI.mjs → chunk-YTDRSPOL.mjs} +1 -1
  13. package/dist/{order-create-claim-DBL2BU5Q.mjs → order-create-claim-ATLKY2SH.mjs} +1 -1
  14. package/dist/{order-create-edit-INKNOFBY.mjs → order-create-edit-5LOTLPD6.mjs} +1 -1
  15. package/dist/{order-create-exchange-6E2VLPU3.mjs → order-create-exchange-TOELYZPA.mjs} +1 -1
  16. package/dist/{order-create-refund-HJMKDY6S.mjs → order-create-refund-ZZNAUXIA.mjs} +1 -1
  17. package/dist/{order-create-return-IIEBZOZZ.mjs → order-create-return-2HT4V6UE.mjs} +1 -1
  18. package/dist/{order-detail-BDX6VUSZ.mjs → order-detail-M27ZGXL3.mjs} +202 -119
  19. package/dist/{order-edit-billing-address-K2SUQK3S.mjs → order-edit-billing-address-5HQFWKN2.mjs} +1 -1
  20. package/dist/{order-edit-email-FSHV32T6.mjs → order-edit-email-2W33H5CV.mjs} +1 -1
  21. package/dist/{order-edit-shipping-address-RV2QZCR5.mjs → order-edit-shipping-address-VE2BJEHO.mjs} +1 -1
  22. package/dist/{order-request-transfer-NJ24WZ26.mjs → order-request-transfer-U52O2EVC.mjs} +1 -1
  23. package/dist/{product-attributes-HQ2HQQSE.mjs → product-attributes-FNQQW6CA.mjs} +3 -3
  24. package/dist/{product-create-Q5ZIYMOR.mjs → product-create-GCG6XFQ4.mjs} +3 -3
  25. package/dist/{product-detail-YMCONFSY.mjs → product-detail-YQGIWWU4.mjs} +3 -3
  26. package/dist/{product-edit-SRWVIV2Z.mjs → product-edit-BDWF7CKD.mjs} +3 -3
  27. package/dist/{product-media-F74IPY26.mjs → product-media-XWTASBCL.mjs} +2 -2
  28. package/dist/{product-organization-PKNCLB6W.mjs → product-organization-U3LA5VZE.mjs} +3 -3
  29. package/dist/{product-shipping-profile-266AXOO6.mjs → product-shipping-profile-7V5PNI7H.mjs} +3 -3
  30. package/dist/{promotion-detail-X5XWYLTC.mjs → promotion-detail-EDLXBH4V.mjs} +2 -2
  31. package/dist/{promotion-list-R7J2AWA3.mjs → promotion-list-QT6HW6VF.mjs} +3 -3
  32. package/dist/{reset-password-OIRVPF4I.mjs → reset-password-O3M4BVYH.mjs} +1 -1
  33. package/dist/{tax-region-create-VO65RBTI.mjs → tax-region-create-MXQGPOV2.mjs} +1 -1
  34. package/package.json +22 -22
  35. package/src/i18n/translations/$schema.json +5 -1
  36. package/src/i18n/translations/en.json +2 -1
  37. package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +238 -177
  38. package/src/routes/orders/order-detail/constants.ts +7 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-WLTKZNOI.mjs";
5
- import "./chunk-G4ARHIQV.mjs";
4
+ } from "./chunk-YTDRSPOL.mjs";
5
+ import "./chunk-FLUC3I3N.mjs";
6
6
  import "./chunk-MSDRGCRR.mjs";
7
7
  import "./chunk-ADOCJB6L.mjs";
8
8
  import "./chunk-LQTHYS2Z.mjs";
@@ -25,7 +25,7 @@ import {
25
25
  import "./chunk-C76H5USB.mjs";
26
26
  import "./chunk-PFKKVLZX.mjs";
27
27
  import "./chunk-4GQOUCX6.mjs";
28
- import "./chunk-XDYQGXJ3.mjs";
28
+ import "./chunk-OQXWDAEB.mjs";
29
29
  import {
30
30
  useExtension
31
31
  } from "./chunk-C5P5PL3E.mjs";
@@ -3,7 +3,7 @@ import "./chunk-EQTBJSBZ.mjs";
3
3
  import "./chunk-4GQOUCX6.mjs";
4
4
  import {
5
5
  i18n
6
- } from "./chunk-XDYQGXJ3.mjs";
6
+ } from "./chunk-OQXWDAEB.mjs";
7
7
  import {
8
8
  Form
9
9
  } from "./chunk-OBQI23QM.mjs";
@@ -25,7 +25,7 @@ import "./chunk-4GQOUCX6.mjs";
25
25
  import "./chunk-DG7J63J2.mjs";
26
26
  import {
27
27
  i18n
28
- } from "./chunk-XDYQGXJ3.mjs";
28
+ } from "./chunk-OQXWDAEB.mjs";
29
29
  import {
30
30
  Form
31
31
  } from "./chunk-OBQI23QM.mjs";
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@medusajs/dashboard",
3
- "version": "2.10.0",
3
+ "version": "2.11.0-snapshot-20250828185926",
4
+ "scripts": {
5
+ "generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
6
+ "dev": "vite",
7
+ "build": "tsup && node ./scripts/generate-types.js",
8
+ "build:preview": "vite build",
9
+ "preview": "vite preview",
10
+ "test": "vitest --run",
11
+ "i18n:validate": "node ./scripts/i18n/validate-translation.js",
12
+ "i18n:schema": "node ./scripts/i18n/generate-schema.js",
13
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
14
+ },
4
15
  "main": "dist/app.js",
5
16
  "module": "dist/app.mjs",
6
17
  "types": "dist/index.d.ts",
@@ -34,10 +45,10 @@
34
45
  "@dnd-kit/utilities": "^3.2.2",
35
46
  "@hookform/error-message": "^2.0.1",
36
47
  "@hookform/resolvers": "3.4.2",
37
- "@medusajs/admin-shared": "2.10.0",
38
- "@medusajs/icons": "2.10.0",
39
- "@medusajs/js-sdk": "2.10.0",
40
- "@medusajs/ui": "4.0.20",
48
+ "@medusajs/admin-shared": "2.11.0-snapshot-20250828185926",
49
+ "@medusajs/icons": "2.11.0-snapshot-20250828185926",
50
+ "@medusajs/js-sdk": "2.11.0-snapshot-20250828185926",
51
+ "@medusajs/ui": "4.0.21-snapshot-20250828185926",
41
52
  "@tanstack/react-query": "5.64.2",
42
53
  "@tanstack/react-table": "8.20.5",
43
54
  "@tanstack/react-virtual": "^3.8.3",
@@ -65,10 +76,10 @@
65
76
  "zod": "3.25.76"
66
77
  },
67
78
  "devDependencies": {
68
- "@medusajs/admin-shared": "2.10.0",
69
- "@medusajs/admin-vite-plugin": "2.10.0",
70
- "@medusajs/types": "2.10.0",
71
- "@medusajs/ui-preset": "2.10.0",
79
+ "@medusajs/admin-shared": "2.11.0-snapshot-20250828185926",
80
+ "@medusajs/admin-vite-plugin": "2.11.0-snapshot-20250828185926",
81
+ "@medusajs/types": "2.11.0-snapshot-20250828185926",
82
+ "@medusajs/ui-preset": "2.11.0-snapshot-20250828185926",
72
83
  "@types/node": "^20.11.15",
73
84
  "@types/react": "^18.2.79",
74
85
  "@types/react-dom": "^18.2.25",
@@ -84,16 +95,5 @@
84
95
  "vite-plugin-inspect": "^0.8.7",
85
96
  "vitest": "^3.0.5"
86
97
  },
87
- "packageManager": "yarn@3.2.1",
88
- "scripts": {
89
- "generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
90
- "dev": "vite",
91
- "build": "tsup && node ./scripts/generate-types.js",
92
- "build:preview": "vite build",
93
- "preview": "vite preview",
94
- "test": "vitest --run",
95
- "i18n:validate": "node ./scripts/i18n/validate-translation.js",
96
- "i18n:schema": "node ./scripts/i18n/generate-schema.js",
97
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
98
- }
99
- }
98
+ "packageManager": "yarn@3.2.1"
99
+ }
@@ -3987,6 +3987,9 @@
3987
3987
  },
3988
3988
  "taxTotal": {
3989
3989
  "type": "string"
3990
+ },
3991
+ "totalAfterDiscount": {
3992
+ "type": "string"
3990
3993
  }
3991
3994
  },
3992
3995
  "required": [
@@ -4002,7 +4005,8 @@
4002
4005
  "itemSubtotal",
4003
4006
  "shippingSubtotal",
4004
4007
  "discountSubtotal",
4005
- "taxTotal"
4008
+ "taxTotal",
4009
+ "totalAfterDiscount"
4006
4010
  ],
4007
4011
  "additionalProperties": false
4008
4012
  },
@@ -1067,7 +1067,8 @@
1067
1067
  "itemSubtotal": "Item Subtotal",
1068
1068
  "shippingSubtotal": "Shipping Subtotal",
1069
1069
  "discountSubtotal": "Discount Subtotal",
1070
- "taxTotal": "Tax Total"
1070
+ "taxTotal": "Tax Total",
1071
+ "totalAfterDiscount": "Total After Discount"
1071
1072
  },
1072
1073
  "transfer": {
1073
1074
  "title": "Transfer ownership",