@atlaskit/tokens 1.35.0 → 1.37.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 (57) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/codemods/css-to-design-tokens/__tests__/css-to-design-tokens.test.tsx +489 -0
  3. package/codemods/css-to-design-tokens/__tests__/utils.test.tsx +145 -0
  4. package/codemods/css-to-design-tokens/lib/colors.tsx +71 -0
  5. package/codemods/css-to-design-tokens/lib/declaration.tsx +43 -0
  6. package/codemods/css-to-design-tokens/lib/legacy-colors.tsx +336 -0
  7. package/codemods/css-to-design-tokens/lib/meta.tsx +173 -0
  8. package/codemods/css-to-design-tokens/lib/tokens.tsx +54 -0
  9. package/codemods/css-to-design-tokens/lib/value.tsx +85 -0
  10. package/codemods/css-to-design-tokens/transform.tsx +99 -0
  11. package/codemods/hypermod.config.tsx +9 -0
  12. package/codemods/theme-to-design-tokens/__tests__/theme-to-design-tokens.test.tsx +1104 -0
  13. package/codemods/theme-to-design-tokens/transform.tsx +628 -0
  14. package/codemods/theme-to-design-tokens/utils/ast-meta.tsx +159 -0
  15. package/codemods/theme-to-design-tokens/utils/ast.tsx +46 -0
  16. package/codemods/theme-to-design-tokens/utils/color.tsx +45 -0
  17. package/codemods/theme-to-design-tokens/utils/css-utils.tsx +38 -0
  18. package/codemods/theme-to-design-tokens/utils/fuzzy-search.tsx +326 -0
  19. package/codemods/theme-to-design-tokens/utils/legacy-colors.tsx +232 -0
  20. package/codemods/theme-to-design-tokens/utils/named-colors.tsx +150 -0
  21. package/codemods/theme-to-design-tokens/utils/string-utils.tsx +22 -0
  22. package/codemods/utils/tokens.tsx +376 -0
  23. package/dist/cjs/artifacts/replacement-mapping.js +1 -13
  24. package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
  25. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -25
  26. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +89 -1
  27. package/dist/cjs/get-token-value.js +1 -1
  28. package/dist/cjs/get-token.js +1 -1
  29. package/dist/es2019/artifacts/replacement-mapping.js +1 -13
  30. package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +5 -1
  31. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -25
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +89 -1
  33. package/dist/es2019/get-token-value.js +1 -1
  34. package/dist/es2019/get-token.js +1 -1
  35. package/dist/esm/artifacts/replacement-mapping.js +1 -13
  36. package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
  37. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -25
  38. package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +89 -1
  39. package/dist/esm/get-token-value.js +1 -1
  40. package/dist/esm/get-token.js +1 -1
  41. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  42. package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
  43. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
  44. package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
  45. package/dist/types/artifacts/types-internal.d.ts +2 -2
  46. package/dist/types/artifacts/types.d.ts +2 -2
  47. package/dist/types/types.d.ts +2 -3
  48. package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
  49. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
  50. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
  51. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
  52. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  53. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  54. package/dist/types-ts4.5/types.d.ts +2 -3
  55. package/figma/atlassian-typography-adg3.json +38 -1
  56. package/figma/atlassian-typography-minor3.json +38 -1
  57. package/package.json +5 -1
