@gobolt/genesis 0.5.1 → 0.6.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/index.cjs CHANGED
@@ -59326,9 +59326,9 @@ const getGenesisTypographyClass = ({ colors: colors2, typography: typography2 },
59326
59326
  color: ${getColor(color2, colors2, $themeType)} !important;
59327
59327
  ${getVariant$2(typography2, variant)}
59328
59328
  margin-bottom: 0 !important;
59329
- width: ${"auto"};
59330
- font-weight: ${fontWeight};
59331
- font-size: ${fontSize};
59329
+ width: ${$isFullWidth ? "100%" : "auto"};
59330
+ font-weight: ${fontWeight} !important;
59331
+ font-size: ${fontSize} !important;
59332
59332
  line-height: 1;
59333
59333
  -webkit-font-smoothing: antialiased;
59334
59334
 
@@ -59347,6 +59347,8 @@ const Headline = styled(Typography$1.Title)`
59347
59347
  state,
59348
59348
  breakpoint,
59349
59349
  color: color2,
59350
+ fontSize,
59351
+ fontWeight,
59350
59352
  $isFullWidth
59351
59353
  }) => {
59352
59354
  return getGenesisTypographyClass(
@@ -59356,6 +59358,8 @@ const Headline = styled(Typography$1.Title)`
59356
59358
  state,
59357
59359
  breakpoint,
59358
59360
  color2,
59361
+ fontSize,
59362
+ fontWeight,
59359
59363
  $isFullWidth
59360
59364
  );
59361
59365
  }}
@@ -59381,6 +59385,8 @@ const Paragraph = styled(
59381
59385
  state,
59382
59386
  breakpoint,
59383
59387
  color2,
59388
+ fontSize,
59389
+ fontWeight,
59384
59390
  $isFullWidth
59385
59391
  );
59386
59392
  }}
@@ -59393,6 +59399,8 @@ const Text = styled(Typography$1.Text)`
59393
59399
  state,
59394
59400
  breakpoint,
59395
59401
  color: color2,
59402
+ fontSize,
59403
+ fontWeight,
59396
59404
  $isFullWidth
59397
59405
  }) => {
59398
59406
  return getGenesisTypographyClass(
@@ -59402,6 +59410,8 @@ const Text = styled(Typography$1.Text)`
59402
59410
  state,
59403
59411
  breakpoint,
59404
59412
  color2,
59413
+ fontSize,
59414
+ fontWeight,
59405
59415
  $isFullWidth
59406
59416
  );
59407
59417
  }}
package/dist/index.js CHANGED
@@ -59308,9 +59308,9 @@ const getGenesisTypographyClass = ({ colors: colors2, typography: typography2 },
59308
59308
  color: ${getColor(color2, colors2, $themeType)} !important;
59309
59309
  ${getVariant$2(typography2, variant)}
59310
59310
  margin-bottom: 0 !important;
59311
- width: ${"auto"};
59312
- font-weight: ${fontWeight};
59313
- font-size: ${fontSize};
59311
+ width: ${$isFullWidth ? "100%" : "auto"};
59312
+ font-weight: ${fontWeight} !important;
59313
+ font-size: ${fontSize} !important;
59314
59314
  line-height: 1;
59315
59315
  -webkit-font-smoothing: antialiased;
59316
59316
 
@@ -59329,6 +59329,8 @@ const Headline = styled(Typography$1.Title)`
59329
59329
  state,
59330
59330
  breakpoint,
59331
59331
  color: color2,
59332
+ fontSize,
59333
+ fontWeight,
59332
59334
  $isFullWidth
59333
59335
  }) => {
59334
59336
  return getGenesisTypographyClass(
@@ -59338,6 +59340,8 @@ const Headline = styled(Typography$1.Title)`
59338
59340
  state,
59339
59341
  breakpoint,
59340
59342
  color2,
59343
+ fontSize,
59344
+ fontWeight,
59341
59345
  $isFullWidth
59342
59346
  );
59343
59347
  }}
@@ -59363,6 +59367,8 @@ const Paragraph = styled(
59363
59367
  state,
59364
59368
  breakpoint,
59365
59369
  color2,
59370
+ fontSize,
59371
+ fontWeight,
59366
59372
  $isFullWidth
59367
59373
  );
59368
59374
  }}
@@ -59375,6 +59381,8 @@ const Text = styled(Typography$1.Text)`
59375
59381
  state,
59376
59382
  breakpoint,
59377
59383
  color: color2,
59384
+ fontSize,
59385
+ fontWeight,
59378
59386
  $isFullWidth
59379
59387
  }) => {
59380
59388
  return getGenesisTypographyClass(
@@ -59384,6 +59392,8 @@ const Text = styled(Typography$1.Text)`
59384
59392
  state,
59385
59393
  breakpoint,
59386
59394
  color2,
59395
+ fontSize,
59396
+ fontWeight,
59387
59397
  $isFullWidth
59388
59398
  );
59389
59399
  }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobolt/genesis",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "description": "genesis design system",
5
5
  "author": "gobolt",
6
6
  "license": "MIT",