@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.
Files changed (145) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/artifacts/generated-pairs.js +1 -1
  3. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +2 -1
  4. package/dist/cjs/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  5. package/dist/cjs/artifacts/palettes-raw/palette.js +2 -1
  6. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +2 -1
  7. package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +2 -1
  8. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +2 -1
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +2 -1
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  18. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +2 -1
  19. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  20. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  21. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +2 -1
  22. package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  23. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
  24. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
  25. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
  26. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +12 -11
  27. package/dist/cjs/babel-plugin/plugin.js +5 -2
  28. package/dist/cjs/entry-points/token-metadata.codegen.js +6 -6
  29. package/dist/cjs/entry-points/tokens-raw.js +9 -2
  30. package/dist/es2019/artifacts/generated-pairs.js +1 -1
  31. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +2 -1
  32. package/dist/es2019/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  33. package/dist/es2019/artifacts/palettes-raw/palette.js +2 -1
  34. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +2 -1
  35. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +2 -1
  36. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +2 -1
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +2 -1
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  43. package/dist/es2019/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  45. package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  46. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +2 -1
  47. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  48. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  49. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +2 -1
  50. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  51. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
  52. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
  53. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
  54. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +12 -11
  55. package/dist/es2019/babel-plugin/plugin.js +5 -2
  56. package/dist/es2019/entry-points/token-metadata.codegen.js +6 -6
  57. package/dist/es2019/entry-points/tokens-raw.js +3 -2
  58. package/dist/esm/artifacts/generated-pairs.js +1 -1
  59. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +2 -1
  60. package/dist/esm/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  61. package/dist/esm/artifacts/palettes-raw/palette.js +2 -1
  62. package/dist/esm/artifacts/palettes-raw/shape-palette.js +2 -1
  63. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +2 -1
  64. package/dist/esm/artifacts/palettes-raw/typography-palette.js +2 -1
  65. package/dist/esm/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  66. package/dist/esm/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  67. package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  68. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +2 -1
  69. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  70. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  71. package/dist/esm/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  72. package/dist/esm/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  73. package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  74. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +2 -1
  75. package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  76. package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +2 -1
  78. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  79. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
  80. package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
  81. package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
  82. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +12 -11
  83. package/dist/esm/babel-plugin/plugin.js +5 -2
  84. package/dist/esm/entry-points/token-metadata.codegen.js +6 -6
  85. package/dist/esm/entry-points/tokens-raw.js +3 -2
  86. package/dist/types/artifacts/generated-pairs.d.ts +4 -9
  87. package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  88. package/dist/types/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  89. package/dist/types/artifacts/palettes-raw/palette.d.ts +14 -30
  90. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  91. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  92. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  93. package/dist/types/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  94. package/dist/types/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  95. package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  96. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  97. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  98. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  99. package/dist/types/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  100. package/dist/types/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  101. package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  102. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  103. package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  104. package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  105. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  106. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  107. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  108. package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  109. package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  110. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  111. package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
  112. package/dist/types/entry-points/tokens-raw.d.ts +3 -2
  113. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +4 -9
  114. package/dist/types-ts4.5/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  115. package/dist/types-ts4.5/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  116. package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +14 -30
  117. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  118. package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  119. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  120. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  121. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  122. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  123. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  124. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  125. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  126. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  127. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  128. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  129. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  130. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  131. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  132. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  133. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  134. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  135. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  136. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  137. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  138. package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
  139. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +3 -2
  140. package/figma/atlassian-typography-adg3.json +2 -2
  141. package/figma/atlassian-typography-modernized.json +2 -2
  142. package/figma/atlassian-typography-refreshed.json +2 -2
  143. package/figma/atlassian-typography.json +2 -2
  144. package/offerings.json +32 -0
  145. package/package.json +9 -28
