@forgebuild/hotal-ui 0.23.13 → 0.23.14
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 +9 -3
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/hotal-ui.js
CHANGED
|
@@ -13637,6 +13637,14 @@ var rg, ig, ag, og, sg, cg, lg, ug, dg, fg, pg, mg, hg, gg, _g, vg, yg = o((() =
|
|
|
13637
13637
|
attribute: "min-guests",
|
|
13638
13638
|
type: "Number"
|
|
13639
13639
|
},
|
|
13640
|
+
requireDate: {
|
|
13641
|
+
attribute: "require-date",
|
|
13642
|
+
type: "Boolean"
|
|
13643
|
+
},
|
|
13644
|
+
showFormat: {
|
|
13645
|
+
attribute: "show-format",
|
|
13646
|
+
type: "Boolean"
|
|
13647
|
+
},
|
|
13640
13648
|
submitNote: {
|
|
13641
13649
|
attribute: "submit-note",
|
|
13642
13650
|
type: "String"
|
|
@@ -13646,9 +13654,7 @@ var rg, ig, ag, og, sg, cg, lg, ug, dg, fg, pg, mg, hg, gg, _g, vg, yg = o((() =
|
|
|
13646
13654
|
type: "String"
|
|
13647
13655
|
},
|
|
13648
13656
|
strings: { type: "Object" },
|
|
13649
|
-
submitInquiry: { type: "Object" }
|
|
13650
|
-
requireDate: {},
|
|
13651
|
-
showFormat: {}
|
|
13657
|
+
submitInquiry: { type: "Object" }
|
|
13652
13658
|
}, [], [], { mode: "open" }));
|
|
13653
13659
|
})), bg = /* @__PURE__ */ c({ default: () => xg });
|
|
13654
13660
|
function xg(e, t) {
|
package/dist/index.d.ts
CHANGED
|
@@ -263,13 +263,17 @@ 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;
|
|
274
278
|
submitNote?: string;
|
|
275
279
|
/** BCP 47 locale (e.g. "fr-FR") used to format month/weekday names in the
|