@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.js CHANGED
@@ -1549,7 +1549,7 @@ var MenuItem = React.forwardRef(function (props, ref) {
1549
1549
  React__default['default'].createElement(MenuItemInfo, null,
1550
1550
  isFeatured && React__default['default'].createElement(StatusTag, { color: "highlight", label: "Featured", variant: "filled", size: "sm" }),
1551
1551
  React__default['default'].createElement(core.Box, { display: "flex", gridGap: 8, alignItems: "center" },
1552
- React__default['default'].createElement(core.Typography, { component: "h3", className: classes.cardTitle },
1552
+ React__default['default'].createElement(core.Typography, { component: "h2", className: classes.cardTitle },
1553
1553
  loading ? React__default['default'].createElement(lab.Skeleton, null) : title,
1554
1554
  isOutOfStock && (React__default['default'].createElement("span", { className: classes.outOfStockTag },
1555
1555
  React__default['default'].createElement(StatusTag, { color: "warning", label: "Out of stock", variant: "outlined", size: "sm" }))))),
@@ -2395,7 +2395,7 @@ var MenuSection = React.forwardRef(function (props, ref) {
2395
2395
  var classes = useStyles$3();
2396
2396
  return (React__default['default'].createElement(core.Box, __assign$1({}, restProps, { ref: ref, component: 'section' }, { "data-component-type": "menu-section", style: { scrollMarginTop: '70px' } }),
2397
2397
  React__default['default'].createElement(core.Box, { marginTop: 1, marginBottom: 4 },
2398
- React__default['default'].createElement(core.Typography, { component: "h2", className: classes.title }, loading ? React__default['default'].createElement(lab.Skeleton, null) : name)),
2398
+ React__default['default'].createElement(core.Typography, { component: "h1", className: classes.title }, loading ? React__default['default'].createElement(lab.Skeleton, null) : name)),
2399
2399
  children));
2400
2400
  });
2401
2401
  MenuSection.displayName = 'MenuSection';
@@ -2437,7 +2437,7 @@ var DialogTitle = function (props) {
2437
2437
  return (React__default['default'].createElement(core.DialogTitle, null,
2438
2438
  React__default['default'].createElement(core.Box, { display: "flex", alignItems: "center", gridGap: 16 },
2439
2439
  Icon && Icon,
2440
- React__default['default'].createElement(core.Typography, { component: "h1", style: { fontSize: '1.25rem', fontWeight: 500, lineHeight: 1.6 }, id: titleId }, title)),
2440
+ React__default['default'].createElement(core.Typography, { variant: "h1", id: titleId }, title)),
2441
2441
  onClose && (React__default['default'].createElement(core.IconButton, { color: "inherit", className: classes.closeButton, "aria-label": "Close dialog", onClick: onClose },
2442
2442
  React__default['default'].createElement(SvgX, null)))));
2443
2443
  };
@@ -2686,14 +2686,14 @@ var typography = {
2686
2686
  htmlFontSize: 16,
2687
2687
  fontFamily: fonts.join(', '),
2688
2688
  h1: {
2689
- fontWeight: 400,
2690
- fontSize: '1.25rem',
2691
- lineHeight: '1.875rem',
2689
+ fontWeight: 500,
2690
+ fontSize: '1.5rem',
2691
+ lineHeight: '100%',
2692
2692
  },
2693
2693
  h2: {
2694
- fontWeight: 500,
2695
- fontSize: '1.125rem',
2696
- lineHeight: '1.6875rem',
2694
+ fontWeight: 600,
2695
+ fontSize: '1.25rem',
2696
+ lineHeight: '100%',
2697
2697
  },
2698
2698
  h3: {
2699
2699
  fontWeight: 500,
@@ -2702,18 +2702,18 @@ var typography = {
2702
2702
  },
2703
2703
  h4: {
2704
2704
  fontWeight: 500,
2705
- fontSize: '1.125rem',
2706
- lineHeight: '1.6875rem',
2705
+ fontSize: '1.25rem',
2706
+ lineHeight: '1.875rem',
2707
2707
  },
2708
2708
  h5: {
2709
2709
  fontWeight: 500,
2710
- fontSize: '1.125rem',
2711
- lineHeight: '1.6875rem',
2710
+ fontSize: '1.25rem',
2711
+ lineHeight: '1.875rem',
2712
2712
  },
2713
2713
  h6: {
2714
2714
  fontWeight: 500,
2715
- fontSize: '1.125rem',
2716
- lineHeight: '1.6875rem',
2715
+ fontSize: '1.25rem',
2716
+ lineHeight: '1.875rem',
2717
2717
  },
2718
2718
  body1: {
2719
2719
  fontWeight: 400,