@loczer/storefront-sdk 0.197.0 → 0.198.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.
Files changed (31) hide show
  1. package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-j1CgFGLe.js → MorphingModalWizard-DOH1GYVR.js} +1 -0
  2. package/dist/components/BikeProductCard/index.d.ts +2 -1
  3. package/dist/components/BikeProductCard/index.d.ts.map +1 -1
  4. package/dist/components/BikeProductCard/index.js +23 -23
  5. package/dist/components/BookingBikeQuickAddCard/index.d.ts +19 -0
  6. package/dist/components/BookingBikeQuickAddCard/index.d.ts.map +1 -0
  7. package/dist/components/BookingBikeQuickAddCard/index.js +174 -0
  8. package/dist/components/BookingBikeVariantDialog/index.d.ts +5 -2
  9. package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
  10. package/dist/components/BookingBikeVariantDialog/index.js +76 -90
  11. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
  12. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
  13. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
  14. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
  15. package/dist/components/PlatformFooter/index.js +1 -1
  16. package/dist/i18n/en.d.ts +2 -0
  17. package/dist/i18n/en.d.ts.map +1 -1
  18. package/dist/i18n/en.js +2 -0
  19. package/dist/i18n/fr.d.ts +2 -0
  20. package/dist/i18n/fr.d.ts.map +1 -1
  21. package/dist/i18n/fr.js +2 -0
  22. package/dist/index.d.ts +4 -0
  23. package/dist/pages/BookingPage.d.ts.map +1 -1
  24. package/dist/pages/BookingPage.js +310 -388
  25. package/dist/pages/ErrorPage.d.ts.map +1 -1
  26. package/dist/pages/ErrorPage.js +13 -13
  27. package/dist/pages/NotFoundPage.js +1 -1
  28. package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.js +1 -1
  29. package/dist/storefront.css +1 -1
  30. package/dist/ui/button.js +3 -3
  31. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  import { useBookingPeriod as e } from "../BookingPeriodContext.js";
2
- import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-j1CgFGLe.js";
2
+ import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-DOH1GYVR.js";
3
3
  import { Label as n } from "../../../ui/label.js";
4
4
  import { BookingPeriodFieldErrorMessage as r } from "./BookingPeriodFieldErrorMessage.js";
5
5
  import { BookingHourPickerField as i } from "./internal/BookingHourPickerField.js";
@@ -1,5 +1,5 @@
1
1
  import { useBookingPeriod as e } from "../BookingPeriodContext.js";
2
- import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-j1CgFGLe.js";
2
+ import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-DOH1GYVR.js";
3
3
  import { DayPicker as n } from "../../../ui/day-picker.js";
4
4
  import { Label as r } from "../../../ui/label.js";
5
5
  import { BookingPeriodFieldErrorMessage as i } from "./BookingPeriodFieldErrorMessage.js";
@@ -1,5 +1,5 @@
1
1
  import { useBookingPeriod as e } from "../BookingPeriodContext.js";
2
- import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-j1CgFGLe.js";
2
+ import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-DOH1GYVR.js";
3
3
  import { Label as n } from "../../../ui/label.js";
4
4
  import { BookingPeriodFieldErrorMessage as r } from "./BookingPeriodFieldErrorMessage.js";
5
5
  import { BookingHourPickerField as i } from "./internal/BookingHourPickerField.js";
@@ -13,7 +13,7 @@ var i = "https://loczer.com", a = 2025, o = {
13
13
  }
14
14
  };
15
15
  function s() {
16
- let { t: s, i18n: c } = r(), l = o[c.language.startsWith("fr") ? "fr" : "en"], u = (/* @__PURE__ */ new Date()).getFullYear(), d = u > a ? `${a}—${u}` : String(a);
16
+ let { t: s, i18n: c } = r(), l = o[c.language.startsWith("fr") ? "fr" : "en"], u = (/* @__PURE__ */ new Date()).getFullYear(), d = u > a ? `${a}–${u}` : String(a);
17
17
  return /* @__PURE__ */ t("footer", {
18
18
  className: "border-t border-white/10 bg-slate-950",
19
19
  "data-testid": "loczer-platform-footer",
package/dist/i18n/en.d.ts CHANGED
@@ -414,6 +414,8 @@ export declare const storefront: {
414
414
  error_description: string;
415
415
  not_found_title: string;
416
416
  not_found_description: string;
417
+ generic_not_found_title: string;
418
+ generic_not_found_description: string;
417
419
  store_not_found_title: string;
418
420
  store_not_found_description: string;
419
421
  store_moved_title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuctB,CAAA"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyctB,CAAA"}
package/dist/i18n/en.js CHANGED
@@ -415,6 +415,8 @@ var e = {
415
415
  error_description: "We couldn't load this page. Please try again.",
416
416
  not_found_title: "Page not found",
417
417
  not_found_description: "This page does not exist for this store.",
418
+ generic_not_found_title: "404 - Page Not Found",
419
+ generic_not_found_description: "Sorry, the page you are looking for does not exist.",
418
420
  store_not_found_title: "Storefront not found",
419
421
  store_not_found_description: "We couldn't find a shop at this address.",
420
422
  store_moved_title: "This shop has moved",
package/dist/i18n/fr.d.ts CHANGED
@@ -415,6 +415,8 @@ export declare const storefront: {
415
415
  error_description: string;
416
416
  not_found_title: string;
417
417
  not_found_description: string;
418
+ generic_not_found_title: string;
419
+ generic_not_found_description: string;
418
420
  store_not_found_title: string;
419
421
  store_not_found_description: string;
420
422
  store_moved_title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwctB,CAAA"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ctB,CAAA"}
package/dist/i18n/fr.js CHANGED
@@ -416,6 +416,8 @@ var e = {
416
416
  error_description: "Impossible de charger cette page. Veuillez réessayer.",
417
417
  not_found_title: "Page introuvable",
418
418
  not_found_description: "Cette page n'existe pas pour ce magasin.",
419
+ generic_not_found_title: "404 - Page introuvable",
420
+ generic_not_found_description: "Désolé, la page que vous recherchez n'existe pas.",
419
421
  store_not_found_title: "Vitrine introuvable",
420
422
  store_not_found_description: "Nous ne trouvons aucune boutique à cette adresse.",
421
423
  store_moved_title: "Cette boutique a déménagé",
package/dist/index.d.ts CHANGED
@@ -4193,6 +4193,8 @@ export declare const storefrontEn: {
4193
4193
  error_description: string;
4194
4194
  not_found_title: string;
4195
4195
  not_found_description: string;
4196
+ generic_not_found_title: string;
4197
+ generic_not_found_description: string;
4196
4198
  store_not_found_title: string;
4197
4199
  store_not_found_description: string;
4198
4200
  store_moved_title: string;
@@ -4683,6 +4685,8 @@ export declare const storefrontFr: {
4683
4685
  error_description: string;
4684
4686
  not_found_title: string;
4685
4687
  not_found_description: string;
4688
+ generic_not_found_title: string;
4689
+ generic_not_found_description: string;
4686
4690
  store_not_found_title: string;
4687
4691
  store_not_found_description: string;
4688
4692
  store_moved_title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AA4QA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAsoBlC"}
1
+ {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AAoMA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAqnBlC"}