@@ -1,85 +1,30 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::cb61446316a92e7f26958e3ca733fd1e>>
3
+ * @codegen <<SignedSource::f3ee3158256a13e7401785620da6d439>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- attributes: {
8
- group: string;
9
- state: string;
10
- suggest: string[];
11
- introduced: string;
12
- description: string;
13
- deprecated?: undefined;
14
- };
15
- value: string;
16
- filePath: string;
17
- isSource: boolean;
18
- original: {
19
- attributes: {
20
- group: string;
21
- state: string;
22
- suggest: string[];
23
- introduced: string;
24
- description: string;
25
- deprecated?: undefined;
26
- };
27
- value: string;
28
- };
29
- name: string;
30
- path: string[];
31
- cleanName: string;
32
- } | {
33
- attributes: {
34
- group: string;
35
- state: string;
36
- introduced: string;
37
- description: string;
38
- suggest?: undefined;
39
- deprecated?: undefined;
40
- };
41
- value: string;
42
- filePath: string;
43
- isSource: boolean;
44
- original: {
45
- attributes: {
46
- group: string;
47
- state: string;
48
- introduced: string;
49
- description: string;
50
- suggest?: undefined;
51
- deprecated?: undefined;
52
- };
53
- value: string;
54
- };
55
- name: string;
56
- path: string[];
57
- cleanName: string;
58
- } | {
59
- attributes: {
60
- group: string;
61
- state: string;
62
- introduced: string;
63
- deprecated: string;
64
- description: string;
65
- suggest?: undefined;
66
- };
67
- value: string;
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ state: string;
11
+ introduced: string;
12
+ description: string;
13
+ suggest?: string[];
14
+ deprecated?: string;
15
+ };
16
+ type Token = {
17
+ value: TokenValue;
68
18
  filePath: string;
69
19
  isSource: boolean;
20
+ attributes: TokenAttributes;
70
21
  original: {
71
- attributes: {
72
- group: string;
73
- state: string;
74
- introduced: string;
75
- deprecated: string;
76
- description: string;
77
- suggest?: undefined;
78
- };
79
- value: string;
22
+ value: TokenValueOriginal;
23
+ attributes: TokenAttributes;
80
24
  };
81
25
  name: string;
82
26
  path: string[];
83
27
  cleanName: string;
84
- })[];
28
+ };
29
+ declare const tokens: Token[];
85
30
  export default tokens;
@@ -1,55 +1,30 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::b5cb4872c7a2014d836a8fa15e4c0102>>
3
+ * @codegen <<SignedSource::c5e6cf9e70d065b7daac533ac0569acf>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- attributes: {
8
- group: string;
9
- state: string;
10
- introduced: string;
11
- description: string;
12
- suggest?: undefined;
13
- };
14
- value: string;
15
- filePath: string;
16
- isSource: boolean;
17
- original: {
18
- attributes: {
19
- group: string;
20
- state: string;
21
- introduced: string;
22
- description: string;
23
- suggest?: undefined;
24
- };
25
- value: string;
26
- };
27
- name: string;
28
- path: string[];
29
- cleanName: string;
30
- } | {
31
- attributes: {
32
- group: string;
33
- state: string;
34
- suggest: string[];
35
- introduced: string;
36
- description: string;
37
- };
38
- value: string;
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ state: string;
11
+ introduced: string;
12
+ description: string;
13
+ suggest?: string[];
14
+ deprecated?: string;
15
+ };
16
+ type Token = {
17
+ value: TokenValue;
39
18
  filePath: string;
40
19
  isSource: boolean;
20
+ attributes: TokenAttributes;
41
21
  original: {
42
- attributes: {
43
- group: string;
44
- state: string;
45
- suggest: string[];
46
- introduced: string;
47
- description: string;
48
- };
49
- value: string;
22
+ value: TokenValueOriginal;
23
+ attributes: TokenAttributes;
50
24
  };
51
25
  name: string;
52
26
  path: string[];
53
27
  cleanName: string;
54
- })[];
28
+ };
29
+ declare const tokens: Token[];
55
30
  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::25358e138280ef2e45273d04317a2c5d>>
3
+ * @codegen <<SignedSource::80e21582acfe238b3aab5d8c8d1ec831>>
4
4
  * @codegenCommand yarn build tokens