@@ -0,0 +1,376 @@
1
+ export const activeTokens = [
2
+ 'color.text',
3
+ 'color.text.accent.lime',
4
+ 'color.text.accent.lime.bolder',
5
+ 'color.text.accent.red',
6
+ 'color.text.accent.red.bolder',
7
+ 'color.text.accent.orange',
8
+ 'color.text.accent.orange.bolder',
9
+ 'color.text.accent.yellow',
10
+ 'color.text.accent.yellow.bolder',
11
+ 'color.text.accent.green',
12
+ 'color.text.accent.green.bolder',
13
+ 'color.text.accent.teal',
14
+ 'color.text.accent.teal.bolder',
15
+ 'color.text.accent.blue',
16
+ 'color.text.accent.blue.bolder',
17
+ 'color.text.accent.purple',
18
+ 'color.text.accent.purple.bolder',
19
+ 'color.text.accent.magenta',
20
+ 'color.text.accent.magenta.bolder',
21
+ 'color.text.accent.gray',
22
+ 'color.text.accent.gray.bolder',
23
+ 'color.text.disabled',
24
+ 'color.text.inverse',
25
+ 'color.text.selected',
26
+ 'color.text.brand',
27
+ 'color.text.danger',
28
+ 'color.text.warning',
29
+ 'color.text.warning.inverse',
30
+ 'color.text.success',
31
+ 'color.text.discovery',
32
+ 'color.text.information',
33
+ 'color.text.subtlest',
34
+ 'color.text.subtle',
35
+ 'color.link',
36
+ 'color.link.pressed',
37
+ 'color.link.visited',
38
+ 'color.icon',
39
+ 'color.icon.accent.lime',
40
+ 'color.icon.accent.red',
41
+ 'color.icon.accent.orange',
42
+ 'color.icon.accent.yellow',
43
+ 'color.icon.accent.green',
44
+ 'color.icon.accent.teal',
45
+ 'color.icon.accent.blue',
46
+ 'color.icon.accent.purple',
47
+ 'color.icon.accent.magenta',
48
+ 'color.icon.accent.gray',
49
+ 'color.icon.disabled',
50
+ 'color.icon.inverse',
51
+ 'color.icon.selected',
52
+ 'color.icon.brand',
53
+ 'color.icon.danger',
54
+ 'color.icon.warning',
55
+ 'color.icon.warning.inverse',
56
+ 'color.icon.success',
57
+ 'color.icon.discovery',
58
+ 'color.icon.information',
59
+ 'color.icon.subtle',
60
+ 'color.border',
61
+ 'color.border.accent.lime',
62
+ 'color.border.accent.red',
63
+ 'color.border.accent.orange',
64
+ 'color.border.accent.yellow',
65
+ 'color.border.accent.green',
66
+ 'color.border.accent.teal',
67
+ 'color.border.accent.blue',
68
+ 'color.border.accent.purple',
69
+ 'color.border.accent.magenta',
70
+ 'color.border.accent.gray',
71
+ 'color.border.disabled',
72
+ 'color.border.focused',
73
+ 'color.border.input',
74
+ 'color.border.inverse',
75
+ 'color.border.selected',
76
+ 'color.border.brand',
77
+ 'color.border.danger',
78
+ 'color.border.warning',
79
+ 'color.border.success',
80
+ 'color.border.discovery',
81
+ 'color.border.information',
82
+ 'color.border.bold',
83
+ 'color.background.accent.lime.subtlest',
84
+ 'color.background.accent.lime.subtlest.hovered',
85
+ 'color.background.accent.lime.subtlest.pressed',
86
+ 'color.background.accent.lime.subtler',
87
+ 'color.background.accent.lime.subtler.hovered',
88
+ 'color.background.accent.lime.subtler.pressed',
89
+ 'color.background.accent.lime.subtle',
90
+ 'color.background.accent.lime.subtle.hovered',
91
+ 'color.background.accent.lime.subtle.pressed',
92
+ 'color.background.accent.lime.bolder',
93
+ 'color.background.accent.lime.bolder.hovered',
94
+ 'color.background.accent.lime.bolder.pressed',
95
+ 'color.background.accent.red.subtlest',
96
+ 'color.background.accent.red.subtlest.hovered',
97
+ 'color.background.accent.red.subtlest.pressed',
98
+ 'color.background.accent.red.subtler',
99
+ 'color.background.accent.red.subtler.hovered',
100
+ 'color.background.accent.red.subtler.pressed',
101
+ 'color.background.accent.red.subtle',
102
+ 'color.background.accent.red.subtle.hovered',
103
+ 'color.background.accent.red.subtle.pressed',
104
+ 'color.background.accent.red.bolder',
105
+ 'color.background.accent.red.bolder.hovered',
106
+ 'color.background.accent.red.bolder.pressed',
107
+ 'color.background.accent.orange.subtlest',
108
+ 'color.background.accent.orange.subtlest.hovered',
109
+ 'color.background.accent.orange.subtlest.pressed',
110
+ 'color.background.accent.orange.subtler',
111
+ 'color.background.accent.orange.subtler.hovered',
112
+ 'color.background.accent.orange.subtler.pressed',
113
+ 'color.background.accent.orange.subtle',
114
+ 'color.background.accent.orange.subtle.hovered',
115
+ 'color.background.accent.orange.subtle.pressed',
116
+ 'color.background.accent.orange.bolder',
117
+ 'color.background.accent.orange.bolder.hovered',
118
+ 'color.background.accent.orange.bolder.pressed',
119
+ 'color.background.accent.yellow.subtlest',
120
+ 'color.background.accent.yellow.subtlest.hovered',
121
+ 'color.background.accent.yellow.subtlest.pressed',
122
+ 'color.background.accent.yellow.subtler',
123
+ 'color.background.accent.yellow.subtler.hovered',
124
+ 'color.background.accent.yellow.subtler.pressed',
125
+ 'color.background.accent.yellow.subtle',
126
+ 'color.background.accent.yellow.subtle.hovered',
127
+ 'color.background.accent.yellow.subtle.pressed',
128
+ 'color.background.accent.yellow.bolder',
129
+ 'color.background.accent.yellow.bolder.hovered',
130
+ 'color.background.accent.yellow.bolder.pressed',
131
+ 'color.background.accent.green.subtlest',
132
+ 'color.background.accent.green.subtlest.hovered',
133
+ 'color.background.accent.green.subtlest.pressed',
134
+ 'color.background.accent.green.subtler',
135
+ 'color.background.accent.green.subtler.hovered',
136
+ 'color.background.accent.green.subtler.pressed',
137
+ 'color.background.accent.green.subtle',
138
+ 'color.background.accent.green.subtle.hovered',
139
+ 'color.background.accent.green.subtle.pressed',
140
+ 'color.background.accent.green.bolder',
141
+ 'color.background.accent.green.bolder.hovered',
142
+ 'color.background.accent.green.bolder.pressed',
143
+ 'color.background.accent.teal.subtlest',
144
+ 'color.background.accent.teal.subtlest.hovered',
145
+ 'color.background.accent.teal.subtlest.pressed',
146
+ 'color.background.accent.teal.subtler',
147
+ 'color.background.accent.teal.subtler.hovered',
148
+ 'color.background.accent.teal.subtler.pressed',
149
+ 'color.background.accent.teal.subtle',
150
+ 'color.background.accent.teal.subtle.hovered',
151
+ 'color.background.accent.teal.subtle.pressed',
152
+ 'color.background.accent.teal.bolder',
153
+ 'color.background.accent.teal.bolder.hovered',
154
+ 'color.background.accent.teal.bolder.pressed',
155
+ 'color.background.accent.blue.subtlest',
156
+ 'color.background.accent.blue.subtlest.hovered',
157
+ 'color.background.accent.blue.subtlest.pressed',
158
+ 'color.background.accent.blue.subtler',
159
+ 'color.background.accent.blue.subtler.hovered',
160
+ 'color.background.accent.blue.subtler.pressed',
161
+ 'color.background.accent.blue.subtle',
162
+ 'color.background.accent.blue.subtle.hovered',
163
+ 'color.background.accent.blue.subtle.pressed',
164
+ 'color.background.accent.blue.bolder',
165
+ 'color.background.accent.blue.bolder.hovered',
166
+ 'color.background.accent.blue.bolder.pressed',
167
+ 'color.background.accent.purple.subtlest',
168
+ 'color.background.accent.purple.subtlest.hovered',
169
+ 'color.background.accent.purple.subtlest.pressed',
170
+ 'color.background.accent.purple.subtler',
171
+ 'color.background.accent.purple.subtler.hovered',
172
+ 'color.background.accent.purple.subtler.pressed',
173
+ 'color.background.accent.purple.subtle',
174
+ 'color.background.accent.purple.subtle.hovered',
175
+ 'color.background.accent.purple.subtle.pressed',
176
+ 'color.background.accent.purple.bolder',
177
+ 'color.background.accent.purple.bolder.hovered',
178
+ 'color.background.accent.purple.bolder.pressed',
179
+ 'color.background.accent.magenta.subtlest',
180
+ 'color.background.accent.magenta.subtlest.hovered',
181
+ 'color.background.accent.magenta.subtlest.pressed',
182
+ 'color.background.accent.magenta.subtler',
183
+ 'color.background.accent.magenta.subtler.hovered',
184
+ 'color.background.accent.magenta.subtler.pressed',
185
+ 'color.background.accent.magenta.subtle',
186
+ 'color.background.accent.magenta.subtle.hovered',
187
+ 'color.background.accent.magenta.subtle.pressed',
188
+ 'color.background.accent.magenta.bolder',
189
+ 'color.background.accent.magenta.bolder.hovered',
190
+ 'color.background.accent.magenta.bolder.pressed',
191
+ 'color.background.accent.gray.subtlest',
192
+ 'color.background.accent.gray.subtlest.hovered',
193
+ 'color.background.accent.gray.subtlest.pressed',
194
+ 'color.background.accent.gray.subtler',
195
+ 'color.background.accent.gray.subtler.hovered',
196
+ 'color.background.accent.gray.subtler.pressed',
197
+ 'color.background.accent.gray.subtle',
198
+ 'color.background.accent.gray.subtle.hovered',
199
+ 'color.background.accent.gray.subtle.pressed',
200
+ 'color.background.accent.gray.bolder',
201
+ 'color.background.accent.gray.bolder.hovered',
202
+ 'color.background.accent.gray.bolder.pressed',
203
+ 'color.background.disabled',
204
+ 'color.background.input',
205
+ 'color.background.input.hovered',
206
+ 'color.background.input.pressed',
207
+ 'color.background.inverse.subtle',
208
+ 'color.background.inverse.subtle.hovered',
209
+ 'color.background.inverse.subtle.pressed',
210
+ 'color.background.neutral',
211
+ 'color.background.neutral.hovered',
212
+ 'color.background.neutral.pressed',
213
+ 'color.background.neutral.subtle',
214
+ 'color.background.neutral.subtle.hovered',
215
+ 'color.background.neutral.subtle.pressed',
216
+ 'color.background.neutral.bold',
217
+ 'color.background.neutral.bold.hovered',
218
+ 'color.background.neutral.bold.pressed',
219
+ 'color.background.selected',
220
+ 'color.background.selected.hovered',
221
+ 'color.background.selected.pressed',
222
+ 'color.background.selected.bold',
223
+ 'color.background.selected.bold.hovered',
224
+ 'color.background.selected.bold.pressed',
225
+ 'color.background.brand.subtlest',
226
+ 'color.background.brand.subtlest.hovered',
227
+ 'color.background.brand.subtlest.pressed',
228
+ 'color.background.brand.bold',
229
+ 'color.background.brand.bold.hovered',
230
+ 'color.background.brand.bold.pressed',
231
+ 'color.background.brand.boldest',
232
+ 'color.background.brand.boldest.hovered',
233
+ 'color.background.brand.boldest.pressed',
234
+ 'color.background.danger',
235
+ 'color.background.danger.hovered',
236
+ 'color.background.danger.pressed',
237
+ 'color.background.danger.bold',
238
+ 'color.background.danger.bold.hovered',
239
+ 'color.background.danger.bold.pressed',
240
+ 'color.background.warning',
241
+ 'color.background.warning.hovered',
242
+ 'color.background.warning.pressed',
243
+ 'color.background.warning.bold',
244
+ 'color.background.warning.bold.hovered',
245
+ 'color.background.warning.bold.pressed',
246
+ 'color.background.success',
247
+ 'color.background.success.hovered',
248
+ 'color.background.success.pressed',
249
+ 'color.background.success.bold',
250
+ 'color.background.success.bold.hovered',
251
+ 'color.background.success.bold.pressed',
252
+ 'color.background.discovery',
253
+ 'color.background.discovery.hovered',
254
+ 'color.background.discovery.pressed',
255
+ 'color.background.discovery.bold',
256
+ 'color.background.discovery.bold.hovered',
257
+ 'color.background.discovery.bold.pressed',
258
+ 'color.background.information',
259
+ 'color.background.information.hovered',
260
+ 'color.background.information.pressed',
261
+ 'color.background.information.bold',
262
+ 'color.background.information.bold.hovered',
263
+ 'color.background.information.bold.pressed',
264
+ 'color.blanket',
265
+ 'color.blanket.selected',
266
+ 'color.blanket.danger',
267
+ 'color.skeleton',
268
+ 'color.skeleton.subtle',
269
+ 'elevation.surface',
270
+ 'elevation.surface.hovered',
271
+ 'elevation.surface.pressed',
272
+ 'elevation.surface.overlay',
273
+ 'elevation.surface.overlay.hovered',
274
+ 'elevation.surface.overlay.pressed',
275
+ 'elevation.surface.raised',
276
+ 'elevation.surface.raised.hovered',
277
+ 'elevation.surface.raised.pressed',
278
+ 'elevation.surface.sunken',
279
+ 'elevation.shadow.overlay',
280
+ 'elevation.shadow.raised',
281
+ 'opacity.disabled',
282
+ 'opacity.loading',
283
+ 'utility.elevation.surface.current',
284
+ ];
285
+
286
+ export const uniqueWordsFromTokens = [
287
+ 'color',
288
+ 'text',
289
+ 'accent',
290
+ 'lime',
291
+ 'bolder',
292
+ 'red',
293
+ 'orange',
294
+ 'yellow',
295
+ 'green',
296
+ 'teal',
297
+ 'blue',
298
+ 'purple',
299
+ 'magenta',
300
+ 'gray',
301
+ 'disabled',
302
+ 'inverse',
303
+ 'selected',
304
+ 'brand',
305
+ 'danger',
306
+ 'warning',
307
+ 'success',
308
+ 'discovery',
309
+ 'information',
310
+ 'subtlest',
311
+ 'subtle',
312
+ 'link',
313
+ 'pressed',
314
+ 'visited',
315
+ 'icon',
316
+ 'border',
317
+ 'focused',
318
+ 'input',
319
+ 'bold',
320
+ 'background',
321
+ 'hovered',
322
+ 'subtler',
323
+ 'neutral',
324
+ 'boldest',
325
+ 'blanket',
326
+ 'interaction',
327
+ 'skeleton',
328
+ 'chart',
329
+ 'categorical',
330
+ 'elevation',
331
+ 'surface',
332
+ 'overlay',
333
+ 'raised',
334
+ 'sunken',
335
+ 'shadow',
336
+ 'overflow',
337
+ 'perimeter',
338
+ 'spread',
339
+ 'opacity',
340
+ 'loading',
341
+ 'utility',
342
+ 'transform',
343
+ 'uppercase',
344
+ 'transparent',
345
+ 'current',
346
+ 'radius',
347
+ 'circle',
348
+ 'width',
349
+ 'indicator',
350
+ 'outline',
351
+ 'space',
352
+ 'negative',
353
+ 'font',
354
+ 'heading',
355
+ 'xxlarge',
356
+ 'xlarge',
357
+ 'large',
358
+ 'medium',
359
+ 'small',
360
+ 'xsmall',
361
+ 'xxsmall',
362
+ 'body',
363
+ 'ui',
364
+ 'code',
365
+ 'letter',
366
+ 'spacing',
367
+ 'family',
368
+ 'monospace',
369
+ 'sans',
370
+ 'size',
371
+ 'weight',
372
+ 'regular',
373
+ 'semibold',
374
+ 'line',
375
+ 'height',
376
+ ];
@@ -18,7 +18,7 @@ exports.default = void 0;
18
18
  * These changes will then be picked up by our tooling which will attempt to
