@atlaskit/tokens 1.43.2 → 1.44.1
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 +1572 -938
- package/dist/cjs/artifacts/replacement-mapping.js +1 -7
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +1 -3
- package/dist/cjs/artifacts/token-names.js +1 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -63
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +1 -63
- 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 -7
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +1 -3
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +1 -3
- package/dist/es2019/artifacts/token-default-values.js +1 -3
- package/dist/es2019/artifacts/token-names.js +1 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -63
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +1 -63
- 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 -7
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +1 -3
- package/dist/esm/artifacts/token-names.js +1 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -63
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +1 -63
- 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-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +1 -3
- package/dist/types/artifacts/token-names.d.ts +1 -5
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -34
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -34
- package/dist/types/types.d.ts +0 -4
- package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +1 -3
- package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -5
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -34
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -34
- package/dist/types-ts4.5/types.d.ts +0 -4
- package/package.json +8 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::9e4504db147308499c5db002a01275ff>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -95,39 +95,6 @@ declare const tokens: ({
|
|
|
95
95
|
name: string;
|
|
96
96
|
path: string[];
|
|
97
97
|
cleanName: string;
|
|
98
|
-
} | {
|
|
99
|
-
attributes: {
|
|
100
|
-
group: string;
|
|
101
|
-
state: string;
|
|
102
|
-
introduced: string;
|
|
103
|
-
deprecated: string;
|
|
104
|
-
description: string;
|
|
105
|
-
responsiveSmallerVariant?: undefined;
|
|
106
|
-
};
|
|
107
|
-
value: string;
|
|
108
|
-
filePath: string;
|
|
109
|
-
isSource: boolean;
|
|
110
|
-
original: {
|
|
111
|
-
attributes: {
|
|
112
|
-
group: string;
|
|
113
|
-
state: string;
|
|
114
|
-
introduced: string;
|
|
115
|
-
deprecated: string;
|
|
116
|
-
description: string;
|
|
117
|
-
responsiveSmallerVariant?: undefined;
|
|
118
|
-
};
|
|
119
|
-
value: {
|
|
120
|
-
fontWeight: string;
|
|
121
|
-
fontSize: string;
|
|
122
|
-
lineHeight: string;
|
|
123
|
-
fontFamily: string;
|
|
124
|
-
fontStyle: string;
|
|
125
|
-
letterSpacing: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
name: string;
|
|
129
|
-
path: string[];
|
|
130
|
-
cleanName: string;
|
|
131
98
|
} | {
|
|
132
99
|
attributes: {
|
|
133
100
|
group: string;
|
|
@@ -1038,10 +1038,6 @@ export interface TypographyTokenSchema<TPalette extends {
|
|
|
1038
1038
|
xsmall: TypographyToken<TPalette>;
|
|
1039
1039
|
xxsmall: TypographyToken<TPalette>;
|
|
1040
1040
|
};
|
|
1041
|
-
ui: {
|
|
1042
|
-
'[default]': TypographyToken<TPalette>;
|
|
1043
|
-
small: TypographyToken<TPalette>;
|
|
1044
|
-
};
|
|
1045
1041
|
body: {
|
|
1046
1042
|
'[default]': TypographyToken<TPalette>;
|
|
1047
1043
|
small: TypographyToken<TPalette>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.1",
|
|
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/"
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
|
-
"
|
|
31
|
+
"prebuilt": "yes | cp -R $(npx repo-root)/packages/design-system/tokens/dist/cjs/* $(npx repo-root)/packages/design-system/tokens/prebuilt/",
|
|
32
|
+
"ak-postbuild": "yarn prebuilt && (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",
|
|
32
33
|
"check-clean-git": "git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are out of date, run yarn build tokens' && false)",
|
|
33
34
|
"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 && cd $(npx repo-root)/packages/design-system/ds-explorations && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/heading && yarn codegen"
|
|
34
35
|
},
|
|
@@ -45,10 +46,11 @@
|
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@af/accessibility-testing": "*",
|
|
49
|
+
"@af/formatting": "*",
|
|
48
50
|
"@atlaskit/calendar": "^14.2.0",
|
|
49
|
-
"@atlaskit/checkbox": "^13.
|
|
50
|
-
"@atlaskit/radio": "^6.
|
|
51
|
-
"@atlaskit/tooltip": "^18.
|
|
51
|
+
"@atlaskit/checkbox": "^13.2.0",
|
|
52
|
+
"@atlaskit/radio": "^6.2.0",
|
|
53
|
+
"@atlaskit/tooltip": "^18.3.0",
|
|
52
54
|
"@atlaskit/visual-regression": "*",
|
|
53
55
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
54
56
|
"@atlassian/codegen": "^0.1.0",
|
|
@@ -70,7 +72,7 @@
|
|
|
70
72
|
"lodash": "^4.17.21",
|
|
71
73
|
"postcss": "^8.4.7",
|
|
72
74
|
"postcss-less": "^6.0.0",
|
|
73
|
-
"prettier": "^2.
|
|
75
|
+
"prettier": "^3.2.5",
|
|
74
76
|
"react": "^16.8.0",
|
|
75
77
|
"react-use-clipboard": "^1.0.0",
|
|
76
78
|
"react-window": "^1.8.8",
|