{"name":"@atlaskit/tokens","version":"20.2.0","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@20.2.0","maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-artifacts@atlassian.com"}],"homepage":"https://atlassian.design/components/tokens","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-mirror/issues"},"dist":{"shasum":"a89be82ace207f60ce9158ffb2c663ff38bd49be","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-20.2.0.tgz","fileCount":801,"integrity":"sha512-HPYhktNwqc3SQrkKfFZO572yan1tOFCM6IFG3VnerTnboaDG1dSKJV//2tPUnW8WwVL2dhGQ91ff/ozigrVvTg==","signatures":[{"sig":"MEUCIH2sSj1WDp4so4yTdhtUREiirugiahg4SMXGn6dmhcWMAiEA/4O3e8XxqQXSR0NLWNsBH3EVAG5xns622YszjNrIjqM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDRUbocn8Zzg9hJjiJd6PQbKP2C2weThGEuRZnC4/fQowIgSvOJ8iDmEoNDH2wXlM0kqeQDKVnH7zn3/F3KjrPr++U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16819977,"size":1108805,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-20.2.0.tgz"},"main":"dist/cjs/index.js","_from":"file:/tmp/package-1-6ac04012-f6055558aae5e29b253415d5-2.tgz","types":"dist/types/index.d.ts","module":"dist/esm/index.js","scripts":{"prebuilt":"yes | cp -R $(npx repo-root)/packages/design-system/tokens/dist/cjs/* $(npx repo-root)/packages/design-system/tokens/prebuilt/","ak-postbuild":"yarn 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 && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/ds-explorations && yarn codegen-styles","check-clean-git":"git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are out of date, run yarn build tokens' && false)"},"_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-artifacts@atlassian.com"},"hypermod":{"dependencies":["@hypermod/utils","postcss","postcss-less"]},"_resolved":"/tmp/package-1-6ac04012-f6055558aae5e29b253415d5-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-HPYhktNwqc3SQrkKfFZO572yan1tOFCM6IFG3VnerTnboaDG1dSKJV//2tPUnW8WwVL2dhGQ91ff/ozigrVvTg==","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":{},"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.1.0","@atlaskit/icon":"^38.0.0","@atlaskit/link":"^5.1.0","@atlaskit/popup":"^9.0.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.4.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.3.0","@atlaskit/checkbox":"^19.2.0","@atlaskit/textarea":"^10.2.0","@atlassian/codegen":"^0.3.0","@atlaskit/textfield":"^10.2.0","@atlaskit/primitives":"^22.5.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":{"tmp":"tmp/tokens_20.2.0_1790984342889_0.8822275150521537","host":"s3://npm-registry-packages-npm-production"},"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":1790984343032,"_cnpm_publish_time":1790984343032,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}