{"name":"@atlaskit/tokens","version":"8.2.0","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@8.2.0","maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"}],"homepage":"https://atlassian.design/components/tokens","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-mirror/issues"},"dist":{"shasum":"f968670511e9480a90aa57f13cfc557ac74b06f5","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-8.2.0.tgz","fileCount":574,"integrity":"sha512-0wAdmaIfJn4vDyp61HKpUPfubC7AQbcxt8+SGUE2N3nuwhcHScmG/ZPMuWm5Su+vX4RUgBfoCMEojDZ8G5Qlkw==","signatures":[{"sig":"MEUCIEO7OBMd7+y2jzy5FJH1MltVPkeSodKNi+VSBU6BVyxRAiEAjQlOyyt6chBOSQ4bXjBeXddLPRoP3CnmBkglaFUNA1k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12881037,"size":827204,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-8.2.0.tgz"},"main":"dist/cjs/index.js","_from":"file:/tmp/package-1-692029b4-8f0614ddf324373ceb57e1c5-3.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 && (cd $(npx repo-root) && yarn build --includeDependencies @atlassian/codegen -d cjs,esm,es2019) && yarn workspace @atlaskit/tokens codegen-tokens && yarn 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 && cd $(npx repo-root)/packages/design-system/heading && yarn codegen","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-secrets-and-artifacts@atlassian.com"},"hypermod":{"dependencies":["@hypermod/utils","postcss","postcss-less"]},"_resolved":"/tmp/package-1-692029b4-8f0614ddf324373ceb57e1c5-3.tgz","atlassian":{"team":"Design System Team","website":{"name":"Design tokens","category":"Libraries"}},"techstack":{"@repo/internal":{"styling":["compiled"],"dom-events":"use-bind-event-listener","deprecation":"no-deprecated-imports","design-system":"v1","ui-components":"lite-mode"},"@atlassian/frontend":{"import-structure":"atlassian-conventions","circular-dependencies":"file-and-folder-level"}},"_integrity":"sha512-0wAdmaIfJn4vDyp61HKpUPfubC7AQbcxt8+SGUE2N3nuwhcHScmG/ZPMuWm5Su+vX4RUgBfoCMEojDZ8G5Qlkw==","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.19.5","atlaskit:src":"src/index.tsx","dependencies":{"@babel/types":"^7.20.0","@babel/runtime":"^7.0.0","@babel/traverse":"^7.23.2","@atlaskit/ds-lib":"^5.3.0","bind-event-listener":"^3.0.0","@atlaskit/platform-feature-flags":"^1.1.0"},"module:es2019":"dist/es2019/index.js","publishConfig":{"registry":"https://registry.npmjs.org/"},"typesVersions":{">=4.5 <4.9":{"*":["dist/types-ts4.5/*","dist/types-ts4.5/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"json5":"^2.2.2","react":"^18.2.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":"^0.16.0","@atlaskit/tag":"^14.1.0","@af/formatting":"workspace:^","@atlaskit/code":"^17.3.0","@atlaskit/docs":"^11.2.0","@atlaskit/form":"^14.3.0","@atlaskit/grid":"^0.18.0","@atlaskit/icon":"^29.0.0","@atlaskit/link":"^3.2.0","@atlaskit/popup":"^4.6.0","@atlaskit/radio":"^8.3.0","@atlaskit/theme":"^21.0.0","@compiled/react":"^0.18.6","@hypermod/utils":"^0.4.2","@atlaskit/avatar":"^25.5.0","@atlaskit/button":"^23.6.0","@atlaskit/select":"^21.4.0","style-dictionary":"^3.8.0","@atlaskit/heading":"^5.2.0","@atlaskit/lozenge":"^13.1.0","@atlaskit/tooltip":"^20.10.0","echarts-for-react":"^3.0.2","@atlaskit/calendar":"^17.1.0","@atlaskit/checkbox":"^17.1.0","@atlaskit/textarea":"^8.1.0","@atlassian/codegen":"^0.1.0","@atlaskit/textfield":"^8.1.0","@atlaskit/primitives":"^16.2.0","@atlassian/ts-loader":"^0.1.0","@af/visual-regression":"workspace:^","@testing-library/react":"^13.4.0","@atlaskit/dropdown-menu":"^16.3.0","@atlaskit/dynamic-table":"^18.3.0","@atlaskit/inline-message":"^15.4.0","@atlaskit/section-message":"^8.9.0","@testing-library/react-hooks":"^8.0.1","@atlassian/feature-flags-test-utils":"^1.0.0","@atlassian/repo-feature-flags-statsig":"^1.11.0"},"peerDependencies":{"react":"^18.2.0"},"platform-feature-flags":{"platform_increased-contrast-themes":{"type":"boolean"},"platform-disable-default-typography":{"type":"boolean"},"platform-default-typography-refreshed":{"type":"boolean"},"should-render-to-parent-should-be-true-design-syst":{"type":"boolean"}},"_npmOperationalInternal":{"tmp":"tmp/tokens_8.2.0_1763715522321_0.8894936100158071","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":1763715522538,"_cnpm_publish_time":1763715522538,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}