@yosgo/swap-ui 1.0.124 → 1.0.125
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 +1 -3
- package/build/index.esm.js.map +1 -1
- package/build/index.js +1 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -7247,7 +7247,6 @@ var useStyles$b = makeStyles$1(function () { return ({
|
|
|
7247
7247
|
fontSize: "0.75rem",
|
|
7248
7248
|
lineHeight: "17px",
|
|
7249
7249
|
fontWeight: 700,
|
|
7250
|
-
marginRight: props.marginRight,
|
|
7251
7250
|
color: props.color,
|
|
7252
7251
|
}); },
|
|
7253
7252
|
}); });
|
|
@@ -7289,11 +7288,10 @@ var Chip = function (props) {
|
|
|
7289
7288
|
: variant === "danger"
|
|
7290
7289
|
? theme.danger.danger800
|
|
7291
7290
|
: theme.primary.primary800,
|
|
7292
|
-
marginRight: variant === "success" ? 4 : 0,
|
|
7293
7291
|
};
|
|
7294
7292
|
var classes = useStyles$b(styleProps);
|
|
7295
7293
|
return (React__default.createElement("div", __assign({ className: classes.root }, other),
|
|
7296
|
-
label,
|
|
7294
|
+
React__default.createElement("span", { style: { marginRight: variant === "success" ? 4 : 0 } }, label),
|
|
7297
7295
|
variant === "success" && !icon ? icon_success : icon));
|
|
7298
7296
|
};
|
|
7299
7297
|
var icon_success = (React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|