@doan-labs/peek 1.0.0 → 2.0.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/dist/svg.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type DrawOptions, type Frame, type Gaze, type Node, type Pose } from './draw.js';
2
2
  import { type Axes, type Identity } from './identity.js';
3
- import type { Expression } from './tables.js';
3
+ import { type Expression, type Variant } from './tables.js';
4
4
  export type PeekOptions = Partial<Axes> & {
5
5
  /** px. Drives the stroke ramp (thicker below 96) and the riso print. */
6
6
  size?: number;
@@ -16,6 +16,8 @@ export type PeekOptions = Partial<Axes> & {
16
16
  riso?: boolean;
17
17
  /** Pin a style version. Default the latest. */
18
18
  version?: number;
19
+ /** How the face is drawn: 'peek', 'haze' or 'bloc'. Never who it is. */
20
+ variant?: Variant;
19
21
  /** Prefix for ids inside the SVG. Default derived from everything drawn,
20
22
  * so two different avatars inlined in one page never share defs. */
21
23
  id?: string;