@atlaskit/tokens
Version:
Design tokens are the single source of truth to name and store design decisions.
89 lines (87 loc) • 2.36 kB
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::a02b9bfe4cd29c77e4376a6f77ab8e26>>
* @codegenCommand yarn build tokens
*/
var replacementMapper = [{
"path": "motion.easing.spring",
"state": "experimental"
}, {
"path": "space.gap.large",
"state": "experimental",
"replacement": "space.150"
}, {
"path": "space.gap.medium",
"state": "experimental",
"replacement": "space.100"
}, {
"path": "space.gap.small",
"state": "experimental",
"replacement": "space.075"
}, {
"path": "space.gap.xlarge",
"state": "experimental",
"replacement": "space.200"
}, {
"path": "space.gap.xsmall",
"state": "experimental",
"replacement": "space.050"
}, {
"path": "space.gap.xxlarge",
"state": "experimental",
"replacement": "space.300"
}, {
"path": "space.gap.xxsmall",
"state": "experimental",
"replacement": "space.025"
}, {
"path": "space.inset.3xlarge",
"state": "experimental",
"replacement": "space.600"
}, {
"path": "space.inset.large",
"state": "experimental",
"replacement": "space.250"
}, {
"path": "space.inset.medium",
"state": "experimental",
"replacement": "space.200"
}, {
"path": "space.inset.small",
"state": "experimental",
"replacement": "space.150"
}, {
"path": "space.inset.xlarge",
"state": "experimental",
"replacement": "space.300"
}, {
"path": "space.inset.xsmall",
"state": "experimental",
"replacement": "space.100"
}, {
"path": "space.inset.xxlarge",
"state": "experimental",
"replacement": "space.400"
}, {
"path": "space.inset.xxsmall",
"state": "experimental",
"replacement": "space.050"
}];
var _default = exports.default = replacementMapper;