airport-one-widgets 0.4.0 → 0.4.1

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,18 +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 |
95
- | `show-nonstops` | `false` | `true` lists the airport's nonstops in the destination dropdown before the traveler types |
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 |
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` | `false` | `true` lists the airport's nonstops in the destination dropdown before the traveler types |
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`. Every airport in a group is listed, including one the schedule feed lacks; only with `airlines` set are unscheduled airports left out, since that search runs on one carrier |
97
97
 
98
98
  Styling hooks: the `airfare-search-card` and `airfare-search-button` parts, and an
99
99
  `--afs-font-family` custom property (the card otherwise inherits the host page's font).