diff --git a/src/sql/azdata.d.ts b/src/sql/azdata.d.ts index d984907452..35300d56c6 100644 --- a/src/sql/azdata.d.ts +++ b/src/sql/azdata.d.ts @@ -3916,6 +3916,11 @@ declare module 'azdata' { Information = 2 } + /** + * The width of a dialog, either from a predetermined size list or a specific size (such as px) + */ + export type DialogWidth = 'narrow' | 'medium' | 'wide' | number | string; + /** * A message shown in a dialog. If the level is not set it defaults to error. */ diff --git a/src/sql/azdata.proposed.d.ts b/src/sql/azdata.proposed.d.ts index 8e5ce4a74d..d12650578e 100644 --- a/src/sql/azdata.proposed.d.ts +++ b/src/sql/azdata.proposed.d.ts @@ -584,8 +584,6 @@ declare module 'azdata' { pageName?: string; } - export type DialogWidth = 'narrow' | 'medium' | 'wide' | number | string; - /** * These dialog styles affect how the dialog displays in the application. * normal: Positioned top and centered. @@ -621,7 +619,6 @@ declare module 'azdata' { */ export function createModelViewDialog(title: string, dialogName?: string, width?: DialogWidth, dialogStyle?: DialogStyle, dialogPosition?: DialogPosition, renderHeader?: boolean, renderFooter?: boolean, dialogProperties?: IDialogProperties): Dialog; - export interface Button { /** * Specifies whether this is a secondary button. Default is false.