@rango-dev/ui 0.26.1-next.0 → 0.26.1-next.10

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.
Files changed (196) hide show
  1. package/dist/index.js +6 -6
  2. package/dist/index.js.map +4 -4
  3. package/dist/translations/en.d.ts.map +1 -1
  4. package/dist/translations/es.d.ts.map +1 -1
  5. package/dist/translations/fr.d.ts.map +1 -1
  6. package/dist/translations/ja.d.ts.map +1 -1
  7. package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +16 -0
  8. package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
  9. package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts +4 -0
  10. package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -1
  11. package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.d.ts +8 -0
  12. package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.d.ts.map +1 -1
  13. package/dist/widget/ui/src/components/Button/Button.d.ts +1 -0
  14. package/dist/widget/ui/src/components/Button/Button.d.ts.map +1 -1
  15. package/dist/widget/ui/src/components/Button/Button.styles.d.ts +12 -0
  16. package/dist/widget/ui/src/components/Button/Button.styles.d.ts.map +1 -1
  17. package/dist/widget/ui/src/components/Button/Button.types.d.ts +1 -0
  18. package/dist/widget/ui/src/components/Button/Button.types.d.ts.map +1 -1
  19. package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts +8 -0
  20. package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts.map +1 -1
  21. package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts +16 -0
  22. package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts.map +1 -1
  23. package/dist/widget/ui/src/components/Chip/Chip.styles.d.ts +4 -0
  24. package/dist/widget/ui/src/components/Chip/Chip.styles.d.ts.map +1 -1
  25. package/dist/widget/ui/src/components/Collapsible/Collapsible.styles.d.ts +4 -0
  26. package/dist/widget/ui/src/components/Collapsible/Collapsible.styles.d.ts.map +1 -1
  27. package/dist/widget/ui/src/components/Divider/Divider.d.ts +2 -5
  28. package/dist/widget/ui/src/components/Divider/Divider.d.ts.map +1 -1
  29. package/dist/widget/ui/src/components/Divider/Divider.styles.d.ts +165 -0
  30. package/dist/widget/ui/src/components/Divider/Divider.styles.d.ts.map +1 -0
  31. package/dist/widget/ui/src/components/Divider/Divider.types.d.ts +10 -0
  32. package/dist/widget/ui/src/components/Divider/Divider.types.d.ts.map +1 -0
  33. package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts +20 -0
  34. package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts.map +1 -1
  35. package/dist/widget/ui/src/components/Header/Header.styles.d.ts +8 -0
  36. package/dist/widget/ui/src/components/Header/Header.styles.d.ts.map +1 -1
  37. package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts +4 -0
  38. package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts.map +1 -1
  39. package/dist/widget/ui/src/components/Icon/common.d.ts +8 -0
  40. package/dist/widget/ui/src/components/Icon/common.d.ts.map +1 -1
  41. package/dist/widget/ui/src/components/List/List.styles.d.ts +4 -0
  42. package/dist/widget/ui/src/components/List/List.styles.d.ts.map +1 -1
  43. package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts +4 -0
  44. package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -1
  45. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts +4 -0
  46. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts.map +1 -1
  47. package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.styles.d.ts +4 -0
  48. package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.styles.d.ts.map +1 -1
  49. package/dist/widget/ui/src/components/MessageBox/MessageBox.styles.d.ts +12 -0
  50. package/dist/widget/ui/src/components/MessageBox/MessageBox.styles.d.ts.map +1 -1
  51. package/dist/widget/ui/src/components/Modal/Modal.styles.d.ts +24 -0
  52. package/dist/widget/ui/src/components/Modal/Modal.styles.d.ts.map +1 -1
  53. package/dist/widget/ui/src/components/NotFound/NotFound.styles.d.ts +4 -0
  54. package/dist/widget/ui/src/components/NotFound/NotFound.styles.d.ts.map +1 -1
  55. package/dist/widget/ui/src/components/Popover/Popover.styles.d.ts +8 -0
  56. package/dist/widget/ui/src/components/Popover/Popover.styles.d.ts.map +1 -1
  57. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts.map +1 -1
  58. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts +8 -0
  59. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -1
  60. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts +6 -0
  61. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts.map +1 -1
  62. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts.map +1 -1
  63. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts +16 -0
  64. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +1 -1
  65. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts +4 -0
  66. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts.map +1 -1
  67. package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts +8 -0
  68. package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts.map +1 -1
  69. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.styles.d.ts +16 -0
  70. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
  71. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.d.ts +7 -0
  72. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.d.ts.map +1 -0
  73. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.styles.d.ts +325 -0
  74. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.styles.d.ts.map +1 -0
  75. package/dist/widget/ui/src/components/RefreshProgressButton/index.d.ts +2 -0
  76. package/dist/widget/ui/src/components/RefreshProgressButton/index.d.ts.map +1 -0
  77. package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts +4 -0
  78. package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts.map +1 -1
  79. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts +12 -0
  80. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts.map +1 -1
  81. package/dist/widget/ui/src/components/Skeleton/Skeleton.styles.d.ts +4 -0
  82. package/dist/widget/ui/src/components/Skeleton/Skeleton.styles.d.ts.map +1 -1
  83. package/dist/widget/ui/src/components/StepDetails/StepDetails.d.ts.map +1 -1
  84. package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts +185 -1
  85. package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts.map +1 -1
  86. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts +16 -1
  87. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts.map +1 -1
  88. package/dist/widget/ui/src/components/SvgIcon/SvgIcon.style.d.ts +4 -0
  89. package/dist/widget/ui/src/components/SvgIcon/SvgIcon.style.d.ts.map +1 -1
  90. package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts +4 -0
  91. package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts.map +1 -1
  92. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts.map +1 -1
  93. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.styles.d.ts +24 -0
  94. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.styles.d.ts.map +1 -1
  95. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts +3 -1
  96. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts.map +1 -1
  97. package/dist/widget/ui/src/components/SwapListItem/SwapToken.d.ts.map +1 -1
  98. package/dist/widget/ui/src/components/SwapListItem/SwapToken.styles.d.ts +36 -0
  99. package/dist/widget/ui/src/components/SwapListItem/SwapToken.styles.d.ts.map +1 -1
  100. package/dist/widget/ui/src/components/SwapListItem/SwapToken.types.d.ts +1 -0
  101. package/dist/widget/ui/src/components/SwapListItem/SwapToken.types.d.ts.map +1 -1
  102. package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +1 -1
  103. package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts +8 -0
  104. package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts.map +1 -1
  105. package/dist/widget/ui/src/components/TextField/TextField.d.ts +2 -1
  106. package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
  107. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts +2 -1
  108. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts.map +1 -1
  109. package/dist/widget/ui/src/components/TextField/TextField.styles.d.ts +12 -0
  110. package/dist/widget/ui/src/components/TextField/TextField.styles.d.ts.map +1 -1
  111. package/dist/widget/ui/src/components/TextField/TextField.types.d.ts +3 -1
  112. package/dist/widget/ui/src/components/TextField/TextField.types.d.ts.map +1 -1
  113. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.d.ts.map +1 -1
  114. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts +12 -0
  115. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts.map +1 -1
  116. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts +1 -0
  117. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts.map +1 -1
  118. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  119. package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +15 -1
  120. package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
  121. package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts +6 -0
  122. package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts.map +1 -1
  123. package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts +4 -0
  124. package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts.map +1 -1
  125. package/dist/widget/ui/src/components/Wallet/Wallet.styles.d.ts +20 -0
  126. package/dist/widget/ui/src/components/Wallet/Wallet.styles.d.ts.map +1 -1
  127. package/dist/widget/ui/src/components/common/FilledCircle.d.ts +4 -0
  128. package/dist/widget/ui/src/components/common/FilledCircle.d.ts.map +1 -1
  129. package/dist/widget/ui/src/components/common/Image.d.ts +4 -0
  130. package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -1
  131. package/dist/widget/ui/src/components/common/styles.d.ts +4 -0
  132. package/dist/widget/ui/src/components/common/styles.d.ts.map +1 -1
  133. package/dist/widget/ui/src/components/index.d.ts +1 -0
  134. package/dist/widget/ui/src/components/index.d.ts.map +1 -1
  135. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts +40 -0
  136. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +1 -1
  137. package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
  138. package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +47 -1
  139. package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts.map +1 -1
  140. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +3 -0
  141. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
  142. package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts +21 -0
  143. package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts.map +1 -1
  144. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts +4 -0
  145. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts.map +1 -1
  146. package/dist/widget/ui/src/icons/Height.d.ts +5 -0
  147. package/dist/widget/ui/src/icons/Height.d.ts.map +1 -0
  148. package/dist/widget/ui/src/icons/Key.d.ts +5 -0
  149. package/dist/widget/ui/src/icons/Key.d.ts.map +1 -0
  150. package/dist/widget/ui/src/icons/Refresh.d.ts.map +1 -1
  151. package/dist/widget/ui/src/icons/Width.d.ts +5 -0
  152. package/dist/widget/ui/src/icons/Width.d.ts.map +1 -0
  153. package/dist/widget/ui/src/icons/index.d.ts +3 -0
  154. package/dist/widget/ui/src/icons/index.d.ts.map +1 -1
  155. package/dist/widget/ui/src/theme.d.ts +29 -0
  156. package/dist/widget/ui/src/theme.d.ts.map +1 -1
  157. package/package.json +3 -3
  158. package/src/components/Button/Button.tsx +4 -1
  159. package/src/components/Button/Button.types.tsx +1 -0
  160. package/src/components/Divider/Divider.styles.ts +165 -0
  161. package/src/components/Divider/Divider.tsx +8 -140
  162. package/src/components/Divider/Divider.types.ts +10 -0
  163. package/src/components/PriceImpact/PriceImpact.tsx +26 -8
  164. package/src/components/PriceImpact/PriceImpact.types.ts +7 -0
  165. package/src/components/QuoteCost/QuoteCost.styles.ts +28 -1
  166. package/src/components/QuoteCost/QuoteCost.tsx +28 -8
  167. package/src/components/QuoteCost/QuoteCost.types.ts +4 -0
  168. package/src/components/RefreshProgressButton/RefreshProgressButton.styles.ts +28 -0
  169. package/src/components/RefreshProgressButton/RefreshProgressButton.tsx +70 -0
  170. package/src/components/RefreshProgressButton/index.ts +1 -0
  171. package/src/components/StepDetails/StepDetails.styles.ts +28 -5
  172. package/src/components/StepDetails/StepDetails.tsx +103 -37
  173. package/src/components/StepDetails/StepDetails.types.ts +18 -1
  174. package/src/components/SwapListItem/SwapListItem.tsx +6 -1
  175. package/src/components/SwapListItem/SwapListItem.types.ts +3 -1
  176. package/src/components/SwapListItem/SwapToken.tsx +15 -8
  177. package/src/components/SwapListItem/SwapToken.types.ts +1 -0
  178. package/src/components/SwapListItem/mock.ts +2 -0
  179. package/src/components/Switch/Switch.styles.tsx +7 -0
  180. package/src/components/TextField/TextField.tsx +5 -2
  181. package/src/components/TextField/TextField.types.tsx +3 -1
  182. package/src/components/TokenAmount/TokenAmount.tsx +36 -20
  183. package/src/components/TokenAmount/TokenAmount.types.ts +1 -0
  184. package/src/components/Tooltip/Tooltip.styles.ts +7 -0
  185. package/src/components/Tooltip/Tooltip.tsx +4 -2
  186. package/src/components/Tooltip/Tooltip.types.ts +6 -0
  187. package/src/components/Wallet/Wallet.styles.ts +1 -1
  188. package/src/components/index.ts +1 -0
  189. package/src/containers/SwapInput/SwapInput.tsx +53 -22
  190. package/src/containers/SwapInput/SwapInput.types.ts +3 -0
  191. package/src/icons/Height.tsx +24 -0
  192. package/src/icons/Key.tsx +32 -0
  193. package/src/icons/Refresh.tsx +10 -2
  194. package/src/icons/Width.tsx +29 -0
  195. package/src/icons/index.ts +3 -0
  196. package/src/theme.ts +3 -0
