@yosgo/swap-ui 1.0.122 → 1.0.123

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.
@@ -7244,6 +7244,11 @@ var useStyles$b = makeStyles$1(function () { return ({
7244
7244
  display: "flex",
7245
7245
  alignItems: "center",
7246
7246
  justifyContent: "center",
7247
+ fontSize: "0.75rem",
7248
+ lineHeight: 1.4,
7249
+ fontWeight: 700,
7250
+ marginRight: props.marginRight,
7251
+ color: props.color,
7247
7252
  }); },
7248
7253
  }); });
7249
7254
  var Chip = function (props) {
@@ -7275,18 +7280,20 @@ var Chip = function (props) {
7275
7280
  : "1px solid " + theme.primary.primary800
7276
7281
  : null,
7277
7282
  padding: outlined || !contained ? "0px 8px" : "0px 9px",
7283
+ color: variant === "neutral"
7284
+ ? theme.black.black800
7285
+ : variant === "primary"
7286
+ ? theme.primary.primary800
7287
+ : variant === "success"
7288
+ ? theme.success.success800
7289
+ : variant === "danger"
7290
+ ? theme.danger.danger800
7291
+ : theme.primary.primary800,
7292
+ marginRight: variant === "success" ? 4 : 0,
7278
7293
  };
7279
7294
  var classes = useStyles$b(styleProps);
7280
7295
  return (React__default.createElement("div", __assign({ className: classes.root }, other),
7281
- React__default.createElement(Typography, { variant: "caption1", color: variant === "neutral"
7282
- ? "black800"
7283
- : variant === "primary"
7284
- ? "primary800"
7285
- : variant === "success"
7286
- ? "success800"
7287
- : variant === "danger"
7288
- ? "danger800"
7289
- : "primary800", style: { marginRight: variant === "success" ? 4 : 0 } }, label),
7296
+ label,
7290
7297
  variant === "success" && !icon ? icon_success : icon));
7291
7298
  };
7292
7299
  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" },