@carbon/type 10.45.0 → 10.45.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/es/index.js +6 -5
- package/lib/index.js +6 -5
- package/package.json +2 -2
- package/scss/_inlined/_styles.scss +6 -5
- package/scss/_styles.scss +6 -5
- package/src/__tests__/__snapshots__/styles-test.js.snap +4 -4
- package/src/styles.js +6 -5
- package/umd/index.js +6 -5
package/es/index.js
CHANGED
|
@@ -434,7 +434,7 @@ var productiveHeading04$1 = {
|
|
|
434
434
|
};
|
|
435
435
|
var productiveHeading05$1 = {
|
|
436
436
|
fontSize: rem(scale[7]),
|
|
437
|
-
fontWeight: fontWeights.
|
|
437
|
+
fontWeight: fontWeights.regular,
|
|
438
438
|
lineHeight: 1.25,
|
|
439
439
|
letterSpacing: 0
|
|
440
440
|
};
|
|
@@ -464,7 +464,7 @@ var expressiveHeading03$1 = {
|
|
|
464
464
|
breakpoints: {
|
|
465
465
|
xlg: {
|
|
466
466
|
fontSize: rem(scale[4]),
|
|
467
|
-
lineHeight: 1.
|
|
467
|
+
lineHeight: 1.4
|
|
468
468
|
},
|
|
469
469
|
max: {
|
|
470
470
|
fontSize: rem(scale[5]),
|
|
@@ -481,22 +481,23 @@ var expressiveHeading04$1 = {
|
|
|
481
481
|
xlg: {
|
|
482
482
|
fontSize: rem(scale[6]),
|
|
483
483
|
lineHeight: 1.25,
|
|
484
|
-
fontWeight: fontWeights.
|
|
484
|
+
fontWeight: fontWeights.regular
|
|
485
485
|
},
|
|
486
486
|
max: {
|
|
487
487
|
fontSize: rem(scale[7]),
|
|
488
|
-
fontWeight: fontWeights.
|
|
488
|
+
fontWeight: fontWeights.regular
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
491
|
};
|
|
492
492
|
var expressiveHeading05$1 = {
|
|
493
493
|
fontSize: rem(scale[7]),
|
|
494
|
-
fontWeight: fontWeights.
|
|
494
|
+
fontWeight: fontWeights.regular,
|
|
495
495
|
lineHeight: 1.25,
|
|
496
496
|
letterSpacing: 0,
|
|
497
497
|
breakpoints: {
|
|
498
498
|
md: {
|
|
499
499
|
fontSize: rem(scale[8]),
|
|
500
|
+
fontWeight: fontWeights.light,
|
|
500
501
|
lineHeight: 1.22,
|
|
501
502
|
letterSpacing: 0
|
|
502
503
|
},
|
package/lib/index.js
CHANGED
|
@@ -438,7 +438,7 @@ var productiveHeading04$1 = {
|
|
|
438
438
|
};
|
|
439
439
|
var productiveHeading05$1 = {
|
|
440
440
|
fontSize: rem(scale[7]),
|
|
441
|
-
fontWeight: fontWeights.
|
|
441
|
+
fontWeight: fontWeights.regular,
|
|
442
442
|
lineHeight: 1.25,
|
|
443
443
|
letterSpacing: 0
|
|
444
444
|
};
|
|
@@ -468,7 +468,7 @@ var expressiveHeading03$1 = {
|
|
|
468
468
|
breakpoints: {
|
|
469
469
|
xlg: {
|
|
470
470
|
fontSize: rem(scale[4]),
|
|
471
|
-
lineHeight: 1.
|
|
471
|
+
lineHeight: 1.4
|
|
472
472
|
},
|
|
473
473
|
max: {
|
|
474
474
|
fontSize: rem(scale[5]),
|
|
@@ -485,22 +485,23 @@ var expressiveHeading04$1 = {
|
|
|
485
485
|
xlg: {
|
|
486
486
|
fontSize: rem(scale[6]),
|
|
487
487
|
lineHeight: 1.25,
|
|
488
|
-
fontWeight: fontWeights.
|
|
488
|
+
fontWeight: fontWeights.regular
|
|
489
489
|
},
|
|
490
490
|
max: {
|
|
491
491
|
fontSize: rem(scale[7]),
|
|
492
|
-
fontWeight: fontWeights.
|
|
492
|
+
fontWeight: fontWeights.regular
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
};
|
|
496
496
|
var expressiveHeading05$1 = {
|
|
497
497
|
fontSize: rem(scale[7]),
|
|
498
|
-
fontWeight: fontWeights.
|
|
498
|
+
fontWeight: fontWeights.regular,
|
|
499
499
|
lineHeight: 1.25,
|
|
500
500
|
letterSpacing: 0,
|
|
501
501
|
breakpoints: {
|
|
502
502
|
md: {
|
|
503
503
|
fontSize: rem(scale[8]),
|
|
504
|
+
fontWeight: fontWeights.light,
|
|
504
505
|
lineHeight: 1.22,
|
|
505
506
|
letterSpacing: 0
|
|
506
507
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/type",
|
|
3
3
|
"description": "Typography for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "10.45.
|
|
4
|
+
"version": "10.45.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"sassDir": "scss",
|
|
53
53
|
"needs": "^1.3.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "f194dfb8beb09cf2ad62b521c65fddf3a439069b"
|
|
56
56
|
}
|
|
@@ -276,7 +276,7 @@ $heading-04: $productive-heading-04 !default;
|
|
|
276
276
|
/// @group @carbon/type
|
|
277
277
|
$productive-heading-05: (
|
|
278
278
|
font-size: carbon--type-scale(8),
|
|
279
|
-
font-weight: carbon--font-weight('
|
|
279
|
+
font-weight: carbon--font-weight('regular'),
|
|
280
280
|
line-height: 1.25,
|
|
281
281
|
letter-spacing: 0,
|
|
282
282
|
) !default;
|
|
@@ -338,7 +338,7 @@ $expressive-heading-03: (
|
|
|
338
338
|
breakpoints: (
|
|
339
339
|
xlg: (
|
|
340
340
|
font-size: carbon--type-scale(5),
|
|
341
|
-
line-height: 1.
|
|
341
|
+
line-height: 1.4,
|
|
342
342
|
),
|
|
343
343
|
max: (
|
|
344
344
|
font-size: carbon--type-scale(6),
|
|
@@ -364,11 +364,11 @@ $expressive-heading-04: (
|
|
|
364
364
|
xlg: (
|
|
365
365
|
font-size: carbon--type-scale(7),
|
|
366
366
|
line-height: 1.25,
|
|
367
|
-
font-weight: carbon--font-weight('
|
|
367
|
+
font-weight: carbon--font-weight('regular'),
|
|
368
368
|
),
|
|
369
369
|
max: (
|
|
370
370
|
font-size: carbon--type-scale(8),
|
|
371
|
-
font-weight: carbon--font-weight('
|
|
371
|
+
font-weight: carbon--font-weight('regular'),
|
|
372
372
|
),
|
|
373
373
|
),
|
|
374
374
|
) !default;
|
|
@@ -383,12 +383,13 @@ $fluid-heading-04: $expressive-heading-04 !default;
|
|
|
383
383
|
/// @group @carbon/type
|
|
384
384
|
$expressive-heading-05: (
|
|
385
385
|
font-size: carbon--type-scale(8),
|
|
386
|
-
font-weight: carbon--font-weight('
|
|
386
|
+
font-weight: carbon--font-weight('regular'),
|
|
387
387
|
line-height: 1.25,
|
|
388
388
|
letter-spacing: 0,
|
|
389
389
|
breakpoints: (
|
|
390
390
|
md: (
|
|
391
391
|
font-size: carbon--type-scale(9),
|
|
392
|
+
font-weight: carbon--font-weight('light'),
|
|
392
393
|
line-height: 1.22,
|
|
393
394
|
),
|
|
394
395
|
lg: (
|
package/scss/_styles.scss
CHANGED
|
@@ -276,7 +276,7 @@ $heading-04: $productive-heading-04 !default;
|
|
|
276
276
|
/// @group @carbon/type
|
|
277
277
|
$productive-heading-05: (
|
|
278
278
|
font-size: carbon--type-scale(8),
|
|
279
|
-
font-weight: carbon--font-weight('
|
|
279
|
+
font-weight: carbon--font-weight('regular'),
|
|
280
280
|
line-height: 1.25,
|
|
281
281
|
letter-spacing: 0,
|
|
282
282
|
) !default;
|
|
@@ -338,7 +338,7 @@ $expressive-heading-03: (
|
|
|
338
338
|
breakpoints: (
|
|
339
339
|
xlg: (
|
|
340
340
|
font-size: carbon--type-scale(5),
|
|
341
|
-
line-height: 1.
|
|
341
|
+
line-height: 1.4,
|
|
342
342
|
),
|
|
343
343
|
max: (
|
|
344
344
|
font-size: carbon--type-scale(6),
|
|
@@ -364,11 +364,11 @@ $expressive-heading-04: (
|
|
|
364
364
|
xlg: (
|
|
365
365
|
font-size: carbon--type-scale(7),
|
|
366
366
|
line-height: 1.25,
|
|
367
|
-
font-weight: carbon--font-weight('
|
|
367
|
+
font-weight: carbon--font-weight('regular'),
|
|
368
368
|
),
|
|
369
369
|
max: (
|
|
370
370
|
font-size: carbon--type-scale(8),
|
|
371
|
-
font-weight: carbon--font-weight('
|
|
371
|
+
font-weight: carbon--font-weight('regular'),
|
|
372
372
|
),
|
|
373
373
|
),
|
|
374
374
|
) !default;
|
|
@@ -383,12 +383,13 @@ $fluid-heading-04: $expressive-heading-04 !default;
|
|
|
383
383
|
/// @group @carbon/type
|
|
384
384
|
$expressive-heading-05: (
|
|
385
385
|
font-size: carbon--type-scale(8),
|
|
386
|
-
font-weight: carbon--font-weight('
|
|
386
|
+
font-weight: carbon--font-weight('regular'),
|
|
387
387
|
line-height: 1.25,
|
|
388
388
|
letter-spacing: 0,
|
|
389
389
|
breakpoints: (
|
|
390
390
|
md: (
|
|
391
391
|
font-size: carbon--type-scale(9),
|
|
392
|
+
font-weight: carbon--font-weight('light'),
|
|
392
393
|
line-height: 1.22,
|
|
393
394
|
),
|
|
394
395
|
lg: (
|
|
@@ -144,7 +144,7 @@ letter-spacing: 0;"
|
|
|
144
144
|
|
|
145
145
|
exports[`styles expressiveHeading05 should be printable 1`] = `
|
|
146
146
|
"font-size: 2rem;
|
|
147
|
-
font-weight:
|
|
147
|
+
font-weight: 400;
|
|
148
148
|
line-height: 1.25;
|
|
149
149
|
letter-spacing: 0;"
|
|
150
150
|
`;
|
|
@@ -207,7 +207,7 @@ letter-spacing: 0;"
|
|
|
207
207
|
|
|
208
208
|
exports[`styles fluidHeading05 should be printable 1`] = `
|
|
209
209
|
"font-size: 2rem;
|
|
210
|
-
font-weight:
|
|
210
|
+
font-weight: 400;
|
|
211
211
|
line-height: 1.25;
|
|
212
212
|
letter-spacing: 0;"
|
|
213
213
|
`;
|
|
@@ -272,7 +272,7 @@ letter-spacing: 0;"
|
|
|
272
272
|
|
|
273
273
|
exports[`styles heading05 should be printable 1`] = `
|
|
274
274
|
"font-size: 2rem;
|
|
275
|
-
font-weight:
|
|
275
|
+
font-weight: 400;
|
|
276
276
|
line-height: 1.25;
|
|
277
277
|
letter-spacing: 0;"
|
|
278
278
|
`;
|
|
@@ -375,7 +375,7 @@ letter-spacing: 0;"
|
|
|
375
375
|
|
|
376
376
|
exports[`styles productiveHeading05 should be printable 1`] = `
|
|
377
377
|
"font-size: 2rem;
|
|
378
|
-
font-weight:
|
|
378
|
+
font-weight: 400;
|
|
379
379
|
line-height: 1.25;
|
|
380
380
|
letter-spacing: 0;"
|
|
381
381
|
`;
|
package/src/styles.js
CHANGED
|
@@ -138,7 +138,7 @@ export const productiveHeading04 = {
|
|
|
138
138
|
|
|
139
139
|
export const productiveHeading05 = {
|
|
140
140
|
fontSize: rem(scale[7]),
|
|
141
|
-
fontWeight: fontWeights.
|
|
141
|
+
fontWeight: fontWeights.regular,
|
|
142
142
|
lineHeight: 1.25,
|
|
143
143
|
letterSpacing: 0,
|
|
144
144
|
};
|
|
@@ -175,7 +175,7 @@ export const expressiveHeading03 = {
|
|
|
175
175
|
breakpoints: {
|
|
176
176
|
xlg: {
|
|
177
177
|
fontSize: rem(scale[4]),
|
|
178
|
-
lineHeight: 1.
|
|
178
|
+
lineHeight: 1.4,
|
|
179
179
|
},
|
|
180
180
|
max: {
|
|
181
181
|
fontSize: rem(scale[5]),
|
|
@@ -193,23 +193,24 @@ export const expressiveHeading04 = {
|
|
|
193
193
|
xlg: {
|
|
194
194
|
fontSize: rem(scale[6]),
|
|
195
195
|
lineHeight: 1.25,
|
|
196
|
-
fontWeight: fontWeights.
|
|
196
|
+
fontWeight: fontWeights.regular,
|
|
197
197
|
},
|
|
198
198
|
max: {
|
|
199
199
|
fontSize: rem(scale[7]),
|
|
200
|
-
fontWeight: fontWeights.
|
|
200
|
+
fontWeight: fontWeights.regular,
|
|
201
201
|
},
|
|
202
202
|
},
|
|
203
203
|
};
|
|
204
204
|
|
|
205
205
|
export const expressiveHeading05 = {
|
|
206
206
|
fontSize: rem(scale[7]),
|
|
207
|
-
fontWeight: fontWeights.
|
|
207
|
+
fontWeight: fontWeights.regular,
|
|
208
208
|
lineHeight: 1.25,
|
|
209
209
|
letterSpacing: 0,
|
|
210
210
|
breakpoints: {
|
|
211
211
|
md: {
|
|
212
212
|
fontSize: rem(scale[8]),
|
|
213
|
+
fontWeight: fontWeights.light,
|
|
213
214
|
lineHeight: 1.22,
|
|
214
215
|
letterSpacing: 0,
|
|
215
216
|
},
|
package/umd/index.js
CHANGED
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
};
|
|
441
441
|
var productiveHeading05$1 = {
|
|
442
442
|
fontSize: rem(scale[7]),
|
|
443
|
-
fontWeight: fontWeights.
|
|
443
|
+
fontWeight: fontWeights.regular,
|
|
444
444
|
lineHeight: 1.25,
|
|
445
445
|
letterSpacing: 0
|
|
446
446
|
};
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
breakpoints: {
|
|
471
471
|
xlg: {
|
|
472
472
|
fontSize: rem(scale[4]),
|
|
473
|
-
lineHeight: 1.
|
|
473
|
+
lineHeight: 1.4
|
|
474
474
|
},
|
|
475
475
|
max: {
|
|
476
476
|
fontSize: rem(scale[5]),
|
|
@@ -487,22 +487,23 @@
|
|
|
487
487
|
xlg: {
|
|
488
488
|
fontSize: rem(scale[6]),
|
|
489
489
|
lineHeight: 1.25,
|
|
490
|
-
fontWeight: fontWeights.
|
|
490
|
+
fontWeight: fontWeights.regular
|
|
491
491
|
},
|
|
492
492
|
max: {
|
|
493
493
|
fontSize: rem(scale[7]),
|
|
494
|
-
fontWeight: fontWeights.
|
|
494
|
+
fontWeight: fontWeights.regular
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
};
|
|
498
498
|
var expressiveHeading05$1 = {
|
|
499
499
|
fontSize: rem(scale[7]),
|
|
500
|
-
fontWeight: fontWeights.
|
|
500
|
+
fontWeight: fontWeights.regular,
|
|
501
501
|
lineHeight: 1.25,
|
|
502
502
|
letterSpacing: 0,
|
|
503
503
|
breakpoints: {
|
|
504
504
|
md: {
|
|
505
505
|
fontSize: rem(scale[8]),
|
|
506
|
+
fontWeight: fontWeights.light,
|
|
506
507
|
lineHeight: 1.22,
|
|
507
508
|
letterSpacing: 0
|
|
508
509
|
},
|