@bowlos/reservations 0.7.0 → 0.14.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/HEADLESS.md +294 -0
- package/README.md +93 -12
- package/dist/{catalog-DBIisELC.d.ts → catalog-kd07kri0.d.ts} +1 -1
- package/dist/{catalog-DEwo88hz.d.cts → catalog-kdDjgvT1.d.cts} +1 -1
- package/dist/{chunk-YICHFUAY.js → chunk-2X7MFQWY.js} +9 -3
- package/dist/chunk-2X7MFQWY.js.map +1 -0
- package/dist/{chunk-JBBWGMRT.js → chunk-FPUWLOW3.js} +10 -4
- package/dist/chunk-FPUWLOW3.js.map +1 -0
- package/dist/chunk-Y3YSDO3H.js +221 -0
- package/dist/chunk-Y3YSDO3H.js.map +1 -0
- package/dist/components.cjs +332 -166
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +14 -3
- package/dist/components.d.ts +14 -3
- package/dist/components.js +322 -373
- package/dist/components.js.map +1 -1
- package/dist/{data-DrM0D6Pi.d.cts → data-lC-l-haz.d.cts} +33 -54
- package/dist/{data-DrM0D6Pi.d.ts → data-lC-l-haz.d.ts} +33 -54
- package/dist/errors-IIK7xibp.d.cts +54 -0
- package/dist/errors-IIK7xibp.d.ts +54 -0
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/payments.cjs +245 -0
- package/dist/payments.cjs.map +1 -0
- package/dist/payments.d.cts +37 -0
- package/dist/payments.d.ts +37 -0
- package/dist/payments.js +83 -0
- package/dist/payments.js.map +1 -0
- package/dist/{react-7ruEsubp.d.cts → react-B3dlcklN.d.ts} +2 -1
- package/dist/{react-Cb_NZCXa.d.ts → react-aZplAyHS.d.cts} +2 -1
- package/dist/react.cjs +8 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +12 -5
- package/dist/react.d.ts +12 -5
- package/dist/react.js +2 -2
- package/package.json +22 -3
- package/templates/center-site/README.md +8 -7
- package/templates/center-site/app/book/page.tsx +10 -3
- package/templates/center-site/package.json +1 -1
- package/dist/chunk-JBBWGMRT.js.map +0 -1
- package/dist/chunk-YICHFUAY.js.map +0 -1
- package/templates/center-site/app/book/checkout-form.tsx +0 -85
package/dist/components.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { c as UseAccountResult } from './react-
|
|
3
|
+
import { m as PricingMode, P as PaymentIntentInfo, k as Customer } from './data-lC-l-haz.cjs';
|
|
4
|
+
import { c as UseAccountResult } from './react-aZplAyHS.cjs';
|
|
5
|
+
import './errors-IIK7xibp.cjs';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Themeable design tokens for the `@bowlos/reservations/components` layer.
|
|
@@ -50,9 +51,18 @@ interface BookingFlowLabels {
|
|
|
50
51
|
heading: string;
|
|
51
52
|
date: string;
|
|
52
53
|
start: string;
|
|
54
|
+
loadingTimes: string;
|
|
55
|
+
noTimes: string;
|
|
53
56
|
quantity: string;
|
|
57
|
+
addonsHeading: string;
|
|
54
58
|
name: string;
|
|
55
59
|
email: string;
|
|
60
|
+
reviewOrder: string;
|
|
61
|
+
reviewHeading: string;
|
|
62
|
+
reservationLineLabel: string;
|
|
63
|
+
reservationFeeLabel: string;
|
|
64
|
+
orderTotal: string;
|
|
65
|
+
editOrder: string;
|
|
56
66
|
hold: string;
|
|
57
67
|
holding: string;
|
|
58
68
|
continueToPayment: string;
|
|
@@ -96,7 +106,8 @@ interface BookingFlowProps {
|
|
|
96
106
|
reservationId: string | null;
|
|
97
107
|
reservationDisplayId: string | null;
|
|
98
108
|
}) => void;
|
|
99
|
-
/**
|
|
109
|
+
/** Inventory noun for the availability line, e.g. lane/lanes. The COUNT field
|
|
110
|
+
* label is derived from `pricingMode` (Lanes / Bowlers / Games). */
|
|
100
111
|
unitLabel?: {
|
|
101
112
|
singular: string;
|
|
102
113
|
plural: string;
|
package/dist/components.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { c as UseAccountResult } from './react-
|
|
3
|
+
import { m as PricingMode, P as PaymentIntentInfo, k as Customer } from './data-lC-l-haz.js';
|
|
4
|
+
import { c as UseAccountResult } from './react-B3dlcklN.js';
|
|
5
|
+
import './errors-IIK7xibp.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Themeable design tokens for the `@bowlos/reservations/components` layer.
|
|
@@ -50,9 +51,18 @@ interface BookingFlowLabels {
|
|
|
50
51
|
heading: string;
|
|
51
52
|
date: string;
|
|
52
53
|
start: string;
|
|
54
|
+
loadingTimes: string;
|
|
55
|
+
noTimes: string;
|
|
53
56
|
quantity: string;
|
|
57
|
+
addonsHeading: string;
|
|
54
58
|
name: string;
|
|
55
59
|
email: string;
|
|
60
|
+
reviewOrder: string;
|
|
61
|
+
reviewHeading: string;
|
|
62
|
+
reservationLineLabel: string;
|
|
63
|
+
reservationFeeLabel: string;
|
|
64
|
+
orderTotal: string;
|
|
65
|
+
editOrder: string;
|
|
56
66
|
hold: string;
|
|
57
67
|
holding: string;
|
|
58
68
|
continueToPayment: string;
|
|
@@ -96,7 +106,8 @@ interface BookingFlowProps {
|
|
|
96
106
|
reservationId: string | null;
|
|
97
107
|
reservationDisplayId: string | null;
|
|
98
108
|
}) => void;
|
|
99
|
-
/**
|
|
109
|
+
/** Inventory noun for the availability line, e.g. lane/lanes. The COUNT field
|
|
110
|
+
* label is derived from `pricingMode` (Lanes / Bowlers / Games). */
|
|
100
111
|
unitLabel?: {
|
|
101
112
|
singular: string;
|
|
102
113
|
plural: string;
|