openpencil/packages/docs/de/programmable/cli
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
..
analyzing.md docs: polish localized documentation 2026-08-20 18:36:50 +03:00
exporting.md feat(storybook): give components with behaviours their own story controls (#961) 2026-10-07 20:06:17 +00:00
inspecting.md docs: sync translations with documentation changes since v0.15.1 (#886) 2026-10-04 16:38:35 +00:00
scripting.md feat(figma-api): add detachInstance() to instances (#778) 2026-09-30 05:19:11 +04:00