@veniceswap/uikit 0.65.19 → 0.65.20

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/README.md CHANGED
@@ -1 +0,0 @@
1
- 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
package/dist/index.cjs.js CHANGED
@@ -3242,6 +3242,7 @@ var templateObject_1$q, templateObject_2$h;
3242
3242
  var MenuItem$1 = function (_a) {
3243
3243
  var children = _a.children, href = _a.href, _b = _a.isActive, isActive = _b === void 0 ? false : _b, _c = _a.variant, variant = _c === void 0 ? "default" : _c, statusColor = _a.statusColor, props = __rest(_a, ["children", "href", "isActive", "variant", "statusColor"]);
3244
3244
  var isExternal = /https|http/.test(href || '');
3245
+ console.log(href, isExternal);
3245
3246
  return (React__default["default"].createElement(StyledMenuItemContainer, { "$isActive": isActive, "$variant": variant }, isExternal ? (React__default["default"].createElement(StyledMenuItem, __assign({ href: href, target: "_blank", "$isActive": isActive, "$variant": variant, "$statusColor": statusColor }, props), children)) : (href ?
3246
3247
  React__default["default"].createElement(StyledMenuItem, __assign({ as: reactRouterDom.Link, to: href || '', "$isActive": isActive, "$variant": variant, "$statusColor": statusColor }, props), children)
3247
3248
  :
package/dist/index.esm.js CHANGED
@@ -3210,6 +3210,7 @@ var templateObject_1$q, templateObject_2$h;
3210
3210
  var MenuItem$1 = function (_a) {
3211
3211
  var children = _a.children, href = _a.href, _b = _a.isActive, isActive = _b === void 0 ? false : _b, _c = _a.variant, variant = _c === void 0 ? "default" : _c, statusColor = _a.statusColor, props = __rest(_a, ["children", "href", "isActive", "variant", "statusColor"]);
3212
3212
  var isExternal = /https|http/.test(href || '');
3213
+ console.log(href, isExternal);
3213
3214
  return (React__default.createElement(StyledMenuItemContainer, { "$isActive": isActive, "$variant": variant }, isExternal ? (React__default.createElement(StyledMenuItem, __assign({ href: href, target: "_blank", "$isActive": isActive, "$variant": variant, "$statusColor": statusColor }, props), children)) : (href ?
3214
3215
  React__default.createElement(StyledMenuItem, __assign({ as: Link$1, to: href || '', "$isActive": isActive, "$variant": variant, "$statusColor": statusColor }, props), children)
3215
3216
  :
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veniceswap/uikit",
3
- "version": "0.65.19",
3
+ "version": "0.65.20",
4
4
  "description": "Set of UI components for pancake projects",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",