@atlaskit/tokens 0.13.2 → 0.13.4

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 (155) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/css/atlassian-dark.css +437 -249
  3. package/css/atlassian-legacy-dark.css +437 -249
  4. package/css/atlassian-legacy-light.css +437 -249
  5. package/css/atlassian-light.css +445 -257
  6. package/css/atlassian-spacing.css +31 -31
  7. package/css/atlassian-typography.css +6 -6
  8. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +340 -340
  9. package/dist/cjs/artifacts/palettes-raw/palette.js +611 -611
  10. package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +35 -35
  11. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +43 -43
  12. package/dist/cjs/artifacts/replacement-mapping.js +112 -112
  13. package/dist/cjs/artifacts/token-default-values.js +262 -168
  14. package/dist/cjs/artifacts/token-names.js +258 -164
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +5394 -3033
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +5382 -3021
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +5246 -2885
  18. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +5300 -2939
  19. package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +702 -622
  20. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +80 -60
  21. package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +403 -0
  22. package/dist/cjs/{figma/types.js → artifacts/typescript/atlassian-dark-types-internal.js} +0 -0
  23. package/dist/cjs/artifacts/typescript/atlassian-dark-types.js +5 -0
  24. package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +100 -6
  25. package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +403 -0
  26. package/dist/cjs/artifacts/typescript/atlassian-light-types-internal.js +5 -0
  27. package/dist/cjs/artifacts/typescript/atlassian-light-types.js +5 -0
  28. package/dist/cjs/entry-points/figma-sync.js +23 -0
  29. package/dist/cjs/get-token-value.js +1 -1
  30. package/dist/cjs/get-token.js +1 -1
  31. package/dist/cjs/palettes/palette.js +3 -3
  32. package/dist/cjs/tokens/atlassian-dark/color/chart.js +420 -0
  33. package/dist/cjs/tokens/atlassian-legacy-dark/color/chart.js +440 -0
  34. package/dist/cjs/tokens/atlassian-legacy-light/color/chart.js +440 -0
  35. package/dist/cjs/tokens/atlassian-light/color/accent.js +1 -1
  36. package/dist/cjs/tokens/atlassian-light/color/chart.js +420 -0
  37. package/dist/cjs/tokens/default/color/background.js +2 -2
  38. package/dist/cjs/tokens/default/color/border.js +1 -1
  39. package/dist/cjs/tokens/default/color/chart.js +890 -0
  40. package/dist/cjs/tokens/default/color/icon.js +1 -1
  41. package/dist/cjs/tokens/default/color/text.js +1 -1
  42. package/dist/cjs/version.json +1 -1
  43. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +340 -340
  44. package/dist/es2019/artifacts/palettes-raw/palette.js +611 -611
  45. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +35 -35
  46. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +43 -43
  47. package/dist/es2019/artifacts/replacement-mapping.js +112 -112
  48. package/dist/es2019/artifacts/token-default-values.js +262 -168
  49. package/dist/es2019/artifacts/token-names.js +258 -164
  50. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +5394 -3033
  51. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +5382 -3021
  52. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +5246 -2885
  53. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +5300 -2939
  54. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +702 -622
  55. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +80 -60
  56. package/dist/es2019/artifacts/typescript/atlassian-dark-token-names.js +395 -0
  57. package/dist/es2019/{figma/types.js → artifacts/typescript/atlassian-dark-types-internal.js} +0 -0
  58. package/dist/{esm/figma/types.js → es2019/artifacts/typescript/atlassian-dark-types.js} +0 -0
  59. package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +100 -6
  60. package/dist/es2019/artifacts/typescript/atlassian-light-token-names.js +395 -0
  61. package/dist/es2019/artifacts/typescript/atlassian-light-types-internal.js +1 -0
  62. package/dist/es2019/artifacts/typescript/atlassian-light-types.js +1 -0
  63. package/dist/es2019/entry-points/figma-sync.js +3 -0
  64. package/dist/es2019/get-token-value.js +1 -1
  65. package/dist/es2019/get-token.js +1 -1
  66. package/dist/es2019/palettes/palette.js +3 -3
  67. package/dist/es2019/tokens/atlassian-dark/color/chart.js +413 -0
  68. package/dist/es2019/tokens/atlassian-legacy-dark/color/chart.js +433 -0
  69. package/dist/es2019/tokens/atlassian-legacy-light/color/chart.js +433 -0
  70. package/dist/es2019/tokens/atlassian-light/color/accent.js +1 -1
  71. package/dist/es2019/tokens/atlassian-light/color/chart.js +413 -0
  72. package/dist/es2019/tokens/default/color/background.js +2 -2
  73. package/dist/es2019/tokens/default/color/border.js +1 -1
  74. package/dist/es2019/tokens/default/color/chart.js +883 -0
  75. package/dist/es2019/tokens/default/color/icon.js +1 -1
  76. package/dist/es2019/tokens/default/color/text.js +1 -1
  77. package/dist/es2019/version.json +1 -1
  78. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +340 -340
  79. package/dist/esm/artifacts/palettes-raw/palette.js +611 -611
  80. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +35 -35
  81. package/dist/esm/artifacts/palettes-raw/typography-palette.js +43 -43
  82. package/dist/esm/artifacts/replacement-mapping.js +112 -112
  83. package/dist/esm/artifacts/token-default-values.js +262 -168
  84. package/dist/esm/artifacts/token-names.js +258 -164
  85. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +5394 -3033
  86. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +5382 -3021
  87. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +5246 -2885
  88. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +5300 -2939
  89. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +702 -622
  90. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +80 -60
  91. package/dist/esm/artifacts/typescript/atlassian-dark-token-names.js +395 -0
  92. package/dist/esm/artifacts/typescript/atlassian-dark-types-internal.js +1 -0
  93. package/dist/esm/artifacts/typescript/atlassian-dark-types.js +1 -0
  94. package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +100 -6
  95. package/dist/esm/artifacts/typescript/atlassian-light-token-names.js +395 -0
  96. package/dist/esm/artifacts/typescript/atlassian-light-types-internal.js +1 -0
  97. package/dist/esm/artifacts/typescript/atlassian-light-types.js +1 -0
  98. package/dist/esm/entry-points/figma-sync.js +3 -0
  99. package/dist/esm/get-token-value.js +1 -1
  100. package/dist/esm/get-token.js +1 -1
  101. package/dist/esm/palettes/palette.js +3 -3
  102. package/dist/esm/tokens/atlassian-dark/color/chart.js +413 -0
  103. package/dist/esm/tokens/atlassian-legacy-dark/color/chart.js +433 -0
  104. package/dist/esm/tokens/atlassian-legacy-light/color/chart.js +433 -0
  105. package/dist/esm/tokens/atlassian-light/color/accent.js +1 -1
  106. package/dist/esm/tokens/atlassian-light/color/chart.js +413 -0
  107. package/dist/esm/tokens/default/color/background.js +2 -2
  108. package/dist/esm/tokens/default/color/border.js +1 -1
  109. package/dist/esm/tokens/default/color/chart.js +883 -0
  110. package/dist/esm/tokens/default/color/icon.js +1 -1
  111. package/dist/esm/tokens/default/color/text.js +1 -1
  112. package/dist/esm/version.json +1 -1
  113. package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +5 -5
  114. package/dist/types/artifacts/palettes-raw/palette.d.ts +5 -5
  115. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
  116. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  117. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  118. package/dist/types/artifacts/token-default-values.d.ts +262 -168
  119. package/dist/types/artifacts/token-names.d.ts +516 -328
  120. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +42 -37
  121. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +42 -37
  122. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +38 -33
  123. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +38 -33
  124. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +22 -17
  125. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +2 -1
  126. package/dist/types/artifacts/types-internal.d.ts +2 -2
  127. package/dist/types/artifacts/types.d.ts +2 -2
  128. package/dist/types/artifacts/typescript/atlassian-dark-token-names.d.ts +784 -0
  129. package/dist/types/artifacts/typescript/atlassian-dark-types-internal.d.ts +6 -0
  130. package/dist/types/artifacts/typescript/atlassian-dark-types.d.ts +6 -0
  131. package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +100 -6
  132. package/dist/types/artifacts/typescript/atlassian-light-token-names.d.ts +784 -0
  133. package/dist/types/artifacts/typescript/atlassian-light-types-internal.d.ts +6 -0
  134. package/dist/types/artifacts/typescript/atlassian-light-types.d.ts +6 -0
  135. package/dist/types/entry-points/figma-sync.d.ts +3 -0
  136. package/dist/types/tokens/atlassian-dark/color/chart.d.ts +4 -0
  137. package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
  138. package/dist/types/tokens/atlassian-legacy-dark/color/chart.d.ts +4 -0
  139. package/dist/types/tokens/atlassian-legacy-dark/utility/utility.d.ts +1 -1
  140. package/dist/types/tokens/atlassian-legacy-light/color/chart.d.ts +4 -0
  141. package/dist/types/tokens/atlassian-legacy-light/utility/utility.d.ts +1 -1
  142. package/dist/types/tokens/atlassian-light/color/chart.d.ts +4 -0
  143. package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
  144. package/dist/types/tokens/default/color/chart.d.ts +4 -0
  145. package/dist/types/tokens/default/utility/utility.d.ts +1 -1
  146. package/dist/types/types.d.ts +224 -0
  147. package/figma-sync/package.json +17 -0
  148. package/package.json +6 -3
  149. package/report.api.md +515 -327
  150. package/tmp/api-report-tmp.d.ts +515 -327
  151. package/dist/cjs/figma/synchronize-figma-tokens.js +0 -220
  152. package/dist/es2019/figma/synchronize-figma-tokens.js +0 -212
  153. package/dist/esm/figma/synchronize-figma-tokens.js +0 -216
  154. package/dist/types/figma/synchronize-figma-tokens.d.ts +0 -24
  155. package/dist/types/figma/types.d.ts +0 -40
