@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.
Files changed (44) hide show
  1. package/README.md +74 -8
  2. package/dist/{catalog-DBIisELC.d.ts → catalog-kd07kri0.d.ts} +1 -1
  3. package/dist/{catalog-DEwo88hz.d.cts → catalog-kdDjgvT1.d.cts} +1 -1
  4. package/dist/{chunk-YICHFUAY.js → chunk-2X7MFQWY.js} +9 -3
  5. package/dist/chunk-2X7MFQWY.js.map +1 -0
  6. package/dist/{chunk-JBBWGMRT.js → chunk-FPUWLOW3.js} +10 -4
  7. package/dist/chunk-FPUWLOW3.js.map +1 -0
  8. package/dist/chunk-Y3YSDO3H.js +221 -0
  9. package/dist/chunk-Y3YSDO3H.js.map +1 -0
  10. package/dist/components.cjs +252 -164
  11. package/dist/components.cjs.map +1 -1
  12. package/dist/components.d.cts +8 -3
  13. package/dist/components.d.ts +8 -3
  14. package/dist/components.js +242 -371
  15. package/dist/components.js.map +1 -1
  16. package/dist/{data-DrM0D6Pi.d.cts → data-lC-l-haz.d.cts} +33 -54
  17. package/dist/{data-DrM0D6Pi.d.ts → data-lC-l-haz.d.ts} +33 -54
  18. package/dist/errors-IIK7xibp.d.cts +54 -0
  19. package/dist/errors-IIK7xibp.d.ts +54 -0
  20. package/dist/index.cjs +8 -0
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +4 -3
  23. package/dist/index.d.ts +4 -3
  24. package/dist/index.js +2 -2
  25. package/dist/payments.cjs +245 -0
  26. package/dist/payments.cjs.map +1 -0
  27. package/dist/payments.d.cts +37 -0
  28. package/dist/payments.d.ts +37 -0
  29. package/dist/payments.js +83 -0
  30. package/dist/payments.js.map +1 -0
  31. package/dist/{react-7ruEsubp.d.cts → react-B3dlcklN.d.ts} +2 -1
  32. package/dist/{react-Cb_NZCXa.d.ts → react-aZplAyHS.d.cts} +2 -1
  33. package/dist/react.cjs +8 -0
  34. package/dist/react.cjs.map +1 -1
  35. package/dist/react.d.cts +12 -5
  36. package/dist/react.d.ts +12 -5
  37. package/dist/react.js +2 -2
  38. package/package.json +20 -2
  39. package/templates/center-site/README.md +8 -7
  40. package/templates/center-site/app/book/page.tsx +10 -3
  41. package/templates/center-site/package.json +1 -1
  42. package/dist/chunk-JBBWGMRT.js.map +0 -1
  43. package/dist/chunk-YICHFUAY.js.map +0 -1
  44. 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,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
- /** Unit noun, e.g. lane/lanes (per_unit) or player/players (per_person). */
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;
@@ -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,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
- /** Unit noun, e.g. lane/lanes (per_unit) or player/players (per_person). */
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;