@atlaskit/tokens 0.10.15 → 0.10.18

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 (118) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/css/atlassian-legacy-dark.css +290 -0
  3. package/css/atlassian-legacy-light.css +290 -0
  4. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +86 -69
  5. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +6758 -0
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +6718 -0
  7. package/dist/cjs/constants.js +4 -2
  8. package/dist/cjs/get-token.js +1 -1
  9. package/dist/cjs/palettes/legacy-palette.js +41 -34
  10. package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +296 -0
  11. package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +250 -0
  12. package/dist/cjs/tokens/atlassian-legacy-dark/color/border.js +53 -0
  13. package/dist/cjs/tokens/atlassian-legacy-dark/color/icon.js +52 -0
  14. package/dist/cjs/tokens/atlassian-legacy-dark/color/interaction.js +22 -0
  15. package/dist/cjs/tokens/atlassian-legacy-dark/color/skeleton.js +20 -0
  16. package/dist/cjs/tokens/atlassian-legacy-dark/color/text.js +63 -0
  17. package/dist/cjs/tokens/atlassian-legacy-dark/deprecated/deprecated.js +532 -0
  18. package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +89 -0
  19. package/dist/cjs/tokens/atlassian-legacy-dark/elevation/surface.js +26 -0
  20. package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +20 -0
  21. package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +296 -0
  22. package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +249 -0
  23. package/dist/cjs/tokens/atlassian-legacy-light/color/border.js +53 -0
  24. package/dist/cjs/tokens/atlassian-legacy-light/color/icon.js +52 -0
  25. package/dist/cjs/tokens/atlassian-legacy-light/color/interaction.js +22 -0
  26. package/dist/cjs/tokens/atlassian-legacy-light/color/skeleton.js +20 -0
  27. package/dist/cjs/tokens/atlassian-legacy-light/color/text.js +63 -0
  28. package/dist/cjs/tokens/atlassian-legacy-light/deprecated/deprecated.js +523 -0
  29. package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +71 -0
  30. package/dist/cjs/tokens/atlassian-legacy-light/elevation/surface.js +26 -0
  31. package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +20 -0
  32. package/dist/cjs/version.json +1 -1
  33. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +86 -69
  34. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +6750 -0
  35. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +6710 -0
  36. package/dist/es2019/constants.js +4 -2
  37. package/dist/es2019/get-token.js +1 -1
  38. package/dist/es2019/palettes/legacy-palette.js +41 -34
  39. package/dist/es2019/tokens/atlassian-legacy-dark/color/accent.js +289 -0
  40. package/dist/es2019/tokens/atlassian-legacy-dark/color/background.js +243 -0
  41. package/dist/es2019/tokens/atlassian-legacy-dark/color/border.js +46 -0
  42. package/dist/es2019/tokens/atlassian-legacy-dark/color/icon.js +45 -0
  43. package/dist/es2019/tokens/atlassian-legacy-dark/color/interaction.js +15 -0
  44. package/dist/es2019/tokens/atlassian-legacy-dark/color/skeleton.js +13 -0
  45. package/dist/es2019/tokens/atlassian-legacy-dark/color/text.js +56 -0
  46. package/dist/es2019/tokens/atlassian-legacy-dark/deprecated/deprecated.js +525 -0
  47. package/dist/es2019/tokens/atlassian-legacy-dark/elevation/shadow.js +82 -0
  48. package/dist/es2019/tokens/atlassian-legacy-dark/elevation/surface.js +19 -0
  49. package/dist/es2019/tokens/atlassian-legacy-dark/utility/utility.js +13 -0
  50. package/dist/es2019/tokens/atlassian-legacy-light/color/accent.js +289 -0
  51. package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +242 -0
  52. package/dist/es2019/tokens/atlassian-legacy-light/color/border.js +46 -0
  53. package/dist/es2019/tokens/atlassian-legacy-light/color/icon.js +45 -0
  54. package/dist/es2019/tokens/atlassian-legacy-light/color/interaction.js +15 -0
  55. package/dist/es2019/tokens/atlassian-legacy-light/color/skeleton.js +13 -0
  56. package/dist/es2019/tokens/atlassian-legacy-light/color/text.js +56 -0
  57. package/dist/es2019/tokens/atlassian-legacy-light/deprecated/deprecated.js +516 -0
  58. package/dist/es2019/tokens/atlassian-legacy-light/elevation/shadow.js +64 -0
  59. package/dist/es2019/tokens/atlassian-legacy-light/elevation/surface.js +19 -0
  60. package/dist/es2019/tokens/atlassian-legacy-light/utility/utility.js +13 -0
  61. package/dist/es2019/version.json +1 -1
  62. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +86 -69
  63. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +6750 -0
  64. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +6710 -0
  65. package/dist/esm/constants.js +4 -2
  66. package/dist/esm/get-token.js +1 -1
  67. package/dist/esm/palettes/legacy-palette.js +41 -34
  68. package/dist/esm/tokens/atlassian-legacy-dark/color/accent.js +289 -0
  69. package/dist/esm/tokens/atlassian-legacy-dark/color/background.js +243 -0
  70. package/dist/esm/tokens/atlassian-legacy-dark/color/border.js +46 -0
  71. package/dist/esm/tokens/atlassian-legacy-dark/color/icon.js +45 -0
  72. package/dist/esm/tokens/atlassian-legacy-dark/color/interaction.js +15 -0
  73. package/dist/esm/tokens/atlassian-legacy-dark/color/skeleton.js +13 -0
  74. package/dist/esm/tokens/atlassian-legacy-dark/color/text.js +56 -0
  75. package/dist/esm/tokens/atlassian-legacy-dark/deprecated/deprecated.js +525 -0
  76. package/dist/esm/tokens/atlassian-legacy-dark/elevation/shadow.js +82 -0
  77. package/dist/esm/tokens/atlassian-legacy-dark/elevation/surface.js +19 -0
  78. package/dist/esm/tokens/atlassian-legacy-dark/utility/utility.js +13 -0
  79. package/dist/esm/tokens/atlassian-legacy-light/color/accent.js +289 -0
  80. package/dist/esm/tokens/atlassian-legacy-light/color/background.js +242 -0
  81. package/dist/esm/tokens/atlassian-legacy-light/color/border.js +46 -0
  82. package/dist/esm/tokens/atlassian-legacy-light/color/icon.js +45 -0
  83. package/dist/esm/tokens/atlassian-legacy-light/color/interaction.js +15 -0
  84. package/dist/esm/tokens/atlassian-legacy-light/color/skeleton.js +13 -0
  85. package/dist/esm/tokens/atlassian-legacy-light/color/text.js +56 -0
  86. package/dist/esm/tokens/atlassian-legacy-light/deprecated/deprecated.js +516 -0
  87. package/dist/esm/tokens/atlassian-legacy-light/elevation/shadow.js +64 -0
  88. package/dist/esm/tokens/atlassian-legacy-light/elevation/surface.js +19 -0
  89. package/dist/esm/tokens/atlassian-legacy-light/utility/utility.js +13 -0
  90. package/dist/esm/version.json +1 -1
  91. package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +1 -1
  92. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +195 -0
  93. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +147 -0
  94. package/dist/types/constants.d.ts +3 -1
  95. package/dist/types/palettes/legacy-palette.d.ts +1 -1
  96. package/dist/types/tokens/atlassian-legacy-dark/color/accent.d.ts +4 -0
  97. package/dist/types/tokens/atlassian-legacy-dark/color/background.d.ts +4 -0
  98. package/dist/types/tokens/atlassian-legacy-dark/color/border.d.ts +4 -0
  99. package/dist/types/tokens/atlassian-legacy-dark/color/icon.d.ts +4 -0
  100. package/dist/types/tokens/atlassian-legacy-dark/color/interaction.d.ts +4 -0
  101. package/dist/types/tokens/atlassian-legacy-dark/color/skeleton.d.ts +4 -0
  102. package/dist/types/tokens/atlassian-legacy-dark/color/text.d.ts +4 -0
  103. package/dist/types/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +4 -0
  104. package/dist/types/tokens/atlassian-legacy-dark/elevation/shadow.d.ts +4 -0
  105. package/dist/types/tokens/atlassian-legacy-dark/elevation/surface.d.ts +4 -0
  106. package/dist/types/tokens/atlassian-legacy-dark/utility/utility.d.ts +5 -0
  107. package/dist/types/tokens/atlassian-legacy-light/color/accent.d.ts +4 -0
  108. package/dist/types/tokens/atlassian-legacy-light/color/background.d.ts +4 -0
  109. package/dist/types/tokens/atlassian-legacy-light/color/border.d.ts +4 -0
  110. package/dist/types/tokens/atlassian-legacy-light/color/icon.d.ts +4 -0
  111. package/dist/types/tokens/atlassian-legacy-light/color/interaction.d.ts +4 -0
  112. package/dist/types/tokens/atlassian-legacy-light/color/skeleton.d.ts +4 -0
  113. package/dist/types/tokens/atlassian-legacy-light/color/text.d.ts +4 -0
  114. package/dist/types/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +4 -0
  115. package/dist/types/tokens/atlassian-legacy-light/elevation/shadow.d.ts +4 -0
  116. package/dist/types/tokens/atlassian-legacy-light/elevation/surface.d.ts +4 -0
  117. package/dist/types/tokens/atlassian-legacy-light/utility/utility.d.ts +5 -0
  118. package/package.json +18 -16
