@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 +0 -1
- package/dist/index.cjs.js +1 -0
- package/dist/index.esm.js +1 -0
- package/package.json +1 -1
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
|
:
|