@sonordev/site-kit 2.6.1 → 2.7.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/index.d.mts CHANGED
@@ -4,7 +4,7 @@ export { C as ChatConfig, c as EngageElement, d as WidgetConfig } from './types-
4
4
  export { a as FormField, F as FormSubmission, M as ManagedFormConfig } from './types-0dmq3k20.mjs';
5
5
  export { a as BlogAuthor, b as BlogCategory, B as BlogPostType } from './types-5P5B9RgV.mjs';
6
6
  export { g as Cart, f as CartItem, e as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-B0xmgGw-.mjs';
7
- export { x as CalendarView, w as CheckoutForm, z as EventCalendar, u as EventEmbed, y as EventModal, E as EventTile, O as OfferingCard, s as OfferingList, t as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, l as createCheckoutSession, j as fetchNextEvent, a as fetchOffering, f as fetchOfferings, c as fetchProducts, h as fetchServices, i as fetchUpcomingEvents, F as formatDate, G as formatDateTime, B as formatPrice, M as getOfferingUrl, r as registerForEvent, A as useEventModal } from './useEventModal-DvqBRau-.mjs';
7
+ export { A as CalendarView, x as CheckoutForm, s as CheckoutLineItem, F as EventCalendar, y as EventCheckout, z as EventCheckoutProps, w as EventEmbed, B as EventModal, E as EventTile, O as OfferingCard, t as OfferingList, u as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, l as createCheckoutSession, j as fetchNextEvent, a as fetchOffering, f as fetchOfferings, c as fetchProducts, h as fetchServices, i as fetchUpcomingEvents, I as formatDate, J as formatDateTime, H as formatPrice, T as getOfferingUrl, r as registerForEvent, G as useEventModal } from './useEventModal-4W_y1SYY.mjs';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
9
  import React__default from 'react';
10
10
  export { RedirectConfig, RedirectRule, clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from './redirects/index.mjs';
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { C as ChatConfig, c as EngageElement, d as WidgetConfig } from './types-
4
4
  export { a as FormField, F as FormSubmission, M as ManagedFormConfig } from './types-0dmq3k20.js';
5
5
  export { a as BlogAuthor, b as BlogCategory, B as BlogPostType } from './types-5P5B9RgV.js';
6
6
  export { g as Cart, f as CartItem, e as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-B0xmgGw-.js';
7
- export { x as CalendarView, w as CheckoutForm, z as EventCalendar, u as EventEmbed, y as EventModal, E as EventTile, O as OfferingCard, s as OfferingList, t as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, l as createCheckoutSession, j as fetchNextEvent, a as fetchOffering, f as fetchOfferings, c as fetchProducts, h as fetchServices, i as fetchUpcomingEvents, F as formatDate, G as formatDateTime, B as formatPrice, M as getOfferingUrl, r as registerForEvent, A as useEventModal } from './useEventModal-C4Dr4Psb.js';
7
+ export { A as CalendarView, x as CheckoutForm, s as CheckoutLineItem, F as EventCalendar, y as EventCheckout, z as EventCheckoutProps, w as EventEmbed, B as EventModal, E as EventTile, O as OfferingCard, t as OfferingList, u as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, l as createCheckoutSession, j as fetchNextEvent, a as fetchOffering, f as fetchOfferings, c as fetchProducts, h as fetchServices, i as fetchUpcomingEvents, I as formatDate, J as formatDateTime, H as formatPrice, T as getOfferingUrl, r as registerForEvent, G as useEventModal } from './useEventModal-CJLCmH5Y.js';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
9
  import React__default from 'react';
10
10
  export { RedirectConfig, RedirectRule, clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from './redirects/index.js';
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ var chunkIFVMZFNT_js = require('./chunk-IFVMZFNT.js');
5
5
  require('./chunk-GCPPXUAI.js');
6
6
  var chunkEATGSR46_js = require('./chunk-EATGSR46.js');
7
7
  require('./chunk-JP5WGL75.js');
8
- var chunkD5ES7H7E_js = require('./chunk-D5ES7H7E.js');
8
+ var chunkKCA5OLS4_js = require('./chunk-KCA5OLS4.js');
9
9
  var chunkZQINTH5K_js = require('./chunk-ZQINTH5K.js');
10
10
  require('./chunk-LWJDQ2BT.js');
11
11
  require('./chunk-EJXWFTKA.js');
@@ -214,99 +214,103 @@ Object.defineProperty(exports, "fetchReviews", {
214
214
  });
215
215
  Object.defineProperty(exports, "CalendarView", {
216
216
  enumerable: true,
217
- get: function () { return chunkD5ES7H7E_js.CalendarView; }
217
+ get: function () { return chunkKCA5OLS4_js.CalendarView; }
218
218
  });
219
219
  Object.defineProperty(exports, "CheckoutForm", {
220
220
  enumerable: true,
221
- get: function () { return chunkD5ES7H7E_js.CheckoutForm; }
221
+ get: function () { return chunkKCA5OLS4_js.CheckoutForm; }
222
222
  });
223
223
  Object.defineProperty(exports, "EventCalendar", {
224
224
  enumerable: true,
225
- get: function () { return chunkD5ES7H7E_js.EventCalendar; }
225
+ get: function () { return chunkKCA5OLS4_js.EventCalendar; }
226
+ });
227
+ Object.defineProperty(exports, "EventCheckout", {
228
+ enumerable: true,
229
+ get: function () { return chunkKCA5OLS4_js.EventCheckout; }
226
230
  });
227
231
  Object.defineProperty(exports, "EventEmbed", {
228
232
  enumerable: true,
229
- get: function () { return chunkD5ES7H7E_js.EventEmbed; }
233
+ get: function () { return chunkKCA5OLS4_js.EventEmbed; }
230
234
  });
231
235
  Object.defineProperty(exports, "EventModal", {
232
236
  enumerable: true,
233
- get: function () { return chunkD5ES7H7E_js.EventModal; }
237
+ get: function () { return chunkKCA5OLS4_js.EventModal; }
234
238
  });
235
239
  Object.defineProperty(exports, "EventTile", {
236
240
  enumerable: true,
237
- get: function () { return chunkD5ES7H7E_js.EventTile; }
241
+ get: function () { return chunkKCA5OLS4_js.EventTile; }
238
242
  });
239
243
  Object.defineProperty(exports, "OfferingCard", {
240
244
  enumerable: true,
241
- get: function () { return chunkD5ES7H7E_js.OfferingCard; }
245
+ get: function () { return chunkKCA5OLS4_js.OfferingCard; }
242
246
  });
243
247
  Object.defineProperty(exports, "OfferingList", {
244
248
  enumerable: true,
245
- get: function () { return chunkD5ES7H7E_js.OfferingList; }
249
+ get: function () { return chunkKCA5OLS4_js.OfferingList; }
246
250
  });
247
251
  Object.defineProperty(exports, "ProductEmbed", {
248
252
  enumerable: true,
249
- get: function () { return chunkD5ES7H7E_js.ProductEmbed; }
253
+ get: function () { return chunkKCA5OLS4_js.ProductEmbed; }
250
254
  });
251
255
  Object.defineProperty(exports, "RegistrationForm", {
252
256
  enumerable: true,
253
- get: function () { return chunkD5ES7H7E_js.RegistrationForm; }
257
+ get: function () { return chunkKCA5OLS4_js.RegistrationForm; }
254
258
  });
255
259
  Object.defineProperty(exports, "UpcomingEvents", {
256
260
  enumerable: true,
257
- get: function () { return chunkD5ES7H7E_js.UpcomingEvents; }
261
+ get: function () { return chunkKCA5OLS4_js.UpcomingEvents; }
258
262
  });
259
263
  Object.defineProperty(exports, "createCheckoutSession", {
260
264
  enumerable: true,
261
- get: function () { return chunkD5ES7H7E_js.createCheckoutSession; }
265
+ get: function () { return chunkKCA5OLS4_js.createCheckoutSession; }
262
266
  });
263
267
  Object.defineProperty(exports, "fetchNextEvent", {
264
268
  enumerable: true,
265
- get: function () { return chunkD5ES7H7E_js.fetchNextEvent; }
269
+ get: function () { return chunkKCA5OLS4_js.fetchNextEvent; }
266
270
  });
267
271
  Object.defineProperty(exports, "fetchOffering", {
268
272
  enumerable: true,
269
- get: function () { return chunkD5ES7H7E_js.fetchOffering; }
273
+ get: function () { return chunkKCA5OLS4_js.fetchOffering; }
270
274
  });
271
275
  Object.defineProperty(exports, "fetchOfferings", {
272
276
  enumerable: true,
273
- get: function () { return chunkD5ES7H7E_js.fetchOfferings; }
277
+ get: function () { return chunkKCA5OLS4_js.fetchOfferings; }
274
278
  });
275
279
  Object.defineProperty(exports, "fetchProducts", {
276
280
  enumerable: true,
277
- get: function () { return chunkD5ES7H7E_js.fetchProducts; }
281
+ get: function () { return chunkKCA5OLS4_js.fetchProducts; }
278
282
  });
279
283
  Object.defineProperty(exports, "fetchServices", {
280
284
  enumerable: true,
281
- get: function () { return chunkD5ES7H7E_js.fetchServices; }
285
+ get: function () { return chunkKCA5OLS4_js.fetchServices; }
282
286
  });
283
287
  Object.defineProperty(exports, "fetchUpcomingEvents", {
284
288
  enumerable: true,
285
- get: function () { return chunkD5ES7H7E_js.fetchUpcomingEvents; }
289
+ get: function () { return chunkKCA5OLS4_js.fetchUpcomingEvents; }
286
290
  });
287
291
  Object.defineProperty(exports, "formatDate", {
288
292
  enumerable: true,
289
- get: function () { return chunkD5ES7H7E_js.formatDate; }
293
+ get: function () { return chunkKCA5OLS4_js.formatDate; }
290
294
  });
291
295
  Object.defineProperty(exports, "formatDateTime", {
292
296
  enumerable: true,
293
- get: function () { return chunkD5ES7H7E_js.formatDateTime; }
297
+ get: function () { return chunkKCA5OLS4_js.formatDateTime; }
294
298
  });
295
299
  Object.defineProperty(exports, "formatPrice", {
296
300
  enumerable: true,
297
- get: function () { return chunkD5ES7H7E_js.formatPrice; }
301
+ get: function () { return chunkKCA5OLS4_js.formatPrice; }
298
302
  });
299
303
  Object.defineProperty(exports, "getOfferingUrl", {
300
304
  enumerable: true,
301
- get: function () { return chunkD5ES7H7E_js.getOfferingUrl; }
305
+ get: function () { return chunkKCA5OLS4_js.getOfferingUrl; }
302
306
  });
303
307
  Object.defineProperty(exports, "registerForEvent", {
304
308
  enumerable: true,
305
- get: function () { return chunkD5ES7H7E_js.registerForEvent; }
309
+ get: function () { return chunkKCA5OLS4_js.registerForEvent; }
306
310
  });
307
311
  Object.defineProperty(exports, "useEventModal", {
308
312
  enumerable: true,
309
- get: function () { return chunkD5ES7H7E_js.useEventModal; }
313
+ get: function () { return chunkKCA5OLS4_js.useEventModal; }
310
314
  });
311
315
  Object.defineProperty(exports, "BookingWidget", {
312
316
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ export { ManagedImage, assignImageToSlot, clearImageSlot, fetchManagedImage, fet
3
3
  import './chunk-CU6OGBKK.mjs';
4
4
  export { TestimonialSection, fetchReviewStats, fetchReviews } from './chunk-UUDE46TZ.mjs';
5
5
  import './chunk-B22WSN4L.mjs';
6
- export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, OfferingCard, OfferingList, ProductEmbed, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchNextEvent, fetchOffering, fetchOfferings, fetchProducts, fetchServices, fetchUpcomingEvents, formatDate, formatDateTime, formatPrice, getOfferingUrl, registerForEvent, useEventModal } from './chunk-HSSKX77P.mjs';
6
+ export { CalendarView, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventModal, EventTile, OfferingCard, OfferingList, ProductEmbed, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchNextEvent, fetchOffering, fetchOfferings, fetchProducts, fetchServices, fetchUpcomingEvents, formatDate, formatDateTime, formatPrice, getOfferingUrl, registerForEvent, useEventModal } from './chunk-FN7ADGWH.mjs';
7
7
  export { BookingWidget, createBooking, createSlotHold, detectTimezone, fetchAvailability, fetchAvailableDates, fetchBookingTypeDetails, fetchBookingTypes, formatDate as formatBookingDate, formatTime as formatBookingTime, formatDuration, releaseSlotHold } from './chunk-AT2ZF3TL.mjs';
8
8
  import './chunk-W5QMQMUS.mjs';
9
9
  import './chunk-6EEXEVSE.mjs';
@@ -1,4 +1,4 @@
1
- import { F as FetchOfferingsOptions, C as CommerceOffering, q as FetchEventsOptions, h as CheckoutCustomer, b as CheckoutResult, i as OfferingCardProps, j as OfferingListProps, E as EventTileProps, U as UpcomingEventsProps, l as ProductEmbedProps, m as EventEmbedProps, n as CheckoutFormProps, R as RegistrationFormProps, c as CommerceSchedule } from './types-B0xmgGw-.mjs';
1
+ import { F as FetchOfferingsOptions, C as CommerceOffering, q as FetchEventsOptions, h as CheckoutCustomer, b as CheckoutResult, i as OfferingCardProps, j as OfferingListProps, E as EventTileProps, U as UpcomingEventsProps, l as ProductEmbedProps, m as EventEmbedProps, n as CheckoutFormProps, c as CommerceSchedule, R as RegistrationFormProps } from './types-B0xmgGw-.mjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
 
4
4
  /**
@@ -106,11 +106,23 @@ declare function validateAddress(address: Omit<ShippingAddress, 'name' | 'phone'
106
106
  */
107
107
  declare function fetchActiveProcessor(): Promise<'stripe' | 'square' | null>;
108
108
  declare function registerForEvent(eventId: string, scheduleId: string | undefined, customer: CheckoutCustomer): Promise<CheckoutResult>;
109
- interface CreateCheckoutOptions {
109
+ interface CheckoutLineItem {
110
110
  offeringId: string;
111
111
  variantId?: string;
112
112
  scheduleId?: string;
113
+ quantity: number;
114
+ }
115
+ interface CreateCheckoutOptions {
116
+ offeringId?: string;
117
+ variantId?: string;
118
+ scheduleId?: string;
113
119
  quantity?: number;
120
+ /**
121
+ * Multi-line cart (v1: events only, all items must share offeringId + scheduleId).
122
+ * When provided, takes precedence over offeringId/variantId/quantity. Requires
123
+ * `sourceId` (Square Web Payments SDK nonce) — Square inline only in v1.
124
+ */
125
+ lineItems?: CheckoutLineItem[];
114
126
  customer?: CheckoutCustomer;
115
127
  successUrl?: string;
116
128
  cancelUrl?: string;
@@ -190,6 +202,27 @@ category, variant, showDate, showTime, showLocation, showCapacity, showPrice, sh
190
202
  declare function CheckoutForm({ offering, scheduleId, variantId, quantity: initialQuantity, mode, // 'checkout' | 'register'
191
203
  showQuantity, submitText, onSuccess, onError, className, formClassName, inputClassName, buttonClassName, }: CheckoutFormProps): react_jsx_runtime.JSX.Element;
192
204
 
205
+ interface EventCheckoutProps {
206
+ /** Event offering — must include `variants` (multi-tier) or have a base price (single-tier). */
207
+ event: CommerceOffering;
208
+ /** Specific schedule to book. Defaults to first upcoming schedule on the event. */
209
+ schedule?: CommerceSchedule;
210
+ /** Collect a phone number (defaults to true; tickets often need contact). */
211
+ collectPhone?: boolean;
212
+ /** Maximum quantity per individual variant row (default 10). */
213
+ maxPerVariant?: number;
214
+ /** Card label override (e.g. "Card details" vs "Payment"). */
215
+ cardLabel?: string;
216
+ /** Submit button text override. Falls back to "Buy {total}". */
217
+ submitText?: string;
218
+ /** Success callback after a successful charge. */
219
+ onSuccess?: (result: CheckoutResult) => void;
220
+ /** Error callback. */
221
+ onError?: (error: string) => void;
222
+ className?: string;
223
+ }
224
+ declare function EventCheckout({ event, schedule: propSchedule, collectPhone, maxPerVariant, cardLabel, submitText, onSuccess, onError, className, }: EventCheckoutProps): react_jsx_runtime.JSX.Element;
225
+
193
226
  declare function RegistrationForm({ event, scheduleId, title, submitText, successMessage, collectPhone, additionalFields, onSuccess, onError, className, formClassName, inputClassName, buttonClassName, }: RegistrationFormProps): react_jsx_runtime.JSX.Element;
194
227
 
195
228
  interface CalendarViewProps {
@@ -299,4 +332,4 @@ interface UseEventModalReturn {
299
332
  }
300
333
  declare function useEventModal(): UseEventModalReturn;
301
334
 
302
- export { useEventModal as A, formatPrice as B, type CreateCheckoutOptions as C, type DiscountValidationResult as D, EventTile as E, formatDate as F, formatDateTime as G, formatTime as H, formatDateRange as I, getRelativeTimeUntil as J, getSpotsRemaining as K, isEventSoldOut as L, getOfferingUrl as M, OfferingCard as O, type ProcessorConfig as P, RegistrationForm as R, type ShippingAddress as S, UpcomingEvents as U, type ValidateAddressResult as V, fetchOffering as a, fetchLatestOffering as b, fetchProducts as c, fetchProductsPublic as d, fetchProductBySlug as e, fetchOfferings as f, fetchCategories as g, fetchServices as h, fetchUpcomingEvents as i, fetchNextEvent as j, fetchShippingRates as k, createCheckoutSession as l, createPaymentIntent as m, fetchActiveProcessor as n, fetchProcessorConfig as o, validateDiscountCode as p, type ShippingRate as q, registerForEvent as r, OfferingList as s, ProductEmbed as t, EventEmbed as u, validateAddress as v, CheckoutForm as w, CalendarView as x, EventModal as y, EventCalendar as z };
335
+ export { CalendarView as A, EventModal as B, type CreateCheckoutOptions as C, type DiscountValidationResult as D, EventTile as E, EventCalendar as F, useEventModal as G, formatPrice as H, formatDate as I, formatDateTime as J, formatTime as K, formatDateRange as L, getRelativeTimeUntil as M, getSpotsRemaining as N, OfferingCard as O, type ProcessorConfig as P, isEventSoldOut as Q, RegistrationForm as R, type ShippingAddress as S, getOfferingUrl as T, UpcomingEvents as U, type ValidateAddressResult as V, fetchOffering as a, fetchLatestOffering as b, fetchProducts as c, fetchProductsPublic as d, fetchProductBySlug as e, fetchOfferings as f, fetchCategories as g, fetchServices as h, fetchUpcomingEvents as i, fetchNextEvent as j, fetchShippingRates as k, createCheckoutSession as l, createPaymentIntent as m, fetchActiveProcessor as n, fetchProcessorConfig as o, validateDiscountCode as p, type ShippingRate as q, registerForEvent as r, type CheckoutLineItem as s, OfferingList as t, ProductEmbed as u, validateAddress as v, EventEmbed as w, CheckoutForm as x, EventCheckout as y, type EventCheckoutProps as z };
@@ -1,4 +1,4 @@
1
- import { F as FetchOfferingsOptions, C as CommerceOffering, q as FetchEventsOptions, h as CheckoutCustomer, b as CheckoutResult, i as OfferingCardProps, j as OfferingListProps, E as EventTileProps, U as UpcomingEventsProps, l as ProductEmbedProps, m as EventEmbedProps, n as CheckoutFormProps, R as RegistrationFormProps, c as CommerceSchedule } from './types-B0xmgGw-.js';
1
+ import { F as FetchOfferingsOptions, C as CommerceOffering, q as FetchEventsOptions, h as CheckoutCustomer, b as CheckoutResult, i as OfferingCardProps, j as OfferingListProps, E as EventTileProps, U as UpcomingEventsProps, l as ProductEmbedProps, m as EventEmbedProps, n as CheckoutFormProps, c as CommerceSchedule, R as RegistrationFormProps } from './types-B0xmgGw-.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
 
4
4
  /**
@@ -106,11 +106,23 @@ declare function validateAddress(address: Omit<ShippingAddress, 'name' | 'phone'
106
106
  */
107
107
  declare function fetchActiveProcessor(): Promise<'stripe' | 'square' | null>;
108
108
  declare function registerForEvent(eventId: string, scheduleId: string | undefined, customer: CheckoutCustomer): Promise<CheckoutResult>;
109
- interface CreateCheckoutOptions {
109
+ interface CheckoutLineItem {
110
110
  offeringId: string;
111
111
  variantId?: string;
112
112
  scheduleId?: string;
113
+ quantity: number;
114
+ }
115
+ interface CreateCheckoutOptions {
116
+ offeringId?: string;
117
+ variantId?: string;
118
+ scheduleId?: string;
113
119
  quantity?: number;
120
+ /**
121
+ * Multi-line cart (v1: events only, all items must share offeringId + scheduleId).
122
+ * When provided, takes precedence over offeringId/variantId/quantity. Requires
123
+ * `sourceId` (Square Web Payments SDK nonce) — Square inline only in v1.
124
+ */
125
+ lineItems?: CheckoutLineItem[];
114
126
  customer?: CheckoutCustomer;
115
127
  successUrl?: string;
116
128
  cancelUrl?: string;
@@ -190,6 +202,27 @@ category, variant, showDate, showTime, showLocation, showCapacity, showPrice, sh
190
202
  declare function CheckoutForm({ offering, scheduleId, variantId, quantity: initialQuantity, mode, // 'checkout' | 'register'
191
203
  showQuantity, submitText, onSuccess, onError, className, formClassName, inputClassName, buttonClassName, }: CheckoutFormProps): react_jsx_runtime.JSX.Element;
192
204
 
205
+ interface EventCheckoutProps {
206
+ /** Event offering — must include `variants` (multi-tier) or have a base price (single-tier). */
207
+ event: CommerceOffering;
208
+ /** Specific schedule to book. Defaults to first upcoming schedule on the event. */
209
+ schedule?: CommerceSchedule;
210
+ /** Collect a phone number (defaults to true; tickets often need contact). */
211
+ collectPhone?: boolean;
212
+ /** Maximum quantity per individual variant row (default 10). */
213
+ maxPerVariant?: number;
214
+ /** Card label override (e.g. "Card details" vs "Payment"). */
215
+ cardLabel?: string;
216
+ /** Submit button text override. Falls back to "Buy {total}". */
217
+ submitText?: string;
218
+ /** Success callback after a successful charge. */
219
+ onSuccess?: (result: CheckoutResult) => void;
220
+ /** Error callback. */
221
+ onError?: (error: string) => void;
222
+ className?: string;
223
+ }
224
+ declare function EventCheckout({ event, schedule: propSchedule, collectPhone, maxPerVariant, cardLabel, submitText, onSuccess, onError, className, }: EventCheckoutProps): react_jsx_runtime.JSX.Element;
225
+
193
226
  declare function RegistrationForm({ event, scheduleId, title, submitText, successMessage, collectPhone, additionalFields, onSuccess, onError, className, formClassName, inputClassName, buttonClassName, }: RegistrationFormProps): react_jsx_runtime.JSX.Element;
194
227
 
195
228
  interface CalendarViewProps {
@@ -299,4 +332,4 @@ interface UseEventModalReturn {
299
332
  }
300
333
  declare function useEventModal(): UseEventModalReturn;
301
334
 
302
- export { useEventModal as A, formatPrice as B, type CreateCheckoutOptions as C, type DiscountValidationResult as D, EventTile as E, formatDate as F, formatDateTime as G, formatTime as H, formatDateRange as I, getRelativeTimeUntil as J, getSpotsRemaining as K, isEventSoldOut as L, getOfferingUrl as M, OfferingCard as O, type ProcessorConfig as P, RegistrationForm as R, type ShippingAddress as S, UpcomingEvents as U, type ValidateAddressResult as V, fetchOffering as a, fetchLatestOffering as b, fetchProducts as c, fetchProductsPublic as d, fetchProductBySlug as e, fetchOfferings as f, fetchCategories as g, fetchServices as h, fetchUpcomingEvents as i, fetchNextEvent as j, fetchShippingRates as k, createCheckoutSession as l, createPaymentIntent as m, fetchActiveProcessor as n, fetchProcessorConfig as o, validateDiscountCode as p, type ShippingRate as q, registerForEvent as r, OfferingList as s, ProductEmbed as t, EventEmbed as u, validateAddress as v, CheckoutForm as w, CalendarView as x, EventModal as y, EventCalendar as z };
335
+ export { CalendarView as A, EventModal as B, type CreateCheckoutOptions as C, type DiscountValidationResult as D, EventTile as E, EventCalendar as F, useEventModal as G, formatPrice as H, formatDate as I, formatDateTime as J, formatTime as K, formatDateRange as L, getRelativeTimeUntil as M, getSpotsRemaining as N, OfferingCard as O, type ProcessorConfig as P, isEventSoldOut as Q, RegistrationForm as R, type ShippingAddress as S, getOfferingUrl as T, UpcomingEvents as U, type ValidateAddressResult as V, fetchOffering as a, fetchLatestOffering as b, fetchProducts as c, fetchProductsPublic as d, fetchProductBySlug as e, fetchOfferings as f, fetchCategories as g, fetchServices as h, fetchUpcomingEvents as i, fetchNextEvent as j, fetchShippingRates as k, createCheckoutSession as l, createPaymentIntent as m, fetchActiveProcessor as n, fetchProcessorConfig as o, validateDiscountCode as p, type ShippingRate as q, registerForEvent as r, type CheckoutLineItem as s, OfferingList as t, ProductEmbed as u, validateAddress as v, EventEmbed as w, CheckoutForm as x, EventCheckout as y, type EventCheckoutProps as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonordev/site-kit",
3
- "version": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "description": "Complete client-side integration kit for Sonor - SEO, Analytics, Engage, Forms, Blog",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",