@transferwise/icons 3.17.0 → 3.18.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/twitter-icon.component.ts +3 -3
- package/build/angular/components/x-icon.component.ts +20 -0
- package/build/angular/index.ts +2 -0
- package/build/components/twitter.tsx +1 -1
- package/build/components/x.tsx +52 -0
- package/build/icons.json +7 -0
- package/build/index.ts +2 -1
- package/lib/angular/components/icon.component.d.ts.map +1 -1
- package/lib/angular/components/x-icon.component.d.ts +7 -0
- package/lib/angular/components/x-icon.component.d.ts.map +1 -0
- package/lib/angular/index.d.ts.map +1 -1
- package/lib/angular/index.js +25 -4
- package/lib/angular/index.js.map +1 -1
- package/lib/components/x.d.ts +13 -0
- package/lib/components/x.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 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +35 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -9735,7 +9735,7 @@ const Twitter = ({
|
|
9735
9735
|
viewBox: "0 0 24 24",
|
9736
9736
|
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
9737
9737
|
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
9738
|
-
d: "
|
9738
|
+
d: "m14.12 10.42 7.5-8.7h-1.78l-6.5 7.56-5.2-7.57h-6L10 13.15 2.14 22.3h1.78l6.87-8 5.49 8h6l-8.16-11.87Zm-2.43 2.83-.8-1.14-6.33-9.06h2.73l5.1 7.31.8 1.14 6.65 9.51h-2.73z"
|
9739
9739
|
})
|
9740
9740
|
})
|
9741
9741
|
})
|
@@ -10125,6 +10125,39 @@ const OwnersWithdrawal = ({
|
|
10125
10125
|
});
|
10126
10126
|
};
|
10127
10127
|
|
10128
|
+
const X = ({
|
10129
|
+
className = undefined,
|
10130
|
+
isFocusable = false,
|
10131
|
+
filled = undefined,
|
10132
|
+
title = undefined,
|
10133
|
+
role = undefined,
|
10134
|
+
size = 16,
|
10135
|
+
...restProps
|
10136
|
+
}) => {
|
10137
|
+
if (filled) {
|
10138
|
+
console.warn("<X filled /> is now deprecated, please use <XFill /> or refer to https://transferwise.github.io/icons/ for more info.");
|
10139
|
+
}
|
10140
|
+
return /*#__PURE__*/jsxRuntime.jsx("span", {
|
10141
|
+
className: `tw-icon tw-icon-x ${className ? className : ''}`,
|
10142
|
+
"data-testid": restProps['data-testid'] || 'x-icon',
|
10143
|
+
children: /*#__PURE__*/jsxRuntime.jsx("svg", {
|
10144
|
+
"aria-label": title,
|
10145
|
+
"aria-hidden": !title ? true : undefined,
|
10146
|
+
focusable: isFocusable,
|
10147
|
+
role: role ?? (title ? 'graphics-symbol img' : 'none'),
|
10148
|
+
width: String(size),
|
10149
|
+
height: String(size),
|
10150
|
+
fill: "currentColor",
|
10151
|
+
viewBox: "0 0 24 24",
|
10152
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
10153
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
10154
|
+
d: "m14.12 10.42 7.5-8.7h-1.78l-6.5 7.56-5.2-7.57h-6L10 13.15 2.14 22.3h1.78l6.87-8 5.49 8h6l-8.16-11.87Zm-2.43 2.83-.8-1.14-6.33-9.06h2.73l5.1 7.31.8 1.14 6.65 9.51h-2.73z"
|
10155
|
+
})
|
10156
|
+
})
|
10157
|
+
})
|
10158
|
+
});
|
10159
|
+
};
|
10160
|
+
|
10128
10161
|
exports.Ach = Ach;
|
10129
10162
|
exports.Activity = Activity;
|
10130
10163
|
exports.Alert = Alert;
|
@@ -10418,4 +10451,5 @@ exports.Warning = Warning;
|
|
10418
10451
|
exports.Water = Water;
|
10419
10452
|
exports.Whatsapp = Whatsapp;
|
10420
10453
|
exports.Withdrawal = Withdrawal;
|
10454
|
+
exports.X = X;
|
10421
10455
|
//# sourceMappingURL=index.js.map
|