@storepecker/storefront-core 2.3.6 → 2.4.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/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-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-NA5GT4D3.js +75 -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-VWQR3A7V.cjs +81 -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 +49 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { U as UseAddressFormOptions, u as useAddressForm } from '../useAddressForm-cO3Au33k.js';
|
|
3
|
+
import 'formik';
|
|
4
|
+
import '../address-DwBZHzbI.js';
|
|
5
|
+
|
|
6
|
+
interface AddressFormRef {
|
|
7
|
+
formik: ReturnType<typeof useAddressForm>["formik"];
|
|
8
|
+
resetForm: () => void;
|
|
9
|
+
}
|
|
10
|
+
interface AddressFormProps extends UseAddressFormOptions {
|
|
11
|
+
/** Custom Button component rendered for the submit action. Receives type, disabled, children. */
|
|
12
|
+
renderButton?: (props: {
|
|
13
|
+
type: "submit";
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
children: React__default.ReactNode;
|
|
17
|
+
}) => React__default.ReactNode;
|
|
18
|
+
/** Called when formik instance is ready (alternative to ref) */
|
|
19
|
+
onFormikReady?: (formik: ReturnType<typeof useAddressForm>["formik"]) => void;
|
|
20
|
+
/** Called when cancel is clicked */
|
|
21
|
+
onCancel?: () => void;
|
|
22
|
+
/** Show cancel button. Default: true */
|
|
23
|
+
showCancel?: boolean;
|
|
24
|
+
/** Show "Make default address" checkbox. Default: true */
|
|
25
|
+
showDefaultCheckbox?: boolean;
|
|
26
|
+
/** Custom class name for the form wrapper */
|
|
27
|
+
className?: string;
|
|
28
|
+
/** Submit button text. Default: "Save" */
|
|
29
|
+
submitLabel?: string;
|
|
30
|
+
}
|
|
31
|
+
declare const AddressForm: React__default.ForwardRefExoticComponent<AddressFormProps & React__default.RefAttributes<AddressFormRef>>;
|
|
32
|
+
|
|
33
|
+
export { type AddressFormProps, type AddressFormRef, AddressForm as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { address_form_default as default } from '../chunk-L43KF3AC.js';
|
|
2
|
+
import '../chunk-YK4M3SFP.js';
|
|
3
|
+
import '../chunk-6Q7QMPOQ.js';
|
|
4
|
+
import '../chunk-ZGMLOLTC.js';
|
|
5
|
+
import '../chunk-OSM73ETC.js';
|
|
6
|
+
import '../chunk-F45S7UWC.js';
|
|
7
|
+
import '../chunk-ELP23UGF.js';
|
|
8
|
+
import '../chunk-3SYYP3XV.js';
|
|
9
|
+
import '../chunk-WEMNXIRS.js';
|
|
10
|
+
import '../chunk-BQ256JKN.js';
|
|
11
|
+
import '../chunk-JQMLHRWL.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { O as Order } from '../orders-CjNmCY5I.cjs';
|
|
2
|
+
import { f as ProductDetail } from '../product-DJMdi4D4.cjs';
|
|
3
|
+
import 'react-toastify';
|
|
4
|
+
|
|
5
|
+
interface DigitalProductDownloadModalProps {
|
|
6
|
+
open: boolean;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
product: Order.PurchasedProduct | null;
|
|
9
|
+
downloadAttribute: ProductDetail.DigitalProductVariant[];
|
|
10
|
+
onDownload: (attribute: ProductDetail.DigitalProductVariant) => void;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const DigitalProductDownloadModal: React.FC<DigitalProductDownloadModalProps>;
|
|
14
|
+
|
|
15
|
+
export { type DigitalProductDownloadModalProps, DigitalProductDownloadModal as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { O as Order } from '../orders-L_8eIkUS.js';
|
|
2
|
+
import { f as ProductDetail } from '../product-DJMdi4D4.js';
|
|
3
|
+
import 'react-toastify';
|
|
4
|
+
|
|
5
|
+
interface DigitalProductDownloadModalProps {
|
|
6
|
+
open: boolean;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
product: Order.PurchasedProduct | null;
|
|
9
|
+
downloadAttribute: ProductDetail.DigitalProductVariant[];
|
|
10
|
+
onDownload: (attribute: ProductDetail.DigitalProductVariant) => void;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const DigitalProductDownloadModal: React.FC<DigitalProductDownloadModalProps>;
|
|
14
|
+
|
|
15
|
+
export { type DigitalProductDownloadModalProps, DigitalProductDownloadModal as default };
|