@atlaskit/tokens
Version:
Design tokens are the single source of truth to name and store design decisions.
29 lines (27 loc) • 978 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
*
* This file is intended to help automate renaming of tokens.
*
* 1. Mark the old token's 'state' as deprecated
* 2. Add a 'replacement' attribute to the token with the value 'my.new.token'
* 3. Create a new token matching the token above: 'my.new.token'
* 4. Run 'yarn build tokens' to have you changes reflected in this map
* 5. ESLint and other tools will now use this to automate replacing tokens
*
* These changes will then be picked up by our tooling which will attempt to
* migrate as many of these renames as possible.
*
* @codegen <<SignedSource::047b57f2d22a7675431a9f6acb147bf6>>
* @codegenCommand yarn build tokens
*/
var replacementMapper = [{
"path": "motion.easing.spring",
"state": "experimental"
}];
var _default = exports.default = replacementMapper;