@postal-music/icons 0.1.15 → 0.1.16

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
@@ -1972,7 +1972,7 @@ var FolderPlusIcon = React6__namespace.forwardRef(
1972
1972
  title,
1973
1973
  ...rest
1974
1974
  }, ref) => {
1975
- const handleKeyDown2 = (e) => {
1975
+ const handleKeyDown3 = (e) => {
1976
1976
  if (onKeyDown) {
1977
1977
  onKeyDown(e);
1978
1978
  return;
@@ -2005,7 +2005,7 @@ var FolderPlusIcon = React6__namespace.forwardRef(
2005
2005
  ),
2006
2006
  tabIndex: interactive ? tabIndex ?? 0 : tabIndex,
2007
2007
  onClick,
2008
- onKeyDown: handleKeyDown2,
2008
+ onKeyDown: handleKeyDown3,
2009
2009
  ...ariaProps,
2010
2010
  ...rest,
2011
2011
  children: [
@@ -2032,7 +2032,7 @@ var Upload01Icon = React6__namespace.forwardRef(
2032
2032
  title,
2033
2033
  ...rest
2034
2034
  }, ref) => {
2035
- const handleKeyDown2 = (e) => {
2035
+ const handleKeyDown3 = (e) => {
2036
2036
  if (onKeyDown) {
2037
2037
  onKeyDown(e);
2038
2038
  return;
@@ -2065,7 +2065,7 @@ var Upload01Icon = React6__namespace.forwardRef(
2065
2065
  ),
2066
2066
  tabIndex: interactive ? tabIndex ?? 0 : tabIndex,
2067
2067
  onClick,
2068
- onKeyDown: handleKeyDown2,
2068
+ onKeyDown: handleKeyDown3,
2069
2069
  ...ariaProps,
2070
2070
  ...rest,
2071
2071
  children: [
@@ -2192,7 +2192,7 @@ var CoinsStacked03Icon = React6__namespace.forwardRef(
2192
2192
  ...props
2193
2193
  }, ref) => {
2194
2194
  const isInteractive = Boolean(onClick);
2195
- const handleKeyDown2 = (event) => {
2195
+ const handleKeyDown3 = (event) => {
2196
2196
  if (!isInteractive) return;
2197
2197
  if (event.key === "Enter" || event.key === " ") {
2198
2198
  event.preventDefault();
@@ -2219,7 +2219,7 @@ var CoinsStacked03Icon = React6__namespace.forwardRef(
2219
2219
  "aria-label": isInteractive ? title || "coins stacked icon" : void 0,
2220
2220
  "aria-hidden": isInteractive ? void 0 : title ? void 0 : true,
2221
2221
  onClick,
2222
- onKeyDown: handleKeyDown2,
2222
+ onKeyDown: handleKeyDown3,
2223
2223
  children: [
2224
2224
  title ? /* @__PURE__ */ jsxRuntime.jsx("title", { children: title }) : null,
2225
2225
  /* @__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 +2252,58 @@ var CreditCardIcon = ({ size = 18, color = "currentColor", ...props }) => /* @__
2252
2252
  }
2253
2253
  );
2254
2254
  var CreditCardIcon_web_default = CreditCardIcon;
2255
+ var handleKeyDown2 = (e) => {
2256
+ const isEnter = e.key === "Enter";
2257
+ const isSpace = e.key === " ";
2258
+ if (!isEnter && !isSpace) return;
2259
+ e.preventDefault();
2260
+ e.currentTarget?.click?.();
2261
+ };
2262
+ var CurrencyDollarIcon = React6__namespace.memo(
2263
+ React6__namespace.forwardRef(function CurrencyDollarIcon2({
2264
+ size = 20,
2265
+ strokeWidth = 1.5,
2266
+ className,
2267
+ ariaLabel,
2268
+ title,
2269
+ onClick,
2270
+ ...rest
2271
+ }, ref) {
2272
+ const interactive = typeof onClick === "function";
2273
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2274
+ "svg",
2275
+ {
2276
+ ref,
2277
+ xmlns: "http://www.w3.org/2000/svg",
2278
+ viewBox: "0 0 20 20",
2279
+ width: size,
2280
+ height: size,
2281
+ role: "img",
2282
+ "aria-hidden": interactive ? void 0 : true,
2283
+ "aria-label": interactive ? ariaLabel ?? "currency dollar icon" : void 0,
2284
+ tabIndex: interactive ? 0 : -1,
2285
+ onKeyDown: interactive ? handleKeyDown2 : void 0,
2286
+ onClick,
2287
+ className: cn("fill-none stroke-current", className),
2288
+ ...rest,
2289
+ children: [
2290
+ title ? /* @__PURE__ */ jsxRuntime.jsx("title", { children: title }) : null,
2291
+ /* @__PURE__ */ jsxRuntime.jsx(
2292
+ "path",
2293
+ {
2294
+ 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",
2295
+ stroke: "currentColor",
2296
+ strokeWidth,
2297
+ strokeLinecap: "round",
2298
+ strokeLinejoin: "round"
2299
+ }
2300
+ )
2301
+ ]
2302
+ }
2303
+ );
2304
+ })
2305
+ );
2306
+ var CurrencyDollarIcon_web_default = CurrencyDollarIcon;
2255
2307
  var Wallet01Icon = ({ size = 18, color = "currentColor", ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2256
2308
  "svg",
2257
2309
  {
@@ -4446,7 +4498,7 @@ var Shuffle01Icon = React6.forwardRef(
4446
4498
  }, ref) => {
4447
4499
  const isInteractive = Boolean(onClick);
4448
4500
  const ariaProps = label ? { role: "img", "aria-label": label } : { "aria-hidden": true };
4449
- const handleKeyDown2 = (e) => {
4501
+ const handleKeyDown3 = (e) => {
4450
4502
  if (!isInteractive) return;
4451
4503
  if (e.key === "Enter" || e.key === " ") {
4452
4504
  e.preventDefault();
@@ -4470,7 +4522,7 @@ var Shuffle01Icon = React6.forwardRef(
4470
4522
  className
4471
4523
  ),
4472
4524
  tabIndex: isInteractive ? 0 : void 0,
4473
- onKeyDown: handleKeyDown2,
4525
+ onKeyDown: handleKeyDown3,
4474
4526
  ...ariaProps,
4475
4527
  ...rest,
4476
4528
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -6455,6 +6507,7 @@ exports.Copy02Icon = Copy02Icon_web_default;
6455
6507
  exports.Copy06Icon = Copy06Icon;
6456
6508
  exports.CopyIcon = CopyIcon_web_default;
6457
6509
  exports.CreditCardIcon = CreditCardIcon_web_default;
6510
+ exports.CurrencyDollarIcon = CurrencyDollarIcon_web_default;
6458
6511
  exports.DataIcon = DataIcon;
6459
6512
  exports.Dataflow03Icon = Dataflow03Icon_web_default;
6460
6513
  exports.Datapoints01Icon = Datapoints01Icon;