@loczer/storefront-sdk 0.209.0 → 0.211.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 (62) hide show
  1. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DAbcklF5.js +1 -0
  2. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/mini-CSEBo1ZP.js +60 -0
  3. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index--u3Qf-qy.js +4 -0
  4. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-CEcibV-H.js +1 -0
  5. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tzOffset/index-COlDDdap.js +22 -0
  6. package/dist/chunks/pkg/booking-engine/dist/pricing-BJaynUu_.js +3 -0
  7. package/dist/chunks/pkg/booking-engine/dist/utils/schedule-ssRov9xe.js +39 -0
  8. package/dist/chunks/pkg/booking-engine/dist/utils/timezone-B6XIbBPz.js +79 -0
  9. package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts +7 -0
  10. package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts.map +1 -0
  11. package/dist/components/AdminFloatingButton/AdminFloatingButton.js +36 -0
  12. package/dist/components/AdminFloatingButton/index.d.ts +3 -0
  13. package/dist/components/AdminFloatingButton/index.d.ts.map +1 -0
  14. package/dist/components/AdminFloatingButton/index.js +2 -0
  15. package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -1
  16. package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +213 -213
  17. package/dist/components/ContactSection/index.d.ts.map +1 -1
  18. package/dist/components/ContactSection/index.js +4 -7
  19. package/dist/components/Header/index.js +1 -0
  20. package/dist/components/PlaygroundDevFloatingButton/index.d.ts.map +1 -1
  21. package/dist/components/PlaygroundDevFloatingButton/index.js +121 -100
  22. package/dist/components/ProductPriceBadge/index.d.ts.map +1 -1
  23. package/dist/components/ProductPriceBadge/index.js +86 -80
  24. package/dist/components/StorefrontCartPanel/index.d.ts +4 -4
  25. package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
  26. package/dist/components/StorefrontCartPanel/index.js +10 -9
  27. package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.d.ts +2 -3
  28. package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.d.ts.map +1 -1
  29. package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js +7 -81
  30. package/dist/i18n/en.d.ts +11 -7
  31. package/dist/i18n/en.d.ts.map +1 -1
  32. package/dist/i18n/en.js +13 -9
  33. package/dist/i18n/fr.d.ts +11 -7
  34. package/dist/i18n/fr.d.ts.map +1 -1
  35. package/dist/i18n/fr.js +13 -9
  36. package/dist/index.d.ts +62 -39
  37. package/dist/index.js +68 -66
  38. package/dist/lib/booking.d.ts +0 -6
  39. package/dist/lib/booking.d.ts.map +1 -1
  40. package/dist/lib/booking.js +51 -65
  41. package/dist/lib/cartSummary.d.ts +5 -3
  42. package/dist/lib/cartSummary.d.ts.map +1 -1
  43. package/dist/lib/cartSummary.js +7 -7
  44. package/dist/lib/floatingButtonCollision.d.ts +20 -0
  45. package/dist/lib/floatingButtonCollision.d.ts.map +1 -0
  46. package/dist/lib/floatingButtonCollision.js +72 -0
  47. package/dist/lib/pricing.d.ts +18 -6
  48. package/dist/lib/pricing.d.ts.map +1 -1
  49. package/dist/lib/pricing.js +45 -29
  50. package/dist/lib/useDraggableFloatingButton.d.ts +7 -0
  51. package/dist/lib/useDraggableFloatingButton.d.ts.map +1 -0
  52. package/dist/lib/useDraggableFloatingButton.js +107 -0
  53. package/dist/pages/BookingPage.d.ts.map +1 -1
  54. package/dist/pages/BookingPage.js +205 -201
  55. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  56. package/dist/pages/CheckoutPage.js +195 -191
  57. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +2 -2
  58. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
  59. package/dist/pages/checkout/components/CheckoutSummaryColumn.js +4 -4
  60. package/dist/storefront.css +1 -1
  61. package/dist/ui/day-picker.js +1 -1
  62. package/package.json +1 -1
@@ -24,7 +24,7 @@ function s({ className: a, classNames: s, components: c, showOutsideDays: l = !0
24
24
  weekday: "text-muted-foreground rounded-md w-9 font-normal text-xs",
25
25
  week: "flex w-full mt-2",
26
26
  day: "h-9 w-9 p-0 font-normal aria-selected:opacity-100 rounded-md first:aria-selected:rounded-l-md last:aria-selected:rounded-r-md",
27
- day_button: n(e({ variant: "ghost" }), "h-9 w-9 text-center text-sm p-0 relative focus-within:relative focus-within:z-20"),
27
+ day_button: n(e({ variant: "ghost" }), "h-9 w-9 rounded-md text-center text-sm p-0 relative focus-within:relative focus-within:z-20"),
28
28
  range_start: "day-range-start !bg-accent rounded-l-md [&:not(.day-range-end)]:!rounded-r-none [&>button]:bg-primary [&>button]:text-primary-foreground [&:not(.day-range-end)>button]:!rounded-r-none [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground",
29
29
  range_end: "day-range-end !bg-accent rounded-r-md [&:not(.day-range-start)]:!rounded-l-none [&>button]:bg-primary [&>button]:text-primary-foreground [&:not(.day-range-start)>button]:!rounded-l-none [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground",
30
30
  range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground !rounded-none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loczer/storefront-sdk",
3
- "version": "0.209.0",
3
+ "version": "0.211.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"