@primer/primitives 7.17.0-rc.be58e800 → 7.17.0-rc.d6bee7f7

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.
@@ -1,7 +1,7 @@
1
1
  [
2
2
  {
3
3
  "name": "text/codeBlock/lineHeight",
4
- "value": "20.0005px",
4
+ "value": "20px",
5
5
  "type": "FLOAT",
6
6
  "refId": "typography/text/codeBlock/lineHeight",
7
7
  "collection": "typography",
@@ -9,9 +9,19 @@
9
9
  "group": "typography",
10
10
  "scopes": ["ALL_SCOPES"]
11
11
  },
12
+ {
13
+ "name": "text/codeBlock/size",
14
+ "value": 13,
15
+ "type": "FLOAT",
16
+ "refId": "typography/text/codeBlock/size",
17
+ "collection": "typography",
18
+ "mode": "default",
19
+ "group": "typography",
20
+ "scopes": ["ALL_SCOPES"]
21
+ },
12
22
  {
13
23
  "name": "text/caption/lineHeight",
14
- "value": "15.9996px",
24
+ "value": "16px",
15
25
  "type": "FLOAT",
16
26
  "refId": "typography/text/caption/lineHeight",
17
27
  "collection": "typography",
@@ -19,9 +29,19 @@
19
29
  "group": "typography",
20
30
  "scopes": ["ALL_SCOPES"]
21
31
  },
32
+ {
33
+ "name": "text/caption/size",
34
+ "value": 12,
35
+ "type": "FLOAT",
36
+ "refId": "typography/text/caption/size",
37
+ "collection": "typography",
38
+ "mode": "default",
39
+ "group": "typography",
40
+ "scopes": ["ALL_SCOPES"]
41
+ },
22
42
  {
23
43
  "name": "text/body/lineHeight/small",
24
- "value": "19.999200000000002px",
44
+ "value": "20px",
25
45
  "type": "FLOAT",
26
46
  "refId": "typography/text/body/lineHeight/small",
27
47
  "collection": "typography",
@@ -31,7 +51,7 @@
31
51
  },
32
52
  {
33
53
  "name": "text/body/lineHeight/medium",
34
- "value": "19.999000000000002px",
54
+ "value": "20px",
35
55
  "type": "FLOAT",
36
56
  "refId": "typography/text/body/lineHeight/medium",
37
57
  "collection": "typography",
@@ -49,6 +69,56 @@
49
69
  "group": "typography",
50
70
  "scopes": ["ALL_SCOPES"]
51
71
  },
72
+ {
73
+ "name": "text/body/size/small",
74
+ "value": 12,
75
+ "type": "FLOAT",
76
+ "refId": "typography/text/body/size/small",
77
+ "collection": "typography",
78
+ "mode": "default",
79
+ "group": "typography",
80
+ "scopes": ["ALL_SCOPES"]
81
+ },
82
+ {
83
+ "name": "text/body/size/medium",
84
+ "value": 14,
85
+ "type": "FLOAT",
86
+ "refId": "typography/text/body/size/medium",
87
+ "collection": "typography",
88
+ "mode": "default",
89
+ "group": "typography",
90
+ "scopes": ["ALL_SCOPES"]
91
+ },
92
+ {
93
+ "name": "text/body/size/large",
94
+ "value": 16,
95
+ "type": "FLOAT",
96
+ "refId": "typography/text/body/size/large",
97
+ "collection": "typography",
98
+ "mode": "default",
99
+ "group": "typography",
100
+ "scopes": ["ALL_SCOPES"]
101
+ },
102
+ {
103
+ "name": "text/subtitle/lineHeight",
104
+ "value": 1.6,
105
+ "type": "FLOAT",
106
+ "refId": "typography/text/subtitle/lineHeight",
107
+ "collection": "typography",
108
+ "mode": "default",
109
+ "group": "typography",
110
+ "scopes": ["ALL_SCOPES"]
111
+ },
112
+ {
113
+ "name": "text/subtitle/size",
114
+ "value": 20,
115
+ "type": "FLOAT",
116
+ "refId": "typography/text/subtitle/size",
117
+ "collection": "typography",
118
+ "mode": "default",
119
+ "group": "typography",
120
+ "scopes": ["ALL_SCOPES"]
121
+ },
52
122
  {
53
123
  "name": "text/title/lineHeight/small",
54
124
  "value": "24px",
@@ -79,6 +149,36 @@
79
149
  "group": "typography",
80
150
  "scopes": ["ALL_SCOPES"]
81
151
  },
152
+ {
153
+ "name": "text/title/size/small",
154
+ "value": 16,
155
+ "type": "FLOAT",
156
+ "refId": "typography/text/title/size/small",
157
+ "collection": "typography",
158
+ "mode": "default",
159
+ "group": "typography",
160
+ "scopes": ["ALL_SCOPES"]
161
+ },
162
+ {
163
+ "name": "text/title/size/medium",
164
+ "value": 20,
165
+ "type": "FLOAT",
166
+ "refId": "typography/text/title/size/medium",
167
+ "collection": "typography",
168
+ "mode": "default",
169
+ "group": "typography",
170
+ "scopes": ["ALL_SCOPES"]
171
+ },
172
+ {
173
+ "name": "text/title/size/large",
174
+ "value": 32,
175
+ "type": "FLOAT",
176
+ "refId": "typography/text/title/size/large",
177
+ "collection": "typography",
178
+ "mode": "default",
179
+ "group": "typography",
180
+ "scopes": ["ALL_SCOPES"]
181
+ },
82
182
  {
83
183
  "name": "text/display/lineHeight",
84
184
  "value": "56px",
@@ -89,6 +189,16 @@
89
189
  "group": "typography",
90
190
  "scopes": ["ALL_SCOPES"]
91
191
  },
192
+ {
193
+ "name": "text/display/size",
194
+ "value": 40,
195
+ "type": "FLOAT",
196
+ "refId": "typography/text/display/size",
197
+ "collection": "typography",
198
+ "mode": "default",
199
+ "group": "typography",
200
+ "scopes": ["ALL_SCOPES"]
201
+ },
92
202
  {
93
203
  "name": "text/display/lineBoxHeight",
94
204
  "value": "56px",
@@ -128,5 +238,133 @@
128
238
  "mode": "default",
129
239
  "group": "typography",
130
240
  "scopes": ["ALL_SCOPES"]
241
+ },
242
+ {
243
+ "name": "base/text/weight/semibold",
244
+ "value": 600,
245
+ "type": "FLOAT",
246
+ "refId": "base/typography/base/text/weight/semibold",
247
+ "collection": "base/typography",
248
+ "mode": "default",
249
+ "group": "base/typography",
250
+ "scopes": ["ALL_SCOPES"]
251
+ },
252
+ {
253
+ "name": "base/text/weight/medium",
254
+ "value": 500,
255
+ "type": "FLOAT",
256
+ "refId": "base/typography/base/text/weight/medium",
257
+ "collection": "base/typography",
258
+ "mode": "default",
259
+ "group": "base/typography",
260
+ "scopes": ["ALL_SCOPES"]
261
+ },
262
+ {
263
+ "name": "base/text/weight/normal",
264
+ "value": 400,
265
+ "type": "FLOAT",
266
+ "refId": "base/typography/base/text/weight/normal",
267
+ "collection": "base/typography",
268
+ "mode": "default",
269
+ "group": "base/typography",
270
+ "scopes": ["ALL_SCOPES"]
271
+ },
272
+ {
273
+ "name": "base/text/weight/light",
274
+ "value": 300,
275
+ "type": "FLOAT",
276
+ "refId": "base/typography/base/text/weight/light",
277
+ "collection": "base/typography",
278
+ "mode": "default",
279
+ "group": "base/typography",
280
+ "scopes": ["ALL_SCOPES"]
281
+ },
282
+ {
283
+ "name": "text/codeInline/weight",
284
+ "value": 400,
285
+ "type": "FLOAT",
286
+ "refId": "typography/text/codeInline/weight",
287
+ "reference": "base/typography/base/text/weight/normal",
288
+ "collection": "typography",
289
+ "mode": "default",
290
+ "group": "typography",
291
+ "scopes": ["ALL_SCOPES"]
292
+ },
293
+ {
294
+ "name": "text/codeBlock/weight",
295
+ "value": 400,
296
+ "type": "FLOAT",
297
+ "refId": "typography/text/codeBlock/weight",
298
+ "reference": "base/typography/base/text/weight/normal",
299
+ "collection": "typography",
300
+ "mode": "default",
301
+ "group": "typography",
302
+ "scopes": ["ALL_SCOPES"]
303
+ },
304
+ {
305
+ "name": "text/caption/weight",
306
+ "value": 400,
307
+ "type": "FLOAT",
308
+ "refId": "typography/text/caption/weight",
309
+ "reference": "base/typography/base/text/weight/normal",
310
+ "collection": "typography",
311
+ "mode": "default",
312
+ "group": "typography",
313
+ "scopes": ["ALL_SCOPES"]
314
+ },
315
+ {
316
+ "name": "text/subtitle/weight",
317
+ "value": 400,
318
+ "type": "FLOAT",
319
+ "refId": "typography/text/subtitle/weight",
320
+ "reference": "base/typography/base/text/weight/normal",
321
+ "collection": "typography",
322
+ "mode": "default",
323
+ "group": "typography",
324
+ "scopes": ["ALL_SCOPES"]
325
+ },
326
+ {
327
+ "name": "text/title/weight/small",
328
+ "value": 600,
329
+ "type": "FLOAT",
330
+ "refId": "typography/text/title/weight/small",
331
+ "reference": "base/typography/base/text/weight/semibold",
332
+ "collection": "typography",
333
+ "mode": "default",
334
+ "group": "typography",
335
+ "scopes": ["ALL_SCOPES"]
336
+ },
337
+ {
338
+ "name": "text/title/weight/medium",
339
+ "value": 600,
340
+ "type": "FLOAT",
341
+ "refId": "typography/text/title/weight/medium",
342
+ "reference": "base/typography/base/text/weight/semibold",
343
+ "collection": "typography",
344
+ "mode": "default",
345
+ "group": "typography",
346
+ "scopes": ["ALL_SCOPES"]
347
+ },
348
+ {
349
+ "name": "text/title/weight/large",
350
+ "value": 600,
351
+ "type": "FLOAT",
352
+ "refId": "typography/text/title/weight/large",
353
+ "reference": "base/typography/base/text/weight/semibold",
354
+ "collection": "typography",
355
+ "mode": "default",
356
+ "group": "typography",
357
+ "scopes": ["ALL_SCOPES"]
358
+ },
359
+ {
360
+ "name": "text/display/weight",
361
+ "value": 500,
362
+ "type": "FLOAT",
363
+ "refId": "typography/text/display/weight",
364
+ "reference": "base/typography/base/text/weight/medium",
365
+ "collection": "typography",
366
+ "mode": "default",
367
+ "group": "typography",
368
+ "scopes": ["ALL_SCOPES"]
131
369
  }
132
370
  ]
