{"name":"@atlaskit/tokens","version":"0.10.4","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@0.10.4","homepage":"https://atlassian.design/components/tokens","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-mirror/issues"},"dist":{"shasum":"8e1c125860fa0a10b0cfdbbc189b33267e333b14","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-0.10.4.tgz","fileCount":247,"integrity":"sha512-mO3bxIMpwsOmKrSqnspTRZ582imzb1vdkmXnyaGaxnpqwTe37jLAaD11MF0LUDRvWo/1D3y47TBxBMnQ/JMhSw==","signatures":[{"sig":"MEUCICLf4imV9To8VaUhx9lKULLM/MSMMRB8ybO2tlPt/iQ+AiEA4gFdbsXLaWjtKf1dF7msZgc6TDBdKLCHEQ77gFTCq3k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2207295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilqHwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZqhAAms1njOts5E3jNTlNyl//TjbJIUFbpS1/k98j4qzSFFjLET7o\r\nLUtAj3Ocd/MMZwN23+DKZzvuxNSrPV49MGYuwnv3fON4mFb7ofPltORiyBAL\r\nj6DV92LiYyzmR5oMRDOWGA1WHt4d1Uyc2VubjNZjnLpZw6BY9e+2Whewj9DD\r\nEM+gjvQSPmWINKo/WIq3GbSXXUXYoNqAq8BQIlb6YQ/mz7xWseWG21hoX5BY\r\nUrCULv/j6ynxAxGWEWcgZQySCxDwbPrSdGY+V3PNdcBydRvjmze0cpK0cHY5\r\nEKXzYxVq/J747XDdswNjRLjZb94H3MLTfGpxd0WImS6ZqPpC5PET1IC/G9fQ\r\nnyBNiGRzXbxGpoXoB2At2dEOi0++bSJpVloxeCq++XOIcS+CggLEfdSlQQ8v\r\noGAP0Y81FNUudXnjRloTIoCSjYiUujDE1nfZxF8l8N0WUHN0xfhaZCs7Rj13\r\n40At06K93gOdSSo3zH5DFkACBunMgCvOi4SQM7M5xfpNIMj+p1jjTU2Ne0LT\r\n6n7rr942OwOUBJF1WzFzX8zwnnU7RepkKq7ECHkf88Qk3sEOr0hUNdr6FX54\r\nA17eAoNrUI3mkNjtA/6uba2Xc/d5KlOvdZgZxXx36EHRXzIApDWKtUQO0QBd\r\nj0IBDScGRCjzQMSJBCW1M3phK5+KAbCzHaY=\r\n=Dxjq\r\n-----END PGP SIGNATURE-----\r\n","size":146826,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-0.10.4.tgz"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"9d529703a5227e1a0b3a94b0e3b2d9b2aa8508d4","scripts":{"ak-postbuild":"cd ../../../ && yarn build @af/codegen && cd packages/design-system/tokens && yarn codegen-tokens && yarn check-clean-git","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 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","website":{"name":"Design tokens","draft":true,"category":"Libraries"},"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","./token-ids":"./src/entry-points/token-ids.tsx","./token-names":"./src/entry-points/token-names.tsx","./babel-plugin":"./src/entry-points/babel-plugin.tsx","./palettes-raw":"./src/entry-points/palettes-raw.tsx","./rename-mapping":"./src/entry-points/rename-mapping.tsx","./css/atlassian-dark.css":"./css/atlassian-dark.css","./css/atlassian-light.css":"./css/atlassian-light.css"},"repository":{"url":"git+https://bitbucket.org/atlassian/atlassian-frontend-mirror.git","type":"git"},"_npmVersion":"8.5.0","description":"Design tokens are the single source of truth to name and store design decisions.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"16.14.2","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":"4.2.4","@af/codegen":"*","@babel/core":"^7.12.3","@atlaskit/tag":"^11.3.1","@emotion/core":"^10.0.9","@types/chrome":"^0.0.171","@atlaskit/code":"^14.3.0","@atlaskit/docs":"^9.0.10","@atlaskit/icon":"^21.10.2","@atlaskit/tabs":"^13.2.4","@atlaskit/badge":"^15.0.11","@atlaskit/theme":"^12.1.2","@atlaskit/button":"^16.3.0","@atlaskit/toggle":"^12.4.2","style-dictionary":"^3.0.0","@atlaskit/heading":"^0.1.8","@atlaskit/lozenge":"^11.0.0","@atlaskit/tooltip":"^17.5.7","@atlaskit/textfield":"^5.1.5","copy-webpack-plugin":"^6.4.0","@atlaskit/focus-ring":"^1.0.0","@testing-library/dom":"^7.7.3","@atlaskit/empty-state":"^7.3.9","@atlaskit/modal-dialog":"^12.2.4","@testing-library/react":"^8.0.1","@atlaskit/dropdown-menu":"^11.2.0","@af/accessibility-testing":"*","@atlaskit/section-message":"^6.1.7","@testing-library/react-hooks":"^1.0.4","@atlassian/atlassian-frontend-prettier-config-1.0.1":"npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"},"peerDependencies":{"react":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.10.4_1654039023771_0.13158828764940744","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":1654039024026,"maintainers":[{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"}],"_cnpm_publish_time":1654039024026,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}