@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 +15 -15
- package/build/index.es.js.map +1 -1
- package/build/index.js +15 -15
- package/build/index.js.map +1 -1
- package/package.json +2 -2
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: "
|
|
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: "
|
|
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, {
|
|
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:
|
|
2653
|
-
fontSize: '1.
|
|
2654
|
-
lineHeight: '
|
|
2652
|
+
fontWeight: 500,
|
|
2653
|
+
fontSize: '1.5rem',
|
|
2654
|
+
lineHeight: '100%',
|
|
2655
2655
|
},
|
|
2656
2656
|
h2: {
|
|
2657
|
-
fontWeight:
|
|
2658
|
-
fontSize: '1.
|
|
2659
|
-
lineHeight: '
|
|
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.
|
|
2669
|
-
lineHeight: '1.
|
|
2668
|
+
fontSize: '1.25rem',
|
|
2669
|
+
lineHeight: '1.875rem',
|
|
2670
2670
|
},
|
|
2671
2671
|
h5: {
|
|
2672
2672
|
fontWeight: 500,
|
|
2673
|
-
fontSize: '1.
|
|
2674
|
-
lineHeight: '1.
|
|
2673
|
+
fontSize: '1.25rem',
|
|
2674
|
+
lineHeight: '1.875rem',
|
|
2675
2675
|
},
|
|
2676
2676
|
h6: {
|
|
2677
2677
|
fontWeight: 500,
|
|
2678
|
-
fontSize: '1.
|
|
2679
|
-
lineHeight: '1.
|
|
2678
|
+
fontSize: '1.25rem',
|
|
2679
|
+
lineHeight: '1.875rem',
|
|
2680
2680
|
},
|
|
2681
2681
|
body1: {
|
|
2682
2682
|
fontWeight: 400,
|