@@ -2,11 +2,23 @@
2
2
  "base-text-weight-light": {
3
3
  "$type": "fontWeight",
4
4
  "value": 300,
5
+ "$extensions": {
6
+ "org.primer.figma": {
7
+ "collection": "base/typography",
8
+ "scopes": ["all"]
9
+ }
10
+ },
5
11
  "filePath": "src/tokens/base/typography/typography.json",
6
12
  "isSource": true,
7
13
  "original": {
8
14
  "$type": "fontWeight",
9
- "value": 300
15
+ "value": 300,
16
+ "$extensions": {
17
+ "org.primer.figma": {
18
+ "collection": "base/typography",
19
+ "scopes": ["all"]
20
+ }
21
+ }
10
22
  },
11
23
  "name": "base-text-weight-light",
12
24
  "attributes": {},
@@ -15,11 +27,23 @@
15
27
  "base-text-weight-normal": {
16
28
  "value": 400,
17
29
  "$type": "fontWeight",
30
+ "$extensions": {
31
+ "org.primer.figma": {
32
+ "collection": "base/typography",
33
+ "scopes": ["all"]
34
+ }
35
+ },
18
36
  "filePath": "src/tokens/base/typography/typography.json",
19
37
  "isSource": true,
20
38
  "original": {
21
39
  "value": 400,
22
- "$type": "fontWeight"
40
+ "$type": "fontWeight",
41
+ "$extensions": {
42
+ "org.primer.figma": {
43
+ "collection": "base/typography",
44
+ "scopes": ["all"]
45
+ }
46
+ }
23
47
  },
24
48
  "name": "base-text-weight-normal",
25
49
  "attributes": {},
@@ -28,11 +52,23 @@
28
52
  "base-text-weight-medium": {
29
53
  "value": 500,
30
54
  "$type": "fontWeight",
55
+ "$extensions": {
56
+ "org.primer.figma": {
57
+ "collection": "base/typography",
58
+ "scopes": ["all"]
59
+ }
60
+ },
31
61
  "filePath": "src/tokens/base/typography/typography.json",
32
62
  "isSource": true,
33
63
  "original": {
34
64
  "value": 500,
35
- "$type": "fontWeight"
65
+ "$type": "fontWeight",
66
+ "$extensions": {
67
+ "org.primer.figma": {
68
+ "collection": "base/typography",
69
+ "scopes": ["all"]
70
+ }
71
+ }
36
72
  },
37
73
  "name": "base-text-weight-medium",
38
74
  "attributes": {},
@@ -41,11 +77,23 @@
41
77
  "base-text-weight-semibold": {
42
78
  "value": 600,
43
79
  "$type": "fontWeight",
80
+ "$extensions": {
81
+ "org.primer.figma": {
82
+ "collection": "base/typography",
83
+ "scopes": ["all"]
84
+ }
85
+ },
44
86
  "filePath": "src/tokens/base/typography/typography.json",
45
87
  "isSource": true,
46
88
  "original": {
47
89
  "value": 600,
48
- "$type": "fontWeight"
90
+ "$type": "fontWeight",
91
+ "$extensions": {
92
+ "org.primer.figma": {
93
+ "collection": "base/typography",
94
+ "scopes": ["all"]
95
+ }
96
+ }
49
97
  },
50
98
  "name": "base-text-weight-semibold",
51
99
  "attributes": {},