{"_id":"@atlaskit/tokens@20.15.0","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-mirror/issues"},"dist":{"shasum":"5702303805b53bb052b6d7df5c4fd966694c1f23","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-20.15.0.tgz","fileCount":842,"integrity":"sha512-G+jxuBsAUXdJIELgU0Juf2lplZlUCU0DnSnmpD4vLbRAMwKF1XCAWKlIj1AO+wl7dlxqUiBOSs1RIt8c+DGdfQ==","signatures":[{"sig":"MEUCIDgidO5kRM8LVc7FhJX0GvER36Pty4OzIFBBtLHo/x+LAiEA+iA1P202ww1QahcsTLVqFbfox3QguezN7p+taX0yksM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDpBPXvOmVp+UcKPSmP/j+zbfKCrIZFGt91lBnqvldrTQIgeO/aui3L+i4VAB7Yxk3P/KeHL4k61VlKBgH/Q4poj9M="}],"unpackedSize":20556795,"size":1363005,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-20.15.0.tgz"},"main":"dist/cjs/index.js","name":"@atlaskit/tokens","_from":"file:/home/runner/work/_temp/npm-worker-JYSzZr/package.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.15.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"e4f1dff9-8180-41e0-a29a-51e4c8e8fd2f"}},"homepage":"https://atlassian.design/components/tokens","hypermod":{"dependencies":["@hypermod/utils","postcss","postcss-less"]},"_resolved":"/home/runner/work/_temp/npm-worker-JYSzZr/package.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-G+jxuBsAUXdJIELgU0Juf2lplZlUCU0DnSnmpD4vLbRAMwKF1XCAWKlIj1AO+wl7dlxqUiBOSs1RIt8c+DGdfQ==","repository":{"url":"git+https://bitbucket.org/atlassian/atlassian-frontend-mirror.git","type":"git"},"_npmVersion":"12.2.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":"26.13.1","atlaskit:src":"src/index.tsx","dependencies":{"@babel/types":"^7.20.0","@babel/runtime":"^7.0.0","@babel/traverse":"^7.23.2","@atlaskit/ds-lib":"^9.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.1.0","@af/formatting":"workspace:^","@atlaskit/code":"^20.0.0","@atlaskit/docs":"^12.3.0","@atlaskit/form":"^18.3.0","@atlaskit/icon":"^38.2.0","@atlaskit/link":"^5.1.0","@atlaskit/popup":"^10.2.0","@atlaskit/radio":"^10.2.0","@atlaskit/theme":"^28.2.0","@compiled/react":"^2.0.0","@hypermod/utils":"^0.4.2","@atlaskit/avatar":"^31.0.0","@atlaskit/button":"^25.8.0","@atlaskit/select":"^23.2.0","style-dictionary":"^3.8.0","@atlaskit/heading":"^8.0.0","@atlaskit/lozenge":"^17.0.0","@atlaskit/tooltip":"^24.4.0","@atlaskit/calendar":"^19.6.0","@atlaskit/checkbox":"^19.3.0","@atlaskit/textarea":"^11.0.0","@atlassian/codegen":"^0.3.0","@atlaskit/textfield":"^11.0.0","@atlaskit/primitives":"^22.9.0","@atlassian/ts-loader":"^0.1.0","@atlassian/workbench":"workspace:*","@af/visual-regression":"workspace:^","@testing-library/react":"^16.3.0","@atlaskit/dropdown-menu":"^22.2.0","@atlaskit/dynamic-table":"^19.3.0","@atlaskit/inline-message":"^16.4.0","@atlaskit/section-message":"^10.3.0","@atlassian/structured-docs-types":"workspace:^","@atlassian/feature-flags-test-utils":"^2.0.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.15.0_1795605885568_0.8187069551929835"},"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":1795605885737,"_cnpm_publish_time":1795605885737,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}