@transferwise/icons 3.11.0 → 3.12.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/icon.component.ts +1 -0
- package/build/angular/components/upi-icon.component.ts +19 -0
- package/build/angular/index.ts +2 -0
- package/build/components/upi.tsx +50 -0
- package/build/icons.json +7 -0
- package/build/index.ts +1 -0
- package/lib/angular/components/icon.component.d.ts.map +1 -1
- package/lib/angular/components/upi-icon.component.d.ts +7 -0
- package/lib/angular/components/upi-icon.component.d.ts.map +1 -0
- 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/upi.d.ts +12 -0
- package/lib/components/upi.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 +35 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +35 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -9806,6 +9806,40 @@ const Twitter = ({
|
|
9806
9806
|
});
|
9807
9807
|
};
|
9808
9808
|
|
9809
|
+
const Upi = ({
|
9810
|
+
size = 16,
|
9811
|
+
className = undefined,
|
9812
|
+
title = undefined,
|
9813
|
+
filled = undefined,
|
9814
|
+
role = undefined,
|
9815
|
+
...restProps
|
9816
|
+
}) => {
|
9817
|
+
if (filled) {
|
9818
|
+
console.warn('<Upi filled /> is now deprecated, please use <UpiFill /> or refer to https://transferwise.github.io/icons/ for more info.');
|
9819
|
+
}
|
9820
|
+
return /*#__PURE__*/jsxRuntime.jsxs("span", {
|
9821
|
+
className: `tw-icon tw-icon-upi ${className ? className : ''}`,
|
9822
|
+
"aria-hidden": !title ? 'true' : undefined,
|
9823
|
+
role: role ?? (title ? undefined : 'none'),
|
9824
|
+
"data-testid": restProps['data-testid'] || 'upi-icon',
|
9825
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("svg", {
|
9826
|
+
width: String(size),
|
9827
|
+
height: String(size),
|
9828
|
+
fill: "currentColor",
|
9829
|
+
focusable: "false",
|
9830
|
+
viewBox: "0 0 24 24",
|
9831
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
9832
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
9833
|
+
d: "M19.431 11.815 14.96 1.977a.446.446 0 0 0-.838.068L12.946 6.39l-2.002-4.413a.446.446 0 0 0-.839.067L4.73 21.72a.447.447 0 0 0 .748.434l4.395-4.395-1.071 3.962a.448.448 0 0 0 .748.432l9.792-9.838a.448.448 0 0 0 .09-.501Zm-8.79-8.34 3.823 8.428-8.427 8.428L10.64 3.475Zm-.537 16.854 1.038-3.839 4.174-4.174a.447.447 0 0 0 .091-.5l-1.894-4.177.02.006 1.127-4.166 3.83 8.425-8.386 8.425Z"
|
9834
|
+
})
|
9835
|
+
})
|
9836
|
+
}), title && /*#__PURE__*/jsxRuntime.jsx("span", {
|
9837
|
+
className: "sr-only",
|
9838
|
+
children: title
|
9839
|
+
})]
|
9840
|
+
});
|
9841
|
+
};
|
9842
|
+
|
9809
9843
|
const Upload = ({
|
9810
9844
|
size = 16,
|
9811
9845
|
className = undefined,
|
@@ -10443,6 +10477,7 @@ exports.Trustly = Trustly;
|
|
10443
10477
|
exports.Twitter = Twitter;
|
10444
10478
|
exports.TwoStep = TwoStep;
|
10445
10479
|
exports.Unlock = Unlock;
|
10480
|
+
exports.Upi = Upi;
|
10446
10481
|
exports.Upload = Upload;
|
10447
10482
|
exports.UpwardGraph = UpwardGraph;
|
10448
10483
|
exports.Venmo = Venmo;
|