@@ -0,0 +1,413 @@
1
+ var color = {
2
+ color: {
3
+ chart: {
4
+ brand: {
5
+ '[default]': {
6
+ value: 'Blue600'
7
+ },
8
+ hovered: {
9
+ value: 'Blue700'
10
+ }
11
+ },
12
+ neutral: {
13
+ '[default]': {
14
+ value: 'Neutral500'
15
+ },
16
+ hovered: {
17
+ value: 'Neutral600'
18
+ }
19
+ },
20
+ success: {
21
+ '[default]': {
22
+ '[default]': {
23
+ value: 'Green600'
24
+ },
25
+ hovered: {
26
+ value: 'Green700'
27
+ }
28
+ },
29
+ bold: {
30
+ '[default]': {
31
+ value: 'Green800'
32
+ },
33
+ hovered: {
34
+ value: 'Green900'
35
+ }
36
+ }
37
+ },
38
+ danger: {
39
+ '[default]': {
40
+ '[default]': {
41
+ value: 'Red500'
42
+ },
43
+ hovered: {
44
+ value: 'Red600'
45
+ }
46
+ },
47
+ bold: {
48
+ '[default]': {
49
+ value: 'Red800'
50
+ },
51
+ hovered: {
52
+ value: 'Red900'
53
+ }
54
+ }
55
+ },
56
+ warning: {
57
+ '[default]': {
58
+ '[default]': {
59
+ value: 'Yellow600'
60
+ },
61
+ hovered: {
62
+ value: 'Yellow700'
63
+ }
64
+ },
65
+ bold: {
66
+ '[default]': {
67
+ value: 'Yellow800'
68
+ },
69
+ hovered: {
70
+ value: 'Yellow900'
71
+ }
72
+ }
73
+ },
74
+ information: {
75
+ '[default]': {
76
+ '[default]': {
77
+ value: 'Blue500'
78
+ },
79
+ hovered: {
80
+ value: 'Blue600'
81
+ }
82
+ },
83
+ bold: {
84
+ '[default]': {
85
+ value: 'Blue800'
86
+ },
87
+ hovered: {
88
+ value: 'Blue900'
89
+ }
90
+ }
91
+ },
92
+ discovery: {
93
+ '[default]': {
94
+ '[default]': {
95
+ value: 'Purple500'
96
+ },
97
+ hovered: {
98
+ value: 'Purple600'
99
+ }
100
+ },
101
+ bold: {
102
+ '[default]': {
103
+ value: 'Purple800'
104
+ },
105
+ hovered: {
106
+ value: 'Purple900'
107
+ }
108
+ }
109
+ },
110
+ categorical: {
111
+ 1: {
112
+ '[default]': {
113
+ value: 'Teal600'
114
+ },
115
+ hovered: {
116
+ value: 'Teal700'
117
+ }
118
+ },
119
+ 2: {
120
+ '[default]': {
121
+ value: 'Purple800'
122
+ },
123
+ hovered: {
124
+ value: 'Purple900'
125
+ }
126
+ },
127
+ 3: {
128
+ '[default]': {
129
+ value: 'Orange600'
130
+ },
131
+ hovered: {
132
+ value: 'Orange700'
133
+ }
134
+ },
135
+ 4: {
136
+ '[default]': {
137
+ value: 'Magenta800'
138
+ },
139
+ hovered: {
140
+ value: 'Magenta900'
141
+ }
142
+ },
143
+ 5: {
144
+ '[default]': {
145
+ value: 'Blue900'
146
+ },
147
+ hovered: {
148
+ value: 'Blue1000'
149
+ }
150
+ },
151
+ 6: {
152
+ '[default]': {
153
+ value: 'Purple500'
154
+ },
155
+ hovered: {
156
+ value: 'Purple600'
157
+ }
158
+ },
159
+ 7: {
160
+ '[default]': {
161
+ value: 'Magenta900'
162
+ },
163
+ hovered: {
164
+ value: 'Magenta1000'
165
+ }
166
+ },
167
+ 8: {
168
+ '[default]': {
169
+ value: 'Orange800'
170
+ },
171
+ hovered: {
172
+ value: 'Orange900'
173
+ }
174
+ }
175
+ },
176
+ blue: {
177
+ bold: {
178
+ '[default]': {
179
+ value: 'Blue500'
180
+ },
181
+ hovered: {
182
+ value: 'Blue600'
183
+ }
184
+ },
185
+ bolder: {
186
+ '[default]': {
187
+ value: 'Blue600'
188
+ },
189
+ hovered: {
190
+ value: 'Blue700'
191
+ }
192
+ },
193
+ boldest: {
194
+ '[default]': {
195
+ value: 'Blue800'
196
+ },
197
+ hovered: {
198
+ value: 'Blue900'
199
+ }
200
+ }
201
+ },
202
+ red: {
203
+ bold: {
204
+ '[default]': {
205
+ value: 'Red500'
206
+ },
207
+ hovered: {
208
+ value: 'Red600'
209
+ }
210
+ },
211
+ bolder: {
212
+ '[default]': {
213
+ value: 'Red600'
214
+ },
215
+ hovered: {
216
+ value: 'Red700'
217
+ }
218
+ },
219
+ boldest: {
220
+ '[default]': {
221
+ value: 'Red800'
222
+ },
223
+ hovered: {
224
+ value: 'Red900'
225
+ }
226
+ }
227
+ },
228
+ orange: {
229
+ bold: {
230
+ '[default]': {
231
+ value: 'Orange600'
232
+ },
233
+ hovered: {
234
+ value: 'Orange700'
235
+ }
236
+ },
237
+ bolder: {
238
+ '[default]': {
239
+ value: 'Orange700'
240
+ },
241
+ hovered: {
242
+ value: 'Orange800'
243
+ }
244
+ },
245
+ boldest: {
246
+ '[default]': {
247
+ value: 'Orange800'
248
+ },
249
+ hovered: {
250
+ value: 'Orange900'
251
+ }
252
+ }
253
+ },
254
+ yellow: {
255
+ bold: {
256
+ '[default]': {
257
+ value: 'Yellow600'
258
+ },
259
+ hovered: {
260
+ value: 'Yellow700'
261
+ }
262
+ },
263
+ bolder: {
264
+ '[default]': {
265
+ value: 'Yellow700'
266
+ },
267
+ hovered: {
268
+ value: 'Yellow800'
269
+ }
270
+ },
271
+ boldest: {
272
+ '[default]': {
273
+ value: 'Yellow800'
274
+ },
275
+ hovered: {
276
+ value: 'Yellow900'
277
+ }
278
+ }
279
+ },
280
+ green: {
281
+ bold: {
282
+ '[default]': {
283
+ value: 'Green600'
284
+ },
285
+ hovered: {
286
+ value: 'Green700'
287
+ }
288
+ },
289
+ bolder: {
290
+ '[default]': {
291
+ value: 'Green700'
292
+ },
293
+ hovered: {
294
+ value: 'Green800'
295
+ }
296
+ },
297
+ boldest: {
298
+ '[default]': {
299
+ value: 'Green800'
300
+ },
301
+ hovered: {
302
+ value: 'Green900'
303
+ }
304
+ }
305
+ },
306
+ teal: {
307
+ bold: {
308
+ '[default]': {
309
+ value: 'Teal600'
310
+ },
311
+ hovered: {
312
+ value: 'Teal700'
313
+ }
314
+ },
315
+ bolder: {
316
+ '[default]': {
317
+ value: 'Teal700'
318
+ },
319
+ hovered: {
320
+ value: 'Teal800'
321
+ }
322
+ },
323
+ boldest: {
324
+ '[default]': {
325
+ value: 'Teal800'
326
+ },
327
+ hovered: {
328
+ value: 'Teal900'
329
+ }
330
+ }
331
+ },
332
+ purple: {
333
+ bold: {
334
+ '[default]': {
335
+ value: 'Purple500'
336
+ },
337
+ hovered: {
338
+ value: 'Purple600'
339
+ }
340
+ },
341
+ bolder: {
342
+ '[default]': {
343
+ value: 'Purple600'
344
+ },
345
+ hovered: {
346
+ value: 'Purple700'
347
+ }
348
+ },
349
+ boldest: {
350
+ '[default]': {
351
+ value: 'Purple800'
352
+ },
353
+ hovered: {
354
+ value: 'Purple900'
355
+ }
356
+ }
357
+ },
358
+ magenta: {
359
+ bold: {
360
+ '[default]': {
361
+ value: 'Magenta500'
362
+ },
363
+ hovered: {
364
+ value: 'Magenta600'
365
+ }
366
+ },
367
+ bolder: {
368
+ '[default]': {
369
+ value: 'Magenta600'
370
+ },
371
+ hovered: {
372
+ value: 'Magenta700'
373
+ }
374
+ },
375
+ boldest: {
376
+ '[default]': {
377
+ value: 'Magenta800'
378
+ },
379
+ hovered: {
380
+ value: 'Magenta900'
381
+ }
382
+ }
383
+ },
384
+ gray: {
385
+ bold: {
386
+ '[default]': {
387
+ value: 'Neutral500'
388
+ },
389
+ hovered: {
390
+ value: 'Neutral600'
391
+ }
392
+ },
393
+ bolder: {
394
+ '[default]': {
395
+ value: 'Neutral600'
396
+ },
397
+ hovered: {
398
+ value: 'Neutral700'
399
+ }
400
+ },
401
+ boldest: {
402
+ '[default]': {
403
+ value: 'Neutral800'
404
+ },
405
+ hovered: {
406
+ value: 'Neutral900'
407
+ }
408
+ }
409
+ }
410
+ }
411
+ }
412
+ };
413
+ export default color;
@@ -366,7 +366,7 @@ var color = {
366
366
  group: 'paint',
367
367
  state: 'active',
368
368
  introduced: '0.6.0',
369
- description: 'Use for backgrounds communicating a favourable outcome, such as in success section messages.'
369
+ description: 'Use for backgrounds communicating a favorable outcome, such as in success section messages.'
370
370
  }
371
371
  },
372
372
  hovered: {
@@ -392,7 +392,7 @@ var color = {
392
392
  group: 'paint',
393
393
  state: 'active',
394
394
  introduced: '0.6.0',
395
- description: 'A vibrant background option for communicating a favourable outcome, such as in checked toggles.'
395
+ description: 'A vibrant background option for communicating a favorable outcome, such as in checked toggles.'
396
396
  }
397
397
  },
398
398
  hovered: {
@@ -86,7 +86,7 @@ var color = {
86
86
  group: 'paint',
87
87
  state: 'active',
88
88
  introduced: '0.6.0',
89
- description: 'Use for borders communicating a favourable outcome, such as the borders on validated text fields.'
89
+ description: 'Use for borders communicating a favorable outcome, such as the borders on validated text fields.'
90
90
  }
91
91
  },
92
92
  discovery: {