@transferwise/icons 4.2.0 → 4.3.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/components/scan-sparkle.tsx +52 -0
- package/build/icons.json +7 -0
- package/build/index.ts +1 -0
- package/lib/components/scan-sparkle.d.ts +13 -0
- package/lib/components/scan-sparkle.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 +40 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +40 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8021,6 +8021,45 @@ const ScanQrCode = ({
|
|
|
8021
8021
|
});
|
|
8022
8022
|
};
|
|
8023
8023
|
|
|
8024
|
+
const ScanSparkle = ({
|
|
8025
|
+
className = undefined,
|
|
8026
|
+
isFocusable = false,
|
|
8027
|
+
filled = undefined,
|
|
8028
|
+
title = undefined,
|
|
8029
|
+
role = undefined,
|
|
8030
|
+
size = 16,
|
|
8031
|
+
...restProps
|
|
8032
|
+
}) => {
|
|
8033
|
+
if (filled) {
|
|
8034
|
+
console.warn("<ScanSparkle filled /> is now deprecated, please use <ScanSparkleFill /> or refer to https://transferwise.github.io/icons/ for more info.");
|
|
8035
|
+
}
|
|
8036
|
+
return /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
8037
|
+
className: `tw-icon tw-icon-scan-sparkle ${className ? className : ''}`,
|
|
8038
|
+
"data-testid": restProps['data-testid'] || 'scan-sparkle-icon',
|
|
8039
|
+
children: /*#__PURE__*/jsxRuntime.jsx("svg", {
|
|
8040
|
+
"aria-label": title,
|
|
8041
|
+
"aria-hidden": !title ? true : undefined,
|
|
8042
|
+
focusable: isFocusable,
|
|
8043
|
+
role: role ?? (title ? 'graphics-symbol img' : 'none'),
|
|
8044
|
+
width: String(size),
|
|
8045
|
+
height: String(size),
|
|
8046
|
+
fill: "currentColor",
|
|
8047
|
+
viewBox: "0 0 24 24",
|
|
8048
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
8049
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("path", {
|
|
8050
|
+
d: "M5 19h4v2H5a2 2 0 0 1-2-2v-5h2zM21 19a2 2 0 0 1-2 2h-4v-2h4v-5h2z"
|
|
8051
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
8052
|
+
fillRule: "evenodd",
|
|
8053
|
+
d: "M14 8a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm-4 6h4v-4h-4z",
|
|
8054
|
+
clipRule: "evenodd"
|
|
8055
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
8056
|
+
d: "M9 5H5v5H3V5a2 2 0 0 1 2-2h4zM17.772 1.512a.25.25 0 0 1 .457 0l.966 2.166c.025.056.071.101.127.127l2.166.966a.25.25 0 0 1 0 .457l-2.166.968a.25.25 0 0 0-.127.126L18.23 8.49a.25.25 0 0 1-.457 0l-.967-2.167a.25.25 0 0 0-.127-.126l-2.166-.968a.25.25 0 0 1 0-.457l2.166-.966a.25.25 0 0 0 .127-.127z"
|
|
8057
|
+
})]
|
|
8058
|
+
})
|
|
8059
|
+
})
|
|
8060
|
+
});
|
|
8061
|
+
};
|
|
8062
|
+
|
|
8024
8063
|
const Search = ({
|
|
8025
8064
|
className = undefined,
|
|
8026
8065
|
isFocusable = false,
|
|
@@ -10914,6 +10953,7 @@ exports.Salary = Salary;
|
|
|
10914
10953
|
exports.SalesAndRoyalties = SalesAndRoyalties;
|
|
10915
10954
|
exports.Savings = Savings;
|
|
10916
10955
|
exports.ScanQrCode = ScanQrCode;
|
|
10956
|
+
exports.ScanSparkle = ScanSparkle;
|
|
10917
10957
|
exports.Search = Search;
|
|
10918
10958
|
exports.Send = Send;
|
|
10919
10959
|
exports.Settings = Settings;
|