You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4b244f7
Browse filesBrowse the repository at this point in the historyBrowse files
Bill Leoutsakos
authored and
Bill Leoutsakos
committed
fix(design): apply Studio states only to enabled variants
Copy file name to clipboardExpand all lines: scripts/design-studio/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
11
11
-`variants` lists the axes that the adapter forwards to that export. New values on a covered axis appear automatically. A new axis requires review and a mapping; spreading variant props does not establish coverage. Axes requiring different data shapes need their own fixture data before being listed.
12
12
-`states` lists supported focus, disabled, error, and open states. Open captures require a visible popup or dialog.
13
+
- Disabled variant values retain their default preview but omit open and focus states; combined live selections apply the same restriction.
13
14
-`defaultStates` opens otherwise hidden exports, such as tooltip content or a wizard step, for their default specimen.
14
15
-`requiredElements` identifies a visible element belonging to a hidden or nested export. Use a unique fixture marker when a generic role could match its parent.
0 commit comments