Table Designer - Save Changes feature and Editor related features (#17335)

* table designer add/remove row support

* save changes and editor support

* address comments

* fix build error

* including missing change

* lower case request name
This commit is contained in:
Alan Ren
2021-10-11 15:09:25 -07:00
committed by GitHub
parent e5f50499ce
commit ce4459a7b2
23 changed files with 495 additions and 90 deletions

View File

@@ -229,6 +229,21 @@ export interface IButtonStyleOverrides extends IStyleOverrides {
buttonDisabledBorder?: ColorIdentifier;
}
// {{SQL CARBON EDIT}}
export const defaultButtonStyles: IButtonStyleOverrides = {
buttonForeground: buttonForeground,
buttonBackground: buttonBackground,
buttonHoverBackground: buttonHoverBackground,
buttonSecondaryForeground: buttonSecondaryForeground,
buttonSecondaryBackground: buttonSecondaryBackground,
buttonSecondaryHoverBackground: buttonSecondaryHoverBackground,
buttonBorder: buttonBorder,
buttonSecondaryBorder: buttonSecondaryBorder,
buttonDisabledBorder: buttonDisabledBorder,
buttonDisabledBackground: buttonDisabledBackground,
buttonDisabledForeground: buttonDisabledForeground
};
export function attachButtonStyler(widget: IThemable, themeService: IThemeService, style?: IButtonStyleOverrides): IDisposable {
return attachStyler(themeService, {
buttonForeground: style?.buttonForeground || buttonForeground,