@gobolt/genesis 0.10.2 → 0.10.3

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.
Files changed (51) hide show
  1. package/README.md +11 -0
  2. package/dist/components/Avatar/styles.d.ts +4 -2
  3. package/dist/components/Badge/styles.d.ts +1 -1
  4. package/dist/components/Breadcrumb/styles.d.ts +2 -2
  5. package/dist/components/Button/icon-button-styles.d.ts +1 -1
  6. package/dist/components/Button/styles.d.ts +4 -2
  7. package/dist/components/Card/styles.d.ts +4 -2
  8. package/dist/components/Checkbox/styles.d.ts +4 -2
  9. package/dist/components/Dashboard/styles.d.ts +1 -1
  10. package/dist/components/ErrorBoundary/styles.d.ts +1 -1
  11. package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -1
  12. package/dist/components/Filters/styles.d.ts +16 -8
  13. package/dist/components/GlobalHeader/styles.d.ts +6 -6
  14. package/dist/components/Glyph/styles.d.ts +1 -1
  15. package/dist/components/Input/styles.d.ts +4 -2
  16. package/dist/components/InputAddon/styles.d.ts +3 -1
  17. package/dist/components/Insights/BarChart/styles.d.ts +2 -2
  18. package/dist/components/Insights/DonutChart/styles.d.ts +2 -2
  19. package/dist/components/Insights/LineChart/styles.d.ts +2 -2
  20. package/dist/components/Layout/Content/styles.d.ts +1 -1
  21. package/dist/components/Layout/MainLayout/styles.d.ts +4 -4
  22. package/dist/components/Message/styles.d.ts +13 -5
  23. package/dist/components/Modal/styles.d.ts +1 -1
  24. package/dist/components/NavBar/styles.d.ts +13 -13
  25. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -3
  26. package/dist/components/Notification/styles.d.ts +12 -7
  27. package/dist/components/OverflowMenu/styles.d.ts +2 -2
  28. package/dist/components/OverflowMenuItem/styles.d.ts +1 -1
  29. package/dist/components/Popover/styles.d.ts +4 -2
  30. package/dist/components/Progress/styles.d.ts +4 -2
  31. package/dist/components/Radio/Radio.d.ts +4 -2
  32. package/dist/components/Row/RowActions/styles.d.ts +1 -1
  33. package/dist/components/Row/RowLabelValue/styles.d.ts +2 -2
  34. package/dist/components/Row/styles.d.ts +1 -1
  35. package/dist/components/SegmentedControls/styles.d.ts +4 -2
  36. package/dist/components/SidePanel/styles.d.ts +2 -2
  37. package/dist/components/Switch/styles.d.ts +4 -2
  38. package/dist/components/Table/TableControls/styles.d.ts +1 -1
  39. package/dist/components/Table/styles.d.ts +6 -2
  40. package/dist/components/Tabs/styles.d.ts +4 -2
  41. package/dist/components/Tag/styles.d.ts +1 -1
  42. package/dist/components/Tile/styles.d.ts +1 -1
  43. package/dist/components/TileLog/styles.d.ts +16 -10
  44. package/dist/components/Toast/styles.d.ts +11 -5
  45. package/dist/components/Tooltip/styles.d.ts +6 -2
  46. package/dist/components/Typography/styles.d.ts +12 -6
  47. package/dist/genesis/styles.d.ts +8 -4
  48. package/dist/index.cjs +208 -179
  49. package/dist/index.js +208 -179
  50. package/dist/providers/GenesisProvider.d.ts +9 -0
  51. package/package.json +5 -3
package/dist/index.js CHANGED
@@ -61798,9 +61798,17 @@ const Avatar$1 = styled(Avatar$2)`
61798
61798
  return getGenesisClass$e(theme, type4, state);
61799
61799
  }}
61800
61800
  `;