@@ -0,0 +1,195 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::1db540cf97cd7f307fc628bbb5346972>>
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
+ deprecated?: undefined;
13
+ deleted?: undefined;
14
+ replacement?: undefined;
15
+ };
16
+ value: string;
17
+ filePath: string;
18
+ isSource: boolean;
19
+ original: {
20
+ attributes: {
21
+ group: string;
22
+ state: string;
23
+ introduced: string;
24
+ description: string;
25
+ deprecated?: undefined;
26
+ deleted?: undefined;
27
+ replacement?: undefined;
28
+ };
29
+ value: string;
30
+ };
31
+ name: string;
32
+ path: string[];
33
+ } | {
34
+ attributes: {
35
+ group: string;
36
+ state: string;
37
+ introduced: string;
38
+ deprecated: string;
39
+ deleted: string;
40
+ replacement: string;
41
+ description: string;
42
+ };
43
+ value: string;
44
+ filePath: string;
45
+ isSource: boolean;
46
+ original: {
47
+ attributes: {
48
+ group: string;
49
+ state: string;
50
+ introduced: string;
51
+ deprecated: string;
52
+ deleted: string;
53
+ replacement: string;
54
+ description: string;
55
+ };
56
+ value: string;
57
+ };
58
+ name: string;
59
+ path: string[];
60
+ } | {
61
+ attributes: {
62
+ group: string;
63
+ state: string;
64
+ introduced: string;
65
+ deprecated: string;
66
+ deleted: string;
67
+ replacement: string;
68
+ description: string;
69
+ };
70
+ value: ({
71
+ radius: number;
72
+ spread: number;
73
+ color: string;
74
+ offset: {
75
+ x: number;
76
+ y: number;
77
+ };
78
+ opacity: number;
79
+ inset: boolean;
80
+ } | {
81
+ radius: number;
82
+ offset: {
83
+ x: number;
84
+ y: number;
85
+ };
86
+ color: string;
87
+ opacity: number;
88
+ spread?: undefined;
89
+ inset?: undefined;
90
+ })[];
91
+ filePath: string;
92
+ isSource: boolean;
93
+ original: {
94
+ attributes: {
95
+ group: string;
96
+ state: string;
97
+ introduced: string;
98
+ deprecated: string;
99
+ deleted: string;
100
+ replacement: string;
101
+ description: string;
102
+ };
103
+ value: ({
104
+ radius: number;
105
+ spread: number;
106
+ color: string;
107
+ offset: {
108
+ x: number;
109
+ y: number;
110
+ };
111
+ opacity: number;
112
+ inset: boolean;
113
+ } | {
114
+ radius: number;
115
+ offset: {
116
+ x: number;
117
+ y: number;
118
+ };
119
+ color: string;
120
+ opacity: number;
121
+ spread?: undefined;
122
+ inset?: undefined;
123
+ })[];
124
+ };
125
+ name: string;
126
+ path: string[];
127
+ } | {
128
+ attributes: {
129
+ group: string;
130
+ state: string;
131
+ introduced: string;
132
+ description: string;
133
+ deprecated?: undefined;
134
+ deleted?: undefined;
135
+ replacement?: undefined;
136
+ };
137
+ value: ({
138
+ radius: number;
139
+ spread: number;
140
+ color: string;
141
+ offset: {
142
+ x: number;
143
+ y: number;
144
+ };
145
+ opacity: number;
146
+ inset: boolean;
147
+ } | {
148
+ radius: number;
149
+ offset: {
150
+ x: number;
151
+ y: number;
152
+ };
153
+ color: string;
154
+ opacity: number;
155
+ spread?: undefined;
156
+ inset?: undefined;
157
+ })[];
158
+ filePath: string;
159
+ isSource: boolean;
160
+ original: {
161
+ attributes: {
162
+ group: string;
163
+ state: string;
164
+ introduced: string;
165
+ description: string;
166
+ deprecated?: undefined;
167
+ deleted?: undefined;
168
+ replacement?: undefined;
169
+ };
170
+ value: ({
171
+ radius: number;
172
+ spread: number;
173
+ color: string;
174
+ offset: {
175
+ x: number;
176
+ y: number;
177
+ };
178
+ opacity: number;
179
+ inset: boolean;
180
+ } | {
181
+ radius: number;
182
+ offset: {
183
+ x: number;
184
+ y: number;
185
+ };
186
+ color: string;
187
+ opacity: number;
188
+ spread?: undefined;
189
+ inset?: undefined;
190
+ })[];
191
+ };
192
+ name: string;
193
+ path: string[];
194
+ })[];
195
+ export default tokens;
@@ -0,0 +1,147 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::6a9c9852352020740a85fbffbcc447e3>>
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
+ deprecated?: undefined;
13
+ deleted?: undefined;
14
+ replacement?: undefined;
15
+ };
16
+ value: string;
17
+ filePath: string;
18
+ isSource: boolean;
19
+ original: {
20
+ attributes: {
21
+ group: string;
22
+ state: string;
23
+ introduced: string;
24
+ description: string;
25
+ deprecated?: undefined;
26
+ deleted?: undefined;
27
+ replacement?: undefined;
28
+ };
29
+ value: string;
30
+ };
31
+ name: string;
32
+ path: string[];
33
+ } | {
34
+ attributes: {
35
+ group: string;
36
+ state: string;
37
+ introduced: string;
38
+ deprecated: string;
39
+ deleted: string;
40
+ replacement: string;
41
+ description: string;
42
+ };
43
+ value: string;
44
+ filePath: string;
45
+ isSource: boolean;
46
+ original: {
47
+ attributes: {
48
+ group: string;
49
+ state: string;
50
+ introduced: string;
51
+ deprecated: string;
52
+ deleted: string;
53
+ replacement: string;
54
+ description: string;
55
+ };
56
+ value: string;
57
+ };
58
+ name: string;
59
+ path: string[];
60
+ } | {
61
+ attributes: {
62
+ group: string;
63
+ state: string;
64
+ introduced: string;
65
+ deprecated: string;
66
+ deleted: string;
67
+ replacement: string;
68
+ description: string;
69
+ };
70
+ value: {
71
+ radius: number;
72
+ offset: {
73
+ x: number;
74
+ y: number;
75
+ };
76
+ color: string;
77
+ opacity: number;
78
+ }[];
79
+ filePath: string;
80
+ isSource: boolean;
81
+ original: {
82
+ attributes: {
83
+ group: string;
84
+ state: string;
85
+ introduced: string;
86
+ deprecated: string;
87
+ deleted: string;
88
+ replacement: string;
89
+ description: string;
90
+ };
91
+ value: {
92
+ radius: number;
93
+ offset: {
94
+ x: number;
95
+ y: number;
96
+ };
97
+ color: string;
98
+ opacity: number;
99
+ }[];
100
+ };
101
+ name: string;
102
+ path: string[];
103
+ } | {
104
+ attributes: {
105
+ group: string;
106
+ state: string;
107
+ introduced: string;
108
+ description: string;
109
+ deprecated?: undefined;
110
+ deleted?: undefined;
111
+ replacement?: undefined;
112
+ };
113
+ value: {
114
+ radius: number;
115
+ offset: {
116
+ x: number;
117
+ y: number;
118
+ };
119
+ color: string;
120
+ opacity: number;
121
+ }[];
122
+ filePath: string;
123
+ isSource: boolean;
124
+ original: {
125
+ attributes: {
126
+ group: string;
127
+ state: string;
128
+ introduced: string;
129
+ description: string;
130
+ deprecated?: undefined;
131
+ deleted?: undefined;
132
+ replacement?: undefined;
133
+ };
134
+ value: {
135
+ radius: number;
136
+ offset: {
137
+ x: number;
138
+ y: number;
139
+ };
140
+ color: string;
141
+ opacity: number;
142
+ }[];
143
+ };
144
+ name: string;
145
+ path: string[];
146
+ })[];
147
+ export default tokens;
@@ -1,9 +1,11 @@
1
- export declare const THEMES: readonly ["light", "dark"];
1
+ export declare const THEMES: readonly ["light", "dark", "legacy-light", "legacy-dark"];
2
2
  export declare const THEME_DATA_ATTRIBUTE = "data-theme";
