{"name":"@atlaskit/tokens","version":"0.10.22","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@0.10.22","homepage":"https://atlassian.design/components/tokens","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-mirror/issues"},"dist":{"shasum":"99991ac8ed3ab555ffb1d862894b0879ec2570b6","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-0.10.22.tgz","fileCount":465,"integrity":"sha512-qx4SLgA+IuL6sFFLpDEMgQlAWp13pyy4KNUZmZ93q/FsOBCp0J4EFEsDPqPy6r2BmY1nPM9QfkKC2RjCFLpluw==","signatures":[{"sig":"MEUCIBZj2e3zf+ZZ4LrOcmbSxw8GlWfmSKdmXrv+nN7PFITiAiEA4VI41K41RgccKcyIX3b8vm4ysUtqp2Vupqz88DTwTEI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4277145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPhgCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrj4xAAg3XDDLnRSlqff29LHb2Zz9fVUObOLDzUUeush5aTUGGv5jN0\r\nfoC1FE2gDLFgzAdcn5R60p4z/YbrR3oOSdHIDHURyKYM17EaANvDPKQ6jR70\r\nVKuDaf4HxlJnLbkY/j3nnkV6Y3gFwuCC3Xq66+IoKIPvQfBWHtXgDN/TSzWM\r\nIU3auZj2d+ftsveAosBmfIO5QgvjhKrojvJUW1V1XNVGtBpdrQPVOGLeBIic\r\nERKJ5GDCnqdJlop9FxWv81fsMwaMsetF86A8u/0pPwo/wxWqGAYov1sxSdmC\r\nmLoPFiVnuq3I/RzBwU03746Vxt7hmoOdcA75LVbTv+oQrsCr2HdDOsSihK/y\r\nmR+0dDnLgzPtXWPyVNzScsDh1rhw61m9VQw06AQgLYyh+UUAp0BngN16fIGh\r\nH5MV1kJB3EFTH/g0G7FhKMO/edr2VEuTgoT0iu9Ind/0vX+2KLX6BcExaqN8\r\nJzheI8lqviL1anwBhSk3xN2U9DrbeTELbqZEz2gLS07ev4ll3RztFthY8Rgi\r\nd52XEEVIdWSMFNee4U2x9TsegvhbIws+G82Y7D6bHy8ZR5Xa1k7hWbjViRzI\r\nAYlne+6DAlcD7vlG6DcQ7bGIKVIojmHRNvYZXlK+1LixFh23NaPoQBmzrtV2\r\nT3/IyglPikzAyL2iadC7Zjf5b8LHR99BNpI=\r\n=SKes\r\n-----END PGP SIGNATURE-----\r\n","size":269085,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-0.10.22.tgz"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"b4bad6ba704948e714a8f3f7906a3b0b43ae3c8c","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)"},"_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","dom-events":"use-bind-event-listener","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","./css/atlassian-legacy-dark.css":"./css/atlassian-legacy-dark.css","./css/atlassian-legacy-light.css":"./css/atlassian-legacy-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":"^2.1.0"},"module:es2019":"dist/es2019/index.js","publishConfig":{"registry":"https://registry.npmjs.org/"},"typesVersions":{">=4.0 <4.5":{"*":["dist/types-ts4.0/*"]}},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.8.0","lodash":"^4.17.21","fuse.js":"^6.6.2","ts-node":"^10.9.1","prettier":"^2.1.1","typescript":"4.5.5","@af/codegen":"*","@babel/core":"^7.12.3","@atlaskit/tag":"^11.4.0","@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.3.0","@emotion/react":"^11.7.1","@atlaskit/badge":"^15.0.11","@atlaskit/theme":"^12.2.0","@atlaskit/avatar":"^21.0.0","@atlaskit/button":"^16.3.0","@atlaskit/toggle":"^12.5.0","style-dictionary":"^3.0.0","@atlaskit/heading":"^0.1.16","@atlaskit/lozenge":"^11.2.0","@atlaskit/tooltip":"^17.5.7","@atlaskit/checkbox":"^12.3.9","@atlaskit/textfield":"^5.2.0","copy-webpack-plugin":"^6.4.0","@atlaskit/focus-ring":"^1.0.0","@testing-library/dom":"^8.17.1","@atlaskit/empty-state":"^7.4.0","@atlaskit/modal-dialog":"^12.3.0","@testing-library/react":"^12.1.5","@atlaskit/dropdown-menu":"^11.5.0","@atlaskit/dynamic-table":"^14.8.0","@af/accessibility-testing":"*","@atlaskit/section-message":"^6.2.0","@testing-library/user-event":"^14.4.3","@testing-library/react-hooks":"^8.0.1","@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.22_1665013762520_0.347126139671339","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":1665013762798,"maintainers":[{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"}],"_cnpm_publish_time":1665013762798,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}