openpencil/packages/docs
Danila Poyarkov b5a5b41523
feat(storybook): give components with behaviours their own story controls (#961)
* feat(storybook): give components with behaviours their own story controls

A Switch exported to Storybook showed a State select with On and Off. A variant property drawn by a behaviour's boolean value now becomes a boolean control named as Reka and Radix name the prop (checked, pressed, open, disabled), the interaction-state property leaves the controls, and each state stays a story. behaviourArgs in dom-css reads these props, so generated components can take the same API later.

* fix(dom-css): import behaviour args by module so packed builds resolve it

The #dom-css/* import maps to dist files when packed, which have no directory index, so #dom-css/behaviours failed to load in a consumer install.
2026-10-07 20:06:17 +00:00
..
.vitepress feat(ai): add guided AI setup for providers, coding agents, and Pi (#916) 2026-10-07 08:46:57 +00:00
de feat(storybook): give components with behaviours their own story controls (#961) 2026-10-07 20:06:17 +00:00
development refactor: share behaviour control roles through dom-css (#960) 2026-10-07 20:06:16 +00:00
es feat(storybook): give components with behaviours their own story controls (#961) 2026-10-07 20:06:17 +00:00
fr feat(collab): show MCP agents, follow streamed JSX, and follow your agents as they work (#725) 2026-10-07 10:04:58 +00:00
it feat(storybook): give components with behaviours their own story controls (#961) 2026-10-07 20:06:17 +00:00
overview feat: behaviours and preview mode (#893) 2026-10-06 13:23:05 +00:00
pl feat(collab): show MCP agents, follow streamed JSX, and follow your agents as they work (#725) 2026-10-07 10:04:58 +00:00
programmable feat(storybook): give components with behaviours their own story controls (#961) 2026-10-07 20:06:17 +00:00
public refactor(vue)!: remove the variables table composables (#908) 2026-10-06 12:35:41 +00:00
reference feat: behaviours and preview mode (#893) 2026-10-06 13:23:05 +00:00
ru feat(collab): show MCP agents, follow streamed JSX, and follow your agents as they work (#725) 2026-10-07 10:04:58 +00:00
user-guide feat(canvas): select auto layout frames by their gaps and dot their children, as in Figma (#943) 2026-10-07 11:29:52 +00:00
AGENTS.md build(tools): group tools by role and gate them like the rest of the repo (#791) 2026-09-30 05:00:31 +04:00
getting-started.md fix: explain unsupported browsers instead of a blank window (#745) 2026-09-22 14:40:59 +04:00
index.md
package.json build: update dependencies (#873) 2026-10-04 12:48:24 +00:00