@transferwise/icons 3.22.1 → 3.22.3
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/backpack-icon.component.ts +20 -0
- package/build/angular/components/icon.component.ts +1 -0
- package/build/angular/index.ts +2 -0
- package/build/components/backpack.tsx +52 -0
- package/build/icons.json +7 -0
- package/build/index.ts +1 -0
- package/lib/angular/components/backpack-icon.component.d.ts +7 -0
- package/lib/angular/components/backpack-icon.component.d.ts.map +1 -0
- package/lib/angular/components/icon.component.d.ts.map +1 -1
- package/lib/angular/index.d.ts.map +1 -1
- package/lib/angular/index.js +22 -1
- package/lib/angular/index.js.map +1 -1
- package/lib/components/backpack.d.ts +13 -0
- package/lib/components/backpack.d.ts.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.esm.js +34 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +34 -0
- package/lib/index.js.map +1 -1
- package/package.json +3 -2
package/lib/index.js
CHANGED
@@ -387,6 +387,39 @@ const AutoConvert = ({
|
|
387
387
|
});
|
388
388
|
};
|
389
389
|
|
390
|
+
const Backpack = ({
|
391
|
+
className = undefined,
|
392
|
+
isFocusable = false,
|
393
|
+
filled = undefined,
|
394
|
+
title = undefined,
|
395
|
+
role = undefined,
|
396
|
+
size = 16,
|
397
|
+
...restProps
|
398
|
+
}) => {
|
399
|
+
if (filled) {
|
400
|
+
console.warn("<Backpack filled /> is now deprecated, please use <BackpackFill /> or refer to https://transferwise.github.io/icons/ for more info.");
|
401
|
+
}
|
402
|
+
return /*#__PURE__*/jsxRuntime.jsx("span", {
|
403
|
+
className: `tw-icon tw-icon-backpack ${className ? className : ''}`,
|
404
|
+
"data-testid": restProps['data-testid'] || 'backpack-icon',
|
405
|
+
children: /*#__PURE__*/jsxRuntime.jsx("svg", {
|
406
|
+
"aria-label": title,
|
407
|
+
"aria-hidden": !title ? true : undefined,
|
408
|
+
focusable: isFocusable,
|
409
|
+
role: role ?? (title ? 'graphics-symbol img' : 'none'),
|
410
|
+
width: String(size),
|
411
|
+
height: String(size),
|
412
|
+
fill: "currentColor",
|
413
|
+
viewBox: "0 0 24 24",
|
414
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
415
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
416
|
+
d: "M12 2a4 4 0 0 1 4 4v.418A5 5 0 0 1 19 11v5h1v4h-1v1c0 .5-.5 1-1 1H6a1 1 0 0 1-1-1v-1H4v-4h1v-5a5 5 0 0 1 3-4.584V6a4 4 0 0 1 4-4M7 20h10v-5h-2v2h-2v-2H7zm3-12a3 3 0 0 0-3 3v2h10v-2a3 3 0 0 0-3-3zm2-4a2 2 0 0 0-2 2h4a2 2 0 0 0-2-2"
|
417
|
+
})
|
418
|
+
})
|
419
|
+
})
|
420
|
+
});
|
421
|
+
};
|
422
|
+
|
390
423
|
const BackslashCircle = ({
|
391
424
|
className = undefined,
|
392
425
|
isFocusable = false,
|
@@ -10551,6 +10584,7 @@ exports.ArrowRight = ArrowRight;
|
|
10551
10584
|
exports.ArrowUp = ArrowUp;
|
10552
10585
|
exports.Atm = Atm;
|
10553
10586
|
exports.AutoConvert = AutoConvert;
|
10587
|
+
exports.Backpack = Backpack;
|
10554
10588
|
exports.BackslashCircle = BackslashCircle;
|
10555
10589
|
exports.Balance = Balance;
|
10556
10590
|
exports.Bank = Bank;
|