@atlaskit/tokens 1.17.1 → 1.19.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 (149) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/dist/cjs/artifacts/generated-pairs.js +2 -2
  3. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +92 -77
  4. package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
  5. package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +2 -2
  6. package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +2 -2
  7. package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
  8. package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
  9. package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
  10. package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
  11. package/dist/cjs/artifacts/token-default-values.js +84 -3
  12. package/dist/cjs/artifacts/token-names.js +82 -1
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +2044 -284
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +2052 -292
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +2038 -278
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +2037 -277
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +44 -99
  18. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +42 -97
  19. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +42 -97
  20. package/dist/cjs/babel-plugin/plugin.js +2 -2
  21. package/dist/cjs/get-global-theme.js +2 -2
  22. package/dist/cjs/get-token-value.js +1 -1
  23. package/dist/cjs/get-token.js +1 -1
  24. package/dist/cjs/palettes/typography-palette.js +46 -40
  25. package/dist/cjs/tokens/atlassian-dark/color/accent.js +360 -40
  26. package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +396 -52
  27. package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +396 -52
  28. package/dist/cjs/tokens/atlassian-light/color/accent.js +360 -40
  29. package/dist/cjs/tokens/atlassian-typography/theme.js +10 -0
  30. package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +12 -2
  31. package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +10 -0
  32. package/dist/cjs/tokens/default/color/accent.js +920 -200
  33. package/dist/cjs/tokens/default/typography/font.js +8 -0
  34. package/dist/cjs/utils/generate-custom-color-ramp.js +2 -2
  35. package/dist/es2019/artifacts/generated-pairs.js +2 -2
  36. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +92 -77
  37. package/dist/es2019/artifacts/themes/atlassian-dark.js +81 -1
  38. package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +85 -5
  39. package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +86 -6
  40. package/dist/es2019/artifacts/themes/atlassian-light.js +81 -1
  41. package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +4 -3
  42. package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +2 -1
  43. package/dist/es2019/artifacts/themes/atlassian-typography.js +2 -1
  44. package/dist/es2019/artifacts/token-default-values.js +84 -3
  45. package/dist/es2019/artifacts/token-names.js +82 -1
  46. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +2044 -284
  47. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +2052 -292
  48. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +2038 -278
  49. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +2037 -277
  50. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +44 -99
  51. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +42 -97
  52. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +42 -97
  53. package/dist/es2019/get-theme-styles.js +1 -2
  54. package/dist/es2019/get-token-value.js +1 -1
  55. package/dist/es2019/get-token.js +1 -1
  56. package/dist/es2019/palettes/typography-palette.js +44 -38
  57. package/dist/es2019/tokens/atlassian-dark/color/accent.js +360 -40
  58. package/dist/es2019/tokens/atlassian-legacy-dark/color/accent.js +396 -52
  59. package/dist/es2019/tokens/atlassian-legacy-light/color/accent.js +396 -52
  60. package/dist/es2019/tokens/atlassian-light/color/accent.js +360 -40
  61. package/dist/es2019/tokens/atlassian-typography/theme.js +10 -0
  62. package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +12 -2
  63. package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +10 -0
  64. package/dist/es2019/tokens/default/color/accent.js +920 -200
  65. package/dist/es2019/tokens/default/typography/font.js +8 -0
  66. package/dist/esm/artifacts/generated-pairs.js +2 -2
  67. package/dist/esm/artifacts/palettes-raw/typography-palette.js +92 -77
  68. package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
  69. package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +2 -2
  70. package/dist/esm/artifacts/themes/atlassian-legacy-light.js +2 -2
  71. package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
  72. package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
  73. package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
  74. package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
  75. package/dist/esm/artifacts/token-default-values.js +84 -3
  76. package/dist/esm/artifacts/token-names.js +82 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +2044 -284
  78. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +2052 -292
  79. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +2038 -278
  80. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +2037 -277
  81. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +44 -99
  82. package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +42 -97
  83. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +42 -97
  84. package/dist/esm/babel-plugin/plugin.js +2 -2
  85. package/dist/esm/get-global-theme.js +2 -2
  86. package/dist/esm/get-token-value.js +1 -1
  87. package/dist/esm/get-token.js +1 -1
  88. package/dist/esm/palettes/typography-palette.js +46 -40
  89. package/dist/esm/tokens/atlassian-dark/color/accent.js +360 -40
  90. package/dist/esm/tokens/atlassian-legacy-dark/color/accent.js +396 -52
  91. package/dist/esm/tokens/atlassian-legacy-light/color/accent.js +396 -52
  92. package/dist/esm/tokens/atlassian-light/color/accent.js +360 -40
  93. package/dist/esm/tokens/atlassian-typography/theme.js +10 -0
  94. package/dist/esm/tokens/atlassian-typography-adg3/theme.js +12 -2
  95. package/dist/esm/tokens/atlassian-typography-minor3/theme.js +10 -0
  96. package/dist/esm/tokens/default/color/accent.js +920 -200
  97. package/dist/esm/tokens/default/typography/font.js +8 -0
  98. package/dist/esm/utils/generate-custom-color-ramp.js +2 -2
  99. package/dist/types/artifacts/generated-pairs.d.ts +1 -1
  100. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  101. package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
  102. package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
  103. package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
  104. package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
  105. package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
  106. package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
  107. package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
  108. package/dist/types/artifacts/token-default-values.d.ts +84 -3
  109. package/dist/types/artifacts/token-names.d.ts +163 -1
  110. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  111. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  112. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  113. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  114. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +2 -45
  115. package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +2 -81
  116. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +2 -81
  117. package/dist/types/artifacts/types-internal.d.ts +2 -2
  118. package/dist/types/artifacts/types.d.ts +2 -2
  119. package/dist/types/palettes/typography-palette.d.ts +1 -1
  120. package/dist/types/types.d.ts +206 -46
  121. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
  122. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  123. package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
  124. package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
  125. package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
  126. package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
  127. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
  128. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
  129. package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
  130. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +84 -3
  131. package/dist/types-ts4.5/artifacts/token-names.d.ts +163 -1
  132. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  133. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  134. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  135. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  136. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +2 -45
  137. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +2 -81
  138. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +2 -81
  139. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  140. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  141. package/dist/types-ts4.5/palettes/typography-palette.d.ts +1 -1
  142. package/dist/types-ts4.5/types.d.ts +206 -46
  143. package/figma/atlassian-dark.json +720 -0
  144. package/figma/atlassian-legacy-dark.json +724 -4
  145. package/figma/atlassian-legacy-light.json +724 -4
  146. package/figma/atlassian-light.json +720 -0
  147. package/package.json +1 -1
  148. package/report.api.md +362 -40
  149. package/tmp/api-report-tmp.d.ts +164 -2
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::bf6a6956c0f05008a38d080067ade3fb>>
3
+ * @codegen <<SignedSource::eaaa970ce079ba5e26ef6b1bd1440d6c>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -10,14 +10,7 @@ const tokens = [{
10
10
  "introduced": "1.14.0",
11
11
  "description": "The default body font."
12
12
  },
13
- "value": {
14
- "fontSize": 14,
15
- "fontStyle": "normal",
16
- "fontWeight": "400",
17
- "lineHeight": 20,
18
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
19
- "letterSpacing": "0"
20
- },
13
+ "value": "normal 400 14px/20px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
21
14
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
22
15
  "isSource": true,
23
16
  "original": {
@@ -44,16 +37,38 @@ const tokens = [{
44
37
  "group": "typography",
45
38
  "state": "experimental",
46
39
  "introduced": "1.14.0",
47
- "description": "Smaller body font."
40
+ "description": "Larger body font or default body font for text rich experiences."
48
41
  },
49
- "value": {
50
- "fontSize": 12,
51
- "fontStyle": "normal",
52
- "fontWeight": "400",
53
- "lineHeight": 20,
54
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
55
- "letterSpacing": "0"
42
+ "value": "normal 400 16px/24px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
43
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
44
+ "isSource": true,
45
+ "original": {
46
+ "attributes": {
47
+ "group": "typography",
48
+ "state": "experimental",
49
+ "introduced": "1.14.0",
50
+ "description": "Larger body font or default body font for text rich experiences."
51
+ },
52
+ "value": {
53
+ "fontWeight": "FontWeight400",
54
+ "fontSize": "FontSize16",
55
+ "lineHeight": "LineHeight300",
56
+ "fontFamily": "FontFamilyWebSans",
57
+ "fontStyle": "normal",
58
+ "letterSpacing": "LetterSpacing0"
59
+ }
56
60
  },
61
+ "name": "font.body.lg",
62
+ "path": ["font", "body", "lg"],
63
+ "cleanName": "font.body.lg"
64
+ }, {
65
+ "attributes": {
66
+ "group": "typography",
67
+ "state": "experimental",
68
+ "introduced": "1.14.0",
69
+ "description": "Smaller body font."
70
+ },
71
+ "value": "normal 400 12px/20px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
57
72
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
58
73
  "isSource": true,
59
74
  "original": {
@@ -82,14 +97,7 @@ const tokens = [{
82
97
  "introduced": "1.14.0",
83
98
  "description": "Used for monospace and code."
84
99
  },
85
- "value": {
86
- "fontSize": "0.875em",
87
- "fontStyle": "normal",
88
- "fontWeight": "400",
89
- "lineHeight": "1",
90
- "fontFamily": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
91
- "letterSpacing": "0"
92
- },
100
+ "value": "normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
93
101
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
94
102
  "isSource": true,
95
103
  "original": {
@@ -118,14 +126,7 @@ const tokens = [{
118
126
  "introduced": "1.14.0",
119
127
  "description": "TBD"
120
128
  },
121
- "value": {
122
- "fontSize": 24,
123
- "fontStyle": "normal",
124
- "fontWeight": "700",
125
- "lineHeight": 28,
126
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
127
- "letterSpacing": "0"
128
- },
129
+ "value": "normal 700 24px/28px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
129
130
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
130
131
  "isSource": true,
131
132
  "original": {
@@ -154,14 +155,7 @@ const tokens = [{
154
155
  "introduced": "1.14.0",
155
156
  "description": "TBD"
156
157
  },
157
- "value": {
158
- "fontSize": 20,
159
- "fontStyle": "normal",
160
- "fontWeight": "700",
161
- "lineHeight": 24,
162
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
163
- "letterSpacing": "0"
164
- },
158
+ "value": "normal 700 20px/24px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
165
159
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
166
160
  "isSource": true,
167
161
  "original": {
@@ -190,14 +184,7 @@ const tokens = [{
190
184
  "introduced": "1.14.0",
191
185
  "description": "TBD"
192
186
  },
193
- "value": {
194
- "fontSize": 16,
195
- "fontStyle": "normal",
196
- "fontWeight": "700",
197
- "lineHeight": 20,
198
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
199
- "letterSpacing": "0"
200
- },
187
+ "value": "normal 700 16px/20px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
201
188
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
202
189
  "isSource": true,
203
190
  "original": {
@@ -226,14 +213,7 @@ const tokens = [{
226
213
  "introduced": "1.14.0",
227
214
  "description": "TBD"
228
215
  },
229
- "value": {
230
- "fontSize": 28,
231
- "fontStyle": "normal",
232
- "fontWeight": "700",
233
- "lineHeight": 32,
234
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
235
- "letterSpacing": "0"
236
- },
216
+ "value": "normal 700 28px/32px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
237
217
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
238
218
  "isSource": true,
239
219
  "original": {
@@ -262,14 +242,7 @@ const tokens = [{
262
242
  "introduced": "1.14.0",
263
243
  "description": "TBD"
264
244
  },
265
- "value": {
266
- "fontSize": 14,
267
- "fontStyle": "normal",
268
- "fontWeight": "700",
269
- "lineHeight": 16,
270
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
271
- "letterSpacing": "0"
272
- },
245
+ "value": "normal 700 14px/16px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
273
246
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
274
247
  "isSource": true,
275
248
  "original": {
@@ -298,14 +271,7 @@ const tokens = [{
298
271
  "introduced": "1.14.0",
299
272
  "description": "TBD"
300
273
  },
301
- "value": {
302
- "fontSize": 36,
303
- "fontStyle": "normal",
304
- "fontWeight": "700",
305
- "lineHeight": 40,
306
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
307
- "letterSpacing": "0"
308
- },
274
+ "value": "normal 700 36px/40px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
309
275
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
310
276
  "isSource": true,
311
277
  "original": {
@@ -334,14 +300,7 @@ const tokens = [{
334
300
  "introduced": "1.14.0",
335
301
  "description": "TBD"
336
302
  },
337
- "value": {
338
- "fontSize": 12,
339
- "fontStyle": "normal",
340
- "fontWeight": "700",
341
- "lineHeight": 16,
342
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
343
- "letterSpacing": "0"
344
- },
303
+ "value": "normal 700 12px/16px ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
345
304
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
346
305
  "isSource": true,
347
306
  "original": {
@@ -480,14 +439,7 @@ const tokens = [{
480
439
  "introduced": "1.14.0",
481
440
  "description": "Single-line non-wrapping text like that in a button."
482
441
  },
483
- "value": {
484
- "fontSize": 14,
485
- "fontStyle": "normal",
486
- "fontWeight": "400",
487
- "lineHeight": "1",
488
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
489
- "letterSpacing": "0"
490
- },
442
+ "value": "normal 400 14px/1 ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
491
443
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
492
444
  "isSource": true,
493
445
  "original": {
@@ -516,14 +468,7 @@ const tokens = [{
516
468
  "introduced": "1.14.0",
517
469
  "description": "Single-line non-wrapping supporting text like that in a smaller label."
518
470
  },
519
- "value": {
520
- "fontSize": 12,
521
- "fontStyle": "normal",
522
- "fontWeight": "400",
523
- "lineHeight": "1",
524
- "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
525
- "letterSpacing": "0"
526
- },
471
+ "value": "normal 400 12px/1 ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
527
472
  "filePath": "src/tokens/atlassian-typography/theme.tsx",
528
473
  "isSource": true,
529
474
  "original": {
@@ -48,8 +48,7 @@ const getThemeStyles = async preferences => {
48
48
  }
49
49
  }),
50
50
  // Add custom themes if they're present
51
- (async () => {
52
- var _preferences$UNSAFE_t;
51
+ (async _preferences$UNSAFE_t => {
53
52
  if (preferences !== 'all' && preferences !== null && preferences !== void 0 && preferences.UNSAFE_themeOptions && isValidBrandHex(preferences === null || preferences === void 0 ? void 0 : (_preferences$UNSAFE_t = preferences.UNSAFE_themeOptions) === null || _preferences$UNSAFE_t === void 0 ? void 0 : _preferences$UNSAFE_t.brandColor)) {
54
53
  try {
55
54
  const {
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  const name = "@atlaskit/tokens";
4
- const version = "1.17.1";
4
+ const version = "1.19.0";
5
5
  /**
6
6
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
7
7
  * resulting CSS Custom Property.
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
4
4
  const name = "@atlaskit/tokens";
5
- const version = "1.17.1";
5
+ const version = "1.19.0";
6
6
  /**
7
7
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
8
8
  * This should be used to implement design decisions throughout your application.
@@ -3,31 +3,31 @@ const letterSpacingScale = {
3
3
  LetterSpacing0: {
4
4
  value: '0',
5
5
  attributes: {
6
- group: 'typography'
6
+ group: 'letterSpacing'
7
7
  }
8
8
  },
9
9
  LetterSpacing100: {
10
10
  value: '-0.003em',
11
11
  attributes: {
12
- group: 'typography'
12
+ group: 'letterSpacing'
13
13
  }
14
14
  },
15
15
  LetterSpacing200: {
16
16
  value: '-0.006em',
17
17
  attributes: {
18
- group: 'typography'
18
+ group: 'letterSpacing'
19
19
  }
20
20
  },
21
21
  LetterSpacing300: {
22
22
  value: '-0.008em',
23
23
  attributes: {
24
- group: 'typography'
24
+ group: 'letterSpacing'
25
25
  }
26
26
  },
27
27
  LetterSpacing400: {
28
28
  value: '-0.01em',
29
29
  attributes: {
30
- group: 'typography'
30
+ group: 'letterSpacing'
31
31
  }
32
32
  }
33
33
  }
@@ -37,49 +37,55 @@ const lineHeightScale = {
37
37
  LineHeight1: {
38
38
  value: '1',
39
39
  attributes: {
40
- group: 'typography'
40
+ group: 'lineHeight'
41
+ }
42
+ },
43
+ LineHeight050: {
44
+ value: 12,
45
+ attributes: {
46
+ group: 'lineHeight'
41
47
  }
42
48
  },
43
49
  LineHeight100: {
44
50
  value: 16,
45
51
  attributes: {
46
- group: 'typography'
52
+ group: 'lineHeight'
47
53
  }
48
54
  },
49
55
  LineHeight200: {
50
56
  value: 20,
51
57
  attributes: {
52
- group: 'typography'
58
+ group: 'lineHeight'
53
59
  }
54
60
  },
55
61
  LineHeight300: {
56
62
  value: 24,
57
63
  attributes: {
58
- group: 'typography'
64
+ group: 'lineHeight'
59
65
  }
60
66
  },
61
67
  LineHeight400: {
62
68
  value: 28,
63
69
  attributes: {
64
- group: 'typography'
70
+ group: 'lineHeight'
65
71
  }
66
72
  },
67
73
  LineHeight500: {
68
74
  value: 32,
69
75
  attributes: {
70
- group: 'typography'
76
+ group: 'lineHeight'
71
77
  }
72
78
  },
73
79
  LineHeight600: {
74
80
  value: 36,
75
81
  attributes: {
76
- group: 'typography'
82
+ group: 'lineHeight'
77
83
  }
78
84
  },
79
85
  LineHeight700: {
80
86
  value: 40,
81
87
  attributes: {
82
- group: 'typography'
88
+ group: 'lineHeight'
83
89
  }
84
90
  }
85
91
  }
@@ -89,25 +95,25 @@ const fontWeightScale = {
89
95
  FontWeight400: {
90
96
  value: '400',
91
97
  attributes: {
92
- group: 'typography'
98
+ group: 'fontWeight'
93
99
  }
94
100
  },
95
101
  FontWeight500: {
96
102
  value: '500',
97
103
  attributes: {
98
- group: 'typography'
104
+ group: 'fontWeight'
99
105
  }
100
106
  },
101
107
  FontWeight600: {
102
108
  value: '600',
103
109
  attributes: {
104
- group: 'typography'
110
+ group: 'fontWeight'
105
111
  }
106
112
  },
107
113
  FontWeight700: {
108
114
  value: '700',
109
115
  attributes: {
110
- group: 'typography'
116
+ group: 'fontWeight'
111
117
  }
112
118
  }
113
119
  }
@@ -117,13 +123,13 @@ const fontFamilyPalette = {
117
123
  FontFamilyCharlie: {
118
124
  value: 'Charlie Sans',
119
125
  attributes: {
120
- group: 'typography'
126
+ group: 'fontFamily'
121
127
  }
122
128
  },
123
129
  LegacyFontFamilyWebSans: {
124
130
  value: `-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif`,
125
131
  attributes: {
126
- group: 'typography'
132
+ group: 'fontFamily'
127
133
  }
128
134
  },
129
135
  /**
@@ -134,37 +140,37 @@ const fontFamilyPalette = {
134
140
  FontFamilyWebSans: {
135
141
  value: `ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif`,
136
142
  attributes: {
137
- group: 'typography'
143
+ group: 'fontFamily'
138
144
  }
139
145
  },
140
146
  FontFamilyiOSSans: {
141
147
  value: 'SF Pro',
142
148
  attributes: {
143
- group: 'typography'
149
+ group: 'fontFamily'
144
150
  }
145
151
  },
146
152
  FontFamilyAndroidSans: {
147
153
  value: 'Roboto',
148
154
  attributes: {
149
- group: 'typography'
155
+ group: 'fontFamily'
150
156
  }
151
157
  },
152
158
  FontFamilyWebMono: {
153
159
  value: `ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace`,
154
160
  attributes: {
155
- group: 'typography'
161
+ group: 'fontFamily'
156
162
  }
157
163
  },
158
164
  FontFamilyiOSMono: {
159
165
  value: 'SF Mono',
160
166
  attributes: {
161
- group: 'typography'
167
+ group: 'fontFamily'
162
168
  }
163
169
  },
164
170
  FontFamilyAndroidMono: {
165
171
  value: 'Roboto Mono',
166
172
  attributes: {
167
- group: 'typography'
173
+ group: 'fontFamily'
168
174
  }
169
175
  }
170
176
  }
@@ -174,79 +180,79 @@ const fontSizeScale = {
174
180
  FontSizeCode: {
175
181
  value: '0.875em',
176
182
  attributes: {
177
- group: 'typography'
183
+ group: 'fontSize'
178
184
  }
179
185
  },
180
186
  LegacyFontSize11: {
181
187
  value: 11,
182
188
  attributes: {
183
- group: 'typography'
189
+ group: 'fontSize'
184
190
  }
185
191
  },
186
192
  FontSize12: {
187
193
  value: 12,
188
194
  attributes: {
189
- group: 'typography'
195
+ group: 'fontSize'
190
196
  }
191
197
  },
192
198
  FontSize14: {
193
199
  value: 14,
194
200
  attributes: {
195
- group: 'typography'
201
+ group: 'fontSize'
196
202
  }
197
203
  },
198
204
  FontSize16: {
199
205
  value: 16,
200
206
  attributes: {
201
- group: 'typography'
207
+ group: 'fontSize'
202
208
  }
203
209
  },
204
210
  FontSize20: {
205
211
  value: 20,
206
212
  attributes: {
207
- group: 'typography'
213
+ group: 'fontSize'
208
214
  }
209
215
  },
210
216
  FontSize24: {
211
217
  value: 24,
212
218
  attributes: {
213
- group: 'typography'
219
+ group: 'fontSize'
214
220
  }
215
221
  },
216
222
  FontSize28: {
217
223
  value: 28,
218
224
  attributes: {
219
- group: 'typography'
225
+ group: 'fontSize'
220
226
  }
221
227
  },
222
228
  LegacyFontSize29: {
223
229
  value: 29,
224
230
  attributes: {
225
- group: 'typography'
231
+ group: 'fontSize'
226
232
  }
227
233
  },
228
234
  FontSize32: {
229
235
  value: 32,
230
236
  attributes: {
231
- group: 'typography'
237
+ group: 'fontSize'
232
238
  }
233
239
  },
234
240
  LegacyFontSize35: {
235
241
  value: 35,
236
242
  attributes: {
237
- group: 'typography'
243
+ group: 'fontSize'
238
244
  }
239
245
  },
240
246
  FontSize36: {
241
247
  value: 36,
242
248
  attributes: {
243
- group: 'typography'
249
+ group: 'fontSize'
244
250
  }
245
251
  },
246
252
  FontSize48: {
247
253
  value: 48,
248
254
  attributes: {
249
- group: 'typography'
255
+ group: 'fontSize'
250
256
  }
251
257
  }
252
258
  }