UNPKG

@atlaskit/tokens

Version:

Design tokens are the single source of truth to name and store design decisions.

119 lines (118 loc) 3.86 kB
{ "name": "@atlaskit/tokens", "version": "18.0.0", "description": "Design tokens are the single source of truth to name and store design decisions.", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", "author": "Atlassian Pty Ltd", "license": "Apache-2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "module:es2019": "dist/es2019/index.js", "types": "dist/types/index.d.ts", "sideEffects": [ "**/*.css" ], "atlaskit:src": "src/index.tsx", "atlassian": { "react-compiler": { "enabled": true, "gating": { "source": "@atlaskit/react-compiler-gating", "importSpecifierName": "isReactCompilerActivePlatform" } }, "team": "Design System Team", "website": { "tags": [ "platform-labs" ], "name": "Design tokens", "category": "Libraries" } }, "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", "check-clean-git": "git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are out of date, run yarn build tokens' && false)", "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" }, "dependencies": { "@atlaskit/ds-lib": "^8.0.0", "@atlaskit/platform-feature-flags": "^2.2.0", "@atlaskit/react-compiler-gating": "^0.2.0", "@babel/runtime": "^7.0.0", "@babel/traverse": "^7.23.2", "@babel/types": "^7.20.0", "bind-event-listener": "^3.0.0" }, "peerDependencies": { "react": "^18.2.0 || ^19.0.0" }, "devDependencies": { "@af/formatting": "workspace:^", "@af/visual-regression": "workspace:^", "@atlaskit/avatar": "^28.0.0", "@atlaskit/button": "^25.3.0", "@atlaskit/calendar": "^19.3.0", "@atlaskit/checkbox": "^19.2.0", "@atlaskit/code": "^19.2.0", "@atlaskit/css": "^1.1.0", "@atlaskit/docs": "^12.2.0", "@atlaskit/dropdown-menu": "^18.3.0", "@atlaskit/dynamic-table": "^19.3.0", "@atlaskit/form": "^17.2.0", "@atlaskit/heading": "^7.2.0", "@atlaskit/icon": "^37.7.0", "@atlaskit/inline-message": "^16.4.0", "@atlaskit/link": "^5.1.0", "@atlaskit/lozenge": "^15.4.0", "@atlaskit/popup": "^6.3.0", "@atlaskit/primitives": "^22.5.0", "@atlaskit/radio": "^10.2.0", "@atlaskit/section-message": "^10.2.0", "@atlaskit/select": "^22.11.0", "@atlaskit/tag": "^15.8.0", "@atlaskit/textarea": "^10.2.0", "@atlaskit/textfield": "^10.2.0", "@atlaskit/theme": "^28.2.0", "@atlaskit/tooltip": "^24.3.0", "@atlassian/codegen": "^0.3.0", "@atlassian/feature-flags-test-utils": "^1.3.0", "@atlassian/structured-docs-types": "workspace:^", "@atlassian/workbench": "workspace:*", "@babel/core": "7.24.9", "@compiled/react": "^1.0.2", "@hypermod/utils": "^0.4.2", "@testing-library/react": "^16.3.0", "color-blend": "^4.0.0", "echarts": "^5.4.1", "echarts-for-react": "3.0.6", "jscodeshift": "^17.0.0", "json5": "^2.2.2", "lodash": "^4.17.21", "postcss": "^8.4.7", "postcss-less": "^6.0.0", "react": "^19.0.0", "react-window": "^1.8.8", "style-dictionary": "^3.8.0" }, "hypermod": { "dependencies": [ "@hypermod/utils", "postcss", "postcss-less" ] }, "platform-feature-flags": { "platform-dst-tokens-finesse": { "type": "boolean" }, "platform_increased-contrast-themes": { "type": "boolean" } }, "homepage": "https://atlassian.design/components/tokens" }