@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.js CHANGED
@@ -7252,7 +7252,6 @@ var useStyles$b = core.makeStyles(function () { return ({
7252
7252
  fontSize: "0.75rem",
7253
7253
  lineHeight: "17px",
7254
7254
  fontWeight: 700,
7255
- marginRight: props.marginRight,
7256
7255
  color: props.color,
7257
7256
  }); },
7258
7257
  }); });
@@ -7294,11 +7293,10 @@ var Chip = function (props) {
7294
7293
  : variant === "danger"
7295
7294
  ? theme.danger.danger800
7296
7295
  : theme.primary.primary800,
7297
- marginRight: variant === "success" ? 4 : 0,
7298
7296
  };
7299
7297
  var classes = useStyles$b(styleProps);
7300
7298
  return (React__default.createElement("div", __assign({ className: classes.root }, other),
7301
- label,
7299
+ React__default.createElement("span", { style: { marginRight: variant === "success" ? 4 : 0 } }, label),
7302
7300
  variant === "success" && !icon ? icon_success : icon));
7303
7301
  };
7304
7302
  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" },