@coinswap-app/uikit 1.0.5 → 1.0.6

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/dist/index.cjs.js CHANGED
@@ -20,7 +20,6 @@ var reactDropzone = require('react-dropzone');
20
20
  var material = require('@mui/material');
21
21
  var noop = require('lodash/noop');
22
22
  var _ = require('lodash');
23
- var FacebookShare = require('react-facebook-share-link');
24
23
  var reactRouterDom = require('react-router-dom');
25
24
  var core = require('@web3-react/core');
26
25
  var reactTransitionGroup = require('react-transition-group');
@@ -15976,18 +15975,13 @@ var CopyLinkCard = function CopyLinkCard(_ref3) {
15976
15975
  href: "https://twitter.com/intent/tweet?url=".concat(getEncodedUrl(refLink)),
15977
15976
  target: "_blank",
15978
15977
  children: /*#__PURE__*/jsxRuntime.jsx(Icon$1t, {})
15979
- }), /*#__PURE__*/jsxRuntime.jsx(FacebookShare, {
15980
- link: refLink,
15981
- children: function children(link) {
15982
- return /*#__PURE__*/jsxRuntime.jsxs(Link, {
15983
- href: link,
15984
- target: "_blank",
15985
- children: [" ", /*#__PURE__*/jsxRuntime.jsx(Icon$1p, {
15986
- ml: 22,
15987
- height: 17
15988
- })]
15989
- });
15990
- }
15978
+ }), /*#__PURE__*/jsxRuntime.jsx(Link, {
15979
+ href: "https://www.facebook.com/sharer/sharer.php?u=".concat(getEncodedUrl(refLink)),
15980
+ target: "_blank",
15981
+ children: /*#__PURE__*/jsxRuntime.jsx(Icon$1p, {
15982
+ ml: 22,
15983
+ height: 17
15984
+ })
15991
15985
  }), /*#__PURE__*/jsxRuntime.jsx(Link, {
15992
15986
  href: "https://telegram.me/share/url?url=".concat(getEncodedUrl(refLink)),
15993
15987
  target: "_blank",
package/dist/index.esm.js CHANGED
@@ -19,7 +19,6 @@ import { useDropzone } from 'react-dropzone';
19
19
  import { TextField } from '@mui/material';
20
20
  import noop from 'lodash/noop';
21
21
  import _, { some } from 'lodash';
22
- import FacebookShare from 'react-facebook-share-link';
23
22
  import { Link as Link$1, NavLink, useLocation } from 'react-router-dom';
24
23
  import { useWeb3React } from '@web3-react/core';
25
24
  import { CSSTransition, TransitionGroup } from 'react-transition-group';
@@ -15954,18 +15953,13 @@ var CopyLinkCard = function CopyLinkCard(_ref3) {
15954
15953
  href: "https://twitter.com/intent/tweet?url=".concat(getEncodedUrl(refLink)),
15955
15954
  target: "_blank",
15956
15955
  children: /*#__PURE__*/jsx(Icon$1t, {})
15957
- }), /*#__PURE__*/jsx(FacebookShare, {
15958
- link: refLink,
15959
- children: function children(link) {
15960
- return /*#__PURE__*/jsxs(Link, {
15961
- href: link,
15962
- target: "_blank",
15963
- children: [" ", /*#__PURE__*/jsx(Icon$1p, {
15964
- ml: 22,
15965
- height: 17
15966
- })]
15967
- });
15968
- }
15956
+ }), /*#__PURE__*/jsx(Link, {
15957
+ href: "https://www.facebook.com/sharer/sharer.php?u=".concat(getEncodedUrl(refLink)),
15958
+ target: "_blank",
15959
+ children: /*#__PURE__*/jsx(Icon$1p, {
15960
+ ml: 22,
15961
+ height: 17
15962
+ })
15969
15963
  }), /*#__PURE__*/jsx(Link, {
15970
15964
  href: "https://telegram.me/share/url?url=".concat(getEncodedUrl(refLink)),
15971
15965
  target: "_blank",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinswap-app/uikit",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Set of UI components for CoinSwap projects",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -107,7 +107,6 @@
107
107
  "moment-duration-format": "^2.3.2",
108
108
  "react-cookie": "^8.0.1",
109
109
  "react-dropzone": "^14.3.5",
110
- "react-facebook-share-link": "^1.0.4",
111
110
  "react-responsive-carousel": "^3.2.23",
112
111
  "react-slick": "^0.30.2",
113
112
  "react-transition-group": "^4.4.5",