@atlaskit/tokens 6.3.1 → 6.3.3
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 +14 -0
- package/dist/cjs/artifacts/generated-pairs.js +1 -1
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/palette.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-future.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +12 -11
- package/dist/cjs/babel-plugin/plugin.js +5 -2
- package/dist/cjs/entry-points/token-metadata.codegen.js +6 -6
- package/dist/cjs/entry-points/tokens-raw.js +9 -2
- package/dist/es2019/artifacts/generated-pairs.js +1 -1
- package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/palette.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/shape-palette.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-future.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +12 -11
- package/dist/es2019/babel-plugin/plugin.js +5 -2
- package/dist/es2019/entry-points/token-metadata.codegen.js +6 -6
- package/dist/es2019/entry-points/tokens-raw.js +3 -2
- package/dist/esm/artifacts/generated-pairs.js +1 -1
- package/dist/esm/artifacts/palettes-raw/legacy-palette.js +2 -1
- package/dist/esm/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
- package/dist/esm/artifacts/palettes-raw/palette.js +2 -1
- package/dist/esm/artifacts/palettes-raw/shape-palette.js +2 -1
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +2 -1
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light-future.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +12 -11
- package/dist/esm/babel-plugin/plugin.js +5 -2
- package/dist/esm/entry-points/token-metadata.codegen.js +6 -6
- package/dist/esm/entry-points/tokens-raw.js +3 -2
- package/dist/types/artifacts/generated-pairs.d.ts +4 -9
- package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
- package/dist/types/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
- package/dist/types/artifacts/palettes-raw/palette.d.ts +14 -30
- package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +13 -26
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +13 -26
- package/dist/types/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
- package/dist/types/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
- package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
- package/dist/types/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
- package/dist/types/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
- package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
- package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
- package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
- package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
- package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
- package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
- package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types/entry-points/tokens-raw.d.ts +3 -2
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +4 -9
- package/dist/types-ts4.5/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
- package/dist/types-ts4.5/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
- package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +14 -30
- package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +13 -26
- package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +13 -26
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
- package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +3 -2
- package/figma/atlassian-typography-adg3.json +2 -2
- package/figma/atlassian-typography-modernized.json +2 -2
- package/figma/atlassian-typography-refreshed.json +2 -2
- package/figma/atlassian-typography.json +2 -2
- package/offerings.json +32 -0
- package/package.json +9 -28
|
@@ -1,58 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::80e21582acfe238b3aab5d8c8d1ec831>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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: string;
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = string | {
|
|
8
|
+
fontWeight: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
fontFamily: string;
|
|
12
|
+
fontStyle: string;
|
|
13
|
+
letterSpacing: string;
|
|
14
|
+
};
|
|
15
|
+
type TokenAttributes = {
|
|
16
|
+
group: string;
|
|
17
|
+
state: string;
|
|
18
|
+
introduced: string;
|
|
19
|
+
description: string;
|
|
20
|
+
suggest?: string[];
|
|
21
|
+
deprecated?: string;
|
|
22
|
+
};
|
|
23
|
+
type Token = {
|
|
24
|
+
value: TokenValue;
|
|
36
25
|
filePath: string;
|
|
37
26
|
isSource: boolean;
|
|
27
|
+
attributes: TokenAttributes;
|
|
38
28
|
original: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
state: string;
|
|
42
|
-
introduced: string;
|
|
43
|
-
description: string;
|
|
44
|
-
};
|
|
45
|
-
value: {
|
|
46
|
-
fontWeight: string;
|
|
47
|
-
fontSize: string;
|
|
48
|
-
lineHeight: string;
|
|
49
|
-
fontFamily: string;
|
|
50
|
-
fontStyle: string;
|
|
51
|
-
letterSpacing: string;
|
|
52
|
-
};
|
|
29
|
+
value: TokenValueOriginal;
|
|
30
|
+
attributes: TokenAttributes;
|
|
53
31
|
};
|
|
54
32
|
name: string;
|
|
55
33
|
path: string[];
|
|
56
34
|
cleanName: string;
|
|
57
|
-
}
|
|
35
|
+
};
|
|
36
|
+
declare const tokens: Token[];
|
|
58
37
|
export default tokens;
|
|
@@ -1,58 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::d9a4e2432a4ea835e7ceac5c19e379b5>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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: string;
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = string | {
|
|
8
|
+
fontWeight: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
fontFamily: string;
|
|
12
|
+
fontStyle: string;
|
|
13
|
+
letterSpacing: string;
|
|
14
|
+
};
|
|
15
|
+
type TokenAttributes = {
|
|
16
|
+
group: string;
|
|
17
|
+
state: string;
|
|
18
|
+
introduced: string;
|
|
19
|
+
description: string;
|
|
20
|
+
suggest?: string[];
|
|
21
|
+
deprecated?: string;
|
|
22
|
+
};
|
|
23
|
+
type Token = {
|
|
24
|
+
value: TokenValue;
|
|
36
25
|
filePath: string;
|
|
37
26
|
isSource: boolean;
|
|
27
|
+
attributes: TokenAttributes;
|
|
38
28
|
original: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
state: string;
|
|
42
|
-
introduced: string;
|
|
43
|
-
description: string;
|
|
44
|
-
};
|
|
45
|
-
value: {
|
|
46
|
-
fontWeight: string;
|
|
47
|
-
fontSize: string;
|
|
48
|
-
lineHeight: string;
|
|
49
|
-
fontFamily: string;
|
|
50
|
-
fontStyle: string;
|
|
51
|
-
letterSpacing: string;
|
|
52
|
-
};
|
|
29
|
+
value: TokenValueOriginal;
|
|
30
|
+
attributes: TokenAttributes;
|
|
53
31
|
};
|
|
54
32
|
name: string;
|
|
55
33
|
path: string[];
|
|
56
34
|
cleanName: string;
|
|
57
|
-
}
|
|
35
|
+
};
|
|
36
|
+
declare const tokens: Token[];
|
|
58
37
|
export default tokens;
|
|
@@ -1,58 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::03640b642efa498f3c90b99101405f9e>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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: string;
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = string | {
|
|
8
|
+
fontWeight: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
fontFamily: string;
|
|
12
|
+
fontStyle: string;
|
|
13
|
+
letterSpacing: string;
|
|
14
|
+
};
|
|
15
|
+
type TokenAttributes = {
|
|
16
|
+
group: string;
|
|
17
|
+
state: string;
|
|
18
|
+
introduced: string;
|
|
19
|
+
description: string;
|
|
20
|
+
suggest?: string[];
|
|
21
|
+
deprecated?: string;
|
|
22
|
+
};
|
|
23
|
+
type Token = {
|
|
24
|
+
value: TokenValue;
|
|
36
25
|
filePath: string;
|
|
37
26
|
isSource: boolean;
|
|
27
|
+
attributes: TokenAttributes;
|
|
38
28
|
original: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
state: string;
|
|
42
|
-
introduced: string;
|
|
43
|
-
description: string;
|
|
44
|
-
};
|
|
45
|
-
value: {
|
|
46
|
-
fontWeight: string;
|
|
47
|
-
fontSize: string;
|
|
48
|
-
lineHeight: string;
|
|
49
|
-
fontFamily: string;
|
|
50
|
-
fontStyle: string;
|
|
51
|
-
letterSpacing: string;
|
|
52
|
-
};
|
|
29
|
+
value: TokenValueOriginal;
|
|
30
|
+
attributes: TokenAttributes;
|
|
53
31
|
};
|
|
54
32
|
name: string;
|
|
55
33
|
path: string[];
|
|
56
34
|
cleanName: string;
|
|
57
|
-
}
|
|
35
|
+
};
|
|
36
|
+
declare const tokens: Token[];
|
|
58
37
|
export default tokens;
|
|
@@ -1,58 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::2d82706aaef27f4b665743cafd879972>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
fontSize: string;
|
|
26
|
-
lineHeight: string;
|
|
27
|
-
fontFamily: string;
|
|
28
|
-
fontStyle: string;
|
|
29
|
-
letterSpacing: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
name: string;
|
|
33
|
-
path: string[];
|
|
34
|
-
cleanName: string;
|
|
35
|
-
} | {
|
|
36
|
-
attributes: {
|
|
37
|
-
group: string;
|
|
38
|
-
state: string;
|
|
39
|
-
introduced: string;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
value: string;
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = string | {
|
|
8
|
+
fontWeight: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
fontFamily: string;
|
|
12
|
+
fontStyle: string;
|
|
13
|
+
letterSpacing: string;
|
|
14
|
+
};
|
|
15
|
+
type TokenAttributes = {
|
|
16
|
+
group: string;
|
|
17
|
+
state: string;
|
|
18
|
+
introduced: string;
|
|
19
|
+
description: string;
|
|
20
|
+
suggest?: string[];
|
|
21
|
+
deprecated?: string;
|
|
22
|
+
};
|
|
23
|
+
type Token = {
|
|
24
|
+
value: TokenValue;
|
|
43
25
|
filePath: string;
|
|
44
26
|
isSource: boolean;
|
|
27
|
+
attributes: TokenAttributes;
|
|
45
28
|
original: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
state: string;
|
|
49
|
-
introduced: string;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
|
-
value: string;
|
|
29
|
+
value: TokenValueOriginal;
|
|
30
|
+
attributes: TokenAttributes;
|
|
53
31
|
};
|
|
54
32
|
name: string;
|
|
55
33
|
path: string[];
|
|
56
34
|
cleanName: string;
|
|
57
|
-
}
|
|
35
|
+
};
|
|
36
|
+
declare const tokens: Token[];
|
|
58
37
|
export default tokens;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Metadata for generation of of `@atlaskit/ads-mcp` and https://atlassian.design/llms-tokens.txt.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::e7aee1e60142ef9336a2208ccfa3aa22>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
export interface Token {
|
|
@@ -4,7 +4,8 @@ export { default as legacyLightTokens } from '../artifacts/tokens-raw/atlassian-
|
|
|
4
4
|
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
5
5
|
export { default as darkBrandRefresh } from '../artifacts/tokens-raw/atlassian-dark-brand-refresh';
|
|
6
6
|
export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
7
|
-
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography
|
|
8
|
-
export { default as typographyRefreshed } from '../artifacts/tokens-raw/atlassian-typography-refreshed';
|
|
7
|
+
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography';
|
|
9
8
|
export { default as typographyAdg3 } from '../artifacts/tokens-raw/atlassian-typography-adg3';
|
|
9
|
+
export { default as typographyModernized } from '../artifacts/tokens-raw/atlassian-typography-modernized';
|
|
10
|
+
export { default as typographyRefreshed } from '../artifacts/tokens-raw/atlassian-typography-refreshed';
|
|
10
11
|
export { default as shape } from '../artifacts/tokens-raw/atlassian-shape';
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"group": "fontFamily",
|
|
43
43
|
"state": "active",
|
|
44
44
|
"introduced": "1.14.0",
|
|
45
|
-
"description": "For our default
|
|
45
|
+
"description": "For our default UI heading text."
|
|
46
46
|
},
|
|
47
47
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
48
48
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"group": "fontFamily",
|
|
52
52
|
"state": "active",
|
|
53
53
|
"introduced": "1.14.0",
|
|
54
|
-
"description": "For our default
|
|
54
|
+
"description": "For our default UI body text."
|
|
55
55
|
},
|
|
56
56
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
57
57
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"group": "fontFamily",
|
|
43
43
|
"state": "active",
|
|
44
44
|
"introduced": "1.14.0",
|
|
45
|
-
"description": "For our default
|
|
45
|
+
"description": "For our default UI heading text."
|
|
46
46
|
},
|
|
47
47
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
48
48
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"group": "fontFamily",
|
|
52
52
|
"state": "active",
|
|
53
53
|
"introduced": "1.14.0",
|
|
54
|
-
"description": "For our default
|
|
54
|
+
"description": "For our default UI body text."
|
|
55
55
|
},
|
|
56
56
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
57
57
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"group": "fontFamily",
|
|
43
43
|
"state": "active",
|
|
44
44
|
"introduced": "1.14.0",
|
|
45
|
-
"description": "For our default
|
|
45
|
+
"description": "For our default UI heading text."
|
|
46
46
|
},
|
|
47
47
|
"value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
48
48
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"group": "fontFamily",
|
|
52
52
|
"state": "active",
|
|
53
53
|
"introduced": "1.14.0",
|
|
54
|
-
"description": "For our default
|
|
54
|
+
"description": "For our default UI body text."
|
|
55
55
|
},
|
|
56
56
|
"value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
57
57
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"group": "fontFamily",
|
|
43
43
|
"state": "active",
|
|
44
44
|
"introduced": "1.14.0",
|
|
45
|
-
"description": "For our default
|
|
45
|
+
"description": "For our default UI heading text."
|
|
46
46
|
},
|
|
47
47
|
"value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
48
48
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"group": "fontFamily",
|
|
52
52
|
"state": "active",
|
|
53
53
|
"introduced": "1.14.0",
|
|
54
|
-
"description": "For our default
|
|
54
|
+
"description": "For our default UI body text."
|
|
55
55
|
},
|
|
56
56
|
"value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
57
57
|
},
|
package/offerings.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "token",
|
|
4
|
+
"package": "@atlaskit/tokens",
|
|
5
|
+
"import": {
|
|
6
|
+
"name": "token",
|
|
7
|
+
"package": "@atlaskit/tokens",
|
|
8
|
+
"type": "named"
|
|
9
|
+
},
|
|
10
|
+
"type": "function",
|
|
11
|
+
"keywords": ["token", "design", "system", "color", "spacing", "typography", "radius", "theme", "css", "style", "variable"],
|
|
12
|
+
"categories": ["tokens"],
|
|
13
|
+
"shortDescription": "Design tokens provide consistent, semantic values for colors, spacing, typography, and other design properties across the Atlassian Design System. Use tokens instead of hardcoded values to ensure consistency and proper theming.",
|
|
14
|
+
"status": "general-availability",
|
|
15
|
+
"accessibilityGuidelines": [
|
|
16
|
+
"Use color tokens to ensure proper contrast ratios",
|
|
17
|
+
"Test color combinations for accessibility compliance",
|
|
18
|
+
"Use semantic color names (success, warning, danger) for better meaning"
|
|
19
|
+
],
|
|
20
|
+
"usageGuidelines": [
|
|
21
|
+
"AVOID hardcoding any CSS values where a token exists for that type; in many cases you may be forced to use a token",
|
|
22
|
+
"Use the `token()` function with inline styles or CSS-in-JS",
|
|
23
|
+
"Use semantic token names for better maintainability"
|
|
24
|
+
],
|
|
25
|
+
"generativeInstructions": [
|
|
26
|
+
"./docs/ai/color-instructions.md",
|
|
27
|
+
"./docs/ai/spacing-instructions.md",
|
|
28
|
+
"./docs/ai/border-radius-instructions.md"
|
|
29
|
+
],
|
|
30
|
+
"examples": ["./examples/ai/prototyping-no-compiled.tsx"]
|
|
31
|
+
}
|
|
32
|
+
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.3",
|
|
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/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"codegen-tokens": "run-ts ./scripts/style-dictionary/build.tsx && 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"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@atlaskit/ds-lib": "^5.
|
|
33
|
+
"@atlaskit/ds-lib": "^5.1.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"@babel/traverse": "^7.23.2",
|
|
@@ -43,27 +43,27 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@af/formatting": "workspace:^",
|
|
45
45
|
"@af/visual-regression": "workspace:^",
|
|
46
|
-
"@atlaskit/avatar": "^25.
|
|
46
|
+
"@atlaskit/avatar": "^25.2.0",
|
|
47
47
|
"@atlaskit/button": "^23.4.0",
|
|
48
48
|
"@atlaskit/calendar": "^17.1.0",
|
|
49
49
|
"@atlaskit/checkbox": "^17.1.0",
|
|
50
50
|
"@atlaskit/code": "^17.2.0",
|
|
51
51
|
"@atlaskit/css": "^0.14.0",
|
|
52
|
-
"@atlaskit/docs": "^11.
|
|
52
|
+
"@atlaskit/docs": "^11.1.0",
|
|
53
53
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
54
54
|
"@atlaskit/dynamic-table": "^18.2.0",
|
|
55
|
-
"@atlaskit/form": "^
|
|
55
|
+
"@atlaskit/form": "^14.1.0",
|
|
56
56
|
"@atlaskit/grid": "^0.18.0",
|
|
57
57
|
"@atlaskit/heading": "^5.2.0",
|
|
58
|
-
"@atlaskit/icon": "^28.
|
|
58
|
+
"@atlaskit/icon": "^28.3.0",
|
|
59
59
|
"@atlaskit/inline-message": "^15.3.0",
|
|
60
60
|
"@atlaskit/link": "^3.2.0",
|
|
61
61
|
"@atlaskit/lozenge": "^13.0.0",
|
|
62
|
-
"@atlaskit/popup": "^4.
|
|
63
|
-
"@atlaskit/primitives": "^14.
|
|
62
|
+
"@atlaskit/popup": "^4.4.0",
|
|
63
|
+
"@atlaskit/primitives": "^14.15.0",
|
|
64
64
|
"@atlaskit/radio": "^8.3.0",
|
|
65
65
|
"@atlaskit/section-message": "^8.7.0",
|
|
66
|
-
"@atlaskit/select": "^21.
|
|
66
|
+
"@atlaskit/select": "^21.3.0",
|
|
67
67
|
"@atlaskit/tag": "^14.1.0",
|
|
68
68
|
"@atlaskit/textarea": "^8.0.0",
|
|
69
69
|
"@atlaskit/textfield": "^8.0.0",
|
|
@@ -118,22 +118,6 @@
|
|
|
118
118
|
]
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
|
-
"af:exports": {
|
|
122
|
-
".": "./src/index.tsx",
|
|
123
|
-
"./custom-themes": "./src/entry-points/custom-themes.tsx",
|
|
124
|
-
"./figma/atlassian-light.json": "./figma/atlassian-light.json",
|
|
125
|
-
"./figma/atlassian-dark.json": "./figma/atlassian-dark.json",
|
|
126
|
-
"./palettes-raw": "./src/entry-points/palettes-raw.tsx",
|
|
127
|
-
"./tokens-raw": "./src/entry-points/tokens-raw.tsx",
|
|
128
|
-
"./token-ids": "./src/entry-points/token-ids.tsx",
|
|
129
|
-
"./token-names": "./src/entry-points/token-names.tsx",
|
|
130
|
-
"./token-metadata": "./src/entry-points/token-metadata.codegen.tsx",
|
|
131
|
-
"./token-order": "./src/entry-points/token-order.tsx",
|
|
132
|
-
"./token-default-values": "./src/entry-points/token-default-values.tsx",
|
|
133
|
-
"./rename-mapping": "./src/entry-points/rename-mapping.tsx",
|
|
134
|
-
"./babel-plugin": "./src/entry-points/babel-plugin.tsx",
|
|
135
|
-
"./css-type-schema": "./src/entry-points/css-type-schema.codegen.tsx"
|
|
136
|
-
},
|
|
137
121
|
"platform-feature-flags": {
|
|
138
122
|
"platform_increased-contrast-themes": {
|
|
139
123
|
"type": "boolean"
|
|
@@ -141,9 +125,6 @@
|
|
|
141
125
|
"platform-component-visual-refresh": {
|
|
142
126
|
"type": "boolean"
|
|
143
127
|
},
|
|
144
|
-
"platform-default-typography-refreshed": {
|
|
145
|
-
"type": "boolean"
|
|
146
|
-
},
|
|
147
128
|
"platform-disable-default-typography": {
|
|
148
129
|
"type": "boolean"
|
|
149
130
|
},
|