Retires the door/window-only `PresetsPopover`, its `presets-context` adapter, and the `PresetThumbnailGenerator` ahead of the unified preset system landing via the items catalog. Drops the public exports (`PresetsPopover`, `PresetsAdapter`, `PresetsTab`, `PresetsProvider`, `usePresetsAdapter`) and the matching `presetsAdapter` prop / provider wrappers on `<Editor>`, plus the `preset:generate-thumbnail` / `preset:thumbnail-updated` event types in core. Door and window panels now render the regular parametric inspector with no popover trigger; `materialPreset` stays untouched. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
1fd59dd9cd
commit
0ad0ac1591
@@ -189,11 +189,6 @@ type WindowAnimationEvents = {
|
||||
}
|
||||
}
|
||||
|
||||
type PresetEvents = {
|
||||
'preset:generate-thumbnail': { presetId: string; nodeId: string }
|
||||
'preset:thumbnail-updated': { presetId: string; thumbnailUrl: string }
|
||||
}
|
||||
|
||||
type ThumbnailEvents = {
|
||||
'thumbnail:before-capture': undefined
|
||||
'thumbnail:after-capture': undefined
|
||||
@@ -243,7 +238,6 @@ type EditorEvents = GridEvents &
|
||||
GuideEvents &
|
||||
DoorAnimationEvents &
|
||||
WindowAnimationEvents &
|
||||
PresetEvents &
|
||||
ThumbnailEvents &
|
||||
SnapshotEvents &
|
||||
AIChatEvents
|
||||
|
||||
Reference in New Issue
Block a user