AlaskaAirlines / auro-flightline

A custom element that represents the intermediate details between a departure and arrival station on a flight.
https://auro.alaskaair.com/components/auro/flightline
Apache License 2.0
0 stars 2 forks source link

Update boolean to string attributes #35

Open blackfalcon opened 3 years ago

blackfalcon commented 3 years ago

Is your feature request related to a problem? Please describe.

The current implementation of boolean values for stopover versus layover cause confusion. Because they are boolean attributes, they can be used together creating opportunities for side effects.

Describe the solution you'd like

Update the element to use the string attribute of variant to determine the version of the indicator. This can also backward compatible since there is an assumed default version.

blackfalcon commented 1 year ago

There are potential redesigns for this element in the future. At such time we would choose to update the element's API.