@pradip1995/theme-valero 2.1.0 → 3.0.0
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pradip1995/theme-valero",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Valero Medusa storefront theme — Impulse-inspired design tokens and components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"./*": "./src/*"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@pradip1995/commerce-auth": "^
|
|
35
|
-
"@pradip1995/commerce-core": "^
|
|
34
|
+
"@pradip1995/commerce-auth": "^3.0.0",
|
|
35
|
+
"@pradip1995/commerce-core": "^3.0.0",
|
|
36
36
|
"@medusajs/types": ">=2",
|
|
37
37
|
"@medusajs/ui": ">=4",
|
|
38
38
|
"color": ">=5",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"react-dom": ">=19"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@pradip1995/commerce-auth": "^
|
|
45
|
-
"@pradip1995/commerce-core": "^
|
|
44
|
+
"@pradip1995/commerce-auth": "^3.0.0",
|
|
45
|
+
"@pradip1995/commerce-core": "^3.0.0",
|
|
46
46
|
"@medusajs/types": "latest",
|
|
47
47
|
"@medusajs/ui": "latest",
|
|
48
48
|
"@types/color": "^4.2.0",
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CartSummaryProps } from "@core/types/cart"
|
|
2
2
|
import Summary from "@modules/cart/templates/summary"
|
|
3
3
|
|
|
4
|
-
export type CartSummarySlotProps =
|
|
5
|
-
cart: HttpTypes.StoreCart & {
|
|
6
|
-
promotions: HttpTypes.StorePromotion[]
|
|
7
|
-
}
|
|
8
|
-
customer: HttpTypes.StoreCustomer | null
|
|
9
|
-
}
|
|
4
|
+
export type CartSummarySlotProps = CartSummaryProps
|
|
10
5
|
|
|
11
6
|
export default function CartSummary({ cart, customer }: CartSummarySlotProps) {
|
|
12
7
|
return <Summary cart={cart} customer={customer} />
|