{"name":"@atlaskit/tokens","version":"0.4.2","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@0.4.2","homepage":"https://bitbucket.org/atlassian/atlassian-frontend#readme","dist":{"shasum":"98aefab7be83370b729c78fbd42abc481c27be64","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-0.4.2.tgz","fileCount":189,"integrity":"sha512-6B11mCbRjHHvglhxLzefhyCmQUElxOn0+lCE8hcE/ima6Or+0WChgLvasxcKfMp3LYdSFyfNrkQ+t46mSWC+3g==","signatures":[{"sig":"MEUCIQC11Dno8kGun0oXs4C8CgqQIhn3n4W/ppKk8PtTC0NBrQIgYM5Ejpqly6gztjkd5WD3gJ4BIdpuT4Q6HV47BtIXun0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1126146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6NSoCRA9TVsSAnZWagAAwTsP/RAluWuTJ4A3oCigCyvk\n0fMxFN/1kp/+qBiR2ADWzB0ZVGk6QzubEPgn5rFYxGHiygRFmXGLwKuVUhtG\ng3k+W8hhjPpQf3f/7EcotPeKCkB3bvftHKj8vwIGPni1/VfP3y3q+NINmA3G\nYWG3QyB9WNowrPtBS6ZDCkoa9LMf8C80Wq0ekqqHXDIktLw0J9MbfAZK6zuj\ndVaSVUrdp0QQDk+BIR6Gl7tR7La3FDLaKhcfugXEspSKkrNcnXWCOBaEaIQ6\nzbivgGhDUCUJr5UiGPKdn+N3MnFUjWFjZOffVdbtQBPEv44GGW9C/ZlUzjRm\naB4bKXkyWqOUqVBkikZZZJvlWs47wKelBhOKdeSxs1UzlfZZvw2KU7tLtuhl\nobh6ihP/ftdX/V0nd8lksbRD3hfa5GzzFjCoRhUWcOG0iY1EABS1fi8eF+v0\nL7BI8oLoWpUKQyRbJvERRJP995CZeI3fqVTYuZBTXNqqZlp6YZsXT3q/cl26\nDwLWN3k3QmTjnQjulsTY1FqpJKv58Mec/6SeichBmOqYxs/VVN6YVfY7H6ji\n/zQCFEJYXzmVw7wX5ZehxblNQNCmLbGQOOBbU3XmhthhFSHwJgsG54sP3czT\nhp9yER+tZCOInDZ2Lq1LNtfzgD99p/r4WSQkXTGV7zROQGLt8/HE8HAXsFdV\noIEW\r\n=EkYA\r\n-----END PGP SIGNATURE-----\r\n","size":72060,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-0.4.2.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","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 bolt build tokens' && false)"},"_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"},"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","@atlaskit/code":"*","@atlaskit/tabs":"*","style-dictionary":"^3.0.0","@atlaskit/lozenge":"*","@atlassian/atlassian-frontend-prettier-config-1.0.1":"npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.4.2_1642648744697_0.07452162456591682","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":1642648744907,"maintainers":[{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"}],"_cnpm_publish_time":1642648744907,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}