mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 22:14:30 +00:00
Each opens on a DialogHost as a StackDialog that owns what its dialog edits and binds the dialog's open state to its own field, so it opens again after closing. HostedCanvasSize and HostedImageSize share SizingOutput::hosted. HostedExportAs keeps its preview and save requests for the app as HostedSaveForWeb does; HostedAbout keeps the activated link. HostedAlert holds an Alert's content. HostedLayerStyle frames the Layer Style body in a form dialog with side buttons and the Preview box, and queues the page's asks as LayerStyleAsk. HostedAdjustDialog<V, E> frames any adjustment editor the same way, resizable and remembered for Curves, with the editor's asks as E. Stories open the hosted dialogs through a story host bound to the card's open value (dialog::stories::hosted), so the card holds them behind its button and story-render shows them open. Trials open each on a DialogHost and check Escape, OK and the asks.