@atlaskit/tokens 1.35.0 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/codemods/css-to-design-tokens/__tests__/css-to-design-tokens.test.tsx +489 -0
- package/codemods/css-to-design-tokens/__tests__/utils.test.tsx +145 -0
- package/codemods/css-to-design-tokens/lib/colors.tsx +71 -0
- package/codemods/css-to-design-tokens/lib/declaration.tsx +43 -0
- package/codemods/css-to-design-tokens/lib/legacy-colors.tsx +336 -0
- package/codemods/css-to-design-tokens/lib/meta.tsx +173 -0
- package/codemods/css-to-design-tokens/lib/tokens.tsx +54 -0
- package/codemods/css-to-design-tokens/lib/value.tsx +85 -0
- package/codemods/css-to-design-tokens/transform.tsx +99 -0
- package/codemods/hypermod.config.tsx +9 -0
- package/codemods/theme-to-design-tokens/__tests__/theme-to-design-tokens.test.tsx +1104 -0
- package/codemods/theme-to-design-tokens/transform.tsx +628 -0
- package/codemods/theme-to-design-tokens/utils/ast-meta.tsx +159 -0
- package/codemods/theme-to-design-tokens/utils/ast.tsx +46 -0
- package/codemods/theme-to-design-tokens/utils/color.tsx +45 -0
- package/codemods/theme-to-design-tokens/utils/css-utils.tsx +38 -0
- package/codemods/theme-to-design-tokens/utils/fuzzy-search.tsx +326 -0
- package/codemods/theme-to-design-tokens/utils/legacy-colors.tsx +232 -0
- package/codemods/theme-to-design-tokens/utils/named-colors.tsx +150 -0
- package/codemods/theme-to-design-tokens/utils/string-utils.tsx +22 -0
- package/codemods/utils/tokens.tsx +376 -0
- package/dist/cjs/artifacts/replacement-mapping.js +1 -13
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -25
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +89 -1
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/es2019/artifacts/replacement-mapping.js +1 -13
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +5 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -25
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +89 -1
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/esm/artifacts/replacement-mapping.js +1 -13
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -25
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +89 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/types.d.ts +2 -3
- package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +2 -3
- package/figma/atlassian-typography-adg3.json +38 -1
- package/figma/atlassian-typography-minor3.json +38 -1
- package/package.json +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.37.0",
|
|
4
4
|
"description": "Design tokens are the single source of truth to name and store design decisions.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"@atlassian/feature-flags-test-utils": "*",
|
|
52
52
|
"@babel/core": "^7.20.0",
|
|
53
53
|
"@emotion/react": "^11.7.1",
|
|
54
|
+
"@hypermod/utils": "^0.4.2",
|
|
54
55
|
"@testing-library/dom": "^8.17.1",
|
|
55
56
|
"@testing-library/react": "^12.1.5",
|
|
56
57
|
"@testing-library/react-hooks": "^8.0.1",
|
|
@@ -61,7 +62,10 @@
|
|
|
61
62
|
"echarts": "^5.4.1",
|
|
62
63
|
"echarts-for-react": "^3.0.2",
|
|
63
64
|
"fuse.js": "^6.6.2",
|
|
65
|
+
"jscodeshift": "^0.13.0",
|
|
64
66
|
"lodash": "^4.17.21",
|
|
67
|
+
"postcss": "^8.4.7",
|
|
68
|
+
"postcss-less": "^6.0.0",
|
|
65
69
|
"prettier": "^2.8.0",
|
|
66
70
|
"react": "^16.8.0",
|
|
67
71
|
"react-use-clipboard": "^1.0.0",
|