{"name":"@atlaskit/tokens","version":"16.7.0","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@16.7.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":"5c9e01709cc3ec93cb4c0534e4387d0bd42d352a","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-16.7.0.tgz","fileCount":804,"integrity":"sha512-+T5Fv5i9iwQWu2beS8uBVc3wxyEVxbJUfFb6egTN9FvfBiAipYqoTCZcT8t950Dn7xvP5OpB31RVYoZGj+BG5Q==","signatures":[{"sig":"MEUCICRJ/kfCntGhQOCIidyKNmPsRcql9SzZoZYF4Ndri9iLAiEAmQ1FklYUGPlU0QaTldJd4Sfvqr0GH7oZ83pz7sNJZBk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDGcPsbmKK3oEJfAvW6drgDysNZk3suorWDeCAy7KHYyQIgUjAKx1Hq+vzBxhCI6w5K4FbDKONgnBqWRfx4tu895n0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14226711,"size":959956,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-16.7.0.tgz"},"main":"dist/cjs/index.js","_from":"file:/tmp/package-1-6a7beaa2-314033762e5d6c95fd1c9734-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-6a7beaa2-314033762e5d6c95fd1c9734-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-+T5Fv5i9iwQWu2beS8uBVc3wxyEVxbJUfFb6egTN9FvfBiAipYqoTCZcT8t950Dn7xvP5OpB31RVYoZGj+BG5Q==","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.4.0","@af/formatting":"workspace:^","@atlaskit/code":"^19.0.0","@atlaskit/docs":"^12.2.0","@atlaskit/form":"^17.0.0","@atlaskit/icon":"^37.3.0","@atlaskit/link":"^5.0.0","@atlaskit/popup":"^6.0.0","@atlaskit/radio":"^10.0.0","@atlaskit/theme":"^28.0.0","@compiled/react":"^1.0.2","@hypermod/utils":"^0.4.2","@atlaskit/avatar":"^27.0.0","@atlaskit/button":"^25.0.0","@atlaskit/select":"^22.6.0","style-dictionary":"^3.8.0","@atlaskit/heading":"^7.0.0","@atlaskit/lozenge":"^15.0.0","@atlaskit/tooltip":"^24.0.0","echarts-for-react":"3.0.6","@atlaskit/calendar":"^19.0.0","@atlaskit/checkbox":"^19.0.0","@atlaskit/textarea":"^10.0.0","@atlassian/codegen":"^0.2.0","@atlaskit/textfield":"^10.0.0","@atlaskit/primitives":"^22.2.0","@af/visual-regression":"workspace:^","@testing-library/react":"^16.3.0","@atlaskit/dropdown-menu":"^18.0.0","@atlaskit/dynamic-table":"^19.1.0","@atlaskit/inline-message":"^16.2.0","@atlaskit/section-message":"^10.0.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.7.0_1786506021669_0.35307075291762224","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":1786506021805,"_cnpm_publish_time":1786506021805,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}