@loczer/storefront-sdk 0.235.0 → 0.237.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 (35) hide show
  1. package/dist/components/FaqSection/index.d.ts +2 -0
  2. package/dist/components/FaqSection/index.d.ts.map +1 -0
  3. package/dist/components/FaqSection/index.js +76 -0
  4. package/dist/components/Header/index.d.ts.map +1 -1
  5. package/dist/components/Header/index.js +113 -109
  6. package/dist/components/Layout/index.d.ts.map +1 -1
  7. package/dist/components/Layout/index.js +42 -43
  8. package/dist/components/StorefrontCartPanel/index.d.ts +2 -1
  9. package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
  10. package/dist/components/StorefrontCartPanel/index.js +42 -38
  11. package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
  12. package/dist/components/StorefrontInsuranceNotice/index.js +3 -12
  13. package/dist/i18n/en.d.ts +3 -2
  14. package/dist/i18n/en.d.ts.map +1 -1
  15. package/dist/i18n/en.js +3 -2
  16. package/dist/i18n/fr.d.ts +3 -2
  17. package/dist/i18n/fr.d.ts.map +1 -1
  18. package/dist/i18n/fr.js +3 -2
  19. package/dist/index.d.ts +14 -5
  20. package/dist/index.js +27 -26
  21. package/dist/lib/storefrontProducts.d.ts +4 -0
  22. package/dist/lib/storefrontProducts.d.ts.map +1 -1
  23. package/dist/lib/storefrontProducts.js +2 -0
  24. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  25. package/dist/pages/CheckoutPage.js +7 -0
  26. package/dist/pages/HomePage.d.ts.map +1 -1
  27. package/dist/pages/HomePage.js +397 -388
  28. package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts +9 -0
  29. package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts.map +1 -0
  30. package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.js +83 -0
  31. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +3 -1
  32. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
  33. package/dist/pages/checkout/components/CheckoutSummaryColumn.js +34 -32
  34. package/dist/storefront.css +1 -1
  35. package/package.json +1 -1
@@ -58,6 +58,7 @@ var t = e.object({
58
58
  images: e.array(e.string().trim().min(1)).optional(),
59
59
  primaryImageStyle: m.optional(),
60
60
  prices: e.array(a).optional(),
61
+ depositAmount: e.number().int().min(0).default(0),
61
62
  insurance: o.optional(),
62
63
  features: e.array(n).optional(),
63
64
  productVariants: e.array(l).min(1),
@@ -74,6 +75,7 @@ var t = e.object({
74
75
  images: e.array(e.string().trim().min(1)).optional(),
75
76
  primaryImageStyle: m.optional(),
76
77
  prices: e.array(a),
78
+ depositAmount: e.number().int().min(0).default(0),
77
79
  features: e.array(n).optional(),
78
80
  productVariants: e.array(l).min(1),
79
81
  storefrontDisplayMode: p.default("variant_selector")
@@ -1 +1 @@
1
- {"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAqFA,MAAM,CAAC,OAAO,UAAU,YAAY,4CA+oBnC"}
1
+ {"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAqFA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAspBnC"}
@@ -405,6 +405,13 @@ function p() {
405
405
  vatAmountLabel: Nt,
406
406
  vatRateLabel: Pt,
407
407
  bookingTotalLabel: Dt,
408
+ bookingPeriod: z ? {
409
+ bookingPath: Z,
410
+ startDate: z.startDate,
411
+ startTime: z.startTime,
412
+ endDate: z.endDate,
413
+ endTime: z.endTime
414
+ } : void 0,
408
415
  onQuantityChange: Ge,
409
416
  onRemove: Ke,
410
417
  coupon: {
@@ -1 +1 @@
1
- {"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../src/pages/HomePage.tsx"],"names":[],"mappings":"AA2JA,MAAM,CAAC,OAAO,UAAU,QAAQ,4CAw4B/B"}
1
+ {"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../src/pages/HomePage.tsx"],"names":[],"mappings":"AA4JA,MAAM,CAAC,OAAO,UAAU,QAAQ,4CAi5B/B"}