@bowlos/reservations 0.7.0 → 0.12.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/README.md +74 -8
- 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 +252 -164
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +8 -3
- package/dist/components.d.ts +8 -3
- package/dist/components.js +242 -371
- 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 +20 -2
- 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,7 +51,10 @@ 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;
|
|
56
60
|
hold: string;
|
|
@@ -96,7 +100,8 @@ interface BookingFlowProps {
|
|
|
96
100
|
reservationId: string | null;
|
|
97
101
|
reservationDisplayId: string | null;
|
|
98
102
|
}) => void;
|
|
99
|
-
/**
|
|
103
|
+
/** Inventory noun for the availability line, e.g. lane/lanes. The COUNT field
|
|
104
|
+
* label is derived from `pricingMode` (Lanes / Bowlers / Games). */
|
|
100
105
|
unitLabel?: {
|
|
101
106
|
singular: string;
|
|
102
107
|
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,7 +51,10 @@ 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;
|
|
56
60
|
hold: string;
|
|
@@ -96,7 +100,8 @@ interface BookingFlowProps {
|
|
|
96
100
|
reservationId: string | null;
|
|
97
101
|
reservationDisplayId: string | null;
|
|
98
102
|
}) => void;
|
|
99
|
-
/**
|
|
103
|
+
/** Inventory noun for the availability line, e.g. lane/lanes. The COUNT field
|
|
104
|
+
* label is derived from `pricingMode` (Lanes / Bowlers / Games). */
|
|
100
105
|
unitLabel?: {
|
|
101
106
|
singular: string;
|
|
102
107
|
plural: string;
|