@loczer/storefront-sdk 0.161.0 → 0.162.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/chunks/booking-engine/dist/utils/{pricing-DcnUXaeI.js → pricing-CYLeWtmu.js} +6 -6
  2. package/dist/components/BikeProductCard/index.js +1 -1
  3. package/dist/components/ContactSection/index.js +2 -2
  4. package/dist/components/StorefrontCartPanel/index.d.ts +3 -1
  5. package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
  6. package/dist/components/StorefrontCartPanel/index.js +25 -23
  7. package/dist/i18n/en.js +1 -1
  8. package/dist/i18n/fr.js +1 -1
  9. package/dist/index.d.ts +4 -3
  10. package/dist/lib/checkoutSubmit.d.ts +2 -2
  11. package/dist/lib/checkoutSubmit.js +1 -1
  12. package/dist/lib/pricing.js +3 -3
  13. package/dist/pages/BookingPage.js +1 -1
  14. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  15. package/dist/pages/CheckoutPage.js +71 -75
  16. package/dist/pages/CheckoutPaymentPage.js +5 -5
  17. package/dist/pages/CheckoutSuccessPage.js +6 -6
  18. package/dist/pages/ContractSaleDocumentPage.js +1 -1
  19. package/dist/pages/HomePage.js +7 -7
  20. package/dist/pages/PaymentLinkPage.js +3 -3
  21. package/dist/pages/PaymentLinkSuccessPage.js +1 -1
  22. package/dist/pages/ProductPage.js +3 -3
  23. package/dist/pages/checkout/components/CheckoutCouponCard.d.ts +2 -1
  24. package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -1
  25. package/dist/pages/checkout/components/CheckoutCouponCard.js +37 -36
  26. package/dist/pages/checkout/components/CheckoutDetailsCard.js +2 -2
  27. package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.js +21 -21
  28. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +6 -2
  29. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
  30. package/dist/pages/checkout/components/CheckoutSummaryColumn.js +26 -23
  31. package/dist/pages/checkout/types.d.ts +1 -1
  32. package/dist/pages/checkout/types.js +3 -3
  33. package/dist/storefront.css +1 -1
  34. package/dist/ui/card.js +26 -26
  35. package/package.json +1 -1
package/dist/ui/card.js CHANGED
@@ -1,53 +1,53 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsx as r } from "react/jsx-runtime";
2
2
  import { cn as o } from "@rpcbase/ui";
3
- function n({ className: t, ...r }) {
4
- return /* @__PURE__ */ a(
3
+ function n({ className: t, ...a }) {
4
+ return /* @__PURE__ */ r(
5
5
  "div",
6
6
  {
7
7
  "data-slot": "card",
8
8
  className: o(
9
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
9
+ "bg-card text-card-foreground flex flex-col rounded-xl border shadow-sm",
10
10
  t
11
11
  ),
12
- ...r
12
+ ...a
13
13
  }
14
14
  );
15
15
  }
16
- function s({ className: t, ...r }) {
17
- return /* @__PURE__ */ a(
16
+ function s({ className: t, ...a }) {
17
+ return /* @__PURE__ */ r(
18
18
  "div",
19
19
  {
20
20
  "data-slot": "card-header",
21
21
  className: o(
22
- "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
22
+ "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-5 py-4 has-data-[slot=card-action]:grid-cols-[1fr_auto]",
23
23
  t
24
24
  ),
25
- ...r
25
+ ...a
26
26
  }
27
27
  );
28
28
  }
29
- function c({ className: t, ...r }) {
30
- return /* @__PURE__ */ a(
29
+ function c({ className: t, ...a }) {
30
+ return /* @__PURE__ */ r(
31
31
  "div",
32
32
  {
33
33
  "data-slot": "card-title",
34
34
  className: o("leading-none font-semibold", t),
35
- ...r
35
+ ...a
36
36
  }
37
37
  );
38
38
  }
39
- function i({ className: t, ...r }) {
40
- return /* @__PURE__ */ a(
39
+ function i({ className: t, ...a }) {
40
+ return /* @__PURE__ */ r(
41
41
  "div",
42
42
  {
43
43
  "data-slot": "card-description",
44
44
  className: o("text-muted-foreground text-sm", t),
45
- ...r
45
+ ...a
46
46
  }
47
47
  );
48
48
  }
49
- function l({ className: t, ...r }) {
50
- return /* @__PURE__ */ a(
49
+ function l({ className: t, ...a }) {
50
+ return /* @__PURE__ */ r(
51
51
  "div",
52
52
  {
53
53
  "data-slot": "card-action",
@@ -55,27 +55,27 @@ function l({ className: t, ...r }) {
55
55
  "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
56
56
  t
57
57
  ),
58
- ...r
58
+ ...a
59
59
  }
60
60
  );
61
61
  }
62
- function u({ className: t, ...r }) {
63
- return /* @__PURE__ */ a(
62
+ function u({ className: t, ...a }) {
63
+ return /* @__PURE__ */ r(
64
64
  "div",
65
65
  {
66
66
  "data-slot": "card-content",
67
- className: o("px-6", t),
68
- ...r
67
+ className: o("px-5 py-4", t),
68
+ ...a
69
69
  }
70
70
  );
71
71
  }
72
- function f({ className: t, ...r }) {
73
- return /* @__PURE__ */ a(
72
+ function f({ className: t, ...a }) {
73
+ return /* @__PURE__ */ r(
74
74
  "div",
75
75
  {
76
76
  "data-slot": "card-footer",
77
- className: o("flex items-center px-6 [.border-t]:pt-6", t),
78
- ...r
77
+ className: o("flex items-center px-5 py-4", t),
78
+ ...a
79
79
  }
80
80
  );
81
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loczer/storefront-sdk",
3
- "version": "0.161.0",
3
+ "version": "0.162.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"