@atlaskit/tokens 0.11.1 → 0.11.2
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 +6 -0
- package/css/atlassian-spacing.css +17 -13
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +249 -1
- package/dist/cjs/artifacts/rename-mapping/atlassian-spacing.js +1 -49
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +323 -213
- package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +17 -13
- package/dist/cjs/artifacts/typescript/atlassian-spacing-token-names.js +17 -13
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/spacing-scale.js +96 -76
- package/dist/cjs/theme-config.js +6 -0
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +65 -44
- package/dist/cjs/tokens/default/spacing/spacing.js +167 -116
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +249 -1
- package/dist/es2019/artifacts/rename-mapping/atlassian-spacing.js +1 -49
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +323 -213
- package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +17 -13
- package/dist/es2019/artifacts/typescript/atlassian-spacing-token-names.js +17 -13
- package/dist/es2019/constants.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/spacing-scale.js +95 -76
- package/dist/es2019/theme-config.js +6 -0
- package/dist/es2019/tokens/atlassian-spacing/spacing.js +64 -44
- package/dist/es2019/tokens/default/spacing/spacing.js +166 -116
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +249 -1
- package/dist/esm/artifacts/rename-mapping/atlassian-spacing.js +1 -49
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +323 -213
- package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +17 -13
- package/dist/esm/artifacts/typescript/atlassian-spacing-token-names.js +17 -13
- package/dist/esm/constants.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/spacing-scale.js +95 -76
- package/dist/esm/theme-config.js +6 -0
- package/dist/esm/tokens/atlassian-spacing/spacing.js +64 -44
- package/dist/esm/tokens/default/spacing/spacing.js +166 -116
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +22 -3
- package/dist/types/artifacts/rename-mapping/atlassian-spacing.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +16 -12
- package/dist/types/artifacts/token-names.d.ts +16 -12
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +61 -1
- package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +17 -13
- package/dist/types/artifacts/typescript/atlassian-spacing-token-names.d.ts +33 -25
- package/dist/types/artifacts/typescript/atlassian-spacing-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-spacing-types.d.ts +2 -2
- package/dist/types/palettes/spacing-scale.d.ts +94 -4
- package/dist/types/theme-config.d.ts +9 -1
- package/dist/types/tokens/atlassian-spacing/spacing.d.ts +8 -2
- package/dist/types/tokens/default/spacing/spacing.d.ts +6 -2
- package/dist/types/types.d.ts +92 -81
- package/package.json +2 -2
- package/report.api.md +40 -26
- package/tmp/api-report-tmp.d.ts +38 -25
|
@@ -1,4 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The spacing attribute schema governs the non-value specific metadata to apply to the
|
|
3
|
+
* spacing theme. This governs the name, description and state
|
|
4
|
+
* of a token.
|
|
5
|
+
*/
|
|
1
6
|
var spacing = {
|
|
7
|
+
space: {
|
|
8
|
+
'0': {
|
|
9
|
+
attributes: {
|
|
10
|
+
group: 'spacing',
|
|
11
|
+
state: 'active',
|
|
12
|
+
introduced: '0.12.0',
|
|
13
|
+
pixelValue: '0px',
|
|
14
|
+
description: 'Equates to `0`. Can be used for resetting default spacing styles.'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
'025': {
|
|
18
|
+
attributes: {
|
|
19
|
+
group: 'spacing',
|
|
20
|
+
state: 'active',
|
|
21
|
+
suggest: ['1px', '3px'],
|
|
22
|
+
introduced: '0.12.0',
|
|
23
|
+
pixelValue: '2px',
|
|
24
|
+
description: 'Use for spacing in compact scenarios. The smallest value in our scale.'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
'050': {
|
|
28
|
+
attributes: {
|
|
29
|
+
group: 'spacing',
|
|
30
|
+
state: 'active',
|
|
31
|
+
suggest: ['3px', '5px'],
|
|
32
|
+
introduced: '0.12.0',
|
|
33
|
+
pixelValue: '4px',
|
|
34
|
+
description: 'Use for spacing in compact scenarios.'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
'075': {
|
|
38
|
+
attributes: {
|
|
39
|
+
group: 'spacing',
|
|
40
|
+
state: 'active',
|
|
41
|
+
suggest: ['5px', '7px'],
|
|
42
|
+
introduced: '0.12.0',
|
|
43
|
+
pixelValue: '6px',
|
|
44
|
+
description: 'Use for spacing in compact scenarios.'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
'100': {
|
|
48
|
+
attributes: {
|
|
49
|
+
group: 'spacing',
|
|
50
|
+
state: 'active',
|
|
51
|
+
suggest: ['7px', '9px'],
|
|
52
|
+
introduced: '0.12.0',
|
|
53
|
+
pixelValue: '8px',
|
|
54
|
+
description: 'Use for gutter spacing.'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
'150': {
|
|
58
|
+
attributes: {
|
|
59
|
+
group: 'spacing',
|
|
60
|
+
state: 'active',
|
|
61
|
+
suggest: ['10px', '11px', '13px', '14px'],
|
|
62
|
+
introduced: '0.12.0',
|
|
63
|
+
pixelValue: '12px',
|
|
64
|
+
description: 'Helpful guidance goes here'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
'200': {
|
|
68
|
+
attributes: {
|
|
69
|
+
group: 'spacing',
|
|
70
|
+
state: 'active',
|
|
71
|
+
suggest: ['14px', '15px', '17px', '18px'],
|
|
72
|
+
introduced: '0.12.0',
|
|
73
|
+
pixelValue: '16px',
|
|
74
|
+
description: 'Use for gutter spacing.'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
'250': {
|
|
78
|
+
attributes: {
|
|
79
|
+
group: 'spacing',
|
|
80
|
+
state: 'active',
|
|
81
|
+
suggest: ['19px', '21px', '22px', '23px'],
|
|
82
|
+
introduced: '0.12.0',
|
|
83
|
+
pixelValue: '20px',
|
|
84
|
+
description: 'Use for gutter spacing.'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
'300': {
|
|
88
|
+
attributes: {
|
|
89
|
+
group: 'spacing',
|
|
90
|
+
state: 'active',
|
|
91
|
+
suggest: ['23px', '25px', '26px', '27px', '28px'],
|
|
92
|
+
introduced: '0.12.0',
|
|
93
|
+
pixelValue: '24px',
|
|
94
|
+
description: 'Use for gutter spacing.'
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
'400': {
|
|
98
|
+
attributes: {
|
|
99
|
+
group: 'spacing',
|
|
100
|
+
state: 'active',
|
|
101
|
+
suggest: ['28px', '29px', '30px', '31px', '33px', '34px', '35px'],
|
|
102
|
+
introduced: '0.12.0',
|
|
103
|
+
pixelValue: '32px',
|
|
104
|
+
description: 'Use for gutter spacing.'
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
'500': {
|
|
108
|
+
attributes: {
|
|
109
|
+
group: 'spacing',
|
|
110
|
+
state: 'active',
|
|
111
|
+
introduced: '0.12.0',
|
|
112
|
+
pixelValue: '40px',
|
|
113
|
+
description: 'Use for larger layout-specific spacing.'
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
'600': {
|
|
117
|
+
attributes: {
|
|
118
|
+
group: 'spacing',
|
|
119
|
+
state: 'active',
|
|
120
|
+
introduced: '0.12.0',
|
|
121
|
+
pixelValue: '48px',
|
|
122
|
+
description: 'Use for larger layout-specific spacing.'
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
'800': {
|
|
126
|
+
attributes: {
|
|
127
|
+
group: 'spacing',
|
|
128
|
+
state: 'active',
|
|
129
|
+
introduced: '0.12.0',
|
|
130
|
+
pixelValue: '64px',
|
|
131
|
+
description: 'Use for larger layout-specific spacing.'
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
'1000': {
|
|
135
|
+
attributes: {
|
|
136
|
+
group: 'spacing',
|
|
137
|
+
state: 'active',
|
|
138
|
+
introduced: '0.12.0',
|
|
139
|
+
pixelValue: '80px',
|
|
140
|
+
description: 'Use for larger layout-specific spacing.'
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
2
144
|
spacing: {
|
|
3
145
|
scale: {
|
|
4
146
|
'0': {
|
|
@@ -106,119 +248,27 @@ var spacing = {
|
|
|
106
248
|
introduced: '0.10.16',
|
|
107
249
|
description: 'Helpful guidance goes here'
|
|
108
250
|
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
scaleLinear: {
|
|
112
|
-
'0': {
|
|
113
|
-
attributes: {
|
|
114
|
-
group: 'spacing',
|
|
115
|
-
state: 'experimental',
|
|
116
|
-
replacement: '0',
|
|
117
|
-
introduced: '0.10.28',
|
|
118
|
-
description: 'Helpful guidance goes here'
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
'100': {
|
|
122
|
-
attributes: {
|
|
123
|
-
group: 'spacing',
|
|
124
|
-
state: 'experimental',
|
|
125
|
-
replacement: '2px',
|
|
126
|
-
introduced: '0.10.28',
|
|
127
|
-
description: 'Helpful guidance goes here'
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
'200': {
|
|
131
|
-
attributes: {
|
|
132
|
-
group: 'spacing',
|
|
133
|
-
state: 'experimental',
|
|
134
|
-
replacement: '4px',
|
|
135
|
-
introduced: '0.10.28',
|
|
136
|
-
description: 'Helpful guidance goes here'
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
'300': {
|
|
140
|
-
attributes: {
|
|
141
|
-
group: 'spacing',
|
|
142
|
-
state: 'experimental',
|
|
143
|
-
replacement: '6px',
|
|
144
|
-
introduced: '0.10.28',
|
|
145
|
-
description: 'Helpful guidance goes here'
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
'400': {
|
|
149
|
-
attributes: {
|
|
150
|
-
group: 'spacing',
|
|
151
|
-
state: 'experimental',
|
|
152
|
-
replacement: '8px',
|
|
153
|
-
introduced: '0.10.28',
|
|
154
|
-
description: 'Helpful guidance goes here'
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
'500': {
|
|
158
|
-
attributes: {
|
|
159
|
-
group: 'spacing',
|
|
160
|
-
state: 'experimental',
|
|
161
|
-
replacement: '12px',
|
|
162
|
-
introduced: '0.10.28',
|
|
163
|
-
description: 'Helpful guidance goes here'
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
'600': {
|
|
167
|
-
attributes: {
|
|
168
|
-
group: 'spacing',
|
|
169
|
-
state: 'experimental',
|
|
170
|
-
replacement: '16px',
|
|
171
|
-
introduced: '0.10.28',
|
|
172
|
-
description: 'Helpful guidance goes here'
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
'700': {
|
|
176
|
-
attributes: {
|
|
177
|
-
group: 'spacing',
|
|
178
|
-
state: 'experimental',
|
|
179
|
-
replacement: '20px',
|
|
180
|
-
introduced: '0.10.28',
|
|
181
|
-
description: 'Helpful guidance goes here'
|
|
182
|
-
}
|
|
183
251
|
},
|
|
184
252
|
'800': {
|
|
185
253
|
attributes: {
|
|
186
254
|
group: 'spacing',
|
|
187
|
-
state: '
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
description: 'Helpful guidance goes here'
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
'900': {
|
|
194
|
-
attributes: {
|
|
195
|
-
group: 'spacing',
|
|
196
|
-
state: 'experimental',
|
|
197
|
-
replacement: '32px',
|
|
198
|
-
introduced: '0.10.28',
|
|
255
|
+
state: 'active',
|
|
256
|
+
introduced: '0.12.0',
|
|
257
|
+
pixelValue: '',
|
|
199
258
|
description: 'Helpful guidance goes here'
|
|
200
259
|
}
|
|
201
260
|
},
|
|
202
261
|
'1000': {
|
|
203
262
|
attributes: {
|
|
204
263
|
group: 'spacing',
|
|
205
|
-
state: '
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
description: 'Helpful guidance goes here'
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
'1100': {
|
|
212
|
-
attributes: {
|
|
213
|
-
group: 'spacing',
|
|
214
|
-
state: 'experimental',
|
|
215
|
-
replacement: '48px',
|
|
216
|
-
introduced: '0.10.28',
|
|
264
|
+
state: 'active',
|
|
265
|
+
introduced: '0.12.0',
|
|
266
|
+
pixelValue: '80px',
|
|
217
267
|
description: 'Helpful guidance goes here'
|
|
218
268
|
}
|
|
219
269
|
}
|
|
220
270
|
},
|
|
221
|
-
|
|
271
|
+
scaleLinear: {
|
|
222
272
|
'0': {
|
|
223
273
|
attributes: {
|
|
224
274
|
group: 'spacing',
|
|
@@ -228,7 +278,7 @@ var spacing = {
|
|
|
228
278
|
description: 'Helpful guidance goes here'
|
|
229
279
|
}
|
|
230
280
|
},
|
|
231
|
-
'
|
|
281
|
+
'100': {
|
|
232
282
|
attributes: {
|
|
233
283
|
group: 'spacing',
|
|
234
284
|
state: 'experimental',
|
|
@@ -237,7 +287,7 @@ var spacing = {
|
|
|
237
287
|
description: 'Helpful guidance goes here'
|
|
238
288
|
}
|
|
239
289
|
},
|
|
240
|
-
'
|
|
290
|
+
'200': {
|
|
241
291
|
attributes: {
|
|
242
292
|
group: 'spacing',
|
|
243
293
|
state: 'experimental',
|
|
@@ -246,7 +296,7 @@ var spacing = {
|
|
|
246
296
|
description: 'Helpful guidance goes here'
|
|
247
297
|
}
|
|
248
298
|
},
|
|
249
|
-
'
|
|
299
|
+
'300': {
|
|
250
300
|
attributes: {
|
|
251
301
|
group: 'spacing',
|
|
252
302
|
state: 'experimental',
|
|
@@ -255,7 +305,7 @@ var spacing = {
|
|
|
255
305
|
description: 'Helpful guidance goes here'
|
|
256
306
|
}
|
|
257
307
|
},
|
|
258
|
-
'
|
|
308
|
+
'400': {
|
|
259
309
|
attributes: {
|
|
260
310
|
group: 'spacing',
|
|
261
311
|
state: 'experimental',
|
|
@@ -264,7 +314,7 @@ var spacing = {
|
|
|
264
314
|
description: 'Helpful guidance goes here'
|
|
265
315
|
}
|
|
266
316
|
},
|
|
267
|
-
'
|
|
317
|
+
'500': {
|
|
268
318
|
attributes: {
|
|
269
319
|
group: 'spacing',
|
|
270
320
|
state: 'experimental',
|
|
@@ -273,7 +323,7 @@ var spacing = {
|
|
|
273
323
|
description: 'Helpful guidance goes here'
|
|
274
324
|
}
|
|
275
325
|
},
|
|
276
|
-
'
|
|
326
|
+
'600': {
|
|
277
327
|
attributes: {
|
|
278
328
|
group: 'spacing',
|
|
279
329
|
state: 'experimental',
|
|
@@ -282,7 +332,7 @@ var spacing = {
|
|
|
282
332
|
description: 'Helpful guidance goes here'
|
|
283
333
|
}
|
|
284
334
|
},
|
|
285
|
-
'
|
|
335
|
+
'700': {
|
|
286
336
|
attributes: {
|
|
287
337
|
group: 'spacing',
|
|
288
338
|
state: 'experimental',
|
|
@@ -291,7 +341,7 @@ var spacing = {
|
|
|
291
341
|
description: 'Helpful guidance goes here'
|
|
292
342
|
}
|
|
293
343
|
},
|
|
294
|
-
'
|
|
344
|
+
'800': {
|
|
295
345
|
attributes: {
|
|
296
346
|
group: 'spacing',
|
|
297
347
|
state: 'experimental',
|
|
@@ -300,7 +350,7 @@ var spacing = {
|
|
|
300
350
|
description: 'Helpful guidance goes here'
|
|
301
351
|
}
|
|
302
352
|
},
|
|
303
|
-
'
|
|
353
|
+
'900': {
|
|
304
354
|
attributes: {
|
|
305
355
|
group: 'spacing',
|
|
306
356
|
state: 'experimental',
|
|
@@ -309,7 +359,7 @@ var spacing = {
|
|
|
309
359
|
description: 'Helpful guidance goes here'
|
|
310
360
|
}
|
|
311
361
|
},
|
|
312
|
-
'
|
|
362
|
+
'1000': {
|
|
313
363
|
attributes: {
|
|
314
364
|
group: 'spacing',
|
|
315
365
|
state: 'experimental',
|
|
@@ -318,7 +368,7 @@ var spacing = {
|
|
|
318
368
|
description: 'Helpful guidance goes here'
|
|
319
369
|
}
|
|
320
370
|
},
|
|
321
|
-
'
|
|
371
|
+
'1100': {
|
|
322
372
|
attributes: {
|
|
323
373
|
group: 'spacing',
|
|
324
374
|
state: 'experimental',
|
|
@@ -653,7 +703,7 @@ var spacing = {
|
|
|
653
703
|
}
|
|
654
704
|
},
|
|
655
705
|
gap: {
|
|
656
|
-
100: {
|
|
706
|
+
'100': {
|
|
657
707
|
attributes: {
|
|
658
708
|
group: 'spacing',
|
|
659
709
|
state: 'experimental',
|
|
@@ -662,7 +712,7 @@ var spacing = {
|
|
|
662
712
|
description: 'Helpful guidance goes here'
|
|
663
713
|
}
|
|
664
714
|
},
|
|
665
|
-
200: {
|
|
715
|
+
'200': {
|
|
666
716
|
attributes: {
|
|
667
717
|
group: 'spacing',
|
|
668
718
|
state: 'experimental',
|
|
@@ -671,7 +721,7 @@ var spacing = {
|
|
|
671
721
|
description: 'Helpful guidance goes here'
|
|
672
722
|
}
|
|
673
723
|
},
|
|
674
|
-
300: {
|
|
724
|
+
'300': {
|
|
675
725
|
attributes: {
|
|
676
726
|
group: 'spacing',
|
|
677
727
|
state: 'experimental',
|
|
@@ -682,7 +732,7 @@ var spacing = {
|
|
|
682
732
|
}
|
|
683
733
|
},
|
|
684
734
|
inset: {
|
|
685
|
-
100: {
|
|
735
|
+
'100': {
|
|
686
736
|
attributes: {
|
|
687
737
|
group: 'spacing',
|
|
688
738
|
state: 'experimental',
|
|
@@ -691,7 +741,7 @@ var spacing = {
|
|
|
691
741
|
description: 'Helpful guidance goes here'
|
|
692
742
|
}
|
|
693
743
|
},
|
|
694
|
-
200: {
|
|
744
|
+
'200': {
|
|
695
745
|
attributes: {
|
|
696
746
|
group: 'spacing',
|
|
697
747
|
state: 'experimental',
|
|
@@ -700,7 +750,7 @@ var spacing = {
|
|
|
700
750
|
description: 'Helpful guidance goes here'
|
|
701
751
|
}
|
|
702
752
|
},
|
|
703
|
-
300: {
|
|
753
|
+
'300': {
|
|
704
754
|
attributes: {
|
|
705
755
|
group: 'spacing',
|
|
706
756
|
state: 'experimental',
|
package/dist/esm/version.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::4466431b8da920b1737382f7e9e82009>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const tokens: {
|
|
6
|
+
declare const tokens: ({
|
|
7
7
|
value: string;
|
|
8
8
|
attributes: {
|
|
9
9
|
group: string;
|
|
@@ -15,8 +15,27 @@ declare const tokens: {
|
|
|
15
15
|
attributes: {
|
|
16
16
|
group: string;
|
|
17
17
|
};
|
|
18
|
+
pixelValue?: undefined;
|
|
18
19
|
};
|
|
19
20
|
name: string;
|
|
20
21
|
path: string[];
|
|
21
|
-
|
|
22
|
+
pixelValue?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
value: string;
|
|
25
|
+
attributes: {
|
|
26
|
+
group: string;
|
|
27
|
+
};
|
|
28
|
+
pixelValue: string;
|
|
29
|
+
filePath: string;
|
|
30
|
+
isSource: boolean;
|
|
31
|
+
original: {
|
|
32
|
+
value: string;
|
|
33
|
+
attributes: {
|
|
34
|
+
group: string;
|
|
35
|
+
};
|
|
36
|
+
pixelValue: string;
|
|
37
|
+
};
|
|
38
|
+
name: string;
|
|
39
|
+
path: string[];
|
|
40
|
+
})[];
|
|
22
41
|
export default tokens;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* These changes will then be picked up by our tooling which will attempt to
|
|
13
13
|
* migrate as many of these renames as possible.
|
|
14
14
|
*
|
|
15
|
-
* @codegen <<SignedSource::
|
|
15
|
+
* @codegen <<SignedSource::fb30c9ee91e6f244c04349f684b451e1>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
18
|
import tokens from '../token-names';
|
|
@@ -19,6 +19,20 @@ declare const defaultTokens: {
|
|
|
19
19
|
'font.lineHeight.400': "28px";
|
|
20
20
|
'font.lineHeight.500': "32px";
|
|
21
21
|
'font.lineHeight.600': "40px";
|
|
22
|
+
'space.0': "0";
|
|
23
|
+
'space.100': "0.5rem";
|
|
24
|
+
'space.150': "0.75rem";
|
|
25
|
+
'space.200': "1rem";
|
|
26
|
+
'space.250': "1.25rem";
|
|
27
|
+
'space.300': "1.5rem";
|
|
28
|
+
'space.400': "2rem";
|
|
29
|
+
'space.500': "2.5rem";
|
|
30
|
+
'space.600': "3rem";
|
|
31
|
+
'space.800': "4rem";
|
|
32
|
+
'space.1000': "5rem";
|
|
33
|
+
'space.025': "0.125rem";
|
|
34
|
+
'space.050': "0.25rem";
|
|
35
|
+
'space.075': "0.375rem";
|
|
22
36
|
'spacing.scale.0': "0";
|
|
23
37
|
'spacing.scale.100': "0.5rem";
|
|
24
38
|
'spacing.scale.150': "0.75rem";
|
|
@@ -28,6 +42,8 @@ declare const defaultTokens: {
|
|
|
28
42
|
'spacing.scale.400': "2rem";
|
|
29
43
|
'spacing.scale.500': "2.5rem";
|
|
30
44
|
'spacing.scale.600': "3rem";
|
|
45
|
+
'spacing.scale.800': "4rem";
|
|
46
|
+
'spacing.scale.1000': "5rem";
|
|
31
47
|
'spacing.scale.025': "0.125rem";
|
|
32
48
|
'spacing.scale.050': "0.25rem";
|
|
33
49
|
'spacing.scale.075': "0.375rem";
|
|
@@ -43,18 +59,6 @@ declare const defaultTokens: {
|
|
|
43
59
|
'spacing.scaleLinear.900': "2rem";
|
|
44
60
|
'spacing.scaleLinear.1000': "2.5rem";
|
|
45
61
|
'spacing.scaleLinear.1100': "3rem";
|
|
46
|
-
'spacing.pixel.0': "0";
|
|
47
|
-
'spacing.pixel.2': "0.125rem";
|
|
48
|
-
'spacing.pixel.4': "0.25rem";
|
|
49
|
-
'spacing.pixel.6': "0.375rem";
|
|
50
|
-
'spacing.pixel.8': "0.5rem";
|
|
51
|
-
'spacing.pixel.12': "0.75rem";
|
|
52
|
-
'spacing.pixel.16': "1rem";
|
|
53
|
-
'spacing.pixel.20': "1.25rem";
|
|
54
|
-
'spacing.pixel.24': "1.5rem";
|
|
55
|
-
'spacing.pixel.32': "2rem";
|
|
56
|
-
'spacing.pixel.40': "2.5rem";
|
|
57
|
-
'spacing.pixel.48': "3rem";
|
|
58
62
|
'spacing.size.none': "0";
|
|
59
63
|
'spacing.size.xxxxSmall': "0.125rem";
|
|
60
64
|
'spacing.size.xxxSmall': "0.25rem";
|
|
@@ -22,6 +22,20 @@ declare const tokens: {
|
|
|
22
22
|
readonly 'font.lineHeight.400': "--ds-font-lineHeight-400";
|
|
23
23
|
readonly 'font.lineHeight.500': "--ds-font-lineHeight-500";
|
|
24
24
|
readonly 'font.lineHeight.600': "--ds-font-lineHeight-600";
|
|
25
|
+
readonly 'space.0': "--ds-space-0";
|
|
26
|
+
readonly 'space.100': "--ds-space-100";
|
|
27
|
+
readonly 'space.150': "--ds-space-150";
|
|
28
|
+
readonly 'space.200': "--ds-space-200";
|
|
29
|
+
readonly 'space.250': "--ds-space-250";
|
|
30
|
+
readonly 'space.300': "--ds-space-300";
|
|
31
|
+
readonly 'space.400': "--ds-space-400";
|
|
32
|
+
readonly 'space.500': "--ds-space-500";
|
|
33
|
+
readonly 'space.600': "--ds-space-600";
|
|
34
|
+
readonly 'space.800': "--ds-space-800";
|
|
35
|
+
readonly 'space.1000': "--ds-space-1000";
|
|
36
|
+
readonly 'space.025': "--ds-space-025";
|
|
37
|
+
readonly 'space.050': "--ds-space-050";
|
|
38
|
+
readonly 'space.075': "--ds-space-075";
|
|
25
39
|
readonly 'spacing.scale.0': "--ds-scale-0";
|
|
26
40
|
readonly 'spacing.scale.100': "--ds-scale-100";
|
|
27
41
|
readonly 'spacing.scale.150': "--ds-scale-150";
|
|
@@ -31,6 +45,8 @@ declare const tokens: {
|
|
|
31
45
|
readonly 'spacing.scale.400': "--ds-scale-400";
|
|
32
46
|
readonly 'spacing.scale.500': "--ds-scale-500";
|
|
33
47
|
readonly 'spacing.scale.600': "--ds-scale-600";
|
|
48
|
+
readonly 'spacing.scale.800': "--ds-scale-800";
|
|
49
|
+
readonly 'spacing.scale.1000': "--ds-scale-1000";
|
|
34
50
|
readonly 'spacing.scale.025': "--ds-scale-025";
|
|
35
51
|
readonly 'spacing.scale.050': "--ds-scale-050";
|
|
36
52
|
readonly 'spacing.scale.075': "--ds-scale-075";
|
|
@@ -46,18 +62,6 @@ declare const tokens: {
|
|
|
46
62
|
readonly 'spacing.scaleLinear.900': "--ds-scaleLinear-900";
|
|
47
63
|
readonly 'spacing.scaleLinear.1000': "--ds-scaleLinear-1000";
|
|
48
64
|
readonly 'spacing.scaleLinear.1100': "--ds-scaleLinear-1100";
|
|
49
|
-
readonly 'spacing.pixel.0': "--ds-pixel-0";
|
|
50
|
-
readonly 'spacing.pixel.2': "--ds-pixel-2";
|
|
51
|
-
readonly 'spacing.pixel.4': "--ds-pixel-4";
|
|
52
|
-
readonly 'spacing.pixel.6': "--ds-pixel-6";
|
|
53
|
-
readonly 'spacing.pixel.8': "--ds-pixel-8";
|
|
54
|
-
readonly 'spacing.pixel.12': "--ds-pixel-12";
|
|
55
|
-
readonly 'spacing.pixel.16': "--ds-pixel-16";
|
|
56
|
-
readonly 'spacing.pixel.20': "--ds-pixel-20";
|
|
57
|
-
readonly 'spacing.pixel.24': "--ds-pixel-24";
|
|
58
|
-
readonly 'spacing.pixel.32': "--ds-pixel-32";
|
|
59
|
-
readonly 'spacing.pixel.40': "--ds-pixel-40";
|
|
60
|
-
readonly 'spacing.pixel.48': "--ds-pixel-48";
|
|
61
65
|
readonly 'spacing.size.none': "--ds-size-none";
|
|
62
66
|
readonly 'spacing.size.xxxxSmall': "--ds-size-xxxxSmall";
|
|
63
67
|
readonly 'spacing.size.xxxSmall': "--ds-size-xxxSmall";
|
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::7147438ced4ed1bf7f4544ca85df4274>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -8,6 +8,7 @@ declare const tokens: ({
|
|
|
8
8
|
group: string;
|
|
9
9
|
state: string;
|
|
10
10
|
introduced: string;
|
|
11
|
+
pixelValue: string;
|
|
11
12
|
description: string;
|
|
12
13
|
suggest?: undefined;
|
|
13
14
|
replacement?: undefined;
|
|
@@ -20,6 +21,7 @@ declare const tokens: ({
|
|
|
20
21
|
group: string;
|
|
21
22
|
state: string;
|
|
22
23
|
introduced: string;
|
|
24
|
+
pixelValue: string;
|
|
23
25
|
description: string;
|
|
24
26
|
suggest?: undefined;
|
|
25
27
|
replacement?: undefined;
|
|
@@ -34,6 +36,7 @@ declare const tokens: ({
|
|
|
34
36
|
state: string;
|
|
35
37
|
suggest: string[];
|
|
36
38
|
introduced: string;
|
|
39
|
+
pixelValue: string;
|
|
37
40
|
description: string;
|
|
38
41
|
replacement?: undefined;
|
|
39
42
|
};
|
|
@@ -46,6 +49,7 @@ declare const tokens: ({
|
|
|
46
49
|
state: string;
|
|
47
50
|
suggest: string[];
|
|
48
51
|
introduced: string;
|
|
52
|
+
pixelValue: string;
|
|
49
53
|
description: string;
|
|
50
54
|
replacement?: undefined;
|
|
51
55
|
};
|
|
@@ -53,6 +57,60 @@ declare const tokens: ({
|
|
|
53
57
|
};
|
|
54
58
|
name: string;
|
|
55
59
|
path: string[];
|
|
60
|
+
} | {
|
|
61
|
+
attributes: {
|
|
62
|
+
group: string;
|
|
63
|
+
state: string;
|
|
64
|
+
introduced: string;
|
|
65
|
+
description: string;
|
|
66
|
+
pixelValue?: undefined;
|
|
67
|
+
suggest?: undefined;
|
|
68
|
+
replacement?: undefined;
|
|
69
|
+
};
|
|
70
|
+
value: string;
|
|
71
|
+
filePath: string;
|
|
72
|
+
isSource: boolean;
|
|
73
|
+
original: {
|
|
74
|
+
attributes: {
|
|
75
|
+
group: string;
|
|
76
|
+
state: string;
|
|
77
|
+
introduced: string;
|
|
78
|
+
description: string;
|
|
79
|
+
pixelValue?: undefined;
|
|
80
|
+
suggest?: undefined;
|
|
81
|
+
replacement?: undefined;
|
|
82
|
+
};
|
|
83
|
+
value: string;
|
|
84
|
+
};
|
|
85
|
+
name: string;
|
|
86
|
+
path: string[];
|
|
87
|
+
} | {
|
|
88
|
+
attributes: {
|
|
89
|
+
group: string;
|
|
90
|
+
state: string;
|
|
91
|
+
suggest: string[];
|
|
92
|
+
introduced: string;
|
|
93
|
+
description: string;
|
|
94
|
+
pixelValue?: undefined;
|
|
95
|
+
replacement?: undefined;
|
|
96
|
+
};
|
|
97
|
+
value: string;
|
|
98
|
+
filePath: string;
|
|
99
|
+
isSource: boolean;
|
|
100
|
+
original: {
|
|
101
|
+
attributes: {
|
|
102
|
+
group: string;
|
|
103
|
+
state: string;
|
|
104
|
+
suggest: string[];
|
|
105
|
+
introduced: string;
|
|
106
|
+
description: string;
|
|
107
|
+
pixelValue?: undefined;
|
|
108
|
+
replacement?: undefined;
|
|
109
|
+
};
|
|
110
|
+
value: string;
|
|
111
|
+
};
|
|
112
|
+
name: string;
|
|
113
|
+
path: string[];
|
|
56
114
|
} | {
|
|
57
115
|
attributes: {
|
|
58
116
|
group: string;
|
|
@@ -60,6 +118,7 @@ declare const tokens: ({
|
|
|
60
118
|
replacement: string;
|
|
61
119
|
introduced: string;
|
|
62
120
|
description: string;
|
|
121
|
+
pixelValue?: undefined;
|
|
63
122
|
suggest?: undefined;
|
|
64
123
|
};
|
|
65
124
|
value: string;
|
|
@@ -72,6 +131,7 @@ declare const tokens: ({
|
|
|
72
131
|
replacement: string;
|
|
73
132
|
introduced: string;
|
|
74
133
|
description: string;
|
|
134
|
+
pixelValue?: undefined;
|
|
75
135
|
suggest?: undefined;
|
|
76
136
|
};
|
|
77
137
|
value: string;
|