@forgebuild/hotal-ui 0.23.13 → 0.23.15
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/hotal-ui.js +6399 -6337
- package/dist/index.d.ts +25 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -263,14 +263,37 @@ export interface EventContactFormElement extends HTMLElement {
|
|
|
263
263
|
* matching this component's original wedding/event-venue behavior. Set
|
|
264
264
|
* false for venues that also take undated general enquiries (e.g. "do you
|
|
265
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.
|
|
266
|
+
* given, but payload.date is null when none is picked. Must be set as a
|
|
267
|
+
* JS property to get false -- Boolean-typed custom-element attributes are
|
|
268
|
+
* presence-based, so `require-date="false"` as a plain HTML attribute is
|
|
269
|
+
* still truthy. */
|
|
267
270
|
requireDate?: boolean;
|
|
268
271
|
/** Whether the Event Format (Seated Dinner / Cocktail Reception) toggle is
|
|
269
272
|
* shown. Default true. Set false for venues this distinction doesn't apply
|
|
270
273
|
* to (e.g. a barbershop's group booking) -- payload.format is then always
|
|
271
274
|
* ''. The two format values themselves are not configurable: they're a
|
|
272
|
-
* fixed pair, not a general-purpose field.
|
|
275
|
+
* fixed pair, not a general-purpose field. Must be set as a JS property to
|
|
276
|
+
* get false, same as requireDate above. */
|
|
273
277
|
showFormat?: boolean;
|
|
278
|
+
/** Whether the Event Type / Occasion field is shown at all. Default true.
|
|
279
|
+
* Unlike showFormat, there is no way to make this field optional-but-visible
|
|
280
|
+
* -- it's always been unvalidated (never blocked submit), so the only
|
|
281
|
+
* meaningful states are "shown" and "not shown". When false, payload.eventType
|
|
282
|
+
* is always ''. Must be set as a JS property to get false, same as above. */
|
|
283
|
+
showEventType?: boolean;
|
|
284
|
+
/** Whether the Guests stepper (and, if shown, the Event Format toggle nested
|
|
285
|
+
* inside it) is shown at all. Default true. When false, payload.guests is
|
|
286
|
+
* always minGuests (the stepper never gets a chance to change it) and
|
|
287
|
+
* showFormat has no effect, since its toggle lives inside this block. Must
|
|
288
|
+
* be set as a JS property to get false, same as above. */
|
|
289
|
+
showGuests?: boolean;
|
|
290
|
+
/** Whether the date calendar is shown at all. Default true. Distinct from
|
|
291
|
+
* requireDate, which only controls whether a visible calendar is mandatory
|
|
292
|
+
* -- this removes the field entirely. Forces requireDate's effect off
|
|
293
|
+
* regardless of its own value (a hidden field can't be required), so
|
|
294
|
+
* payload.date is always null when this is false. Must be set as a JS
|
|
295
|
+
* property to get false, same as above. */
|
|
296
|
+
showDate?: boolean;
|
|
274
297
|
submitNote?: string;
|
|
275
298
|
/** BCP 47 locale (e.g. "fr-FR") used to format month/weekday names in the
|
|
276
299
|
* calendar; defaults to the browser's own locale. */
|