diff --git a/apps/catalog/src/EditorDockExample.tsx b/apps/catalog/src/EditorDockExample.tsx index 10c5f43..a760ab0 100644 --- a/apps/catalog/src/EditorDockExample.tsx +++ b/apps/catalog/src/EditorDockExample.tsx @@ -9,7 +9,7 @@ export function EditorDockExample({inWindow=false}:{inWindow?:boolean}){ setEditing(false)} headerActions={purpose==='view'?:undefined}> Закреплённая сцена} tools={[{id:'objects',title:'Объекты',label:'Объекты',open:open.objects,onClose:()=>setOpen(v=>({...v,objects:false})),content:Сцена → Модель → Детали}, - {id:'materials',title:'Материалы',label:'Материалы',minimumSize:{width:380,height:280},footer:,open:open.materials,onClose:()=>setOpen(v=>({...v,materials:false})),content:}]} defaultOpen={["color"]} header={Минимум 380 × 280. Пипетка берёт цвет с экрана после нажатия; Escape отменяет выбор. Нижняя кнопка не прокручивается.}/>}]}/> + {id:'materials',title:'Материалы',label:'Материалы',minimumSize:{width:380,height:280},footer:,open:open.materials,onClose:()=>setOpen(v=>({...v,materials:false})),content:}]} defaultOpen={["color"]} header={Минимум 380 × 280. Пипетка берёт цвет с экрана после нажатия; Escape отменяет выбор. Нижняя кнопка не прокручивается.}/>}]}/> ; } diff --git a/docs/WINDOWS_AND_LAYERS.md b/docs/WINDOWS_AND_LAYERS.md index 12e31f6..da84e53 100644 --- a/docs/WINDOWS_AND_LAYERS.md +++ b/docs/WINDOWS_AND_LAYERS.md @@ -169,3 +169,5 @@ Keyboard-focused dock headers keep their action/close glyphs on the inherited co Tool minimumSize governs floating and docked geometry alike, including restored JSON, pointer and keyboard resize. Screen bounds take priority when smaller. Put fixed bottom actions in EditorDockTool.footer; never append them to scrollable inspector content. The primary scene owns an isolated stacking context so its toolbars stay behind floating tools. A tool outer shell clips without scrolling; only its body scrolls, keeping header/footer fixed even when a field receives focus. + +ColorField spectrum has no decorative perimeter stroke; retain its visible sampling marker and keyboard focus. UserProfileMenu variant=header owns its HeaderProfile surface; consumers must not wrap it in another HeaderProfile. diff --git a/packages/ui-core/styles.css b/packages/ui-core/styles.css index 1306eee..1d8cabd 100644 --- a/packages/ui-core/styles.css +++ b/packages/ui-core/styles.css @@ -1038,7 +1038,7 @@ textarea.nodedc-field__control { position: relative; aspect-ratio: 1.5 / 1; overflow: hidden; - border: 1px solid var(--nodedc-glass-outline); + border: 0; border-radius: var(--nodedc-radius-control); outline: 0; background: diff --git a/registry/components.json b/registry/components.json index 89079f8..1bc03b5 100644 --- a/registry/components.json +++ b/registry/components.json @@ -338,7 +338,8 @@ "rules": [ "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.", - "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." + "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.", + "Spectrum has no decorative perimeter border; sampling marker and keyboard focus remain visible." ] }, {