{"_id":"@atlaskit/tokens@20.9.0","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-mirror/issues"},"dist":{"shasum":"ec76c5d9b9e8f94ae450a1839e68295d95f1d3ff","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-20.9.0.tgz","fileCount":842,"integrity":"sha512-2FBvUfZk1ORlp5E0yXn+LTNoZPCt1kz1q6kt1oMX3OrRxUnnwPFKY1wq/6DEqk95ASoPj940L1GnOGeTGrIfsg==","signatures":[{"sig":"MEUCIQC9eh8BdVslit+JSrlCHQc3qhMkre+Sr3Zph4B2LHkiOgIgGuzmRF5s3kp+IG8GaIE6t6SeNLy/7HNTBP+8CZvb8DA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID/5y5EjZ9AINjpjHMbFLWfcIjpg+UdeqeCLZKPNdLRnAiEA+0lV6JjJ4IusCIxHVc1mUqnlUNCvtc2NWuhuogrcDyQ="}],"unpackedSize":20248714,"size":1320451,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-20.9.0.tgz"},"main":"dist/cjs/index.js","name":"@atlaskit/tokens","_from":"file:/tmp/package-1-6ae7ed49-0c0419772ae6d6b3ffc7b1f7-2.tgz","types":"dist/types/index.d.ts","author":{"name":"Atlassian Pty Ltd"},"module":"dist/esm/index.js","license":"Apache-2.0","scripts":{"prebuilt":"yes | cp -R $(npx repo-root)/packages/design-system/tokens/dist/cjs/* $(npx repo-root)/packages/design-system/tokens/prebuilt/","ak-postbuild":"afm run prebuilt && afm workspace @atlaskit/tokens codegen-tokens && afm workspace @atlaskit/tokens check-clean-git","codegen-tokens":"run-ts ./scripts/style-dictionary/build.tsx && run-ts ./scripts/style-dictionary/build-plugin-token-map.tsx && cd $(npx repo-root)/packages/design-system/primitives && afm run codegen-styles && cd $(npx repo-root)/packages/design-system/ds-explorations && afm run codegen-styles","check-clean-git":"git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are out of date, run afm run build tokens' && false)"},"version":"20.9.0","_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-artifacts@atlassian.com"},"homepage":"https://atlassian.design/components/tokens","hypermod":{"dependencies":["@hypermod/utils","postcss","postcss-less"]},"_resolved":"/tmp/package-1-6ae7ed49-0c0419772ae6d6b3ffc7b1f7-2.tgz","atlassian":{"team":"Design System Team","website":{"name":"Design tokens","tags":["platform-labs"],"category":"Libraries"},"react-compiler":{"gating":{"source":"@atlaskit/react-compiler-gating","importSpecifierName":"isReactCompilerActivePlatform"},"enabled":true}},"_integrity":"sha512-2FBvUfZk1ORlp5E0yXn+LTNoZPCt1kz1q6kt1oMX3OrRxUnnwPFKY1wq/6DEqk95ASoPj940L1GnOGeTGrIfsg==","repository":{"url":"git+https://bitbucket.org/atlassian/atlassian-frontend-mirror.git","type":"git"},"_npmVersion":"10.8.2","description":"Design tokens are the single source of truth to name and store design decisions.","directories":{},"maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-artifacts@atlassian.com"}],"sideEffects":["**/*.css"],"_nodeVersion":"20.20.2","atlaskit:src":"src/index.tsx","dependencies":{"@babel/types":"^7.20.0","@babel/runtime":"^7.0.0","@babel/traverse":"^7.23.2","@atlaskit/ds-lib":"^8.0.0","bind-event-listener":"^3.0.0","@atlaskit/react-compiler-gating":"^0.2.0","@atlaskit/platform-feature-flags":"^2.2.0"},"module:es2019":"dist/es2019/index.js","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"json5":"^2.2.2","react":"^19.0.0","lodash":"^4.17.21","postcss":"^8.4.7","@babel/core":"7.24.9","color-blend":"^4.0.0","jscodeshift":"^17.0.0","postcss-less":"^6.0.0","react-window":"^1.8.8","@atlaskit/css":"^1.1.0","@atlaskit/tag":"^17.0.0","@af/formatting":"workspace:^","@atlaskit/code":"^20.0.0","@atlaskit/docs":"^12.3.0","@atlaskit/form":"^18.3.0","@atlaskit/icon":"^38.0.0","@atlaskit/link":"^5.1.0","@atlaskit/popup":"^10.2.0","@atlaskit/radio":"^10.2.0","@atlaskit/theme":"^28.2.0","@compiled/react":"^1.0.2","@hypermod/utils":"^0.4.2","@atlaskit/avatar":"^30.0.0","@atlaskit/button":"^25.7.0","@atlaskit/select":"^23.1.0","style-dictionary":"^3.8.0","@atlaskit/heading":"^8.0.0","@atlaskit/lozenge":"^17.0.0","@atlaskit/tooltip":"^24.4.0","@atlaskit/calendar":"^19.5.0","@atlaskit/checkbox":"^19.3.0","@atlaskit/textarea":"^10.3.0","@atlassian/codegen":"^0.3.0","@atlaskit/textfield":"^10.3.0","@atlaskit/primitives":"^22.6.0","@atlassian/ts-loader":"^0.1.0","@atlassian/workbench":"workspace:*","@af/visual-regression":"workspace:^","@testing-library/react":"^16.3.0","@atlaskit/dropdown-menu":"^21.0.0","@atlaskit/dynamic-table":"^19.3.0","@atlaskit/inline-message":"^16.4.0","@atlaskit/section-message":"^10.2.0","@atlassian/structured-docs-types":"workspace:^","@atlassian/feature-flags-test-utils":"^1.3.0"},"peerDependencies":{"react":"^18.2.0 || ^19.0.0"},"platform-feature-flags":{"platform-dst-tokens-finesse":{"type":"boolean"},"platform_increased-contrast-themes":{"type":"boolean"}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokens_20.9.0_1793584542147_0.02874578113441617"},"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":1793584542281,"_cnpm_publish_time":1793584542281,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}