@box/blueprint-web-assets 4.90.0 → 4.91.1
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/tokens/mixins-modern.scss +218 -0
- package/package.json +2 -2
|
@@ -174,3 +174,221 @@ $bp-lato-font-family: var(--bp-font-font-family), -apple-system, BlinkMacSystemF
|
|
|
174
174
|
line-height: var(--bp-font-line-height-02);
|
|
175
175
|
letter-spacing: var(--bp-font-letter-spacing-01);
|
|
176
176
|
}
|
|
177
|
+
|
|
178
|
+
// TODO LXP-839 Use CSS variables once tokens are exported from Figma.
|
|
179
|
+
|
|
180
|
+
$bp-inter-font-family: InterVariable, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto,
|
|
181
|
+
'Helvetica Neue', sans-serif;
|
|
182
|
+
|
|
183
|
+
@mixin bp-inter-title-mondo {
|
|
184
|
+
font-weight: 550;
|
|
185
|
+
font-size: 2rem; // 32px
|
|
186
|
+
font-family: $bp-inter-font-family;
|
|
187
|
+
font-style: normal;
|
|
188
|
+
line-height: 2.75rem; // 44px
|
|
189
|
+
letter-spacing: 0;
|
|
190
|
+
text-transform: none;
|
|
191
|
+
text-decoration: none;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@mixin bp-inter-title-xlarge {
|
|
195
|
+
font-weight: 550;
|
|
196
|
+
font-size: 1.3125rem; // 21px
|
|
197
|
+
font-family: $bp-inter-font-family;
|
|
198
|
+
font-style: normal;
|
|
199
|
+
line-height: 1.875rem; // 30px
|
|
200
|
+
letter-spacing: 0;
|
|
201
|
+
text-transform: none;
|
|
202
|
+
text-decoration: none;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@mixin bp-inter-title-large {
|
|
206
|
+
font-weight: 550;
|
|
207
|
+
font-size: 1.1875rem; // 19px
|
|
208
|
+
font-family: $bp-inter-font-family;
|
|
209
|
+
font-style: normal;
|
|
210
|
+
line-height: 1.5rem; // 24px
|
|
211
|
+
letter-spacing: 0;
|
|
212
|
+
text-transform: none;
|
|
213
|
+
text-decoration: none;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@mixin bp-inter-title-medium {
|
|
217
|
+
font-weight: 550;
|
|
218
|
+
font-size: 1.125rem; // 18px
|
|
219
|
+
font-family: $bp-inter-font-family;
|
|
220
|
+
font-style: normal;
|
|
221
|
+
line-height: 1.375rem; // 22px
|
|
222
|
+
letter-spacing: 0;
|
|
223
|
+
text-transform: none;
|
|
224
|
+
text-decoration: none;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@mixin bp-inter-title-small {
|
|
228
|
+
font-weight: 600;
|
|
229
|
+
font-size: 1.0625rem; // 17px
|
|
230
|
+
font-family: $bp-inter-font-family;
|
|
231
|
+
font-style: normal;
|
|
232
|
+
line-height: 1.3125rem; // 21px
|
|
233
|
+
letter-spacing: 0;
|
|
234
|
+
text-transform: none;
|
|
235
|
+
text-decoration: none;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@mixin bp-inter-subtitle {
|
|
239
|
+
font-weight: 600;
|
|
240
|
+
font-size: 1rem; // 16px
|
|
241
|
+
font-family: $bp-inter-font-family;
|
|
242
|
+
font-style: normal;
|
|
243
|
+
line-height: 1.25rem; // 20px
|
|
244
|
+
letter-spacing: 0;
|
|
245
|
+
text-transform: none;
|
|
246
|
+
text-decoration: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@mixin bp-inter-body-large-bold {
|
|
250
|
+
font-weight: 600;
|
|
251
|
+
font-size: 1rem; // 16px
|
|
252
|
+
font-family: $bp-inter-font-family;
|
|
253
|
+
font-style: normal;
|
|
254
|
+
line-height: 1.375rem; // 22px
|
|
255
|
+
letter-spacing: 0;
|
|
256
|
+
text-transform: none;
|
|
257
|
+
text-decoration: none;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@mixin bp-inter-body-large {
|
|
261
|
+
font-weight: 450;
|
|
262
|
+
font-size: 1rem; // 16px
|
|
263
|
+
font-family: $bp-inter-font-family;
|
|
264
|
+
font-style: normal;
|
|
265
|
+
line-height: 1.375rem; // 22px
|
|
266
|
+
letter-spacing: 0;
|
|
267
|
+
text-transform: none;
|
|
268
|
+
text-decoration: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
@mixin bp-inter-body-default-bold {
|
|
272
|
+
font-weight: 600;
|
|
273
|
+
font-size: .875rem; // 14px
|
|
274
|
+
font-family: $bp-inter-font-family;
|
|
275
|
+
font-style: normal;
|
|
276
|
+
line-height: 1.25rem; // 20px
|
|
277
|
+
letter-spacing: 0;
|
|
278
|
+
text-transform: none;
|
|
279
|
+
text-decoration: none;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
@mixin bp-inter-body-default-semibold {
|
|
283
|
+
font-weight: 500;
|
|
284
|
+
font-size: .875rem; // 14px
|
|
285
|
+
font-family: $bp-inter-font-family;
|
|
286
|
+
font-style: normal;
|
|
287
|
+
line-height: 1.25rem; // 20px
|
|
288
|
+
letter-spacing: 0;
|
|
289
|
+
text-transform: none;
|
|
290
|
+
text-decoration: none;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@mixin bp-inter-body-default {
|
|
294
|
+
font-weight: 450;
|
|
295
|
+
font-size: .875rem; // 14px
|
|
296
|
+
font-family: $bp-inter-font-family;
|
|
297
|
+
font-style: normal;
|
|
298
|
+
line-height: 1.25rem; // 20px
|
|
299
|
+
letter-spacing: 0;
|
|
300
|
+
text-transform: none;
|
|
301
|
+
text-decoration: none;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@mixin bp-inter-body-small-semibold {
|
|
305
|
+
font-weight: 500;
|
|
306
|
+
font-size: .8125rem; // 13px
|
|
307
|
+
font-family: $bp-inter-font-family;
|
|
308
|
+
font-style: normal;
|
|
309
|
+
line-height: 1.125rem; // 18px
|
|
310
|
+
letter-spacing: 0;
|
|
311
|
+
text-transform: none;
|
|
312
|
+
text-decoration: none;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@mixin bp-inter-body-small {
|
|
316
|
+
font-weight: 450;
|
|
317
|
+
font-size: .8125rem; // 13px
|
|
318
|
+
font-family: $bp-inter-font-family;
|
|
319
|
+
font-style: normal;
|
|
320
|
+
line-height: 1.125rem; // 18px
|
|
321
|
+
letter-spacing: 0;
|
|
322
|
+
text-transform: none;
|
|
323
|
+
text-decoration: none;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
@mixin bp-inter-caption-bold {
|
|
327
|
+
font-weight: 550;
|
|
328
|
+
font-size: .75rem; // 12px
|
|
329
|
+
font-family: $bp-inter-font-family;
|
|
330
|
+
font-style: normal;
|
|
331
|
+
line-height: .9375rem; // 15px
|
|
332
|
+
letter-spacing: 0;
|
|
333
|
+
text-transform: none;
|
|
334
|
+
text-decoration: none;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@mixin bp-inter-caption-default {
|
|
338
|
+
font-weight: 450;
|
|
339
|
+
font-size: .75rem; // 12px
|
|
340
|
+
font-family: $bp-inter-font-family;
|
|
341
|
+
font-style: normal;
|
|
342
|
+
line-height: .9375rem; // 15px
|
|
343
|
+
letter-spacing: 0;
|
|
344
|
+
text-transform: none;
|
|
345
|
+
text-decoration: none;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
@mixin bp-inter-label-bold {
|
|
349
|
+
font-weight: 550;
|
|
350
|
+
font-size: .625rem; // 10px
|
|
351
|
+
font-family: $bp-inter-font-family;
|
|
352
|
+
font-style: normal;
|
|
353
|
+
line-height: .875rem; // 14px
|
|
354
|
+
letter-spacing: .01875rem; // 0.3px
|
|
355
|
+
text-transform: none;
|
|
356
|
+
text-decoration: none;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
@mixin bp-inter-label-default {
|
|
360
|
+
font-weight: 450;
|
|
361
|
+
font-size: .625rem; // 10px
|
|
362
|
+
font-family: $bp-inter-font-family;
|
|
363
|
+
font-style: normal;
|
|
364
|
+
line-height: .875rem; // 14px
|
|
365
|
+
letter-spacing: .01875rem; // 0.3px
|
|
366
|
+
text-transform: none;
|
|
367
|
+
text-decoration: none;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
@mixin bp-inter-link-default {
|
|
371
|
+
font-weight: 500;
|
|
372
|
+
font-size: .875rem; // 14px
|
|
373
|
+
font-family: $bp-inter-font-family;
|
|
374
|
+
font-style: normal;
|
|
375
|
+
line-height: 1.25rem; // 20px
|
|
376
|
+
letter-spacing: 0;
|
|
377
|
+
text-transform: none;
|
|
378
|
+
text-decoration-line: underline;
|
|
379
|
+
text-decoration-style: solid;
|
|
380
|
+
text-decoration-skip-ink: none;
|
|
381
|
+
text-decoration-thickness: auto;
|
|
382
|
+
text-underline-offset: auto;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@mixin bp-inter-notification-default {
|
|
386
|
+
font-weight: 550;
|
|
387
|
+
font-size: .5rem; // 8px
|
|
388
|
+
font-family: $bp-inter-font-family;
|
|
389
|
+
font-style: normal;
|
|
390
|
+
line-height: .75rem; // 12px
|
|
391
|
+
letter-spacing: 0;
|
|
392
|
+
text-transform: none;
|
|
393
|
+
text-decoration: none;
|
|
394
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web-assets",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.91.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build-local-all": "yarn nx clone-repo && yarn build-local && nx run blueprint-web-assets:format-lint",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
|
-
"@box/storybook-utils": "^0.
|
|
142
|
+
"@box/storybook-utils": "^0.15.1",
|
|
143
143
|
"@types/react": "^18.0.0",
|
|
144
144
|
"@types/react-dom": "^18.0.0",
|
|
145
145
|
"chalk": "4.1.2",
|