AlaskaAirlines / AuroDesignTokens

Abstract UI atomic values to support the Auro Design System.
https://auro.alaskaair.com/getting-started/developers/design-tokens
Apache License 2.0
19 stars 7 forks source link

Change PUBLIC value from TRUE to FALSE #122

Closed blackfalcon closed 1 year ago

blackfalcon commented 1 year ago

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

Currently, with all the Auro Design Tokens there is a public attribute. See the code example below.

https://github.com/AlaskaAirlines/AuroDesignTokens/blob/c4017db702663042de794a52d5f4078dadb30559/src/color/alert.json#L5-L14

This setting will allow the token to be output in the various formats described in the config.json file.

Describe the solution you'd like

Specifically for the deprecated tokens, for the 4.0 release, we will change public: true to public: false.

This will allow the token to be retained in the repo, and be listed in the deprecated tokens file./dist/JSObject--deprecated.js but not allow the tokens to be exported to the other resources.

Describe alternatives you've considered

Deleting the tokens outright, but will also negate the deprecated tokens list and make it hard for any consumer to know what token to change to.

Additional context

This issue will be considered complete once all the deprecated tokens' public status has been updated.

blackfalcon commented 1 year ago

Using this BREAKING CHANGE, we should also update the package namespace to @aurodesignsystem.

blackfalcon commented 1 year ago

Tokens for this repo have been updated to support the new namespace.