3
3
  export declare const DEFAULT_THEME = "light";
4
4
  export declare const CSS_PREFIX = "ds";
5
5
  export declare const THEME_NAME_MAP: {
6
6
  'atlassian-light': string;
7
7
  'atlassian-dark': string;
8
+ 'atlassian-legacy-light': string;
9
+ 'atlassian-legacy-dark': string;
8
10
  };
9
11
  export declare const TOKEN_NOT_FOUND_CSS_VAR: string;
@@ -4,7 +4,7 @@
4
4
  * This palette should be exclusively used for backwards compatible themes
5
5
  */
6
6
  import type { PaletteColorTokenSchema } from '../types';
7
- declare type PaletteValues = 'R50' | 'R75' | 'R100' | 'R200' | 'R300' | 'R400' | 'R500' | 'Y50' | 'Y75' | 'Y100' | 'Y200' | 'Y300' | 'Y400' | 'Y500' | 'G50' | 'G75' | 'G100' | 'G200' | 'G300' | 'G400' | 'G500' | 'B50' | 'B75' | 'B100' | 'B200' | 'B300' | 'B400' | 'B500' | 'P50' | 'P75' | 'P100' | 'P200' | 'P300' | 'P400' | 'P500' | 'T50' | 'T75' | 'T100' | 'T200' | 'T300' | 'T400' | 'T500' | 'N0' | 'N10' | 'N20' | 'N30' | 'N40' | 'N50' | 'N60' | 'N70' | 'N80' | 'N90' | 'N100' | 'N200' | 'N300' | 'N400' | 'N500' | 'N600' | 'N700' | 'N800' | 'N900' | 'N10A' | 'N20A' | 'N30A' | 'N40A' | 'N50A' | 'N60A' | 'N70A' | 'N80A' | 'N90A' | 'N100A' | 'N200A' | 'N300A' | 'N400A' | 'N500A' | 'N600A' | 'N700A' | 'N800A' | 'DN900' | 'DN800' | 'DN700' | 'DN600' | 'DN500' | 'DN400' | 'DN300' | 'DN200' | 'DN100' | 'DN90' | 'DN80' | 'DN70' | 'DN60' | 'DN50' | 'DN40' | 'DN30' | 'DN20' | 'DN10' | 'DN0' | 'DN800A' | 'DN700A' | 'DN600A' | 'DN500A' | 'DN400A' | 'DN300A' | 'DN200A' | 'DN100A' | 'DN90A' | 'DN80A' | 'DN70A' | 'DN60A' | 'DN50A' | 'DN40A' | 'DN30A' | 'DN20A' | 'DN10' | 'DN10A';
7
+ declare type PaletteValues = 'transparent' | 'R50' | 'R75' | 'R100' | 'R200' | 'R300' | 'R400' | 'R500' | 'Y50' | 'Y75' | 'Y100' | 'Y200' | 'Y300' | 'Y400' | 'Y500' | 'G50' | 'G75' | 'G100' | 'G200' | 'G300' | 'G400' | 'G500' | 'B50' | 'B75' | 'B100' | 'B200' | 'B300' | 'B400' | 'B500' | 'P50' | 'P75' | 'P100' | 'P200' | 'P300' | 'P400' | 'P500' | 'T50' | 'T75' | 'T100' | 'T200' | 'T300' | 'T400' | 'T500' | 'N0' | 'N10' | 'N20' | 'N30' | 'N40' | 'N50' | 'N60' | 'N70' | 'N80' | 'N90' | 'N100' | 'N200' | 'N300' | 'N400' | 'N500' | 'N600' | 'N700' | 'N800' | 'N900' | 'N10A' | 'N20A' | 'N30A' | 'N40A' | 'N50A' | 'N60A' | 'N70A' | 'N80A' | 'N90A' | 'N100A' | 'N200A' | 'N300A' | 'N400A' | 'N500A' | 'N600A' | 'N700A' | 'N800A' | 'DN900' | 'DN800' | 'DN700' | 'DN600' | 'DN500' | 'DN400' | 'DN300' | 'DN200' | 'DN100' | 'DN90' | 'DN80' | 'DN70' | 'DN60' | 'DN50' | 'DN40' | 'DN30' | 'DN20' | 'DN10' | 'DN0' | 'DN800A' | 'DN700A' | 'DN600A' | 'DN500A' | 'DN400A' | 'DN300A' | 'DN200A' | 'DN100A' | 'DN90A' | 'DN80A' | 'DN70A' | 'DN60A' | 'DN50A' | 'DN40A' | 'DN30A' | 'DN20A' | 'DN10' | 'DN10A';
8
8
  export declare type BaseToken = keyof PaletteColorTokenSchema<PaletteValues>['color']['palette'];
