@depay/widgets 12.3.19 → 12.3.21

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.
@@ -112,7 +112,6 @@ var allWallets = [{
112
112
  "mobile": {
113
113
  "ios": {
114
114
  "native": "phantom:",
115
- "universal": "https://phantom.app/ul",
116
115
  "open": function open() {
117
116
  return "https://phantom.app/ul/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
118
117
  },
@@ -123,7 +122,6 @@ var allWallets = [{
123
122
  },
124
123
  "android": {
125
124
  "native": "phantom:",
126
- "universal": "https://phantom.app/ul",
127
125
  "connect": "SolanaMobileWalletAdapter",
128
126
  "qr": function qr() {
129
127
  return "phantom://browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
@@ -279,6 +277,12 @@ var allWallets = [{
279
277
  "universal": "https://uniswap.org/app",
280
278
  "connect": "WalletConnectV2",
281
279
  "qr": "WalletConnectV2"
280
+ },
281
+ "android": {
282
+ "native": "uniswap:",
283
+ "universal": "https://uniswap.org/app",
284
+ "connect": "WalletConnectV2",
285
+ "qr": "WalletConnectV2"
282
286
  }
283
287
  },
284
288
  "logo": "https://img1.depay.com/wallets/uniswap_wallet.jpg",
@@ -22000,14 +22004,14 @@ var ConnectWalletDialog = (function (props) {
22000
22004
  style: {
22001
22005
  width: "50px"
22002
22006
  }
22007
+ }, /*#__PURE__*/React.createElement("div", {
22008
+ className: "PaddingTopXS"
22003
22009
  }, /*#__PURE__*/React.createElement("div", {
22004
22010
  className: "Loading Icon medium",
22005
22011
  style: {
22006
- position: 'relative',
22007
- top: '4px',
22008
- left: '1px'
22012
+ position: 'relative'
22009
22013
  }
22010
- })), /*#__PURE__*/React.createElement("div", {
22014
+ }))), /*#__PURE__*/React.createElement("div", {
22011
22015
  className: "PaddingLeftS LineHeightXS"
22012
22016
  }, /*#__PURE__*/React.createElement("div", {
22013
22017
  className: "CardText FontWeightMedium"
@@ -22047,14 +22051,14 @@ var ConnectWalletDialog = (function (props) {
22047
22051
  style: {
22048
22052
  width: "50px"
22049
22053
  }
22054
+ }, /*#__PURE__*/React.createElement("div", {
22055
+ className: "PaddingTopXS"
22050
22056
  }, /*#__PURE__*/React.createElement("div", {
22051
22057
  className: "Loading Icon medium",
22052
22058
  style: {
22053
- position: 'relative',
22054
- top: '2px',
22055
- left: '0px'
22059
+ position: 'relative'
22056
22060
  }
22057
- })), /*#__PURE__*/React.createElement("div", {
22061
+ }))), /*#__PURE__*/React.createElement("div", {
22058
22062
  className: "PaddingLeftS LineHeightXS"
22059
22063
  }, /*#__PURE__*/React.createElement("div", {
22060
22064
  className: "CardText FontWeightMedium"
@@ -22550,7 +22554,8 @@ var SelectWalletDialog = (function (props) {
22550
22554
  className: "PaddingBottomXS PaddingLeftS PaddingRightS"
22551
22555
  }, detectedWallets.filter(function (wallet, index, array) {
22552
22556
  return array.findIndex(function (target) {
22553
- return target.info.name === wallet.info.name;
22557
+ var _target$info, _wallet$info;
22558
+ return (target === null || target === void 0 || (_target$info = target.info) === null || _target$info === void 0 ? void 0 : _target$info.name) === (wallet === null || wallet === void 0 || (_wallet$info = wallet.info) === null || _wallet$info === void 0 ? void 0 : _wallet$info.name);
22554
22559
  }) === index;
22555
22560
  }).map(function (wallet, index) {
22556
22561
  var walletMetaData = allWallets.find(function (walletFromList) {
@@ -26337,9 +26342,9 @@ var ChangePaymentDialog = (function (props) {
26337
26342
  }, "Payment options"), displayedPaymentValue != undefined && /*#__PURE__*/React.createElement("div", {
26338
26343
  className: "FontSizeL TextCenter FontWeightBold"
26339
26344
  }, /*#__PURE__*/React.createElement("strong", null, displayedPaymentValue.toString())), /*#__PURE__*/React.createElement("div", {
26340
- className: "PaddingTopXS"
26345
+ className: "PaddingTopS"
26341
26346
  }, /*#__PURE__*/React.createElement("div", {
26342
- className: "PaddingTopXS PaddingBottomXS TextLeft",
26347
+ className: "TextLeft",
26343
26348
  style: {
26344
26349
  height: "32px"
26345
26350
  }
@@ -26430,12 +26435,11 @@ var ChangePaymentDialog = (function (props) {
26430
26435
  return onChangeSearch(event, fuse, allPaymentOptions);
26431
26436
  }
26432
26437
  }))))),
26433
- bodyClassName: "ScrollHeight",
26434
26438
  bodyRef: listElement,
26435
26439
  body: /*#__PURE__*/React.createElement("div", {
26436
- className: "PaddingTopXS PaddingBottomS"
26440
+ className: "ScrollHeight PaddingTopXS PaddingBottomS"
26437
26441
  }, /*#__PURE__*/React.createElement("div", {
26438
- className: "PaddingLeftM PaddingRightM"
26442
+ className: "PaddingLeftM PaddingRightM PaddingBottomM"
26439
26443
  }, displayedPaymentOptions, displayedPaymentOptions.length === 0 && /*#__PURE__*/React.createElement("div", {
26440
26444
  className: "TextCenter Opacity05 PaddingTopS PaddingBottomS"
26441
26445
  }, /*#__PURE__*/React.createElement("strong", null, "Nothing found for the given search term."), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("strong", null, "Please search for something else.")))),