5
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: 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
- attributes: {
40
- group: string;
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::291e1edce99c0e4f79235fa3dfd68462>>
3
+ * @codegen <<SignedSource::d9a4e2432a4ea835e7ceac5c19e379b5>>
4
4
  * @codegenCommand yarn build tokens
5
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: 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
- attributes: {
40
- group: string;
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::c3c9aca6d0ec1fc0ca5113618a6baabd>>
3
+ * @codegen <<SignedSource::03640b642efa498f3c90b99101405f9e>>
4
4
  * @codegenCommand yarn build tokens
5
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: 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
- attributes: {
40
- group: string;
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::98ab89891ee24bccb839dea132325f91>>
3
+ * @codegen <<SignedSource::2d82706aaef27f4b665743cafd879972>>
4
4
  * @codegenCommand yarn build tokens
5
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: {
24
- fontWeight: string;
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
- attributes: {
47
- group: string;
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::8f8418aa1d6ba188bbe4113e52db79c6>>
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-modernized';
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';
@@ -4,18 +4,13 @@
4
4
  * Auto-generated list of token pairings that may need to have sufficient contrast.
5
5
  * Not currently used by tests, but is used by the custom theme contrast checker example
6
6
  *
7
- * @codegen <<SignedSource::910f70438e695b9115622b2cd52a4aea>>
7
+ * @codegen <<SignedSource::0eb97f6b58ef4db8602f525bf6140cc0>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
- export declare const generatedPairs: ({
10
+ export declare const generatedPairs: {
11
11
  foreground: string;
12
12
  background: string;
13
13
  desiredContrast: number;
14
- layeredTokens: string[];
15
- } | {
16
- foreground: string;
17
- background: string;
18
- desiredContrast: number;
19
- layeredTokens?: undefined;
20
- })[];
14
+ layeredTokens?: string[];
15
+ }[];
21
16
  export default generatedPairs;
@@ -1,41 +1,25 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::5fb765784561d214bcc78d25188fa47e>>
3
+ * @codegen <<SignedSource::012be6ddb918f408e4258335916d9334>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- value: string;
8
- attributes: {
9
- group: string;
10
- category: string;
11
- };
12
- filePath: string;
13
- isSource: boolean;
14
- original: {
15
- value: string;
16
- attributes: {
17
- group: string;
18
- category: string;
19
- };
20
- };
21
- name: string;
22
- path: string[];
23
- } | {
24
- value: number;
25
- attributes: {
26
- group: string;
27
- category: string;
28
- };
6
+ type TokenValue = string | number;
7
+ type TokenValueOriginal = string | number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ category: string;
11
+ };
12
+ type Token = {
13
+ value: TokenValue;
29
14
  filePath: string;
30
15
  isSource: boolean;
16
+ attributes: TokenAttributes;
31
17
  original: {
32
- value: number;
33
- attributes: {
34
- group: string;
35
- category: string;
36
- };
18
+ value: TokenValueOriginal;
19
+ attributes: TokenAttributes;
37
20
  };
38
21
  name: string;
39
22
  path: string[];
40
- })[];
23
+ };
24
+ declare const tokens: Token[];
41
25
  export default tokens;
@@ -1,41 +1,25 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::a06fa043504c1e55d9871df9eab477b6>>
3
+ * @codegen <<SignedSource::54883f28091f3d25251716094b262928>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- value: string;
8
- attributes: {
9
- group: string;
10
- category: string;
11
- };
12
- filePath: string;
13
- isSource: boolean;
14
- original: {
15
- value: string;
16
- attributes: {
17
- group: string;
18
- category: string;
19
- };
20
- };
21
- name: string;
22
- path: string[];
23
- } | {
24
- value: number;
25
- attributes: {
26
- group: string;
27
- category: string;
28
- };
6
+ type TokenValue = string | number;
7
+ type TokenValueOriginal = string | number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ category: string;
11
+ };
12
+ type Token = {
13
+ value: TokenValue;
29
14
  filePath: string;
30
15
  isSource: boolean;
16
+ attributes: TokenAttributes;
31
17
  original: {
32
- value: number;
33
- attributes: {
34
- group: string;
35
- category: string;
36
- };
18
+ value: TokenValueOriginal;
19
+ attributes: TokenAttributes;
37
20
  };
38
21
  name: string;
39
22
  path: string[];
40
- })[];
23
+ };
24
+ declare const tokens: Token[];
41
25
  export default tokens;