@@ -3,7 +3,13 @@ import type { SwapInputProps } from './SwapInput.types';
3
3
  import { i18n } from '@lingui/core';
4
4
  import React from 'react';
5
5
 
6
- import { Divider, PriceImpact, Skeleton, Typography } from '../../components';
6
+ import {
7
+ Divider,
8
+ PriceImpact,
9
+ Skeleton,
10
+ Tooltip,
11
+ Typography,
12
+ } from '../../components';
7
13
 
8
14
  import {
9
15
  amountStyles,
@@ -77,36 +83,61 @@ export function SwapInput(props: SwapInputProps) {
77
83
  </>
78
84
  ) : (
79
85
  <>
80
- <InputAmount
81
- disabled={props.disabled || props.mode === 'To'}
82
- style={{ padding: 0 }}
83
- value={props.price.value}
84
- type={'onInputChange' in props ? 'number' : 'text'}
85
- size="large"
86
- placeholder="0"
87
- variant="ghost"
88
- min={0}
89
- {...('onInputChange' in props && {
90
- onChange: (event: React.ChangeEvent<HTMLInputElement>) =>
91
- props.onInputChange(event.target.value),
92
- })}
93
- />
86
+ <Tooltip
87
+ content={props.price.realValue}
88
+ container={props.tooltipContainer}
89
+ open={
90
+ !props.price.realValue || props.price.realValue === '0'
91
+ ? false
92
+ : undefined
93
+ }>
94
+ <InputAmount
95
+ disabled={props.disabled || props.mode === 'To'}
96
+ style={{ padding: 0 }}
97
+ value={props.price.value}
98
+ type={'onInputChange' in props ? 'number' : 'text'}
99
+ size="large"
100
+ placeholder="0"
101
+ variant="ghost"
102
+ min={0}
103
+ {...('onInputChange' in props && {
104
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) =>
105
+ props.onInputChange(event.target.value),
106
+ })}
107
+ />
108
+ </Tooltip>
94
109
  {'percentageChange' in props ? (
95
110
  <PriceImpact
96
111
  size="large"
112
+ tooltipProps={{
113
+ container: props.tooltipContainer,
114
+ side: 'bottom',
115
+ }}
97
116
  outputUsdValue={props.price.usdValue}
117
+ realOutputUsdValue={props.price.realUsdValue}
98
118
  error={props.price.error}
99
119
  percentageChange={props.percentageChange}
100
120
  warningLevel={props.warningLevel}
101
121
  />
102
122
  ) : (
103
- <ValueTypography hasWarning={!!props.price.error}>
104
- <UsdPrice variant="body" size="medium">
105
- {props.price.usdValue
106
- ? `~$${props.price.usdValue}`
107
- : props.price.error}
108
- </UsdPrice>
109
- </ValueTypography>
123
+ <Tooltip
124
+ content={props.price.realUsdValue}
125
+ container={props.tooltipContainer}
126
+ open={
127
+ !props.price.realUsdValue ||
128
+ props.price.realUsdValue === '0'
129
+ ? false
130
+ : undefined
131
+ }
132
+ side="bottom">
133
+ <ValueTypography hasWarning={!!props.price.error}>
134
+ <UsdPrice variant="body" size="medium">
135
+ {props.price.usdValue
136
+ ? `~$${props.price.usdValue}`
137
+ : props.price.error}
138
+ </UsdPrice>
139
+ </ValueTypography>
140
+ </Tooltip>
110
141
  )}
111
142
  </>
112
143
  )}
