fix(ui): constrain editor tools and add screen color sampling
This commit is contained in:
@@ -332,12 +332,13 @@
|
||||
"hue slider",
|
||||
"quick colors",
|
||||
"portal palette",
|
||||
"keyboard spectrum adjustment"
|
||||
"keyboard spectrum adjustment",
|
||||
"explicit screen eyedropper with cancellation; system palette fallback when EyeDropper is unavailable"
|
||||
],
|
||||
"rules": [
|
||||
"Do not expose a browser-native color dialog as the product runtime UI.",
|
||||
"The palette owns choice geometry; the consumer owns color validation, persistence and domain reaction.",
|
||||
"HEX text keeps incomplete drafts; valid six-digit colors apply live, invalid drafts revert on blur/Escape, Enter commits; external undo updates the field."
|
||||
"HEX text keeps incomplete drafts; valid six-digit colors apply live, invalid drafts revert on blur/Escape, Enter commits; external undo updates the field.",
|
||||
"The themed palette remains primary. Screen sampling starts only on a trusted button click, never pointer leave; unsupported browsers expose an explicit system-palette fallback. No screenshots are captured or stored. Escape, closing or unmount cancels sampling without applying a color."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1138,7 +1139,8 @@
|
||||
"The panel variant reuses AdminNavigationPanel pill, icon and theme tokens while retaining the same controlled accordion state and domain-owned content.",
|
||||
"A section action is a sibling IconButton before the disclosure chevron, never nested in the trigger. It does not toggle the section. Panel chevrons point down when collapsed and up when expanded.",
|
||||
"Accent-filled section headers belong to Environment Settings; neutral headers remain available for other approved inspector contexts.",
|
||||
"Default sections and optional header fields use the canonical 12 px spacing token; footer actions are centered with the same gap. Nested Inspectors retain this rhythm; the panel variant retains its compact row geometry."
|
||||
"Default sections and optional header fields use the canonical 12 px spacing token; footer actions are centered with the same gap. Nested Inspectors retain this rhythm; the panel variant retains its compact row geometry.",
|
||||
"Inspector responds to its own container width: fields stack below 330px and intrinsic tracks must not clip content."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1411,7 +1413,8 @@
|
||||
"EditorWorkspace keeps one mounted portal host, moves it atomically when supported, and restores its original slot on return. It never changes the source-view layout.",
|
||||
"The fixed editor header is outside docking bounds. Back, edit completion and close return to the original view.",
|
||||
"When opened inside Window, the editor suspends that overlay, backdrop and focus trap without unmounting; returning restores the same window.",
|
||||
"EditorWorkspace purpose=view uses the same mounted host, return/fullscreen behavior and optional fixed headerActions; purpose=edit remains the compatible default."
|
||||
"EditorWorkspace purpose=view uses the same mounted host, return/fullscreen behavior and optional fixed headerActions; purpose=edit remains the compatible default.",
|
||||
"Tool minimumSize applies to floating restore, pointer and keyboard resize as well as docked splits; small screens clamp to available space. Footer remains outside the body scroller."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user