@rango-dev/ui 0.1.10-next.74 → 0.1.10-next.76

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 (87) hide show
  1. package/dist/components/Icon/AddCircleIcon.d.ts +1 -1
  2. package/dist/components/Icon/AddIcon.d.ts +1 -1
  3. package/dist/components/Icon/AddWalletIcon.d.ts +1 -1
  4. package/dist/components/Icon/AngleDownIcon.d.ts +2 -2
  5. package/dist/components/Icon/AngleLeftIcon.d.ts +1 -1
  6. package/dist/components/Icon/AngleRightIcon.d.ts +1 -1
  7. package/dist/components/Icon/AngleUpIcon.d.ts +1 -1
  8. package/dist/components/Icon/BagIcon.d.ts +1 -1
  9. package/dist/components/Icon/BanIcon.d.ts +1 -1
  10. package/dist/components/Icon/CheckCircleIcon.d.ts +1 -1
  11. package/dist/components/Icon/CheckIcon.d.ts +1 -1
  12. package/dist/components/Icon/CheckSquareIcon.d.ts +1 -1
  13. package/dist/components/Icon/CheckWalletIcon.d.ts +1 -1
  14. package/dist/components/Icon/DeleteCircleIcon.d.ts +1 -1
  15. package/dist/components/Icon/DeleteWalletIcon.d.ts +1 -1
  16. package/dist/components/Icon/DownloadIcon.d.ts +1 -1
  17. package/dist/components/Icon/GasIcon.d.ts +1 -1
  18. package/dist/components/Icon/HistoryIcon.d.ts +1 -1
  19. package/dist/components/Icon/HorizontalSwapIcon.d.ts +1 -1
  20. package/dist/components/Icon/Icons.stories.d.ts +1 -2
  21. package/dist/components/Icon/InfoCircleIcon.d.ts +1 -1
  22. package/dist/components/Icon/MinusCircleIcon.d.ts +1 -1
  23. package/dist/components/Icon/RetryLeftIcon.d.ts +1 -1
  24. package/dist/components/Icon/RetryRightIcon.d.ts +1 -1
  25. package/dist/components/Icon/SearchIcon.d.ts +1 -1
  26. package/dist/components/Icon/SearchMinusIcon.d.ts +1 -1
  27. package/dist/components/Icon/SettingIcon.d.ts +1 -1
  28. package/dist/components/Icon/SignatureIcon.d.ts +1 -1
  29. package/dist/components/Icon/SwapWalletIcon.d.ts +1 -1
  30. package/dist/components/Icon/TrashIcon.d.ts +1 -1
  31. package/dist/components/Icon/TryAgainIcon.d.ts +1 -1
  32. package/dist/components/Icon/VerticalSwapIcon.d.ts +1 -1
  33. package/dist/components/Icon/WalletIconIcon.d.ts +1 -1
  34. package/dist/components/Icon/WarningIcon.d.ts +1 -1
  35. package/dist/components/TextField/TextField.stories.d.ts +1 -1
  36. package/dist/containers/ConfirmWallets/types.d.ts +1 -0
  37. package/dist/ui.cjs.development.js +108 -84
  38. package/dist/ui.cjs.development.js.map +1 -1
  39. package/dist/ui.cjs.production.min.js +1 -1
  40. package/dist/ui.cjs.production.min.js.map +1 -1
  41. package/dist/ui.esm.js +109 -85
  42. package/dist/ui.esm.js.map +1 -1
  43. package/package.json +2 -3
  44. package/src/components/Alert/Alert.tsx +9 -5
  45. package/src/components/BestRoute/BestRoute.tsx +3 -3
  46. package/src/components/Icon/AddCircleIcon.tsx +25 -23
  47. package/src/components/Icon/AddIcon.tsx +26 -23
  48. package/src/components/Icon/AddWalletIcon.tsx +44 -42
  49. package/src/components/Icon/AngleDownIcon.tsx +24 -24
  50. package/src/components/Icon/AngleLeftIcon.tsx +26 -24
  51. package/src/components/Icon/AngleRightIcon.tsx +26 -24
  52. package/src/components/Icon/AngleUpIcon.tsx +26 -24
  53. package/src/components/Icon/BagIcon.tsx +33 -31
  54. package/src/components/Icon/BanIcon.tsx +26 -24
  55. package/src/components/Icon/CheckCircleIcon.tsx +33 -31
  56. package/src/components/Icon/CheckIcon.tsx +24 -22
  57. package/src/components/Icon/CheckSquareIcon.tsx +31 -29
  58. package/src/components/Icon/CheckWalletIcon.tsx +39 -37
  59. package/src/components/Icon/DeleteCircleIcon.tsx +25 -23
  60. package/src/components/Icon/DeleteWalletIcon.tsx +44 -42
  61. package/src/components/Icon/DownloadIcon.tsx +31 -29
  62. package/src/components/Icon/GasIcon.tsx +31 -29
  63. package/src/components/Icon/HistoryIcon.tsx +34 -32
  64. package/src/components/Icon/HorizontalSwapIcon.tsx +33 -31
  65. package/src/components/Icon/InfoCircleIcon.tsx +33 -31
  66. package/src/components/Icon/MinusCircleIcon.tsx +25 -23
  67. package/src/components/Icon/RetryLeftIcon.tsx +25 -23
  68. package/src/components/Icon/RetryRightIcon.tsx +25 -23
  69. package/src/components/Icon/SearchIcon.tsx +25 -23
  70. package/src/components/Icon/SearchMinusIcon.tsx +25 -23
  71. package/src/components/Icon/SettingIcon.tsx +33 -31
  72. package/src/components/Icon/SignatureIcon.tsx +26 -24
  73. package/src/components/Icon/SwapWalletIcon.tsx +44 -42
  74. package/src/components/Icon/TrashIcon.tsx +25 -23
  75. package/src/components/Icon/TryAgainIcon.tsx +25 -23
  76. package/src/components/Icon/VerticalSwapIcon.tsx +32 -30
  77. package/src/components/Icon/WalletIconIcon.tsx +34 -32
  78. package/src/components/Icon/WarningIcon.tsx +31 -29
  79. package/src/components/Radio/Radio.tsx +2 -2
  80. package/src/components/SelectableWalletList/SelectableWalletList.tsx +2 -1
  81. package/src/components/Tooltip/Tooltip.tsx +7 -1
  82. package/src/components/Typography/Typography.tsx +1 -0
  83. package/src/containers/ConfirmSwap/ConfirmSwap.tsx +3 -3
  84. package/src/containers/ConfirmWallets/ConfirmWallets.tsx +1 -1
  85. package/src/containers/ConfirmWallets/types.ts +1 -0
  86. package/src/containers/History/History.tsx +4 -3
  87. package/src/containers/SwapHistory/SwapHistory.tsx +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.1.10-next.74",
