airport-one-widgets 0.2.100 → 0.2.102

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 CHANGED
@@ -82,16 +82,18 @@ the subscribing airport.
82
82
  **Car** links FlyMyAirport's car rental page for the airport in a new tab, as the earlier
83
83
  widget did.
84
84
 
85
- | Attribute | Default | Description |
86
- | ----------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
87
- | `skin` | `site` when `theme="dark"`, otherwise `light` | `site` (flymyairport.com dark glass), `light` (white card), `dark`, `brand` (tinted by `primary-color`), `none` (no card; the host supplies contrast) |
88
- | `labels` | `inside` | `outside` renders a visible label above each field for airports that need them |
89
- | `market-name` | `{City} ({IATA})` | The airport's display name in the header (AIR-1585) |
90
- | `primary-color` | `#0745A2` | Calendar route bar, destination tiles |
91
- | `secondary-color` | `#FC6322` | One-stop dot, nonstop dots and badge, Search once complete, focus ring |
92
- | `hide-branding` | `false` | Hides the FlyMyAirport wordmark and Powered by KAYAK |
93
- | `hide-fma-logo` | `false` | Hides only the FlyMyAirport wordmark; Powered by KAYAK stays. In the portal only Airport One administrators can set it |
94
- | `hide-car-button` | `false` | Hides the Flights / Car links |
85
+ | Attribute | Default | Description |
86
+ | -------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
87
+ | `skin` | `site` when `theme="dark"`, otherwise `light` | `site` (flymyairport.com dark glass), `light` (white card), `dark`, `brand` (tinted by `primary-color`), `none` (no card; the host supplies contrast) |
88
+ | `labels` | `inside` | `outside` renders a visible label above each field for airports that need them |
89
+ | `market-name` | `{City} ({IATA})` | The airport's display name in the header (AIR-1585) |
90
+ | `primary-color` | `#0745A2` | Calendar route bar, destination tiles |
91
+ | `secondary-color` | `#FC6322` | One-stop dot, nonstop dots and badge, Search once complete, focus ring |
92
+ | `hide-branding` | `false` | Hides the FlyMyAirport wordmark and Powered by KAYAK |
93
+ | `hide-fma-logo` | `false` | Hides only the FlyMyAirport wordmark; Powered by KAYAK stays. In the portal only Airport One administrators can set it |
94
+ | `hide-car-button` | `false` | Hides the Flights / Car links |
95
+ | `show-nonstops` | `true` | `false` leaves the airport's nonstops out of the destination dropdown |
96
+ | `destination-groups` | none | Curated groups listed under the nonstops before the traveler types, as the JSON the portal saves: `[{"title":"Beach getaways","airports":[{"code":"CUN","name":"Cancún"}]}]`. A scheduled airport takes the schedule's city name, any other its `name`. With `autocomplete-type="schedule_data"` or `airlines` set, only scheduled airports are listed |
95
97
 
96
98
  Styling hooks: the `airfare-search-card` and `airfare-search-button` parts, and an
97
99
  `--afs-font-family` custom property (the card otherwise inherits the host page's font).