@atlaskit/tokens 1.12.0 → 1.13.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 +22 -0
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +3 -2
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +3 -2
- package/dist/cjs/artifacts/generated-pairs.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +7 -1
- package/dist/cjs/artifacts/token-names.js +7 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +137 -5
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +139 -7
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +137 -5
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/background.js +22 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +22 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +22 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/border.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/background.js +22 -0
- package/dist/cjs/tokens/default/color/background.js +54 -2
- package/dist/cjs/utils/generate-custom-color-ramp.js +16 -7
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +3 -2
- package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +3 -2
- package/dist/es2019/artifacts/generated-pairs.js +2 -2
- package/dist/es2019/artifacts/themes/atlassian-dark.js +7 -1
- package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +7 -1
- package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +8 -2
- package/dist/es2019/artifacts/themes/atlassian-light.js +7 -1
- package/dist/es2019/artifacts/token-default-values.js +7 -1
- package/dist/es2019/artifacts/token-names.js +7 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +137 -5
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +139 -7
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +137 -5
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/background.js +22 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/background.js +22 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +22 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/border.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/background.js +22 -0
- package/dist/es2019/tokens/default/color/background.js +54 -2
- package/dist/es2019/utils/generate-custom-color-ramp.js +16 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +3 -2
- package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +3 -2
- package/dist/esm/artifacts/generated-pairs.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-legacy-light.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +7 -1
- package/dist/esm/artifacts/token-names.js +7 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +137 -5
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +139 -7
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +137 -5
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/background.js +22 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/background.js +22 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/background.js +22 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/border.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/background.js +22 -0
- package/dist/esm/tokens/default/color/background.js +54 -2
- package/dist/esm/utils/generate-custom-color-ramp.js +16 -7
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +7 -1
- package/dist/types/artifacts/token-names.d.ts +13 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.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/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types/types.d.ts +10 -0
- package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +7 -1
- package/dist/types-ts4.5/artifacts/token-names.d.ts +13 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.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/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +10 -0
- package/figma/atlassian-dark.json +56 -2
- package/figma/atlassian-legacy-dark.json +56 -2
- package/figma/atlassian-legacy-light.json +57 -3
- package/figma/atlassian-light.json +56 -2
- package/package.json +2 -2
- package/report.api.md +24 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -902
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -895
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -895
- package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +0 -91
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +0 -91
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::665c06f00cd5963095f2fe43b7787f07>>
|
|
4
|
-
* @codegenCommand yarn build tokens
|
|
5
|
-
*/
|
|
6
|
-
declare const tokens: ({
|
|
7
|
-
attributes: {
|
|
8
|
-
group: string;
|
|
9
|
-
state: string;
|
|
10
|
-
introduced: string;
|
|
11
|
-
description: string;
|
|
12
|
-
};
|
|
13
|
-
value: string;
|
|
14
|
-
filePath: string;
|
|
15
|
-
isSource: boolean;
|
|
16
|
-
original: {
|
|
17
|
-
attributes: {
|
|
18
|
-
group: string;
|
|
19
|
-
state: string;
|
|
20
|
-
introduced: string;
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
value: string;
|
|
24
|
-
};
|
|
25
|
-
name: string;
|
|
26
|
-
path: string[];
|
|
27
|
-
cleanName: string;
|
|
28
|
-
} | {
|
|
29
|
-
attributes: {
|
|
30
|
-
group: string;
|
|
31
|
-
state: string;
|
|
32
|
-
introduced: string;
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
value: ({
|
|
36
|
-
radius: number;
|
|
37
|
-
spread: number;
|
|
38
|
-
color: string;
|
|
39
|
-
offset: {
|
|
40
|
-
x: number;
|
|
41
|
-
y: number;
|
|
42
|
-
};
|
|
43
|
-
opacity: number;
|
|
44
|
-
inset: boolean;
|
|
45
|
-
} | {
|
|
46
|
-
radius: number;
|
|
47
|
-
offset: {
|
|
48
|
-
x: number;
|
|
49
|
-
y: number;
|
|
50
|
-
};
|
|
51
|
-
color: string;
|
|
52
|
-
opacity: number;
|
|
53
|
-
spread?: undefined;
|
|
54
|
-
inset?: undefined;
|
|
55
|
-
})[];
|
|
56
|
-
filePath: string;
|
|
57
|
-
isSource: boolean;
|
|
58
|
-
original: {
|
|
59
|
-
attributes: {
|
|
60
|
-
group: string;
|
|
61
|
-
state: string;
|
|
62
|
-
introduced: string;
|
|
63
|
-
description: string;
|
|
64
|
-
};
|
|
65
|
-
value: ({
|
|
66
|
-
radius: number;
|
|
67
|
-
spread: number;
|
|
68
|
-
color: string;
|
|
69
|
-
offset: {
|
|
70
|
-
x: number;
|
|
71
|
-
y: number;
|
|
72
|
-
};
|
|
73
|
-
opacity: number;
|
|
74
|
-
inset: boolean;
|
|
75
|
-
} | {
|
|
76
|
-
radius: number;
|
|
77
|
-
offset: {
|
|
78
|
-
x: number;
|
|
79
|
-
y: number;
|
|
80
|
-
};
|
|
81
|
-
color: string;
|
|
82
|
-
opacity: number;
|
|
83
|
-
spread?: undefined;
|
|
84
|
-
inset?: undefined;
|
|
85
|
-
})[];
|
|
86
|
-
};
|
|
87
|
-
name: string;
|
|
88
|
-
path: string[];
|
|
89
|
-
cleanName: string;
|
|
90
|
-
})[];
|
|
91
|
-
export default tokens;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::665c06f00cd5963095f2fe43b7787f07>>
|
|
4
|
-
* @codegenCommand yarn build tokens
|
|
5
|
-
*/
|
|
6
|
-
declare const tokens: ({
|
|
7
|
-
attributes: {
|
|
8
|
-
group: string;
|
|
9
|
-
state: string;
|
|
10
|
-
introduced: string;
|
|
11
|
-
description: string;
|
|
12
|
-
};
|
|
13
|
-
value: string;
|
|
14
|
-
filePath: string;
|
|
15
|
-
isSource: boolean;
|
|
16
|
-
original: {
|
|
17
|
-
attributes: {
|
|
18
|
-
group: string;
|
|
19
|
-
state: string;
|
|
20
|
-
introduced: string;
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
value: string;
|
|
24
|
-
};
|
|
25
|
-
name: string;
|
|
26
|
-
path: string[];
|
|
27
|
-
cleanName: string;
|
|
28
|
-
} | {
|
|
29
|
-
attributes: {
|
|
30
|
-
group: string;
|
|
31
|
-
state: string;
|
|
32
|
-
introduced: string;
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
value: ({
|
|
36
|
-
radius: number;
|
|
37
|
-
spread: number;
|
|
38
|
-
color: string;
|
|
39
|
-
offset: {
|
|
40
|
-
x: number;
|
|
41
|
-
y: number;
|
|
42
|
-
};
|
|
43
|
-
opacity: number;
|
|
44
|
-
inset: boolean;
|
|
45
|
-
} | {
|
|
46
|
-
radius: number;
|
|
47
|
-
offset: {
|
|
48
|
-
x: number;
|
|
49
|
-
y: number;
|
|
50
|
-
};
|
|
51
|
-
color: string;
|
|
52
|
-
opacity: number;
|
|
53
|
-
spread?: undefined;
|
|
54
|
-
inset?: undefined;
|
|
55
|
-
})[];
|
|
56
|
-
filePath: string;
|
|
57
|
-
isSource: boolean;
|
|
58
|
-
original: {
|
|
59
|
-
attributes: {
|
|
60
|
-
group: string;
|
|
61
|
-
state: string;
|
|
62
|
-
introduced: string;
|
|
63
|
-
description: string;
|
|
64
|
-
};
|
|
65
|
-
value: ({
|
|
66
|
-
radius: number;
|
|
67
|
-
spread: number;
|
|
68
|
-
color: string;
|
|
69
|
-
offset: {
|
|
70
|
-
x: number;
|
|
71
|
-
y: number;
|
|
72
|
-
};
|
|
73
|
-
opacity: number;
|
|
74
|
-
inset: boolean;
|
|
75
|
-
} | {
|
|
76
|
-
radius: number;
|
|
77
|
-
offset: {
|
|
78
|
-
x: number;
|
|
79
|
-
y: number;
|
|
80
|
-
};
|
|
81
|
-
color: string;
|
|
82
|
-
opacity: number;
|
|
83
|
-
spread?: undefined;
|
|
84
|
-
inset?: undefined;
|
|
85
|
-
})[];
|
|
86
|
-
};
|
|
87
|
-
name: string;
|
|
88
|
-
path: string[];
|
|
89
|
-
cleanName: string;
|
|
90
|
-
})[];
|
|
91
|
-
export default tokens;
|