@wallarm-org/claude-design 4.12.4 → 4.14.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/SETUP.md +7 -7
- package/dist/UPDATE.md +9 -9
- package/dist/project/components/AgentAvatar/README.md +1 -1
- package/dist/project/components/AgentAvatar/stories.js +1 -1
- package/dist/project/components/AgentAvatar/stories.md +77 -36
- package/dist/project/components/AgentGlyph/README.md +71 -30
- package/dist/project/components/AgentGlyph/stories.js +1 -1
- package/dist/project/components/AgentLookBuilder/README.md +2 -2
- package/dist/project/components/AgentLookBuilder/stories.js +1 -1
- package/dist/project/components/bundle.js +47 -47
- package/dist/project/components/index.d.ts +20 -8
- package/dist/project/design-system.json +4 -4
- package/dist/project/tokens.json +2 -2
- package/package.json +4 -4
|
@@ -292,9 +292,9 @@ export { AGENT_COLORS, AGENT_EYES, AGENT_PROPS, AGENT_SHAPES, type AgentColorOpt
|
|
|
292
292
|
// components/AgentLookBuilder/kit.d.ts
|
|
293
293
|
import { type AgentColorDef, type AgentColorId, type AgentEyeStyle, type AgentPropId, type AgentShapeId } from '../../lib/agent-characters/data.gen.js';
|
|
294
294
|
/**
|
|
295
|
-
* Loads the full prop library (
|
|
295
|
+
* Loads the full prop library (16 props on any shape) for every DS copy on the page. Any app that renders stored
|
|
296
296
|
* custom looks calls it once at start-up — the cards, rows and tables that show them, not only the picker.
|
|
297
|
-
* Without it only the
|
|
297
|
+
* Without it only the presets' props are drawn. Mounted glyphs pick it up on their next render; a mounted 3D
|
|
298
298
|
* character keeps what it drew until its look changes or it remounts, so call it before the first render.
|
|
299
299
|
*/
|
|
300
300
|
export declare function enableAgentLookLibrary(): void;
|
|
@@ -26253,8 +26253,8 @@ export declare const hexOf: (id: string) => string;
|
|
|
26253
26253
|
export type AgentShapeId = 'dome' | 'gumdrop' | 'cushion' | 'pebble' | 'capsule' | 'cloud' | 'egg' | 'mochi' | 'kettle' | 'mug' | 'padlock' | 'safe';
|
|
26254
26254
|
export type AgentColorId = 'coral' | 'cobalt' | 'sky' | 'cyan' | 'lilac' | 'heather' | 'pink' | 'sand' | 'toffee' | 'powder' | 'lavender' | 'blush' | 'butter' | 'mint' | 'sage' | 'petrol' | 'plum' | 'cocoa' | 'olive' | 'graphite' | 'stone' | 'oat';
|
|
26255
26255
|
export type AgentEyeStyle = 'round' | 'oval' | 'tall' | 'sleepy';
|
|
26256
|
-
export type AgentPropId = 'antennae' | 'dish' | 'glasses' | 'seam' | 'beanie' | 'headlamp' | 'periscope' | 'magnifier' | 'pennant' | 'flowerclip' | 'plaster' | 'sprout' | 'badge' | 'windkey' | 'monocle' | 'none';
|
|
26257
|
-
export type AgentCharacterId = 'wally' | 'radar' | 'sift' | '
|
|
26256
|
+
export type AgentPropId = 'antennae' | 'dish' | 'glasses' | 'seam' | 'beanie' | 'headlamp' | 'periscope' | 'magnifier' | 'pennant' | 'flowerclip' | 'plaster' | 'sprout' | 'badge' | 'windkey' | 'monocle' | 'quill' | 'none';
|
|
26257
|
+
export type AgentCharacterId = 'wally' | 'radar' | 'sift' | 'acquit' | 'trim' | 'lens' | 'bard';
|
|
26258
26258
|
export type AgentToneId = 'metal' | 'ink' | 'leaf' | 'wood' | 'oat' | 'honey' | 'brass' | 'cocoa' | 'glass' | 'beige';
|
|
26259
26259
|
/** A stored look: four ids and a schema version, so a later kit change can migrate stored looks. */
|
|
26260
26260
|
export interface AgentLook {
|
|
@@ -26264,7 +26264,7 @@ export interface AgentLook {
|
|
|
26264
26264
|
eyes: AgentEyeStyle;
|
|
26265
26265
|
prop: AgentPropId;
|
|
26266
26266
|
}
|
|
26267
|
-
/** A preset: a look plus its default name, role and template (null: Wally, and
|
|
26267
|
+
/** A preset: a look plus its default name, role and template (null: Wally, and an agent whose template does not exist yet). */
|
|
26268
26268
|
export interface AgentPreset extends Omit<AgentLook, 'v'> {
|
|
26269
26269
|
id: AgentCharacterId;
|
|
26270
26270
|
name: string;
|
|
@@ -26337,7 +26337,7 @@ export declare const EYE_BASE: Record<AgentEyeStyle, EyeBase>;
|
|
|
26337
26337
|
export declare const PROPS: [AgentPropId, string][];
|
|
26338
26338
|
export declare const GLYPH_PROPS: ReadonlySet<string>;
|
|
26339
26339
|
export declare const CAST: AgentPreset[];
|
|
26340
|
-
/** propDef() for the
|
|
26340
|
+
/** propDef() for the presets, keyed `shape|hex|prop`; any other look needs the AgentLookBuilder entry. */
|
|
26341
26341
|
export declare const PRESET_PROPS: Partial<Record<string, PropDef>>;
|
|
26342
26342
|
export declare const STATES: {
|
|
26343
26343
|
key: string;
|
|
@@ -26653,7 +26653,7 @@ export declare function lookIssues(look: Look, { isWally, others }: {
|
|
|
26653
26653
|
}): LookIssue[];
|
|
26654
26654
|
/**
|
|
26655
26655
|
* A first look for an agent without a preset, the same on every client for the same uid.
|
|
26656
|
-
* `others`: the
|
|
26656
|
+
* `others`: the presets until looks can be stored (B3), then the tenant's stored looks.
|
|
26657
26657
|
* `propPool`: no prop by default (P10), since a custom agent's job is not known.
|
|
26658
26658
|
*/
|
|
26659
26659
|
export declare function defaultLook(agentId: string, others?: readonly Look[], propPool?: readonly AgentPropId[]): AgentLook;
|
|
@@ -26954,6 +26954,17 @@ export declare function createWorkerRunner(fallback: BakeRunner, make?: () => Wo
|
|
|
26954
26954
|
* or fails. */
|
|
26955
26955
|
export declare const bakeInWorker: BakeRunner;
|
|
26956
26956
|
|
|
26957
|
+
// lib/portal/OverlayBoundaryContext.d.ts
|
|
26958
|
+
import { type RefObject } from 'react';
|
|
26959
|
+
/**
|
|
26960
|
+
* Internal: an element that stands in for the viewport for overlays pinned to its edges, such as
|
|
26961
|
+
* the table action bar. A docs card that renders a full screen in place provides it, together with
|
|
26962
|
+
* a PortalContainerContext inside it. Without a provider those overlays pin to the window, as before.
|
|
26963
|
+
*/
|
|
26964
|
+
export declare const OverlayBoundaryContext: import("react").Context<RefObject<HTMLElement | null> | null>;
|
|
26965
|
+
/** The bottom edge an overlay pins to: the boundary's, else the viewport's. Call it at layout time. */
|
|
26966
|
+
export declare const getOverlayBottom: (boundary: RefObject<HTMLElement | null> | null) => number;
|
|
26967
|
+
|
|
26957
26968
|
// lib/portal/Portal.d.ts
|
|
26958
26969
|
import { type PropsWithChildren } from 'react';
|
|
26959
26970
|
import { type PortalProps } from '@ark-ui/react/portal';
|
|
@@ -26961,7 +26972,8 @@ export declare const Portal: (props: PropsWithChildren<PortalProps>) => import("
|
|
|
26961
26972
|
|
|
26962
26973
|
// lib/portal/PortalContainerContext.d.ts
|
|
26963
26974
|
import { type RefObject } from 'react';
|
|
26964
|
-
/** Internal
|
|
26975
|
+
/** Internal: where DS overlays portal to, for claude-design canvas artboards and the docs' live
|
|
26976
|
+
* template cards. Without a provider Ark keeps its normal portal destination. */
|
|
26965
26977
|
export declare const PortalContainerContext: import("react").Context<RefObject<HTMLElement | null> | null>;
|
|
26966
26978
|
|
|
26967
26979
|
// utils/Collapse.d.ts
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"layout": "files",
|
|
4
4
|
"createdOnFiles": {
|
|
5
5
|
"v": 1,
|
|
6
|
-
"at": "2026-11-
|
|
6
|
+
"at": "2026-11-12T12:36:55Z"
|
|
7
7
|
},
|
|
8
8
|
"title": "Wallarm Design System",
|
|
9
9
|
"namespace": "WallarmDS",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"lastChange": {
|
|
30
30
|
"by": "Wallarm",
|
|
31
|
-
"at": "2026-11-
|
|
32
|
-
"via": "GitHub · wallarm/design-system@
|
|
33
|
-
"note": "v4.
|
|
31
|
+
"at": "2026-11-12T12:36:55Z",
|
|
32
|
+
"via": "GitHub · wallarm/design-system@119e4227",
|
|
33
|
+
"note": "v4.14.0: 532 colors, 120 component guides, 582 icons."
|
|
34
34
|
}
|
|
35
35
|
}
|
package/dist/project/tokens.json
CHANGED
|
@@ -5187,7 +5187,7 @@
|
|
|
5187
5187
|
"meta": {
|
|
5188
5188
|
"source": "github",
|
|
5189
5189
|
"repo": "wallarm/design-system",
|
|
5190
|
-
"ref": "v4.
|
|
5190
|
+
"ref": "v4.14.0@119e422794b5b720e0f3593d81ab15b384ac479b",
|
|
5191
5191
|
"package": "packages/design-system",
|
|
5192
5192
|
"paths": {
|
|
5193
5193
|
"tokens": [
|
|
@@ -5230,6 +5230,6 @@
|
|
|
5230
5230
|
"src/theme/fonts/GeistMono-Variable.woff2"
|
|
5231
5231
|
]
|
|
5232
5232
|
},
|
|
5233
|
-
"synced": "2026-11-
|
|
5233
|
+
"synced": "2026-11-12T12:36:55Z"
|
|
5234
5234
|
}
|
|
5235
5235
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wallarm-org/claude-design",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"description": "Installs Wallarm Design System in Claude Design: `npx -y @wallarm-org/claude-design@latest export`",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"tsx": "4.23.15",
|
|
52
52
|
"tw-animate-css": "1.4.0",
|
|
53
53
|
"typescript": "7.0.2",
|
|
54
|
-
"@wallarm-org/
|
|
55
|
-
"@wallarm-org/design-system": "4.
|
|
56
|
-
"@wallarm-org/
|
|
54
|
+
"@wallarm-org/mcp-core": "0.1.0",
|
|
55
|
+
"@wallarm-org/design-system": "4.14.0",
|
|
56
|
+
"@wallarm-org/typescript-config": "0.0.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"export": "tsx src/build.ts",
|