@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.cjs CHANGED
@@ -61816,9 +61816,17 @@ const Avatar$1 = styled(Avatar$2)`
61816
61816
  return getGenesisClass$e(theme, type4, state);
61817
61817
  }}
61818
61818
  `;
61819
+ const getOnsurfaceCopyColors = (colors2) => colors2?.onsurface ?? {};
61820
+ const NAMED_COLOR_TOKENS = {
61821
+ textPrimary: (colors2) => getOnsurfaceCopyColors(colors2)["copy-dark"],
61822
+ textSecondary: (colors2) => getOnsurfaceCopyColors(colors2)["copy-light"],
61823
+ textDefault: (colors2) => getOnsurfaceCopyColors(colors2)["copy"],
61824
+ textDisabled: (colors2) => getOnsurfaceCopyColors(colors2)["copy-disabled"]
61825
+ };
61819
61826
  const getColor = (color2, colors2, $themeType) => {
61820
61827
  if (color2) {
61821
- return color2;
61828
+ const resolveToken = NAMED_COLOR_TOKENS[color2];
61829
+ return resolveToken ? resolveToken(colors2) ?? color2 : color2;
61822
61830
  }
61823
61831
  const themeColor = colors2[$themeType];
61824
61832
  if (themeColor?.active?.default) {
@@ -61843,12 +61851,15 @@ const getGenesisTypographyClass = ({ colors: colors2, typography: typography2 },
61843
61851
  font-size: ${fontSize} !important;
61844
61852
  -webkit-font-smoothing: antialiased;
61845
61853
 
61846
- &:disabled {
61854
+ /* :disabled only matches form controls — antd Typography marks disabled
61855
+ text with the ant-typography-disabled class (plus aria-disabled). */
61856
+ &.ant-typography-disabled,
61857
+ &[aria-disabled="true"] {
61847
61858
  color: ${colors2.status.disabled.default} !important;
61848
- userSelect: none;
61859
+ user-select: none;
61849
61860
  cursor: not-allowed;
61850
61861
  }
61851
- }
61862
+ }
61852
61863
  `;
61853
61864
  const Headline = styled(Typography$1.Title)`
61854
61865
  ${({
@@ -62891,6 +62902,16 @@ const useGenesis = () => {
62891
62902
  toast
62892
62903
  };
62893
62904
  };
62905
+ const FALLBACK_VARIANT = "body1";
62906
+ const warnedVariants = /* @__PURE__ */ new Set();
62907
+ const warnUnknownVariant = (variant) => {
62908
+ if (process.env.NODE_ENV === "production" || warnedVariants.has(variant))
62909
+ return;
62910
+ warnedVariants.add(variant);
62911
+ console.warn(
62912
+ `[genesis] Typography received unknown variant "${variant}" — falling back to "${FALLBACK_VARIANT}".`
62913
+ );
62914
+ };
62894
62915
  const Typography = ({
62895
62916
  children: children2,
62896
62917
  themeType = TYPE.secondary,
@@ -62907,30 +62928,36 @@ const Typography = ({
62907
62928
  ...rest
62908
62929
  }) => {
62909
62930
  const { theme } = useGenesis();
62910
- const breakpoint = "wide";
62911
- if (variant.startsWith("display") || variant.startsWith("heading")) {
62912
- const level = variant.split("heading")[1] || variant.split("display")[1];
62931
+ const breakpoint = useBreakpoint();
62932
+ const isKnownVariant = !!TYPOGRAPHY_VARIANT[variant] && !!theme.typography[breakpoint]?.[variant];
62933
+ if (!isKnownVariant) warnUnknownVariant(variant);
62934
+ const validVariant = isKnownVariant ? variant : FALLBACK_VARIANT;
62935
+ const variantTokens = theme.typography[breakpoint][validVariant];
62936
+ const resolvedFontSize = fontSize ?? `${variantTokens.fontSize}px`;
62937
+ const resolvedLineHeight = lineHeight ?? variantTokens.lineHeight;
62938
+ const resolvedFontWeight = fontWeight ?? variantTokens.fontWeight;
62939
+ if (validVariant.startsWith("display") || validVariant.startsWith("heading")) {
62940
+ const level = validVariant.split("heading")[1] || validVariant.split("display")[1];
62913
62941
  return /* @__PURE__ */ jsxRuntime.jsx(
62914
62942
  Headline,
62915
62943
  {
62916
62944
  state,
62917
62945
  $themeType: themeType,
62918
- variant,
62946
+ variant: validVariant,
62919
62947
  color: color2,
62920
62948
  level: Number.parseInt(level),
62921
62949
  $isFullWidth: isFullWidth,
62922
62950
  style: style2,
62923
- fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
62924
- fontWeight,
62951
+ fontSize: resolvedFontSize,
62952
+ fontWeight: resolvedFontWeight,
62925
62953
  disabled: isDisabled,
62926
- $letterSpacing: theme.typography[breakpoint][variant].letterSpacing,
62927
- $lineHeight: lineHeight ?? theme.typography[breakpoint][variant].lineHeight,
62954
+ $letterSpacing: variantTokens.letterSpacing,
62955
+ $lineHeight: resolvedLineHeight,
62928
62956
  ...rest,
62929
62957
  children: children2
62930
62958
  }
62931
62959
  );
62932
62960
  }
62933
- const validVariant = TYPOGRAPHY_VARIANT[variant] || "body2";
62934
62961
  if (isText) {
62935
62962
  return /* @__PURE__ */ jsxRuntime.jsx(
62936
62963
  Text,
@@ -62942,10 +62969,10 @@ const Typography = ({
62942
62969
  $isFullWidth: isFullWidth,
62943
62970
  style: style2,
62944
62971
  disabled: isDisabled,
62945
- fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
62946
- fontWeight,
62947
- $letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
62948
- $lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
62972
+ fontSize: resolvedFontSize,
62973
+ fontWeight: resolvedFontWeight,
62974
+ $letterSpacing: variantTokens.letterSpacing,
62975
+ $lineHeight: resolvedLineHeight,
62949
62976
  ...rest,
62950
62977
  children: children2
62951
62978
  }
@@ -62961,10 +62988,10 @@ const Typography = ({
62961
62988
  $isFullWidth: isFullWidth,
62962
62989
  style: style2,
62963
62990
  disabled: isDisabled,
62964
- fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
62965
- fontWeight,
62966
- $letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
62967
- $lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
62991
+ fontSize: resolvedFontSize,
62992
+ fontWeight: resolvedFontWeight,
62993
+ $letterSpacing: variantTokens.letterSpacing,
62994
+ $lineHeight: resolvedLineHeight,
62968
62995
  ...rest,
62969
62996
  children: children2
62970
62997
  }
@@ -73762,8 +73789,9 @@ function hardBreak(state, node2) {
73762
73789
  function code(state, node2) {
73763
73790
  const value2 = node2.value ? node2.value + "\n" : "";
73764
73791
  const properties = {};
73765
- if (node2.lang) {
73766
- properties.className = ["language-" + node2.lang];
73792
+ const language = node2.lang ? node2.lang.split(/\s+/) : [];
73793
+ if (language.length > 0) {
73794
+ properties.className = ["language-" + language[0]];
73767
73795
  }
73768
73796
  let result = {
73769
73797
  type: "element",
@@ -85861,76 +85889,77 @@ const TypographyWideFontSizeDisplay1 = 72;
85861
85889
  const TypographyWideFontSizeDisplay2 = 56;
85862
85890
  const TypographyWideFontSizeDisplay3 = 40;
85863
85891
  const TypographyWideFontSizeHeading1 = 40;
85864
- const TypographyWideFontSizeHeading2 = Size8;
85892
+ const TypographyWideFontSizeHeading2 = 32;
85865
85893
  const TypographyMediumFontSizeDisplay1 = 64;
85866
85894
  const TypographyMediumFontSizeDisplay2 = 52;
85867
85895
  const TypographyMediumFontSizeDisplay3 = 40;
85868
85896
  const TypographyMediumFontSizeHeading1 = 40;
85869
- const TypographyMediumFontSizeHeading2 = Size6;
85897
+ const TypographyMediumFontSizeHeading2 = 24;
85870
85898
  const TypographyNarrowFontSizeDisplay1 = 48;
85871
85899
  const TypographyNarrowFontSizeDisplay2 = 40;
85872
85900
  const TypographyNarrowFontSizeDisplay3 = 32;
85873
85901
  const TypographyNarrowFontSizeHeading1 = 32;
85874
- const TypographyNarrowFontSizeHeading2 = Size6;
85875
- const TypographyWideFontSizeBody1 = 16;
85876
- const TypographyMediumFontSizeBody1 = 16;
85877
- const TypographyWideFontSizeHeading3 = Size4;
85878
- const TypographyWideFontSizeSubHeading1 = 20;
85879
- const TypographyWideFontSizeSubHeading3 = 14;
85880
- const TypographyWideFontSizeBody2 = 14;
85881
- const TypographyWideFontSizeBody3 = 12;
85882
- const TypographyWideFontSizeBody4 = 12;
85902
+ const TypographyNarrowFontSizeHeading2 = 24;
85903
+ const TypographyWideFontSizeBody1 = 18;
85904
+ const TypographyMediumFontSizeBody1 = 18;
85905
+ const TypographyWideFontSizeHeading3 = 16;
85906
+ const TypographyWideFontSizeSubHeading1 = 32;
85907
+ const TypographyWideFontSizeSubHeading2 = 24;
85908
+ const TypographyWideFontSizeSubHeading3 = 16;
85909
+ const TypographyWideFontSizeBody2 = 16;
85910
+ const TypographyWideFontSizeBody3 = 16;
85911
+ const TypographyWideFontSizeBody4 = 14;
85883
85912
  const TypographyWideFontSizeBody5 = 12;
85884
85913
  const TypographyWideFontSizeMessage = 14;
85885
- const TypographyWideFontSizeOverline1 = 12;
85886
- const TypographyWideFontSizeOverline2 = 12;
85914
+ const TypographyWideFontSizeOverline1 = 16;
85915
+ const TypographyWideFontSizeOverline2 = 14;
85887
85916
  const TypographyWideFontSizeOverline3 = 12;
85888
85917
  const TypographyWideFontSizeLabel1 = 16;
85889
85918
  const TypographyWideFontSizeLabel2 = 14;
85890
- const TypographyWideFontSizeLabel3 = 12;
85919
+ const TypographyWideFontSizeLabel3 = 10;
85891
85920
  const TypographyWideFontSizeLink1 = 16;
85892
85921
  const TypographyWideFontSizeLink2 = 14;
85893
85922
  const TypographyWideFontSizeLink3 = 12;
85894
85923
  const TypographyWideFontSizeDigits1 = 96;
85895
85924
  const TypographyWideFontSizeDigits2 = 48;
85896
85925
  const TypographyWideFontSizeDigits3 = 16;
85897
- const TypographyMediumFontSizeHeading3 = Size4;
85898
- const TypographyMediumFontSizeSubHeading1 = 20;
85899
- const TypographyMediumFontSizeSubHeading2 = 16;
85900
- const TypographyMediumFontSizeSubHeading3 = 14;
85901
- const TypographyMediumFontSizeBody2 = 14;
85902
- const TypographyMediumFontSizeBody3 = 12;
85903
- const TypographyMediumFontSizeBody4 = 12;
85926
+ const TypographyMediumFontSizeHeading3 = 16;
85927
+ const TypographyMediumFontSizeSubHeading1 = 24;
85928
+ const TypographyMediumFontSizeSubHeading2 = 20;
85929
+ const TypographyMediumFontSizeSubHeading3 = 16;
85930
+ const TypographyMediumFontSizeBody2 = 16;
85931
+ const TypographyMediumFontSizeBody3 = 16;
85932
+ const TypographyMediumFontSizeBody4 = 14;
85904
85933
  const TypographyMediumFontSizeBody5 = 12;
85905
85934
  const TypographyMediumFontSizeMessage = 14;
85906
- const TypographyMediumFontSizeOverline1 = 12;
85935
+ const TypographyMediumFontSizeOverline1 = 16;
85907
85936
  const TypographyMediumFontSizeOverline2 = 12;
85908
85937
  const TypographyMediumFontSizeOverline3 = 12;
85909
85938
  const TypographyMediumFontSizeLabel1 = 16;
85910
85939
  const TypographyMediumFontSizeLabel2 = 14;
85911
- const TypographyMediumFontSizeLabel3 = 12;
85940
+ const TypographyMediumFontSizeLabel3 = 10;
85912
85941
  const TypographyMediumFontSizeLink1 = 16;
85913
85942
  const TypographyMediumFontSizeLink2 = 14;
85914
85943
  const TypographyMediumFontSizeLink3 = 12;
85915
85944
  const TypographyMediumFontSizeDigits1 = 96;
85916
85945
  const TypographyMediumFontSizeDigits2 = 48;
85917
85946
  const TypographyMediumFontSizeDigits3 = 16;
85918
- const TypographyNarrowFontSizeHeading3 = Size4;
85947
+ const TypographyNarrowFontSizeHeading3 = 16;
85919
85948
  const TypographyNarrowFontSizeSubHeading1 = 20;
85920
85949
  const TypographyNarrowFontSizeSubHeading2 = 16;
85921
85950
  const TypographyNarrowFontSizeSubHeading3 = 14;
85922
- const TypographyNarrowFontSizeBody1 = 12;
85951
+ const TypographyNarrowFontSizeBody1 = 16;
85923
85952
  const TypographyNarrowFontSizeBody2 = 14;
85924
- const TypographyNarrowFontSizeBody3 = 16;
85925
- const TypographyNarrowFontSizeBody4 = 18;
85926
- const TypographyNarrowFontSizeBody5 = 20;
85953
+ const TypographyNarrowFontSizeBody3 = 14;
85954
+ const TypographyNarrowFontSizeBody4 = 12;
85955
+ const TypographyNarrowFontSizeBody5 = 10;
85927
85956
  const TypographyNarrowFontSizeMessage = 14;
85928
- const TypographyNarrowFontSizeOverline1 = 12;
85957
+ const TypographyNarrowFontSizeOverline1 = 14;
85929
85958
  const TypographyNarrowFontSizeOverline2 = 12;
85930
- const TypographyNarrowFontSizeOverline3 = 12;
85959
+ const TypographyNarrowFontSizeOverline3 = 10;
85931
85960
  const TypographyNarrowFontSizeLabel1 = 16;
85932
85961
  const TypographyNarrowFontSizeLabel2 = 14;
85933
- const TypographyNarrowFontSizeLabel3 = 12;
85962
+ const TypographyNarrowFontSizeLabel3 = 10;
85934
85963
  const TypographyNarrowFontSizeLink1 = 16;
85935
85964
  const TypographyNarrowFontSizeLink2 = 14;
85936
85965
  const TypographyNarrowFontSizeLink3 = 12;
@@ -86033,85 +86062,85 @@ const sizing = {
86033
86062
  const wideTypography = {
86034
86063
  display1: {
86035
86064
  fontSize: TypographyWideFontSizeDisplay1,
86036
- lineHeight: "3.5rem",
86037
- fontWeight: 700,
86038
- letterSpacing: "0"
86065
+ lineHeight: "72px",
86066
+ fontWeight: 600,
86067
+ letterSpacing: "-0.02em"
86039
86068
  },
86040
86069
  display2: {
86041
86070
  fontSize: TypographyWideFontSizeDisplay2,
86042
- lineHeight: "3rem",
86043
- fontWeight: 700,
86044
- letterSpacing: "0"
86071
+ lineHeight: "56px",
86072
+ fontWeight: 600,
86073
+ letterSpacing: "-0.02em"
86045
86074
  },
86046
86075
  display3: {
86047
86076
  fontSize: TypographyWideFontSizeDisplay3,
86048
- lineHeight: "2.5rem",
86049
- fontWeight: 700,
86050
- letterSpacing: "0"
86077
+ lineHeight: "40px",
86078
+ fontWeight: 600,
86079
+ letterSpacing: "-0.02em"
86051
86080
  },
86052
86081
  heading1: {
86053
86082
  fontSize: TypographyWideFontSizeHeading1,
86054
- lineHeight: "2rem",
86083
+ lineHeight: "48px",
86055
86084
  fontWeight: 700,
86056
86085
  letterSpacing: "0"
86057
86086
  },
86058
86087
  heading2: {
86059
86088
  fontSize: TypographyWideFontSizeHeading2,
86060
- lineHeight: "1.75rem",
86089
+ lineHeight: "40px",
86061
86090
  fontWeight: 700,
86062
86091
  letterSpacing: "0"
86063
86092
  },
86064
86093
  heading3: {
86065
86094
  fontSize: TypographyWideFontSizeHeading3,
86066
- lineHeight: "1.5rem",
86095
+ lineHeight: "16px",
86067
86096
  fontWeight: 700,
86068
86097
  letterSpacing: "0"
86069
86098
  },
86070
86099
  subHeading1: {
86071
86100
  fontSize: TypographyWideFontSizeSubHeading1,
86072
- lineHeight: "1.25rem",
86073
- fontWeight: 600,
86101
+ lineHeight: "40px",
86102
+ fontWeight: 400,
86074
86103
  letterSpacing: "0"
86075
86104
  },
86076
86105
  subHeading2: {
86077
- fontSize: "24px",
86106
+ fontSize: TypographyWideFontSizeSubHeading2,
86078
86107
  lineHeight: "32px",
86079
86108
  fontWeight: 400,
86080
86109
  letterSpacing: "0"
86081
86110
  },
86082
86111
  subHeading3: {
86083
86112
  fontSize: TypographyWideFontSizeSubHeading3,
86084
- lineHeight: "1rem",
86085
- fontWeight: 600,
86113
+ lineHeight: "24px",
86114
+ fontWeight: 400,
86086
86115
  letterSpacing: "0"
86087
86116
  },
86088
86117
  body1: {
86089
86118
  fontSize: TypographyWideFontSizeBody1,
86090
- lineHeight: "1.5rem",
86119
+ lineHeight: "32px",
86091
86120
  fontWeight: 400,
86092
86121
  letterSpacing: "0"
86093
86122
  },
86094
86123
  body2: {
86095
86124
  fontSize: TypographyWideFontSizeBody2,
86096
- lineHeight: "1.25rem",
86125
+ lineHeight: "29px",
86097
86126
  fontWeight: 400,
86098
86127
  letterSpacing: "0"
86099
86128
  },
86100
86129
  body3: {
86101
86130
  fontSize: TypographyWideFontSizeBody3,
86102
- lineHeight: "1rem",
86103
- fontWeight: 400,
86131
+ lineHeight: "29px",
86132
+ fontWeight: 700,
86104
86133
  letterSpacing: "0"
86105
86134
  },
86106
86135
  body4: {
86107
86136
  fontSize: TypographyWideFontSizeBody4,
86108
- lineHeight: "0.875rem",
86137
+ lineHeight: "27px",
86109
86138
  fontWeight: 400,
86110
86139
  letterSpacing: "0"
86111
86140
  },
86112
86141
  body5: {
86113
86142
  fontSize: TypographyWideFontSizeBody5,
86114
- lineHeight: "0.75rem",
86143
+ lineHeight: "23px",
86115
86144
  fontWeight: 400,
86116
86145
  letterSpacing: "0"
86117
86146
  },
@@ -86123,73 +86152,73 @@ const wideTypography = {
86123
86152
  },
86124
86153
  overline1: {
86125
86154
  fontSize: TypographyWideFontSizeOverline1,
86126
- lineHeight: "0.75rem",
86127
- fontWeight: 500,
86128
- letterSpacing: "0"
86155
+ lineHeight: "16px",
86156
+ fontWeight: 600,
86157
+ letterSpacing: "-0.01em"
86129
86158
  },
86130
86159
  overline2: {
86131
86160
  fontSize: TypographyWideFontSizeOverline2,
86132
- lineHeight: "0.75rem",
86133
- fontWeight: 500,
86134
- letterSpacing: "0"
86161
+ lineHeight: "14px",
86162
+ fontWeight: 600,
86163
+ letterSpacing: "-0.01em"
86135
86164
  },
86136
86165
  overline3: {
86137
86166
  fontSize: TypographyWideFontSizeOverline3,
86138
- lineHeight: "0.75rem",
86139
- fontWeight: 500,
86140
- letterSpacing: "0"
86167
+ lineHeight: "12px",
86168
+ fontWeight: 600,
86169
+ letterSpacing: "-0.01em"
86141
86170
  },
86142
86171
  label1: {
86143
86172
  fontSize: TypographyWideFontSizeLabel1,
86144
- lineHeight: "1rem",
86173
+ lineHeight: "16px",
86145
86174
  fontWeight: 500,
86146
86175
  letterSpacing: "0"
86147
86176
  },
86148
86177
  label2: {
86149
86178
  fontSize: TypographyWideFontSizeLabel2,
86150
- lineHeight: "1rem",
86179
+ lineHeight: "14px",
86151
86180
  fontWeight: 500,
86152
86181
  letterSpacing: "0"
86153
86182
  },
86154
86183
  label3: {
86155
86184
  fontSize: TypographyWideFontSizeLabel3,
86156
- lineHeight: "1rem",
86185
+ lineHeight: "10px",
86157
86186
  fontWeight: 500,
86158
86187
  letterSpacing: "0"
86159
86188
  },
86160
86189
  link1: {
86161
86190
  fontSize: TypographyWideFontSizeLink1,
86162
- lineHeight: "1.5rem",
86191
+ lineHeight: "16px",
86163
86192
  fontWeight: 500,
86164
86193
  letterSpacing: "0"
86165
86194
  },
86166
86195
  link2: {
86167
86196
  fontSize: TypographyWideFontSizeLink2,
86168
- lineHeight: "1.25rem",
86197
+ lineHeight: "14px",
86169
86198
  fontWeight: 500,
86170
86199
  letterSpacing: "0"
86171
86200
  },
86172
86201
  link3: {
86173
86202
  fontSize: TypographyWideFontSizeLink3,
86174
- lineHeight: "1rem",
86203
+ lineHeight: "12px",
86175
86204
  fontWeight: 500,
86176
86205
  letterSpacing: "0"
86177
86206
  },
86178
86207
  digits1: {
86179
86208
  fontSize: TypographyWideFontSizeDigits1,
86180
- lineHeight: "3.5rem",
86209
+ lineHeight: "96px",
86181
86210
  fontWeight: 700,
86182
86211
  letterSpacing: "0"
86183
86212
  },
86184
86213
  digits2: {
86185
86214
  fontSize: TypographyWideFontSizeDigits2,
86186
- lineHeight: "3rem",
86215
+ lineHeight: "48px",
86187
86216
  fontWeight: 700,
86188
86217
  letterSpacing: "0"
86189
86218
  },
86190
86219
  digits3: {
86191
86220
  fontSize: TypographyWideFontSizeDigits3,
86192
- lineHeight: "2.5rem",
86221
+ lineHeight: "16px",
86193
86222
  fontWeight: 700,
86194
86223
  letterSpacing: "0"
86195
86224
  }
@@ -86197,85 +86226,85 @@ const wideTypography = {
86197
86226
  const mediumTypography = {
86198
86227
  display1: {
86199
86228
  fontSize: TypographyMediumFontSizeDisplay1,
86200
- lineHeight: "3.5rem",
86201
- fontWeight: 700,
86202
- letterSpacing: "0"
86229
+ lineHeight: "64px",
86230
+ fontWeight: 600,
86231
+ letterSpacing: "-0.02em"
86203
86232
  },
86204
86233
  display2: {
86205
86234
  fontSize: TypographyMediumFontSizeDisplay2,
86206
- lineHeight: "3rem",
86207
- fontWeight: 700,
86208
- letterSpacing: "0"
86235
+ lineHeight: "52px",
86236
+ fontWeight: 600,
86237
+ letterSpacing: "-0.02em"
86209
86238
  },
86210
86239
  display3: {
86211
86240
  fontSize: TypographyMediumFontSizeDisplay3,
86212
- lineHeight: "2.5rem",
86213
- fontWeight: 700,
86214
- letterSpacing: "0"
86241
+ lineHeight: "40px",
86242
+ fontWeight: 600,
86243
+ letterSpacing: "-0.02em"
86215
86244
  },
86216
86245
  heading1: {
86217
86246
  fontSize: TypographyMediumFontSizeHeading1,
86218
- lineHeight: "2rem",
86247
+ lineHeight: "44px",
86219
86248
  fontWeight: 700,
86220
86249
  letterSpacing: "0"
86221
86250
  },
86222
86251
  heading2: {
86223
86252
  fontSize: TypographyMediumFontSizeHeading2,
86224
- lineHeight: "1.75rem",
86253
+ lineHeight: "32px",
86225
86254
  fontWeight: 700,
86226
86255
  letterSpacing: "0"
86227
86256
  },
86228
86257
  heading3: {
86229
86258
  fontSize: TypographyMediumFontSizeHeading3,
86230
- lineHeight: "1.5rem",
86259
+ lineHeight: "16px",
86231
86260
  fontWeight: 700,
86232
86261
  letterSpacing: "0"
86233
86262
  },
86234
86263
  subHeading1: {
86235
86264
  fontSize: TypographyMediumFontSizeSubHeading1,
86236
- lineHeight: "1.25rem",
86237
- fontWeight: 600,
86265
+ lineHeight: "32px",
86266
+ fontWeight: 400,
86238
86267
  letterSpacing: "0"
86239
86268
  },
86240
86269
  subHeading2: {
86241
86270
  fontSize: TypographyMediumFontSizeSubHeading2,
86242
- lineHeight: "1.25rem",
86243
- fontWeight: 600,
86271
+ lineHeight: "24px",
86272
+ fontWeight: 400,
86244
86273
  letterSpacing: "0"
86245
86274
  },
86246
86275
  subHeading3: {
86247
86276
  fontSize: TypographyMediumFontSizeSubHeading3,
86248
- lineHeight: "1rem",
86249
- fontWeight: 600,
86277
+ lineHeight: "24px",
86278
+ fontWeight: 400,
86250
86279
  letterSpacing: "0"
86251
86280
  },
86252
86281
  body1: {
86253
86282
  fontSize: TypographyMediumFontSizeBody1,
86254
- lineHeight: "1.5rem",
86283
+ lineHeight: "32px",
86255
86284
  fontWeight: 400,
86256
86285
  letterSpacing: "0"
86257
86286
  },
86258
86287
  body2: {
86259
86288
  fontSize: TypographyMediumFontSizeBody2,
86260
- lineHeight: "1.25rem",
86289
+ lineHeight: "29px",
86261
86290
  fontWeight: 400,
86262
86291
  letterSpacing: "0"
86263
86292
  },
86264
86293
  body3: {
86265
86294
  fontSize: TypographyMediumFontSizeBody3,
86266
- lineHeight: "1rem",
86267
- fontWeight: 400,
86295
+ lineHeight: "29px",
86296
+ fontWeight: 700,
86268
86297
  letterSpacing: "0"
86269
86298
  },
86270
86299
  body4: {
86271
86300
  fontSize: TypographyMediumFontSizeBody4,
86272
- lineHeight: "0.875rem",
86301
+ lineHeight: "27px",
86273
86302
  fontWeight: 400,
86274
86303
  letterSpacing: "0"
86275
86304
  },
86276
86305
  body5: {
86277
86306
  fontSize: TypographyMediumFontSizeBody5,
86278
- lineHeight: "0.75rem",
86307
+ lineHeight: "23px",
86279
86308
  fontWeight: 400,
86280
86309
  letterSpacing: "0"
86281
86310
  },
@@ -86287,73 +86316,73 @@ const mediumTypography = {
86287
86316
  },
86288
86317
  overline1: {
86289
86318
  fontSize: TypographyMediumFontSizeOverline1,
86290
- lineHeight: "0.75rem",
86291
- fontWeight: 500,
86292
- letterSpacing: "0"
86319
+ lineHeight: "16px",
86320
+ fontWeight: 600,
86321
+ letterSpacing: "-0.01em"
86293
86322
  },
86294
86323
  overline2: {
86295
86324
  fontSize: TypographyMediumFontSizeOverline2,
86296
- lineHeight: "0.75rem",
86297
- fontWeight: 500,
86298
- letterSpacing: "0"
86325
+ lineHeight: "12px",
86326
+ fontWeight: 600,
86327
+ letterSpacing: "-0.01em"
86299
86328
  },
86300
86329
  overline3: {
86301
86330
  fontSize: TypographyMediumFontSizeOverline3,
86302
- lineHeight: "0.75rem",
86303
- fontWeight: 500,
86304
- letterSpacing: "0"
86331
+ lineHeight: "12px",
86332
+ fontWeight: 600,
86333
+ letterSpacing: "-0.01em"
86305
86334
  },
86306
86335
  label1: {
86307
86336
  fontSize: TypographyMediumFontSizeLabel1,
86308
- lineHeight: "1rem",
86337
+ lineHeight: "16px",
86309
86338
  fontWeight: 500,
86310
86339
  letterSpacing: "0"
86311
86340
  },
86312
86341
  label2: {
86313
86342
  fontSize: TypographyMediumFontSizeLabel2,
86314
- lineHeight: "1rem",
86343
+ lineHeight: "14px",
86315
86344
  fontWeight: 500,
86316
86345
  letterSpacing: "0"
86317
86346
  },
86318
86347
  label3: {
86319
86348
  fontSize: TypographyMediumFontSizeLabel3,
86320
- lineHeight: "1rem",
86349
+ lineHeight: "10px",
86321
86350
  fontWeight: 500,
86322
86351
  letterSpacing: "0"
86323
86352
  },
86324
86353
  link1: {
86325
86354
  fontSize: TypographyMediumFontSizeLink1,
86326
- lineHeight: "1.5rem",
86355
+ lineHeight: "16px",
86327
86356
  fontWeight: 500,
86328
86357
  letterSpacing: "0"
86329
86358
  },
86330
86359
  link2: {
86331
86360
  fontSize: TypographyMediumFontSizeLink2,
86332
- lineHeight: "1.25rem",
86361
+ lineHeight: "14px",
86333
86362
  fontWeight: 500,
86334
86363
  letterSpacing: "0"
86335
86364
  },
86336
86365
  link3: {
86337
86366
  fontSize: TypographyMediumFontSizeLink3,
86338
- lineHeight: "1rem",
86367
+ lineHeight: "12px",
86339
86368
  fontWeight: 500,
86340
86369
  letterSpacing: "0"
86341
86370
  },
86342
86371
  digits1: {
86343
86372
  fontSize: TypographyMediumFontSizeDigits1,
86344
- lineHeight: "3.5rem",
86373
+ lineHeight: "96px",
86345
86374
  fontWeight: 700,
86346
86375
  letterSpacing: "0"
86347
86376
  },
86348
86377
  digits2: {
86349
86378
  fontSize: TypographyMediumFontSizeDigits2,
86350
- lineHeight: "3rem",
86379
+ lineHeight: "48px",
86351
86380
  fontWeight: 700,
86352
86381
  letterSpacing: "0"
86353
86382
  },
86354
86383
  digits3: {
86355
86384
  fontSize: TypographyMediumFontSizeDigits3,
86356
- lineHeight: "2.5rem",
86385
+ lineHeight: "16px",
86357
86386
  fontWeight: 700,
86358
86387
  letterSpacing: "0"
86359
86388
  }
@@ -86361,85 +86390,85 @@ const mediumTypography = {
86361
86390
  const narrowTypography = {
86362
86391
  display1: {
86363
86392
  fontSize: TypographyNarrowFontSizeDisplay1,
86364
- lineHeight: "3.5rem",
86365
- fontWeight: 700,
86366
- letterSpacing: "0"
86393
+ lineHeight: "48px",
86394
+ fontWeight: 600,
86395
+ letterSpacing: "-0.02em"
86367
86396
  },
86368
86397
  display2: {
86369
86398
  fontSize: TypographyNarrowFontSizeDisplay2,
86370
- lineHeight: "3rem",
86371
- fontWeight: 700,
86372
- letterSpacing: "0"
86399
+ lineHeight: "40px",
86400
+ fontWeight: 600,
86401
+ letterSpacing: "-0.02em"
86373
86402
  },
86374
86403
  display3: {
86375
86404
  fontSize: TypographyNarrowFontSizeDisplay3,
86376
- lineHeight: "2.5rem",
86377
- fontWeight: 700,
86378
- letterSpacing: "0"
86405
+ lineHeight: "32px",
86406
+ fontWeight: 600,
86407
+ letterSpacing: "-0.02em"
86379
86408
  },
86380
86409
  heading1: {
86381
86410
  fontSize: TypographyNarrowFontSizeHeading1,
86382
- lineHeight: "2rem",
86411
+ lineHeight: "32px",
86383
86412
  fontWeight: 700,
86384
86413
  letterSpacing: "0"
86385
86414
  },
86386
86415
  heading2: {
86387
86416
  fontSize: TypographyNarrowFontSizeHeading2,
86388
- lineHeight: "1.75rem",
86417
+ lineHeight: "32px",
86389
86418
  fontWeight: 700,
86390
86419
  letterSpacing: "0"
86391
86420
  },
86392
86421
  heading3: {
86393
86422
  fontSize: TypographyNarrowFontSizeHeading3,
86394
- lineHeight: "1.5rem",
86423
+ lineHeight: "16px",
86395
86424
  fontWeight: 700,
86396
86425
  letterSpacing: "0"
86397
86426
  },
86398
86427
  subHeading1: {
86399
86428
  fontSize: TypographyNarrowFontSizeSubHeading1,
86400
- lineHeight: "1.25rem",
86401
- fontWeight: 600,
86429
+ lineHeight: "24px",
86430
+ fontWeight: 400,
86402
86431
  letterSpacing: "0"
86403
86432
  },
86404
86433
  subHeading2: {
86405
86434
  fontSize: TypographyNarrowFontSizeSubHeading2,
86406
- lineHeight: "1.25rem",
86407
- fontWeight: 600,
86435
+ lineHeight: "20px",
86436
+ fontWeight: 400,
86408
86437
  letterSpacing: "0"
86409
86438
  },
86410
86439
  subHeading3: {
86411
86440
  fontSize: TypographyNarrowFontSizeSubHeading3,
86412
- lineHeight: "1rem",
86413
- fontWeight: 600,
86441
+ lineHeight: "24px",
86442
+ fontWeight: 400,
86414
86443
  letterSpacing: "0"
86415
86444
  },
86416
86445
  body1: {
86417
86446
  fontSize: TypographyNarrowFontSizeBody1,
86418
- lineHeight: "1.5rem",
86447
+ lineHeight: "29px",
86419
86448
  fontWeight: 400,
86420
86449
  letterSpacing: "0"
86421
86450
  },
86422
86451
  body2: {
86423
86452
  fontSize: TypographyNarrowFontSizeBody2,
86424
- lineHeight: "1.25rem",
86453
+ lineHeight: "27px",
86425
86454
  fontWeight: 400,
86426
86455
  letterSpacing: "0"
86427
86456
  },
86428
86457
  body3: {
86429
86458
  fontSize: TypographyNarrowFontSizeBody3,
86430
- lineHeight: "1rem",
86431
- fontWeight: 400,
86459
+ lineHeight: "27px",
86460
+ fontWeight: 700,
86432
86461
  letterSpacing: "0"
86433
86462
  },
86434
86463
  body4: {
86435
86464
  fontSize: TypographyNarrowFontSizeBody4,
86436
- lineHeight: "0.875rem",
86465
+ lineHeight: "23px",
86437
86466
  fontWeight: 400,
86438
86467
  letterSpacing: "0"
86439
86468
  },
86440
86469
  body5: {
86441
86470
  fontSize: TypographyNarrowFontSizeBody5,
86442
- lineHeight: "0.75rem",
86471
+ lineHeight: "19px",
86443
86472
  fontWeight: 400,
86444
86473
  letterSpacing: "0"
86445
86474
  },
@@ -86451,73 +86480,73 @@ const narrowTypography = {
86451
86480
  },
86452
86481
  overline1: {
86453
86482
  fontSize: TypographyNarrowFontSizeOverline1,
86454
- lineHeight: "0.75rem",
86455
- fontWeight: 500,
86456
- letterSpacing: "0"
86483
+ lineHeight: "14px",
86484
+ fontWeight: 600,
86485
+ letterSpacing: "-0.01em"
86457
86486
  },
86458
86487
  overline2: {
86459
86488
  fontSize: TypographyNarrowFontSizeOverline2,
86460
- lineHeight: "0.75rem",
86461
- fontWeight: 500,
86462
- letterSpacing: "0"
86489
+ lineHeight: "12px",
86490
+ fontWeight: 600,
86491
+ letterSpacing: "-0.01em"
86463
86492
  },
86464
86493
  overline3: {
86465
86494
  fontSize: TypographyNarrowFontSizeOverline3,
86466
- lineHeight: "0.75rem",
86467
- fontWeight: 500,
86468
- letterSpacing: "0"
86495
+ lineHeight: "10px",
86496
+ fontWeight: 600,
86497
+ letterSpacing: "-0.01em"
86469
86498
  },
86470
86499
  label1: {
86471
86500
  fontSize: TypographyNarrowFontSizeLabel1,
86472
- lineHeight: "1rem",
86501
+ lineHeight: "16px",
86473
86502
  fontWeight: 500,
86474
86503
  letterSpacing: "0"
86475
86504
  },
86476
86505
  label2: {
86477
86506
  fontSize: TypographyNarrowFontSizeLabel2,
86478
- lineHeight: "1rem",
86507
+ lineHeight: "14px",
86479
86508
  fontWeight: 500,
86480
86509
  letterSpacing: "0"
86481
86510
  },
86482
86511
  label3: {
86483
86512
  fontSize: TypographyNarrowFontSizeLabel3,
86484
- lineHeight: "1rem",
86513
+ lineHeight: "10px",
86485
86514
  fontWeight: 500,
86486
86515
  letterSpacing: "0"
86487
86516
  },
86488
86517
  link1: {
86489
86518
  fontSize: TypographyNarrowFontSizeLink1,
86490
- lineHeight: "1.5rem",
86519
+ lineHeight: "16px",
86491
86520
  fontWeight: 500,
86492
86521
  letterSpacing: "0"
86493
86522
  },
86494
86523
  link2: {
86495
86524
  fontSize: TypographyNarrowFontSizeLink2,
86496
- lineHeight: "1.25rem",
86525
+ lineHeight: "14px",
86497
86526
  fontWeight: 500,
86498
86527
  letterSpacing: "0"
86499
86528
  },
86500
86529
  link3: {
86501
86530
  fontSize: TypographyNarrowFontSizeLink3,
86502
- lineHeight: "1rem",
86531
+ lineHeight: "12px",
86503
86532
  fontWeight: 500,
86504
86533
  letterSpacing: "0"
86505
86534
  },
86506
86535
  digits1: {
86507
86536
  fontSize: TypographyNarrowFontSizeDigits1,
86508
- lineHeight: "3.5rem",
86537
+ lineHeight: "96px",
86509
86538
  fontWeight: 700,
86510
86539
  letterSpacing: "0"
86511
86540
  },
86512
86541
  digits2: {
86513
86542
  fontSize: TypographyNarrowFontSizeDigits2,
86514
- lineHeight: "3rem",
86543
+ lineHeight: "48px",
86515
86544
  fontWeight: 700,
86516
86545
  letterSpacing: "0"
86517
86546
  },
86518
86547
  digits3: {
86519
86548
  fontSize: TypographyNarrowFontSizeDigits3,
86520
- lineHeight: "2.5rem",
86549
+ lineHeight: "16px",
86521
86550
  fontWeight: 700,
86522
86551
  letterSpacing: "0"
86523
86552
  }