@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.
Files changed (45) hide show
  1. package/HEADLESS.md +294 -0
  2. package/README.md +93 -12
  3. package/dist/{catalog-DBIisELC.d.ts → catalog-kd07kri0.d.ts} +1 -1
  4. package/dist/{catalog-DEwo88hz.d.cts → catalog-kdDjgvT1.d.cts} +1 -1
  5. package/dist/{chunk-YICHFUAY.js → chunk-2X7MFQWY.js} +9 -3
  6. package/dist/chunk-2X7MFQWY.js.map +1 -0
  7. package/dist/{chunk-JBBWGMRT.js → chunk-FPUWLOW3.js} +10 -4
  8. package/dist/chunk-FPUWLOW3.js.map +1 -0
  9. package/dist/chunk-Y3YSDO3H.js +221 -0
  10. package/dist/chunk-Y3YSDO3H.js.map +1 -0
  11. package/dist/components.cjs +332 -166
  12. package/dist/components.cjs.map +1 -1
  13. package/dist/components.d.cts +14 -3
  14. package/dist/components.d.ts +14 -3
  15. package/dist/components.js +322 -373
  16. package/dist/components.js.map +1 -1
  17. package/dist/{data-DrM0D6Pi.d.cts → data-lC-l-haz.d.cts} +33 -54
  18. package/dist/{data-DrM0D6Pi.d.ts → data-lC-l-haz.d.ts} +33 -54
  19. package/dist/errors-IIK7xibp.d.cts +54 -0
  20. package/dist/errors-IIK7xibp.d.ts +54 -0
  21. package/dist/index.cjs +8 -0
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +4 -3
  24. package/dist/index.d.ts +4 -3
  25. package/dist/index.js +2 -2
  26. package/dist/payments.cjs +245 -0
  27. package/dist/payments.cjs.map +1 -0
  28. package/dist/payments.d.cts +37 -0
  29. package/dist/payments.d.ts +37 -0
  30. package/dist/payments.js +83 -0
  31. package/dist/payments.js.map +1 -0
  32. package/dist/{react-7ruEsubp.d.cts → react-B3dlcklN.d.ts} +2 -1
  33. package/dist/{react-Cb_NZCXa.d.ts → react-aZplAyHS.d.cts} +2 -1
  34. package/dist/react.cjs +8 -0
  35. package/dist/react.cjs.map +1 -1
  36. package/dist/react.d.cts +12 -5
  37. package/dist/react.d.ts +12 -5
  38. package/dist/react.js +2 -2
  39. package/package.json +22 -3
  40. package/templates/center-site/README.md +8 -7
  41. package/templates/center-site/app/book/page.tsx +10 -3
  42. package/templates/center-site/package.json +1 -1
  43. package/dist/chunk-JBBWGMRT.js.map +0 -1
  44. package/dist/chunk-YICHFUAY.js.map +0 -1
  45. package/templates/center-site/app/book/checkout-form.tsx +0 -85
@@ -1,7 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
- import { q as PricingMode, P as PaymentIntentInfo, o as Customer } from './data-DrM0D6Pi.cjs';
4
- import { c as UseAccountResult } from './react-7ruEsubp.cjs';
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
- /** Unit noun, e.g. lane/lanes (per_unit) or player/players (per_person). */
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;
@@ -1,7 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
- import { q as PricingMode, P as PaymentIntentInfo, o as Customer } from './data-DrM0D6Pi.js';
4
- import { c as UseAccountResult } from './react-Cb_NZCXa.js';
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
- /** Unit noun, e.g. lane/lanes (per_unit) or player/players (per_person). */
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;