@loczer/storefront-sdk 0.165.0 → 0.167.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/components/BikeProductCard/index.d.ts.map +1 -1
- package/dist/components/BikeProductCard/index.js +40 -45
- package/dist/components/ContactSection/index.d.ts.map +1 -1
- package/dist/components/ContactSection/index.js +73 -98
- package/dist/components/DelayedReveal/index.js +1 -1
- package/dist/components/Footer/index.d.ts +2 -1
- package/dist/components/Footer/index.d.ts.map +1 -1
- package/dist/components/Footer/index.js +38 -48
- package/dist/components/Header/index.d.ts +2 -1
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +56 -63
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +35 -26
- package/dist/components/StorefrontCancellationPolicyNotice/index.js +2 -2
- package/dist/i18n/en.d.ts +2 -4
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +5 -7
- package/dist/i18n/fr.d.ts +2 -4
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +5 -7
- package/dist/index.d.ts +8 -10
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +171 -179
- package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPaymentPage.js +124 -145
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +186 -174
- package/dist/storefront.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1525,11 +1525,12 @@ export declare const findStorefrontProduct: (id: string, products: StorefrontPro
|
|
|
1525
1525
|
|
|
1526
1526
|
export declare const findStorefrontProductBySlug: (slug: string, products: StorefrontProductsCollections) => StorefrontProduct | null;
|
|
1527
1527
|
|
|
1528
|
-
export declare function Footer({ preset, whatsappHref, openingHours, openingHoursOverrides }: FooterProps): JSX.Element;
|
|
1528
|
+
export declare function Footer({ preset, whatsappHref, whatsappPhoneDisplay, openingHours, openingHoursOverrides, }: FooterProps): JSX.Element;
|
|
1529
1529
|
|
|
1530
1530
|
declare type FooterProps = {
|
|
1531
1531
|
preset: StorefrontPreset;
|
|
1532
1532
|
whatsappHref?: string;
|
|
1533
|
+
whatsappPhoneDisplay?: string;
|
|
1533
1534
|
openingHours?: StorefrontConfiguration["bookingEngine"]["shop"]["openingHours"];
|
|
1534
1535
|
openingHoursOverrides?: StorefrontConfiguration["bookingEngine"]["shop"]["openingHoursOverrides"];
|
|
1535
1536
|
};
|
|
@@ -1751,12 +1752,13 @@ export declare const getStorefrontPreset: (storeSlug?: string | null) => Storefr
|
|
|
1751
1752
|
|
|
1752
1753
|
export declare const getStorefrontRepresentedVariantId: (product: Pick<StorefrontProduct, "representedVariantId">) => string | undefined;
|
|
1753
1754
|
|
|
1754
|
-
export declare function Header({ preset, storefrontConfiguration, whatsappHref }: HeaderProps): JSX.Element;
|
|
1755
|
+
export declare function Header({ preset, storefrontConfiguration, whatsappHref, whatsappPhoneDisplay }: HeaderProps): JSX.Element;
|
|
1755
1756
|
|
|
1756
1757
|
declare type HeaderProps = {
|
|
1757
1758
|
preset: StorefrontPreset;
|
|
1758
1759
|
storefrontConfiguration?: StorefrontConfiguration;
|
|
1759
1760
|
whatsappHref?: string;
|
|
1761
|
+
whatsappPhoneDisplay?: string;
|
|
1760
1762
|
};
|
|
1761
1763
|
|
|
1762
1764
|
export declare const Input: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
@@ -3470,8 +3472,8 @@ export declare const storefrontEn: {
|
|
|
3470
3472
|
feature_secure_payment_description: string;
|
|
3471
3473
|
feature_delivery_title: string;
|
|
3472
3474
|
feature_delivery_description: string;
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
+
feature_guarantee_insurance_title: string;
|
|
3476
|
+
feature_guarantee_insurance_description: string;
|
|
3475
3477
|
cancellation_policy_teaser: string;
|
|
3476
3478
|
cancellation_policy_teaser_description: string;
|
|
3477
3479
|
cancellation_policy_info_aria_label: string;
|
|
@@ -3625,7 +3627,6 @@ export declare const storefrontEn: {
|
|
|
3625
3627
|
checkout_payment_due_now_helper_deposit_refundable_until: string;
|
|
3626
3628
|
checkout_payment_due_now_helper_deposit: string;
|
|
3627
3629
|
checkout_payment_due_now_helper_none: string;
|
|
3628
|
-
checkout_payment_cancellation_policy_helper: string;
|
|
3629
3630
|
checkout_payment_provider: string;
|
|
3630
3631
|
checkout_payment_loading: string;
|
|
3631
3632
|
checkout_payment_error: string;
|
|
@@ -3639,7 +3640,6 @@ export declare const storefrontEn: {
|
|
|
3639
3640
|
checkout_payment_return_loading: string;
|
|
3640
3641
|
checkout_payment_return_missing_session: string;
|
|
3641
3642
|
checkout_payment_return_status_error: string;
|
|
3642
|
-
checkout_payment_return_refresh_status: string;
|
|
3643
3643
|
checkout_payment_return_back_to_checkout: string;
|
|
3644
3644
|
checkout_payment_return_retry_checkout: string;
|
|
3645
3645
|
checkout_payment_return_go_to_success: string;
|
|
@@ -3911,8 +3911,8 @@ export declare const storefrontFr: {
|
|
|
3911
3911
|
feature_secure_payment_description: string;
|
|
3912
3912
|
feature_delivery_title: string;
|
|
3913
3913
|
feature_delivery_description: string;
|
|
3914
|
-
|
|
3915
|
-
|
|
3914
|
+
feature_guarantee_insurance_title: string;
|
|
3915
|
+
feature_guarantee_insurance_description: string;
|
|
3916
3916
|
cancellation_policy_teaser: string;
|
|
3917
3917
|
cancellation_policy_teaser_description: string;
|
|
3918
3918
|
cancellation_policy_info_aria_label: string;
|
|
@@ -4066,7 +4066,6 @@ export declare const storefrontFr: {
|
|
|
4066
4066
|
checkout_payment_due_now_helper_deposit_refundable_until: string;
|
|
4067
4067
|
checkout_payment_due_now_helper_deposit: string;
|
|
4068
4068
|
checkout_payment_due_now_helper_none: string;
|
|
4069
|
-
checkout_payment_cancellation_policy_helper: string;
|
|
4070
4069
|
checkout_payment_provider: string;
|
|
4071
4070
|
checkout_payment_loading: string;
|
|
4072
4071
|
checkout_payment_error: string;
|
|
@@ -4080,7 +4079,6 @@ export declare const storefrontFr: {
|
|
|
4080
4079
|
checkout_payment_return_loading: string;
|
|
4081
4080
|
checkout_payment_return_missing_session: string;
|
|
4082
4081
|
checkout_payment_return_status_error: string;
|
|
4083
|
-
checkout_payment_return_refresh_status: string;
|
|
4084
4082
|
checkout_payment_return_back_to_checkout: string;
|
|
4085
4083
|
checkout_payment_return_retry_checkout: string;
|
|
4086
4084
|
checkout_payment_return_go_to_success: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAuGA,MAAM,CAAC,OAAO,UAAU,YAAY,
|
|
1
|
+
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAuGA,MAAM,CAAC,OAAO,UAAU,YAAY,4CA0lBnC"}
|