{"name":"@atlaskit/tokens","version":"16.8.0","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@16.8.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":"caa81fe0fba401af9532209b24587cd224741456","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-16.8.0.tgz","fileCount":803,"integrity":"sha512-f2uHECMvQdhFSYLyhP+r76s3ez/00Cj3Yl/OhH1kSB9RXmZuSgyBGodesEiFJy8OaUS4QOlNtXfSwAXVzLet8Q==","signatures":[{"sig":"MEUCIQCFuY6Vrpqw8x49zeZPlJNf6Bn1iL3YfrWF0ucjGMVVSAIgOJxjrc1HcQA8Vu8ssXCy29xkC05oU8p0TuHojRxny20=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC/scl7X9ZI+38tXo6fdoxGUb+QP+k7FEEp4ho91LCgvQIgGgPLTNhpB7R6zz843p8XU6HGgc1qNHv2GmMeKnlPJXc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14225373,"size":959517,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-16.8.0.tgz"},"main":"dist/cjs/index.js","_from":"file:/tmp/package-1-6a86e6a8-794a073599d9cd568267406c-1.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 && yarn workspace @atlaskit/tokens codegen-tokens && yarn workspace @atlaskit/tokens check-clean-git","codegen-tokens":"yarn run -T run-ts ./scripts/style-dictionary/build.tsx && yarn run -T 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-6a86e6a8-794a073599d9cd568267406c-1.tgz","atlassian":{"team":"Design System Team","website":{"name":"Design tokens","category":"Libraries"},"react-compiler":{"gating":{"source":"@atlaskit/react-compiler-gating","importSpecifierName":"isReactCompilerActivePlatform"},"enabled":true}},"_integrity":"sha512-f2uHECMvQdhFSYLyhP+r76s3ez/00Cj3Yl/OhH1kSB9RXmZuSgyBGodesEiFJy8OaUS4QOlNtXfSwAXVzLet8Q==","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.1.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","echarts":"^5.4.1","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.0.0","@atlaskit/tag":"^15.6.0","@af/formatting":"workspace:^","@atlaskit/code":"^19.1.0","@atlaskit/docs":"^12.2.0","@atlaskit/form":"^17.1.0","@atlaskit/icon":"^37.5.0","@atlaskit/link":"^5.1.0","@atlaskit/popup":"^6.2.0","@atlaskit/radio":"^10.1.0","@atlaskit/theme":"^28.1.0","@compiled/react":"^1.0.2","@hypermod/utils":"^0.4.2","@atlaskit/avatar":"^27.2.0","@atlaskit/button":"^25.2.0","@atlaskit/select":"^22.8.0","style-dictionary":"^3.8.0","@atlaskit/heading":"^7.1.0","@atlaskit/lozenge":"^15.3.0","@atlaskit/tooltip":"^24.2.0","echarts-for-react":"3.0.6","@atlaskit/calendar":"^19.1.0","@atlaskit/checkbox":"^19.1.0","@atlaskit/textarea":"^10.1.0","@atlassian/codegen":"^0.2.0","@atlaskit/textfield":"^10.1.0","@atlaskit/primitives":"^22.4.0","@af/visual-regression":"workspace:^","@testing-library/react":"^16.3.0","@atlaskit/dropdown-menu":"^18.2.0","@atlaskit/dynamic-table":"^19.2.0","@atlaskit/inline-message":"^16.3.0","@atlaskit/section-message":"^10.1.0","@atlassian/structured-docs-types":"workspace:^","@atlassian/feature-flags-test-utils":"^1.2.0"},"peerDependencies":{"react":"^18.2.0 || ^19.0.0"},"platform-feature-flags":{"platform-dst-shape-theme-default":{"type":"boolean"},"platform_increased-contrast-themes":{"type":"boolean"}},"_npmOperationalInternal":{"tmp":"tmp/tokens_16.8.0_1787225958070_0.522209394825683","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":1787225958207,"_cnpm_publish_time":1787225958207,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}