Skip to content

Commit

Permalink
Merge pull request #60 from thoughtspot/SCAL-221157
Browse files Browse the repository at this point in the history
SCAL-221157 Added support for disabling UI elements
  • Loading branch information
yashvardhan-n authored Aug 26, 2024
2 parents 96de203 + 84fa2ec commit e1f6460
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thoughtspot/ts-chart-sdk",
"private": false,
"version": "0.0.2-alpha.12",
"version": "0.0.2-alpha.13",
"module": "lib/index",
"main": "lib/index",
"types": "lib/index",
Expand Down
36 changes: 36 additions & 0 deletions src/types/visual-prop.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ export interface TextInputFormDetail {
* @version SDK: 0.0.1-alpha.3 | ThoughtSpot:
*/
inputValidation?: InputValidation;
/**
* Determines whether it should be disabled or not
*
* @version SDK: 0.0.2-alpha.13 | ThoughtSpot:
*/
disabled?: boolean;
}

/**
Expand Down Expand Up @@ -148,6 +154,12 @@ export interface NumberInputFormDetail {
* @version SDK: 0.0.1-alpha.7 | ThoughtSpot:
*/
inputValidation?: InputValidation;
/**
* Determines whether it should be disabled or not
*
* @version SDK: 0.0.2-alpha.13 | ThoughtSpot:
*/
disabled?: boolean;
}

/**
Expand Down Expand Up @@ -209,6 +221,12 @@ export interface ToggleFormDetail {
* @version SDK: 0.1 | ThoughtSpot:
*/
defaultValue?: boolean;
/**
* Determines whether it should be disabled or not
*
* @version SDK: 0.0.2-alpha.13 | ThoughtSpot:
*/
disabled?: boolean;
}

/**
Expand Down Expand Up @@ -236,6 +254,12 @@ export interface CheckboxFormDetail {
* @version SDK: 0.1 | ThoughtSpot:
*/
defaultValue?: boolean;
/**
* Determines whether it should be disabled or not
*
* @version SDK: 0.0.2-alpha.13 | ThoughtSpot:
*/
disabled?: boolean;
}

/**
Expand Down Expand Up @@ -269,6 +293,12 @@ export interface RadioButtonFormDetail {
* @version SDK: 0.1 | ThoughtSpot:
*/
values: string[];
/**
* Determines whether it should be disabled or not
*
* @version SDK: 0.0.2-3 | ThoughtSpot:
*/
disabled?: boolean;
}

/**
Expand Down Expand Up @@ -302,6 +332,12 @@ export interface DropDownFormDetail {
* @version SDK: 0.1 | ThoughtSpot:
*/
values: string[];
/**
* Determines whether it should be disabled or not
*
* @version SDK: 0.0.2-alpha.13 | ThoughtSpot:
*/
disabled?: boolean;
}

/**
Expand Down

0 comments on commit e1f6460

Please sign in to comment.