@storepecker/storefront-core 2.3.6 → 2.4.1
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/dist/api/index.cjs +28 -24
- package/dist/api/index.d.cts +8 -5
- package/dist/api/index.d.ts +8 -5
- package/dist/api/index.js +1 -1
- package/dist/{booking-CG6tul9l.d.ts → booking-BVWe8HHh.d.ts} +1 -1
- package/dist/{booking-DNVf5ZAS.d.cts → booking-DX9SU_qm.d.cts} +1 -1
- package/dist/cart-kJoawc_Z.d.cts +126 -0
- package/dist/cart-y-7RPmnQ.d.ts +126 -0
- package/dist/checkout/index.cjs +22 -22
- package/dist/checkout/index.d.cts +3 -1
- package/dist/checkout/index.d.ts +3 -1
- package/dist/checkout/index.js +2 -2
- package/dist/{chunk-BTT3XQ32.cjs → chunk-33TWVRZE.cjs} +6 -6
- package/dist/chunk-3YRSHPM6.cjs +34 -0
- package/dist/chunk-6DXB4O6P.cjs +121 -0
- package/dist/{chunk-ILVGYHNI.js → chunk-6Q7QMPOQ.js} +2 -1
- package/dist/{chunk-HTFVROIV.cjs → chunk-7UK3E7SL.cjs} +6 -0
- package/dist/chunk-B3BXKMQA.cjs +271 -0
- package/dist/chunk-BTR3HLL4.js +14 -0
- package/dist/chunk-EGFOTJPC.js +22 -0
- package/dist/{chunk-YUPBTD4M.js → chunk-F45S7UWC.js} +1 -139
- package/dist/chunk-HAQWCNDY.cjs +24 -0
- package/dist/{chunk-Y4NGR42Z.js → chunk-HUIT4JCR.js} +1 -1
- package/dist/{chunk-TF2KMTB6.js → chunk-JRYWZMNT.js} +1 -1
- package/dist/{chunk-JCOOINQF.cjs → chunk-KLNKIQQM.cjs} +4 -3
- package/dist/chunk-L43KF3AC.js +269 -0
- package/dist/chunk-LHF5BSWO.cjs +16 -0
- package/dist/chunk-LJUGNSQQ.cjs +149 -0
- package/dist/chunk-LLRSKDH5.js +115 -0
- package/dist/chunk-OSM73ETC.js +139 -0
- package/dist/{chunk-4CVKE6CC.cjs → chunk-OTMTHA5C.cjs} +0 -147
- package/dist/{chunk-JH4JJBXE.cjs → chunk-TTIQRDHX.cjs} +2 -2
- package/dist/chunk-U7EXLQCT.js +32 -0
- package/dist/{chunk-LW3V53WJ.js → chunk-UVU7H4E6.js} +6 -1
- package/dist/chunk-V447PVRV.cjs +308 -0
- package/dist/chunk-YK4M3SFP.js +301 -0
- package/dist/{collections-Bz9KD7Na.d.cts → collections-BDSVfRNo.d.ts} +1 -1
- package/dist/{collections-CkEUi3BR.d.ts → collections-WzvTO0OQ.d.cts} +1 -1
- package/dist/components/address-form.cjs +17 -0
- package/dist/components/address-form.css +329 -0
- package/dist/components/address-form.d.cts +33 -0
- package/dist/components/address-form.d.ts +33 -0
- package/dist/components/address-form.js +11 -0
- package/dist/components/digital-product-download-modal.cjs +8 -0
- package/dist/components/digital-product-download-modal.d.cts +15 -0
- package/dist/components/digital-product-download-modal.d.ts +15 -0
- package/dist/components/digital-product-download-modal.js +2 -0
- package/dist/components/index.cjs +35 -695
- package/dist/components/index.d.cts +14 -87
- package/dist/components/index.d.ts +14 -87
- package/dist/components/index.js +11 -688
- package/dist/components/search-dropdown.cjs +7 -0
- package/dist/components/search-dropdown.css +200 -0
- package/dist/components/search-dropdown.d.cts +28 -0
- package/dist/components/search-dropdown.d.ts +28 -0
- package/dist/components/search-dropdown.js +1 -0
- package/dist/components/share-button.cjs +9 -0
- package/dist/components/share-button.d.cts +11 -0
- package/dist/components/share-button.d.ts +11 -0
- package/dist/components/share-button.js +3 -0
- package/dist/components/share-icon.cjs +7 -0
- package/dist/components/share-icon.d.cts +9 -0
- package/dist/components/share-icon.d.ts +9 -0
- package/dist/components/share-icon.js +1 -0
- package/dist/components/theme-data-initializer.cjs +8 -0
- package/dist/components/theme-data-initializer.d.cts +12 -0
- package/dist/components/theme-data-initializer.d.ts +12 -0
- package/dist/components/theme-data-initializer.js +2 -0
- package/dist/hooks/index.cjs +18 -17
- package/dist/hooks/index.d.cts +4 -2
- package/dist/hooks/index.d.ts +4 -2
- package/dist/hooks/index.js +6 -5
- package/dist/models/index.d.cts +6 -4
- package/dist/models/index.d.ts +6 -4
- package/dist/orders-CjNmCY5I.d.cts +144 -0
- package/dist/orders-L_8eIkUS.d.ts +144 -0
- package/dist/{pixelEvents-OVIkPw-J.d.ts → pixelEvents-Bo-VjAx8.d.ts} +4 -2
- package/dist/{pixelEvents-DYkiTkb2.d.cts → pixelEvents-C1rFPOwb.d.cts} +4 -2
- package/dist/{orders-fIdANHSl.d.ts → product-DJMdi4D4.d.cts} +1 -265
- package/dist/{orders-fIdANHSl.d.cts → product-DJMdi4D4.d.ts} +1 -265
- package/dist/store/index.cjs +5 -5
- package/dist/store/index.d.cts +6 -4
- package/dist/store/index.d.ts +6 -4
- package/dist/store/index.js +2 -2
- package/dist/utils/index.cjs +44 -43
- package/dist/utils/index.d.cts +7 -5
- package/dist/utils/index.d.ts +7 -5
- package/dist/utils/index.js +3 -2
- package/dist/{wishlist-stNzfvIP.d.cts → wishlist-CUuCTSVJ.d.cts} +1 -1
- package/dist/{wishlist-_bd4gLyQ.d.ts → wishlist-DKYFZR0s.d.ts} +1 -1
- package/package.json +50 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storepecker/storefront-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "Shared logic and utilities for Snapstore themes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,6 +47,36 @@
|
|
|
47
47
|
"require": "./dist/components/index.cjs"
|
|
48
48
|
},
|
|
49
49
|
"./components/styles": "./dist/components/index.css",
|
|
50
|
+
"./components/search-dropdown": {
|
|
51
|
+
"types": "./dist/components/search-dropdown.d.ts",
|
|
52
|
+
"import": "./dist/components/search-dropdown.js",
|
|
53
|
+
"require": "./dist/components/search-dropdown.cjs"
|
|
54
|
+
},
|
|
55
|
+
"./components/address-form": {
|
|
56
|
+
"types": "./dist/components/address-form.d.ts",
|
|
57
|
+
"import": "./dist/components/address-form.js",
|
|
58
|
+
"require": "./dist/components/address-form.cjs"
|
|
59
|
+
},
|
|
60
|
+
"./components/share-button": {
|
|
61
|
+
"types": "./dist/components/share-button.d.ts",
|
|
62
|
+
"import": "./dist/components/share-button.js",
|
|
63
|
+
"require": "./dist/components/share-button.cjs"
|
|
64
|
+
},
|
|
65
|
+
"./components/share-icon": {
|
|
66
|
+
"types": "./dist/components/share-icon.d.ts",
|
|
67
|
+
"import": "./dist/components/share-icon.js",
|
|
68
|
+
"require": "./dist/components/share-icon.cjs"
|
|
69
|
+
},
|
|
70
|
+
"./components/digital-product-download-modal": {
|
|
71
|
+
"types": "./dist/components/digital-product-download-modal.d.ts",
|
|
72
|
+
"import": "./dist/components/digital-product-download-modal.js",
|
|
73
|
+
"require": "./dist/components/digital-product-download-modal.cjs"
|
|
74
|
+
},
|
|
75
|
+
"./components/theme-data-initializer": {
|
|
76
|
+
"types": "./dist/components/theme-data-initializer.d.ts",
|
|
77
|
+
"import": "./dist/components/theme-data-initializer.js",
|
|
78
|
+
"require": "./dist/components/theme-data-initializer.cjs"
|
|
79
|
+
},
|
|
50
80
|
"./middleware": {
|
|
51
81
|
"types": "./dist/middleware/index.d.ts",
|
|
52
82
|
"import": "./dist/middleware/index.js",
|
|
@@ -76,6 +106,24 @@
|
|
|
76
106
|
"components": [
|
|
77
107
|
"./dist/components/index.d.ts"
|
|
78
108
|
],
|
|
109
|
+
"components/search-dropdown": [
|
|
110
|
+
"./dist/components/search-dropdown.d.ts"
|
|
111
|
+
],
|
|
112
|
+
"components/address-form": [
|
|
113
|
+
"./dist/components/address-form.d.ts"
|
|
114
|
+
],
|
|
115
|
+
"components/share-button": [
|
|
116
|
+
"./dist/components/share-button.d.ts"
|
|
117
|
+
],
|
|
118
|
+
"components/share-icon": [
|
|
119
|
+
"./dist/components/share-icon.d.ts"
|
|
120
|
+
],
|
|
121
|
+
"components/digital-product-download-modal": [
|
|
122
|
+
"./dist/components/digital-product-download-modal.d.ts"
|
|
123
|
+
],
|
|
124
|
+
"components/theme-data-initializer": [
|
|
125
|
+
"./dist/components/theme-data-initializer.d.ts"
|
|
126
|
+
],
|
|
79
127
|
"middleware": [
|
|
80
128
|
"./dist/middleware/index.d.ts"
|
|
81
129
|
]
|
|
@@ -101,7 +149,6 @@
|
|
|
101
149
|
"libphonenumber-js": "^1.10.0",
|
|
102
150
|
"react": "^18.0.0 || ^19.0.0",
|
|
103
151
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
104
|
-
"react-responsive-modal": "^6.0.0",
|
|
105
152
|
"typescript-cookie": "^1.0.0",
|
|
106
153
|
"yup": "^1.0.0",
|
|
107
154
|
"zustand": "^5.0.0"
|
|
@@ -121,15 +168,13 @@
|
|
|
121
168
|
},
|
|
122
169
|
"jwt-decode": {
|
|
123
170
|
"optional": true
|
|
124
|
-
},
|
|
125
|
-
"react-responsive-modal": {
|
|
126
|
-
"optional": true
|
|
127
171
|
}
|
|
128
172
|
},
|
|
129
173
|
"devDependencies": {
|
|
130
174
|
"@testing-library/react": "^16.3.2",
|
|
131
175
|
"@types/node": "^25.3.3",
|
|
132
176
|
"@types/react": "^18.0.0",
|
|
177
|
+
"@types/react-dom": "^18.3.7",
|
|
133
178
|
"axios": "^1.7.0",
|
|
134
179
|
"clsx": "^2.1.1",
|
|
135
180
|
"esbuild-css-modules-plugin": "^3.1.5",
|
|
@@ -141,7 +186,6 @@
|
|
|
141
186
|
"react": "^18.3.1",
|
|
142
187
|
"react-dom": "^18.3.1",
|
|
143
188
|
"react-easy-crop": "^5.5.6",
|
|
144
|
-
"react-responsive-modal": "^6.4.0",
|
|
145
189
|
"react-toastify": "^11.0.5",
|
|
146
190
|
"sass": "^1.97.3",
|
|
147
191
|
"tsup": "^8.0.0",
|