@lskjs/link
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -78,3 +78,3 @@ "use strict"; | ||
return _react["default"].createElement(Component, (0, _extends2["default"])({ | ||
return /*#__PURE__*/_react["default"].createElement(Component, (0, _extends2["default"])({ | ||
href: url, | ||
@@ -103,3 +103,3 @@ onClick: handleClick | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9MaW5rLmpzeCJdLCJuYW1lcyI6WyJnZXRVYXBwIiwid2luZG93IiwiYXBwIiwidWFwcCIsIkxpbmsiLCJjb21wb25lbnRDbGFzcyIsIkNvbXBvbmVudCIsInRvIiwiaHJlZiIsInFzIiwidGFyZ2V0IiwiY2hpbGRyZW4iLCJvbkNsaWNrIiwicHJvcHMiLCJjdHgiLCJMaW5rQ29udGV4dCIsInVybCIsImhhbmRsZUNsaWNrIiwiZSIsImRlZmF1bHRQcmV2ZW50ZWQiLCJwcmV2ZW50RGVmYXVsdCIsInJlZGlyZWN0IiwiX19ERVZfXyIsImNvbnNvbGUiLCJkZWJ1ZyIsImVycm9yIiwibG9jYXRpb24iLCJwcm9wVHlwZXMiLCJQcm9wVHlwZXMiLCJzdHJpbmciLCJub2RlIiwiZnVuYyIsIm9iamVjdE9mIiwiT2JqZWN0IiwiZGVmYXVsdFByb3BzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFFQSxJQUFNQSxPQUFPLEdBQUcsU0FBVkEsT0FBVSxHQUFNO0FBQ3BCLE1BQUksT0FBT0MsTUFBUCxLQUFrQixXQUF0QixFQUFtQztBQUNqQyxXQUFPQSxNQUFNLENBQUNDLEdBQVAsSUFBY0QsTUFBTSxDQUFDQyxHQUFQLENBQVdDLElBQWhDO0FBQ0Q7O0FBQ0QsU0FBTy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xcbiAgb25DbGljazogUHJvcFR5cGVzLmZ1bmMsXG4gIHRhcmdldDogUHJvcFR5cGVzLnN0cmluZyxcbiAgdG86IFByb3BUeXBlcy5zdHJpbmcsXG4gIHFzOiBQcm9wVHlwZXMub2JqZWN0T2YoT2JqZWN0KSxcbn07XG5cbkxpbmsuZGVmYXVsdFByb3BzID0ge1xuICBjaGlsZHJlbjogbnVsbCxcbiAgb25DbGljazogbnVsbCxcbiAgdGFyZ2V0OiBudWxsLFxuICBocmVmOiBudWxsLFxuICB0bzogbnVsbCxcbiAgcXM6IHt9LFxufTtcblxuZXhwb3J0IGRlZmF1bHQgTGluaztcbiJdfQ== | ||
//# sourceMappingURL=Link.js.map |
@@ -21,7 +21,7 @@ "use strict"; | ||
return storiesOf('ui/LinkHook', module).add('default', function () { | ||
return _react["default"].createElement(_Story["default"], null, _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
return /*#__PURE__*/_react["default"].createElement(_Story["default"], null, /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test" | ||
}, "Link /test")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link /test")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test?a=1" | ||
}, "Link /test?a=1")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link /test?a=1")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test", | ||
@@ -31,3 +31,3 @@ qs: { | ||
} | ||
}, "Link /test?b=2")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link /test?b=2")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test?a=1", | ||
@@ -37,3 +37,3 @@ qs: { | ||
} | ||
}, "Link /test?a=1&b=2")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link /test?a=1&b=2")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test", | ||
@@ -43,3 +43,3 @@ qs: { | ||
} | ||
}, "Link /test?a=3")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link /test?a=3")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test?a=1", | ||
@@ -49,3 +49,3 @@ qs: { | ||
} | ||
}, "Link /test?a=3")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"] // eslint-disable-line | ||
}, "Link /test?a=3")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"] // eslint-disable-line | ||
, { | ||
@@ -56,3 +56,3 @@ qs: { | ||
} | ||
}, "Link ?a=1&b=3")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link ?a=1&b=3")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "https://twitter.com/search", | ||
@@ -62,5 +62,5 @@ qs: { | ||
} | ||
}, "Link https://twitter.com/search?q=test")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link https://twitter.com/search?q=test")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "#anchor" | ||
}, "Link #anchor")), _react["default"].createElement("p", null, _react["default"].createElement(_Link["default"], { | ||
}, "Link #anchor")), /*#__PURE__*/_react["default"].createElement("p", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test", | ||
@@ -75,7 +75,7 @@ qs: { | ||
}).add('LinkProvider', function () { | ||
return _react["default"].createElement(_Story["default"], null, _react["default"].createElement(_LinkProvider["default"], { | ||
return /*#__PURE__*/_react["default"].createElement(_Story["default"], null, /*#__PURE__*/_react["default"].createElement(_LinkProvider["default"], { | ||
onClick: function onClick(url, event) { | ||
console.log('linkProvider.onClick: ', url, event); | ||
} | ||
}, _react["default"].createElement("div", null, _react["default"].createElement(_Link["default"], { | ||
}, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Link["default"], { | ||
href: "/test", | ||
@@ -93,3 +93,3 @@ qs: { | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9MaW5rLnN0b3J5LmpzeCJdLCJuYW1lcyI6WyJzdG9yaWVzT2YiLCJtb2R1bGUiLCJhZGQiLCJiIiwiYSIsInEiLCJ1c2VyIiwibmFtZSIsInVzZXJuYW1lIiwidXJsIiwiZXZlbnQiLCJjb25zb2xlIiwibG9nIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7ZUFFZTtBQUFBLE1BQUdBLFNBQUgsUUFBR0EsU0FBSDtBQUFBLFNBQ2JBLFNBQVMsQ0FBQyxhQUFELEVBQWdCQyxNQUFoQixDQUFULENBQ0dDLEdBREgsQ0FDTyxTQURQLEVBQ2tCO0FBQUEsV0FDZCxnQ0FBQyxpQkFBRCxRQUNFLDJDQUNFLGdDQUFDLGdCQUFEO0FBQU0sTUFBQSxJQUFJLEVBQUM7QUFBWCxvQkFERixDQURGLEVBSUUsMkNBQ0UsZ0NBQUMsZ0JBQUQ7QUFBTSxNQUFBLElBQUksRUFBQztBQUFYLHdCQURGLENBSkYsRUFPRSwyQ0FDRSxnQ0FBQyxnQkFBRDtBQUNFLE1BQUEsSUFBSSxFQUFDLE9BRFA7QUFFRSxNQUFBLEVBQUUsRUFBRTtBQUNGQyxRQUFBQSxDQUFDLEVBQUU7QUFERDtBQUZOLHdCQURGLENBUEYsRUFpQkUsMkNBQ0UsZ0NBQUM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A8TGluayBocmVmPVwiL3Rlc3Q/YT0xXCI+TGluayAvdGVzdD9hPTE8L0xpbms+XG4gICAgICAgIDwvcD5cbiAgICAgICAgPHA+XG4gICAgICAgICAgPExpbmtcbiAgICAgICAgICAgIGhyZWY9XCIvdGVzdFwiXG4gICAgICAgICAgICBxcz17e1xuICAgICAgICAgICAgICBiOiAyLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICBMaW5rIC90ZXN0P2I9MlxuICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGlua1xuICAgICAgICAgICAgaHJlZj1cIi90ZXN0P2E9MVwiXG4gICAgICAgICAgICBxcz17e1xuICAgICAgICAgICAgICBiOiAyLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICBMaW5rIC90ZXN0P2E9MSZiPTJcbiAgICAgICAgICA8L0xpbms+XG4gICAgICAgIDwvcD5cbiAgICAgICAgPHA+XG4gICAgICAgICAgPExpbmtcbiAgICAgICAgICAgIGhyZWY9XCIvdGVzdFwiXG4gICAgICAgICAgICBxcz17e1xuICAgICAgICAgICAgICBhOiAzLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICBMaW5rIC90ZXN0P2E9M1xuICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGlua1xuICAgICAgICAgICAgaHJlZj1cIi90ZXN0P2E9MVwiXG4gICAgICAgICAgICBxcz17e1xuICAgICAgICAgICAgICBhOiAzLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICBMaW5rIC90ZXN0P2E9M1xuICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGluayAgLy8gZXNsaW50LWRpc2FibGUtbGluZVxuICAgICAgICAgICAgcXM9e3tcbiAgICAgICAgICAgICAgYTogMSxcbiAgICAgICAgICAgICAgYjogMixcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgPlxuICAgICAgICAgICAgTGluayA/YT0xJmI9M1xuICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGlua1xuICAgICAgICAgICAgaHJlZj1cImh0dHBzOi8vdHdpdHRlci5jb20vc2VhcmNoXCJcbiAgICAgICAgICAgIHFzPXt7XG4gICAgICAgICAgICAgIHE6ICd0ZXN0JyxcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgPlxuICAgICAgICAgICAgTGluayBodHRwczovL3R3aXR0ZXIuY29tL3NlYXJjaD9xPXRlc3RcbiAgICAgICAgICA8L0xpbms+XG4gICAgICAgIDwvcD5cbiAgICAgICAgPHA+XG4gICAgICAgICAgPExpbmsgaHJlZj1cIiNhbmNob3JcIj5MaW5rICNhbmNob3I8L0xpbms+XG4gICAgICAgIDwvcD5cbiAgICAgICAgPHA+XG4gICAgICAgICAgPExpbmtcbiAgICAgICAgICAgIGhyZWY9XCIvdGVzdFwiXG4gICAgICAgICAgICBxcz17e1xuICAgICAgICAgICAgICB1c2VyOiB7XG4gICAgICAgICAgICAgICAgbmFtZTogJ0lnb3IgU3V2b3JvdicsXG4gICAgICAgICAgICAgICAgdXNlcm5hbWU6ICdpc3V2b3JvdicsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIExpbmsgL3Rlc3Q/dXNlcj1bT2JqZWN0XVxuICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgPC9TdG9yeT5cbiAgICApKVxuICAgIC5hZGQoJ0xpbmtQcm92aWRlcicsICgpID0+IChcbiAgICAgIDxTdG9yeT5cbiAgICAgICAgPExpbmtQcm92aWRlclxuICAgICAgICAgIG9uQ2xpY2s9eyh1cmwsIGV2ZW50KSA9PiB7XG4gICAgICAgICAgICBjb25zb2xlLmxvZygnbGlua1Byb3ZpZGVyLm9uQ2xpY2s6ICcsIHVybCwgZXZlbnQpO1xuICAgICAgICAgIH19XG4gICAgICAgID5cbiAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgPExpbmtcbiAgICAgICAgICAgICAgaHJlZj1cIi90ZXN0XCJcbiAgICAgICAgICAgICAgcXM9e3tcbiAgICAgICAgICAgICAgICB1c2VyOiB7XG4gICAgICAgICAgICAgICAgICBuYW1lOiAnSWdvciBTdXZvcm92JyxcbiAgICAgICAgICAgICAgICAgIHVzZXJuYW1lOiAnaXN1dm9yb3YnLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIExpbmsgL3Rlc3Q/dXNlcj1bT2JqZWN0XVxuICAgICAgICAgICAgPC9MaW5rPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L0xpbmtQcm92aWRlcj5cbiAgICAgIDwvU3Rvcnk+XG4gICAgKSk7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9MaW5rLnN0b3J5LmpzeCJdLCJuYW1lcyI6WyJzdG9yaWVzT2YiLCJtb2R1bGUiLCJhZGQiLCJiIiwiYSIsInEiLCJ1c2VyIiwibmFtZSIsInVzZXJuYW1lIiwidXJsIiwiZXZlbnQiLCJjb25zb2xlIiwibG9nIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7ZUFFZTtBQUFBLE1BQUdBLFNBQUgsUUFBR0EsU0FBSDtBQUFBLFNBQ2JBLFNBQVMsQ0FBQyxhQUFELEVBQWdCQyxNQUFoQixDQUFULENBQ0dDLEdBREgsQ0FDTyxTQURQLEVBQ2tCO0FBQUEsd0JBQ2QsZ0NBQUMsaUJBQUQscUJBQ0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CBMaW5rUHJvdmlkZXIgZnJvbSAnLi9MaW5rUHJvdmlkZXInO1xuXG5leHBvcnQgZGVmYXVsdCAoeyBzdG9yaWVzT2YgfSkgPT5cbiAgc3Rvcmllc09mKCd1aS9MaW5rSG9vaycsIG1vZHVsZSlcbiAgICAuYWRkKCdkZWZhdWx0JywgKCkgPT4gKFxuICAgICAgPFN0b3J5PlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGluayBocmVmPVwiL3Rlc3RcIj5MaW5rIC90ZXN0PC9MaW5rPlxuICAgICAgICA8L3A+XG4gICAgICAgIDxwPlxuICAgICAgICAgIDxMaW5rIGhyZWY9XCIvdGVzdD9hPTFcIj5MaW5rIC90ZXN0P2E9MTwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGlua1xuICAgICAgICAgICAgaHJlZj1cIi90ZXN0XCJcbiAgICAgICAgICAgIHFzPXt7XG4gICAgICAgICAgICAgIGI6IDIsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIExpbmsgL3Rlc3Q/Yj0yXG4gICAgICAgICAgPC9MaW5rPlxuICAgICAgICA8L3A+XG4gICAgICAgIDxwPlxuICAgICAgICAgIDxMaW5rXG4gICAgICAgICAgICBocmVmPVwiL3Rlc3Q/YT0xXCJcbiAgICAgICAgICAgIHFzPXt7XG4gICAgICAgICAgICAgIGI6IDIsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIExpbmsgL3Rlc3Q/YT0xJmI9MlxuICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGlua1xuICAgICAgICAgICAgaHJlZj1cIi90ZXN0XCJcbiAgICAgICAgICAgIHFzPXt7XG4gICAgICAgICAgICAgIGE6IDMsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIExpbmsgL3Rlc3Q/YT0zXG4gICAgICAgICAgPC9MaW5rPlxuICAgICAgICA8L3A+XG4gICAgICAgIDxwPlxuICAgICAgICAgIDxMaW5rXG4gICAgICAgICAgICBocmVmPVwiL3Rlc3Q/YT0xXCJcbiAgICAgICAgICAgIHFzPXt7XG4gICAgICAgICAgICAgIGE6IDMsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIExpbmsgL3Rlc3Q/YT0zXG4gICAgICAgICAgPC9MaW5rPlxuICAgICAgICA8L3A+XG4gICAgICAgIDxwPlxuICAgICAgICAgIDxMaW5rICAvLyBlc2xpbnQtZGlzYWJsZS1saW5lXG4gICAgICAgICAgICBxcz17e1xuICAgICAgICAgICAgICBhOiAxLFxuICAgICAgICAgICAgICBiOiAyLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICBMaW5rID9hPTEmYj0zXG4gICAgICAgICAgPC9MaW5rPlxuICAgICAgICA8L3A+XG4gICAgICAgIDxwPlxuICAgICAgICAgIDxMaW5rXG4gICAgICAgICAgICBocmVmPVwiaHR0cHM6Ly90d2l0dGVyLmNvbS9zZWFyY2hcIlxuICAgICAgICAgICAgcXM9e3tcbiAgICAgICAgICAgICAgcTogJ3Rlc3QnLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICBMaW5rIGh0dHBzOi8vdHdpdHRlci5jb20vc2VhcmNoP3E9dGVzdFxuICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGluayBocmVmPVwiI2FuY2hvclwiPkxpbmsgI2FuY2hvcjwvTGluaz5cbiAgICAgICAgPC9wPlxuICAgICAgICA8cD5cbiAgICAgICAgICA8TGlua1xuICAgICAgICAgICAgaHJlZj1cIi90ZXN0XCJcbiAgICAgICAgICAgIHFzPXt7XG4gICAgICAgICAgICAgIHVzZXI6IHtcbiAgICAgICAgICAgICAgICBuYW1lOiAnSWdvciBTdXZvcm92JyxcbiAgICAgICAgICAgICAgICB1c2VybmFtZTogJ2lzdXZvcm92JyxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgPlxuICAgICAgICAgICAgTGluayAvdGVzdD91c2VyPVtPYmplY3RdXG4gICAgICAgICAgPC9MaW5rPlxuICAgICAgICA8L3A+XG4gICAgICA8L1N0b3J5PlxuICAgICkpXG4gICAgLmFkZCgnTGlua1Byb3ZpZGVyJywgKCkgPT4gKFxuICAgICAgPFN0b3J5PlxuICAgICAgICA8TGlua1Byb3ZpZGVyXG4gICAgICAgICAgb25DbGljaz17KHVybCwgZXZlbnQpID0+IHtcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdsaW5rUHJvdmlkZXIub25DbGljazogJywgdXJsLCBldmVudCk7XG4gICAgICAgICAgfX1cbiAgICAgICAgPlxuICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICA8TGlua1xuICAgICAgICAgICAgICBocmVmPVwiL3Rlc3RcIlxuICAgICAgICAgICAgICBxcz17e1xuICAgICAgICAgICAgICAgIHVzZXI6IHtcbiAgICAgICAgICAgICAgICAgIG5hbWU6ICdJZ29yIFN1dm9yb3YnLFxuICAgICAgICAgICAgICAgICAgdXNlcm5hbWU6ICdpc3V2b3JvdicsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgTGluayAvdGVzdD91c2VyPVtPYmplY3RdXG4gICAgICAgICAgICA8L0xpbms+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvTGlua1Byb3ZpZGVyPlxuICAgICAgPC9TdG9yeT5cbiAgICApKTtcbiJdfQ== | ||
//# sourceMappingURL=Link.story.js.map |
@@ -19,7 +19,7 @@ "use strict"; | ||
onClick = _ref.onClick; | ||
return _react["default"].createElement(_Link["default"].Provider, { | ||
return /*#__PURE__*/_react["default"].createElement(_Link["default"].Provider, { | ||
value: { | ||
onClick: onClick | ||
} | ||
}, _react["default"].createElement(_react["default"].Fragment, null, children)); | ||
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, children)); | ||
}; | ||
@@ -33,3 +33,3 @@ | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9MaW5rUHJvdmlkZXIuanN4Il0sIm5hbWVzIjpbIkxpbmtQcm92aWRlciIsImNoaWxkcmVuIiwib25DbGljayIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsImZ1bmMiLCJpc1JlcXVpcmVkIiwib25lT2ZUeXBlIiwiYXJyYXlPZiIsIm5vZGUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOztBQUVBLElBQU1BLFlBQVksR0FBRyxTQUFmQSxZQUFlO0FBQUEsTUFBR0MsUUFBSCxRQUFHQSxRQUFIO0FBQUEsTUFBYUMsT0FBYixRQUFhQSxPQUFiO0FBQUEsU0FDbkIsZ0NBQUMsZ0JBQUQsQ0FBYSxRQUFiO0FBQXNCLElBQUEsS0FBSyxFQUFFO0FBQUVBLE1BQUFBLE9BQU8sRUFBUEE7QUFBRjtBQUE3QixLQUNFLGtFQUFHRCxRQUFILENBREYsQ0FEbUI7QUFBQSxDQUFyQjs7QUFNQUQsWUFBWSxDQUFDRyxTQUFiLEdBQXlCO0FBQ3ZCRCxFQUFBQSxPQUFPLEVBQUVFLHNCQUFVQyxJQUFWLENBQWVDLFVBREQ7QUFFdkJMLEVBQUFBLFFBQVEsRUFBRUcsc0JBQVVHLFNBQVYsQ0FBb0IsQ0FBQ0gsc0JBQVVJLE9BQVYsQ0FBa0JKLHNCQUFVSyxJQUE1QixDQUFELEVBQW9DTCxzQkFBVUssSUFBOUMsQ0FBcEIsRUFBeUVIO0FBRjVELENBQXpCO2VBS2VOLFkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY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ceMappingURL=LinkProvider.js.map |
{ | ||
"name": "@lskjs/link", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "LSK ux subrepo: link", | ||
@@ -34,3 +34,3 @@ "author": "Igor Suvorov <hi@isuvorov.com>", | ||
"devDependencies": { | ||
"@lskjs/dev": "1.4.1", | ||
"@lskjs/dev": "1.5.0", | ||
"@lskjs/utils": "1.0.8", | ||
@@ -37,0 +37,0 @@ "react": "16.8.6" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36715