{"name":"@atlaskit/tokens","version":"0.7.1","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@0.7.1","homepage":"https://bitbucket.org/atlassian/atlassian-frontend#readme","dist":{"shasum":"e483eaa4456102114cc8f707df8d5960f9bb023a","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-0.7.1.tgz","fileCount":205,"integrity":"sha512-QJEH/bR1+1OssE3gZu7QeQ9XpJEWorLY9Fi0+AiCWozPLoGIAe2vsHN74BL36gAShNZipHhyh/Uz54p/Nt502w==","signatures":[{"sig":"MEUCIQD1E2TLzccoiuuQAy1Gg1azQudeARabysCAFjHcYmHiKwIgcCmOvL5bo4/L1JIEtApEZmpfr3tvPCVtxUtTRtrNNT4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1859092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ0bdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJhxAAlSGjJQYaYcrWZ9MaXTuwF8nguQGcB8JxfxSgnotzN/ZTfL7X\r\nj4ObuS1yglyjx8Cnr4FGHrs3wRkttcxpntw0sb+g+u2cXotVZNcbODe2kaUn\r\nWcFBieSVq08zNf/wsym/I2k7KQdYsR1igNuz4MyCyPLa14OTQu2DUvMAtuul\r\nf40GuuPVjw/3pY9zGL9+XAH+Vd+NSxb+wNRjrnqSgG9oUT/bpOEWUipmOEn1\r\nfrr3btGuA9Um+l5Jb6K7wV8UGKq9atysgiM/uLVo+2aRF/wO7Y7A5LrRuWrB\r\nHK/fgIC0AhUamLFnjdW/UvGkqUtPid6m0gOmSaQxUzXJEXJDXEINIt7oiWEf\r\njIZhmUqPK5pDJjwHoyJSvWe9RKl9Kqzh16bi9QEA1psYrtOQNAZfrbIDaMpe\r\nxZI6l++iFTHw/yYIuOf1nqnHUnbmNyc0sSabwP6+dXEUuxakqOBAfq00QGzJ\r\n5ub8qYpI4p6f+gSiu4943a8FumegkePWg20pSLUXWCTSts7rCCUTSu4PGdI0\r\nO8S8dntzKJFqLksx+Ma75qiwglBs2Dgngp+uGp6V3o4p4l03yCUeE9Gv/HxI\r\nYWw0F2g/PND2/yrD2Q6fRdZrPIdqOHagRPYxke6SOmtnJ0D4m2xD+J8K6/JC\r\nSQoc6BbtX64VPLBJR91u37kxtMOvbeKH/yg=\r\n=EY7o\r\n-----END PGP SIGNATURE-----\r\n","size":128020,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-0.7.1.tgz"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","scripts":{"ak-postbuild":"yarn codegen-tokens && yarn check-clean-git && yarn build-chrome-extension","codegen-tokens":"ts-node --project ../../../tsconfig.node.json ./scripts/style-dictionary/build","check-clean-git":"git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are is out of date, run yarn build tokens' && false)","build-chrome-extension":"yarn --cwd tokens-browser-extension build-chrome-extension"},"_npmUser":{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"},"prettier":"@atlassian/atlassian-frontend-prettier-config-1.0.1","atlassian":{"team":"Design System Team","releaseModel":"scheduled"},"techstack":{"@repo/internal":{"styling":"emotion","deprecation":"no-deprecated-imports","design-system":"v1","ui-components":"lite-mode"},"@atlassian/frontend":{"import-structure":"atlassian-conventions","circular-dependencies":"file-and-folder-level"}},"af:exports":{".":"./src/index.tsx","./css":"./css","./token-names":"./src/entry-points/token-names.tsx","./babel-plugin":"./src/entry-points/babel-plugin.tsx","./rename-mapping":"./src/entry-points/rename-mapping.tsx"},"repository":{"url":"git+https://bitbucket.org/atlassian/atlassian-frontend.git","type":"git"},"_npmVersion":"6.14.15","description":"Tokens are a single source of truth to name and store Atlassian design decisions.","directories":{},"sideEffects":false,"_nodeVersion":"12.22.7","atlaskit:src":"src/index.tsx","dependencies":{"@babel/types":"^7.15.0","@babel/runtime":"^7.0.0","@babel/traverse":"^7.15.0","@atlaskit/ds-lib":"^1.4.0"},"module:es2019":"dist/es2019/index.js","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.8.0","lodash":"^4.17.21","ts-node":"^10.0.0","prettier":"^2.1.1","typescript":"3.9.6","@babel/core":"^7.12.3","@emotion/core":"^10.0.9","@types/chrome":"^0.0.171","@atlaskit/code":"^14.3.0","@atlaskit/icon":"^21.10.2","@atlaskit/tabs":"^13.2.4","@atlaskit/theme":"^12.1.2","@atlaskit/toggle":"^12.4.2","style-dictionary":"^3.0.0","@atlaskit/lozenge":"^11.0.0","@atlaskit/textfield":"^5.1.5","copy-webpack-plugin":"^6.4.0","@atlaskit/section-message":"^6.1.7","@atlassian/atlassian-frontend-prettier-config-1.0.1":"npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.7.1_1646741213097_0.6947425075105489","host":"s3://npm-registry-packages"},"readme":"# Tokens\n\nTokens are a single source of truth to name and store Atlassian design decisions.\n\n## Installation\n\n```sh\nyarn add @atlaskit/tokens\n```\n\n## Usage\n\n[View documentation](https://atlassian.design/components/tokens).\n\n# BabelPlugin\n\nA babel plugin to optimise performance and support fallbacks for Design System tokens.\n\nIt replaces any calls to the `@atlaskit/tokens` token() function with the CSS value the function\nwould return (i.e. var(--token-name) or variations with fallbacks).\n\nIf there’s no fallback, the plugin (optionally) finds the token’s value from the default Atlassian\ntheme, and sets it as the fallback.\n\nIf there is a fallback defined in code, it’s inserted into the style (expressions are inserted using\ntemplate strings).\n\n## Usage\n\nAdd the plugin to your babel configuration:\n\n```\n{\n  \"plugins\": [\n    [\"@atlaskit/tokens/babel-plugin\", { \"shouldUseAutoFallback\": true }]\n  ]\n}\n```\n\n### Options\n\nCurrently the plugin supports one option, `shouldUseAutoFallback`. When not disabled, the plugin\nwill fetch the token's value in the default Atlassian theme (currently `atlassian-light`) and use it\nas the fallback value.\n\nThis is useful for cases where tokens are in use, but token definitions aren't guaranteed to be\npresent in the top-level page CSS.\n","publish_time":1646741213251,"maintainers":[{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"}],"_cnpm_publish_time":1646741213251,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}