@popmenu/ordering-ui 0.125.5 → 0.126.0

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/build/index.es.js CHANGED
@@ -1512,7 +1512,7 @@ var MenuItem = forwardRef(function (props, ref) {
1512
1512
  React__default.createElement(MenuItemInfo, null,
1513
1513
  isFeatured && React__default.createElement(StatusTag, { color: "highlight", label: "Featured", variant: "filled", size: "sm" }),
1514
1514
  React__default.createElement(Box, { display: "flex", gridGap: 8, alignItems: "center" },
1515
- React__default.createElement(Typography$1, { component: "h3", className: classes.cardTitle },
1515
+ React__default.createElement(Typography$1, { component: "h2", className: classes.cardTitle },
1516
1516
  loading ? React__default.createElement(Skeleton, null) : title,
1517
1517
  isOutOfStock && (React__default.createElement("span", { className: classes.outOfStockTag },
1518
1518
  React__default.createElement(StatusTag, { color: "warning", label: "Out of stock", variant: "outlined", size: "sm" }))))),
@@ -2358,7 +2358,7 @@ var MenuSection = forwardRef(function (props, ref) {
2358
2358
  var classes = useStyles$3();
2359
2359
  return (React__default.createElement(Box, __assign$1({}, restProps, { ref: ref, component: 'section' }, { "data-component-type": "menu-section", style: { scrollMarginTop: '70px' } }),
2360
2360
  React__default.createElement(Box, { marginTop: 1, marginBottom: 4 },
2361
- React__default.createElement(Typography$1, { component: "h2", className: classes.title }, loading ? React__default.createElement(Skeleton, null) : name)),
2361
+ React__default.createElement(Typography$1, { component: "h1", className: classes.title }, loading ? React__default.createElement(Skeleton, null) : name)),
2362
2362
  children));
2363
2363
  });
2364
2364
  MenuSection.displayName = 'MenuSection';
@@ -2400,7 +2400,7 @@ var DialogTitle = function (props) {
2400
2400
  return (React__default.createElement(DialogTitle$1, null,
2401
2401
  React__default.createElement(Box, { display: "flex", alignItems: "center", gridGap: 16 },
2402
2402
  Icon && Icon,
2403
- React__default.createElement(Typography$1, { component: "h1", style: { fontSize: '1.25rem', fontWeight: 500, lineHeight: 1.6 }, id: titleId }, title)),
2403
+ React__default.createElement(Typography$1, { variant: "h1", id: titleId }, title)),
2404
2404
  onClose && (React__default.createElement(IconButton$1, { color: "inherit", className: classes.closeButton, "aria-label": "Close dialog", onClick: onClose },
2405
2405
  React__default.createElement(SvgX, null)))));
2406
2406
  };
@@ -2649,14 +2649,14 @@ var typography = {
2649
2649
  htmlFontSize: 16,
2650
2650
  fontFamily: fonts.join(', '),
2651
2651
  h1: {
2652
- fontWeight: 400,
2653
- fontSize: '1.25rem',
2654
- lineHeight: '1.875rem',
2652
+ fontWeight: 500,
2653
+ fontSize: '1.5rem',
2654
+ lineHeight: '100%',
2655
2655
  },
2656
2656
  h2: {
2657
- fontWeight: 500,
2658
- fontSize: '1.125rem',
2659
- lineHeight: '1.6875rem',
2657
+ fontWeight: 600,
2658
+ fontSize: '1.25rem',
2659
+ lineHeight: '100%',
2660
2660
  },
2661
2661
  h3: {
2662
2662
  fontWeight: 500,
@@ -2665,18 +2665,18 @@ var typography = {
2665
2665
  },
2666
2666
  h4: {
2667
2667
  fontWeight: 500,
2668
- fontSize: '1.125rem',
2669
- lineHeight: '1.6875rem',
2668
+ fontSize: '1.25rem',
2669
+ lineHeight: '1.875rem',
2670
2670
  },
2671
2671
  h5: {
2672
2672
  fontWeight: 500,
2673
- fontSize: '1.125rem',
2674
- lineHeight: '1.6875rem',
2673
+ fontSize: '1.25rem',
2674
+ lineHeight: '1.875rem',
2675
2675
  },
2676
2676
  h6: {
2677
2677
  fontWeight: 500,
2678
- fontSize: '1.125rem',
2679
- lineHeight: '1.6875rem',
2678
+ fontSize: '1.25rem',
2679
+ lineHeight: '1.875rem',
2680
2680
  },
2681
2681
  body1: {
2682
2682
  fontWeight: 400,