@atlaskit/tokens 0.13.3 → 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 (106) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/css/atlassian-dark.css +321 -321
  3. package/css/atlassian-legacy-dark.css +321 -321
  4. package/css/atlassian-legacy-light.css +321 -321
  5. package/css/atlassian-light.css +321 -321
  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 +607 -607
  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 +199 -199
  14. package/dist/cjs/artifacts/token-names.js +199 -199
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +3898 -3511
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +3900 -3513
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +3802 -3415
  18. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +3846 -3459
  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/entry-points/figma-sync.js +23 -0
  22. package/dist/cjs/get-token-value.js +1 -1
  23. package/dist/cjs/get-token.js +1 -1
  24. package/dist/cjs/tokens/default/color/background.js +2 -2
  25. package/dist/cjs/tokens/default/color/border.js +1 -1
  26. package/dist/cjs/tokens/default/color/chart.js +94 -94
  27. package/dist/cjs/tokens/default/color/icon.js +1 -1
  28. package/dist/cjs/tokens/default/color/text.js +1 -1
  29. package/dist/cjs/version.json +1 -1
  30. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +340 -340
  31. package/dist/es2019/artifacts/palettes-raw/palette.js +607 -607
  32. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +35 -35
  33. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +43 -43
  34. package/dist/es2019/artifacts/replacement-mapping.js +112 -112
  35. package/dist/es2019/artifacts/token-default-values.js +199 -199
  36. package/dist/es2019/artifacts/token-names.js +199 -199
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +3898 -3511
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +3900 -3513
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +3802 -3415
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +3846 -3459
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +702 -622
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +80 -60
  43. package/dist/es2019/entry-points/figma-sync.js +3 -0
  44. package/dist/es2019/get-token-value.js +1 -1
  45. package/dist/es2019/get-token.js +1 -1
  46. package/dist/es2019/tokens/default/color/background.js +2 -2
  47. package/dist/es2019/tokens/default/color/border.js +1 -1
  48. package/dist/es2019/tokens/default/color/chart.js +94 -94
  49. package/dist/es2019/tokens/default/color/icon.js +1 -1
  50. package/dist/es2019/tokens/default/color/text.js +1 -1
  51. package/dist/es2019/version.json +1 -1
  52. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +340 -340
  53. package/dist/esm/artifacts/palettes-raw/palette.js +607 -607
  54. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +35 -35
  55. package/dist/esm/artifacts/palettes-raw/typography-palette.js +43 -43
  56. package/dist/esm/artifacts/replacement-mapping.js +112 -112
  57. package/dist/esm/artifacts/token-default-values.js +199 -199
  58. package/dist/esm/artifacts/token-names.js +199 -199
  59. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +3898 -3511
  60. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +3900 -3513
  61. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +3802 -3415
  62. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +3846 -3459
  63. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +702 -622
  64. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +80 -60
  65. package/dist/esm/entry-points/figma-sync.js +3 -0
  66. package/dist/esm/get-token-value.js +1 -1
  67. package/dist/esm/get-token.js +1 -1
  68. package/dist/esm/tokens/default/color/background.js +2 -2
  69. package/dist/esm/tokens/default/color/border.js +1 -1
  70. package/dist/esm/tokens/default/color/chart.js +94 -94
  71. package/dist/esm/tokens/default/color/icon.js +1 -1
  72. package/dist/esm/tokens/default/color/text.js +1 -1
  73. package/dist/esm/version.json +1 -1
  74. package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +5 -5
  75. package/dist/types/artifacts/palettes-raw/palette.d.ts +5 -5
  76. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
  77. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  78. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  79. package/dist/types/artifacts/token-default-values.d.ts +199 -199
  80. package/dist/types/artifacts/token-names.d.ts +397 -397
  81. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +42 -37
  82. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +42 -37
  83. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +38 -33
  84. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +38 -33
  85. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +22 -17
  86. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +2 -1
  87. package/dist/types/artifacts/types-internal.d.ts +2 -2
  88. package/dist/types/artifacts/types.d.ts +2 -2
  89. package/dist/types/entry-points/figma-sync.d.ts +3 -0
  90. package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
  91. package/dist/types/tokens/atlassian-legacy-dark/utility/utility.d.ts +1 -1
  92. package/dist/types/tokens/atlassian-legacy-light/utility/utility.d.ts +1 -1
  93. package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
  94. package/dist/types/tokens/default/utility/utility.d.ts +1 -1
  95. package/figma-sync/package.json +17 -0
  96. package/package.json +4 -3
  97. package/report.api.md +396 -396
  98. package/tmp/api-report-tmp.d.ts +396 -396
  99. package/dist/cjs/figma/synchronize-figma-tokens.js +0 -220
  100. package/dist/cjs/figma/types.js +0 -5
  101. package/dist/es2019/figma/synchronize-figma-tokens.js +0 -212
  102. package/dist/es2019/figma/types.js +0 -1
  103. package/dist/esm/figma/synchronize-figma-tokens.js +0 -216
  104. package/dist/esm/figma/types.js +0 -1
  105. package/dist/types/figma/synchronize-figma-tokens.d.ts +0 -24
  106. package/dist/types/figma/types.d.ts +0 -40
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  /**
9
9
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
10
- * @codegen <<SignedSource::4466431b8da920b1737382f7e9e82009>>
10
+ * @codegen <<SignedSource::496467b0392d344d04df137d9d8edf4c>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  var tokens = [{
@@ -85,6 +85,23 @@ var tokens = [{
85
85
  },
86
86
  "name": "spacing.scale.Space100",
87
87
  "path": ["spacing", "scale", "Space100"]
88
+ }, {
89
+ "value": "5rem",
90
+ "attributes": {
91
+ "group": "scale"
92
+ },
93
+ "pixelValue": "80px",
94
+ "filePath": "src/palettes/spacing-scale.tsx",
95
+ "isSource": true,
96
+ "original": {
97
+ "value": "5rem",
98
+ "attributes": {
99
+ "group": "scale"
100
+ },
101
+ "pixelValue": "80px"
102
+ },
103
+ "name": "spacing.scale.Space1000",
104
+ "path": ["spacing", "scale", "Space1000"]
88
105
  }, {
89
106
  "value": "0.75rem",
90
107
  "attributes": {
@@ -207,23 +224,6 @@ var tokens = [{
207
224
  },
208
225
  "name": "spacing.scale.Space800",
209
226
  "path": ["spacing", "scale", "Space800"]
210
- }, {
211
- "value": "5rem",
212
- "attributes": {
213
- "group": "scale"
214
- },
215
- "pixelValue": "80px",
216
- "filePath": "src/palettes/spacing-scale.tsx",
217
- "isSource": true,
218
- "original": {
219
- "value": "5rem",
220
- "attributes": {
221
- "group": "scale"
222
- },
223
- "pixelValue": "80px"
224
- },
225
- "name": "spacing.scale.Space1000",
226
- "path": ["spacing", "scale", "Space1000"]
227
227
  }, {
228
228
  "value": "0",
229
229
  "attributes": {
@@ -299,6 +299,23 @@ var tokens = [{
299
299
  },
300
300
  "name": "space.Space100",
301
301
  "path": ["space", "Space100"]
302
+ }, {
303
+ "value": "5rem",
304
+ "attributes": {
305
+ "group": "scale"
306
+ },
307
+ "pixelValue": "80px",
308
+ "filePath": "src/palettes/spacing-scale.tsx",
309
+ "isSource": true,
310
+ "original": {
311
+ "value": "5rem",
312
+ "attributes": {
313
+ "group": "scale"
314
+ },
315
+ "pixelValue": "80px"
316
+ },
317
+ "name": "space.Space1000",
318
+ "path": ["space", "Space1000"]
302
319
  }, {
303
320
  "value": "0.75rem",
304
321
  "attributes": {
@@ -421,23 +438,6 @@ var tokens = [{
421
438
  },
422
439
  "name": "space.Space800",
423
440
  "path": ["space", "Space800"]
424
- }, {
425
- "value": "5rem",
426
- "attributes": {
427
- "group": "scale"
428
- },
429
- "pixelValue": "80px",
430
- "filePath": "src/palettes/spacing-scale.tsx",
431
- "isSource": true,
432
- "original": {
433
- "value": "5rem",
434
- "attributes": {
435
- "group": "scale"
436
- },
437
- "pixelValue": "80px"
438
- },
439
- "name": "space.Space1000",
440
- "path": ["space", "Space1000"]
441
441
  }];
442
442
  var _default = tokens;
443
443
  exports.default = _default;
@@ -7,10 +7,40 @@ exports.default = void 0;
7
7
 
8
8
  /**
9
9
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
10
- * @codegen <<SignedSource::b49ec5b311f966a866a3fd882c03e43d>>
10
+ * @codegen <<SignedSource::04c90c279da3841c8c8952b13bddb31b>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  var tokens = [{
14
+ "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
15
+ "attributes": {
16
+ "group": "scale"
17
+ },
18
+ "filePath": "src/palettes/typography-palette.tsx",
19
+ "isSource": true,
20
+ "original": {
21
+ "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
22
+ "attributes": {
23
+ "group": "scale"
24
+ }
25
+ },
26
+ "name": "typography.fontFamily.FontFamilyMonospace",
27
+ "path": ["typography", "fontFamily", "FontFamilyMonospace"]
28
+ }, {
29
+ "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
30
+ "attributes": {
31
+ "group": "scale"
32
+ },
33
+ "filePath": "src/palettes/typography-palette.tsx",
34
+ "isSource": true,
35
+ "original": {
36
+ "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
37
+ "attributes": {
38
+ "group": "scale"
39
+ }
40
+ },
41
+ "name": "typography.fontFamily.FontFamilySans",
42
+ "path": ["typography", "fontFamily", "FontFamilySans"]
43
+ }, {
14
44
  "value": "11px",
15
45
  "attributes": {
16
46
  "group": "scale"
@@ -131,20 +161,20 @@ var tokens = [{
131
161
  "name": "typography.fontSize.FontSize600",
132
162
  "path": ["typography", "fontSize", "FontSize600"]
133
163
  }, {
134
- "value": "400",
164
+ "value": "700",
135
165
  "attributes": {
136
166
  "group": "scale"
137
167
  },
138
168
  "filePath": "src/palettes/typography-palette.tsx",
139
169
  "isSource": true,
140
170
  "original": {
141
- "value": "400",
171
+ "value": "700",
142
172
  "attributes": {
143
173
  "group": "scale"
144
174
  }
145
175
  },
146
- "name": "typography.fontWeight.FontWeightRegular",
147
- "path": ["typography", "fontWeight", "FontWeightRegular"]
176
+ "name": "typography.fontWeight.FontWeightBold",
177
+ "path": ["typography", "fontWeight", "FontWeightBold"]
148
178
  }, {
149
179
  "value": "500",
150
180
  "attributes": {
@@ -161,65 +191,35 @@ var tokens = [{
161
191
  "name": "typography.fontWeight.FontWeightMedium",
162
192
  "path": ["typography", "fontWeight", "FontWeightMedium"]
163
193
  }, {
164
- "value": "600",
165
- "attributes": {
166
- "group": "scale"
167
- },
168
- "filePath": "src/palettes/typography-palette.tsx",
169
- "isSource": true,
170
- "original": {
171
- "value": "600",
172
- "attributes": {
173
- "group": "scale"
174
- }
175
- },
176
- "name": "typography.fontWeight.FontWeightSemiBold",
177
- "path": ["typography", "fontWeight", "FontWeightSemiBold"]
178
- }, {
179
- "value": "700",
180
- "attributes": {
181
- "group": "scale"
182
- },
183
- "filePath": "src/palettes/typography-palette.tsx",
184
- "isSource": true,
185
- "original": {
186
- "value": "700",
187
- "attributes": {
188
- "group": "scale"
189
- }
190
- },
191
- "name": "typography.fontWeight.FontWeightBold",
192
- "path": ["typography", "fontWeight", "FontWeightBold"]
193
- }, {
194
- "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
194
+ "value": "400",
195
195
  "attributes": {
196
196
  "group": "scale"
197
197
  },
198
198
  "filePath": "src/palettes/typography-palette.tsx",
199
199
  "isSource": true,
200
200
  "original": {
201
- "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
201
+ "value": "400",
202
202
  "attributes": {
203
203
  "group": "scale"
204
204
  }
205
205
  },
206
- "name": "typography.fontFamily.FontFamilySans",
207
- "path": ["typography", "fontFamily", "FontFamilySans"]
206
+ "name": "typography.fontWeight.FontWeightRegular",
207
+ "path": ["typography", "fontWeight", "FontWeightRegular"]
208
208
  }, {
209
- "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
209
+ "value": "600",
210
210
  "attributes": {
211
211
  "group": "scale"
212
212
  },
213
213
  "filePath": "src/palettes/typography-palette.tsx",
214
214
  "isSource": true,
215
215
  "original": {
216
- "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
216
+ "value": "600",
217
217
  "attributes": {
218
218
  "group": "scale"
219
219
  }
220
220
  },
221
- "name": "typography.fontFamily.FontFamilyMonospace",
222
- "path": ["typography", "fontFamily", "FontFamilyMonospace"]
221
+ "name": "typography.fontWeight.FontWeightSemiBold",
222
+ "path": ["typography", "fontWeight", "FontWeightSemiBold"]
223
223
  }, {
224
224
  "value": "16px",
225
225
  "attributes": {