mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Add css styles options to all components (#2454)
* add css styling in all components * formatting * formatting * small typo * small typo * use builder to add style instead
This commit is contained in:
committed by
Kevin Cunnane
parent
287811f4ab
commit
10f05e75ce
15
src/sql/sqlops.proposed.d.ts
vendored
15
src/sql/sqlops.proposed.d.ts
vendored
@@ -147,6 +147,15 @@ declare module 'sqlops' {
|
||||
*/
|
||||
updateProperties(properties: { [key: string]: any }): Thenable<void>;
|
||||
|
||||
/**
|
||||
* Sends an updated property of the component to the UI
|
||||
*
|
||||
* @returns {Thenable<void>} Thenable that completes once the update
|
||||
* has been applied in the UI
|
||||
* @memberof Component
|
||||
*/
|
||||
updateProperty(key: string, value: any): Thenable<void>;
|
||||
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Event fired to notify that the component's validity has changed
|
||||
@@ -312,7 +321,7 @@ declare module 'sqlops' {
|
||||
/**
|
||||
* Matches the CSS style key and its available values.
|
||||
*/
|
||||
CSSStyles?: { [key: string]: string }
|
||||
CSSStyles?: { [key: string]: string };
|
||||
}
|
||||
|
||||
export interface FormItemLayout {
|
||||
@@ -427,6 +436,10 @@ declare module 'sqlops' {
|
||||
* Without this the component will fail to correctly size itself
|
||||
*/
|
||||
position?: string;
|
||||
/**
|
||||
* Matches the CSS style key and its available values.
|
||||
*/
|
||||
CSSStyles?: { [key: string]: string };
|
||||
}
|
||||
|
||||
export interface ComponentWithIcon {
|
||||
|
||||
Reference in New Issue
Block a user