@@ -12,6 +12,8 @@ export type BaseProps = {
12
12
  price: {
13
13
  value: string;
14
14
  usdValue?: string;
15
+ realValue?: string;
16
+ realUsdValue?: string;
15
17
  error?: string;
16
18
  };
17
19
  loading?: boolean;
@@ -20,6 +22,7 @@ export type BaseProps = {
20
22
  label: string;
21
23
  sharpBottomStyle?: boolean;
22
24
  onClickToken: () => void;
25
+ tooltipContainer?: HTMLElement;
23
26
  };
24
27
 
25
28
  type FromProps = {
@@ -0,0 +1,24 @@
1
+ import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
2
+
3
+ import React, { createElement } from 'react';
4
+
5
+ import { SvgIcon } from '../components/SvgIcon';
6
+
7
+ function SvgHeight(props: SvgIconPropsWithChildren) {
8
+ return createElement(
9
+ SvgIcon,
10
+ props,
11
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
12
+ <g id="Height">
13
+ <path
14
+ id="Height_2"
15
+ fillRule="evenodd"
16
+ clipRule="evenodd"
17
+ d="M12.3807 23.7933C12.1204 24.0689 11.6983 24.0689 11.4379 23.7933L7.19526 19.301C6.93491 19.0254 6.93491 18.5784 7.19526 18.3028C7.45561 18.0271 7.87772 18.0271 8.13807 18.3028L11.2426 21.59V2.41003L8.13807 5.69723C7.87772 5.97289 7.45561 5.97289 7.19526 5.69723C6.93491 5.42156 6.93491 4.97462 7.19526 4.69896L11.4379 0.206747C11.6983 -0.0689157 12.1204 -0.0689157 12.3807 0.206747L16.6234 4.69896C16.8837 4.97462 16.8837 5.42156 16.6234 5.69723C16.363 5.97289 15.9409 5.97289 15.6805 5.69723L12.576 2.41003V21.59L15.6805 18.3028C15.9409 18.0271 16.363 18.0271 16.6234 18.3028C16.8837 18.5784 16.8837 19.0254 16.6234 19.301L12.3807 23.7933Z"
18
+ fill="currentColor"
19
+ />
20
+ </g>
21
+ </svg>
22
+ );
23
+ }
24
+ export default SvgHeight;
@@ -0,0 +1,32 @@
1
+ import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
2
+
3
+ import React, { createElement } from 'react';
4
+
5
+ import { SvgIcon } from '../components/SvgIcon';
6
+
7
+ function SvgKey(props: SvgIconPropsWithChildren) {
8
+ return createElement(
9
+ SvgIcon,
10
+ props,
11
+ <svg viewBox="0 0 12 13" xmlns="http://www.w3.org/2000/svg">
12
+ <g id="key">
13
+ <path
14
+ id="Vector"
15
+ d="M3.26028 12.4995C3.20753 12.4995 3.1495 12.4942 3.10203 12.489L1.95736 12.3307C1.40876 12.2569 0.912912 11.7663 0.828513 11.2072L0.670263 10.052C0.617513 9.68278 0.775763 9.20278 1.03951 8.93377L3.35523 6.61815C2.98071 5.12011 3.41325 3.53768 4.51573 2.44581C6.22482 0.742057 9.00473 0.736782 10.7191 2.44581C11.5473 3.27394 12.0009 4.37637 12.0009 5.54737C12.0009 6.71837 11.5473 7.82079 10.7191 8.64893C9.61136 9.74608 8.03414 10.1786 6.54659 9.79883L4.2256 12.1144C4.00405 12.3465 3.60843 12.4995 3.26028 12.4995ZM7.61214 1.95525C6.68902 1.95525 5.77117 2.30339 5.0696 3.00493C4.1201 3.94911 3.77723 5.3311 4.17285 6.61815C4.21505 6.76056 4.17813 6.90826 4.07263 7.01375L1.59338 9.49289C1.50371 9.58256 1.42986 9.81465 1.44569 9.93597L1.60393 11.0911C1.63558 11.2916 1.85186 11.5184 2.05231 11.5448L3.20225 11.703C3.32885 11.7241 3.56095 11.6503 3.65063 11.5606L6.14042 9.07619C6.24592 8.97069 6.39889 8.93904 6.53604 8.98124C7.80731 9.38212 9.19463 9.03926 10.1441 8.0898C10.8193 7.41463 11.1939 6.50737 11.1939 5.54737C11.1939 4.58209 10.8193 3.6801 10.1441 3.00493C9.45838 2.30866 8.53526 1.95525 7.61214 1.95525Z"
16
+ fill="#727272"
17
+ />
18
+ <path
19
+ id="Vector_2"
20
+ d="M4.84974 11.3351C4.74951 11.3351 4.64929 11.2982 4.57016 11.2191L3.35692 10.0059C3.20394 9.85291 3.20394 9.59973 3.35692 9.44676C3.50989 9.29379 3.76309 9.29379 3.91607 9.44676L5.12931 10.66C5.28229 10.8129 5.28229 11.0661 5.12931 11.2191C5.05019 11.2982 4.94996 11.3351 4.84974 11.3351Z"
21
+ fill="#727272"
22
+ />
23
+ <path
24
+ id="Vector_3"
25
+ d="M7.64781 6.69786C6.99371 6.69786 6.46094 6.16511 6.46094 5.51104C6.46094 4.85697 6.99371 4.32422 7.64781 4.32422C8.30191 4.32422 8.83468 4.85697 8.83468 5.51104C8.83468 6.16511 8.30191 6.69786 7.64781 6.69786ZM7.64781 5.11543C7.43153 5.11543 7.25218 5.29478 7.25218 5.51104C7.25218 5.72731 7.43153 5.90665 7.64781 5.90665C7.86408 5.90665 8.04343 5.72731 8.04343 5.51104C8.04343 5.29478 7.86408 5.11543 7.64781 5.11543Z"
26
+ fill="#727272"
27
+ />
28
+ </g>
29
+ </svg>
30
+ );
31
+ }
32
+ export default SvgKey;
@@ -8,9 +8,17 @@ function SvgRefresh(props: SvgIconPropsWithChildren) {
8
8
  return createElement(
9
9
  SvgIcon,
10
10
  props,
11
- <svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg">
11
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
12
12
  <path
13
- d="M12.4546 0C15.6794 0 18.7049 1.27949 20.9399 3.51478C21.3431 3.9179 21.7166 4.34848 22.0576 4.80302L22.0546 2.40003C22.0546 1.78465 22.5179 1.27739 23.1147 1.20809L23.2546 1.20006C23.87 1.20006 24.3773 1.6633 24.4466 2.26008L24.4546 2.40003V8.4C24.4546 9.01539 23.9913 9.52264 23.3946 9.59194L23.2546 9.59998H17.2546C16.5919 9.59998 16.0546 9.06277 16.0546 8.39998C16.0546 7.7846 16.5179 7.27735 17.1147 7.20805L17.2546 7.20001L20.7707 7.20035C20.3512 6.47529 19.8376 5.80651 19.2428 5.21187C17.4533 3.42225 15.0365 2.40007 12.4547 2.40007C7.15284 2.40007 2.85471 6.69819 2.85471 12C2.85471 17.3019 7.15284 21.6 12.4547 21.6C15.0365 21.6 17.4535 20.5777 19.2428 18.7882C20.1344 17.8967 20.8439 16.8385 21.3267 15.6744C21.5668 15.0954 21.7496 14.4933 21.8718 13.8749C22.0006 13.2247 22.6318 12.802 23.2819 12.9305C23.9321 13.0591 24.3548 13.6904 24.2262 14.3406C24.0731 15.1149 23.8442 15.8689 23.5437 16.5936C22.9398 18.0497 22.0533 19.3719 20.9398 20.4852C18.7047 22.7205 15.6795 24 12.4545 24C5.82714 24 0.45459 18.6275 0.45459 12.0001C0.45459 5.37267 5.82719 0 12.4546 0Z"
13
+ d="M6.29926 18.2997C2.82191 15.1563 2.5569 9.7767 5.6942 6.30604C8.8315 2.83538 14.2165 2.55094 17.6939 5.69429C18.4094 6.34109 19.0142 7.07007 19.4955 7.88186C19.6905 8.2039 19.5837 8.61775 19.2617 8.8127C18.9396 9.00765 18.5258 8.90088 18.3308 8.57884C17.9196 7.89116 17.4024 7.2535 16.7871 6.69737C13.8648 4.05575 9.34494 4.28377 6.70333 7.20608C4.06171 10.1284 4.28973 14.6483 7.21204 17.2899C10.1343 19.9315 14.6542 19.7035 17.2959 16.7812C18.251 15.7246 18.8622 14.4301 19.0662 13.0348C19.1179 12.6684 19.4622 12.4086 19.8353 12.4663C20.2017 12.518 20.4616 12.8623 20.4038 13.2354C20.1624 14.9006 19.436 16.4435 18.2996 17.7007C15.1556 21.1653 9.77661 21.443 6.29926 18.2997Z"
14
+ fill="currentColor"
15
+ />
16
+ <path
17
+ d="M19.2696 9.6089C19.1207 9.49207 19.0218 9.31141 19.01 9.10738L18.807 5.14476C18.788 4.77467 19.0763 4.45089 19.4464 4.43183C19.8165 4.41278 20.1402 4.70108 20.1593 5.07117L20.3622 9.0338C20.3813 9.40389 20.093 9.72767 19.7229 9.74672C19.5584 9.76661 19.3973 9.70903 19.2696 9.6089Z"
18
+ fill="currentColor"
19
+ />
20
+ <path
21
+ d="M15.5108 9.47903C15.3476 9.35108 15.2457 9.14511 15.2505 8.9198C15.2639 8.55221 15.575 8.25778 15.9482 8.26404L19.707 8.3939C20.0802 8.40016 20.3691 8.71837 20.3628 9.09152C20.3565 9.46466 20.0383 9.75353 19.6652 9.74728L15.9007 9.62451C15.7529 9.62312 15.6243 9.56804 15.5108 9.47903Z"
14
22
  fill="currentColor"
15
23
  />
16
24
  </svg>
@@ -0,0 +1,29 @@
1
+ import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
2
+
3
+ import React, { createElement } from 'react';
4
+
5
+ import { SvgIcon } from '../components/SvgIcon';
6
+
7
+ function SvgWidth(props: SvgIconPropsWithChildren) {
8
+ return createElement(
9
+ SvgIcon,
10
+ props,
11
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
12
+ <g id="Width" clipPath="url(#clip0_5933_20072)">
13
+ <path
14
+ id="Width_2"
15
+ fillRule="evenodd"
16
+ clipRule="evenodd"
17
+ d="M0.206748 12.0355C-0.0689161 11.8403 -0.0689161 11.5237 0.206748 11.3284L4.69896 8.14645C4.97462 7.95118 5.42156 7.95118 5.69722 8.14645C5.97289 8.34171 5.97289 8.65829 5.69722 8.85355L2.41003 11.182H21.59L18.3028 8.85355C18.0271 8.65829 18.0271 8.34171 18.3028 8.14645C18.5784 7.95118 19.0254 7.95118 19.301 8.14645L23.7933 11.3284C24.0689 11.5237 24.0689 11.8403 23.7933 12.0355L19.301 15.2175C19.0254 15.4128 18.5784 15.4128 18.3028 15.2175C18.0271 15.0223 18.0271 14.7057 18.3028 14.5104L21.59 12.182H2.41003L5.69722 14.5104C5.97289 14.7057 5.97289 15.0223 5.69722 15.2175C5.42156 15.4128 4.97462 15.4128 4.69896 15.2175L0.206748 12.0355Z"
18
+ fill="currentColor"
19
+ />
20
+ </g>
21
+ <defs>
22
+ <clipPath id="clip0_5933_20072">
23
+ <rect width={24} height={24} fill="white" />
24
+ </clipPath>
25
+ </defs>
26
+ </svg>
27
+ );
28
+ }
29
+ export default SvgWidth;
@@ -18,6 +18,7 @@ export { default as ErrorIcon } from './Error';
18
18
  export { default as ExternalLinkIcon } from './ExternalLink';
19
19
  export { default as FontIcon } from './Font';
20
20
  export { default as GasIcon } from './Gas';
21
+ export { default as HeightIcon } from './Height';
21
22
  export { default as InProgressIcon } from './InProgress';
22
23
  export { default as InfoErrorIcon } from './InfoError';
23
24
  export { default as InfoIcon } from './Info';
@@ -43,7 +44,9 @@ export { default as TransactionIcon } from './Transaction';
43
44
  export { default as UtxoCategoryIcon } from './UtxoCategory';
44
45
  export { default as WalletIcon } from './Wallet';
45
46
  export { default as WarningIcon } from './Warning';
47
+ export { default as WidthIcon } from './Width';
46
48
  export { default as ChainsIcon } from './Chains';
47
49
  export { default as ColorsIcon } from './Colors';
50
+ export { default as KeyIcon } from './Key';
48
51
  export { default as SettingsIcon } from './Settings';
49
52
  export { default as StyleIcon } from './Style';
package/src/theme.ts CHANGED
@@ -147,12 +147,14 @@ export const theme = {
147
147
  4: '4px',
148
148
  6: '6px',
149
149
  8: '8px',
150
+ 10: '10px',
150
151
  12: '12px',
151
152
  16: '16px',
152
153
  18: '18px',
153
154
  20: '20px',
154
155
  24: '24px',
155
156
  28: '28px',
157
+ 30: '30px',
156
158
  32: '32px',
157
159
  36: '36px',
158
160
  40: '40px',
@@ -168,6 +170,7 @@ export const theme = {
168
170
  transitions: {},
169
171
  };
170
172
  const media = {
173
+ xs: '(min-width: 375px)',
171
174
  sm: '(min-width: 640px)',
172
175
  md: '(min-width: 768px)',
173
176
  lg: '(min-width: 1024px)',