@loczer/storefront-sdk 0.160.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.
- package/dist/chunks/booking-engine/dist/utils/{pricing-DcnUXaeI.js → pricing-CYLeWtmu.js} +6 -6
- package/dist/components/BikeProductCard/index.js +1 -1
- package/dist/components/ContactSection/index.js +2 -2
- package/dist/components/StorefrontCartPanel/index.d.ts +3 -1
- package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
- package/dist/components/StorefrontCartPanel/index.js +25 -23
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/fr.js +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/lib/checkoutSubmit.d.ts +2 -2
- package/dist/lib/checkoutSubmit.js +1 -1
- package/dist/lib/fetchStorefrontTimeSlots.d.ts +4 -0
- package/dist/lib/fetchStorefrontTimeSlots.d.ts.map +1 -0
- package/dist/lib/fetchStorefrontTimeSlots.js +22 -0
- package/dist/lib/pricing.js +3 -3
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/BookingPage.js +98 -101
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +71 -75
- package/dist/pages/CheckoutPaymentPage.js +5 -5
- package/dist/pages/CheckoutSuccessPage.js +6 -6
- package/dist/pages/ContractSaleDocumentPage.js +1 -1
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +134 -137
- package/dist/pages/PaymentLinkPage.js +3 -3
- package/dist/pages/PaymentLinkSuccessPage.js +1 -1
- package/dist/pages/ProductPage.js +3 -3
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts +2 -1
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutCouponCard.js +37 -36
- package/dist/pages/checkout/components/CheckoutDetailsCard.js +2 -2
- package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.js +21 -21
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +6 -2
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutSummaryColumn.js +26 -23
- package/dist/pages/checkout/types.d.ts +1 -1
- package/dist/pages/checkout/types.js +3 -3
- package/dist/storefront.css +1 -1
- package/dist/ui/card.js +26 -26
- package/package.json +1 -1
package/dist/ui/card.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { cn as o } from "@rpcbase/ui";
|
|
3
|
-
function n({ className: t, ...
|
|
4
|
-
return /* @__PURE__ */
|
|
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
|
|
9
|
+
"bg-card text-card-foreground flex flex-col rounded-xl border shadow-sm",
|
|
10
10
|
t
|
|
11
11
|
),
|
|
12
|
-
...
|
|
12
|
+
...a
|
|
13
13
|
}
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
|
-
function s({ className: t, ...
|
|
17
|
-
return /* @__PURE__ */
|
|
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-
|
|
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
|
-
...
|
|
25
|
+
...a
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
|
-
function c({ className: t, ...
|
|
30
|
-
return /* @__PURE__ */
|
|
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
|
-
...
|
|
35
|
+
...a
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
function i({ className: t, ...
|
|
40
|
-
return /* @__PURE__ */
|
|
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
|
-
...
|
|
45
|
+
...a
|
|
46
46
|
}
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
|
-
function l({ className: t, ...
|
|
50
|
-
return /* @__PURE__ */
|
|
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
|
-
...
|
|
58
|
+
...a
|
|
59
59
|
}
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
|
-
function u({ className: t, ...
|
|
63
|
-
return /* @__PURE__ */
|
|
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-
|
|
68
|
-
...
|
|
67
|
+
className: o("px-5 py-4", t),
|
|
68
|
+
...a
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
function f({ className: t, ...
|
|
73
|
-
return /* @__PURE__ */
|
|
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-
|
|
78
|
-
...
|
|
77
|
+
className: o("flex items-center px-5 py-4", t),
|
|
78
|
+
...a
|
|
79
79
|
}
|
|
80
80
|
);
|
|
81
81
|
}
|