3
+ "version": "0.1.10-next.76",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -86,6 +86,5 @@
86
86
  },
87
87
  "publishConfig": {
88
88
  "access": "public"
89
- },
90
- "gitHead": "038334e680f1172e7e861689eec7ca7b385f0a92"
89
+ }
91
90
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { CheckCircleIcon, InfoCircleIcon, WarningIcon } from '../Icon';
3
3
  import { Typography } from '../Typography';
4
- import { styled } from '../../theme';
4
+ import { darkTheme, styled } from '../../theme';
5
5
 
6
6
  const MainContainer = styled('div', {
7
7
  display: 'flex',
@@ -21,7 +21,7 @@ const MainContainer = styled('div', {
21
21
  backgroundColor: '$success300',
22
22
  },
23
23
  warning: {
24
- backgroundColor: '$warning300',
24
+ backgroundColor: '$warning500',
25
25
  },
26
26
  error: {
27
27
  backgroundColor: '$error300',
@@ -43,6 +43,10 @@ const IconContainer = styled('div', {
43
43
  marginRight: '$24',
44
44
  });
45
45
 
46
+ const StyledTypography = styled(Typography, {
47
+ color: darkTheme.colors.foreground.value,
48
+ });
49
+
46
50
  export interface PropTypes {
47
51
  type: 'primary' | 'secondary' | 'success' | 'warning' | 'error';
48
52
  description: string;
@@ -61,17 +65,17 @@ export function Alert(props: PropTypes) {
61
65
  {showIcon && (
62
66
  <IconContainer>
63
67
  {type === 'success' && <CheckCircleIcon color="success" size={28} />}
64
- {type === 'warning' && <WarningIcon size={28} />}
68
+ {type === 'warning' && <WarningIcon color="white" size={28} />}
65
69
  {type === 'error' && <InfoCircleIcon color="error" size={28} />}
66
70
  </IconContainer>
67
71
  )}
68
72
  <ContentContainer>
69
73
  {title && (
70
74
  <TitleContainer>
71
- <Typography variant="h6">{title}</Typography>
75
+ <StyledTypography variant="h6">{title}</StyledTypography>
72
76
  </TitleContainer>
73
77
  )}
74
- <Typography variant="body2">{description}</Typography>
78
+ <StyledTypography variant="body2">{description}</StyledTypography>
75
79
  </ContentContainer>
76
80
  </MainContainer>
77
81
  );
@@ -1,4 +1,4 @@
1
- import React, { PropsWithChildren } from 'react';
1
+ import React, { Fragment, PropsWithChildren } from 'react';
2
2
  import { GasIcon, TimeIcon } from '../../components/Icon';
3
3
  import { StepDetail } from '../../components/StepDetail';
4
4
  import { Typography } from '../../components/Typography';
@@ -149,7 +149,7 @@ export function BestRoute({
149
149
 
150
150
  {!!data &&
151
151
  data.result?.swaps.map((swap, index) => (
152
- <>
152
+ <Fragment key={index}>
153
153
  {index === 0 && (
154
154
  <RelativeContainer>
155
155
  <StepDetail
@@ -178,7 +178,7 @@ export function BestRoute({
178
178
  blockchain={swap.to.blockchain}
179
179
  amount={swap.toAmount}
180
180
  />
181
- </>
181
+ </Fragment>
182
182
  ))}
183
183
  {!!data && !data?.result && (
184
184
  <Typography variant="body2">No routes found</Typography>
@@ -2,28 +2,30 @@ import * as React from 'react';
2
2
  import { SvgWithStrokeColor } from './common';
3
3
  import { IconProps } from './types';
4
4
 
5
- export const AddCircleIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithStrokeColor
9
- width={size}
10
- height={size}
11
- viewBox="0 0 24 24"
12
- color={color}
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- className="_icon"
16
- {...props}
17
- >
18
- <path
19
- d="M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM8 12h8M12 16V8"
20
- strokeWidth={1.5}
21
- strokeLinecap="round"
22
- strokeLinejoin="round"
23
- />
24
- </SvgWithStrokeColor>
25
- );
26
- }
27
- );
5
+ export const AddCircleIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => {
10
+ return (
11
+ <SvgWithStrokeColor
12
+ width={size}
13
+ height={size}
14
+ viewBox="0 0 24 24"
15
+ color={color}
16
+ fill="none"
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ className="_icon"
19
+ {...props}
20
+ >
21
+ <path
22
+ d="M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM8 12h8M12 16V8"
23
+ strokeWidth={1.5}
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ />
27
+ </SvgWithStrokeColor>
28
+ );
29
+ };
28
30
 
29
31
  AddCircleIcon.toString = () => '._icon';
@@ -2,27 +2,30 @@ import * as React from 'react';
2
2
  import { SvgWithStrokeColor } from './common';
3
3
  import { IconProps } from './types';
4
4
 
5
- export const AddIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithStrokeColor
9
- width={size}
10
- height={size}
11
- viewBox="0 0 24 24"
12
- color={color}
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- className="_icon"
16
- {...props}
17
- >
18
- <path
19
- d="M6 12h12M12 18V6"
20
- strokeWidth={1.5}
21
- strokeLinecap="round"
22
- strokeLinejoin="round"
23
- />
24
- </SvgWithStrokeColor>
25
- );
26
- }
27
- );
5
+ export const AddIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => {
10
+ return (
11
+ <SvgWithStrokeColor
12
+ width={size}
13
+ height={size}
14
+ viewBox="0 0 24 24"
15
+ color={color}
16
+ fill="none"
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ className="_icon"
19
+ {...props}
20
+ >
21
+ <path
22
+ d="M6 12h12M12 18V6"
23
+ strokeWidth={1.5}
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ />
27
+ </SvgWithStrokeColor>
28
+ );
29
+ };
30
+
28
31
  AddIcon.toString = () => '._icon';
@@ -2,47 +2,49 @@ import * as React from 'react';
2
2
  import { SvgWithFillColor } from './common';
3
3
  import { IconProps } from './types';
4
4
 
5
- export const AddWalletIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithFillColor
9
- width={size}
10
- height={size}
11
- viewBox="0 0 24 24"
12
- color={color}
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- className="_icon"
16
- {...props}
17
- >
18
- <path
19
- fillRule="evenodd"
20
- clipRule="evenodd"
21
- d="M6.569 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.206 1.579-.574 2.25h8.564a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.569Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.014.014c-.266.26-.414.63-.377 1.022l.001.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H7.939a.75.75 0 0 1-.482-1.324c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-5.283-2.533.75.75 0 0 1-1.217-.587v-4.37Z"
22
- />
23
- <path
24
- fillRule="evenodd"
25
- clipRule="evenodd"
26
- d="M14.409 2.655a1.15 1.15 0 0 0-1.555-1.078l-7.94 3a2.098 2.098 0 0 0-1.355 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.921-2.84 2.324-3.371l7.94-3c1.733-.657 3.586.629 3.586 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.787 12.405c-.359 0-.674.14-.902.374l-.014.013c-.266.26-.414.63-.377 1.022v.01c.054.634.664 1.181 1.413 1.181h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.777-1.03-2.907-2.553a2.759 2.759 0 0 1 .817-2.227Z"
27
- />
28
- <path
29
- fillRule="evenodd"
30
- clipRule="evenodd"
31
- d="M6.559 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.309 14.455c-.762 0-1.469.267-2.033.717h-.001a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.184.468 1.667l.006.01a3.22 3.22 0 0 0 2.776 1.573 3.155 3.155 0 0 0 2.148-.824c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-3.25-3.25Zm-2.967-.457a4.749 4.749 0 0 1 7.717 3.707c0 .888-.248 1.73-.687 2.446-.25.427-.57.808-.941 1.12a4.656 4.656 0 0 1-3.122 1.184 4.72 4.72 0 0 1-4.062-2.301 4.671 4.671 0 0 1-.688-2.449 4.72 4.72 0 0 1 1.783-3.707Z"
32
- />
33
- <path
34
- fillRule="evenodd"
35
- clipRule="evenodd"
36
- d="M3.07 17.685a.75.75 0 0 1 .75-.75H6.8a.75.75 0 0 1 0 1.5H3.82a.75.75 0 0 1-.75-.75Z"
37
- />
38
- <path
39
- fillRule="evenodd"
40
- clipRule="evenodd"
41
- d="M5.309 15.475a.75.75 0 0 1 .75.75v2.99a.75.75 0 0 1-1.5 0v-2.99a.75.75 0 0 1 .75-.75Z"
42
- />
43
- </SvgWithFillColor>
44
- );
45
- }
46
- );
5
+ export const AddWalletIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => {
10
+ return (
11
+ <SvgWithFillColor
12
+ width={size}
13
+ height={size}
14
+ viewBox="0 0 24 24"
15
+ color={color}
16
+ fill="none"
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ className="_icon"
19
+ {...props}
20
+ >
21
+ <path
22
+ fillRule="evenodd"
23
+ clipRule="evenodd"
24
+ d="M6.569 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.206 1.579-.574 2.25h8.564a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.569Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.014.014c-.266.26-.414.63-.377 1.022l.001.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H7.939a.75.75 0 0 1-.482-1.324c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-5.283-2.533.75.75 0 0 1-1.217-.587v-4.37Z"
25
+ />
26
+ <path
27
+ fillRule="evenodd"
28
+ clipRule="evenodd"
29
+ d="M14.409 2.655a1.15 1.15 0 0 0-1.555-1.078l-7.94 3a2.098 2.098 0 0 0-1.355 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.921-2.84 2.324-3.371l7.94-3c1.733-.657 3.586.629 3.586 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.787 12.405c-.359 0-.674.14-.902.374l-.014.013c-.266.26-.414.63-.377 1.022v.01c.054.634.664 1.181 1.413 1.181h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.777-1.03-2.907-2.553a2.759 2.759 0 0 1 .817-2.227Z"
30
+ />
31
+ <path
32
+ fillRule="evenodd"
33
+ clipRule="evenodd"
34
+ d="M6.559 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.309 14.455c-.762 0-1.469.267-2.033.717h-.001a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.184.468 1.667l.006.01a3.22 3.22 0 0 0 2.776 1.573 3.155 3.155 0 0 0 2.148-.824c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-3.25-3.25Zm-2.967-.457a4.749 4.749 0 0 1 7.717 3.707c0 .888-.248 1.73-.687 2.446-.25.427-.57.808-.941 1.12a4.656 4.656 0 0 1-3.122 1.184 4.72 4.72 0 0 1-4.062-2.301 4.671 4.671 0 0 1-.688-2.449 4.72 4.72 0 0 1 1.783-3.707Z"
35
+ />
36
+ <path
37
+ fillRule="evenodd"
38
+ clipRule="evenodd"
39
+ d="M3.07 17.685a.75.75 0 0 1 .75-.75H6.8a.75.75 0 0 1 0 1.5H3.82a.75.75 0 0 1-.75-.75Z"
40
+ />
41
+ <path
42
+ fillRule="evenodd"
43
+ clipRule="evenodd"
44
+ d="M5.309 15.475a.75.75 0 0 1 .75.75v2.99a.75.75 0 0 1-1.5 0v-2.99a.75.75 0 0 1 .75-.75Z"
45
+ />
46
+ </SvgWithFillColor>
47
+ );
48
+ };
47
49
 
48
50
  AddWalletIcon.toString = () => '._icon';
@@ -1,30 +1,30 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { IconProps } from './types';
3
3
  import { SvgWithStrokeColor } from './common';
4
4
 
5
- export const AngleDownIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithStrokeColor
9
- width={size}
10
- height={size}
11
- viewBox="0 0 24 24"
12
- color={color}
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- className="_icon"
16
- {...props}
17
- >
18
- <path
19
- d="m19.92 8.95-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"
20
- strokeWidth={1.5}
21
- strokeMiterlimit={10}
22
- strokeLinecap="round"
23
- strokeLinejoin="round"
24
- />
25
- </SvgWithStrokeColor>
26
- );
27
- }
5
+ export const AngleDownIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => (
10
+ <SvgWithStrokeColor
11
+ width={size}
12
+ height={size}
13
+ viewBox="0 0 24 24"
14
+ color={color}
15
+ fill="none"
16
+ xmlns="http://www.w3.org/2000/svg"
17
+ className="_icon"
18
+ {...props}
19
+ >
20
+ <path
21
+ d="m19.92 8.95-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"
22
+ strokeWidth={1.5}
23
+ strokeMiterlimit={10}
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ />
27
+ </SvgWithStrokeColor>
28
28
  );
29
29
 
30
30
  AngleDownIcon.toString = () => '._icon';
@@ -3,29 +3,31 @@ import { IconProps } from './types';
3
3
  import { SvgWithStrokeColor } from './common';
4
4
  import { AngleDownIcon } from './AngleDownIcon';
5
5
 
6
- export const AngleLeftIcon = React.forwardRef<SVGSVGElement, IconProps>(
7
- ({ size = 16, color, ...props }) => {
8
- return (
9
- <SvgWithStrokeColor
10
- width={size}
11
- height={size}
12
- fill="none"
13
- viewBox="0 0 24 24"
14
- color={color}
15
- xmlns="http://www.w3.org/2000/svg"
16
- className="_icon"
17
- {...props}
18
- >
19
- <path
20
- d="M15 19.92 8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08"
21
- strokeWidth={1.5}
22
- strokeMiterlimit={10}
23
- strokeLinecap="round"
24
- strokeLinejoin="round"
25
- />
26
- </SvgWithStrokeColor>
27
- );
28
- }
29
- );
6
+ export const AngleLeftIcon: React.FC<IconProps> = ({
7
+ size = 16,
8
+ color,
9
+ ...props
10
+ }) => {
11
+ return (
12
+ <SvgWithStrokeColor
13
+ width={size}
14
+ height={size}
15
+ fill="none"
16
+ viewBox="0 0 24 24"
17
+ color={color}
18
+ xmlns="http://www.w3.org/2000/svg"
19
+ className="_icon"
20
+ {...props}
21
+ >
22
+ <path
23
+ d="M15 19.92 8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08"
24
+ strokeWidth={1.5}
25
+ strokeMiterlimit={10}
26
+ strokeLinecap="round"
27
+ strokeLinejoin="round"
28
+ />
29
+ </SvgWithStrokeColor>
30
+ );
31
+ };
30
32
 
31
33
  AngleDownIcon.toString = () => '._icon';
@@ -2,29 +2,31 @@ import * as React from 'react';
2
2
  import { IconProps } from './types';
3
3
  import { SvgWithStrokeColor } from './common';
4
4
 
5
- export const AngleRightIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithStrokeColor
9
- width={size}
10
- height={size}
11
- fill="none"
12
- xmlns="http://www.w3.org/2000/svg"
13
- viewBox="0 0 24 24"
14
- color={color}
15
- className="_icon"
16
- {...props}
17
- >
18
- <path
19
- d="m8.91 19.92 6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08"
20
- strokeWidth={1.5}
21
- strokeMiterlimit={10}
22
- strokeLinecap="round"
23
- strokeLinejoin="round"
24
- />
25
- </SvgWithStrokeColor>
26
- );
27
- }
28
- );
5
+ export const AngleRightIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => {
10
+ return (
11
+ <SvgWithStrokeColor
12
+ width={size}
13
+ height={size}
14
+ fill="none"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ viewBox="0 0 24 24"
17
+ color={color}
18
+ className="_icon"
19
+ {...props}
20
+ >
21
+ <path
22
+ d="m8.91 19.92 6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08"
23
+ strokeWidth={1.5}
24
+ strokeMiterlimit={10}
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ />
28
+ </SvgWithStrokeColor>
29
+ );
30
+ };
29
31
 
