@forgebuild/hotal-ui 0.23.11 → 0.23.13

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.ts CHANGED
@@ -151,6 +151,10 @@ export interface MenuSectionElement extends HTMLElement {
151
151
  variant?: 'default' | 'panel';
152
152
  openInNewTabLabel?: string;
153
153
  closeAriaLabel?: string;
154
+ groupFilter?: boolean;
155
+ countryFilter?: boolean;
156
+ groupFilterAllLabel?: string;
157
+ countryFilterAllLabel?: string;
154
158
  }
155
159
 
156
160
  export interface EventInquiry {
@@ -209,7 +213,8 @@ export interface EventInquiryPayload {
209
213
  name: string;
210
214
  email: string;
211
215
  phone: string;
212
- date: string;
216
+ /** Null when requireDate is false and no date was picked. */
217
+ date: string | null;
213
218
  guests: number;
214
219
  eventType: string;
215
220
  format: string;
@@ -254,6 +259,18 @@ export interface EventContactFormElement extends HTMLElement {
254
259
  description?: string;
255
260
  eventTypes?: string[];
256
261
  minGuests?: number;
262
+ /** Whether a date must be picked before the form can submit. Default true,
263
+ * matching this component's original wedding/event-venue behavior. Set
264
+ * false for venues that also take undated general enquiries (e.g. "do you
265
+ * do X?") -- the calendar stays visible so a preferred date can still be
266
+ * given, but payload.date is null when none is picked. */
267
+ requireDate?: boolean;
268
+ /** Whether the Event Format (Seated Dinner / Cocktail Reception) toggle is
269
+ * shown. Default true. Set false for venues this distinction doesn't apply
270
+ * to (e.g. a barbershop's group booking) -- payload.format is then always
271
+ * ''. The two format values themselves are not configurable: they're a
272
+ * fixed pair, not a general-purpose field. */
273
+ showFormat?: boolean;
257
274
  submitNote?: string;
258
275
  /** BCP 47 locale (e.g. "fr-FR") used to format month/weekday names in the
259
276
  * calendar; defaults to the browser's own locale. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgebuild/hotal-ui",
3
- "version": "0.23.11",
3
+ "version": "0.23.13",
4
4
  "description": "Reusable Svelte UI components for booking and reservation experiences.",
5
5
  "type": "module",
6
6
  "license": "MIT",