@transferwise/icons 3.13.1 → 3.15.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/README.md +2 -0
- package/build/angular/components/icon.component.ts +3 -0
- package/build/angular/components/pay-now-icon.component.ts +19 -0
- package/build/angular/components/payid-icon.component.ts +19 -0
- package/build/angular/components/switch-vertical-icon.component.ts +19 -0
- package/build/angular/index.ts +6 -0
- package/build/components/pay-now.tsx +58 -0
- package/build/components/payid.tsx +57 -0
- package/build/components/switch-vertical.tsx +57 -0
- package/build/icons.json +21 -0
- package/build/index.ts +3 -0
- package/lib/angular/components/icon.component.d.ts.map +1 -1
- package/lib/angular/components/pay-now-icon.component.d.ts +7 -0
- package/lib/angular/components/pay-now-icon.component.d.ts.map +1 -0
- package/lib/angular/components/payid-icon.component.d.ts +7 -0
- package/lib/angular/components/payid-icon.component.d.ts.map +1 -0
- package/lib/angular/components/switch-vertical-icon.component.d.ts +7 -0
- package/lib/angular/components/switch-vertical-icon.component.d.ts.map +1 -0
- package/lib/angular/index.d.ts.map +1 -1
- package/lib/angular/index.js +64 -1
- package/lib/angular/index.js.map +1 -1
- package/lib/components/pay-now.d.ts +14 -0
- package/lib/components/pay-now.d.ts.map +1 -0
- package/lib/components/payid.d.ts +14 -0
- package/lib/components/payid.d.ts.map +1 -0
- package/lib/components/switch-vertical.d.ts +14 -0
- package/lib/components/switch-vertical.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 +108 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +110 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -6247,6 +6247,78 @@ const Salary = ({
|
|
6247
6247
|
});
|
6248
6248
|
};
|
6249
6249
|
|
6250
|
+
const PayNow = ({
|
6251
|
+
className = undefined,
|
6252
|
+
isFocusable = false,
|
6253
|
+
filled = undefined,
|
6254
|
+
title = undefined,
|
6255
|
+
role = undefined,
|
6256
|
+
size = 16,
|
6257
|
+
...restProps
|
6258
|
+
}) => {
|
6259
|
+
if (filled) {
|
6260
|
+
console.warn('<PayNow filled /> is now deprecated, please use <PayNowFill /> or refer to https://transferwise.github.io/icons/ for more info.');
|
6261
|
+
}
|
6262
|
+
return /*#__PURE__*/jsxRuntime.jsx("span", {
|
6263
|
+
className: `tw-icon tw-icon-pay-now ${className ? className : ''}`,
|
6264
|
+
"data-testid": restProps['data-testid'] || 'pay-now-icon',
|
6265
|
+
children: /*#__PURE__*/jsxRuntime.jsx("svg", {
|
6266
|
+
"aria-label": title,
|
6267
|
+
"aria-hidden": !title ? true : undefined,
|
6268
|
+
focusable: isFocusable,
|
6269
|
+
role: role ?? (title ? 'graphics-symbol img' : 'none'),
|
6270
|
+
width: String(size),
|
6271
|
+
height: String(size),
|
6272
|
+
fill: "currentColor",
|
6273
|
+
viewBox: "0 0 24 24",
|
6274
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
6275
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("path", {
|
6276
|
+
d: "M8.773 9.602c.222.01.445.01.668 0 .035 0 .103-.091.093-.12-.11-.366-.228-.727-.35-1.104l-.024-.072-.058.029c-.017.008-.024.011-.026.017l-.064.178c-.116.317-.231.636-.338.955-.008.028.063.114.099.117ZM5.033 8.077c0-.157 0-.24.04-.281.045-.045.138-.043.33-.039.07.002.153.003.25.003.387 0 .615.392.446.739a.462.462 0 0 1-.425.28H5.55l-.196.001c-.156.002-.237.003-.28-.038-.046-.044-.046-.138-.044-.337l.001-.146c.002-.07.002-.13.002-.182Z"
|
6277
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
6278
|
+
fillRule: "evenodd",
|
6279
|
+
d: "M5.143 1.714a3.429 3.429 0 0 0-3.429 3.429v13.714a3.429 3.429 0 0 0 3.429 3.429h13.714a3.429 3.429 0 0 0 3.429-3.429V5.143a3.429 3.429 0 0 0-3.429-3.429H5.143Zm7.718 10.048c.192-.255.263-.26.49-.04a3.106 3.106 0 0 1 .696 3.438 3.087 3.087 0 0 1-3.01 1.867c-1.46-.069-2.654-1.078-2.912-2.525-.263-1.465.483-2.773 1.743-3.365a.814.814 0 0 1 .05-.02c.089-.034.187-.071.13-.2a.811.811 0 0 1-.042-.132c-.035-.139-.071-.279-.29-.275-.41.005-.822 0-1.232-.005-.131-.003-.2.053-.248.172-.214.526-.217.526-.788.526h-.019c-.267.001-.39.002-.425-.053-.03-.048.006-.136.073-.301l.049-.122c.465-1.173.928-2.347 1.391-3.521l.002-.004c.122-.31.126-.32.466-.312.12.002.215 0 .292-.002.144-.003.225-.005.284.03.075.044.114.148.203.384l.006.017.06.158.215.56c.326.847.652 1.696.972 2.549.075.207.187.3.412.286.103-.008.21.014.314.037h.001l.077.016c.122.025.19-.013.19-.142l.001-.21c.003-.346.005-.692-.001-1.042a.59.59 0 0 0-.092-.245l-.012-.02c-.198-.355-.398-.709-.597-1.062v-.001c-.2-.353-.399-.706-.597-1.06a2.229 2.229 0 0 1-.06-.123 6.057 6.057 0 0 0-.056-.12l.303-.001c.285-.002.548-.004.81.011.065.005.152.111.19.19.117.24.23.484.344.727l.003.007c.07.151.14.302.212.452.018.038.05.069.082.1a.84.84 0 0 1 .044.044 1.11 1.11 0 0 1 .035-.04.467.467 0 0 0 .076-.099c.195-.4.39-.8.575-1.201.06-.134.146-.185.29-.183.23.006.458.005.704.004l.319-.001-.053.1-.011.022a5.566 5.566 0 0 1-.07.131l-.288.498-.002.003v.002l-.01.016c-.313.542-.626 1.084-.932 1.629a.812.812 0 0 0-.097.351 33.36 33.36 0 0 0-.015 1.331c.003.175-.055.263-.24.246-.114-.01-.205.022-.24.146-.005.013-.01.026-.02.036l-.066.091c-.158.222-.226.317-.314.341-.066.018-.144-.004-.28-.044-.047-.014-.1-.03-.163-.047a2.27 2.27 0 0 0-2.778 1.518 2.243 2.243 0 0 0 1.422 2.783c.89.311 1.705.126 2.366-.536.66-.663.824-1.47.533-2.36a.388.388 0 0 0-.086-.129.824.824 0 0 1-.05-.062c-.02.018-.04.034-.06.05l-.002.001a.519.519 0 0 0-.103.096c-.52.703-1.04 1.406-1.558 2.11-.2.27-.263.27-.48.005l-.034-.04c-.383-.47-.767-.94-1.15-1.412-.173-.213-.173-.268-.008-.49l.058-.08c.059-.08.117-.161.18-.237.121-.152.204-.154.333-.002.149.177.295.356.441.535l.22.269c.164.202.18.202.329 0 .25-.336.5-.673.752-1.009l.753-1.01Zm7.03.165h-.004c-.136 0-.273.001-.408-.005-.162-.008-.253.048-.309.207-.238.668-.482 1.332-.727 1.998l-.077.21a1.93 1.93 0 0 1-.077.174v.003c-.02.041-.043.088-.067.143a6.162 6.162 0 0 0-.055-.121l-.002-.003a1.618 1.618 0 0 1-.06-.14l-.049-.136a5.312 5.312 0 0 1-.17-.534.783.783 0 0 1 0-.397c.108-.347.236-.691.364-1.032l.06-.162c.06-.162.005-.22-.154-.218h-.162c-.204 0-.408.001-.61-.005-.157-.005-.235.058-.283.21-.24.774-.488 1.549-.739 2.32a.328.328 0 0 1-.064.096.71.71 0 0 0-.034.043.797.797 0 0 0-.035-.046.348.348 0 0 1-.062-.095c-.258-.77-.513-1.539-.764-2.31-.053-.162-.136-.24-.316-.23a7.263 7.263 0 0 1-.425.001 11.14 11.14 0 0 0-.283-.001c-.197.002-.22.038-.147.225l.678 1.789.046.123.632 1.667.04.11c.091.241.13.347.205.391.058.035.137.033.276.031.065-.001.143-.002.238 0 .374.007.382-.005.513-.347.065-.171.132-.342.2-.513l.006-.018.131-.334.08-.008.06.148c.061.152.122.304.181.457.045.115.078.208.106.285.064.178.094.263.155.303.055.038.135.037.29.037.092 0 .21 0 .365.007.175.008.268-.068.329-.225.177-.453.36-.9.544-1.35.194-.475.39-.949.587-1.423l.04-.098.39-.941c.101-.25.078-.283-.198-.286h-.235Zm-12.388-.07c-.203.004-.405.01-.605-.003-.192-.013-.255.065-.255.253 0 .493-.007.987-.013 1.481l-.005.37c0 .055-.01.108-.021.162v.002a2.22 2.22 0 0 0-.012.062l-.056.01a3.616 3.616 0 0 0-.042-.059l-.001-.002a2.023 2.023 0 0 1-.08-.116l-.41-.66-.01-.014c-.27-.435-.541-.87-.81-1.307-.081-.134-.177-.198-.337-.192-.25.007-.5.005-.751-.003-.15-.005-.215.053-.215.205-.005 1.303-.013 2.606-.023 3.911 0 .152.069.212.215.21.195-.005.39-.01.585.005.205.015.263-.066.263-.263-.002-.572.004-1.145.011-1.717l.004-.342c0-.048.009-.097.018-.146.004-.025.009-.051.012-.077l.059-.01c.045.066.09.131.131.197.429.712.855 1.423 1.281 2.134l.008.013c.067.112.131.219.295.216.257-.008.515-.003.77.003h.001c.134.002.187-.061.187-.19.006-1.31.013-2.621.023-3.931 0-.157-.073-.208-.217-.203Zm-3.367-.669c.215-.01.432-.007.647.003.175.01.235-.063.235-.23 0-.164.001-.328.003-.491.003-.19.005-.38.003-.57-.003-.166.058-.237.232-.232.256.01.516.013.772-.003.713-.043 1.262-.67 1.25-1.414-.013-.756-.59-1.371-1.308-1.381-.28-.005-.562-.005-.843-.005h-.001c-.317 0-.634-.001-.95-.008-.185-.002-.243.069-.24.246.005.455.004.91.003 1.366v.546h-.021v.555c.002.46.003.92-.003 1.38-.007.17.043.246.22.238Z",
|
6280
|
+
clipRule: "evenodd"
|
6281
|
+
})]
|
6282
|
+
})
|
6283
|
+
})
|
6284
|
+
});
|
6285
|
+
};
|
6286
|
+
|
6287
|
+
const Payid = ({
|
6288
|
+
className = undefined,
|
6289
|
+
isFocusable = false,
|
6290
|
+
filled = undefined,
|
6291
|
+
title = undefined,
|
6292
|
+
role = undefined,
|
6293
|
+
size = 16,
|
6294
|
+
...restProps
|
6295
|
+
}) => {
|
6296
|
+
if (filled) {
|
6297
|
+
console.warn('<Payid filled /> is now deprecated, please use <PayidFill /> or refer to https://transferwise.github.io/icons/ for more info.');
|
6298
|
+
}
|
6299
|
+
return /*#__PURE__*/jsxRuntime.jsx("span", {
|
6300
|
+
className: `tw-icon tw-icon-payid ${className ? className : ''}`,
|
6301
|
+
"data-testid": restProps['data-testid'] || 'payid-icon',
|
6302
|
+
children: /*#__PURE__*/jsxRuntime.jsx("svg", {
|
6303
|
+
"aria-label": title,
|
6304
|
+
"aria-hidden": !title ? true : undefined,
|
6305
|
+
focusable: isFocusable,
|
6306
|
+
role: role ?? (title ? 'graphics-symbol img' : 'none'),
|
6307
|
+
width: String(size),
|
6308
|
+
height: String(size),
|
6309
|
+
fill: "currentColor",
|
6310
|
+
viewBox: "0 0 24 24",
|
6311
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
6312
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
6313
|
+
fillRule: "evenodd",
|
6314
|
+
d: "M5.143 1.714a3.429 3.429 0 0 0-3.429 3.429v13.714a3.429 3.429 0 0 0 3.429 3.429h13.714a3.429 3.429 0 0 0 3.429-3.429V5.143a3.429 3.429 0 0 0-3.429-3.429H5.143Zm5.726 4.798-.571.083v.01h.093v7.536h1.38V7.82c1.132 0 3.644.238 4.537 2.346l1.215-.488c-.737-1.62-2.274-2.762-3.976-3-.893-.166-1.786-.25-2.678-.166Zm-3.81-.083C6.488 6.429 6 6.857 6 7.487c0 .63.488 1.084 1.059 1.084.57 0 1.059-.428 1.059-1.084 0-.655-.488-1.058-1.06-1.058Zm10.702 6.82h1.381l-1.941-2.43-1.941 2.43h1.131c0 .238-.083.487-.166.726-.644 1.62-2.429 2.43-5.107 2.43H7.63v-6.167H6.25v7.464h4.785c3.322 0 5.512-1.049 6.405-3.239.155-.404.238-.809.321-1.213Z",
|
6315
|
+
clipRule: "evenodd"
|
6316
|
+
})
|
6317
|
+
})
|
6318
|
+
})
|
6319
|
+
});
|
6320
|
+
};
|
6321
|
+
|
6250
6322
|
const Payments = ({
|
6251
6323
|
className = undefined,
|
6252
6324
|
isFocusable = false,
|
@@ -9258,6 +9330,41 @@ const Sunglasses = ({
|
|
9258
9330
|
});
|
9259
9331
|
};
|
9260
9332
|
|
9333
|
+
const SwitchVertical = ({
|
9334
|
+
className = undefined,
|
9335
|
+
isFocusable = false,
|
9336
|
+
filled = undefined,
|
9337
|
+
title = undefined,
|
9338
|
+
role = undefined,
|
9339
|
+
size = 16,
|
9340
|
+
...restProps
|
9341
|
+
}) => {
|
9342
|
+
if (filled) {
|
9343
|
+
console.warn('<SwitchVertical filled /> is now deprecated, please use <SwitchVerticalFill /> or refer to https://transferwise.github.io/icons/ for more info.');
|
9344
|
+
}
|
9345
|
+
return /*#__PURE__*/jsxRuntime.jsx("span", {
|
9346
|
+
className: `tw-icon tw-icon-switch-vertical ${className ? className : ''}`,
|
9347
|
+
"data-testid": restProps['data-testid'] || 'switch-vertical-icon',
|
9348
|
+
children: /*#__PURE__*/jsxRuntime.jsx("svg", {
|
9349
|
+
"aria-label": title,
|
9350
|
+
"aria-hidden": !title ? true : undefined,
|
9351
|
+
focusable: isFocusable,
|
9352
|
+
role: role ?? (title ? 'graphics-symbol img' : 'none'),
|
9353
|
+
width: String(size),
|
9354
|
+
height: String(size),
|
9355
|
+
fill: "currentColor",
|
9356
|
+
viewBox: "0 0 24 24",
|
9357
|
+
children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
9358
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
9359
|
+
fillRule: "evenodd",
|
9360
|
+
d: "m12.001 16.629 1.2-1.2 3.086 3.085V2.572h1.714v15.942l3.086-3.085 1.2 1.2-4.543 4.543a.829.829 0 0 1-1.2 0l-4.543-4.543Zm.001-9.257-1.2 1.2-3.086-3.086v15.943H6.002V5.486L2.916 8.572l-1.2-1.2L6.26 2.829a.829.829 0 0 1 1.2 0l4.543 4.543Z",
|
9361
|
+
clipRule: "evenodd"
|
9362
|
+
})
|
9363
|
+
})
|
9364
|
+
})
|
9365
|
+
});
|
9366
|
+
};
|
9367
|
+
|
9261
9368
|
const Switch = ({
|
9262
9369
|
className = undefined,
|
9263
9370
|
isFocusable = false,
|
@@ -10201,6 +10308,8 @@ exports.Paperclip = Paperclip;
|
|
10201
10308
|
exports.Passport = Passport;
|
10202
10309
|
exports.Pause = Pause;
|
10203
10310
|
exports.PayIn = PayIn;
|
10311
|
+
exports.PayNow = PayNow;
|
10312
|
+
exports.Payid = Payid;
|
10204
10313
|
exports.Payments = Payments;
|
10205
10314
|
exports.Paypal = Paypal;
|
10206
10315
|
exports.Pending = Pending;
|
@@ -10285,6 +10394,7 @@ exports.Stop = Stop;
|
|
10285
10394
|
exports.Suitcase = Suitcase;
|
10286
10395
|
exports.Sunglasses = Sunglasses;
|
10287
10396
|
exports.Switch = Switch;
|
10397
|
+
exports.SwitchVertical = SwitchVertical;
|
10288
10398
|
exports.Takeaway = Takeaway;
|
10289
10399
|
exports.Target = Target;
|
10290
10400
|
exports.Tax = Tax;
|