AlaskaAirlines / AuroDesignTokens

Abstract UI atomic values to support the Auro Design System.

Home Page:https://auro.alaskaair.com/getting-started/developers/design-tokens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change PUBLIC value from TRUE to FALSE

blackfalcon opened this issue · comments

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.

"onLight": {
"value": "{color.brand.atlas.400.value}",
"public": true,
"onLight": true,
"usage": "Notification color on light backgrounds",
"wcag": "AAA",
"deprecated": true,
"comment": "Deprecated token",
"reference": "color-alert-notification-default",
"version": "3.15.0"

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.

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

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