30
32
  AngleRightIcon.toString = () => '._icon';
@@ -2,29 +2,31 @@ import * as React from 'react';
2
2
  import { IconProps } from './types';
3
3
  import { SvgWithStrokeColor } from './common';
4
4
 
5
- export const AngleUpIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithStrokeColor
9
- width={size}
10
- height={size}
11
- fill="none"
12
- xmlns="http://www.w3.org/2000/svg"
13
- viewBox="0 0 24 24"
14
- color={color}
15
- className="_icon"
16
- {...props}
17
- >
18
- <path
19
- d="M19.92 15.05 13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52"
20
- strokeWidth={1.5}
21
- strokeMiterlimit={10}
22
- strokeLinecap="round"
23
- strokeLinejoin="round"
24
- />
25
- </SvgWithStrokeColor>
26
- );
27
- }
28
- );
5
+ export const AngleUpIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => {
10
+ return (
11
+ <SvgWithStrokeColor
12
+ width={size}
13
+ height={size}
14
+ fill="none"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ viewBox="0 0 24 24"
17
+ color={color}
18
+ className="_icon"
19
+ {...props}
20
+ >
21
+ <path
22
+ d="M19.92 15.05 13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52"
23
+ strokeWidth={1.5}
24
+ strokeMiterlimit={10}
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ />
28
+ </SvgWithStrokeColor>
29
+ );
30
+ };
29
31
 
