@transferwise/icons 4.0.2 → 4.1.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/lib/index.js CHANGED
@@ -1330,6 +1330,45 @@ const Calendar = ({
1330
1330
  });
1331
1331
  };
1332
1332
 
1333
+ const CameraSparkle = ({
1334
+ className = undefined,
1335
+ isFocusable = false,
1336
+ filled = undefined,
1337
+ title = undefined,
1338
+ role = undefined,
1339
+ size = 16,
1340
+ ...restProps
1341
+ }) => {
1342
+ if (filled) {
1343
+ console.warn("<CameraSparkle filled /> is now deprecated, please use <CameraSparkleFill /> or refer to https://transferwise.github.io/icons/ for more info.");
1344
+ }
1345
+ return /*#__PURE__*/jsxRuntime.jsx("span", {
1346
+ className: `tw-icon tw-icon-camera-sparkle ${className ? className : ''}`,
1347
+ "data-testid": restProps['data-testid'] || 'camera-sparkle-icon',
1348
+ children: /*#__PURE__*/jsxRuntime.jsx("svg", {
1349
+ "aria-label": title,
1350
+ "aria-hidden": !title ? true : undefined,
1351
+ focusable: isFocusable,
1352
+ role: role ?? (title ? 'graphics-symbol img' : 'none'),
1353
+ width: String(size),
1354
+ height: String(size),
1355
+ fill: "currentColor",
1356
+ viewBox: "0 0 24 24",
1357
+ children: (Number(size) === 16 || Number(size) === 24 || Number(size) === 32) && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1358
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
1359
+ d: "M7.06 3a1 1 0 0 1 1 1H14v2H4v12h16v-7h2v7a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h.06a1 1 0 0 1 1-1z"
1360
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
1361
+ fillRule: "evenodd",
1362
+ d: "M12 8a4 4 0 1 1 0 8 4 4 0 0 1 0-8m0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4",
1363
+ clipRule: "evenodd"
1364
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
1365
+ d: "M18.272 3.512a.25.25 0 0 1 .457 0l.966 2.166c.025.056.071.102.127.127l2.166.966a.25.25 0 0 1 0 .458l-2.166.966a.25.25 0 0 0-.127.127l-.966 2.166a.25.25 0 0 1-.457 0l-.967-2.166a.25.25 0 0 0-.127-.127l-2.166-.966a.25.25 0 0 1 0-.458l2.166-.966a.25.25 0 0 0 .127-.127z"
1366
+ })]
1367
+ })
1368
+ })
1369
+ });
1370
+ };
1371
+
1333
1372
  const Camera = ({
1334
1373
  className = undefined,
1335
1374
  isFocusable = false,
@@ -10606,6 +10645,7 @@ exports.Calendar = Calendar;
10606
10645
  exports.CalendarCheck = CalendarCheck;
10607
10646
  exports.CalendarSuccess = CalendarSuccess;
10608
10647
  exports.Camera = Camera;
10648
+ exports.CameraSparkle = CameraSparkle;
10609
10649
  exports.Car = Car;
10610
10650
  exports.Card = Card;
10611
10651
  exports.CardCvc = CardCvc;