@rango-dev/ui 0.1.11-next.10 → 0.1.11-next.11

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/ui.esm.js CHANGED
@@ -1504,10 +1504,7 @@ var TypographyContainer = /*#__PURE__*/styled('span', {
1504
1504
  },
1505
1505
  body2: {
1506
1506
  fontSize: '$14',
1507
- fontWeight: '$400',
1508
- '@lg': {
1509
- fontSize: '$16'
1510
- }
1507
+ fontWeight: '$400'
1511
1508
  },
1512
1509
  body3: {
1513
1510
  fontSize: '$12',
@@ -2998,7 +2995,7 @@ function Alert(props) {
2998
2995
  color: type,
2999
2996
  size: 24
3000
2997
  }), React__default.createElement(Spacer, {
3001
- size: 8
2998
+ size: 4
3002
2999
  }))), React__default.createElement("div", {
3003
3000
  style: {
3004
3001
  display: 'flex',
@@ -3012,7 +3009,7 @@ function Alert(props) {
3012
3009
  variant: "title",
3013
3010
  color: type
3014
3011
  }, title), !!children && React__default.createElement(Spacer, {
3015
- size: 8,
3012
+ size: 4,
3016
3013
  direction: "vertical"
3017
3014
  })), children)), props.footer ? React__default.createElement("div", {
3018
3015
  className: "footer"
@@ -4661,21 +4658,21 @@ var SwapMessages = function SwapMessages(props) {
4661
4658
  onClick: props.switchNetwork
4662
4659
  }, "Change network to ", currentStepBlockchain)
4663
4660
  }), !!detailedMessage.content ? React__default.createElement(DetailedMessage, null, React__default.createElement(Typography, {
4664
- variant: "body3"
4661
+ variant: "body2"
4665
4662
  }, shouldShowMoreDetailsButton && !expandedMessage ? detailedMessage.content.substring(0, allowedNumberOfChars) + (allowedNumberOfChars > 0 ? '...' : '') : detailedMessage.content)) : null, !!lastConvertedTokenInFailedSwap && React__default.createElement(React__default.Fragment, null, React__default.createElement("p", null, React__default.createElement(Typography, {
4666
- variant: "body3"
4663
+ variant: "body2"
4667
4664
  }, "Don't worry, your fund is\xA0"), React__default.createElement(SuccessText, {
4668
- variant: "body3"
4665
+ variant: "body2"
4669
4666
  }, React__default.createElement("b", null, "Safe"))), React__default.createElement("p", null, React__default.createElement(Typography, {
4670
- variant: "body3"
4667
+ variant: "body2"
4671
4668
  }, "It is converted to \xA0", React__default.createElement("u", null, lastConvertedTokenInFailedSwap.outputAmount), "\xA0"), React__default.createElement(SuccessText, {
4672
- variant: "body3"
4669
+ variant: "body2"
4673
4670
  }, React__default.createElement("b", null, lastConvertedTokenInFailedSwap.symbol, "\xA0")), React__default.createElement(Typography, {
4674
- variant: "body3"
4671
+ variant: "body2"
4675
4672
  }, "on your\xA0"), React__default.createElement(SuccessText, {
4676
- variant: "body3"
4673
+ variant: "body2"
4677
4674
  }, React__default.createElement("b", null, lastConvertedTokenInFailedSwap.blockchain, "\xA0")), React__default.createElement(Typography, {
4678
- variant: "body3"
4675
+ variant: "body2"
4679
4676
  }, "wallet"))));
4680
4677
  };
4681
4678
 
@@ -4698,7 +4695,8 @@ var SwapperContainer$1 = /*#__PURE__*/styled('div', {
4698
4695
  }
4699
4696
  });
4700
4697
  var FeeContainer = /*#__PURE__*/styled('div', {
4701
- paddingLeft: '$16'
4698
+ paddingLeft: '$16',
4699
+ color: '$neutrals800'
4702
4700
  });
4703
4701
  var Fee = /*#__PURE__*/styled('div', {
4704
4702
  display: 'flex',
@@ -4865,9 +4863,9 @@ function SwapHistory(props) {
4865
4863
  alt: step.swapperId,
4866
4864
  size: 20
4867
4865
  }), React__default.createElement(FeeContainer, null, React__default.createElement(Typography, {
4868
- variant: "caption"
4866
+ variant: "body2"
4869
4867
  }, step.swapperType === 'DEX' ? 'Swap' : 'Bridge', " via", ' ', step.swapperId), React__default.createElement(Fee, null, React__default.createElement(GasIcon, null), React__default.createElement(Typography, {
4870
- variant: "caption"
4868
+ variant: "body2"
4871
4869
  }, "\xA0 $", step.feeInUsd, " estimated gas fee")))), React__default.createElement("div", {
4872
4870
  style: {
4873
4871
  display: 'flex'
@@ -4882,7 +4880,7 @@ function SwapHistory(props) {
4882
4880
  }), React__default.createElement(CheckCircleIcon, {
4883
4881
  color: "primary"
4884
4882
  }), React__default.createElement(Description, {
4885
- variant: "body3"
4883
+ variant: "body2"
4886
4884
  }, React__default.createElement(StyledAnchor, {
4887
4885
  href: item.url,
4888
4886
  target: "_blank",
@@ -4892,7 +4890,7 @@ function SwapHistory(props) {
4892
4890
  })), step.status === 'failed' && React__default.createElement(InternalDetail, null, React__default.createElement(DescriptionContainer, null, React__default.createElement(InfoCircleIcon, {
4893
4891
  color: "error"
4894
4892
  }), React__default.createElement(Description, {
4895
- variant: "body3",
4893
+ variant: "body2",
4896
4894
  color: "$error500"
4897
4895
  }, "Step failed")))))), index + 1 === pendingSwap.steps.length && React__default.createElement(ArrowDown, null), React__default.createElement(StepDetail, {
4898
4896
  logo: step.toLogo,