@atlaskit/tokens 0.13.3 → 0.13.5
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.
- package/CHANGELOG.md +13 -0
- package/css/atlassian-dark.css +321 -321
- package/css/atlassian-legacy-dark.css +321 -321
- package/css/atlassian-legacy-light.css +321 -321
- package/css/atlassian-light.css +321 -321
- package/css/atlassian-spacing.css +31 -31
- package/css/atlassian-typography.css +6 -6
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +340 -340
- package/dist/cjs/artifacts/palettes-raw/palette.js +607 -607
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +35 -35
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +43 -43
- package/dist/cjs/artifacts/replacement-mapping.js +112 -112
- package/dist/cjs/artifacts/token-default-values.js +199 -199
- package/dist/cjs/artifacts/token-names.js +199 -199
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +3898 -3511
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +3900 -3513
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +3802 -3415
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +3846 -3459
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +702 -622
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +80 -60
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/default/color/background.js +2 -2
- package/dist/cjs/tokens/default/color/border.js +1 -1
- package/dist/cjs/tokens/default/color/chart.js +94 -94
- package/dist/cjs/tokens/default/color/icon.js +1 -1
- package/dist/cjs/tokens/default/color/text.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +340 -340
- package/dist/es2019/artifacts/palettes-raw/palette.js +607 -607
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +35 -35
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +43 -43
- package/dist/es2019/artifacts/replacement-mapping.js +112 -112
- package/dist/es2019/artifacts/token-default-values.js +199 -199
- package/dist/es2019/artifacts/token-names.js +199 -199
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +3898 -3511
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +3900 -3513
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +3802 -3415
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +3846 -3459
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +702 -622
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +80 -60
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/default/color/background.js +2 -2
- package/dist/es2019/tokens/default/color/border.js +1 -1
- package/dist/es2019/tokens/default/color/chart.js +94 -94
- package/dist/es2019/tokens/default/color/icon.js +1 -1
- package/dist/es2019/tokens/default/color/text.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/legacy-palette.js +340 -340
- package/dist/esm/artifacts/palettes-raw/palette.js +607 -607
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +35 -35
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +43 -43
- package/dist/esm/artifacts/replacement-mapping.js +112 -112
- package/dist/esm/artifacts/token-default-values.js +199 -199
- package/dist/esm/artifacts/token-names.js +199 -199
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +3898 -3511
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +3900 -3513
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +3802 -3415
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +3846 -3459
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +702 -622
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +80 -60
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/default/color/background.js +2 -2
- package/dist/esm/tokens/default/color/border.js +1 -1
- package/dist/esm/tokens/default/color/chart.js +94 -94
- package/dist/esm/tokens/default/color/icon.js +1 -1
- package/dist/esm/tokens/default/color/text.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +5 -5
- package/dist/types/artifacts/palettes-raw/palette.d.ts +5 -5
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +199 -199
- package/dist/types/artifacts/token-names.d.ts +397 -397
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +42 -37
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +42 -37
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +38 -33
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +38 -33
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +22 -17
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +2 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-legacy-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-legacy-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/default/utility/utility.d.ts +1 -1
- package/figma/atlassian-dark.json +2733 -0
- package/figma/atlassian-legacy-dark.json +2733 -0
- package/figma/atlassian-legacy-light.json +2711 -0
- package/figma/atlassian-light.json +2711 -0
- package/figma/atlassian-spacing.json +956 -0
- package/figma/atlassian-typography.json +114 -0
- package/package.json +5 -3
- package/report.api.md +396 -396
- package/tmp/api-report-tmp.d.ts +396 -396
- package/dist/cjs/figma/synchronize-figma-tokens.js +0 -220
- package/dist/cjs/figma/types.js +0 -5
- package/dist/es2019/figma/synchronize-figma-tokens.js +0 -212
- package/dist/es2019/figma/types.js +0 -1
- package/dist/esm/figma/synchronize-figma-tokens.js +0 -216
- package/dist/esm/figma/types.js +0 -1
- package/dist/types/figma/synchronize-figma-tokens.d.ts +0 -24
- 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::
|
|
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::
|
|
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": "
|
|
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": "
|
|
171
|
+
"value": "700",
|
|
142
172
|
"attributes": {
|
|
143
173
|
"group": "scale"
|
|
144
174
|
}
|
|
145
175
|
},
|
|
146
|
-
"name": "typography.fontWeight.
|
|
147
|
-
"path": ["typography", "fontWeight", "
|
|
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": "
|
|
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": "
|
|
201
|
+
"value": "400",
|
|
202
202
|
"attributes": {
|
|
203
203
|
"group": "scale"
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
|
-
"name": "typography.
|
|
207
|
-
"path": ["typography", "
|
|
206
|
+
"name": "typography.fontWeight.FontWeightRegular",
|
|
207
|
+
"path": ["typography", "fontWeight", "FontWeightRegular"]
|
|
208
208
|
}, {
|
|
209
|
-
"value": "
|
|
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": "
|
|
216
|
+
"value": "600",
|
|
217
217
|
"attributes": {
|
|
218
218
|
"group": "scale"
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
|
-
"name": "typography.
|
|
222
|
-
"path": ["typography", "
|
|
221
|
+
"name": "typography.fontWeight.FontWeightSemiBold",
|
|
222
|
+
"path": ["typography", "fontWeight", "FontWeightSemiBold"]
|
|
223
223
|
}, {
|
|
224
224
|
"value": "16px",
|
|
225
225
|
"attributes": {
|