@actioneer/ads 0.5.6 → 0.5.7

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.
@@ -7,7 +7,7 @@ import "@xyflow/react/dist/style.css";
7
7
  import { cn as W } from "../lib/cn.js";
8
8
  import { Minus as q, Plus as J, Maximize as Q, Magnet as X } from "../lib/icons.js";
9
9
  import { Button as a } from "./button.js";
10
- const x = 16, Y = 1.2, $ = [x, x], ee = 1.4, w = 18, oe = 6, te = [8, 4], re = 11, I = 150, ae = 200, ne = 0.28, R = "var(--canvas-edge)";
10
+ const x = 16, Y = 1.2, $ = [x, x], ee = 1.4, w = 18, oe = 2, te = [8, 4], re = 11, I = 150, ae = 200, ne = 0.28, R = "var(--canvas-edge)";
11
11
  function v(o) {
12
12
  return typeof window > "u" || !window.matchMedia ? o : window.matchMedia("(prefers-reduced-motion: reduce)").matches ? 0 : o;
13
13
  }
@@ -18,8 +18,10 @@ export interface PixelIconProps extends React.HTMLAttributes<HTMLSpanElement> {
18
18
  mask?: PixelIconMask | (string & {});
19
19
  /** Entrance choreography: "sequence" sweeps corner-to-corner, else radial. */
20
20
  motion?: "sequence" | "radial";
21
- /** Interaction preset 0–5 (3 = hover-shrink + click blast; hero forces 3). */
21
+ /** Interaction preset 0–5 (3 = local hover-grow + click blast; hero forces 3). */
22
22
  motionMode?: number;
23
+ /** Optional hover/click accent. Defaults to the standard green interaction color. */
24
+ interactionColor?: string;
23
25
  /** Larger hero rendering (broader hatch, mode 3). */
24
26
  hero?: boolean;
25
27
  }