61801
+ const getOnsurfaceCopyColors = (colors2) => colors2?.onsurface ?? {};
61802
+ const NAMED_COLOR_TOKENS = {
61803
+ textPrimary: (colors2) => getOnsurfaceCopyColors(colors2)["copy-dark"],
61804
+ textSecondary: (colors2) => getOnsurfaceCopyColors(colors2)["copy-light"],
61805
+ textDefault: (colors2) => getOnsurfaceCopyColors(colors2)["copy"],
61806
+ textDisabled: (colors2) => getOnsurfaceCopyColors(colors2)["copy-disabled"]
61807
+ };
61801
61808
  const getColor = (color2, colors2, $themeType) => {
61802
61809
  if (color2) {
61803
- return color2;
61810
+ const resolveToken = NAMED_COLOR_TOKENS[color2];
61811
+ return resolveToken ? resolveToken(colors2) ?? color2 : color2;
61804
61812
  }
61805
61813
  const themeColor = colors2[$themeType];
61806
61814
  if (themeColor?.active?.default) {
@@ -61825,12 +61833,15 @@ const getGenesisTypographyClass = ({ colors: colors2, typography: typography2 },
61825
61833
  font-size: ${fontSize} !important;
61826
61834
  -webkit-font-smoothing: antialiased;
61827
61835
 
61828
- &:disabled {
61836
+ /* :disabled only matches form controls — antd Typography marks disabled
61837
+ text with the ant-typography-disabled class (plus aria-disabled). */
61838
+ &.ant-typography-disabled,
61839
+ &[aria-disabled="true"] {
61829
61840
  color: ${colors2.status.disabled.default} !important;
61830
- userSelect: none;
61841
+ user-select: none;
61831
61842
  cursor: not-allowed;
61832
61843
  }
61833
- }
61844
+ }
61834
61845
  `;
61835
61846
  const Headline = styled(Typography$1.Title)`
61836
61847
  ${({
@@ -62873,6 +62884,16 @@ const useGenesis = () => {
62873
62884
  toast
62874
62885
  };
62875
62886
  };
62887
+ const FALLBACK_VARIANT = "body1";
62888
+ const warnedVariants = /* @__PURE__ */ new Set();
62889
+ const warnUnknownVariant = (variant) => {
62890
+ if (process.env.NODE_ENV === "production" || warnedVariants.has(variant))
62891
+ return;
62892
+ warnedVariants.add(variant);
62893
+ console.warn(
62894
+ `[genesis] Typography received unknown variant "${variant}" — falling back to "${FALLBACK_VARIANT}".`
62895
+ );
62896
+ };
62876
62897
  const Typography = ({
62877
62898
  children: children2,
62878
62899
  themeType = TYPE.secondary,
@@ -62889,30 +62910,36 @@ const Typography = ({
62889
62910
  ...rest
62890
62911
  }) => {
62891
62912
  const { theme } = useGenesis();
62892
- const breakpoint = "wide";
62893
- if (variant.startsWith("display") || variant.startsWith("heading")) {
62894
- const level = variant.split("heading")[1] || variant.split("display")[1];
62913
+ const breakpoint = useBreakpoint();
62914
+ const isKnownVariant = !!TYPOGRAPHY_VARIANT[variant] && !!theme.typography[breakpoint]?.[variant];
62915
+ if (!isKnownVariant) warnUnknownVariant(variant);
62916
+ const validVariant = isKnownVariant ? variant : FALLBACK_VARIANT;
62917
+ const variantTokens = theme.typography[breakpoint][validVariant];
62918
+ const resolvedFontSize = fontSize ?? `${variantTokens.fontSize}px`;
62919
+ const resolvedLineHeight = lineHeight ?? variantTokens.lineHeight;
62920
+ const resolvedFontWeight = fontWeight ?? variantTokens.fontWeight;
62921
+ if (validVariant.startsWith("display") || validVariant.startsWith("heading")) {
62922
+ const level = validVariant.split("heading")[1] || validVariant.split("display")[1];
62895
62923
  return /* @__PURE__ */ jsx(
62896
62924
  Headline,
62897
62925
  {
62898
62926
  state,
62899
62927
  $themeType: themeType,
62900
- variant,
62928
+ variant: validVariant,
62901
62929
  color: color2,
62902
62930
  level: Number.parseInt(level),
62903
62931
  $isFullWidth: isFullWidth,
62904
62932
  style: style2,
62905
- fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
62906
- fontWeight,
62933
+ fontSize: resolvedFontSize,
62934
+ fontWeight: resolvedFontWeight,
62907
62935
  disabled: isDisabled,
62908
- $letterSpacing: theme.typography[breakpoint][variant].letterSpacing,
62909
- $lineHeight: lineHeight ?? theme.typography[breakpoint][variant].lineHeight,
62936
+ $letterSpacing: variantTokens.letterSpacing,
62937
+ $lineHeight: resolvedLineHeight,
62910
62938
  ...rest,
62911
62939
  children: children2
62912
62940
  }
62913
62941
  );
62914
62942
  }
62915
- const validVariant = TYPOGRAPHY_VARIANT[variant] || "body2";
62916
62943
  if (isText) {
62917
62944
  return /* @__PURE__ */ jsx(
62918
62945
  Text,
@@ -62924,10 +62951,10 @@ const Typography = ({
62924
62951
  $isFullWidth: isFullWidth,
62925
62952
  style: style2,
62926
62953
  disabled: isDisabled,
62927
- fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
62928
- fontWeight,
62929
- $letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
62930
- $lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
62954
+ fontSize: resolvedFontSize,
62955
+ fontWeight: resolvedFontWeight,
62956
+ $letterSpacing: variantTokens.letterSpacing,
62957
+ $lineHeight: resolvedLineHeight,
62931
62958
  ...rest,
62932
62959
  children: children2
62933
62960
  }
@@ -62943,10 +62970,10 @@ const Typography = ({
62943
62970
  $isFullWidth: isFullWidth,
62944
62971
  style: style2,
62945
62972
  disabled: isDisabled,
62946
- fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
62947
- fontWeight,
62948
- $letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
62949
- $lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
62973
+ fontSize: resolvedFontSize,
62974
+ fontWeight: resolvedFontWeight,
62975
+ $letterSpacing: variantTokens.letterSpacing,
62976
+ $lineHeight: resolvedLineHeight,
62950
62977
  ...rest,
62951
62978
  children: children2
62952
62979
  }
@@ -73744,8 +73771,9 @@ function hardBreak(state, node2) {
73744
73771
  function code(state, node2) {
73745
73772
  const value2 = node2.value ? node2.value + "\n" : "";
73746
73773
  const properties = {};
73747
- if (node2.lang) {
73748
- properties.className = ["language-" + node2.lang];
73774
+ const language = node2.lang ? node2.lang.split(/\s+/) : [];
73775
+ if (language.length > 0) {
73776
+ properties.className = ["language-" + language[0]];
73749
73777
  }
73750
73778
  let result = {
73751
73779
  type: "element",
@@ -85843,76 +85871,77 @@ const TypographyWideFontSizeDisplay1 = 72;
85843
85871
  const TypographyWideFontSizeDisplay2 = 56;
85844
85872
  const TypographyWideFontSizeDisplay3 = 40;
85845
85873
  const TypographyWideFontSizeHeading1 = 40;
85846
- const TypographyWideFontSizeHeading2 = Size8;
85874
+ const TypographyWideFontSizeHeading2 = 32;
85847
85875
  const TypographyMediumFontSizeDisplay1 = 64;
85848
85876
  const TypographyMediumFontSizeDisplay2 = 52;
85849
85877
  const TypographyMediumFontSizeDisplay3 = 40;
85850
85878
  const TypographyMediumFontSizeHeading1 = 40;
85851
- const TypographyMediumFontSizeHeading2 = Size6;
85879
+ const TypographyMediumFontSizeHeading2 = 24;
85852
85880
  const TypographyNarrowFontSizeDisplay1 = 48;
85853
85881
  const TypographyNarrowFontSizeDisplay2 = 40;
85854
85882
  const TypographyNarrowFontSizeDisplay3 = 32;
85855
85883
  const TypographyNarrowFontSizeHeading1 = 32;
85856
- const TypographyNarrowFontSizeHeading2 = Size6;
85857
- const TypographyWideFontSizeBody1 = 16;
85858
- const TypographyMediumFontSizeBody1 = 16;
85859
- const TypographyWideFontSizeHeading3 = Size4;
85860
- const TypographyWideFontSizeSubHeading1 = 20;
85861
- const TypographyWideFontSizeSubHeading3 = 14;
85862
- const TypographyWideFontSizeBody2 = 14;
85863
- const TypographyWideFontSizeBody3 = 12;
85864
- const TypographyWideFontSizeBody4 = 12;
85884
+ const TypographyNarrowFontSizeHeading2 = 24;
85885
+ const TypographyWideFontSizeBody1 = 18;
85886
+ const TypographyMediumFontSizeBody1 = 18;
85887
+ const TypographyWideFontSizeHeading3 = 16;
85888
+ const TypographyWideFontSizeSubHeading1 = 32;
85889
+ const TypographyWideFontSizeSubHeading2 = 24;
85890
+ const TypographyWideFontSizeSubHeading3 = 16;
85891
+ const TypographyWideFontSizeBody2 = 16;
85892
+ const TypographyWideFontSizeBody3 = 16;
85893
+ const TypographyWideFontSizeBody4 = 14;
85865
85894
  const TypographyWideFontSizeBody5 = 12;
85866
85895
  const TypographyWideFontSizeMessage = 14;
85867
- const TypographyWideFontSizeOverline1 = 12;
85868
- const TypographyWideFontSizeOverline2 = 12;
85896
+ const TypographyWideFontSizeOverline1 = 16;
85897
+ const TypographyWideFontSizeOverline2 = 14;
85869
85898
  const TypographyWideFontSizeOverline3 = 12;
85870
85899
  const TypographyWideFontSizeLabel1 = 16;
85871
85900
  const TypographyWideFontSizeLabel2 = 14;
85872
- const TypographyWideFontSizeLabel3 = 12;
85901
+ const TypographyWideFontSizeLabel3 = 10;
85873
85902
  const TypographyWideFontSizeLink1 = 16;
85874
85903
  const TypographyWideFontSizeLink2 = 14;
85875
85904
  const TypographyWideFontSizeLink3 = 12;
85876
85905
  const TypographyWideFontSizeDigits1 = 96;
85877
85906
  const TypographyWideFontSizeDigits2 = 48;
85878
85907
  const TypographyWideFontSizeDigits3 = 16;
85879
- const TypographyMediumFontSizeHeading3 = Size4;
85880
- const TypographyMediumFontSizeSubHeading1 = 20;
85881
- const TypographyMediumFontSizeSubHeading2 = 16;
85882
- const TypographyMediumFontSizeSubHeading3 = 14;
85883
- const TypographyMediumFontSizeBody2 = 14;
85884
- const TypographyMediumFontSizeBody3 = 12;
85885
- const TypographyMediumFontSizeBody4 = 12;
85908
+ const TypographyMediumFontSizeHeading3 = 16;
85909
+ const TypographyMediumFontSizeSubHeading1 = 24;
85910
+ const TypographyMediumFontSizeSubHeading2 = 20;
85911
+ const TypographyMediumFontSizeSubHeading3 = 16;
85912
+ const TypographyMediumFontSizeBody2 = 16;
85913
+ const TypographyMediumFontSizeBody3 = 16;
85914
+ const TypographyMediumFontSizeBody4 = 14;
85886
85915
  const TypographyMediumFontSizeBody5 = 12;
85887
85916
  const TypographyMediumFontSizeMessage = 14;
85888
- const TypographyMediumFontSizeOverline1 = 12;
85917
+ const TypographyMediumFontSizeOverline1 = 16;
85889
85918
  const TypographyMediumFontSizeOverline2 = 12;
85890
85919
  const TypographyMediumFontSizeOverline3 = 12;
85891
85920
  const TypographyMediumFontSizeLabel1 = 16;
85892
85921
  const TypographyMediumFontSizeLabel2 = 14;
85893
- const TypographyMediumFontSizeLabel3 = 12;
85922
+ const TypographyMediumFontSizeLabel3 = 10;
85894
85923
  const TypographyMediumFontSizeLink1 = 16;
85895
85924
  const TypographyMediumFontSizeLink2 = 14;
85896
85925
  const TypographyMediumFontSizeLink3 = 12;
85897
85926
  const TypographyMediumFontSizeDigits1 = 96;
85898
85927
  const TypographyMediumFontSizeDigits2 = 48;
85899
85928
  const TypographyMediumFontSizeDigits3 = 16;
85900
- const TypographyNarrowFontSizeHeading3 = Size4;
85929
+ const TypographyNarrowFontSizeHeading3 = 16;
85901
85930
  const TypographyNarrowFontSizeSubHeading1 = 20;
85902
85931
  const TypographyNarrowFontSizeSubHeading2 = 16;
85903
85932
  const TypographyNarrowFontSizeSubHeading3 = 14;
85904
- const TypographyNarrowFontSizeBody1 = 12;
85933
+ const TypographyNarrowFontSizeBody1 = 16;
85905
85934
  const TypographyNarrowFontSizeBody2 = 14;
85906
- const TypographyNarrowFontSizeBody3 = 16;
85907
- const TypographyNarrowFontSizeBody4 = 18;
85908
- const TypographyNarrowFontSizeBody5 = 20;
85935
+ const TypographyNarrowFontSizeBody3 = 14;
85936
+ const TypographyNarrowFontSizeBody4 = 12;
85937
+ const TypographyNarrowFontSizeBody5 = 10;
85909
85938
  const TypographyNarrowFontSizeMessage = 14;
85910
- const TypographyNarrowFontSizeOverline1 = 12;
85939
+ const TypographyNarrowFontSizeOverline1 = 14;
85911
85940
  const TypographyNarrowFontSizeOverline2 = 12;
85912
- const TypographyNarrowFontSizeOverline3 = 12;
85941
+ const TypographyNarrowFontSizeOverline3 = 10;
85913
85942
  const TypographyNarrowFontSizeLabel1 = 16;
85914
85943
  const TypographyNarrowFontSizeLabel2 = 14;
85915
- const TypographyNarrowFontSizeLabel3 = 12;
85944
+ const TypographyNarrowFontSizeLabel3 = 10;
85916
85945
  const TypographyNarrowFontSizeLink1 = 16;
85917
85946
  const TypographyNarrowFontSizeLink2 = 14;
85918
85947
  const TypographyNarrowFontSizeLink3 = 12;
@@ -86015,85 +86044,85 @@ const sizing = {
86015
86044
  const wideTypography = {
86016
86045
  display1: {
86017
86046
  fontSize: TypographyWideFontSizeDisplay1,
86018
- lineHeight: "3.5rem",
86019
- fontWeight: 700,
86020
- letterSpacing: "0"
86047
+ lineHeight: "72px",
86048
+ fontWeight: 600,
86049
+ letterSpacing: "-0.02em"
86021
86050
  },
86022
86051
  display2: {
86023
86052
  fontSize: TypographyWideFontSizeDisplay2,
86024
- lineHeight: "3rem",
86025
- fontWeight: 700,
86026
- letterSpacing: "0"
86053
+ lineHeight: "56px",
86054
+ fontWeight: 600,
86055
+ letterSpacing: "-0.02em"
86027
86056
  },
86028
86057
  display3: {
86029
86058
  fontSize: TypographyWideFontSizeDisplay3,
86030
- lineHeight: "2.5rem",
86031
- fontWeight: 700,
86032
- letterSpacing: "0"
86059
+ lineHeight: "40px",
86060
+ fontWeight: 600,
86061
+ letterSpacing: "-0.02em"
86033
86062
  },
86034
86063
  heading1: {
86035
86064
  fontSize: TypographyWideFontSizeHeading1,
86036
- lineHeight: "2rem",
86065
+ lineHeight: "48px",
86037
86066
  fontWeight: 700,
86038
86067
  letterSpacing: "0"
86039
86068
  },
86040
86069
  heading2: {
86041
86070
  fontSize: TypographyWideFontSizeHeading2,
86042
- lineHeight: "1.75rem",
86071
+ lineHeight: "40px",
86043
86072
  fontWeight: 700,
86044
86073
  letterSpacing: "0"
86045
86074
  },
86046
86075
  heading3: {
86047
86076
  fontSize: TypographyWideFontSizeHeading3,
86048
- lineHeight: "1.5rem",
86077
+ lineHeight: "16px",
86049
86078
  fontWeight: 700,
86050
86079
  letterSpacing: "0"
86051
86080
  },
86052
86081
  subHeading1: {
86053
86082
  fontSize: TypographyWideFontSizeSubHeading1,
86054
- lineHeight: "1.25rem",
86055
- fontWeight: 600,
86083
+ lineHeight: "40px",
86084
+ fontWeight: 400,
86056
86085
  letterSpacing: "0"
86057
86086
  },
86058
86087
  subHeading2: {
86059
- fontSize: "24px",
86088
+ fontSize: TypographyWideFontSizeSubHeading2,
86060
86089
  lineHeight: "32px",
86061
86090
  fontWeight: 400,
86062
86091
  letterSpacing: "0"
86063
86092
  },
86064
86093
  subHeading3: {
86065
86094
  fontSize: TypographyWideFontSizeSubHeading3,
86066
- lineHeight: "1rem",
86067
- fontWeight: 600,
86095
+ lineHeight: "24px",
86096
+ fontWeight: 400,
86068
86097
  letterSpacing: "0"
86069
86098
  },
86070
86099
  body1: {
86071
86100
  fontSize: TypographyWideFontSizeBody1,
86072
- lineHeight: "1.5rem",
86101
+ lineHeight: "32px",
86073
86102
  fontWeight: 400,
86074
86103
  letterSpacing: "0"
86075
86104
  },
86076
86105
  body2: {
86077
86106
  fontSize: TypographyWideFontSizeBody2,
86078
- lineHeight: "1.25rem",
86107
+ lineHeight: "29px",
86079
86108
  fontWeight: 400,
86080
86109
  letterSpacing: "0"
86081
86110
  },
86082
86111
  body3: {
86083
86112
  fontSize: TypographyWideFontSizeBody3,
86084
- lineHeight: "1rem",
86085
- fontWeight: 400,
86113
+ lineHeight: "29px",
86114
+ fontWeight: 700,
86086
86115
  letterSpacing: "0"
86087
86116
  },
86088
86117
  body4: {
86089
86118
  fontSize: TypographyWideFontSizeBody4,
86090
- lineHeight: "0.875rem",
86119
+ lineHeight: "27px",
86091
86120
  fontWeight: 400,
86092
86121
  letterSpacing: "0"
86093
86122
  },
86094
86123
  body5: {
86095
86124
  fontSize: TypographyWideFontSizeBody5,
86096
- lineHeight: "0.75rem",
86125
+ lineHeight: "23px",
86097
86126
  fontWeight: 400,
86098
86127
  letterSpacing: "0"
86099
86128
  },
@@ -86105,73 +86134,73 @@ const wideTypography = {
86105
86134
  },
86106
86135
  overline1: {
86107
86136
  fontSize: TypographyWideFontSizeOverline1,
86108
- lineHeight: "0.75rem",
86109
- fontWeight: 500,
86110
- letterSpacing: "0"
86137
+ lineHeight: "16px",
86138
+ fontWeight: 600,
86139
+ letterSpacing: "-0.01em"
86111
86140
  },
86112
86141
  overline2: {
86113
86142
  fontSize: TypographyWideFontSizeOverline2,
86114
- lineHeight: "0.75rem",
86115
- fontWeight: 500,
86116
- letterSpacing: "0"
86143
+ lineHeight: "14px",
86144
+ fontWeight: 600,
86145
+ letterSpacing: "-0.01em"
86117
86146
  },
86118
86147
  overline3: {
86119
86148
  fontSize: TypographyWideFontSizeOverline3,
86120
- lineHeight: "0.75rem",
86121
- fontWeight: 500,
86122
- letterSpacing: "0"
86149
+ lineHeight: "12px",
86150
+ fontWeight: 600,
86151
+ letterSpacing: "-0.01em"
86123
86152
  },
86124
86153
  label1: {
86125
86154
  fontSize: TypographyWideFontSizeLabel1,
86126
- lineHeight: "1rem",
86155
+ lineHeight: "16px",
86127
86156
  fontWeight: 500,
86128
86157
  letterSpacing: "0"
86129
86158
  },
86130
86159
  label2: {
86131
86160
  fontSize: TypographyWideFontSizeLabel2,
86132
- lineHeight: "1rem",
86161
+ lineHeight: "14px",
86133
86162
  fontWeight: 500,
86134
86163
  letterSpacing: "0"
86135
86164
  },
86136
86165
  label3: {
86137
86166
  fontSize: TypographyWideFontSizeLabel3,
86138
- lineHeight: "1rem",
86167
+ lineHeight: "10px",
86139
86168
  fontWeight: 500,
86140
86169
  letterSpacing: "0"
86141
86170
  },
86142
86171
  link1: {
86143
86172
  fontSize: TypographyWideFontSizeLink1,
86144
- lineHeight: "1.5rem",
86173
+ lineHeight: "16px",
86145
86174
  fontWeight: 500,
86146
86175
  letterSpacing: "0"
86147
86176
  },
86148
86177
  link2: {
86149
86178
  fontSize: TypographyWideFontSizeLink2,
86150
- lineHeight: "1.25rem",
86179
+ lineHeight: "14px",
86151
86180
  fontWeight: 500,
86152
86181
  letterSpacing: "0"
86153
86182
  },
86154
86183
  link3: {
86155
86184
  fontSize: TypographyWideFontSizeLink3,
86156
- lineHeight: "1rem",
86185
+ lineHeight: "12px",
86157
86186
  fontWeight: 500,
86158
86187
  letterSpacing: "0"
86159
86188
  },
86160
86189
  digits1: {
86161
86190
  fontSize: TypographyWideFontSizeDigits1,
86162
- lineHeight: "3.5rem",
86191
+ lineHeight: "96px",
86163
86192
  fontWeight: 700,
86164
86193
  letterSpacing: "0"
86165
86194
  },
86166
86195
  digits2: {
86167
86196
  fontSize: TypographyWideFontSizeDigits2,
86168
- lineHeight: "3rem",
86197
+ lineHeight: "48px",
86169
86198
  fontWeight: 700,
86170
86199
  letterSpacing: "0"
86171
86200
  },
86172
86201
  digits3: {
86173
86202
  fontSize: TypographyWideFontSizeDigits3,
86174
- lineHeight: "2.5rem",
86203
+ lineHeight: "16px",
86175
86204
  fontWeight: 700,
86176
86205
  letterSpacing: "0"
86177
86206
  }
@@ -86179,85 +86208,85 @@ const wideTypography = {
86179
86208
  const mediumTypography = {
86180
86209
  display1: {
86181
86210
  fontSize: TypographyMediumFontSizeDisplay1,
86182
- lineHeight: "3.5rem",
86183
- fontWeight: 700,
86184
- letterSpacing: "0"
86211
+ lineHeight: "64px",
86212
+ fontWeight: 600,
86213
+ letterSpacing: "-0.02em"
86185
86214
  },
86186
86215
  display2: {
86187
86216
  fontSize: TypographyMediumFontSizeDisplay2,
86188
- lineHeight: "3rem",
86189
- fontWeight: 700,
86190
- letterSpacing: "0"
86217
+ lineHeight: "52px",
86218
+ fontWeight: 600,
86219
+ letterSpacing: "-0.02em"
86191
86220
  },
86192
86221
  display3: {
86193
86222
  fontSize: TypographyMediumFontSizeDisplay3,
86194
- lineHeight: "2.5rem",
86195
- fontWeight: 700,
86196
- letterSpacing: "0"
86223
+ lineHeight: "40px",
86224
+ fontWeight: 600,
86225
+ letterSpacing: "-0.02em"
86197
86226
  },
86198
86227
  heading1: {
86199
86228
  fontSize: TypographyMediumFontSizeHeading1,
86200
- lineHeight: "2rem",
86229
+ lineHeight: "44px",
86201
86230
  fontWeight: 700,
86202
86231
  letterSpacing: "0"
86203
86232
  },
86204
86233
  heading2: {
86205
86234
  fontSize: TypographyMediumFontSizeHeading2,
86206
- lineHeight: "1.75rem",
86235
+ lineHeight: "32px",
86207
86236
  fontWeight: 700,
86208
86237
  letterSpacing: "0"
86209
86238
  },
86210
86239
  heading3: {
86211
86240
  fontSize: TypographyMediumFontSizeHeading3,
86212
- lineHeight: "1.5rem",
86241
+ lineHeight: "16px",
86213
86242
  fontWeight: 700,
86214
86243
  letterSpacing: "0"
86215
86244
  },
86216
86245
  subHeading1: {
86217
86246
  fontSize: TypographyMediumFontSizeSubHeading1,
86218
- lineHeight: "1.25rem",
86219
- fontWeight: 600,
86247
+ lineHeight: "32px",
86248
+ fontWeight: 400,
86220
86249
  letterSpacing: "0"
86221
86250
  },
86222
86251
  subHeading2: {
86223
86252
  fontSize: TypographyMediumFontSizeSubHeading2,
86224
- lineHeight: "1.25rem",
86225
- fontWeight: 600,
86253
+ lineHeight: "24px",
86254
+ fontWeight: 400,
86226
86255
  letterSpacing: "0"
86227
86256
  },
86228
86257
  subHeading3: {
86229
86258
  fontSize: TypographyMediumFontSizeSubHeading3,
86230
- lineHeight: "1rem",
86231
- fontWeight: 600,
86259
+ lineHeight: "24px",
86260
+ fontWeight: 400,
86232
86261
  letterSpacing: "0"
86233
86262
  },
86234
86263
  body1: {
86235
86264
  fontSize: TypographyMediumFontSizeBody1,
86236
- lineHeight: "1.5rem",
86265
+ lineHeight: "32px",
86237
86266
  fontWeight: 400,
86238
86267
  letterSpacing: "0"
86239
86268
  },
86240
86269
  body2: {
86241
86270
  fontSize: TypographyMediumFontSizeBody2,
86242
- lineHeight: "1.25rem",
86271
+ lineHeight: "29px",
86243
86272
  fontWeight: 400,
86244
86273
  letterSpacing: "0"
86245
86274
  },
86246
86275
  body3: {
86247
86276
  fontSize: TypographyMediumFontSizeBody3,
86248
- lineHeight: "1rem",
86249
- fontWeight: 400,
86277
+ lineHeight: "29px",
86278
+ fontWeight: 700,
86250
86279
  letterSpacing: "0"
86251
86280
  },
86252
86281
  body4: {
86253
86282
  fontSize: TypographyMediumFontSizeBody4,
86254
- lineHeight: "0.875rem",
86283
+ lineHeight: "27px",
86255
86284
  fontWeight: 400,
86256
86285
  letterSpacing: "0"
86257
86286
  },
86258
86287
  body5: {
86259
86288
  fontSize: TypographyMediumFontSizeBody5,
86260
- lineHeight: "0.75rem",
86289
+ lineHeight: "23px",
86261
86290
  fontWeight: 400,
86262
86291
  letterSpacing: "0"
86263
86292
  },
@@ -86269,73 +86298,73 @@ const mediumTypography = {
86269
86298
  },
86270
86299
  overline1: {
86271
86300
  fontSize: TypographyMediumFontSizeOverline1,
86272
- lineHeight: "0.75rem",
86273
- fontWeight: 500,
86274
- letterSpacing: "0"
86301
+ lineHeight: "16px",
86302
+ fontWeight: 600,
86303
+ letterSpacing: "-0.01em"
86275
86304
  },
86276
86305
  overline2: {
86277
86306
  fontSize: TypographyMediumFontSizeOverline2,
86278
- lineHeight: "0.75rem",
86279
- fontWeight: 500,
86280
- letterSpacing: "0"
86307
+ lineHeight: "12px",
86308
+ fontWeight: 600,
86309
+ letterSpacing: "-0.01em"
86281
86310
  },
86282
86311
  overline3: {
86283
86312
  fontSize: TypographyMediumFontSizeOverline3,
86284
- lineHeight: "0.75rem",
86285
- fontWeight: 500,
86286
- letterSpacing: "0"
86313
+ lineHeight: "12px",
86314
+ fontWeight: 600,
86315
+ letterSpacing: "-0.01em"
86287
86316
  },
86288
86317
  label1: {
86289
86318
  fontSize: TypographyMediumFontSizeLabel1,
86290
- lineHeight: "1rem",
86319
+ lineHeight: "16px",
86291
86320
  fontWeight: 500,
86292
86321
  letterSpacing: "0"
86293
86322
  },
86294
86323
  label2: {
86295
86324
  fontSize: TypographyMediumFontSizeLabel2,
86296
- lineHeight: "1rem",
86325
+ lineHeight: "14px",
86297
86326
  fontWeight: 500,
86298
86327
  letterSpacing: "0"
86299
86328
  },
86300
86329
  label3: {
86301
86330
  fontSize: TypographyMediumFontSizeLabel3,
86302
- lineHeight: "1rem",
86331
+ lineHeight: "10px",
86303
86332
  fontWeight: 500,
86304
86333
  letterSpacing: "0"
86305
86334
  },
86306
86335
  link1: {
86307
86336
  fontSize: TypographyMediumFontSizeLink1,
86308
- lineHeight: "1.5rem",
86337
+ lineHeight: "16px",
86309
86338
  fontWeight: 500,
86310
86339
  letterSpacing: "0"
86311
86340
  },
86312
86341
  link2: {
86313
86342
  fontSize: TypographyMediumFontSizeLink2,
86314
- lineHeight: "1.25rem",
86343
+ lineHeight: "14px",
86315
86344
  fontWeight: 500,
86316
86345
  letterSpacing: "0"
86317
86346
  },
86318
86347
  link3: {
86319
86348
  fontSize: TypographyMediumFontSizeLink3,
86320
- lineHeight: "1rem",
86349
+ lineHeight: "12px",
86321
86350
  fontWeight: 500,
86322
86351
  letterSpacing: "0"
86323
86352
  },
86324
86353
  digits1: {
86325
86354
  fontSize: TypographyMediumFontSizeDigits1,
86326
- lineHeight: "3.5rem",
86355
+ lineHeight: "96px",
86327
86356
  fontWeight: 700,
86328
86357
  letterSpacing: "0"
86329
86358
  },
86330
86359
  digits2: {
86331
86360
  fontSize: TypographyMediumFontSizeDigits2,
86332
- lineHeight: "3rem",
86361
+ lineHeight: "48px",
86333
86362
  fontWeight: 700,
86334
86363
  letterSpacing: "0"
86335
86364
  },
86336
86365
  digits3: {
86337
86366
  fontSize: TypographyMediumFontSizeDigits3,
86338
- lineHeight: "2.5rem",
86367
+ lineHeight: "16px",
86339
86368
  fontWeight: 700,
86340
86369
  letterSpacing: "0"
86341
86370
  }
@@ -86343,85 +86372,85 @@ const mediumTypography = {
86343
86372
  const narrowTypography = {
86344
86373
  display1: {
86345
86374
  fontSize: TypographyNarrowFontSizeDisplay1,
86346
- lineHeight: "3.5rem",
86347
- fontWeight: 700,
86348
- letterSpacing: "0"
86375
+ lineHeight: "48px",
86376
+ fontWeight: 600,
86377
+ letterSpacing: "-0.02em"
86349
86378
  },
86350
86379
  display2: {
86351
86380
  fontSize: TypographyNarrowFontSizeDisplay2,
86352
- lineHeight: "3rem",
86353
- fontWeight: 700,
86354
- letterSpacing: "0"
86381
+ lineHeight: "40px",
86382
+ fontWeight: 600,
86383
+ letterSpacing: "-0.02em"
86355
86384
  },
86356
86385
  display3: {
86357
86386
  fontSize: TypographyNarrowFontSizeDisplay3,
86358
- lineHeight: "2.5rem",
86359
- fontWeight: 700,
86360
- letterSpacing: "0"
86387
+ lineHeight: "32px",
86388
+ fontWeight: 600,
86389
+ letterSpacing: "-0.02em"
86361
86390
  },
86362
86391
  heading1: {
86363
86392
  fontSize: TypographyNarrowFontSizeHeading1,
86364
- lineHeight: "2rem",
86393
+ lineHeight: "32px",
86365
86394
  fontWeight: 700,
86366
86395
  letterSpacing: "0"
86367
86396
  },
86368
86397
  heading2: {
86369
86398
  fontSize: TypographyNarrowFontSizeHeading2,
86370
- lineHeight: "1.75rem",
86399
+ lineHeight: "32px",
86371
86400
  fontWeight: 700,
86372
86401
  letterSpacing: "0"
86373
86402
  },
86374
86403
  heading3: {
86375
86404
  fontSize: TypographyNarrowFontSizeHeading3,
86376
- lineHeight: "1.5rem",
86405
+ lineHeight: "16px",
86377
86406
  fontWeight: 700,
86378
86407
  letterSpacing: "0"
86379
86408
  },
86380
86409
  subHeading1: {
86381
86410
  fontSize: TypographyNarrowFontSizeSubHeading1,
86382
- lineHeight: "1.25rem",
86383
- fontWeight: 600,
86411
+ lineHeight: "24px",
86412
+ fontWeight: 400,
86384
86413
  letterSpacing: "0"
86385
86414
  },
86386
86415
  subHeading2: {
86387
86416
  fontSize: TypographyNarrowFontSizeSubHeading2,
86388
- lineHeight: "1.25rem",
86389
- fontWeight: 600,
86417
+ lineHeight: "20px",
86418
+ fontWeight: 400,
86390
86419
  letterSpacing: "0"
86391
86420
  },
86392
86421
  subHeading3: {
86393
86422
  fontSize: TypographyNarrowFontSizeSubHeading3,
86394
- lineHeight: "1rem",
86395
- fontWeight: 600,
86423
+ lineHeight: "24px",
86424
+ fontWeight: 400,
86396
86425
  letterSpacing: "0"
86397
86426
  },
86398
86427
  body1: {
86399
86428
  fontSize: TypographyNarrowFontSizeBody1,
86400
- lineHeight: "1.5rem",
86429
+ lineHeight: "29px",
86401
86430
  fontWeight: 400,
86402
86431
  letterSpacing: "0"
86403
86432
  },
86404
86433
  body2: {
86405
86434
  fontSize: TypographyNarrowFontSizeBody2,
86406
- lineHeight: "1.25rem",
86435
+ lineHeight: "27px",
86407
86436
  fontWeight: 400,
86408
86437
  letterSpacing: "0"
86409
86438
  },
86410
86439
  body3: {
86411
86440
  fontSize: TypographyNarrowFontSizeBody3,
86412
- lineHeight: "1rem",
86413
- fontWeight: 400,
86441
+ lineHeight: "27px",
86442
+ fontWeight: 700,
86414
86443
  letterSpacing: "0"
86415
86444
  },
86416
86445
  body4: {
86417
86446
  fontSize: TypographyNarrowFontSizeBody4,
86418
- lineHeight: "0.875rem",
86447
+ lineHeight: "23px",
86419
86448
  fontWeight: 400,
86420
86449
  letterSpacing: "0"
86421
86450
  },
86422
86451
  body5: {
86423
86452
  fontSize: TypographyNarrowFontSizeBody5,
86424
- lineHeight: "0.75rem",
86453
+ lineHeight: "19px",
86425
86454
  fontWeight: 400,
86426
86455
  letterSpacing: "0"
86427
86456
  },
@@ -86433,73 +86462,73 @@ const narrowTypography = {
86433
86462
  },
86434
86463
  overline1: {
86435
86464
  fontSize: TypographyNarrowFontSizeOverline1,
86436
- lineHeight: "0.75rem",
86437
- fontWeight: 500,
86438
- letterSpacing: "0"
86465
+ lineHeight: "14px",
86466
+ fontWeight: 600,
86467
+ letterSpacing: "-0.01em"
86439
86468
  },
86440
86469
  overline2: {
86441
86470
  fontSize: TypographyNarrowFontSizeOverline2,
86442
- lineHeight: "0.75rem",
86443
- fontWeight: 500,
86444
- letterSpacing: "0"
86471
+ lineHeight: "12px",
86472
+ fontWeight: 600,
86473
+ letterSpacing: "-0.01em"
86445
86474
  },
86446
86475
  overline3: {
86447
86476
  fontSize: TypographyNarrowFontSizeOverline3,
86448
- lineHeight: "0.75rem",
86449
- fontWeight: 500,
86450
- letterSpacing: "0"
86477
+ lineHeight: "10px",
86478
+ fontWeight: 600,
86479
+ letterSpacing: "-0.01em"
86451
86480
  },
86452
86481
  label1: {
86453
86482
  fontSize: TypographyNarrowFontSizeLabel1,
86454
- lineHeight: "1rem",
86483
+ lineHeight: "16px",
86455
86484
  fontWeight: 500,
86456
86485
  letterSpacing: "0"
86457
86486
  },
86458
86487
  label2: {
86459
86488
  fontSize: TypographyNarrowFontSizeLabel2,
86460
- lineHeight: "1rem",
86489
+ lineHeight: "14px",
86461
86490
  fontWeight: 500,
86462
86491
  letterSpacing: "0"
86463
86492
  },
86464
86493
  label3: {
86465
86494
  fontSize: TypographyNarrowFontSizeLabel3,
86466
- lineHeight: "1rem",
86495
+ lineHeight: "10px",
86467
86496
  fontWeight: 500,
86468
86497
  letterSpacing: "0"
86469
86498
  },
86470
86499
  link1: {
86471
86500
  fontSize: TypographyNarrowFontSizeLink1,
86472
- lineHeight: "1.5rem",
86501
+ lineHeight: "16px",
86473
86502
  fontWeight: 500,
86474
86503
  letterSpacing: "0"
86475
86504
  },
86476
86505
  link2: {
86477
86506
  fontSize: TypographyNarrowFontSizeLink2,
86478
- lineHeight: "1.25rem",
86507
+ lineHeight: "14px",
86479
86508
  fontWeight: 500,
86480
86509
  letterSpacing: "0"
86481
86510
  },
86482
86511
  link3: {
86483
86512
  fontSize: TypographyNarrowFontSizeLink3,
86484
- lineHeight: "1rem",
86513
+ lineHeight: "12px",
86485
86514
  fontWeight: 500,
86486
86515
  letterSpacing: "0"
86487
86516
  },
86488
86517
  digits1: {
86489
86518
  fontSize: TypographyNarrowFontSizeDigits1,
86490
- lineHeight: "3.5rem",
86519
+ lineHeight: "96px",
86491
86520
  fontWeight: 700,
86492
86521
  letterSpacing: "0"
86493
86522
  },
86494
86523
  digits2: {
86495
86524
  fontSize: TypographyNarrowFontSizeDigits2,
86496
- lineHeight: "3rem",
86525
+ lineHeight: "48px",
86497
86526
  fontWeight: 700,
86498
86527
  letterSpacing: "0"
86499
86528
  },
86500
86529
  digits3: {
86501
86530
  fontSize: TypographyNarrowFontSizeDigits3,
86502
- lineHeight: "2.5rem",
86531
+ lineHeight: "16px",
86503
86532
  fontWeight: 700,
86504
86533
  letterSpacing: "0"
86505
86534
  }