@popmenu/ordering-ui 0.86.0 → 0.86.1
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 +4 -6
- package/build/index.es.js.map +1 -1
- package/build/index.js +4 -6
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.es.js
CHANGED
|
@@ -2040,9 +2040,9 @@ var useStyles$2 = makeStyles$1(function () { return ({
|
|
|
2040
2040
|
var MenuSection = forwardRef(function (props, ref) {
|
|
2041
2041
|
var name = props.name, children = props.children, restProps = __rest$1(props, ["name", "children"]);
|
|
2042
2042
|
var classes = useStyles$2();
|
|
2043
|
-
return (React__default.createElement(Box, __assign$1({}, restProps, { ref: ref }, { "data-component-type": "menu-section" }),
|
|
2043
|
+
return (React__default.createElement(Box, __assign$1({}, restProps, { ref: ref, component: 'section' }, { "data-component-type": "menu-section" }),
|
|
2044
2044
|
React__default.createElement(Box, { marginTop: 1, marginBottom: 4 },
|
|
2045
|
-
React__default.createElement(Typography$1, { className: classes.title }, name)),
|
|
2045
|
+
React__default.createElement(Typography$1, { component: "h2", className: classes.title }, name)),
|
|
2046
2046
|
children));
|
|
2047
2047
|
});
|
|
2048
2048
|
MenuSection.displayName = 'MenuSection';
|
|
@@ -2083,7 +2083,7 @@ var DialogTitle = function (props) {
|
|
|
2083
2083
|
return (React__default.createElement(DialogTitle$1, null,
|
|
2084
2084
|
React__default.createElement(Box, { display: "flex", alignItems: "center", gridGap: 16 },
|
|
2085
2085
|
Icon && Icon,
|
|
2086
|
-
React__default.createElement(Typography$1, { variant: "h6" }, title)),
|
|
2086
|
+
React__default.createElement(Typography$1, { component: "h1", variant: "h6" }, title)),
|
|
2087
2087
|
React__default.createElement(IconButton$1, { color: "inherit", className: classes.closeButton, "aria-label": "Close dialog", onClick: onClose },
|
|
2088
2088
|
React__default.createElement(SvgX, null))));
|
|
2089
2089
|
};
|
|
@@ -2177,9 +2177,7 @@ var overrides = {
|
|
|
2177
2177
|
textTransform: 'none',
|
|
2178
2178
|
padding: '18px 16px',
|
|
2179
2179
|
},
|
|
2180
|
-
outlined: {
|
|
2181
|
-
padding: 'inherit',
|
|
2182
|
-
},
|
|
2180
|
+
outlined: {},
|
|
2183
2181
|
textPrimary: {
|
|
2184
2182
|
color: '#0076CB',
|
|
2185
2183
|
},
|