@forgebuild/sidon-booking-widget 1.2.1 → 1.3.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/README.md +2 -1
- package/dist/elements.d.ts +1 -0
- package/dist/sidon-booking-widget.js +540 -523
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -243,7 +243,8 @@ shows the booking view again, with a *Start a new booking* action.
|
|
|
243
243
|
| `maps-api-key` | | Google Maps JS API key. The map renders only when this is set. It never renders on step 3 or in booking-page mode. |
|
|
244
244
|
| `map-style` | `chart` | `chart` (buoy circles) or `coastal` (SVG pontoon overlays). |
|
|
245
245
|
| `map-height` / `map-width` / `map-gap` | `280px` / `100%` / `0px` | The map's size, and the gap below it. `map-width="100vw"` breaks the map out of the card. |
|
|
246
|
-
| `width` | `560px` | The element's max width, read once at mount. |
|
|
246
|
+
| `width` | `560px` | The element's max width, read once at mount. In `overlay` layout, the card's max width. |
|
|
247
|
+
| `layout` | `stacked` | `stacked` puts the map above the card. `overlay` floats the card over the map's left side, `map-gap` down from its top and `--sbw-card-inset` (CSS custom property, default `24px`) in from its left. Read once at mount. Below 768px it stacks. |
|
|
247
248
|
| `logo-mark` / `marina-name` | | The marina's logo pin on the map. |
|
|
248
249
|
| `otherMarinas` (JS property) | `[]` | Peer-marina pins; see [`otherMarinas`](#othermarinas-js-property). |
|
|
249
250
|
|
package/dist/elements.d.ts
CHANGED