ML extension - revised button component (#12674)

* Revert "Revert "ML extension updates  (#11817)" (#12645)"

This reverts commit 34a6200a47.

* Modified button template and renamed infoButton ElementRef

* fix rendering issue

* Minor code cleanup.

* add clean up previous button logic

Co-authored-by: Alan Ren <alanren@microsoft.com>
This commit is contained in:
Hale Rankin
2020-10-01 13:41:48 -07:00
committed by GitHub
parent 2da0fafcd5
commit 4965f3de1a
10 changed files with 439 additions and 212 deletions

View File

@@ -691,6 +691,24 @@ declare module 'azdata' {
*/
delete?: boolean;
}
export interface ButtonProperties {
/**
* Specifies whether to use expanded layout or not.
*/
buttonType?: ButtonType;
/**
* Description text to display inside button element.
*/
description?: string;
}
export enum ButtonType {
File = 'File',
Normal = 'Normal',
Informational = 'Informational'
}
export interface DiffEditorComponent {
/**
* Title of editor