{"name":"@atlaskit/tokens","version":"1.16.0","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@1.16.0","homepage":"https://atlassian.design/components/tokens","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-mirror/issues"},"dist":{"shasum":"9ecdceb1b4b7134ff86fdd5206831a3c24b27d9b","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-1.16.0.tgz","fileCount":880,"integrity":"sha512-5ri5I+yQiO3jkctxWCLjSGyLCBL/OVQe2F3nT0DWCSnk/K2fqEH1DpLOAA6A/AQwWu0aDWP69tzRHvz9FN2dDw==","signatures":[{"sig":"MEQCIC3NYuA0I8gJCVKPGCDJqqmUacM+stpMnk0x/EeRgn06AiACV8NlwDB6b8VF8J/aGMVW1EPKt50ZyApWoEgBfTShbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7579465,"size":522635,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-1.16.0.tgz"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"f42b95b8db81afc0ac4d54d92db5a598ba74ab39","scripts":{"ak-postbuild":"(cd $(npx repo-root) && yarn build @atlassian/codegen -d cjs,esm,es2019) && yarn workspace @atlaskit/tokens codegen-tokens && yarn workspace @atlaskit/tokens check-clean-git","codegen-tokens":"ts-node --project $(npx repo-root)/tsconfig.node.json ./scripts/style-dictionary/build && cd $(npx repo-root)/packages/design-system/primitives && 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":"atlaskit","email":"afp-repo-bot@atlassian.com"},"prettier":"@atlassian/atlassian-frontend-prettier-config-1.0.1","atlassian":{"team":"Design System Team","website":{"name":"Design tokens","category":"Libraries"},"releaseModel":"continuous","productPushConsumption":["jira"]},"techstack":{"@repo/internal":{"styling":["emotion"],"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"}},"af:exports":{".":"./src/index.tsx","./token-ids":"./src/entry-points/token-ids.tsx","./tokens-raw":"./src/entry-points/tokens-raw.tsx","./token-names":"./src/entry-points/token-names.tsx","./token-order":"./src/entry-points/token-order.tsx","./babel-plugin":"./src/entry-points/babel-plugin.tsx","./palettes-raw":"./src/entry-points/palettes-raw.tsx","./rename-mapping":"./src/entry-points/rename-mapping.tsx","./token-default-values":"./src/entry-points/token-default-values.tsx","./figma/atlassian-dark.json":"./figma/atlassian-dark.json","./figma/atlassian-light.json":"./figma/atlassian-light.json"},"repository":{"url":"git+https://bitbucket.org/atlassian/atlassian-frontend-mirror.git","type":"git"},"_npmVersion":"8.15.0","description":"Design tokens are the single source of truth to name and store design decisions.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"16.17.1","atlaskit:src":"src/index.tsx","dependencies":{"@babel/types":"^7.20.0","@babel/runtime":"^7.0.0","@babel/traverse":"^7.20.0","@atlaskit/ds-lib":"^2.2.0","bind-event-listener":"^2.1.1","@atlaskit/platform-feature-flags":"^0.2.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":{"react":"^16.8.0","lodash":"^4.17.21","echarts":"^5.4.1","fuse.js":"^6.6.2","ts-node":"^10.9.1","prettier":"^2.8.0","recharts":"^1.8.5","typescript":"~4.9.5","@babel/core":"^7.20.0","color-blend":"^4.0.0","react-window":"^1.8.8","@emotion/core":"^10.0.9","@types/chrome":"^0.0.171","@emotion/react":"^11.7.1","style-dictionary":"^3.0.0","echarts-for-react":"^3.0.2","@atlassian/codegen":"^0.1.0","copy-webpack-plugin":"^6.4.0","react-use-clipboard":"^1.0.0","@testing-library/dom":"^8.17.1","@testing-library/react":"^12.1.5","@af/accessibility-testing":"*","@atlaskit/visual-regression":"*","@testing-library/user-event":"^14.4.3","@testing-library/react-hooks":"^8.0.1","@atlassian/feature-flags-test-utils":"*","@atlassian/atlassian-frontend-prettier-config-1.0.1":"npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"},"peerDependencies":{"react":"^16.8.0"},"platform-feature-flags":{"platform.design-system-team.border-checkbox_nyoiu":{"type":"boolean"},"platform.design-system-team.space-and-shape-tokens_q5me6":{"type":"boolean"}},"_npmOperationalInternal":{"tmp":"tmp/tokens_1.16.0_1693199792526_0.6410240272873446","host":"s3://npm-registry-packages"},"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":1693199792808,"maintainers":[{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"}],"_cnpm_publish_time":1693199792808,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}