30
32
  AngleUpIcon.toString = () => '._icon';
@@ -2,36 +2,38 @@ import * as React from 'react';
2
2
  import { SvgWithStrokeColor } from './common';
3
3
  import { IconProps } from './types';
4
4
 
5
- export const BagIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithStrokeColor
9
- width={size}
10
- height={size}
11
- viewBox="0 0 32 32"
12
- color={color}
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- className="_icon"
16
- {...props}
17
- >
18
- <g clipPath="url(#a)" strokeWidth={1.5}>
19
- <path d="M9.333 9.333V4.8a.8.8 0 0 1 .8-.8h11.734a.8.8 0 0 1 .8.8v4.533M13.333 4v5.333M16 4v5.333m9.333 17.334H6.667A2.667 2.667 0 0 1 4 24V12a2.667 2.667 0 0 1 2.667-2.667h18.666A2.667 2.667 0 0 1 28 12v12a2.667 2.667 0 0 1-2.667 2.667Z" />
20
- <path
21
- d="M22 18.666a.667.667 0 1 1 0-1.334.667.667 0 0 1 0 1.334Z"
22
- fill={color}
23
- strokeLinecap="round"
24
- strokeLinejoin="round"
25
- />
26
- </g>
27
- <defs>
28
- <clipPath id="a">
29
- <path fill={color} d="M0 0h32v32H0z" />
30
- </clipPath>
31
- </defs>
32
- </SvgWithStrokeColor>
33
- );
34
- }
35
- );
5
+ export const BagIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => {
10
+ return (
11
+ <SvgWithStrokeColor
12
+ width={size}
13
+ height={size}
14
+ viewBox="0 0 32 32"
15
+ color={color}
16
+ fill="none"
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ className="_icon"
19
+ {...props}
20
+ >
21
+ <g clipPath="url(#a)" strokeWidth={1.5}>
22
+ <path d="M9.333 9.333V4.8a.8.8 0 0 1 .8-.8h11.734a.8.8 0 0 1 .8.8v4.533M13.333 4v5.333M16 4v5.333m9.333 17.334H6.667A2.667 2.667 0 0 1 4 24V12a2.667 2.667 0 0 1 2.667-2.667h18.666A2.667 2.667 0 0 1 28 12v12a2.667 2.667 0 0 1-2.667 2.667Z" />
23
+ <path
24
+ d="M22 18.666a.667.667 0 1 1 0-1.334.667.667 0 0 1 0 1.334Z"
25
+ fill={color}
26
+ strokeLinecap="round"
27
+ strokeLinejoin="round"
28
+ />
29
+ </g>
30
+ <defs>
31
+ <clipPath id="a">
32
+ <path fill={color} d="M0 0h32v32H0z" />
33
+ </clipPath>
34
+ </defs>
35
+ </SvgWithStrokeColor>
36
+ );
37
+ };
36
38
 
