@transferwise/icons 3.7.0 → 3.9.0
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/build/angular/components/arrow-diagonal-down-icon.component.js +19 -0
- package/build/angular/components/arrow-diagonal-up-icon.component.js +19 -0
- package/build/angular/components/bank-strikethrough-icon.component.js +19 -0
- package/build/angular/components/car-icon.component.js +3 -3
- package/build/angular/components/click-to-pay-icon.component.js +19 -0
- package/build/angular/components/drivers-license-icon.component.js +3 -3
- package/build/angular/components/eating-out-icon.component.js +3 -3
- package/build/angular/components/gambling-icon.component.js +19 -0
- package/build/angular/components/icon.component.js +14 -0
- package/build/angular/components/laptop-icon.component.js +19 -0
- package/build/angular/components/pause-icon.component.js +19 -0
- package/build/angular/components/payments-icon.component.js +3 -3
- package/build/angular/components/pets-icon.component.js +19 -0
- package/build/angular/components/play-icon.component.js +19 -0
- package/build/angular/components/scan-qr-code-icon.component.js +19 -0
- package/build/angular/components/slider-icon.component.js +3 -3
- package/build/angular/components/speech-bubble-exclamation-icon.component.js +19 -0
- package/build/angular/components/stop-icon.component.js +19 -0
- package/build/angular/components/takeaway-icon.component.js +19 -0
- package/build/angular/components/taxi-icon.component.js +19 -0
- package/build/angular/components/transport-icon.component.js +3 -3
- package/build/angular/index.js +28 -0
- package/build/components/arrow-diagonal-down.tsx +51 -0
- package/build/components/arrow-diagonal-up.tsx +51 -0
- package/build/components/bank-strikethrough.tsx +53 -0
- package/build/components/car.tsx +3 -1
- package/build/components/click-to-pay.tsx +48 -0
- package/build/components/drivers-license.tsx +3 -1
- package/build/components/eating-out.tsx +1 -1
- package/build/components/gambling.tsx +52 -0
- package/build/components/laptop.tsx +52 -0
- package/build/components/pause.tsx +52 -0
- package/build/components/payments.tsx +1 -1
- package/build/components/pets.tsx +52 -0
- package/build/components/play.tsx +52 -0
- package/build/components/scan-qr-code.tsx +52 -0
- package/build/components/slider.tsx +1 -1
- package/build/components/speech-bubble-exclamation.tsx +53 -0
- package/build/components/stop.tsx +52 -0
- package/build/components/takeaway.tsx +52 -0
- package/build/components/taxi.tsx +52 -0
- package/build/components/transport.tsx +1 -1
- package/build/icons.json +98 -0
- package/build/index.ts +14 -0
- package/lib/angular/index.js +313 -19
- package/lib/angular/index.js.map +1 -1
- package/lib/components/arrow-diagonal-down.d.ts +11 -0
- package/lib/components/arrow-diagonal-down.d.ts.map +1 -0
- package/lib/components/arrow-diagonal-up.d.ts +11 -0
- package/lib/components/arrow-diagonal-up.d.ts.map +1 -0
- package/lib/components/bank-strikethrough.d.ts +11 -0
- package/lib/components/bank-strikethrough.d.ts.map +1 -0
- package/lib/components/car.d.ts.map +1 -1
- package/lib/components/click-to-pay.d.ts +11 -0
- package/lib/components/click-to-pay.d.ts.map +1 -0
- package/lib/components/drivers-license.d.ts.map +1 -1
- package/lib/components/gambling.d.ts +11 -0
- package/lib/components/gambling.d.ts.map +1 -0
- package/lib/components/laptop.d.ts +11 -0
- package/lib/components/laptop.d.ts.map +1 -0
- package/lib/components/pause.d.ts +11 -0
- package/lib/components/pause.d.ts.map +1 -0
- package/lib/components/pets.d.ts +11 -0
- package/lib/components/pets.d.ts.map +1 -0
- package/lib/components/play.d.ts +11 -0
- package/lib/components/play.d.ts.map +1 -0
- package/lib/components/scan-qr-code.d.ts +11 -0
- package/lib/components/scan-qr-code.d.ts.map +1 -0
- package/lib/components/speech-bubble-exclamation.d.ts +11 -0
- package/lib/components/speech-bubble-exclamation.d.ts.map +1 -0
- package/lib/components/stop.d.ts +11 -0
- package/lib/components/stop.d.ts.map +1 -0
- package/lib/components/takeaway.d.ts +11 -0
- package/lib/components/takeaway.d.ts.map +1 -0
- package/lib/components/taxi.d.ts +11 -0
- package/lib/components/taxi.d.ts.map +1 -0
- package/lib/index.d.ts +14 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/{index.mjs → index.esm.js} +518 -14
- package/lib/{index.mjs.map → index.esm.js.map} +1 -1
- package/lib/index.js +530 -12
- package/lib/index.js.map +1 -1
- package/package.json +5 -14
@@ -0,0 +1,52 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface PauseIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const Pause: React.FunctionComponent<PauseIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<Pause filled /> is now deprecated, please use <PauseFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-pause ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'pause-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M12 20.572a8.571 8.571 0 1 0 0-17.143 8.571 8.571 0 0 0 0 17.143Zm0 1.714c5.68 0 10.286-4.605 10.286-10.286C22.286 6.32 17.68 1.714 12 1.714 6.32 1.714 1.714 6.32 1.714 12c0 5.68 4.605 10.286 10.286 10.286Zm.857-13.71c0-.003.002-.005.004-.005h1.706c.002 0 .004.002.004.005v6.848a.004.004 0 0 1-.004.004H12.86a.004.004 0 0 1-.004-.004V8.576ZM9.433 8.57a.004.004 0 0 0-.004.005v6.848c0 .003.002.004.004.004h1.706a.004.004 0 0 0 .004-.004V8.576a.004.004 0 0 0-.004-.005H9.433Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
/>
|
46
|
+
</>
|
47
|
+
)}
|
48
|
+
</svg>
|
49
|
+
{title && <span className="sr-only">{title}</span>}
|
50
|
+
</span>
|
51
|
+
);
|
52
|
+
};
|
@@ -40,7 +40,7 @@ export const Payments: React.FunctionComponent<PaymentsIconProps> = ({
|
|
40
40
|
<>
|
41
41
|
<path
|
42
42
|
fillRule="evenodd"
|
43
|
-
d="
|
43
|
+
d="M6.857 3.43h4.359l-9.465 9.464 1.212 1.212 9.465-9.465v4.36h1.715V2.576a.861.861 0 0 0-.862-.861H6.857v1.714Zm10.286 17.142h-4.36l9.466-9.466-1.212-1.212-9.466 9.465V15H9.857v6.424c0 .476.386.862.861.862h6.425v-1.714Z"
|
44
44
|
clipRule="evenodd"
|
45
45
|
/>
|
46
46
|
</>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface PetsIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const Pets: React.FunctionComponent<PetsIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<Pets filled /> is now deprecated, please use <PetsFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-pets ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'pets-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M15.166 5.143c-.28 0-.848.384-.848 1.334 0 .95.568 1.335.848 1.335s.847-.385.847-1.335-.567-1.334-.847-1.334Zm-2.562 1.334c0-1.47.959-3.048 2.562-3.048 1.602 0 2.561 1.578 2.561 3.048 0 1.471-.959 3.05-2.561 3.05-1.603 0-2.562-1.579-2.562-3.05Zm6.945 4.023c-.28 0-.848.385-.848 1.335s.568 1.334.848 1.334.847-.385.847-1.334c0-.95-.567-1.335-.847-1.335Zm-2.562 1.335c0-1.471.959-3.05 2.562-3.05 1.602 0 2.561 1.579 2.561 3.05 0 1.47-.959 3.048-2.561 3.048-1.603 0-2.562-1.578-2.562-3.048Zm-13.383 0c0-.95.567-1.335.847-1.335s.848.385.848 1.335-.568 1.334-.848 1.334-.847-.385-.847-1.334Zm.847-3.05c-1.602 0-2.561 1.579-2.561 3.05 0 1.47.959 3.048 2.561 3.048 1.603 0 2.562-1.578 2.562-3.048 0-1.471-.959-3.05-2.562-3.05Zm4.383-3.642c-.28 0-.847.384-.847 1.334 0 .95.567 1.335.847 1.335s.848-.385.848-1.335-.568-1.334-.848-1.334ZM6.273 6.477c0-1.47.959-3.048 2.561-3.048 1.603 0 2.562 1.578 2.562 3.048 0 1.471-.959 3.05-2.562 3.05-1.602 0-2.561-1.579-2.561-3.05Zm8.379 5.305c-.87-2.521-4.435-2.521-5.304 0l-.784 2.274c-.058.168-.157.32-.287.441l-1.241 1.16c-2.07 1.933-.297 5.365 2.477 4.798l2.268-.464c.144-.03.293-.03.437 0l2.269.464c2.774.567 4.546-2.865 2.477-4.798l-1.241-1.16a1.092 1.092 0 0 1-.287-.441l-.784-2.274Zm-3.683.559c.338-.98 1.724-.98 2.062 0l.784 2.273c.15.433.403.823.737 1.136l1.242 1.16c.804.751.115 2.086-.964 1.865l-2.268-.464a2.804 2.804 0 0 0-1.124 0l-2.269.464c-1.079.221-1.768-1.114-.963-1.866l1.241-1.16c.335-.312.588-.702.737-1.135l.785-2.273Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
/>
|
46
|
+
</>
|
47
|
+
)}
|
48
|
+
</svg>
|
49
|
+
{title && <span className="sr-only">{title}</span>}
|
50
|
+
</span>
|
51
|
+
);
|
52
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface PlayIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const Play: React.FunctionComponent<PlayIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<Play filled /> is now deprecated, please use <PlayFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-play ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'play-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M20.572 12a8.571 8.571 0 1 1-17.143 0 8.571 8.571 0 0 1 17.143 0Zm1.714 0c0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714c5.68 0 10.286 4.605 10.286 10.286Zm-6.263.805a.429.429 0 0 0 0-.753L9.848 8.691a.429.429 0 0 0-.634.376v6.723c0 .325.348.532.634.376l6.175-3.361Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
/>
|
46
|
+
</>
|
47
|
+
)}
|
48
|
+
</svg>
|
49
|
+
{title && <span className="sr-only">{title}</span>}
|
50
|
+
</span>
|
51
|
+
);
|
52
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface ScanQrCodeIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const ScanQrCode: React.FunctionComponent<ScanQrCodeIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<ScanQrCode filled /> is now deprecated, please use <ScanQrCodeFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-scan-qr-code ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'scan-qr-code-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M2.576 1.714a.861.861 0 0 0-.862.862V8.57H3.43V3.43h5.143V1.714H2.575Zm18.848 20.572a.861.861 0 0 0 .862-.862V15.43H20.57v5.142h-5.143v1.715h5.996Zm0-20.572c.476 0 .862.386.862.862V8.57H20.57V3.43h-5.143V1.714h5.996Zm-19.71 19.71c0 .476.386.862.862.862H8.57V20.57H3.43v-5.143H1.714v5.996Zm12.857-13.71V9.43h1.714V7.714h-1.714ZM13.286 6a.429.429 0 0 0-.43.429v4.285c0 .237.193.429.43.429h4.285a.429.429 0 0 0 .429-.429V6.43A.429.429 0 0 0 17.57 6h-4.286ZM7.714 9.429V7.714H9.43V9.43H7.714ZM6 6.429C6 6.192 6.192 6 6.429 6h4.285c.237 0 .429.192.429.429v4.285a.429.429 0 0 1-.429.429H6.43A.429.429 0 0 1 6 10.714V6.43Zm1.714 8.142v1.714H9.43v-1.714H7.714ZM6.43 12.857a.429.429 0 0 0-.429.429v4.285c0 .237.192.429.429.429h4.285a.429.429 0 0 0 .429-.429v-4.286a.429.429 0 0 0-.429-.428H6.43ZM15 15h-2.143v-2.143H15V15Zm0 3h-2.143v-2.143H15V18Zm.857-3H18v-2.143h-2.143V15ZM18 18h-2.143v-2.143H18V18Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
/>
|
46
|
+
</>
|
47
|
+
)}
|
48
|
+
</svg>
|
49
|
+
{title && <span className="sr-only">{title}</span>}
|
50
|
+
</span>
|
51
|
+
);
|
52
|
+
};
|
@@ -40,7 +40,7 @@ export const Slider: React.FunctionComponent<SliderIconProps> = ({
|
|
40
40
|
<>
|
41
41
|
<path
|
42
42
|
fillRule="evenodd"
|
43
|
-
d="
|
43
|
+
d="M8.143 9.428a2.143 2.143 0 1 0 0-4.285 2.143 2.143 0 0 0 0 4.285Zm0 1.715a3.859 3.859 0 0 0 3.761-3H21V6.428h-9.095a3.859 3.859 0 0 0-7.524 0h-1.38v1.715h1.38c.39 1.717 1.926 3 3.762 3Zm7.714 7.714a2.143 2.143 0 1 0 0-4.286 2.143 2.143 0 0 0 0 4.286Zm0 1.714a3.859 3.859 0 0 0 3.762-3H21v-1.714H19.62a3.859 3.859 0 0 0-7.523 0H3v1.714h9.096c.39 1.718 1.925 3 3.761 3Z"
|
44
44
|
clipRule="evenodd"
|
45
45
|
/>
|
46
46
|
</>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface SpeechBubbleExclamationIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const SpeechBubbleExclamation: React.FunctionComponent<SpeechBubbleExclamationIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<SpeechBubbleExclamation filled /> is now deprecated, please use <SpeechBubbleExclamationFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-speech-bubble-exclamation ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'speech-bubble-exclamation-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M2.571 3H21.43a.86.86 0 0 1 .857.857v12.857a.86.86 0 0 1-.857.857h-8.315l-4.928 3.3a.864.864 0 0 1-.472.129c-.128 0-.257 0-.385-.086a.903.903 0 0 1-.472-.771V17.57H2.572a.86.86 0 0 1-.858-.857V3.857A.86.86 0 0 1 2.571 3Zm10.286 12.857h7.715V4.714H3.428v11.143h4.285a.86.86 0 0 1 .857.857v1.843l3.815-2.571a.864.864 0 0 1 .471-.129Zm0-9.428h-1.714v4.285h1.714V6.43ZM12 14.144a1.286 1.286 0 1 0 0-2.572 1.286 1.286 0 0 0 0 2.572Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
style="fill:#f0f;fill:color(display-p3 1 0 1);fill-opacity:1"
|
46
|
+
/>
|
47
|
+
</>
|
48
|
+
)}
|
49
|
+
</svg>
|
50
|
+
{title && <span className="sr-only">{title}</span>}
|
51
|
+
</span>
|
52
|
+
);
|
53
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface StopIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const Stop: React.FunctionComponent<StopIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<Stop filled /> is now deprecated, please use <StopFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-stop ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'stop-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M20.572 12a8.571 8.571 0 1 1-17.143 0 8.571 8.571 0 0 1 17.143 0Zm1.714 0c0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714c5.68 0 10.286 4.605 10.286 10.286ZM9 8.571A.429.429 0 0 0 8.57 9v6c0 .237.192.428.429.428h6a.428.428 0 0 0 .428-.428V9A.429.429 0 0 0 15 8.57H9Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
/>
|
46
|
+
</>
|
47
|
+
)}
|
48
|
+
</svg>
|
49
|
+
{title && <span className="sr-only">{title}</span>}
|
50
|
+
</span>
|
51
|
+
);
|
52
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface TakeawayIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const Takeaway: React.FunctionComponent<TakeawayIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<Takeaway filled /> is now deprecated, please use <TakeawayFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-takeaway ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'takeaway-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M19.483 5.143h.66c.71 0 1.285.576 1.285 1.286v3.428c0 .71-.575 1.286-1.285 1.286h-.546l-1.484 10.045a1.286 1.286 0 0 1-1.272 1.098H7.158a1.286 1.286 0 0 1-1.272-1.098L4.403 11.143h-.546c-.71 0-1.286-.576-1.286-1.286V6.43c0-.71.576-1.286 1.286-1.286h.66l.811-2.535c.17-.532.666-.894 1.225-.894h10.894c.56 0 1.054.362 1.225.894l.81 2.535Zm-1.8 0-.549-1.714H6.866l-.549 1.714h11.366Zm.587 1.714h1.444V9.43H4.286V6.857H18.269ZM7.528 20.572l-1.392-9.43h11.728l-1.393 9.43H7.528Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
/>
|
46
|
+
</>
|
47
|
+
)}
|
48
|
+
</svg>
|
49
|
+
{title && <span className="sr-only">{title}</span>}
|
50
|
+
</span>
|
51
|
+
);
|
52
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// This is an automatically generated file, please don't edit it
|
2
|
+
import { IconSize } from '../types';
|
3
|
+
|
4
|
+
export interface TaxiIconProps {
|
5
|
+
size?: IconSize;
|
6
|
+
filled?: boolean;
|
7
|
+
className?: string;
|
8
|
+
title?: string;
|
9
|
+
['data-testid']?: string;
|
10
|
+
}
|
11
|
+
|
12
|
+
export const Taxi: React.FunctionComponent<TaxiIconProps> = ({
|
13
|
+
size = 16,
|
14
|
+
className = undefined,
|
15
|
+
title = undefined,
|
16
|
+
filled = undefined,
|
17
|
+
...restProps
|
18
|
+
}) => {
|
19
|
+
if (filled) {
|
20
|
+
console.warn(
|
21
|
+
'<Taxi filled /> is now deprecated, please use <TaxiFill /> or refer to https://transferwise.github.io/icons/ for more info.',
|
22
|
+
);
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<span
|
27
|
+
className={`tw-icon tw-icon-taxi ${className ? className : ''}`}
|
28
|
+
aria-hidden={!title ? 'true' : undefined}
|
29
|
+
role={!title ? 'presentation' : undefined}
|
30
|
+
data-testid={restProps['data-testid'] || 'taxi-icon'}
|
31
|
+
>
|
32
|
+
<svg
|
33
|
+
width={String(size)}
|
34
|
+
height={String(size)}
|
35
|
+
fill="currentColor"
|
36
|
+
focusable="false"
|
37
|
+
viewBox="0 0 24 24"
|
38
|
+
>
|
39
|
+
{(Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && (
|
40
|
+
<>
|
41
|
+
<path
|
42
|
+
fillRule="evenodd"
|
43
|
+
d="M9 1.714a.429.429 0 0 0-.428.429V3c0 .237.191.429.428.429h6A.429.429 0 0 0 15.43 3v-.857A.429.429 0 0 0 15 1.714H9ZM5.954 4.41a.861.861 0 0 1 .804-.553h10.484c.357 0 .677.22.804.553L19.81 9h2.047c.237 0 .429.192.429.429v.857a.429.429 0 0 1-.429.428h-.962l.047.056 1.064 1.335c.181.228.28.51.28.801v3.48a.862.862 0 0 1-.188.536L21 18.3v3.124a.861.861 0 0 1-.861.862h-2.992a.861.861 0 0 1-.861-.862v-2.567H7.714v2.567a.861.861 0 0 1-.861.862H3.862A.861.861 0 0 1 3 21.424V18.3l-1.098-1.378a.862.862 0 0 1-.188-.537v-3.479c0-.29.1-.573.28-.801l1.064-1.335.047-.056h-.962a.429.429 0 0 1-.429-.428v-.857c0-.237.192-.429.429-.429H4.19l1.763-4.59ZM19.708 12h.022l.841 1.056v3.03l-.841 1.057H4.27l-.841-1.056v-3.03L4.27 12h15.438Zm-3.052-6.428 1.811 4.714H5.533l1.811-4.714h9.312Zm2.63 13.285H18v1.715h1.286v-1.715ZM6 18.857H4.714v1.715H6v-1.715Zm-.428-3.428a.857.857 0 1 0 0-1.715.857.857 0 0 0 0 1.715Zm13.714-.857a.857.857 0 1 1-1.714 0 .857.857 0 0 1 1.714 0Z"
|
44
|
+
clipRule="evenodd"
|
45
|
+
/>
|
46
|
+
</>
|
47
|
+
)}
|
48
|
+
</svg>
|
49
|
+
{title && <span className="sr-only">{title}</span>}
|
50
|
+
</span>
|
51
|
+
);
|
52
|
+
};
|
@@ -40,7 +40,7 @@ export const Transport: React.FunctionComponent<TransportIconProps> = ({
|
|
40
40
|
<>
|
41
41
|
<path
|
42
42
|
fillRule="evenodd"
|
43
|
-
d="
|
43
|
+
d="M3.429 4.286A2.571 2.571 0 0 1 6 1.714h12a2.571 2.571 0 0 1 2.572 2.572v13.71c0 .474-.384.859-.858.861v2.567a.861.861 0 0 1-.861.862h-2.991a.861.861 0 0 1-.862-.862v-2.567H9v2.567a.861.861 0 0 1-.861.862H5.147a.861.861 0 0 1-.861-.862v-2.567a.861.861 0 0 1-.857-.861V4.286Zm1.714 12.857v-3.429h13.714v3.429H5.143Zm13.714-9.429V12H5.143V7.714h13.714Zm0-1.714H5.143V4.286c0-.474.384-.857.857-.857h12c.474 0 .857.383.857.857V6ZM6 20.572v-1.715h1.286v1.715H6Zm10.714 0v-1.715H18v1.715h-1.286Zm-9-5.143a.857.857 0 1 1-1.714 0 .857.857 0 0 1 1.714 0Zm10.286 0a.857.857 0 1 1-1.714 0 .857.857 0 0 1 1.714 0Z"
|
44
44
|
clipRule="evenodd"
|
45
45
|
/>
|
46
46
|
</>
|
package/build/icons.json
CHANGED
@@ -20,6 +20,20 @@
|
|
20
20
|
"alert": "./wise-atoms/icons/alert.svg"
|
21
21
|
}
|
22
22
|
},
|
23
|
+
"arrow-diagonal-down": {
|
24
|
+
"name": "arrow-diagonal-down",
|
25
|
+
"componentName": "ArrowDiagonalDown",
|
26
|
+
"svgFiles": {
|
27
|
+
"arrow-diagonal-down": "./wise-atoms/icons/arrow-diagonal-down.svg"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"arrow-diagonal-up": {
|
31
|
+
"name": "arrow-diagonal-up",
|
32
|
+
"componentName": "ArrowDiagonalUp",
|
33
|
+
"svgFiles": {
|
34
|
+
"arrow-diagonal-up": "./wise-atoms/icons/arrow-diagonal-up.svg"
|
35
|
+
}
|
36
|
+
},
|
23
37
|
"arrow-down": {
|
24
38
|
"name": "arrow-down",
|
25
39
|
"componentName": "ArrowDown",
|
@@ -55,6 +69,13 @@
|
|
55
69
|
"auto-convert": "./wise-atoms/icons/auto-convert.svg"
|
56
70
|
}
|
57
71
|
},
|
72
|
+
"bank-strikethrough": {
|
73
|
+
"name": "bank-strikethrough",
|
74
|
+
"componentName": "BankStrikethrough",
|
75
|
+
"svgFiles": {
|
76
|
+
"bank-strikethrough": "./wise-atoms/icons/bank-strikethrough.svg"
|
77
|
+
}
|
78
|
+
},
|
58
79
|
"bank-transfer": {
|
59
80
|
"name": "bank-transfer",
|
60
81
|
"componentName": "BankTransfer",
|
@@ -398,6 +419,13 @@
|
|
398
419
|
"chip-pin": "./wise-atoms/icons/chip.svg"
|
399
420
|
}
|
400
421
|
},
|
422
|
+
"click-to-pay": {
|
423
|
+
"name": "click-to-pay",
|
424
|
+
"componentName": "ClickToPay",
|
425
|
+
"svgFiles": {
|
426
|
+
"click-to-pay": "./wise-atoms/icons/click-to-pay.svg"
|
427
|
+
}
|
428
|
+
},
|
401
429
|
"clock-borderless": {
|
402
430
|
"name": "clock-borderless",
|
403
431
|
"componentName": "ClockBorderless",
|
@@ -683,6 +711,13 @@
|
|
683
711
|
"freeze": "./wise-atoms/icons/freeze.svg"
|
684
712
|
}
|
685
713
|
},
|
714
|
+
"gambling": {
|
715
|
+
"name": "gambling",
|
716
|
+
"componentName": "Gambling",
|
717
|
+
"svgFiles": {
|
718
|
+
"gambling": "./wise-atoms/icons/gambling.svg"
|
719
|
+
}
|
720
|
+
},
|
686
721
|
"general-fill": {
|
687
722
|
"name": "general-fill",
|
688
723
|
"componentName": "GeneralFill",
|
@@ -937,6 +972,13 @@
|
|
937
972
|
"klarna": "./wise-atoms/icons/klarna.svg"
|
938
973
|
}
|
939
974
|
},
|
975
|
+
"laptop": {
|
976
|
+
"name": "laptop",
|
977
|
+
"componentName": "Laptop",
|
978
|
+
"svgFiles": {
|
979
|
+
"laptop": "./wise-atoms/icons/laptop.svg"
|
980
|
+
}
|
981
|
+
},
|
940
982
|
"leaf": {
|
941
983
|
"name": "leaf",
|
942
984
|
"componentName": "Leaf",
|
@@ -1187,6 +1229,13 @@
|
|
1187
1229
|
"passport": "./wise-atoms/icons/passport.svg"
|
1188
1230
|
}
|
1189
1231
|
},
|
1232
|
+
"pause": {
|
1233
|
+
"name": "pause",
|
1234
|
+
"componentName": "Pause",
|
1235
|
+
"svgFiles": {
|
1236
|
+
"pause": "./wise-atoms/icons/pause.svg"
|
1237
|
+
}
|
1238
|
+
},
|
1190
1239
|
"pay-in": {
|
1191
1240
|
"name": "pay-in",
|
1192
1241
|
"componentName": "PayIn",
|
@@ -1268,6 +1317,13 @@
|
|
1268
1317
|
"personal-care": "./wise-atoms/icons/personal-care.svg"
|
1269
1318
|
}
|
1270
1319
|
},
|
1320
|
+
"pets": {
|
1321
|
+
"name": "pets",
|
1322
|
+
"componentName": "Pets",
|
1323
|
+
"svgFiles": {
|
1324
|
+
"pets": "./wise-atoms/icons/pets.svg"
|
1325
|
+
}
|
1326
|
+
},
|
1271
1327
|
"phone": {
|
1272
1328
|
"name": "phone",
|
1273
1329
|
"componentName": "Phone",
|
@@ -1319,6 +1375,13 @@
|
|
1319
1375
|
"plane": "./wise-atoms/icons/plane.svg"
|
1320
1376
|
}
|
1321
1377
|
},
|
1378
|
+
"play": {
|
1379
|
+
"name": "play",
|
1380
|
+
"componentName": "Play",
|
1381
|
+
"svgFiles": {
|
1382
|
+
"play": "./wise-atoms/icons/play.svg"
|
1383
|
+
}
|
1384
|
+
},
|
1322
1385
|
"plus-circle": {
|
1323
1386
|
"name": "plus-circle",
|
1324
1387
|
"componentName": "PlusCircle",
|
@@ -1463,6 +1526,13 @@
|
|
1463
1526
|
"dont": "./wise-atoms/icons/sad-emoji.svg"
|
1464
1527
|
}
|
1465
1528
|
},
|
1529
|
+
"scan-qr-code": {
|
1530
|
+
"name": "scan-qr-code",
|
1531
|
+
"componentName": "ScanQrCode",
|
1532
|
+
"svgFiles": {
|
1533
|
+
"scan-qr-code": "./wise-atoms/icons/scan-qr-code.svg"
|
1534
|
+
}
|
1535
|
+
},
|
1466
1536
|
"search": {
|
1467
1537
|
"name": "search",
|
1468
1538
|
"componentName": "Search",
|
@@ -1542,6 +1612,13 @@
|
|
1542
1612
|
"software-and-web-hosting": "./wise-atoms/icons/software-and-hosting.svg"
|
1543
1613
|
}
|
1544
1614
|
},
|
1615
|
+
"speech-bubble-exclamation": {
|
1616
|
+
"name": "speech-bubble-exclamation",
|
1617
|
+
"componentName": "SpeechBubbleExclamation",
|
1618
|
+
"svgFiles": {
|
1619
|
+
"speech-bubble-exclamation": "./wise-atoms/icons/speech-bubble-exclamation.svg"
|
1620
|
+
}
|
1621
|
+
},
|
1545
1622
|
"speech-bubble-message": {
|
1546
1623
|
"name": "speech-bubble-message",
|
1547
1624
|
"componentName": "SpeechBubbleMessage",
|
@@ -1771,6 +1848,13 @@
|
|
1771
1848
|
"office-expenses": "./wise-atoms/icons/stationery.svg"
|
1772
1849
|
}
|
1773
1850
|
},
|
1851
|
+
"stop": {
|
1852
|
+
"name": "stop",
|
1853
|
+
"componentName": "Stop",
|
1854
|
+
"svgFiles": {
|
1855
|
+
"stop": "./wise-atoms/icons/stop.svg"
|
1856
|
+
}
|
1857
|
+
},
|
1774
1858
|
"suitcase": {
|
1775
1859
|
"name": "suitcase",
|
1776
1860
|
"componentName": "Suitcase",
|
@@ -1800,6 +1884,13 @@
|
|
1800
1884
|
"switch": "./wise-atoms/icons/switch.svg"
|
1801
1885
|
}
|
1802
1886
|
},
|
1887
|
+
"takeaway": {
|
1888
|
+
"name": "takeaway",
|
1889
|
+
"componentName": "Takeaway",
|
1890
|
+
"svgFiles": {
|
1891
|
+
"takeaway": "./wise-atoms/icons/takeaway.svg"
|
1892
|
+
}
|
1893
|
+
},
|
1803
1894
|
"target": {
|
1804
1895
|
"name": "target",
|
1805
1896
|
"componentName": "Target",
|
@@ -1815,6 +1906,13 @@
|
|
1815
1906
|
"marketing": "./wise-atoms/icons/target.svg"
|
1816
1907
|
}
|
1817
1908
|
},
|
1909
|
+
"taxi": {
|
1910
|
+
"name": "taxi",
|
1911
|
+
"componentName": "Taxi",
|
1912
|
+
"svgFiles": {
|
1913
|
+
"taxi": "./wise-atoms/icons/taxi.svg"
|
1914
|
+
}
|
1915
|
+
},
|
1818
1916
|
"team": {
|
1819
1917
|
"name": "team",
|
1820
1918
|
"componentName": "Team",
|