9
9
  declare const palette: PaletteColorTokenSchema<PaletteValues>;
10
10
  export default palette;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { AccentColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<AccentColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { BackgroundColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<BackgroundColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { BorderColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<BorderColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { IconColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<IconColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { InteractionColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<InteractionColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { SkeletonColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<SkeletonColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { TextColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<TextColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { DeprecatedTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<DeprecatedTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { ShadowTokenSchema, ValueSchema } from '../../../types';
3
+ declare const shadow: ValueSchema<ShadowTokenSchema<BaseToken>>;
4
+ export default shadow;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { SurfaceTokenSchema, ValueSchema } from '../../../types';
3
+ declare const elevation: ValueSchema<SurfaceTokenSchema<BaseToken>>;
4
+ export default elevation;
@@ -0,0 +1,5 @@
1
+ import type { UtilTokenSchema, ValueSchema } from '../../../types';
2
+ declare const _default: {
3
+ utility: ValueSchema<UtilTokenSchema<"transparent" | "R50" | "R75" | "R100" | "R200" | "R300" | "R400" | "R500" | "Y50" | "Y75" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G50" | "G75" | "G100" | "G200" | "G300" | "G400" | "G500" | "B50" | "B75" | "B100" | "B200" | "B300" | "B400" | "B500" | "P50" | "P75" | "P100" | "P200" | "P300" | "P400" | "P500" | "T50" | "T75" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N10" | "N20" | "N30" | "N40" | "N50" | "N60" | "N70" | "N80" | "N90" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N10A" | "N20A" | "N30A" | "N40A" | "N50A" | "N60A" | "N70A" | "N80A" | "N90A" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "N600A" | "N700A" | "N800A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN90" | "DN80" | "DN70" | "DN60" | "DN50" | "DN40" | "DN30" | "DN20" | "DN10" | "DN0" | "DN800A" | "DN700A" | "DN600A" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "DN90A" | "DN80A" | "DN70A" | "DN60A" | "DN50A" | "DN40A" | "DN30A" | "DN20A" | "DN10A">>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { AccentColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<AccentColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { BackgroundColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<BackgroundColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { BorderColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<BorderColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { IconColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<IconColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { InteractionColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<InteractionColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { SkeletonColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<SkeletonColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { TextColorTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<TextColorTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { DeprecatedTokenSchema, ValueSchema } from '../../../types';
3
+ declare const color: ValueSchema<DeprecatedTokenSchema<BaseToken>>;
4
+ export default color;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { ShadowTokenSchema, ValueSchema } from '../../../types';
3
+ declare const shadow: ValueSchema<ShadowTokenSchema<BaseToken>>;
4
+ export default shadow;
@@ -0,0 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/legacy-palette';
2
+ import type { SurfaceTokenSchema, ValueSchema } from '../../../types';
3
+ declare const elevation: ValueSchema<SurfaceTokenSchema<BaseToken>>;
4
+ export default elevation;
@@ -0,0 +1,5 @@
1
+ import type { UtilTokenSchema, ValueSchema } from '../../../types';
2
+ declare const _default: {
3
+ utility: ValueSchema<UtilTokenSchema<"transparent" | "R50" | "R75" | "R100" | "R200" | "R300" | "R400" | "R500" | "Y50" | "Y75" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G50" | "G75" | "G100" | "G200" | "G300" | "G400" | "G500" | "B50" | "B75" | "B100" | "B200" | "B300" | "B400" | "B500" | "P50" | "P75" | "P100" | "P200" | "P300" | "P400" | "P500" | "T50" | "T75" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N10" | "N20" | "N30" | "N40" | "N50" | "N60" | "N70" | "N80" | "N90" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N10A" | "N20A" | "N30A" | "N40A" | "N50A" | "N60A" | "N70A" | "N80A" | "N90A" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "N600A" | "N700A" | "N800A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN90" | "DN80" | "DN70" | "DN60" | "DN50" | "DN40" | "DN30" | "DN20" | "DN10" | "DN0" | "DN800A" | "DN700A" | "DN600A" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "DN90A" | "DN80A" | "DN70A" | "DN60A" | "DN50A" | "DN40A" | "DN30A" | "DN20A" | "DN10A">>;
4
+ };
5
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.15",
3
+ "version": "0.10.18",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "description": "Design tokens are the single source of truth to name and store design decisions.",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,9 @@
33
33
  "./rename-mapping": "./src/entry-points/rename-mapping.tsx",
34
34
  "./babel-plugin": "./src/entry-points/babel-plugin.tsx",
35
35
  "./css/atlassian-light.css": "./css/atlassian-light.css",
36
- "./css/atlassian-dark.css": "./css/atlassian-dark.css"
36
+ "./css/atlassian-dark.css": "./css/atlassian-dark.css",
37
+ "./css/atlassian-legacy-light.css": "./css/atlassian-legacy-light.css",
38
+ "./css/atlassian-legacy-dark.css": "./css/atlassian-legacy-dark.css"
37
39
  },
38
40
  "scripts": {
39
41
  "ak-postbuild": "cd ../../../ && yarn build @af/codegen && cd packages/design-system/tokens && yarn codegen-tokens && yarn check-clean-git",
@@ -59,24 +61,24 @@
59
61
  "@atlaskit/checkbox": "^12.3.9",
60
62
  "@atlaskit/code": "^14.3.0",
61
63
  "@atlaskit/docs": "^9.0.10",
62
- "@atlaskit/dropdown-menu": "^11.3.0",
63
- "@atlaskit/dynamic-table": "^14.7.0",
64
- "@atlaskit/empty-state": "^7.3.9",
64
+ "@atlaskit/dropdown-menu": "^11.4.0",
65
+ "@atlaskit/dynamic-table": "^14.8.0",
66
+ "@atlaskit/empty-state": "^7.4.0",
65
67
  "@atlaskit/focus-ring": "^1.0.0",
66
- "@atlaskit/heading": "^0.1.8",
68
+ "@atlaskit/heading": "*",
67
69
  "@atlaskit/icon": "^21.10.2",
68
- "@atlaskit/lozenge": "^11.0.0",
69
- "@atlaskit/modal-dialog": "^12.2.4",
70
- "@atlaskit/section-message": "^6.1.7",
71
- "@atlaskit/tabs": "^13.2.4",
72
- "@atlaskit/tag": "^11.3.1",
73
- "@atlaskit/textfield": "^5.1.5",
74
- "@atlaskit/theme": "^12.1.2",
75
- "@atlaskit/toggle": "^12.4.2",
70
+ "@atlaskit/lozenge": "^11.2.0",
71
+ "@atlaskit/modal-dialog": "^12.3.0",
72
+ "@atlaskit/section-message": "^6.2.0",
73
+ "@atlaskit/tabs": "^13.3.0",
74
+ "@atlaskit/tag": "^11.4.0",
75
+ "@atlaskit/textfield": "^5.2.0",
76
+ "@atlaskit/theme": "^12.2.0",
77
+ "@atlaskit/toggle": "^12.5.0",
76
78
  "@atlaskit/tooltip": "^17.5.7",
77
79
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
78
80
  "@babel/core": "^7.12.3",
79
- "@emotion/core": "^10.0.9",
81
+ "@emotion/react": "^11.7.1",
80
82
  "@testing-library/dom": "^7.7.3",
81
83
  "@testing-library/react": "^8.0.1",
82
84
  "@testing-library/react-hooks": "^1.0.4",
@@ -89,7 +91,7 @@
89
91
  "react": "^16.8.0",
90
92
  "style-dictionary": "^3.0.0",
91
93
  "ts-node": "^10.0.0",
92
- "typescript": "4.2.4"
94
+ "typescript": "4.3.5"
93
95
  },
94
96
  "techstack": {
95
97
  "@atlassian/frontend": {