37
39
  BagIcon.toString = () => '._icon';
@@ -2,29 +2,31 @@ import * as React from 'react';
2
2
  import { SvgWithStrokeColor } from './common';
3
3
  import { IconProps } from './types';
4
4
 
5
- export const BanIcon = React.forwardRef<SVGSVGElement, IconProps>(
6
- ({ size = 16, color, ...props }) => {
7
- return (
8
- <SvgWithStrokeColor
9
- width={size}
10
- height={size}
11
- viewBox="0 0 24 24"
12
- color={color}
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- className="_icon"
16
- {...props}
17
- >
18
- <path
19
- d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10ZM18.9 5l-14 14"
20
- strokeWidth={1.5}
21
- strokeMiterlimit={10}
22
- strokeLinecap="round"
23
- strokeLinejoin="round"
24
- />
25
- </SvgWithStrokeColor>
26
- );
27
- }
28
- );
5
+ export const BanIcon: React.FC<IconProps> = ({
6
+ size = 16,
7
+ color,
8
+ ...props
9
+ }) => {
10
+ return (
11
+ <SvgWithStrokeColor
12
+ width={size}
13
+ height={size}
14
+ viewBox="0 0 24 24"
15
+ color={color}
16
+ fill="none"
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ className="_icon"
19
+ {...props}
20
+ >
21
+ <path
22
+ d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10ZM18.9 5l-14 14"
23
+ strokeWidth={1.5}
24
+ strokeMiterlimit={10}
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ />
28
+ </SvgWithStrokeColor>
29
+ );
30
+ };
29
31
 
30
32
  BanIcon.toString = () => '._icon';