@scm-js/plugin-api 1.27.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3929,8 +3929,14 @@ export interface DialogSpec {
|
|
|
3929
3929
|
tall?: boolean;
|
|
3930
3930
|
/** Fill `body` (an empty `<div>` inside the dialog); return a cleanup if you need one. */
|
|
3931
3931
|
mount(body: HTMLElement, dialog: DialogHandle): void | (() => void);
|
|
3932
|
-
/**
|
|
3932
|
+
/**
|
|
3933
|
+
* Footer buttons, left to right; a single Close when omitted. An empty list leaves the
|
|
3934
|
+
* dialog without a footer — for a dialog that is a workspace of its own, with its own
|
|
3935
|
+
* controls, closed by the title strip's × (`setBusy` and a `slot` then have nowhere to show).
|
|
3936
|
+
*/
|
|
3933
3937
|
buttons?: DialogButton[];
|
|
3938
|
+
/** The body runs edge to edge, without the dialog's padding: for content that draws its own frame (an editor with its own bars). */
|
|
3939
|
+
flush?: boolean;
|
|
3934
3940
|
/**
|
|
3935
3941
|
* Ctrl+V anywhere in the dialog (while it is the topmost one). Files come from the
|
|
3936
3942
|
* clipboard's items — a screenshot pastes as one `image/png` file — and `text` is the
|
|
@@ -4002,6 +4008,8 @@ export interface PanelSpec {
|
|
|
4002
4008
|
dock?: "float" | "right";
|
|
4003
4009
|
/** A docked panel that takes the dock's spare height (a transcript, a long list); off by default. */
|
|
4004
4010
|
grow?: boolean;
|
|
4011
|
+
/** Floating only: the body runs edge to edge, without the panel's padding — for content that draws its own frame. */
|
|
4012
|
+
flush?: boolean;
|
|
4005
4013
|
/** Fill `body` (an empty `<div>` inside the panel); return a cleanup if you need one. */
|
|
4006
4014
|
mount(body: HTMLElement, panel: PanelHandle): void | (() => void);
|
|
4007
4015
|
/** The panel closed, whichever way. */
|