@transferwise/icons 3.12.0 → 3.13.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/bank-strikethrough-icon.component.ts +3 -3
- package/build/angular/components/card-strikethrough-icon.component.ts +19 -0
- package/build/angular/components/equals-icon.component.ts +19 -0
- package/build/angular/components/icon.component.ts +3 -0
- package/build/angular/components/lightning-bolt-strikethrough-icon.component.ts +19 -0
- package/build/angular/index.ts +6 -0
- package/build/components/bank-strikethrough.tsx +1 -1
- package/build/components/card-strikethrough.tsx +54 -0
- package/build/components/equals.tsx +54 -0
- package/build/components/lightning-bolt-strikethrough.tsx +54 -0
- package/build/icons.json +21 -0
- package/build/index.ts +3 -0
- package/lib/angular/components/card-strikethrough-icon.component.d.ts +7 -0
- package/lib/angular/components/card-strikethrough-icon.component.d.ts.map +1 -0
- package/lib/angular/components/equals-icon.component.d.ts +7 -0
- package/lib/angular/components/equals-icon.component.d.ts.map +1 -0
- package/lib/angular/components/icon.component.d.ts.map +1 -1
- package/lib/angular/components/lightning-bolt-strikethrough-icon.component.d.ts +7 -0
- package/lib/angular/components/lightning-bolt-strikethrough-icon.component.d.ts.map +1 -0
- package/lib/angular/index.d.ts.map +1 -1
- package/lib/angular/index.js +67 -4
- package/lib/angular/index.js.map +1 -1
- package/lib/components/card-strikethrough.d.ts +12 -0
- package/lib/components/card-strikethrough.d.ts.map +1 -0
- package/lib/components/equals.d.ts +12 -0
- package/lib/components/equals.d.ts.map +1 -0
- package/lib/components/lightning-bolt-strikethrough.d.ts +12 -0
- package/lib/components/lightning-bolt-strikethrough.d.ts.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.esm.js +110 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +112 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -413,7 +413,7 @@ const BankStrikethrough = ({
|
|
413
413
|
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
414
414
|
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
415
415
|
fillRule: "evenodd",
|
416
|
-
d: "
|
416
|
+
d: "M22.212 20.963 21 19.751v-.037h-.037l-1.249-1.249V9.857H21a.856.856 0 0 0 .459-1.581l-8.566-5.43a1.286 1.286 0 0 0-1.354-.014L6.892 5.643 2.926 1.677 1.855 2.75l19.286 19.285 1.071-1.071Zm-4.102.465-1.714-1.714h-3.539v-3.539l-1.714-1.714v5.253H6V9.857h.539L4.047 7.365l-1.49.901A.857.857 0 0 0 3 9.856h1.286v9.858H3v1.714h15.11ZM18 9.857v6.894l-5.143-5.143V9.857H18Zm-6.857 0v.037l-.037-.037h.037Zm6.904-1.714H9.392L8.14 6.892l4.058-2.456 5.848 3.707Z",
|
417
417
|
clipRule: "evenodd"
|
418
418
|
})
|
419
419
|
})
|
@@ -1502,6 +1502,42 @@ const CardNumber = ({
|
|
1502
1502
|
});
|
1503
1503
|
};
|
1504
1504
|
|
1505
|
+
const CardStrikethrough = ({
|
1506
|
+
size = 16,
|
1507
|
+
className = undefined,
|
1508
|
+
title = undefined,
|
1509
|
+
filled = undefined,
|
1510
|
+
role = undefined,
|
1511
|
+
...restProps
|
1512
|
+
}) => {
|
1513
|
+
if (filled) {
|
1514
|
+
console.warn('<CardStrikethrough filled /> is now deprecated, please use <CardStrikethroughFill /> or refer to https://transferwise.github.io/icons/ for more info.');
|
1515
|
+
}
|
1516
|
+
return /*#__PURE__*/jsxRuntime.jsxs("span", {
|
1517
|
+
className: `tw-icon tw-icon-card-strikethrough ${className ? className : ''}`,
|
1518
|
+
"aria-hidden": !title ? 'true' : undefined,
|
1519
|
+
role: role ?? (title ? undefined : 'none'),
|
1520
|
+
"data-testid": restProps['data-testid'] || 'card-strikethrough-icon',
|
1521
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("svg", {
|
1522
|
+
width: String(size),
|
1523
|
+
height: String(size),
|
1524
|
+
fill: "currentColor",
|
1525
|
+
focusable: "false",
|
1526
|
+
viewBox: "0 0 24 24",
|
1527
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
1528
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
1529
|
+
fillRule: "evenodd",
|
1530
|
+
d: "m22.212 20.749-1.034-1.035h.246a.861.861 0 0 0 .862-.861V16.247h-.002c-.02-.218-.21-.39-.413-.486a1.294 1.294 0 0 1-.416-.322 1.785 1.785 0 0 1-.33-.568 2.143 2.143 0 0 1-.125-.728c0-.255.044-.503.126-.728.082-.225.197-.416.329-.567.131-.151.275-.257.416-.323.215-.102.415-.288.415-.525V5.576a.861.861 0 0 0-.862-.862H6.178l-3-3-1.072 1.072L21.141 21.82l1.071-1.072Zm-5.602-1.035L14.896 18H3.429V6.533L1.917 5.02a.858.858 0 0 0-.203.555v13.277c0 .476.386.861.862.861H16.61ZM6.325 9.43h-.753v1.714h2.467L6.325 9.429ZM20.572 18h-1.108L7.892 6.43h12.68v4.9a3.135 3.135 0 0 0-.407.39c-.279.318-.5.696-.65 1.112a3.86 3.86 0 0 0-.23 1.312c0 .45.078.896.23 1.312.15.416.371.794.65 1.112.125.144.261.274.407.39V18Z",
|
1531
|
+
clipRule: "evenodd"
|
1532
|
+
})
|
1533
|
+
})
|
1534
|
+
}), title && /*#__PURE__*/jsxRuntime.jsx("span", {
|
1535
|
+
className: "sr-only",
|
1536
|
+
children: title
|
1537
|
+
})]
|
1538
|
+
});
|
1539
|
+
};
|
1540
|
+
|
1505
1541
|
const CardWise = ({
|
1506
1542
|
size = 16,
|
1507
1543
|
className = undefined,
|
@@ -3242,6 +3278,42 @@ const Entertainment = ({
|
|
3242
3278
|
});
|
3243
3279
|
};
|
3244
3280
|
|
3281
|
+
const Equals = ({
|
3282
|
+
size = 16,
|
3283
|
+
className = undefined,
|
3284
|
+
title = undefined,
|
3285
|
+
filled = undefined,
|
3286
|
+
role = undefined,
|
3287
|
+
...restProps
|
3288
|
+
}) => {
|
3289
|
+
if (filled) {
|
3290
|
+
console.warn('<Equals filled /> is now deprecated, please use <EqualsFill /> or refer to https://transferwise.github.io/icons/ for more info.');
|
3291
|
+
}
|
3292
|
+
return /*#__PURE__*/jsxRuntime.jsxs("span", {
|
3293
|
+
className: `tw-icon tw-icon-equals ${className ? className : ''}`,
|
3294
|
+
"aria-hidden": !title ? 'true' : undefined,
|
3295
|
+
role: role ?? (title ? undefined : 'none'),
|
3296
|
+
"data-testid": restProps['data-testid'] || 'equals-icon',
|
3297
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("svg", {
|
3298
|
+
width: String(size),
|
3299
|
+
height: String(size),
|
3300
|
+
fill: "currentColor",
|
3301
|
+
focusable: "false",
|
3302
|
+
viewBox: "0 0 24 24",
|
3303
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
3304
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
3305
|
+
fillRule: "evenodd",
|
3306
|
+
d: "M22.286 8.143H1.714v1.714h20.572V8.143Zm0 6H1.714v1.714h20.572v-1.714Z",
|
3307
|
+
clipRule: "evenodd"
|
3308
|
+
})
|
3309
|
+
})
|
3310
|
+
}), title && /*#__PURE__*/jsxRuntime.jsx("span", {
|
3311
|
+
className: "sr-only",
|
3312
|
+
children: title
|
3313
|
+
})]
|
3314
|
+
});
|
3315
|
+
};
|
3316
|
+
|
3245
3317
|
const Expand = ({
|
3246
3318
|
size = 16,
|
3247
3319
|
className = undefined,
|
@@ -4972,6 +5044,42 @@ const Leaf = ({
|
|
4972
5044
|
});
|
4973
5045
|
};
|
4974
5046
|
|
5047
|
+
const LightningBoltStrikethrough = ({
|
5048
|
+
size = 16,
|
5049
|
+
className = undefined,
|
5050
|
+
title = undefined,
|
5051
|
+
filled = undefined,
|
5052
|
+
role = undefined,
|
5053
|
+
...restProps
|
5054
|
+
}) => {
|
5055
|
+
if (filled) {
|
5056
|
+
console.warn('<LightningBoltStrikethrough filled /> is now deprecated, please use <LightningBoltStrikethroughFill /> or refer to https://transferwise.github.io/icons/ for more info.');
|
5057
|
+
}
|
5058
|
+
return /*#__PURE__*/jsxRuntime.jsxs("span", {
|
5059
|
+
className: `tw-icon tw-icon-lightning-bolt-strikethrough ${className ? className : ''}`,
|
5060
|
+
"aria-hidden": !title ? 'true' : undefined,
|
5061
|
+
role: role ?? (title ? undefined : 'none'),
|
5062
|
+
"data-testid": restProps['data-testid'] || 'lightning-bolt-strikethrough-icon',
|
5063
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("svg", {
|
5064
|
+
width: String(size),
|
5065
|
+
height: String(size),
|
5066
|
+
fill: "currentColor",
|
5067
|
+
focusable: "false",
|
5068
|
+
viewBox: "0 0 24 24",
|
5069
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
5070
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
5071
|
+
fillRule: "evenodd",
|
5072
|
+
d: "m22.212 20.749-5.986-5.986 4.13-4.82a.862.862 0 0 0-.642-1.414H14.4l3.471-5.528a.875.875 0 0 0 .043-.857c-.171-.258-.429-.429-.729-.429h-6.042c-.3 0-.558.171-.729.429L7.821 6.358 3.177 1.714 2.106 2.786 21.141 21.82l1.07-1.071ZM6.08 9.185l-2.524 4.101a.778.778 0 0 0 0 .857c.171.258.429.43.728.43h5.786l-1.5 6.642a.813.813 0 0 0 .472.943c.128.043.257.085.385.085a.771.771 0 0 0 .643-.3l4.047-4.72L12.897 16l-1.883 2.214.754-3.343-2.057-2.057H5.828l1.477-2.406L6.08 9.185ZM17.828 10.2l-2.833 3.332-5.953-5.954 2.572-4.193H15.6l-3.472 5.529a.875.875 0 0 0-.043.857c.172.257.43.429.73.429h5.013Z",
|
5073
|
+
clipRule: "evenodd"
|
5074
|
+
})
|
5075
|
+
})
|
5076
|
+
}), title && /*#__PURE__*/jsxRuntime.jsx("span", {
|
5077
|
+
className: "sr-only",
|
5078
|
+
children: title
|
5079
|
+
})]
|
5080
|
+
});
|
5081
|
+
};
|
5082
|
+
|
4975
5083
|
const LightningBolt = ({
|
4976
5084
|
size = 16,
|
4977
5085
|
className = undefined,
|
@@ -10239,6 +10347,7 @@ exports.Card = Card;
|
|
10239
10347
|
exports.CardCvc = CardCvc;
|
10240
10348
|
exports.CardDetail = CardDetail;
|
10241
10349
|
exports.CardNumber = CardNumber;
|
10350
|
+
exports.CardStrikethrough = CardStrikethrough;
|
10242
10351
|
exports.CardTransferwise = CardTransferwise;
|
10243
10352
|
exports.CardWise = CardWise;
|
10244
10353
|
exports.CashApp = CashApp;
|
@@ -10292,6 +10401,7 @@ exports.EmailAndMobile = EmailAndMobile;
|
|
10292
10401
|
exports.EmailAndPhone = EmailAndPhone;
|
10293
10402
|
exports.Emoji = Emoji;
|
10294
10403
|
exports.Entertainment = Entertainment;
|
10404
|
+
exports.Equals = Equals;
|
10295
10405
|
exports.ExchangeRate = ExchangeRate;
|
10296
10406
|
exports.Expand = Expand;
|
10297
10407
|
exports.Expenses = Expenses;
|
@@ -10345,6 +10455,7 @@ exports.Laptop = Laptop;
|
|
10345
10455
|
exports.Leaf = Leaf;
|
10346
10456
|
exports.Lightning = Lightning;
|
10347
10457
|
exports.LightningBolt = LightningBolt;
|
10458
|
+
exports.LightningBoltStrikethrough = LightningBoltStrikethrough;
|
10348
10459
|
exports.Limit = Limit;
|
10349
10460
|
exports.Link = Link;
|
10350
10461
|
exports.Linkedin = Linkedin;
|