openpencil/packages/dom-css/tests
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
..
behaviours feat(storybook): give components with behaviours their own story controls (#961) 2026-10-07 20:06:17 +00:00
export feat(storybook): give components with behaviours their own story controls (#961) 2026-10-07 20:06:17 +00:00
import refactor(dom-css): group sources into import, export, and runtime (#789) 2026-09-30 09:44:52 +04:00
tokens feat: let a collection name the attribute its modes switch by (#913) 2026-10-06 12:35:41 +00:00
helpers.ts refactor!: move shared primitives below dom-css and core (#771) 2026-09-26 11:39:11 +04:00
runtime.test.ts refactor!: move shared primitives below dom-css and core (#771) 2026-09-26 11:39:11 +04:00