@atlaskit/tokens 6.3.2 → 6.4.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.
Files changed (135) hide show
  1. package/CHANGELOG.md +22 -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 +2 -1
  24. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +2 -1
  25. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +2 -1
  26. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +2 -1
  27. package/dist/cjs/babel-plugin/plugin.js +4 -1
  28. package/dist/cjs/set-global-theme.js +30 -23
  29. package/dist/es2019/artifacts/generated-pairs.js +1 -1
  30. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +2 -1
  31. package/dist/es2019/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  32. package/dist/es2019/artifacts/palettes-raw/palette.js +2 -1
  33. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +2 -1
  34. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +2 -1
  35. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +2 -1
  36. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +2 -1
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  43. package/dist/es2019/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  45. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +2 -1
  46. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  47. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  48. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +2 -1
  49. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  50. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +2 -1
  51. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +2 -1
  52. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +2 -1
  53. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +2 -1
  54. package/dist/es2019/babel-plugin/plugin.js +4 -1
  55. package/dist/es2019/set-global-theme.js +17 -10
  56. package/dist/esm/artifacts/generated-pairs.js +1 -1
  57. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +2 -1
  58. package/dist/esm/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  59. package/dist/esm/artifacts/palettes-raw/palette.js +2 -1
  60. package/dist/esm/artifacts/palettes-raw/shape-palette.js +2 -1
  61. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +2 -1
  62. package/dist/esm/artifacts/palettes-raw/typography-palette.js +2 -1
  63. package/dist/esm/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  64. package/dist/esm/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  65. package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  66. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +2 -1
  67. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  68. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  69. package/dist/esm/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  70. package/dist/esm/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  71. package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  72. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +2 -1
  73. package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  74. package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  75. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +2 -1
  76. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +2 -1
  78. package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +2 -1
  79. package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +2 -1
  80. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +2 -1
  81. package/dist/esm/babel-plugin/plugin.js +4 -1
  82. package/dist/esm/set-global-theme.js +30 -23
  83. package/dist/types/artifacts/generated-pairs.d.ts +4 -9
  84. package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  85. package/dist/types/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  86. package/dist/types/artifacts/palettes-raw/palette.d.ts +14 -30
  87. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  88. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  89. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  90. package/dist/types/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  91. package/dist/types/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  92. package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  93. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  94. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  95. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  96. package/dist/types/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  97. package/dist/types/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  98. package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  99. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  100. package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  101. package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  102. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  103. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  104. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  105. package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  106. package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  107. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  108. package/dist/types/set-global-theme.d.ts +1 -1
  109. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +4 -9
  110. package/dist/types-ts4.5/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  111. package/dist/types-ts4.5/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  112. package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +14 -30
  113. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  114. package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  115. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  116. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  117. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  118. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  119. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  120. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  121. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  122. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  123. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  124. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  125. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  126. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  127. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  128. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  129. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  130. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  131. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  132. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  133. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  134. package/dist/types-ts4.5/set-global-theme.d.ts +1 -1
  135. package/package.json +4 -4
@@ -1,89 +1,50 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::621312f3cbdb221281b52b23cf9e6c58>>
3
+ * @codegen <<SignedSource::0ddb883a95cb1a36c2ce1db708181be1>>
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;
6
+ type TokenValue = string | number | {
7
+ radius: number;
8
+ offset: {
9
+ x: number;
10
+ y: number;
12
11
  };
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
- offset: {
38
- x: number;
39
- y: number;
40
- };
41
- color: string;
42
- opacity: number;
43
- }[];
44
- filePath: string;
45
- isSource: boolean;
46
- original: {
47
- attributes: {
48
- group: string;
49
- state: string;
50
- introduced: string;
51
- description: string;
52
- };
53
- value: {
54
- radius: number;
55
- offset: {
56
- x: number;
57
- y: number;
58
- };
59
- color: string;
60
- opacity: number;
61
- }[];
62
- };
63
- name: string;
64
- path: string[];
65
- cleanName: string;
66
- } | {
67
- attributes: {
68
- group: string;
69
- state: string;
70
- introduced: string;
71
- description: string;
12
+ color: string;
13
+ opacity: number;
14
+ spread?: number;
15
+ inset?: boolean;
16
+ }[];
17
+ type TokenValueOriginal = string | {
18
+ radius: number;
19
+ offset: {
20
+ x: number;
21
+ y: number;
72
22
  };
73
- value: number;
23
+ color: string;
24
+ opacity: number;
25
+ spread?: number;
26
+ inset?: boolean;
27
+ }[];
28
+ type TokenAttributes = {
29
+ group: string;
30
+ state: string;
31
+ introduced: string;
32
+ description: string;
33
+ suggest?: string[];
34
+ deprecated?: string;
35
+ };
36
+ type Token = {
37
+ value: TokenValue;
74
38
  filePath: string;
75
39
  isSource: boolean;
40
+ attributes: TokenAttributes;
76
41
  original: {
77
- attributes: {
78
- group: string;
79
- state: string;
80
- introduced: string;
81
- description: string;
82
- };
83
- value: string;
42
+ value: TokenValueOriginal;
43
+ attributes: TokenAttributes;
84
44
  };
85
45
  name: string;
86
46
  path: string[];
87
47
  cleanName: string;
88
- })[];
48
+ };
49
+ declare const tokens: Token[];
89
50
  export default tokens;
@@ -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::9f7396048d77a42862f986e9f2aa144e>>
3
+ * @codegen <<SignedSource::ae0db95e6643057107d0c09628e379a7>>
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,85 +1,30 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::05611dfd0ca8208c27a67efbdb8a44f0>>
3
+ * @codegen <<SignedSource::62159541fb88b669eb2ad0f06e7e0daf>>
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,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::329c848af71c3d96d855087c3791e2ef>>
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::c0d5e0833c4c903bceceac9b9739bbdf>>
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;