19
19
  * migrate as many of these renames as possible.
20
20
  *
21
- * @codegen <<SignedSource::2df62eea3dac692cc6574ac0124e31a8>>
21
+ * @codegen <<SignedSource::89c10efc85f250da0db65341b911ad2e>>
22
22
  * @codegenCommand yarn build tokens
23
23
  */
24
24
 
@@ -82,18 +82,6 @@ var replacementMapper = [{
82
82
  }, {
83
83
  "path": "font.size.600",
84
84
  "state": "deprecated"
85
- }, {
86
- "path": "font.weight.bold",
87
- "state": "deprecated"
88
- }, {
89
- "path": "font.weight.medium",
90
- "state": "deprecated"
91
- }, {
92
- "path": "font.weight.regular",
93
- "state": "deprecated"
94
- }, {
95
- "path": "font.weight.semibold",
96
- "state": "deprecated"
97
85
  }, {
98
86
  "path": "font.lineHeight.1",
99
87
  "state": "deprecated"
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  /**
8
8
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::09c51516f1576e47a5186c022a1c7897>>
9
+ * @codegen <<SignedSource::6f19563c59b6fe6474e82b98deb29395>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
- var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-ui: normal 500 0.875rem/1 ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-ui-small: normal 400 0.75rem/1 ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.25rem/1.5rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1rem/1.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n }\n}\n";
12
+ var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-ui: normal 500 0.875rem/1 ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-ui-small: normal 400 0.75rem/1 ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.25rem/1.5rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1rem/1.25rem ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n }\n}\n";
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  /**
8
8
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::3108648b3c52a0b027e8157561eec54a>>
9
+ * @codegen <<SignedSource::61dd6fdb38f371b93ae7d91770bd4e77>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
@@ -875,10 +875,9 @@ var tokens = [{
875
875
  }, {
876
876
  "attributes": {
877
877
  "group": "fontWeight",
878
- "state": "deprecated",
878
+ "state": "active",
879
879
  "introduced": "0.10.33",
880
- "description": "Helpful guidance goes here",
881
- "deprecated": "1.29.0"
880
+ "description": "Helpful guidance goes here"
882
881
  },
883
882
  "value": "700",
884
883
  "filePath": "schema/themes/atlassian-typography-adg3/font-weight.tsx",
@@ -886,10 +885,9 @@ var tokens = [{
886
885
  "original": {
887
886
  "attributes": {
888
887
  "group": "fontWeight",
889
- "state": "deprecated",
888
+ "state": "active",
890
889
  "introduced": "0.10.33",
891
- "description": "Helpful guidance goes here",
892
- "deprecated": "1.29.0"
890
+ "description": "Helpful guidance goes here"
893
891
  },
894
892
  "value": "FontWeight700"
895
893
  },
@@ -899,10 +897,9 @@ var tokens = [{
899
897
  }, {
900
898
  "attributes": {
901
899
  "group": "fontWeight",
902
- "state": "deprecated",
900
+ "state": "active",
903
901
  "introduced": "0.10.33",
904
- "description": "Helpful guidance goes here",
905
- "deprecated": "1.29.0"
902
+ "description": "Helpful guidance goes here"
906
903
  },
907
904
  "value": "500",
908
905
  "filePath": "schema/themes/atlassian-typography-adg3/font-weight.tsx",
@@ -910,10 +907,9 @@ var tokens = [{
910
907
  "original": {
911
908
  "attributes": {
912
909
  "group": "fontWeight",
913
- "state": "deprecated",
910
+ "state": "active",
914
911
  "introduced": "0.10.33",
915
- "description": "Helpful guidance goes here",
916
- "deprecated": "1.29.0"
912
+ "description": "Helpful guidance goes here"
917
913
  },
918
914
  "value": "FontWeight500"
919
915
  },
@@ -923,10 +919,9 @@ var tokens = [{
923
919
  }, {
924
920
  "attributes": {
925
921
  "group": "fontWeight",
926
- "state": "deprecated",
922
+ "state": "active",
927
923
  "introduced": "0.10.33",
928
- "description": "Helpful guidance goes here",
929
- "deprecated": "1.29.0"
924
+ "description": "Helpful guidance goes here"
930
925
  },
931
926
  "value": "400",
932
927
  "filePath": "schema/themes/atlassian-typography-adg3/font-weight.tsx",
@@ -934,10 +929,9 @@ var tokens = [{
934
929
  "original": {
935
930
  "attributes": {
936
931
  "group": "fontWeight",
937
- "state": "deprecated",
932
+ "state": "active",
938
933
  "introduced": "0.10.33",
939
- "description": "Helpful guidance goes here",
940
- "deprecated": "1.29.0"
934
+ "description": "Helpful guidance goes here"
941
935
  },
942
936
  "value": "FontWeight400"
943
937
  },
@@ -947,10 +941,9 @@ var tokens = [{
947
941
  }, {
948
942
  "attributes": {
949
943
  "group": "fontWeight",
950
- "state": "deprecated",
944
+ "state": "active",
951
945
  "introduced": "0.10.33",
952
- "description": "Helpful guidance goes here",
953
- "deprecated": "1.29.0"
946
+ "description": "Helpful guidance goes here"
954
947
  },
955
948
  "value": "600",
956
949
  "filePath": "schema/themes/atlassian-typography-adg3/font-weight.tsx",
@@ -958,10 +951,9 @@ var tokens = [{
958
951
  "original": {
959
952
  "attributes": {
960
953
  "group": "fontWeight",
961
- "state": "deprecated",
954
+ "state": "active",
962
955
  "introduced": "0.10.33",
963
- "description": "Helpful guidance goes here",
964
- "deprecated": "1.29.0"
956
+ "description": "Helpful guidance goes here"
965
957
  },
966
958
  "value": "FontWeight600"
967
959
  },
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  /**
8
8
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::deb901a7523152aa8398d8096182dc09>>
9
+ * @codegen <<SignedSource::50936ff02c06fe3c1fc566afdf1e5301>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
@@ -680,5 +680,93 @@ var tokens = [{
680
680
  "name": "font.family.brand",
681
681
  "path": ["font", "family", "brand"],
682
682
  "cleanName": "font.family.brand"
683
+ }, {
684
+ "attributes": {
685
+ "group": "fontWeight",
686
+ "state": "active",
687
+ "introduced": "0.10.33",
688
+ "description": "Helpful guidance goes here"
689
+ },
690
+ "value": "700",
691
+ "filePath": "schema/themes/atlassian-typography-minor3/font-weight.tsx",
692
+ "isSource": true,
693
+ "original": {
694
+ "attributes": {
695
+ "group": "fontWeight",
696
+ "state": "active",
697
+ "introduced": "0.10.33",
698
+ "description": "Helpful guidance goes here"
699
+ },
700
+ "value": "FontWeight700"
701
+ },
702
+ "name": "font.weight.bold",
703
+ "path": ["font", "weight", "bold"],
704
+ "cleanName": "font.weight.bold"
705
+ }, {
706
+ "attributes": {
707
+ "group": "fontWeight",
708
+ "state": "active",
709
+ "introduced": "0.10.33",
710
+ "description": "Helpful guidance goes here"
711
+ },
712
+ "value": "500",
713
+ "filePath": "schema/themes/atlassian-typography-minor3/font-weight.tsx",
714
+ "isSource": true,
715
+ "original": {
716
+ "attributes": {
717
+ "group": "fontWeight",
718
+ "state": "active",
719
+ "introduced": "0.10.33",
720
+ "description": "Helpful guidance goes here"
721
+ },
722
+ "value": "FontWeight500"
723
+ },
724
+ "name": "font.weight.medium",
725
+ "path": ["font", "weight", "medium"],
726
+ "cleanName": "font.weight.medium"
727
+ }, {
728
+ "attributes": {
729
+ "group": "fontWeight",
730
+ "state": "active",
731
+ "introduced": "0.10.33",
732
+ "description": "Helpful guidance goes here"
733
+ },
734
+ "value": "400",
735
+ "filePath": "schema/themes/atlassian-typography-minor3/font-weight.tsx",
736
+ "isSource": true,
737
+ "original": {
738
+ "attributes": {
739
+ "group": "fontWeight",
740
+ "state": "active",
741
+ "introduced": "0.10.33",
742
+ "description": "Helpful guidance goes here"
743
+ },
744
+ "value": "FontWeight400"
745
+ },
746
+ "name": "font.weight.regular",
747
+ "path": ["font", "weight", "regular"],
748
+ "cleanName": "font.weight.regular"
749
+ }, {
750
+ "attributes": {
751
+ "group": "fontWeight",
752
+ "state": "active",
753
+ "introduced": "0.10.33",
754
+ "description": "Helpful guidance goes here"
755
+ },
756
+ "value": "600",
757
+ "filePath": "schema/themes/atlassian-typography-minor3/font-weight.tsx",
758
+ "isSource": true,
759
+ "original": {
760
+ "attributes": {
761
+ "group": "fontWeight",
762
+ "state": "active",
763
+ "introduced": "0.10.33",
764
+ "description": "Helpful guidance goes here"
765
+ },
766
+ "value": "FontWeight600"
767
+ },
768
+ "name": "font.weight.semibold",
769
+ "path": ["font", "weight", "semibold"],
770
+ "cleanName": "font.weight.semibold"
683
771
  }];
684
772
  var _default = exports.default = tokens;
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var name = "@atlaskit/tokens";
11
- var version = "1.35.0";
11
+ var version = "1.37.0";
12
12
  /**
13
13
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
14
14
  * resulting CSS Custom Property.
@@ -9,7 +9,7 @@ var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var _constants = require("./constants");
11
11
  var name = "@atlaskit/tokens";
12
- var version = "1.35.0";
12
+ var version = "1.37.0";
13
13
  /**
14
14
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
15
15
  * This should be used to implement design decisions throughout your application.