@yosgo/swap-ui 1.0.132 → 1.0.134
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.esm.js +4 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -175,7 +175,7 @@ var SWAPLogoWrap = styled.div(templateObject_1 || (templateObject_1 = __makeTemp
|
|
|
175
175
|
});
|
|
176
176
|
var templateObject_1;
|
|
177
177
|
|
|
178
|
-
var SWAPSpace = function (_a) {
|
|
178
|
+
var SWAPSpace = React__default.memo(function (_a) {
|
|
179
179
|
var size = _a.size;
|
|
180
180
|
var height = function () {
|
|
181
181
|
if (size === "xxs") {
|
|
@@ -212,7 +212,7 @@ var SWAPSpace = function (_a) {
|
|
|
212
212
|
return 16;
|
|
213
213
|
};
|
|
214
214
|
return React__default.createElement("div", { style: { height: height() + "px" } });
|
|
215
|
-
};
|
|
215
|
+
});
|
|
216
216
|
|
|
217
217
|
var SWAPAppBar = function (_a) {
|
|
218
218
|
var logo = _a.logo, primaryButton = _a.primaryButton, secondaryButton = _a.secondaryButton, navigations = _a.navigations;
|
|
@@ -2159,7 +2159,7 @@ var Styles = function (_a) {
|
|
|
2159
2159
|
var StylesWrap = styled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([""], [""])));
|
|
2160
2160
|
var templateObject_1$8;
|
|
2161
2161
|
|
|
2162
|
-
var Typography = function (_a) {
|
|
2162
|
+
var Typography = React__default.memo(function (_a) {
|
|
2163
2163
|
var variant = _a.variant, children = _a.children, mode = _a.mode, color = _a.color, style = _a.style;
|
|
2164
2164
|
var theme = useTheme$1();
|
|
2165
2165
|
var useStyles = makeStyles$1({
|
|
@@ -2520,7 +2520,7 @@ var Typography = function (_a) {
|
|
|
2520
2520
|
});
|
|
2521
2521
|
var classes = useStyles();
|
|
2522
2522
|
return (React__default.createElement(MaterialTypography, { className: classes.root, style: style }, children));
|
|
2523
|
-
};
|
|
2523
|
+
});
|
|
2524
2524
|
|
|
2525
2525
|
var Container = function (_a) {
|
|
2526
2526
|
var children = _a.children, style = _a.style, maxWidth = _a.maxWidth, padding = _a.padding;
|