@postal-music/icons 0.1.15 → 0.1.18

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/dist/index.js CHANGED
@@ -1423,6 +1423,65 @@ var TrendUp01Icon = ({
1423
1423
  }
1424
1424
  );
1425
1425
  var TrendUp01Icon_web_default = TrendUp01Icon;
1426
+ var handleKeyDown = (e) => {
1427
+ const isEnter = e.key === "Enter";
1428
+ const isSpace = e.key === " ";
1429
+ if (!isEnter && !isSpace) return;
1430
+ e.preventDefault();
1431
+ e.currentTarget?.click?.();
1432
+ };
1433
+ var Announcement01Icon = React6__namespace.memo(
1434
+ React6__namespace.forwardRef(function Announcement01Icon2({
1435
+ size = 14,
1436
+ strokeWidth = 1.5,
1437
+ className,
1438
+ ariaLabel,
1439
+ title,
1440
+ onClick,
1441
+ ...rest
1442
+ }, ref) {
1443
+ const interactive = typeof onClick === "function";
1444
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1445
+ "svg",
1446
+ {
1447
+ ref,
1448
+ xmlns: "http://www.w3.org/2000/svg",
1449
+ viewBox: "0 0 14 14",
1450
+ width: size,
1451
+ height: size,
1452
+ role: "img",
1453
+ "aria-hidden": interactive ? void 0 : true,
1454
+ "aria-label": interactive ? ariaLabel ?? "announcement icon" : void 0,
1455
+ tabIndex: interactive ? 0 : -1,
1456
+ onKeyDown: interactive ? handleKeyDown : void 0,
1457
+ onClick,
1458
+ className: cn("fill-none stroke-current", className),
1459
+ ...rest,
1460
+ children: [
1461
+ title ? /* @__PURE__ */ jsxRuntime.jsx("title", { children: title }) : null,
1462
+ /* @__PURE__ */ jsxRuntime.jsx(
1463
+ "path",
1464
+ {
1465
+ d: "M5.98047 3.2084H3.96797C2.98788 3.2084 2.49783 3.2084 2.12348 3.39914C1.7942 3.56692 1.52648 3.83464 1.35871 4.16392C1.16797 4.53827 1.16797 5.02831 1.16797 6.00841L1.16797 6.7084C1.16797 7.252 1.16797 7.5238 1.25678 7.7382C1.37519 8.02407 1.60231 8.25119 1.88817 8.3696C2.10257 8.4584 2.37437 8.4584 2.91797 8.4584V10.9376C2.91797 11.073 2.91797 11.1407 2.92359 11.1978C2.97814 11.7517 3.41638 12.1899 3.97028 12.2445C4.02732 12.2501 4.09504 12.2501 4.23047 12.2501C4.3659 12.2501 4.43362 12.2501 4.49066 12.2445C5.04456 12.1899 5.4828 11.7517 5.53735 11.1978C5.54297 11.1407 5.54297 11.073 5.54297 10.9376V8.4584H5.98047C7.01089 8.4584 8.27136 9.01075 9.24381 9.54086C9.81112 9.85012 10.0948 10.0047 10.2806 9.98199C10.4528 9.96089 10.5831 9.88354 10.6841 9.74238C10.793 9.59016 10.793 9.28557 10.793 8.6764V2.9904C10.793 2.38123 10.793 2.07665 10.6841 1.92442C10.5831 1.78326 10.4528 1.70591 10.2806 1.68481C10.0948 1.66206 9.81112 1.81669 9.24381 2.12594C8.27136 2.65605 7.01088 3.2084 5.98047 3.2084Z",
1466
+ fill: "currentColor"
1467
+ }
1468
+ ),
1469
+ /* @__PURE__ */ jsxRuntime.jsx(
1470
+ "path",
1471
+ {
1472
+ d: "M12.8346 4.66674V7.00007M5.98047 3.2084H3.96797C2.98788 3.2084 2.49783 3.2084 2.12348 3.39914C1.7942 3.56692 1.52648 3.83464 1.35871 4.16392C1.16797 4.53827 1.16797 5.02831 1.16797 6.00841L1.16797 6.7084C1.16797 7.252 1.16797 7.5238 1.25678 7.7382C1.37519 8.02407 1.60231 8.25119 1.88817 8.3696C2.10257 8.4584 2.37437 8.4584 2.91797 8.4584V10.9376C2.91797 11.073 2.91797 11.1407 2.92359 11.1978C2.97814 11.7517 3.41638 12.1899 3.97028 12.2445C4.02732 12.2501 4.09504 12.2501 4.23047 12.2501C4.3659 12.2501 4.43362 12.2501 4.49066 12.2445C5.04456 12.1899 5.4828 11.7517 5.53735 11.1978C5.54297 11.1407 5.54297 11.073 5.54297 10.9376V8.4584H5.98047C7.01089 8.4584 8.27136 9.01075 9.24381 9.54086C9.81112 9.85012 10.0948 10.0047 10.2806 9.98199C10.4528 9.96089 10.5831 9.88354 10.6841 9.74238C10.793 9.59016 10.793 9.28557 10.793 8.6764V2.9904C10.793 2.38123 10.793 2.07665 10.6841 1.92442C10.5831 1.78326 10.4528 1.70591 10.2806 1.68481C10.0948 1.66206 9.81112 1.81669 9.24381 2.12594C8.27136 2.65605 7.01088 3.2084 5.98047 3.2084Z",
1473
+ stroke: "currentColor",
1474
+ strokeWidth,
1475
+ strokeLinecap: "round",
1476
+ strokeLinejoin: "round"
1477
+ }
1478
+ )
1479
+ ]
1480
+ }
1481
+ );
1482
+ })
1483
+ );
1484
+ var Announcement01Icon_web_default = Announcement01Icon;
1426
1485
  var AnnotationInfoIcon = ({
1427
1486
  title = "Annotation info",
1428
1487
  size = 24,
@@ -1972,7 +2031,7 @@ var FolderPlusIcon = React6__namespace.forwardRef(
1972
2031
  title,
1973
2032
  ...rest
1974
2033
  }, ref) => {
1975
- const handleKeyDown2 = (e) => {
2034
+ const handleKeyDown4 = (e) => {
1976
2035
  if (onKeyDown) {
1977
2036
  onKeyDown(e);
1978
2037
  return;
@@ -2005,7 +2064,7 @@ var FolderPlusIcon = React6__namespace.forwardRef(
2005
2064
  ),
2006
2065
  tabIndex: interactive ? tabIndex ?? 0 : tabIndex,
2007
2066
  onClick,
2008
- onKeyDown: handleKeyDown2,
2067
+ onKeyDown: handleKeyDown4,
2009
2068
  ...ariaProps,
2010
2069
  ...rest,
2011
2070
  children: [
@@ -2032,7 +2091,7 @@ var Upload01Icon = React6__namespace.forwardRef(
2032
2091
  title,
2033
2092
  ...rest
2034
2093
  }, ref) => {
2035
- const handleKeyDown2 = (e) => {
2094
+ const handleKeyDown4 = (e) => {
2036
2095
  if (onKeyDown) {
2037
2096
  onKeyDown(e);
2038
2097
  return;
@@ -2065,7 +2124,7 @@ var Upload01Icon = React6__namespace.forwardRef(
2065
2124
  ),
2066
2125
  tabIndex: interactive ? tabIndex ?? 0 : tabIndex,
2067
2126
  onClick,
2068
- onKeyDown: handleKeyDown2,
2127
+ onKeyDown: handleKeyDown4,
2069
2128
  ...ariaProps,
2070
2129
  ...rest,
2071
2130
  children: [
@@ -2129,7 +2188,7 @@ var UploadIcon = ({
2129
2188
  )
2130
2189
  }
2131
2190
  );
2132
- var handleKeyDown = (e) => {
2191
+ var handleKeyDown2 = (e) => {
2133
2192
  const isEnter = e.key === "Enter";
2134
2193
  const isSpace = e.key === " ";
2135
2194
  if (!isEnter && !isSpace) return;
@@ -2159,7 +2218,7 @@ var Banknote03Icon = React6__namespace.memo(
2159
2218
  "aria-hidden": interactive ? void 0 : true,
2160
2219
  "aria-label": interactive ? ariaLabel ?? "banknote icon" : void 0,
2161
2220
  tabIndex: interactive ? 0 : -1,
2162
- onKeyDown: interactive ? handleKeyDown : void 0,
2221
+ onKeyDown: interactive ? handleKeyDown2 : void 0,
2163
2222
  onClick,
2164
2223
  className: cn("fill-none stroke-current", className),
2165
2224
  ...rest,
@@ -2192,7 +2251,7 @@ var CoinsStacked03Icon = React6__namespace.forwardRef(
2192
2251
  ...props
2193
2252
  }, ref) => {
2194
2253
  const isInteractive = Boolean(onClick);
2195
- const handleKeyDown2 = (event) => {
2254
+ const handleKeyDown4 = (event) => {
2196
2255
  if (!isInteractive) return;
2197
2256
  if (event.key === "Enter" || event.key === " ") {
2198
2257
  event.preventDefault();
@@ -2219,7 +2278,7 @@ var CoinsStacked03Icon = React6__namespace.forwardRef(
2219
2278
  "aria-label": isInteractive ? title || "coins stacked icon" : void 0,
2220
2279
  "aria-hidden": isInteractive ? void 0 : title ? void 0 : true,
2221
2280
  onClick,
2222
- onKeyDown: handleKeyDown2,
2281
+ onKeyDown: handleKeyDown4,
2223
2282
  children: [
2224
2283
  title ? /* @__PURE__ */ jsxRuntime.jsx("title", { children: title }) : null,
2225
2284
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10.8337 4.16667C10.8337 5.08714 8.78163 5.83333 6.25033 5.83333C3.71902 5.83333 1.66699 5.08714 1.66699 4.16667M10.8337 4.16667C10.8337 3.24619 8.78163 2.5 6.25033 2.5C3.71902 2.5 1.66699 3.24619 1.66699 4.16667M10.8337 4.16667V5.41667M1.66699 4.16667V14.1667C1.66699 15.0871 3.71902 15.8333 6.25033 15.8333M6.25033 9.16667C6.10987 9.16667 5.97089 9.16437 5.83366 9.15987C3.49762 9.08332 1.66699 8.3694 1.66699 7.5M6.25033 12.5C3.71902 12.5 1.66699 11.7538 1.66699 10.8333M18.3337 9.58333C18.3337 10.5038 16.2816 11.25 13.7503 11.25C11.219 11.25 9.16699 10.5038 9.16699 9.58333M18.3337 9.58333C18.3337 8.66286 16.2816 7.91667 13.7503 7.91667C11.219 7.91667 9.16699 8.66286 9.16699 9.58333M18.3337 9.58333V15.8333C18.3337 16.7538 16.2816 17.5 13.7503 17.5C11.219 17.5 9.16699 16.7538 9.16699 15.8333V9.58333M18.3337 12.7083C18.3337 13.6288 16.2816 14.375 13.7503 14.375C11.219 14.375 9.16699 13.6288 9.16699 12.7083" })
@@ -2252,6 +2311,58 @@ var CreditCardIcon = ({ size = 18, color = "currentColor", ...props }) => /* @__
2252
2311
  }
2253
2312
  );
2254
2313
  var CreditCardIcon_web_default = CreditCardIcon;
2314
+ var handleKeyDown3 = (e) => {
2315
+ const isEnter = e.key === "Enter";
2316
+ const isSpace = e.key === " ";
2317
+ if (!isEnter && !isSpace) return;
2318
+ e.preventDefault();
2319
+ e.currentTarget?.click?.();
2320
+ };
2321
+ var CurrencyDollarIcon = React6__namespace.memo(
2322
+ React6__namespace.forwardRef(function CurrencyDollarIcon2({
2323
+ size = 20,
2324
+ strokeWidth = 1.5,
2325
+ className,
2326
+ ariaLabel,
2327
+ title,
2328
+ onClick,
2329
+ ...rest
2330
+ }, ref) {
2331
+ const interactive = typeof onClick === "function";
2332
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2333
+ "svg",
2334
+ {
2335
+ ref,
2336
+ xmlns: "http://www.w3.org/2000/svg",
2337
+ viewBox: "0 0 20 20",
2338
+ width: size,
2339
+ height: size,
2340
+ role: "img",
2341
+ "aria-hidden": interactive ? void 0 : true,
2342
+ "aria-label": interactive ? ariaLabel ?? "currency dollar icon" : void 0,
2343
+ tabIndex: interactive ? 0 : -1,
2344
+ onKeyDown: interactive ? handleKeyDown3 : void 0,
2345
+ onClick,
2346
+ className: cn("fill-none stroke-current", className),
2347
+ ...rest,
2348
+ children: [
2349
+ title ? /* @__PURE__ */ jsxRuntime.jsx("title", { children: title }) : null,
2350
+ /* @__PURE__ */ jsxRuntime.jsx(
2351
+ "path",
2352
+ {
2353
+ d: "M5 13.3334C5 15.1743 6.49239 16.6666 8.33334 16.6666H11.6667C13.5076 16.6666 15 15.1743 15 13.3334C15 11.4924 13.5076 10 11.6667 10H8.33334C6.49239 10 5 8.50761 5 6.66666C5 4.82571 6.49239 3.33333 8.33334 3.33333H11.6667C13.5076 3.33333 15 4.82571 15 6.66666M10 1.66666V18.3334",
2354
+ stroke: "currentColor",
2355
+ strokeWidth,
2356
+ strokeLinecap: "round",
2357
+ strokeLinejoin: "round"
2358
+ }
2359
+ )
2360
+ ]
2361
+ }
2362
+ );
2363
+ })
2364
+ );
2365
+ var CurrencyDollarIcon_web_default = CurrencyDollarIcon;
2255
2366
  var Wallet01Icon = ({ size = 18, color = "currentColor", ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2256
2367
  "svg",
2257
2368
  {
@@ -4446,7 +4557,7 @@ var Shuffle01Icon = React6.forwardRef(
4446
4557
  }, ref) => {
4447
4558
  const isInteractive = Boolean(onClick);
4448
4559
  const ariaProps = label ? { role: "img", "aria-label": label } : { "aria-hidden": true };
4449
- const handleKeyDown2 = (e) => {
4560
+ const handleKeyDown4 = (e) => {
4450
4561
  if (!isInteractive) return;
4451
4562
  if (e.key === "Enter" || e.key === " ") {
4452
4563
  e.preventDefault();
@@ -4470,7 +4581,7 @@ var Shuffle01Icon = React6.forwardRef(
4470
4581
  className
4471
4582
  ),
4472
4583
  tabIndex: isInteractive ? 0 : void 0,
4473
- onKeyDown: handleKeyDown2,
4584
+ onKeyDown: handleKeyDown4,
4474
4585
  ...ariaProps,
4475
4586
  ...rest,
4476
4587
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -6424,6 +6535,7 @@ exports.AlertTriangleIcon = AlertTriangleIcon_web_default;
6424
6535
  exports.AlignLeft01Icon = AlignLeft01Icon;
6425
6536
  exports.AlignLeftIcon = AlignLeftIcon;
6426
6537
  exports.AnnotationInfoIcon = AnnotationInfoIcon_web_default;
6538
+ exports.Announcement01Icon = Announcement01Icon_web_default;
6427
6539
  exports.AppleMusicIcon = AppleMusicIcon;
6428
6540
  exports.ArrowDownIcon = ArrowDownIcon;
6429
6541
  exports.ArrowLeftIcon = ArrowLeftIcon_web_default;
@@ -6455,6 +6567,7 @@ exports.Copy02Icon = Copy02Icon_web_default;
6455
6567
  exports.Copy06Icon = Copy06Icon;
6456
6568
  exports.CopyIcon = CopyIcon_web_default;
6457
6569
  exports.CreditCardIcon = CreditCardIcon_web_default;
6570
+ exports.CurrencyDollarIcon = CurrencyDollarIcon_web_default;
6458
6571
  exports.DataIcon = DataIcon;
6459
6572
  exports.Dataflow03Icon = Dataflow03Icon_web_default;
6460
6573
  exports.Datapoints01Icon = Datapoints01Icon;