@primer/primitives 10.5.1-rc.605714e8 → 10.6.0-rc.0b457012
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/dist/build/platforms/figma.js +4 -4
- package/dist/build/schemas/dimensionToken.js +1 -0
- package/dist/build/transformers/fontFamilyToFigma.js +4 -1
- package/dist/css/functional/themes/dark-colorblind.css +0 -102
- package/dist/css/functional/themes/dark-dimmed.css +0 -102
- package/dist/css/functional/themes/dark-high-contrast.css +0 -102
- package/dist/css/functional/themes/dark-tritanopia.css +0 -102
- package/dist/css/functional/themes/dark.css +0 -102
- package/dist/css/functional/themes/light-colorblind.css +0 -102
- package/dist/css/functional/themes/light-high-contrast.css +0 -102
- package/dist/css/functional/themes/light-tritanopia.css +0 -102
- package/dist/css/functional/themes/light.css +0 -102
- package/dist/docs/functional/size/border.json +78 -6
- package/dist/docs/functional/themes/dark-colorblind.json +331 -1861
- package/dist/docs/functional/themes/dark-dimmed.json +331 -1861
- package/dist/docs/functional/themes/dark-high-contrast.json +331 -1861
- package/dist/docs/functional/themes/dark-tritanopia.json +331 -1861
- package/dist/docs/functional/themes/dark.json +331 -1861
- package/dist/docs/functional/themes/light-colorblind.json +331 -1861
- package/dist/docs/functional/themes/light-high-contrast.json +331 -1861
- package/dist/docs/functional/themes/light-tritanopia.json +331 -1861
- package/dist/docs/functional/themes/light.json +331 -1861
- package/dist/figma/dimension/dimension.json +61 -0
- package/dist/figma/themes/dark-colorblind.json +0 -561
- package/dist/figma/themes/dark-dimmed.json +0 -561
- package/dist/figma/themes/dark-high-contrast.json +0 -561
- package/dist/figma/themes/dark-tritanopia.json +0 -561
- package/dist/figma/themes/dark.json +0 -561
- package/dist/figma/themes/light-colorblind.json +0 -561
- package/dist/figma/themes/light-high-contrast.json +0 -561
- package/dist/figma/themes/light-tritanopia.json +0 -561
- package/dist/figma/themes/light.json +0 -561
- package/dist/figma/typography/typography.json +4 -4
- package/dist/internalCss/dark-colorblind.css +0 -102
- package/dist/internalCss/dark-dimmed.css +0 -102
- package/dist/internalCss/dark-high-contrast.css +0 -102
- package/dist/internalCss/dark-tritanopia.css +0 -102
- package/dist/internalCss/dark.css +0 -102
- package/dist/internalCss/light-colorblind.css +0 -102
- package/dist/internalCss/light-high-contrast.css +0 -102
- package/dist/internalCss/light-tritanopia.css +0 -102
- package/dist/internalCss/light.css +0 -102
- package/dist/styleLint/functional/size/border.json +78 -6
- package/dist/styleLint/functional/themes/dark-colorblind.json +309 -1839
- package/dist/styleLint/functional/themes/dark-dimmed.json +309 -1839
- package/dist/styleLint/functional/themes/dark-high-contrast.json +309 -1839
- package/dist/styleLint/functional/themes/dark-tritanopia.json +309 -1839
- package/dist/styleLint/functional/themes/dark.json +309 -1839
- package/dist/styleLint/functional/themes/light-colorblind.json +309 -1839
- package/dist/styleLint/functional/themes/light-high-contrast.json +309 -1839
- package/dist/styleLint/functional/themes/light-tritanopia.json +309 -1839
- package/dist/styleLint/functional/themes/light.json +309 -1839
- package/package.json +1 -1
- package/src/tokens/functional/color/data-vis.json5 +0 -646
- package/src/tokens/functional/size/border.json5 +36 -0
|
@@ -164,11 +164,23 @@
|
|
|
164
164
|
"borderWidth-default": {
|
|
165
165
|
"$value": ["0.00390625rem", "0.0625px"],
|
|
166
166
|
"$type": "dimension",
|
|
167
|
+
"$extensions": {
|
|
168
|
+
"org.primer.figma": {
|
|
169
|
+
"collection": "functional/size",
|
|
170
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
171
|
+
}
|
|
172
|
+
},
|
|
167
173
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
168
174
|
"isSource": true,
|
|
169
175
|
"original": {
|
|
170
176
|
"$value": "{borderWidth.thin}",
|
|
171
|
-
"$type": "dimension"
|
|
177
|
+
"$type": "dimension",
|
|
178
|
+
"$extensions": {
|
|
179
|
+
"org.primer.figma": {
|
|
180
|
+
"collection": "functional/size",
|
|
181
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
172
184
|
},
|
|
173
185
|
"name": "borderWidth-default",
|
|
174
186
|
"attributes": {},
|
|
@@ -178,11 +190,23 @@
|
|
|
178
190
|
"borderWidth-thick": {
|
|
179
191
|
"$value": ["0.125rem", "2px"],
|
|
180
192
|
"$type": "dimension",
|
|
193
|
+
"$extensions": {
|
|
194
|
+
"org.primer.figma": {
|
|
195
|
+
"collection": "functional/size",
|
|
196
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
197
|
+
}
|
|
198
|
+
},
|
|
181
199
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
182
200
|
"isSource": true,
|
|
183
201
|
"original": {
|
|
184
202
|
"$value": "2px",
|
|
185
|
-
"$type": "dimension"
|
|
203
|
+
"$type": "dimension",
|
|
204
|
+
"$extensions": {
|
|
205
|
+
"org.primer.figma": {
|
|
206
|
+
"collection": "functional/size",
|
|
207
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
208
|
+
}
|
|
209
|
+
}
|
|
186
210
|
},
|
|
187
211
|
"name": "borderWidth-thick",
|
|
188
212
|
"attributes": {},
|
|
@@ -192,11 +216,23 @@
|
|
|
192
216
|
"borderWidth-thicker": {
|
|
193
217
|
"$value": ["0.25rem", "4px"],
|
|
194
218
|
"$type": "dimension",
|
|
219
|
+
"$extensions": {
|
|
220
|
+
"org.primer.figma": {
|
|
221
|
+
"collection": "functional/size",
|
|
222
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
223
|
+
}
|
|
224
|
+
},
|
|
195
225
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
196
226
|
"isSource": true,
|
|
197
227
|
"original": {
|
|
198
228
|
"$value": "4px",
|
|
199
|
-
"$type": "dimension"
|
|
229
|
+
"$type": "dimension",
|
|
230
|
+
"$extensions": {
|
|
231
|
+
"org.primer.figma": {
|
|
232
|
+
"collection": "functional/size",
|
|
233
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
234
|
+
}
|
|
235
|
+
}
|
|
200
236
|
},
|
|
201
237
|
"name": "borderWidth-thicker",
|
|
202
238
|
"attributes": {},
|
|
@@ -206,11 +242,23 @@
|
|
|
206
242
|
"borderWidth-thin": {
|
|
207
243
|
"$value": ["0.0625rem", "1px"],
|
|
208
244
|
"$type": "dimension",
|
|
245
|
+
"$extensions": {
|
|
246
|
+
"org.primer.figma": {
|
|
247
|
+
"collection": "functional/size",
|
|
248
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
249
|
+
}
|
|
250
|
+
},
|
|
209
251
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
210
252
|
"isSource": true,
|
|
211
253
|
"original": {
|
|
212
254
|
"$value": "1px",
|
|
213
|
-
"$type": "dimension"
|
|
255
|
+
"$type": "dimension",
|
|
256
|
+
"$extensions": {
|
|
257
|
+
"org.primer.figma": {
|
|
258
|
+
"collection": "functional/size",
|
|
259
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
260
|
+
}
|
|
261
|
+
}
|
|
214
262
|
},
|
|
215
263
|
"name": "borderWidth-thin",
|
|
216
264
|
"attributes": {},
|
|
@@ -264,11 +312,23 @@
|
|
|
264
312
|
"outline-focus-offset": {
|
|
265
313
|
"$value": ["-0.125rem", "-2px"],
|
|
266
314
|
"$type": "dimension",
|
|
315
|
+
"$extensions": {
|
|
316
|
+
"org.primer.figma": {
|
|
317
|
+
"collection": "functional/size",
|
|
318
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
319
|
+
}
|
|
320
|
+
},
|
|
267
321
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
268
322
|
"isSource": true,
|
|
269
323
|
"original": {
|
|
270
324
|
"$value": "-2px",
|
|
271
|
-
"$type": "dimension"
|
|
325
|
+
"$type": "dimension",
|
|
326
|
+
"$extensions": {
|
|
327
|
+
"org.primer.figma": {
|
|
328
|
+
"collection": "functional/size",
|
|
329
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
330
|
+
}
|
|
331
|
+
}
|
|
272
332
|
},
|
|
273
333
|
"name": "outline-focus-offset",
|
|
274
334
|
"attributes": {},
|
|
@@ -278,11 +338,23 @@
|
|
|
278
338
|
"outline-focus-width": {
|
|
279
339
|
"$value": ["0.125rem", "2px"],
|
|
280
340
|
"$type": "dimension",
|
|
341
|
+
"$extensions": {
|
|
342
|
+
"org.primer.figma": {
|
|
343
|
+
"collection": "functional/size",
|
|
344
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
345
|
+
}
|
|
346
|
+
},
|
|
281
347
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
282
348
|
"isSource": true,
|
|
283
349
|
"original": {
|
|
284
350
|
"$value": "2px",
|
|
285
|
-
"$type": "dimension"
|
|
351
|
+
"$type": "dimension",
|
|
352
|
+
"$extensions": {
|
|
353
|
+
"org.primer.figma": {
|
|
354
|
+
"collection": "functional/size",
|
|
355
|
+
"scopes": ["borderWidth", "effectFloat"]
|
|
356
|
+
}
|
|
357
|
+
}
|
|
286
358
|
},
|
|
287
359
|
"name": "outline-focus-width",
|
|
288
360
|
"attributes": {},
|