airport-one-widgets 0.4.7 → 0.4.8
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 +11 -11
- package/dist/airport-one-widgets.iife.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -321,17 +321,17 @@ It lays out by the width of its container, not the viewport (container queries,
|
|
|
321
321
|
|
|
322
322
|
Attributes (each overrides the saved instance):
|
|
323
323
|
|
|
324
|
-
| Attribute | Default | Purpose
|
|
325
|
-
| ----------------------------------------------------------------------------------- | ---------------------- |
|
|
326
|
-
| `view` | `cards` | `cards`, `list`, `tiles`, or `carousel`. Travelers never change it
|
|
327
|
-
| `shows` | `featured` | `featured`, `nonstop`, `one-stop`, or `all` (Featured / Nonstop / 1-stop chips for the traveler)
|
|
328
|
-
| `featured-destinations` | promoted IATAs | Comma-separated IATAs in display order. Unserved codes are dropped; none served falls back to the airport's promoted IATAs (Settings > Promoted IATAs), then to its nonstops
|
|
329
|
-
| `rows` | `2` | `1` to `6` rows before "Show more", at whatever column count the width gives (so a page is whole rows). The carousel shows everything
|
|
330
|
-
| `show-eyebrow` / `show-title` / `show-subheading` / `show-see-all` / `show-filters` | on | `false` hides that part. All of the first four off leaves a bare content block
|
|
331
|
-
| `eyebrow` / `heading` / `subheading` | per filter | Replace the eyebrow, title, and subheading for every filter
|
|
332
|
-
| `see-all-label` | `See all destinations` | Replaces the See all link text
|
|
333
|
-
| `primary-color` / `cta-color` / `cta-hover-color` | airport brand | Links, day pills and the tile price badge / the "See current price" button and eyebrow / button hover (a darker CTA if unset)
|
|
334
|
-
| `border-radius` | 16 | Card corner radius in px (0–32). Text uses the host page's font
|
|
324
|
+
| Attribute | Default | Purpose |
|
|
325
|
+
| ----------------------------------------------------------------------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
326
|
+
| `view` | `cards` | `cards`, `list`, `tiles`, or `carousel`. Travelers never change it |
|
|
327
|
+
| `shows` | `featured` | `featured`, `nonstop`, `one-stop`, or `all` (Featured / Nonstop / 1-stop chips for the traveler) |
|
|
328
|
+
| `featured-destinations` | promoted IATAs | Comma-separated IATAs in display order. Unserved codes are dropped; none served falls back to the airport's promoted IATAs (Settings > Promoted IATAs), then to its nonstops |
|
|
329
|
+
| `rows` | `2` | `1` to `6` rows before "Show more", at whatever column count the width gives (so a page is whole rows). The carousel shows everything |
|
|
330
|
+
| `show-eyebrow` / `show-title` / `show-subheading` / `show-see-all` / `show-filters` | on | `false` hides that part. All of the first four off leaves a bare content block |
|
|
331
|
+
| `eyebrow` / `heading` / `subheading` | per filter | Replace the eyebrow, title, and subheading for every filter |
|
|
332
|
+
| `see-all-label` | `See all destinations` | Replaces the See all link text |
|
|
333
|
+
| `primary-color` / `cta-color` / `cta-hover-color` | airport brand | Links, day pills and the tile price badge / the "See current price" button and eyebrow / button hover (a darker CTA if unset) |
|
|
334
|
+
| `border-radius` | 16 | Card corner radius in px (0–32). Text uses the host page's font |
|
|
335
335
|
|
|
336
336
|
The card, tile, or row body opens the FlyMyAirport destination page; the button opens KAYAK through the redirect worker (`a1_wid` / `a1_wtype`) on the fare's dates, or, with no fare, the first day at least 14 days out that the route flies, for four nights. The footnote is the AIR-1034 KAYAK wording with pricing on and "Powered by FlyMyAirport™" without, since nothing then comes from KAYAK. With pricing off, cards also show no trip dates. Segment events (under `consent-analytics`): `destination_catalog_click`, `destination_catalog_filter`, `destination_catalog_sort`, `destination_catalog_more`, plus the shared `Widget V2 Mount` / `Widget V2 Public Config`.
|
|
337
337
|
|