@postal-music/icons 0.1.16 → 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 +72 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +72 -13
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.js +37 -0
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +37 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/types/icons/communication/Announcement01Icon.d.ts +9 -0
- package/dist/types/icons/communication/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/icons/communication/Announcement01Icon.native.tsx +39 -0
- package/src/icons/communication/Announcement01Icon.web.tsx +69 -0
- package/src/icons/communication/index.ts +1 -0
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
|
|
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:
|
|
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
|
|
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:
|
|
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
|
|
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 ?
|
|
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
|
|
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:
|
|
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,7 +2311,7 @@ var CreditCardIcon = ({ size = 18, color = "currentColor", ...props }) => /* @__
|
|
|
2252
2311
|
}
|
|
2253
2312
|
);
|
|
2254
2313
|
var CreditCardIcon_web_default = CreditCardIcon;
|
|
2255
|
-
var
|
|
2314
|
+
var handleKeyDown3 = (e) => {
|
|
2256
2315
|
const isEnter = e.key === "Enter";
|
|
2257
2316
|
const isSpace = e.key === " ";
|
|
2258
2317
|
if (!isEnter && !isSpace) return;
|
|
@@ -2282,7 +2341,7 @@ var CurrencyDollarIcon = React6__namespace.memo(
|
|
|
2282
2341
|
"aria-hidden": interactive ? void 0 : true,
|
|
2283
2342
|
"aria-label": interactive ? ariaLabel ?? "currency dollar icon" : void 0,
|
|
2284
2343
|
tabIndex: interactive ? 0 : -1,
|
|
2285
|
-
onKeyDown: interactive ?
|
|
2344
|
+
onKeyDown: interactive ? handleKeyDown3 : void 0,
|
|
2286
2345
|
onClick,
|
|
2287
2346
|
className: cn("fill-none stroke-current", className),
|
|
2288
2347
|
...rest,
|
|
@@ -4498,7 +4557,7 @@ var Shuffle01Icon = React6.forwardRef(
|
|
|
4498
4557
|
}, ref) => {
|
|
4499
4558
|
const isInteractive = Boolean(onClick);
|
|
4500
4559
|
const ariaProps = label ? { role: "img", "aria-label": label } : { "aria-hidden": true };
|
|
4501
|
-
const
|
|
4560
|
+
const handleKeyDown4 = (e) => {
|
|
4502
4561
|
if (!isInteractive) return;
|
|
4503
4562
|
if (e.key === "Enter" || e.key === " ") {
|
|
4504
4563
|
e.preventDefault();
|
|
@@ -4522,7 +4581,7 @@ var Shuffle01Icon = React6.forwardRef(
|
|
|
4522
4581
|
className
|
|
4523
4582
|
),
|
|
4524
4583
|
tabIndex: isInteractive ? 0 : void 0,
|
|
4525
|
-
onKeyDown:
|
|
4584
|
+
onKeyDown: handleKeyDown4,
|
|
4526
4585
|
...ariaProps,
|
|
4527
4586
|
...rest,
|
|
4528
4587
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6476,6 +6535,7 @@ exports.AlertTriangleIcon = AlertTriangleIcon_web_default;
|
|
|
6476
6535
|
exports.AlignLeft01Icon = AlignLeft01Icon;
|
|
6477
6536
|
exports.AlignLeftIcon = AlignLeftIcon;
|
|
6478
6537
|
exports.AnnotationInfoIcon = AnnotationInfoIcon_web_default;
|
|
6538
|
+
exports.Announcement01Icon = Announcement01Icon_web_default;
|
|
6479
6539
|
exports.AppleMusicIcon = AppleMusicIcon;
|
|
6480
6540
|
exports.ArrowDownIcon = ArrowDownIcon;
|
|
6481
6541
|
exports.ArrowLeftIcon = ArrowLeftIcon_web_default;
|